@syncfusion/ej2-vue-navigations 20.2.49 → 20.3.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 (265) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +14 -0
  3. package/appbar.d.ts +4 -0
  4. package/appbar.js +4 -0
  5. package/dist/ej2-vue-navigations.umd.min.js +2 -2
  6. package/dist/ej2-vue-navigations.umd.min.js.map +1 -1
  7. package/dist/es6/ej2-vue-navigations.es2015.js +224 -106
  8. package/dist/es6/ej2-vue-navigations.es2015.js.map +1 -1
  9. package/dist/es6/ej2-vue-navigations.es5.js +233 -106
  10. package/dist/es6/ej2-vue-navigations.es5.js.map +1 -1
  11. package/dist/global/ej2-vue-navigations.min.js +2 -2
  12. package/package.json +11 -9
  13. package/src/accordion/accordion.component.d.ts +0 -1
  14. package/src/accordion/accordion.component.js +3 -4
  15. package/src/accordion/items.directive.d.ts +0 -1
  16. package/src/accordion/items.directive.js +5 -6
  17. package/src/appbar/appbar.component.d.ts +35 -0
  18. package/src/appbar/appbar.component.js +142 -0
  19. package/src/appbar/index.d.ts +1 -0
  20. package/src/appbar/index.js +1 -0
  21. package/src/breadcrumb/breadcrumb.component.d.ts +0 -1
  22. package/src/breadcrumb/breadcrumb.component.js +3 -4
  23. package/src/breadcrumb/items.directive.d.ts +0 -1
  24. package/src/breadcrumb/items.directive.js +5 -6
  25. package/src/carousel/carousel.component.d.ts +0 -1
  26. package/src/carousel/carousel.component.js +4 -5
  27. package/src/carousel/items.directive.d.ts +0 -1
  28. package/src/carousel/items.directive.js +5 -6
  29. package/src/context-menu/contextmenu.component.d.ts +0 -1
  30. package/src/context-menu/contextmenu.component.js +3 -4
  31. package/src/index.d.ts +1 -0
  32. package/src/index.js +1 -0
  33. package/src/menu/items.directive.d.ts +0 -1
  34. package/src/menu/items.directive.js +5 -6
  35. package/src/menu/menu.component.d.ts +0 -1
  36. package/src/menu/menu.component.js +3 -4
  37. package/src/sidebar/sidebar.component.d.ts +0 -1
  38. package/src/sidebar/sidebar.component.js +3 -4
  39. package/src/tab/items.directive.d.ts +0 -1
  40. package/src/tab/items.directive.js +5 -6
  41. package/src/tab/tab.component.d.ts +1 -1
  42. package/src/tab/tab.component.js +6 -4
  43. package/src/toolbar/items.directive.d.ts +0 -1
  44. package/src/toolbar/items.directive.js +5 -6
  45. package/src/toolbar/toolbar.component.d.ts +0 -1
  46. package/src/toolbar/toolbar.component.js +3 -4
  47. package/src/treeview/treeview.component.d.ts +0 -1
  48. package/src/treeview/treeview.component.js +3 -4
  49. package/styles/accordion/bootstrap-dark.css +1 -0
  50. package/styles/accordion/bootstrap.css +1 -0
  51. package/styles/accordion/bootstrap4.css +1 -0
  52. package/styles/accordion/bootstrap5-dark.css +2 -0
  53. package/styles/accordion/bootstrap5.css +2 -0
  54. package/styles/accordion/fabric-dark.css +1 -0
  55. package/styles/accordion/fabric.css +1 -0
  56. package/styles/accordion/fluent-dark.css +1 -0
  57. package/styles/accordion/fluent.css +1 -0
  58. package/styles/accordion/highcontrast-light.css +1 -0
  59. package/styles/accordion/highcontrast.css +1 -0
  60. package/styles/accordion/material-dark.css +1 -0
  61. package/styles/accordion/material.css +1 -0
  62. package/styles/accordion/tailwind-dark.css +1 -0
  63. package/styles/accordion/tailwind.css +1 -0
  64. package/styles/appbar/bootstrap-dark.css +244 -0
  65. package/styles/appbar/bootstrap-dark.scss +1 -0
  66. package/styles/appbar/bootstrap.css +244 -0
  67. package/styles/appbar/bootstrap.scss +1 -0
  68. package/styles/appbar/bootstrap4.css +244 -0
  69. package/styles/appbar/bootstrap4.scss +1 -0
  70. package/styles/appbar/bootstrap5-dark.css +244 -0
  71. package/styles/appbar/bootstrap5-dark.scss +1 -0
  72. package/styles/appbar/bootstrap5.css +244 -0
  73. package/styles/appbar/bootstrap5.scss +1 -0
  74. package/styles/appbar/fabric-dark.css +244 -0
  75. package/styles/appbar/fabric-dark.scss +1 -0
  76. package/styles/appbar/fabric.css +244 -0
  77. package/styles/appbar/fabric.scss +1 -0
  78. package/styles/appbar/fluent-dark.css +244 -0
  79. package/styles/appbar/fluent-dark.scss +1 -0
  80. package/styles/appbar/fluent.css +244 -0
  81. package/styles/appbar/fluent.scss +1 -0
  82. package/styles/appbar/highcontrast-light.css +244 -0
  83. package/styles/appbar/highcontrast-light.scss +1 -0
  84. package/styles/appbar/highcontrast.css +244 -0
  85. package/styles/appbar/highcontrast.scss +1 -0
  86. package/styles/appbar/material-dark.css +245 -0
  87. package/styles/appbar/material-dark.scss +1 -0
  88. package/styles/appbar/material.css +245 -0
  89. package/styles/appbar/material.scss +1 -0
  90. package/styles/appbar/tailwind-dark.css +245 -0
  91. package/styles/appbar/tailwind-dark.scss +1 -0
  92. package/styles/appbar/tailwind.css +245 -0
  93. package/styles/appbar/tailwind.scss +1 -0
  94. package/styles/bootstrap-dark.css +340 -21
  95. package/styles/bootstrap-dark.scss +1 -0
  96. package/styles/bootstrap.css +345 -26
  97. package/styles/bootstrap.scss +1 -0
  98. package/styles/bootstrap4.css +348 -29
  99. package/styles/bootstrap4.scss +1 -0
  100. package/styles/bootstrap5-dark.css +360 -36
  101. package/styles/bootstrap5-dark.scss +1 -0
  102. package/styles/bootstrap5.css +360 -36
  103. package/styles/bootstrap5.scss +1 -0
  104. package/styles/carousel/bootstrap-dark.css +46 -11
  105. package/styles/carousel/bootstrap.css +46 -11
  106. package/styles/carousel/bootstrap4.css +46 -11
  107. package/styles/carousel/bootstrap5-dark.css +46 -11
  108. package/styles/carousel/bootstrap5.css +46 -11
  109. package/styles/carousel/fabric-dark.css +46 -11
  110. package/styles/carousel/fabric.css +46 -11
  111. package/styles/carousel/fluent-dark.css +46 -11
  112. package/styles/carousel/fluent.css +46 -11
  113. package/styles/carousel/highcontrast-light.css +46 -11
  114. package/styles/carousel/highcontrast.css +46 -11
  115. package/styles/carousel/material-dark.css +46 -11
  116. package/styles/carousel/material.css +46 -11
  117. package/styles/carousel/tailwind-dark.css +46 -11
  118. package/styles/carousel/tailwind.css +46 -11
  119. package/styles/context-menu/bootstrap4.css +2 -2
  120. package/styles/context-menu/bootstrap5-dark.css +3 -3
  121. package/styles/context-menu/bootstrap5.css +3 -3
  122. package/styles/context-menu/fluent-dark.css +1 -1
  123. package/styles/context-menu/fluent.css +1 -1
  124. package/styles/context-menu/tailwind-dark.css +1 -1
  125. package/styles/context-menu/tailwind.css +1 -1
  126. package/styles/fabric-dark.css +340 -21
  127. package/styles/fabric-dark.scss +1 -0
  128. package/styles/fabric.css +340 -21
  129. package/styles/fabric.scss +1 -0
  130. package/styles/fluent-dark.css +352 -33
  131. package/styles/fluent-dark.scss +1 -0
  132. package/styles/fluent.css +352 -33
  133. package/styles/fluent.scss +1 -0
  134. package/styles/h-scroll/bootstrap-dark.css +0 -2
  135. package/styles/h-scroll/bootstrap.css +0 -2
  136. package/styles/h-scroll/bootstrap4.css +0 -2
  137. package/styles/h-scroll/bootstrap5-dark.css +0 -2
  138. package/styles/h-scroll/bootstrap5.css +0 -2
  139. package/styles/h-scroll/fabric-dark.css +0 -2
  140. package/styles/h-scroll/fabric.css +0 -2
  141. package/styles/h-scroll/fluent-dark.css +0 -2
  142. package/styles/h-scroll/fluent.css +0 -2
  143. package/styles/h-scroll/highcontrast-light.css +0 -2
  144. package/styles/h-scroll/highcontrast.css +0 -2
  145. package/styles/h-scroll/material-dark.css +0 -2
  146. package/styles/h-scroll/material.css +0 -2
  147. package/styles/h-scroll/tailwind-dark.css +0 -2
  148. package/styles/h-scroll/tailwind.css +0 -2
  149. package/styles/highcontrast-light.css +339 -20
  150. package/styles/highcontrast-light.scss +1 -0
  151. package/styles/highcontrast.css +339 -20
  152. package/styles/highcontrast.scss +1 -0
  153. package/styles/material-dark.css +339 -20
  154. package/styles/material-dark.scss +1 -0
  155. package/styles/material.css +339 -20
  156. package/styles/material.scss +1 -0
  157. package/styles/menu/bootstrap-dark.css +22 -0
  158. package/styles/menu/bootstrap.css +22 -0
  159. package/styles/menu/bootstrap4.css +22 -0
  160. package/styles/menu/bootstrap5-dark.css +23 -1
  161. package/styles/menu/bootstrap5.css +23 -1
  162. package/styles/menu/fabric-dark.css +22 -0
  163. package/styles/menu/fabric.css +22 -0
  164. package/styles/menu/fluent-dark.css +23 -1
  165. package/styles/menu/fluent.css +23 -1
  166. package/styles/menu/highcontrast-light.css +22 -0
  167. package/styles/menu/highcontrast.css +22 -0
  168. package/styles/menu/material-dark.css +22 -0
  169. package/styles/menu/material.css +22 -0
  170. package/styles/menu/tailwind-dark.css +23 -1
  171. package/styles/menu/tailwind.css +23 -1
  172. package/styles/pager/bootstrap-dark.css +5 -3
  173. package/styles/pager/bootstrap.css +10 -8
  174. package/styles/pager/bootstrap4.css +11 -9
  175. package/styles/pager/bootstrap5-dark.css +14 -12
  176. package/styles/pager/bootstrap5.css +14 -12
  177. package/styles/pager/fabric-dark.css +5 -3
  178. package/styles/pager/fabric.css +5 -3
  179. package/styles/pager/fluent-dark.css +6 -4
  180. package/styles/pager/fluent.css +6 -4
  181. package/styles/pager/highcontrast-light.css +4 -2
  182. package/styles/pager/highcontrast.css +4 -2
  183. package/styles/pager/material-dark.css +4 -2
  184. package/styles/pager/material.css +4 -2
  185. package/styles/pager/tailwind-dark.css +19 -17
  186. package/styles/pager/tailwind.css +19 -17
  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 +4 -0
  195. package/styles/sidebar/fluent.css +4 -0
  196. package/styles/sidebar/highcontrast-light.css +4 -0
  197. package/styles/sidebar/highcontrast.css +4 -0
  198. package/styles/sidebar/material-dark.css +4 -0
  199. package/styles/sidebar/material.css +4 -0
  200. package/styles/sidebar/tailwind-dark.css +4 -0
  201. package/styles/sidebar/tailwind.css +4 -0
  202. package/styles/tab/bootstrap-dark.css +1 -1
  203. package/styles/tab/bootstrap.css +1 -1
  204. package/styles/tab/bootstrap4.css +1 -1
  205. package/styles/tab/bootstrap5-dark.css +5 -2
  206. package/styles/tab/bootstrap5.css +5 -2
  207. package/styles/tab/fabric-dark.css +1 -1
  208. package/styles/tab/fabric.css +1 -1
  209. package/styles/tab/fluent-dark.css +5 -5
  210. package/styles/tab/fluent.css +5 -5
  211. package/styles/tab/highcontrast-light.css +1 -1
  212. package/styles/tab/highcontrast.css +1 -1
  213. package/styles/tab/material-dark.css +1 -1
  214. package/styles/tab/material.css +1 -1
  215. package/styles/tab/tailwind-dark.css +1 -1
  216. package/styles/tab/tailwind.css +1 -1
  217. package/styles/tailwind-dark.css +359 -38
  218. package/styles/tailwind-dark.scss +1 -0
  219. package/styles/tailwind.css +359 -38
  220. package/styles/tailwind.scss +1 -0
  221. package/styles/toolbar/bootstrap-dark.css +10 -2
  222. package/styles/toolbar/bootstrap.css +10 -2
  223. package/styles/toolbar/bootstrap4.css +10 -2
  224. package/styles/toolbar/bootstrap5-dark.css +12 -3
  225. package/styles/toolbar/bootstrap5.css +12 -3
  226. package/styles/toolbar/fabric-dark.css +10 -2
  227. package/styles/toolbar/fabric.css +10 -2
  228. package/styles/toolbar/fluent-dark.css +15 -7
  229. package/styles/toolbar/fluent.css +15 -7
  230. package/styles/toolbar/highcontrast-light.css +10 -2
  231. package/styles/toolbar/highcontrast.css +10 -2
  232. package/styles/toolbar/material-dark.css +10 -2
  233. package/styles/toolbar/material.css +10 -2
  234. package/styles/toolbar/tailwind-dark.css +11 -3
  235. package/styles/toolbar/tailwind.css +11 -3
  236. package/styles/treeview/bootstrap-dark.css +6 -0
  237. package/styles/treeview/bootstrap.css +6 -0
  238. package/styles/treeview/bootstrap4.css +6 -0
  239. package/styles/treeview/bootstrap5-dark.css +6 -0
  240. package/styles/treeview/bootstrap5.css +6 -0
  241. package/styles/treeview/fabric-dark.css +6 -0
  242. package/styles/treeview/fabric.css +6 -0
  243. package/styles/treeview/fluent-dark.css +6 -0
  244. package/styles/treeview/fluent.css +6 -0
  245. package/styles/treeview/highcontrast-light.css +6 -0
  246. package/styles/treeview/highcontrast.css +6 -0
  247. package/styles/treeview/material-dark.css +6 -0
  248. package/styles/treeview/material.css +6 -0
  249. package/styles/treeview/tailwind-dark.css +7 -0
  250. package/styles/treeview/tailwind.css +7 -0
  251. package/styles/v-scroll/bootstrap-dark.css +0 -2
  252. package/styles/v-scroll/bootstrap.css +0 -2
  253. package/styles/v-scroll/bootstrap4.css +0 -2
  254. package/styles/v-scroll/bootstrap5-dark.css +0 -2
  255. package/styles/v-scroll/bootstrap5.css +0 -2
  256. package/styles/v-scroll/fabric-dark.css +0 -2
  257. package/styles/v-scroll/fabric.css +0 -2
  258. package/styles/v-scroll/fluent-dark.css +0 -2
  259. package/styles/v-scroll/fluent.css +0 -2
  260. package/styles/v-scroll/highcontrast-light.css +0 -2
  261. package/styles/v-scroll/highcontrast.css +0 -2
  262. package/styles/v-scroll/material-dark.css +0 -2
  263. package/styles/v-scroll/material.css +0 -2
  264. package/styles/v-scroll/tailwind-dark.css +0 -2
  265. package/styles/v-scroll/tailwind.css +0 -2
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-vue-navigations@*",
3
- "_id": "@syncfusion/ej2-vue-navigations@20.2.48",
3
+ "_id": "@syncfusion/ej2-vue-navigations@19.60.1",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-uU/96SrwsOajI6NW4wrpsXEIPhMc2/4bgrxahMaxM224Us8QZ/A8PvtxNrmYaccn/QFC2OHjL5xCwoTS6BDZvQ==",
5
+ "_integrity": "sha512-hUMHxo5lUeI8udS95qiDOhSyGBhUTmwFl41jcHQ6UCW/6iOuW8Q4a4aQ9OsTsDVsV2QRBRA2lT753hZWzhyNAg==",
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-20.2.48.tgz",
23
- "_shasum": "d3b0abab368b87372d4bf16fadac702871b300f9",
22
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-navigations/-/ej2-vue-navigations-19.60.1.tgz",
23
+ "_shasum": "e266eb55e6ffcfd08c290d9a914ba42cbf956195",
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": "~20.2.48",
35
- "@syncfusion/ej2-navigations": "20.2.49",
36
- "@syncfusion/ej2-vue-base": "~20.2.45"
34
+ "@syncfusion/ej2-base": "~20.3.47",
35
+ "@syncfusion/ej2-navigations": "20.3.47",
36
+ "@syncfusion/ej2-vue-base": "~20.3.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",
@@ -142,6 +142,7 @@
142
142
  "tree node template",
