@syncfusion/ej2-vue-navigations 20.1.48 → 20.1.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (253) hide show
  1. package/CHANGELOG.md +74 -2
  2. package/README.md +17 -2
  3. package/carousel.d.ts +4 -0
  4. package/carousel.js +4 -0
  5. package/dist/ej2-vue-navigations.umd.min.js +11 -2
  6. package/dist/es6/ej2-vue-navigations.es2015.js +377 -92
  7. package/dist/es6/ej2-vue-navigations.es2015.js.map +1 -1
  8. package/dist/es6/ej2-vue-navigations.es5.js +415 -109
  9. package/dist/es6/ej2-vue-navigations.es5.js.map +1 -1
  10. package/dist/global/ej2-vue-navigations.min.js +2 -2
  11. package/package.json +11 -15
  12. package/src/accordion/accordion.component.d.ts +1 -1
  13. package/src/accordion/accordion.component.js +2 -1
  14. package/src/breadcrumb/breadcrumb.component.js +1 -0
  15. package/src/carousel/carousel.component.d.ts +43 -0
  16. package/src/carousel/carousel.component.js +203 -0
  17. package/src/carousel/index.d.ts +2 -0
  18. package/src/carousel/index.js +2 -0
  19. package/src/carousel/items.directive.d.ts +33 -0
  20. package/src/carousel/items.directive.js +110 -0
  21. package/src/index.d.ts +2 -0
  22. package/src/index.js +2 -0
  23. package/src/sidebar/sidebar.component.js +1 -0
  24. package/styles/accordion/bootstrap-dark.css +49 -152
  25. package/styles/accordion/bootstrap.css +49 -152
  26. package/styles/accordion/bootstrap4.css +52 -167
  27. package/styles/accordion/bootstrap5-dark.css +49 -149
  28. package/styles/accordion/bootstrap5.css +49 -149
  29. package/styles/accordion/fabric-dark.css +51 -150
  30. package/styles/accordion/fabric.css +51 -150
  31. package/styles/accordion/fluent-dark.css +314 -0
  32. package/styles/accordion/fluent-dark.scss +1 -0
  33. package/styles/accordion/fluent.css +314 -0
  34. package/styles/accordion/fluent.scss +1 -0
  35. package/styles/accordion/highcontrast-light.css +54 -175
  36. package/styles/accordion/highcontrast.css +54 -175
  37. package/styles/accordion/material-dark.css +50 -152
  38. package/styles/accordion/material.css +50 -152
  39. package/styles/accordion/tailwind-dark.css +52 -154
  40. package/styles/accordion/tailwind.css +52 -154
  41. package/styles/bootstrap-dark.css +527 -2037
  42. package/styles/bootstrap-dark.scss +1 -0
  43. package/styles/bootstrap.css +527 -2037
  44. package/styles/bootstrap.scss +1 -0
  45. package/styles/bootstrap4.css +533 -2100
  46. package/styles/bootstrap4.scss +1 -0
  47. package/styles/bootstrap5-dark.css +629 -2181
  48. package/styles/bootstrap5-dark.scss +1 -0
  49. package/styles/bootstrap5.css +629 -2181
  50. package/styles/bootstrap5.scss +1 -0
  51. package/styles/breadcrumb/bootstrap-dark.css +15 -89
  52. package/styles/breadcrumb/bootstrap.css +15 -89
  53. package/styles/breadcrumb/bootstrap4.css +15 -89
  54. package/styles/breadcrumb/bootstrap5-dark.css +17 -95
  55. package/styles/breadcrumb/bootstrap5.css +17 -95
  56. package/styles/breadcrumb/fabric-dark.css +15 -90
  57. package/styles/breadcrumb/fabric.css +15 -90
  58. package/styles/breadcrumb/fluent-dark.css +370 -0
  59. package/styles/breadcrumb/fluent-dark.scss +1 -0
  60. package/styles/breadcrumb/fluent.css +370 -0
  61. package/styles/breadcrumb/fluent.scss +1 -0
  62. package/styles/breadcrumb/highcontrast-light.css +15 -92
  63. package/styles/breadcrumb/highcontrast.css +15 -92
  64. package/styles/breadcrumb/material-dark.css +15 -84
  65. package/styles/breadcrumb/material.css +15 -84
  66. package/styles/breadcrumb/tailwind-dark.css +30 -97
  67. package/styles/breadcrumb/tailwind.css +29 -96
  68. package/styles/carousel/bootstrap-dark.css +217 -0
  69. package/styles/carousel/bootstrap-dark.scss +1 -0
  70. package/styles/carousel/bootstrap.css +217 -0
  71. package/styles/carousel/bootstrap.scss +1 -0
  72. package/styles/carousel/bootstrap4.css +217 -0
  73. package/styles/carousel/bootstrap4.scss +1 -0
  74. package/styles/carousel/bootstrap5-dark.css +217 -0
  75. package/styles/carousel/bootstrap5-dark.scss +1 -0
  76. package/styles/carousel/bootstrap5.css +217 -0
  77. package/styles/carousel/bootstrap5.scss +1 -0
  78. package/styles/carousel/fabric-dark.css +217 -0
  79. package/styles/carousel/fabric-dark.scss +1 -0
  80. package/styles/carousel/fabric.css +217 -0
  81. package/styles/carousel/fabric.scss +1 -0
  82. package/styles/carousel/fluent-dark.css +217 -0
  83. package/styles/carousel/fluent-dark.scss +1 -0
  84. package/styles/carousel/fluent.css +217 -0
  85. package/styles/carousel/fluent.scss +1 -0
  86. package/styles/carousel/highcontrast-light.css +217 -0
  87. package/styles/carousel/highcontrast-light.scss +1 -0
  88. package/styles/carousel/highcontrast.css +217 -0
  89. package/styles/carousel/highcontrast.scss +1 -0
  90. package/styles/carousel/material-dark.css +218 -0
  91. package/styles/carousel/material-dark.scss +1 -0
  92. package/styles/carousel/material.css +218 -0
  93. package/styles/carousel/material.scss +1 -0
  94. package/styles/carousel/tailwind-dark.css +218 -0
  95. package/styles/carousel/tailwind-dark.scss +1 -0
  96. package/styles/carousel/tailwind.css +218 -0
  97. package/styles/carousel/tailwind.scss +1 -0
  98. package/styles/context-menu/bootstrap-dark.css +10 -59
  99. package/styles/context-menu/bootstrap.css +10 -59
  100. package/styles/context-menu/bootstrap4.css +10 -59
  101. package/styles/context-menu/bootstrap5-dark.css +21 -67
  102. package/styles/context-menu/bootstrap5.css +21 -67
  103. package/styles/context-menu/fabric-dark.css +10 -59
  104. package/styles/context-menu/fabric.css +10 -59
  105. package/styles/context-menu/fluent-dark.css +334 -0
  106. package/styles/context-menu/fluent-dark.scss +1 -0
  107. package/styles/context-menu/fluent.css +334 -0
  108. package/styles/context-menu/fluent.scss +1 -0
  109. package/styles/context-menu/highcontrast-light.css +10 -59
  110. package/styles/context-menu/highcontrast.css +10 -59
  111. package/styles/context-menu/material-dark.css +10 -59
  112. package/styles/context-menu/material.css +10 -59
  113. package/styles/context-menu/tailwind-dark.css +13 -60
  114. package/styles/context-menu/tailwind.css +13 -60
  115. package/styles/fabric-dark.css +520 -2026
  116. package/styles/fabric-dark.scss +1 -0
  117. package/styles/fabric.css +520 -2026
  118. package/styles/fabric.scss +1 -0
  119. package/styles/fluent-dark.css +8507 -0
  120. package/styles/fluent-dark.scss +11 -0
  121. package/styles/fluent.css +8507 -0
  122. package/styles/fluent.scss +11 -0
  123. package/styles/h-scroll/bootstrap-dark.css +11 -68
  124. package/styles/h-scroll/bootstrap.css +11 -68
  125. package/styles/h-scroll/bootstrap4.css +11 -70
  126. package/styles/h-scroll/bootstrap5-dark.css +21 -79
  127. package/styles/h-scroll/bootstrap5.css +21 -79
  128. package/styles/h-scroll/fabric-dark.css +11 -68
  129. package/styles/h-scroll/fabric.css +11 -68
  130. package/styles/h-scroll/fluent-dark.css +269 -0
  131. package/styles/h-scroll/fluent-dark.scss +1 -0
  132. package/styles/h-scroll/fluent.css +269 -0
  133. package/styles/h-scroll/fluent.scss +1 -0
  134. package/styles/h-scroll/highcontrast-light.css +11 -71
  135. package/styles/h-scroll/highcontrast.css +11 -71
  136. package/styles/h-scroll/material-dark.css +14 -72
  137. package/styles/h-scroll/material.css +11 -69
  138. package/styles/h-scroll/tailwind-dark.css +11 -69
  139. package/styles/h-scroll/tailwind.css +11 -69
  140. package/styles/highcontrast-light.css +524 -2097
  141. package/styles/highcontrast-light.scss +1 -0
  142. package/styles/highcontrast.css +525 -2101
  143. package/styles/highcontrast.scss +1 -0
  144. package/styles/material-dark.css +529 -1999
  145. package/styles/material-dark.scss +1 -0
  146. package/styles/material.css +519 -1988
  147. package/styles/material.scss +1 -0
  148. package/styles/menu/bootstrap-dark.css +28 -203
  149. package/styles/menu/bootstrap.css +28 -203
  150. package/styles/menu/bootstrap4.css +29 -213
  151. package/styles/menu/bootstrap5-dark.css +50 -226
  152. package/styles/menu/bootstrap5.css +50 -226
  153. package/styles/menu/fabric-dark.css +28 -203
  154. package/styles/menu/fabric.css +28 -203
  155. package/styles/menu/fluent-dark.css +1084 -0
  156. package/styles/menu/fluent-dark.scss +1 -0
  157. package/styles/menu/fluent.css +1084 -0
  158. package/styles/menu/fluent.scss +1 -0
  159. package/styles/menu/highcontrast-light.css +28 -203
  160. package/styles/menu/highcontrast.css +28 -203
  161. package/styles/menu/material-dark.css +28 -205
  162. package/styles/menu/material.css +28 -205
  163. package/styles/menu/tailwind-dark.css +31 -206
  164. package/styles/menu/tailwind.css +31 -206
  165. package/styles/sidebar/bootstrap-dark.css +14 -25
  166. package/styles/sidebar/bootstrap.css +14 -25
  167. package/styles/sidebar/bootstrap4.css +14 -25
  168. package/styles/sidebar/bootstrap5-dark.css +12 -23
  169. package/styles/sidebar/bootstrap5.css +12 -23
  170. package/styles/sidebar/fabric-dark.css +14 -25
  171. package/styles/sidebar/fabric.css +14 -25
  172. package/styles/sidebar/fluent-dark.css +143 -0
  173. package/styles/sidebar/fluent-dark.scss +1 -0
  174. package/styles/sidebar/fluent.css +143 -0
  175. package/styles/sidebar/fluent.scss +1 -0
  176. package/styles/sidebar/highcontrast-light.css +14 -25
  177. package/styles/sidebar/highcontrast.css +14 -25
  178. package/styles/sidebar/material-dark.css +14 -25
  179. package/styles/sidebar/material.css +14 -25
  180. package/styles/sidebar/tailwind-dark.css +12 -23
  181. package/styles/sidebar/tailwind.css +12 -23
  182. package/styles/tab/bootstrap-dark.css +151 -964
  183. package/styles/tab/bootstrap.css +151 -964
  184. package/styles/tab/bootstrap4.css +151 -971
  185. package/styles/tab/bootstrap5-dark.css +173 -998
  186. package/styles/tab/bootstrap5.css +173 -998
  187. package/styles/tab/fabric-dark.css +142 -955
  188. package/styles/tab/fabric.css +142 -955
  189. package/styles/tab/fluent-dark.css +3588 -0
  190. package/styles/tab/fluent-dark.scss +1 -0
  191. package/styles/tab/fluent.css +3588 -0
  192. package/styles/tab/fluent.scss +1 -0
  193. package/styles/tab/highcontrast-light.css +143 -981
  194. package/styles/tab/highcontrast.css +144 -982
  195. package/styles/tab/material-dark.css +145 -917
  196. package/styles/tab/material.css +138 -910
  197. package/styles/tab/tailwind-dark.css +162 -934
  198. package/styles/tab/tailwind.css +162 -934
  199. package/styles/tailwind-dark.css +573 -2054
  200. package/styles/tailwind-dark.scss +1 -0
  201. package/styles/tailwind.css +572 -2053
  202. package/styles/tailwind.scss +1 -0
  203. package/styles/toolbar/bootstrap-dark.css +10 -245
  204. package/styles/toolbar/bootstrap.css +10 -245
  205. package/styles/toolbar/bootstrap4.css +11 -257
  206. package/styles/toolbar/bootstrap5-dark.css +41 -281
  207. package/styles/toolbar/bootstrap5.css +41 -281
  208. package/styles/toolbar/fabric-dark.css +10 -244
  209. package/styles/toolbar/fabric.css +10 -244
  210. package/styles/toolbar/fluent-dark.css +1128 -0
  211. package/styles/toolbar/fluent-dark.scss +1 -0
  212. package/styles/toolbar/fluent.css +1128 -0
  213. package/styles/toolbar/fluent.scss +1 -0
  214. package/styles/toolbar/highcontrast-light.css +10 -256
  215. package/styles/toolbar/highcontrast.css +10 -256
  216. package/styles/toolbar/material-dark.css +10 -247
  217. package/styles/toolbar/material.css +10 -247
  218. package/styles/toolbar/tailwind-dark.css +14 -248
  219. package/styles/toolbar/tailwind.css +14 -248
  220. package/styles/treeview/bootstrap-dark.css +23 -191
  221. package/styles/treeview/bootstrap.css +23 -191
  222. package/styles/treeview/bootstrap4.css +24 -208
  223. package/styles/treeview/bootstrap5-dark.css +28 -221
  224. package/styles/treeview/bootstrap5.css +28 -221
  225. package/styles/treeview/fabric-dark.css +23 -191
  226. package/styles/treeview/fabric.css +23 -191
  227. package/styles/treeview/fluent-dark.css +846 -0
  228. package/styles/treeview/fluent-dark.scss +1 -0
  229. package/styles/treeview/fluent.css +846 -0
  230. package/styles/treeview/fluent.scss +1 -0
  231. package/styles/treeview/highcontrast-light.css +23 -191
  232. package/styles/treeview/highcontrast.css +23 -194
  233. package/styles/treeview/material-dark.css +23 -192
  234. package/styles/treeview/material.css +23 -191
  235. package/styles/treeview/tailwind-dark.css +31 -222
  236. package/styles/treeview/tailwind.css +31 -222
  237. package/styles/v-scroll/bootstrap-dark.css +7 -50
  238. package/styles/v-scroll/bootstrap.css +7 -50
  239. package/styles/v-scroll/bootstrap4.css +7 -50
  240. package/styles/v-scroll/bootstrap5-dark.css +7 -50
  241. package/styles/v-scroll/bootstrap5.css +7 -50
  242. package/styles/v-scroll/fabric-dark.css +7 -50
  243. package/styles/v-scroll/fabric.css +7 -50
  244. package/styles/v-scroll/fluent-dark.css +204 -0
  245. package/styles/v-scroll/fluent-dark.scss +1 -0
  246. package/styles/v-scroll/fluent.css +204 -0
  247. package/styles/v-scroll/fluent.scss +1 -0
  248. package/styles/v-scroll/highcontrast-light.css +7 -53
  249. package/styles/v-scroll/highcontrast.css +7 -53
  250. package/styles/v-scroll/material-dark.css +7 -51
  251. package/styles/v-scroll/material.css +7 -51
  252. package/styles/v-scroll/tailwind-dark.css +7 -50
  253. package/styles/v-scroll/tailwind.css +7 -50
