@syncfusion/ej2-vue-ribbon 21.1.35

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 (90) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +3 -0
  3. package/dist/ej2-vue-ribbon.umd.min.js +11 -0
  4. package/dist/ej2-vue-ribbon.umd.min.js.map +1 -0
  5. package/dist/es6/ej2-vue-ribbon.es2015.js +420 -0
  6. package/dist/es6/ej2-vue-ribbon.es2015.js.map +1 -0
  7. package/dist/es6/ej2-vue-ribbon.es5.js +424 -0
  8. package/dist/es6/ej2-vue-ribbon.es5.js.map +1 -0
  9. package/dist/global/ej2-vue-ribbon.min.js +10 -0
  10. package/index.d.ts +4 -0
  11. package/index.js +4 -0
  12. package/license +6 -0
  13. package/package.json +62 -0
  14. package/ribbon.d.ts +4 -0
  15. package/ribbon.js +4 -0
  16. package/src/global.js +1 -0
  17. package/src/index.d.ts +6 -0
  18. package/src/index.js +6 -0
  19. package/src/ribbon/collections.directive.d.ts +30 -0
  20. package/src/ribbon/collections.directive.js +68 -0
  21. package/src/ribbon/groups.directive.d.ts +26 -0
  22. package/src/ribbon/groups.directive.js +64 -0
  23. package/src/ribbon/index.d.ts +5 -0
  24. package/src/ribbon/index.js +5 -0
  25. package/src/ribbon/items.directive.d.ts +34 -0
  26. package/src/ribbon/items.directive.js +72 -0
  27. package/src/ribbon/ribbon.component.d.ts +16 -0
  28. package/src/ribbon/ribbon.component.js +161 -0
  29. package/src/ribbon/tabs.directive.d.ts +22 -0
  30. package/src/ribbon/tabs.directive.js +60 -0
  31. package/styles/bootstrap-dark.css +1502 -0
  32. package/styles/bootstrap-dark.scss +1 -0
  33. package/styles/bootstrap.css +1507 -0
  34. package/styles/bootstrap.scss +1 -0
  35. package/styles/bootstrap4.css +1557 -0
  36. package/styles/bootstrap4.scss +1 -0
  37. package/styles/bootstrap5-dark.css +1586 -0
  38. package/styles/bootstrap5-dark.scss +1 -0
  39. package/styles/bootstrap5.css +1586 -0
  40. package/styles/bootstrap5.scss +1 -0
  41. package/styles/fabric-dark.css +1478 -0
  42. package/styles/fabric-dark.scss +1 -0
  43. package/styles/fabric.css +1476 -0
  44. package/styles/fabric.scss +1 -0
  45. package/styles/fluent-dark.css +1562 -0
  46. package/styles/fluent-dark.scss +1 -0
  47. package/styles/fluent.css +1562 -0
  48. package/styles/fluent.scss +1 -0
  49. package/styles/highcontrast-light.css +1485 -0
  50. package/styles/highcontrast-light.scss +1 -0
  51. package/styles/highcontrast.css +1494 -0
  52. package/styles/highcontrast.scss +1 -0
  53. package/styles/material-dark.css +1548 -0
  54. package/styles/material-dark.scss +1 -0
  55. package/styles/material.css +1581 -0
  56. package/styles/material.scss +1 -0
  57. package/styles/ribbon/bootstrap-dark.css +1502 -0
  58. package/styles/ribbon/bootstrap-dark.scss +1 -0
  59. package/styles/ribbon/bootstrap.css +1507 -0
  60. package/styles/ribbon/bootstrap.scss +1 -0
  61. package/styles/ribbon/bootstrap4.css +1557 -0
  62. package/styles/ribbon/bootstrap4.scss +1 -0
  63. package/styles/ribbon/bootstrap5-dark.css +1586 -0
  64. package/styles/ribbon/bootstrap5-dark.scss +1 -0
  65. package/styles/ribbon/bootstrap5.css +1586 -0
  66. package/styles/ribbon/bootstrap5.scss +1 -0
  67. package/styles/ribbon/fabric-dark.css +1478 -0
  68. package/styles/ribbon/fabric-dark.scss +1 -0
  69. package/styles/ribbon/fabric.css +1476 -0
  70. package/styles/ribbon/fabric.scss +1 -0
  71. package/styles/ribbon/fluent-dark.css +1562 -0
  72. package/styles/ribbon/fluent-dark.scss +1 -0
  73. package/styles/ribbon/fluent.css +1562 -0
  74. package/styles/ribbon/fluent.scss +1 -0
  75. package/styles/ribbon/highcontrast-light.css +1485 -0
  76. package/styles/ribbon/highcontrast-light.scss +1 -0
  77. package/styles/ribbon/highcontrast.css +1494 -0
  78. package/styles/ribbon/highcontrast.scss +1 -0
  79. package/styles/ribbon/material-dark.css +1548 -0
  80. package/styles/ribbon/material-dark.scss +1 -0
  81. package/styles/ribbon/material.css +1581 -0
  82. package/styles/ribbon/material.scss +1 -0
  83. package/styles/ribbon/tailwind-dark.css +1560 -0
  84. package/styles/ribbon/tailwind-dark.scss +1 -0
  85. package/styles/ribbon/tailwind.css +1560 -0
  86. package/styles/ribbon/tailwind.scss +1 -0
  87. package/styles/tailwind-dark.css +1560 -0
  88. package/styles/tailwind-dark.scss +1 -0
  89. package/styles/tailwind.css +1560 -0
  90. package/styles/tailwind.scss +1 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,20 @@
