@syncfusion/ej2-vue-navigations 19.4.53 → 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.
Files changed (255) hide show
  1. package/CHANGELOG.md +35 -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 +1 -1
  6. package/dist/es6/ej2-vue-navigations.es2015.js +669 -116
  7. package/dist/es6/ej2-vue-navigations.es2015.js.map +1 -1
  8. package/dist/es6/ej2-vue-navigations.es5.js +608 -129
  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 -9
  12. package/src/accordion/accordion.component.d.ts +2 -1
  13. package/src/accordion/accordion.component.js +11 -2
  14. package/src/accordion/items.directive.d.ts +3 -1
  15. package/src/accordion/items.directive.js +24 -2
  16. package/src/breadcrumb/breadcrumb.component.d.ts +1 -0
  17. package/src/breadcrumb/breadcrumb.component.js +10 -1
  18. package/src/breadcrumb/items.directive.d.ts +3 -1
  19. package/src/breadcrumb/items.directive.js +24 -2
  20. package/src/carousel/carousel.component.d.ts +43 -0
  21. package/src/carousel/carousel.component.js +202 -0
  22. package/src/carousel/index.d.ts +2 -0
  23. package/src/carousel/index.js +2 -0
  24. package/src/carousel/items.directive.d.ts +33 -0
  25. package/src/carousel/items.directive.js +110 -0
  26. package/src/context-menu/contextmenu.component.d.ts +1 -0
  27. package/src/context-menu/contextmenu.component.js +10 -1
  28. package/src/index.d.ts +2 -0
  29. package/src/index.js +2 -0
  30. package/src/menu/items.directive.d.ts +3 -1
  31. package/src/menu/items.directive.js +24 -2
  32. package/src/menu/menu.component.d.ts +1 -0
  33. package/src/menu/menu.component.js +10 -1
  34. package/src/sidebar/sidebar.component.d.ts +1 -0
  35. package/src/sidebar/sidebar.component.js +10 -1
  36. package/src/tab/items.directive.d.ts +3 -1
  37. package/src/tab/items.directive.js +24 -2
  38. package/src/tab/tab.component.d.ts +1 -0
  39. package/src/tab/tab.component.js +10 -1
  40. package/src/toolbar/items.directive.d.ts +3 -1
  41. package/src/toolbar/items.directive.js +24 -2
  42. package/src/toolbar/toolbar.component.d.ts +1 -0
  43. package/src/toolbar/toolbar.component.js +10 -1
  44. package/src/treeview/treeview.component.d.ts +1 -0
  45. package/src/treeview/treeview.component.js +10 -1
  46. package/styles/accordion/bootstrap-dark.css +48 -63
  47. package/styles/accordion/bootstrap.css +48 -63
  48. package/styles/accordion/bootstrap4.css +48 -63
  49. package/styles/accordion/bootstrap5-dark.css +51 -66
  50. package/styles/accordion/bootstrap5.css +51 -66
  51. package/styles/accordion/fabric-dark.css +50 -65
  52. package/styles/accordion/fabric.css +50 -65
  53. package/styles/accordion/fluent-dark.css +395 -0
  54. package/styles/accordion/fluent-dark.scss +1 -0
  55. package/styles/accordion/fluent.css +395 -0
  56. package/styles/accordion/fluent.scss +1 -0
  57. package/styles/accordion/highcontrast-light.css +49 -64
  58. package/styles/accordion/highcontrast.css +49 -64
  59. package/styles/accordion/material-dark.css +49 -64
  60. package/styles/accordion/material.css +49 -64
  61. package/styles/accordion/tailwind-dark.css +52 -67
  62. package/styles/accordion/tailwind.css +52 -67
  63. package/styles/bootstrap-dark.css +310 -69
  64. package/styles/bootstrap-dark.scss +1 -0
  65. package/styles/bootstrap.css +310 -69
  66. package/styles/bootstrap.scss +1 -0
  67. package/styles/bootstrap4.css +310 -69
  68. package/styles/bootstrap4.scss +1 -0
  69. package/styles/bootstrap5-dark.css +415 -171
  70. package/styles/bootstrap5-dark.scss +1 -0
  71. package/styles/bootstrap5.css +415 -171
  72. package/styles/bootstrap5.scss +1 -0
  73. package/styles/breadcrumb/bootstrap-dark.css +10 -2
  74. package/styles/breadcrumb/bootstrap.css +10 -2
  75. package/styles/breadcrumb/bootstrap4.css +10 -2
  76. package/styles/breadcrumb/bootstrap5-dark.css +12 -4
  77. package/styles/breadcrumb/bootstrap5.css +12 -4
  78. package/styles/breadcrumb/fabric-dark.css +10 -4
  79. package/styles/breadcrumb/fabric.css +10 -4
  80. package/styles/breadcrumb/fluent-dark.css +444 -0
  81. package/styles/breadcrumb/fluent-dark.scss +1 -0
  82. package/styles/breadcrumb/fluent.css +444 -0
  83. package/styles/breadcrumb/fluent.scss +1 -0
  84. package/styles/breadcrumb/highcontrast-light.css +10 -4
  85. package/styles/breadcrumb/highcontrast.css +10 -4
  86. package/styles/breadcrumb/material-dark.css +10 -2
  87. package/styles/breadcrumb/material.css +10 -2
  88. package/styles/breadcrumb/tailwind-dark.css +21 -4
  89. package/styles/breadcrumb/tailwind.css +27 -10
  90. package/styles/carousel/bootstrap-dark.css +236 -0
  91. package/styles/carousel/bootstrap-dark.scss +1 -0
  92. package/styles/carousel/bootstrap.css +236 -0
  93. package/styles/carousel/bootstrap.scss +1 -0
  94. package/styles/carousel/bootstrap4.css +236 -0
  95. package/styles/carousel/bootstrap4.scss +1 -0
  96. package/styles/carousel/bootstrap5-dark.css +236 -0
  97. package/styles/carousel/bootstrap5-dark.scss +1 -0
  98. package/styles/carousel/bootstrap5.css +236 -0
  99. package/styles/carousel/bootstrap5.scss +1 -0
  100. package/styles/carousel/fabric-dark.css +236 -0
  101. package/styles/carousel/fabric-dark.scss +1 -0
  102. package/styles/carousel/fabric.css +236 -0
  103. package/styles/carousel/fabric.scss +1 -0
  104. package/styles/carousel/fluent-dark.css +236 -0
  105. package/styles/carousel/fluent-dark.scss +1 -0
  106. package/styles/carousel/fluent.css +236 -0
  107. package/styles/carousel/fluent.scss +1 -0
  108. package/styles/carousel/highcontrast-light.css +236 -0
  109. package/styles/carousel/highcontrast-light.scss +1 -0
  110. package/styles/carousel/highcontrast.css +236 -0
  111. package/styles/carousel/highcontrast.scss +1 -0
  112. package/styles/carousel/material-dark.css +237 -0
  113. package/styles/carousel/material-dark.scss +1 -0
  114. package/styles/carousel/material.css +237 -0
  115. package/styles/carousel/material.scss +1 -0
  116. package/styles/carousel/tailwind-dark.css +237 -0
  117. package/styles/carousel/tailwind-dark.scss +1 -0
  118. package/styles/carousel/tailwind.css +237 -0
  119. package/styles/carousel/tailwind.scss +1 -0
  120. package/styles/context-menu/bootstrap-dark.css +5 -0
  121. package/styles/context-menu/bootstrap.css +5 -0
  122. package/styles/context-menu/bootstrap4.css +5 -0
  123. package/styles/context-menu/bootstrap5-dark.css +16 -8
  124. package/styles/context-menu/bootstrap5.css +16 -8
  125. package/styles/context-menu/fabric-dark.css +5 -0
  126. package/styles/context-menu/fabric.css +5 -0
  127. package/styles/context-menu/fluent-dark.css +388 -0
  128. package/styles/context-menu/fluent-dark.scss +1 -0
  129. package/styles/context-menu/fluent.css +388 -0
  130. package/styles/context-menu/fluent.scss +1 -0
  131. package/styles/context-menu/highcontrast-light.css +5 -0
  132. package/styles/context-menu/highcontrast.css +5 -0
  133. package/styles/context-menu/material-dark.css +5 -0
  134. package/styles/context-menu/material.css +5 -0
  135. package/styles/context-menu/tailwind-dark.css +11 -4
  136. package/styles/context-menu/tailwind.css +11 -4
  137. package/styles/fabric-dark.css +312 -73
  138. package/styles/fabric-dark.scss +1 -0
  139. package/styles/fabric.css +312 -73
  140. package/styles/fabric.scss +1 -0
  141. package/styles/fluent-dark.css +10263 -0
  142. package/styles/fluent-dark.scss +11 -0
  143. package/styles/fluent.css +10263 -0
  144. package/styles/fluent.scss +11 -0
  145. package/styles/h-scroll/bootstrap-dark.css +0 -1
  146. package/styles/h-scroll/bootstrap.css +0 -1
  147. package/styles/h-scroll/bootstrap4.css +0 -1
  148. package/styles/h-scroll/bootstrap5-dark.css +10 -11
  149. package/styles/h-scroll/bootstrap5.css +10 -11
  150. package/styles/h-scroll/fabric-dark.css +0 -1
  151. package/styles/h-scroll/fabric.css +0 -1
  152. package/styles/h-scroll/fluent-dark.css +326 -0
  153. package/styles/h-scroll/fluent-dark.scss +1 -0
  154. package/styles/h-scroll/fluent.css +326 -0
  155. package/styles/h-scroll/fluent.scss +1 -0
  156. package/styles/h-scroll/highcontrast-light.css +0 -1
  157. package/styles/h-scroll/highcontrast.css +0 -1
  158. package/styles/h-scroll/material-dark.css +3 -4
  159. package/styles/h-scroll/material.css +0 -1
  160. package/styles/h-scroll/tailwind-dark.css +8 -9
  161. package/styles/h-scroll/tailwind.css +8 -9
  162. package/styles/highcontrast-light.css +311 -72
  163. package/styles/highcontrast-light.scss +1 -0
  164. package/styles/highcontrast.css +312 -73
  165. package/styles/highcontrast.scss +1 -0
  166. package/styles/material-dark.css +314 -73
  167. package/styles/material-dark.scss +1 -0
  168. package/styles/material.css +311 -70
  169. package/styles/material.scss +1 -0
  170. package/styles/menu/bootstrap-dark.css +1 -2
  171. package/styles/menu/bootstrap.css +1 -2
  172. package/styles/menu/bootstrap4.css +1 -2
  173. package/styles/menu/bootstrap5-dark.css +23 -24
  174. package/styles/menu/bootstrap5.css +23 -24
  175. package/styles/menu/fabric-dark.css +1 -2
  176. package/styles/menu/fabric.css +1 -2
  177. package/styles/menu/fluent-dark.css +1261 -0
  178. package/styles/menu/fluent-dark.scss +1 -0
  179. package/styles/menu/fluent.css +1261 -0
  180. package/styles/menu/fluent.scss +1 -0
  181. package/styles/menu/highcontrast-light.css +1 -2
  182. package/styles/menu/highcontrast.css +1 -2
  183. package/styles/menu/material-dark.css +1 -2
  184. package/styles/menu/material.css +1 -2
  185. package/styles/menu/tailwind-dark.css +18 -18
  186. package/styles/menu/tailwind.css +18 -18
  187. package/styles/sidebar/bootstrap-dark.css +4 -0
  188. package/styles/sidebar/bootstrap.css +4 -0
  189. package/styles/sidebar/bootstrap4.css +4 -0
  190. package/styles/sidebar/bootstrap5-dark.css +4 -0
  191. package/styles/sidebar/bootstrap5.css +4 -0
  192. package/styles/sidebar/fabric-dark.css +4 -0
  193. package/styles/sidebar/fabric.css +4 -0
  194. package/styles/sidebar/fluent-dark.css +158 -0
  195. package/styles/sidebar/fluent-dark.scss +1 -0
  196. package/styles/sidebar/fluent.css +158 -0
  197. package/styles/sidebar/fluent.scss +1 -0
  198. package/styles/sidebar/highcontrast-light.css +4 -0
  199. package/styles/sidebar/highcontrast.css +4 -0
  200. package/styles/sidebar/material-dark.css +4 -0
  201. package/styles/sidebar/material.css +4 -0
  202. package/styles/sidebar/tailwind-dark.css +4 -0
  203. package/styles/sidebar/tailwind.css +4 -0
  204. package/styles/tab/bootstrap-dark.css +1 -1
  205. package/styles/tab/bootstrap.css +1 -1
  206. package/styles/tab/bootstrap4.css +1 -1
  207. package/styles/tab/bootstrap5-dark.css +23 -23
  208. package/styles/tab/bootstrap5.css +23 -23
  209. package/styles/tab/fabric-dark.css +1 -1
  210. package/styles/tab/fabric.css +1 -1
  211. package/styles/tab/fluent-dark.css +4394 -0
  212. package/styles/tab/fluent-dark.scss +1 -0
  213. package/styles/tab/fluent.css +4394 -0
  214. package/styles/tab/fluent.scss +1 -0
  215. package/styles/tab/highcontrast-light.css +1 -1
  216. package/styles/tab/highcontrast.css +2 -2
  217. package/styles/tab/material-dark.css +1 -1
  218. package/styles/tab/material.css +1 -1
  219. package/styles/tab/tailwind-dark.css +43 -45
  220. package/styles/tab/tailwind.css +43 -45
  221. package/styles/tailwind-dark.css +422 -171
  222. package/styles/tailwind-dark.scss +1 -0
  223. package/styles/tailwind.css +428 -177
  224. package/styles/tailwind.scss +1 -0
  225. package/styles/toolbar/bootstrap-dark.css +4 -0
  226. package/styles/toolbar/bootstrap.css +4 -0
  227. package/styles/toolbar/bootstrap4.css +4 -0
  228. package/styles/toolbar/bootstrap5-dark.css +35 -31
  229. package/styles/toolbar/bootstrap5.css +35 -31
  230. package/styles/toolbar/fabric-dark.css +4 -0
  231. package/styles/toolbar/fabric.css +4 -0
  232. package/styles/toolbar/fluent-dark.css +1365 -0
  233. package/styles/toolbar/fluent-dark.scss +1 -0
  234. package/styles/toolbar/fluent.css +1365 -0
  235. package/styles/toolbar/fluent.scss +1 -0
  236. package/styles/toolbar/highcontrast-light.css +4 -0
  237. package/styles/toolbar/highcontrast.css +4 -0
  238. package/styles/toolbar/material-dark.css +4 -0
  239. package/styles/toolbar/material.css +4 -0
  240. package/styles/toolbar/tailwind-dark.css +10 -6
  241. package/styles/toolbar/tailwind.css +10 -6
  242. package/styles/treeview/bootstrap5-dark.css +4 -4
  243. package/styles/treeview/bootstrap5.css +4 -4
  244. package/styles/treeview/fluent-dark.css +1039 -0
  245. package/styles/treeview/fluent-dark.scss +1 -0
  246. package/styles/treeview/fluent.css +1039 -0
  247. package/styles/treeview/fluent.scss +1 -0
  248. package/styles/treeview/tailwind-dark.css +13 -14
  249. package/styles/treeview/tailwind.css +13 -14
  250. package/styles/v-scroll/fluent-dark.css +247 -0
  251. package/styles/v-scroll/fluent-dark.scss +1 -0
  252. package/styles/v-scroll/fluent.css +247 -0
  253. package/styles/v-scroll/fluent.scss +1 -0
  254. package/styles/v-scroll/tailwind-dark.css +4 -4
  255. package/styles/v-scroll/tailwind.css +4 -4
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-vue-navigations@*",
3
- "_id": "@syncfusion/ej2-vue-navigations@19.4.52",
3
+ "_id": "@syncfusion/ej2-vue-navigations@19.25.1",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-y2Fg4/1HFYWN1+AK+HuhwBRWUm/Q5igBcTjAWI4ZFnUDPp8a9sDYWpcpwleCV808i3Z/gfpPSqQJ4oW2w4pB8Q==",
5
+ "_integrity": "sha512-QKYLEaXKvuRODQdOugdrve2xBhO/6nHC8DgOgpXh6RYaBEVPV+ZXs3OyOf24qIUBg2HLykDWWqckM5t1m9zWLQ==",
6
6
  "_location": "/@syncfusion/ej2-vue-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,8 +19,8 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-navigations/-/ej2-vue-navigations-19.4.52.tgz",
