@syncfusion/ej2-vue-navigations 19.4.55 → 20.1.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/ej2-vue-navigations.umd.min.js +1 -1
- package/dist/es6/ej2-vue-navigations.es2015.js +299 -27
- package/dist/es6/ej2-vue-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-navigations.es5.js +197 -20
- package/dist/es6/ej2-vue-navigations.es5.js.map +1 -1
- package/dist/global/ej2-vue-navigations.min.js +2 -2
- package/package.json +14 -8
- package/src/accordion/accordion.component.d.ts +1 -0
- package/src/accordion/accordion.component.js +10 -1
- package/src/accordion/items.directive.d.ts +3 -1
- package/src/accordion/items.directive.js +24 -2
- package/src/breadcrumb/breadcrumb.component.d.ts +1 -0
- package/src/breadcrumb/breadcrumb.component.js +10 -1
- package/src/breadcrumb/items.directive.d.ts +3 -1
- package/src/breadcrumb/items.directive.js +24 -2
- package/src/context-menu/contextmenu.component.d.ts +1 -0
- package/src/context-menu/contextmenu.component.js +10 -1
- package/src/menu/items.directive.d.ts +3 -1
- package/src/menu/items.directive.js +24 -2
- package/src/menu/menu.component.d.ts +1 -0
- package/src/menu/menu.component.js +10 -1
- package/src/sidebar/sidebar.component.d.ts +1 -0
- package/src/sidebar/sidebar.component.js +10 -1
- package/src/tab/items.directive.d.ts +3 -1
- package/src/tab/items.directive.js +24 -2
- package/src/tab/tab.component.d.ts +1 -0
- package/src/tab/tab.component.js +10 -1
- package/src/toolbar/items.directive.d.ts +3 -1
- package/src/toolbar/items.directive.js +24 -2
- package/src/toolbar/toolbar.component.d.ts +1 -0
- package/src/toolbar/toolbar.component.js +10 -1
- package/src/treeview/treeview.component.d.ts +1 -0
- package/src/treeview/treeview.component.js +10 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-navigations.umd.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 20.1.48
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Accordion, Breadcrumb, ContextMenu, Menu, Sidebar, Tab, Toolbar, TreeView } from '@syncfusion/ej2-navigations';
|
|
2
2
|
import { ComponentBase, EJComponentDecorator, allVue, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
3
3
|
import { Vue } from 'vue-class-component';
|
|
4
|
-
import Vue$1 from 'vue';
|
|
5
4
|
import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
|
|
5
|
+
import Vue$1 from 'vue';
|
|
6
6
|
|
|
7
7
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8
8
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -10,6 +10,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
10
10
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11
11
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12
12
|
};
|
|
13
|
+
// {{VueImport}}
|
|
13
14
|
const isExecute = gh ? false : true;
|
|
14
15
|
let vueImport;
|
|
15
16
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -18,16 +19,47 @@ if (!isExecute || parseInt(allVue.version) < 3) {
|
|
|
18
19
|
else {
|
|
19
20
|
vueImport = Vue$1;
|
|
20
21
|
}
|
|
21
|
-
let AccordionItemsDirective =
|
|
22
|
-
|
|
22
|
+
let AccordionItemsDirective =
|
|
23
|
+
/* Start Options({
|
|
24
|
+
inject: {
|
|
25
|
+
custom: {
|
|
26
|
+
default: null
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}) End */
|
|
30
|
+
class AccordionItemsDirective extends vueImport {
|
|
31
|
+
constructor() {
|
|
32
|
+
super(arguments);
|
|
33
|
+
}
|
|
34
|
+
render(createElement) {
|
|
35
|
+
if (gh) {
|
|
36
|
+
let h = gh || createElement;
|
|
37
|
+
let slots = null;
|
|
38
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
39
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
40
|
+
}
|
|
41
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
42
|
+
}
|
|
23
43
|
return;
|
|
24
44
|
}
|
|
45
|
+
updated() {
|
|
46
|
+
if (gh && this.custom) {
|
|
47
|
+
this.custom();
|
|
48
|
+
}
|
|
49
|
+
}
|
|
25
50
|
getTag() {
|
|
26
51
|
return 'e-accordionitems';
|
|
27
52
|
}
|
|
28
53
|
};
|
|
29
54
|
AccordionItemsDirective = __decorate([
|
|
30
55
|
EJComponentDecorator({}, isExecute)
|
|
56
|
+
/* Start Options({
|
|
57
|
+
inject: {
|
|
58
|
+
custom: {
|
|
59
|
+
default: null
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}) End */
|
|
31
63
|
], AccordionItemsDirective);
|
|
32
64
|
const AccordionItemsPlugin = {
|
|
33
65
|
name: 'e-accordionitems',
|
|
@@ -93,7 +125,12 @@ let AccordionComponent =
|
|
|
93
125
|
/* Start Options({
|
|
94
126
|
props: props,
|
|
95
127
|
watch: watch,
|
|
96
|
-
emits: emitProbs
|
|
128
|
+
emits: emitProbs,
|
|
129
|
+
provide: function provide() {
|
|
130
|
+
return {
|
|
131
|
+
custom: this.custom
|
|
132
|
+
};
|
|
133
|
+
}
|
|
97
134
|
}) End */
|
|
98
135
|
class AccordionComponent extends ComponentBase {
|
|
99
136
|
constructor() {
|
|
@@ -112,6 +149,7 @@ class AccordionComponent extends ComponentBase {
|
|
|
112
149
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
113
150
|
this.ej2Instances.setProperties = this.setProperties;
|
|
114
151
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
152
|
+
this.updated = this.updated;
|
|
115
153
|
}
|
|
116
154
|
clearTemplate(templateNames) {
|
|
117
155
|
if (!templateNames) {
|
|
@@ -204,6 +242,9 @@ class AccordionComponent extends ComponentBase {
|
|
|
204
242
|
}
|
|
205
243
|
return h('div', slots);
|
|
206
244
|
}
|
|
245
|
+
custom() {
|
|
246
|
+
this.updated();
|
|
247
|
+
}
|
|
207
248
|
addItem(item, index) {
|
|
208
249
|
return this.ej2Instances.addItem(item, index);
|
|
209
250
|
}
|
|
@@ -233,7 +274,12 @@ AccordionComponent = __decorate$1([
|
|
|
233
274
|
/* Start Options({
|
|
234
275
|
props: props,
|
|
235
276
|
watch: watch,
|
|
236
|
-
emits: emitProbs
|
|
277
|
+
emits: emitProbs,
|
|
278
|
+
provide: function provide() {
|
|
279
|
+
return {
|
|
280
|
+
custom: this.custom
|
|
281
|
+
};
|
|
282
|
+
}
|
|
237
283
|
}) End */
|
|
238
284
|
], AccordionComponent);
|
|
239
285
|
const AccordionPlugin = {
|
|
@@ -251,6 +297,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
251
297
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
252
298
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
253
299
|
};
|
|
300
|
+
// {{VueImport}}
|
|
254
301
|
const isExecute$2 = gh ? false : true;
|
|
255
302
|
let vueImport$1;
|
|
256
303
|
if (!isExecute$2 || parseInt(allVue.version) < 3) {
|
|
@@ -259,16 +306,47 @@ if (!isExecute$2 || parseInt(allVue.version) < 3) {
|
|
|
259
306
|
else {
|
|
260
307
|
vueImport$1 = Vue$1;
|
|
261
308
|
}
|
|
262
|
-
let ItemsDirective =
|
|
263
|
-
|
|
309
|
+
let ItemsDirective =
|
|
310
|
+
/* Start Options({
|
|
311
|
+
inject: {
|
|
312
|
+
custom: {
|
|
313
|
+
default: null
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}) End */
|
|
317
|
+
class ItemsDirective extends vueImport$1 {
|
|
318
|
+
constructor() {
|
|
319
|
+
super(arguments);
|
|
320
|
+
}
|
|
321
|
+
render(createElement) {
|
|
322
|
+
if (gh) {
|
|
323
|
+
let h = gh || createElement;
|
|
324
|
+
let slots = null;
|
|
325
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
326
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
327
|
+
}
|
|
328
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
329
|
+
}
|
|
264
330
|
return;
|
|
265
331
|
}
|
|
332
|
+
updated() {
|
|
333
|
+
if (gh && this.custom) {
|
|
334
|
+
this.custom();
|
|
335
|
+
}
|
|
336
|
+
}
|
|
266
337
|
getTag() {
|
|
267
338
|
return 'e-items';
|
|
268
339
|
}
|
|
269
340
|
};
|
|
270
341
|
ItemsDirective = __decorate$2([
|
|
271
342
|
EJComponentDecorator({}, isExecute$2)
|
|
343
|
+
/* Start Options({
|
|
344
|
+
inject: {
|
|
345
|
+
custom: {
|
|
346
|
+
default: null
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}) End */
|
|
272
350
|
], ItemsDirective);
|
|
273
351
|
const ItemsPlugin = {
|
|
274
352
|
name: 'e-items',
|
|
@@ -334,7 +412,12 @@ let ToolbarComponent =
|
|
|
334
412
|
/* Start Options({
|
|
335
413
|
props: props,
|
|
336
414
|
watch: watch,
|
|
337
|
-
emits: emitProbs
|
|
415
|
+
emits: emitProbs,
|
|
416
|
+
provide: function provide() {
|
|
417
|
+
return {
|
|
418
|
+
custom: this.custom
|
|
419
|
+
};
|
|
420
|
+
}
|
|
338
421
|
}) End */
|
|
339
422
|
class ToolbarComponent extends ComponentBase {
|
|
340
423
|
constructor() {
|
|
@@ -351,6 +434,7 @@ class ToolbarComponent extends ComponentBase {
|
|
|
351
434
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
352
435
|
this.ej2Instances.setProperties = this.setProperties;
|
|
353
436
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
437
|
+
this.updated = this.updated;
|
|
354
438
|
}
|
|
355
439
|
clearTemplate(templateNames) {
|
|
356
440
|
if (!templateNames) {
|
|
@@ -405,6 +489,9 @@ class ToolbarComponent extends ComponentBase {
|
|
|
405
489
|
}
|
|
406
490
|
return h('div', slots);
|
|
407
491
|
}
|
|
492
|
+
custom() {
|
|
493
|
+
this.updated();
|
|
494
|
+
}
|
|
408
495
|
addItems(items, index) {
|
|
409
496
|
return this.ej2Instances.addItems(items, index);
|
|
410
497
|
}
|
|
@@ -431,7 +518,12 @@ ToolbarComponent = __decorate$3([
|
|
|
431
518
|
/* Start Options({
|
|
432
519
|
props: props,
|
|
433
520
|
watch: watch,
|
|
434
|
-
emits: emitProbs
|
|
521
|
+
emits: emitProbs,
|
|
522
|
+
provide: function provide() {
|
|
523
|
+
return {
|
|
524
|
+
custom: this.custom
|
|
525
|
+
};
|
|
526
|
+
}
|
|
435
527
|
}) End */
|
|
436
528
|
], ToolbarComponent);
|
|
437
529
|
const ToolbarPlugin = {
|
|
@@ -472,7 +564,12 @@ let ContextMenuComponent =
|
|
|
472
564
|
/* Start Options({
|
|
473
565
|
props: props,
|
|
474
566
|
watch: watch,
|
|
475
|
-
emits: emitProbs
|
|
567
|
+
emits: emitProbs,
|
|
568
|
+
provide: function provide() {
|
|
569
|
+
return {
|
|
570
|
+
custom: this.custom
|
|
571
|
+
};
|
|
572
|
+
}
|
|
476
573
|
}) End */
|
|
477
574
|
class ContextMenuComponent extends ComponentBase {
|
|
478
575
|
constructor() {
|
|
@@ -489,6 +586,7 @@ class ContextMenuComponent extends ComponentBase {
|
|
|
489
586
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
490
587
|
this.ej2Instances.setProperties = this.setProperties;
|
|
491
588
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
589
|
+
this.updated = this.updated;
|
|
492
590
|
}
|
|
493
591
|
clearTemplate(templateNames) {
|
|
494
592
|
if (!templateNames) {
|
|
@@ -543,6 +641,9 @@ class ContextMenuComponent extends ComponentBase {
|
|
|
543
641
|
}
|
|
544
642
|
return h('ul', slots);
|
|
545
643
|
}
|
|
644
|
+
custom() {
|
|
645
|
+
this.updated();
|
|
646
|
+
}
|
|
546
647
|
close() {
|
|
547
648
|
return this.ej2Instances.close();
|
|
548
649
|
}
|
|
@@ -581,7 +682,12 @@ ContextMenuComponent = __decorate$4([
|
|
|
581
682
|
/* Start Options({
|
|
582
683
|
props: props,
|
|
583
684
|
watch: watch,
|
|
584
|
-
emits: emitProbs
|
|
685
|
+
emits: emitProbs,
|
|
686
|
+
provide: function provide() {
|
|
687
|
+
return {
|
|
688
|
+
custom: this.custom
|
|
689
|
+
};
|
|
690
|
+
}
|
|
585
691
|
}) End */
|
|
586
692
|
], ContextMenuComponent);
|
|
587
693
|
const ContextMenuPlugin = {
|
|
@@ -597,6 +703,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
597
703
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
598
704
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
599
705
|
};
|
|
706
|
+
// {{VueImport}}
|
|
600
707
|
const isExecute$5 = gh ? false : true;
|
|
601
708
|
let vueImport$2;
|
|
602
709
|
if (!isExecute$5 || parseInt(allVue.version) < 3) {
|
|
@@ -605,16 +712,47 @@ if (!isExecute$5 || parseInt(allVue.version) < 3) {
|
|
|
605
712
|
else {
|
|
606
713
|
vueImport$2 = Vue$1;
|
|
607
714
|
}
|
|
608
|
-
let BreadcrumbItemsDirective =
|
|
609
|
-
|
|
715
|
+
let BreadcrumbItemsDirective =
|
|
716
|
+
/* Start Options({
|
|
717
|
+
inject: {
|
|
718
|
+
custom: {
|
|
719
|
+
default: null
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
}) End */
|
|
723
|
+
class BreadcrumbItemsDirective extends vueImport$2 {
|
|
724
|
+
constructor() {
|
|
725
|
+
super(arguments);
|
|
726
|
+
}
|
|
727
|
+
render(createElement) {
|
|
728
|
+
if (gh) {
|
|
729
|
+
let h = gh || createElement;
|
|
730
|
+
let slots = null;
|
|
731
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
732
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
733
|
+
}
|
|
734
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
735
|
+
}
|
|
610
736
|
return;
|
|
611
737
|
}
|
|
738
|
+
updated() {
|
|
739
|
+
if (gh && this.custom) {
|
|
740
|
+
this.custom();
|
|
741
|
+
}
|
|
742
|
+
}
|
|
612
743
|
getTag() {
|
|
613
744
|
return 'e-breadcrumb-items';
|
|
614
745
|
}
|
|
615
746
|
};
|
|
616
747
|
BreadcrumbItemsDirective = __decorate$5([
|
|
617
748
|
EJComponentDecorator({}, isExecute$5)
|
|
749
|
+
/* Start Options({
|
|
750
|
+
inject: {
|
|
751
|
+
custom: {
|
|
752
|
+
default: null
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
}) End */
|
|
618
756
|
], BreadcrumbItemsDirective);
|
|
619
757
|
const BreadcrumbItemsPlugin = {
|
|
620
758
|
name: 'e-breadcrumb-items',
|
|
@@ -680,7 +818,12 @@ let BreadcrumbComponent =
|
|
|
680
818
|
/* Start Options({
|
|
681
819
|
props: props,
|
|
682
820
|
watch: watch,
|
|
683
|
-
emits: emitProbs
|
|
821
|
+
emits: emitProbs,
|
|
822
|
+
provide: function provide() {
|
|
823
|
+
return {
|
|
824
|
+
custom: this.custom
|
|
825
|
+
};
|
|
826
|
+
}
|
|
684
827
|
}) End */
|
|
685
828
|
class BreadcrumbComponent extends ComponentBase {
|
|
686
829
|
constructor() {
|
|
@@ -699,6 +842,7 @@ class BreadcrumbComponent extends ComponentBase {
|
|
|
699
842
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
700
843
|
this.ej2Instances.setProperties = this.setProperties;
|
|
701
844
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
845
|
+
this.updated = this.updated;
|
|
702
846
|
}
|
|
703
847
|
clearTemplate(templateNames) {
|
|
704
848
|
if (!templateNames) {
|
|
@@ -791,6 +935,9 @@ class BreadcrumbComponent extends ComponentBase {
|
|
|
791
935
|
}
|
|
792
936
|
return h('nav', slots);
|
|
793
937
|
}
|
|
938
|
+
custom() {
|
|
939
|
+
this.updated();
|
|
940
|
+
}
|
|
794
941
|
};
|
|
795
942
|
BreadcrumbComponent = __decorate$6([
|
|
796
943
|
EJComponentDecorator({
|
|
@@ -802,7 +949,12 @@ BreadcrumbComponent = __decorate$6([
|
|
|
802
949
|
/* Start Options({
|
|
803
950
|
props: props,
|
|
804
951
|
watch: watch,
|
|
805
|
-
emits: emitProbs
|
|
952
|
+
emits: emitProbs,
|
|
953
|
+
provide: function provide() {
|
|
954
|
+
return {
|
|
955
|
+
custom: this.custom
|
|
956
|
+
};
|
|
957
|
+
}
|
|
806
958
|
}) End */
|
|
807
959
|
], BreadcrumbComponent);
|
|
808
960
|
const BreadcrumbPlugin = {
|
|
@@ -820,6 +972,7 @@ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
820
972
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
821
973
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
822
974
|
};
|
|
975
|
+
// {{VueImport}}
|
|
823
976
|
const isExecute$7 = gh ? false : true;
|
|
824
977
|
let vueImport$3;
|
|
825
978
|
if (!isExecute$7 || parseInt(allVue.version) < 3) {
|
|
@@ -828,16 +981,47 @@ if (!isExecute$7 || parseInt(allVue.version) < 3) {
|
|
|
828
981
|
else {
|
|
829
982
|
vueImport$3 = Vue$1;
|
|
830
983
|
}
|
|
831
|
-
let TabItemsDirective =
|
|
832
|
-
|
|
984
|
+
let TabItemsDirective =
|
|
985
|
+
/* Start Options({
|
|
986
|
+
inject: {
|
|
987
|
+
custom: {
|
|
988
|
+
default: null
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
}) End */
|
|
992
|
+
class TabItemsDirective extends vueImport$3 {
|
|
993
|
+
constructor() {
|
|
994
|
+
super(arguments);
|
|
995
|
+
}
|
|
996
|
+
render(createElement) {
|
|
997
|
+
if (gh) {
|
|
998
|
+
let h = gh || createElement;
|
|
999
|
+
let slots = null;
|
|
1000
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1001
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1002
|
+
}
|
|
1003
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
1004
|
+
}
|
|
833
1005
|
return;
|
|
834
1006
|
}
|
|
1007
|
+
updated() {
|
|
1008
|
+
if (gh && this.custom) {
|
|
1009
|
+
this.custom();
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
835
1012
|
getTag() {
|
|
836
1013
|
return 'e-tabitems';
|
|
837
1014
|
}
|
|
838
1015
|
};
|
|
839
1016
|
TabItemsDirective = __decorate$7([
|
|
840
1017
|
EJComponentDecorator({}, isExecute$7)
|
|
1018
|
+
/* Start Options({
|
|
1019
|
+
inject: {
|
|
1020
|
+
custom: {
|
|
1021
|
+
default: null
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
}) End */
|
|
841
1025
|
], TabItemsDirective);
|
|
842
1026
|
const TabItemsPlugin = {
|
|
843
1027
|
name: 'e-tabitems',
|
|
@@ -903,7 +1087,12 @@ let TabComponent =
|
|
|
903
1087
|
/* Start Options({
|
|
904
1088
|
props: props,
|
|
905
1089
|
watch: watch,
|
|
906
|
-
emits: emitProbs
|
|
1090
|
+
emits: emitProbs,
|
|
1091
|
+
provide: function provide() {
|
|
1092
|
+
return {
|
|
1093
|
+
custom: this.custom
|
|
1094
|
+
};
|
|
1095
|
+
}
|
|
907
1096
|
}) End */
|
|
908
1097
|
class TabComponent extends ComponentBase {
|
|
909
1098
|
constructor() {
|
|
@@ -920,6 +1109,7 @@ class TabComponent extends ComponentBase {
|
|
|
920
1109
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
921
1110
|
this.ej2Instances.setProperties = this.setProperties;
|
|
922
1111
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1112
|
+
this.updated = this.updated;
|
|
923
1113
|
}
|
|
924
1114
|
clearTemplate(templateNames) {
|
|
925
1115
|
if (!templateNames) {
|
|
@@ -974,6 +1164,9 @@ class TabComponent extends ComponentBase {
|
|
|
974
1164
|
}
|
|
975
1165
|
return h('div', slots);
|
|
976
1166
|
}
|
|
1167
|
+
custom() {
|
|
1168
|
+
this.updated();
|
|
1169
|
+
}
|
|
977
1170
|
addTab(items, index) {
|
|
978
1171
|
return this.ej2Instances.addTab(items, index);
|
|
979
1172
|
}
|
|
@@ -1009,7 +1202,12 @@ TabComponent = __decorate$8([
|
|
|
1009
1202
|
/* Start Options({
|
|
1010
1203
|
props: props,
|
|
1011
1204
|
watch: watch,
|
|
1012
|
-
emits: emitProbs
|
|
1205
|
+
emits: emitProbs,
|
|
1206
|
+
provide: function provide() {
|
|
1207
|
+
return {
|
|
1208
|
+
custom: this.custom
|
|
1209
|
+
};
|
|
1210
|
+
}
|
|
1013
1211
|
}) End */
|
|
1014
1212
|
], TabComponent);
|
|
1015
1213
|
const TabPlugin = {
|
|
@@ -1049,7 +1247,12 @@ let TreeViewComponent =
|
|
|
1049
1247
|
/* Start Options({
|
|
1050
1248
|
props: props,
|
|
1051
1249
|
watch: watch,
|
|
1052
|
-
emits: emitProbs
|
|
1250
|
+
emits: emitProbs,
|
|
1251
|
+
provide: function provide() {
|
|
1252
|
+
return {
|
|
1253
|
+
custom: this.custom
|
|
1254
|
+
};
|
|
1255
|
+
}
|
|
1053
1256
|
}) End */
|
|
1054
1257
|
class TreeViewComponent extends ComponentBase {
|
|
1055
1258
|
constructor() {
|
|
@@ -1066,6 +1269,7 @@ class TreeViewComponent extends ComponentBase {
|
|
|
1066
1269
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
1067
1270
|
this.ej2Instances.setProperties = this.setProperties;
|
|
1068
1271
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1272
|
+
this.updated = this.updated;
|
|
1069
1273
|
}
|
|
1070
1274
|
clearTemplate(templateNames) {
|
|
1071
1275
|
if (!templateNames) {
|
|
@@ -1120,6 +1324,9 @@ class TreeViewComponent extends ComponentBase {
|
|
|
1120
1324
|
}
|
|
1121
1325
|
return h('div', slots);
|
|
1122
1326
|
}
|
|
1327
|
+
custom() {
|
|
1328
|
+
this.updated();
|
|
1329
|
+
}
|
|
1123
1330
|
addNodes(nodes, target, index, preventTargetExpand) {
|
|
1124
1331
|
return this.ej2Instances.addNodes(nodes, target, index, preventTargetExpand);
|
|
1125
1332
|
}
|
|
@@ -1179,7 +1386,12 @@ TreeViewComponent = __decorate$9([
|
|
|
1179
1386
|
/* Start Options({
|
|
1180
1387
|
props: props,
|
|
1181
1388
|
watch: watch,
|
|
1182
|
-
emits: emitProbs
|
|
1389
|
+
emits: emitProbs,
|
|
1390
|
+
provide: function provide() {
|
|
1391
|
+
return {
|
|
1392
|
+
custom: this.custom
|
|
1393
|
+
};
|
|
1394
|
+
}
|
|
1183
1395
|
}) End */
|
|
1184
1396
|
], TreeViewComponent);
|
|
1185
1397
|
const TreeViewPlugin = {
|
|
@@ -1217,7 +1429,12 @@ let SidebarComponent =
|
|
|
1217
1429
|
/* Start Options({
|
|
1218
1430
|
props: props,
|
|
1219
1431
|
watch: watch,
|
|
1220
|
-
emits: emitProbs
|
|
1432
|
+
emits: emitProbs,
|
|
1433
|
+
provide: function provide() {
|
|
1434
|
+
return {
|
|
1435
|
+
custom: this.custom
|
|
1436
|
+
};
|
|
1437
|
+
}
|
|
1221
1438
|
}) End */
|
|
1222
1439
|
class SidebarComponent extends ComponentBase {
|
|
1223
1440
|
constructor() {
|
|
@@ -1236,6 +1453,7 @@ class SidebarComponent extends ComponentBase {
|
|
|
1236
1453
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
1237
1454
|
this.ej2Instances.setProperties = this.setProperties;
|
|
1238
1455
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1456
|
+
this.updated = this.updated;
|
|
1239
1457
|
}
|
|
1240
1458
|
clearTemplate(templateNames) {
|
|
1241
1459
|
if (!templateNames) {
|
|
@@ -1328,6 +1546,9 @@ class SidebarComponent extends ComponentBase {
|
|
|
1328
1546
|
}
|
|
1329
1547
|
return h('div', slots);
|
|
1330
1548
|
}
|
|
1549
|
+
custom() {
|
|
1550
|
+
this.updated();
|
|
1551
|
+
}
|
|
1331
1552
|
hide(e) {
|
|
1332
1553
|
return this.ej2Instances.hide(e);
|
|
1333
1554
|
}
|
|
@@ -1348,7 +1569,12 @@ SidebarComponent = __decorate$10([
|
|
|
1348
1569
|
/* Start Options({
|
|
1349
1570
|
props: props,
|
|
1350
1571
|
watch: watch,
|
|
1351
|
-
emits: emitProbs
|
|
1572
|
+
emits: emitProbs,
|
|
1573
|
+
provide: function provide() {
|
|
1574
|
+
return {
|
|
1575
|
+
custom: this.custom
|
|
1576
|
+
};
|
|
1577
|
+
}
|
|
1352
1578
|
}) End */
|
|
1353
1579
|
], SidebarComponent);
|
|
1354
1580
|
const SidebarPlugin = {
|
|
@@ -1364,6 +1590,7 @@ var __decorate$11 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1364
1590
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1365
1591
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1366
1592
|
};
|
|
1593
|
+
// {{VueImport}}
|
|
1367
1594
|
const isExecute$11 = gh ? false : true;
|
|
1368
1595
|
let vueImport$4;
|
|
1369
1596
|
if (!isExecute$11 || parseInt(allVue.version) < 3) {
|
|
@@ -1372,16 +1599,47 @@ if (!isExecute$11 || parseInt(allVue.version) < 3) {
|
|
|
1372
1599
|
else {
|
|
1373
1600
|
vueImport$4 = Vue$1;
|
|
1374
1601
|
}
|
|
1375
|
-
let MenuItemsDirective =
|
|
1376
|
-
|
|
1602
|
+
let MenuItemsDirective =
|
|
1603
|
+
/* Start Options({
|
|
1604
|
+
inject: {
|
|
1605
|
+
custom: {
|
|
1606
|
+
default: null
|
|
1607
|
+
}
|
|
1608
|
+
}
|
|
1609
|
+
}) End */
|
|
1610
|
+
class MenuItemsDirective extends vueImport$4 {
|
|
1611
|
+
constructor() {
|
|
1612
|
+
super(arguments);
|
|
1613
|
+
}
|
|
1614
|
+
render(createElement) {
|
|
1615
|
+
if (gh) {
|
|
1616
|
+
let h = gh || createElement;
|
|
1617
|
+
let slots = null;
|
|
1618
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1619
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1620
|
+
}
|
|
1621
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
1622
|
+
}
|
|
1377
1623
|
return;
|
|
1378
1624
|
}
|
|
1625
|
+
updated() {
|
|
1626
|
+
if (gh && this.custom) {
|
|
1627
|
+
this.custom();
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1379
1630
|
getTag() {
|
|
1380
1631
|
return 'e-menu-items';
|
|
1381
1632
|
}
|
|
1382
1633
|
};
|
|
1383
1634
|
MenuItemsDirective = __decorate$11([
|
|
1384
1635
|
EJComponentDecorator({}, isExecute$11)
|
|
1636
|
+
/* Start Options({
|
|
1637
|
+
inject: {
|
|
1638
|
+
custom: {
|
|
1639
|
+
default: null
|
|
1640
|
+
}
|
|
1641
|
+
}
|
|
1642
|
+
}) End */
|
|
1385
1643
|
], MenuItemsDirective);
|
|
1386
1644
|
const MenuItemsPlugin = {
|
|
1387
1645
|
name: 'e-menu-items',
|
|
@@ -1435,7 +1693,12 @@ let MenuComponent =
|
|
|
1435
1693
|
/* Start Options({
|
|
1436
1694
|
props: props,
|
|
1437
1695
|
watch: watch,
|
|
1438
|
-
emits: emitProbs
|
|
1696
|
+
emits: emitProbs,
|
|
1697
|
+
provide: function provide() {
|
|
1698
|
+
return {
|
|
1699
|
+
custom: this.custom
|
|
1700
|
+
};
|
|
1701
|
+
}
|
|
1439
1702
|
}) End */
|
|
1440
1703
|
class MenuComponent extends ComponentBase {
|
|
1441
1704
|
constructor() {
|
|
@@ -1452,6 +1715,7 @@ class MenuComponent extends ComponentBase {
|
|
|
1452
1715
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
1453
1716
|
this.ej2Instances.setProperties = this.setProperties;
|
|
1454
1717
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1718
|
+
this.updated = this.updated;
|
|
1455
1719
|
}
|
|
1456
1720
|
clearTemplate(templateNames) {
|
|
1457
1721
|
if (!templateNames) {
|
|
@@ -1506,6 +1770,9 @@ class MenuComponent extends ComponentBase {
|
|
|
1506
1770
|
}
|
|
1507
1771
|
return h('ul', slots);
|
|
1508
1772
|
}
|
|
1773
|
+
custom() {
|
|
1774
|
+
this.updated();
|
|
1775
|
+
}
|
|
1509
1776
|
close() {
|
|
1510
1777
|
return this.ej2Instances.close();
|
|
1511
1778
|
}
|
|
@@ -1544,7 +1811,12 @@ MenuComponent = __decorate$12([
|
|
|
1544
1811
|
/* Start Options({
|
|
1545
1812
|
props: props,
|
|
1546
1813
|
watch: watch,
|
|
1547
|
-
emits: emitProbs
|
|
1814
|
+
emits: emitProbs,
|
|
1815
|
+
provide: function provide() {
|
|
1816
|
+
return {
|
|
1817
|
+
custom: this.custom
|
|
1818
|
+
};
|
|
1819
|
+
}
|
|
1548
1820
|
}) End */
|
|
1549
1821
|
], MenuComponent);
|
|
1550
1822
|
const MenuPlugin = {
|