143
143
  "tree multi selection",
144
144
  "carousel",
145
+ "appbar",
145
146
  "vue",
146
147
  "ej2-vue-navigations",
147
148
  " vue-navigations",
@@ -155,7 +156,8 @@
155
156
  "vue menu",
156
157
  "vue menu component",
157
158
  "vue breadcrumb",
158
- "vue carousel"
159
+ "vue carousel",
160
+ "vue appbar"
159
161
  ],
160
162
  "license": "SEE LICENSE IN license",
161
163
  "main": "./dist/ej2-vue-navigations.umd.min.js",
@@ -168,6 +170,6 @@
168
170
  "scripts": {
169
171
  "postinstall": "node ../ej2-vue-base/postinstall.js"
170
172
  },
171
- "version": "20.2.49",
173
+ "version": "20.3.47",
172
174
  "sideEffects": false
173
175
  }
@@ -5,7 +5,6 @@ export declare const testProp: any;
5
5
  export declare const props: any;
6
6
  export declare const watch: any;
7
7
  export declare const emitProbs: any;
8
- export declare const isExecute: any;
9
8
  /**
10
9
  * Represents the VueJS Accordion Component.
11
10
  * ```html
@@ -18,7 +18,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
18
18
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19
19
  };
20
20
  import { isUndefined } from '@syncfusion/ej2-base';
21
- import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
21
+ import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
22
22
  import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
23
23
  import { Accordion } from '@syncfusion/ej2-navigations';
24
24
  import { AccordionItemsDirective, AccordionItemDirective, AccordionItemsPlugin, AccordionItemPlugin } from './items.directive';
@@ -34,7 +34,6 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
34
34
  var props_1 = modelProps_1[_i];
35
35
  emitProbs.push('update:' + props_1);
36
36
  }
37
- export var isExecute = gh ? false : true;
38
37
  /**
39
38
  * Represents the VueJS Accordion Component.
40
39
  * ```html
@@ -150,10 +149,10 @@ var AccordionComponent = /** @class */ (function (_super) {
150
149
  }
151
150
  };
