@syncfusion/ej2-vue-navigations 19.4.53 → 20.1.47
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 +35 -2
- package/README.md +17 -2
- package/carousel.d.ts +4 -0
- package/carousel.js +4 -0
- package/dist/ej2-vue-navigations.umd.min.js +1 -1
- package/dist/es6/ej2-vue-navigations.es2015.js +669 -116
- package/dist/es6/ej2-vue-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-navigations.es5.js +608 -129
- 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 +2 -1
- package/src/accordion/accordion.component.js +11 -2
- package/src/accordion/items.directive.d.ts +3 -1
- package/src/accordion/items.directive.js +24 -2
- package/src/breadcrumb/breadcrumb.component.d.ts +1 -0
- package/src/breadcrumb/breadcrumb.component.js +10 -1
- package/src/breadcrumb/items.directive.d.ts +3 -1
- package/src/breadcrumb/items.directive.js +24 -2
- package/src/carousel/carousel.component.d.ts +43 -0
- package/src/carousel/carousel.component.js +202 -0
- package/src/carousel/index.d.ts +2 -0
- package/src/carousel/index.js +2 -0
- package/src/carousel/items.directive.d.ts +33 -0
- package/src/carousel/items.directive.js +110 -0
- package/src/context-menu/contextmenu.component.d.ts +1 -0
- package/src/context-menu/contextmenu.component.js +10 -1
- package/src/index.d.ts +2 -0
- package/src/index.js +2 -0
- package/src/menu/items.directive.d.ts +3 -1
- package/src/menu/items.directive.js +24 -2
- package/src/menu/menu.component.d.ts +1 -0
- package/src/menu/menu.component.js +10 -1
- package/src/sidebar/sidebar.component.d.ts +1 -0
- package/src/sidebar/sidebar.component.js +10 -1
- package/src/tab/items.directive.d.ts +3 -1
- package/src/tab/items.directive.js +24 -2
- package/src/tab/tab.component.d.ts +1 -0
- package/src/tab/tab.component.js +10 -1
- package/src/toolbar/items.directive.d.ts +3 -1
- package/src/toolbar/items.directive.js +24 -2
- package/src/toolbar/toolbar.component.d.ts +1 -0
- package/src/toolbar/toolbar.component.js +10 -1
- package/src/treeview/treeview.component.d.ts +1 -0
- package/src/treeview/treeview.component.js +10 -1
- package/styles/accordion/bootstrap-dark.css +48 -63
- package/styles/accordion/bootstrap.css +48 -63
- package/styles/accordion/bootstrap4.css +48 -63
- package/styles/accordion/bootstrap5-dark.css +51 -66
- package/styles/accordion/bootstrap5.css +51 -66
- package/styles/accordion/fabric-dark.css +50 -65
- package/styles/accordion/fabric.css +50 -65
- package/styles/accordion/fluent-dark.css +395 -0
- package/styles/accordion/fluent-dark.scss +1 -0
- package/styles/accordion/fluent.css +395 -0
- package/styles/accordion/fluent.scss +1 -0
- package/styles/accordion/highcontrast-light.css +49 -64
- package/styles/accordion/highcontrast.css +49 -64
- package/styles/accordion/material-dark.css +49 -64
- package/styles/accordion/material.css +49 -64
- package/styles/accordion/tailwind-dark.css +52 -67
- package/styles/accordion/tailwind.css +52 -67
- package/styles/bootstrap-dark.css +310 -69
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.css +310 -69
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.css +310 -69
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.css +415 -171
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.css +415 -171
- package/styles/bootstrap5.scss +1 -0
- package/styles/breadcrumb/bootstrap-dark.css +10 -2
- package/styles/breadcrumb/bootstrap.css +10 -2
- package/styles/breadcrumb/bootstrap4.css +10 -2
- package/styles/breadcrumb/bootstrap5-dark.css +12 -4
- package/styles/breadcrumb/bootstrap5.css +12 -4
- package/styles/breadcrumb/fabric-dark.css +10 -4
- package/styles/breadcrumb/fabric.css +10 -4
- package/styles/breadcrumb/fluent-dark.css +444 -0
- package/styles/breadcrumb/fluent-dark.scss +1 -0
- package/styles/breadcrumb/fluent.css +444 -0
- package/styles/breadcrumb/fluent.scss +1 -0
- package/styles/breadcrumb/highcontrast-light.css +10 -4
- package/styles/breadcrumb/highcontrast.css +10 -4
- package/styles/breadcrumb/material-dark.css +10 -2
- package/styles/breadcrumb/material.css +10 -2
- package/styles/breadcrumb/tailwind-dark.css +21 -4
- package/styles/breadcrumb/tailwind.css +27 -10
- package/styles/carousel/bootstrap-dark.css +236 -0
- package/styles/carousel/bootstrap-dark.scss +1 -0
- package/styles/carousel/bootstrap.css +236 -0
- package/styles/carousel/bootstrap.scss +1 -0
- package/styles/carousel/bootstrap4.css +236 -0
- package/styles/carousel/bootstrap4.scss +1 -0
- package/styles/carousel/bootstrap5-dark.css +236 -0
- package/styles/carousel/bootstrap5-dark.scss +1 -0
- package/styles/carousel/bootstrap5.css +236 -0
- package/styles/carousel/bootstrap5.scss +1 -0
- package/styles/carousel/fabric-dark.css +236 -0
- package/styles/carousel/fabric-dark.scss +1 -0
- package/styles/carousel/fabric.css +236 -0
- package/styles/carousel/fabric.scss +1 -0
- package/styles/carousel/fluent-dark.css +236 -0
- package/styles/carousel/fluent-dark.scss +1 -0
- package/styles/carousel/fluent.css +236 -0
- package/styles/carousel/fluent.scss +1 -0
- package/styles/carousel/highcontrast-light.css +236 -0
- package/styles/carousel/highcontrast-light.scss +1 -0
- package/styles/carousel/highcontrast.css +236 -0
- package/styles/carousel/highcontrast.scss +1 -0
- package/styles/carousel/material-dark.css +237 -0
- package/styles/carousel/material-dark.scss +1 -0
- package/styles/carousel/material.css +237 -0
- package/styles/carousel/material.scss +1 -0
- package/styles/carousel/tailwind-dark.css +237 -0
- package/styles/carousel/tailwind-dark.scss +1 -0
- package/styles/carousel/tailwind.css +237 -0
- package/styles/carousel/tailwind.scss +1 -0
- package/styles/context-menu/bootstrap-dark.css +5 -0
- package/styles/context-menu/bootstrap.css +5 -0
- package/styles/context-menu/bootstrap4.css +5 -0
- package/styles/context-menu/bootstrap5-dark.css +16 -8
- package/styles/context-menu/bootstrap5.css +16 -8
- package/styles/context-menu/fabric-dark.css +5 -0
- package/styles/context-menu/fabric.css +5 -0
- package/styles/context-menu/fluent-dark.css +388 -0
- package/styles/context-menu/fluent-dark.scss +1 -0
- package/styles/context-menu/fluent.css +388 -0
- package/styles/context-menu/fluent.scss +1 -0
- package/styles/context-menu/highcontrast-light.css +5 -0
- package/styles/context-menu/highcontrast.css +5 -0
- package/styles/context-menu/material-dark.css +5 -0
- package/styles/context-menu/material.css +5 -0
- package/styles/context-menu/tailwind-dark.css +11 -4
- package/styles/context-menu/tailwind.css +11 -4
- package/styles/fabric-dark.css +312 -73
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.css +312 -73
- package/styles/fabric.scss +1 -0
- package/styles/fluent-dark.css +10263 -0
- package/styles/fluent-dark.scss +11 -0
- package/styles/fluent.css +10263 -0
- package/styles/fluent.scss +11 -0
- package/styles/h-scroll/bootstrap-dark.css +0 -1
- package/styles/h-scroll/bootstrap.css +0 -1
- package/styles/h-scroll/bootstrap4.css +0 -1
- package/styles/h-scroll/bootstrap5-dark.css +10 -11
- package/styles/h-scroll/bootstrap5.css +10 -11
- package/styles/h-scroll/fabric-dark.css +0 -1
- package/styles/h-scroll/fabric.css +0 -1
- package/styles/h-scroll/fluent-dark.css +326 -0
- package/styles/h-scroll/fluent-dark.scss +1 -0
- package/styles/h-scroll/fluent.css +326 -0
- package/styles/h-scroll/fluent.scss +1 -0
- package/styles/h-scroll/highcontrast-light.css +0 -1
- package/styles/h-scroll/highcontrast.css +0 -1
- package/styles/h-scroll/material-dark.css +3 -4
- package/styles/h-scroll/material.css +0 -1
- package/styles/h-scroll/tailwind-dark.css +8 -9
- package/styles/h-scroll/tailwind.css +8 -9
- package/styles/highcontrast-light.css +311 -72
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.css +312 -73
- package/styles/highcontrast.scss +1 -0
- package/styles/material-dark.css +314 -73
- package/styles/material-dark.scss +1 -0
- package/styles/material.css +311 -70
- package/styles/material.scss +1 -0
- package/styles/menu/bootstrap-dark.css +1 -2
- package/styles/menu/bootstrap.css +1 -2
- package/styles/menu/bootstrap4.css +1 -2
- package/styles/menu/bootstrap5-dark.css +23 -24
- package/styles/menu/bootstrap5.css +23 -24
- package/styles/menu/fabric-dark.css +1 -2
- package/styles/menu/fabric.css +1 -2
- package/styles/menu/fluent-dark.css +1261 -0
- package/styles/menu/fluent-dark.scss +1 -0
- package/styles/menu/fluent.css +1261 -0
- package/styles/menu/fluent.scss +1 -0
- package/styles/menu/highcontrast-light.css +1 -2
- package/styles/menu/highcontrast.css +1 -2
- package/styles/menu/material-dark.css +1 -2
- package/styles/menu/material.css +1 -2
- package/styles/menu/tailwind-dark.css +18 -18
- package/styles/menu/tailwind.css +18 -18
- 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 +158 -0
- package/styles/sidebar/fluent-dark.scss +1 -0
- package/styles/sidebar/fluent.css +158 -0
- package/styles/sidebar/fluent.scss +1 -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 +23 -23
- package/styles/tab/bootstrap5.css +23 -23
- package/styles/tab/fabric-dark.css +1 -1
- package/styles/tab/fabric.css +1 -1
- package/styles/tab/fluent-dark.css +4394 -0
- package/styles/tab/fluent-dark.scss +1 -0
- package/styles/tab/fluent.css +4394 -0
- package/styles/tab/fluent.scss +1 -0
- package/styles/tab/highcontrast-light.css +1 -1
- package/styles/tab/highcontrast.css +2 -2
- package/styles/tab/material-dark.css +1 -1
- package/styles/tab/material.css +1 -1
- package/styles/tab/tailwind-dark.css +43 -45
- package/styles/tab/tailwind.css +43 -45
- package/styles/tailwind-dark.css +422 -171
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.css +428 -177
- package/styles/tailwind.scss +1 -0
- package/styles/toolbar/bootstrap-dark.css +4 -0
- package/styles/toolbar/bootstrap.css +4 -0
- package/styles/toolbar/bootstrap4.css +4 -0
- package/styles/toolbar/bootstrap5-dark.css +35 -31
- package/styles/toolbar/bootstrap5.css +35 -31
- package/styles/toolbar/fabric-dark.css +4 -0
- package/styles/toolbar/fabric.css +4 -0
- package/styles/toolbar/fluent-dark.css +1365 -0
- package/styles/toolbar/fluent-dark.scss +1 -0
- package/styles/toolbar/fluent.css +1365 -0
- package/styles/toolbar/fluent.scss +1 -0
- package/styles/toolbar/highcontrast-light.css +4 -0
- package/styles/toolbar/highcontrast.css +4 -0
- package/styles/toolbar/material-dark.css +4 -0
- package/styles/toolbar/material.css +4 -0
- package/styles/toolbar/tailwind-dark.css +10 -6
- package/styles/toolbar/tailwind.css +10 -6
- package/styles/treeview/bootstrap5-dark.css +4 -4
- package/styles/treeview/bootstrap5.css +4 -4
- package/styles/treeview/fluent-dark.css +1039 -0
- package/styles/treeview/fluent-dark.scss +1 -0
- package/styles/treeview/fluent.css +1039 -0
- package/styles/treeview/fluent.scss +1 -0
- package/styles/treeview/tailwind-dark.css +13 -14
- package/styles/treeview/tailwind.css +13 -14
- package/styles/v-scroll/fluent-dark.css +247 -0
- package/styles/v-scroll/fluent-dark.scss +1 -0
- package/styles/v-scroll/fluent.css +247 -0
- package/styles/v-scroll/fluent.scss +1 -0
- package/styles/v-scroll/tailwind-dark.css +4 -4
- package/styles/v-scroll/tailwind.css +4 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Accordion, Breadcrumb, ContextMenu, Menu, Sidebar, Tab, Toolbar, TreeView } from '@syncfusion/ej2-navigations';
|
|
1
|
+
import { Accordion, Breadcrumb, Carousel, ContextMenu, Menu, Sidebar, Tab, Toolbar, TreeView } from '@syncfusion/ej2-navigations';
|
|
2
2
|
import { ComponentBase, EJComponentDecorator, allVue, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
3
3
|
import { Vue } from 'vue-class-component';
|
|
4
|
-
import Vue$1 from 'vue';
|
|
5
4
|
import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
|
|
5
|
+
import Vue$1 from 'vue';
|
|
6
6
|
|
|
7
7
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8
8
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -10,6 +10,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
10
10
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11
11
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12
12
|
};
|
|
13
|
+
// {{VueImport}}
|
|
13
14
|
const isExecute = gh ? false : true;
|
|
14
15
|
let vueImport;
|
|
15
16
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -18,16 +19,47 @@ if (!isExecute || parseInt(allVue.version) < 3) {
|
|
|
18
19
|
else {
|
|
19
20
|
vueImport = Vue$1;
|
|
20
21
|
}
|
|
21
|
-
let AccordionItemsDirective =
|
|
22
|
-
|
|
22
|
+
let AccordionItemsDirective =
|
|
23
|
+
/* Start Options({
|
|
24
|
+
inject: {
|
|
25
|
+
custom: {
|
|
26
|
+
default: null
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}) End */
|
|
30
|
+
class AccordionItemsDirective extends vueImport {
|
|
31
|
+
constructor() {
|
|
32
|
+
super(arguments);
|
|
33
|
+
}
|
|
34
|
+
render(createElement) {
|
|
35
|
+
if (gh) {
|
|
36
|
+
let h = gh || createElement;
|
|
37
|
+
let slots = null;
|
|
38
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
39
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
40
|
+
}
|
|
41
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
42
|
+
}
|
|
23
43
|
return;
|
|
24
44
|
}
|
|
45
|
+
updated() {
|
|
46
|
+
if (gh && this.custom) {
|
|
47
|
+
this.custom();
|
|
48
|
+
}
|
|
49
|
+
}
|
|
25
50
|
getTag() {
|
|
26
51
|
return 'e-accordionitems';
|
|
27
52
|
}
|
|
28
53
|
};
|
|
29
54
|
AccordionItemsDirective = __decorate([
|
|
30
55
|
EJComponentDecorator({}, isExecute)
|
|
56
|
+
/* Start Options({
|
|
57
|
+
inject: {
|
|
58
|
+
custom: {
|
|
59
|
+
default: null
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}) End */
|
|
31
63
|
], AccordionItemsDirective);
|
|
32
64
|
const AccordionItemsPlugin = {
|
|
33
65
|
name: 'e-accordionitems',
|
|
@@ -84,7 +116,7 @@ for (let props of modelProps) {
|
|
|
84
116
|
}
|
|
85
117
|
const isExecute$1 = gh ? false : true;
|
|
86
118
|
/**
|
|
87
|
-
* Represents the VueJS
|
|
119
|
+
* Represents the VueJS Accordion Component.
|
|
88
120
|
* ```html
|
|
89
121
|
* <ejs-accordion></ejs-accordion>
|
|
90
122
|
* ```
|
|
@@ -93,7 +125,12 @@ let AccordionComponent =
|
|
|
93
125
|
/* Start Options({
|
|
94
126
|
props: props,
|
|
95
127
|
watch: watch,
|
|
96
|
-
emits: emitProbs
|
|
128
|
+
emits: emitProbs,
|
|
129
|
+
provide: function provide() {
|
|
130
|
+
return {
|
|
131
|
+
custom: this.custom
|
|
132
|
+
};
|
|
133
|
+
}
|
|
97
134
|
}) End */
|
|
98
135
|
class AccordionComponent extends ComponentBase {
|
|
99
136
|
constructor() {
|
|
@@ -112,6 +149,7 @@ class AccordionComponent extends ComponentBase {
|
|
|
112
149
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
113
150
|
this.ej2Instances.setProperties = this.setProperties;
|
|
114
151
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
152
|
+
this.updated = this.updated;
|
|
115
153
|
}
|
|
116
154
|
clearTemplate(templateNames) {
|
|
117
155
|
if (!templateNames) {
|
|
@@ -204,6 +242,9 @@ class AccordionComponent extends ComponentBase {
|
|
|
204
242
|
}
|
|
205
243
|
return h('div', slots);
|
|
206
244
|
}
|
|
245
|
+
custom() {
|
|
246
|
+
this.updated();
|
|
247
|
+
}
|
|
207
248
|
addItem(item, index) {
|
|
208
249
|
return this.ej2Instances.addItem(item, index);
|
|
209
250
|
}
|
|
@@ -233,7 +274,12 @@ AccordionComponent = __decorate$1([
|
|
|
233
274
|
/* Start Options({
|
|
234
275
|
props: props,
|
|
235
276
|
watch: watch,
|
|
236
|
-
emits: emitProbs
|
|
277
|
+
emits: emitProbs,
|
|
278
|
+
provide: function provide() {
|
|
279
|
+
return {
|
|
280
|
+
custom: this.custom
|
|
281
|
+
};
|
|
282
|
+
}
|
|
237
283
|
}) End */
|
|
238
284
|
], AccordionComponent);
|
|
239
285
|
const AccordionPlugin = {
|
|
@@ -251,6 +297,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
251
297
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
252
298
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
253
299
|
};
|
|
300
|
+
// {{VueImport}}
|
|
254
301
|
const isExecute$2 = gh ? false : true;
|
|
255
302
|
let vueImport$1;
|
|
256
303
|
if (!isExecute$2 || parseInt(allVue.version) < 3) {
|
|
@@ -259,16 +306,47 @@ if (!isExecute$2 || parseInt(allVue.version) < 3) {
|
|
|
259
306
|
else {
|
|
260
307
|
vueImport$1 = Vue$1;
|
|
261
308
|
}
|
|
262
|
-
let ItemsDirective =
|
|
263
|
-
|
|
309
|
+
let ItemsDirective =
|
|
310
|
+
/* Start Options({
|
|
311
|
+
inject: {
|
|
312
|
+
custom: {
|
|
313
|
+
default: null
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}) End */
|
|
317
|
+
class ItemsDirective extends vueImport$1 {
|
|
318
|
+
constructor() {
|
|
319
|
+
super(arguments);
|
|
320
|
+
}
|
|
321
|
+
render(createElement) {
|
|
322
|
+
if (gh) {
|
|
323
|
+
let h = gh || createElement;
|
|
324
|
+
let slots = null;
|
|
325
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
326
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
327
|
+
}
|
|
328
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
329
|
+
}
|
|
264
330
|
return;
|
|
265
331
|
}
|
|
332
|
+
updated() {
|
|
333
|
+
if (gh && this.custom) {
|
|
334
|
+
this.custom();
|
|
335
|
+
}
|
|
336
|
+
}
|
|
266
337
|
getTag() {
|
|
267
338
|
return 'e-items';
|
|
268
339
|
}
|
|
269
340
|
};
|
|
270
341
|
ItemsDirective = __decorate$2([
|
|
271
342
|
EJComponentDecorator({}, isExecute$2)
|
|
343
|
+
/* Start Options({
|
|
344
|
+
inject: {
|
|
345
|
+
custom: {
|
|
346
|
+
default: null
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}) End */
|
|
272
350
|
], ItemsDirective);
|
|
273
351
|
const ItemsPlugin = {
|
|
274
352
|
name: 'e-items',
|
|
@@ -334,7 +412,12 @@ let ToolbarComponent =
|
|
|
334
412
|
/* Start Options({
|
|
335
413
|
props: props,
|
|
336
414
|
watch: watch,
|
|
337
|
-
emits: emitProbs
|
|
415
|
+
emits: emitProbs,
|
|
416
|
+
provide: function provide() {
|
|
417
|
+
return {
|
|
418
|
+
custom: this.custom
|
|
419
|
+
};
|
|
420
|
+
}
|
|
338
421
|
}) End */
|
|
339
422
|
class ToolbarComponent extends ComponentBase {
|
|
340
423
|
constructor() {
|
|
@@ -351,6 +434,7 @@ class ToolbarComponent extends ComponentBase {
|
|
|
351
434
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
352
435
|
this.ej2Instances.setProperties = this.setProperties;
|
|
353
436
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
437
|
+
this.updated = this.updated;
|
|
354
438
|
}
|
|
355
439
|
clearTemplate(templateNames) {
|
|
356
440
|
if (!templateNames) {
|
|
@@ -405,6 +489,9 @@ class ToolbarComponent extends ComponentBase {
|
|
|
405
489
|
}
|
|
406
490
|
return h('div', slots);
|
|
407
491
|
}
|
|
492
|
+
custom() {
|
|
493
|
+
this.updated();
|
|
494
|
+
}
|
|
408
495
|
addItems(items, index) {
|
|
409
496
|
return this.ej2Instances.addItems(items, index);
|
|
410
497
|
}
|
|
@@ -431,7 +518,12 @@ ToolbarComponent = __decorate$3([
|
|
|
431
518
|
/* Start Options({
|
|
432
519
|
props: props,
|
|
433
520
|
watch: watch,
|
|
434
|
-
emits: emitProbs
|
|
521
|
+
emits: emitProbs,
|
|
522
|
+
provide: function provide() {
|
|
523
|
+
return {
|
|
524
|
+
custom: this.custom
|
|
525
|
+
};
|
|
526
|
+
}
|
|
435
527
|
}) End */
|
|
436
528
|
], ToolbarComponent);
|
|
437
529
|
const ToolbarPlugin = {
|
|
@@ -472,7 +564,12 @@ let ContextMenuComponent =
|
|
|
472
564
|
/* Start Options({
|
|
473
565
|
props: props,
|
|
474
566
|
watch: watch,
|
|
475
|
-
emits: emitProbs
|
|
567
|
+
emits: emitProbs,
|
|
568
|
+
provide: function provide() {
|
|
569
|
+
return {
|
|
570
|
+
custom: this.custom
|
|
571
|
+
};
|
|
572
|
+
}
|
|
476
573
|
}) End */
|
|
477
574
|
class ContextMenuComponent extends ComponentBase {
|
|
478
575
|
constructor() {
|
|
@@ -489,6 +586,7 @@ class ContextMenuComponent extends ComponentBase {
|
|
|
489
586
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
490
587
|
this.ej2Instances.setProperties = this.setProperties;
|
|
491
588
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
589
|
+
this.updated = this.updated;
|
|
492
590
|
}
|
|
493
591
|
clearTemplate(templateNames) {
|
|
494
592
|
if (!templateNames) {
|
|
@@ -543,6 +641,9 @@ class ContextMenuComponent extends ComponentBase {
|
|
|
543
641
|
}
|
|
544
642
|
return h('ul', slots);
|
|
545
643
|
}
|
|
644
|
+
custom() {
|
|
645
|
+
this.updated();
|
|
646
|
+
}
|
|
546
647
|
close() {
|
|
547
648
|
return this.ej2Instances.close();
|
|
548
649
|
}
|
|
@@ -581,7 +682,12 @@ ContextMenuComponent = __decorate$4([
|
|
|
581
682
|
/* Start Options({
|
|
582
683
|
props: props,
|
|
583
684
|
watch: watch,
|
|
584
|
-
emits: emitProbs
|
|
685
|
+
emits: emitProbs,
|
|
686
|
+
provide: function provide() {
|
|
687
|
+
return {
|
|
688
|
+
custom: this.custom
|
|
689
|
+
};
|
|
690
|
+
}
|
|
585
691
|
}) End */
|
|
586
692
|
], ContextMenuComponent);
|
|
587
693
|
const ContextMenuPlugin = {
|
|
@@ -597,6 +703,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
597
703
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
598
704
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
599
705
|
};
|
|
706
|
+
// {{VueImport}}
|
|
600
707
|
const isExecute$5 = gh ? false : true;
|
|
601
708
|
let vueImport$2;
|
|
602
709
|
if (!isExecute$5 || parseInt(allVue.version) < 3) {
|
|
@@ -605,16 +712,47 @@ if (!isExecute$5 || parseInt(allVue.version) < 3) {
|
|
|
605
712
|
else {
|
|
606
713
|
vueImport$2 = Vue$1;
|
|
607
714
|
}
|
|
608
|
-
let BreadcrumbItemsDirective =
|
|
609
|
-
|
|
715
|
+
let BreadcrumbItemsDirective =
|
|
716
|
+
/* Start Options({
|
|
717
|
+
inject: {
|
|
718
|
+
custom: {
|
|
719
|
+
default: null
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
}) End */
|
|
723
|
+
class BreadcrumbItemsDirective extends vueImport$2 {
|
|
724
|
+
constructor() {
|
|
725
|
+
super(arguments);
|
|
726
|
+
}
|
|
727
|
+
render(createElement) {
|
|
728
|
+
if (gh) {
|
|
729
|
+
let h = gh || createElement;
|
|
730
|
+
let slots = null;
|
|
731
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
732
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
733
|
+
}
|
|
734
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
735
|
+
}
|
|
610
736
|
return;
|
|
611
737
|
}
|
|
738
|
+
updated() {
|
|
739
|
+
if (gh && this.custom) {
|
|
740
|
+
this.custom();
|
|
741
|
+
}
|
|
742
|
+
}
|
|
612
743
|
getTag() {
|
|
613
744
|
return 'e-breadcrumb-items';
|
|
614
745
|
}
|
|
615
746
|
};
|
|
616
747
|
BreadcrumbItemsDirective = __decorate$5([
|
|
617
748
|
EJComponentDecorator({}, isExecute$5)
|
|
749
|
+
/* Start Options({
|
|
750
|
+
inject: {
|
|
751
|
+
custom: {
|
|
752
|
+
default: null
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
}) End */
|
|
618
756
|
], BreadcrumbItemsDirective);
|
|
619
757
|
const BreadcrumbItemsPlugin = {
|
|
620
758
|
name: 'e-breadcrumb-items',
|
|
@@ -680,7 +818,12 @@ let BreadcrumbComponent =
|
|
|
680
818
|
/* Start Options({
|
|
681
819
|
props: props,
|
|
682
820
|
watch: watch,
|
|
683
|
-
emits: emitProbs
|
|
821
|
+
emits: emitProbs,
|
|
822
|
+
provide: function provide() {
|
|
823
|
+
return {
|
|
824
|
+
custom: this.custom
|
|
825
|
+
};
|
|
826
|
+
}
|
|
684
827
|
}) End */
|
|
685
828
|
class BreadcrumbComponent extends ComponentBase {
|
|
686
829
|
constructor() {
|
|
@@ -699,6 +842,7 @@ class BreadcrumbComponent extends ComponentBase {
|
|
|
699
842
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
700
843
|
this.ej2Instances.setProperties = this.setProperties;
|
|
701
844
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
845
|
+
this.updated = this.updated;
|
|
702
846
|
}
|
|
703
847
|
clearTemplate(templateNames) {
|
|
704
848
|
if (!templateNames) {
|
|
@@ -791,6 +935,9 @@ class BreadcrumbComponent extends ComponentBase {
|
|
|
791
935
|
}
|
|
792
936
|
return h('nav', slots);
|
|
793
937
|
}
|
|
938
|
+
custom() {
|
|
939
|
+
this.updated();
|
|
940
|
+
}
|
|
794
941
|
};
|
|
795
942
|
BreadcrumbComponent = __decorate$6([
|
|
796
943
|
EJComponentDecorator({
|
|
@@ -802,7 +949,12 @@ BreadcrumbComponent = __decorate$6([
|
|
|
802
949
|
/* Start Options({
|
|
803
950
|
props: props,
|
|
804
951
|
watch: watch,
|
|
805
|
-
emits: emitProbs
|
|
952
|
+
emits: emitProbs,
|
|
953
|
+
provide: function provide() {
|
|
954
|
+
return {
|
|
955
|
+
custom: this.custom
|
|
956
|
+
};
|
|
957
|
+
}
|
|
806
958
|
}) End */
|
|
807
959
|
], BreadcrumbComponent);
|
|
808
960
|
const BreadcrumbPlugin = {
|
|
@@ -820,6 +972,7 @@ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
820
972
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
821
973
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
822
974
|
};
|
|
975
|
+
// {{VueImport}}
|
|
823
976
|
const isExecute$7 = gh ? false : true;
|
|
824
977
|
let vueImport$3;
|
|
825
978
|
if (!isExecute$7 || parseInt(allVue.version) < 3) {
|
|
@@ -828,16 +981,328 @@ if (!isExecute$7 || parseInt(allVue.version) < 3) {
|
|
|
828
981
|
else {
|
|
829
982
|
vueImport$3 = Vue$1;
|
|
830
983
|
}
|
|
831
|
-
let
|
|
984
|
+
let CarouselItemsDirective =
|
|
985
|
+
/* Start Options({
|
|
986
|
+
inject: {
|
|
987
|
+
custom: {
|
|
988
|
+
default: null
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
}) End */
|
|
992
|
+
class CarouselItemsDirective extends vueImport$3 {
|
|
993
|
+
constructor() {
|
|
994
|
+
super(arguments);
|
|
995
|
+
}
|
|
996
|
+
render(createElement) {
|
|
997
|
+
if (gh) {
|
|
998
|
+
let h = gh || createElement;
|
|
999
|
+
let slots = null;
|
|
1000
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1001
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1002
|
+
}
|
|
1003
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
1004
|
+
}
|
|
1005
|
+
return;
|
|
1006
|
+
}
|
|
1007
|
+
updated() {
|
|
1008
|
+
if (gh && this.custom) {
|
|
1009
|
+
this.custom();
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
getTag() {
|
|
1013
|
+
return 'e-carousel-items';
|
|
1014
|
+
}
|
|
1015
|
+
};
|
|
1016
|
+
CarouselItemsDirective = __decorate$7([
|
|
1017
|
+
EJComponentDecorator({}, isExecute$7)
|
|
1018
|
+
/* Start Options({
|
|
1019
|
+
inject: {
|
|
1020
|
+
custom: {
|
|
1021
|
+
default: null
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
}) End */
|
|
1025
|
+
], CarouselItemsDirective);
|
|
1026
|
+
const CarouselItemsPlugin = {
|
|
1027
|
+
name: 'e-carousel-items',
|
|
1028
|
+
install(Vue$$1) {
|
|
1029
|
+
Vue$$1.component(CarouselItemsPlugin.name, CarouselItemsDirective);
|
|
1030
|
+
}
|
|
1031
|
+
};
|
|
1032
|
+
/**
|
|
1033
|
+
* `e-carousel-item` directive represent a item of the Vue Carousel.
|
|
1034
|
+
* It must be contained in a Carousel component(`ejs-carousel`).
|
|
1035
|
+
* ```html
|
|
1036
|
+
* <ejs-carousel>
|
|
1037
|
+
* <e-carousel-items>
|
|
1038
|
+
* <e-carousel-item template='itemTemplate'></e-carousel-item>
|
|
1039
|
+
* <e-carousel-item template='secondItemTemplate'></e-carousel-item>
|
|
1040
|
+
* </e-carousel-items>
|
|
1041
|
+
* </ejs-carousel>
|
|
1042
|
+
* ```
|
|
1043
|
+
*/
|
|
1044
|
+
let CarouselItemDirective = class CarouselItemDirective extends vueImport$3 {
|
|
832
1045
|
render() {
|
|
833
1046
|
return;
|
|
834
1047
|
}
|
|
835
1048
|
getTag() {
|
|
836
|
-
return 'e-
|
|
1049
|
+
return 'e-carousel-item';
|
|
837
1050
|
}
|
|
838
1051
|
};
|
|
839
|
-
|
|
1052
|
+
CarouselItemDirective = __decorate$7([
|
|
840
1053
|
EJComponentDecorator({}, isExecute$7)
|
|
1054
|
+
], CarouselItemDirective);
|
|
1055
|
+
const CarouselItemPlugin = {
|
|
1056
|
+
name: 'e-carousel-item',
|
|
1057
|
+
install(Vue$$1) {
|
|
1058
|
+
Vue$$1.component(CarouselItemPlugin.name, CarouselItemDirective);
|
|
1059
|
+
}
|
|
1060
|
+
};
|
|
1061
|
+
|
|
1062
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1063
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1064
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1065
|
+
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;
|
|
1066
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1067
|
+
};
|
|
1068
|
+
// {{VueImport}}
|
|
1069
|
+
const properties$4 = ['isLazyUpdate', 'animation', 'autoPlay', 'buttonsVisibility', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enableTouchSwipe', 'height', 'htmlAttributes', 'indicatorsTemplate', 'interval', 'itemTemplate', 'items', 'locale', 'loop', 'nextButtonTemplate', 'playButtonTemplate', 'previousButtonTemplate', 'selectedIndex', 'showIndicators', 'showPlayButton', 'width', 'slideChanged', 'slideChanging'];
|
|
1070
|
+
const modelProps$4 = ['selectedIndex'];
|
|
1071
|
+
const testProp$4 = getProps({ props: properties$4 });
|
|
1072
|
+
const props$4 = testProp$4[0];
|
|
1073
|
+
const watch$4 = testProp$4[1];
|
|
1074
|
+
const emitProbs$4 = Object.keys(watch$4);
|
|
1075
|
+
emitProbs$4.push('modelchanged');
|
|
1076
|
+
for (let props of modelProps$4) {
|
|
1077
|
+
emitProbs$4.push('update:' + props);
|
|
1078
|
+
}
|
|
1079
|
+
const isExecute$8 = gh ? false : true;
|
|
1080
|
+
/**
|
|
1081
|
+
* Represents the VueJS Carousel Component.
|
|
1082
|
+
* ```html
|
|
1083
|
+
* <ejs-carousel :items='carouselItems'></ejs-carousel>
|
|
1084
|
+
* ```
|
|
1085
|
+
*/
|
|
1086
|
+
let CarouselComponent =
|
|
1087
|
+
/* Start Options({
|
|
1088
|
+
props: props,
|
|
1089
|
+
watch: watch,
|
|
1090
|
+
emits: emitProbs,
|
|
1091
|
+
provide: function provide() {
|
|
1092
|
+
return {
|
|
1093
|
+
custom: this.custom
|
|
1094
|
+
};
|
|
1095
|
+
}
|
|
1096
|
+
}) End */
|
|
1097
|
+
class CarouselComponent extends ComponentBase {
|
|
1098
|
+
constructor() {
|
|
1099
|
+
super(arguments);
|
|
1100
|
+
this.propKeys = properties$4;
|
|
1101
|
+
this.models = modelProps$4;
|
|
1102
|
+
this.hasChildDirective = true;
|
|
1103
|
+
this.hasInjectedModules = false;
|
|
1104
|
+
this.tagMapper = { "e-carousel-items": "e-carousel-item" };
|
|
1105
|
+
this.tagNameMapper = { "e-carousel-items": "e-items" };
|
|
1106
|
+
this.isVue3 = !isExecute$8;
|
|
1107
|
+
this.ej2Instances = new Carousel({});
|
|
1108
|
+
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
1109
|
+
this.ej2Instances.trigger = this.trigger;
|
|
1110
|
+
this.bindProperties();
|
|
1111
|
+
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
1112
|
+
this.ej2Instances.setProperties = this.setProperties;
|
|
1113
|
+
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1114
|
+
this.updated = this.updated;
|
|
1115
|
+
}
|
|
1116
|
+
clearTemplate(templateNames) {
|
|
1117
|
+
if (!templateNames) {
|
|
1118
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
1119
|
+
}
|
|
1120
|
+
if (templateNames.length && this.templateCollection) {
|
|
1121
|
+
for (let tempName of templateNames) {
|
|
1122
|
+
let elementCollection = this.templateCollection[tempName];
|
|
1123
|
+
if (elementCollection && elementCollection.length) {
|
|
1124
|
+
for (let ele of elementCollection) {
|
|
1125
|
+
let destroy = getValue('__vue__.$destroy', ele);
|
|
1126
|
+
if (destroy) {
|
|
1127
|
+
ele.__vue__.$destroy();
|
|
1128
|
+
}
|
|
1129
|
+
if (ele.innerHTML) {
|
|
1130
|
+
ele.innerHTML = '';
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
delete this.templateCollection[tempName];
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
setProperties(prop, muteOnChange) {
|
|
1139
|
+
if (this.isVue3) {
|
|
1140
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1141
|
+
}
|
|
1142
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
1143
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
1144
|
+
}
|
|
1145
|
+
if (prop && this.models && this.models.length) {
|
|
1146
|
+
Object.keys(prop).map((key) => {
|
|
1147
|
+
this.models.map((model) => {
|
|
1148
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
1149
|
+
if (this.isVue3) {
|
|
1150
|
+
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
1151
|
+
}
|
|
1152
|
+
else {
|
|
1153
|
+
this.$emit('update:' + key, prop[key]);
|
|
1154
|
+
this.$emit('modelchanged', prop[key]);
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
});
|
|
1158
|
+
});
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
trigger(eventName, eventProp, successHandler) {
|
|
1162
|
+
if (!isExecute$8) {
|
|
1163
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1164
|
+
}
|
|
1165
|
+
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1166
|
+
let key = this.models.toString().match(/checked|value/) || [];
|
|
1167
|
+
let propKey = key[0];
|
|
1168
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1169
|
+
if (!isExecute$8) {
|
|
1170
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1171
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1172
|
+
}
|
|
1173
|
+
else {
|
|
1174
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
1175
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1176
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1181
|
+
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
1182
|
+
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1183
|
+
let propKey = key[0];
|
|
1184
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1185
|
+
if (!isExecute$8) {
|
|
1186
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1187
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1188
|
+
}
|
|
1189
|
+
else {
|
|
1190
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1191
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
1196
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
render(createElement) {
|
|
1200
|
+
let h = gh || createElement;
|
|
1201
|
+
let slots = null;
|
|
1202
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1203
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1204
|
+
}
|
|
1205
|
+
return h('div', slots);
|
|
1206
|
+
}
|
|
1207
|
+
custom() {
|
|
1208
|
+
this.updated();
|
|
1209
|
+
}
|
|
1210
|
+
next() {
|
|
1211
|
+
return this.ej2Instances.next();
|
|
1212
|
+
}
|
|
1213
|
+
pause() {
|
|
1214
|
+
return this.ej2Instances.pause();
|
|
1215
|
+
}
|
|
1216
|
+
play() {
|
|
1217
|
+
return this.ej2Instances.play();
|
|
1218
|
+
}
|
|
1219
|
+
prev() {
|
|
1220
|
+
return this.ej2Instances.prev();
|
|
1221
|
+
}
|
|
1222
|
+
};
|
|
1223
|
+
CarouselComponent = __decorate$8([
|
|
1224
|
+
EJComponentDecorator({
|
|
1225
|
+
props: properties$4,
|
|
1226
|
+
model: {
|
|
1227
|
+
event: 'modelchanged'
|
|
1228
|
+
}
|
|
1229
|
+
}, isExecute$8)
|
|
1230
|
+
/* Start Options({
|
|
1231
|
+
props: props,
|
|
1232
|
+
watch: watch,
|
|
1233
|
+
emits: emitProbs,
|
|
1234
|
+
provide: function provide() {
|
|
1235
|
+
return {
|
|
1236
|
+
custom: this.custom
|
|
1237
|
+
};
|
|
1238
|
+
}
|
|
1239
|
+
}) End */
|
|
1240
|
+
], CarouselComponent);
|
|
1241
|
+
const CarouselPlugin = {
|
|
1242
|
+
name: 'ejs-carousel',
|
|
1243
|
+
install(Vue$$1) {
|
|
1244
|
+
Vue$$1.component(CarouselPlugin.name, CarouselComponent);
|
|
1245
|
+
Vue$$1.component(CarouselItemPlugin.name, CarouselItemDirective);
|
|
1246
|
+
Vue$$1.component(CarouselItemsPlugin.name, CarouselItemsDirective);
|
|
1247
|
+
}
|
|
1248
|
+
};
|
|
1249
|
+
|
|
1250
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1251
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1252
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1253
|
+
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;
|
|
1254
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1255
|
+
};
|
|
1256
|
+
// {{VueImport}}
|
|
1257
|
+
const isExecute$9 = gh ? false : true;
|
|
1258
|
+
let vueImport$4;
|
|
1259
|
+
if (!isExecute$9 || parseInt(allVue.version) < 3) {
|
|
1260
|
+
vueImport$4 = Vue;
|
|
1261
|
+
}
|
|
1262
|
+
else {
|
|
1263
|
+
vueImport$4 = Vue$1;
|
|
1264
|
+
}
|
|
1265
|
+
let TabItemsDirective =
|
|
1266
|
+
/* Start Options({
|
|
1267
|
+
inject: {
|
|
1268
|
+
custom: {
|
|
1269
|
+
default: null
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
}) End */
|
|
1273
|
+
class TabItemsDirective extends vueImport$4 {
|
|
1274
|
+
constructor() {
|
|
1275
|
+
super(arguments);
|
|
1276
|
+
}
|
|
1277
|
+
render(createElement) {
|
|
1278
|
+
if (gh) {
|
|
1279
|
+
let h = gh || createElement;
|
|
1280
|
+
let slots = null;
|
|
1281
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1282
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1283
|
+
}
|
|
1284
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
1285
|
+
}
|
|
1286
|
+
return;
|
|
1287
|
+
}
|
|
1288
|
+
updated() {
|
|
1289
|
+
if (gh && this.custom) {
|
|
1290
|
+
this.custom();
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
getTag() {
|
|
1294
|
+
return 'e-tabitems';
|
|
1295
|
+
}
|
|
1296
|
+
};
|
|
1297
|
+
TabItemsDirective = __decorate$9([
|
|
1298
|
+
EJComponentDecorator({}, isExecute$9)
|
|
1299
|
+
/* Start Options({
|
|
1300
|
+
inject: {
|
|
1301
|
+
custom: {
|
|
1302
|
+
default: null
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
}) End */
|
|
841
1306
|
], TabItemsDirective);
|
|
842
1307
|
const TabItemsPlugin = {
|
|
843
1308
|
name: 'e-tabitems',
|
|
@@ -857,7 +1322,7 @@ const TabItemsPlugin = {
|
|
|
857
1322
|
* </ejs-tab>
|
|
858
1323
|
* ```
|
|
859
1324
|
*/
|
|
860
|
-
let TabItemDirective = class TabItemDirective extends vueImport$
|
|
1325
|
+
let TabItemDirective = class TabItemDirective extends vueImport$4 {
|
|
861
1326
|
render() {
|
|
862
1327
|
return;
|
|
863
1328
|
}
|
|
@@ -865,8 +1330,8 @@ let TabItemDirective = class TabItemDirective extends vueImport$3 {
|
|
|
865
1330
|
return 'e-tabitem';
|
|
866
1331
|
}
|
|
867
1332
|
};
|
|
868
|
-
TabItemDirective = __decorate$
|
|
869
|
-
EJComponentDecorator({}, isExecute$
|
|
1333
|
+
TabItemDirective = __decorate$9([
|
|
1334
|
+
EJComponentDecorator({}, isExecute$9)
|
|
870
1335
|
], TabItemDirective);
|
|
871
1336
|
const TabItemPlugin = {
|
|
872
1337
|
name: 'e-tabitem',
|
|
@@ -875,24 +1340,24 @@ const TabItemPlugin = {
|
|
|
875
1340
|
}
|
|
876
1341
|
};
|
|
877
1342
|
|
|
878
|
-
var __decorate$
|
|
1343
|
+
var __decorate$10 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
879
1344
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
880
1345
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
881
1346
|
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;
|
|
882
1347
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
883
1348
|
};
|
|
884
1349
|
// {{VueImport}}
|
|
885
|
-
const properties$
|
|
886
|
-
const modelProps$
|
|
887
|
-
const testProp$
|
|
888
|
-
const props$
|
|
889
|
-
const watch$
|
|
890
|
-
const emitProbs$
|
|
891
|
-
emitProbs$
|
|
892
|
-
for (let props of modelProps$
|
|
893
|
-
emitProbs$
|
|
1350
|
+
const properties$5 = ['isLazyUpdate', 'allowDragAndDrop', 'animation', 'cssClass', 'dragArea', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'headerPlacement', 'height', 'heightAdjustMode', 'items', 'loadOn', 'locale', 'overflowMode', 'reorderActiveTab', 'scrollStep', 'selectedItem', 'showCloseButton', 'width', 'added', 'adding', 'created', 'destroyed', 'dragged', 'dragging', 'onDragStart', 'removed', 'removing', 'selected', 'selecting'];
|
|
1351
|
+
const modelProps$5 = [];
|
|
1352
|
+
const testProp$5 = getProps({ props: properties$5 });
|
|
1353
|
+
const props$5 = testProp$5[0];
|
|
1354
|
+
const watch$5 = testProp$5[1];
|
|
1355
|
+
const emitProbs$5 = Object.keys(watch$5);
|
|
1356
|
+
emitProbs$5.push('modelchanged');
|
|
1357
|
+
for (let props of modelProps$5) {
|
|
1358
|
+
emitProbs$5.push('update:' + props);
|
|
894
1359
|
}
|
|
895
|
-
const isExecute$
|
|
1360
|
+
const isExecute$10 = gh ? false : true;
|
|
896
1361
|
/**
|
|
897
1362
|
* Represents the VueJS Tab Component.
|
|
898
1363
|
* ```html
|
|
@@ -903,23 +1368,29 @@ let TabComponent =
|
|
|
903
1368
|
/* Start Options({
|
|
904
1369
|
props: props,
|
|
905
1370
|
watch: watch,
|
|
906
|
-
emits: emitProbs
|
|
1371
|
+
emits: emitProbs,
|
|
1372
|
+
provide: function provide() {
|
|
1373
|
+
return {
|
|
1374
|
+
custom: this.custom
|
|
1375
|
+
};
|
|
1376
|
+
}
|
|
907
1377
|
}) End */
|
|
908
1378
|
class TabComponent extends ComponentBase {
|
|
909
1379
|
constructor() {
|
|
910
1380
|
super(arguments);
|
|
911
|
-
this.propKeys = properties$
|
|
912
|
-
this.models = modelProps$
|
|
1381
|
+
this.propKeys = properties$5;
|
|
1382
|
+
this.models = modelProps$5;
|
|
913
1383
|
this.hasChildDirective = true;
|
|
914
1384
|
this.hasInjectedModules = false;
|
|
915
1385
|
this.tagMapper = { "e-tabitems": "e-tabitem" };
|
|
916
1386
|
this.tagNameMapper = { "e-tabitems": "e-items" };
|
|
917
|
-
this.isVue3 = !isExecute$
|
|
1387
|
+
this.isVue3 = !isExecute$10;
|
|
918
1388
|
this.ej2Instances = new Tab({});
|
|
919
1389
|
this.bindProperties();
|
|
920
1390
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
921
1391
|
this.ej2Instances.setProperties = this.setProperties;
|
|
922
1392
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1393
|
+
this.updated = this.updated;
|
|
923
1394
|
}
|
|
924
1395
|
clearTemplate(templateNames) {
|
|
925
1396
|
if (!templateNames) {
|
|
@@ -974,6 +1445,9 @@ class TabComponent extends ComponentBase {
|
|
|
974
1445
|
}
|
|
975
1446
|
return h('div', slots);
|
|
976
1447
|
}
|
|
1448
|
+
custom() {
|
|
1449
|
+
this.updated();
|
|
1450
|
+
}
|
|
977
1451
|
addTab(items, index) {
|
|
978
1452
|
return this.ej2Instances.addTab(items, index);
|
|
979
1453
|
}
|
|
@@ -1002,14 +1476,19 @@ class TabComponent extends ComponentBase {
|
|
|
1002
1476
|
return this.ej2Instances.select(args, event);
|
|
1003
1477
|
}
|
|
1004
1478
|
};
|
|
1005
|
-
TabComponent = __decorate$
|
|
1479
|
+
TabComponent = __decorate$10([
|
|
1006
1480
|
EJComponentDecorator({
|
|
1007
|
-
props: properties$
|
|
1008
|
-
}, isExecute$
|
|
1481
|
+
props: properties$5
|
|
1482
|
+
}, isExecute$10)
|
|
1009
1483
|
/* Start Options({
|
|
1010
1484
|
props: props,
|
|
1011
1485
|
watch: watch,
|
|
1012
|
-
emits: emitProbs
|
|
1486
|
+
emits: emitProbs,
|
|
1487
|
+
provide: function provide() {
|
|
1488
|
+
return {
|
|
1489
|
+
custom: this.custom
|
|
1490
|
+
};
|
|
1491
|
+
}
|
|
1013
1492
|
}) End */
|
|
1014
1493
|
], TabComponent);
|
|
1015
1494
|
const TabPlugin = {
|
|
@@ -1021,24 +1500,24 @@ const TabPlugin = {
|
|
|
1021
1500
|
}
|
|
1022
1501
|
};
|
|
1023
1502
|
|
|
1024
|
-
var __decorate$
|
|
1503
|
+
var __decorate$11 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1025
1504
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1026
1505
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1027
1506
|
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;
|
|
1028
1507
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1029
1508
|
};
|
|
1030
1509
|
// {{VueImport}}
|
|
1031
|
-
const properties$
|
|
1032
|
-
const modelProps$
|
|
1033
|
-
const testProp$
|
|
1034
|
-
const props$
|
|
1035
|
-
const watch$
|
|
1036
|
-
const emitProbs$
|
|
1037
|
-
emitProbs$
|
|
1038
|
-
for (let props of modelProps$
|
|
1039
|
-
emitProbs$
|
|
1510
|
+
const properties$6 = ['isLazyUpdate', 'allowDragAndDrop', 'allowEditing', 'allowMultiSelection', 'allowTextWrap', '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'];
|
|
1511
|
+
const modelProps$6 = [];
|
|
1512
|
+
const testProp$6 = getProps({ props: properties$6 });
|
|
1513
|
+
const props$6 = testProp$6[0];
|
|
1514
|
+
const watch$6 = testProp$6[1];
|
|
1515
|
+
const emitProbs$6 = Object.keys(watch$6);
|
|
1516
|
+
emitProbs$6.push('modelchanged');
|
|
1517
|
+
for (let props of modelProps$6) {
|
|
1518
|
+
emitProbs$6.push('update:' + props);
|
|
1040
1519
|
}
|
|
1041
|
-
const isExecute$
|
|
1520
|
+
const isExecute$11 = gh ? false : true;
|
|
1042
1521
|
/**
|
|
1043
1522
|
* Represents the EJ2 VueJS TreeView Component.
|
|
1044
1523
|
* ```html
|
|
@@ -1049,23 +1528,29 @@ let TreeViewComponent =
|
|
|
1049
1528
|
/* Start Options({
|
|
1050
1529
|
props: props,
|
|
1051
1530
|
watch: watch,
|
|
1052
|
-
emits: emitProbs
|
|
1531
|
+
emits: emitProbs,
|
|
1532
|
+
provide: function provide() {
|
|
1533
|
+
return {
|
|
1534
|
+
custom: this.custom
|
|
1535
|
+
};
|
|
1536
|
+
}
|
|
1053
1537
|
}) End */
|
|
1054
1538
|
class TreeViewComponent extends ComponentBase {
|
|
1055
1539
|
constructor() {
|
|
1056
1540
|
super(arguments);
|
|
1057
|
-
this.propKeys = properties$
|
|
1058
|
-
this.models = modelProps$
|
|
1541
|
+
this.propKeys = properties$6;
|
|
1542
|
+
this.models = modelProps$6;
|
|
1059
1543
|
this.hasChildDirective = false;
|
|
1060
1544
|
this.hasInjectedModules = false;
|
|
1061
1545
|
this.tagMapper = {};
|
|
1062
1546
|
this.tagNameMapper = {};
|
|
1063
|
-
this.isVue3 = !isExecute$
|
|
1547
|
+
this.isVue3 = !isExecute$11;
|
|
1064
1548
|
this.ej2Instances = new TreeView({});
|
|
1065
1549
|
this.bindProperties();
|
|
1066
1550
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
1067
1551
|
this.ej2Instances.setProperties = this.setProperties;
|
|
1068
1552
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1553
|
+
this.updated = this.updated;
|
|
1069
1554
|
}
|
|
1070
1555
|
clearTemplate(templateNames) {
|
|
1071
1556
|
if (!templateNames) {
|
|
@@ -1120,6 +1605,9 @@ class TreeViewComponent extends ComponentBase {
|
|
|
1120
1605
|
}
|
|
1121
1606
|
return h('div', slots);
|
|
1122
1607
|
}
|
|
1608
|
+
custom() {
|
|
1609
|
+
this.updated();
|
|
1610
|
+
}
|
|
1123
1611
|
addNodes(nodes, target, index, preventTargetExpand) {
|
|
1124
1612
|
return this.ej2Instances.addNodes(nodes, target, index, preventTargetExpand);
|
|
1125
1613
|
}
|
|
@@ -1172,14 +1660,19 @@ class TreeViewComponent extends ComponentBase {
|
|
|
1172
1660
|
return this.ej2Instances.updateNode(target, newText);
|
|
1173
1661
|
}
|
|
1174
1662
|
};
|
|
1175
|
-
TreeViewComponent = __decorate$
|
|
1663
|
+
TreeViewComponent = __decorate$11([
|
|
1176
1664
|
EJComponentDecorator({
|
|
1177
|
-
props: properties$
|
|
1178
|
-
}, isExecute$
|
|
1665
|
+
props: properties$6
|
|
1666
|
+
}, isExecute$11)
|
|
1179
1667
|
/* Start Options({
|
|
1180
1668
|
props: props,
|
|
1181
1669
|
watch: watch,
|
|
1182
|
-
emits: emitProbs
|
|
1670
|
+
emits: emitProbs,
|
|
1671
|
+
provide: function provide() {
|
|
1672
|
+
return {
|
|
1673
|
+
custom: this.custom
|
|
1674
|
+
};
|
|
1675
|
+
}
|
|
1183
1676
|
}) End */
|
|
1184
1677
|
], TreeViewComponent);
|
|
1185
1678
|
const TreeViewPlugin = {
|
|
@@ -1189,24 +1682,24 @@ const TreeViewPlugin = {
|
|
|
1189
1682
|
}
|
|
1190
1683
|
};
|
|
1191
1684
|
|
|
1192
|
-
var __decorate$
|
|
1685
|
+
var __decorate$12 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1193
1686
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1194
1687
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1195
1688
|
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;
|
|
1196
1689
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1197
1690
|
};
|
|
1198
1691
|
// {{VueImport}}
|
|
1199
|
-
const properties$
|
|
1200
|
-
const modelProps$
|
|
1201
|
-
const testProp$
|
|
1202
|
-
const props$
|
|
1203
|
-
const watch$
|
|
1204
|
-
const emitProbs$
|
|
1205
|
-
emitProbs$
|
|
1206
|
-
for (let props of modelProps$
|
|
1207
|
-
emitProbs$
|
|
1692
|
+
const properties$7 = ['isLazyUpdate', 'animate', 'closeOnDocumentClick', 'dockSize', 'enableDock', 'enableGestures', 'enablePersistence', 'enableRtl', 'height', 'isOpen', 'locale', 'mediaQuery', 'position', 'showBackdrop', 'target', 'type', 'width', 'zIndex', 'change', 'close', 'created', 'destroyed', 'open'];
|
|
1693
|
+
const modelProps$7 = ['isOpen'];
|
|
1694
|
+
const testProp$7 = getProps({ props: properties$7 });
|
|
1695
|
+
const props$7 = testProp$7[0];
|
|
1696
|
+
const watch$7 = testProp$7[1];
|
|
1697
|
+
const emitProbs$7 = Object.keys(watch$7);
|
|
1698
|
+
emitProbs$7.push('modelchanged');
|
|
1699
|
+
for (let props of modelProps$7) {
|
|
1700
|
+
emitProbs$7.push('update:' + props);
|
|
1208
1701
|
}
|
|
1209
|
-
const isExecute$
|
|
1702
|
+
const isExecute$12 = gh ? false : true;
|
|
1210
1703
|
/**
|
|
1211
1704
|
* Represents the Essential JS 2 VueJS Sidebar Component.
|
|
1212
1705
|
* ```html
|
|
@@ -1217,18 +1710,23 @@ let SidebarComponent =
|
|
|
1217
1710
|
/* Start Options({
|
|
1218
1711
|
props: props,
|
|
1219
1712
|
watch: watch,
|
|
1220
|
-
emits: emitProbs
|
|
1713
|
+
emits: emitProbs,
|
|
1714
|
+
provide: function provide() {
|
|
1715
|
+
return {
|
|
1716
|
+
custom: this.custom
|
|
1717
|
+
};
|
|
1718
|
+
}
|
|
1221
1719
|
}) End */
|
|
1222
1720
|
class SidebarComponent extends ComponentBase {
|
|
1223
1721
|
constructor() {
|
|
1224
1722
|
super(arguments);
|
|
1225
|
-
this.propKeys = properties$
|
|
1226
|
-
this.models = modelProps$
|
|
1723
|
+
this.propKeys = properties$7;
|
|
1724
|
+
this.models = modelProps$7;
|
|
1227
1725
|
this.hasChildDirective = false;
|
|
1228
1726
|
this.hasInjectedModules = false;
|
|
1229
1727
|
this.tagMapper = {};
|
|
1230
1728
|
this.tagNameMapper = {};
|
|
1231
|
-
this.isVue3 = !isExecute$
|
|
1729
|
+
this.isVue3 = !isExecute$12;
|
|
1232
1730
|
this.ej2Instances = new Sidebar({});
|
|
1233
1731
|
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
1234
1732
|
this.ej2Instances.trigger = this.trigger;
|
|
@@ -1236,6 +1734,7 @@ class SidebarComponent extends ComponentBase {
|
|
|
1236
1734
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
1237
1735
|
this.ej2Instances.setProperties = this.setProperties;
|
|
1238
1736
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1737
|
+
this.updated = this.updated;
|
|
1239
1738
|
}
|
|
1240
1739
|
clearTemplate(templateNames) {
|
|
1241
1740
|
if (!templateNames) {
|
|
@@ -1283,14 +1782,14 @@ class SidebarComponent extends ComponentBase {
|
|
|
1283
1782
|
}
|
|
1284
1783
|
}
|
|
1285
1784
|
trigger(eventName, eventProp, successHandler) {
|
|
1286
|
-
if (!isExecute$
|
|
1785
|
+
if (!isExecute$12) {
|
|
1287
1786
|
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1288
1787
|
}
|
|
1289
1788
|
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1290
1789
|
let key = this.models.toString().match(/checked|value/) || [];
|
|
1291
1790
|
let propKey = key[0];
|
|
1292
1791
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1293
|
-
if (!isExecute$
|
|
1792
|
+
if (!isExecute$12) {
|
|
1294
1793
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1295
1794
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1296
1795
|
}
|
|
@@ -1306,7 +1805,7 @@ class SidebarComponent extends ComponentBase {
|
|
|
1306
1805
|
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1307
1806
|
let propKey = key[0];
|
|
1308
1807
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1309
|
-
if (!isExecute$
|
|
1808
|
+
if (!isExecute$12) {
|
|
1310
1809
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1311
1810
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1312
1811
|
}
|
|
@@ -1328,6 +1827,9 @@ class SidebarComponent extends ComponentBase {
|
|
|
1328
1827
|
}
|
|
1329
1828
|
return h('div', slots);
|
|
1330
1829
|
}
|
|
1830
|
+
custom() {
|
|
1831
|
+
this.updated();
|
|
1832
|
+
}
|
|
1331
1833
|
hide(e) {
|
|
1332
1834
|
return this.ej2Instances.hide(e);
|
|
1333
1835
|
}
|
|
@@ -1338,17 +1840,22 @@ class SidebarComponent extends ComponentBase {
|
|
|
1338
1840
|
return this.ej2Instances.toggle();
|
|
1339
1841
|
}
|
|
1340
1842
|
};
|
|
1341
|
-
SidebarComponent = __decorate$
|
|
1843
|
+
SidebarComponent = __decorate$12([
|
|
1342
1844
|
EJComponentDecorator({
|
|
1343
|
-
props: properties$
|
|
1845
|
+
props: properties$7,
|
|
1344
1846
|
model: {
|
|
1345
1847
|
event: 'modelchanged'
|
|
1346
1848
|
}
|
|
1347
|
-
}, isExecute$
|
|
1849
|
+
}, isExecute$12)
|
|
1348
1850
|
/* Start Options({
|
|
1349
1851
|
props: props,
|
|
1350
1852
|
watch: watch,
|
|
1351
|
-
emits: emitProbs
|
|
1853
|
+
emits: emitProbs,
|
|
1854
|
+
provide: function provide() {
|
|
1855
|
+
return {
|
|
1856
|
+
custom: this.custom
|
|
1857
|
+
};
|
|
1858
|
+
}
|
|
1352
1859
|
}) End */
|
|
1353
1860
|
], SidebarComponent);
|
|
1354
1861
|
const SidebarPlugin = {
|
|
@@ -1358,30 +1865,62 @@ const SidebarPlugin = {
|
|
|
1358
1865
|
}
|
|
1359
1866
|
};
|
|
1360
1867
|
|
|
1361
|
-
var __decorate$
|
|
1868
|
+
var __decorate$13 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1362
1869
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1363
1870
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1364
1871
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1365
1872
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1366
1873
|
};
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1874
|
+
// {{VueImport}}
|
|
1875
|
+
const isExecute$13 = gh ? false : true;
|
|
1876
|
+
let vueImport$5;
|
|
1877
|
+
if (!isExecute$13 || parseInt(allVue.version) < 3) {
|
|
1878
|
+
vueImport$5 = Vue;
|
|
1371
1879
|
}
|
|
1372
1880
|
else {
|
|
1373
|
-
vueImport$
|
|
1881
|
+
vueImport$5 = Vue$1;
|
|
1374
1882
|
}
|
|
1375
|
-
let MenuItemsDirective =
|
|
1376
|
-
|
|
1883
|
+
let MenuItemsDirective =
|
|
1884
|
+
/* Start Options({
|
|
1885
|
+
inject: {
|
|
1886
|
+
custom: {
|
|
1887
|
+
default: null
|
|
1888
|
+
}
|
|
1889
|
+
}
|
|
1890
|
+
}) End */
|
|
1891
|
+
class MenuItemsDirective extends vueImport$5 {
|
|
1892
|
+
constructor() {
|
|
1893
|
+
super(arguments);
|
|
1894
|
+
}
|
|
1895
|
+
render(createElement) {
|
|
1896
|
+
if (gh) {
|
|
1897
|
+
let h = gh || createElement;
|
|
1898
|
+
let slots = null;
|
|
1899
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1900
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1901
|
+
}
|
|
1902
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
1903
|
+
}
|
|
1377
1904
|
return;
|
|
1378
1905
|
}
|
|
1906
|
+
updated() {
|
|
1907
|
+
if (gh && this.custom) {
|
|
1908
|
+
this.custom();
|
|
1909
|
+
}
|
|
1910
|
+
}
|
|
1379
1911
|
getTag() {
|
|
1380
1912
|
return 'e-menu-items';
|
|
1381
1913
|
}
|
|
1382
1914
|
};
|
|
1383
|
-
MenuItemsDirective = __decorate$
|
|
1384
|
-
EJComponentDecorator({}, isExecute$
|
|
1915
|
+
MenuItemsDirective = __decorate$13([
|
|
1916
|
+
EJComponentDecorator({}, isExecute$13)
|
|
1917
|
+
/* Start Options({
|
|
1918
|
+
inject: {
|
|
1919
|
+
custom: {
|
|
1920
|
+
default: null
|
|
1921
|
+
}
|
|
1922
|
+
}
|
|
1923
|
+
}) End */
|
|
1385
1924
|
], MenuItemsDirective);
|
|
1386
1925
|
const MenuItemsPlugin = {
|
|
1387
1926
|
name: 'e-menu-items',
|
|
@@ -1389,7 +1928,7 @@ const MenuItemsPlugin = {
|
|
|
1389
1928
|
Vue$$1.component(MenuItemsPlugin.name, MenuItemsDirective);
|
|
1390
1929
|
}
|
|
1391
1930
|
};
|
|
1392
|
-
let MenuItemDirective = class MenuItemDirective extends vueImport$
|
|
1931
|
+
let MenuItemDirective = class MenuItemDirective extends vueImport$5 {
|
|
1393
1932
|
render() {
|
|
1394
1933
|
return;
|
|
1395
1934
|
}
|
|
@@ -1397,8 +1936,8 @@ let MenuItemDirective = class MenuItemDirective extends vueImport$4 {
|
|
|
1397
1936
|
return 'e-';
|
|
1398
1937
|
}
|
|
1399
1938
|
};
|
|
1400
|
-
MenuItemDirective = __decorate$
|
|
1401
|
-
EJComponentDecorator({}, isExecute$
|
|
1939
|
+
MenuItemDirective = __decorate$13([
|
|
1940
|
+
EJComponentDecorator({}, isExecute$13)
|
|
1402
1941
|
], MenuItemDirective);
|
|
1403
1942
|
const MenuItemPlugin = {
|
|
1404
1943
|
name: 'e-',
|
|
@@ -1407,24 +1946,24 @@ const MenuItemPlugin = {
|
|
|
1407
1946
|
}
|
|
1408
1947
|
};
|
|
1409
1948
|
|
|
1410
|
-
var __decorate$
|
|
1949
|
+
var __decorate$14 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1411
1950
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1412
1951
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1413
1952
|
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;
|
|
1414
1953
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1415
1954
|
};
|
|
1416
1955
|
// {{VueImport}}
|
|
1417
|
-
const properties$
|
|
1418
|
-
const modelProps$
|
|
1419
|
-
const testProp$
|
|
1420
|
-
const props$
|
|
1421
|
-
const watch$
|
|
1422
|
-
const emitProbs$
|
|
1423
|
-
emitProbs$
|
|
1424
|
-
for (let props of modelProps$
|
|
1425
|
-
emitProbs$
|
|
1956
|
+
const properties$8 = ['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'];
|
|
1957
|
+
const modelProps$8 = [];
|
|
1958
|
+
const testProp$8 = getProps({ props: properties$8 });
|
|
1959
|
+
const props$8 = testProp$8[0];
|
|
1960
|
+
const watch$8 = testProp$8[1];
|
|
1961
|
+
const emitProbs$8 = Object.keys(watch$8);
|
|
1962
|
+
emitProbs$8.push('modelchanged');
|
|
1963
|
+
for (let props of modelProps$8) {
|
|
1964
|
+
emitProbs$8.push('update:' + props);
|
|
1426
1965
|
}
|
|
1427
|
-
const isExecute$
|
|
1966
|
+
const isExecute$14 = gh ? false : true;
|
|
1428
1967
|
/**
|
|
1429
1968
|
* Represents the Essential JS 2 VueJS Menu Component.
|
|
1430
1969
|
* ```html
|
|
@@ -1435,23 +1974,29 @@ let MenuComponent =
|
|
|
1435
1974
|
/* Start Options({
|
|
1436
1975
|
props: props,
|
|
1437
1976
|
watch: watch,
|
|
1438
|
-
emits: emitProbs
|
|
1977
|
+
emits: emitProbs,
|
|
1978
|
+
provide: function provide() {
|
|
1979
|
+
return {
|
|
1980
|
+
custom: this.custom
|
|
1981
|
+
};
|
|
1982
|
+
}
|
|
1439
1983
|
}) End */
|
|
1440
1984
|
class MenuComponent extends ComponentBase {
|
|
1441
1985
|
constructor() {
|
|
1442
1986
|
super(arguments);
|
|
1443
|
-
this.propKeys = properties$
|
|
1444
|
-
this.models = modelProps$
|
|
1987
|
+
this.propKeys = properties$8;
|
|
1988
|
+
this.models = modelProps$8;
|
|
1445
1989
|
this.hasChildDirective = true;
|
|
1446
1990
|
this.hasInjectedModules = false;
|
|
1447
1991
|
this.tagMapper = { "e-menu-items": "e-" };
|
|
1448
1992
|
this.tagNameMapper = { "e-menu-items": "e-items" };
|
|
1449
|
-
this.isVue3 = !isExecute$
|
|
1993
|
+
this.isVue3 = !isExecute$14;
|
|
1450
1994
|
this.ej2Instances = new Menu({});
|
|
1451
1995
|
this.bindProperties();
|
|
1452
1996
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
1453
1997
|
this.ej2Instances.setProperties = this.setProperties;
|
|
1454
1998
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1999
|
+
this.updated = this.updated;
|
|
1455
2000
|
}
|
|
1456
2001
|
clearTemplate(templateNames) {
|
|
1457
2002
|
if (!templateNames) {
|
|
@@ -1506,6 +2051,9 @@ class MenuComponent extends ComponentBase {
|
|
|
1506
2051
|
}
|
|
1507
2052
|
return h('ul', slots);
|
|
1508
2053
|
}
|
|
2054
|
+
custom() {
|
|
2055
|
+
this.updated();
|
|
2056
|
+
}
|
|
1509
2057
|
close() {
|
|
1510
2058
|
return this.ej2Instances.close();
|
|
1511
2059
|
}
|
|
@@ -1537,14 +2085,19 @@ class MenuComponent extends ComponentBase {
|
|
|
1537
2085
|
return this.ej2Instances.showItems(items, isUniqueId);
|
|
1538
2086
|
}
|
|
1539
2087
|
};
|
|
1540
|
-
MenuComponent = __decorate$
|
|
2088
|
+
MenuComponent = __decorate$14([
|
|
1541
2089
|
EJComponentDecorator({
|
|
1542
|
-
props: properties$
|
|
1543
|
-
}, isExecute$
|
|
2090
|
+
props: properties$8
|
|
2091
|
+
}, isExecute$14)
|
|
1544
2092
|
/* Start Options({
|
|
1545
2093
|
props: props,
|
|
1546
2094
|
watch: watch,
|
|
1547
|
-
emits: emitProbs
|
|
2095
|
+
emits: emitProbs,
|
|
2096
|
+
provide: function provide() {
|
|
2097
|
+
return {
|
|
2098
|
+
custom: this.custom
|
|
2099
|
+
};
|
|
2100
|
+
}
|
|
1548
2101
|
}) End */
|
|
1549
2102
|
], MenuComponent);
|
|
1550
2103
|
const MenuPlugin = {
|
|
@@ -1556,6 +2109,6 @@ const MenuPlugin = {
|
|
|
1556
2109
|
}
|
|
1557
2110
|
};
|
|
1558
2111
|
|
|
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 };
|
|
2112
|
+
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 };
|
|
1560
2113
|
export * from '@syncfusion/ej2-navigations';
|
|
1561
2114
|
//# sourceMappingURL=ej2-vue-navigations.es2015.js.map
|