@syncfusion/ej2-vue-navigations 19.4.56 → 20.1.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -3
- package/README.md +17 -2
- package/carousel.d.ts +4 -0
- package/carousel.js +4 -0
- package/dist/ej2-vue-navigations.umd.min.js +20 -2
- package/dist/ej2-vue-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-navigations.es2015.js +373 -92
- package/dist/es6/ej2-vue-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-navigations.es5.js +411 -109
- package/dist/es6/ej2-vue-navigations.es5.js.map +1 -1
- package/dist/global/ej2-vue-navigations.min.js +2 -2
- package/package.json +11 -9
- package/src/accordion/accordion.component.d.ts +1 -1
- package/src/accordion/accordion.component.js +1 -1
- package/src/carousel/carousel.component.d.ts +43 -0
- package/src/carousel/carousel.component.js +202 -0
- package/src/carousel/index.d.ts +2 -0
- package/src/carousel/index.js +2 -0
- package/src/carousel/items.directive.d.ts +33 -0
- package/src/carousel/items.directive.js +110 -0
- package/src/index.d.ts +2 -0
- package/src/index.js +2 -0
- package/styles/accordion/bootstrap-dark.css +48 -63
- package/styles/accordion/bootstrap.css +48 -63
- package/styles/accordion/bootstrap4.css +48 -63
- package/styles/accordion/bootstrap5-dark.css +51 -66
- package/styles/accordion/bootstrap5.css +51 -66
- package/styles/accordion/fabric-dark.css +50 -65
- package/styles/accordion/fabric.css +50 -65
- package/styles/accordion/fluent-dark.css +395 -0
- package/styles/accordion/fluent-dark.scss +1 -0
- package/styles/accordion/fluent.css +395 -0
- package/styles/accordion/fluent.scss +1 -0
- package/styles/accordion/highcontrast-light.css +49 -64
- package/styles/accordion/highcontrast.css +49 -64
- package/styles/accordion/material-dark.css +49 -64
- package/styles/accordion/material.css +49 -64
- package/styles/accordion/tailwind-dark.css +52 -67
- package/styles/accordion/tailwind.css +52 -67
- package/styles/bootstrap-dark.css +310 -69
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.css +310 -69
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.css +310 -69
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.css +415 -171
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.css +415 -171
- package/styles/bootstrap5.scss +1 -0
- package/styles/breadcrumb/bootstrap-dark.css +10 -2
- package/styles/breadcrumb/bootstrap.css +10 -2
- package/styles/breadcrumb/bootstrap4.css +10 -2
- package/styles/breadcrumb/bootstrap5-dark.css +12 -4
- package/styles/breadcrumb/bootstrap5.css +12 -4
- package/styles/breadcrumb/fabric-dark.css +10 -4
- package/styles/breadcrumb/fabric.css +10 -4
- package/styles/breadcrumb/fluent-dark.css +444 -0
- package/styles/breadcrumb/fluent-dark.scss +1 -0
- package/styles/breadcrumb/fluent.css +444 -0
- package/styles/breadcrumb/fluent.scss +1 -0
- package/styles/breadcrumb/highcontrast-light.css +10 -4
- package/styles/breadcrumb/highcontrast.css +10 -4
- package/styles/breadcrumb/material-dark.css +10 -2
- package/styles/breadcrumb/material.css +10 -2
- package/styles/breadcrumb/tailwind-dark.css +21 -4
- package/styles/breadcrumb/tailwind.css +27 -10
- package/styles/carousel/bootstrap-dark.css +236 -0
- package/styles/carousel/bootstrap-dark.scss +1 -0
- package/styles/carousel/bootstrap.css +236 -0
- package/styles/carousel/bootstrap.scss +1 -0
- package/styles/carousel/bootstrap4.css +236 -0
- package/styles/carousel/bootstrap4.scss +1 -0
- package/styles/carousel/bootstrap5-dark.css +236 -0
- package/styles/carousel/bootstrap5-dark.scss +1 -0
- package/styles/carousel/bootstrap5.css +236 -0
- package/styles/carousel/bootstrap5.scss +1 -0
- package/styles/carousel/fabric-dark.css +236 -0
- package/styles/carousel/fabric-dark.scss +1 -0
- package/styles/carousel/fabric.css +236 -0
- package/styles/carousel/fabric.scss +1 -0
- package/styles/carousel/fluent-dark.css +236 -0
- package/styles/carousel/fluent-dark.scss +1 -0
- package/styles/carousel/fluent.css +236 -0
- package/styles/carousel/fluent.scss +1 -0
- package/styles/carousel/highcontrast-light.css +236 -0
- package/styles/carousel/highcontrast-light.scss +1 -0
- package/styles/carousel/highcontrast.css +236 -0
- package/styles/carousel/highcontrast.scss +1 -0
- package/styles/carousel/material-dark.css +237 -0
- package/styles/carousel/material-dark.scss +1 -0
- package/styles/carousel/material.css +237 -0
- package/styles/carousel/material.scss +1 -0
- package/styles/carousel/tailwind-dark.css +237 -0
- package/styles/carousel/tailwind-dark.scss +1 -0
- package/styles/carousel/tailwind.css +237 -0
- package/styles/carousel/tailwind.scss +1 -0
- package/styles/context-menu/bootstrap-dark.css +5 -0
- package/styles/context-menu/bootstrap.css +5 -0
- package/styles/context-menu/bootstrap4.css +5 -0
- package/styles/context-menu/bootstrap5-dark.css +16 -8
- package/styles/context-menu/bootstrap5.css +16 -8
- package/styles/context-menu/fabric-dark.css +5 -0
- package/styles/context-menu/fabric.css +5 -0
- package/styles/context-menu/fluent-dark.css +388 -0
- package/styles/context-menu/fluent-dark.scss +1 -0
- package/styles/context-menu/fluent.css +388 -0
- package/styles/context-menu/fluent.scss +1 -0
- package/styles/context-menu/highcontrast-light.css +5 -0
- package/styles/context-menu/highcontrast.css +5 -0
- package/styles/context-menu/material-dark.css +5 -0
- package/styles/context-menu/material.css +5 -0
- package/styles/context-menu/tailwind-dark.css +11 -4
- package/styles/context-menu/tailwind.css +11 -4
- package/styles/fabric-dark.css +312 -73
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.css +312 -73
- package/styles/fabric.scss +1 -0
- package/styles/fluent-dark.css +10263 -0
- package/styles/fluent-dark.scss +11 -0
- package/styles/fluent.css +10263 -0
- package/styles/fluent.scss +11 -0
- package/styles/h-scroll/bootstrap-dark.css +0 -1
- package/styles/h-scroll/bootstrap.css +0 -1
- package/styles/h-scroll/bootstrap4.css +0 -1
- package/styles/h-scroll/bootstrap5-dark.css +10 -11
- package/styles/h-scroll/bootstrap5.css +10 -11
- package/styles/h-scroll/fabric-dark.css +0 -1
- package/styles/h-scroll/fabric.css +0 -1
- package/styles/h-scroll/fluent-dark.css +326 -0
- package/styles/h-scroll/fluent-dark.scss +1 -0
- package/styles/h-scroll/fluent.css +326 -0
- package/styles/h-scroll/fluent.scss +1 -0
- package/styles/h-scroll/highcontrast-light.css +0 -1
- package/styles/h-scroll/highcontrast.css +0 -1
- package/styles/h-scroll/material-dark.css +3 -4
- package/styles/h-scroll/material.css +0 -1
- package/styles/h-scroll/tailwind-dark.css +8 -9
- package/styles/h-scroll/tailwind.css +8 -9
- package/styles/highcontrast-light.css +311 -72
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.css +312 -73
- package/styles/highcontrast.scss +1 -0
- package/styles/material-dark.css +314 -73
- package/styles/material-dark.scss +1 -0
- package/styles/material.css +311 -70
- package/styles/material.scss +1 -0
- package/styles/menu/bootstrap-dark.css +1 -2
- package/styles/menu/bootstrap.css +1 -2
- package/styles/menu/bootstrap4.css +1 -2
- package/styles/menu/bootstrap5-dark.css +23 -24
- package/styles/menu/bootstrap5.css +23 -24
- package/styles/menu/fabric-dark.css +1 -2
- package/styles/menu/fabric.css +1 -2
- package/styles/menu/fluent-dark.css +1261 -0
- package/styles/menu/fluent-dark.scss +1 -0
- package/styles/menu/fluent.css +1261 -0
- package/styles/menu/fluent.scss +1 -0
- package/styles/menu/highcontrast-light.css +1 -2
- package/styles/menu/highcontrast.css +1 -2
- package/styles/menu/material-dark.css +1 -2
- package/styles/menu/material.css +1 -2
- package/styles/menu/tailwind-dark.css +18 -18
- package/styles/menu/tailwind.css +18 -18
- package/styles/sidebar/bootstrap-dark.css +4 -0
- package/styles/sidebar/bootstrap.css +4 -0
- package/styles/sidebar/bootstrap4.css +4 -0
- package/styles/sidebar/bootstrap5-dark.css +4 -0
- package/styles/sidebar/bootstrap5.css +4 -0
- package/styles/sidebar/fabric-dark.css +4 -0
- package/styles/sidebar/fabric.css +4 -0
- package/styles/sidebar/fluent-dark.css +158 -0
- package/styles/sidebar/fluent-dark.scss +1 -0
- package/styles/sidebar/fluent.css +158 -0
- package/styles/sidebar/fluent.scss +1 -0
- package/styles/sidebar/highcontrast-light.css +4 -0
- package/styles/sidebar/highcontrast.css +4 -0
- package/styles/sidebar/material-dark.css +4 -0
- package/styles/sidebar/material.css +4 -0
- package/styles/sidebar/tailwind-dark.css +4 -0
- package/styles/sidebar/tailwind.css +4 -0
- package/styles/tab/bootstrap-dark.css +1 -1
- package/styles/tab/bootstrap.css +1 -1
- package/styles/tab/bootstrap4.css +1 -1
- package/styles/tab/bootstrap5-dark.css +23 -23
- package/styles/tab/bootstrap5.css +23 -23
- package/styles/tab/fabric-dark.css +1 -1
- package/styles/tab/fabric.css +1 -1
- package/styles/tab/fluent-dark.css +4394 -0
- package/styles/tab/fluent-dark.scss +1 -0
- package/styles/tab/fluent.css +4394 -0
- package/styles/tab/fluent.scss +1 -0
- package/styles/tab/highcontrast-light.css +1 -1
- package/styles/tab/highcontrast.css +2 -2
- package/styles/tab/material-dark.css +1 -1
- package/styles/tab/material.css +1 -1
- package/styles/tab/tailwind-dark.css +43 -45
- package/styles/tab/tailwind.css +43 -45
- package/styles/tailwind-dark.css +422 -171
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.css +428 -177
- package/styles/tailwind.scss +1 -0
- package/styles/toolbar/bootstrap-dark.css +4 -0
- package/styles/toolbar/bootstrap.css +4 -0
- package/styles/toolbar/bootstrap4.css +4 -0
- package/styles/toolbar/bootstrap5-dark.css +35 -31
- package/styles/toolbar/bootstrap5.css +35 -31
- package/styles/toolbar/fabric-dark.css +4 -0
- package/styles/toolbar/fabric.css +4 -0
- package/styles/toolbar/fluent-dark.css +1365 -0
- package/styles/toolbar/fluent-dark.scss +1 -0
- package/styles/toolbar/fluent.css +1365 -0
- package/styles/toolbar/fluent.scss +1 -0
- package/styles/toolbar/highcontrast-light.css +4 -0
- package/styles/toolbar/highcontrast.css +4 -0
- package/styles/toolbar/material-dark.css +4 -0
- package/styles/toolbar/material.css +4 -0
- package/styles/toolbar/tailwind-dark.css +10 -6
- package/styles/toolbar/tailwind.css +10 -6
- package/styles/treeview/bootstrap5-dark.css +4 -4
- package/styles/treeview/bootstrap5.css +4 -4
- package/styles/treeview/fluent-dark.css +1039 -0
- package/styles/treeview/fluent-dark.scss +1 -0
- package/styles/treeview/fluent.css +1039 -0
- package/styles/treeview/fluent.scss +1 -0
- package/styles/treeview/tailwind-dark.css +13 -14
- package/styles/treeview/tailwind.css +13 -14
- package/styles/v-scroll/fluent-dark.css +247 -0
- package/styles/v-scroll/fluent-dark.scss +1 -0
- package/styles/v-scroll/fluent.css +247 -0
- package/styles/v-scroll/fluent.scss +1 -0
- package/styles/v-scroll/tailwind-dark.css +4 -4
- package/styles/v-scroll/tailwind.css +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Accordion, Breadcrumb, ContextMenu, Menu, Sidebar, Tab, Toolbar, TreeView } from '@syncfusion/ej2-navigations';
|
|
1
|
+
import { Accordion, Breadcrumb, Carousel, ContextMenu, Menu, Sidebar, Tab, Toolbar, TreeView } from '@syncfusion/ej2-navigations';
|
|
2
2
|
import { ComponentBase, EJComponentDecorator, allVue, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
3
3
|
import { Vue } from 'vue-class-component';
|
|
4
4
|
import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
|
|
@@ -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 Accordion Component.
|
|
146
146
|
* ```html
|
|
147
147
|
* <ejs-accordion></ejs-accordion>
|
|
148
148
|
* ```
|
|
@@ -1066,8 +1066,310 @@ 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
|
+
}
|
|
1069
1371
|
var TabItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
1070
|
-
__extends$
|
|
1372
|
+
__extends$9(TabItemsDirective, _super);
|
|
1071
1373
|
function TabItemsDirective() {
|
|
1072
1374
|
return _super.call(this, arguments) || this;
|
|
1073
1375
|
}
|
|
@@ -1090,8 +1392,8 @@ var TabItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
1090
1392
|
TabItemsDirective.prototype.getTag = function () {
|
|
1091
1393
|
return 'e-tabitems';
|
|
1092
1394
|
};
|
|
1093
|
-
TabItemsDirective = __decorate$
|
|
1094
|
-
EJComponentDecorator({}, isExecute$
|
|
1395
|
+
TabItemsDirective = __decorate$9([
|
|
1396
|
+
EJComponentDecorator({}, isExecute$9)
|
|
1095
1397
|
,Options({
|
|
1096
1398
|
inject: {
|
|
1097
1399
|
custom: {
|
|
@@ -1101,7 +1403,7 @@ var TabItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
1101
1403
|
})
|
|
1102
1404
|
], TabItemsDirective);
|
|
1103
1405
|
return TabItemsDirective;
|
|
1104
|
-
}(vueImport$
|
|
1406
|
+
}(vueImport$4));
|
|
1105
1407
|
var TabItemsPlugin = {
|
|
1106
1408
|
name: 'e-tabitems',
|
|
1107
1409
|
install: function (Vue$$1) {
|
|
@@ -1121,7 +1423,7 @@ var TabItemsPlugin = {
|
|
|
1121
1423
|
* ```
|
|
1122
1424
|
*/
|
|
1123
1425
|
var TabItemDirective = /** @__PURE__ @class */ (function (_super) {
|
|
1124
|
-
__extends$
|
|
1426
|
+
__extends$9(TabItemDirective, _super);
|
|
1125
1427
|
function TabItemDirective() {
|
|
1126
1428
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1127
1429
|
}
|
|
@@ -1131,11 +1433,11 @@ var TabItemDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
1131
1433
|
TabItemDirective.prototype.getTag = function () {
|
|
1132
1434
|
return 'e-tabitem';
|
|
1133
1435
|
};
|
|
1134
|
-
TabItemDirective = __decorate$
|
|
1135
|
-
EJComponentDecorator({}, isExecute$
|
|
1436
|
+
TabItemDirective = __decorate$9([
|
|
1437
|
+
EJComponentDecorator({}, isExecute$9)
|
|
1136
1438
|
], TabItemDirective);
|
|
1137
1439
|
return TabItemDirective;
|
|
1138
|
-
}(vueImport$
|
|
1440
|
+
}(vueImport$4));
|
|
1139
1441
|
var TabItemPlugin = {
|
|
1140
1442
|
name: 'e-tabitem',
|
|
1141
1443
|
install: function (Vue$$1) {
|
|
@@ -1143,7 +1445,7 @@ var TabItemPlugin = {
|
|
|
1143
1445
|
}
|
|
1144
1446
|
};
|
|
1145
1447
|
|
|
1146
|
-
var __extends$
|
|
1448
|
+
var __extends$10 = (undefined && undefined.__extends) || (function () {
|
|
1147
1449
|
var extendStatics = function (d, b) {
|
|
1148
1450
|
extendStatics = Object.setPrototypeOf ||
|
|
1149
1451
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1156,25 +1458,25 @@ var __extends$8 = (undefined && undefined.__extends) || (function () {
|
|
|
1156
1458
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1157
1459
|
};
|
|
1158
1460
|
})();
|
|
1159
|
-
var __decorate$
|
|
1461
|
+
var __decorate$10 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1160
1462
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1161
1463
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1162
1464
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1163
1465
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1164
1466
|
};
|
|
1165
1467
|
// {{VueImport}}
|
|
1166
|
-
var properties$
|
|
1167
|
-
var modelProps$
|
|
1168
|
-
var testProp$
|
|
1169
|
-
var props$
|
|
1170
|
-
var watch$
|
|
1171
|
-
var emitProbs$
|
|
1172
|
-
emitProbs$
|
|
1173
|
-
for (var _i$
|
|
1174
|
-
var props_1$
|
|
1175
|
-
emitProbs$
|
|
1468
|
+
var properties$5 = ['isLazyUpdate', 'allowDragAndDrop', 'animation', 'cssClass', 'dragArea', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'headerPlacement', 'height', 'heightAdjustMode', 'items', 'loadOn', 'locale', 'overflowMode', 'reorderActiveTab', 'scrollStep', 'selectedItem', 'showCloseButton', 'width', 'added', 'adding', 'created', 'destroyed', 'dragged', 'dragging', 'onDragStart', 'removed', 'removing', 'selected', 'selecting'];
|
|
1469
|
+
var modelProps$5 = [];
|
|
1470
|
+
var testProp$5 = getProps({ props: properties$5 });
|
|
1471
|
+
var props$5 = testProp$5[0];
|
|
1472
|
+
var watch$5 = testProp$5[1];
|
|
1473
|
+
var emitProbs$5 = Object.keys(watch$5);
|
|
1474
|
+
emitProbs$5.push('modelchanged');
|
|
1475
|
+
for (var _i$5 = 0, modelProps_1$5 = modelProps$5; _i$5 < modelProps_1$5.length; _i$5++) {
|
|
1476
|
+
var props_1$5 = modelProps_1$5[_i$5];
|
|
1477
|
+
emitProbs$5.push('update:' + props_1$5);
|
|
1176
1478
|
}
|
|
1177
|
-
var isExecute$
|
|
1479
|
+
var isExecute$10 = gh ? false : true;
|
|
1178
1480
|
/**
|
|
1179
1481
|
* Represents the VueJS Tab Component.
|
|
1180
1482
|
* ```html
|
|
@@ -1182,16 +1484,16 @@ var isExecute$8 = gh ? false : true;
|
|
|
1182
1484
|
* ```
|
|
1183
1485
|
*/
|
|
1184
1486
|
var TabComponent = /** @__PURE__ @class */ (function (_super) {
|
|
1185
|
-
__extends$
|
|
1487
|
+
__extends$10(TabComponent, _super);
|
|
1186
1488
|
function TabComponent() {
|
|
1187
1489
|
var _this = _super.call(this, arguments) || this;
|
|
1188
|
-
_this.propKeys = properties$
|
|
1189
|
-
_this.models = modelProps$
|
|
1490
|
+
_this.propKeys = properties$5;
|
|
1491
|
+
_this.models = modelProps$5;
|
|
1190
1492
|
_this.hasChildDirective = true;
|
|
1191
1493
|
_this.hasInjectedModules = false;
|
|
1192
1494
|
_this.tagMapper = { "e-tabitems": "e-tabitem" };
|
|
1193
1495
|
_this.tagNameMapper = { "e-tabitems": "e-items" };
|
|
1194
|
-
_this.isVue3 = !isExecute$
|
|
1496
|
+
_this.isVue3 = !isExecute$10;
|
|
1195
1497
|
_this.ej2Instances = new Tab({});
|
|
1196
1498
|
_this.bindProperties();
|
|
1197
1499
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
@@ -1286,10 +1588,10 @@ var TabComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1286
1588
|
TabComponent.prototype.select = function (args, event) {
|
|
1287
1589
|
return this.ej2Instances.select(args, event);
|
|
1288
1590
|
};
|
|
1289
|
-
TabComponent = __decorate$
|
|
1591
|
+
TabComponent = __decorate$10([
|
|
1290
1592
|
EJComponentDecorator({
|
|
1291
|
-
props: properties$
|
|
1292
|
-
}, isExecute$
|
|
1593
|
+
props: properties$5
|
|
1594
|
+
}, isExecute$10)
|
|
1293
1595
|
,Options({
|
|
1294
1596
|
props: props,
|
|
1295
1597
|
watch: watch,
|
|
@@ -1312,7 +1614,7 @@ var TabPlugin = {
|
|
|
1312
1614
|
}
|
|
1313
1615
|
};
|
|
1314
1616
|
|
|
1315
|
-
var __extends$
|
|
1617
|
+
var __extends$11 = (undefined && undefined.__extends) || (function () {
|
|
1316
1618
|
var extendStatics = function (d, b) {
|
|
1317
1619
|
extendStatics = Object.setPrototypeOf ||
|
|
1318
1620
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1325,25 +1627,25 @@ var __extends$9 = (undefined && undefined.__extends) || (function () {
|
|
|
1325
1627
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1326
1628
|
};
|
|
1327
1629
|
})();
|
|
1328
|
-
var __decorate$
|
|
1630
|
+
var __decorate$11 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1329
1631
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1330
1632
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1331
1633
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1332
1634
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1333
1635
|
};
|
|
1334
1636
|
// {{VueImport}}
|
|
1335
|
-
var properties$
|
|
1336
|
-
var modelProps$
|
|
1337
|
-
var testProp$
|
|
1338
|
-
var props$
|
|
1339
|
-
var watch$
|
|
1340
|
-
var emitProbs$
|
|
1341
|
-
emitProbs$
|
|
1342
|
-
for (var _i$
|
|
1343
|
-
var props_1$
|
|
1344
|
-
emitProbs$
|
|
1637
|
+
var properties$6 = ['isLazyUpdate', 'allowDragAndDrop', 'allowEditing', 'allowMultiSelection', 'allowTextWrap', 'animation', 'autoCheck', 'checkedNodes', 'cssClass', 'disabled', 'dragArea', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'expandOn', 'expandedNodes', 'fields', 'fullRowNavigable', 'fullRowSelect', 'loadOnDemand', 'locale', 'nodeTemplate', 'selectedNodes', 'showCheckBox', 'sortOrder', 'actionFailure', 'created', 'dataBound', 'dataSourceChanged', 'destroyed', 'drawNode', 'keyPress', 'nodeChecked', 'nodeChecking', 'nodeClicked', 'nodeCollapsed', 'nodeCollapsing', 'nodeDragStart', 'nodeDragStop', 'nodeDragging', 'nodeDropped', 'nodeEdited', 'nodeEditing', 'nodeExpanded', 'nodeExpanding', 'nodeSelected', 'nodeSelecting'];
|
|
1638
|
+
var modelProps$6 = [];
|
|
1639
|
+
var testProp$6 = getProps({ props: properties$6 });
|
|
1640
|
+
var props$6 = testProp$6[0];
|
|
1641
|
+
var watch$6 = testProp$6[1];
|
|
1642
|
+
var emitProbs$6 = Object.keys(watch$6);
|
|
1643
|
+
emitProbs$6.push('modelchanged');
|
|
1644
|
+
for (var _i$6 = 0, modelProps_1$6 = modelProps$6; _i$6 < modelProps_1$6.length; _i$6++) {
|
|
1645
|
+
var props_1$6 = modelProps_1$6[_i$6];
|
|
1646
|
+
emitProbs$6.push('update:' + props_1$6);
|
|
1345
1647
|
}
|
|
1346
|
-
var isExecute$
|
|
1648
|
+
var isExecute$11 = gh ? false : true;
|
|
1347
1649
|
/**
|
|
1348
1650
|
* Represents the EJ2 VueJS TreeView Component.
|
|
1349
1651
|
* ```html
|
|
@@ -1351,16 +1653,16 @@ var isExecute$9 = gh ? false : true;
|
|
|
1351
1653
|
* ```
|
|
1352
1654
|
*/
|
|
1353
1655
|
var TreeViewComponent = /** @__PURE__ @class */ (function (_super) {
|
|
1354
|
-
__extends$
|
|
1656
|
+
__extends$11(TreeViewComponent, _super);
|
|
1355
1657
|
function TreeViewComponent() {
|
|
1356
1658
|
var _this = _super.call(this, arguments) || this;
|
|
1357
|
-
_this.propKeys = properties$
|
|
1358
|
-
_this.models = modelProps$
|
|
1659
|
+
_this.propKeys = properties$6;
|
|
1660
|
+
_this.models = modelProps$6;
|
|
1359
1661
|
_this.hasChildDirective = false;
|
|
1360
1662
|
_this.hasInjectedModules = false;
|
|
1361
1663
|
_this.tagMapper = {};
|
|
1362
1664
|
_this.tagNameMapper = {};
|
|
1363
|
-
_this.isVue3 = !isExecute$
|
|
1665
|
+
_this.isVue3 = !isExecute$11;
|
|
1364
1666
|
_this.ej2Instances = new TreeView({});
|
|
1365
1667
|
_this.bindProperties();
|
|
1366
1668
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
@@ -1479,10 +1781,10 @@ var TreeViewComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1479
1781
|
TreeViewComponent.prototype.updateNode = function (target, newText) {
|
|
1480
1782
|
return this.ej2Instances.updateNode(target, newText);
|
|
1481
1783
|
};
|
|
1482
|
-
TreeViewComponent = __decorate$
|
|
1784
|
+
TreeViewComponent = __decorate$11([
|
|
1483
1785
|
EJComponentDecorator({
|
|
1484
|
-
props: properties$
|
|
1485
|
-
}, isExecute$
|
|
1786
|
+
props: properties$6
|
|
1787
|
+
}, isExecute$11)
|
|
1486
1788
|
,Options({
|
|
1487
1789
|
props: props,
|
|
1488
1790
|
watch: watch,
|
|
@@ -1503,7 +1805,7 @@ var TreeViewPlugin = {
|
|
|
1503
1805
|
}
|
|
1504
1806
|
};
|
|
1505
1807
|
|
|
1506
|
-
var __extends$
|
|
1808
|
+
var __extends$12 = (undefined && undefined.__extends) || (function () {
|
|
1507
1809
|
var extendStatics = function (d, b) {
|
|
1508
1810
|
extendStatics = Object.setPrototypeOf ||
|
|
1509
1811
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1516,25 +1818,25 @@ var __extends$10 = (undefined && undefined.__extends) || (function () {
|
|
|
1516
1818
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1517
1819
|
};
|
|
1518
1820
|
})();
|
|
1519
|
-
var __decorate$
|
|
1821
|
+
var __decorate$12 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1520
1822
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1521
1823
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1522
1824
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1523
1825
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1524
1826
|
};
|
|
1525
1827
|
// {{VueImport}}
|
|
1526
|
-
var properties$
|
|
1527
|
-
var modelProps$
|
|
1528
|
-
var testProp$
|
|
1529
|
-
var props$
|
|
1530
|
-
var watch$
|
|
1531
|
-
var emitProbs$
|
|
1532
|
-
emitProbs$
|
|
1533
|
-
for (var _i$
|
|
1534
|
-
var props_1$
|
|
1535
|
-
emitProbs$
|
|
1828
|
+
var properties$7 = ['isLazyUpdate', 'animate', 'closeOnDocumentClick', 'dockSize', 'enableDock', 'enableGestures', 'enablePersistence', 'enableRtl', 'height', 'isOpen', 'locale', 'mediaQuery', 'position', 'showBackdrop', 'target', 'type', 'width', 'zIndex', 'change', 'close', 'created', 'destroyed', 'open'];
|
|
1829
|
+
var modelProps$7 = ['isOpen'];
|
|
1830
|
+
var testProp$7 = getProps({ props: properties$7 });
|
|
1831
|
+
var props$7 = testProp$7[0];
|
|
1832
|
+
var watch$7 = testProp$7[1];
|
|
1833
|
+
var emitProbs$7 = Object.keys(watch$7);
|
|
1834
|
+
emitProbs$7.push('modelchanged');
|
|
1835
|
+
for (var _i$7 = 0, modelProps_1$7 = modelProps$7; _i$7 < modelProps_1$7.length; _i$7++) {
|
|
1836
|
+
var props_1$7 = modelProps_1$7[_i$7];
|
|
1837
|
+
emitProbs$7.push('update:' + props_1$7);
|
|
1536
1838
|
}
|
|
1537
|
-
var isExecute$
|
|
1839
|
+
var isExecute$12 = gh ? false : true;
|
|
1538
1840
|
/**
|
|
1539
1841
|
* Represents the Essential JS 2 VueJS Sidebar Component.
|
|
1540
1842
|
* ```html
|
|
@@ -1542,16 +1844,16 @@ var isExecute$10 = gh ? false : true;
|
|
|
1542
1844
|
* ```
|
|
1543
1845
|
*/
|
|
1544
1846
|
var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
1545
|
-
__extends$
|
|
1847
|
+
__extends$12(SidebarComponent, _super);
|
|
1546
1848
|
function SidebarComponent() {
|
|
1547
1849
|
var _this = _super.call(this, arguments) || this;
|
|
1548
|
-
_this.propKeys = properties$
|
|
1549
|
-
_this.models = modelProps$
|
|
1850
|
+
_this.propKeys = properties$7;
|
|
1851
|
+
_this.models = modelProps$7;
|
|
1550
1852
|
_this.hasChildDirective = false;
|
|
1551
1853
|
_this.hasInjectedModules = false;
|
|
1552
1854
|
_this.tagMapper = {};
|
|
1553
1855
|
_this.tagNameMapper = {};
|
|
1554
|
-
_this.isVue3 = !isExecute$
|
|
1856
|
+
_this.isVue3 = !isExecute$12;
|
|
1555
1857
|
_this.ej2Instances = new Sidebar({});
|
|
1556
1858
|
_this.ej2Instances._trigger = _this.ej2Instances.trigger;
|
|
1557
1859
|
_this.ej2Instances.trigger = _this.trigger;
|
|
@@ -1611,14 +1913,14 @@ var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1611
1913
|
}
|
|
1612
1914
|
};
|
|
1613
1915
|
SidebarComponent.prototype.trigger = function (eventName, eventProp, successHandler) {
|
|
1614
|
-
if (!isExecute$
|
|
1916
|
+
if (!isExecute$12) {
|
|
1615
1917
|
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1616
1918
|
}
|
|
1617
1919
|
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1618
1920
|
var key = this.models.toString().match(/checked|value/) || [];
|
|
1619
1921
|
var propKey = key[0];
|
|
1620
1922
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1621
|
-
if (!isExecute$
|
|
1923
|
+
if (!isExecute$12) {
|
|
1622
1924
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1623
1925
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1624
1926
|
}
|
|
@@ -1634,7 +1936,7 @@ var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1634
1936
|
var key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1635
1937
|
var propKey = key[0];
|
|
1636
1938
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1637
|
-
if (!isExecute$
|
|
1939
|
+
if (!isExecute$12) {
|
|
1638
1940
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1639
1941
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1640
1942
|
}
|
|
@@ -1668,13 +1970,13 @@ var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1668
1970
|
SidebarComponent.prototype.toggle = function () {
|
|
1669
1971
|
return this.ej2Instances.toggle();
|
|
1670
1972
|
};
|
|
1671
|
-
SidebarComponent = __decorate$
|
|
1973
|
+
SidebarComponent = __decorate$12([
|
|
1672
1974
|
EJComponentDecorator({
|
|
1673
|
-
props: properties$
|
|
1975
|
+
props: properties$7,
|
|
1674
1976
|
model: {
|
|
1675
1977
|
event: 'modelchanged'
|
|
1676
1978
|
}
|
|
1677
|
-
}, isExecute$
|
|
1979
|
+
}, isExecute$12)
|
|
1678
1980
|
,Options({
|
|
1679
1981
|
props: props,
|
|
1680
1982
|
watch: watch,
|
|
@@ -1695,7 +1997,7 @@ var SidebarPlugin = {
|
|
|
1695
1997
|
}
|
|
1696
1998
|
};
|
|
1697
1999
|
|
|
1698
|
-
var __extends$
|
|
2000
|
+
var __extends$13 = (undefined && undefined.__extends) || (function () {
|
|
1699
2001
|
var extendStatics = function (d, b) {
|
|
1700
2002
|
extendStatics = Object.setPrototypeOf ||
|
|
1701
2003
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1708,23 +2010,23 @@ var __extends$11 = (undefined && undefined.__extends) || (function () {
|
|
|
1708
2010
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1709
2011
|
};
|
|
1710
2012
|
})();
|
|
1711
|
-
var __decorate$
|
|
2013
|
+
var __decorate$13 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1712
2014
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1713
2015
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1714
2016
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1715
2017
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1716
2018
|
};
|
|
1717
2019
|
// {{VueImport}}
|
|
1718
|
-
var isExecute$
|
|
1719
|
-
var vueImport$
|
|
1720
|
-
if (!isExecute$
|
|
1721
|
-
vueImport$
|
|
2020
|
+
var isExecute$13 = gh ? false : true;
|
|
2021
|
+
var vueImport$5;
|
|
2022
|
+
if (!isExecute$13 || parseInt(allVue.version) < 3) {
|
|
2023
|
+
vueImport$5 = Vue;
|
|
1722
2024
|
}
|
|
1723
2025
|
else {
|
|
1724
|
-
vueImport$
|
|
2026
|
+
vueImport$5 = Vue$1;
|
|
1725
2027
|
}
|
|
1726
2028
|
var MenuItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
1727
|
-
__extends$
|
|
2029
|
+
__extends$13(MenuItemsDirective, _super);
|
|
1728
2030
|
function MenuItemsDirective() {
|
|
1729
2031
|
return _super.call(this, arguments) || this;
|
|
1730
2032
|
}
|
|
@@ -1747,8 +2049,8 @@ var MenuItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
1747
2049
|
MenuItemsDirective.prototype.getTag = function () {
|
|
1748
2050
|
return 'e-menu-items';
|
|
1749
2051
|
};
|
|
1750
|
-
MenuItemsDirective = __decorate$
|
|
1751
|
-
EJComponentDecorator({}, isExecute$
|
|
2052
|
+
MenuItemsDirective = __decorate$13([
|
|
2053
|
+
EJComponentDecorator({}, isExecute$13)
|
|
1752
2054
|
,Options({
|
|
1753
2055
|
inject: {
|
|
1754
2056
|
custom: {
|
|
@@ -1758,7 +2060,7 @@ var MenuItemsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
1758
2060
|
})
|
|
1759
2061
|
], MenuItemsDirective);
|
|
1760
2062
|
return MenuItemsDirective;
|
|
1761
|
-
}(vueImport$
|
|
2063
|
+
}(vueImport$5));
|
|
1762
2064
|
var MenuItemsPlugin = {
|
|
1763
2065
|
name: 'e-menu-items',
|
|
1764
2066
|
install: function (Vue$$1) {
|
|
@@ -1766,7 +2068,7 @@ var MenuItemsPlugin = {
|
|
|
1766
2068
|
}
|
|
1767
2069
|
};
|
|
1768
2070
|
var MenuItemDirective = /** @__PURE__ @class */ (function (_super) {
|
|
1769
|
-
__extends$
|
|
2071
|
+
__extends$13(MenuItemDirective, _super);
|
|
1770
2072
|
function MenuItemDirective() {
|
|
1771
2073
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1772
2074
|
}
|
|
@@ -1776,11 +2078,11 @@ var MenuItemDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
1776
2078
|
MenuItemDirective.prototype.getTag = function () {
|
|
1777
2079
|
return 'e-';
|
|
1778
2080
|
};
|
|
1779
|
-
MenuItemDirective = __decorate$
|
|
1780
|
-
EJComponentDecorator({}, isExecute$
|
|
2081
|
+
MenuItemDirective = __decorate$13([
|
|
2082
|
+
EJComponentDecorator({}, isExecute$13)
|
|
1781
2083
|
], MenuItemDirective);
|
|
1782
2084
|
return MenuItemDirective;
|
|
1783
|
-
}(vueImport$
|
|
2085
|
+
}(vueImport$5));
|
|
1784
2086
|
var MenuItemPlugin = {
|
|
1785
2087
|
name: 'e-',
|
|
1786
2088
|
install: function (Vue$$1) {
|
|
@@ -1788,7 +2090,7 @@ var MenuItemPlugin = {
|
|
|
1788
2090
|
}
|
|
1789
2091
|
};
|
|
1790
2092
|
|
|
1791
|
-
var __extends$
|
|
2093
|
+
var __extends$14 = (undefined && undefined.__extends) || (function () {
|
|
1792
2094
|
var extendStatics = function (d, b) {
|
|
1793
2095
|
extendStatics = Object.setPrototypeOf ||
|
|
1794
2096
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1801,25 +2103,25 @@ var __extends$12 = (undefined && undefined.__extends) || (function () {
|
|
|
1801
2103
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1802
2104
|
};
|
|
1803
2105
|
})();
|
|
1804
|
-
var __decorate$
|
|
2106
|
+
var __decorate$14 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1805
2107
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1806
2108
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1807
2109
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1808
2110
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1809
2111
|
};
|
|
1810
2112
|
// {{VueImport}}
|
|
1811
|
-
var properties$
|
|
1812
|
-
var modelProps$
|
|
1813
|
-
var testProp$
|
|
1814
|
-
var props$
|
|
1815
|
-
var watch$
|
|
1816
|
-
var emitProbs$
|
|
1817
|
-
emitProbs$
|
|
1818
|
-
for (var _i$
|
|
1819
|
-
var props_1$
|
|
1820
|
-
emitProbs$
|
|
2113
|
+
var properties$8 = ['isLazyUpdate', 'animationSettings', 'cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableScrolling', 'fields', 'filter', 'hamburgerMode', 'hoverDelay', 'items', 'locale', 'orientation', 'showItemOnClick', 'target', 'template', 'title', 'beforeClose', 'beforeItemRender', 'beforeOpen', 'created', 'onClose', 'onOpen', 'select'];
|
|
2114
|
+
var modelProps$8 = [];
|
|
2115
|
+
var testProp$8 = getProps({ props: properties$8 });
|
|
2116
|
+
var props$8 = testProp$8[0];
|
|
2117
|
+
var watch$8 = testProp$8[1];
|
|
2118
|
+
var emitProbs$8 = Object.keys(watch$8);
|
|
2119
|
+
emitProbs$8.push('modelchanged');
|
|
2120
|
+
for (var _i$8 = 0, modelProps_1$8 = modelProps$8; _i$8 < modelProps_1$8.length; _i$8++) {
|
|
2121
|
+
var props_1$8 = modelProps_1$8[_i$8];
|
|
2122
|
+
emitProbs$8.push('update:' + props_1$8);
|
|
1821
2123
|
}
|
|
1822
|
-
var isExecute$
|
|
2124
|
+
var isExecute$14 = gh ? false : true;
|
|
1823
2125
|
/**
|
|
1824
2126
|
* Represents the Essential JS 2 VueJS Menu Component.
|
|
1825
2127
|
* ```html
|
|
@@ -1827,16 +2129,16 @@ var isExecute$12 = gh ? false : true;
|
|
|
1827
2129
|
* ```
|
|
1828
2130
|
*/
|
|
1829
2131
|
var MenuComponent = /** @__PURE__ @class */ (function (_super) {
|
|
1830
|
-
__extends$
|
|
2132
|
+
__extends$14(MenuComponent, _super);
|
|
1831
2133
|
function MenuComponent() {
|
|
1832
2134
|
var _this = _super.call(this, arguments) || this;
|
|
1833
|
-
_this.propKeys = properties$
|
|
1834
|
-
_this.models = modelProps$
|
|
2135
|
+
_this.propKeys = properties$8;
|
|
2136
|
+
_this.models = modelProps$8;
|
|
1835
2137
|
_this.hasChildDirective = true;
|
|
1836
2138
|
_this.hasInjectedModules = false;
|
|
1837
2139
|
_this.tagMapper = { "e-menu-items": "e-" };
|
|
1838
2140
|
_this.tagNameMapper = { "e-menu-items": "e-items" };
|
|
1839
|
-
_this.isVue3 = !isExecute$
|
|
2141
|
+
_this.isVue3 = !isExecute$14;
|
|
1840
2142
|
_this.ej2Instances = new Menu({});
|
|
1841
2143
|
_this.bindProperties();
|
|
1842
2144
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
@@ -1934,10 +2236,10 @@ var MenuComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1934
2236
|
MenuComponent.prototype.showItems = function (items, isUniqueId) {
|
|
1935
2237
|
return this.ej2Instances.showItems(items, isUniqueId);
|
|
1936
2238
|
};
|
|
1937
|
-
MenuComponent = __decorate$
|
|
2239
|
+
MenuComponent = __decorate$14([
|
|
1938
2240
|
EJComponentDecorator({
|
|
1939
|
-
props: properties$
|
|
1940
|
-
}, isExecute$
|
|
2241
|
+
props: properties$8
|
|
2242
|
+
}, isExecute$14)
|
|
1941
2243
|
,Options({
|
|
1942
2244
|
props: props,
|
|
1943
2245
|
watch: watch,
|
|
@@ -1960,6 +2262,6 @@ var MenuPlugin = {
|
|
|
1960
2262
|
}
|
|
1961
2263
|
};
|
|
1962
2264
|
|
|
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 };
|
|
2265
|
+
export { AccordionItemsDirective, AccordionItemDirective, AccordionItemsPlugin, AccordionItemPlugin, AccordionComponent, AccordionPlugin, ItemsDirective, ItemDirective, ItemsPlugin, ItemPlugin, ToolbarComponent, ToolbarPlugin, ContextMenuComponent, ContextMenuPlugin, BreadcrumbItemsDirective, BreadcrumbItemDirective, BreadcrumbItemsPlugin, BreadcrumbItemPlugin, BreadcrumbComponent, BreadcrumbPlugin, CarouselItemsDirective, CarouselItemDirective, CarouselItemsPlugin, CarouselItemPlugin, CarouselComponent, CarouselPlugin, TabItemsDirective, TabItemDirective, TabItemsPlugin, TabItemPlugin, TabComponent, TabPlugin, TreeViewComponent, TreeViewPlugin, SidebarComponent, SidebarPlugin, MenuItemsDirective, MenuItemDirective, MenuItemsPlugin, MenuItemPlugin, MenuComponent, MenuPlugin };
|
|
1964
2266
|
export * from '@syncfusion/ej2-navigations';
|
|
1965
2267
|
//# sourceMappingURL=ej2-vue-navigations.es5.js.map
|