@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';
|
|
@@ -142,7 +142,7 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
|
142
142
|
}
|
|
143
143
|
var isExecute$1 = gh ? false : true;
|
|
144
144
|
/**
|
|
145
|
-
* Represents the VueJS
|
|
145
|
+
* Represents the VueJS Accoridon Component.
|
|
146
146
|
* ```html
|
|
147
147
|
* <ejs-accordion></ejs-accordion>
|
|
148
148
|
* ```
|
|
@@ -1066,310 +1066,8 @@ if (!isExecute$7 || parseInt(allVue.version) < 3) {
|
|
|
1066
1066
|
else {
|
|
1067
1067
|
vueImport$3 = Vue$1;
|
|
1068
1068
|
}
|
|
1069
|
-
var CarouselItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
1070
|
-
__extends$7(CarouselItemsDirective, _super);
|
|
1071
|
-
function CarouselItemsDirective() {
|
|
1072
|
-
return _super.call(this, arguments) || this;
|
|
1073
|
-
}
|
|
1074
|
-
CarouselItemsDirective.prototype.render = function (createElement) {
|
|
1075
|
-
if (gh) {
|
|
1076
|
-
var h = gh || createElement;
|
|
1077
|
-
var slots = null;
|
|
1078
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1079
|
-
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1080
|
-
}
|
|
1081
|
-
return h('div', { class: 'e-directive' }, slots);
|
|
1082
|
-
}
|
|
1083
|
-
return;
|
|
1084
|
-
};
|
|
1085
|
-
CarouselItemsDirective.prototype.updated = function () {
|
|
1086
|
-
if (gh && this.custom) {
|
|
1087
|
-
this.custom();
|
|
1088
|
-
}
|
|
1089
|
-
};
|
|
1090
|
-
CarouselItemsDirective.prototype.getTag = function () {
|
|
1091
|
-
return 'e-carousel-items';
|
|
1092
|
-
};
|
|
1093
|
-
CarouselItemsDirective = __decorate$7([
|
|
1094
|
-
EJComponentDecorator({}, isExecute$7)
|
|
1095
|
-
,Options({
|
|
1096
|
-
inject: {
|
|
1097
|
-
custom: {
|
|
1098
|
-
default: null
|
|
1099
|
-
}
|
|
1100
|
-
}
|
|
1101
|
-
})
|
|
1102
|
-
], CarouselItemsDirective);
|
|
1103
|
-
return CarouselItemsDirective;
|
|
1104
|
-
}(vueImport$3));
|
|
1105
|
-
var CarouselItemsPlugin = {
|
|
1106
|
-
name: 'e-carousel-items',
|
|
1107
|
-
install: function (Vue$$1) {
|
|
1108
|
-
Vue$$1.component(CarouselItemsPlugin.name, CarouselItemsDirective);
|
|
1109
|
-
}
|
|
1110
|
-
};
|
|
1111
|
-
/**
|
|
1112
|
-
* `e-carousel-item` directive represent a item of the Vue Carousel.
|
|
1113
|
-
* It must be contained in a Carousel component(`ejs-carousel`).
|
|
1114
|
-
* ```html
|
|
1115
|
-
* <ejs-carousel>
|
|
1116
|
-
* <e-carousel-items>
|
|
1117
|
-
* <e-carousel-item template='itemTemplate'></e-carousel-item>
|
|
1118
|
-
* <e-carousel-item template='secondItemTemplate'></e-carousel-item>
|
|
1119
|
-
* </e-carousel-items>
|
|
1120
|
-
* </ejs-carousel>
|
|
1121
|
-
* ```
|
|
1122
|
-
*/
|
|
1123
|
-
var CarouselItemDirective = /** @__PURE__ @class */ (function (_super) {
|
|
1124
|
-
__extends$7(CarouselItemDirective, _super);
|
|
1125
|
-
function CarouselItemDirective() {
|
|
1126
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1127
|
-
}
|
|
1128
|
-
CarouselItemDirective.prototype.render = function () {
|
|
1129
|
-
return;
|
|
1130
|
-
};
|
|
1131
|
-
CarouselItemDirective.prototype.getTag = function () {
|
|
1132
|
-
return 'e-carousel-item';
|
|
1133
|
-
};
|
|
1134
|
-
CarouselItemDirective = __decorate$7([
|
|
1135
|
-
EJComponentDecorator({}, isExecute$7)
|
|
1136
|
-
], CarouselItemDirective);
|
|
1137
|
-
return CarouselItemDirective;
|
|
1138
|
-
}(vueImport$3));
|
|
1139
|
-
var CarouselItemPlugin = {
|
|
1140
|
-
name: 'e-carousel-item',
|
|
1141
|
-
install: function (Vue$$1) {
|
|
1142
|
-
Vue$$1.component(CarouselItemPlugin.name, CarouselItemDirective);
|
|
1143
|
-
}
|
|
1144
|
-
};
|
|
1145
|
-
|
|
1146
|
-
var __extends$8 = (undefined && undefined.__extends) || (function () {
|
|
1147
|
-
var extendStatics = function (d, b) {
|
|
1148
|
-
extendStatics = Object.setPrototypeOf ||
|
|
1149
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
1150
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
1151
|
-
return extendStatics(d, b);
|
|
1152
|
-
};
|
|
1153
|
-
return function (d, b) {
|
|
1154
|
-
extendStatics(d, b);
|
|
1155
|
-
function __() { this.constructor = d; }
|
|
1156
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1157
|
-
};
|
|
1158
|
-
})();
|
|
1159
|
-
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1160
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1161
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1162
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1163
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1164
|
-
};
|
|
1165
|
-
// {{VueImport}}
|
|
1166
|
-
var properties$4 = ['isLazyUpdate', 'animation', 'autoPlay', 'buttonsVisibility', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enableTouchSwipe', 'height', 'htmlAttributes', 'indicatorsTemplate', 'interval', 'itemTemplate', 'items', 'locale', 'loop', 'nextButtonTemplate', 'playButtonTemplate', 'previousButtonTemplate', 'selectedIndex', 'showIndicators', 'showPlayButton', 'width', 'slideChanged', 'slideChanging'];
|
|
1167
|
-
var modelProps$4 = ['selectedIndex'];
|
|
1168
|
-
var testProp$4 = getProps({ props: properties$4 });
|
|
1169
|
-
var props$4 = testProp$4[0];
|
|
1170
|
-
var watch$4 = testProp$4[1];
|
|
1171
|
-
var emitProbs$4 = Object.keys(watch$4);
|
|
1172
|
-
emitProbs$4.push('modelchanged');
|
|
1173
|
-
for (var _i$4 = 0, modelProps_1$4 = modelProps$4; _i$4 < modelProps_1$4.length; _i$4++) {
|
|
1174
|
-
var props_1$4 = modelProps_1$4[_i$4];
|
|
1175
|
-
emitProbs$4.push('update:' + props_1$4);
|
|
1176
|
-
}
|
|
1177
|
-
var isExecute$8 = gh ? false : true;
|
|
1178
|
-
/**
|
|
1179
|
-
* Represents the VueJS Carousel Component.
|
|
1180
|
-
* ```html
|
|
1181
|
-
* <ejs-carousel :items='carouselItems'></ejs-carousel>
|
|
1182
|
-
* ```
|
|
1183
|
-
*/
|
|
1184
|
-
var CarouselComponent = /** @__PURE__ @class */ (function (_super) {
|
|
1185
|
-
__extends$8(CarouselComponent, _super);
|
|
1186
|
-
function CarouselComponent() {
|
|
1187
|
-
var _this = _super.call(this, arguments) || this;
|
|
1188
|
-
_this.propKeys = properties$4;
|
|
1189
|
-
_this.models = modelProps$4;
|
|
1190
|
-
_this.hasChildDirective = true;
|
|
1191
|
-
_this.hasInjectedModules = false;
|
|
1192
|
-
_this.tagMapper = { "e-carousel-items": "e-carousel-item" };
|
|
1193
|
-
_this.tagNameMapper = { "e-carousel-items": "e-items" };
|
|
1194
|
-
_this.isVue3 = !isExecute$8;
|
|
1195
|
-
_this.ej2Instances = new Carousel({});
|
|
1196
|
-
_this.ej2Instances._trigger = _this.ej2Instances.trigger;
|
|
1197
|
-
_this.ej2Instances.trigger = _this.trigger;
|
|
1198
|
-
_this.bindProperties();
|
|
1199
|
-
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
1200
|
-
_this.ej2Instances.setProperties = _this.setProperties;
|
|
1201
|
-
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
1202
|
-
_this.updated = _this.updated;
|
|
1203
|
-
return _this;
|
|
1204
|
-
}
|
|
1205
|
-
CarouselComponent.prototype.clearTemplate = function (templateNames) {
|
|
1206
|
-
if (!templateNames) {
|
|
1207
|
-
templateNames = Object.keys(this.templateCollection || {});
|
|
1208
|
-
}
|
|
1209
|
-
if (templateNames.length && this.templateCollection) {
|
|
1210
|
-
for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
|
|
1211
|
-
var tempName = templateNames_1[_i];
|
|
1212
|
-
var elementCollection = this.templateCollection[tempName];
|
|
1213
|
-
if (elementCollection && elementCollection.length) {
|
|
1214
|
-
for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
|
|
1215
|
-
var ele = elementCollection_1[_a];
|
|
1216
|
-
var destroy = getValue('__vue__.$destroy', ele);
|
|
1217
|
-
if (destroy) {
|
|
1218
|
-
ele.__vue__.$destroy();
|
|
1219
|
-
}
|
|
1220
|
-
if (ele.innerHTML) {
|
|
1221
|
-
ele.innerHTML = '';
|
|
1222
|
-
}
|
|
1223
|
-
}
|
|
1224
|
-
delete this.templateCollection[tempName];
|
|
1225
|
-
}
|
|
1226
|
-
}
|
|
1227
|
-
}
|
|
1228
|
-
};
|
|
1229
|
-
CarouselComponent.prototype.setProperties = function (prop, muteOnChange) {
|
|
1230
|
-
var _this = this;
|
|
1231
|
-
if (this.isVue3) {
|
|
1232
|
-
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1233
|
-
}
|
|
1234
|
-
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
1235
|
-
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
1236
|
-
}
|
|
1237
|
-
if (prop && this.models && this.models.length) {
|
|
1238
|
-
Object.keys(prop).map(function (key) {
|
|
1239
|
-
_this.models.map(function (model) {
|
|
1240
|
-
if ((key === model) && !(/datasource/i.test(key))) {
|
|
1241
|
-
if (_this.isVue3) {
|
|
1242
|
-
_this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
1243
|
-
}
|
|
1244
|
-
else {
|
|
1245
|
-
_this.$emit('update:' + key, prop[key]);
|
|
1246
|
-
_this.$emit('modelchanged', prop[key]);
|
|
1247
|
-
}
|
|
1248
|
-
}
|
|
1249
|
-
});
|
|
1250
|
-
});
|
|
1251
|
-
}
|
|
1252
|
-
};
|
|
1253
|
-
CarouselComponent.prototype.trigger = function (eventName, eventProp, successHandler) {
|
|
1254
|
-
if (!isExecute$8) {
|
|
1255
|
-
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1256
|
-
}
|
|
1257
|
-
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1258
|
-
var key = this.models.toString().match(/checked|value/) || [];
|
|
1259
|
-
var propKey = key[0];
|
|
1260
|
-
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1261
|
-
if (!isExecute$8) {
|
|
1262
|
-
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1263
|
-
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1264
|
-
}
|
|
1265
|
-
else {
|
|
1266
|
-
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
1267
|
-
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1268
|
-
this.$emit('modelchanged', eventProp[propKey]);
|
|
1269
|
-
}
|
|
1270
|
-
}
|
|
1271
|
-
}
|
|
1272
|
-
}
|
|
1273
|
-
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
1274
|
-
var key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1275
|
-
var propKey = key[0];
|
|
1276
|
-
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1277
|
-
if (!isExecute$8) {
|
|
1278
|
-
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1279
|
-
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1280
|
-
}
|
|
1281
|
-
else {
|
|
1282
|
-
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1283
|
-
this.$emit('modelchanged', eventProp[propKey]);
|
|
1284
|
-
}
|
|
1285
|
-
}
|
|
1286
|
-
}
|
|
1287
|
-
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
1288
|
-
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
1289
|
-
}
|
|
1290
|
-
};
|
|
1291
|
-
CarouselComponent.prototype.render = function (createElement) {
|
|
1292
|
-
var h = gh || createElement;
|
|
1293
|
-
var slots = null;
|
|
1294
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1295
|
-
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1296
|
-
}
|
|
1297
|
-
return h('div', slots);
|
|
1298
|
-
};
|
|
1299
|
-
CarouselComponent.prototype.custom = function () {
|
|
1300
|
-
this.updated();
|
|
1301
|
-
};
|
|
1302
|
-
CarouselComponent.prototype.next = function () {
|
|
1303
|
-
return this.ej2Instances.next();
|
|
1304
|
-
};
|
|
1305
|
-
CarouselComponent.prototype.pause = function () {
|
|
1306
|
-
return this.ej2Instances.pause();
|
|
1307
|
-
};
|
|
1308
|
-
CarouselComponent.prototype.play = function () {
|
|
1309
|
-
return this.ej2Instances.play();
|
|
1310
|
-
};
|
|
1311
|
-
CarouselComponent.prototype.prev = function () {
|
|
1312
|
-
return this.ej2Instances.prev();
|
|
1313
|
-
};
|
|
1314
|
-
CarouselComponent = __decorate$8([
|
|
1315
|
-
EJComponentDecorator({
|
|
1316
|
-
props: properties$4,
|
|
1317
|
-
model: {
|
|
1318
|
-
event: 'modelchanged'
|
|
1319
|
-
}
|
|
1320
|
-
}, isExecute$8)
|
|
1321
|
-
,Options({
|
|
1322
|
-
props: props,
|
|
1323
|
-
watch: watch,
|
|
1324
|
-
emits: emitProbs,
|
|
1325
|
-
provide: function provide() {
|
|
1326
|
-
return {
|
|
1327
|
-
custom: this.custom
|
|
1328
|
-
};
|
|
1329
|
-
}
|
|
1330
|
-
})
|
|
1331
|
-
], CarouselComponent);
|
|
1332
|
-
return CarouselComponent;
|
|
1333
|
-
}(ComponentBase));
|
|
1334
|
-
var CarouselPlugin = {
|
|
1335
|
-
name: 'ejs-carousel',
|
|
1336
|
-
install: function (Vue$$1) {
|
|
1337
|
-
Vue$$1.component(CarouselPlugin.name, CarouselComponent);
|
|
1338
|
-
Vue$$1.component(CarouselItemPlugin.name, CarouselItemDirective);
|
|
1339
|
-
Vue$$1.component(CarouselItemsPlugin.name, CarouselItemsDirective);
|
|
1340
|
-
}
|
|
1341
|
-
};
|
|
1342
|
-
|
|
1343
|
-
var __extends$9 = (undefined && undefined.__extends) || (function () {
|
|
1344
|
-
var extendStatics = function (d, b) {
|
|
1345
|
-
extendStatics = Object.setPrototypeOf ||
|
|
1346
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
1347
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
1348
|
-
return extendStatics(d, b);
|
|
1349
|
-
};
|
|
1350
|
-
return function (d, b) {
|
|
1351
|
-
extendStatics(d, b);
|
|
1352
|
-
function __() { this.constructor = d; }
|
|
1353
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1354
|
-
};
|
|
1355
|
-
})();
|
|
1356
|
-
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1357
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1358
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1359
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1360
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1361
|
-
};
|
|
1362
|
-
// {{VueImport}}
|
|
1363
|
-
var isExecute$9 = gh ? false : true;
|
|
1364
|
-
var vueImport$4;
|
|
1365
|
-
if (!isExecute$9 || parseInt(allVue.version) < 3) {
|
|
1366
|
-
vueImport$4 = Vue;
|
|
1367
|
-
}
|
|
1368
|
-
else {
|
|
1369
|
-
vueImport$4 = Vue$1;
|
|
1370
|
-
}
|
|
1371
1069
|
var TabItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
1372
|
-
__extends$
|
|
1070
|
+
__extends$7(TabItemsDirective, _super);
|
|
1373
1071
|
function TabItemsDirective() {
|
|
1374
1072
|
return _super.call(this, arguments) || this;
|
|
1375
1073
|
}
|
|
@@ -1392,8 +1090,8 @@ var TabItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
1392
1090
|
TabItemsDirective.prototype.getTag = function () {
|
|
1393
1091
|
return 'e-tabitems';
|
|
1394
1092
|
};
|
|
1395
|
-
TabItemsDirective = __decorate$
|
|
1396
|
-
EJComponentDecorator({}, isExecute$
|
|
1093
|
+
TabItemsDirective = __decorate$7([
|
|
1094
|
+
EJComponentDecorator({}, isExecute$7)
|
|
1397
1095
|
,Options({
|
|
1398
1096
|
inject: {
|
|
1399
1097
|
custom: {
|
|
@@ -1403,7 +1101,7 @@ var TabItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
1403
1101
|
})
|
|
1404
1102
|
], TabItemsDirective);
|
|
1405
1103
|
return TabItemsDirective;
|
|
1406
|
-
}(vueImport$
|
|
1104
|
+
}(vueImport$3));
|
|
1407
1105
|
var TabItemsPlugin = {
|
|
1408
1106
|
name: 'e-tabitems',
|
|
1409
1107
|
install: function (Vue$$1) {
|
|
@@ -1423,7 +1121,7 @@ var TabItemsPlugin = {
|
|
|
1423
1121
|
* ```
|
|
1424
1122
|
*/
|
|
1425
1123
|
var TabItemDirective = /** @__PURE__ @class */ (function (_super) {
|
|
1426
|
-
__extends$
|
|
1124
|
+
__extends$7(TabItemDirective, _super);
|
|
1427
1125
|
function TabItemDirective() {
|
|
1428
1126
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1429
1127
|
}
|
|
@@ -1433,11 +1131,11 @@ var TabItemDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
1433
1131
|
TabItemDirective.prototype.getTag = function () {
|
|
1434
1132
|
return 'e-tabitem';
|
|
1435
1133
|
};
|
|
1436
|
-
TabItemDirective = __decorate$
|
|
1437
|
-
EJComponentDecorator({}, isExecute$
|
|
1134
|
+
TabItemDirective = __decorate$7([
|
|
1135
|
+
EJComponentDecorator({}, isExecute$7)
|
|
1438
1136
|
], TabItemDirective);
|
|
1439
1137
|
return TabItemDirective;
|
|
1440
|
-
}(vueImport$
|
|
1138
|
+
}(vueImport$3));
|
|
1441
1139
|
var TabItemPlugin = {
|
|
1442
1140
|
name: 'e-tabitem',
|
|
1443
1141
|
install: function (Vue$$1) {
|
|
@@ -1445,7 +1143,7 @@ var TabItemPlugin = {
|
|
|
1445
1143
|
}
|
|
1446
1144
|
};
|
|
1447
1145
|
|
|
1448
|
-
var __extends$
|
|
1146
|
+
var __extends$8 = (undefined && undefined.__extends) || (function () {
|
|
1449
1147
|
var extendStatics = function (d, b) {
|
|
1450
1148
|
extendStatics = Object.setPrototypeOf ||
|
|
1451
1149
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1458,25 +1156,25 @@ var __extends$10 = (undefined && undefined.__extends) || (function () {
|
|
|
1458
1156
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1459
1157
|
};
|
|
1460
1158
|
})();
|
|
1461
|
-
var __decorate$
|
|
1159
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1462
1160
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1463
1161
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1464
1162
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1465
1163
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1466
1164
|
};
|
|
1467
1165
|
// {{VueImport}}
|
|
1468
|
-
var properties$
|
|
1469
|
-
var modelProps$
|
|
1470
|
-
var testProp$
|
|
1471
|
-
var props$
|
|
1472
|
-
var watch$
|
|
1473
|
-
var emitProbs$
|
|
1474
|
-
emitProbs$
|
|
1475
|
-
for (var _i$
|
|
1476
|
-
var props_1$
|
|
1477
|
-
emitProbs$
|
|
1166
|
+
var 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'];
|
|
1167
|
+
var modelProps$4 = [];
|
|
1168
|
+
var testProp$4 = getProps({ props: properties$4 });
|
|
1169
|
+
var props$4 = testProp$4[0];
|
|
1170
|
+
var watch$4 = testProp$4[1];
|
|
1171
|
+
var emitProbs$4 = Object.keys(watch$4);
|
|
1172
|
+
emitProbs$4.push('modelchanged');
|
|
1173
|
+
for (var _i$4 = 0, modelProps_1$4 = modelProps$4; _i$4 < modelProps_1$4.length; _i$4++) {
|
|
1174
|
+
var props_1$4 = modelProps_1$4[_i$4];
|
|
1175
|
+
emitProbs$4.push('update:' + props_1$4);
|
|
1478
1176
|
}
|
|
1479
|
-
var isExecute$
|
|
1177
|
+
var isExecute$8 = gh ? false : true;
|
|
1480
1178
|
/**
|
|
1481
1179
|
* Represents the VueJS Tab Component.
|
|
1482
1180
|
* ```html
|
|
@@ -1484,16 +1182,16 @@ var isExecute$10 = gh ? false : true;
|
|
|
1484
1182
|
* ```
|
|
1485
1183
|
*/
|
|
1486
1184
|
var TabComponent = /** @__PURE__ @class */ (function (_super) {
|
|
1487
|
-
__extends$
|
|
1185
|
+
__extends$8(TabComponent, _super);
|
|
1488
1186
|
function TabComponent() {
|
|
1489
1187
|
var _this = _super.call(this, arguments) || this;
|
|
1490
|
-
_this.propKeys = properties$
|
|
1491
|
-
_this.models = modelProps$
|
|
1188
|
+
_this.propKeys = properties$4;
|
|
1189
|
+
_this.models = modelProps$4;
|
|
1492
1190
|
_this.hasChildDirective = true;
|
|
1493
1191
|
_this.hasInjectedModules = false;
|
|
1494
1192
|
_this.tagMapper = { "e-tabitems": "e-tabitem" };
|
|
1495
1193
|
_this.tagNameMapper = { "e-tabitems": "e-items" };
|
|
1496
|
-
_this.isVue3 = !isExecute$
|
|
1194
|
+
_this.isVue3 = !isExecute$8;
|
|
1497
1195
|
_this.ej2Instances = new Tab({});
|
|
1498
1196
|
_this.bindProperties();
|
|
1499
1197
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
@@ -1588,10 +1286,10 @@ var TabComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1588
1286
|
TabComponent.prototype.select = function (args, event) {
|
|
1589
1287
|
return this.ej2Instances.select(args, event);
|
|
1590
1288
|
};
|
|
1591
|
-
TabComponent = __decorate$
|
|
1289
|
+
TabComponent = __decorate$8([
|
|
1592
1290
|
EJComponentDecorator({
|
|
1593
|
-
props: properties$
|
|
1594
|
-
}, isExecute$
|
|
1291
|
+
props: properties$4
|
|
1292
|
+
}, isExecute$8)
|
|
1595
1293
|
,Options({
|
|
1596
1294
|
props: props,
|
|
1597
1295
|
watch: watch,
|
|
@@ -1614,7 +1312,7 @@ var TabPlugin = {
|
|
|
1614
1312
|
}
|
|
1615
1313
|
};
|
|
1616
1314
|
|
|
1617
|
-
var __extends$
|
|
1315
|
+
var __extends$9 = (undefined && undefined.__extends) || (function () {
|
|
1618
1316
|
var extendStatics = function (d, b) {
|
|
1619
1317
|
extendStatics = Object.setPrototypeOf ||
|
|
1620
1318
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1627,25 +1325,25 @@ var __extends$11 = (undefined && undefined.__extends) || (function () {
|
|
|
1627
1325
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1628
1326
|
};
|
|
1629
1327
|
})();
|
|
1630
|
-
var __decorate$
|
|
1328
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1631
1329
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1632
1330
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1633
1331
|
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;
|
|
1634
1332
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1635
1333
|
};
|
|
1636
1334
|
// {{VueImport}}
|
|
1637
|
-
var properties$
|
|
1638
|
-
var modelProps$
|
|
1639
|
-
var testProp$
|
|
1640
|
-
var props$
|
|
1641
|
-
var watch$
|
|
1642
|
-
var emitProbs$
|
|
1643
|
-
emitProbs$
|
|
1644
|
-
for (var _i$
|
|
1645
|
-
var props_1$
|
|
1646
|
-
emitProbs$
|
|
1335
|
+
var 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'];
|
|
1336
|
+
var modelProps$5 = [];
|
|
1337
|
+
var testProp$5 = getProps({ props: properties$5 });
|
|
1338
|
+
var props$5 = testProp$5[0];
|
|
1339
|
+
var watch$5 = testProp$5[1];
|
|
1340
|
+
var emitProbs$5 = Object.keys(watch$5);
|
|
1341
|
+
emitProbs$5.push('modelchanged');
|
|
1342
|
+
for (var _i$5 = 0, modelProps_1$5 = modelProps$5; _i$5 < modelProps_1$5.length; _i$5++) {
|
|
1343
|
+
var props_1$5 = modelProps_1$5[_i$5];
|
|
1344
|
+
emitProbs$5.push('update:' + props_1$5);
|
|
1647
1345
|
}
|
|
1648
|
-
var isExecute$
|
|
1346
|
+
var isExecute$9 = gh ? false : true;
|
|
1649
1347
|
/**
|
|
1650
1348
|
* Represents the EJ2 VueJS TreeView Component.
|
|
1651
1349
|
* ```html
|
|
@@ -1653,16 +1351,16 @@ var isExecute$11 = gh ? false : true;
|
|
|
1653
1351
|
* ```
|
|
1654
1352
|
*/
|
|
1655
1353
|
var TreeViewComponent = /** @__PURE__ @class */ (function (_super) {
|
|
1656
|
-
__extends$
|
|
1354
|
+
__extends$9(TreeViewComponent, _super);
|
|
1657
1355
|
function TreeViewComponent() {
|
|
1658
1356
|
var _this = _super.call(this, arguments) || this;
|
|
1659
|
-
_this.propKeys = properties$
|
|
1660
|
-
_this.models = modelProps$
|
|
1357
|
+
_this.propKeys = properties$5;
|
|
1358
|
+
_this.models = modelProps$5;
|
|
1661
1359
|
_this.hasChildDirective = false;
|
|
1662
1360
|
_this.hasInjectedModules = false;
|
|
1663
1361
|
_this.tagMapper = {};
|
|
1664
1362
|
_this.tagNameMapper = {};
|
|
1665
|
-
_this.isVue3 = !isExecute$
|
|
1363
|
+
_this.isVue3 = !isExecute$9;
|
|
1666
1364
|
_this.ej2Instances = new TreeView({});
|
|
1667
1365
|
_this.bindProperties();
|
|
1668
1366
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
@@ -1781,10 +1479,10 @@ var TreeViewComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1781
1479
|
TreeViewComponent.prototype.updateNode = function (target, newText) {
|
|
1782
1480
|
return this.ej2Instances.updateNode(target, newText);
|
|
1783
1481
|
};
|
|
1784
|
-
TreeViewComponent = __decorate$
|
|
1482
|
+
TreeViewComponent = __decorate$9([
|
|
1785
1483
|
EJComponentDecorator({
|
|
1786
|
-
props: properties$
|
|
1787
|
-
}, isExecute$
|
|
1484
|
+
props: properties$5
|
|
1485
|
+
}, isExecute$9)
|
|
1788
1486
|
,Options({
|
|
1789
1487
|
props: props,
|
|
1790
1488
|
watch: watch,
|
|
@@ -1805,7 +1503,7 @@ var TreeViewPlugin = {
|
|
|
1805
1503
|
}
|
|
1806
1504
|
};
|
|
1807
1505
|
|
|
1808
|
-
var __extends$
|
|
1506
|
+
var __extends$10 = (undefined && undefined.__extends) || (function () {
|
|
1809
1507
|
var extendStatics = function (d, b) {
|
|
1810
1508
|
extendStatics = Object.setPrototypeOf ||
|
|
1811
1509
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1818,25 +1516,25 @@ var __extends$12 = (undefined && undefined.__extends) || (function () {
|
|
|
1818
1516
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1819
1517
|
};
|
|
1820
1518
|
})();
|
|
1821
|
-
var __decorate$
|
|
1519
|
+
var __decorate$10 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1822
1520
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1823
1521
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1824
1522
|
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;
|
|
1825
1523
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1826
1524
|
};
|
|
1827
1525
|
// {{VueImport}}
|
|
1828
|
-
var properties$
|
|
1829
|
-
var modelProps$
|
|
1830
|
-
var testProp$
|
|
1831
|
-
var props$
|
|
1832
|
-
var watch$
|
|
1833
|
-
var emitProbs$
|
|
1834
|
-
emitProbs$
|
|
1835
|
-
for (var _i$
|
|
1836
|
-
var props_1$
|
|
1837
|
-
emitProbs$
|
|
1526
|
+
var 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'];
|
|
1527
|
+
var modelProps$6 = ['isOpen'];
|
|
1528
|
+
var testProp$6 = getProps({ props: properties$6 });
|
|
1529
|
+
var props$6 = testProp$6[0];
|
|
1530
|
+
var watch$6 = testProp$6[1];
|
|
1531
|
+
var emitProbs$6 = Object.keys(watch$6);
|
|
1532
|
+
emitProbs$6.push('modelchanged');
|
|
1533
|
+
for (var _i$6 = 0, modelProps_1$6 = modelProps$6; _i$6 < modelProps_1$6.length; _i$6++) {
|
|
1534
|
+
var props_1$6 = modelProps_1$6[_i$6];
|
|
1535
|
+
emitProbs$6.push('update:' + props_1$6);
|
|
1838
1536
|
}
|
|
1839
|
-
var isExecute$
|
|
1537
|
+
var isExecute$10 = gh ? false : true;
|
|
1840
1538
|
/**
|
|
1841
1539
|
* Represents the Essential JS 2 VueJS Sidebar Component.
|
|
1842
1540
|
* ```html
|
|
@@ -1844,16 +1542,16 @@ var isExecute$12 = gh ? false : true;
|
|
|
1844
1542
|
* ```
|
|
1845
1543
|
*/
|
|
1846
1544
|
var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
1847
|
-
__extends$
|
|
1545
|
+
__extends$10(SidebarComponent, _super);
|
|
1848
1546
|
function SidebarComponent() {
|
|
1849
1547
|
var _this = _super.call(this, arguments) || this;
|
|
1850
|
-
_this.propKeys = properties$
|
|
1851
|
-
_this.models = modelProps$
|
|
1548
|
+
_this.propKeys = properties$6;
|
|
1549
|
+
_this.models = modelProps$6;
|
|
1852
1550
|
_this.hasChildDirective = false;
|
|
1853
1551
|
_this.hasInjectedModules = false;
|
|
1854
1552
|
_this.tagMapper = {};
|
|
1855
1553
|
_this.tagNameMapper = {};
|
|
1856
|
-
_this.isVue3 = !isExecute$
|
|
1554
|
+
_this.isVue3 = !isExecute$10;
|
|
1857
1555
|
_this.ej2Instances = new Sidebar({});
|
|
1858
1556
|
_this.ej2Instances._trigger = _this.ej2Instances.trigger;
|
|
1859
1557
|
_this.ej2Instances.trigger = _this.trigger;
|
|
@@ -1913,14 +1611,14 @@ var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1913
1611
|
}
|
|
1914
1612
|
};
|
|
1915
1613
|
SidebarComponent.prototype.trigger = function (eventName, eventProp, successHandler) {
|
|
1916
|
-
if (!isExecute$
|
|
1614
|
+
if (!isExecute$10) {
|
|
1917
1615
|
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1918
1616
|
}
|
|
1919
1617
|
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1920
1618
|
var key = this.models.toString().match(/checked|value/) || [];
|
|
1921
1619
|
var propKey = key[0];
|
|
1922
1620
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1923
|
-
if (!isExecute$
|
|
1621
|
+
if (!isExecute$10) {
|
|
1924
1622
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1925
1623
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1926
1624
|
}
|
|
@@ -1936,7 +1634,7 @@ var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1936
1634
|
var key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1937
1635
|
var propKey = key[0];
|
|
1938
1636
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1939
|
-
if (!isExecute$
|
|
1637
|
+
if (!isExecute$10) {
|
|
1940
1638
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1941
1639
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1942
1640
|
}
|
|
@@ -1970,13 +1668,13 @@ var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1970
1668
|
SidebarComponent.prototype.toggle = function () {
|
|
1971
1669
|
return this.ej2Instances.toggle();
|
|
1972
1670
|
};
|
|
1973
|
-
SidebarComponent = __decorate$
|
|
1671
|
+
SidebarComponent = __decorate$10([
|
|
1974
1672
|
EJComponentDecorator({
|
|
1975
|
-
props: properties$
|
|
1673
|
+
props: properties$6,
|
|
1976
1674
|
model: {
|
|
1977
1675
|
event: 'modelchanged'
|
|
1978
1676
|
}
|
|
1979
|
-
}, isExecute$
|
|
1677
|
+
}, isExecute$10)
|
|
1980
1678
|
,Options({
|
|
1981
1679
|
props: props,
|
|
1982
1680
|
watch: watch,
|
|
@@ -1997,7 +1695,7 @@ var SidebarPlugin = {
|
|
|
1997
1695
|
}
|
|
1998
1696
|
};
|
|
1999
1697
|
|
|
2000
|
-
var __extends$
|
|
1698
|
+
var __extends$11 = (undefined && undefined.__extends) || (function () {
|
|
2001
1699
|
var extendStatics = function (d, b) {
|
|
2002
1700
|
extendStatics = Object.setPrototypeOf ||
|
|
2003
1701
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -2010,23 +1708,23 @@ var __extends$13 = (undefined && undefined.__extends) || (function () {
|
|
|
2010
1708
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2011
1709
|
};
|
|
2012
1710
|
})();
|
|
2013
|
-
var __decorate$
|
|
1711
|
+
var __decorate$11 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2014
1712
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2015
1713
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2016
1714
|
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;
|
|
2017
1715
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2018
1716
|
};
|
|
2019
1717
|
// {{VueImport}}
|
|
2020
|
-
var isExecute$
|
|
2021
|
-
var vueImport$
|
|
2022
|
-
if (!isExecute$
|
|
2023
|
-
vueImport$
|
|
1718
|
+
var isExecute$11 = gh ? false : true;
|
|
1719
|
+
var vueImport$4;
|
|
1720
|
+
if (!isExecute$11 || parseInt(allVue.version) < 3) {
|
|
1721
|
+
vueImport$4 = Vue;
|
|
2024
1722
|
}
|
|
2025
1723
|
else {
|
|
2026
|
-
vueImport$
|
|
1724
|
+
vueImport$4 = Vue$1;
|
|
2027
1725
|
}
|
|
2028
1726
|
var MenuItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
2029
|
-
__extends$
|
|
1727
|
+
__extends$11(MenuItemsDirective, _super);
|
|
2030
1728
|
function MenuItemsDirective() {
|
|
2031
1729
|
return _super.call(this, arguments) || this;
|
|
2032
1730
|
}
|
|
@@ -2049,8 +1747,8 @@ var MenuItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
2049
1747
|
MenuItemsDirective.prototype.getTag = function () {
|
|
2050
1748
|
return 'e-menu-items';
|
|
2051
1749
|
};
|
|
2052
|
-
MenuItemsDirective = __decorate$
|
|
2053
|
-
EJComponentDecorator({}, isExecute$
|
|
1750
|
+
MenuItemsDirective = __decorate$11([
|
|
1751
|
+
EJComponentDecorator({}, isExecute$11)
|
|
2054
1752
|
,Options({
|
|
2055
1753
|
inject: {
|
|
2056
1754
|
custom: {
|
|
@@ -2060,7 +1758,7 @@ var MenuItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
2060
1758
|
})
|
|
2061
1759
|
], MenuItemsDirective);
|
|
2062
1760
|
return MenuItemsDirective;
|
|
2063
|
-
}(vueImport$
|
|
1761
|
+
}(vueImport$4));
|
|
2064
1762
|
var MenuItemsPlugin = {
|
|
2065
1763
|
name: 'e-menu-items',
|
|
2066
1764
|
install: function (Vue$$1) {
|
|
@@ -2068,7 +1766,7 @@ var MenuItemsPlugin = {
|
|
|
2068
1766
|
}
|
|
2069
1767
|
};
|
|
2070
1768
|
var MenuItemDirective = /** @__PURE__ @class */ (function (_super) {
|
|
2071
|
-
__extends$
|
|
1769
|
+
__extends$11(MenuItemDirective, _super);
|
|
2072
1770
|
function MenuItemDirective() {
|
|
2073
1771
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
2074
1772
|
}
|
|
@@ -2078,11 +1776,11 @@ var MenuItemDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
2078
1776
|
MenuItemDirective.prototype.getTag = function () {
|
|
2079
1777
|
return 'e-';
|
|
2080
1778
|
};
|
|
2081
|
-
MenuItemDirective = __decorate$
|
|
2082
|
-
EJComponentDecorator({}, isExecute$
|
|
1779
|
+
MenuItemDirective = __decorate$11([
|
|
1780
|
+
EJComponentDecorator({}, isExecute$11)
|
|
2083
1781
|
], MenuItemDirective);
|
|
2084
1782
|
return MenuItemDirective;
|
|
2085
|
-
}(vueImport$
|
|
1783
|
+
}(vueImport$4));
|
|
2086
1784
|
var MenuItemPlugin = {
|
|
2087
1785
|
name: 'e-',
|
|
2088
1786
|
install: function (Vue$$1) {
|
|
@@ -2090,7 +1788,7 @@ var MenuItemPlugin = {
|
|
|
2090
1788
|
}
|
|
2091
1789
|
};
|
|
2092
1790
|
|
|
2093
|
-
var __extends$
|
|
1791
|
+
var __extends$12 = (undefined && undefined.__extends) || (function () {
|
|
2094
1792
|
var extendStatics = function (d, b) {
|
|
2095
1793
|
extendStatics = Object.setPrototypeOf ||
|
|
2096
1794
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -2103,25 +1801,25 @@ var __extends$14 = (undefined && undefined.__extends) || (function () {
|
|
|
2103
1801
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2104
1802
|
};
|
|
2105
1803
|
})();
|
|
2106
|
-
var __decorate$
|
|
1804
|
+
var __decorate$12 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2107
1805
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2108
1806
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2109
1807
|
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;
|
|
2110
1808
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2111
1809
|
};
|
|
2112
1810
|
// {{VueImport}}
|
|
2113
|
-
var properties$
|
|
2114
|
-
var modelProps$
|
|
2115
|
-
var testProp$
|
|
2116
|
-
var props$
|
|
2117
|
-
var watch$
|
|
2118
|
-
var emitProbs$
|
|
2119
|
-
emitProbs$
|
|
2120
|
-
for (var _i$
|
|
2121
|
-
var props_1$
|
|
2122
|
-
emitProbs$
|
|
1811
|
+
var 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'];
|
|
1812
|
+
var modelProps$7 = [];
|
|
1813
|
+
var testProp$7 = getProps({ props: properties$7 });
|
|
1814
|
+
var props$7 = testProp$7[0];
|
|
1815
|
+
var watch$7 = testProp$7[1];
|
|
1816
|
+
var emitProbs$7 = Object.keys(watch$7);
|
|
1817
|
+
emitProbs$7.push('modelchanged');
|
|
1818
|
+
for (var _i$7 = 0, modelProps_1$7 = modelProps$7; _i$7 < modelProps_1$7.length; _i$7++) {
|
|
1819
|
+
var props_1$7 = modelProps_1$7[_i$7];
|
|
1820
|
+
emitProbs$7.push('update:' + props_1$7);
|
|
2123
1821
|
}
|
|
2124
|
-
var isExecute$
|
|
1822
|
+
var isExecute$12 = gh ? false : true;
|
|
2125
1823
|
/**
|
|
2126
1824
|
* Represents the Essential JS 2 VueJS Menu Component.
|
|
2127
1825
|
* ```html
|
|
@@ -2129,16 +1827,16 @@ var isExecute$14 = gh ? false : true;
|
|
|
2129
1827
|
* ```
|
|
2130
1828
|
*/
|
|
2131
1829
|
var MenuComponent = /** @__PURE__ @class */ (function (_super) {
|
|
2132
|
-
__extends$
|
|
1830
|
+
__extends$12(MenuComponent, _super);
|
|
2133
1831
|
function MenuComponent() {
|
|
2134
1832
|
var _this = _super.call(this, arguments) || this;
|
|
2135
|
-
_this.propKeys = properties$
|
|
2136
|
-
_this.models = modelProps$
|
|
1833
|
+
_this.propKeys = properties$7;
|
|
1834
|
+
_this.models = modelProps$7;
|
|
2137
1835
|
_this.hasChildDirective = true;
|
|
2138
1836
|
_this.hasInjectedModules = false;
|
|
2139
1837
|
_this.tagMapper = { "e-menu-items": "e-" };
|
|
2140
1838
|
_this.tagNameMapper = { "e-menu-items": "e-items" };
|
|
2141
|
-
_this.isVue3 = !isExecute$
|
|
1839
|
+
_this.isVue3 = !isExecute$12;
|
|
2142
1840
|
_this.ej2Instances = new Menu({});
|
|
2143
1841
|
_this.bindProperties();
|
|
2144
1842
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
@@ -2236,10 +1934,10 @@ var MenuComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
2236
1934
|
MenuComponent.prototype.showItems = function (items, isUniqueId) {
|
|
2237
1935
|
return this.ej2Instances.showItems(items, isUniqueId);
|
|
2238
1936
|
};
|
|
2239
|
-
MenuComponent = __decorate$
|
|
1937
|
+
MenuComponent = __decorate$12([
|
|
2240
1938
|
EJComponentDecorator({
|
|
2241
|
-
props: properties$
|
|
2242
|
-
}, isExecute$
|
|
1939
|
+
props: properties$7
|
|
1940
|
+
}, isExecute$12)
|
|
2243
1941
|
,Options({
|
|
2244
1942
|
props: props,
|
|
2245
1943
|
watch: watch,
|
|
@@ -2262,6 +1960,6 @@ var MenuPlugin = {
|
|
|
2262
1960
|
}
|
|
2263
1961
|
};
|
|
2264
1962
|
|
|
2265
|
-
export { AccordionItemsDirective, AccordionItemDirective, AccordionItemsPlugin, AccordionItemPlugin, AccordionComponent, AccordionPlugin, ItemsDirective, ItemDirective, ItemsPlugin, ItemPlugin, ToolbarComponent, ToolbarPlugin, ContextMenuComponent, ContextMenuPlugin, BreadcrumbItemsDirective, BreadcrumbItemDirective, BreadcrumbItemsPlugin, BreadcrumbItemPlugin, BreadcrumbComponent, BreadcrumbPlugin,
|
|
1963
|
+
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 };
|
|
2266
1964
|
export * from '@syncfusion/ej2-navigations';
|
|
2267
1965
|
//# sourceMappingURL=ej2-vue-navigations.es5.js.map
|