1
+ # Changelog
2
+
3
+ ## [Unreleased]
4
+
5
+ ### Ribbon
6
+
7
+ The Ribbon provides a structured and easy-to-use user interface for users to access different features and functions through series of tabs, improving user experience and efficiency.
8
+
9
+
10
+ The Ribbon is a structured layout to manage tools with tabs and groups. The Ribbon control supports buttons, split buttons, toggle buttons, file menu and multiple layouts.
11
+
12
+ #### Key features
13
+
14
+ - **Built-in items** - Several built-in support items, such as buttons, checkboxes, drop-down buttons, split buttons, combo boxes, and color pickers that can be customized and used to execute specific actions.
15
+ - **Modes** - Offers the classic mode that organizes items and groups in a traditional form, and simplified mode that organizes items and groups into a single row for improved usability and reduced clutter.
16
+ - **Tooltip** - Provide additional information when a user hovers over a ribbon item, improving user experience and increasing the usability of the application.
17
+ - **File menu** - A built-in menu that to add file related actions easily.
18
+ - **Templates** - Customize ribbon items and the help pane content using templates.
19
+
20
+
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # Vue Ribbon Component
2
+
3
+ The Ribbon is a structured layout to manage tools with tabs and groups. The Ribbon control supports buttons, split buttons, toggle buttons, file menu and multiple layouts.
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * filename: ej2-vue-ribbon.umd.min.js
3
+ * version : 21.1.35
4
+ * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
+ * Use of this code is subject to the terms of our license.
6
+ * A copy of the current license can be obtained at any time by e-mailing
7
+ * licensing@syncfusion.com. Any infringement will be prosecuted under
8
+ * applicable laws.
9
+ */
10
+ !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@syncfusion/ej2-ribbon"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-ribbon","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],n):n(e.ej={},e.ej2Ribbon,e.ej2VueBase,e.ej2Base)}(this,function(e,n,t,i){"use strict";var o=t.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!t.isExecute){var n=t.isExecute?e:t.gh,o=null;return i.isNullOrUndefined(this.$slots.default)||(o=t.isExecute?this.$slots.default:this.$slots.default()),n("div",{class:"e-directive"},o)}},updated:function(){!t.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-ribbon-items"}}}),s={name:"e-ribbon-items",install:function(e){e.component(s.name,o)}},u=t.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-ribbon-item"}}}),r={name:"e-ribbon-item",install:function(e){e.component(r.name,u)}},c=t.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!t.isExecute){var n=t.isExecute?e:t.gh,o=null;return i.isNullOrUndefined(this.$slots.default)||(o=t.isExecute?this.$slots.default:this.$slots.default()),n("div",{class:"e-directive"},o)}},updated:function(){!t.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-ribbon-collections"}}}),a={name:"e-ribbon-collections",install:function(e){e.component(a.name,c)}},l=t.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-ribbon-collection"}}}),b={name:"e-ribbon-collection",install:function(e){e.component(b.name,l)}},m=t.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!t.isExecute){var n=t.isExecute?e:t.gh,o=null;return i.isNullOrUndefined(this.$slots.default)||(o=t.isExecute?this.$slots.default:this.$slots.default()),n("div",{class:"e-directive"},o)}},updated:function(){!t.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-ribbon-groups"}}}),d={name:"e-ribbon-groups",install:function(e){e.component(d.name,m)}},f=t.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-ribbon-group"}}}),p={name:"e-ribbon-group",install:function(e){e.component(p.name,f)}},h=t.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!t.isExecute){var n=t.isExecute?e:t.gh,o=null;return i.isNullOrUndefined(this.$slots.default)||(o=t.isExecute?this.$slots.default:this.$slots.default()),n("div",{class:"e-directive"},o)}},updated:function(){!t.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-ribbon-tabs"}}}),v={name:"e-ribbon-tabs",install:function(e){e.component(v.name,h)}},g=t.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-ribbon-tab"}}}),j={name:"e-ribbon-tab",install:function(e){e.component(j.name,g)}},I=["isLazyUpdate","plugins","activeLayout","cssClass","enablePersistence","enableRtl","fileMenu","helpPaneTemplate","isMinimized","launcherIconCss","locale","selectedTab","tabAnimation","tabs","width","launcherIconClick","ribbonCollapsing","ribbonExpanding","tabSelected","tabSelecting"],C=[],T=t.getProps({props:I}),x=T[0],R=T[1],y=Object.keys(R);y.push("modelchanged","update:modelValue");for(var E=0,P=C;E<P.length;E++){var $=P[E];y.push("update:"+$)}var D=t.vueDefineComponent({name:"RibbonComponent",mixins:[t.ComponentBase],props:x,watch:R,emits:y,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new n.Ribbon({}),propKeys:I,models:C,hasChildDirective:!0,hasInjectedModules:!0,tagMapper:{"e-ribbon-tabs":{"e-ribbon-tab":{"e-ribbon-groups":{"e-ribbon-group":{"e-ribbon-collections":{"e-ribbon-collection":{"e-ribbon-items":"e-ribbon-item"}}}}}}},tagNameMapper:{"e-ribbon-items":"e-items","e-ribbon-collections":"e-collections","e-ribbon-groups":"e-groups","e-ribbon-tabs":"e-tabs"},isVue3:!t.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var n=t.isExecute?e:t.gh,o=null;return i.isNullOrUndefined(this.$slots.default)||(o=t.isExecute?this.$slots.default:this.$slots.default()),n("div",o)},methods:{clearTemplate:function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var n=0,t=e;n<t.length;n++){var o=t[n],s=this.templateCollection[o];if(s&&s.length){for(var u=0,r=s;u<r.length;u++){var c=r[u];i.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[o]}}},setProperties:function(e,n){var t=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,n),e&&this.models&&this.models.length&&Object.keys(e).map(function(n){t.models.map(function(i){n!==i||/datasource/i.test(n)||(t.isVue3?t.ej2Instances.vueInstance.$emit("update:"+n,e[n]):(t.$emit("update:"+n,e[n]),t.$emit("modelchanged",e[n])))})})},custom:function(){this.updated()},addCollection:function(e,n,t,i){return this.ej2Instances.addCollection(e,n,t,i)},addGroup:function(e,n,t,i){return this.ej2Instances.addGroup(e,n,t,i)},addItem:function(e,n,t,i){return this.ej2Instances.addItem(e,n,t,i)},addTab:function(e,n,t){return this.ej2Instances.addTab(e,n,t)},disableItem:function(e){return this.ej2Instances.disableItem(e)},enableItem:function(e){return this.ej2Instances.enableItem(e)},refreshLayout:function(){return this.ej2Instances.refreshLayout()},removeCollection:function(e){return this.ej2Instances.removeCollection(e)},removeGroup:function(e){return this.ej2Instances.removeGroup(e)},removeItem:function(e){return this.ej2Instances.removeItem(e)},removeTab:function(e){return this.ej2Instances.removeTab(e)},selectTab:function(e){return this.ej2Instances.selectTab(e)}}}),_={name:"ejs-ribbon",install:function(e){e.component(_.name,D),e.component(j.name,g),e.component(v.name,h),e.component(p.name,f),e.component(d.name,m),e.component(b.name,l),e.component(a.name,c),e.component(r.name,u),e.component(s.name,o)}};e.RibbonItemsDirective=o,e.RibbonItemDirective=u,e.RibbonItemsPlugin=s,e.RibbonItemPlugin=r,e.RibbonCollectionsDirective=c,e.RibbonCollectionDirective=l,e.RibbonCollectionsPlugin=a,e.RibbonCollectionPlugin=b,e.RibbonGroupsDirective=m,e.RibbonGroupDirective=f,e.RibbonGroupsPlugin=d,e.RibbonGroupPlugin=p,e.RibbonTabsDirective=h,e.RibbonTabDirective=g,e.RibbonTabsPlugin=v,e.RibbonTabPlugin=j,e.RibbonComponent=D,e.RibbonPlugin=_,Object.keys(n).forEach(function(t){e[t]=n[t]}),Object.defineProperty(e,"__esModule",{value:!0})});
11
+ //# sourceMappingURL=ej2-vue-ribbon.umd.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ej2-vue-ribbon.umd.min.js","sources":["../src/ribbon/items.directive.js","../src/ribbon/collections.directive.js","../src/ribbon/groups.directive.js","../src/ribbon/tabs.directive.js","../src/ribbon/ribbon.component.js"],"sourcesContent":["import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var RibbonItemsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render: function (createElement) {\n if (!isExecute) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated: function () {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag: function () {\n return 'e-ribbon-items';\n }\n }\n});\nexport var RibbonItemsPlugin = {\n name: 'e-ribbon-items',\n install: function (Vue) {\n Vue.component(RibbonItemsPlugin.name, RibbonItemsDirective);\n }\n};\n/**\n * `e-ribbon-item` directive represent a item in the VueJS Ribbon.\n * ```vue\n * <ejs-ribbon>\n * <e-ribbon-tabs>\n * <e-ribbon-tab></e-ribbon-tab>\n * <e-ribbon-tab>\n * <e-ribbon-groups>\n * <e-ribbon-group>\n * <e-ribbon-collections>\n * <e-ribbon-collection>\n * <e-ribbon-items>\n * <e-ribbon-item></e-ribbon-item>\n * <e-ribbon-item></e-ribbon-item>\n * </e-ribbon-items>\n * </e-ribbon-collection>\n * </e-ribbon-collections>\n * </e-ribbon-group>\n * </e-ribbon-groups>\n * </e-ribbon-tab>\n * </e-ribbon-tabs>\n * </ejs-ribbon>\n * ```\n */\nexport var RibbonItemDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-ribbon-item';\n }\n }\n});\nexport var RibbonItemPlugin = {\n name: 'e-ribbon-item',\n install: function (Vue) {\n Vue.component(RibbonItemPlugin.name, RibbonItemDirective);\n }\n};\n","import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var RibbonCollectionsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render: function (createElement) {\n if (!isExecute) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated: function () {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag: function () {\n return 'e-ribbon-collections';\n }\n }\n});\nexport var RibbonCollectionsPlugin = {\n name: 'e-ribbon-collections',\n install: function (Vue) {\n Vue.component(RibbonCollectionsPlugin.name, RibbonCollectionsDirective);\n }\n};\n/**\n * `e-ribbon-collection` directive represent a collection in the VueJS Ribbon.\n * ```vue\n * <ejs-ribbon>\n * <e-ribbon-tabs>\n * <e-ribbon-tab></e-ribbon-tab>\n * <e-ribbon-tab>\n * <e-ribbon-groups>\n * <e-ribbon-group>\n * <e-ribbon-collections>\n * <e-ribbon-collection></e-ribbon-collection>\n * <e-ribbon-collection></e-ribbon-collection>\n * </e-ribbon-collections>\n * </e-ribbon-group>\n * </e-ribbon-groups>\n * </e-ribbon-tab>\n * </e-ribbon-tabs>\n * </ejs-ribbon>\n * ```\n */\nexport var RibbonCollectionDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-ribbon-collection';\n }\n }\n});\nexport var RibbonCollectionPlugin = {\n name: 'e-ribbon-collection',\n install: function (Vue) {\n Vue.component(RibbonCollectionPlugin.name, RibbonCollectionDirective);\n }\n};\n","import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var RibbonGroupsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render: function (createElement) {\n if (!isExecute) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated: function () {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag: function () {\n return 'e-ribbon-groups';\n }\n }\n});\nexport var RibbonGroupsPlugin = {\n name: 'e-ribbon-groups',\n install: function (Vue) {\n Vue.component(RibbonGroupsPlugin.name, RibbonGroupsDirective);\n }\n};\n/**\n * `e-ribbon-group` directive represent a group in the VueJS Ribbon.\n * ```vue\n * <ejs-ribbon>\n * <e-ribbon-tabs>\n * <e-ribbon-tab></e-ribbon-tab>\n * <e-ribbon-tab>\n * <e-ribbon-groups>\n * <e-ribbon-group></e-ribbon-group>\n * <e-ribbon-group></e-ribbon-group>\n * </e-ribbon-groups>\n * </e-ribbon-tab>\n * </e-ribbon-tabs>\n * </ejs-ribbon>\n * ```\n */\nexport var RibbonGroupDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-ribbon-group';\n }\n }\n});\nexport var RibbonGroupPlugin = {\n name: 'e-ribbon-group',\n install: function (Vue) {\n Vue.component(RibbonGroupPlugin.name, RibbonGroupDirective);\n }\n};\n","import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var RibbonTabsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render: function (createElement) {\n if (!isExecute) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated: function () {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag: function () {\n return 'e-ribbon-tabs';\n }\n }\n});\nexport var RibbonTabsPlugin = {\n name: 'e-ribbon-tabs',\n install: function (Vue) {\n Vue.component(RibbonTabsPlugin.name, RibbonTabsDirective);\n }\n};\n/**\n * `e-ribbon-tab` directive represent a column of the VueJS Ribbon.\n * It must be contained in a Ribbon component(`ejs-ribbon`).\n * ```vue\n * <ejs-ribbon>\n * <e-ribbon-tabs>\n * <e-ribbon-tab></e-ribbon-tab>\n * <e-ribbon-tab></e-ribbon-tab>\n * </e-ribbon-tabs>\n * </ejs-ribbon>\n * ```\n */\nexport var RibbonTabDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-ribbon-tab';\n }\n }\n});\nexport var RibbonTabPlugin = {\n name: 'e-ribbon-tab',\n install: function (Vue) {\n Vue.component(RibbonTabPlugin.name, RibbonTabDirective);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { Ribbon } from '@syncfusion/ej2-ribbon';\nimport { RibbonItemsDirective, RibbonItemDirective, RibbonItemsPlugin, RibbonItemPlugin } from './items.directive';\nimport { RibbonCollectionsDirective, RibbonCollectionDirective, RibbonCollectionsPlugin, RibbonCollectionPlugin } from './collections.directive';\nimport { RibbonGroupsDirective, RibbonGroupDirective, RibbonGroupsPlugin, RibbonGroupPlugin } from './groups.directive';\nimport { RibbonTabsDirective, RibbonTabDirective, RibbonTabsPlugin, RibbonTabPlugin } from './tabs.directive';\nexport var properties = ['isLazyUpdate', 'plugins', 'activeLayout', 'cssClass', 'enablePersistence', 'enableRtl', 'fileMenu', 'helpPaneTemplate', 'isMinimized', 'launcherIconCss', 'locale', 'selectedTab', 'tabAnimation', 'tabs', 'width', 'launcherIconClick', 'ribbonCollapsing', 'ribbonExpanding', 'tabSelected', 'tabSelecting'];\nexport var modelProps = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\n/**\n * Represents the Essential JS 2 VueJS Ribbon Component\n * ```vue\n * <ejs-ribbon></ejs-ribbon>\n * ```\n */\nexport var RibbonComponent = vueDefineComponent({\n name: 'RibbonComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new Ribbon({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: true,\n hasInjectedModules: true,\n tagMapper: { \"e-ribbon-tabs\": { \"e-ribbon-tab\": { \"e-ribbon-groups\": { \"e-ribbon-group\": { \"e-ribbon-collections\": { \"e-ribbon-collection\": { \"e-ribbon-items\": \"e-ribbon-item\" } } } } } } },\n tagNameMapper: { \"e-ribbon-items\": \"e-items\", \"e-ribbon-collections\": \"e-collections\", \"e-ribbon-groups\": \"e-groups\", \"e-ribbon-tabs\": \"e-tabs\" },\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n },\n render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n clearTemplate: function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n },\n setProperties: function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n },\n custom: function () {\n this.updated();\n },\n addCollection: function (groupId, collection, targetId, isAfter) {\n return this.ej2Instances.addCollection(groupId, collection, targetId, isAfter);\n },\n addGroup: function (tabId, group, targetId, isAfter) {\n return this.ej2Instances.addGroup(tabId, group, targetId, isAfter);\n },\n addItem: function (collectionId, item, targetId, isAfter) {\n return this.ej2Instances.addItem(collectionId, item, targetId, isAfter);\n },\n addTab: function (tab, targetId, isAfter) {\n return this.ej2Instances.addTab(tab, targetId, isAfter);\n },\n disableItem: function (itemId) {\n return this.ej2Instances.disableItem(itemId);\n },\n enableItem: function (itemId) {\n return this.ej2Instances.enableItem(itemId);\n },\n refreshLayout: function () {\n return this.ej2Instances.refreshLayout();\n },\n removeCollection: function (collectionId) {\n return this.ej2Instances.removeCollection(collectionId);\n },\n removeGroup: function (groupId) {\n return this.ej2Instances.removeGroup(groupId);\n },\n removeItem: function (itemId) {\n return this.ej2Instances.removeItem(itemId);\n },\n removeTab: function (tabId) {\n return this.ej2Instances.removeTab(tabId);\n },\n selectTab: function (tabId) {\n return this.ej2Instances.selectTab(tabId);\n },\n }\n});\nexport var RibbonPlugin = {\n name: 'ejs-ribbon',\n install: function (Vue) {\n Vue.component(RibbonPlugin.name, RibbonComponent);\n Vue.component(RibbonTabPlugin.name, RibbonTabDirective);\n Vue.component(RibbonTabsPlugin.name, RibbonTabsDirective);\n Vue.component(RibbonGroupPlugin.name, RibbonGroupDirective);\n Vue.component(RibbonGroupsPlugin.name, RibbonGroupsDirective);\n Vue.component(RibbonCollectionPlugin.name, RibbonCollectionDirective);\n Vue.component(RibbonCollectionsPlugin.name, RibbonCollectionsDirective);\n Vue.component(RibbonItemPlugin.name, RibbonItemDirective);\n Vue.component(RibbonItemsPlugin.name, RibbonItemsDirective);\n }\n};\n"],"names":["RibbonItemsDirective","vueDefineComponent","inject","custom","default","render","createElement","isExecute","h","gh","slots","isNullOrUndefined","this","$slots","class","updated","methods","getTag","RibbonItemsPlugin","name","install","Vue","component","RibbonItemDirective","RibbonItemPlugin","RibbonCollectionsDirective","RibbonCollectionsPlugin","RibbonCollectionDirective","RibbonCollectionPlugin","RibbonGroupsDirective","RibbonGroupsPlugin","RibbonGroupDirective","RibbonGroupPlugin","RibbonTabsDirective","RibbonTabsPlugin","RibbonTabDirective","RibbonTabPlugin","properties","modelProps","testProp","getProps","props","watch","emitProbs","Object","keys","push","_i","modelProps_1","length","props_1","RibbonComponent","mixins","ComponentBase","emits","provide","data","ej2Instances","Ribbon","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","e-ribbon-tabs","e-ribbon-tab","e-ribbon-groups","e-ribbon-group","e-ribbon-collections","e-ribbon-collection","e-ribbon-items","tagNameMapper","isVue3","templateCollection","created","bindProperties","_setProperties","setProperties","clearTemplate","templateNames","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","_this","referModels","map","key","model","test","vueInstance","$emit","addCollection","groupId","collection","targetId","isAfter","addGroup","tabId","group","addItem","collectionId","item","addTab","tab","disableItem","itemId","enableItem","refreshLayout","removeCollection","removeGroup","removeItem","removeTab","selectTab","RibbonPlugin"],"mappings":"+YAEO,IAAIA,EAAuBC,sBAC9BC,QAAUC,QAAUC,QAAS,OAC7BC,OAAQ,SAAUC,GACd,IAAKC,YAAW,CACZ,IAAIC,EAAKD,YAAiBD,EAALG,KACjBC,EAAQ,KAIZ,OAHKC,oBAAkBC,KAAKC,OAAOT,WAC/BM,EAASH,YAAoCK,KAAKC,OAAOT,QAApCQ,KAAKC,OAAOT,WAE9BI,EAAE,OAASM,MAAO,eAAiBJ,KAIlDK,QAAS,YACAR,aAAaK,KAAKT,QACnBS,KAAKT,UAGba,SACIC,OAAQ,WACJ,MAAO,qBAIRC,GACPC,KAAM,iBACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUJ,EAAkBC,KAAMnB,KA2BnCuB,EAAsBtB,sBAC7BI,OAAQ,aAGRW,SACIC,OAAQ,WACJ,MAAO,oBAIRO,GACPL,KAAM,gBACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUE,EAAiBL,KAAMI,KCnElCE,EAA6BxB,sBACpCC,QAAUC,QAAUC,QAAS,OAC7BC,OAAQ,SAAUC,GACd,IAAKC,YAAW,CACZ,IAAIC,EAAKD,YAAiBD,EAALG,KACjBC,EAAQ,KAIZ,OAHKC,oBAAkBC,KAAKC,OAAOT,WAC/BM,EAASH,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KAAMY,GACtCV,EAAIC,UAAUQ,EAAmBX,KAAMU,GACvCR,EAAIC,UAAUM,EAAuBT,KAAMQ,GAC3CN,EAAIC,UAAUI,EAAwBP,KAAMM,GAC5CJ,EAAIC,UAAUE,EAAiBL,KAAMI,GACrCF,EAAIC,UAAUJ,EAAkBC,KAAMnB"}
@@ -0,0 +1,420 @@
1
+ import { Ribbon } from '@syncfusion/ej2-ribbon';
2
+ import { ComponentBase, getProps, gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
3
+ import { getValue, isNullOrUndefined } from '@syncfusion/ej2-base';
4
+
5
+ let RibbonItemsDirective = vueDefineComponent({
6
+ inject: { custom: { default: null } },
7
+ render(createElement) {
8
+ if (!isExecute) {
9
+ let h = !isExecute ? gh : createElement;
10
+ let slots = null;
11
+ if (!isNullOrUndefined(this.$slots.default)) {
12
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
13
+ }
14
+ return h('div', { class: 'e-directive' }, slots);
15
+ }
16
+ return;
17
+ },
18
+ updated() {
19
+ if (!isExecute && this.custom) {
20
+ this.custom();
21
+ }
22
+ },
23
+ methods: {
24
+ getTag() {
25
+ return 'e-ribbon-items';
26
+ }
27
+ }
28
+ });
29
+ const RibbonItemsPlugin = {
30
+ name: 'e-ribbon-items',
31
+ install(Vue) {
32
+ Vue.component(RibbonItemsPlugin.name, RibbonItemsDirective);
33
+ }
34
+ };
35
+ /**
36
+ * `e-ribbon-item` directive represent a item in the VueJS Ribbon.
37
+ * ```vue
38
+ * <ejs-ribbon>
39
+ * <e-ribbon-tabs>
40
+ * <e-ribbon-tab></e-ribbon-tab>
41
+ * <e-ribbon-tab>
42
+ * <e-ribbon-groups>
43
+ * <e-ribbon-group>
44
+ * <e-ribbon-collections>
45
+ * <e-ribbon-collection>
46
+ * <e-ribbon-items>
47
+ * <e-ribbon-item></e-ribbon-item>
48
+ * <e-ribbon-item></e-ribbon-item>
49
+ * </e-ribbon-items>
50
+ * </e-ribbon-collection>
51
+ * </e-ribbon-collections>
52
+ * </e-ribbon-group>
53
+ * </e-ribbon-groups>
54
+ * </e-ribbon-tab>
55
+ * </e-ribbon-tabs>
56
+ * </ejs-ribbon>
57
+ * ```
58
+ */
59
+ let RibbonItemDirective = vueDefineComponent({
60
+ render() {
61
+ return;
62
+ },
63
+ methods: {
64
+ getTag() {
65
+ return 'e-ribbon-item';
66
+ }
67
+ }
68
+ });
69
+ const RibbonItemPlugin = {
70
+ name: 'e-ribbon-item',
71
+ install(Vue) {
72
+ Vue.component(RibbonItemPlugin.name, RibbonItemDirective);
73
+ }
74
+ };
75
+
76
+ let RibbonCollectionsDirective = vueDefineComponent({
77
+ inject: { custom: { default: null } },
78
+ render(createElement) {
79
+ if (!isExecute) {
80
+ let h = !isExecute ? gh : createElement;
81
+ let slots = null;
82
+ if (!isNullOrUndefined(this.$slots.default)) {
83
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
84
+ }
85
+ return h('div', { class: 'e-directive' }, slots);
86
+ }
87
+ return;
88
+ },
89
+ updated() {
90
+ if (!isExecute && this.custom) {
91
+ this.custom();
92
+ }
93
+ },
94
+ methods: {
95
+ getTag() {
96
+ return 'e-ribbon-collections';
97
+ }
98
+ }
99
+ });
100
+ const RibbonCollectionsPlugin = {
101
+ name: 'e-ribbon-collections',
102
+ install(Vue) {
103
+ Vue.component(RibbonCollectionsPlugin.name, RibbonCollectionsDirective);
104
+ }
105
+ };
106
+ /**
107
+ * `e-ribbon-collection` directive represent a collection in the VueJS Ribbon.
108
+ * ```vue
109
+ * <ejs-ribbon>
110
+ * <e-ribbon-tabs>
111
+ * <e-ribbon-tab></e-ribbon-tab>
112
+ * <e-ribbon-tab>
113
+ * <e-ribbon-groups>
114
+ * <e-ribbon-group>
115
+ * <e-ribbon-collections>
116
+ * <e-ribbon-collection></e-ribbon-collection>
117
+ * <e-ribbon-collection></e-ribbon-collection>
118
+ * </e-ribbon-collections>
119
+ * </e-ribbon-group>
120
+ * </e-ribbon-groups>
121
+ * </e-ribbon-tab>
122
+ * </e-ribbon-tabs>
123
+ * </ejs-ribbon>
124
+ * ```
125
+ */
126
+ let RibbonCollectionDirective = vueDefineComponent({
127
+ render() {
128
+ return;
129
+ },
130
+ methods: {
131
+ getTag() {
132
+ return 'e-ribbon-collection';
133
+ }
134
+ }
135
+ });
136
+ const RibbonCollectionPlugin = {
137
+ name: 'e-ribbon-collection',
138
+ install(Vue) {
139
+ Vue.component(RibbonCollectionPlugin.name, RibbonCollectionDirective);
140
+ }
141
+ };
142
+
143
+ let RibbonGroupsDirective = vueDefineComponent({
144
+ inject: { custom: { default: null } },
145
+ render(createElement) {
146
+ if (!isExecute) {
147
+ let h = !isExecute ? gh : createElement;
148
+ let slots = null;
149
+ if (!isNullOrUndefined(this.$slots.default)) {
150
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
151
+ }
152
+ return h('div', { class: 'e-directive' }, slots);
153
+ }
154
+ return;
155
+ },
156
+ updated() {
157
+ if (!isExecute && this.custom) {
158
+ this.custom();
159
+ }
160
+ },
161
+ methods: {
162
+ getTag() {
163
+ return 'e-ribbon-groups';
164
+ }
165
+ }
166
+ });
167
+ const RibbonGroupsPlugin = {
168
+ name: 'e-ribbon-groups',
169
+ install(Vue) {
170
+ Vue.component(RibbonGroupsPlugin.name, RibbonGroupsDirective);
171
+ }
172
+ };
173
+ /**
174
+ * `e-ribbon-group` directive represent a group in the VueJS Ribbon.
175
+ * ```vue
176
+ * <ejs-ribbon>
177
+ * <e-ribbon-tabs>
178
+ * <e-ribbon-tab></e-ribbon-tab>
179
+ * <e-ribbon-tab>
180
+ * <e-ribbon-groups>
181
+ * <e-ribbon-group></e-ribbon-group>
182
+ * <e-ribbon-group></e-ribbon-group>
183
+ * </e-ribbon-groups>
184
+ * </e-ribbon-tab>
185
+ * </e-ribbon-tabs>
186
+ * </ejs-ribbon>
187
+ * ```
188
+ */
189
+ let RibbonGroupDirective = vueDefineComponent({
190
+ render() {
191
+ return;
192
+ },
193
+ methods: {
194
+ getTag() {
195
+ return 'e-ribbon-group';
196
+ }
197
+ }
198
+ });
199
+ const RibbonGroupPlugin = {
200
+ name: 'e-ribbon-group',
201
+ install(Vue) {
202
+ Vue.component(RibbonGroupPlugin.name, RibbonGroupDirective);
203
+ }
204
+ };
205
+
206
+ let RibbonTabsDirective = vueDefineComponent({
207
+ inject: { custom: { default: null } },
208
+ render(createElement) {
209
+ if (!isExecute) {
210
+ let h = !isExecute ? gh : createElement;
211
+ let slots = null;
212
+ if (!isNullOrUndefined(this.$slots.default)) {
213
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
214
+ }
215
+ return h('div', { class: 'e-directive' }, slots);
216
+ }
217
+ return;
218
+ },
219
+ updated() {
220
+ if (!isExecute && this.custom) {
221
+ this.custom();
222
+ }
223
+ },
224
+ methods: {
225
+ getTag() {
226
+ return 'e-ribbon-tabs';
227
+ }
228
+ }
229
+ });
230
+ const RibbonTabsPlugin = {
231
+ name: 'e-ribbon-tabs',
232
+ install(Vue) {
233
+ Vue.component(RibbonTabsPlugin.name, RibbonTabsDirective);
234
+ }
235
+ };
236
+ /**
237
+ * `e-ribbon-tab` directive represent a column of the VueJS Ribbon.
238
+ * It must be contained in a Ribbon component(`ejs-ribbon`).
239
+ * ```vue
240
+ * <ejs-ribbon>
241
+ * <e-ribbon-tabs>
242
+ * <e-ribbon-tab></e-ribbon-tab>
243
+ * <e-ribbon-tab></e-ribbon-tab>
244
+ * </e-ribbon-tabs>
245
+ * </ejs-ribbon>
246
+ * ```
247
+ */
248
+ let RibbonTabDirective = vueDefineComponent({
249
+ render() {
250
+ return;
251
+ },
252
+ methods: {
253
+ getTag() {
254
+ return 'e-ribbon-tab';
255
+ }
256
+ }
257
+ });
258
+ const RibbonTabPlugin = {
259
+ name: 'e-ribbon-tab',
260
+ install(Vue) {
261
+ Vue.component(RibbonTabPlugin.name, RibbonTabDirective);
262
+ }
263
+ };
264
+
265
+ const properties = ['isLazyUpdate', 'plugins', 'activeLayout', 'cssClass', 'enablePersistence', 'enableRtl', 'fileMenu', 'helpPaneTemplate', 'isMinimized', 'launcherIconCss', 'locale', 'selectedTab', 'tabAnimation', 'tabs', 'width', 'launcherIconClick', 'ribbonCollapsing', 'ribbonExpanding', 'tabSelected', 'tabSelecting'];
266
+ const modelProps = [];
267
+ const testProp = getProps({ props: properties });
268
+ const props = testProp[0];
269
+ const watch = testProp[1];
270
+ const emitProbs = Object.keys(watch);
271
+ emitProbs.push('modelchanged', 'update:modelValue');
272
+ for (let props of modelProps) {
273
+ emitProbs.push('update:' + props);
274
+ }
275
+ /**
276
+ * Represents the Essential JS 2 VueJS Ribbon Component
277
+ * ```vue
278
+ * <ejs-ribbon></ejs-ribbon>
279
+ * ```
280
+ */
281
+ let RibbonComponent = vueDefineComponent({
282
+ name: 'RibbonComponent',
283
+ mixins: [ComponentBase],
284
+ props: props,
285
+ watch: watch,
286
+ emits: emitProbs,
287
+ provide() { return { custom: this.custom }; },
288
+ data() {
289
+ return {
290
+ ej2Instances: new Ribbon({}),
291
+ propKeys: properties,
292
+ models: modelProps,
293
+ hasChildDirective: true,
294
+ hasInjectedModules: true,
295
+ tagMapper: { "e-ribbon-tabs": { "e-ribbon-tab": { "e-ribbon-groups": { "e-ribbon-group": { "e-ribbon-collections": { "e-ribbon-collection": { "e-ribbon-items": "e-ribbon-item" } } } } } } },
296
+ tagNameMapper: { "e-ribbon-items": "e-items", "e-ribbon-collections": "e-collections", "e-ribbon-groups": "e-groups", "e-ribbon-tabs": "e-tabs" },
297
+ isVue3: !isExecute,
298
+ templateCollection: {},
299
+ };
300
+ },
301
+ created() {
302
+ this.bindProperties();
303
+ this.ej2Instances._setProperties = this.ej2Instances.setProperties;
304
+ this.ej2Instances.setProperties = this.setProperties;
305
+ this.ej2Instances.clearTemplate = this.clearTemplate;
306
+ this.updated = this.updated;
307
+ },
308
+ render(createElement) {
309
+ let h = !isExecute ? gh : createElement;
310
+ let slots = null;
311
+ if (!isNullOrUndefined(this.$slots.default)) {
312
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
313
+ }
314
+ return h('div', slots);
315
+ },
316
+ methods: {
317
+ clearTemplate(templateNames) {
318
+ if (!templateNames) {
319
+ templateNames = Object.keys(this.templateCollection || {});
320
+ }
321
+ if (templateNames.length && this.templateCollection) {
322
+ for (let tempName of templateNames) {
323
+ let elementCollection = this.templateCollection[tempName];
324
+ if (elementCollection && elementCollection.length) {
325
+ for (let ele of elementCollection) {
326
+ let destroy = getValue('__vue__.$destroy', ele);
327
+ if (destroy) {
328
+ ele.__vue__.$destroy();
329
+ }
330
+ if (ele.innerHTML) {
331
+ ele.innerHTML = '';
332
+ }
333
+ }
334
+ delete this.templateCollection[tempName];
335
+ }
336
+ }
337
+ }
338
+ },
339
+ setProperties(prop, muteOnChange) {
340
+ if (this.isVue3) {
341
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
342
+ }
343
+ if (this.ej2Instances && this.ej2Instances._setProperties) {
344
+ this.ej2Instances._setProperties(prop, muteOnChange);
345
+ }
346
+ if (prop && this.models && this.models.length) {
347
+ Object.keys(prop).map((key) => {
348
+ this.models.map((model) => {
349
+ if ((key === model) && !(/datasource/i.test(key))) {
350
+ if (this.isVue3) {
351
+ this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
352
+ }
353
+ else {
354
+ this.$emit('update:' + key, prop[key]);
355
+ this.$emit('modelchanged', prop[key]);
356
+ }
357
+ }
358
+ });
359
+ });
360
+ }
361
+ },
362
+ custom() {
363
+ this.updated();
364
+ },
365
+ addCollection(groupId, collection, targetId, isAfter) {
366
+ return this.ej2Instances.addCollection(groupId, collection, targetId, isAfter);
367
+ },
368
+ addGroup(tabId, group, targetId, isAfter) {
369
+ return this.ej2Instances.addGroup(tabId, group, targetId, isAfter);
370
+ },
371
+ addItem(collectionId, item, targetId, isAfter) {
372
+ return this.ej2Instances.addItem(collectionId, item, targetId, isAfter);
373
+ },
374
+ addTab(tab, targetId, isAfter) {
375
+ return this.ej2Instances.addTab(tab, targetId, isAfter);
376
+ },
377
+ disableItem(itemId) {
378
+ return this.ej2Instances.disableItem(itemId);
379
+ },
380
+ enableItem(itemId) {
381
+ return this.ej2Instances.enableItem(itemId);
382
+ },
383
+ refreshLayout() {
384
+ return this.ej2Instances.refreshLayout();
385
+ },
386
+ removeCollection(collectionId) {
387
+ return this.ej2Instances.removeCollection(collectionId);
388
+ },
389
+ removeGroup(groupId) {
390
+ return this.ej2Instances.removeGroup(groupId);
391
+ },
392
+ removeItem(itemId) {
393
+ return this.ej2Instances.removeItem(itemId);
394
+ },
395
+ removeTab(tabId) {
396
+ return this.ej2Instances.removeTab(tabId);
397
+ },
398
+ selectTab(tabId) {
399
+ return this.ej2Instances.selectTab(tabId);
400
+ },
401
+ }
402
+ });
403
+ const RibbonPlugin = {
404
+ name: 'ejs-ribbon',
405
+ install(Vue) {
406
+ Vue.component(RibbonPlugin.name, RibbonComponent);
407
+ Vue.component(RibbonTabPlugin.name, RibbonTabDirective);
408
+ Vue.component(RibbonTabsPlugin.name, RibbonTabsDirective);
409
+ Vue.component(RibbonGroupPlugin.name, RibbonGroupDirective);
410
+ Vue.component(RibbonGroupsPlugin.name, RibbonGroupsDirective);
411
+ Vue.component(RibbonCollectionPlugin.name, RibbonCollectionDirective);
412
+ Vue.component(RibbonCollectionsPlugin.name, RibbonCollectionsDirective);
413
+ Vue.component(RibbonItemPlugin.name, RibbonItemDirective);
414
+ Vue.component(RibbonItemsPlugin.name, RibbonItemsDirective);
415
+ }
416
+ };
417
+
418
+ export { RibbonItemsDirective, RibbonItemDirective, RibbonItemsPlugin, RibbonItemPlugin, RibbonCollectionsDirective, RibbonCollectionDirective, RibbonCollectionsPlugin, RibbonCollectionPlugin, RibbonGroupsDirective, RibbonGroupDirective, RibbonGroupsPlugin, RibbonGroupPlugin, RibbonTabsDirective, RibbonTabDirective, RibbonTabsPlugin, RibbonTabPlugin, RibbonComponent, RibbonPlugin };
419
+ export * from '@syncfusion/ej2-ribbon';
420
+ //# sourceMappingURL=ej2-vue-ribbon.es2015.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ej2-vue-ribbon.es2015.js","sources":["../src/es6/ribbon/items.directive.js","../src/es6/ribbon/collections.directive.js","../src/es6/ribbon/groups.directive.js","../src/es6/ribbon/tabs.directive.js","../src/es6/ribbon/ribbon.component.js"],"sourcesContent":["import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport let RibbonItemsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render(createElement) {\n if (!isExecute) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated() {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag() {\n return 'e-ribbon-items';\n }\n }\n});\nexport const RibbonItemsPlugin = {\n name: 'e-ribbon-items',\n install(Vue) {\n Vue.component(RibbonItemsPlugin.name, RibbonItemsDirective);\n }\n};\n/**\n * `e-ribbon-item` directive represent a item in the VueJS Ribbon.\n * ```vue\n * <ejs-ribbon>\n * <e-ribbon-tabs>\n * <e-ribbon-tab></e-ribbon-tab>\n * <e-ribbon-tab>\n * <e-ribbon-groups>\n * <e-ribbon-group>\n * <e-ribbon-collections>\n * <e-ribbon-collection>\n * <e-ribbon-items>\n * <e-ribbon-item></e-ribbon-item>\n * <e-ribbon-item></e-ribbon-item>\n * </e-ribbon-items>\n * </e-ribbon-collection>\n * </e-ribbon-collections>\n * </e-ribbon-group>\n * </e-ribbon-groups>\n * </e-ribbon-tab>\n * </e-ribbon-tabs>\n * </ejs-ribbon>\n * ```\n */\nexport let RibbonItemDirective = vueDefineComponent({\n render() {\n return;\n },\n methods: {\n getTag() {\n return 'e-ribbon-item';\n }\n }\n});\nexport const RibbonItemPlugin = {\n name: 'e-ribbon-item',\n install(Vue) {\n Vue.component(RibbonItemPlugin.name, RibbonItemDirective);\n }\n};\n","import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport let RibbonCollectionsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render(createElement) {\n if (!isExecute) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated() {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag() {\n return 'e-ribbon-collections';\n }\n }\n});\nexport const RibbonCollectionsPlugin = {\n name: 'e-ribbon-collections',\n install(Vue) {\n Vue.component(RibbonCollectionsPlugin.name, RibbonCollectionsDirective);\n }\n};\n/**\n * `e-ribbon-collection` directive represent a collection in the VueJS Ribbon.\n * ```vue\n * <ejs-ribbon>\n * <e-ribbon-tabs>\n * <e-ribbon-tab></e-ribbon-tab>\n * <e-ribbon-tab>\n * <e-ribbon-groups>\n * <e-ribbon-group>\n * <e-ribbon-collections>\n * <e-ribbon-collection></e-ribbon-collection>\n * <e-ribbon-collection></e-ribbon-collection>\n * </e-ribbon-collections>\n * </e-ribbon-group>\n * </e-ribbon-groups>\n * </e-ribbon-tab>\n * </e-ribbon-tabs>\n * </ejs-ribbon>\n * ```\n */\nexport let RibbonCollectionDirective = vueDefineComponent({\n render() {\n return;\n },\n methods: {\n getTag() {\n return 'e-ribbon-collection';\n }\n }\n});\nexport const RibbonCollectionPlugin = {\n name: 'e-ribbon-collection',\n install(Vue) {\n Vue.component(RibbonCollectionPlugin.name, RibbonCollectionDirective);\n }\n};\n","import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport let RibbonGroupsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render(createElement) {\n if (!isExecute) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated() {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag() {\n return 'e-ribbon-groups';\n }\n }\n});\nexport const RibbonGroupsPlugin = {\n name: 'e-ribbon-groups',\n install(Vue) {\n Vue.component(RibbonGroupsPlugin.name, RibbonGroupsDirective);\n }\n};\n/**\n * `e-ribbon-group` directive represent a group in the VueJS Ribbon.\n * ```vue\n * <ejs-ribbon>\n * <e-ribbon-tabs>\n * <e-ribbon-tab></e-ribbon-tab>\n * <e-ribbon-tab>\n * <e-ribbon-groups>\n * <e-ribbon-group></e-ribbon-group>\n * <e-ribbon-group></e-ribbon-group>\n * </e-ribbon-groups>\n * </e-ribbon-tab>\n * </e-ribbon-tabs>\n * </ejs-ribbon>\n * ```\n */\nexport let RibbonGroupDirective = vueDefineComponent({\n render() {\n return;\n },\n methods: {\n getTag() {\n return 'e-ribbon-group';\n }\n }\n});\nexport const RibbonGroupPlugin = {\n name: 'e-ribbon-group',\n install(Vue) {\n Vue.component(RibbonGroupPlugin.name, RibbonGroupDirective);\n }\n};\n","import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport let RibbonTabsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render(createElement) {\n if (!isExecute) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated() {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag() {\n return 'e-ribbon-tabs';\n }\n }\n});\nexport const RibbonTabsPlugin = {\n name: 'e-ribbon-tabs',\n install(Vue) {\n Vue.component(RibbonTabsPlugin.name, RibbonTabsDirective);\n }\n};\n/**\n * `e-ribbon-tab` directive represent a column of the VueJS Ribbon.\n * It must be contained in a Ribbon component(`ejs-ribbon`).\n * ```vue\n * <ejs-ribbon>\n * <e-ribbon-tabs>\n * <e-ribbon-tab></e-ribbon-tab>\n * <e-ribbon-tab></e-ribbon-tab>\n * </e-ribbon-tabs>\n * </ejs-ribbon>\n * ```\n */\nexport let RibbonTabDirective = vueDefineComponent({\n render() {\n return;\n },\n methods: {\n getTag() {\n return 'e-ribbon-tab';\n }\n }\n});\nexport const RibbonTabPlugin = {\n name: 'e-ribbon-tab',\n install(Vue) {\n Vue.component(RibbonTabPlugin.name, RibbonTabDirective);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { Ribbon } from '@syncfusion/ej2-ribbon';\nimport { RibbonItemsDirective, RibbonItemDirective, RibbonItemsPlugin, RibbonItemPlugin } from './items.directive';\nimport { RibbonCollectionsDirective, RibbonCollectionDirective, RibbonCollectionsPlugin, RibbonCollectionPlugin } from './collections.directive';\nimport { RibbonGroupsDirective, RibbonGroupDirective, RibbonGroupsPlugin, RibbonGroupPlugin } from './groups.directive';\nimport { RibbonTabsDirective, RibbonTabDirective, RibbonTabsPlugin, RibbonTabPlugin } from './tabs.directive';\nexport const properties = ['isLazyUpdate', 'plugins', 'activeLayout', 'cssClass', 'enablePersistence', 'enableRtl', 'fileMenu', 'helpPaneTemplate', 'isMinimized', 'launcherIconCss', 'locale', 'selectedTab', 'tabAnimation', 'tabs', 'width', 'launcherIconClick', 'ribbonCollapsing', 'ribbonExpanding', 'tabSelected', 'tabSelecting'];\nexport const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * Represents the Essential JS 2 VueJS Ribbon Component\n * ```vue\n * <ejs-ribbon></ejs-ribbon>\n * ```\n */\nexport let RibbonComponent = vueDefineComponent({\n name: 'RibbonComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide() { return { custom: this.custom }; },\n data() {\n return {\n ej2Instances: new Ribbon({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: true,\n hasInjectedModules: true,\n tagMapper: { \"e-ribbon-tabs\": { \"e-ribbon-tab\": { \"e-ribbon-groups\": { \"e-ribbon-group\": { \"e-ribbon-collections\": { \"e-ribbon-collection\": { \"e-ribbon-items\": \"e-ribbon-item\" } } } } } } },\n tagNameMapper: { \"e-ribbon-items\": \"e-items\", \"e-ribbon-collections\": \"e-collections\", \"e-ribbon-groups\": \"e-groups\", \"e-ribbon-tabs\": \"e-tabs\" },\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created() {\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n },\n render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n },\n setProperties(prop, muteOnChange) {\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map((key) => {\n this.models.map((model) => {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (this.isVue3) {\n this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n this.$emit('update:' + key, prop[key]);\n this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n },\n custom() {\n this.updated();\n },\n addCollection(groupId, collection, targetId, isAfter) {\n return this.ej2Instances.addCollection(groupId, collection, targetId, isAfter);\n },\n addGroup(tabId, group, targetId, isAfter) {\n return this.ej2Instances.addGroup(tabId, group, targetId, isAfter);\n },\n addItem(collectionId, item, targetId, isAfter) {\n return this.ej2Instances.addItem(collectionId, item, targetId, isAfter);\n },\n addTab(tab, targetId, isAfter) {\n return this.ej2Instances.addTab(tab, targetId, isAfter);\n },\n disableItem(itemId) {\n return this.ej2Instances.disableItem(itemId);\n },\n enableItem(itemId) {\n return this.ej2Instances.enableItem(itemId);\n },\n refreshLayout() {\n return this.ej2Instances.refreshLayout();\n },\n removeCollection(collectionId) {\n return this.ej2Instances.removeCollection(collectionId);\n },\n removeGroup(groupId) {\n return this.ej2Instances.removeGroup(groupId);\n },\n removeItem(itemId) {\n return this.ej2Instances.removeItem(itemId);\n },\n removeTab(tabId) {\n return this.ej2Instances.removeTab(tabId);\n },\n selectTab(tabId) {\n return this.ej2Instances.selectTab(tabId);\n },\n }\n});\nexport const RibbonPlugin = {\n name: 'ejs-ribbon',\n install(Vue) {\n Vue.component(RibbonPlugin.name, RibbonComponent);\n Vue.component(RibbonTabPlugin.name, RibbonTabDirective);\n Vue.component(RibbonTabsPlugin.name, RibbonTabsDirective);\n Vue.component(RibbonGroupPlugin.name, RibbonGroupDirective);\n Vue.component(RibbonGroupsPlugin.name, RibbonGroupsDirective);\n Vue.component(RibbonCollectionPlugin.name, RibbonCollectionDirective);\n Vue.component(RibbonCollectionsPlugin.name, RibbonCollectionsDirective);\n Vue.component(RibbonItemPlugin.name, RibbonItemDirective);\n Vue.component(RibbonItemsPlugin.name, RibbonItemsDirective);\n }\n};\n"],"names":[],"mappings":";;;;AAEO,IAAI,oBAAoB,GAAG,kBAAkB,CAAC;IACjD,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IACrC,MAAM,CAAC,aAAa,EAAE;QAClB,IAAI,CAAC,SAAS,EAAE;YACZ,IAAI,CAAC,GAAG,CAAC,SAAS,GAAG,EAAE,GAAG,aAAa,CAAC;YACxC,IAAI,KAAK,GAAG,IAAI,CAAC;YACjB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE;gBACzC,KAAK,GAAG,CAAC,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;aACpE;YACD,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE,KAAK,CAAC,CAAC;SACpD;QACD,OAAO;KACV;IACD,OAAO,GAAG;QACN,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,MAAM,EAAE;YAC3B,IAAI,CAAC,MAAM,EAAE,CAAC;SACjB;KACJ;IACD,OAAO,EAAE;QACL,MAAM,GAAG;YACL,OAAO,gBAAgB,CAAC;SAC3B;KACJ;CACJ,CAAC,CAAC;AACH,AAAO,MAAM,iBAAiB,GAAG;IAC7B,IAAI,EAAE,gBAAgB;IACtB,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC;KAC/D;CACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;AAyBF,AAAO,IAAI,mBAAmB,GAAG,kBAAkB,CAAC;IAChD,MAAM,GAAG;QACL,OAAO;KACV;IACD,OAAO,EAAE;QACL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