@syncfusion/ej2-vue-navigations 20.2.50 → 20.3.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 +36 -0
- package/README.md +14 -0
- package/appbar.d.ts +4 -0
- package/appbar.js +4 -0
- package/dist/ej2-vue-navigations.umd.min.js +2 -2
- package/dist/ej2-vue-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-navigations.es2015.js +224 -106
- package/dist/es6/ej2-vue-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-navigations.es5.js +233 -106
- package/dist/es6/ej2-vue-navigations.es5.js.map +1 -1
- package/dist/global/ej2-vue-navigations.min.js +2 -2
- package/package.json +11 -9
- package/src/accordion/accordion.component.d.ts +0 -1
- package/src/accordion/accordion.component.js +3 -4
- package/src/accordion/items.directive.d.ts +0 -1
- package/src/accordion/items.directive.js +5 -6
- package/src/appbar/appbar.component.d.ts +35 -0
- package/src/appbar/appbar.component.js +142 -0
- package/src/appbar/index.d.ts +1 -0
- package/src/appbar/index.js +1 -0
- package/src/breadcrumb/breadcrumb.component.d.ts +0 -1
- package/src/breadcrumb/breadcrumb.component.js +3 -4
- package/src/breadcrumb/items.directive.d.ts +0 -1
- package/src/breadcrumb/items.directive.js +5 -6
- package/src/carousel/carousel.component.d.ts +0 -1
- package/src/carousel/carousel.component.js +4 -5
- package/src/carousel/items.directive.d.ts +0 -1
- package/src/carousel/items.directive.js +5 -6
- package/src/context-menu/contextmenu.component.d.ts +0 -1
- package/src/context-menu/contextmenu.component.js +3 -4
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/menu/items.directive.d.ts +0 -1
- package/src/menu/items.directive.js +5 -6
- package/src/menu/menu.component.d.ts +0 -1
- package/src/menu/menu.component.js +3 -4
- package/src/sidebar/sidebar.component.d.ts +0 -1
- package/src/sidebar/sidebar.component.js +3 -4
- package/src/tab/items.directive.d.ts +0 -1
- package/src/tab/items.directive.js +5 -6
- package/src/tab/tab.component.d.ts +1 -1
- package/src/tab/tab.component.js +6 -4
- package/src/toolbar/items.directive.d.ts +0 -1
- package/src/toolbar/items.directive.js +5 -6
- package/src/toolbar/toolbar.component.d.ts +0 -1
- package/src/toolbar/toolbar.component.js +3 -4
- package/src/treeview/treeview.component.d.ts +0 -1
- package/src/treeview/treeview.component.js +3 -4
- package/styles/accordion/bootstrap-dark.css +1 -0
- package/styles/accordion/bootstrap.css +1 -0
- package/styles/accordion/bootstrap4.css +1 -0
- package/styles/accordion/bootstrap5-dark.css +2 -0
- package/styles/accordion/bootstrap5.css +2 -0
- package/styles/accordion/fabric-dark.css +1 -0
- package/styles/accordion/fabric.css +1 -0
- package/styles/accordion/fluent-dark.css +1 -0
- package/styles/accordion/fluent.css +1 -0
- package/styles/accordion/highcontrast-light.css +1 -0
- package/styles/accordion/highcontrast.css +1 -0
- package/styles/accordion/material-dark.css +1 -0
- package/styles/accordion/material.css +1 -0
- package/styles/accordion/tailwind-dark.css +1 -0
- package/styles/accordion/tailwind.css +1 -0
- package/styles/appbar/bootstrap-dark.css +244 -0
- package/styles/appbar/bootstrap-dark.scss +1 -0
- package/styles/appbar/bootstrap.css +244 -0
- package/styles/appbar/bootstrap.scss +1 -0
- package/styles/appbar/bootstrap4.css +244 -0
- package/styles/appbar/bootstrap4.scss +1 -0
- package/styles/appbar/bootstrap5-dark.css +244 -0
- package/styles/appbar/bootstrap5-dark.scss +1 -0
- package/styles/appbar/bootstrap5.css +244 -0
- package/styles/appbar/bootstrap5.scss +1 -0
- package/styles/appbar/fabric-dark.css +244 -0
- package/styles/appbar/fabric-dark.scss +1 -0
- package/styles/appbar/fabric.css +244 -0
- package/styles/appbar/fabric.scss +1 -0
- package/styles/appbar/fluent-dark.css +244 -0
- package/styles/appbar/fluent-dark.scss +1 -0
- package/styles/appbar/fluent.css +244 -0
- package/styles/appbar/fluent.scss +1 -0
- package/styles/appbar/highcontrast-light.css +244 -0
- package/styles/appbar/highcontrast-light.scss +1 -0
- package/styles/appbar/highcontrast.css +244 -0
- package/styles/appbar/highcontrast.scss +1 -0
- package/styles/appbar/material-dark.css +245 -0
- package/styles/appbar/material-dark.scss +1 -0
- package/styles/appbar/material.css +245 -0
- package/styles/appbar/material.scss +1 -0
- package/styles/appbar/tailwind-dark.css +245 -0
- package/styles/appbar/tailwind-dark.scss +1 -0
- package/styles/appbar/tailwind.css +245 -0
- package/styles/appbar/tailwind.scss +1 -0
- package/styles/bootstrap-dark.css +340 -21
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.css +345 -26
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.css +348 -29
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.css +360 -36
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.css +360 -36
- package/styles/bootstrap5.scss +1 -0
- package/styles/carousel/bootstrap-dark.css +46 -11
- package/styles/carousel/bootstrap.css +46 -11
- package/styles/carousel/bootstrap4.css +46 -11
- package/styles/carousel/bootstrap5-dark.css +46 -11
- package/styles/carousel/bootstrap5.css +46 -11
- package/styles/carousel/fabric-dark.css +46 -11
- package/styles/carousel/fabric.css +46 -11
- package/styles/carousel/fluent-dark.css +46 -11
- package/styles/carousel/fluent.css +46 -11
- package/styles/carousel/highcontrast-light.css +46 -11
- package/styles/carousel/highcontrast.css +46 -11
- package/styles/carousel/material-dark.css +46 -11
- package/styles/carousel/material.css +46 -11
- package/styles/carousel/tailwind-dark.css +46 -11
- package/styles/carousel/tailwind.css +46 -11
- package/styles/context-menu/bootstrap4.css +2 -2
- package/styles/context-menu/bootstrap5-dark.css +3 -3
- package/styles/context-menu/bootstrap5.css +3 -3
- package/styles/context-menu/fluent-dark.css +1 -1
- package/styles/context-menu/fluent.css +1 -1
- package/styles/context-menu/tailwind-dark.css +1 -1
- package/styles/context-menu/tailwind.css +1 -1
- package/styles/fabric-dark.css +340 -21
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.css +340 -21
- package/styles/fabric.scss +1 -0
- package/styles/fluent-dark.css +352 -33
- package/styles/fluent-dark.scss +1 -0
- package/styles/fluent.css +352 -33
- package/styles/fluent.scss +1 -0
- package/styles/h-scroll/bootstrap-dark.css +0 -2
- package/styles/h-scroll/bootstrap.css +0 -2
- package/styles/h-scroll/bootstrap4.css +0 -2
- package/styles/h-scroll/bootstrap5-dark.css +0 -2
- package/styles/h-scroll/bootstrap5.css +0 -2
- package/styles/h-scroll/fabric-dark.css +0 -2
- package/styles/h-scroll/fabric.css +0 -2
- package/styles/h-scroll/fluent-dark.css +0 -2
- package/styles/h-scroll/fluent.css +0 -2
- package/styles/h-scroll/highcontrast-light.css +0 -2
- package/styles/h-scroll/highcontrast.css +0 -2
- package/styles/h-scroll/material-dark.css +0 -2
- package/styles/h-scroll/material.css +0 -2
- package/styles/h-scroll/tailwind-dark.css +0 -2
- package/styles/h-scroll/tailwind.css +0 -2
- package/styles/highcontrast-light.css +339 -20
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.css +339 -20
- package/styles/highcontrast.scss +1 -0
- package/styles/material-dark.css +339 -20
- package/styles/material-dark.scss +1 -0
- package/styles/material.css +339 -20
- package/styles/material.scss +1 -0
- package/styles/menu/bootstrap-dark.css +22 -0
- package/styles/menu/bootstrap.css +22 -0
- package/styles/menu/bootstrap4.css +22 -0
- package/styles/menu/bootstrap5-dark.css +23 -1
- package/styles/menu/bootstrap5.css +23 -1
- package/styles/menu/fabric-dark.css +22 -0
- package/styles/menu/fabric.css +22 -0
- package/styles/menu/fluent-dark.css +23 -1
- package/styles/menu/fluent.css +23 -1
- package/styles/menu/highcontrast-light.css +22 -0
- package/styles/menu/highcontrast.css +22 -0
- package/styles/menu/material-dark.css +22 -0
- package/styles/menu/material.css +22 -0
- package/styles/menu/tailwind-dark.css +23 -1
- package/styles/menu/tailwind.css +23 -1
- package/styles/pager/bootstrap-dark.css +5 -3
- package/styles/pager/bootstrap.css +10 -8
- package/styles/pager/bootstrap4.css +11 -9
- package/styles/pager/bootstrap5-dark.css +14 -12
- package/styles/pager/bootstrap5.css +14 -12
- package/styles/pager/fabric-dark.css +5 -3
- package/styles/pager/fabric.css +5 -3
- package/styles/pager/fluent-dark.css +6 -4
- package/styles/pager/fluent.css +6 -4
- package/styles/pager/highcontrast-light.css +4 -2
- package/styles/pager/highcontrast.css +4 -2
- package/styles/pager/material-dark.css +4 -2
- package/styles/pager/material.css +4 -2
- package/styles/pager/tailwind-dark.css +19 -17
- package/styles/pager/tailwind.css +19 -17
- package/styles/sidebar/bootstrap-dark.css +4 -0
- package/styles/sidebar/bootstrap.css +4 -0
- package/styles/sidebar/bootstrap4.css +4 -0
- package/styles/sidebar/bootstrap5-dark.css +4 -0
- package/styles/sidebar/bootstrap5.css +4 -0
- package/styles/sidebar/fabric-dark.css +4 -0
- package/styles/sidebar/fabric.css +4 -0
- package/styles/sidebar/fluent-dark.css +4 -0
- package/styles/sidebar/fluent.css +4 -0
- package/styles/sidebar/highcontrast-light.css +4 -0
- package/styles/sidebar/highcontrast.css +4 -0
- package/styles/sidebar/material-dark.css +4 -0
- package/styles/sidebar/material.css +4 -0
- package/styles/sidebar/tailwind-dark.css +4 -0
- package/styles/sidebar/tailwind.css +4 -0
- package/styles/tab/bootstrap-dark.css +1 -1
- package/styles/tab/bootstrap.css +1 -1
- package/styles/tab/bootstrap4.css +1 -1
- package/styles/tab/bootstrap5-dark.css +5 -2
- package/styles/tab/bootstrap5.css +5 -2
- package/styles/tab/fabric-dark.css +1 -1
- package/styles/tab/fabric.css +1 -1
- package/styles/tab/fluent-dark.css +5 -5
- package/styles/tab/fluent.css +5 -5
- package/styles/tab/highcontrast-light.css +1 -1
- package/styles/tab/highcontrast.css +1 -1
- package/styles/tab/material-dark.css +1 -1
- package/styles/tab/material.css +1 -1
- package/styles/tab/tailwind-dark.css +1 -1
- package/styles/tab/tailwind.css +1 -1
- package/styles/tailwind-dark.css +359 -38
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.css +359 -38
- package/styles/tailwind.scss +1 -0
- package/styles/toolbar/bootstrap-dark.css +10 -2
- package/styles/toolbar/bootstrap.css +10 -2
- package/styles/toolbar/bootstrap4.css +10 -2
- package/styles/toolbar/bootstrap5-dark.css +12 -3
- package/styles/toolbar/bootstrap5.css +12 -3
- package/styles/toolbar/fabric-dark.css +10 -2
- package/styles/toolbar/fabric.css +10 -2
- package/styles/toolbar/fluent-dark.css +15 -7
- package/styles/toolbar/fluent.css +15 -7
- package/styles/toolbar/highcontrast-light.css +10 -2
- package/styles/toolbar/highcontrast.css +10 -2
- package/styles/toolbar/material-dark.css +10 -2
- package/styles/toolbar/material.css +10 -2
- package/styles/toolbar/tailwind-dark.css +11 -3
- package/styles/toolbar/tailwind.css +11 -3
- package/styles/treeview/bootstrap-dark.css +6 -0
- package/styles/treeview/bootstrap.css +6 -0
- package/styles/treeview/bootstrap4.css +6 -0
- package/styles/treeview/bootstrap5-dark.css +6 -0
- package/styles/treeview/bootstrap5.css +6 -0
- package/styles/treeview/fabric-dark.css +6 -0
- package/styles/treeview/fabric.css +6 -0
- package/styles/treeview/fluent-dark.css +6 -0
- package/styles/treeview/fluent.css +6 -0
- package/styles/treeview/highcontrast-light.css +6 -0
- package/styles/treeview/highcontrast.css +6 -0
- package/styles/treeview/material-dark.css +6 -0
- package/styles/treeview/material.css +6 -0
- package/styles/treeview/tailwind-dark.css +7 -0
- package/styles/treeview/tailwind.css +7 -0
- package/styles/v-scroll/bootstrap-dark.css +0 -2
- package/styles/v-scroll/bootstrap.css +0 -2
- package/styles/v-scroll/bootstrap4.css +0 -2
- package/styles/v-scroll/bootstrap5-dark.css +0 -2
- package/styles/v-scroll/bootstrap5.css +0 -2
- package/styles/v-scroll/fabric-dark.css +0 -2
- package/styles/v-scroll/fabric.css +0 -2
- package/styles/v-scroll/fluent-dark.css +0 -2
- package/styles/v-scroll/fluent.css +0 -2
- package/styles/v-scroll/highcontrast-light.css +0 -2
- package/styles/v-scroll/highcontrast.css +0 -2
- package/styles/v-scroll/material-dark.css +0 -2
- package/styles/v-scroll/material.css +0 -2
- package/styles/v-scroll/tailwind-dark.css +0 -2
- package/styles/v-scroll/tailwind.css +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Accordion, Breadcrumb, Carousel, ContextMenu, Menu, Sidebar, Tab, Toolbar, TreeView } from '@syncfusion/ej2-navigations';
|
|
2
|
-
import { ComponentBase, EJComponentDecorator, allVue, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
1
|
+
import { Accordion, AppBar, Breadcrumb, Carousel, ContextMenu, Menu, Sidebar, Tab, Toolbar, TreeView } from '@syncfusion/ej2-navigations';
|
|
2
|
+
import { ComponentBase, EJComponentDecorator, allVue, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
3
3
|
import { Vue } from 'vue-class-component';
|
|
4
4
|
import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
|
|
5
5
|
import Vue$1 from 'vue';
|
|
@@ -11,7 +11,6 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
11
11
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12
12
|
};
|
|
13
13
|
// {{VueImport}}
|
|
14
|
-
const isExecute = gh ? false : true;
|
|
15
14
|
let vueImport;
|
|
16
15
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
17
16
|
vueImport = Vue;
|
|
@@ -32,18 +31,18 @@ class AccordionItemsDirective extends vueImport {
|
|
|
32
31
|
super(arguments);
|
|
33
32
|
}
|
|
34
33
|
render(createElement) {
|
|
35
|
-
if (
|
|
36
|
-
let h = gh
|
|
34
|
+
if (!isExecute) {
|
|
35
|
+
let h = !isExecute ? gh : createElement;
|
|
37
36
|
let slots = null;
|
|
38
37
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
39
|
-
slots =
|
|
38
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
40
39
|
}
|
|
41
40
|
return h('div', { class: 'e-directive' }, slots);
|
|
42
41
|
}
|
|
43
42
|
return;
|
|
44
43
|
}
|
|
45
44
|
updated() {
|
|
46
|
-
if (
|
|
45
|
+
if (!isExecute && this.custom) {
|
|
47
46
|
this.custom();
|
|
48
47
|
}
|
|
49
48
|
}
|
|
@@ -114,7 +113,6 @@ emitProbs.push('modelchanged', 'update:modelValue');
|
|
|
114
113
|
for (let props of modelProps) {
|
|
115
114
|
emitProbs.push('update:' + props);
|
|
116
115
|
}
|
|
117
|
-
const isExecute$1 = gh ? false : true;
|
|
118
116
|
/**
|
|
119
117
|
* Represents the VueJS Accordion Component.
|
|
120
118
|
* ```html
|
|
@@ -141,7 +139,7 @@ class AccordionComponent extends ComponentBase {
|
|
|
141
139
|
this.hasInjectedModules = false;
|
|
142
140
|
this.tagMapper = { "e-accordionitems": "e-accordionitem" };
|
|
143
141
|
this.tagNameMapper = { "e-accordionitems": "e-items" };
|
|
144
|
-
this.isVue3 = !isExecute
|
|
142
|
+
this.isVue3 = !isExecute;
|
|
145
143
|
this.ej2Instances = new Accordion({});
|
|
146
144
|
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
147
145
|
this.ej2Instances.trigger = this.trigger;
|
|
@@ -197,14 +195,14 @@ class AccordionComponent extends ComponentBase {
|
|
|
197
195
|
}
|
|
198
196
|
}
|
|
199
197
|
trigger(eventName, eventProp, successHandler) {
|
|
200
|
-
if (!isExecute
|
|
198
|
+
if (!isExecute) {
|
|
201
199
|
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
202
200
|
}
|
|
203
201
|
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
204
202
|
let key = this.models.toString().match(/checked|value/) || [];
|
|
205
203
|
let propKey = key[0];
|
|
206
204
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
207
|
-
if (!isExecute
|
|
205
|
+
if (!isExecute) {
|
|
208
206
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
209
207
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
210
208
|
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
@@ -221,7 +219,7 @@ class AccordionComponent extends ComponentBase {
|
|
|
221
219
|
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
222
220
|
let propKey = key[0];
|
|
223
221
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
224
|
-
if (!isExecute
|
|
222
|
+
if (!isExecute) {
|
|
225
223
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
226
224
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
227
225
|
}
|
|
@@ -236,10 +234,10 @@ class AccordionComponent extends ComponentBase {
|
|
|
236
234
|
}
|
|
237
235
|
}
|
|
238
236
|
render(createElement) {
|
|
239
|
-
let h = gh
|
|
237
|
+
let h = !isExecute ? gh : createElement;
|
|
240
238
|
let slots = null;
|
|
241
239
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
242
|
-
slots =
|
|
240
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
243
241
|
}
|
|
244
242
|
return h('div', slots);
|
|
245
243
|
}
|
|
@@ -271,7 +269,7 @@ AccordionComponent = __decorate$1([
|
|
|
271
269
|
model: {
|
|
272
270
|
event: 'modelchanged'
|
|
273
271
|
}
|
|
274
|
-
}, isExecute
|
|
272
|
+
}, isExecute)
|
|
275
273
|
/* Start Options({
|
|
276
274
|
props: props,
|
|
277
275
|
watch: watch,
|
|
@@ -299,9 +297,8 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
299
297
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
300
298
|
};
|
|
301
299
|
// {{VueImport}}
|
|
302
|
-
const isExecute$2 = gh ? false : true;
|
|
303
300
|
let vueImport$1;
|
|
304
|
-
if (!isExecute
|
|
301
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
305
302
|
vueImport$1 = Vue;
|
|
306
303
|
}
|
|
307
304
|
else {
|
|
@@ -320,18 +317,18 @@ class ItemsDirective extends vueImport$1 {
|
|
|
320
317
|
super(arguments);
|
|
321
318
|
}
|
|
322
319
|
render(createElement) {
|
|
323
|
-
if (
|
|
324
|
-
let h = gh
|
|
320
|
+
if (!isExecute) {
|
|
321
|
+
let h = !isExecute ? gh : createElement;
|
|
325
322
|
let slots = null;
|
|
326
323
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
327
|
-
slots =
|
|
324
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
328
325
|
}
|
|
329
326
|
return h('div', { class: 'e-directive' }, slots);
|
|
330
327
|
}
|
|
331
328
|
return;
|
|
332
329
|
}
|
|
333
330
|
updated() {
|
|
334
|
-
if (
|
|
331
|
+
if (!isExecute && this.custom) {
|
|
335
332
|
this.custom();
|
|
336
333
|
}
|
|
337
334
|
}
|
|
@@ -340,7 +337,7 @@ class ItemsDirective extends vueImport$1 {
|
|
|
340
337
|
}
|
|
341
338
|
};
|
|
342
339
|
ItemsDirective = __decorate$2([
|
|
343
|
-
EJComponentDecorator({}, isExecute
|
|
340
|
+
EJComponentDecorator({}, isExecute)
|
|
344
341
|
/* Start Options({
|
|
345
342
|
inject: {
|
|
346
343
|
custom: {
|
|
@@ -376,7 +373,7 @@ let ItemDirective = class ItemDirective extends vueImport$1 {
|
|
|
376
373
|
}
|
|
377
374
|
};
|
|
378
375
|
ItemDirective = __decorate$2([
|
|
379
|
-
EJComponentDecorator({}, isExecute
|
|
376
|
+
EJComponentDecorator({}, isExecute)
|
|
380
377
|
], ItemDirective);
|
|
381
378
|
const ItemPlugin = {
|
|
382
379
|
name: 'e-item',
|
|
@@ -402,7 +399,6 @@ emitProbs$1.push('modelchanged', 'update:modelValue');
|
|
|
402
399
|
for (let props of modelProps$1) {
|
|
403
400
|
emitProbs$1.push('update:' + props);
|
|
404
401
|
}
|
|
405
|
-
const isExecute$3 = gh ? false : true;
|
|
406
402
|
/**
|
|
407
403
|
* Represents the VueJS Toolbar Component.
|
|
408
404
|
* ```html
|
|
@@ -429,7 +425,7 @@ class ToolbarComponent extends ComponentBase {
|
|
|
429
425
|
this.hasInjectedModules = false;
|
|
430
426
|
this.tagMapper = { "e-items": "e-item" };
|
|
431
427
|
this.tagNameMapper = {};
|
|
432
|
-
this.isVue3 = !isExecute
|
|
428
|
+
this.isVue3 = !isExecute;
|
|
433
429
|
this.ej2Instances = new Toolbar({});
|
|
434
430
|
this.bindProperties();
|
|
435
431
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -483,10 +479,10 @@ class ToolbarComponent extends ComponentBase {
|
|
|
483
479
|
}
|
|
484
480
|
}
|
|
485
481
|
render(createElement) {
|
|
486
|
-
let h = gh
|
|
482
|
+
let h = !isExecute ? gh : createElement;
|
|
487
483
|
let slots = null;
|
|
488
484
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
489
|
-
slots =
|
|
485
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
490
486
|
}
|
|
491
487
|
return h('div', slots);
|
|
492
488
|
}
|
|
@@ -515,7 +511,7 @@ class ToolbarComponent extends ComponentBase {
|
|
|
515
511
|
ToolbarComponent = __decorate$3([
|
|
516
512
|
EJComponentDecorator({
|
|
517
513
|
props: properties$1
|
|
518
|
-
}, isExecute
|
|
514
|
+
}, isExecute)
|
|
519
515
|
/* Start Options({
|
|
520
516
|
props: props,
|
|
521
517
|
watch: watch,
|
|
@@ -553,7 +549,6 @@ emitProbs$2.push('modelchanged', 'update:modelValue');
|
|
|
553
549
|
for (let props of modelProps$2) {
|
|
554
550
|
emitProbs$2.push('update:' + props);
|
|
555
551
|
}
|
|
556
|
-
const isExecute$4 = gh ? false : true;
|
|
557
552
|
/**
|
|
558
553
|
* Represents the Essential JS 2 VueJS ContextMenu Component.
|
|
559
554
|
* ```html
|
|
@@ -581,7 +576,7 @@ class ContextMenuComponent extends ComponentBase {
|
|
|
581
576
|
this.hasInjectedModules = false;
|
|
582
577
|
this.tagMapper = {};
|
|
583
578
|
this.tagNameMapper = {};
|
|
584
|
-
this.isVue3 = !isExecute
|
|
579
|
+
this.isVue3 = !isExecute;
|
|
585
580
|
this.ej2Instances = new ContextMenu({});
|
|
586
581
|
this.bindProperties();
|
|
587
582
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -635,10 +630,10 @@ class ContextMenuComponent extends ComponentBase {
|
|
|
635
630
|
}
|
|
636
631
|
}
|
|
637
632
|
render(createElement) {
|
|
638
|
-
let h = gh
|
|
633
|
+
let h = !isExecute ? gh : createElement;
|
|
639
634
|
let slots = null;
|
|
640
635
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
641
|
-
slots =
|
|
636
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
642
637
|
}
|
|
643
638
|
return h('ul', slots);
|
|
644
639
|
}
|
|
@@ -679,7 +674,7 @@ class ContextMenuComponent extends ComponentBase {
|
|
|
679
674
|
ContextMenuComponent = __decorate$4([
|
|
680
675
|
EJComponentDecorator({
|
|
681
676
|
props: properties$2
|
|
682
|
-
}, isExecute
|
|
677
|
+
}, isExecute)
|
|
683
678
|
/* Start Options({
|
|
684
679
|
props: props,
|
|
685
680
|
watch: watch,
|
|
@@ -705,9 +700,8 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
705
700
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
706
701
|
};
|
|
707
702
|
// {{VueImport}}
|
|
708
|
-
const isExecute$5 = gh ? false : true;
|
|
709
703
|
let vueImport$2;
|
|
710
|
-
if (!isExecute
|
|
704
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
711
705
|
vueImport$2 = Vue;
|
|
712
706
|
}
|
|
713
707
|
else {
|
|
@@ -726,18 +720,18 @@ class BreadcrumbItemsDirective extends vueImport$2 {
|
|
|
726
720
|
super(arguments);
|
|
727
721
|
}
|
|
728
722
|
render(createElement) {
|
|
729
|
-
if (
|
|
730
|
-
let h = gh
|
|
723
|
+
if (!isExecute) {
|
|
724
|
+
let h = !isExecute ? gh : createElement;
|
|
731
725
|
let slots = null;
|
|
732
726
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
733
|
-
slots =
|
|
727
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
734
728
|
}
|
|
735
729
|
return h('div', { class: 'e-directive' }, slots);
|
|
736
730
|
}
|
|
737
731
|
return;
|
|
738
732
|
}
|
|
739
733
|
updated() {
|
|
740
|
-
if (
|
|
734
|
+
if (!isExecute && this.custom) {
|
|
741
735
|
this.custom();
|
|
742
736
|
}
|
|
743
737
|
}
|
|
@@ -746,7 +740,7 @@ class BreadcrumbItemsDirective extends vueImport$2 {
|
|
|
746
740
|
}
|
|
747
741
|
};
|
|
748
742
|
BreadcrumbItemsDirective = __decorate$5([
|
|
749
|
-
EJComponentDecorator({}, isExecute
|
|
743
|
+
EJComponentDecorator({}, isExecute)
|
|
750
744
|
/* Start Options({
|
|
751
745
|
inject: {
|
|
752
746
|
custom: {
|
|
@@ -782,7 +776,7 @@ let BreadcrumbItemDirective = class BreadcrumbItemDirective extends vueImport$2
|
|
|
782
776
|
}
|
|
783
777
|
};
|
|
784
778
|
BreadcrumbItemDirective = __decorate$5([
|
|
785
|
-
EJComponentDecorator({}, isExecute
|
|
779
|
+
EJComponentDecorator({}, isExecute)
|
|
786
780
|
], BreadcrumbItemDirective);
|
|
787
781
|
const BreadcrumbItemPlugin = {
|
|
788
782
|
name: 'e-breadcrumb-item',
|
|
@@ -808,7 +802,6 @@ emitProbs$3.push('modelchanged', 'update:modelValue');
|
|
|
808
802
|
for (let props of modelProps$3) {
|
|
809
803
|
emitProbs$3.push('update:' + props);
|
|
810
804
|
}
|
|
811
|
-
const isExecute$6 = gh ? false : true;
|
|
812
805
|
/**
|
|
813
806
|
* Represents the VueJS Breadcrumb Component.
|
|
814
807
|
* ```html
|
|
@@ -835,7 +828,7 @@ class BreadcrumbComponent extends ComponentBase {
|
|
|
835
828
|
this.hasInjectedModules = false;
|
|
836
829
|
this.tagMapper = { "e-breadcrumb-items": "e-breadcrumb-item" };
|
|
837
830
|
this.tagNameMapper = { "e-breadcrumb-items": "e-items" };
|
|
838
|
-
this.isVue3 = !isExecute
|
|
831
|
+
this.isVue3 = !isExecute;
|
|
839
832
|
this.ej2Instances = new Breadcrumb({});
|
|
840
833
|
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
841
834
|
this.ej2Instances.trigger = this.trigger;
|
|
@@ -891,14 +884,14 @@ class BreadcrumbComponent extends ComponentBase {
|
|
|
891
884
|
}
|
|
892
885
|
}
|
|
893
886
|
trigger(eventName, eventProp, successHandler) {
|
|
894
|
-
if (!isExecute
|
|
887
|
+
if (!isExecute) {
|
|
895
888
|
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
896
889
|
}
|
|
897
890
|
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
898
891
|
let key = this.models.toString().match(/checked|value/) || [];
|
|
899
892
|
let propKey = key[0];
|
|
900
893
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
901
|
-
if (!isExecute
|
|
894
|
+
if (!isExecute) {
|
|
902
895
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
903
896
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
904
897
|
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
@@ -915,7 +908,7 @@ class BreadcrumbComponent extends ComponentBase {
|
|
|
915
908
|
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
916
909
|
let propKey = key[0];
|
|
917
910
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
918
|
-
if (!isExecute
|
|
911
|
+
if (!isExecute) {
|
|
919
912
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
920
913
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
921
914
|
}
|
|
@@ -930,10 +923,10 @@ class BreadcrumbComponent extends ComponentBase {
|
|
|
930
923
|
}
|
|
931
924
|
}
|
|
932
925
|
render(createElement) {
|
|
933
|
-
let h = gh
|
|
926
|
+
let h = !isExecute ? gh : createElement;
|
|
934
927
|
let slots = null;
|
|
935
928
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
936
|
-
slots =
|
|
929
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
937
930
|
}
|
|
938
931
|
return h('nav', slots);
|
|
939
932
|
}
|
|
@@ -947,7 +940,7 @@ BreadcrumbComponent = __decorate$6([
|
|
|
947
940
|
model: {
|
|
948
941
|
event: 'modelchanged'
|
|
949
942
|
}
|
|
950
|
-
}, isExecute
|
|
943
|
+
}, isExecute)
|
|
951
944
|
/* Start Options({
|
|
952
945
|
props: props,
|
|
953
946
|
watch: watch,
|
|
@@ -975,9 +968,8 @@ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
975
968
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
976
969
|
};
|
|
977
970
|
// {{VueImport}}
|
|
978
|
-
const isExecute$7 = gh ? false : true;
|
|
979
971
|
let vueImport$3;
|
|
980
|
-
if (!isExecute
|
|
972
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
981
973
|
vueImport$3 = Vue;
|
|
982
974
|
}
|
|
983
975
|
else {
|
|
@@ -996,18 +988,18 @@ class CarouselItemsDirective extends vueImport$3 {
|
|
|
996
988
|
super(arguments);
|
|
997
989
|
}
|
|
998
990
|
render(createElement) {
|
|
999
|
-
if (
|
|
1000
|
-
let h = gh
|
|
991
|
+
if (!isExecute) {
|
|
992
|
+
let h = !isExecute ? gh : createElement;
|
|
1001
993
|
let slots = null;
|
|
1002
994
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1003
|
-
slots =
|
|
995
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1004
996
|
}
|
|
1005
997
|
return h('div', { class: 'e-directive' }, slots);
|
|
1006
998
|
}
|
|
1007
999
|
return;
|
|
1008
1000
|
}
|
|
1009
1001
|
updated() {
|
|
1010
|
-
if (
|
|
1002
|
+
if (!isExecute && this.custom) {
|
|
1011
1003
|
this.custom();
|
|
1012
1004
|
}
|
|
1013
1005
|
}
|
|
@@ -1016,7 +1008,7 @@ class CarouselItemsDirective extends vueImport$3 {
|
|
|
1016
1008
|
}
|
|
1017
1009
|
};
|
|
1018
1010
|
CarouselItemsDirective = __decorate$7([
|
|
1019
|
-
EJComponentDecorator({}, isExecute
|
|
1011
|
+
EJComponentDecorator({}, isExecute)
|
|
1020
1012
|
/* Start Options({
|
|
1021
1013
|
inject: {
|
|
1022
1014
|
custom: {
|
|
@@ -1052,7 +1044,7 @@ let CarouselItemDirective = class CarouselItemDirective extends vueImport$3 {
|
|
|
1052
1044
|
}
|
|
1053
1045
|
};
|
|
1054
1046
|
CarouselItemDirective = __decorate$7([
|
|
1055
|
-
EJComponentDecorator({}, isExecute
|
|
1047
|
+
EJComponentDecorator({}, isExecute)
|
|
1056
1048
|
], CarouselItemDirective);
|
|
1057
1049
|
const CarouselItemPlugin = {
|
|
1058
1050
|
name: 'e-carousel-item',
|
|
@@ -1068,7 +1060,7 @@ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1068
1060
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1069
1061
|
};
|
|
1070
1062
|
// {{VueImport}}
|
|
1071
|
-
const properties$4 = ['isLazyUpdate', 'plugins', 'animationEffect', 'autoPlay', 'buttonsVisibility', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enableTouchSwipe', 'height', 'htmlAttributes', 'indicatorsTemplate', 'interval', 'itemTemplate', 'items', 'locale', 'loop', 'nextButtonTemplate', 'pauseOnHover', 'playButtonTemplate', 'previousButtonTemplate', 'selectedIndex', 'showIndicators', 'showPlayButton', 'width', 'slideChanged', 'slideChanging'];
|
|
1063
|
+
const properties$4 = ['isLazyUpdate', 'plugins', 'animationEffect', 'autoPlay', 'buttonsVisibility', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enableTouchSwipe', 'height', 'htmlAttributes', 'indicatorsTemplate', 'interval', 'itemTemplate', 'items', 'locale', 'loop', 'nextButtonTemplate', 'partialVisible', 'pauseOnHover', 'playButtonTemplate', 'previousButtonTemplate', 'selectedIndex', 'showIndicators', 'showPlayButton', 'width', 'slideChanged', 'slideChanging'];
|
|
1072
1064
|
const modelProps$4 = ['selectedIndex'];
|
|
1073
1065
|
const testProp$4 = getProps({ props: properties$4 });
|
|
1074
1066
|
const props$4 = testProp$4[0];
|
|
@@ -1078,7 +1070,6 @@ emitProbs$4.push('modelchanged', 'update:modelValue');
|
|
|
1078
1070
|
for (let props of modelProps$4) {
|
|
1079
1071
|
emitProbs$4.push('update:' + props);
|
|
1080
1072
|
}
|
|
1081
|
-
const isExecute$8 = gh ? false : true;
|
|
1082
1073
|
/**
|
|
1083
1074
|
* Represents the VueJS Carousel Component.
|
|
1084
1075
|
* ```html
|
|
@@ -1105,7 +1096,7 @@ class CarouselComponent extends ComponentBase {
|
|
|
1105
1096
|
this.hasInjectedModules = false;
|
|
1106
1097
|
this.tagMapper = { "e-carousel-items": "e-carousel-item" };
|
|
1107
1098
|
this.tagNameMapper = { "e-carousel-items": "e-items" };
|
|
1108
|
-
this.isVue3 = !isExecute
|
|
1099
|
+
this.isVue3 = !isExecute;
|
|
1109
1100
|
this.ej2Instances = new Carousel({});
|
|
1110
1101
|
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
1111
1102
|
this.ej2Instances.trigger = this.trigger;
|
|
@@ -1161,14 +1152,14 @@ class CarouselComponent extends ComponentBase {
|
|
|
1161
1152
|
}
|
|
1162
1153
|
}
|
|
1163
1154
|
trigger(eventName, eventProp, successHandler) {
|
|
1164
|
-
if (!isExecute
|
|
1155
|
+
if (!isExecute) {
|
|
1165
1156
|
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1166
1157
|
}
|
|
1167
1158
|
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1168
1159
|
let key = this.models.toString().match(/checked|value/) || [];
|
|
1169
1160
|
let propKey = key[0];
|
|
1170
1161
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1171
|
-
if (!isExecute
|
|
1162
|
+
if (!isExecute) {
|
|
1172
1163
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1173
1164
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1174
1165
|
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
@@ -1185,7 +1176,7 @@ class CarouselComponent extends ComponentBase {
|
|
|
1185
1176
|
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1186
1177
|
let propKey = key[0];
|
|
1187
1178
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1188
|
-
if (!isExecute
|
|
1179
|
+
if (!isExecute) {
|
|
1189
1180
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1190
1181
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1191
1182
|
}
|
|
@@ -1200,10 +1191,10 @@ class CarouselComponent extends ComponentBase {
|
|
|
1200
1191
|
}
|
|
1201
1192
|
}
|
|
1202
1193
|
render(createElement) {
|
|
1203
|
-
let h = gh
|
|
1194
|
+
let h = !isExecute ? gh : createElement;
|
|
1204
1195
|
let slots = null;
|
|
1205
1196
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1206
|
-
slots =
|
|
1197
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1207
1198
|
}
|
|
1208
1199
|
return h('div', slots);
|
|
1209
1200
|
}
|
|
@@ -1229,7 +1220,7 @@ CarouselComponent = __decorate$8([
|
|
|
1229
1220
|
model: {
|
|
1230
1221
|
event: 'modelchanged'
|
|
1231
1222
|
}
|
|
1232
|
-
}, isExecute
|
|
1223
|
+
}, isExecute)
|
|
1233
1224
|
/* Start Options({
|
|
1234
1225
|
props: props,
|
|
1235
1226
|
watch: watch,
|
|
@@ -1257,9 +1248,8 @@ var __decorate$9 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1257
1248
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1258
1249
|
};
|
|
1259
1250
|
// {{VueImport}}
|
|
1260
|
-
const isExecute$9 = gh ? false : true;
|
|
1261
1251
|
let vueImport$4;
|
|
1262
|
-
if (!isExecute
|
|
1252
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
1263
1253
|
vueImport$4 = Vue;
|
|
1264
1254
|
}
|
|
1265
1255
|
else {
|
|
@@ -1278,18 +1268,18 @@ class TabItemsDirective extends vueImport$4 {
|
|
|
1278
1268
|
super(arguments);
|
|
1279
1269
|
}
|
|
1280
1270
|
render(createElement) {
|
|
1281
|
-
if (
|
|
1282
|
-
let h = gh
|
|
1271
|
+
if (!isExecute) {
|
|
1272
|
+
let h = !isExecute ? gh : createElement;
|
|
1283
1273
|
let slots = null;
|
|
1284
1274
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1285
|
-
slots =
|
|
1275
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1286
1276
|
}
|
|
1287
1277
|
return h('div', { class: 'e-directive' }, slots);
|
|
1288
1278
|
}
|
|
1289
1279
|
return;
|
|
1290
1280
|
}
|
|
1291
1281
|
updated() {
|
|
1292
|
-
if (
|
|
1282
|
+
if (!isExecute && this.custom) {
|
|
1293
1283
|
this.custom();
|
|
1294
1284
|
}
|
|
1295
1285
|
}
|
|
@@ -1298,7 +1288,7 @@ class TabItemsDirective extends vueImport$4 {
|
|
|
1298
1288
|
}
|
|
1299
1289
|
};
|
|
1300
1290
|
TabItemsDirective = __decorate$9([
|
|
1301
|
-
EJComponentDecorator({}, isExecute
|
|
1291
|
+
EJComponentDecorator({}, isExecute)
|
|
1302
1292
|
/* Start Options({
|
|
1303
1293
|
inject: {
|
|
1304
1294
|
custom: {
|
|
@@ -1334,7 +1324,7 @@ let TabItemDirective = class TabItemDirective extends vueImport$4 {
|
|
|
1334
1324
|
}
|
|
1335
1325
|
};
|
|
1336
1326
|
TabItemDirective = __decorate$9([
|
|
1337
|
-
EJComponentDecorator({}, isExecute
|
|
1327
|
+
EJComponentDecorator({}, isExecute)
|
|
1338
1328
|
], TabItemDirective);
|
|
1339
1329
|
const TabItemPlugin = {
|
|
1340
1330
|
name: 'e-tabitem',
|
|
@@ -1360,7 +1350,6 @@ emitProbs$5.push('modelchanged', 'update:modelValue');
|
|
|
1360
1350
|
for (let props of modelProps$5) {
|
|
1361
1351
|
emitProbs$5.push('update:' + props);
|
|
1362
1352
|
}
|
|
1363
|
-
const isExecute$10 = gh ? false : true;
|
|
1364
1353
|
/**
|
|
1365
1354
|
* Represents the VueJS Tab Component.
|
|
1366
1355
|
* ```html
|
|
@@ -1387,7 +1376,7 @@ class TabComponent extends ComponentBase {
|
|
|
1387
1376
|
this.hasInjectedModules = false;
|
|
1388
1377
|
this.tagMapper = { "e-tabitems": "e-tabitem" };
|
|
1389
1378
|
this.tagNameMapper = { "e-tabitems": "e-items" };
|
|
1390
|
-
this.isVue3 = !isExecute
|
|
1379
|
+
this.isVue3 = !isExecute;
|
|
1391
1380
|
this.ej2Instances = new Tab({});
|
|
1392
1381
|
this.bindProperties();
|
|
1393
1382
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -1441,10 +1430,10 @@ class TabComponent extends ComponentBase {
|
|
|
1441
1430
|
}
|
|
1442
1431
|
}
|
|
1443
1432
|
render(createElement) {
|
|
1444
|
-
let h = gh
|
|
1433
|
+
let h = !isExecute ? gh : createElement;
|
|
1445
1434
|
let slots = null;
|
|
1446
1435
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1447
|
-
slots =
|
|
1436
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1448
1437
|
}
|
|
1449
1438
|
return h('div', slots);
|
|
1450
1439
|
}
|
|
@@ -1472,6 +1461,9 @@ class TabComponent extends ComponentBase {
|
|
|
1472
1461
|
refreshActiveTab() {
|
|
1473
1462
|
return this.ej2Instances.refreshActiveTab();
|
|
1474
1463
|
}
|
|
1464
|
+
refreshActiveTabBorder() {
|
|
1465
|
+
return this.ej2Instances.refreshActiveTabBorder();
|
|
1466
|
+
}
|
|
1475
1467
|
removeTab(index) {
|
|
1476
1468
|
return this.ej2Instances.removeTab(index);
|
|
1477
1469
|
}
|
|
@@ -1482,7 +1474,7 @@ class TabComponent extends ComponentBase {
|
|
|
1482
1474
|
TabComponent = __decorate$10([
|
|
1483
1475
|
EJComponentDecorator({
|
|
1484
1476
|
props: properties$5
|
|
1485
|
-
}, isExecute
|
|
1477
|
+
}, isExecute)
|
|
1486
1478
|
/* Start Options({
|
|
1487
1479
|
props: props,
|
|
1488
1480
|
watch: watch,
|
|
@@ -1520,7 +1512,6 @@ emitProbs$6.push('modelchanged', 'update:modelValue');
|
|
|
1520
1512
|
for (let props of modelProps$6) {
|
|
1521
1513
|
emitProbs$6.push('update:' + props);
|
|
1522
1514
|
}
|
|
1523
|
-
const isExecute$11 = gh ? false : true;
|
|
1524
1515
|
/**
|
|
1525
1516
|
* Represents the EJ2 VueJS TreeView Component.
|
|
1526
1517
|
* ```html
|
|
@@ -1547,7 +1538,7 @@ class TreeViewComponent extends ComponentBase {
|
|
|
1547
1538
|
this.hasInjectedModules = false;
|
|
1548
1539
|
this.tagMapper = {};
|
|
1549
1540
|
this.tagNameMapper = {};
|
|
1550
|
-
this.isVue3 = !isExecute
|
|
1541
|
+
this.isVue3 = !isExecute;
|
|
1551
1542
|
this.ej2Instances = new TreeView({});
|
|
1552
1543
|
this.bindProperties();
|
|
1553
1544
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -1601,10 +1592,10 @@ class TreeViewComponent extends ComponentBase {
|
|
|
1601
1592
|
}
|
|
1602
1593
|
}
|
|
1603
1594
|
render(createElement) {
|
|
1604
|
-
let h = gh
|
|
1595
|
+
let h = !isExecute ? gh : createElement;
|
|
1605
1596
|
let slots = null;
|
|
1606
1597
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1607
|
-
slots =
|
|
1598
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1608
1599
|
}
|
|
1609
1600
|
return h('div', slots);
|
|
1610
1601
|
}
|
|
@@ -1666,7 +1657,7 @@ class TreeViewComponent extends ComponentBase {
|
|
|
1666
1657
|
TreeViewComponent = __decorate$11([
|
|
1667
1658
|
EJComponentDecorator({
|
|
1668
1659
|
props: properties$6
|
|
1669
|
-
}, isExecute
|
|
1660
|
+
}, isExecute)
|
|
1670
1661
|
/* Start Options({
|
|
1671
1662
|
props: props,
|
|
1672
1663
|
watch: watch,
|
|
@@ -1702,7 +1693,6 @@ emitProbs$7.push('modelchanged', 'update:modelValue');
|
|
|
1702
1693
|
for (let props of modelProps$7) {
|
|
1703
1694
|
emitProbs$7.push('update:' + props);
|
|
1704
1695
|
}
|
|
1705
|
-
const isExecute$12 = gh ? false : true;
|
|
1706
1696
|
/**
|
|
1707
1697
|
* Represents the Essential JS 2 VueJS Sidebar Component.
|
|
1708
1698
|
* ```html
|
|
@@ -1729,7 +1719,7 @@ class SidebarComponent extends ComponentBase {
|
|
|
1729
1719
|
this.hasInjectedModules = false;
|
|
1730
1720
|
this.tagMapper = {};
|
|
1731
1721
|
this.tagNameMapper = {};
|
|
1732
|
-
this.isVue3 = !isExecute
|
|
1722
|
+
this.isVue3 = !isExecute;
|
|
1733
1723
|
this.ej2Instances = new Sidebar({});
|
|
1734
1724
|
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
1735
1725
|
this.ej2Instances.trigger = this.trigger;
|
|
@@ -1785,14 +1775,14 @@ class SidebarComponent extends ComponentBase {
|
|
|
1785
1775
|
}
|
|
1786
1776
|
}
|
|
1787
1777
|
trigger(eventName, eventProp, successHandler) {
|
|
1788
|
-
if (!isExecute
|
|
1778
|
+
if (!isExecute) {
|
|
1789
1779
|
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1790
1780
|
}
|
|
1791
1781
|
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1792
1782
|
let key = this.models.toString().match(/checked|value/) || [];
|
|
1793
1783
|
let propKey = key[0];
|
|
1794
1784
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1795
|
-
if (!isExecute
|
|
1785
|
+
if (!isExecute) {
|
|
1796
1786
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1797
1787
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1798
1788
|
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
@@ -1809,7 +1799,7 @@ class SidebarComponent extends ComponentBase {
|
|
|
1809
1799
|
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1810
1800
|
let propKey = key[0];
|
|
1811
1801
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1812
|
-
if (!isExecute
|
|
1802
|
+
if (!isExecute) {
|
|
1813
1803
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1814
1804
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1815
1805
|
}
|
|
@@ -1824,10 +1814,10 @@ class SidebarComponent extends ComponentBase {
|
|
|
1824
1814
|
}
|
|
1825
1815
|
}
|
|
1826
1816
|
render(createElement) {
|
|
1827
|
-
let h = gh
|
|
1817
|
+
let h = !isExecute ? gh : createElement;
|
|
1828
1818
|
let slots = null;
|
|
1829
1819
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1830
|
-
slots =
|
|
1820
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1831
1821
|
}
|
|
1832
1822
|
return h('div', slots);
|
|
1833
1823
|
}
|
|
@@ -1850,7 +1840,7 @@ SidebarComponent = __decorate$12([
|
|
|
1850
1840
|
model: {
|
|
1851
1841
|
event: 'modelchanged'
|
|
1852
1842
|
}
|
|
1853
|
-
}, isExecute
|
|
1843
|
+
}, isExecute)
|
|
1854
1844
|
/* Start Options({
|
|
1855
1845
|
props: props,
|
|
1856
1846
|
watch: watch,
|
|
@@ -1876,9 +1866,8 @@ var __decorate$13 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1876
1866
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1877
1867
|
};
|
|
1878
1868
|
// {{VueImport}}
|
|
1879
|
-
const isExecute$13 = gh ? false : true;
|
|
1880
1869
|
let vueImport$5;
|
|
1881
|
-
if (!isExecute
|
|
1870
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
1882
1871
|
vueImport$5 = Vue;
|
|
1883
1872
|
}
|
|
1884
1873
|
else {
|
|
@@ -1897,18 +1886,18 @@ class MenuItemsDirective extends vueImport$5 {
|
|
|
1897
1886
|
super(arguments);
|
|
1898
1887
|
}
|
|
1899
1888
|
render(createElement) {
|
|
1900
|
-
if (
|
|
1901
|
-
let h = gh
|
|
1889
|
+
if (!isExecute) {
|
|
1890
|
+
let h = !isExecute ? gh : createElement;
|
|
1902
1891
|
let slots = null;
|
|
1903
1892
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1904
|
-
slots =
|
|
1893
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1905
1894
|
}
|
|
1906
1895
|
return h('div', { class: 'e-directive' }, slots);
|
|
1907
1896
|
}
|
|
1908
1897
|
return;
|
|
1909
1898
|
}
|
|
1910
1899
|
updated() {
|
|
1911
|
-
if (
|
|
1900
|
+
if (!isExecute && this.custom) {
|
|
1912
1901
|
this.custom();
|
|
1913
1902
|
}
|
|
1914
1903
|
}
|
|
@@ -1917,7 +1906,7 @@ class MenuItemsDirective extends vueImport$5 {
|
|
|
1917
1906
|
}
|
|
1918
1907
|
};
|
|
1919
1908
|
MenuItemsDirective = __decorate$13([
|
|
1920
|
-
EJComponentDecorator({}, isExecute
|
|
1909
|
+
EJComponentDecorator({}, isExecute)
|
|
1921
1910
|
/* Start Options({
|
|
1922
1911
|
inject: {
|
|
1923
1912
|
custom: {
|
|
@@ -1941,7 +1930,7 @@ let MenuItemDirective = class MenuItemDirective extends vueImport$5 {
|
|
|
1941
1930
|
}
|
|
1942
1931
|
};
|
|
1943
1932
|
MenuItemDirective = __decorate$13([
|
|
1944
|
-
EJComponentDecorator({}, isExecute
|
|
1933
|
+
EJComponentDecorator({}, isExecute)
|
|
1945
1934
|
], MenuItemDirective);
|
|
1946
1935
|
const MenuItemPlugin = {
|
|
1947
1936
|
name: 'e-',
|
|
@@ -1967,7 +1956,6 @@ emitProbs$8.push('modelchanged', 'update:modelValue');
|
|
|
1967
1956
|
for (let props of modelProps$8) {
|
|
1968
1957
|
emitProbs$8.push('update:' + props);
|
|
1969
1958
|
}
|
|
1970
|
-
const isExecute$14 = gh ? false : true;
|
|
1971
1959
|
/**
|
|
1972
1960
|
* Represents the Essential JS 2 VueJS Menu Component.
|
|
1973
1961
|
* ```html
|
|
@@ -1994,7 +1982,7 @@ class MenuComponent extends ComponentBase {
|
|
|
1994
1982
|
this.hasInjectedModules = false;
|
|
1995
1983
|
this.tagMapper = { "e-menu-items": "e-" };
|
|
1996
1984
|
this.tagNameMapper = { "e-menu-items": "e-items" };
|
|
1997
|
-
this.isVue3 = !isExecute
|
|
1985
|
+
this.isVue3 = !isExecute;
|
|
1998
1986
|
this.ej2Instances = new Menu({});
|
|
1999
1987
|
this.bindProperties();
|
|
2000
1988
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -2048,10 +2036,10 @@ class MenuComponent extends ComponentBase {
|
|
|
2048
2036
|
}
|
|
2049
2037
|
}
|
|
2050
2038
|
render(createElement) {
|
|
2051
|
-
let h = gh
|
|
2039
|
+
let h = !isExecute ? gh : createElement;
|
|
2052
2040
|
let slots = null;
|
|
2053
2041
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
2054
|
-
slots =
|
|
2042
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
2055
2043
|
}
|
|
2056
2044
|
return h('ul', slots);
|
|
2057
2045
|
}
|
|
@@ -2092,7 +2080,7 @@ class MenuComponent extends ComponentBase {
|
|
|
2092
2080
|
MenuComponent = __decorate$14([
|
|
2093
2081
|
EJComponentDecorator({
|
|
2094
2082
|
props: properties$8
|
|
2095
|
-
}, isExecute
|
|
2083
|
+
}, isExecute)
|
|
2096
2084
|
/* Start Options({
|
|
2097
2085
|
props: props,
|
|
2098
2086
|
watch: watch,
|
|
@@ -2113,6 +2101,136 @@ const MenuPlugin = {
|
|
|
2113
2101
|
}
|
|
2114
2102
|
};
|
|
2115
2103
|
|
|
2116
|
-
|
|
2104
|
+
var __decorate$15 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2105
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2106
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2107
|
+
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;
|
|
2108
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2109
|
+
};
|
|
2110
|
+
// {{VueImport}}
|
|
2111
|
+
const properties$9 = ['isLazyUpdate', 'plugins', 'colorMode', 'cssClass', 'enablePersistence', 'enableRtl', 'htmlAttributes', 'isSticky', 'locale', 'mode', 'position', 'created', 'destroyed'];
|
|
2112
|
+
const modelProps$9 = [];
|
|
2113
|
+
const testProp$9 = getProps({ props: properties$9 });
|
|
2114
|
+
const props$9 = testProp$9[0];
|
|
2115
|
+
const watch$9 = testProp$9[1];
|
|
2116
|
+
const emitProbs$9 = Object.keys(watch$9);
|
|
2117
|
+
emitProbs$9.push('modelchanged', 'update:modelValue');
|
|
2118
|
+
for (let props of modelProps$9) {
|
|
2119
|
+
emitProbs$9.push('update:' + props);
|
|
2120
|
+
}
|
|
2121
|
+
/**
|
|
2122
|
+
* Represents the Essential JS 2 VueJS AppBar Component.
|
|
2123
|
+
* ```html
|
|
2124
|
+
* <ejs-appbar></ejs-appbar>
|
|
2125
|
+
* ```
|
|
2126
|
+
*/
|
|
2127
|
+
let AppBarComponent =
|
|
2128
|
+
/* Start Options({
|
|
2129
|
+
props: props,
|
|
2130
|
+
watch: watch,
|
|
2131
|
+
emits: emitProbs,
|
|
2132
|
+
provide: function provide() {
|
|
2133
|
+
return {
|
|
2134
|
+
custom: this.custom
|
|
2135
|
+
};
|
|
2136
|
+
}
|
|
2137
|
+
}) End */
|
|
2138
|
+
class AppBarComponent extends ComponentBase {
|
|
2139
|
+
constructor() {
|
|
2140
|
+
super(arguments);
|
|
2141
|
+
this.propKeys = properties$9;
|
|
2142
|
+
this.models = modelProps$9;
|
|
2143
|
+
this.hasChildDirective = false;
|
|
2144
|
+
this.hasInjectedModules = false;
|
|
2145
|
+
this.tagMapper = {};
|
|
2146
|
+
this.tagNameMapper = {};
|
|
2147
|
+
this.isVue3 = !isExecute;
|
|
2148
|
+
this.ej2Instances = new AppBar({});
|
|
2149
|
+
this.bindProperties();
|
|
2150
|
+
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
2151
|
+
this.ej2Instances.setProperties = this.setProperties;
|
|
2152
|
+
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
2153
|
+
this.updated = this.updated;
|
|
2154
|
+
}
|
|
2155
|
+
clearTemplate(templateNames) {
|
|
2156
|
+
if (!templateNames) {
|
|
2157
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
2158
|
+
}
|
|
2159
|
+
if (templateNames.length && this.templateCollection) {
|
|
2160
|
+
for (let tempName of templateNames) {
|
|
2161
|
+
let elementCollection = this.templateCollection[tempName];
|
|
2162
|
+
if (elementCollection && elementCollection.length) {
|
|
2163
|
+
for (let ele of elementCollection) {
|
|
2164
|
+
let destroy = getValue('__vue__.$destroy', ele);
|
|
2165
|
+
if (destroy) {
|
|
2166
|
+
ele.__vue__.$destroy();
|
|
2167
|
+
}
|
|
2168
|
+
if (ele.innerHTML) {
|
|
2169
|
+
ele.innerHTML = '';
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
delete this.templateCollection[tempName];
|
|
2173
|
+
}
|
|
2174
|
+
}
|
|
2175
|
+
}
|
|
2176
|
+
}
|
|
2177
|
+
setProperties(prop, muteOnChange) {
|
|
2178
|
+
if (this.isVue3) {
|
|
2179
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
2180
|
+
}
|
|
2181
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
2182
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
2183
|
+
}
|
|
2184
|
+
if (prop && this.models && this.models.length) {
|
|
2185
|
+
Object.keys(prop).map((key) => {
|
|
2186
|
+
this.models.map((model) => {
|
|
2187
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
2188
|
+
if (this.isVue3) {
|
|
2189
|
+
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
2190
|
+
}
|
|
2191
|
+
else {
|
|
2192
|
+
this.$emit('update:' + key, prop[key]);
|
|
2193
|
+
this.$emit('modelchanged', prop[key]);
|
|
2194
|
+
}
|
|
2195
|
+
}
|
|
2196
|
+
});
|
|
2197
|
+
});
|
|
2198
|
+
}
|
|
2199
|
+
}
|
|
2200
|
+
render(createElement) {
|
|
2201
|
+
let h = !isExecute ? gh : createElement;
|
|
2202
|
+
let slots = null;
|
|
2203
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
2204
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
2205
|
+
}
|
|
2206
|
+
return h('header', slots);
|
|
2207
|
+
}
|
|
2208
|
+
custom() {
|
|
2209
|
+
this.updated();
|
|
2210
|
+
}
|
|
2211
|
+
};
|
|
2212
|
+
AppBarComponent = __decorate$15([
|
|
2213
|
+
EJComponentDecorator({
|
|
2214
|
+
props: properties$9
|
|
2215
|
+
}, isExecute)
|
|
2216
|
+
/* Start Options({
|
|
2217
|
+
props: props,
|
|
2218
|
+
watch: watch,
|
|
2219
|
+
emits: emitProbs,
|
|
2220
|
+
provide: function provide() {
|
|
2221
|
+
return {
|
|
2222
|
+
custom: this.custom
|
|
2223
|
+
};
|
|
2224
|
+
}
|
|
2225
|
+
}) End */
|
|
2226
|
+
], AppBarComponent);
|
|
2227
|
+
const AppBarPlugin = {
|
|
2228
|
+
name: 'ejs-appbar',
|
|
2229
|
+
install(Vue$$1) {
|
|
2230
|
+
Vue$$1.component(AppBarPlugin.name, AppBarComponent);
|
|
2231
|
+
}
|
|
2232
|
+
};
|
|
2233
|
+
|
|
2234
|
+
export { AccordionItemsDirective, AccordionItemDirective, AccordionItemsPlugin, AccordionItemPlugin, AccordionComponent, AccordionPlugin, ItemsDirective, ItemDirective, ItemsPlugin, ItemPlugin, ToolbarComponent, ToolbarPlugin, ContextMenuComponent, ContextMenuPlugin, BreadcrumbItemsDirective, BreadcrumbItemDirective, BreadcrumbItemsPlugin, BreadcrumbItemPlugin, BreadcrumbComponent, BreadcrumbPlugin, CarouselItemsDirective, CarouselItemDirective, CarouselItemsPlugin, CarouselItemPlugin, CarouselComponent, CarouselPlugin, TabItemsDirective, TabItemDirective, TabItemsPlugin, TabItemPlugin, TabComponent, TabPlugin, TreeViewComponent, TreeViewPlugin, SidebarComponent, SidebarPlugin, MenuItemsDirective, MenuItemDirective, MenuItemsPlugin, MenuItemPlugin, MenuComponent, MenuPlugin, AppBarComponent, AppBarPlugin };
|
|
2117
2235
|
export * from '@syncfusion/ej2-navigations';
|
|
2118
2236
|
//# sourceMappingURL=ej2-vue-navigations.es2015.js.map
|