@@ -1,4 +1,4 @@
1
- import { Accordion, Breadcrumb, ContextMenu, Menu, Sidebar, Tab, Toolbar, TreeView } from '@syncfusion/ej2-navigations';
1
+ import { Accordion, Breadcrumb, Carousel, ContextMenu, Menu, Sidebar, Tab, Toolbar, TreeView } from '@syncfusion/ej2-navigations';
2
2
  import { ComponentBase, EJComponentDecorator, allVue, getProps, gh } from '@syncfusion/ej2-vue-base';
3
3
  import { Vue } from 'vue-class-component';
4
4
  import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
@@ -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 Accoridon Component.
145
+ * Represents the VueJS Accordion Component.
146
146
  * ```html
147
147
  * <ejs-accordion></ejs-accordion>
148
148
  * ```
@@ -227,6 +227,7 @@ var AccordionComponent = /** @__PURE__ @class */ (function (_super) {
227
227
  if (!isExecute$1) {
228
228
  this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
229
229
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
230
+ this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
230
231
  }
231
232
  else {
232
233
  if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
@@ -971,6 +972,7 @@ var BreadcrumbComponent = /** @__PURE__ @class */ (function (_super) {
971
972
  if (!isExecute$6) {
972
973
  this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
973
974
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
975
+ this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
974
976
  }
975
977
  else {
976
978
  if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
@@ -1066,8 +1068,311 @@ if (!isExecute$7 || parseInt(allVue.version) < 3) {
1066
1068
  else {
1067
1069
  vueImport$3 = Vue$1;
1068
1070
  }
1071
+ var CarouselItemsDirective = /** @__PURE__ @class */ (function (_super) {
1072
+ __extends$7(CarouselItemsDirective, _super);
1073
+ function CarouselItemsDirective() {
1074
+ return _super.call(this, arguments) || this;
1075
+ }
1076
+ CarouselItemsDirective.prototype.render = function (createElement) {
1077
+ if (gh) {
1078
+ var h = gh || createElement;
1079
+ var slots = null;
1080
+ if (!isNullOrUndefined(this.$slots.default)) {
1081
+ slots = gh ? this.$slots.default() : this.$slots.default;
1082
+ }
1083
+ return h('div', { class: 'e-directive' }, slots);
1084
+ }
1085
+ return;
1086
+ };
1087
+ CarouselItemsDirective.prototype.updated = function () {
1088
+ if (gh && this.custom) {
1089
+ this.custom();
1090
+ }
1091
+ };
1092
+ CarouselItemsDirective.prototype.getTag = function () {
1093
+ return 'e-carousel-items';
1094
+ };
1095
+ CarouselItemsDirective = __decorate$7([
1096
+ EJComponentDecorator({}, isExecute$7)
1097
+ ,Options({
1098
+ inject: {
1099
+ custom: {
1100
+ default: null
1101
+ }
1102
+ }
1103
+ })
1104
+ ], CarouselItemsDirective);
1105
+ return CarouselItemsDirective;
1106
+ }(vueImport$3));
1107
+ var CarouselItemsPlugin = {
1108
+ name: 'e-carousel-items',
1109
+ install: function (Vue$$1) {
1110
+ Vue$$1.component(CarouselItemsPlugin.name, CarouselItemsDirective);
1111
+ }
1112
+ };
1113
+ /**
1114
+ * `e-carousel-item` directive represent a item of the Vue Carousel.
1115
+ * It must be contained in a Carousel component(`ejs-carousel`).
1116
+ * ```html
1117
+ * <ejs-carousel>
1118
+ * <e-carousel-items>
1119
+ * <e-carousel-item template='itemTemplate'></e-carousel-item>
1120
+ * <e-carousel-item template='secondItemTemplate'></e-carousel-item>
1121
+ * </e-carousel-items>
1122
+ * </ejs-carousel>
1123
+ * ```
1124
+ */
1125
+ var CarouselItemDirective = /** @__PURE__ @class */ (function (_super) {
1126
+ __extends$7(CarouselItemDirective, _super);
1127
+ function CarouselItemDirective() {
1128
+ return _super !== null && _super.apply(this, arguments) || this;
1129
+ }
1130
+ CarouselItemDirective.prototype.render = function () {
1131
+ return;
1132
+ };
1133
+ CarouselItemDirective.prototype.getTag = function () {
1134
+ return 'e-carousel-item';
1135
+ };
1136
+ CarouselItemDirective = __decorate$7([
1137
+ EJComponentDecorator({}, isExecute$7)
1138
+ ], CarouselItemDirective);
1139
+ return CarouselItemDirective;
1140
+ }(vueImport$3));
1141
+ var CarouselItemPlugin = {
1142
+ name: 'e-carousel-item',
1143
+ install: function (Vue$$1) {
1144
+ Vue$$1.component(CarouselItemPlugin.name, CarouselItemDirective);
1145
+ }
1146
+ };
1147
+
1148
+ var __extends$8 = (undefined && undefined.__extends) || (function () {
1149
+ var extendStatics = function (d, b) {
1150
+ extendStatics = Object.setPrototypeOf ||
1151
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
1152
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
1153
+ return extendStatics(d, b);
1154
+ };
1155
+ return function (d, b) {
1156
+ extendStatics(d, b);
1157
+ function __() { this.constructor = d; }
1158
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1159
+ };
1160
+ })();
1161
+ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1162
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1163
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1164
+ 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;
1165
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1166
+ };
1167
+ // {{VueImport}}
1168
+ 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'];
1169
+ var modelProps$4 = ['selectedIndex'];
1170
+ var testProp$4 = getProps({ props: properties$4 });
1171
+ var props$4 = testProp$4[0];
1172
+ var watch$4 = testProp$4[1];
1173
+ var emitProbs$4 = Object.keys(watch$4);
1174
+ emitProbs$4.push('modelchanged');
1175
+ for (var _i$4 = 0, modelProps_1$4 = modelProps$4; _i$4 < modelProps_1$4.length; _i$4++) {
1176
+ var props_1$4 = modelProps_1$4[_i$4];
1177
+ emitProbs$4.push('update:' + props_1$4);
1178
+ }
1179
+ var isExecute$8 = gh ? false : true;
1180
+ /**
1181
+ * Represents the VueJS Carousel Component.
1182
+ * ```html
1183
+ * <ejs-carousel :items='carouselItems'></ejs-carousel>
1184
+ * ```
1185
+ */
1186
+ var CarouselComponent = /** @__PURE__ @class */ (function (_super) {
1187
+ __extends$8(CarouselComponent, _super);
1188
+ function CarouselComponent() {
1189
+ var _this = _super.call(this, arguments) || this;
1190
+ _this.propKeys = properties$4;
1191
+ _this.models = modelProps$4;
1192
+ _this.hasChildDirective = true;
1193
+ _this.hasInjectedModules = false;
1194
+ _this.tagMapper = { "e-carousel-items": "e-carousel-item" };
1195
+ _this.tagNameMapper = { "e-carousel-items": "e-items" };
1196
+ _this.isVue3 = !isExecute$8;
1197
+ _this.ej2Instances = new Carousel({});
1198
+ _this.ej2Instances._trigger = _this.ej2Instances.trigger;
1199
+ _this.ej2Instances.trigger = _this.trigger;
1200
+ _this.bindProperties();
1201
+ _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
1202
+ _this.ej2Instances.setProperties = _this.setProperties;
1203
+ _this.ej2Instances.clearTemplate = _this.clearTemplate;
1204
+ _this.updated = _this.updated;
1205
+ return _this;
1206
+ }
1207
+ CarouselComponent.prototype.clearTemplate = function (templateNames) {
1208
+ if (!templateNames) {
1209
+ templateNames = Object.keys(this.templateCollection || {});
1210
+ }
1211
+ if (templateNames.length && this.templateCollection) {
1212
+ for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
1213
+ var tempName = templateNames_1[_i];
1214
+ var elementCollection = this.templateCollection[tempName];
1215
+ if (elementCollection && elementCollection.length) {
1216
+ for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
1217
+ var ele = elementCollection_1[_a];
1218
+ var destroy = getValue('__vue__.$destroy', ele);
1219
+ if (destroy) {
1220
+ ele.__vue__.$destroy();
1221
+ }
1222
+ if (ele.innerHTML) {
1223
+ ele.innerHTML = '';
1224
+ }
1225
+ }
1226
+ delete this.templateCollection[tempName];
1227
+ }
1228
+ }
1229
+ }
1230
+ };
1231
+ CarouselComponent.prototype.setProperties = function (prop, muteOnChange) {
1232
+ var _this = this;
1233
+ if (this.isVue3) {
1234
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
1235
+ }
1236
+ if (this.ej2Instances && this.ej2Instances._setProperties) {
1237
+ this.ej2Instances._setProperties(prop, muteOnChange);
1238
+ }
1239
+ if (prop && this.models && this.models.length) {
1240
+ Object.keys(prop).map(function (key) {
1241
+ _this.models.map(function (model) {
1242
+ if ((key === model) && !(/datasource/i.test(key))) {
1243
+ if (_this.isVue3) {
1244
+ _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
1245
+ }
1246
+ else {
1247
+ _this.$emit('update:' + key, prop[key]);
1248
+ _this.$emit('modelchanged', prop[key]);
1249
+ }
1250
+ }
1251
+ });
1252
+ });
1253
+ }
1254
+ };
1255
+ CarouselComponent.prototype.trigger = function (eventName, eventProp, successHandler) {
1256
+ if (!isExecute$8) {
1257
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
1258
+ }
1259
+ if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
1260
+ var key = this.models.toString().match(/checked|value/) || [];
1261
+ var propKey = key[0];
1262
+ if (eventProp && key && !isUndefined(eventProp[propKey])) {
1263
+ if (!isExecute$8) {
1264
+ this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
1265
+ this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
1266
+ this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
1267
+ }
1268
+ else {
1269
+ if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
1270
+ this.$emit('update:' + propKey, eventProp[propKey]);
1271
+ this.$emit('modelchanged', eventProp[propKey]);
1272
+ }
1273
+ }
1274
+ }
1275
+ }
1276
+ else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
1277
+ var key = this.models.toString().match(/currentView|selectedDate/) || [];
1278
+ var propKey = key[0];
1279
+ if (eventProp && key && !isUndefined(eventProp[propKey])) {
1280
+ if (!isExecute$8) {
1281
+ this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
1282
+ this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
1283
+ }
1284
+ else {
1285
+ this.$emit('update:' + propKey, eventProp[propKey]);
1286
+ this.$emit('modelchanged', eventProp[propKey]);
1287
+ }
1288
+ }
1289
+ }
1290
+ if ((this.ej2Instances && this.ej2Instances._trigger)) {
1291
+ this.ej2Instances._trigger(eventName, eventProp, successHandler);
1292
+ }
1293
+ };
1294
+ CarouselComponent.prototype.render = function (createElement) {
1295
+ var h = gh || createElement;
1296
+ var slots = null;
1297
+ if (!isNullOrUndefined(this.$slots.default)) {
1298
+ slots = gh ? this.$slots.default() : this.$slots.default;
1299
+ }
1300
+ return h('div', slots);
1301
+ };
1302
+ CarouselComponent.prototype.custom = function () {
1303
+ this.updated();
1304
+ };
1305
+ CarouselComponent.prototype.next = function () {
1306
+ return this.ej2Instances.next();
1307
+ };
1308
+ CarouselComponent.prototype.pause = function () {
1309
+ return this.ej2Instances.pause();
1310
+ };
1311
+ CarouselComponent.prototype.play = function () {
1312
+ return this.ej2Instances.play();
1313
+ };
1314
+ CarouselComponent.prototype.prev = function () {
1315
+ return this.ej2Instances.prev();
1316
+ };
1317
+ CarouselComponent = __decorate$8([
1318
+ EJComponentDecorator({
1319
+ props: properties$4,
1320
+ model: {
1321
+ event: 'modelchanged'
1322
+ }
1323
+ }, isExecute$8)
1324
+ ,Options({
1325
+ props: props,
1326
+ watch: watch,
1327
+ emits: emitProbs,
1328
+ provide: function provide() {
1329
+ return {
1330
+ custom: this.custom
1331
+ };
1332
+ }
1333
+ })
1334
+ ], CarouselComponent);
1335
+ return CarouselComponent;
1336
+ }(ComponentBase));
1337
+ var CarouselPlugin = {
1338
+ name: 'ejs-carousel',
1339
+ install: function (Vue$$1) {
1340
+ Vue$$1.component(CarouselPlugin.name, CarouselComponent);
1341
+ Vue$$1.component(CarouselItemPlugin.name, CarouselItemDirective);
1342
+ Vue$$1.component(CarouselItemsPlugin.name, CarouselItemsDirective);
1343
+ }
1344
+ };
1345
+
1346
+ var __extends$9 = (undefined && undefined.__extends) || (function () {
1347
+ var extendStatics = function (d, b) {
1348
+ extendStatics = Object.setPrototypeOf ||
1349
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
1350
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
1351
+ return extendStatics(d, b);
1352
+ };
1353
+ return function (d, b) {
1354
+ extendStatics(d, b);
1355
+ function __() { this.constructor = d; }
1356
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1357
+ };
1358
+ })();
1359
+ var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1360
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1361
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1362
+ 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;
1363
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1364
+ };
1365
+ // {{VueImport}}
1366
+ var isExecute$9 = gh ? false : true;
1367
+ var vueImport$4;
1368
+ if (!isExecute$9 || parseInt(allVue.version) < 3) {
1369
+ vueImport$4 = Vue;
1370
+ }
1371
+ else {
1372
+ vueImport$4 = Vue$1;
1373
+ }
1069
1374
  var TabItemsDirective = /** @__PURE__ @class */ (function (_super) {
1070
- __extends$7(TabItemsDirective, _super);
1375
+ __extends$9(TabItemsDirective, _super);
1071
1376
  function TabItemsDirective() {
1072
1377
  return _super.call(this, arguments) || this;
1073
1378
  }
@@ -1090,8 +1395,8 @@ var TabItemsDirective = /** @__PURE__ @class */ (function (_super) {
1090
1395
  TabItemsDirective.prototype.getTag = function () {
1091
1396
  return 'e-tabitems';
1092
1397
  };
1093
- TabItemsDirective = __decorate$7([
1094
- EJComponentDecorator({}, isExecute$7)
1398
+ TabItemsDirective = __decorate$9([
1399
+ EJComponentDecorator({}, isExecute$9)
1095
1400
  ,Options({
1096
1401
  inject: {
1097
1402
  custom: {
@@ -1101,7 +1406,7 @@ var TabItemsDirective = /** @__PURE__ @class */ (function (_super) {
1101
1406
  })
1102
1407
  ], TabItemsDirective);
1103
1408
  return TabItemsDirective;
1104
- }(vueImport$3));
1409
+ }(vueImport$4));
1105
1410
  var TabItemsPlugin = {
1106
1411
  name: 'e-tabitems',
1107
1412
  install: function (Vue$$1) {
@@ -1121,7 +1426,7 @@ var TabItemsPlugin = {
1121
1426
  * ```
1122
1427
  */
1123
1428
  var TabItemDirective = /** @__PURE__ @class */ (function (_super) {
1124
- __extends$7(TabItemDirective, _super);
1429
+ __extends$9(TabItemDirective, _super);
1125
1430
  function TabItemDirective() {
1126
1431
  return _super !== null && _super.apply(this, arguments) || this;
1127
1432
  }
@@ -1131,11 +1436,11 @@ var TabItemDirective = /** @__PURE__ @class */ (function (_super) {
1131
1436
  TabItemDirective.prototype.getTag = function () {
1132
1437
  return 'e-tabitem';
1133
1438
  };
1134
- TabItemDirective = __decorate$7([
1135
- EJComponentDecorator({}, isExecute$7)
1439
+ TabItemDirective = __decorate$9([
1440
+ EJComponentDecorator({}, isExecute$9)
1136
1441
  ], TabItemDirective);
1137
1442
  return TabItemDirective;
1138
- }(vueImport$3));
1443
+ }(vueImport$4));
1139
1444
  var TabItemPlugin = {
1140
1445
  name: 'e-tabitem',
1141
1446
  install: function (Vue$$1) {
@@ -1143,7 +1448,7 @@ var TabItemPlugin = {
1143
1448
  }
1144
1449
  };
1145
1450
 
1146
- var __extends$8 = (undefined && undefined.__extends) || (function () {
1451
+ var __extends$10 = (undefined && undefined.__extends) || (function () {
1147
1452
  var extendStatics = function (d, b) {
1148
1453
  extendStatics = Object.setPrototypeOf ||
1149
1454
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -1156,25 +1461,25 @@ var __extends$8 = (undefined && undefined.__extends) || (function () {
1156
1461
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1157
1462
  };
1158
1463
  })();
1159
- var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1464
+ var __decorate$10 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1160
1465
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1161
1466
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1162
1467
  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
1468
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1164
1469
  };
1165
1470
  // {{VueImport}}
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);
1471
+ 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'];
1472
+ var modelProps$5 = [];
1473
+ var testProp$5 = getProps({ props: properties$5 });
1474
+ var props$5 = testProp$5[0];
1475
+ var watch$5 = testProp$5[1];
1476
+ var emitProbs$5 = Object.keys(watch$5);
1477
+ emitProbs$5.push('modelchanged');
1478
+ for (var _i$5 = 0, modelProps_1$5 = modelProps$5; _i$5 < modelProps_1$5.length; _i$5++) {
1479
+ var props_1$5 = modelProps_1$5[_i$5];
1480
+ emitProbs$5.push('update:' + props_1$5);
1176
1481
  }
1177
- var isExecute$8 = gh ? false : true;
1482
+ var isExecute$10 = gh ? false : true;
1178
1483
  /**
1179
1484
  * Represents the VueJS Tab Component.
1180
1485
  * ```html
@@ -1182,16 +1487,16 @@ var isExecute$8 = gh ? false : true;
1182
1487
  * ```
1183
1488
  */
1184
1489
  var TabComponent = /** @__PURE__ @class */ (function (_super) {
1185
- __extends$8(TabComponent, _super);
1490
+ __extends$10(TabComponent, _super);
1186
1491
  function TabComponent() {
1187
1492
  var _this = _super.call(this, arguments) || this;
1188
- _this.propKeys = properties$4;
1189
- _this.models = modelProps$4;
1493
+ _this.propKeys = properties$5;
1494
+ _this.models = modelProps$5;
1190
1495
  _this.hasChildDirective = true;
1191
1496
  _this.hasInjectedModules = false;
1192
1497
  _this.tagMapper = { "e-tabitems": "e-tabitem" };
1193
1498
  _this.tagNameMapper = { "e-tabitems": "e-items" };
1194
- _this.isVue3 = !isExecute$8;
1499
+ _this.isVue3 = !isExecute$10;
1195
1500
  _this.ej2Instances = new Tab({});
1196
1501
  _this.bindProperties();
1197
1502
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
@@ -1286,10 +1591,10 @@ var TabComponent = /** @__PURE__ @class */ (function (_super) {
1286
1591
  TabComponent.prototype.select = function (args, event) {
1287
1592
  return this.ej2Instances.select(args, event);
1288
1593
  };
1289
- TabComponent = __decorate$8([
1594
+ TabComponent = __decorate$10([
1290
1595
  EJComponentDecorator({
1291
- props: properties$4
1292
- }, isExecute$8)
1596
+ props: properties$5
1597
+ }, isExecute$10)
1293
1598
  ,Options({
1294
1599
  props: props,
1295
1600
  watch: watch,
@@ -1312,7 +1617,7 @@ var TabPlugin = {
1312
1617
  }
1313
1618
  };
1314
1619
 
1315
- var __extends$9 = (undefined && undefined.__extends) || (function () {
1620
+ var __extends$11 = (undefined && undefined.__extends) || (function () {
1316
1621
  var extendStatics = function (d, b) {
1317
1622
  extendStatics = Object.setPrototypeOf ||
1318
1623
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -1325,25 +1630,25 @@ var __extends$9 = (undefined && undefined.__extends) || (function () {
1325
1630
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1326
1631
  };
1327
1632
  })();
1328
- var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1633
+ var __decorate$11 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1329
1634
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1330
1635
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1331
1636
  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
1637
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1333
1638
  };
1334
1639
  // {{VueImport}}
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);
1640
+ 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'];
1641
+ var modelProps$6 = [];
1642
+ var testProp$6 = getProps({ props: properties$6 });
1643
+ var props$6 = testProp$6[0];
1644
+ var watch$6 = testProp$6[1];
1645
+ var emitProbs$6 = Object.keys(watch$6);
1646
+ emitProbs$6.push('modelchanged');
1647
+ for (var _i$6 = 0, modelProps_1$6 = modelProps$6; _i$6 < modelProps_1$6.length; _i$6++) {
1648
+ var props_1$6 = modelProps_1$6[_i$6];
1649
+ emitProbs$6.push('update:' + props_1$6);
1345
1650
  }
1346
- var isExecute$9 = gh ? false : true;
1651
+ var isExecute$11 = gh ? false : true;
1347
1652
  /**
1348
1653
  * Represents the EJ2 VueJS TreeView Component.
1349
1654
  * ```html
@@ -1351,16 +1656,16 @@ var isExecute$9 = gh ? false : true;
1351
1656
  * ```
1352
1657
  */
1353
1658
  var TreeViewComponent = /** @__PURE__ @class */ (function (_super) {
1354
- __extends$9(TreeViewComponent, _super);
1659
+ __extends$11(TreeViewComponent, _super);
1355
1660
  function TreeViewComponent() {
1356
1661
  var _this = _super.call(this, arguments) || this;
1357
- _this.propKeys = properties$5;
1358
- _this.models = modelProps$5;
1662
+ _this.propKeys = properties$6;
1663
+ _this.models = modelProps$6;
1359
1664
  _this.hasChildDirective = false;
1360
1665
  _this.hasInjectedModules = false;
1361
1666
  _this.tagMapper = {};
1362
1667
  _this.tagNameMapper = {};
1363
- _this.isVue3 = !isExecute$9;
1668
+ _this.isVue3 = !isExecute$11;
1364
1669
  _this.ej2Instances = new TreeView({});
1365
1670
  _this.bindProperties();
1366
1671
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
@@ -1479,10 +1784,10 @@ var TreeViewComponent = /** @__PURE__ @class */ (function (_super) {
1479
1784
  TreeViewComponent.prototype.updateNode = function (target, newText) {
1480
1785
  return this.ej2Instances.updateNode(target, newText);
1481
1786
  };
1482
- TreeViewComponent = __decorate$9([
1787
+ TreeViewComponent = __decorate$11([
1483
1788
  EJComponentDecorator({
1484
- props: properties$5
1485
- }, isExecute$9)
1789
+ props: properties$6
1790
+ }, isExecute$11)
1486
1791
  ,Options({
1487
1792
  props: props,
1488
1793
  watch: watch,
@@ -1503,7 +1808,7 @@ var TreeViewPlugin = {
1503
1808
  }
1504
1809
  };
1505
1810
 
1506
- var __extends$10 = (undefined && undefined.__extends) || (function () {
1811
+ var __extends$12 = (undefined && undefined.__extends) || (function () {
1507
1812
  var extendStatics = function (d, b) {
1508
1813
  extendStatics = Object.setPrototypeOf ||
1509
1814
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -1516,25 +1821,25 @@ var __extends$10 = (undefined && undefined.__extends) || (function () {
1516
1821
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1517
1822
  };
1518
1823
  })();
1519
- var __decorate$10 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1824
+ var __decorate$12 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1520
1825
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1521
1826
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1522
1827
  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
1828
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1524
1829
  };
1525
1830
  // {{VueImport}}
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);
1831
+ 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'];
1832
+ var modelProps$7 = ['isOpen'];
1833
+ var testProp$7 = getProps({ props: properties$7 });
1834
+ var props$7 = testProp$7[0];
1835
+ var watch$7 = testProp$7[1];
1836
+ var emitProbs$7 = Object.keys(watch$7);
1837
+ emitProbs$7.push('modelchanged');
1838
+ for (var _i$7 = 0, modelProps_1$7 = modelProps$7; _i$7 < modelProps_1$7.length; _i$7++) {
1839
+ var props_1$7 = modelProps_1$7[_i$7];
1840
+ emitProbs$7.push('update:' + props_1$7);
1536
1841
  }
1537
- var isExecute$10 = gh ? false : true;
1842
+ var isExecute$12 = gh ? false : true;
1538
1843
  /**
1539
1844
  * Represents the Essential JS 2 VueJS Sidebar Component.
1540
1845
  * ```html
@@ -1542,16 +1847,16 @@ var isExecute$10 = gh ? false : true;
1542
1847
  * ```
1543
1848
  */
1544
1849
  var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
1545
- __extends$10(SidebarComponent, _super);
1850
+ __extends$12(SidebarComponent, _super);
1546
1851
  function SidebarComponent() {
1547
1852
  var _this = _super.call(this, arguments) || this;
1548
- _this.propKeys = properties$6;
1549
- _this.models = modelProps$6;
1853
+ _this.propKeys = properties$7;
1854
+ _this.models = modelProps$7;
1550
1855
  _this.hasChildDirective = false;
1551
1856
  _this.hasInjectedModules = false;
1552
1857
  _this.tagMapper = {};
1553
1858
  _this.tagNameMapper = {};
1554
- _this.isVue3 = !isExecute$10;
1859
+ _this.isVue3 = !isExecute$12;
1555
1860
  _this.ej2Instances = new Sidebar({});
1556
1861
  _this.ej2Instances._trigger = _this.ej2Instances.trigger;
1557
1862
  _this.ej2Instances.trigger = _this.trigger;
@@ -1611,16 +1916,17 @@ var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
1611
1916
  }
1612
1917
  };
1613
1918
  SidebarComponent.prototype.trigger = function (eventName, eventProp, successHandler) {
1614
- if (!isExecute$10) {
1919
+ if (!isExecute$12) {
1615
1920
  this.models = !this.models ? this.ej2Instances.referModels : this.models;
1616
1921
  }
1617
1922
  if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
1618
1923
  var key = this.models.toString().match(/checked|value/) || [];
1619
1924
  var propKey = key[0];
1620
1925
  if (eventProp && key && !isUndefined(eventProp[propKey])) {
1621
- if (!isExecute$10) {
1926
+ if (!isExecute$12) {
1622
1927
  this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
1623
1928
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
1929
+ this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
1624
1930
  }
1625
1931
  else {
1626
1932
  if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
@@ -1634,7 +1940,7 @@ var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
1634
1940
  var key = this.models.toString().match(/currentView|selectedDate/) || [];
1635
1941
  var propKey = key[0];
1636
1942
  if (eventProp && key && !isUndefined(eventProp[propKey])) {
1637
- if (!isExecute$10) {
1943
+ if (!isExecute$12) {
1638
1944
  this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
1639
1945
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
1640
1946
  }
@@ -1668,13 +1974,13 @@ var SidebarComponent = /** @__PURE__ @class */ (function (_super) {
1668
1974
  SidebarComponent.prototype.toggle = function () {
1669
1975
  return this.ej2Instances.toggle();
1670
1976
  };
1671
- SidebarComponent = __decorate$10([
1977
+ SidebarComponent = __decorate$12([
1672
1978
  EJComponentDecorator({
1673
- props: properties$6,
1979
+ props: properties$7,
1674
1980
  model: {
1675
1981
  event: 'modelchanged'
1676
1982
  }
1677
- }, isExecute$10)
1983
+ }, isExecute$12)
1678
1984
  ,Options({
1679
1985
  props: props,
1680
1986
  watch: watch,
@@ -1695,7 +2001,7 @@ var SidebarPlugin = {
1695
2001
  }
1696
2002
  };
1697
2003
 
1698
- var __extends$11 = (undefined && undefined.__extends) || (function () {
2004
+ var __extends$13 = (undefined && undefined.__extends) || (function () {
1699
2005
  var extendStatics = function (d, b) {
1700
2006
  extendStatics = Object.setPrototypeOf ||
1701
2007
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -1708,23 +2014,23 @@ var __extends$11 = (undefined && undefined.__extends) || (function () {
1708
2014
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1709
2015
  };
1710
2016
  })();
1711
- var __decorate$11 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
2017
+ var __decorate$13 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1712
2018
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1713
2019
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1714
2020
  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
2021
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1716
2022
  };
1717
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
+ var isExecute$13 = gh ? false : true;
2025
+ var vueImport$5;
2026
+ if (!isExecute$13 || parseInt(allVue.version) < 3) {
2027
+ vueImport$5 = Vue;
1722
2028
  }
1723
2029
  else {
1724
- vueImport$4 = Vue$1;
2030
+ vueImport$5 = Vue$1;
1725
2031
  }
1726
2032
  var MenuItemsDirective = /** @__PURE__ @class */ (function (_super) {
1727
- __extends$11(MenuItemsDirective, _super);
2033
+ __extends$13(MenuItemsDirective, _super);
1728
2034
  function MenuItemsDirective() {
1729
2035
  return _super.call(this, arguments) || this;
1730
2036
  }
@@ -1747,8 +2053,8 @@ var MenuItemsDirective = /** @__PURE__ @class */ (function (_super) {
1747
2053
  MenuItemsDirective.prototype.getTag = function () {
1748
2054
  return 'e-menu-items';
1749
2055
  };
1750
- MenuItemsDirective = __decorate$11([
1751
- EJComponentDecorator({}, isExecute$11)
2056
+ MenuItemsDirective = __decorate$13([
2057
+ EJComponentDecorator({}, isExecute$13)
1752
2058
  ,Options({
1753
2059
  inject: {
1754
2060
  custom: {
@@ -1758,7 +2064,7 @@ var MenuItemsDirective = /** @__PURE__ @class */ (function (_super) {
1758
2064
  })
1759
2065
  ], MenuItemsDirective);
1760
2066
  return MenuItemsDirective;
1761
- }(vueImport$4));
2067
+ }(vueImport$5));
1762
2068
  var MenuItemsPlugin = {
1763
2069
  name: 'e-menu-items',
1764
2070
  install: function (Vue$$1) {
@@ -1766,7 +2072,7 @@ var MenuItemsPlugin = {
1766
2072
  }
1767
2073
  };
1768
2074
  var MenuItemDirective = /** @__PURE__ @class */ (function (_super) {
1769
- __extends$11(MenuItemDirective, _super);
2075
+ __extends$13(MenuItemDirective, _super);
1770
2076
  function MenuItemDirective() {
1771
2077
  return _super !== null && _super.apply(this, arguments) || this;
1772
2078
  }
@@ -1776,11 +2082,11 @@ var MenuItemDirective = /** @__PURE__ @class */ (function (_super) {
1776
2082
  MenuItemDirective.prototype.getTag = function () {
1777
2083
  return 'e-';
1778
2084
  };
1779
- MenuItemDirective = __decorate$11([
1780
- EJComponentDecorator({}, isExecute$11)
2085
+ MenuItemDirective = __decorate$13([
2086
+ EJComponentDecorator({}, isExecute$13)
1781
2087
  ], MenuItemDirective);
1782
2088
  return MenuItemDirective;
1783
- }(vueImport$4));
2089
+ }(vueImport$5));
1784
2090
  var MenuItemPlugin = {
1785
2091
  name: 'e-',
1786
2092
  install: function (Vue$$1) {
@@ -1788,7 +2094,7 @@ var MenuItemPlugin = {
1788
2094
  }
1789
2095
  };
1790
2096
 
1791
- var __extends$12 = (undefined && undefined.__extends) || (function () {
2097
+ var __extends$14 = (undefined && undefined.__extends) || (function () {
1792
2098
  var extendStatics = function (d, b) {
1793
2099
  extendStatics = Object.setPrototypeOf ||
1794
2100
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -1801,25 +2107,25 @@ var __extends$12 = (undefined && undefined.__extends) || (function () {
1801
2107
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1802
2108
  };
1803
2109
  })();
1804
- var __decorate$12 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
2110
+ var __decorate$14 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1805
2111
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1806
2112
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1807
2113
  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
2114
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1809
2115
  };
1810
2116
  // {{VueImport}}
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);
2117
+ 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'];
2118
+ var modelProps$8 = [];
2119
+ var testProp$8 = getProps({ props: properties$8 });
2120
+ var props$8 = testProp$8[0];
2121
+ var watch$8 = testProp$8[1];
2122
+ var emitProbs$8 = Object.keys(watch$8);
2123
+ emitProbs$8.push('modelchanged');
2124
+ for (var _i$8 = 0, modelProps_1$8 = modelProps$8; _i$8 < modelProps_1$8.length; _i$8++) {
2125
+ var props_1$8 = modelProps_1$8[_i$8];
2126
+ emitProbs$8.push('update:' + props_1$8);
1821
2127
  }
1822
- var isExecute$12 = gh ? false : true;
2128
+ var isExecute$14 = gh ? false : true;
1823
2129
  /**
1824
2130
  * Represents the Essential JS 2 VueJS Menu Component.
1825
2131
  * ```html
@@ -1827,16 +2133,16 @@ var isExecute$12 = gh ? false : true;
1827
2133
  * ```
1828
2134
  */
1829
2135
  var MenuComponent = /** @__PURE__ @class */ (function (_super) {
1830
- __extends$12(MenuComponent, _super);
2136
+ __extends$14(MenuComponent, _super);
1831
2137
  function MenuComponent() {
1832
2138
  var _this = _super.call(this, arguments) || this;
1833
- _this.propKeys = properties$7;
1834
- _this.models = modelProps$7;
2139
+ _this.propKeys = properties$8;
2140
+ _this.models = modelProps$8;
1835
2141
  _this.hasChildDirective = true;
1836
2142
  _this.hasInjectedModules = false;
1837
2143
  _this.tagMapper = { "e-menu-items": "e-" };
1838
2144
  _this.tagNameMapper = { "e-menu-items": "e-items" };
1839
- _this.isVue3 = !isExecute$12;
2145
+ _this.isVue3 = !isExecute$14;
1840
2146
  _this.ej2Instances = new Menu({});
1841
2147
  _this.bindProperties();
1842
2148
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
@@ -1934,10 +2240,10 @@ var MenuComponent = /** @__PURE__ @class */ (function (_super) {
1934
2240
  MenuComponent.prototype.showItems = function (items, isUniqueId) {
1935
2241
  return this.ej2Instances.showItems(items, isUniqueId);
1936
2242
  };
1937
- MenuComponent = __decorate$12([
2243
+ MenuComponent = __decorate$14([
1938
2244
  EJComponentDecorator({
1939
- props: properties$7
1940
- }, isExecute$12)
2245
+ props: properties$8
2246
+ }, isExecute$14)
1941
2247
  ,Options({
1942
2248
  props: props,
1943
2249
  watch: watch,
@@ -1960,6 +2266,6 @@ var MenuPlugin = {
1960
2266
  }
1961
2267
  };
1962
2268
 
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 };
2269
+ 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
2270
  export * from '@syncfusion/ej2-navigations';
1965
2271
  //# sourceMappingURL=ej2-vue-navigations.es5.js.map