1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463 | 1×
1×
1×
1×
151×
151×
151×
1×
151×
151×
151×
151×
1×
70×
70×
70×
70×
1×
30×
17×
17×
30×
1×
1×
1×
1×
1×
1×
1×
11×
6×
6×
1×
17×
17×
17×
17×
17×
17×
17×
17×
3×
3×
14×
14×
14×
14×
26×
26×
26×
26×
26×
26×
26×
26×
26×
4×
4×
4×
4×
4×
4×
2×
2×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
22×
22×
22×
22×
26×
26×
26×
16×
40×
40×
14×
1×
4×
4×
4×
4×
4×
4×
4×
4×
4×
4×
4×
4×
4×
4×
4×
4×
9×
9×
9×
9×
9×
9×
9×
9×
1×
9×
2×
2×
2×
7×
1×
1×
9×
9×
5×
5×
5×
4×
4×
4×
4×
4×
9×
4×
4×
1×
305×
305×
305×
358×
68×
290×
305×
1×
17×
17×
17×
17×
17×
17×
17×
14×
14×
14×
17×
14×
14×
14×
14×
4×
4×
4×
4×
4×
4×
4×
3×
3×
17×
1×
38×
38×
38×
38×
1×
12×
12×
12×
1×
4×
4×
4×
1×
6×
6×
6×
6×
6×
6×
6×
6×
6×
6×
6×
6×
6×
6×
4×
4×
4×
4×
4×
4×
4×
4×
4×
4×
9×
9×
3×
6×
6×
6×
2×
6×
6×
6×
4×
4×
4×
2×
2×
2×
2×
2×
2×
2×
6×
1×
179×
179×
179×
47×
132×
1×
43×
43×
43×
43×
43×
43×
43×
43×
43×
43×
43×
43×
43×
43×
153×
35×
118×
153×
116×
3×
3×
3×
16×
16×
116×
116×
116×
116×
116×
116×
116×
116×
116×
106×
306×
306×
116×
37×
37×
37×
37×
37×
43×
1×
116×
116×
116×
116×
116×
116×
116×
116×
24×
24×
24×
116×
17×
17×
17×
17×
15×
15×
15×
2×
2×
2×
2×
2×
17×
116×
1×
219×
176×
219×
66×
219×
38×
1×
37×
37×
37×
37×
74×
74×
37×
1×
70×
1×
1×
| define(["require", "exports", "./../base/constant", "@syncfusion/ej2-base", "./../../common/constant", "@syncfusion/ej2-base"], function (require, exports, CONSTANT, ej2_base_1, EVENTS, ej2_base_2) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var MDLists = (function () {
function MDLists(options) {
ej2_base_1.extend(this, this, options, true);
this.selection = this.parent.markdownSelection;
this.addEventListener();
}
MDLists.prototype.addEventListener = function () {
this.parent.observer.on(CONSTANT.LISTS_COMMAND, this.applyListsHandler, this);
this.parent.observer.on(EVENTS.KEY_DOWN_HANDLER, this.keyDownHandler, this);
this.parent.observer.on(EVENTS.KEY_UP_HANDLER, this.keyUpHandler, this);
this.parent.observer.on(EVENTS.INTERNAL_DESTROY, this.destroy, this);
};
MDLists.prototype.removeEventListener = function () {
this.parent.observer.off(CONSTANT.LISTS_COMMAND, this.applyListsHandler);
this.parent.observer.off(EVENTS.KEY_DOWN_HANDLER, this.keyDownHandler);
this.parent.observer.off(EVENTS.KEY_UP_HANDLER, this.keyUpHandler);
this.parent.observer.off(EVENTS.INTERNAL_DESTROY, this.destroy);
};
MDLists.prototype.keyDownHandler = function (event) {
switch (event.event.which) {
case 9:
this.tabKey(event);
break;
}
switch (event.event.action) {
case 'ordered-list':
this.applyListsHandler({ subCommand: 'OL', callBack: event.callBack });
event.event.preventDefault();
break;
case 'unordered-list':
this.applyListsHandler({ subCommand: 'UL', callBack: event.callBack });
event.event.preventDefault();
break;
}
};
MDLists.prototype.keyUpHandler = function (event) {
switch (event.event.which) {
case 13:
this.enterKey(event);
break;
}
};
MDLists.prototype.tabKey = function (event) {
var textArea = this.parent.element;
this.selection.save(textArea.selectionStart, textArea.selectionEnd);
var start = textArea.selectionStart;
var end = textArea.selectionEnd;
var parents = this.selection.getSelectedParentPoints(textArea);
var addedLength = 0;
var isNotFirst = this.isNotFirstLine(textArea, parents[0]);
if (!isNotFirst && !event.event.shiftKey) {
this.restore(textArea, start, end + addedLength, event);
return;
}
var listFormat = this.olListType();
var regex = this.getListRegex();
this.currentAction = this.getAction(parents[0].text);
for (var i = 0; i < parents.length; i++) {
var prevIndex = event.event.shiftKey ? parents[i].line - 1 : parents[i].line - 1;
var prevLine = this.selection.getLine(textArea, prevIndex);
Eif (prevLine && (!event.event.shiftKey && isNotFirst || (event.event.shiftKey))) {
var prevLineSplit = prevLine.split('. ');
var tabSpace = '\t';
var tabSpaceLength = event.event.shiftKey ? -tabSpace.length : tabSpace.length;
var splitTab = parents[i].text.split('\t');
Iif (event.event.shiftKey && splitTab.length === 1) {
break;
}
if (this.currentAction === 'OL' && /^\d+$/.test(prevLineSplit[0].trim()) && listFormat) {
event.event.preventDefault();
parents[i].text = event.event.shiftKey ? splitTab.splice(1, splitTab.length).join('\t') : tabSpace + parents[i].text;
var curTabSpace = this.getTabSpace(parents[i].text);
var prevTabSpace = this.getTabSpace(prevLine);
var splitText = parents[i].text.split('. ');
if (curTabSpace === prevTabSpace) {
this.changeTextAreaValue(splitText, this.nextOrderedListValue(prevLineSplit[0].trim()), event, textArea, parents, i, end);
}
else if (prevTabSpace < curTabSpace) {
this.changeTextAreaValue(splitText, '1. ', event, textArea, parents, i, end);
}
else {
for (; prevTabSpace.length > curTabSpace.length; null) {
prevIndex = prevIndex - 1;
prevLine = this.selection.getLine(textArea, prevIndex);
var prevLineSplit_1 = prevLine.trim().split('. ');
Eif (/^\d+$/.test(prevLineSplit_1[0])) {
prevTabSpace = this.getTabSpace(prevLine);
Eif (prevTabSpace.length <= curTabSpace.length) {
this.changeTextAreaValue(splitText, this.nextOrderedListValue(prevLineSplit_1[0]), event, textArea, parents, i, end);
break;
}
}
}
}
}
else Eif (this.currentAction === 'UL' && regex.test(prevLine.trim()) || !listFormat) {
event.event.preventDefault();
parents[i].text = event.event.shiftKey ? splitTab.splice(1, splitTab.length).join('\t') : tabSpace + parents[i].text;
textArea.value = textArea.value.substr(0, parents[i].start) + parents[i].text + '\n' +
textArea.value.substr(parents[i].end, textArea.value.length);
}
start = i === 0 ? start + tabSpaceLength : start;
addedLength += tabSpaceLength;
if (parents.length !== 1) {
for (var j = i; j < parents.length; j++) {
parents[j].start = j !== 0 ? parents[j].start + tabSpaceLength : parents[j].start;
parents[j].end = parents[j].end + tabSpaceLength;
}
}
}
}
this.restore(textArea, start, end + addedLength, event);
};
MDLists.prototype.changeTextAreaValue = function (splitText, prefixValue, event, textArea, parents, k, end) {
var prefix = prefixValue;
splitText.splice(0, 1);
var textAreaLength = this.selection.getAllParents(textArea.value).length;
var changedList = '';
var curTabSpace = this.getTabSpace(parents[k].text);
var prefixNumber = parseInt(prefix.split('.')[0], null);
var nestedTabSpace = this.getTabSpace(parents[k].text);
var nestedlistorder = true;
var nestedListStart = true;
var curTabSpaceLength;
var nextPrefixValue = -1;
var traversIncreased = true;
var nextLineLength = 0;
var lineBreak = '';
changedList = (this.selection.getLine(textArea, parents[0].line + 1) !== '') ?
'' : changedList + textArea.value.substr(parents[0].end, textArea.value.length);
for (var i = 1; i < textAreaLength &&
!ej2_base_2.isNullOrUndefined(this.selection.getLine(textArea, parents[0].line + i))
&& this.selection.getLine(textArea, parents[0].line + i) !== ''; i++) {
var nextLine = this.selection.getLine(textArea, parents[0].line + i);
var nextTabSpace = this.getTabSpace(nextLine);
var nextLineSplit = nextLine.split('. ');
Iif (nextLineSplit.length === 1) {
changedList += textArea.value.substr(parents[0].end + nextLineLength, textArea.value.length);
break;
}
else {
nextLineLength += nextLine.length;
var shiftTabTargetList = false;
curTabSpaceLength = event.event.shiftKey ? curTabSpace.length + 1 : curTabSpace.length - 1;
if (nextTabSpace.length > nestedTabSpace.length) {
traversIncreased = false;
}
if (curTabSpace.length !== nextTabSpace.length && nextTabSpace.length < nestedTabSpace.length) {
nestedListStart = true;
nestedlistorder = false;
shiftTabTargetList = event.event.shiftKey &&
curTabSpace.length === nextTabSpace.length ? (nestedListStart = false, true) : false;
}
else if (traversIncreased && event.event.shiftKey &&
curTabSpace.length === nextTabSpace.length && nextTabSpace.length === nestedTabSpace.length) {
nestedListStart = false;
shiftTabTargetList = true;
}
lineBreak = changedList === '' ? '' : '\n';
if (curTabSpaceLength === nextTabSpace.length && nestedListStart) {
var nextPrefix = event.event.shiftKey ?
(nextPrefixValue++, this.nextOrderedListValue(nextPrefixValue.toString()))
: this.previousOrderedListValue(nextLineSplit[0]);
nextLineSplit.splice(0, 1);
changedList = changedList + lineBreak + nextTabSpace + nextPrefix + nextLineSplit.join('. ');
}
else Eif (curTabSpace.length === nextTabSpace.length && nestedlistorder || shiftTabTargetList) {
var nextPrefix = this.nextOrderedListValue(prefixNumber.toString());
prefixNumber++;
nextLineSplit.splice(0, 1);
changedList = changedList + lineBreak + nextTabSpace + nextPrefix + nextLineSplit.join('. ');
}
else {
changedList = changedList + lineBreak + nextLine;
nestedListStart = false;
}
nestedTabSpace = this.getTabSpace(nextLine);
}
}
parents[k].text = this.getTabSpace(parents[k].text) + prefix + splitText.join('. ') + '\n';
textArea.value = textArea.value.substr(0, parents[k].start) + parents[k].text + changedList;
};
MDLists.prototype.getTabSpace = function (line) {
var split = line.split('\t');
var tabs = '';
for (var i = 0; i < split.length; i++) {
if (split[i] === '') {
tabs += '\t';
}
else {
break;
}
}
return tabs;
};
MDLists.prototype.isNotFirstLine = function (textArea, points) {
var currentLine = points.text;
var prevIndex = points.line - 1;
var prevLine = this.selection.getLine(textArea, prevIndex);
var regex = this.getListRegex();
var isNotFirst = false;
var regexFirstCondition;
if (prevLine) {
this.currentAction = this.getAction(prevLine);
var prevLineSplit = prevLine.split('. ');
regexFirstCondition = this.currentAction === 'OL' ? /^\d+$/.test(prevLineSplit[0].trim()) : regex.test(prevLine.trim());
}
if (prevLine && regexFirstCondition) {
var curTabSpace = this.getTabSpace(currentLine);
var prevTabSpace = this.getTabSpace(prevLine);
isNotFirst = curTabSpace === prevTabSpace ? true : isNotFirst;
for (; prevTabSpace.length > curTabSpace.length; null) {
prevIndex = prevIndex - 1;
prevLine = this.selection.getLine(textArea, prevIndex);
var prevLineSplit = prevLine.trim().split('. ');
var regexSecondCondition = this.currentAction === 'OL' ?
/^\d+$/.test(prevLineSplit[0]) : regex.test(prevLine.trim());
Eif (regexSecondCondition) {
prevTabSpace = this.getTabSpace(prevLine);
if (prevTabSpace.length <= curTabSpace.length) {
isNotFirst = true;
break;
}
}
}
}
return isNotFirst;
};
MDLists.prototype.getAction = function (line) {
var ol = line.split('. ')[0];
var currentState = /^\d+$/.test(ol.trim());
var ul = line.trim().split(new RegExp('^(' + this.selection.replaceSpecialChar(this.syntax.UL).trim() + ')'))[1];
return (currentState ? 'OL' : ul ? 'UL' : 'NOTLIST');
};
MDLists.prototype.nextOrderedListValue = function (previousLine) {
var currentValue = parseInt(previousLine, null);
var nextValue = currentValue + 1;
return nextValue.toString() + '. ';
};
MDLists.prototype.previousOrderedListValue = function (previousLine) {
var currentValue = parseInt(previousLine, null);
var nextValue = currentValue - 1;
return nextValue.toString() + '. ';
};
MDLists.prototype.enterKey = function (event) {
var textArea = this.parent.element;
this.selection.save(textArea.selectionStart, textArea.selectionEnd);
var start = textArea.selectionStart;
var end = textArea.selectionEnd;
var parents = this.selection.getSelectedParentPoints(textArea);
var prevLine = this.selection.getLine(textArea, parents[0].line - 1);
var listFormat = this.olListType();
var regex = this.getListRegex();
var prevLineSplit = [];
Eif (!ej2_base_2.isNullOrUndefined(prevLine)) {
prevLineSplit = prevLine.split('. ');
this.currentAction = this.getAction(prevLine);
}
var addedLength = 0;
if (this.currentAction === 'OL' && prevLineSplit.length > 1 && /^\d+$/.test(prevLineSplit[0].trim()) && listFormat
&& prevLineSplit[1] !== '') {
var tabSpace = this.getTabSpace(prevLine);
this.currentAction = this.getAction(prevLine);
var prefix = this.nextOrderedListValue(prevLineSplit[0]);
parents[0].text = tabSpace + prefix + parents[0].text;
var textAreaLength = this.selection.getAllParents(textArea.value).length;
var changedList = '\n';
var curTabSpace = this.getTabSpace(prevLine);
var nestedTabSpace = this.getTabSpace(parents[0].text);
var nestedListOrder = true;
for (var i = 1; i < textAreaLength &&
textArea.value.substr(parents[0].end, textArea.value.length) !== ''; i++) {
var nextLine = this.selection.getLine(textArea, parents[0].line + i);
if (ej2_base_2.isNullOrUndefined(nextLine)) {
changedList = changedList + '';
}
else {
var nextLineSplit = nextLine.split('. ');
var nextTabSpace = this.getTabSpace(nextLine);
if (nextTabSpace.length < nestedTabSpace.length) {
nestedListOrder = false;
}
Iif (nextLineSplit.length > 1 && /^\d+$/.test(nextLineSplit[0].trim()) &&
curTabSpace.length === nextTabSpace.length && nestedListOrder) {
var nextPrefix = this.nextOrderedListValue(nextLineSplit[0]);
nextLineSplit.splice(0, 1);
changedList = changedList + nextTabSpace + nextPrefix + nextLineSplit.join('. ') + '\n';
}
else {
changedList = changedList + nextLine + '\n';
nestedTabSpace = this.getTabSpace(nextLine);
}
}
}
textArea.value = textArea.value.substr(0, parents[0].start) + curTabSpace +
prefix + this.selection.getLine(textArea, parents[0].line) + changedList;
start = start + prefix.length + tabSpace.length;
addedLength += prefix.length + tabSpace.length;
}
else Eif (this.currentAction === 'UL' && (prevLine && regex.test(prevLine.trim())) &&
prevLine.trim().replace(regex, '') !== '' || this.currentAction === 'OL' && !listFormat) {
var tabSpace = this.getTabSpace(prevLine);
var prefix = this.syntax[this.currentAction];
parents[0].text = tabSpace + prefix + parents[0].text +
(parents[0].text.trim().length > 0 ? '\n' : '');
textArea.value = textArea.value.substr(0, parents[0].start) + parents[0].text +
textArea.value.substr(parents[0].end, textArea.value.length);
start = start + prefix.length + tabSpace.length;
addedLength += prefix.length + tabSpace.length;
}
this.restore(textArea, start, end + addedLength, event);
};
MDLists.prototype.olListType = function () {
var olSyntaxList = this.syntax.OL.split('.,');
var listType = olSyntaxList.length === 1 ? null :
parseInt(olSyntaxList[2].trim(), null) - parseInt(olSyntaxList[0].trim(), null);
if (listType) {
return 1;
}
else {
return 0;
}
};
MDLists.prototype.applyListsHandler = function (e) {
var textArea = this.parent.element;
this.selection.save(textArea.selectionStart, textArea.selectionEnd);
this.currentAction = e.subCommand;
var start = textArea.selectionStart;
var end = textArea.selectionEnd;
var addedLength = 0;
var startLength = 0;
var endLength = 0;
var parents = this.selection.getSelectedParentPoints(textArea);
var prefix = '';
var listFormat = this.olListType();
var regex;
var perfixObj = {};
for (var i = 0; i < parents.length; i++) {
if (listFormat) {
regex = this.currentAction === 'OL' ? i + listFormat + '. ' : this.syntax[this.currentAction];
}
else {
regex = this.currentAction === 'OL' ? this.syntax.OL : this.syntax[this.currentAction];
}
if (!this.selection.isStartWith(parents[i].text, regex)) {
if (parents[i].text === '' && i === 0) {
this.selection.save(start, end);
Eif (parents.length !== 1) {
for (var j = i; j < parents.length; j++) {
parents[j].start = j !== 0 ? 1 + parents[j].start : parents[j].start;
parents[j].end = 1 + parents[j].end;
}
}
}
var preLineTabSpaceLength = !ej2_base_2.isNullOrUndefined(parents[i - 1]) ?
this.getTabSpace(parents[i - 1].text).length : 0;
var replace = this.appliedLine(parents[i].text, regex, perfixObj, preLineTabSpaceLength);
prefix = replace.line ? prefix : regex;
parents[i].text = replace.line ? replace.line : prefix + parents[i].text;
replace.space = replace.space ? replace.space : 0;
textArea.value = textArea.value.substr(0, parents[i].start + endLength) + parents[i].text + '\n' +
textArea.value.substr(parents[i].end, textArea.value.length);
start = i === 0 ? (start + prefix.length + replace.space) > 0 ?
start + prefix.length + replace.space : 0 : start;
addedLength += prefix.length + replace.space;
if (parents.length !== 1) {
for (var j = i; j < parents.length; j++) {
parents[j].start = j !== 0 ? prefix.length +
parents[j].start + replace.space : parents[j].start;
parents[j].end = prefix.length + parents[j].end + replace.space;
}
}
this.restore(textArea, start, end + addedLength, null);
}
else {
parents[i].text = parents[i].text.replace(regex, '');
textArea.value = textArea.value.substr(0, parents[i].start + endLength) + parents[i].text + '\n' +
textArea.value.substr(parents[i].end + endLength, textArea.value.length);
endLength -= regex.length;
startLength = regex.length;
this.restore(textArea, start - startLength, end + endLength, null);
}
}
this.restore(textArea, null, null, e);
};
MDLists.prototype.appliedLine = function (line, prefixPattern, perfixObj, preTabSpaceLength) {
var points = {};
var regex = new RegExp('^[' + this.syntax.UL.trim() + ']');
var lineSplit = line.split('. ');
var currentPrefix = lineSplit[0] + '. ';
var isExist = regex.test(line.trim()) || line.trim() === this.syntax.OL.trim()
|| line.trim() === this.syntax.UL.trim() || /^\d+$/.test(lineSplit[0].trim());
var listFormat = this.olListType();
var curTabSpaceLength = this.getTabSpace(line).length;
if (this.currentAction === 'OL' && listFormat) {
perfixObj[curTabSpaceLength.toString()] = !ej2_base_2.isNullOrUndefined(perfixObj[curTabSpaceLength.toString()]) ?
perfixObj[curTabSpaceLength.toString()].valueOf() + 1 : 1;
prefixPattern = perfixObj[curTabSpaceLength.toString()].valueOf().toString() + '. ';
Iif (!ej2_base_2.isNullOrUndefined(preTabSpaceLength) && preTabSpaceLength > curTabSpaceLength) {
perfixObj[preTabSpaceLength.toString()] = 0;
}
}
if (isExist) {
var replace = void 0;
var pattern = void 0;
var space = 0;
if (regex.test(line.trim())) {
pattern = this.syntax.UL;
replace = prefixPattern;
points.space = prefixPattern.trim().length - this.syntax.UL.trim().length;
}
else Iif (/^\d+$/.test(lineSplit[0].trim()) && listFormat) {
pattern = lineSplit[0].trim() + '. ';
replace = prefixPattern;
points.space = this.syntax.UL.trim().length - currentPrefix.trim().length;
}
else Eif (/^\d+$/.test(lineSplit[0].trim())) {
pattern = lineSplit[0].trim() + '. ';
replace = this.syntax.UL;
points.space = this.syntax.UL.trim().length - currentPrefix.trim().length;
}
points.line = line.replace(pattern, replace);
}
return points;
};
MDLists.prototype.restore = function (textArea, start, end, event) {
if (!ej2_base_2.isNullOrUndefined(start) && !ej2_base_2.isNullOrUndefined(start)) {
this.selection.save(start, end);
}
if (!ej2_base_2.isNullOrUndefined(event)) {
this.selection.restore(textArea);
}
if (event && event.callBack) {
event.callBack({
requestType: this.currentAction,
selectedText: this.selection.getSelectedText(textArea),
editorMode: 'Markdown',
event: event.event
});
}
};
MDLists.prototype.getListRegex = function () {
var regex = '';
var configKey = Object.keys(this.syntax);
var regExp = RegExp;
for (var j = 0; j < configKey.length; j++) {
var syntax = this.selection.replaceSpecialChar(this.syntax[configKey[j]]);
regex += regex === '' ? '^(' + syntax + ')|^(' + syntax.trim() + ')' :
'|^(' + syntax + ')|^(' + syntax.trim() + ')';
}
return new regExp(regex);
};
MDLists.prototype.destroy = function () {
this.removeEventListener();
};
return MDLists;
}());
exports.MDLists = MDLists;
});
|