@syncfusion/ej2-vue-navigations 19.4.52 → 19.4.56
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 +24 -0
- package/dist/ej2-vue-navigations.umd.min.js +2 -20
- package/dist/ej2-vue-navigations.umd.min.js.map +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 +7 -7
- 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
|
@@ -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 __extends = (undefined && undefined.__extends) || (function () {
|
|
8
8
|
var extendStatics = function (d, b) {
|
|
@@ -23,6 +23,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
23
23
|
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;
|
|
24
24
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
25
|
};
|
|
26
|
+
import { Options } from 'vue-class-component';
|
|
26
27
|
var isExecute = gh ? false : true;
|
|
27
28
|
var vueImport;
|
|
28
29
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -34,16 +35,36 @@ else {
|
|
|
34
35
|
var AccordionItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
35
36
|
__extends(AccordionItemsDirective, _super);
|
|
36
37
|
function AccordionItemsDirective() {
|
|
37
|
-
return _super
|
|
38
|
+
return _super.call(this, arguments) || this;
|
|
38
39
|
}
|
|
39
|
-
AccordionItemsDirective.prototype.render = function () {
|
|
40
|
+
AccordionItemsDirective.prototype.render = function (createElement) {
|
|
41
|
+
if (gh) {
|
|
42
|
+
var h = gh || createElement;
|
|
43
|
+
var slots = null;
|
|
44
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
45
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
46
|
+
}
|
|
47
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
48
|
+
}
|
|
40
49
|
return;
|
|
41
50
|
};
|
|
51
|
+
AccordionItemsDirective.prototype.updated = function () {
|
|
52
|
+
if (gh && this.custom) {
|
|
53
|
+
this.custom();
|
|
54
|
+
}
|
|
55
|
+
};
|
|
42
56
|
AccordionItemsDirective.prototype.getTag = function () {
|
|
43
57
|
return 'e-accordionitems';
|
|
44
58
|
};
|
|
45
59
|
AccordionItemsDirective = __decorate([
|
|
46
60
|
EJComponentDecorator({}, isExecute)
|
|
61
|
+
,Options({
|
|
62
|
+
inject: {
|
|
63
|
+
custom: {
|
|
64
|
+
default: null
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
})
|
|
47
68
|
], AccordionItemsDirective);
|
|
48
69
|
return AccordionItemsDirective;
|
|
49
70
|
}(vueImport));
|
|
@@ -107,7 +128,7 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
107
128
|
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;
|
|
108
129
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
109
130
|
};
|
|
110
|
-
|
|
131
|
+
// {{VueImport}}
|
|
111
132
|
var properties = ['isLazyUpdate', 'animation', 'dataSource', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'expandMode', 'expandedIndices', 'headerTemplate', 'height', 'itemTemplate', 'items', 'locale', 'width', 'clicked', 'created', 'destroyed', 'expanded', 'expanding'];
|
|
112
133
|
var modelProps = ['expandedIndices'];
|
|
113
134
|
var testProp = getProps({ props: properties });
|
|
@@ -144,6 +165,7 @@ var AccordionComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
144
165
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
145
166
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
146
167
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
168
|
+
_this.updated = _this.updated;
|
|
147
169
|
return _this;
|
|
148
170
|
}
|
|
149
171
|
AccordionComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -240,6 +262,9 @@ var AccordionComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
240
262
|
}
|
|
241
263
|
return h('div', slots);
|
|
242
264
|
};
|
|
265
|
+
AccordionComponent.prototype.custom = function () {
|
|
266
|
+
this.updated();
|
|
267
|
+
};
|
|
243
268
|
AccordionComponent.prototype.addItem = function (item, index) {
|
|
244
269
|
return this.ej2Instances.addItem(item, index);
|
|
245
270
|
};
|
|
@@ -268,7 +293,12 @@ var AccordionComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
268
293
|
,Options({
|
|
269
294
|
props: props,
|
|
270
295
|
watch: watch,
|
|
271
|
-
emits: emitProbs
|
|
296
|
+
emits: emitProbs,
|
|
297
|
+
provide: function provide() {
|
|
298
|
+
return {
|
|
299
|
+
custom: this.custom
|
|
300
|
+
};
|
|
301
|
+
}
|
|
272
302
|
})
|
|
273
303
|
], AccordionComponent);
|
|
274
304
|
return AccordionComponent;
|
|
@@ -301,6 +331,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
301
331
|
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;
|
|
302
332
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
303
333
|
};
|
|
334
|
+
// {{VueImport}}
|
|
304
335
|
var isExecute$2 = gh ? false : true;
|
|
305
336
|
var vueImport$1;
|
|
306
337
|
if (!isExecute$2 || parseInt(allVue.version) < 3) {
|
|
@@ -312,16 +343,36 @@ else {
|
|
|
312
343
|
var ItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
313
344
|
__extends$2(ItemsDirective, _super);
|
|
314
345
|
function ItemsDirective() {
|
|
315
|
-
return _super
|
|
346
|
+
return _super.call(this, arguments) || this;
|
|
316
347
|
}
|
|
317
|
-
ItemsDirective.prototype.render = function () {
|
|
348
|
+
ItemsDirective.prototype.render = function (createElement) {
|
|
349
|
+
if (gh) {
|
|
350
|
+
var h = gh || createElement;
|
|
351
|
+
var slots = null;
|
|
352
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
353
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
354
|
+
}
|
|
355
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
356
|
+
}
|
|
318
357
|
return;
|
|
319
358
|
};
|
|
359
|
+
ItemsDirective.prototype.updated = function () {
|
|
360
|
+
if (gh && this.custom) {
|
|
361
|
+
this.custom();
|
|
362
|
+
}
|
|
363
|
+
};
|
|
320
364
|
ItemsDirective.prototype.getTag = function () {
|
|
321
365
|
return 'e-items';
|
|
322
366
|
};
|
|
323
367
|
ItemsDirective = __decorate$2([
|
|
324
368
|
EJComponentDecorator({}, isExecute$2)
|
|
369
|
+
,Options({
|
|
370
|
+
inject: {
|
|
371
|
+
custom: {
|
|
372
|
+
default: null
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
})
|
|
325
376
|
], ItemsDirective);
|
|
326
377
|
return ItemsDirective;
|
|
327
378
|
}(vueImport$1));
|
|
@@ -420,6 +471,7 @@ var ToolbarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
420
471
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
421
472
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
422
473
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
474
|
+
_this.updated = _this.updated;
|
|
423
475
|
return _this;
|
|
424
476
|
}
|
|
425
477
|
ToolbarComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -478,6 +530,9 @@ var ToolbarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
478
530
|
}
|
|
479
531
|
return h('div', slots);
|
|
480
532
|
};
|
|
533
|
+
ToolbarComponent.prototype.custom = function () {
|
|
534
|
+
this.updated();
|
|
535
|
+
};
|
|
481
536
|
ToolbarComponent.prototype.addItems = function (items, index) {
|
|
482
537
|
return this.ej2Instances.addItems(items, index);
|
|
483
538
|
};
|
|
@@ -503,7 +558,12 @@ var ToolbarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
503
558
|
,Options({
|
|
504
559
|
props: props,
|
|
505
560
|
watch: watch,
|
|
506
|
-
emits: emitProbs
|
|
561
|
+
emits: emitProbs,
|
|
562
|
+
provide: function provide() {
|
|
563
|
+
return {
|
|
564
|
+
custom: this.custom
|
|
565
|
+
};
|
|
566
|
+
}
|
|
507
567
|
})
|
|
508
568
|
], ToolbarComponent);
|
|
509
569
|
return ToolbarComponent;
|
|
@@ -572,6 +632,7 @@ var ContextMenuComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
572
632
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
573
633
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
574
634
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
635
|
+
_this.updated = _this.updated;
|
|
575
636
|
return _this;
|
|
576
637
|
}
|
|
577
638
|
ContextMenuComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -630,6 +691,9 @@ var ContextMenuComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
630
691
|
}
|
|
631
692
|
return h('ul', slots);
|
|
632
693
|
};
|
|
694
|
+
ContextMenuComponent.prototype.custom = function () {
|
|
695
|
+
this.updated();
|
|
696
|
+
};
|
|
633
697
|
ContextMenuComponent.prototype.close = function () {
|
|
634
698
|
return this.ej2Instances.close();
|
|
635
699
|
};
|
|
@@ -667,7 +731,12 @@ var ContextMenuComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
667
731
|
,Options({
|
|
668
732
|
props: props,
|
|
669
733
|
watch: watch,
|
|
670
|
-
emits: emitProbs
|
|
734
|
+
emits: emitProbs,
|
|
735
|
+
provide: function provide() {
|
|
736
|
+
return {
|
|
737
|
+
custom: this.custom
|
|
738
|
+
};
|
|
739
|
+
}
|
|
671
740
|
})
|
|
672
741
|
], ContextMenuComponent);
|
|
673
742
|
return ContextMenuComponent;
|
|
@@ -698,6 +767,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
698
767
|
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;
|
|
699
768
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
700
769
|
};
|
|
770
|
+
// {{VueImport}}
|
|
701
771
|
var isExecute$5 = gh ? false : true;
|
|
702
772
|
var vueImport$2;
|
|
703
773
|
if (!isExecute$5 || parseInt(allVue.version) < 3) {
|
|
@@ -709,16 +779,36 @@ else {
|
|
|
709
779
|
var BreadcrumbItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
710
780
|
__extends$5(BreadcrumbItemsDirective, _super);
|
|
711
781
|
function BreadcrumbItemsDirective() {
|
|
712
|
-
return _super
|
|
782
|
+
return _super.call(this, arguments) || this;
|
|
713
783
|
}
|
|
714
|
-
BreadcrumbItemsDirective.prototype.render = function () {
|
|
784
|
+
BreadcrumbItemsDirective.prototype.render = function (createElement) {
|
|
785
|
+
if (gh) {
|
|
786
|
+
var h = gh || createElement;
|
|
787
|
+
var slots = null;
|
|
788
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
789
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
790
|
+
}
|
|
791
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
792
|
+
}
|
|
715
793
|
return;
|
|
716
794
|
};
|
|
795
|
+
BreadcrumbItemsDirective.prototype.updated = function () {
|
|
796
|
+
if (gh && this.custom) {
|
|
797
|
+
this.custom();
|
|
798
|
+
}
|
|
799
|
+
};
|
|
717
800
|
BreadcrumbItemsDirective.prototype.getTag = function () {
|
|
718
801
|
return 'e-breadcrumb-items';
|
|
719
802
|
};
|
|
720
803
|
BreadcrumbItemsDirective = __decorate$5([
|
|
721
804
|
EJComponentDecorator({}, isExecute$5)
|
|
805
|
+
,Options({
|
|
806
|
+
inject: {
|
|
807
|
+
custom: {
|
|
808
|
+
default: null
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
})
|
|
722
812
|
], BreadcrumbItemsDirective);
|
|
723
813
|
return BreadcrumbItemsDirective;
|
|
724
814
|
}(vueImport$2));
|
|
@@ -819,6 +909,7 @@ var BreadcrumbComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
819
909
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
820
910
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
821
911
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
912
|
+
_this.updated = _this.updated;
|
|
822
913
|
return _this;
|
|
823
914
|
}
|
|
824
915
|
BreadcrumbComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -915,6 +1006,9 @@ var BreadcrumbComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
915
1006
|
}
|
|
916
1007
|
return h('nav', slots);
|
|
917
1008
|
};
|
|
1009
|
+
BreadcrumbComponent.prototype.custom = function () {
|
|
1010
|
+
this.updated();
|
|
1011
|
+
};
|
|
918
1012
|
BreadcrumbComponent = __decorate$6([
|
|
919
1013
|
EJComponentDecorator({
|
|
920
1014
|
props: properties$3,
|
|
@@ -925,7 +1019,12 @@ var BreadcrumbComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
925
1019
|
,Options({
|
|
926
1020
|
props: props,
|
|
927
1021
|
watch: watch,
|
|
928
|
-
emits: emitProbs
|
|
1022
|
+
emits: emitProbs,
|
|
1023
|
+
provide: function provide() {
|
|
1024
|
+
return {
|
|
1025
|
+
custom: this.custom
|
|
1026
|
+
};
|
|
1027
|
+
}
|
|
929
1028
|
})
|
|
930
1029
|
], BreadcrumbComponent);
|
|
931
1030
|
return BreadcrumbComponent;
|
|
@@ -958,6 +1057,7 @@ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
958
1057
|
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;
|
|
959
1058
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
960
1059
|
};
|
|
1060
|
+
// {{VueImport}}
|
|
961
1061
|
var isExecute$7 = gh ? false : true;
|
|
962
1062
|
var vueImport$3;
|
|
963
1063
|
if (!isExecute$7 || parseInt(allVue.version) < 3) {
|
|
@@ -969,16 +1069,36 @@ else {
|
|
|
969
1069
|
var TabItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
970
1070
|
__extends$7(TabItemsDirective, _super);
|
|
971
1071
|
function TabItemsDirective() {
|
|
972
|
-
return _super
|
|
1072
|
+
return _super.call(this, arguments) || this;
|
|
973
1073
|
}
|
|
974
|
-
TabItemsDirective.prototype.render = function () {
|
|
1074
|
+
TabItemsDirective.prototype.render = function (createElement) {
|
|
1075
|
+
if (gh) {
|
|
1076
|
+
var h = gh || createElement;
|
|
1077
|
+
var slots = null;
|
|
1078
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1079
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1080
|
+
}
|
|
1081
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
1082
|
+
}
|
|
975
1083
|
return;
|
|
976
1084
|
};
|
|
1085
|
+
TabItemsDirective.prototype.updated = function () {
|
|
1086
|
+
if (gh && this.custom) {
|
|
1087
|
+
this.custom();
|
|
1088
|
+
}
|
|
1089
|
+
};
|
|
977
1090
|
TabItemsDirective.prototype.getTag = function () {
|
|
978
1091
|
return 'e-tabitems';
|
|
979
1092
|
};
|
|
980
1093
|
TabItemsDirective = __decorate$7([
|
|
981
1094
|
EJComponentDecorator({}, isExecute$7)
|
|
1095
|
+
,Options({
|
|
1096
|
+
inject: {
|
|
1097
|
+
custom: {
|
|
1098
|
+
default: null
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
})
|
|
982
1102
|
], TabItemsDirective);
|
|
983
1103
|
return TabItemsDirective;
|
|
984
1104
|
}(vueImport$3));
|
|
@@ -1077,6 +1197,7 @@ var TabComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1077
1197
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
1078
1198
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
1079
1199
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
1200
|
+
_this.updated = _this.updated;
|
|
1080
1201
|
return _this;
|
|
1081
1202
|
}
|
|
1082
1203
|
TabComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -1135,6 +1256,9 @@ var TabComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1135
1256
|
}
|
|
1136
1257
|
return h('div', slots);
|
|
1137
1258
|
};
|
|
1259
|
+
TabComponent.prototype.custom = function () {
|
|
1260
|
+
this.updated();
|
|
1261
|
+
};
|
|
1138
1262
|
TabComponent.prototype.addTab = function (items, index) {
|
|
1139
1263
|
return this.ej2Instances.addTab(items, index);
|
|
1140
1264
|
};
|
|
@@ -1169,7 +1293,12 @@ var TabComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1169
1293
|
,Options({
|
|
1170
1294
|
props: props,
|
|
1171
1295
|
watch: watch,
|
|
1172
|
-
emits: emitProbs
|
|
1296
|
+
emits: emitProbs,
|
|
1297
|
+
provide: function provide() {
|
|
1298
|
+
return {
|
|
1299
|
+
custom: this.custom
|
|
1300
|
+
};
|
|
1301
|
+
}
|
|
1173
1302
|
})
|
|
1174
1303
|
], TabComponent);
|
|
1175
1304
|
return TabComponent;
|
|
@@ -1237,6 +1366,7 @@ var TreeViewComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1237
1366
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
1238
1367
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
1239
1368
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
1369
|
+
_this.updated = _this.updated;
|
|
1240
1370
|
return _this;
|
|
1241
1371
|
}
|
|
1242
1372
|
TreeViewComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -1295,6 +1425,9 @@ var TreeViewComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1295
1425
|
}
|
|
1296
1426
|
return h('div', slots);
|
|
1297
1427
|
};
|
|
1428
|
+
TreeViewComponent.prototype.custom = function () {
|
|
1429
|
+
this.updated();
|
|
1430
|
+
};
|
|
1298
1431
|
TreeViewComponent.prototype.addNodes = function (nodes, target, index, preventTargetExpand) {
|
|
1299
1432
|
return this.ej2Instances.addNodes(nodes, target, index, preventTargetExpand);
|
|
1300
1433
|
};
|
|
@@ -1353,7 +1486,12 @@ var TreeViewComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1353
1486
|
,Options({
|
|
1354
1487
|
props: props,
|
|
1355
1488
|
watch: watch,
|
|
1356
|
-
emits: emitProbs
|
|
1489
|
+
emits: emitProbs,
|
|
1490
|
+
provide: function provide() {
|
|
1491
|
+
return {
|
|
1492
|
+
custom: this.custom
|
|
1493
|
+
};
|
|
1494
|
+
}
|
|
1357
1495
|
})
|
|
1358
1496
|
], TreeViewComponent);
|
|
1359
1497
|
return TreeViewComponent;
|
|
@@ -1421,6 +1559,7 @@ var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1421
1559
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
1422
1560
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
1423
1561
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
1562
|
+
_this.updated = _this.updated;
|
|
1424
1563
|
return _this;
|
|
1425
1564
|
}
|
|
1426
1565
|
SidebarComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -1517,6 +1656,9 @@ var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1517
1656
|
}
|
|
1518
1657
|
return h('div', slots);
|
|
1519
1658
|
};
|
|
1659
|
+
SidebarComponent.prototype.custom = function () {
|
|
1660
|
+
this.updated();
|
|
1661
|
+
};
|
|
1520
1662
|
SidebarComponent.prototype.hide = function (e) {
|
|
1521
1663
|
return this.ej2Instances.hide(e);
|
|
1522
1664
|
};
|
|
@@ -1536,7 +1678,12 @@ var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1536
1678
|
,Options({
|
|
1537
1679
|
props: props,
|
|
1538
1680
|
watch: watch,
|
|
1539
|
-
emits: emitProbs
|
|
1681
|
+
emits: emitProbs,
|
|
1682
|
+
provide: function provide() {
|
|
1683
|
+
return {
|
|
1684
|
+
custom: this.custom
|
|
1685
|
+
};
|
|
1686
|
+
}
|
|
1540
1687
|
})
|
|
1541
1688
|
], SidebarComponent);
|
|
1542
1689
|
return SidebarComponent;
|
|
@@ -1567,6 +1714,7 @@ var __decorate$11 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1567
1714
|
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;
|
|
1568
1715
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1569
1716
|
};
|
|
1717
|
+
// {{VueImport}}
|
|
1570
1718
|
var isExecute$11 = gh ? false : true;
|
|
1571
1719
|
var vueImport$4;
|
|
1572
1720
|
if (!isExecute$11 || parseInt(allVue.version) < 3) {
|
|
@@ -1578,16 +1726,36 @@ else {
|
|
|
1578
1726
|
var MenuItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
1579
1727
|
__extends$11(MenuItemsDirective, _super);
|
|
1580
1728
|
function MenuItemsDirective() {
|
|
1581
|
-
return _super
|
|
1729
|
+
return _super.call(this, arguments) || this;
|
|
1582
1730
|
}
|
|
1583
|
-
MenuItemsDirective.prototype.render = function () {
|
|
1731
|
+
MenuItemsDirective.prototype.render = function (createElement) {
|
|
1732
|
+
if (gh) {
|
|
1733
|
+
var h = gh || createElement;
|
|
1734
|
+
var slots = null;
|
|
1735
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1736
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1737
|
+
}
|
|
1738
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
1739
|
+
}
|
|
1584
1740
|
return;
|
|
1585
1741
|
};
|
|
1742
|
+
MenuItemsDirective.prototype.updated = function () {
|
|
1743
|
+
if (gh && this.custom) {
|
|
1744
|
+
this.custom();
|
|
1745
|
+
}
|
|
1746
|
+
};
|
|
1586
1747
|
MenuItemsDirective.prototype.getTag = function () {
|
|
1587
1748
|
return 'e-menu-items';
|
|
1588
1749
|
};
|
|
1589
1750
|
MenuItemsDirective = __decorate$11([
|
|
1590
1751
|
EJComponentDecorator({}, isExecute$11)
|
|
1752
|
+
,Options({
|
|
1753
|
+
inject: {
|
|
1754
|
+
custom: {
|
|
1755
|
+
default: null
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
})
|
|
1591
1759
|
], MenuItemsDirective);
|
|
1592
1760
|
return MenuItemsDirective;
|
|
1593
1761
|
}(vueImport$4));
|
|
@@ -1674,6 +1842,7 @@ var MenuComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1674
1842
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
1675
1843
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
1676
1844
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
1845
|
+
_this.updated = _this.updated;
|
|
1677
1846
|
return _this;
|
|
1678
1847
|
}
|
|
1679
1848
|
MenuComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -1732,6 +1901,9 @@ var MenuComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1732
1901
|
}
|
|
1733
1902
|
return h('ul', slots);
|
|
1734
1903
|
};
|
|
1904
|
+
MenuComponent.prototype.custom = function () {
|
|
1905
|
+
this.updated();
|
|
1906
|
+
};
|
|
1735
1907
|
MenuComponent.prototype.close = function () {
|
|
1736
1908
|
return this.ej2Instances.close();
|
|
1737
1909
|
};
|
|
@@ -1769,7 +1941,12 @@ var MenuComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1769
1941
|
,Options({
|
|
1770
1942
|
props: props,
|
|
1771
1943
|
watch: watch,
|
|
1772
|
-
emits: emitProbs
|
|
1944
|
+
emits: emitProbs,
|
|
1945
|
+
provide: function provide() {
|
|
1946
|
+
return {
|
|
1947
|
+
custom: this.custom
|
|
1948
|
+
};
|
|
1949
|
+
}
|
|
1773
1950
|
})
|
|
1774
1951
|
], MenuComponent);
|
|
1775
1952
|
return MenuComponent;
|