@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/index.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ /**
2
+ * index
3
+ */
4
+ export * from './src/index';
package/index.js ADDED
@@ -0,0 +1,4 @@
1
+ /**
2
+ * index
3
+ */
4
+ export * from './src/index';
package/license ADDED
@@ -0,0 +1,6 @@
1
+ Essential JS 2 library is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
2
+ To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
3
+ Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
4
+ Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
5
+ The Syncfusion license that contains the terms and conditions can be found at
6
+ https://www.syncfusion.com/content/downloads/syncfusion_license.pdf
package/package.json ADDED
@@ -0,0 +1,62 @@
1
+ {
2
+ "_from": "@syncfusion/ej2-vue-ribbon@*",
3
+ "_id": "@syncfusion/ej2-vue-ribbon@0.25.0",
4
+ "_inBundle": false,
5
+ "_integrity": "sha512-Z212t6x90K0cvTd4C+0Y8E1oZ9rwu8U7vZXBNJ6v9EESfFb5erJ7jtmfsoZmyjgRZIV5dccHffQfptu20TN5mg==",
6
+ "_location": "/@syncfusion/ej2-vue-ribbon",
7
+ "_phantomChildren": {},
8
+ "_requested": {
9
+ "type": "range",
10
+ "registry": true,
11
+ "raw": "@syncfusion/ej2-vue-ribbon@*",
12
+ "name": "@syncfusion/ej2-vue-ribbon",
13
+ "escapedName": "@syncfusion%2fej2-vue-ribbon",
14
+ "scope": "@syncfusion",
15
+ "rawSpec": "*",
16
+ "saveSpec": null,
17
+ "fetchSpec": "*"
18
+ },
19
+ "_requiredBy": [
20
+ "/"
21
+ ],
22
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-ribbon/-/ej2-vue-ribbon-0.25.0.tgz",
23
+ "_shasum": "7cc59323450aa97639a3b8976f0bf75281a7314a",
24
+ "_spec": "@syncfusion/ej2-vue-ribbon@*",
25
+ "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
26
+ "author": {
27
+ "name": "Syncfusion Inc."
28
+ },
29
+ "bugs": {
30
+ "url": "https://github.com/syncfusion/ej2-vue-ui-components/issues"
31
+ },
32
+ "bundleDependencies": false,
33
+ "dependencies": {
34
+ "@syncfusion/ej2-base": "~21.1.35",
35
+ "@syncfusion/ej2-ribbon": "21.1.35",
36
+ "@syncfusion/ej2-vue-base": "~21.1.35"
37
+ },
38
+ "deprecated": false,
39
+ "description": "Essential JS 2 Component for Vue",
40
+ "devDependencies": {},
41
+ "es2015": "dist/es6/ej2-vue-ribbon.es2015.js",
42
+ "homepage": "https://www.syncfusion.com/vue-components",
43
+ "keywords": [
44
+ "vue",
45
+ "vuejs",
46
+ "ej2-vue-ribbon",
47
+ "vue-ribbon"
48
+ ],
49
+ "license": "SEE LICENSE IN license",
50
+ "main": "./dist/ej2-vue-ribbon.umd.min.js",
51
+ "module": "./index.js",
52
+ "name": "@syncfusion/ej2-vue-ribbon",
53
+ "repository": {
54
+ "type": "git",
55
+ "url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
56
+ },
57
+ "scripts": {
58
+ "postinstall": "node ../ej2-vue-base/postinstall.js"
59
+ },
60
+ "version": "21.1.35",
61
+ "sideEffects": false
62
+ }
package/ribbon.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ /**
2
+ * ribbon
3
+ */
4
+ export * from './src/ribbon/index';
package/ribbon.js ADDED
@@ -0,0 +1,4 @@
1
+ /**
2
+ * ribbon
3
+ */
4
+ export * from './src/ribbon/index';
package/src/global.js ADDED
@@ -0,0 +1 @@
1
+ export * from './index';
package/src/index.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ export * from '@syncfusion/ej2-ribbon';
2
+ export { RibbonItemsDirective, RibbonItemDirective, RibbonItemsPlugin, RibbonItemPlugin } from './ribbon/items.directive';
3
+ export { RibbonCollectionsDirective, RibbonCollectionDirective, RibbonCollectionsPlugin, RibbonCollectionPlugin } from './ribbon/collections.directive';
4
+ export { RibbonGroupsDirective, RibbonGroupDirective, RibbonGroupsPlugin, RibbonGroupPlugin } from './ribbon/groups.directive';
5
+ export { RibbonTabsDirective, RibbonTabDirective, RibbonTabsPlugin, RibbonTabPlugin } from './ribbon/tabs.directive';
6
+ export { RibbonComponent, RibbonPlugin } from './ribbon/ribbon.component';
package/src/index.js ADDED
@@ -0,0 +1,6 @@
1
+ export * from '@syncfusion/ej2-ribbon';
2
+ export { RibbonItemsDirective, RibbonItemDirective, RibbonItemsPlugin, RibbonItemPlugin } from './ribbon/items.directive';
3
+ export { RibbonCollectionsDirective, RibbonCollectionDirective, RibbonCollectionsPlugin, RibbonCollectionPlugin } from './ribbon/collections.directive';
4
+ export { RibbonGroupsDirective, RibbonGroupDirective, RibbonGroupsPlugin, RibbonGroupPlugin } from './ribbon/groups.directive';
5
+ export { RibbonTabsDirective, RibbonTabDirective, RibbonTabsPlugin, RibbonTabPlugin } from './ribbon/tabs.directive';
6
+ export { RibbonComponent, RibbonPlugin } from './ribbon/ribbon.component';
@@ -0,0 +1,30 @@
1
+ export declare let RibbonCollectionsDirective: any;
2
+ export declare const RibbonCollectionsPlugin: {
3
+ name: string;
4
+ install(Vue: any): void;
5
+ };
6
+ /**
7
+ * `e-ribbon-collection` directive represent a collection in the VueJS Ribbon.
8
+ * ```vue
9
+ * <ejs-ribbon>
10
+ * <e-ribbon-tabs>
11
+ * <e-ribbon-tab></e-ribbon-tab>
12
+ * <e-ribbon-tab>
13
+ * <e-ribbon-groups>
14
+ * <e-ribbon-group>
15
+ * <e-ribbon-collections>
16
+ * <e-ribbon-collection></e-ribbon-collection>
17
+ * <e-ribbon-collection></e-ribbon-collection>
18
+ * </e-ribbon-collections>
19
+ * </e-ribbon-group>
20
+ * </e-ribbon-groups>
21
+ * </e-ribbon-tab>
22
+ * </e-ribbon-tabs>
23
+ * </ejs-ribbon>
24
+ * ```
25
+ */
26
+ export declare let RibbonCollectionDirective: any;
27
+ export declare const RibbonCollectionPlugin: {
28
+ name: string;
29
+ install(Vue: any): void;
30
+ };
@@ -0,0 +1,68 @@
1
+ import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
2
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
3
+ export var RibbonCollectionsDirective = vueDefineComponent({
4
+ inject: { custom: { default: null } },
5
+ render: function (createElement) {
6
+ if (!isExecute) {
7
+ var h = !isExecute ? gh : createElement;
8
+ var slots = null;
9
+ if (!isNullOrUndefined(this.$slots.default)) {
10
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
11
+ }
12
+ return h('div', { class: 'e-directive' }, slots);
13
+ }
14
+ return;
15
+ },
16
+ updated: function () {
17
+ if (!isExecute && this.custom) {
18
+ this.custom();
19
+ }
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-ribbon-collections';
24
+ }
25
+ }
26
+ });
27
+ export var RibbonCollectionsPlugin = {
28
+ name: 'e-ribbon-collections',
29
+ install: function (Vue) {
30
+ Vue.component(RibbonCollectionsPlugin.name, RibbonCollectionsDirective);
31
+ }
32
+ };
33
+ /**
34
+ * `e-ribbon-collection` directive represent a collection in the VueJS Ribbon.
35
+ * ```vue
36
+ * <ejs-ribbon>
37
+ * <e-ribbon-tabs>
38
+ * <e-ribbon-tab></e-ribbon-tab>
39
+ * <e-ribbon-tab>
40
+ * <e-ribbon-groups>
41
+ * <e-ribbon-group>
42
+ * <e-ribbon-collections>
43
+ * <e-ribbon-collection></e-ribbon-collection>
44
+ * <e-ribbon-collection></e-ribbon-collection>
45
+ * </e-ribbon-collections>
46
+ * </e-ribbon-group>
47
+ * </e-ribbon-groups>
48
+ * </e-ribbon-tab>
49
+ * </e-ribbon-tabs>
50
+ * </ejs-ribbon>
51
+ * ```
52
+ */
53
+ export var RibbonCollectionDirective = vueDefineComponent({
54
+ render: function () {
55
+ return;
56
+ },
57
+ methods: {
58
+ getTag: function () {
59
+ return 'e-ribbon-collection';
60
+ }
61
+ }
62
+ });
63
+ export var RibbonCollectionPlugin = {
64
+ name: 'e-ribbon-collection',
65
+ install: function (Vue) {
66
+ Vue.component(RibbonCollectionPlugin.name, RibbonCollectionDirective);
67
+ }
68
+ };
@@ -0,0 +1,26 @@
1
+ export declare let RibbonGroupsDirective: any;
2
+ export declare const RibbonGroupsPlugin: {
3
+ name: string;
4
+ install(Vue: any): void;
5
+ };
6
+ /**
7
+ * `e-ribbon-group` directive represent a group in the VueJS Ribbon.
8
+ * ```vue
9
+ * <ejs-ribbon>
10
+ * <e-ribbon-tabs>
11
+ * <e-ribbon-tab></e-ribbon-tab>
12
+ * <e-ribbon-tab>
13
+ * <e-ribbon-groups>
14
+ * <e-ribbon-group></e-ribbon-group>
15
+ * <e-ribbon-group></e-ribbon-group>
16
+ * </e-ribbon-groups>
17
+ * </e-ribbon-tab>
18
+ * </e-ribbon-tabs>
19
+ * </ejs-ribbon>
20
+ * ```
21
+ */
22
+ export declare let RibbonGroupDirective: any;
23
+ export declare const RibbonGroupPlugin: {
24
+ name: string;
25
+ install(Vue: any): void;
26
+ };
@@ -0,0 +1,64 @@
1
+ import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
2
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
3
+ export var RibbonGroupsDirective = vueDefineComponent({
4
+ inject: { custom: { default: null } },
5
+ render: function (createElement) {
6
+ if (!isExecute) {
7
+ var h = !isExecute ? gh : createElement;
8
+ var slots = null;
9
+ if (!isNullOrUndefined(this.$slots.default)) {
10
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
11
+ }
12
+ return h('div', { class: 'e-directive' }, slots);
13
+ }
14
+ return;
15
+ },
16
+ updated: function () {
17
+ if (!isExecute && this.custom) {
18
+ this.custom();
19
+ }
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-ribbon-groups';
24
+ }
25
+ }
26
+ });
27
+ export var RibbonGroupsPlugin = {
28
+ name: 'e-ribbon-groups',
29
+ install: function (Vue) {
30
+ Vue.component(RibbonGroupsPlugin.name, RibbonGroupsDirective);
31
+ }
32
+ };
33
+ /**
34
+ * `e-ribbon-group` directive represent a group in the VueJS Ribbon.
35
+ * ```vue
36
+ * <ejs-ribbon>
37
+ * <e-ribbon-tabs>
38
+ * <e-ribbon-tab></e-ribbon-tab>
39
+ * <e-ribbon-tab>
40
+ * <e-ribbon-groups>
41
+ * <e-ribbon-group></e-ribbon-group>
42
+ * <e-ribbon-group></e-ribbon-group>
43
+ * </e-ribbon-groups>
44
+ * </e-ribbon-tab>
45
+ * </e-ribbon-tabs>
46
+ * </ejs-ribbon>
47
+ * ```
48
+ */
49
+ export var RibbonGroupDirective = vueDefineComponent({
50
+ render: function () {
51
+ return;
52
+ },
53
+ methods: {
54
+ getTag: function () {
55
+ return 'e-ribbon-group';
56
+ }
57
+ }
58
+ });
59
+ export var RibbonGroupPlugin = {
60
+ name: 'e-ribbon-group',
61
+ install: function (Vue) {
62
+ Vue.component(RibbonGroupPlugin.name, RibbonGroupDirective);
63
+ }
64
+ };
@@ -0,0 +1,5 @@
1
+ export { RibbonItemsDirective, RibbonItemDirective, RibbonItemsPlugin, RibbonItemPlugin } from './items.directive';
2
+ export { RibbonCollectionsDirective, RibbonCollectionDirective, RibbonCollectionsPlugin, RibbonCollectionPlugin } from './collections.directive';
3
+ export { RibbonGroupsDirective, RibbonGroupDirective, RibbonGroupsPlugin, RibbonGroupPlugin } from './groups.directive';
4
+ export { RibbonTabsDirective, RibbonTabDirective, RibbonTabsPlugin, RibbonTabPlugin } from './tabs.directive';
5
+ export { RibbonComponent, RibbonPlugin } from './ribbon.component';
@@ -0,0 +1,5 @@
1
+ export { RibbonItemsDirective, RibbonItemDirective, RibbonItemsPlugin, RibbonItemPlugin } from './items.directive';
2
+ export { RibbonCollectionsDirective, RibbonCollectionDirective, RibbonCollectionsPlugin, RibbonCollectionPlugin } from './collections.directive';
3
+ export { RibbonGroupsDirective, RibbonGroupDirective, RibbonGroupsPlugin, RibbonGroupPlugin } from './groups.directive';
4
+ export { RibbonTabsDirective, RibbonTabDirective, RibbonTabsPlugin, RibbonTabPlugin } from './tabs.directive';
5
+ export { RibbonComponent, RibbonPlugin } from './ribbon.component';
@@ -0,0 +1,34 @@
1
+ export declare let RibbonItemsDirective: any;
2
+ export declare const RibbonItemsPlugin: {
3
+ name: string;
4
+ install(Vue: any): void;
5
+ };
6
+ /**
7
+ * `e-ribbon-item` directive represent a item in the VueJS Ribbon.
8
+ * ```vue
9
+ * <ejs-ribbon>
10
+ * <e-ribbon-tabs>
11
+ * <e-ribbon-tab></e-ribbon-tab>
12
+ * <e-ribbon-tab>
13
+ * <e-ribbon-groups>
14
+ * <e-ribbon-group>
15
+ * <e-ribbon-collections>
16
+ * <e-ribbon-collection>
17
+ * <e-ribbon-items>
18
+ * <e-ribbon-item></e-ribbon-item>
19
+ * <e-ribbon-item></e-ribbon-item>
20
+ * </e-ribbon-items>
21
+ * </e-ribbon-collection>
22
+ * </e-ribbon-collections>
23
+ * </e-ribbon-group>
24
+ * </e-ribbon-groups>
25
+ * </e-ribbon-tab>
26
+ * </e-ribbon-tabs>
27
+ * </ejs-ribbon>
28
+ * ```
29
+ */
30
+ export declare let RibbonItemDirective: any;
31
+ export declare const RibbonItemPlugin: {
32
+ name: string;
33
+ install(Vue: any): void;
34
+ };
@@ -0,0 +1,72 @@
1
+ import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
2
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
3
+ export var RibbonItemsDirective = vueDefineComponent({
4
+ inject: { custom: { default: null } },
5
+ render: function (createElement) {
6
+ if (!isExecute) {
7
+ var h = !isExecute ? gh : createElement;
8
+ var slots = null;
9
+ if (!isNullOrUndefined(this.$slots.default)) {
10
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
11
+ }
12
+ return h('div', { class: 'e-directive' }, slots);
13
+ }
14
+ return;
15
+ },
16
+ updated: function () {
17
+ if (!isExecute && this.custom) {
18
+ this.custom();
19
+ }
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-ribbon-items';
24
+ }
25
+ }
26
+ });
27
+ export var RibbonItemsPlugin = {
28
+ name: 'e-ribbon-items',
29
+ install: function (Vue) {
30
+ Vue.component(RibbonItemsPlugin.name, RibbonItemsDirective);
31
+ }
32
+ };
33
+ /**
34
+ * `e-ribbon-item` directive represent a item in the VueJS Ribbon.
35
+ * ```vue
36
+ * <ejs-ribbon>
37
+ * <e-ribbon-tabs>
38
+ * <e-ribbon-tab></e-ribbon-tab>
39
+ * <e-ribbon-tab>
40
+ * <e-ribbon-groups>
41
+ * <e-ribbon-group>
42
+ * <e-ribbon-collections>
43
+ * <e-ribbon-collection>
44
+ * <e-ribbon-items>
45
+ * <e-ribbon-item></e-ribbon-item>
46
+ * <e-ribbon-item></e-ribbon-item>
47
+ * </e-ribbon-items>
48
+ * </e-ribbon-collection>
49
+ * </e-ribbon-collections>
50
+ * </e-ribbon-group>
51
+ * </e-ribbon-groups>
52
+ * </e-ribbon-tab>
53
+ * </e-ribbon-tabs>
54
+ * </ejs-ribbon>
55
+ * ```
56
+ */
57
+ export var RibbonItemDirective = vueDefineComponent({
58
+ render: function () {
59
+ return;
60
+ },
61
+ methods: {
62
+ getTag: function () {
63
+ return 'e-ribbon-item';
64
+ }
65
+ }
66
+ });
67
+ export var RibbonItemPlugin = {
68
+ name: 'e-ribbon-item',
69
+ install: function (Vue) {
70
+ Vue.component(RibbonItemPlugin.name, RibbonItemDirective);
71
+ }
72
+ };
@@ -0,0 +1,16 @@
1
+ export declare const properties: string[];
2
+ export declare const modelProps: string[];
3
+ export declare const testProp: any;
4
+ export declare const props: any, watch: any, emitProbs: any;
5
+ /**
6
+ * Represents the Essential JS 2 VueJS Ribbon Component
7
+ * ```vue
8
+ * <ejs-ribbon></ejs-ribbon>
9
+ * ```
10
+ */
11
+ export declare let RibbonComponent: any;
12
+ export declare type RibbonComponent = InstanceType<typeof RibbonComponent>;
13
+ export declare const RibbonPlugin: {
14
+ name: string;
15
+ install(Vue: any): void;
16
+ };
@@ -0,0 +1,161 @@
1
+ import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
2
+ import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
3
+ import { Ribbon } from '@syncfusion/ej2-ribbon';
4
+ import { RibbonItemsDirective, RibbonItemDirective, RibbonItemsPlugin, RibbonItemPlugin } from './items.directive';
5
+ import { RibbonCollectionsDirective, RibbonCollectionDirective, RibbonCollectionsPlugin, RibbonCollectionPlugin } from './collections.directive';
6
+ import { RibbonGroupsDirective, RibbonGroupDirective, RibbonGroupsPlugin, RibbonGroupPlugin } from './groups.directive';
7
+ import { RibbonTabsDirective, RibbonTabDirective, RibbonTabsPlugin, RibbonTabPlugin } from './tabs.directive';
8
+ export var properties = ['isLazyUpdate', 'plugins', 'activeLayout', 'cssClass', 'enablePersistence', 'enableRtl', 'fileMenu', 'helpPaneTemplate', 'isMinimized', 'launcherIconCss', 'locale', 'selectedTab', 'tabAnimation', 'tabs', 'width', 'launcherIconClick', 'ribbonCollapsing', 'ribbonExpanding', 'tabSelected', 'tabSelecting'];
9
+ export var modelProps = [];
10
+ export var testProp = getProps({ props: properties });
11
+ export var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
12
+ emitProbs.push('modelchanged', 'update:modelValue');
13
+ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
14
+ var props_1 = modelProps_1[_i];
15
+ emitProbs.push('update:' + props_1);
16
+ }
17
+ /**
18
+ * Represents the Essential JS 2 VueJS Ribbon Component
19
+ * ```vue
20
+ * <ejs-ribbon></ejs-ribbon>
21
+ * ```
22
+ */
23
+ export var RibbonComponent = vueDefineComponent({
24
+ name: 'RibbonComponent',
25
+ mixins: [ComponentBase],
26
+ props: props,
27
+ watch: watch,
28
+ emits: emitProbs,
29
+ provide: function () { return { custom: this.custom }; },
30
+ data: function () {
31
+ return {
32
+ ej2Instances: new Ribbon({}),
33
+ propKeys: properties,
34
+ models: modelProps,
35
+ hasChildDirective: true,
36
+ hasInjectedModules: true,
37
+ 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" } } } } } } },
38
+ tagNameMapper: { "e-ribbon-items": "e-items", "e-ribbon-collections": "e-collections", "e-ribbon-groups": "e-groups", "e-ribbon-tabs": "e-tabs" },
39
+ isVue3: !isExecute,
40
+ templateCollection: {},
41
+ };
42
+ },
43
+ created: function () {
44
+ this.bindProperties();
45
+ this.ej2Instances._setProperties = this.ej2Instances.setProperties;
46
+ this.ej2Instances.setProperties = this.setProperties;
47
+ this.ej2Instances.clearTemplate = this.clearTemplate;
48
+ this.updated = this.updated;
49
+ },
50
+ render: function (createElement) {
51
+ var h = !isExecute ? gh : createElement;
52
+ var slots = null;
53
+ if (!isNullOrUndefined(this.$slots.default)) {
54
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
55
+ }
56
+ return h('div', slots);
57
+ },
58
+ methods: {
59
+ clearTemplate: function (templateNames) {
60
+ if (!templateNames) {
61
+ templateNames = Object.keys(this.templateCollection || {});
62
+ }
63
+ if (templateNames.length && this.templateCollection) {
64
+ for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
65
+ var tempName = templateNames_1[_i];
66
+ var elementCollection = this.templateCollection[tempName];
67
+ if (elementCollection && elementCollection.length) {
68
+ for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
69
+ var ele = elementCollection_1[_a];
70
+ var destroy = getValue('__vue__.$destroy', ele);
71
+ if (destroy) {
72
+ ele.__vue__.$destroy();
73
+ }
74
+ if (ele.innerHTML) {
75
+ ele.innerHTML = '';
76
+ }
77
+ }
78
+ delete this.templateCollection[tempName];
79
+ }
80
+ }
81
+ }
82
+ },
83
+ setProperties: function (prop, muteOnChange) {
84
+ var _this = this;
85
+ if (this.isVue3) {
86
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
87
+ }
88
+ if (this.ej2Instances && this.ej2Instances._setProperties) {
89
+ this.ej2Instances._setProperties(prop, muteOnChange);
90
+ }
91
+ if (prop && this.models && this.models.length) {
92
+ Object.keys(prop).map(function (key) {
93
+ _this.models.map(function (model) {
94
+ if ((key === model) && !(/datasource/i.test(key))) {
95
+ if (_this.isVue3) {
96
+ _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
97
+ }
98
+ else {
99
+ _this.$emit('update:' + key, prop[key]);
100
+ _this.$emit('modelchanged', prop[key]);
101
+ }
102
+ }
103
+ });
104
+ });
105
+ }
106
+ },
107
+ custom: function () {
108
+ this.updated();
109
+ },
110
+ addCollection: function (groupId, collection, targetId, isAfter) {
111
+ return this.ej2Instances.addCollection(groupId, collection, targetId, isAfter);
112
+ },
113
+ addGroup: function (tabId, group, targetId, isAfter) {
114
+ return this.ej2Instances.addGroup(tabId, group, targetId, isAfter);
115
+ },
116
+ addItem: function (collectionId, item, targetId, isAfter) {
117
+ return this.ej2Instances.addItem(collectionId, item, targetId, isAfter);
118
+ },
119
+ addTab: function (tab, targetId, isAfter) {
120
+ return this.ej2Instances.addTab(tab, targetId, isAfter);
121
+ },
122
+ disableItem: function (itemId) {
123
+ return this.ej2Instances.disableItem(itemId);
124
+ },
125
+ enableItem: function (itemId) {
126
+ return this.ej2Instances.enableItem(itemId);
127
+ },
128
+ refreshLayout: function () {
129
+ return this.ej2Instances.refreshLayout();
130
+ },
131
+ removeCollection: function (collectionId) {
132
+ return this.ej2Instances.removeCollection(collectionId);
133
+ },
134
+ removeGroup: function (groupId) {
135
+ return this.ej2Instances.removeGroup(groupId);
136
+ },
137
+ removeItem: function (itemId) {
138
+ return this.ej2Instances.removeItem(itemId);
139
+ },
140
+ removeTab: function (tabId) {
141
+ return this.ej2Instances.removeTab(tabId);
142
+ },
143
+ selectTab: function (tabId) {
144
+ return this.ej2Instances.selectTab(tabId);
145
+ },
146
+ }
147
+ });
148
+ export var RibbonPlugin = {
149
+ name: 'ejs-ribbon',
150
+ install: function (Vue) {
151
+ Vue.component(RibbonPlugin.name, RibbonComponent);
152
+ Vue.component(RibbonTabPlugin.name, RibbonTabDirective);
153
+ Vue.component(RibbonTabsPlugin.name, RibbonTabsDirective);
154
+ Vue.component(RibbonGroupPlugin.name, RibbonGroupDirective);
155
+ Vue.component(RibbonGroupsPlugin.name, RibbonGroupsDirective);
156
+ Vue.component(RibbonCollectionPlugin.name, RibbonCollectionDirective);
157
+ Vue.component(RibbonCollectionsPlugin.name, RibbonCollectionsDirective);
158
+ Vue.component(RibbonItemPlugin.name, RibbonItemDirective);
159
+ Vue.component(RibbonItemsPlugin.name, RibbonItemsDirective);
160
+ }
161
+ };
@@ -0,0 +1,22 @@
1
+ export declare let RibbonTabsDirective: any;
2
+ export declare const RibbonTabsPlugin: {
3
+ name: string;
4
+ install(Vue: any): void;
5
+ };
6
+ /**
7
+ * `e-ribbon-tab` directive represent a column of the VueJS Ribbon.
8
+ * It must be contained in a Ribbon component(`ejs-ribbon`).
9
+ * ```vue
10
+ * <ejs-ribbon>
11
+ * <e-ribbon-tabs>
12
+ * <e-ribbon-tab></e-ribbon-tab>
13
+ * <e-ribbon-tab></e-ribbon-tab>
14
+ * </e-ribbon-tabs>
15
+ * </ejs-ribbon>
16
+ * ```
17
+ */
18
+ export declare let RibbonTabDirective: any;
19
+ export declare const RibbonTabPlugin: {
20
+ name: string;
21
+ install(Vue: any): void;
22
+ };