23
- "_shasum": "5bb1e6f40eca434c36a1bbc2dc67459c93646175",
22
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-navigations/-/ej2-vue-navigations-19.25.1.tgz",
23
+ "_shasum": "c52c458cd24f7f714693ef54e7ff9e5de5a18e95",
24
24
  "_spec": "@syncfusion/ej2-vue-navigations@*",
25
25
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
26
26
  "author": {
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~19.4.52",
35
- "@syncfusion/ej2-navigations": "19.4.53",
36
- "@syncfusion/ej2-vue-base": "~19.4.53"
34
+ "@syncfusion/ej2-base": "~20.1.47",
35
+ "@syncfusion/ej2-navigations": "20.1.47",
36
+ "@syncfusion/ej2-vue-base": "~20.1.47"
37
37
  },
38
38
  "deprecated": false,
39
39
  "description": "A package of Essential JS 2 navigation components such as Tree-view, Tab, Toolbar, Context-menu, and Accordion which is used to navigate from one page to another for Vue",
@@ -141,6 +141,7 @@
141
141
  "accordion tree",
142
142
  "tree node template",
143
143
  "tree multi selection",
144
+ "carousel",
144
145
  "vue",
145
146
  "ej2-vue-navigations",
146
147
  " vue-navigations",
@@ -153,7 +154,8 @@
153
154
  "vue tree component",
