@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 __extends = (undefined && undefined.__extends) || (function () {
|
|
8
8
|
var extendStatics = function (d, b) {
|
|
@@ -23,6 +23,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
23
23
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
24
24
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
25
|
};
|
|
26
|
+
import { Options } from 'vue-class-component';
|
|
26
27
|
var isExecute = gh ? false : true;
|
|
27
28
|
var vueImport;
|
|
28
29
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -34,16 +35,36 @@ else {
|
|
|
34
35
|
var AccordionItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
35
36
|
__extends(AccordionItemsDirective, _super);
|
|
36
37
|
function AccordionItemsDirective() {
|
|
37
|
-
return _super
|
|
38
|
+
return _super.call(this, arguments) || this;
|
|
38
39
|
}
|
|
39
|
-
AccordionItemsDirective.prototype.render = function () {
|
|
40
|
+
AccordionItemsDirective.prototype.render = function (createElement) {
|
|
41
|
+
if (gh) {
|
|
42
|
+
var h = gh || createElement;
|
|
43
|
+
var slots = null;
|
|
44
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
45
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
46
|
+
}
|
|
47
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
48
|
+
}
|
|
40
49
|
return;
|
|
41
50
|
};
|
|
51
|
+
AccordionItemsDirective.prototype.updated = function () {
|
|
52
|
+
if (gh && this.custom) {
|
|
53
|
+
this.custom();
|
|
54
|
+
}
|
|
55
|
+
};
|
|
42
56
|
AccordionItemsDirective.prototype.getTag = function () {
|
|
43
57
|
return 'e-accordionitems';
|
|
44
58
|
};
|
|
45
59
|
AccordionItemsDirective = __decorate([
|
|
46
60
|
EJComponentDecorator({}, isExecute)
|
|
61
|
+
,Options({
|
|
62
|
+
inject: {
|
|
63
|
+
custom: {
|
|
64
|
+
default: null
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
})
|
|
47
68
|
], AccordionItemsDirective);
|
|
48
69
|
return AccordionItemsDirective;
|
|
49
70
|
}(vueImport));
|
|
@@ -107,7 +128,7 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
107
128
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
108
129
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
109
130
|
};
|
|
110
|
-
|
|
131
|
+
// {{VueImport}}
|
|
111
132
|
var properties = ['isLazyUpdate', 'animation', 'dataSource', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'expandMode', 'expandedIndices', 'headerTemplate', 'height', 'itemTemplate', 'items', 'locale', 'width', 'clicked', 'created', 'destroyed', 'expanded', 'expanding'];
|
|
112
133
|
var modelProps = ['expandedIndices'];
|
|
113
134
|
var testProp = getProps({ props: properties });
|
|
@@ -121,7 +142,7 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
|
121
142
|
}
|
|
122
143
|
var isExecute$1 = gh ? false : true;
|
|
123
144
|
/**
|
|
124
|
-
* Represents the VueJS
|
|
145
|
+
* Represents the VueJS Accordion Component.
|
|
125
146
|
* ```html
|
|
126
147
|
* <ejs-accordion></ejs-accordion>
|
|
127
148
|
* ```
|
|
@@ -144,6 +165,7 @@ var AccordionComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
144
165
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
145
166
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
146
167
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
168
|
+
_this.updated = _this.updated;
|
|
147
169
|
return _this;
|
|
148
170
|
}
|
|
149
171
|
AccordionComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -240,6 +262,9 @@ var AccordionComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
240
262
|
}
|
|
241
263
|
return h('div', slots);
|
|
242
264
|
};
|
|
265
|
+
AccordionComponent.prototype.custom = function () {
|
|
266
|
+
this.updated();
|
|
267
|
+
};
|
|
243
268
|
AccordionComponent.prototype.addItem = function (item, index) {
|
|
244
269
|
return this.ej2Instances.addItem(item, index);
|
|
245
270
|
};
|
|
@@ -268,7 +293,12 @@ var AccordionComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
268
293
|
,Options({
|
|
269
294
|
props: props,
|
|
270
295
|
watch: watch,
|
|
271
|
-
emits: emitProbs
|
|
296
|
+
emits: emitProbs,
|
|
297
|
+
provide: function provide() {
|
|
298
|
+
return {
|
|
299
|
+
custom: this.custom
|
|
300
|
+
};
|
|
301
|
+
}
|
|
272
302
|
})
|
|
273
303
|
], AccordionComponent);
|
|
274
304
|
return AccordionComponent;
|
|
@@ -301,6 +331,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
301
331
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
302
332
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
303
333
|
};
|
|
334
|
+
// {{VueImport}}
|
|
304
335
|
var isExecute$2 = gh ? false : true;
|
|
305
336
|
var vueImport$1;
|
|
306
337
|
if (!isExecute$2 || parseInt(allVue.version) < 3) {
|
|
@@ -312,16 +343,36 @@ else {
|
|
|
312
343
|
var ItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
313
344
|
__extends$2(ItemsDirective, _super);
|
|
314
345
|
function ItemsDirective() {
|
|
315
|
-
return _super
|
|
346
|
+
return _super.call(this, arguments) || this;
|
|
316
347
|
}
|
|
317
|
-
ItemsDirective.prototype.render = function () {
|
|
348
|
+
ItemsDirective.prototype.render = function (createElement) {
|
|
349
|
+
if (gh) {
|
|
350
|
+
var h = gh || createElement;
|
|
351
|
+
var slots = null;
|
|
352
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
353
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
354
|
+
}
|
|
355
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
356
|
+
}
|
|
318
357
|
return;
|
|
319
358
|
};
|
|
359
|
+
ItemsDirective.prototype.updated = function () {
|
|
360
|
+
if (gh && this.custom) {
|
|
361
|
+
this.custom();
|
|
362
|
+
}
|
|
363
|
+
};
|
|
320
364
|
ItemsDirective.prototype.getTag = function () {
|
|
321
365
|
return 'e-items';
|
|
322
366
|
};
|
|
323
367
|
ItemsDirective = __decorate$2([
|
|
324
368
|
EJComponentDecorator({}, isExecute$2)
|
|
369
|
+
,Options({
|
|
370
|
+
inject: {
|
|
371
|
+
custom: {
|
|
372
|
+
default: null
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
})
|
|
325
376
|
], ItemsDirective);
|
|
326
377
|
return ItemsDirective;
|
|
327
378
|
}(vueImport$1));
|
|
@@ -420,6 +471,7 @@ var ToolbarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
420
471
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
421
472
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
422
473
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
474
|
+
_this.updated = _this.updated;
|
|
423
475
|
return _this;
|
|
424
476
|
}
|
|
425
477
|
ToolbarComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -478,6 +530,9 @@ var ToolbarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
478
530
|
}
|
|
479
531
|
return h('div', slots);
|
|
480
532
|
};
|
|
533
|
+
ToolbarComponent.prototype.custom = function () {
|
|
534
|
+
this.updated();
|
|
535
|
+
};
|
|
481
536
|
ToolbarComponent.prototype.addItems = function (items, index) {
|
|
482
537
|
return this.ej2Instances.addItems(items, index);
|
|
483
538
|
};
|
|
@@ -503,7 +558,12 @@ var ToolbarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
503
558
|
,Options({
|
|
504
559
|
props: props,
|
|
505
560
|
watch: watch,
|
|
506
|
-
emits: emitProbs
|
|
561
|
+
emits: emitProbs,
|
|
562
|
+
provide: function provide() {
|
|
563
|
+
return {
|
|
564
|
+
custom: this.custom
|
|
565
|
+
};
|
|
566
|
+
}
|
|
507
567
|
})
|
|
508
568
|
], ToolbarComponent);
|
|
509
569
|
return ToolbarComponent;
|
|
@@ -572,6 +632,7 @@ var ContextMenuComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
572
632
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
573
633
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
574
634
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
635
|
+
_this.updated = _this.updated;
|
|
575
636
|
return _this;
|
|
576
637
|
}
|
|
577
638
|
ContextMenuComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -630,6 +691,9 @@ var ContextMenuComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
630
691
|
}
|
|
631
692
|
return h('ul', slots);
|
|
632
693
|
};
|
|
694
|
+
ContextMenuComponent.prototype.custom = function () {
|
|
695
|
+
this.updated();
|
|
696
|
+
};
|
|
633
697
|
ContextMenuComponent.prototype.close = function () {
|
|
634
698
|
return this.ej2Instances.close();
|
|
635
699
|
};
|
|
@@ -667,7 +731,12 @@ var ContextMenuComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
667
731
|
,Options({
|
|
668
732
|
props: props,
|
|
669
733
|
watch: watch,
|
|
670
|
-
emits: emitProbs
|
|
734
|
+
emits: emitProbs,
|
|
735
|
+
provide: function provide() {
|
|
736
|
+
return {
|
|
737
|
+
custom: this.custom
|
|
738
|
+
};
|
|
739
|
+
}
|
|
671
740
|
})
|
|
672
741
|
], ContextMenuComponent);
|
|
673
742
|
return ContextMenuComponent;
|
|
@@ -698,6 +767,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
698
767
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
699
768
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
700
769
|
};
|
|
770
|
+
// {{VueImport}}
|
|
701
771
|
var isExecute$5 = gh ? false : true;
|
|
702
772
|
var vueImport$2;
|
|
703
773
|
if (!isExecute$5 || parseInt(allVue.version) < 3) {
|
|
@@ -709,16 +779,36 @@ else {
|
|
|
709
779
|
var BreadcrumbItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
710
780
|
__extends$5(BreadcrumbItemsDirective, _super);
|
|
711
781
|
function BreadcrumbItemsDirective() {
|
|
712
|
-
return _super
|
|
782
|
+
return _super.call(this, arguments) || this;
|
|
713
783
|
}
|
|
714
|
-
BreadcrumbItemsDirective.prototype.render = function () {
|
|
784
|
+
BreadcrumbItemsDirective.prototype.render = function (createElement) {
|
|
785
|
+
if (gh) {
|
|
786
|
+
var h = gh || createElement;
|
|
787
|
+
var slots = null;
|
|
788
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
789
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
790
|
+
}
|
|
791
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
792
|
+
}
|
|
715
793
|
return;
|
|
716
794
|
};
|
|
795
|
+
BreadcrumbItemsDirective.prototype.updated = function () {
|
|
796
|
+
if (gh && this.custom) {
|
|
797
|
+
this.custom();
|
|
798
|
+
}
|
|
799
|
+
};
|
|
717
800
|
BreadcrumbItemsDirective.prototype.getTag = function () {
|
|
718
801
|
return 'e-breadcrumb-items';
|
|
719
802
|
};
|
|
720
803
|
BreadcrumbItemsDirective = __decorate$5([
|
|
721
804
|
EJComponentDecorator({}, isExecute$5)
|
|
805
|
+
,Options({
|
|
806
|
+
inject: {
|
|
807
|
+
custom: {
|
|
808
|
+
default: null
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
})
|
|
722
812
|
], BreadcrumbItemsDirective);
|
|
723
813
|
return BreadcrumbItemsDirective;
|
|
724
814
|
}(vueImport$2));
|
|
@@ -819,6 +909,7 @@ var BreadcrumbComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
819
909
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
820
910
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
821
911
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
912
|
+
_this.updated = _this.updated;
|
|
822
913
|
return _this;
|
|
823
914
|
}
|
|
824
915
|
BreadcrumbComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -915,6 +1006,9 @@ var BreadcrumbComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
915
1006
|
}
|
|
916
1007
|
return h('nav', slots);
|
|
917
1008
|
};
|
|
1009
|
+
BreadcrumbComponent.prototype.custom = function () {
|
|
1010
|
+
this.updated();
|
|
1011
|
+
};
|
|
918
1012
|
BreadcrumbComponent = __decorate$6([
|
|
919
1013
|
EJComponentDecorator({
|
|
920
1014
|
props: properties$3,
|
|
@@ -925,7 +1019,12 @@ var BreadcrumbComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
925
1019
|
,Options({
|
|
926
1020
|
props: props,
|
|
927
1021
|
watch: watch,
|
|
928
|
-
emits: emitProbs
|
|
1022
|
+
emits: emitProbs,
|
|
1023
|
+
provide: function provide() {
|
|
1024
|
+
return {
|
|
1025
|
+
custom: this.custom
|
|
1026
|
+
};
|
|
1027
|
+
}
|
|
929
1028
|
})
|
|
930
1029
|
], BreadcrumbComponent);
|
|
931
1030
|
return BreadcrumbComponent;
|
|
@@ -958,6 +1057,7 @@ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
958
1057
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
959
1058
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
960
1059
|
};
|
|
1060
|
+
// {{VueImport}}
|
|
961
1061
|
var isExecute$7 = gh ? false : true;
|
|
962
1062
|
var vueImport$3;
|
|
963
1063
|
if (!isExecute$7 || parseInt(allVue.version) < 3) {
|
|
@@ -966,22 +1066,344 @@ if (!isExecute$7 || parseInt(allVue.version) < 3) {
|
|
|
966
1066
|
else {
|
|
967
1067
|
vueImport$3 = Vue$1;
|
|
968
1068
|
}
|
|
1069
|
+
var CarouselItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
1070
|
+
__extends$7(CarouselItemsDirective, _super);
|
|
1071
|
+
function CarouselItemsDirective() {
|
|
1072
|
+
return _super.call(this, arguments) || this;
|
|
1073
|
+
}
|
|
1074
|
+
CarouselItemsDirective.prototype.render = function (createElement) {
|
|
1075
|
+
if (gh) {
|
|
1076
|
+
var h = gh || createElement;
|
|
1077
|
+
var slots = null;
|
|
1078
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1079
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1080
|
+
}
|
|
1081
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
1082
|
+
}
|
|
1083
|
+
return;
|
|
1084
|
+
};
|
|
1085
|
+
CarouselItemsDirective.prototype.updated = function () {
|
|
1086
|
+
if (gh && this.custom) {
|
|
1087
|
+
this.custom();
|
|
1088
|
+
}
|
|
1089
|
+
};
|
|
1090
|
+
CarouselItemsDirective.prototype.getTag = function () {
|
|
1091
|
+
return 'e-carousel-items';
|
|
1092
|
+
};
|
|
1093
|
+
CarouselItemsDirective = __decorate$7([
|
|
1094
|
+
EJComponentDecorator({}, isExecute$7)
|
|
1095
|
+
,Options({
|
|
1096
|
+
inject: {
|
|
1097
|
+
custom: {
|
|
1098
|
+
default: null
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
})
|
|
1102
|
+
], CarouselItemsDirective);
|
|
1103
|
+
return CarouselItemsDirective;
|
|
1104
|
+
}(vueImport$3));
|
|
1105
|
+
var CarouselItemsPlugin = {
|
|
1106
|
+
name: 'e-carousel-items',
|
|
1107
|
+
install: function (Vue$$1) {
|
|
1108
|
+
Vue$$1.component(CarouselItemsPlugin.name, CarouselItemsDirective);
|
|
1109
|
+
}
|
|
1110
|
+
};
|
|
1111
|
+
/**
|
|
1112
|
+
* `e-carousel-item` directive represent a item of the Vue Carousel.
|
|
1113
|
+
* It must be contained in a Carousel component(`ejs-carousel`).
|
|
1114
|
+
* ```html
|
|
1115
|
+
* <ejs-carousel>
|
|
1116
|
+
* <e-carousel-items>
|
|
1117
|
+
* <e-carousel-item template='itemTemplate'></e-carousel-item>
|
|
1118
|
+
* <e-carousel-item template='secondItemTemplate'></e-carousel-item>
|
|
1119
|
+
* </e-carousel-items>
|
|
1120
|
+
* </ejs-carousel>
|
|
1121
|
+
* ```
|
|
1122
|
+
*/
|
|
1123
|
+
var CarouselItemDirective = /** @__PURE__ @class */ (function (_super) {
|
|
1124
|
+
__extends$7(CarouselItemDirective, _super);
|
|
1125
|
+
function CarouselItemDirective() {
|
|
1126
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1127
|
+
}
|
|
1128
|
+
CarouselItemDirective.prototype.render = function () {
|
|
1129
|
+
return;
|
|
1130
|
+
};
|
|
1131
|
+
CarouselItemDirective.prototype.getTag = function () {
|
|
1132
|
+
return 'e-carousel-item';
|
|
1133
|
+
};
|
|
1134
|
+
CarouselItemDirective = __decorate$7([
|
|
1135
|
+
EJComponentDecorator({}, isExecute$7)
|
|
1136
|
+
], CarouselItemDirective);
|
|
1137
|
+
return CarouselItemDirective;
|
|
1138
|
+
}(vueImport$3));
|
|
1139
|
+
var CarouselItemPlugin = {
|
|
1140
|
+
name: 'e-carousel-item',
|
|
1141
|
+
install: function (Vue$$1) {
|
|
1142
|
+
Vue$$1.component(CarouselItemPlugin.name, CarouselItemDirective);
|
|
1143
|
+
}
|
|
1144
|
+
};
|
|
1145
|
+
|
|
1146
|
+
var __extends$8 = (undefined && undefined.__extends) || (function () {
|
|
1147
|
+
var extendStatics = function (d, b) {
|
|
1148
|
+
extendStatics = Object.setPrototypeOf ||
|
|
1149
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
1150
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
1151
|
+
return extendStatics(d, b);
|
|
1152
|
+
};
|
|
1153
|
+
return function (d, b) {
|
|
1154
|
+
extendStatics(d, b);
|
|
1155
|
+
function __() { this.constructor = d; }
|
|
1156
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1157
|
+
};
|
|
1158
|
+
})();
|
|
1159
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1160
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1161
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1162
|
+
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;
|
|
1163
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1164
|
+
};
|
|
1165
|
+
// {{VueImport}}
|
|
1166
|
+
var 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'];
|
|
1167
|
+
var modelProps$4 = ['selectedIndex'];
|
|
1168
|
+
var testProp$4 = getProps({ props: properties$4 });
|
|
1169
|
+
var props$4 = testProp$4[0];
|
|
1170
|
+
var watch$4 = testProp$4[1];
|
|
1171
|
+
var emitProbs$4 = Object.keys(watch$4);
|
|
1172
|
+
emitProbs$4.push('modelchanged');
|
|
1173
|
+
for (var _i$4 = 0, modelProps_1$4 = modelProps$4; _i$4 < modelProps_1$4.length; _i$4++) {
|
|
1174
|
+
var props_1$4 = modelProps_1$4[_i$4];
|
|
1175
|
+
emitProbs$4.push('update:' + props_1$4);
|
|
1176
|
+
}
|
|
1177
|
+
var isExecute$8 = gh ? false : true;
|
|
1178
|
+
/**
|
|
1179
|
+
* Represents the VueJS Carousel Component.
|
|
1180
|
+
* ```html
|
|
1181
|
+
* <ejs-carousel :items='carouselItems'></ejs-carousel>
|
|
1182
|
+
* ```
|
|
1183
|
+
*/
|
|
1184
|
+
var CarouselComponent = /** @__PURE__ @class */ (function (_super) {
|
|
1185
|
+
__extends$8(CarouselComponent, _super);
|
|
1186
|
+
function CarouselComponent() {
|
|
1187
|
+
var _this = _super.call(this, arguments) || this;
|
|
1188
|
+
_this.propKeys = properties$4;
|
|
1189
|
+
_this.models = modelProps$4;
|
|
1190
|
+
_this.hasChildDirective = true;
|
|
1191
|
+
_this.hasInjectedModules = false;
|
|
1192
|
+
_this.tagMapper = { "e-carousel-items": "e-carousel-item" };
|
|
1193
|
+
_this.tagNameMapper = { "e-carousel-items": "e-items" };
|
|
1194
|
+
_this.isVue3 = !isExecute$8;
|
|
1195
|
+
_this.ej2Instances = new Carousel({});
|
|
1196
|
+
_this.ej2Instances._trigger = _this.ej2Instances.trigger;
|
|
1197
|
+
_this.ej2Instances.trigger = _this.trigger;
|
|
1198
|
+
_this.bindProperties();
|
|
1199
|
+
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
1200
|
+
_this.ej2Instances.setProperties = _this.setProperties;
|
|
1201
|
+
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
1202
|
+
_this.updated = _this.updated;
|
|
1203
|
+
return _this;
|
|
1204
|
+
}
|
|
1205
|
+
CarouselComponent.prototype.clearTemplate = function (templateNames) {
|
|
1206
|
+
if (!templateNames) {
|
|
1207
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
1208
|
+
}
|
|
1209
|
+
if (templateNames.length && this.templateCollection) {
|
|
1210
|
+
for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
|
|
1211
|
+
var tempName = templateNames_1[_i];
|
|
1212
|
+
var elementCollection = this.templateCollection[tempName];
|
|
1213
|
+
if (elementCollection && elementCollection.length) {
|
|
1214
|
+
for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
|
|
1215
|
+
var ele = elementCollection_1[_a];
|
|
1216
|
+
var destroy = getValue('__vue__.$destroy', ele);
|
|
1217
|
+
if (destroy) {
|
|
1218
|
+
ele.__vue__.$destroy();
|
|
1219
|
+
}
|
|
1220
|
+
if (ele.innerHTML) {
|
|
1221
|
+
ele.innerHTML = '';
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
delete this.templateCollection[tempName];
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
};
|
|
1229
|
+
CarouselComponent.prototype.setProperties = function (prop, muteOnChange) {
|
|
1230
|
+
var _this = this;
|
|
1231
|
+
if (this.isVue3) {
|
|
1232
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1233
|
+
}
|
|
1234
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
1235
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
1236
|
+
}
|
|
1237
|
+
if (prop && this.models && this.models.length) {
|
|
1238
|
+
Object.keys(prop).map(function (key) {
|
|
1239
|
+
_this.models.map(function (model) {
|
|
1240
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
1241
|
+
if (_this.isVue3) {
|
|
1242
|
+
_this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
1243
|
+
}
|
|
1244
|
+
else {
|
|
1245
|
+
_this.$emit('update:' + key, prop[key]);
|
|
1246
|
+
_this.$emit('modelchanged', prop[key]);
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
});
|
|
1250
|
+
});
|
|
1251
|
+
}
|
|
1252
|
+
};
|
|
1253
|
+
CarouselComponent.prototype.trigger = function (eventName, eventProp, successHandler) {
|
|
1254
|
+
if (!isExecute$8) {
|
|
1255
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1256
|
+
}
|
|
1257
|
+
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1258
|
+
var key = this.models.toString().match(/checked|value/) || [];
|
|
1259
|
+
var propKey = key[0];
|
|
1260
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1261
|
+
if (!isExecute$8) {
|
|
1262
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1263
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1264
|
+
}
|
|
1265
|
+
else {
|
|
1266
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
1267
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1268
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
1274
|
+
var key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1275
|
+
var propKey = key[0];
|
|
1276
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1277
|
+
if (!isExecute$8) {
|
|
1278
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1279
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1280
|
+
}
|
|
1281
|
+
else {
|
|
1282
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1283
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
}
|
|
1287
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
1288
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
1289
|
+
}
|
|
1290
|
+
};
|
|
1291
|
+
CarouselComponent.prototype.render = function (createElement) {
|
|
1292
|
+
var h = gh || createElement;
|
|
1293
|
+
var slots = null;
|
|
1294
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1295
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1296
|
+
}
|
|
1297
|
+
return h('div', slots);
|
|
1298
|
+
};
|
|
1299
|
+
CarouselComponent.prototype.custom = function () {
|
|
1300
|
+
this.updated();
|
|
1301
|
+
};
|
|
1302
|
+
CarouselComponent.prototype.next = function () {
|
|
1303
|
+
return this.ej2Instances.next();
|
|
1304
|
+
};
|
|
1305
|
+
CarouselComponent.prototype.pause = function () {
|
|
1306
|
+
return this.ej2Instances.pause();
|
|
1307
|
+
};
|
|
1308
|
+
CarouselComponent.prototype.play = function () {
|
|
1309
|
+
return this.ej2Instances.play();
|
|
1310
|
+
};
|
|
1311
|
+
CarouselComponent.prototype.prev = function () {
|
|
1312
|
+
return this.ej2Instances.prev();
|
|
1313
|
+
};
|
|
1314
|
+
CarouselComponent = __decorate$8([
|
|
1315
|
+
EJComponentDecorator({
|
|
1316
|
+
props: properties$4,
|
|
1317
|
+
model: {
|
|
1318
|
+
event: 'modelchanged'
|
|
1319
|
+
}
|
|
1320
|
+
}, isExecute$8)
|
|
1321
|
+
,Options({
|
|
1322
|
+
props: props,
|
|
1323
|
+
watch: watch,
|
|
1324
|
+
emits: emitProbs,
|
|
1325
|
+
provide: function provide() {
|
|
1326
|
+
return {
|
|
1327
|
+
custom: this.custom
|
|
1328
|
+
};
|
|
1329
|
+
}
|
|
1330
|
+
})
|
|
1331
|
+
], CarouselComponent);
|
|
1332
|
+
return CarouselComponent;
|
|
1333
|
+
}(ComponentBase));
|
|
1334
|
+
var CarouselPlugin = {
|
|
1335
|
+
name: 'ejs-carousel',
|
|
1336
|
+
install: function (Vue$$1) {
|
|
1337
|
+
Vue$$1.component(CarouselPlugin.name, CarouselComponent);
|
|
1338
|
+
Vue$$1.component(CarouselItemPlugin.name, CarouselItemDirective);
|
|
1339
|
+
Vue$$1.component(CarouselItemsPlugin.name, CarouselItemsDirective);
|
|
1340
|
+
}
|
|
1341
|
+
};
|
|
1342
|
+
|
|
1343
|
+
var __extends$9 = (undefined && undefined.__extends) || (function () {
|
|
1344
|
+
var extendStatics = function (d, b) {
|
|
1345
|
+
extendStatics = Object.setPrototypeOf ||
|
|
1346
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
1347
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
1348
|
+
return extendStatics(d, b);
|
|
1349
|
+
};
|
|
1350
|
+
return function (d, b) {
|
|
1351
|
+
extendStatics(d, b);
|
|
1352
|
+
function __() { this.constructor = d; }
|
|
1353
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1354
|
+
};
|
|
1355
|
+
})();
|
|
1356
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1357
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1358
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1359
|
+
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;
|
|
1360
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1361
|
+
};
|
|
1362
|
+
// {{VueImport}}
|
|
1363
|
+
var isExecute$9 = gh ? false : true;
|
|
1364
|
+
var vueImport$4;
|
|
1365
|
+
if (!isExecute$9 || parseInt(allVue.version) < 3) {
|
|
1366
|
+
vueImport$4 = Vue;
|
|
1367
|
+
}
|
|
1368
|
+
else {
|
|
1369
|
+
vueImport$4 = Vue$1;
|
|
1370
|
+
}
|
|
969
1371
|
var TabItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
970
|
-
__extends$
|
|
1372
|
+
__extends$9(TabItemsDirective, _super);
|
|
971
1373
|
function TabItemsDirective() {
|
|
972
|
-
return _super
|
|
1374
|
+
return _super.call(this, arguments) || this;
|
|
973
1375
|
}
|
|
974
|
-
TabItemsDirective.prototype.render = function () {
|
|
1376
|
+
TabItemsDirective.prototype.render = function (createElement) {
|
|
1377
|
+
if (gh) {
|
|
1378
|
+
var h = gh || createElement;
|
|
1379
|
+
var slots = null;
|
|
1380
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1381
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1382
|
+
}
|
|
1383
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
1384
|
+
}
|
|
975
1385
|
return;
|
|
976
1386
|
};
|
|
1387
|
+
TabItemsDirective.prototype.updated = function () {
|
|
1388
|
+
if (gh && this.custom) {
|
|
1389
|
+
this.custom();
|
|
1390
|
+
}
|
|
1391
|
+
};
|
|
977
1392
|
TabItemsDirective.prototype.getTag = function () {
|
|
978
1393
|
return 'e-tabitems';
|
|
979
1394
|
};
|
|
980
|
-
TabItemsDirective = __decorate$
|
|
981
|
-
EJComponentDecorator({}, isExecute$
|
|
1395
|
+
TabItemsDirective = __decorate$9([
|
|
1396
|
+
EJComponentDecorator({}, isExecute$9)
|
|
1397
|
+
,Options({
|
|
1398
|
+
inject: {
|
|
1399
|
+
custom: {
|
|
1400
|
+
default: null
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
})
|
|
982
1404
|
], TabItemsDirective);
|
|
983
1405
|
return TabItemsDirective;
|
|
984
|
-
}(vueImport$
|
|
1406
|
+
}(vueImport$4));
|
|
985
1407
|
var TabItemsPlugin = {
|
|
986
1408
|
name: 'e-tabitems',
|
|
987
1409
|
install: function (Vue$$1) {
|
|
@@ -1001,7 +1423,7 @@ var TabItemsPlugin = {
|
|
|
1001
1423
|
* ```
|
|
1002
1424
|
*/
|
|
1003
1425
|
var TabItemDirective = /** @__PURE__ @class */ (function (_super) {
|
|
1004
|
-
__extends$
|
|
1426
|
+
__extends$9(TabItemDirective, _super);
|
|
1005
1427
|
function TabItemDirective() {
|
|
1006
1428
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1007
1429
|
}
|
|
@@ -1011,11 +1433,11 @@ var TabItemDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
1011
1433
|
TabItemDirective.prototype.getTag = function () {
|
|
1012
1434
|
return 'e-tabitem';
|
|
1013
1435
|
};
|
|
1014
|
-
TabItemDirective = __decorate$
|
|
1015
|
-
EJComponentDecorator({}, isExecute$
|
|
1436
|
+
TabItemDirective = __decorate$9([
|
|
1437
|
+
EJComponentDecorator({}, isExecute$9)
|
|
1016
1438
|
], TabItemDirective);
|
|
1017
1439
|
return TabItemDirective;
|
|
1018
|
-
}(vueImport$
|
|
1440
|
+
}(vueImport$4));
|
|
1019
1441
|
var TabItemPlugin = {
|
|
1020
1442
|
name: 'e-tabitem',
|
|
1021
1443
|
install: function (Vue$$1) {
|
|
@@ -1023,7 +1445,7 @@ var TabItemPlugin = {
|
|
|
1023
1445
|
}
|
|
1024
1446
|
};
|
|
1025
1447
|
|
|
1026
|
-
var __extends$
|
|
1448
|
+
var __extends$10 = (undefined && undefined.__extends) || (function () {
|
|
1027
1449
|
var extendStatics = function (d, b) {
|
|
1028
1450
|
extendStatics = Object.setPrototypeOf ||
|
|
1029
1451
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1036,25 +1458,25 @@ var __extends$8 = (undefined && undefined.__extends) || (function () {
|
|
|
1036
1458
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1037
1459
|
};
|
|
1038
1460
|
})();
|
|
1039
|
-
var __decorate$
|
|
1461
|
+
var __decorate$10 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1040
1462
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1041
1463
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1042
1464
|
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;
|
|
1043
1465
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1044
1466
|
};
|
|
1045
1467
|
// {{VueImport}}
|
|
1046
|
-
var properties$
|
|
1047
|
-
var modelProps$
|
|
1048
|
-
var testProp$
|
|
1049
|
-
var props$
|
|
1050
|
-
var watch$
|
|
1051
|
-
var emitProbs$
|
|
1052
|
-
emitProbs$
|
|
1053
|
-
for (var _i$
|
|
1054
|
-
var props_1$
|
|
1055
|
-
emitProbs$
|
|
1468
|
+
var 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'];
|
|
1469
|
+
var modelProps$5 = [];
|
|
1470
|
+
var testProp$5 = getProps({ props: properties$5 });
|
|
1471
|
+
var props$5 = testProp$5[0];
|
|
1472
|
+
var watch$5 = testProp$5[1];
|
|
1473
|
+
var emitProbs$5 = Object.keys(watch$5);
|
|
1474
|
+
emitProbs$5.push('modelchanged');
|
|
1475
|
+
for (var _i$5 = 0, modelProps_1$5 = modelProps$5; _i$5 < modelProps_1$5.length; _i$5++) {
|
|
1476
|
+
var props_1$5 = modelProps_1$5[_i$5];
|
|
1477
|
+
emitProbs$5.push('update:' + props_1$5);
|
|
1056
1478
|
}
|
|
1057
|
-
var isExecute$
|
|
1479
|
+
var isExecute$10 = gh ? false : true;
|
|
1058
1480
|
/**
|
|
1059
1481
|
* Represents the VueJS Tab Component.
|
|
1060
1482
|
* ```html
|
|
@@ -1062,21 +1484,22 @@ var isExecute$8 = gh ? false : true;
|
|
|
1062
1484
|
* ```
|
|
1063
1485
|
*/
|
|
1064
1486
|
var TabComponent = /** @__PURE__ @class */ (function (_super) {
|
|
1065
|
-
__extends$
|
|
1487
|
+
__extends$10(TabComponent, _super);
|
|
1066
1488
|
function TabComponent() {
|
|
1067
1489
|
var _this = _super.call(this, arguments) || this;
|
|
1068
|
-
_this.propKeys = properties$
|
|
1069
|
-
_this.models = modelProps$
|
|
1490
|
+
_this.propKeys = properties$5;
|
|
1491
|
+
_this.models = modelProps$5;
|
|
1070
1492
|
_this.hasChildDirective = true;
|
|
1071
1493
|
_this.hasInjectedModules = false;
|
|
1072
1494
|
_this.tagMapper = { "e-tabitems": "e-tabitem" };
|
|
1073
1495
|
_this.tagNameMapper = { "e-tabitems": "e-items" };
|
|
1074
|
-
_this.isVue3 = !isExecute$
|
|
1496
|
+
_this.isVue3 = !isExecute$10;
|
|
1075
1497
|
_this.ej2Instances = new Tab({});
|
|
1076
1498
|
_this.bindProperties();
|
|
1077
1499
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
1078
1500
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
1079
1501
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
1502
|
+
_this.updated = _this.updated;
|
|
1080
1503
|
return _this;
|
|
1081
1504
|
}
|
|
1082
1505
|
TabComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -1135,6 +1558,9 @@ var TabComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1135
1558
|
}
|
|
1136
1559
|
return h('div', slots);
|
|
1137
1560
|
};
|
|
1561
|
+
TabComponent.prototype.custom = function () {
|
|
1562
|
+
this.updated();
|
|
1563
|
+
};
|
|
1138
1564
|
TabComponent.prototype.addTab = function (items, index) {
|
|
1139
1565
|
return this.ej2Instances.addTab(items, index);
|
|
1140
1566
|
};
|
|
@@ -1162,14 +1588,19 @@ var TabComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1162
1588
|
TabComponent.prototype.select = function (args, event) {
|
|
1163
1589
|
return this.ej2Instances.select(args, event);
|
|
1164
1590
|
};
|
|
1165
|
-
TabComponent = __decorate$
|
|
1591
|
+
TabComponent = __decorate$10([
|
|
1166
1592
|
EJComponentDecorator({
|
|
1167
|
-
props: properties$
|
|
1168
|
-
}, isExecute$
|
|
1593
|
+
props: properties$5
|
|
1594
|
+
}, isExecute$10)
|
|
1169
1595
|
,Options({
|
|
1170
1596
|
props: props,
|
|
1171
1597
|
watch: watch,
|
|
1172
|
-
emits: emitProbs
|
|
1598
|
+
emits: emitProbs,
|
|
1599
|
+
provide: function provide() {
|
|
1600
|
+
return {
|
|
1601
|
+
custom: this.custom
|
|
1602
|
+
};
|
|
1603
|
+
}
|
|
1173
1604
|
})
|
|
1174
1605
|
], TabComponent);
|
|
1175
1606
|
return TabComponent;
|
|
@@ -1183,7 +1614,7 @@ var TabPlugin = {
|
|
|
1183
1614
|
}
|
|
1184
1615
|
};
|
|
1185
1616
|
|
|
1186
|
-
var __extends$
|
|
1617
|
+
var __extends$11 = (undefined && undefined.__extends) || (function () {
|
|
1187
1618
|
var extendStatics = function (d, b) {
|
|
1188
1619
|
extendStatics = Object.setPrototypeOf ||
|
|
1189
1620
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1196,25 +1627,25 @@ var __extends$9 = (undefined && undefined.__extends) || (function () {
|
|
|
1196
1627
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1197
1628
|
};
|
|
1198
1629
|
})();
|
|
1199
|
-
var __decorate$
|
|
1630
|
+
var __decorate$11 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1200
1631
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1201
1632
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1202
1633
|
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;
|
|
1203
1634
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1204
1635
|
};
|
|
1205
1636
|
// {{VueImport}}
|
|
1206
|
-
var properties$
|
|
1207
|
-
var modelProps$
|
|
1208
|
-
var testProp$
|
|
1209
|
-
var props$
|
|
1210
|
-
var watch$
|
|
1211
|
-
var emitProbs$
|
|
1212
|
-
emitProbs$
|
|
1213
|
-
for (var _i$
|
|
1214
|
-
var props_1$
|
|
1215
|
-
emitProbs$
|
|
1637
|
+
var 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'];
|
|
1638
|
+
var modelProps$6 = [];
|
|
1639
|
+
var testProp$6 = getProps({ props: properties$6 });
|
|
1640
|
+
var props$6 = testProp$6[0];
|
|
1641
|
+
var watch$6 = testProp$6[1];
|
|
1642
|
+
var emitProbs$6 = Object.keys(watch$6);
|
|
1643
|
+
emitProbs$6.push('modelchanged');
|
|
1644
|
+
for (var _i$6 = 0, modelProps_1$6 = modelProps$6; _i$6 < modelProps_1$6.length; _i$6++) {
|
|
1645
|
+
var props_1$6 = modelProps_1$6[_i$6];
|
|
1646
|
+
emitProbs$6.push('update:' + props_1$6);
|
|
1216
1647
|
}
|
|
1217
|
-
var isExecute$
|
|
1648
|
+
var isExecute$11 = gh ? false : true;
|
|
1218
1649
|
/**
|
|
1219
1650
|
* Represents the EJ2 VueJS TreeView Component.
|
|
1220
1651
|
* ```html
|
|
@@ -1222,21 +1653,22 @@ var isExecute$9 = gh ? false : true;
|
|
|
1222
1653
|
* ```
|
|
1223
1654
|
*/
|
|
1224
1655
|
var TreeViewComponent = /** @__PURE__ @class */ (function (_super) {
|
|
1225
|
-
__extends$
|
|
1656
|
+
__extends$11(TreeViewComponent, _super);
|
|
1226
1657
|
function TreeViewComponent() {
|
|
1227
1658
|
var _this = _super.call(this, arguments) || this;
|
|
1228
|
-
_this.propKeys = properties$
|
|
1229
|
-
_this.models = modelProps$
|
|
1659
|
+
_this.propKeys = properties$6;
|
|
1660
|
+
_this.models = modelProps$6;
|
|
1230
1661
|
_this.hasChildDirective = false;
|
|
1231
1662
|
_this.hasInjectedModules = false;
|
|
1232
1663
|
_this.tagMapper = {};
|
|
1233
1664
|
_this.tagNameMapper = {};
|
|
1234
|
-
_this.isVue3 = !isExecute$
|
|
1665
|
+
_this.isVue3 = !isExecute$11;
|
|
1235
1666
|
_this.ej2Instances = new TreeView({});
|
|
1236
1667
|
_this.bindProperties();
|
|
1237
1668
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
1238
1669
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
1239
1670
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
1671
|
+
_this.updated = _this.updated;
|
|
1240
1672
|
return _this;
|
|
1241
1673
|
}
|
|
1242
1674
|
TreeViewComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -1295,6 +1727,9 @@ var TreeViewComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1295
1727
|
}
|
|
1296
1728
|
return h('div', slots);
|
|
1297
1729
|
};
|
|
1730
|
+
TreeViewComponent.prototype.custom = function () {
|
|
1731
|
+
this.updated();
|
|
1732
|
+
};
|
|
1298
1733
|
TreeViewComponent.prototype.addNodes = function (nodes, target, index, preventTargetExpand) {
|
|
1299
1734
|
return this.ej2Instances.addNodes(nodes, target, index, preventTargetExpand);
|
|
1300
1735
|
};
|
|
@@ -1346,14 +1781,19 @@ var TreeViewComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1346
1781
|
TreeViewComponent.prototype.updateNode = function (target, newText) {
|
|
1347
1782
|
return this.ej2Instances.updateNode(target, newText);
|
|
1348
1783
|
};
|
|
1349
|
-
TreeViewComponent = __decorate$
|
|
1784
|
+
TreeViewComponent = __decorate$11([
|
|
1350
1785
|
EJComponentDecorator({
|
|
1351
|
-
props: properties$
|
|
1352
|
-
}, isExecute$
|
|
1786
|
+
props: properties$6
|
|
1787
|
+
}, isExecute$11)
|
|
1353
1788
|
,Options({
|
|
1354
1789
|
props: props,
|
|
1355
1790
|
watch: watch,
|
|
1356
|
-
emits: emitProbs
|
|
1791
|
+
emits: emitProbs,
|
|
1792
|
+
provide: function provide() {
|
|
1793
|
+
return {
|
|
1794
|
+
custom: this.custom
|
|
1795
|
+
};
|
|
1796
|
+
}
|
|
1357
1797
|
})
|
|
1358
1798
|
], TreeViewComponent);
|
|
1359
1799
|
return TreeViewComponent;
|
|
@@ -1365,7 +1805,7 @@ var TreeViewPlugin = {
|
|
|
1365
1805
|
}
|
|
1366
1806
|
};
|
|
1367
1807
|
|
|
1368
|
-
var __extends$
|
|
1808
|
+
var __extends$12 = (undefined && undefined.__extends) || (function () {
|
|
1369
1809
|
var extendStatics = function (d, b) {
|
|
1370
1810
|
extendStatics = Object.setPrototypeOf ||
|
|
1371
1811
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1378,25 +1818,25 @@ var __extends$10 = (undefined && undefined.__extends) || (function () {
|
|
|
1378
1818
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1379
1819
|
};
|
|
1380
1820
|
})();
|
|
1381
|
-
var __decorate$
|
|
1821
|
+
var __decorate$12 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1382
1822
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1383
1823
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1384
1824
|
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;
|
|
1385
1825
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1386
1826
|
};
|
|
1387
1827
|
// {{VueImport}}
|
|
1388
|
-
var properties$
|
|
1389
|
-
var modelProps$
|
|
1390
|
-
var testProp$
|
|
1391
|
-
var props$
|
|
1392
|
-
var watch$
|
|
1393
|
-
var emitProbs$
|
|
1394
|
-
emitProbs$
|
|
1395
|
-
for (var _i$
|
|
1396
|
-
var props_1$
|
|
1397
|
-
emitProbs$
|
|
1828
|
+
var 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'];
|
|
1829
|
+
var modelProps$7 = ['isOpen'];
|
|
1830
|
+
var testProp$7 = getProps({ props: properties$7 });
|
|
1831
|
+
var props$7 = testProp$7[0];
|
|
1832
|
+
var watch$7 = testProp$7[1];
|
|
1833
|
+
var emitProbs$7 = Object.keys(watch$7);
|
|
1834
|
+
emitProbs$7.push('modelchanged');
|
|
1835
|
+
for (var _i$7 = 0, modelProps_1$7 = modelProps$7; _i$7 < modelProps_1$7.length; _i$7++) {
|
|
1836
|
+
var props_1$7 = modelProps_1$7[_i$7];
|
|
1837
|
+
emitProbs$7.push('update:' + props_1$7);
|
|
1398
1838
|
}
|
|
1399
|
-
var isExecute$
|
|
1839
|
+
var isExecute$12 = gh ? false : true;
|
|
1400
1840
|
/**
|
|
1401
1841
|
* Represents the Essential JS 2 VueJS Sidebar Component.
|
|
1402
1842
|
* ```html
|
|
@@ -1404,16 +1844,16 @@ var isExecute$10 = gh ? false : true;
|
|
|
1404
1844
|
* ```
|
|
1405
1845
|
*/
|
|
1406
1846
|
var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
1407
|
-
__extends$
|
|
1847
|
+
__extends$12(SidebarComponent, _super);
|
|
1408
1848
|
function SidebarComponent() {
|
|
1409
1849
|
var _this = _super.call(this, arguments) || this;
|
|
1410
|
-
_this.propKeys = properties$
|
|
1411
|
-
_this.models = modelProps$
|
|
1850
|
+
_this.propKeys = properties$7;
|
|
1851
|
+
_this.models = modelProps$7;
|
|
1412
1852
|
_this.hasChildDirective = false;
|
|
1413
1853
|
_this.hasInjectedModules = false;
|
|
1414
1854
|
_this.tagMapper = {};
|
|
1415
1855
|
_this.tagNameMapper = {};
|
|
1416
|
-
_this.isVue3 = !isExecute$
|
|
1856
|
+
_this.isVue3 = !isExecute$12;
|
|
1417
1857
|
_this.ej2Instances = new Sidebar({});
|
|
1418
1858
|
_this.ej2Instances._trigger = _this.ej2Instances.trigger;
|
|
1419
1859
|
_this.ej2Instances.trigger = _this.trigger;
|
|
@@ -1421,6 +1861,7 @@ var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1421
1861
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
1422
1862
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
1423
1863
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
1864
|
+
_this.updated = _this.updated;
|
|
1424
1865
|
return _this;
|
|
1425
1866
|
}
|
|
1426
1867
|
SidebarComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -1472,14 +1913,14 @@ var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1472
1913
|
}
|
|
1473
1914
|
};
|
|
1474
1915
|
SidebarComponent.prototype.trigger = function (eventName, eventProp, successHandler) {
|
|
1475
|
-
if (!isExecute$
|
|
1916
|
+
if (!isExecute$12) {
|
|
1476
1917
|
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1477
1918
|
}
|
|
1478
1919
|
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1479
1920
|
var key = this.models.toString().match(/checked|value/) || [];
|
|
1480
1921
|
var propKey = key[0];
|
|
1481
1922
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1482
|
-
if (!isExecute$
|
|
1923
|
+
if (!isExecute$12) {
|
|
1483
1924
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1484
1925
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1485
1926
|
}
|
|
@@ -1495,7 +1936,7 @@ var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1495
1936
|
var key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1496
1937
|
var propKey = key[0];
|
|
1497
1938
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1498
|
-
if (!isExecute$
|
|
1939
|
+
if (!isExecute$12) {
|
|
1499
1940
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1500
1941
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1501
1942
|
}
|
|
@@ -1517,6 +1958,9 @@ var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1517
1958
|
}
|
|
1518
1959
|
return h('div', slots);
|
|
1519
1960
|
};
|
|
1961
|
+
SidebarComponent.prototype.custom = function () {
|
|
1962
|
+
this.updated();
|
|
1963
|
+
};
|
|
1520
1964
|
SidebarComponent.prototype.hide = function (e) {
|
|
1521
1965
|
return this.ej2Instances.hide(e);
|
|
1522
1966
|
};
|
|
@@ -1526,17 +1970,22 @@ var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1526
1970
|
SidebarComponent.prototype.toggle = function () {
|
|
1527
1971
|
return this.ej2Instances.toggle();
|
|
1528
1972
|
};
|
|
1529
|
-
SidebarComponent = __decorate$
|
|
1973
|
+
SidebarComponent = __decorate$12([
|
|
1530
1974
|
EJComponentDecorator({
|
|
1531
|
-
props: properties$
|
|
1975
|
+
props: properties$7,
|
|
1532
1976
|
model: {
|
|
1533
1977
|
event: 'modelchanged'
|
|
1534
1978
|
}
|
|
1535
|
-
}, isExecute$
|
|
1979
|
+
}, isExecute$12)
|
|
1536
1980
|
,Options({
|
|
1537
1981
|
props: props,
|
|
1538
1982
|
watch: watch,
|
|
1539
|
-
emits: emitProbs
|
|
1983
|
+
emits: emitProbs,
|
|
1984
|
+
provide: function provide() {
|
|
1985
|
+
return {
|
|
1986
|
+
custom: this.custom
|
|
1987
|
+
};
|
|
1988
|
+
}
|
|
1540
1989
|
})
|
|
1541
1990
|
], SidebarComponent);
|
|
1542
1991
|
return SidebarComponent;
|
|
@@ -1548,7 +1997,7 @@ var SidebarPlugin = {
|
|
|
1548
1997
|
}
|
|
1549
1998
|
};
|
|
1550
1999
|
|
|
1551
|
-
var __extends$
|
|
2000
|
+
var __extends$13 = (undefined && undefined.__extends) || (function () {
|
|
1552
2001
|
var extendStatics = function (d, b) {
|
|
1553
2002
|
extendStatics = Object.setPrototypeOf ||
|
|
1554
2003
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1561,36 +2010,57 @@ var __extends$11 = (undefined && undefined.__extends) || (function () {
|
|
|
1561
2010
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1562
2011
|
};
|
|
1563
2012
|
})();
|
|
1564
|
-
var __decorate$
|
|
2013
|
+
var __decorate$13 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1565
2014
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1566
2015
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1567
2016
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1568
2017
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1569
2018
|
};
|
|
1570
|
-
|
|
1571
|
-
var
|
|
1572
|
-
|
|
1573
|
-
|
|
2019
|
+
// {{VueImport}}
|
|
2020
|
+
var isExecute$13 = gh ? false : true;
|
|
2021
|
+
var vueImport$5;
|
|
2022
|
+
if (!isExecute$13 || parseInt(allVue.version) < 3) {
|
|
2023
|
+
vueImport$5 = Vue;
|
|
1574
2024
|
}
|
|
1575
2025
|
else {
|
|
1576
|
-
vueImport$
|
|
2026
|
+
vueImport$5 = Vue$1;
|
|
1577
2027
|
}
|
|
1578
2028
|
var MenuItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
1579
|
-
__extends$
|
|
2029
|
+
__extends$13(MenuItemsDirective, _super);
|
|
1580
2030
|
function MenuItemsDirective() {
|
|
1581
|
-
return _super
|
|
2031
|
+
return _super.call(this, arguments) || this;
|
|
1582
2032
|
}
|
|
1583
|
-
MenuItemsDirective.prototype.render = function () {
|
|
2033
|
+
MenuItemsDirective.prototype.render = function (createElement) {
|
|
2034
|
+
if (gh) {
|
|
2035
|
+
var h = gh || createElement;
|
|
2036
|
+
var slots = null;
|
|
2037
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
2038
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
2039
|
+
}
|
|
2040
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
2041
|
+
}
|
|
1584
2042
|
return;
|
|
1585
2043
|
};
|
|
2044
|
+
MenuItemsDirective.prototype.updated = function () {
|
|
2045
|
+
if (gh && this.custom) {
|
|
2046
|
+
this.custom();
|
|
2047
|
+
}
|
|
2048
|
+
};
|
|
1586
2049
|
MenuItemsDirective.prototype.getTag = function () {
|
|
1587
2050
|
return 'e-menu-items';
|
|
1588
2051
|
};
|
|
1589
|
-
MenuItemsDirective = __decorate$
|
|
1590
|
-
EJComponentDecorator({}, isExecute$
|
|
2052
|
+
MenuItemsDirective = __decorate$13([
|
|
2053
|
+
EJComponentDecorator({}, isExecute$13)
|
|
2054
|
+
,Options({
|
|
2055
|
+
inject: {
|
|
2056
|
+
custom: {
|
|
2057
|
+
default: null
|
|
2058
|
+
}
|
|
2059
|
+
}
|
|
2060
|
+
})
|
|
1591
2061
|
], MenuItemsDirective);
|
|
1592
2062
|
return MenuItemsDirective;
|
|
1593
|
-
}(vueImport$
|
|
2063
|
+
}(vueImport$5));
|
|
1594
2064
|
var MenuItemsPlugin = {
|
|
1595
2065
|
name: 'e-menu-items',
|
|
1596
2066
|
install: function (Vue$$1) {
|
|
@@ -1598,7 +2068,7 @@ var MenuItemsPlugin = {
|
|
|
1598
2068
|
}
|
|
1599
2069
|
};
|
|
1600
2070
|
var MenuItemDirective = /** @__PURE__ @class */ (function (_super) {
|
|
1601
|
-
__extends$
|
|
2071
|
+
__extends$13(MenuItemDirective, _super);
|
|
1602
2072
|
function MenuItemDirective() {
|
|
1603
2073
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1604
2074
|
}
|
|
@@ -1608,11 +2078,11 @@ var MenuItemDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
1608
2078
|
MenuItemDirective.prototype.getTag = function () {
|
|
1609
2079
|
return 'e-';
|
|
1610
2080
|
};
|
|
1611
|
-
MenuItemDirective = __decorate$
|
|
1612
|
-
EJComponentDecorator({}, isExecute$
|
|
2081
|
+
MenuItemDirective = __decorate$13([
|
|
2082
|
+
EJComponentDecorator({}, isExecute$13)
|
|
1613
2083
|
], MenuItemDirective);
|
|
1614
2084
|
return MenuItemDirective;
|
|
1615
|
-
}(vueImport$
|
|
2085
|
+
}(vueImport$5));
|
|
1616
2086
|
var MenuItemPlugin = {
|
|
1617
2087
|
name: 'e-',
|
|
1618
2088
|
install: function (Vue$$1) {
|
|
@@ -1620,7 +2090,7 @@ var MenuItemPlugin = {
|
|
|
1620
2090
|
}
|
|
1621
2091
|
};
|
|
1622
2092
|
|
|
1623
|
-
var __extends$
|
|
2093
|
+
var __extends$14 = (undefined && undefined.__extends) || (function () {
|
|
1624
2094
|
var extendStatics = function (d, b) {
|
|
1625
2095
|
extendStatics = Object.setPrototypeOf ||
|
|
1626
2096
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1633,25 +2103,25 @@ var __extends$12 = (undefined && undefined.__extends) || (function () {
|
|
|
1633
2103
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1634
2104
|
};
|
|
1635
2105
|
})();
|
|
1636
|
-
var __decorate$
|
|
2106
|
+
var __decorate$14 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1637
2107
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1638
2108
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1639
2109
|
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;
|
|
1640
2110
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1641
2111
|
};
|
|
1642
2112
|
// {{VueImport}}
|
|
1643
|
-
var properties$
|
|
1644
|
-
var modelProps$
|
|
1645
|
-
var testProp$
|
|
1646
|
-
var props$
|
|
1647
|
-
var watch$
|
|
1648
|
-
var emitProbs$
|
|
1649
|
-
emitProbs$
|
|
1650
|
-
for (var _i$
|
|
1651
|
-
var props_1$
|
|
1652
|
-
emitProbs$
|
|
2113
|
+
var 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'];
|
|
2114
|
+
var modelProps$8 = [];
|
|
2115
|
+
var testProp$8 = getProps({ props: properties$8 });
|
|
2116
|
+
var props$8 = testProp$8[0];
|
|
2117
|
+
var watch$8 = testProp$8[1];
|
|
2118
|
+
var emitProbs$8 = Object.keys(watch$8);
|
|
2119
|
+
emitProbs$8.push('modelchanged');
|
|
2120
|
+
for (var _i$8 = 0, modelProps_1$8 = modelProps$8; _i$8 < modelProps_1$8.length; _i$8++) {
|
|
2121
|
+
var props_1$8 = modelProps_1$8[_i$8];
|
|
2122
|
+
emitProbs$8.push('update:' + props_1$8);
|
|
1653
2123
|
}
|
|
1654
|
-
var isExecute$
|
|
2124
|
+
var isExecute$14 = gh ? false : true;
|
|
1655
2125
|
/**
|
|
1656
2126
|
* Represents the Essential JS 2 VueJS Menu Component.
|
|
1657
2127
|
* ```html
|
|
@@ -1659,21 +2129,22 @@ var isExecute$12 = gh ? false : true;
|
|
|
1659
2129
|
* ```
|
|
1660
2130
|
*/
|
|
1661
2131
|
var MenuComponent = /** @__PURE__ @class */ (function (_super) {
|
|
1662
|
-
__extends$
|
|
2132
|
+
__extends$14(MenuComponent, _super);
|
|
1663
2133
|
function MenuComponent() {
|
|
1664
2134
|
var _this = _super.call(this, arguments) || this;
|
|
1665
|
-
_this.propKeys = properties$
|
|
1666
|
-
_this.models = modelProps$
|
|
2135
|
+
_this.propKeys = properties$8;
|
|
2136
|
+
_this.models = modelProps$8;
|
|
1667
2137
|
_this.hasChildDirective = true;
|
|
1668
2138
|
_this.hasInjectedModules = false;
|
|
1669
2139
|
_this.tagMapper = { "e-menu-items": "e-" };
|
|
1670
2140
|
_this.tagNameMapper = { "e-menu-items": "e-items" };
|
|
1671
|
-
_this.isVue3 = !isExecute$
|
|
2141
|
+
_this.isVue3 = !isExecute$14;
|
|
1672
2142
|
_this.ej2Instances = new Menu({});
|
|
1673
2143
|
_this.bindProperties();
|
|
1674
2144
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
1675
2145
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
1676
2146
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
2147
|
+
_this.updated = _this.updated;
|
|
1677
2148
|
return _this;
|
|
1678
2149
|
}
|
|
1679
2150
|
MenuComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -1732,6 +2203,9 @@ var MenuComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1732
2203
|
}
|
|
1733
2204
|
return h('ul', slots);
|
|
1734
2205
|
};
|
|
2206
|
+
MenuComponent.prototype.custom = function () {
|
|
2207
|
+
this.updated();
|
|
2208
|
+
};
|
|
1735
2209
|
MenuComponent.prototype.close = function () {
|
|
1736
2210
|
return this.ej2Instances.close();
|
|
1737
2211
|
};
|
|
@@ -1762,14 +2236,19 @@ var MenuComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1762
2236
|
MenuComponent.prototype.showItems = function (items, isUniqueId) {
|
|
1763
2237
|
return this.ej2Instances.showItems(items, isUniqueId);
|
|
1764
2238
|
};
|
|
1765
|
-
MenuComponent = __decorate$
|
|
2239
|
+
MenuComponent = __decorate$14([
|
|
1766
2240
|
EJComponentDecorator({
|
|
1767
|
-
props: properties$
|
|
1768
|
-
}, isExecute$
|
|
2241
|
+
props: properties$8
|
|
2242
|
+
}, isExecute$14)
|
|
1769
2243
|
,Options({
|
|
1770
2244
|
props: props,
|
|
1771
2245
|
watch: watch,
|
|
1772
|
-
emits: emitProbs
|
|
2246
|
+
emits: emitProbs,
|
|
2247
|
+
provide: function provide() {
|
|
2248
|
+
return {
|
|
2249
|
+
custom: this.custom
|
|
2250
|
+
};
|
|
2251
|
+
}
|
|
1773
2252
|
})
|
|
1774
2253
|
], MenuComponent);
|
|
1775
2254
|
return MenuComponent;
|
|
@@ -1783,6 +2262,6 @@ var MenuPlugin = {
|
|
|
1783
2262
|
}
|
|
1784
2263
|
};
|
|
1785
2264
|
|
|
1786
|
-
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 };
|
|
2265
|
+
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 };
|
|
1787
2266
|
export * from '@syncfusion/ej2-navigations';
|
|
1788
2267
|
//# sourceMappingURL=ej2-vue-navigations.es5.js.map
|