152
151
  AccordionComponent.prototype.render = function (createElement) {
153
- var h = gh || createElement;
152
+ var h = !isExecute ? gh : createElement;
154
153
  var slots = null;
155
154
  if (!isNullOrUndefined(this.$slots.default)) {
156
- slots = gh ? this.$slots.default() : this.$slots.default;
155
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
157
156
  }
158
157
  return h('div', slots);
159
158
  };
@@ -1,4 +1,3 @@
1
- export declare const isExecute: any;
2
1
  declare let vueImport: any;
3
2
  export declare class AccordionItemsDirective extends vueImport {
4
3
  constructor();
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
17
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
18
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19
19
  };
20
- import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
20
+ import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
22
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
23
23
  import Vue from 'vue';
24
24
  import { Options } from 'vue-class-component';
25
- export var isExecute = gh ? false : true;
26
25
  var vueImport;
27
26
  if (!isExecute || parseInt(allVue.version) < 3) {
28
27
  vueImport = Vue3.Vue;
@@ -36,18 +35,18 @@ var AccordionItemsDirective = /** @class */ (function (_super) {
36
35
  return _super.call(this, arguments) || this;
37
36
  }
38
37
  AccordionItemsDirective.prototype.render = function (createElement) {
39
- if (gh) {
40
- var h = gh || createElement;
38
+ if (!isExecute) {
39
+ var h = !isExecute ? gh : createElement;
41
40
  var slots = null;
42
41
  if (!isNullOrUndefined(this.$slots.default)) {
43
- slots = gh ? this.$slots.default() : this.$slots.default;
42
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
44
43
  }
45
44
  return h('div', { class: 'e-directive' }, slots);
46
45
  }
47
46
  return;
48
47
  };
49
48
  AccordionItemsDirective.prototype.updated = function () {
50
- if (gh && this.custom) {
49
+ if (!isExecute && this.custom) {
51
50
  this.custom();
52
51
  }
53
52
  };
@@ -0,0 +1,35 @@
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
+ /**
9
+ * Represents the Essential JS 2 VueJS AppBar Component.
10
+ * ```html
11
+ * <ejs-appbar></ejs-appbar>
12
+ * ```
13
+ */
14
+ export declare class AppBarComponent extends ComponentBase {
15
+ ej2Instances: any;
16
+ propKeys: string[];
17
+ models: string[];
18
+ hasChildDirective: boolean;
19
+ protected hasInjectedModules: boolean;
20
+ tagMapper: {
21
+ [key: string]: Object;
22
+ };
23
+ tagNameMapper: Object;
24
+ isVue3: boolean;
25
+ templateCollection: any;
26
+ constructor();
27
+ clearTemplate(templateNames?: string[]): any;
28
+ setProperties(prop: any, muteOnChange: boolean): void;
29
+ render(createElement: any): any;
30
+ custom(): void;
31
+ }
32
+ export declare const AppBarPlugin: {
33
+ name: string;
34
+ install(Vue: any): void;
35
+ };
@@ -0,0 +1,142 @@
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 { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
+ import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
22
+ import { AppBar } from '@syncfusion/ej2-navigations';
23
+ import { Options } from 'vue-class-component';
24
+ export var properties = ['isLazyUpdate', 'plugins', 'colorMode', 'cssClass', 'enablePersistence', 'enableRtl', 'htmlAttributes', 'isSticky', 'locale', 'mode', 'position', 'created', 'destroyed'];
25
+ export var modelProps = [];
26
+ export var testProp = getProps({ props: properties });
27
+ export var props = testProp[0];
28
+ export var watch = testProp[1];
29
+ export var emitProbs = Object.keys(watch);
30
+ emitProbs.push('modelchanged', 'update:modelValue');
31
+ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
32
+ var props_1 = modelProps_1[_i];
33
+ emitProbs.push('update:' + props_1);
34
+ }
35
+ /**
36
+ * Represents the Essential JS 2 VueJS AppBar Component.
37
+ * ```html
38
+ * <ejs-appbar></ejs-appbar>
39
+ * ```
40
+ */
41
+ var AppBarComponent = /** @class */ (function (_super) {
42
+ __extends(AppBarComponent, _super);
43
+ function AppBarComponent() {
44
+ var _this = _super.call(this, arguments) || this;
45
+ _this.propKeys = properties;
46
+ _this.models = modelProps;
47
+ _this.hasChildDirective = false;
48
+ _this.hasInjectedModules = false;
49
+ _this.tagMapper = {};
50
+ _this.tagNameMapper = {};
51
+ _this.isVue3 = !isExecute;
52
+ _this.ej2Instances = new AppBar({});
53
+ _this.bindProperties();
54
+ _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
55
+ _this.ej2Instances.setProperties = _this.setProperties;
56
+ _this.ej2Instances.clearTemplate = _this.clearTemplate;
57
+ _this.updated = _this.updated;
58
+ return _this;
59
+ }
60
+ AppBarComponent.prototype.clearTemplate = function (templateNames) {
61
+ if (!templateNames) {
62
+ templateNames = Object.keys(this.templateCollection || {});
63
+ }
64
+ if (templateNames.length && this.templateCollection) {
65
+ for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
66
+ var tempName = templateNames_1[_i];
67
+ var elementCollection = this.templateCollection[tempName];
68
+ if (elementCollection && elementCollection.length) {
69
+ for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
70
+ var ele = elementCollection_1[_a];
71
+ var destroy = getValue('__vue__.$destroy', ele);
72
+ if (destroy) {
73
+ ele.__vue__.$destroy();
74
+ }
75
+ if (ele.innerHTML) {
76
+ ele.innerHTML = '';
77
+ }
78
+ }
79
+ delete this.templateCollection[tempName];
80
+ }
81
+ }
82
+ }
83
+ };
84
+ AppBarComponent.prototype.setProperties = function (prop, muteOnChange) {
85
+ var _this = this;
86
+ if (this.isVue3) {
87
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
88
+ }
89
+ if (this.ej2Instances && this.ej2Instances._setProperties) {
90
+ this.ej2Instances._setProperties(prop, muteOnChange);
91
+ }
92
+ if (prop && this.models && this.models.length) {
93
+ Object.keys(prop).map(function (key) {
94
+ _this.models.map(function (model) {
95
+ if ((key === model) && !(/datasource/i.test(key))) {
96
+ if (_this.isVue3) {
97
+ _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
98
+ }
99
+ else {
100
+ _this.$emit('update:' + key, prop[key]);
101
+ _this.$emit('modelchanged', prop[key]);
102
+ }
103
+ }
104
+ });
105
+ });
106
+ }
107
+ };
108
+ AppBarComponent.prototype.render = function (createElement) {
109
+ var h = !isExecute ? gh : createElement;
110
+ var slots = null;
111
+ if (!isNullOrUndefined(this.$slots.default)) {
112
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
113
+ }
114
+ return h('header', slots);
115
+ };
116
+ AppBarComponent.prototype.custom = function () {
117
+ this.updated();
118
+ };
119
+ AppBarComponent = __decorate([
120
+ EJComponentDecorator({
121
+ props: properties
122
+ }, isExecute)
123
+ ,Options({
124
+ props: props,
125
+ watch: watch,
126
+ emits: emitProbs,
127
+ provide: function provide() {
128
+ return {
129
+ custom: this.custom
130
+ };
131
+ }
132
+ })
133
+ ], AppBarComponent);
134
+ return AppBarComponent;
135
+ }(ComponentBase));
136
+ export { AppBarComponent };
137
+ export var AppBarPlugin = {
138
+ name: 'ejs-appbar',
139
+ install: function (Vue) {
140
+ Vue.component(AppBarPlugin.name, AppBarComponent);
141
+ }
142
+ };
@@ -0,0 +1 @@
1
+ export { AppBarComponent, AppBarPlugin } from './appbar.component';
@@ -0,0 +1 @@
1
+ export { AppBarComponent, AppBarPlugin } from './appbar.component';
@@ -5,7 +5,6 @@ export declare const testProp: any;
5
5
  export declare const props: any;
6
6
  export declare const watch: any;
7
7
  export declare const emitProbs: any;
8
- export declare const isExecute: any;
9
8
  /**
10
9
  * Represents the VueJS Breadcrumb Component.
11
10
  * ```html
@@ -18,7 +18,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
18
18
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19
19
  };
20
20
  import { isUndefined } from '@syncfusion/ej2-base';
21
- import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
21
+ import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
22
22
  import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
23
23
  import { Breadcrumb } from '@syncfusion/ej2-navigations';
24
24
  import { BreadcrumbItemsDirective, BreadcrumbItemDirective, BreadcrumbItemsPlugin, BreadcrumbItemPlugin } from './items.directive';
@@ -34,7 +34,6 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
34
34
  var props_1 = modelProps_1[_i];
35
35
  emitProbs.push('update:' + props_1);
36
36
  }
37
- export var isExecute = gh ? false : true;
38
37
  /**
39
38
  * Represents the VueJS Breadcrumb Component.
40
39
  * ```html
@@ -150,10 +149,10 @@ var BreadcrumbComponent = /** @class */ (function (_super) {
150
149
  }
151
150
  };
152
151
  BreadcrumbComponent.prototype.render = function (createElement) {
153
- var h = gh || createElement;
152
+ var h = !isExecute ? gh : createElement;
154
153
  var slots = null;
155
154
  if (!isNullOrUndefined(this.$slots.default)) {
156
- slots = gh ? this.$slots.default() : this.$slots.default;
155
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
157
156
  }
158
157
  return h('nav', slots);
159
158
  };
@@ -1,4 +1,3 @@
1
- export declare const isExecute: any;
2
1
  declare let vueImport: any;
3
2
  export declare class BreadcrumbItemsDirective extends vueImport {
4
3
  constructor();
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
17
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
18
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19
19
  };
20
- import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
20
+ import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
22
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
23
23
  import Vue from 'vue';
24
24
  import { Options } from 'vue-class-component';
25
- export var isExecute = gh ? false : true;
26
25
  var vueImport;
27
26
  if (!isExecute || parseInt(allVue.version) < 3) {
28
27
  vueImport = Vue3.Vue;
@@ -36,18 +35,18 @@ var BreadcrumbItemsDirective = /** @class */ (function (_super) {
36
35
  return _super.call(this, arguments) || this;
37
36
  }
38
37
  BreadcrumbItemsDirective.prototype.render = function (createElement) {
39
- if (gh) {
40
- var h = gh || createElement;
38
+ if (!isExecute) {
39
+ var h = !isExecute ? gh : createElement;
41
40
  var slots = null;
42
41
  if (!isNullOrUndefined(this.$slots.default)) {
43
- slots = gh ? this.$slots.default() : this.$slots.default;
42
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
44
43
  }
45
44
  return h('div', { class: 'e-directive' }, slots);
46
45
  }
47
46
  return;
48
47
  };
49
48
  BreadcrumbItemsDirective.prototype.updated = function () {
50
- if (gh && this.custom) {
49
+ if (!isExecute && this.custom) {
51
50
  this.custom();
52
51
  }
53
52
  };
@@ -5,7 +5,6 @@ export declare const testProp: any;
5
5
  export declare const props: any;
6
6
  export declare const watch: any;
7
7
  export declare const emitProbs: any;
8
- export declare const isExecute: any;
9
8
  /**
10
9
  * Represents the VueJS Carousel Component.
11
10
  * ```html
@@ -18,12 +18,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
18
18
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19
19
  };
20
20
  import { isUndefined } from '@syncfusion/ej2-base';
21
- import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
21
+ import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
22
22
  import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
23
23
  import { Carousel } from '@syncfusion/ej2-navigations';
24
24
  import { CarouselItemsDirective, CarouselItemDirective, CarouselItemsPlugin, CarouselItemPlugin } from './items.directive';
25
25
  import { Options } from 'vue-class-component';
26
- export var properties = ['isLazyUpdate', 'plugins', 'animationEffect', 'autoPlay', 'buttonsVisibility', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enableTouchSwipe', 'height', 'htmlAttributes', 'indicatorsTemplate', 'interval', 'itemTemplate', 'items', 'locale', 'loop', 'nextButtonTemplate', 'pauseOnHover', 'playButtonTemplate', 'previousButtonTemplate', 'selectedIndex', 'showIndicators', 'showPlayButton', 'width', 'slideChanged', 'slideChanging'];
26
+ export var properties = ['isLazyUpdate', 'plugins', 'animationEffect', 'autoPlay', 'buttonsVisibility', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enableTouchSwipe', 'height', 'htmlAttributes', 'indicatorsTemplate', 'interval', 'itemTemplate', 'items', 'locale', 'loop', 'nextButtonTemplate', 'partialVisible', 'pauseOnHover', 'playButtonTemplate', 'previousButtonTemplate', 'selectedIndex', 'showIndicators', 'showPlayButton', 'width', 'slideChanged', 'slideChanging'];
27
27
  export var modelProps = ['selectedIndex'];
28
28
  export var testProp = getProps({ props: properties });
29
29
  export var props = testProp[0];
@@ -34,7 +34,6 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
34
34
  var props_1 = modelProps_1[_i];
35
35
  emitProbs.push('update:' + props_1);
36
36
  }
37
- export var isExecute = gh ? false : true;
38
37
  /**
39
38
  * Represents the VueJS Carousel Component.
40
39
  * ```html
@@ -150,10 +149,10 @@ var CarouselComponent = /** @class */ (function (_super) {
150
149
  }
151
150
  };
152
151
  CarouselComponent.prototype.render = function (createElement) {
153
- var h = gh || createElement;
152
+ var h = !isExecute ? gh : createElement;
154
153
  var slots = null;
155
154
  if (!isNullOrUndefined(this.$slots.default)) {
156
- slots = gh ? this.$slots.default() : this.$slots.default;
155
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
157
156
  }
158
157
  return h('div', slots);
159
158
  };
@@ -1,4 +1,3 @@
1
- export declare const isExecute: any;
2
1
  declare let vueImport: any;
3
2
  export declare class CarouselItemsDirective extends vueImport {
4
3
  constructor();
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
17
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
18
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19
19
  };
20
- import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
20
+ import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
22
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
23
23
  import Vue from 'vue';
24
24
  import { Options } from 'vue-class-component';
25
- export var isExecute = gh ? false : true;
26
25
  var vueImport;
27
26
  if (!isExecute || parseInt(allVue.version) < 3) {
28
27
  vueImport = Vue3.Vue;
@@ -36,18 +35,18 @@ var CarouselItemsDirective = /** @class */ (function (_super) {
36
35
  return _super.call(this, arguments) || this;
37
36
  }
38
37
  CarouselItemsDirective.prototype.render = function (createElement) {
39
- if (gh) {
40
- var h = gh || createElement;
38
+ if (!isExecute) {
39
+ var h = !isExecute ? gh : createElement;
41
40
  var slots = null;
42
41
  if (!isNullOrUndefined(this.$slots.default)) {
43
- slots = gh ? this.$slots.default() : this.$slots.default;
42
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
44
43
  }
45
44
  return h('div', { class: 'e-directive' }, slots);
46
45
  }
47
46
  return;
48
47
  };
49
48
  CarouselItemsDirective.prototype.updated = function () {
50
- if (gh && this.custom) {
49
+ if (!isExecute && this.custom) {
51
50
  this.custom();
52
51
  }
53
52
  };
@@ -5,7 +5,6 @@ export declare const testProp: any;
5
5
  export declare const props: any;
6
6
  export declare const watch: any;
7
7
  export declare const emitProbs: any;
8
- export declare const isExecute: any;
9
8
  /**
10
9
  * Represents the Essential JS 2 VueJS ContextMenu Component.
11
10
  * ```html
@@ -17,7 +17,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
17
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
18
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19
19
  };
20
- import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
20
+ import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
21
  import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
22
22
  import { ContextMenu } from '@syncfusion/ej2-navigations';
23
23
  import { Options } from 'vue-class-component';
@@ -32,7 +32,6 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
32
32
  var props_1 = modelProps_1[_i];
33
33
  emitProbs.push('update:' + props_1);
34
34
  }
35
- export var isExecute = gh ? false : true;
36
35
  /**
37
36
  * Represents the Essential JS 2 VueJS ContextMenu Component.
38
37
  * ```html
@@ -108,10 +107,10 @@ var ContextMenuComponent = /** @class */ (function (_super) {
108
107
  }
109
108
  };
110
109
  ContextMenuComponent.prototype.render = function (createElement) {
111
- var h = gh || createElement;
110
+ var h = !isExecute ? gh : createElement;
112
111
  var slots = null;
113
112
  if (!isNullOrUndefined(this.$slots.default)) {
114
- slots = gh ? this.$slots.default() : this.$slots.default;
113
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
115
114
  }
116
115
  return h('ul', slots);
117
116
  };
package/src/index.d.ts CHANGED
@@ -14,3 +14,4 @@ export { TreeViewComponent, TreeViewPlugin } from './treeview/treeview.component
14
14
  export { SidebarComponent, SidebarPlugin } from './sidebar/sidebar.component';
15
15
  export { MenuItemsDirective, MenuItemDirective, MenuItemsPlugin, MenuItemPlugin } from './menu/items.directive';
16
16
  export { MenuComponent, MenuPlugin } from './menu/menu.component';
17
+ export { AppBarComponent, AppBarPlugin } from './appbar/appbar.component';
package/src/index.js CHANGED
@@ -14,3 +14,4 @@ export { TreeViewComponent, TreeViewPlugin } from './treeview/treeview.component
14
14
  export { SidebarComponent, SidebarPlugin } from './sidebar/sidebar.component';
15
15
  export { MenuItemsDirective, MenuItemDirective, MenuItemsPlugin, MenuItemPlugin } from './menu/items.directive';
16
16
  export { MenuComponent, MenuPlugin } from './menu/menu.component';
17
+ export { AppBarComponent, AppBarPlugin } from './appbar/appbar.component';
@@ -1,4 +1,3 @@
1
- export declare const isExecute: any;
2
1
  declare let vueImport: any;
3
2
  export declare class MenuItemsDirective extends vueImport {
4
3
  constructor();
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
17
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
18
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19
19
  };
20
- import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
20
+ import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
22
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
23
23
  import Vue from 'vue';
24
24
  import { Options } from 'vue-class-component';
25
- export var isExecute = gh ? false : true;
26
25
  var vueImport;
27
26
  if (!isExecute || parseInt(allVue.version) < 3) {
28
27
  vueImport = Vue3.Vue;
@@ -36,18 +35,18 @@ var MenuItemsDirective = /** @class */ (function (_super) {
36
35
  return _super.call(this, arguments) || this;
37
36
  }
38
37
  MenuItemsDirective.prototype.render = function (createElement) {
39
- if (gh) {
40
- var h = gh || createElement;
38
+ if (!isExecute) {
39
+ var h = !isExecute ? gh : createElement;
41
40
  var slots = null;
42
41
  if (!isNullOrUndefined(this.$slots.default)) {
43
- slots = gh ? this.$slots.default() : this.$slots.default;
42
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
44
43
  }
45
44
  return h('div', { class: 'e-directive' }, slots);
46
45
  }
47
46
  return;
48
47
  };
49
48
  MenuItemsDirective.prototype.updated = function () {
50
- if (gh && this.custom) {
49
+ if (!isExecute && this.custom) {
51
50
  this.custom();
52
51
  }
53
52
  };
@@ -5,7 +5,6 @@ export declare const testProp: any;
5
5
  export declare const props: any;
6
6
  export declare const watch: any;
7
7
  export declare const emitProbs: any;
8
- export declare const isExecute: any;
9
8
  /**
10
9
  * Represents the Essential JS 2 VueJS Menu Component.
11
10
  * ```html
@@ -17,7 +17,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
17
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
18
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19
19
  };
20
- import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
20
+ import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
21
  import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
22
22
  import { Menu } from '@syncfusion/ej2-navigations';
23
23
  import { MenuItemsDirective, MenuItemDirective, MenuItemsPlugin, MenuItemPlugin } from './items.directive';
@@ -33,7 +33,6 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
33
33
  var props_1 = modelProps_1[_i];
34
34
  emitProbs.push('update:' + props_1);
35
35
  }
36
- export var isExecute = gh ? false : true;
37
36
  /**
38
37
  * Represents the Essential JS 2 VueJS Menu Component.
39
38
  * ```html
@@ -108,10 +107,10 @@ var MenuComponent = /** @class */ (function (_super) {
108
107
  }
109
108
  };
110
109
  MenuComponent.prototype.render = function (createElement) {
111
- var h = gh || createElement;
110
+ var h = !isExecute ? gh : createElement;
112
111
  var slots = null;
113
112
  if (!isNullOrUndefined(this.$slots.default)) {
114
- slots = gh ? this.$slots.default() : this.$slots.default;
113
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
115
114
  }
116
115
  return h('ul', slots);
117
116
  };
@@ -5,7 +5,6 @@ export declare const testProp: any;
5
5
  export declare const props: any;
6
6
  export declare const watch: any;
7
7
  export declare const emitProbs: any;
8
- export declare const isExecute: any;
9
8
  /**
10
9
  * Represents the Essential JS 2 VueJS Sidebar Component.
11
10
  * ```html