154
155
  "vue menu",
155
156
  "vue menu component",
156
- "vue breadcrumb"
157
+ "vue breadcrumb",
158
+ "vue carousel"
157
159
  ],
158
160
  "license": "SEE LICENSE IN license",
159
161
  "main": "./dist/ej2-vue-navigations.umd.min.js",
@@ -163,6 +165,6 @@
163
165
  "type": "git",
164
166
  "url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
165
167
  },
166
- "version": "19.4.53",
168
+ "version": "20.1.47",
167
169
  "sideEffects": false
168
170
  }
@@ -7,7 +7,7 @@ export declare const watch: any;
7
7
  export declare const emitProbs: any;
8
8
  export declare const isExecute: any;
9
9
  /**
10
- * Represents the VueJS Accoridon Component.
10
+ * Represents the VueJS Accordion Component.
11
11
  * ```html
12
12
  * <ejs-accordion></ejs-accordion>
13
13
  * ```
@@ -31,6 +31,7 @@ export declare class AccordionComponent extends ComponentBase {
31
31
  [key: string]: Object;
32
32
  }, successHandler?: Function): void;
33
33
  render(createElement: any): any;
34
+ custom(): void;
34
35
  addItem(item: Object | Object[] | Object | Object[], index?: number): void;
35
36
  enableItem(index: number, isEnable: boolean): void;
36
37
  expandItem(isExpand: boolean, index?: number): void;
@@ -36,7 +36,7 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
36
36
  }
37
37
  export var isExecute = gh ? false : true;
38
38
  /**
39
- * Represents the VueJS Accoridon Component.
39
+ * Represents the VueJS Accordion Component.
40
40
  * ```html
41
41
  * <ejs-accordion></ejs-accordion>
42
42
  * ```
@@ -59,6 +59,7 @@ var AccordionComponent = /** @class */ (function (_super) {
59
59
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
60
60
  _this.ej2Instances.setProperties = _this.setProperties;
61
61
  _this.ej2Instances.clearTemplate = _this.clearTemplate;
62
+ _this.updated = _this.updated;
62
63
  return _this;
63
64
  }
64
65
  AccordionComponent.prototype.clearTemplate = function (templateNames) {
@@ -155,6 +156,9 @@ var AccordionComponent = /** @class */ (function (_super) {
155
156
  }
156
157
  return h('div', slots);
157
158
  };
159
+ AccordionComponent.prototype.custom = function () {
160
+ this.updated();
161
+ };
158
162
  AccordionComponent.prototype.addItem = function (item, index) {
159
163
  return this.ej2Instances.addItem(item, index);
160
164
  };
@@ -183,7 +187,12 @@ var AccordionComponent = /** @class */ (function (_super) {
183
187
  ,Options({
184
188
  props: props,
185
189
  watch: watch,
186
- emits: emitProbs
190
+ emits: emitProbs,
191
+ provide: function provide() {
192
+ return {
193
+ custom: this.custom
194
+ };
195
+ }
187
196
  })
188
197
  ], AccordionComponent);
189
198
  return AccordionComponent;
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class AccordionItemsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const AccordionItemsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var AccordionItemsDirective = /** @class */ (function (_super) {
32
34
  __extends(AccordionItemsDirective, _super);
33
35
  function AccordionItemsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- AccordionItemsDirective.prototype.render = function () {
38
+ AccordionItemsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ AccordionItemsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  AccordionItemsDirective.prototype.getTag = function () {
40
55
  return 'e-accordionitems';
41
56
  };
42
57
  AccordionItemsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], AccordionItemsDirective);
45
67
  return AccordionItemsDirective;
46
68
  }(vueImport));
@@ -31,6 +31,7 @@ export declare class BreadcrumbComponent extends ComponentBase {
31
31
  [key: string]: Object;
32
32
  }, successHandler?: Function): void;
