@syncfusion/ej2-vue-navigations 19.2.62 → 19.3.46
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 +41 -0
- package/README.md +1 -164
- package/breadcrumb.d.ts +4 -0
- package/breadcrumb.js +4 -0
- package/dist/ej2-vue-navigations.umd.min.js +10 -1
- package/dist/es6/ej2-vue-navigations.es2015.js +332 -101
- package/dist/es6/ej2-vue-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-navigations.es5.js +386 -118
- package/dist/es6/ej2-vue-navigations.es5.js.map +1 -1
- package/dist/global/ej2-vue-navigations.min.js +2 -2
- package/package.json +23 -9
- package/src/accordion/accordion.component.d.ts +0 -1
- package/src/accordion/accordion.component.js +6 -6
- package/src/breadcrumb/breadcrumb.component.d.ts +38 -0
- package/src/breadcrumb/breadcrumb.component.js +181 -0
- package/src/breadcrumb/index.d.ts +2 -0
- package/src/breadcrumb/index.js +2 -0
- package/src/breadcrumb/items.directive.d.ts +31 -0
- package/src/breadcrumb/items.directive.js +88 -0
- package/src/context-menu/contextmenu.component.js +2 -1
- package/src/index.d.ts +2 -0
- package/src/index.js +2 -0
- package/src/menu/menu.component.js +2 -1
- package/src/sidebar/sidebar.component.js +6 -3
- package/src/tab/tab.component.js +2 -1
- package/src/toolbar/toolbar.component.js +2 -1
- package/src/treeview/treeview.component.js +2 -1
- package/styles/accordion/bootstrap5-dark.css +428 -0
- package/styles/accordion/bootstrap5-dark.scss +1 -0
- package/styles/accordion/bootstrap5.css +428 -0
- package/styles/accordion/bootstrap5.scss +1 -0
- package/styles/accordion/highcontrast-light.css +0 -1
- package/styles/accordion/highcontrast.css +0 -1
- package/styles/accordion/material-dark.css +2 -2
- package/styles/accordion/tailwind-dark.css +1 -1
- package/styles/bootstrap-dark.css +355 -62
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.css +352 -59
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.css +354 -62
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.css +9926 -0
- package/styles/bootstrap5-dark.scss +10 -0
- package/styles/bootstrap5.css +9926 -0
- package/styles/bootstrap5.scss +10 -0
- package/styles/breadcrumb/bootstrap-dark.css +280 -0
- package/styles/breadcrumb/bootstrap-dark.scss +1 -0
- package/styles/breadcrumb/bootstrap.css +280 -0
- package/styles/breadcrumb/bootstrap.scss +1 -0
- package/styles/breadcrumb/bootstrap4.css +280 -0
- package/styles/breadcrumb/bootstrap4.scss +1 -0
- package/styles/breadcrumb/bootstrap5-dark.css +301 -0
- package/styles/breadcrumb/bootstrap5-dark.scss +1 -0
- package/styles/breadcrumb/bootstrap5.css +301 -0
- package/styles/breadcrumb/bootstrap5.scss +1 -0
- package/styles/breadcrumb/fabric-dark.css +281 -0
- package/styles/breadcrumb/fabric-dark.scss +1 -0
- package/styles/breadcrumb/fabric.css +281 -0
- package/styles/breadcrumb/fabric.scss +1 -0
- package/styles/breadcrumb/highcontrast-light.css +289 -0
- package/styles/breadcrumb/highcontrast-light.scss +1 -0
- package/styles/breadcrumb/highcontrast.css +289 -0
- package/styles/breadcrumb/highcontrast.scss +1 -0
- package/styles/breadcrumb/material-dark.css +263 -0
- package/styles/breadcrumb/material-dark.scss +1 -0
- package/styles/breadcrumb/material.css +263 -0
- package/styles/breadcrumb/material.scss +1 -0
- package/styles/breadcrumb/tailwind-dark.css +284 -0
- package/styles/breadcrumb/tailwind-dark.scss +1 -0
- package/styles/breadcrumb/tailwind.css +284 -0
- package/styles/breadcrumb/tailwind.scss +1 -0
- package/styles/context-menu/bootstrap5-dark.css +382 -0
- package/styles/context-menu/bootstrap5-dark.scss +1 -0
- package/styles/context-menu/bootstrap5.css +382 -0
- package/styles/context-menu/bootstrap5.scss +1 -0
- package/styles/fabric-dark.css +356 -78
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.css +350 -72
- package/styles/fabric.scss +1 -0
- package/styles/h-scroll/bootstrap5-dark.css +328 -0
- package/styles/h-scroll/bootstrap5-dark.scss +1 -0
- package/styles/h-scroll/bootstrap5.css +328 -0
- package/styles/h-scroll/bootstrap5.scss +1 -0
- package/styles/h-scroll/fabric-dark.css +1 -1
- package/styles/h-scroll/highcontrast.css +1 -1
- package/styles/highcontrast-light.css +358 -73
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.css +360 -75
- package/styles/highcontrast.scss +1 -0
- package/styles/material-dark.css +364 -105
- package/styles/material-dark.scss +1 -0
- package/styles/material.css +328 -69
- package/styles/material.scss +1 -0
- package/styles/menu/bootstrap-dark.css +36 -36
- package/styles/menu/bootstrap.css +36 -36
- package/styles/menu/bootstrap4.css +34 -34
- package/styles/menu/bootstrap5-dark.css +1251 -0
- package/styles/menu/bootstrap5-dark.scss +1 -0
- package/styles/menu/bootstrap5.css +1251 -0
- package/styles/menu/bootstrap5.scss +1 -0
- package/styles/menu/fabric-dark.css +36 -36
- package/styles/menu/fabric.css +36 -36
- package/styles/menu/highcontrast-light.css +36 -36
- package/styles/menu/highcontrast.css +36 -36
- package/styles/menu/material-dark.css +36 -36
- package/styles/menu/material.css +36 -36
- package/styles/menu/tailwind-dark.css +36 -36
- package/styles/menu/tailwind.css +36 -36
- package/styles/sidebar/bootstrap5-dark.css +155 -0
- package/styles/sidebar/bootstrap5-dark.scss +1 -0
- package/styles/sidebar/bootstrap5.css +155 -0
- package/styles/sidebar/bootstrap5.scss +1 -0
- package/styles/sidebar/highcontrast.css +1 -1
- package/styles/tab/bootstrap-dark.css +17 -16
- package/styles/tab/bootstrap.css +14 -13
- package/styles/tab/bootstrap4.css +17 -16
- package/styles/tab/bootstrap5-dark.css +4442 -0
- package/styles/tab/bootstrap5-dark.scss +1 -0
- package/styles/tab/bootstrap5.css +4442 -0
- package/styles/tab/bootstrap5.scss +1 -0
- package/styles/tab/fabric-dark.css +16 -15
- package/styles/tab/fabric.css +14 -13
- package/styles/tab/highcontrast-light.css +14 -13
- package/styles/tab/highcontrast.css +14 -13
- package/styles/tab/material-dark.css +36 -35
- package/styles/tab/material.css +11 -10
- package/styles/tab/tailwind-dark.css +27 -39
- package/styles/tab/tailwind.css +22 -34
- package/styles/tailwind-dark.css +383 -111
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.css +368 -96
- package/styles/tailwind.scss +1 -0
- package/styles/toolbar/bootstrap-dark.css +13 -10
- package/styles/toolbar/bootstrap.css +13 -10
- package/styles/toolbar/bootstrap4.css +14 -12
- package/styles/toolbar/bootstrap5-dark.css +1409 -0
- package/styles/toolbar/bootstrap5-dark.scss +1 -0
- package/styles/toolbar/bootstrap5.css +1409 -0
- package/styles/toolbar/bootstrap5.scss +1 -0
- package/styles/toolbar/fabric-dark.css +13 -26
- package/styles/toolbar/fabric.css +10 -23
- package/styles/toolbar/highcontrast-light.css +10 -23
- package/styles/toolbar/highcontrast.css +10 -23
- package/styles/toolbar/material-dark.css +11 -24
- package/styles/toolbar/material.css +10 -23
- package/styles/toolbar/tailwind-dark.css +20 -29
- package/styles/toolbar/tailwind.css +16 -25
- package/styles/treeview/bootstrap-dark.css +8 -0
- package/styles/treeview/bootstrap.css +8 -0
- package/styles/treeview/bootstrap4.css +8 -0
- package/styles/treeview/bootstrap5-dark.css +974 -0
- package/styles/treeview/bootstrap5-dark.scss +1 -0
- package/styles/treeview/bootstrap5.css +974 -0
- package/styles/treeview/bootstrap5.scss +1 -0
- package/styles/treeview/fabric-dark.css +8 -0
- package/styles/treeview/fabric.css +8 -0
- package/styles/treeview/highcontrast-light.css +8 -0
- package/styles/treeview/highcontrast.css +8 -0
- package/styles/treeview/material-dark.css +15 -7
- package/styles/treeview/material.css +8 -0
- package/styles/treeview/tailwind-dark.css +10 -2
- package/styles/treeview/tailwind.css +9 -1
- package/styles/v-scroll/bootstrap5-dark.css +247 -0
- package/styles/v-scroll/bootstrap5-dark.scss +1 -0
- package/styles/v-scroll/bootstrap5.css +247 -0
- package/styles/v-scroll/bootstrap5.scss +1 -0
- package/styles/v-scroll/material-dark.css +1 -1
- package/styles/v-scroll/tailwind-dark.css +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Accordion, ContextMenu, Menu, Sidebar, Tab, Toolbar, TreeView } from '@syncfusion/ej2-navigations';
|
|
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
4
|
import Vue$1 from 'vue';
|
|
@@ -72,7 +72,7 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
72
72
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
73
73
|
};
|
|
74
74
|
// {{VueImport}}
|
|
75
|
-
const properties = ['animation', 'dataSource', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'expandMode', 'expandedIndices', 'headerTemplate', 'height', 'itemTemplate', 'items', 'locale', 'width', 'clicked', 'created', 'destroyed', 'expanded', 'expanding'];
|
|
75
|
+
const properties = ['islazyUpdate', 'animation', 'dataSource', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'expandMode', 'expandedIndices', 'headerTemplate', 'height', 'itemTemplate', 'items', 'locale', 'width', 'clicked', 'created', 'destroyed', 'expanded', 'expanding'];
|
|
76
76
|
const modelProps = ['expandedIndices'];
|
|
77
77
|
const testProp = getProps({ props: properties });
|
|
78
78
|
const props = testProp[0];
|
|
@@ -151,6 +151,7 @@ class AccordionComponent extends ComponentBase {
|
|
|
151
151
|
}
|
|
152
152
|
else {
|
|
153
153
|
this.$emit('update:' + key, prop[key]);
|
|
154
|
+
this.$emit('modelchanged', prop[key]);
|
|
154
155
|
}
|
|
155
156
|
}
|
|
156
157
|
});
|
|
@@ -170,8 +171,10 @@ class AccordionComponent extends ComponentBase {
|
|
|
170
171
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
171
172
|
}
|
|
172
173
|
else {
|
|
173
|
-
|
|
174
|
-
|
|
174
|
+
if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
|
|
175
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
176
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
177
|
+
}
|
|
175
178
|
}
|
|
176
179
|
}
|
|
177
180
|
}
|
|
@@ -213,9 +216,6 @@ class AccordionComponent extends ComponentBase {
|
|
|
213
216
|
hideItem(index, isHidden) {
|
|
214
217
|
return this.ej2Instances.hideItem(index, isHidden);
|
|
215
218
|
}
|
|
216
|
-
refresh() {
|
|
217
|
-
return this.ej2Instances.refresh();
|
|
218
|
-
}
|
|
219
219
|
removeItem(index) {
|
|
220
220
|
return this.ej2Instances.removeItem(index);
|
|
221
221
|
}
|
|
@@ -313,7 +313,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
313
313
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
314
314
|
};
|
|
315
315
|
// {{VueImport}}
|
|
316
|
-
const properties$1 = ['allowKeyboard', 'cssClass', 'enableCollision', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'height', 'items', 'locale', 'overflowMode', 'scrollStep', 'width', 'beforeCreate', 'clicked', 'created', 'destroyed'];
|
|
316
|
+
const properties$1 = ['islazyUpdate', 'allowKeyboard', 'cssClass', 'enableCollision', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'height', 'items', 'locale', 'overflowMode', 'scrollStep', 'width', 'beforeCreate', 'clicked', 'created', 'destroyed'];
|
|
317
317
|
const modelProps$1 = [];
|
|
318
318
|
const testProp$1 = getProps({ props: properties$1 });
|
|
319
319
|
const props$1 = testProp$1[0];
|
|
@@ -390,6 +390,7 @@ class ToolbarComponent extends ComponentBase {
|
|
|
390
390
|
}
|
|
391
391
|
else {
|
|
392
392
|
this.$emit('update:' + key, prop[key]);
|
|
393
|
+
this.$emit('modelchanged', prop[key]);
|
|
393
394
|
}
|
|
394
395
|
}
|
|
395
396
|
});
|
|
@@ -449,7 +450,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
449
450
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
450
451
|
};
|
|
451
452
|
// {{VueImport}}
|
|
452
|
-
const properties$2 = ['animationSettings', 'cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableScrolling', 'fields', 'filter', 'hoverDelay', 'items', 'locale', 'showItemOnClick', 'target', 'template', 'beforeClose', 'beforeItemRender', 'beforeOpen', 'created', 'onClose', 'onOpen', 'select'];
|
|
453
|
+
const properties$2 = ['islazyUpdate', 'animationSettings', 'cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableScrolling', 'fields', 'filter', 'hoverDelay', 'items', 'locale', 'showItemOnClick', 'target', 'template', 'beforeClose', 'beforeItemRender', 'beforeOpen', 'created', 'onClose', 'onOpen', 'select'];
|
|
453
454
|
const modelProps$2 = [];
|
|
454
455
|
const testProp$2 = getProps({ props: properties$2 });
|
|
455
456
|
const props$2 = testProp$2[0];
|
|
@@ -527,6 +528,7 @@ class ContextMenuComponent extends ComponentBase {
|
|
|
527
528
|
}
|
|
528
529
|
else {
|
|
529
530
|
this.$emit('update:' + key, prop[key]);
|
|
531
|
+
this.$emit('modelchanged', prop[key]);
|
|
530
532
|
}
|
|
531
533
|
}
|
|
532
534
|
});
|
|
@@ -603,16 +605,239 @@ if (!isExecute$5 || parseInt(allVue.version) < 3) {
|
|
|
603
605
|
else {
|
|
604
606
|
vueImport$2 = Vue$1;
|
|
605
607
|
}
|
|
606
|
-
let
|
|
608
|
+
let BreadcrumbItemsDirective = class BreadcrumbItemsDirective extends vueImport$2 {
|
|
607
609
|
render() {
|
|
608
610
|
return;
|
|
609
611
|
}
|
|
610
612
|
getTag() {
|
|
611
|
-
return 'e-
|
|
613
|
+
return 'e-breadcrumb-items';
|
|
614
|
+
}
|
|
615
|
+
};
|
|
616
|
+
BreadcrumbItemsDirective = __decorate$5([
|
|
617
|
+
EJComponentDecorator({}, isExecute$5)
|
|
618
|
+
], BreadcrumbItemsDirective);
|
|
619
|
+
const BreadcrumbItemsPlugin = {
|
|
620
|
+
name: 'e-breadcrumb-items',
|
|
621
|
+
install(Vue$$1) {
|
|
622
|
+
Vue$$1.component(BreadcrumbItemsPlugin.name, BreadcrumbItemsDirective);
|
|
623
|
+
}
|
|
624
|
+
};
|
|
625
|
+
/**
|
|
626
|
+
* `e-breadcrumb-item` directive represent a item of the Vue Breadcrumb.
|
|
627
|
+
* It must be contained in a Breadcrumb component(`ejs-breadcrumb`).
|
|
628
|
+
* ```html
|
|
629
|
+
* <ejs-breadcrumb>
|
|
630
|
+
* <e-breadcrumb-items>
|
|
631
|
+
* <e-breadcrumb-item text='Home' url='/'></e-breadcrumb-item>
|
|
632
|
+
* <e-breadcrumb-item text='Index' url='./index'></e-breadcrumb-item>
|
|
633
|
+
* </e-breadcrumb-items>
|
|
634
|
+
* </ejs-breadcrumb>
|
|
635
|
+
* ```
|
|
636
|
+
*/
|
|
637
|
+
let BreadcrumbItemDirective = class BreadcrumbItemDirective extends vueImport$2 {
|
|
638
|
+
render() {
|
|
639
|
+
return;
|
|
640
|
+
}
|
|
641
|
+
getTag() {
|
|
642
|
+
return 'e-breadcrumb-item';
|
|
612
643
|
}
|
|
613
644
|
};
|
|
614
|
-
|
|
645
|
+
BreadcrumbItemDirective = __decorate$5([
|
|
615
646
|
EJComponentDecorator({}, isExecute$5)
|
|
647
|
+
], BreadcrumbItemDirective);
|
|
648
|
+
const BreadcrumbItemPlugin = {
|
|
649
|
+
name: 'e-breadcrumb-item',
|
|
650
|
+
install(Vue$$1) {
|
|
651
|
+
Vue$$1.component(BreadcrumbItemPlugin.name, BreadcrumbItemDirective);
|
|
652
|
+
}
|
|
653
|
+
};
|
|
654
|
+
|
|
655
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
656
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
657
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
658
|
+
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;
|
|
659
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
660
|
+
};
|
|
661
|
+
// {{VueImport}}
|
|
662
|
+
const properties$3 = ['islazyUpdate', 'activeItem', 'cssClass', 'enableActiveItemNavigation', 'enableNavigation', 'enablePersistence', 'enableRtl', 'itemTemplate', 'items', 'locale', 'maxItems', 'overflowMode', 'separatorTemplate', 'url', 'width', 'beforeItemRender', 'created', 'itemClick'];
|
|
663
|
+
const modelProps$3 = ['activeItem'];
|
|
664
|
+
const testProp$3 = getProps({ props: properties$3 });
|
|
665
|
+
const props$3 = testProp$3[0];
|
|
666
|
+
const watch$3 = testProp$3[1];
|
|
667
|
+
const emitProbs$3 = Object.keys(watch$3);
|
|
668
|
+
emitProbs$3.push('modelchanged');
|
|
669
|
+
for (let props of modelProps$3) {
|
|
670
|
+
emitProbs$3.push('update:' + props);
|
|
671
|
+
}
|
|
672
|
+
const isExecute$6 = gh ? false : true;
|
|
673
|
+
/**
|
|
674
|
+
* Represents the VueJS Breadcrumb Component.
|
|
675
|
+
* ```html
|
|
676
|
+
* <ejs-breadcrumb :items='breadcrumbItems'></ejs-breadcrumb>
|
|
677
|
+
* ```
|
|
678
|
+
*/
|
|
679
|
+
let BreadcrumbComponent =
|
|
680
|
+
/* Start Options({
|
|
681
|
+
props: props,
|
|
682
|
+
watch: watch,
|
|
683
|
+
emits: emitProbs
|
|
684
|
+
}) End */
|
|
685
|
+
class BreadcrumbComponent extends ComponentBase {
|
|
686
|
+
constructor() {
|
|
687
|
+
super(arguments);
|
|
688
|
+
this.propKeys = properties$3;
|
|
689
|
+
this.models = modelProps$3;
|
|
690
|
+
this.hasChildDirective = true;
|
|
691
|
+
this.hasInjectedModules = false;
|
|
692
|
+
this.tagMapper = { "e-breadcrumb-items": "e-breadcrumb-item" };
|
|
693
|
+
this.tagNameMapper = { "e-breadcrumb-items": "e-items" };
|
|
694
|
+
this.isVue3 = !isExecute$6;
|
|
695
|
+
this.ej2Instances = new Breadcrumb({});
|
|
696
|
+
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
697
|
+
this.ej2Instances.trigger = this.trigger;
|
|
698
|
+
this.bindProperties();
|
|
699
|
+
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
700
|
+
this.ej2Instances.setProperties = this.setProperties;
|
|
701
|
+
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
702
|
+
}
|
|
703
|
+
clearTemplate(templateNames) {
|
|
704
|
+
if (!templateNames) {
|
|
705
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
706
|
+
}
|
|
707
|
+
if (templateNames.length && this.templateCollection) {
|
|
708
|
+
for (let tempName of templateNames) {
|
|
709
|
+
let elementCollection = this.templateCollection[tempName];
|
|
710
|
+
if (elementCollection && elementCollection.length) {
|
|
711
|
+
for (let ele of elementCollection) {
|
|
712
|
+
let destroy = getValue('__vue__.$destroy', ele);
|
|
713
|
+
if (destroy) {
|
|
714
|
+
ele.__vue__.$destroy();
|
|
715
|
+
}
|
|
716
|
+
if (ele.innerHTML) {
|
|
717
|
+
ele.innerHTML = '';
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
delete this.templateCollection[tempName];
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
setProperties(prop, muteOnChange) {
|
|
726
|
+
if (this.isVue3) {
|
|
727
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
728
|
+
}
|
|
729
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
730
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
731
|
+
}
|
|
732
|
+
if (prop && this.models && this.models.length) {
|
|
733
|
+
Object.keys(prop).map((key) => {
|
|
734
|
+
this.models.map((model) => {
|
|
735
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
736
|
+
if (this.isVue3) {
|
|
737
|
+
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
738
|
+
}
|
|
739
|
+
else {
|
|
740
|
+
this.$emit('update:' + key, prop[key]);
|
|
741
|
+
this.$emit('modelchanged', prop[key]);
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
});
|
|
745
|
+
});
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
trigger(eventName, eventProp, successHandler) {
|
|
749
|
+
if (!isExecute$6) {
|
|
750
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
751
|
+
}
|
|
752
|
+
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
753
|
+
let key = this.models.toString().match(/checked|value/) || [];
|
|
754
|
+
let propKey = key[0];
|
|
755
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
756
|
+
if (!isExecute$6) {
|
|
757
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
758
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
759
|
+
}
|
|
760
|
+
else {
|
|
761
|
+
if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
|
|
762
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
763
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
769
|
+
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
770
|
+
let propKey = key[0];
|
|
771
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
772
|
+
if (!isExecute$6) {
|
|
773
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
774
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
775
|
+
}
|
|
776
|
+
else {
|
|
777
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
778
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
783
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
render(createElement) {
|
|
787
|
+
let h = gh || createElement;
|
|
788
|
+
let slots = null;
|
|
789
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
790
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
791
|
+
}
|
|
792
|
+
return h('nav', slots);
|
|
793
|
+
}
|
|
794
|
+
};
|
|
795
|
+
BreadcrumbComponent = __decorate$6([
|
|
796
|
+
EJComponentDecorator({
|
|
797
|
+
props: properties$3,
|
|
798
|
+
model: {
|
|
799
|
+
event: 'modelchanged'
|
|
800
|
+
}
|
|
801
|
+
}, isExecute$6)
|
|
802
|
+
/* Start Options({
|
|
803
|
+
props: props,
|
|
804
|
+
watch: watch,
|
|
805
|
+
emits: emitProbs
|
|
806
|
+
}) End */
|
|
807
|
+
], BreadcrumbComponent);
|
|
808
|
+
const BreadcrumbPlugin = {
|
|
809
|
+
name: 'ejs-breadcrumb',
|
|
810
|
+
install(Vue$$1) {
|
|
811
|
+
Vue$$1.component(BreadcrumbPlugin.name, BreadcrumbComponent);
|
|
812
|
+
Vue$$1.component(BreadcrumbItemPlugin.name, BreadcrumbItemDirective);
|
|
813
|
+
Vue$$1.component(BreadcrumbItemsPlugin.name, BreadcrumbItemsDirective);
|
|
814
|
+
}
|
|
815
|
+
};
|
|
816
|
+
|
|
817
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
818
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
819
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
820
|
+
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
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
822
|
+
};
|
|
823
|
+
const isExecute$7 = gh ? false : true;
|
|
824
|
+
let vueImport$3;
|
|
825
|
+
if (!isExecute$7 || parseInt(allVue.version) < 3) {
|
|
826
|
+
vueImport$3 = Vue;
|
|
827
|
+
}
|
|
828
|
+
else {
|
|
829
|
+
vueImport$3 = Vue$1;
|
|
830
|
+
}
|
|
831
|
+
let TabItemsDirective = class TabItemsDirective extends vueImport$3 {
|
|
832
|
+
render() {
|
|
833
|
+
return;
|
|
834
|
+
}
|
|
835
|
+
getTag() {
|
|
836
|
+
return 'e-tabitems';
|
|
837
|
+
}
|
|
838
|
+
};
|
|
839
|
+
TabItemsDirective = __decorate$7([
|
|
840
|
+
EJComponentDecorator({}, isExecute$7)
|
|
616
841
|
], TabItemsDirective);
|
|
617
842
|
const TabItemsPlugin = {
|
|
618
843
|
name: 'e-tabitems',
|
|
@@ -632,7 +857,7 @@ const TabItemsPlugin = {
|
|
|
632
857
|
* </ejs-tab>
|
|
633
858
|
* ```
|
|
634
859
|
*/
|
|
635
|
-
let TabItemDirective = class TabItemDirective extends vueImport$
|
|
860
|
+
let TabItemDirective = class TabItemDirective extends vueImport$3 {
|
|
636
861
|
render() {
|
|
637
862
|
return;
|
|
638
863
|
}
|
|
@@ -640,8 +865,8 @@ let TabItemDirective = class TabItemDirective extends vueImport$2 {
|
|
|
640
865
|
return 'e-tabitem';
|
|
641
866
|
}
|
|
642
867
|
};
|
|
643
|
-
TabItemDirective = __decorate$
|
|
644
|
-
EJComponentDecorator({}, isExecute$
|
|
868
|
+
TabItemDirective = __decorate$7([
|
|
869
|
+
EJComponentDecorator({}, isExecute$7)
|
|
645
870
|
], TabItemDirective);
|
|
646
871
|
const TabItemPlugin = {
|
|
647
872
|
name: 'e-tabitem',
|
|
@@ -650,24 +875,24 @@ const TabItemPlugin = {
|
|
|
650
875
|
}
|
|
651
876
|
};
|
|
652
877
|
|
|
653
|
-
var __decorate$
|
|
878
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
654
879
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
655
880
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
656
881
|
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;
|
|
657
882
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
658
883
|
};
|
|
659
884
|
// {{VueImport}}
|
|
660
|
-
const properties$
|
|
661
|
-
const modelProps$
|
|
662
|
-
const testProp$
|
|
663
|
-
const props$
|
|
664
|
-
const watch$
|
|
665
|
-
const emitProbs$
|
|
666
|
-
emitProbs$
|
|
667
|
-
for (let props of modelProps$
|
|
668
|
-
emitProbs$
|
|
885
|
+
const properties$4 = ['islazyUpdate', 'allowDragAndDrop', 'animation', 'cssClass', 'dragArea', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'headerPlacement', 'height', 'heightAdjustMode', 'items', 'loadOn', 'locale', 'overflowMode', 'scrollStep', 'selectedItem', 'showCloseButton', 'width', 'added', 'adding', 'created', 'destroyed', 'dragged', 'dragging', 'onDragStart', 'removed', 'removing', 'selected', 'selecting'];
|
|
886
|
+
const modelProps$4 = [];
|
|
887
|
+
const testProp$4 = getProps({ props: properties$4 });
|
|
888
|
+
const props$4 = testProp$4[0];
|
|
889
|
+
const watch$4 = testProp$4[1];
|
|
890
|
+
const emitProbs$4 = Object.keys(watch$4);
|
|
891
|
+
emitProbs$4.push('modelchanged');
|
|
892
|
+
for (let props of modelProps$4) {
|
|
893
|
+
emitProbs$4.push('update:' + props);
|
|
669
894
|
}
|
|
670
|
-
const isExecute$
|
|
895
|
+
const isExecute$8 = gh ? false : true;
|
|
671
896
|
/**
|
|
672
897
|
* Represents the VueJS Tab Component.
|
|
673
898
|
* ```html
|
|
@@ -683,13 +908,13 @@ let TabComponent =
|
|
|
683
908
|
class TabComponent extends ComponentBase {
|
|
684
909
|
constructor() {
|
|
685
910
|
super(arguments);
|
|
686
|
-
this.propKeys = properties$
|
|
687
|
-
this.models = modelProps$
|
|
911
|
+
this.propKeys = properties$4;
|
|
912
|
+
this.models = modelProps$4;
|
|
688
913
|
this.hasChildDirective = true;
|
|
689
914
|
this.hasInjectedModules = false;
|
|
690
915
|
this.tagMapper = { "e-tabitems": "e-tabitem" };
|
|
691
916
|
this.tagNameMapper = { "e-tabitems": "e-items" };
|
|
692
|
-
this.isVue3 = !isExecute$
|
|
917
|
+
this.isVue3 = !isExecute$8;
|
|
693
918
|
this.ej2Instances = new Tab({});
|
|
694
919
|
this.bindProperties();
|
|
695
920
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -734,6 +959,7 @@ class TabComponent extends ComponentBase {
|
|
|
734
959
|
}
|
|
735
960
|
else {
|
|
736
961
|
this.$emit('update:' + key, prop[key]);
|
|
962
|
+
this.$emit('modelchanged', prop[key]);
|
|
737
963
|
}
|
|
738
964
|
}
|
|
739
965
|
});
|
|
@@ -776,10 +1002,10 @@ class TabComponent extends ComponentBase {
|
|
|
776
1002
|
return this.ej2Instances.select(args, event);
|
|
777
1003
|
}
|
|
778
1004
|
};
|
|
779
|
-
TabComponent = __decorate$
|
|
1005
|
+
TabComponent = __decorate$8([
|
|
780
1006
|
EJComponentDecorator({
|
|
781
|
-
props: properties$
|
|
782
|
-
}, isExecute$
|
|
1007
|
+
props: properties$4
|
|
1008
|
+
}, isExecute$8)
|
|
783
1009
|
/* Start Options({
|
|
784
1010
|
props: props,
|
|
785
1011
|
watch: watch,
|
|
@@ -795,24 +1021,24 @@ const TabPlugin = {
|
|
|
795
1021
|
}
|
|
796
1022
|
};
|
|
797
1023
|
|
|
798
|
-
var __decorate$
|
|
1024
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
799
1025
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
800
1026
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
801
1027
|
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;
|
|
802
1028
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
803
1029
|
};
|
|
804
1030
|
// {{VueImport}}
|
|
805
|
-
const properties$
|
|
806
|
-
const modelProps$
|
|
807
|
-
const testProp$
|
|
808
|
-
const props$
|
|
809
|
-
const watch$
|
|
810
|
-
const emitProbs$
|
|
811
|
-
emitProbs$
|
|
812
|
-
for (let props of modelProps$
|
|
813
|
-
emitProbs$
|
|
1031
|
+
const properties$5 = ['islazyUpdate', 'allowDragAndDrop', 'allowEditing', 'allowMultiSelection', 'animation', 'autoCheck', 'checkedNodes', 'cssClass', 'disabled', 'dragArea', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'expandOn', 'expandedNodes', 'fields', 'fullRowNavigable', 'fullRowSelect', 'loadOnDemand', 'locale', 'nodeTemplate', 'selectedNodes', 'showCheckBox', 'sortOrder', 'actionFailure', 'created', 'dataBound', 'dataSourceChanged', 'destroyed', 'drawNode', 'keyPress', 'nodeChecked', 'nodeChecking', 'nodeClicked', 'nodeCollapsed', 'nodeCollapsing', 'nodeDragStart', 'nodeDragStop', 'nodeDragging', 'nodeDropped', 'nodeEdited', 'nodeEditing', 'nodeExpanded', 'nodeExpanding', 'nodeSelected', 'nodeSelecting'];
|
|
1032
|
+
const modelProps$5 = [];
|
|
1033
|
+
const testProp$5 = getProps({ props: properties$5 });
|
|
1034
|
+
const props$5 = testProp$5[0];
|
|
1035
|
+
const watch$5 = testProp$5[1];
|
|
1036
|
+
const emitProbs$5 = Object.keys(watch$5);
|
|
1037
|
+
emitProbs$5.push('modelchanged');
|
|
1038
|
+
for (let props of modelProps$5) {
|
|
1039
|
+
emitProbs$5.push('update:' + props);
|
|
814
1040
|
}
|
|
815
|
-
const isExecute$
|
|
1041
|
+
const isExecute$9 = gh ? false : true;
|
|
816
1042
|
/**
|
|
817
1043
|
* Represents the EJ2 VueJS TreeView Component.
|
|
818
1044
|
* ```html
|
|
@@ -828,13 +1054,13 @@ let TreeViewComponent =
|
|
|
828
1054
|
class TreeViewComponent extends ComponentBase {
|
|
829
1055
|
constructor() {
|
|
830
1056
|
super(arguments);
|
|
831
|
-
this.propKeys = properties$
|
|
832
|
-
this.models = modelProps$
|
|
1057
|
+
this.propKeys = properties$5;
|
|
1058
|
+
this.models = modelProps$5;
|
|
833
1059
|
this.hasChildDirective = false;
|
|
834
1060
|
this.hasInjectedModules = false;
|
|
835
1061
|
this.tagMapper = {};
|
|
836
1062
|
this.tagNameMapper = {};
|
|
837
|
-
this.isVue3 = !isExecute$
|
|
1063
|
+
this.isVue3 = !isExecute$9;
|
|
838
1064
|
this.ej2Instances = new TreeView({});
|
|
839
1065
|
this.bindProperties();
|
|
840
1066
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -879,6 +1105,7 @@ class TreeViewComponent extends ComponentBase {
|
|
|
879
1105
|
}
|
|
880
1106
|
else {
|
|
881
1107
|
this.$emit('update:' + key, prop[key]);
|
|
1108
|
+
this.$emit('modelchanged', prop[key]);
|
|
882
1109
|
}
|
|
883
1110
|
}
|
|
884
1111
|
});
|
|
@@ -945,10 +1172,10 @@ class TreeViewComponent extends ComponentBase {
|
|
|
945
1172
|
return this.ej2Instances.updateNode(target, newText);
|
|
946
1173
|
}
|
|
947
1174
|
};
|
|
948
|
-
TreeViewComponent = __decorate$
|
|
1175
|
+
TreeViewComponent = __decorate$9([
|
|
949
1176
|
EJComponentDecorator({
|
|
950
|
-
props: properties$
|
|
951
|
-
}, isExecute$
|
|
1177
|
+
props: properties$5
|
|
1178
|
+
}, isExecute$9)
|
|
952
1179
|
/* Start Options({
|
|
953
1180
|
props: props,
|
|
954
1181
|
watch: watch,
|
|
@@ -962,24 +1189,24 @@ const TreeViewPlugin = {
|
|
|
962
1189
|
}
|
|
963
1190
|
};
|
|
964
1191
|
|
|
965
|
-
var __decorate$
|
|
1192
|
+
var __decorate$10 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
966
1193
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
967
1194
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
968
1195
|
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;
|
|
969
1196
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
970
1197
|
};
|
|
971
1198
|
// {{VueImport}}
|
|
972
|
-
const properties$
|
|
973
|
-
const modelProps$
|
|
974
|
-
const testProp$
|
|
975
|
-
const props$
|
|
976
|
-
const watch$
|
|
977
|
-
const emitProbs$
|
|
978
|
-
emitProbs$
|
|
979
|
-
for (let props of modelProps$
|
|
980
|
-
emitProbs$
|
|
1199
|
+
const properties$6 = ['islazyUpdate', 'animate', 'closeOnDocumentClick', 'dockSize', 'enableDock', 'enableGestures', 'enablePersistence', 'enableRtl', 'height', 'isOpen', 'locale', 'mediaQuery', 'position', 'showBackdrop', 'target', 'type', 'width', 'zIndex', 'change', 'close', 'created', 'destroyed', 'open'];
|
|
1200
|
+
const modelProps$6 = ['isOpen'];
|
|
1201
|
+
const testProp$6 = getProps({ props: properties$6 });
|
|
1202
|
+
const props$6 = testProp$6[0];
|
|
1203
|
+
const watch$6 = testProp$6[1];
|
|
1204
|
+
const emitProbs$6 = Object.keys(watch$6);
|
|
1205
|
+
emitProbs$6.push('modelchanged');
|
|
1206
|
+
for (let props of modelProps$6) {
|
|
1207
|
+
emitProbs$6.push('update:' + props);
|
|
981
1208
|
}
|
|
982
|
-
const isExecute$
|
|
1209
|
+
const isExecute$10 = gh ? false : true;
|
|
983
1210
|
/**
|
|
984
1211
|
* Represents the Essential JS 2 VueJS Sidebar Component.
|
|
985
1212
|
* ```html
|
|
@@ -995,13 +1222,13 @@ let SidebarComponent =
|
|
|
995
1222
|
class SidebarComponent extends ComponentBase {
|
|
996
1223
|
constructor() {
|
|
997
1224
|
super(arguments);
|
|
998
|
-
this.propKeys = properties$
|
|
999
|
-
this.models = modelProps$
|
|
1225
|
+
this.propKeys = properties$6;
|
|
1226
|
+
this.models = modelProps$6;
|
|
1000
1227
|
this.hasChildDirective = false;
|
|
1001
1228
|
this.hasInjectedModules = false;
|
|
1002
1229
|
this.tagMapper = {};
|
|
1003
1230
|
this.tagNameMapper = {};
|
|
1004
|
-
this.isVue3 = !isExecute$
|
|
1231
|
+
this.isVue3 = !isExecute$10;
|
|
1005
1232
|
this.ej2Instances = new Sidebar({});
|
|
1006
1233
|
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
1007
1234
|
this.ej2Instances.trigger = this.trigger;
|
|
@@ -1048,6 +1275,7 @@ class SidebarComponent extends ComponentBase {
|
|
|
1048
1275
|
}
|
|
1049
1276
|
else {
|
|
1050
1277
|
this.$emit('update:' + key, prop[key]);
|
|
1278
|
+
this.$emit('modelchanged', prop[key]);
|
|
1051
1279
|
}
|
|
1052
1280
|
}
|
|
1053
1281
|
});
|
|
@@ -1055,20 +1283,22 @@ class SidebarComponent extends ComponentBase {
|
|
|
1055
1283
|
}
|
|
1056
1284
|
}
|
|
1057
1285
|
trigger(eventName, eventProp, successHandler) {
|
|
1058
|
-
if (!isExecute$
|
|
1286
|
+
if (!isExecute$10) {
|
|
1059
1287
|
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1060
1288
|
}
|
|
1061
1289
|
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1062
1290
|
let key = this.models.toString().match(/checked|value/) || [];
|
|
1063
1291
|
let propKey = key[0];
|
|
1064
1292
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1065
|
-
if (!isExecute$
|
|
1293
|
+
if (!isExecute$10) {
|
|
1066
1294
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1067
1295
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1068
1296
|
}
|
|
1069
1297
|
else {
|
|
1070
|
-
|
|
1071
|
-
|
|
1298
|
+
if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
|
|
1299
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1300
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
1301
|
+
}
|
|
1072
1302
|
}
|
|
1073
1303
|
}
|
|
1074
1304
|
}
|
|
@@ -1076,7 +1306,7 @@ class SidebarComponent extends ComponentBase {
|
|
|
1076
1306
|
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1077
1307
|
let propKey = key[0];
|
|
1078
1308
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1079
|
-
if (!isExecute$
|
|
1309
|
+
if (!isExecute$10) {
|
|
1080
1310
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1081
1311
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1082
1312
|
}
|
|
@@ -1108,13 +1338,13 @@ class SidebarComponent extends ComponentBase {
|
|
|
1108
1338
|
return this.ej2Instances.toggle();
|
|
1109
1339
|
}
|
|
1110
1340
|
};
|
|
1111
|
-
SidebarComponent = __decorate$
|
|
1341
|
+
SidebarComponent = __decorate$10([
|
|
1112
1342
|
EJComponentDecorator({
|
|
1113
|
-
props: properties$
|
|
1343
|
+
props: properties$6,
|
|
1114
1344
|
model: {
|
|
1115
1345
|
event: 'modelchanged'
|
|
1116
1346
|
}
|
|
1117
|
-
}, isExecute$
|
|
1347
|
+
}, isExecute$10)
|
|
1118
1348
|
/* Start Options({
|
|
1119
1349
|
props: props,
|
|
1120
1350
|
watch: watch,
|
|
@@ -1128,21 +1358,21 @@ const SidebarPlugin = {
|
|
|
1128
1358
|
}
|
|
1129
1359
|
};
|
|
1130
1360
|
|
|
1131
|
-
var __decorate$
|
|
1361
|
+
var __decorate$11 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1132
1362
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1133
1363
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1134
1364
|
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;
|
|
1135
1365
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1136
1366
|
};
|
|
1137
|
-
const isExecute$
|
|
1138
|
-
let vueImport$
|
|
1139
|
-
if (!isExecute$
|
|
1140
|
-
vueImport$
|
|
1367
|
+
const isExecute$11 = gh ? false : true;
|
|
1368
|
+
let vueImport$4;
|
|
1369
|
+
if (!isExecute$11 || parseInt(allVue.version) < 3) {
|
|
1370
|
+
vueImport$4 = Vue;
|
|
1141
1371
|
}
|
|
1142
1372
|
else {
|
|
1143
|
-
vueImport$
|
|
1373
|
+
vueImport$4 = Vue$1;
|
|
1144
1374
|
}
|
|
1145
|
-
let MenuItemsDirective = class MenuItemsDirective extends vueImport$
|
|
1375
|
+
let MenuItemsDirective = class MenuItemsDirective extends vueImport$4 {
|
|
1146
1376
|
render() {
|
|
1147
1377
|
return;
|
|
1148
1378
|
}
|
|
@@ -1150,8 +1380,8 @@ let MenuItemsDirective = class MenuItemsDirective extends vueImport$3 {
|
|
|
1150
1380
|
return 'e-menu-items';
|
|
1151
1381
|
}
|
|
1152
1382
|
};
|
|
1153
|
-
MenuItemsDirective = __decorate$
|
|
1154
|
-
EJComponentDecorator({}, isExecute$
|
|
1383
|
+
MenuItemsDirective = __decorate$11([
|
|
1384
|
+
EJComponentDecorator({}, isExecute$11)
|
|
1155
1385
|
], MenuItemsDirective);
|
|
1156
1386
|
const MenuItemsPlugin = {
|
|
1157
1387
|
name: 'e-menu-items',
|
|
@@ -1159,7 +1389,7 @@ const MenuItemsPlugin = {
|
|
|
1159
1389
|
Vue$$1.component(MenuItemsPlugin.name, MenuItemsDirective);
|
|
1160
1390
|
}
|
|
1161
1391
|
};
|
|
1162
|
-
let MenuItemDirective = class MenuItemDirective extends vueImport$
|
|
1392
|
+
let MenuItemDirective = class MenuItemDirective extends vueImport$4 {
|
|
1163
1393
|
render() {
|
|
1164
1394
|
return;
|
|
1165
1395
|
}
|
|
@@ -1167,8 +1397,8 @@ let MenuItemDirective = class MenuItemDirective extends vueImport$3 {
|
|
|
1167
1397
|
return 'e-';
|
|
1168
1398
|
}
|
|
1169
1399
|
};
|
|
1170
|
-
MenuItemDirective = __decorate$
|
|
1171
|
-
EJComponentDecorator({}, isExecute$
|
|
1400
|
+
MenuItemDirective = __decorate$11([
|
|
1401
|
+
EJComponentDecorator({}, isExecute$11)
|
|
1172
1402
|
], MenuItemDirective);
|
|
1173
1403
|
const MenuItemPlugin = {
|
|
1174
1404
|
name: 'e-',
|
|
@@ -1177,24 +1407,24 @@ const MenuItemPlugin = {
|
|
|
1177
1407
|
}
|
|
1178
1408
|
};
|
|
1179
1409
|
|
|
1180
|
-
var __decorate$
|
|
1410
|
+
var __decorate$12 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1181
1411
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1182
1412
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1183
1413
|
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;
|
|
1184
1414
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1185
1415
|
};
|
|
1186
1416
|
// {{VueImport}}
|
|
1187
|
-
const properties$
|
|
1188
|
-
const modelProps$
|
|
1189
|
-
const testProp$
|
|
1190
|
-
const props$
|
|
1191
|
-
const watch$
|
|
1192
|
-
const emitProbs$
|
|
1193
|
-
emitProbs$
|
|
1194
|
-
for (let props of modelProps$
|
|
1195
|
-
emitProbs$
|
|
1417
|
+
const properties$7 = ['islazyUpdate', 'animationSettings', 'cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableScrolling', 'fields', 'filter', 'hamburgerMode', 'hoverDelay', 'items', 'locale', 'orientation', 'showItemOnClick', 'target', 'template', 'title', 'beforeClose', 'beforeItemRender', 'beforeOpen', 'created', 'onClose', 'onOpen', 'select'];
|
|
1418
|
+
const modelProps$7 = [];
|
|
1419
|
+
const testProp$7 = getProps({ props: properties$7 });
|
|
1420
|
+
const props$7 = testProp$7[0];
|
|
1421
|
+
const watch$7 = testProp$7[1];
|
|
1422
|
+
const emitProbs$7 = Object.keys(watch$7);
|
|
1423
|
+
emitProbs$7.push('modelchanged');
|
|
1424
|
+
for (let props of modelProps$7) {
|
|
1425
|
+
emitProbs$7.push('update:' + props);
|
|
1196
1426
|
}
|
|
1197
|
-
const isExecute$
|
|
1427
|
+
const isExecute$12 = gh ? false : true;
|
|
1198
1428
|
/**
|
|
1199
1429
|
* Represents the Essential JS 2 VueJS Menu Component.
|
|
1200
1430
|
* ```html
|
|
@@ -1210,13 +1440,13 @@ let MenuComponent =
|
|
|
1210
1440
|
class MenuComponent extends ComponentBase {
|
|
1211
1441
|
constructor() {
|
|
1212
1442
|
super(arguments);
|
|
1213
|
-
this.propKeys = properties$
|
|
1214
|
-
this.models = modelProps$
|
|
1443
|
+
this.propKeys = properties$7;
|
|
1444
|
+
this.models = modelProps$7;
|
|
1215
1445
|
this.hasChildDirective = true;
|
|
1216
1446
|
this.hasInjectedModules = false;
|
|
1217
1447
|
this.tagMapper = { "e-menu-items": "e-" };
|
|
1218
1448
|
this.tagNameMapper = { "e-menu-items": "e-items" };
|
|
1219
|
-
this.isVue3 = !isExecute$
|
|
1449
|
+
this.isVue3 = !isExecute$12;
|
|
1220
1450
|
this.ej2Instances = new Menu({});
|
|
1221
1451
|
this.bindProperties();
|
|
1222
1452
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -1261,6 +1491,7 @@ class MenuComponent extends ComponentBase {
|
|
|
1261
1491
|
}
|
|
1262
1492
|
else {
|
|
1263
1493
|
this.$emit('update:' + key, prop[key]);
|
|
1494
|
+
this.$emit('modelchanged', prop[key]);
|
|
1264
1495
|
}
|
|
1265
1496
|
}
|
|
1266
1497
|
});
|
|
@@ -1306,10 +1537,10 @@ class MenuComponent extends ComponentBase {
|
|
|
1306
1537
|
return this.ej2Instances.showItems(items, isUniqueId);
|
|
1307
1538
|
}
|
|
1308
1539
|
};
|
|
1309
|
-
MenuComponent = __decorate$
|
|
1540
|
+
MenuComponent = __decorate$12([
|
|
1310
1541
|
EJComponentDecorator({
|
|
1311
|
-
props: properties$
|
|
1312
|
-
}, isExecute$
|
|
1542
|
+
props: properties$7
|
|
1543
|
+
}, isExecute$12)
|
|
1313
1544
|
/* Start Options({
|
|
1314
1545
|
props: props,
|
|
1315
1546
|
watch: watch,
|
|
@@ -1325,6 +1556,6 @@ const MenuPlugin = {
|
|
|
1325
1556
|
}
|
|
1326
1557
|
};
|
|
1327
1558
|
|
|
1328
|
-
export { AccordionItemsDirective, AccordionItemDirective, AccordionItemsPlugin, AccordionItemPlugin, AccordionComponent, AccordionPlugin, ItemsDirective, ItemDirective, ItemsPlugin, ItemPlugin, ToolbarComponent, ToolbarPlugin, ContextMenuComponent, ContextMenuPlugin, TabItemsDirective, TabItemDirective, TabItemsPlugin, TabItemPlugin, TabComponent, TabPlugin, TreeViewComponent, TreeViewPlugin, SidebarComponent, SidebarPlugin, MenuItemsDirective, MenuItemDirective, MenuItemsPlugin, MenuItemPlugin, MenuComponent, MenuPlugin };
|
|
1559
|
+
export { AccordionItemsDirective, AccordionItemDirective, AccordionItemsPlugin, AccordionItemPlugin, AccordionComponent, AccordionPlugin, ItemsDirective, ItemDirective, ItemsPlugin, ItemPlugin, ToolbarComponent, ToolbarPlugin, ContextMenuComponent, ContextMenuPlugin, BreadcrumbItemsDirective, BreadcrumbItemDirective, BreadcrumbItemsPlugin, BreadcrumbItemPlugin, BreadcrumbComponent, BreadcrumbPlugin, TabItemsDirective, TabItemDirective, TabItemsPlugin, TabItemPlugin, TabComponent, TabPlugin, TreeViewComponent, TreeViewPlugin, SidebarComponent, SidebarPlugin, MenuItemsDirective, MenuItemDirective, MenuItemsPlugin, MenuItemPlugin, MenuComponent, MenuPlugin };
|
|
1329
1560
|
export * from '@syncfusion/ej2-navigations';
|
|
1330
1561
|
//# sourceMappingURL=ej2-vue-navigations.es2015.js.map
|