@syncfusion/ej2-vue-navigations 20.1.48 → 20.1.51
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 +54 -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 +373 -92
- package/dist/es6/ej2-vue-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-navigations.es5.js +411 -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 +1 -1
- 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/index.d.ts +2 -0
- package/src/index.js +2 -0
- 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 +309 -68
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.css +309 -68
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.css +309 -68
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.css +414 -170
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.css +414 -170
- package/styles/bootstrap5.scss +1 -0
- package/styles/breadcrumb/bootstrap-dark.css +9 -1
- package/styles/breadcrumb/bootstrap.css +9 -1
- package/styles/breadcrumb/bootstrap4.css +9 -1
- package/styles/breadcrumb/bootstrap5-dark.css +11 -3
- package/styles/breadcrumb/bootstrap5.css +11 -3
- package/styles/breadcrumb/fabric-dark.css +9 -3
- package/styles/breadcrumb/fabric.css +9 -3
- 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 +9 -3
- package/styles/breadcrumb/highcontrast.css +9 -3
- package/styles/breadcrumb/material-dark.css +9 -1
- package/styles/breadcrumb/material.css +9 -1
- package/styles/breadcrumb/tailwind-dark.css +27 -10
- package/styles/breadcrumb/tailwind.css +26 -9
- 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 +311 -72
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.css +311 -72
- 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 +310 -71
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.css +311 -72
- package/styles/highcontrast.scss +1 -0
- package/styles/material-dark.css +313 -72
- package/styles/material-dark.scss +1 -0
- package/styles/material.css +310 -69
- 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 +428 -177
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.css +427 -176
- 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,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
|
* ```
|
|
@@ -981,6 +981,287 @@ if (!isExecute$7 || parseInt(allVue.version) < 3) {
|
|
|
981
981
|
else {
|
|
982
982
|
vueImport$3 = Vue$1;
|
|
983
983
|
}
|
|
984
|
+
let CarouselItemsDirective =
|
|
985
|
+
/* Start Options({
|
|
986
|
+
inject: {
|
|
987
|
+
custom: {
|
|
988
|
+
default: null
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
}) End */
|
|
992
|
+
class CarouselItemsDirective extends vueImport$3 {
|
|
993
|
+
constructor() {
|
|
994
|
+
super(arguments);
|
|
995
|
+
}
|
|
996
|
+
render(createElement) {
|
|
997
|
+
if (gh) {
|
|
998
|
+
let h = gh || createElement;
|
|
999
|
+
let slots = null;
|
|
1000
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1001
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1002
|
+
}
|
|
1003
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
1004
|
+
}
|
|
1005
|
+
return;
|
|
1006
|
+
}
|
|
1007
|
+
updated() {
|
|
1008
|
+
if (gh && this.custom) {
|
|
1009
|
+
this.custom();
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
getTag() {
|
|
1013
|
+
return 'e-carousel-items';
|
|
1014
|
+
}
|
|
1015
|
+
};
|
|
1016
|
+
CarouselItemsDirective = __decorate$7([
|
|
1017
|
+
EJComponentDecorator({}, isExecute$7)
|
|
1018
|
+
/* Start Options({
|
|
1019
|
+
inject: {
|
|
1020
|
+
custom: {
|
|
1021
|
+
default: null
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
}) End */
|
|
1025
|
+
], CarouselItemsDirective);
|
|
1026
|
+
const CarouselItemsPlugin = {
|
|
1027
|
+
name: 'e-carousel-items',
|
|
1028
|
+
install(Vue$$1) {
|
|
1029
|
+
Vue$$1.component(CarouselItemsPlugin.name, CarouselItemsDirective);
|
|
1030
|
+
}
|
|
1031
|
+
};
|
|
1032
|
+
/**
|
|
1033
|
+
* `e-carousel-item` directive represent a item of the Vue Carousel.
|
|
1034
|
+
* It must be contained in a Carousel component(`ejs-carousel`).
|
|
1035
|
+
* ```html
|
|
1036
|
+
* <ejs-carousel>
|
|
1037
|
+
* <e-carousel-items>
|
|
1038
|
+
* <e-carousel-item template='itemTemplate'></e-carousel-item>
|
|
1039
|
+
* <e-carousel-item template='secondItemTemplate'></e-carousel-item>
|
|
1040
|
+
* </e-carousel-items>
|
|
1041
|
+
* </ejs-carousel>
|
|
1042
|
+
* ```
|
|
1043
|
+
*/
|
|
1044
|
+
let CarouselItemDirective = class CarouselItemDirective extends vueImport$3 {
|
|
1045
|
+
render() {
|
|
1046
|
+
return;
|
|
1047
|
+
}
|
|
1048
|
+
getTag() {
|
|
1049
|
+
return 'e-carousel-item';
|
|
1050
|
+
}
|
|
1051
|
+
};
|
|
1052
|
+
CarouselItemDirective = __decorate$7([
|
|
1053
|
+
EJComponentDecorator({}, isExecute$7)
|
|
1054
|
+
], CarouselItemDirective);
|
|
1055
|
+
const CarouselItemPlugin = {
|
|
1056
|
+
name: 'e-carousel-item',
|
|
1057
|
+
install(Vue$$1) {
|
|
1058
|
+
Vue$$1.component(CarouselItemPlugin.name, CarouselItemDirective);
|
|
1059
|
+
}
|
|
1060
|
+
};
|
|
1061
|
+
|
|
1062
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1063
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1064
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1065
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1066
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1067
|
+
};
|
|
1068
|
+
// {{VueImport}}
|
|
1069
|
+
const properties$4 = ['isLazyUpdate', 'animation', 'autoPlay', 'buttonsVisibility', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enableTouchSwipe', 'height', 'htmlAttributes', 'indicatorsTemplate', 'interval', 'itemTemplate', 'items', 'locale', 'loop', 'nextButtonTemplate', 'playButtonTemplate', 'previousButtonTemplate', 'selectedIndex', 'showIndicators', 'showPlayButton', 'width', 'slideChanged', 'slideChanging'];
|
|
1070
|
+
const modelProps$4 = ['selectedIndex'];
|
|
1071
|
+
const testProp$4 = getProps({ props: properties$4 });
|
|
1072
|
+
const props$4 = testProp$4[0];
|
|
1073
|
+
const watch$4 = testProp$4[1];
|
|
1074
|
+
const emitProbs$4 = Object.keys(watch$4);
|
|
1075
|
+
emitProbs$4.push('modelchanged');
|
|
1076
|
+
for (let props of modelProps$4) {
|
|
1077
|
+
emitProbs$4.push('update:' + props);
|
|
1078
|
+
}
|
|
1079
|
+
const isExecute$8 = gh ? false : true;
|
|
1080
|
+
/**
|
|
1081
|
+
* Represents the VueJS Carousel Component.
|
|
1082
|
+
* ```html
|
|
1083
|
+
* <ejs-carousel :items='carouselItems'></ejs-carousel>
|
|
1084
|
+
* ```
|
|
1085
|
+
*/
|
|
1086
|
+
let CarouselComponent =
|
|
1087
|
+
/* Start Options({
|
|
1088
|
+
props: props,
|
|
1089
|
+
watch: watch,
|
|
1090
|
+
emits: emitProbs,
|
|
1091
|
+
provide: function provide() {
|
|
1092
|
+
return {
|
|
1093
|
+
custom: this.custom
|
|
1094
|
+
};
|
|
1095
|
+
}
|
|
1096
|
+
}) End */
|
|
1097
|
+
class CarouselComponent extends ComponentBase {
|
|
1098
|
+
constructor() {
|
|
1099
|
+
super(arguments);
|
|
1100
|
+
this.propKeys = properties$4;
|
|
1101
|
+
this.models = modelProps$4;
|
|
1102
|
+
this.hasChildDirective = true;
|
|
1103
|
+
this.hasInjectedModules = false;
|
|
1104
|
+
this.tagMapper = { "e-carousel-items": "e-carousel-item" };
|
|
1105
|
+
this.tagNameMapper = { "e-carousel-items": "e-items" };
|
|
1106
|
+
this.isVue3 = !isExecute$8;
|
|
1107
|
+
this.ej2Instances = new Carousel({});
|
|
1108
|
+
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
1109
|
+
this.ej2Instances.trigger = this.trigger;
|
|
1110
|
+
this.bindProperties();
|
|
1111
|
+
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
1112
|
+
this.ej2Instances.setProperties = this.setProperties;
|
|
1113
|
+
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1114
|
+
this.updated = this.updated;
|
|
1115
|
+
}
|
|
1116
|
+
clearTemplate(templateNames) {
|
|
1117
|
+
if (!templateNames) {
|
|
1118
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
1119
|
+
}
|
|
1120
|
+
if (templateNames.length && this.templateCollection) {
|
|
1121
|
+
for (let tempName of templateNames) {
|
|
1122
|
+
let elementCollection = this.templateCollection[tempName];
|
|
1123
|
+
if (elementCollection && elementCollection.length) {
|
|
1124
|
+
for (let ele of elementCollection) {
|
|
1125
|
+
let destroy = getValue('__vue__.$destroy', ele);
|
|
1126
|
+
if (destroy) {
|
|
1127
|
+
ele.__vue__.$destroy();
|
|
1128
|
+
}
|
|
1129
|
+
if (ele.innerHTML) {
|
|
1130
|
+
ele.innerHTML = '';
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
delete this.templateCollection[tempName];
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
setProperties(prop, muteOnChange) {
|
|
1139
|
+
if (this.isVue3) {
|
|
1140
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1141
|
+
}
|
|
1142
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
1143
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
1144
|
+
}
|
|
1145
|
+
if (prop && this.models && this.models.length) {
|
|
1146
|
+
Object.keys(prop).map((key) => {
|
|
1147
|
+
this.models.map((model) => {
|
|
1148
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
1149
|
+
if (this.isVue3) {
|
|
1150
|
+
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
1151
|
+
}
|
|
1152
|
+
else {
|
|
1153
|
+
this.$emit('update:' + key, prop[key]);
|
|
1154
|
+
this.$emit('modelchanged', prop[key]);
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
});
|
|
1158
|
+
});
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
trigger(eventName, eventProp, successHandler) {
|
|
1162
|
+
if (!isExecute$8) {
|
|
1163
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1164
|
+
}
|
|
1165
|
+
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1166
|
+
let key = this.models.toString().match(/checked|value/) || [];
|
|
1167
|
+
let propKey = key[0];
|
|
1168
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1169
|
+
if (!isExecute$8) {
|
|
1170
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1171
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1172
|
+
}
|
|
1173
|
+
else {
|
|
1174
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
1175
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1176
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1181
|
+
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
1182
|
+
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1183
|
+
let propKey = key[0];
|
|
1184
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1185
|
+
if (!isExecute$8) {
|
|
1186
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1187
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1188
|
+
}
|
|
1189
|
+
else {
|
|
1190
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1191
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
1196
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
render(createElement) {
|
|
1200
|
+
let h = gh || createElement;
|
|
1201
|
+
let slots = null;
|
|
1202
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1203
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1204
|
+
}
|
|
1205
|
+
return h('div', slots);
|
|
1206
|
+
}
|
|
1207
|
+
custom() {
|
|
1208
|
+
this.updated();
|
|
1209
|
+
}
|
|
1210
|
+
next() {
|
|
1211
|
+
return this.ej2Instances.next();
|
|
1212
|
+
}
|
|
1213
|
+
pause() {
|
|
1214
|
+
return this.ej2Instances.pause();
|
|
1215
|
+
}
|
|
1216
|
+
play() {
|
|
1217
|
+
return this.ej2Instances.play();
|
|
1218
|
+
}
|
|
1219
|
+
prev() {
|
|
1220
|
+
return this.ej2Instances.prev();
|
|
1221
|
+
}
|
|
1222
|
+
};
|
|
1223
|
+
CarouselComponent = __decorate$8([
|
|
1224
|
+
EJComponentDecorator({
|
|
1225
|
+
props: properties$4,
|
|
1226
|
+
model: {
|
|
1227
|
+
event: 'modelchanged'
|
|
1228
|
+
}
|
|
1229
|
+
}, isExecute$8)
|
|
1230
|
+
/* Start Options({
|
|
1231
|
+
props: props,
|
|
1232
|
+
watch: watch,
|
|
1233
|
+
emits: emitProbs,
|
|
1234
|
+
provide: function provide() {
|
|
1235
|
+
return {
|
|
1236
|
+
custom: this.custom
|
|
1237
|
+
};
|
|
1238
|
+
}
|
|
1239
|
+
}) End */
|
|
1240
|
+
], CarouselComponent);
|
|
1241
|
+
const CarouselPlugin = {
|
|
1242
|
+
name: 'ejs-carousel',
|
|
1243
|
+
install(Vue$$1) {
|
|
1244
|
+
Vue$$1.component(CarouselPlugin.name, CarouselComponent);
|
|
1245
|
+
Vue$$1.component(CarouselItemPlugin.name, CarouselItemDirective);
|
|
1246
|
+
Vue$$1.component(CarouselItemsPlugin.name, CarouselItemsDirective);
|
|
1247
|
+
}
|
|
1248
|
+
};
|
|
1249
|
+
|
|
1250
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1251
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1252
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1253
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1254
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1255
|
+
};
|
|
1256
|
+
// {{VueImport}}
|
|
1257
|
+
const isExecute$9 = gh ? false : true;
|
|
1258
|
+
let vueImport$4;
|
|
1259
|
+
if (!isExecute$9 || parseInt(allVue.version) < 3) {
|
|
1260
|
+
vueImport$4 = Vue;
|
|
1261
|
+
}
|
|
1262
|
+
else {
|
|
1263
|
+
vueImport$4 = Vue$1;
|
|
1264
|
+
}
|
|
984
1265
|
let TabItemsDirective =
|
|
985
1266
|
/* Start Options({
|
|
986
1267
|
inject: {
|
|
@@ -989,7 +1270,7 @@ let TabItemsDirective =
|
|
|
989
1270
|
}
|
|
990
1271
|
}
|
|
991
1272
|
}) End */
|
|
992
|
-
class TabItemsDirective extends vueImport$
|
|
1273
|
+
class TabItemsDirective extends vueImport$4 {
|
|
993
1274
|
constructor() {
|
|
994
1275
|
super(arguments);
|
|
995
1276
|
}
|
|
@@ -1013,8 +1294,8 @@ class TabItemsDirective extends vueImport$3 {
|
|
|
1013
1294
|
return 'e-tabitems';
|
|
1014
1295
|
}
|
|
1015
1296
|
};
|
|
1016
|
-
TabItemsDirective = __decorate$
|
|
1017
|
-
EJComponentDecorator({}, isExecute$
|
|
1297
|
+
TabItemsDirective = __decorate$9([
|
|
1298
|
+
EJComponentDecorator({}, isExecute$9)
|
|
1018
1299
|
/* Start Options({
|
|
1019
1300
|
inject: {
|
|
1020
1301
|
custom: {
|
|
@@ -1041,7 +1322,7 @@ const TabItemsPlugin = {
|
|
|
1041
1322
|
* </ejs-tab>
|
|
1042
1323
|
* ```
|
|
1043
1324
|
*/
|
|
1044
|
-
let TabItemDirective = class TabItemDirective extends vueImport$
|
|
1325
|
+
let TabItemDirective = class TabItemDirective extends vueImport$4 {
|
|
1045
1326
|
render() {
|
|
1046
1327
|
return;
|
|
1047
1328
|
}
|
|
@@ -1049,8 +1330,8 @@ let TabItemDirective = class TabItemDirective extends vueImport$3 {
|
|
|
1049
1330
|
return 'e-tabitem';
|
|
1050
1331
|
}
|
|
1051
1332
|
};
|
|
1052
|
-
TabItemDirective = __decorate$
|
|
1053
|
-
EJComponentDecorator({}, isExecute$
|
|
1333
|
+
TabItemDirective = __decorate$9([
|
|
1334
|
+
EJComponentDecorator({}, isExecute$9)
|
|
1054
1335
|
], TabItemDirective);
|
|
1055
1336
|
const TabItemPlugin = {
|
|
1056
1337
|
name: 'e-tabitem',
|
|
@@ -1059,24 +1340,24 @@ const TabItemPlugin = {
|
|
|
1059
1340
|
}
|
|
1060
1341
|
};
|
|
1061
1342
|
|
|
1062
|
-
var __decorate$
|
|
1343
|
+
var __decorate$10 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1063
1344
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1064
1345
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1065
1346
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1066
1347
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1067
1348
|
};
|
|
1068
1349
|
// {{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$
|
|
1350
|
+
const properties$5 = ['isLazyUpdate', 'allowDragAndDrop', 'animation', 'cssClass', 'dragArea', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'headerPlacement', 'height', 'heightAdjustMode', 'items', 'loadOn', 'locale', 'overflowMode', 'reorderActiveTab', 'scrollStep', 'selectedItem', 'showCloseButton', 'width', 'added', 'adding', 'created', 'destroyed', 'dragged', 'dragging', 'onDragStart', 'removed', 'removing', 'selected', 'selecting'];
|
|
1351
|
+
const modelProps$5 = [];
|
|
1352
|
+
const testProp$5 = getProps({ props: properties$5 });
|
|
1353
|
+
const props$5 = testProp$5[0];
|
|
1354
|
+
const watch$5 = testProp$5[1];
|
|
1355
|
+
const emitProbs$5 = Object.keys(watch$5);
|
|
1356
|
+
emitProbs$5.push('modelchanged');
|
|
1357
|
+
for (let props of modelProps$5) {
|
|
1358
|
+
emitProbs$5.push('update:' + props);
|
|
1078
1359
|
}
|
|
1079
|
-
const isExecute$
|
|
1360
|
+
const isExecute$10 = gh ? false : true;
|
|
1080
1361
|
/**
|
|
1081
1362
|
* Represents the VueJS Tab Component.
|
|
1082
1363
|
* ```html
|
|
@@ -1097,13 +1378,13 @@ let TabComponent =
|
|
|
1097
1378
|
class TabComponent extends ComponentBase {
|
|
1098
1379
|
constructor() {
|
|
1099
1380
|
super(arguments);
|
|
1100
|
-
this.propKeys = properties$
|
|
1101
|
-
this.models = modelProps$
|
|
1381
|
+
this.propKeys = properties$5;
|
|
1382
|
+
this.models = modelProps$5;
|
|
1102
1383
|
this.hasChildDirective = true;
|
|
1103
1384
|
this.hasInjectedModules = false;
|
|
1104
1385
|
this.tagMapper = { "e-tabitems": "e-tabitem" };
|
|
1105
1386
|
this.tagNameMapper = { "e-tabitems": "e-items" };
|
|
1106
|
-
this.isVue3 = !isExecute$
|
|
1387
|
+
this.isVue3 = !isExecute$10;
|
|
1107
1388
|
this.ej2Instances = new Tab({});
|
|
1108
1389
|
this.bindProperties();
|
|
1109
1390
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -1195,10 +1476,10 @@ class TabComponent extends ComponentBase {
|
|
|
1195
1476
|
return this.ej2Instances.select(args, event);
|
|
1196
1477
|
}
|
|
1197
1478
|
};
|
|
1198
|
-
TabComponent = __decorate$
|
|
1479
|
+
TabComponent = __decorate$10([
|
|
1199
1480
|
EJComponentDecorator({
|
|
1200
|
-
props: properties$
|
|
1201
|
-
}, isExecute$
|
|
1481
|
+
props: properties$5
|
|
1482
|
+
}, isExecute$10)
|
|
1202
1483
|
/* Start Options({
|
|
1203
1484
|
props: props,
|
|
1204
1485
|
watch: watch,
|
|
@@ -1219,24 +1500,24 @@ const TabPlugin = {
|
|
|
1219
1500
|
}
|
|
1220
1501
|
};
|
|
1221
1502
|
|
|
1222
|
-
var __decorate$
|
|
1503
|
+
var __decorate$11 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1223
1504
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1224
1505
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1225
1506
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1226
1507
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1227
1508
|
};
|
|
1228
1509
|
// {{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$
|
|
1510
|
+
const properties$6 = ['isLazyUpdate', 'allowDragAndDrop', 'allowEditing', 'allowMultiSelection', 'allowTextWrap', 'animation', 'autoCheck', 'checkedNodes', 'cssClass', 'disabled', 'dragArea', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'expandOn', 'expandedNodes', 'fields', 'fullRowNavigable', 'fullRowSelect', 'loadOnDemand', 'locale', 'nodeTemplate', 'selectedNodes', 'showCheckBox', 'sortOrder', 'actionFailure', 'created', 'dataBound', 'dataSourceChanged', 'destroyed', 'drawNode', 'keyPress', 'nodeChecked', 'nodeChecking', 'nodeClicked', 'nodeCollapsed', 'nodeCollapsing', 'nodeDragStart', 'nodeDragStop', 'nodeDragging', 'nodeDropped', 'nodeEdited', 'nodeEditing', 'nodeExpanded', 'nodeExpanding', 'nodeSelected', 'nodeSelecting'];
|
|
1511
|
+
const modelProps$6 = [];
|
|
1512
|
+
const testProp$6 = getProps({ props: properties$6 });
|
|
1513
|
+
const props$6 = testProp$6[0];
|
|
1514
|
+
const watch$6 = testProp$6[1];
|
|
1515
|
+
const emitProbs$6 = Object.keys(watch$6);
|
|
1516
|
+
emitProbs$6.push('modelchanged');
|
|
1517
|
+
for (let props of modelProps$6) {
|
|
1518
|
+
emitProbs$6.push('update:' + props);
|
|
1238
1519
|
}
|
|
1239
|
-
const isExecute$
|
|
1520
|
+
const isExecute$11 = gh ? false : true;
|
|
1240
1521
|
/**
|
|
1241
1522
|
* Represents the EJ2 VueJS TreeView Component.
|
|
1242
1523
|
* ```html
|
|
@@ -1257,13 +1538,13 @@ let TreeViewComponent =
|
|
|
1257
1538
|
class TreeViewComponent extends ComponentBase {
|
|
1258
1539
|
constructor() {
|
|
1259
1540
|
super(arguments);
|
|
1260
|
-
this.propKeys = properties$
|
|
1261
|
-
this.models = modelProps$
|
|
1541
|
+
this.propKeys = properties$6;
|
|
1542
|
+
this.models = modelProps$6;
|
|
1262
1543
|
this.hasChildDirective = false;
|
|
1263
1544
|
this.hasInjectedModules = false;
|
|
1264
1545
|
this.tagMapper = {};
|
|
1265
1546
|
this.tagNameMapper = {};
|
|
1266
|
-
this.isVue3 = !isExecute$
|
|
1547
|
+
this.isVue3 = !isExecute$11;
|
|
1267
1548
|
this.ej2Instances = new TreeView({});
|
|
1268
1549
|
this.bindProperties();
|
|
1269
1550
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -1379,10 +1660,10 @@ class TreeViewComponent extends ComponentBase {
|
|
|
1379
1660
|
return this.ej2Instances.updateNode(target, newText);
|
|
1380
1661
|
}
|
|
1381
1662
|
};
|
|
1382
|
-
TreeViewComponent = __decorate$
|
|
1663
|
+
TreeViewComponent = __decorate$11([
|
|
1383
1664
|
EJComponentDecorator({
|
|
1384
|
-
props: properties$
|
|
1385
|
-
}, isExecute$
|
|
1665
|
+
props: properties$6
|
|
1666
|
+
}, isExecute$11)
|
|
1386
1667
|
/* Start Options({
|
|
1387
1668
|
props: props,
|
|
1388
1669
|
watch: watch,
|
|
@@ -1401,24 +1682,24 @@ const TreeViewPlugin = {
|
|
|
1401
1682
|
}
|
|
1402
1683
|
};
|
|
1403
1684
|
|
|
1404
|
-
var __decorate$
|
|
1685
|
+
var __decorate$12 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1405
1686
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1406
1687
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1407
1688
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1408
1689
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1409
1690
|
};
|
|
1410
1691
|
// {{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$
|
|
1692
|
+
const properties$7 = ['isLazyUpdate', 'animate', 'closeOnDocumentClick', 'dockSize', 'enableDock', 'enableGestures', 'enablePersistence', 'enableRtl', 'height', 'isOpen', 'locale', 'mediaQuery', 'position', 'showBackdrop', 'target', 'type', 'width', 'zIndex', 'change', 'close', 'created', 'destroyed', 'open'];
|
|
1693
|
+
const modelProps$7 = ['isOpen'];
|
|
1694
|
+
const testProp$7 = getProps({ props: properties$7 });
|
|
1695
|
+
const props$7 = testProp$7[0];
|
|
1696
|
+
const watch$7 = testProp$7[1];
|
|
1697
|
+
const emitProbs$7 = Object.keys(watch$7);
|
|
1698
|
+
emitProbs$7.push('modelchanged');
|
|
1699
|
+
for (let props of modelProps$7) {
|
|
1700
|
+
emitProbs$7.push('update:' + props);
|
|
1420
1701
|
}
|
|
1421
|
-
const isExecute$
|
|
1702
|
+
const isExecute$12 = gh ? false : true;
|
|
1422
1703
|
/**
|
|
1423
1704
|
* Represents the Essential JS 2 VueJS Sidebar Component.
|
|
1424
1705
|
* ```html
|
|
@@ -1439,13 +1720,13 @@ let SidebarComponent =
|
|
|
1439
1720
|
class SidebarComponent extends ComponentBase {
|
|
1440
1721
|
constructor() {
|
|
1441
1722
|
super(arguments);
|
|
1442
|
-
this.propKeys = properties$
|
|
1443
|
-
this.models = modelProps$
|
|
1723
|
+
this.propKeys = properties$7;
|
|
1724
|
+
this.models = modelProps$7;
|
|
1444
1725
|
this.hasChildDirective = false;
|
|
1445
1726
|
this.hasInjectedModules = false;
|
|
1446
1727
|
this.tagMapper = {};
|
|
1447
1728
|
this.tagNameMapper = {};
|
|
1448
|
-
this.isVue3 = !isExecute$
|
|
1729
|
+
this.isVue3 = !isExecute$12;
|
|
1449
1730
|
this.ej2Instances = new Sidebar({});
|
|
1450
1731
|
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
1451
1732
|
this.ej2Instances.trigger = this.trigger;
|
|
@@ -1501,14 +1782,14 @@ class SidebarComponent extends ComponentBase {
|
|
|
1501
1782
|
}
|
|
1502
1783
|
}
|
|
1503
1784
|
trigger(eventName, eventProp, successHandler) {
|
|
1504
|
-
if (!isExecute$
|
|
1785
|
+
if (!isExecute$12) {
|
|
1505
1786
|
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1506
1787
|
}
|
|
1507
1788
|
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1508
1789
|
let key = this.models.toString().match(/checked|value/) || [];
|
|
1509
1790
|
let propKey = key[0];
|
|
1510
1791
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1511
|
-
if (!isExecute$
|
|
1792
|
+
if (!isExecute$12) {
|
|
1512
1793
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1513
1794
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1514
1795
|
}
|
|
@@ -1524,7 +1805,7 @@ class SidebarComponent extends ComponentBase {
|
|
|
1524
1805
|
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1525
1806
|
let propKey = key[0];
|
|
1526
1807
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1527
|
-
if (!isExecute$
|
|
1808
|
+
if (!isExecute$12) {
|
|
1528
1809
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1529
1810
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1530
1811
|
}
|
|
@@ -1559,13 +1840,13 @@ class SidebarComponent extends ComponentBase {
|
|
|
1559
1840
|
return this.ej2Instances.toggle();
|
|
1560
1841
|
}
|
|
1561
1842
|
};
|
|
1562
|
-
SidebarComponent = __decorate$
|
|
1843
|
+
SidebarComponent = __decorate$12([
|
|
1563
1844
|
EJComponentDecorator({
|
|
1564
|
-
props: properties$
|
|
1845
|
+
props: properties$7,
|
|
1565
1846
|
model: {
|
|
1566
1847
|
event: 'modelchanged'
|
|
1567
1848
|
}
|
|
1568
|
-
}, isExecute$
|
|
1849
|
+
}, isExecute$12)
|
|
1569
1850
|
/* Start Options({
|
|
1570
1851
|
props: props,
|
|
1571
1852
|
watch: watch,
|
|
@@ -1584,20 +1865,20 @@ const SidebarPlugin = {
|
|
|
1584
1865
|
}
|
|
1585
1866
|
};
|
|
1586
1867
|
|
|
1587
|
-
var __decorate$
|
|
1868
|
+
var __decorate$13 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1588
1869
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1589
1870
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1590
1871
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1591
1872
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1592
1873
|
};
|
|
1593
1874
|
// {{VueImport}}
|
|
1594
|
-
const isExecute$
|
|
1595
|
-
let vueImport$
|
|
1596
|
-
if (!isExecute$
|
|
1597
|
-
vueImport$
|
|
1875
|
+
const isExecute$13 = gh ? false : true;
|
|
1876
|
+
let vueImport$5;
|
|
1877
|
+
if (!isExecute$13 || parseInt(allVue.version) < 3) {
|
|
1878
|
+
vueImport$5 = Vue;
|
|
1598
1879
|
}
|
|
1599
1880
|
else {
|
|
1600
|
-
vueImport$
|
|
1881
|
+
vueImport$5 = Vue$1;
|
|
1601
1882
|
}
|
|
1602
1883
|
let MenuItemsDirective =
|
|
1603
1884
|
/* Start Options({
|
|
@@ -1607,7 +1888,7 @@ let MenuItemsDirective =
|
|
|
1607
1888
|
}
|
|
1608
1889
|
}
|
|
1609
1890
|
}) End */
|
|
1610
|
-
class MenuItemsDirective extends vueImport$
|
|
1891
|
+
class MenuItemsDirective extends vueImport$5 {
|
|
1611
1892
|
constructor() {
|
|
1612
1893
|
super(arguments);
|
|
1613
1894
|
}
|
|
@@ -1631,8 +1912,8 @@ class MenuItemsDirective extends vueImport$4 {
|
|
|
1631
1912
|
return 'e-menu-items';
|
|
1632
1913
|
}
|
|
1633
1914
|
};
|
|
1634
|
-
MenuItemsDirective = __decorate$
|
|
1635
|
-
EJComponentDecorator({}, isExecute$
|
|
1915
|
+
MenuItemsDirective = __decorate$13([
|
|
1916
|
+
EJComponentDecorator({}, isExecute$13)
|
|
1636
1917
|
/* Start Options({
|
|
1637
1918
|
inject: {
|
|
1638
1919
|
custom: {
|
|
@@ -1647,7 +1928,7 @@ const MenuItemsPlugin = {
|
|
|
1647
1928
|
Vue$$1.component(MenuItemsPlugin.name, MenuItemsDirective);
|
|
1648
1929
|
}
|
|
1649
1930
|
};
|
|
1650
|
-
let MenuItemDirective = class MenuItemDirective extends vueImport$
|
|
1931
|
+
let MenuItemDirective = class MenuItemDirective extends vueImport$5 {
|
|
1651
1932
|
render() {
|
|
1652
1933
|
return;
|
|
1653
1934
|
}
|
|
@@ -1655,8 +1936,8 @@ let MenuItemDirective = class MenuItemDirective extends vueImport$4 {
|
|
|
1655
1936
|
return 'e-';
|
|
1656
1937
|
}
|
|
1657
1938
|
};
|
|
1658
|
-
MenuItemDirective = __decorate$
|
|
1659
|
-
EJComponentDecorator({}, isExecute$
|
|
1939
|
+
MenuItemDirective = __decorate$13([
|
|
1940
|
+
EJComponentDecorator({}, isExecute$13)
|
|
1660
1941
|
], MenuItemDirective);
|
|
1661
1942
|
const MenuItemPlugin = {
|
|
1662
1943
|
name: 'e-',
|
|
@@ -1665,24 +1946,24 @@ const MenuItemPlugin = {
|
|
|
1665
1946
|
}
|
|
1666
1947
|
};
|
|
1667
1948
|
|
|
1668
|
-
var __decorate$
|
|
1949
|
+
var __decorate$14 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1669
1950
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1670
1951
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1671
1952
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1672
1953
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1673
1954
|
};
|
|
1674
1955
|
// {{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$
|
|
1956
|
+
const properties$8 = ['isLazyUpdate', 'animationSettings', 'cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableScrolling', 'fields', 'filter', 'hamburgerMode', 'hoverDelay', 'items', 'locale', 'orientation', 'showItemOnClick', 'target', 'template', 'title', 'beforeClose', 'beforeItemRender', 'beforeOpen', 'created', 'onClose', 'onOpen', 'select'];
|
|
1957
|
+
const modelProps$8 = [];
|
|
1958
|
+
const testProp$8 = getProps({ props: properties$8 });
|
|
1959
|
+
const props$8 = testProp$8[0];
|
|
1960
|
+
const watch$8 = testProp$8[1];
|
|
1961
|
+
const emitProbs$8 = Object.keys(watch$8);
|
|
1962
|
+
emitProbs$8.push('modelchanged');
|
|
1963
|
+
for (let props of modelProps$8) {
|
|
1964
|
+
emitProbs$8.push('update:' + props);
|
|
1684
1965
|
}
|
|
1685
|
-
const isExecute$
|
|
1966
|
+
const isExecute$14 = gh ? false : true;
|
|
1686
1967
|
/**
|
|
1687
1968
|
* Represents the Essential JS 2 VueJS Menu Component.
|
|
1688
1969
|
* ```html
|
|
@@ -1703,13 +1984,13 @@ let MenuComponent =
|
|
|
1703
1984
|
class MenuComponent extends ComponentBase {
|
|
1704
1985
|
constructor() {
|
|
1705
1986
|
super(arguments);
|
|
1706
|
-
this.propKeys = properties$
|
|
1707
|
-
this.models = modelProps$
|
|
1987
|
+
this.propKeys = properties$8;
|
|
1988
|
+
this.models = modelProps$8;
|
|
1708
1989
|
this.hasChildDirective = true;
|
|
1709
1990
|
this.hasInjectedModules = false;
|
|
1710
1991
|
this.tagMapper = { "e-menu-items": "e-" };
|
|
1711
1992
|
this.tagNameMapper = { "e-menu-items": "e-items" };
|
|
1712
|
-
this.isVue3 = !isExecute$
|
|
1993
|
+
this.isVue3 = !isExecute$14;
|
|
1713
1994
|
this.ej2Instances = new Menu({});
|
|
1714
1995
|
this.bindProperties();
|
|
1715
1996
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -1804,10 +2085,10 @@ class MenuComponent extends ComponentBase {
|
|
|
1804
2085
|
return this.ej2Instances.showItems(items, isUniqueId);
|
|
1805
2086
|
}
|
|
1806
2087
|
};
|
|
1807
|
-
MenuComponent = __decorate$
|
|
2088
|
+
MenuComponent = __decorate$14([
|
|
1808
2089
|
EJComponentDecorator({
|
|
1809
|
-
props: properties$
|
|
1810
|
-
}, isExecute$
|
|
2090
|
+
props: properties$8
|
|
2091
|
+
}, isExecute$14)
|
|
1811
2092
|
/* Start Options({
|
|
1812
2093
|
props: props,
|
|
1813
2094
|
watch: watch,
|
|
@@ -1828,6 +2109,6 @@ const MenuPlugin = {
|
|
|
1828
2109
|
}
|
|
1829
2110
|
};
|
|
1830
2111
|
|
|
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 };
|
|
2112
|
+
export { AccordionItemsDirective, AccordionItemDirective, AccordionItemsPlugin, AccordionItemPlugin, AccordionComponent, AccordionPlugin, ItemsDirective, ItemDirective, ItemsPlugin, ItemPlugin, ToolbarComponent, ToolbarPlugin, ContextMenuComponent, ContextMenuPlugin, BreadcrumbItemsDirective, BreadcrumbItemDirective, BreadcrumbItemsPlugin, BreadcrumbItemPlugin, BreadcrumbComponent, BreadcrumbPlugin, CarouselItemsDirective, CarouselItemDirective, CarouselItemsPlugin, CarouselItemPlugin, CarouselComponent, CarouselPlugin, TabItemsDirective, TabItemDirective, TabItemsPlugin, TabItemPlugin, TabComponent, TabPlugin, TreeViewComponent, TreeViewPlugin, SidebarComponent, SidebarPlugin, MenuItemsDirective, MenuItemDirective, MenuItemsPlugin, MenuItemPlugin, MenuComponent, MenuPlugin };
|
|
1832
2113
|
export * from '@syncfusion/ej2-navigations';
|
|
1833
2114
|
//# sourceMappingURL=ej2-vue-navigations.es2015.js.map
|