33
33
  render(createElement: any): any;
34
+ custom(): void;
34
35
  }
35
36
  export declare const BreadcrumbPlugin: {
36
37
  name: string;
@@ -59,6 +59,7 @@ var BreadcrumbComponent = /** @class */ (function (_super) {
59
59
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
60
60
  _this.ej2Instances.setProperties = _this.setProperties;
61
61
  _this.ej2Instances.clearTemplate = _this.clearTemplate;
62
+ _this.updated = _this.updated;
62
63
  return _this;
63
64
  }
64
65
  BreadcrumbComponent.prototype.clearTemplate = function (templateNames) {
@@ -155,6 +156,9 @@ var BreadcrumbComponent = /** @class */ (function (_super) {
155
156
  }
156
157
  return h('nav', slots);
157
158
  };
159
+ BreadcrumbComponent.prototype.custom = function () {
160
+ this.updated();
161
+ };
158
162
  BreadcrumbComponent = __decorate([
159
163
  EJComponentDecorator({
160
164
  props: properties,
@@ -165,7 +169,12 @@ var BreadcrumbComponent = /** @class */ (function (_super) {
165
169
  ,Options({
166
170
  props: props,
167
171
  watch: watch,
168
- emits: emitProbs
172
+ emits: emitProbs,
173
+ provide: function provide() {
174
+ return {
175
+ custom: this.custom
176
+ };
177
+ }
169
178
  })
170
179
  ], BreadcrumbComponent);
171
180
  return BreadcrumbComponent;
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class BreadcrumbItemsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const BreadcrumbItemsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var BreadcrumbItemsDirective = /** @class */ (function (_super) {
32
34
  __extends(BreadcrumbItemsDirective, _super);
33
35
  function BreadcrumbItemsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- BreadcrumbItemsDirective.prototype.render = function () {
38
+ BreadcrumbItemsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ BreadcrumbItemsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  BreadcrumbItemsDirective.prototype.getTag = function () {
40
55
  return 'e-breadcrumb-items';
41
56
  };
42
57
  BreadcrumbItemsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], BreadcrumbItemsDirective);
45
67
  return BreadcrumbItemsDirective;
46
68
  }(vueImport));
@@ -0,0 +1,43 @@
1
+ import { ComponentBase } from '@syncfusion/ej2-vue-base';
2
+ export declare const properties: string[];
3
+ export declare const modelProps: string[];
4
+ export declare const testProp: any;
5
+ export declare const props: any;
6
+ export declare const watch: any;
7
+ export declare const emitProbs: any;
8
+ export declare const isExecute: any;
9
+ /**
10
+ * Represents the VueJS Carousel Component.
11
+ * ```html
12
+ * <ejs-carousel :items='carouselItems'></ejs-carousel>
13
+ * ```
14
+ */
15
+ export declare class CarouselComponent extends ComponentBase {
16
+ ej2Instances: any;
17
+ propKeys: string[];
18
+ models: string[];
19
+ hasChildDirective: boolean;
20
+ protected hasInjectedModules: boolean;
21
+ tagMapper: {
22
+ [key: string]: Object;
23
+ };
24
+ tagNameMapper: Object;
25
+ isVue3: boolean;
26
+ templateCollection: any;
27
+ constructor();
28
+ clearTemplate(templateNames?: string[]): any;
29
+ setProperties(prop: any, muteOnChange: boolean): void;
30
+ trigger(eventName: string, eventProp: {
31
+ [key: string]: Object;
32
+ }, successHandler?: Function): void;
33
+ render(createElement: any): any;
34
+ custom(): void;
35
+ next(): void;
36
+ pause(): void;
37
+ play(): void;
38
+ prev(): void;
39
+ }
40
+ export declare const CarouselPlugin: {
41
+ name: string;
42
+ install(Vue: any): void;
43
+ };
@@ -0,0 +1,202 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ 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;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
+ import { isUndefined } from '@syncfusion/ej2-base';
21
+ import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
22
+ import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
23
+ import { Carousel } from '@syncfusion/ej2-navigations';
24
+ import { CarouselItemsDirective, CarouselItemDirective, CarouselItemsPlugin, CarouselItemPlugin } from './items.directive';
25
+ import { Options } from 'vue-class-component';
26
+ export var properties = ['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'];
27
+ export var modelProps = ['selectedIndex'];
28
+ export var testProp = getProps({ props: properties });
29
+ export var props = testProp[0];
30
+ export var watch = testProp[1];
31
+ export var emitProbs = Object.keys(watch);
32
+ emitProbs.push('modelchanged');
33
+ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
34
+ var props_1 = modelProps_1[_i];
35
+ emitProbs.push('update:' + props_1);
36
+ }
37
+ export var isExecute = gh ? false : true;
38
+ /**
39
+ * Represents the VueJS Carousel Component.
40
+ * ```html
41
+ * <ejs-carousel :items='carouselItems'></ejs-carousel>
42
+ * ```
43
+ */
44
+ var CarouselComponent = /** @class */ (function (_super) {
45
+ __extends(CarouselComponent, _super);
46
+ function CarouselComponent() {
47
+ var _this = _super.call(this, arguments) || this;
48
+ _this.propKeys = properties;
49
+ _this.models = modelProps;
50
+ _this.hasChildDirective = true;
51
+ _this.hasInjectedModules = false;
52
+ _this.tagMapper = { "e-carousel-items": "e-carousel-item" };
53
+ _this.tagNameMapper = { "e-carousel-items": "e-items" };
54
+ _this.isVue3 = !isExecute;
55
+ _this.ej2Instances = new Carousel({});
56
+ _this.ej2Instances._trigger = _this.ej2Instances.trigger;
57
+ _this.ej2Instances.trigger = _this.trigger;
58
+ _this.bindProperties();
59
+ _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
60
+ _this.ej2Instances.setProperties = _this.setProperties;
61
+ _this.ej2Instances.clearTemplate = _this.clearTemplate;
62
+ _this.updated = _this.updated;
63
+ return _this;
64
+ }
65
+ CarouselComponent.prototype.clearTemplate = function (templateNames) {
66
+ if (!templateNames) {
67
+ templateNames = Object.keys(this.templateCollection || {});
68
+ }
69
+ if (templateNames.length && this.templateCollection) {
70
+ for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
71
+ var tempName = templateNames_1[_i];
72
+ var elementCollection = this.templateCollection[tempName];
73
+ if (elementCollection && elementCollection.length) {
74
+ for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
75
+ var ele = elementCollection_1[_a];
76
+ var destroy = getValue('__vue__.$destroy', ele);
77
+ if (destroy) {
78
+ ele.__vue__.$destroy();
79
+ }
80
+ if (ele.innerHTML) {
81
+ ele.innerHTML = '';
82
+ }
83
+ }
84
+ delete this.templateCollection[tempName];
85
+ }
86
+ }
87
+ }
88
+ };
89
+ CarouselComponent.prototype.setProperties = function (prop, muteOnChange) {
90
+ var _this = this;
91
+ if (this.isVue3) {
92
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
93
+ }
94
+ if (this.ej2Instances && this.ej2Instances._setProperties) {
95
+ this.ej2Instances._setProperties(prop, muteOnChange);
96
+ }
97
+ if (prop && this.models && this.models.length) {
98
+ Object.keys(prop).map(function (key) {
99
+ _this.models.map(function (model) {
100
+ if ((key === model) && !(/datasource/i.test(key))) {
101
+ if (_this.isVue3) {
102
+ _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
103
+ }
104
+ else {
105
+ _this.$emit('update:' + key, prop[key]);
106
+ _this.$emit('modelchanged', prop[key]);
107
+ }
108
+ }
109
+ });
110
+ });
111
+ }
112
+ };
113
+ CarouselComponent.prototype.trigger = function (eventName, eventProp, successHandler) {
114
+ if (!isExecute) {
115
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
116
+ }
117
+ if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
118
+ var key = this.models.toString().match(/checked|value/) || [];
119
+ var propKey = key[0];
120
+ if (eventProp && key && !isUndefined(eventProp[propKey])) {
121
+ if (!isExecute) {
122
+ this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
123
+ this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
124
+ }
125
+ else {
126
+ if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
127
+ this.$emit('update:' + propKey, eventProp[propKey]);
128
+ this.$emit('modelchanged', eventProp[propKey]);
129
+ }
130
+ }
131
+ }
132
+ }
133
+ else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
134
+ var key = this.models.toString().match(/currentView|selectedDate/) || [];
135
+ var propKey = key[0];
136
+ if (eventProp && key && !isUndefined(eventProp[propKey])) {
137
+ if (!isExecute) {
138
+ this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
139
+ this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
140
+ }
141
+ else {
142
+ this.$emit('update:' + propKey, eventProp[propKey]);
143
+ this.$emit('modelchanged', eventProp[propKey]);
144
+ }
145
+ }
146
+ }
147
+ if ((this.ej2Instances && this.ej2Instances._trigger)) {
148
+ this.ej2Instances._trigger(eventName, eventProp, successHandler);
149
+ }
150
+ };
151
+ CarouselComponent.prototype.render = function (createElement) {
152
+ var h = gh || createElement;
153
+ var slots = null;
154
+ if (!isNullOrUndefined(this.$slots.default)) {
155
+ slots = gh ? this.$slots.default() : this.$slots.default;
156
+ }
157
+ return h('div', slots);
158
+ };
159
+ CarouselComponent.prototype.custom = function () {
160
+ this.updated();
161
+ };
162
+ CarouselComponent.prototype.next = function () {
163
+ return this.ej2Instances.next();
164
+ };
165
+ CarouselComponent.prototype.pause = function () {
166
+ return this.ej2Instances.pause();
167
+ };
168
+ CarouselComponent.prototype.play = function () {
169
+ return this.ej2Instances.play();
170
+ };
171
+ CarouselComponent.prototype.prev = function () {
172
+ return this.ej2Instances.prev();
173
+ };
174
+ CarouselComponent = __decorate([
175
+ EJComponentDecorator({
176
+ props: properties,
177
+ model: {
178
+ event: 'modelchanged'
179
+ }
180
+ }, isExecute)
181
+ ,Options({
182
+ props: props,
183
+ watch: watch,
184
+ emits: emitProbs,
185
+ provide: function provide() {
186
+ return {
187
+ custom: this.custom
188
+ };
189
+ }
190
+ })
191
+ ], CarouselComponent);
192
+ return CarouselComponent;
193
+ }(ComponentBase));
194
+ export { CarouselComponent };
195
+ export var CarouselPlugin = {
196
+ name: 'ejs-carousel',
197
+ install: function (Vue) {
198
+ Vue.component(CarouselPlugin.name, CarouselComponent);
199
+ Vue.component(CarouselItemPlugin.name, CarouselItemDirective);
200
+ Vue.component(CarouselItemsPlugin.name, CarouselItemsDirective);
201
+ }
202
+ };
@@ -0,0 +1,2 @@
1
+ export { CarouselItemsDirective, CarouselItemDirective, CarouselItemsPlugin, CarouselItemPlugin } from './items.directive';
2
+ export { CarouselComponent, CarouselPlugin } from './carousel.component';
@@ -0,0 +1,2 @@
1
+ export { CarouselItemsDirective, CarouselItemDirective, CarouselItemsPlugin, CarouselItemPlugin } from './items.directive';
2
+ export { CarouselComponent, CarouselPlugin } from './carousel.component';
@@ -0,0 +1,33 @@
1
+ export declare const isExecute: any;
2
+ declare let vueImport: any;
3
+ export declare class CarouselItemsDirective extends vueImport {
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
7
+ getTag(): string;
8
+ }
9
+ export declare const CarouselItemsPlugin: {
10
+ name: string;
11
+ install(Vue: any): void;
12
+ };
13
+ /**
14
+ * `e-carousel-item` directive represent a item of the Vue Carousel.
15
+ * It must be contained in a Carousel component(`ejs-carousel`).
16
+ * ```html
17
+ * <ejs-carousel>
18
+ * <e-carousel-items>
19
+ * <e-carousel-item template='itemTemplate'></e-carousel-item>
20
+ * <e-carousel-item template='secondItemTemplate'></e-carousel-item>
21
+ * </e-carousel-items>
22
+ * </ejs-carousel>
23
+ * ```
24
+ */
25
+ export declare class CarouselItemDirective extends vueImport {
26
+ render(): void;
27
+ getTag(): string;
28
+ }
29
+ export declare const CarouselItemPlugin: {
30
+ name: string;
31
+ install(Vue: any): void;
32
+ };
33
+ export {};