@syncfusion/ej2-vue-navigations 20.1.47 → 20.1.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -25
- package/README.md +2 -17
- package/dist/ej2-vue-navigations.umd.min.js +2 -2
- package/dist/es6/ej2-vue-navigations.es2015.js +92 -373
- package/dist/es6/ej2-vue-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-navigations.es5.js +109 -411
- package/dist/es6/ej2-vue-navigations.es5.js.map +1 -1
- package/dist/global/ej2-vue-navigations.min.js +2 -2
- package/package.json +15 -11
- package/src/accordion/accordion.component.d.ts +1 -1
- package/src/accordion/accordion.component.js +1 -1
- package/src/index.d.ts +0 -2
- package/src/index.js +0 -2
- package/styles/accordion/bootstrap-dark.css +63 -48
- package/styles/accordion/bootstrap.css +63 -48
- package/styles/accordion/bootstrap4.css +63 -48
- package/styles/accordion/bootstrap5-dark.css +66 -51
- package/styles/accordion/bootstrap5.css +66 -51
- package/styles/accordion/fabric-dark.css +65 -50
- package/styles/accordion/fabric.css +65 -50
- package/styles/accordion/highcontrast-light.css +64 -49
- package/styles/accordion/highcontrast.css +64 -49
- package/styles/accordion/material-dark.css +64 -49
- package/styles/accordion/material.css +64 -49
- package/styles/accordion/tailwind-dark.css +67 -52
- package/styles/accordion/tailwind.css +67 -52
- package/styles/bootstrap-dark.css +69 -310
- package/styles/bootstrap-dark.scss +0 -1
- package/styles/bootstrap.css +69 -310
- package/styles/bootstrap.scss +0 -1
- package/styles/bootstrap4.css +69 -310
- package/styles/bootstrap4.scss +0 -1
- package/styles/bootstrap5-dark.css +171 -415
- package/styles/bootstrap5-dark.scss +0 -1
- package/styles/bootstrap5.css +171 -415
- package/styles/bootstrap5.scss +0 -1
- package/styles/breadcrumb/bootstrap-dark.css +2 -10
- package/styles/breadcrumb/bootstrap.css +2 -10
- package/styles/breadcrumb/bootstrap4.css +2 -10
- package/styles/breadcrumb/bootstrap5-dark.css +4 -12
- package/styles/breadcrumb/bootstrap5.css +4 -12
- package/styles/breadcrumb/fabric-dark.css +4 -10
- package/styles/breadcrumb/fabric.css +4 -10
- package/styles/breadcrumb/highcontrast-light.css +4 -10
- package/styles/breadcrumb/highcontrast.css +4 -10
- package/styles/breadcrumb/material-dark.css +2 -10
- package/styles/breadcrumb/material.css +2 -10
- package/styles/breadcrumb/tailwind-dark.css +4 -21
- package/styles/breadcrumb/tailwind.css +10 -27
- package/styles/context-menu/bootstrap-dark.css +0 -5
- package/styles/context-menu/bootstrap.css +0 -5
- package/styles/context-menu/bootstrap4.css +0 -5
- package/styles/context-menu/bootstrap5-dark.css +8 -16
- package/styles/context-menu/bootstrap5.css +8 -16
- package/styles/context-menu/fabric-dark.css +0 -5
- package/styles/context-menu/fabric.css +0 -5
- package/styles/context-menu/highcontrast-light.css +0 -5
- package/styles/context-menu/highcontrast.css +0 -5
- package/styles/context-menu/material-dark.css +0 -5
- package/styles/context-menu/material.css +0 -5
- package/styles/context-menu/tailwind-dark.css +4 -11
- package/styles/context-menu/tailwind.css +4 -11
- package/styles/fabric-dark.css +73 -312
- package/styles/fabric-dark.scss +0 -1
- package/styles/fabric.css +73 -312
- package/styles/fabric.scss +0 -1
- package/styles/h-scroll/bootstrap-dark.css +1 -0
- package/styles/h-scroll/bootstrap.css +1 -0
- package/styles/h-scroll/bootstrap4.css +1 -0
- package/styles/h-scroll/bootstrap5-dark.css +11 -10
- package/styles/h-scroll/bootstrap5.css +11 -10
- package/styles/h-scroll/fabric-dark.css +1 -0
- package/styles/h-scroll/fabric.css +1 -0
- package/styles/h-scroll/highcontrast-light.css +1 -0
- package/styles/h-scroll/highcontrast.css +1 -0
- package/styles/h-scroll/material-dark.css +4 -3
- package/styles/h-scroll/material.css +1 -0
- package/styles/h-scroll/tailwind-dark.css +9 -8
- package/styles/h-scroll/tailwind.css +9 -8
- package/styles/highcontrast-light.css +72 -311
- package/styles/highcontrast-light.scss +0 -1
- package/styles/highcontrast.css +73 -312
- package/styles/highcontrast.scss +0 -1
- package/styles/material-dark.css +73 -314
- package/styles/material-dark.scss +0 -1
- package/styles/material.css +70 -311
- package/styles/material.scss +0 -1
- package/styles/menu/bootstrap-dark.css +2 -1
- package/styles/menu/bootstrap.css +2 -1
- package/styles/menu/bootstrap4.css +2 -1
- package/styles/menu/bootstrap5-dark.css +24 -23
- package/styles/menu/bootstrap5.css +24 -23
- package/styles/menu/fabric-dark.css +2 -1
- package/styles/menu/fabric.css +2 -1
- package/styles/menu/highcontrast-light.css +2 -1
- package/styles/menu/highcontrast.css +2 -1
- package/styles/menu/material-dark.css +2 -1
- package/styles/menu/material.css +2 -1
- package/styles/menu/tailwind-dark.css +18 -18
- package/styles/menu/tailwind.css +18 -18
- package/styles/sidebar/bootstrap-dark.css +0 -4
- package/styles/sidebar/bootstrap.css +0 -4
- package/styles/sidebar/bootstrap4.css +0 -4
- package/styles/sidebar/bootstrap5-dark.css +0 -4
- package/styles/sidebar/bootstrap5.css +0 -4
- package/styles/sidebar/fabric-dark.css +0 -4
- package/styles/sidebar/fabric.css +0 -4
- package/styles/sidebar/highcontrast-light.css +0 -4
- package/styles/sidebar/highcontrast.css +0 -4
- package/styles/sidebar/material-dark.css +0 -4
- package/styles/sidebar/material.css +0 -4
- package/styles/sidebar/tailwind-dark.css +0 -4
- package/styles/sidebar/tailwind.css +0 -4
- 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/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 +45 -43
- package/styles/tab/tailwind.css +45 -43
- package/styles/tailwind-dark.css +171 -422
- package/styles/tailwind-dark.scss +0 -1
- package/styles/tailwind.css +177 -428
- package/styles/tailwind.scss +0 -1
- package/styles/toolbar/bootstrap-dark.css +0 -4
- package/styles/toolbar/bootstrap.css +0 -4
- package/styles/toolbar/bootstrap4.css +0 -4
- package/styles/toolbar/bootstrap5-dark.css +31 -35
- package/styles/toolbar/bootstrap5.css +31 -35
- package/styles/toolbar/fabric-dark.css +0 -4
- package/styles/toolbar/fabric.css +0 -4
- package/styles/toolbar/highcontrast-light.css +0 -4
- package/styles/toolbar/highcontrast.css +0 -4
- package/styles/toolbar/material-dark.css +0 -4
- package/styles/toolbar/material.css +0 -4
- package/styles/toolbar/tailwind-dark.css +6 -10
- package/styles/toolbar/tailwind.css +6 -10
- package/styles/treeview/bootstrap5-dark.css +4 -4
- package/styles/treeview/bootstrap5.css +4 -4
- package/styles/treeview/tailwind-dark.css +14 -13
- package/styles/treeview/tailwind.css +14 -13
- package/styles/v-scroll/tailwind-dark.css +4 -4
- package/styles/v-scroll/tailwind.css +4 -4
- package/carousel.d.ts +0 -4
- package/carousel.js +0 -4
- package/src/carousel/carousel.component.d.ts +0 -43
- package/src/carousel/carousel.component.js +0 -202
- package/src/carousel/index.d.ts +0 -2
- package/src/carousel/index.js +0 -2
- package/src/carousel/items.directive.d.ts +0 -33
- package/src/carousel/items.directive.js +0 -110
- package/styles/accordion/fluent-dark.css +0 -395
- package/styles/accordion/fluent-dark.scss +0 -1
- package/styles/accordion/fluent.css +0 -395
- package/styles/accordion/fluent.scss +0 -1
- package/styles/breadcrumb/fluent-dark.css +0 -444
- package/styles/breadcrumb/fluent-dark.scss +0 -1
- package/styles/breadcrumb/fluent.css +0 -444
- package/styles/breadcrumb/fluent.scss +0 -1
- package/styles/carousel/bootstrap-dark.css +0 -236
- package/styles/carousel/bootstrap-dark.scss +0 -1
- package/styles/carousel/bootstrap.css +0 -236
- package/styles/carousel/bootstrap.scss +0 -1
- package/styles/carousel/bootstrap4.css +0 -236
- package/styles/carousel/bootstrap4.scss +0 -1
- package/styles/carousel/bootstrap5-dark.css +0 -236
- package/styles/carousel/bootstrap5-dark.scss +0 -1
- package/styles/carousel/bootstrap5.css +0 -236
- package/styles/carousel/bootstrap5.scss +0 -1
- package/styles/carousel/fabric-dark.css +0 -236
- package/styles/carousel/fabric-dark.scss +0 -1
- package/styles/carousel/fabric.css +0 -236
- package/styles/carousel/fabric.scss +0 -1
- package/styles/carousel/fluent-dark.css +0 -236
- package/styles/carousel/fluent-dark.scss +0 -1
- package/styles/carousel/fluent.css +0 -236
- package/styles/carousel/fluent.scss +0 -1
- package/styles/carousel/highcontrast-light.css +0 -236
- package/styles/carousel/highcontrast-light.scss +0 -1
- package/styles/carousel/highcontrast.css +0 -236
- package/styles/carousel/highcontrast.scss +0 -1
- package/styles/carousel/material-dark.css +0 -237
- package/styles/carousel/material-dark.scss +0 -1
- package/styles/carousel/material.css +0 -237
- package/styles/carousel/material.scss +0 -1
- package/styles/carousel/tailwind-dark.css +0 -237
- package/styles/carousel/tailwind-dark.scss +0 -1
- package/styles/carousel/tailwind.css +0 -237
- package/styles/carousel/tailwind.scss +0 -1
- package/styles/context-menu/fluent-dark.css +0 -388
- package/styles/context-menu/fluent-dark.scss +0 -1
- package/styles/context-menu/fluent.css +0 -388
- package/styles/context-menu/fluent.scss +0 -1
- package/styles/fluent-dark.css +0 -10263
- package/styles/fluent-dark.scss +0 -11
- package/styles/fluent.css +0 -10263
- package/styles/fluent.scss +0 -11
- package/styles/h-scroll/fluent-dark.css +0 -326
- package/styles/h-scroll/fluent-dark.scss +0 -1
- package/styles/h-scroll/fluent.css +0 -326
- package/styles/h-scroll/fluent.scss +0 -1
- package/styles/menu/fluent-dark.css +0 -1261
- package/styles/menu/fluent-dark.scss +0 -1
- package/styles/menu/fluent.css +0 -1261
- package/styles/menu/fluent.scss +0 -1
- package/styles/sidebar/fluent-dark.css +0 -158
- package/styles/sidebar/fluent-dark.scss +0 -1
- package/styles/sidebar/fluent.css +0 -158
- package/styles/sidebar/fluent.scss +0 -1
- package/styles/tab/fluent-dark.css +0 -4394
- package/styles/tab/fluent-dark.scss +0 -1
- package/styles/tab/fluent.css +0 -4394
- package/styles/tab/fluent.scss +0 -1
- package/styles/toolbar/fluent-dark.css +0 -1365
- package/styles/toolbar/fluent-dark.scss +0 -1
- package/styles/toolbar/fluent.css +0 -1365
- package/styles/toolbar/fluent.scss +0 -1
- package/styles/treeview/fluent-dark.css +0 -1039
- package/styles/treeview/fluent-dark.scss +0 -1
- package/styles/treeview/fluent.css +0 -1039
- package/styles/treeview/fluent.scss +0 -1
- package/styles/v-scroll/fluent-dark.css +0 -247
- package/styles/v-scroll/fluent-dark.scss +0 -1
- package/styles/v-scroll/fluent.css +0 -247
- package/styles/v-scroll/fluent.scss +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Accordion, Breadcrumb,
|
|
1
|
+
import { Accordion, Breadcrumb, 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 Accoridon Component.
|
|
120
120
|
* ```html
|
|
121
121
|
* <ejs-accordion></ejs-accordion>
|
|
122
122
|
* ```
|
|
@@ -981,287 +981,6 @@ 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
|
-
}
|
|
1265
984
|
let TabItemsDirective =
|
|
1266
985
|
/* Start Options({
|
|
1267
986
|
inject: {
|
|
@@ -1270,7 +989,7 @@ let TabItemsDirective =
|
|
|
1270
989
|
}
|
|
1271
990
|
}
|
|
1272
991
|
}) End */
|
|
1273
|
-
class TabItemsDirective extends vueImport$
|
|
992
|
+
class TabItemsDirective extends vueImport$3 {
|
|
1274
993
|
constructor() {
|
|
1275
994
|
super(arguments);
|
|
1276
995
|
}
|
|
@@ -1294,8 +1013,8 @@ class TabItemsDirective extends vueImport$4 {
|
|
|
1294
1013
|
return 'e-tabitems';
|
|
1295
1014
|
}
|
|
1296
1015
|
};
|
|
1297
|
-
TabItemsDirective = __decorate$
|
|
1298
|
-
EJComponentDecorator({}, isExecute$
|
|
1016
|
+
TabItemsDirective = __decorate$7([
|
|
1017
|
+
EJComponentDecorator({}, isExecute$7)
|
|
1299
1018
|
/* Start Options({
|
|
1300
1019
|
inject: {
|
|
1301
1020
|
custom: {
|
|
@@ -1322,7 +1041,7 @@ const TabItemsPlugin = {
|
|
|
1322
1041
|
* </ejs-tab>
|
|
1323
1042
|
* ```
|
|
1324
1043
|
*/
|
|
1325
|
-
let TabItemDirective = class TabItemDirective extends vueImport$
|
|
1044
|
+
let TabItemDirective = class TabItemDirective extends vueImport$3 {
|
|
1326
1045
|
render() {
|
|
1327
1046
|
return;
|
|
1328
1047
|
}
|
|
@@ -1330,8 +1049,8 @@ let TabItemDirective = class TabItemDirective extends vueImport$4 {
|
|
|
1330
1049
|
return 'e-tabitem';
|
|
1331
1050
|
}
|
|
1332
1051
|
};
|
|
1333
|
-
TabItemDirective = __decorate$
|
|
1334
|
-
EJComponentDecorator({}, isExecute$
|
|
1052
|
+
TabItemDirective = __decorate$7([
|
|
1053
|
+
EJComponentDecorator({}, isExecute$7)
|
|
1335
1054
|
], TabItemDirective);
|
|
1336
1055
|
const TabItemPlugin = {
|
|
1337
1056
|
name: 'e-tabitem',
|
|
@@ -1340,24 +1059,24 @@ const TabItemPlugin = {
|
|
|
1340
1059
|
}
|
|
1341
1060
|
};
|
|
1342
1061
|
|
|
1343
|
-
var __decorate$
|
|
1062
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1344
1063
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1345
1064
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1346
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;
|
|
1347
1066
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1348
1067
|
};
|
|
1349
1068
|
// {{VueImport}}
|
|
1350
|
-
const properties$
|
|
1351
|
-
const modelProps$
|
|
1352
|
-
const testProp$
|
|
1353
|
-
const props$
|
|
1354
|
-
const watch$
|
|
1355
|
-
const emitProbs$
|
|
1356
|
-
emitProbs$
|
|
1357
|
-
for (let props of modelProps$
|
|
1358
|
-
emitProbs$
|
|
1069
|
+
const properties$4 = ['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'];
|
|
1070
|
+
const modelProps$4 = [];
|
|
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);
|
|
1359
1078
|
}
|
|
1360
|
-
const isExecute$
|
|
1079
|
+
const isExecute$8 = gh ? false : true;
|
|
1361
1080
|
/**
|
|
1362
1081
|
* Represents the VueJS Tab Component.
|
|
1363
1082
|
* ```html
|
|
@@ -1378,13 +1097,13 @@ let TabComponent =
|
|
|
1378
1097
|
class TabComponent extends ComponentBase {
|
|
1379
1098
|
constructor() {
|
|
1380
1099
|
super(arguments);
|
|
1381
|
-
this.propKeys = properties$
|
|
1382
|
-
this.models = modelProps$
|
|
1100
|
+
this.propKeys = properties$4;
|
|
1101
|
+
this.models = modelProps$4;
|
|
1383
1102
|
this.hasChildDirective = true;
|
|
1384
1103
|
this.hasInjectedModules = false;
|
|
1385
1104
|
this.tagMapper = { "e-tabitems": "e-tabitem" };
|
|
1386
1105
|
this.tagNameMapper = { "e-tabitems": "e-items" };
|
|
1387
|
-
this.isVue3 = !isExecute$
|
|
1106
|
+
this.isVue3 = !isExecute$8;
|
|
1388
1107
|
this.ej2Instances = new Tab({});
|
|
1389
1108
|
this.bindProperties();
|
|
1390
1109
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -1476,10 +1195,10 @@ class TabComponent extends ComponentBase {
|
|
|
1476
1195
|
return this.ej2Instances.select(args, event);
|
|
1477
1196
|
}
|
|
1478
1197
|
};
|
|
1479
|
-
TabComponent = __decorate$
|
|
1198
|
+
TabComponent = __decorate$8([
|
|
1480
1199
|
EJComponentDecorator({
|
|
1481
|
-
props: properties$
|
|
1482
|
-
}, isExecute$
|
|
1200
|
+
props: properties$4
|
|
1201
|
+
}, isExecute$8)
|
|
1483
1202
|
/* Start Options({
|
|
1484
1203
|
props: props,
|
|
1485
1204
|
watch: watch,
|
|
@@ -1500,24 +1219,24 @@ const TabPlugin = {
|
|
|
1500
1219
|
}
|
|
1501
1220
|
};
|
|
1502
1221
|
|
|
1503
|
-
var __decorate$
|
|
1222
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1504
1223
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1505
1224
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1506
1225
|
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;
|
|
1507
1226
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1508
1227
|
};
|
|
1509
1228
|
// {{VueImport}}
|
|
1510
|
-
const properties$
|
|
1511
|
-
const modelProps$
|
|
1512
|
-
const testProp$
|
|
1513
|
-
const props$
|
|
1514
|
-
const watch$
|
|
1515
|
-
const emitProbs$
|
|
1516
|
-
emitProbs$
|
|
1517
|
-
for (let props of modelProps$
|
|
1518
|
-
emitProbs$
|
|
1229
|
+
const properties$5 = ['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'];
|
|
1230
|
+
const modelProps$5 = [];
|
|
1231
|
+
const testProp$5 = getProps({ props: properties$5 });
|
|
1232
|
+
const props$5 = testProp$5[0];
|
|
1233
|
+
const watch$5 = testProp$5[1];
|
|
1234
|
+
const emitProbs$5 = Object.keys(watch$5);
|
|
1235
|
+
emitProbs$5.push('modelchanged');
|
|
1236
|
+
for (let props of modelProps$5) {
|
|
1237
|
+
emitProbs$5.push('update:' + props);
|
|
1519
1238
|
}
|
|
1520
|
-
const isExecute$
|
|
1239
|
+
const isExecute$9 = gh ? false : true;
|
|
1521
1240
|
/**
|
|
1522
1241
|
* Represents the EJ2 VueJS TreeView Component.
|
|
1523
1242
|
* ```html
|
|
@@ -1538,13 +1257,13 @@ let TreeViewComponent =
|
|
|
1538
1257
|
class TreeViewComponent extends ComponentBase {
|
|
1539
1258
|
constructor() {
|
|
1540
1259
|
super(arguments);
|
|
1541
|
-
this.propKeys = properties$
|
|
1542
|
-
this.models = modelProps$
|
|
1260
|
+
this.propKeys = properties$5;
|
|
1261
|
+
this.models = modelProps$5;
|
|
1543
1262
|
this.hasChildDirective = false;
|
|
1544
1263
|
this.hasInjectedModules = false;
|
|
1545
1264
|
this.tagMapper = {};
|
|
1546
1265
|
this.tagNameMapper = {};
|
|
1547
|
-
this.isVue3 = !isExecute$
|
|
1266
|
+
this.isVue3 = !isExecute$9;
|
|
1548
1267
|
this.ej2Instances = new TreeView({});
|
|
1549
1268
|
this.bindProperties();
|
|
1550
1269
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -1660,10 +1379,10 @@ class TreeViewComponent extends ComponentBase {
|
|
|
1660
1379
|
return this.ej2Instances.updateNode(target, newText);
|
|
1661
1380
|
}
|
|
1662
1381
|
};
|
|
1663
|
-
TreeViewComponent = __decorate$
|
|
1382
|
+
TreeViewComponent = __decorate$9([
|
|
1664
1383
|
EJComponentDecorator({
|
|
1665
|
-
props: properties$
|
|
1666
|
-
}, isExecute$
|
|
1384
|
+
props: properties$5
|
|
1385
|
+
}, isExecute$9)
|
|
1667
1386
|
/* Start Options({
|
|
1668
1387
|
props: props,
|
|
1669
1388
|
watch: watch,
|
|
@@ -1682,24 +1401,24 @@ const TreeViewPlugin = {
|
|
|
1682
1401
|
}
|
|
1683
1402
|
};
|
|
1684
1403
|
|
|
1685
|
-
var __decorate$
|
|
1404
|
+
var __decorate$10 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1686
1405
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1687
1406
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1688
1407
|
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;
|
|
1689
1408
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1690
1409
|
};
|
|
1691
1410
|
// {{VueImport}}
|
|
1692
|
-
const properties$
|
|
1693
|
-
const modelProps$
|
|
1694
|
-
const testProp$
|
|
1695
|
-
const props$
|
|
1696
|
-
const watch$
|
|
1697
|
-
const emitProbs$
|
|
1698
|
-
emitProbs$
|
|
1699
|
-
for (let props of modelProps$
|
|
1700
|
-
emitProbs$
|
|
1411
|
+
const properties$6 = ['isLazyUpdate', 'animate', 'closeOnDocumentClick', 'dockSize', 'enableDock', 'enableGestures', 'enablePersistence', 'enableRtl', 'height', 'isOpen', 'locale', 'mediaQuery', 'position', 'showBackdrop', 'target', 'type', 'width', 'zIndex', 'change', 'close', 'created', 'destroyed', 'open'];
|
|
1412
|
+
const modelProps$6 = ['isOpen'];
|
|
1413
|
+
const testProp$6 = getProps({ props: properties$6 });
|
|
1414
|
+
const props$6 = testProp$6[0];
|
|
1415
|
+
const watch$6 = testProp$6[1];
|
|
1416
|
+
const emitProbs$6 = Object.keys(watch$6);
|
|
1417
|
+
emitProbs$6.push('modelchanged');
|
|
1418
|
+
for (let props of modelProps$6) {
|
|
1419
|
+
emitProbs$6.push('update:' + props);
|
|
1701
1420
|
}
|
|
1702
|
-
const isExecute$
|
|
1421
|
+
const isExecute$10 = gh ? false : true;
|
|
1703
1422
|
/**
|
|
1704
1423
|
* Represents the Essential JS 2 VueJS Sidebar Component.
|
|
1705
1424
|
* ```html
|
|
@@ -1720,13 +1439,13 @@ let SidebarComponent =
|
|
|
1720
1439
|
class SidebarComponent extends ComponentBase {
|
|
1721
1440
|
constructor() {
|
|
1722
1441
|
super(arguments);
|
|
1723
|
-
this.propKeys = properties$
|
|
1724
|
-
this.models = modelProps$
|
|
1442
|
+
this.propKeys = properties$6;
|
|
1443
|
+
this.models = modelProps$6;
|
|
1725
1444
|
this.hasChildDirective = false;
|
|
1726
1445
|
this.hasInjectedModules = false;
|
|
1727
1446
|
this.tagMapper = {};
|
|
1728
1447
|
this.tagNameMapper = {};
|
|
1729
|
-
this.isVue3 = !isExecute$
|
|
1448
|
+
this.isVue3 = !isExecute$10;
|
|
1730
1449
|
this.ej2Instances = new Sidebar({});
|
|
1731
1450
|
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
1732
1451
|
this.ej2Instances.trigger = this.trigger;
|
|
@@ -1782,14 +1501,14 @@ class SidebarComponent extends ComponentBase {
|
|
|
1782
1501
|
}
|
|
1783
1502
|
}
|
|
1784
1503
|
trigger(eventName, eventProp, successHandler) {
|
|
1785
|
-
if (!isExecute$
|
|
1504
|
+
if (!isExecute$10) {
|
|
1786
1505
|
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1787
1506
|
}
|
|
1788
1507
|
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1789
1508
|
let key = this.models.toString().match(/checked|value/) || [];
|
|
1790
1509
|
let propKey = key[0];
|
|
1791
1510
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1792
|
-
if (!isExecute$
|
|
1511
|
+
if (!isExecute$10) {
|
|
1793
1512
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1794
1513
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1795
1514
|
}
|
|
@@ -1805,7 +1524,7 @@ class SidebarComponent extends ComponentBase {
|
|
|
1805
1524
|
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1806
1525
|
let propKey = key[0];
|
|
1807
1526
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1808
|
-
if (!isExecute$
|
|
1527
|
+
if (!isExecute$10) {
|
|
1809
1528
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1810
1529
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1811
1530
|
}
|
|
@@ -1840,13 +1559,13 @@ class SidebarComponent extends ComponentBase {
|
|
|
1840
1559
|
return this.ej2Instances.toggle();
|
|
1841
1560
|
}
|
|
1842
1561
|
};
|
|
1843
|
-
SidebarComponent = __decorate$
|
|
1562
|
+
SidebarComponent = __decorate$10([
|
|
1844
1563
|
EJComponentDecorator({
|
|
1845
|
-
props: properties$
|
|
1564
|
+
props: properties$6,
|
|
1846
1565
|
model: {
|
|
1847
1566
|
event: 'modelchanged'
|
|
1848
1567
|
}
|
|
1849
|
-
}, isExecute$
|
|
1568
|
+
}, isExecute$10)
|
|
1850
1569
|
/* Start Options({
|
|
1851
1570
|
props: props,
|
|
1852
1571
|
watch: watch,
|
|
@@ -1865,20 +1584,20 @@ const SidebarPlugin = {
|
|
|
1865
1584
|
}
|
|
1866
1585
|
};
|
|
1867
1586
|
|
|
1868
|
-
var __decorate$
|
|
1587
|
+
var __decorate$11 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1869
1588
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1870
1589
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1871
1590
|
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;
|
|
1872
1591
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1873
1592
|
};
|
|
1874
1593
|
// {{VueImport}}
|
|
1875
|
-
const isExecute$
|
|
1876
|
-
let vueImport$
|
|
1877
|
-
if (!isExecute$
|
|
1878
|
-
vueImport$
|
|
1594
|
+
const isExecute$11 = gh ? false : true;
|
|
1595
|
+
let vueImport$4;
|
|
1596
|
+
if (!isExecute$11 || parseInt(allVue.version) < 3) {
|
|
1597
|
+
vueImport$4 = Vue;
|
|
1879
1598
|
}
|
|
1880
1599
|
else {
|
|
1881
|
-
vueImport$
|
|
1600
|
+
vueImport$4 = Vue$1;
|
|
1882
1601
|
}
|
|
1883
1602
|
let MenuItemsDirective =
|
|
1884
1603
|
/* Start Options({
|
|
@@ -1888,7 +1607,7 @@ let MenuItemsDirective =
|
|
|
1888
1607
|
}
|
|
1889
1608
|
}
|
|
1890
1609
|
}) End */
|
|
1891
|
-
class MenuItemsDirective extends vueImport$
|
|
1610
|
+
class MenuItemsDirective extends vueImport$4 {
|
|
1892
1611
|
constructor() {
|
|
1893
1612
|
super(arguments);
|
|
1894
1613
|
}
|
|
@@ -1912,8 +1631,8 @@ class MenuItemsDirective extends vueImport$5 {
|
|
|
1912
1631
|
return 'e-menu-items';
|
|
1913
1632
|
}
|
|
1914
1633
|
};
|
|
1915
|
-
MenuItemsDirective = __decorate$
|
|
1916
|
-
EJComponentDecorator({}, isExecute$
|
|
1634
|
+
MenuItemsDirective = __decorate$11([
|
|
1635
|
+
EJComponentDecorator({}, isExecute$11)
|
|
1917
1636
|
/* Start Options({
|
|
1918
1637
|
inject: {
|
|
1919
1638
|
custom: {
|
|
@@ -1928,7 +1647,7 @@ const MenuItemsPlugin = {
|
|
|
1928
1647
|
Vue$$1.component(MenuItemsPlugin.name, MenuItemsDirective);
|
|
1929
1648
|
}
|
|
1930
1649
|
};
|
|
1931
|
-
let MenuItemDirective = class MenuItemDirective extends vueImport$
|
|
1650
|
+
let MenuItemDirective = class MenuItemDirective extends vueImport$4 {
|
|
1932
1651
|
render() {
|
|
1933
1652
|
return;
|
|
1934
1653
|
}
|
|
@@ -1936,8 +1655,8 @@ let MenuItemDirective = class MenuItemDirective extends vueImport$5 {
|
|
|
1936
1655
|
return 'e-';
|
|
1937
1656
|
}
|
|
1938
1657
|
};
|
|
1939
|
-
MenuItemDirective = __decorate$
|
|
1940
|
-
EJComponentDecorator({}, isExecute$
|
|
1658
|
+
MenuItemDirective = __decorate$11([
|
|
1659
|
+
EJComponentDecorator({}, isExecute$11)
|
|
1941
1660
|
], MenuItemDirective);
|
|
1942
1661
|
const MenuItemPlugin = {
|
|
1943
1662
|
name: 'e-',
|
|
@@ -1946,24 +1665,24 @@ const MenuItemPlugin = {
|
|
|
1946
1665
|
}
|
|
1947
1666
|
};
|
|
1948
1667
|
|
|
1949
|
-
var __decorate$
|
|
1668
|
+
var __decorate$12 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1950
1669
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1951
1670
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1952
1671
|
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;
|
|
1953
1672
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1954
1673
|
};
|
|
1955
1674
|
// {{VueImport}}
|
|
1956
|
-
const properties$
|
|
1957
|
-
const modelProps$
|
|
1958
|
-
const testProp$
|
|
1959
|
-
const props$
|
|
1960
|
-
const watch$
|
|
1961
|
-
const emitProbs$
|
|
1962
|
-
emitProbs$
|
|
1963
|
-
for (let props of modelProps$
|
|
1964
|
-
emitProbs$
|
|
1675
|
+
const properties$7 = ['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'];
|
|
1676
|
+
const modelProps$7 = [];
|
|
1677
|
+
const testProp$7 = getProps({ props: properties$7 });
|
|
1678
|
+
const props$7 = testProp$7[0];
|
|
1679
|
+
const watch$7 = testProp$7[1];
|
|
1680
|
+
const emitProbs$7 = Object.keys(watch$7);
|
|
1681
|
+
emitProbs$7.push('modelchanged');
|
|
1682
|
+
for (let props of modelProps$7) {
|
|
1683
|
+
emitProbs$7.push('update:' + props);
|
|
1965
1684
|
}
|
|
1966
|
-
const isExecute$
|
|
1685
|
+
const isExecute$12 = gh ? false : true;
|
|
1967
1686
|
/**
|
|
1968
1687
|
* Represents the Essential JS 2 VueJS Menu Component.
|
|
1969
1688
|
* ```html
|
|
@@ -1984,13 +1703,13 @@ let MenuComponent =
|
|
|
1984
1703
|
class MenuComponent extends ComponentBase {
|
|
1985
1704
|
constructor() {
|
|
1986
1705
|
super(arguments);
|
|
1987
|
-
this.propKeys = properties$
|
|
1988
|
-
this.models = modelProps$
|
|
1706
|
+
this.propKeys = properties$7;
|
|
1707
|
+
this.models = modelProps$7;
|
|
1989
1708
|
this.hasChildDirective = true;
|
|
1990
1709
|
this.hasInjectedModules = false;
|
|
1991
1710
|
this.tagMapper = { "e-menu-items": "e-" };
|
|
1992
1711
|
this.tagNameMapper = { "e-menu-items": "e-items" };
|
|
1993
|
-
this.isVue3 = !isExecute$
|
|
1712
|
+
this.isVue3 = !isExecute$12;
|
|
1994
1713
|
this.ej2Instances = new Menu({});
|
|
1995
1714
|
this.bindProperties();
|
|
1996
1715
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -2085,10 +1804,10 @@ class MenuComponent extends ComponentBase {
|
|
|
2085
1804
|
return this.ej2Instances.showItems(items, isUniqueId);
|
|
2086
1805
|
}
|
|
2087
1806
|
};
|
|
2088
|
-
MenuComponent = __decorate$
|
|
1807
|
+
MenuComponent = __decorate$12([
|
|
2089
1808
|
EJComponentDecorator({
|
|
2090
|
-
props: properties$
|
|
2091
|
-
}, isExecute$
|
|
1809
|
+
props: properties$7
|
|
1810
|
+
}, isExecute$12)
|
|
2092
1811
|
/* Start Options({
|
|
2093
1812
|
props: props,
|
|
2094
1813
|
watch: watch,
|
|
@@ -2109,6 +1828,6 @@ const MenuPlugin = {
|
|
|
2109
1828
|
}
|
|
2110
1829
|
};
|
|
2111
1830
|
|
|
2112
|
-
export { AccordionItemsDirective, AccordionItemDirective, AccordionItemsPlugin, AccordionItemPlugin, AccordionComponent, AccordionPlugin, ItemsDirective, ItemDirective, ItemsPlugin, ItemPlugin, ToolbarComponent, ToolbarPlugin, ContextMenuComponent, ContextMenuPlugin, BreadcrumbItemsDirective, BreadcrumbItemDirective, BreadcrumbItemsPlugin, BreadcrumbItemPlugin, BreadcrumbComponent, BreadcrumbPlugin,
|
|
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 };
|
|
2113
1832
|
export * from '@syncfusion/ej2-navigations';
|
|
2114
1833
|
//# sourceMappingURL=ej2-vue-navigations.es2015.js.map
|