@syncfusion/ej2-vue-navigations 20.1.48 → 20.1.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +74 -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 +11 -2
- package/dist/es6/ej2-vue-navigations.es2015.js +377 -92
- package/dist/es6/ej2-vue-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-navigations.es5.js +415 -109
- 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 -15
- package/src/accordion/accordion.component.d.ts +1 -1
- package/src/accordion/accordion.component.js +2 -1
- package/src/breadcrumb/breadcrumb.component.js +1 -0
- package/src/carousel/carousel.component.d.ts +43 -0
- package/src/carousel/carousel.component.js +203 -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/index.d.ts +2 -0
- package/src/index.js +2 -0
- package/src/sidebar/sidebar.component.js +1 -0
- package/styles/accordion/bootstrap-dark.css +49 -152
- package/styles/accordion/bootstrap.css +49 -152
- package/styles/accordion/bootstrap4.css +52 -167
- package/styles/accordion/bootstrap5-dark.css +49 -149
- package/styles/accordion/bootstrap5.css +49 -149
- package/styles/accordion/fabric-dark.css +51 -150
- package/styles/accordion/fabric.css +51 -150
- package/styles/accordion/fluent-dark.css +314 -0
- package/styles/accordion/fluent-dark.scss +1 -0
- package/styles/accordion/fluent.css +314 -0
- package/styles/accordion/fluent.scss +1 -0
- package/styles/accordion/highcontrast-light.css +54 -175
- package/styles/accordion/highcontrast.css +54 -175
- package/styles/accordion/material-dark.css +50 -152
- package/styles/accordion/material.css +50 -152
- package/styles/accordion/tailwind-dark.css +52 -154
- package/styles/accordion/tailwind.css +52 -154
- package/styles/bootstrap-dark.css +527 -2037
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.css +527 -2037
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.css +533 -2100
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.css +629 -2181
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.css +629 -2181
- package/styles/bootstrap5.scss +1 -0
- package/styles/breadcrumb/bootstrap-dark.css +15 -89
- package/styles/breadcrumb/bootstrap.css +15 -89
- package/styles/breadcrumb/bootstrap4.css +15 -89
- package/styles/breadcrumb/bootstrap5-dark.css +17 -95
- package/styles/breadcrumb/bootstrap5.css +17 -95
- package/styles/breadcrumb/fabric-dark.css +15 -90
- package/styles/breadcrumb/fabric.css +15 -90
- package/styles/breadcrumb/fluent-dark.css +370 -0
- package/styles/breadcrumb/fluent-dark.scss +1 -0
- package/styles/breadcrumb/fluent.css +370 -0
- package/styles/breadcrumb/fluent.scss +1 -0
- package/styles/breadcrumb/highcontrast-light.css +15 -92
- package/styles/breadcrumb/highcontrast.css +15 -92
- package/styles/breadcrumb/material-dark.css +15 -84
- package/styles/breadcrumb/material.css +15 -84
- package/styles/breadcrumb/tailwind-dark.css +30 -97
- package/styles/breadcrumb/tailwind.css +29 -96
- package/styles/carousel/bootstrap-dark.css +217 -0
- package/styles/carousel/bootstrap-dark.scss +1 -0
- package/styles/carousel/bootstrap.css +217 -0
- package/styles/carousel/bootstrap.scss +1 -0
- package/styles/carousel/bootstrap4.css +217 -0
- package/styles/carousel/bootstrap4.scss +1 -0
- package/styles/carousel/bootstrap5-dark.css +217 -0
- package/styles/carousel/bootstrap5-dark.scss +1 -0
- package/styles/carousel/bootstrap5.css +217 -0
- package/styles/carousel/bootstrap5.scss +1 -0
- package/styles/carousel/fabric-dark.css +217 -0
- package/styles/carousel/fabric-dark.scss +1 -0
- package/styles/carousel/fabric.css +217 -0
- package/styles/carousel/fabric.scss +1 -0
- package/styles/carousel/fluent-dark.css +217 -0
- package/styles/carousel/fluent-dark.scss +1 -0
- package/styles/carousel/fluent.css +217 -0
- package/styles/carousel/fluent.scss +1 -0
- package/styles/carousel/highcontrast-light.css +217 -0
- package/styles/carousel/highcontrast-light.scss +1 -0
- package/styles/carousel/highcontrast.css +217 -0
- package/styles/carousel/highcontrast.scss +1 -0
- package/styles/carousel/material-dark.css +218 -0
- package/styles/carousel/material-dark.scss +1 -0
- package/styles/carousel/material.css +218 -0
- package/styles/carousel/material.scss +1 -0
- package/styles/carousel/tailwind-dark.css +218 -0
- package/styles/carousel/tailwind-dark.scss +1 -0
- package/styles/carousel/tailwind.css +218 -0
- package/styles/carousel/tailwind.scss +1 -0
- package/styles/context-menu/bootstrap-dark.css +10 -59
- package/styles/context-menu/bootstrap.css +10 -59
- package/styles/context-menu/bootstrap4.css +10 -59
- package/styles/context-menu/bootstrap5-dark.css +21 -67
- package/styles/context-menu/bootstrap5.css +21 -67
- package/styles/context-menu/fabric-dark.css +10 -59
- package/styles/context-menu/fabric.css +10 -59
- package/styles/context-menu/fluent-dark.css +334 -0
- package/styles/context-menu/fluent-dark.scss +1 -0
- package/styles/context-menu/fluent.css +334 -0
- package/styles/context-menu/fluent.scss +1 -0
- package/styles/context-menu/highcontrast-light.css +10 -59
- package/styles/context-menu/highcontrast.css +10 -59
- package/styles/context-menu/material-dark.css +10 -59
- package/styles/context-menu/material.css +10 -59
- package/styles/context-menu/tailwind-dark.css +13 -60
- package/styles/context-menu/tailwind.css +13 -60
- package/styles/fabric-dark.css +520 -2026
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.css +520 -2026
- package/styles/fabric.scss +1 -0
- package/styles/fluent-dark.css +8507 -0
- package/styles/fluent-dark.scss +11 -0
- package/styles/fluent.css +8507 -0
- package/styles/fluent.scss +11 -0
- package/styles/h-scroll/bootstrap-dark.css +11 -68
- package/styles/h-scroll/bootstrap.css +11 -68
- package/styles/h-scroll/bootstrap4.css +11 -70
- package/styles/h-scroll/bootstrap5-dark.css +21 -79
- package/styles/h-scroll/bootstrap5.css +21 -79
- package/styles/h-scroll/fabric-dark.css +11 -68
- package/styles/h-scroll/fabric.css +11 -68
- package/styles/h-scroll/fluent-dark.css +269 -0
- package/styles/h-scroll/fluent-dark.scss +1 -0
- package/styles/h-scroll/fluent.css +269 -0
- package/styles/h-scroll/fluent.scss +1 -0
- package/styles/h-scroll/highcontrast-light.css +11 -71
- package/styles/h-scroll/highcontrast.css +11 -71
- package/styles/h-scroll/material-dark.css +14 -72
- package/styles/h-scroll/material.css +11 -69
- package/styles/h-scroll/tailwind-dark.css +11 -69
- package/styles/h-scroll/tailwind.css +11 -69
- package/styles/highcontrast-light.css +524 -2097
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.css +525 -2101
- package/styles/highcontrast.scss +1 -0
- package/styles/material-dark.css +529 -1999
- package/styles/material-dark.scss +1 -0
- package/styles/material.css +519 -1988
- package/styles/material.scss +1 -0
- package/styles/menu/bootstrap-dark.css +28 -203
- package/styles/menu/bootstrap.css +28 -203
- package/styles/menu/bootstrap4.css +29 -213
- package/styles/menu/bootstrap5-dark.css +50 -226
- package/styles/menu/bootstrap5.css +50 -226
- package/styles/menu/fabric-dark.css +28 -203
- package/styles/menu/fabric.css +28 -203
- package/styles/menu/fluent-dark.css +1084 -0
- package/styles/menu/fluent-dark.scss +1 -0
- package/styles/menu/fluent.css +1084 -0
- package/styles/menu/fluent.scss +1 -0
- package/styles/menu/highcontrast-light.css +28 -203
- package/styles/menu/highcontrast.css +28 -203
- package/styles/menu/material-dark.css +28 -205
- package/styles/menu/material.css +28 -205
- package/styles/menu/tailwind-dark.css +31 -206
- package/styles/menu/tailwind.css +31 -206
- package/styles/sidebar/bootstrap-dark.css +14 -25
- package/styles/sidebar/bootstrap.css +14 -25
- package/styles/sidebar/bootstrap4.css +14 -25
- package/styles/sidebar/bootstrap5-dark.css +12 -23
- package/styles/sidebar/bootstrap5.css +12 -23
- package/styles/sidebar/fabric-dark.css +14 -25
- package/styles/sidebar/fabric.css +14 -25
- package/styles/sidebar/fluent-dark.css +143 -0
- package/styles/sidebar/fluent-dark.scss +1 -0
- package/styles/sidebar/fluent.css +143 -0
- package/styles/sidebar/fluent.scss +1 -0
- package/styles/sidebar/highcontrast-light.css +14 -25
- package/styles/sidebar/highcontrast.css +14 -25
- package/styles/sidebar/material-dark.css +14 -25
- package/styles/sidebar/material.css +14 -25
- package/styles/sidebar/tailwind-dark.css +12 -23
- package/styles/sidebar/tailwind.css +12 -23
- package/styles/tab/bootstrap-dark.css +151 -964
- package/styles/tab/bootstrap.css +151 -964
- package/styles/tab/bootstrap4.css +151 -971
- package/styles/tab/bootstrap5-dark.css +173 -998
- package/styles/tab/bootstrap5.css +173 -998
- package/styles/tab/fabric-dark.css +142 -955
- package/styles/tab/fabric.css +142 -955
- package/styles/tab/fluent-dark.css +3588 -0
- package/styles/tab/fluent-dark.scss +1 -0
- package/styles/tab/fluent.css +3588 -0
- package/styles/tab/fluent.scss +1 -0
- package/styles/tab/highcontrast-light.css +143 -981
- package/styles/tab/highcontrast.css +144 -982
- package/styles/tab/material-dark.css +145 -917
- package/styles/tab/material.css +138 -910
- package/styles/tab/tailwind-dark.css +162 -934
- package/styles/tab/tailwind.css +162 -934
- package/styles/tailwind-dark.css +573 -2054
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.css +572 -2053
- package/styles/tailwind.scss +1 -0
- package/styles/toolbar/bootstrap-dark.css +10 -245
- package/styles/toolbar/bootstrap.css +10 -245
- package/styles/toolbar/bootstrap4.css +11 -257
- package/styles/toolbar/bootstrap5-dark.css +41 -281
- package/styles/toolbar/bootstrap5.css +41 -281
- package/styles/toolbar/fabric-dark.css +10 -244
- package/styles/toolbar/fabric.css +10 -244
- package/styles/toolbar/fluent-dark.css +1128 -0
- package/styles/toolbar/fluent-dark.scss +1 -0
- package/styles/toolbar/fluent.css +1128 -0
- package/styles/toolbar/fluent.scss +1 -0
- package/styles/toolbar/highcontrast-light.css +10 -256
- package/styles/toolbar/highcontrast.css +10 -256
- package/styles/toolbar/material-dark.css +10 -247
- package/styles/toolbar/material.css +10 -247
- package/styles/toolbar/tailwind-dark.css +14 -248
- package/styles/toolbar/tailwind.css +14 -248
- package/styles/treeview/bootstrap-dark.css +23 -191
- package/styles/treeview/bootstrap.css +23 -191
- package/styles/treeview/bootstrap4.css +24 -208
- package/styles/treeview/bootstrap5-dark.css +28 -221
- package/styles/treeview/bootstrap5.css +28 -221
- package/styles/treeview/fabric-dark.css +23 -191
- package/styles/treeview/fabric.css +23 -191
- package/styles/treeview/fluent-dark.css +846 -0
- package/styles/treeview/fluent-dark.scss +1 -0
- package/styles/treeview/fluent.css +846 -0
- package/styles/treeview/fluent.scss +1 -0
- package/styles/treeview/highcontrast-light.css +23 -191
- package/styles/treeview/highcontrast.css +23 -194
- package/styles/treeview/material-dark.css +23 -192
- package/styles/treeview/material.css +23 -191
- package/styles/treeview/tailwind-dark.css +31 -222
- package/styles/treeview/tailwind.css +31 -222
- package/styles/v-scroll/bootstrap-dark.css +7 -50
- package/styles/v-scroll/bootstrap.css +7 -50
- package/styles/v-scroll/bootstrap4.css +7 -50
- package/styles/v-scroll/bootstrap5-dark.css +7 -50
- package/styles/v-scroll/bootstrap5.css +7 -50
- package/styles/v-scroll/fabric-dark.css +7 -50
- package/styles/v-scroll/fabric.css +7 -50
- package/styles/v-scroll/fluent-dark.css +204 -0
- package/styles/v-scroll/fluent-dark.scss +1 -0
- package/styles/v-scroll/fluent.css +204 -0
- package/styles/v-scroll/fluent.scss +1 -0
- package/styles/v-scroll/highcontrast-light.css +7 -53
- package/styles/v-scroll/highcontrast.css +7 -53
- package/styles/v-scroll/material-dark.css +7 -51
- package/styles/v-scroll/material.css +7 -51
- package/styles/v-scroll/tailwind-dark.css +7 -50
- package/styles/v-scroll/tailwind.css +7 -50
|
@@ -1,4 +1,4 @@
|
|
|
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
4
|
import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
|
|
@@ -116,7 +116,7 @@ for (let props of modelProps) {
|
|
|
116
116
|
}
|
|
117
117
|
const isExecute$1 = gh ? false : true;
|
|
118
118
|
/**
|
|
119
|
-
* Represents the VueJS
|
|
119
|
+
* Represents the VueJS Accordion Component.
|
|
120
120
|
* ```html
|
|
121
121
|
* <ejs-accordion></ejs-accordion>
|
|
122
122
|
* ```
|
|
@@ -207,6 +207,7 @@ class AccordionComponent extends ComponentBase {
|
|
|
207
207
|
if (!isExecute$1) {
|
|
208
208
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
209
209
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
210
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
210
211
|
}
|
|
211
212
|
else {
|
|
212
213
|
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
@@ -900,6 +901,7 @@ class BreadcrumbComponent extends ComponentBase {
|
|
|
900
901
|
if (!isExecute$6) {
|
|
901
902
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
902
903
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
904
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
903
905
|
}
|
|
904
906
|
else {
|
|
905
907
|
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
@@ -981,6 +983,288 @@ if (!isExecute$7 || parseInt(allVue.version) < 3) {
|
|
|
981
983
|
else {
|
|
982
984
|
vueImport$3 = Vue$1;
|
|
983
985
|
}
|
|
986
|
+
let CarouselItemsDirective =
|
|
987
|
+
/* Start Options({
|
|
988
|
+
inject: {
|
|
989
|
+
custom: {
|
|
990
|
+
default: null
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
}) End */
|
|
994
|
+
class CarouselItemsDirective extends vueImport$3 {
|
|
995
|
+
constructor() {
|
|
996
|
+
super(arguments);
|
|
997
|
+
}
|
|
998
|
+
render(createElement) {
|
|
999
|
+
if (gh) {
|
|
1000
|
+
let h = gh || createElement;
|
|
1001
|
+
let slots = null;
|
|
1002
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1003
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1004
|
+
}
|
|
1005
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
1006
|
+
}
|
|
1007
|
+
return;
|
|
1008
|
+
}
|
|
1009
|
+
updated() {
|
|
1010
|
+
if (gh && this.custom) {
|
|
1011
|
+
this.custom();
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
getTag() {
|
|
1015
|
+
return 'e-carousel-items';
|
|
1016
|
+
}
|
|
1017
|
+
};
|
|
1018
|
+
CarouselItemsDirective = __decorate$7([
|
|
1019
|
+
EJComponentDecorator({}, isExecute$7)
|
|
1020
|
+
/* Start Options({
|
|
1021
|
+
inject: {
|
|
1022
|
+
custom: {
|
|
1023
|
+
default: null
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
}) End */
|
|
1027
|
+
], CarouselItemsDirective);
|
|
1028
|
+
const CarouselItemsPlugin = {
|
|
1029
|
+
name: 'e-carousel-items',
|
|
1030
|
+
install(Vue$$1) {
|
|
1031
|
+
Vue$$1.component(CarouselItemsPlugin.name, CarouselItemsDirective);
|
|
1032
|
+
}
|
|
1033
|
+
};
|
|
1034
|
+
/**
|
|
1035
|
+
* `e-carousel-item` directive represent a item of the Vue Carousel.
|
|
1036
|
+
* It must be contained in a Carousel component(`ejs-carousel`).
|
|
1037
|
+
* ```html
|
|
1038
|
+
* <ejs-carousel>
|
|
1039
|
+
* <e-carousel-items>
|
|
1040
|
+
* <e-carousel-item template='itemTemplate'></e-carousel-item>
|
|
1041
|
+
* <e-carousel-item template='secondItemTemplate'></e-carousel-item>
|
|
1042
|
+
* </e-carousel-items>
|
|
1043
|
+
* </ejs-carousel>
|
|
1044
|
+
* ```
|
|
1045
|
+
*/
|
|
1046
|
+
let CarouselItemDirective = class CarouselItemDirective extends vueImport$3 {
|
|
1047
|
+
render() {
|
|
1048
|
+
return;
|
|
1049
|
+
}
|
|
1050
|
+
getTag() {
|
|
1051
|
+
return 'e-carousel-item';
|
|
1052
|
+
}
|
|
1053
|
+
};
|
|
1054
|
+
CarouselItemDirective = __decorate$7([
|
|
1055
|
+
EJComponentDecorator({}, isExecute$7)
|
|
1056
|
+
], CarouselItemDirective);
|
|
1057
|
+
const CarouselItemPlugin = {
|
|
1058
|
+
name: 'e-carousel-item',
|
|
1059
|
+
install(Vue$$1) {
|
|
1060
|
+
Vue$$1.component(CarouselItemPlugin.name, CarouselItemDirective);
|
|
1061
|
+
}
|
|
1062
|
+
};
|
|
1063
|
+
|
|
1064
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1065
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1066
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1067
|
+
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;
|
|
1068
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1069
|
+
};
|
|
1070
|
+
// {{VueImport}}
|
|
1071
|
+
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'];
|
|
1072
|
+
const modelProps$4 = ['selectedIndex'];
|
|
1073
|
+
const testProp$4 = getProps({ props: properties$4 });
|
|
1074
|
+
const props$4 = testProp$4[0];
|
|
1075
|
+
const watch$4 = testProp$4[1];
|
|
1076
|
+
const emitProbs$4 = Object.keys(watch$4);
|
|
1077
|
+
emitProbs$4.push('modelchanged');
|
|
1078
|
+
for (let props of modelProps$4) {
|
|
1079
|
+
emitProbs$4.push('update:' + props);
|
|
1080
|
+
}
|
|
1081
|
+
const isExecute$8 = gh ? false : true;
|
|
1082
|
+
/**
|
|
1083
|
+
* Represents the VueJS Carousel Component.
|
|
1084
|
+
* ```html
|
|
1085
|
+
* <ejs-carousel :items='carouselItems'></ejs-carousel>
|
|
1086
|
+
* ```
|
|
1087
|
+
*/
|
|
1088
|
+
let CarouselComponent =
|
|
1089
|
+
/* Start Options({
|
|
1090
|
+
props: props,
|
|
1091
|
+
watch: watch,
|
|
1092
|
+
emits: emitProbs,
|
|
1093
|
+
provide: function provide() {
|
|
1094
|
+
return {
|
|
1095
|
+
custom: this.custom
|
|
1096
|
+
};
|
|
1097
|
+
}
|
|
1098
|
+
}) End */
|
|
1099
|
+
class CarouselComponent extends ComponentBase {
|
|
1100
|
+
constructor() {
|
|
1101
|
+
super(arguments);
|
|
1102
|
+
this.propKeys = properties$4;
|
|
1103
|
+
this.models = modelProps$4;
|
|
1104
|
+
this.hasChildDirective = true;
|
|
1105
|
+
this.hasInjectedModules = false;
|
|
1106
|
+
this.tagMapper = { "e-carousel-items": "e-carousel-item" };
|
|
1107
|
+
this.tagNameMapper = { "e-carousel-items": "e-items" };
|
|
1108
|
+
this.isVue3 = !isExecute$8;
|
|
1109
|
+
this.ej2Instances = new Carousel({});
|
|
1110
|
+
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
1111
|
+
this.ej2Instances.trigger = this.trigger;
|
|
1112
|
+
this.bindProperties();
|
|
1113
|
+
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
1114
|
+
this.ej2Instances.setProperties = this.setProperties;
|
|
1115
|
+
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1116
|
+
this.updated = this.updated;
|
|
1117
|
+
}
|
|
1118
|
+
clearTemplate(templateNames) {
|
|
1119
|
+
if (!templateNames) {
|
|
1120
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
1121
|
+
}
|
|
1122
|
+
if (templateNames.length && this.templateCollection) {
|
|
1123
|
+
for (let tempName of templateNames) {
|
|
1124
|
+
let elementCollection = this.templateCollection[tempName];
|
|
1125
|
+
if (elementCollection && elementCollection.length) {
|
|
1126
|
+
for (let ele of elementCollection) {
|
|
1127
|
+
let destroy = getValue('__vue__.$destroy', ele);
|
|
1128
|
+
if (destroy) {
|
|
1129
|
+
ele.__vue__.$destroy();
|
|
1130
|
+
}
|
|
1131
|
+
if (ele.innerHTML) {
|
|
1132
|
+
ele.innerHTML = '';
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
delete this.templateCollection[tempName];
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
setProperties(prop, muteOnChange) {
|
|
1141
|
+
if (this.isVue3) {
|
|
1142
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1143
|
+
}
|
|
1144
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
1145
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
1146
|
+
}
|
|
1147
|
+
if (prop && this.models && this.models.length) {
|
|
1148
|
+
Object.keys(prop).map((key) => {
|
|
1149
|
+
this.models.map((model) => {
|
|
1150
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
1151
|
+
if (this.isVue3) {
|
|
1152
|
+
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
1153
|
+
}
|
|
1154
|
+
else {
|
|
1155
|
+
this.$emit('update:' + key, prop[key]);
|
|
1156
|
+
this.$emit('modelchanged', prop[key]);
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
});
|
|
1160
|
+
});
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
trigger(eventName, eventProp, successHandler) {
|
|
1164
|
+
if (!isExecute$8) {
|
|
1165
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1166
|
+
}
|
|
1167
|
+
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1168
|
+
let key = this.models.toString().match(/checked|value/) || [];
|
|
1169
|
+
let propKey = key[0];
|
|
1170
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1171
|
+
if (!isExecute$8) {
|
|
1172
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1173
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1174
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
1175
|
+
}
|
|
1176
|
+
else {
|
|
1177
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
1178
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1179
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
1185
|
+
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1186
|
+
let propKey = key[0];
|
|
1187
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1188
|
+
if (!isExecute$8) {
|
|
1189
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1190
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1191
|
+
}
|
|
1192
|
+
else {
|
|
1193
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1194
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
1199
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
render(createElement) {
|
|
1203
|
+
let h = gh || createElement;
|
|
1204
|
+
let slots = null;
|
|
1205
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1206
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1207
|
+
}
|
|
1208
|
+
return h('div', slots);
|
|
1209
|
+
}
|
|
1210
|
+
custom() {
|
|
1211
|
+
this.updated();
|
|
1212
|
+
}
|
|
1213
|
+
next() {
|
|
1214
|
+
return this.ej2Instances.next();
|
|
1215
|
+
}
|
|
1216
|
+
pause() {
|
|
1217
|
+
return this.ej2Instances.pause();
|
|
1218
|
+
}
|
|
1219
|
+
play() {
|
|
1220
|
+
return this.ej2Instances.play();
|
|
1221
|
+
}
|
|
1222
|
+
prev() {
|
|
1223
|
+
return this.ej2Instances.prev();
|
|
1224
|
+
}
|
|
1225
|
+
};
|
|
1226
|
+
CarouselComponent = __decorate$8([
|
|
1227
|
+
EJComponentDecorator({
|
|
1228
|
+
props: properties$4,
|
|
1229
|
+
model: {
|
|
1230
|
+
event: 'modelchanged'
|
|
1231
|
+
}
|
|
1232
|
+
}, isExecute$8)
|
|
1233
|
+
/* Start Options({
|
|
1234
|
+
props: props,
|
|
1235
|
+
watch: watch,
|
|
1236
|
+
emits: emitProbs,
|
|
1237
|
+
provide: function provide() {
|
|
1238
|
+
return {
|
|
1239
|
+
custom: this.custom
|
|
1240
|
+
};
|
|
1241
|
+
}
|
|
1242
|
+
}) End */
|
|
1243
|
+
], CarouselComponent);
|
|
1244
|
+
const CarouselPlugin = {
|
|
1245
|
+
name: 'ejs-carousel',
|
|
1246
|
+
install(Vue$$1) {
|
|
1247
|
+
Vue$$1.component(CarouselPlugin.name, CarouselComponent);
|
|
1248
|
+
Vue$$1.component(CarouselItemPlugin.name, CarouselItemDirective);
|
|
1249
|
+
Vue$$1.component(CarouselItemsPlugin.name, CarouselItemsDirective);
|
|
1250
|
+
}
|
|
1251
|
+
};
|
|
1252
|
+
|
|
1253
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1254
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1255
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1256
|
+
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;
|
|
1257
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1258
|
+
};
|
|
1259
|
+
// {{VueImport}}
|
|
1260
|
+
const isExecute$9 = gh ? false : true;
|
|
1261
|
+
let vueImport$4;
|
|
1262
|
+
if (!isExecute$9 || parseInt(allVue.version) < 3) {
|
|
1263
|
+
vueImport$4 = Vue;
|
|
1264
|
+
}
|
|
1265
|
+
else {
|
|
1266
|
+
vueImport$4 = Vue$1;
|
|
1267
|
+
}
|
|
984
1268
|
let TabItemsDirective =
|
|
985
1269
|
/* Start Options({
|
|
986
1270
|
inject: {
|
|
@@ -989,7 +1273,7 @@ let TabItemsDirective =
|
|
|
989
1273
|
}
|
|
990
1274
|
}
|
|
991
1275
|
}) End */
|
|
992
|
-
class TabItemsDirective extends vueImport$
|
|
1276
|
+
class TabItemsDirective extends vueImport$4 {
|
|
993
1277
|
constructor() {
|
|
994
1278
|
super(arguments);
|
|
995
1279
|
}
|
|
@@ -1013,8 +1297,8 @@ class TabItemsDirective extends vueImport$3 {
|
|
|
1013
1297
|
return 'e-tabitems';
|
|
1014
1298
|
}
|
|
1015
1299
|
};
|
|
1016
|
-
TabItemsDirective = __decorate$
|
|
1017
|
-
EJComponentDecorator({}, isExecute$
|
|
1300
|
+
TabItemsDirective = __decorate$9([
|
|
1301
|
+
EJComponentDecorator({}, isExecute$9)
|
|
1018
1302
|
/* Start Options({
|
|
1019
1303
|
inject: {
|
|
1020
1304
|
custom: {
|
|
@@ -1041,7 +1325,7 @@ const TabItemsPlugin = {
|
|
|
1041
1325
|
* </ejs-tab>
|
|
1042
1326
|
* ```
|
|
1043
1327
|
*/
|
|
1044
|
-
let TabItemDirective = class TabItemDirective extends vueImport$
|
|
1328
|
+
let TabItemDirective = class TabItemDirective extends vueImport$4 {
|
|
1045
1329
|
render() {
|
|
1046
1330
|
return;
|
|
1047
1331
|
}
|
|
@@ -1049,8 +1333,8 @@ let TabItemDirective = class TabItemDirective extends vueImport$3 {
|
|
|
1049
1333
|
return 'e-tabitem';
|
|
1050
1334
|
}
|
|
1051
1335
|
};
|
|
1052
|
-
TabItemDirective = __decorate$
|
|
1053
|
-
EJComponentDecorator({}, isExecute$
|
|
1336
|
+
TabItemDirective = __decorate$9([
|
|
1337
|
+
EJComponentDecorator({}, isExecute$9)
|
|
1054
1338
|
], TabItemDirective);
|
|
1055
1339
|
const TabItemPlugin = {
|
|
1056
1340
|
name: 'e-tabitem',
|
|
@@ -1059,24 +1343,24 @@ const TabItemPlugin = {
|
|
|
1059
1343
|
}
|
|
1060
1344
|
};
|
|
1061
1345
|
|
|
1062
|
-
var __decorate$
|
|
1346
|
+
var __decorate$10 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1063
1347
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1064
1348
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1065
1349
|
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
1350
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1067
1351
|
};
|
|
1068
1352
|
// {{VueImport}}
|
|
1069
|
-
const properties$
|
|
1070
|
-
const modelProps$
|
|
1071
|
-
const testProp$
|
|
1072
|
-
const props$
|
|
1073
|
-
const watch$
|
|
1074
|
-
const emitProbs$
|
|
1075
|
-
emitProbs$
|
|
1076
|
-
for (let props of modelProps$
|
|
1077
|
-
emitProbs$
|
|
1353
|
+
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'];
|
|
1354
|
+
const modelProps$5 = [];
|
|
1355
|
+
const testProp$5 = getProps({ props: properties$5 });
|
|
1356
|
+
const props$5 = testProp$5[0];
|
|
1357
|
+
const watch$5 = testProp$5[1];
|
|
1358
|
+
const emitProbs$5 = Object.keys(watch$5);
|
|
1359
|
+
emitProbs$5.push('modelchanged');
|
|
1360
|
+
for (let props of modelProps$5) {
|
|
1361
|
+
emitProbs$5.push('update:' + props);
|
|
1078
1362
|
}
|
|
1079
|
-
const isExecute$
|
|
1363
|
+
const isExecute$10 = gh ? false : true;
|
|
1080
1364
|
/**
|
|
1081
1365
|
* Represents the VueJS Tab Component.
|
|
1082
1366
|
* ```html
|
|
@@ -1097,13 +1381,13 @@ let TabComponent =
|
|
|
1097
1381
|
class TabComponent extends ComponentBase {
|
|
1098
1382
|
constructor() {
|
|
1099
1383
|
super(arguments);
|
|
1100
|
-
this.propKeys = properties$
|
|
1101
|
-
this.models = modelProps$
|
|
1384
|
+
this.propKeys = properties$5;
|
|
1385
|
+
this.models = modelProps$5;
|
|
1102
1386
|
this.hasChildDirective = true;
|
|
1103
1387
|
this.hasInjectedModules = false;
|
|
1104
1388
|
this.tagMapper = { "e-tabitems": "e-tabitem" };
|
|
1105
1389
|
this.tagNameMapper = { "e-tabitems": "e-items" };
|
|
1106
|
-
this.isVue3 = !isExecute$
|
|
1390
|
+
this.isVue3 = !isExecute$10;
|
|
1107
1391
|
this.ej2Instances = new Tab({});
|
|
1108
1392
|
this.bindProperties();
|
|
1109
1393
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -1195,10 +1479,10 @@ class TabComponent extends ComponentBase {
|
|
|
1195
1479
|
return this.ej2Instances.select(args, event);
|
|
1196
1480
|
}
|
|
1197
1481
|
};
|
|
1198
|
-
TabComponent = __decorate$
|
|
1482
|
+
TabComponent = __decorate$10([
|
|
1199
1483
|
EJComponentDecorator({
|
|
1200
|
-
props: properties$
|
|
1201
|
-
}, isExecute$
|
|
1484
|
+
props: properties$5
|
|
1485
|
+
}, isExecute$10)
|
|
1202
1486
|
/* Start Options({
|
|
1203
1487
|
props: props,
|
|
1204
1488
|
watch: watch,
|
|
@@ -1219,24 +1503,24 @@ const TabPlugin = {
|
|
|
1219
1503
|
}
|
|
1220
1504
|
};
|
|
1221
1505
|
|
|
1222
|
-
var __decorate$
|
|
1506
|
+
var __decorate$11 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1223
1507
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1224
1508
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1225
1509
|
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;
|
|
1226
1510
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1227
1511
|
};
|
|
1228
1512
|
// {{VueImport}}
|
|
1229
|
-
const properties$
|
|
1230
|
-
const modelProps$
|
|
1231
|
-
const testProp$
|
|
1232
|
-
const props$
|
|
1233
|
-
const watch$
|
|
1234
|
-
const emitProbs$
|
|
1235
|
-
emitProbs$
|
|
1236
|
-
for (let props of modelProps$
|
|
1237
|
-
emitProbs$
|
|
1513
|
+
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'];
|
|
1514
|
+
const modelProps$6 = [];
|
|
1515
|
+
const testProp$6 = getProps({ props: properties$6 });
|
|
1516
|
+
const props$6 = testProp$6[0];
|
|
1517
|
+
const watch$6 = testProp$6[1];
|
|
1518
|
+
const emitProbs$6 = Object.keys(watch$6);
|
|
1519
|
+
emitProbs$6.push('modelchanged');
|
|
1520
|
+
for (let props of modelProps$6) {
|
|
1521
|
+
emitProbs$6.push('update:' + props);
|
|
1238
1522
|
}
|
|
1239
|
-
const isExecute$
|
|
1523
|
+
const isExecute$11 = gh ? false : true;
|
|
1240
1524
|
/**
|
|
1241
1525
|
* Represents the EJ2 VueJS TreeView Component.
|
|
1242
1526
|
* ```html
|
|
@@ -1257,13 +1541,13 @@ let TreeViewComponent =
|
|
|
1257
1541
|
class TreeViewComponent extends ComponentBase {
|
|
1258
1542
|
constructor() {
|
|
1259
1543
|
super(arguments);
|
|
1260
|
-
this.propKeys = properties$
|
|
1261
|
-
this.models = modelProps$
|
|
1544
|
+
this.propKeys = properties$6;
|
|
1545
|
+
this.models = modelProps$6;
|
|
1262
1546
|
this.hasChildDirective = false;
|
|
1263
1547
|
this.hasInjectedModules = false;
|
|
1264
1548
|
this.tagMapper = {};
|
|
1265
1549
|
this.tagNameMapper = {};
|
|
1266
|
-
this.isVue3 = !isExecute$
|
|
1550
|
+
this.isVue3 = !isExecute$11;
|
|
1267
1551
|
this.ej2Instances = new TreeView({});
|
|
1268
1552
|
this.bindProperties();
|
|
1269
1553
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -1379,10 +1663,10 @@ class TreeViewComponent extends ComponentBase {
|
|
|
1379
1663
|
return this.ej2Instances.updateNode(target, newText);
|
|
1380
1664
|
}
|
|
1381
1665
|
};
|
|
1382
|
-
TreeViewComponent = __decorate$
|
|
1666
|
+
TreeViewComponent = __decorate$11([
|
|
1383
1667
|
EJComponentDecorator({
|
|
1384
|
-
props: properties$
|
|
1385
|
-
}, isExecute$
|
|
1668
|
+
props: properties$6
|
|
1669
|
+
}, isExecute$11)
|
|
1386
1670
|
/* Start Options({
|
|
1387
1671
|
props: props,
|
|
1388
1672
|
watch: watch,
|
|
@@ -1401,24 +1685,24 @@ const TreeViewPlugin = {
|
|
|
1401
1685
|
}
|
|
1402
1686
|
};
|
|
1403
1687
|
|
|
1404
|
-
var __decorate$
|
|
1688
|
+
var __decorate$12 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1405
1689
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1406
1690
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1407
1691
|
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;
|
|
1408
1692
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1409
1693
|
};
|
|
1410
1694
|
// {{VueImport}}
|
|
1411
|
-
const properties$
|
|
1412
|
-
const modelProps$
|
|
1413
|
-
const testProp$
|
|
1414
|
-
const props$
|
|
1415
|
-
const watch$
|
|
1416
|
-
const emitProbs$
|
|
1417
|
-
emitProbs$
|
|
1418
|
-
for (let props of modelProps$
|
|
1419
|
-
emitProbs$
|
|
1695
|
+
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'];
|
|
1696
|
+
const modelProps$7 = ['isOpen'];
|
|
1697
|
+
const testProp$7 = getProps({ props: properties$7 });
|
|
1698
|
+
const props$7 = testProp$7[0];
|
|
1699
|
+
const watch$7 = testProp$7[1];
|
|
1700
|
+
const emitProbs$7 = Object.keys(watch$7);
|
|
1701
|
+
emitProbs$7.push('modelchanged');
|
|
1702
|
+
for (let props of modelProps$7) {
|
|
1703
|
+
emitProbs$7.push('update:' + props);
|
|
1420
1704
|
}
|
|
1421
|
-
const isExecute$
|
|
1705
|
+
const isExecute$12 = gh ? false : true;
|
|
1422
1706
|
/**
|
|
1423
1707
|
* Represents the Essential JS 2 VueJS Sidebar Component.
|
|
1424
1708
|
* ```html
|
|
@@ -1439,13 +1723,13 @@ let SidebarComponent =
|
|
|
1439
1723
|
class SidebarComponent extends ComponentBase {
|
|
1440
1724
|
constructor() {
|
|
1441
1725
|
super(arguments);
|
|
1442
|
-
this.propKeys = properties$
|
|
1443
|
-
this.models = modelProps$
|
|
1726
|
+
this.propKeys = properties$7;
|
|
1727
|
+
this.models = modelProps$7;
|
|
1444
1728
|
this.hasChildDirective = false;
|
|
1445
1729
|
this.hasInjectedModules = false;
|
|
1446
1730
|
this.tagMapper = {};
|
|
1447
1731
|
this.tagNameMapper = {};
|
|
1448
|
-
this.isVue3 = !isExecute$
|
|
1732
|
+
this.isVue3 = !isExecute$12;
|
|
1449
1733
|
this.ej2Instances = new Sidebar({});
|
|
1450
1734
|
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
1451
1735
|
this.ej2Instances.trigger = this.trigger;
|
|
@@ -1501,16 +1785,17 @@ class SidebarComponent extends ComponentBase {
|
|
|
1501
1785
|
}
|
|
1502
1786
|
}
|
|
1503
1787
|
trigger(eventName, eventProp, successHandler) {
|
|
1504
|
-
if (!isExecute$
|
|
1788
|
+
if (!isExecute$12) {
|
|
1505
1789
|
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1506
1790
|
}
|
|
1507
1791
|
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1508
1792
|
let key = this.models.toString().match(/checked|value/) || [];
|
|
1509
1793
|
let propKey = key[0];
|
|
1510
1794
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1511
|
-
if (!isExecute$
|
|
1795
|
+
if (!isExecute$12) {
|
|
1512
1796
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1513
1797
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1798
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
1514
1799
|
}
|
|
1515
1800
|
else {
|
|
1516
1801
|
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
@@ -1524,7 +1809,7 @@ class SidebarComponent extends ComponentBase {
|
|
|
1524
1809
|
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1525
1810
|
let propKey = key[0];
|
|
1526
1811
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1527
|
-
if (!isExecute$
|
|
1812
|
+
if (!isExecute$12) {
|
|
1528
1813
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1529
1814
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1530
1815
|
}
|
|
@@ -1559,13 +1844,13 @@ class SidebarComponent extends ComponentBase {
|
|
|
1559
1844
|
return this.ej2Instances.toggle();
|
|
1560
1845
|
}
|
|
1561
1846
|
};
|
|
1562
|
-
SidebarComponent = __decorate$
|
|
1847
|
+
SidebarComponent = __decorate$12([
|
|
1563
1848
|
EJComponentDecorator({
|
|
1564
|
-
props: properties$
|
|
1849
|
+
props: properties$7,
|
|
1565
1850
|
model: {
|
|
1566
1851
|
event: 'modelchanged'
|
|
1567
1852
|
}
|
|
1568
|
-
}, isExecute$
|
|
1853
|
+
}, isExecute$12)
|
|
1569
1854
|
/* Start Options({
|
|
1570
1855
|
props: props,
|
|
1571
1856
|
watch: watch,
|
|
@@ -1584,20 +1869,20 @@ const SidebarPlugin = {
|
|
|
1584
1869
|
}
|
|
1585
1870
|
};
|
|
1586
1871
|
|
|
1587
|
-
var __decorate$
|
|
1872
|
+
var __decorate$13 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1588
1873
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1589
1874
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1590
1875
|
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;
|
|
1591
1876
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1592
1877
|
};
|
|
1593
1878
|
// {{VueImport}}
|
|
1594
|
-
const isExecute$
|
|
1595
|
-
let vueImport$
|
|
1596
|
-
if (!isExecute$
|
|
1597
|
-
vueImport$
|
|
1879
|
+
const isExecute$13 = gh ? false : true;
|
|
1880
|
+
let vueImport$5;
|
|
1881
|
+
if (!isExecute$13 || parseInt(allVue.version) < 3) {
|
|
1882
|
+
vueImport$5 = Vue;
|
|
1598
1883
|
}
|
|
1599
1884
|
else {
|
|
1600
|
-
vueImport$
|
|
1885
|
+
vueImport$5 = Vue$1;
|
|
1601
1886
|
}
|
|
1602
1887
|
let MenuItemsDirective =
|
|
1603
1888
|
/* Start Options({
|
|
@@ -1607,7 +1892,7 @@ let MenuItemsDirective =
|
|
|
1607
1892
|
}
|
|
1608
1893
|
}
|
|
1609
1894
|
}) End */
|
|
1610
|
-
class MenuItemsDirective extends vueImport$
|
|
1895
|
+
class MenuItemsDirective extends vueImport$5 {
|
|
1611
1896
|
constructor() {
|
|
1612
1897
|
super(arguments);
|
|
1613
1898
|
}
|
|
@@ -1631,8 +1916,8 @@ class MenuItemsDirective extends vueImport$4 {
|
|
|
1631
1916
|
return 'e-menu-items';
|
|
1632
1917
|
}
|
|
1633
1918
|
};
|
|
1634
|
-
MenuItemsDirective = __decorate$
|
|
1635
|
-
EJComponentDecorator({}, isExecute$
|
|
1919
|
+
MenuItemsDirective = __decorate$13([
|
|
1920
|
+
EJComponentDecorator({}, isExecute$13)
|
|
1636
1921
|
/* Start Options({
|
|
1637
1922
|
inject: {
|
|
1638
1923
|
custom: {
|
|
@@ -1647,7 +1932,7 @@ const MenuItemsPlugin = {
|
|
|
1647
1932
|
Vue$$1.component(MenuItemsPlugin.name, MenuItemsDirective);
|
|
1648
1933
|
}
|
|
1649
1934
|
};
|
|
1650
|
-
let MenuItemDirective = class MenuItemDirective extends vueImport$
|
|
1935
|
+
let MenuItemDirective = class MenuItemDirective extends vueImport$5 {
|
|
1651
1936
|
render() {
|
|
1652
1937
|
return;
|
|
1653
1938
|
}
|
|
@@ -1655,8 +1940,8 @@ let MenuItemDirective = class MenuItemDirective extends vueImport$4 {
|
|
|
1655
1940
|
return 'e-';
|
|
1656
1941
|
}
|
|
1657
1942
|
};
|
|
1658
|
-
MenuItemDirective = __decorate$
|
|
1659
|
-
EJComponentDecorator({}, isExecute$
|
|
1943
|
+
MenuItemDirective = __decorate$13([
|
|
1944
|
+
EJComponentDecorator({}, isExecute$13)
|
|
1660
1945
|
], MenuItemDirective);
|
|
1661
1946
|
const MenuItemPlugin = {
|
|
1662
1947
|
name: 'e-',
|
|
@@ -1665,24 +1950,24 @@ const MenuItemPlugin = {
|
|
|
1665
1950
|
}
|
|
1666
1951
|
};
|
|
1667
1952
|
|
|
1668
|
-
var __decorate$
|
|
1953
|
+
var __decorate$14 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1669
1954
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1670
1955
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1671
1956
|
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;
|
|
1672
1957
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1673
1958
|
};
|
|
1674
1959
|
// {{VueImport}}
|
|
1675
|
-
const properties$
|
|
1676
|
-
const modelProps$
|
|
1677
|
-
const testProp$
|
|
1678
|
-
const props$
|
|
1679
|
-
const watch$
|
|
1680
|
-
const emitProbs$
|
|
1681
|
-
emitProbs$
|
|
1682
|
-
for (let props of modelProps$
|
|
1683
|
-
emitProbs$
|
|
1960
|
+
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'];
|
|
1961
|
+
const modelProps$8 = [];
|
|
1962
|
+
const testProp$8 = getProps({ props: properties$8 });
|
|
1963
|
+
const props$8 = testProp$8[0];
|
|
1964
|
+
const watch$8 = testProp$8[1];
|
|
1965
|
+
const emitProbs$8 = Object.keys(watch$8);
|
|
1966
|
+
emitProbs$8.push('modelchanged');
|
|
1967
|
+
for (let props of modelProps$8) {
|
|
1968
|
+
emitProbs$8.push('update:' + props);
|
|
1684
1969
|
}
|
|
1685
|
-
const isExecute$
|
|
1970
|
+
const isExecute$14 = gh ? false : true;
|
|
1686
1971
|
/**
|
|
1687
1972
|
* Represents the Essential JS 2 VueJS Menu Component.
|
|
1688
1973
|
* ```html
|
|
@@ -1703,13 +1988,13 @@ let MenuComponent =
|
|
|
1703
1988
|
class MenuComponent extends ComponentBase {
|
|
1704
1989
|
constructor() {
|
|
1705
1990
|
super(arguments);
|
|
1706
|
-
this.propKeys = properties$
|
|
1707
|
-
this.models = modelProps$
|
|
1991
|
+
this.propKeys = properties$8;
|
|
1992
|
+
this.models = modelProps$8;
|
|
1708
1993
|
this.hasChildDirective = true;
|
|
1709
1994
|
this.hasInjectedModules = false;
|
|
1710
1995
|
this.tagMapper = { "e-menu-items": "e-" };
|
|
1711
1996
|
this.tagNameMapper = { "e-menu-items": "e-items" };
|
|
1712
|
-
this.isVue3 = !isExecute$
|
|
1997
|
+
this.isVue3 = !isExecute$14;
|
|
1713
1998
|
this.ej2Instances = new Menu({});
|
|
1714
1999
|
this.bindProperties();
|
|
1715
2000
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -1804,10 +2089,10 @@ class MenuComponent extends ComponentBase {
|
|
|
1804
2089
|
return this.ej2Instances.showItems(items, isUniqueId);
|
|
1805
2090
|
}
|
|
1806
2091
|
};
|
|
1807
|
-
MenuComponent = __decorate$
|
|
2092
|
+
MenuComponent = __decorate$14([
|
|
1808
2093
|
EJComponentDecorator({
|
|
1809
|
-
props: properties$
|
|
1810
|
-
}, isExecute$
|
|
2094
|
+
props: properties$8
|
|
2095
|
+
}, isExecute$14)
|
|
1811
2096
|
/* Start Options({
|
|
1812
2097
|
props: props,
|
|
1813
2098
|
watch: watch,
|
|
@@ -1828,6 +2113,6 @@ const MenuPlugin = {
|
|
|
1828
2113
|
}
|
|
1829
2114
|
};
|
|
1830
2115
|
|
|
1831
|
-
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 };
|
|
2116
|
+
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 };
|
|
1832
2117
|
export * from '@syncfusion/ej2-navigations';
|
|
1833
2118
|
//# sourceMappingURL=ej2-vue-navigations.es2015.js.map
|