@syncfusion/ej2-vue-splitbuttons 20.4.50 → 21.1.37

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 (64) hide show
  1. package/CHANGELOG.md +2 -26
  2. package/dist/ej2-vue-splitbuttons.umd.min.js +2 -2
  3. package/dist/ej2-vue-splitbuttons.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-vue-splitbuttons.es2015.js +303 -434
  5. package/dist/es6/ej2-vue-splitbuttons.es2015.js.map +1 -1
  6. package/dist/es6/ej2-vue-splitbuttons.es5.js +343 -513
  7. package/dist/es6/ej2-vue-splitbuttons.es5.js.map +1 -1
  8. package/dist/global/ej2-vue-splitbuttons.min.js +2 -2
  9. package/package.json +11 -10
  10. package/src/drop-down-button/dropdownbutton.component.d.ts +3 -26
  11. package/src/drop-down-button/dropdownbutton.component.js +95 -124
  12. package/src/drop-down-button/items.directive.d.ts +2 -12
  13. package/src/drop-down-button/items.directive.js +22 -71
  14. package/src/progress-button/progressbutton.component.d.ts +3 -27
  15. package/src/progress-button/progressbutton.component.js +98 -127
  16. package/src/split-button/items.directive.d.ts +2 -12
  17. package/src/split-button/items.directive.js +22 -71
  18. package/src/split-button/splitbutton.component.d.ts +3 -26
  19. package/src/split-button/splitbutton.component.js +95 -124
  20. package/styles/bootstrap-dark.css +44 -44
  21. package/styles/bootstrap.css +44 -44
  22. package/styles/bootstrap4.css +44 -44
  23. package/styles/bootstrap5-dark.css +48 -48
  24. package/styles/bootstrap5.css +48 -48
  25. package/styles/button-group/bootstrap-dark.css +30 -30
  26. package/styles/button-group/bootstrap.css +30 -30
  27. package/styles/button-group/bootstrap4.css +31 -31
  28. package/styles/button-group/bootstrap5-dark.css +30 -30
  29. package/styles/button-group/bootstrap5.css +30 -30
  30. package/styles/button-group/fabric-dark.css +30 -30
  31. package/styles/button-group/fabric.css +30 -30
  32. package/styles/button-group/fluent-dark.css +30 -30
  33. package/styles/button-group/fluent.css +30 -30
  34. package/styles/button-group/highcontrast-light.css +30 -30
  35. package/styles/button-group/highcontrast.css +30 -30
  36. package/styles/button-group/material-dark.css +30 -30
  37. package/styles/button-group/material.css +30 -30
  38. package/styles/button-group/tailwind-dark.css +30 -30
  39. package/styles/button-group/tailwind.css +30 -30
  40. package/styles/fabric-dark.css +44 -44
  41. package/styles/fabric.css +44 -44
  42. package/styles/fluent-dark.css +48 -48
  43. package/styles/fluent.css +48 -48
  44. package/styles/highcontrast-light.css +44 -44
  45. package/styles/highcontrast.css +44 -44
  46. package/styles/material-dark.css +43 -43
  47. package/styles/material.css +43 -43
  48. package/styles/progress-button/bootstrap-dark.css +14 -14
  49. package/styles/progress-button/bootstrap.css +14 -14
  50. package/styles/progress-button/bootstrap4.css +13 -13
  51. package/styles/progress-button/bootstrap5-dark.css +18 -18
  52. package/styles/progress-button/bootstrap5.css +18 -18
  53. package/styles/progress-button/fabric-dark.css +14 -14
  54. package/styles/progress-button/fabric.css +14 -14
  55. package/styles/progress-button/fluent-dark.css +18 -18
  56. package/styles/progress-button/fluent.css +18 -18
  57. package/styles/progress-button/highcontrast-light.css +14 -14
  58. package/styles/progress-button/highcontrast.css +14 -14
  59. package/styles/progress-button/material-dark.css +13 -13
  60. package/styles/progress-button/material.css +13 -13
  61. package/styles/progress-button/tailwind-dark.css +18 -18
  62. package/styles/progress-button/tailwind.css +18 -18
  63. package/styles/tailwind-dark.css +48 -48
  64. package/styles/tailwind.css +48 -48
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-vue-splitbuttons@*",
3
- "_id": "@syncfusion/ej2-vue-splitbuttons@20.4.48",
3
+ "_id": "@syncfusion/ej2-vue-splitbuttons@21.1.35",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-e4b0pFFZiQjyrhx50N+VC8aWyjWNainEvsAN51f+NZclSGDn1ZF0///QjLc/h6PfeyU0emtVYRWgwjFCdS9x2A==",
5
+ "_integrity": "sha512-UcB7MhTl+qscK81DzQhzt8ZPzIWgGPZ4JGBWzXFkrV6oVKdf5161HiUVacQjLAekBNnZVqkq7JlkBT2j4eleLQ==",
6
6
  "_location": "/@syncfusion/ej2-vue-splitbuttons",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,10 +19,10 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-splitbuttons/-/ej2-vue-splitbuttons-20.4.48.tgz",
23
- "_shasum": "cdd1787bf7e5c58f88a897126ab190e03b39059d",
22
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-splitbuttons/-/ej2-vue-splitbuttons-21.1.35.tgz",
23
+ "_shasum": "bad3eb2f57b16affd98f3afc6fb6e3ac0a055049",
24
24
  "_spec": "@syncfusion/ej2-vue-splitbuttons@*",
25
- "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
25
+ "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
26
26
  "author": {
27
27
  "name": "Syncfusion Inc."
28
28
  },
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~20.4.48",
35
- "@syncfusion/ej2-splitbuttons": "20.4.50",
36
- "@syncfusion/ej2-vue-base": "~20.4.48"
34
+ "@syncfusion/ej2-base": "~21.1.37",
35
+ "@syncfusion/ej2-splitbuttons": "21.1.37",
36
+ "@syncfusion/ej2-vue-base": "~21.1.37"
37
37
  },
38
38
  "deprecated": false,
39
39
  "description": "A package of feature-rich Essential JS 2 components such as DropDownButton, SplitButton, ProgressButton and ButtonGroup. for Vue",
@@ -61,8 +61,9 @@
61
61
  "url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
62
62
  },
63
63
  "scripts": {
64
- "postinstall": "node ../ej2-vue-base/postinstall.js"
64
+ "ci-publish": "gulp ci-publish",
65
+ "compile": "gulp ci-compile && gulp vue-global-script"
65
66
  },
66
- "version": "20.4.50",
67
+ "version": "21.1.37",
67
68
  "sideEffects": false
68
69
  }
@@ -1,38 +1,15 @@
1
- import { ComponentBase } from '@syncfusion/ej2-vue-base';
2
1
  export declare const properties: string[];
3
2
  export declare const modelProps: string[];
4
3
  export declare const testProp: any;
5
- export declare const props: any;
6
- export declare const watch: any;
7
- export declare const emitProbs: any;
4
+ export declare const props: any, watch: any, emitProbs: any;
8
5
  /**
9
6
  * Represents the Essential JS 2 VueJS DropDownButton Component
10
7
  * ```html
11
8
  * <ejs-dropdownbutton>DropDownButton</ejs-dropdownbutton>
12
9
  * ```
13
10
  */
14
- export declare class DropDownButtonComponent 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
- addItems(items: Object[], text?: string): void;
32
- focusIn(): void;
33
- removeItems(items: string[], isUniqueId?: boolean): void;
34
- toggle(): void;
35
- }
11
+ export declare let DropDownButtonComponent: any;
12
+ export declare type DropDownButtonComponent = InstanceType<typeof DropDownButtonComponent>;
36
13
  export declare const DropDownButtonPlugin: {
37
14
  name: string;
38
15
  install(Vue: any): void;
@@ -1,33 +1,11 @@
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';
1
+ import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
21
2
  import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
22
3
  import { DropDownButton } from '@syncfusion/ej2-splitbuttons';
23
4
  import { DropDownButtonItemsDirective, DropDownButtonItemDirective, DropDownButtonItemsPlugin, DropDownButtonItemPlugin } from './items.directive';
24
- import { Options } from 'vue-class-component';
25
5
  export var properties = ['isLazyUpdate', 'plugins', 'closeActionEvents', 'content', 'createPopupOnClick', 'cssClass', 'disabled', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'iconCss', 'iconPosition', 'items', 'locale', 'target', 'beforeClose', 'beforeItemRender', 'beforeOpen', 'close', 'created', 'open', 'select'];
26
6
  export var modelProps = [];
27
7
  export var testProp = getProps({ props: properties });
28
- export var props = testProp[0];
29
- export var watch = testProp[1];
30
- export var emitProbs = Object.keys(watch);
8
+ export var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
31
9
  emitProbs.push('modelchanged', 'update:modelValue');
32
10
  for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
33
11
  var props_1 = modelProps_1[_i];
@@ -39,114 +17,107 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
39
17
  * <ejs-dropdownbutton>DropDownButton</ejs-dropdownbutton>
40
18
  * ```
41
19
  */
42
- var DropDownButtonComponent = /** @class */ (function (_super) {
43
- __extends(DropDownButtonComponent, _super);
44
- function DropDownButtonComponent() {
45
- var _this = _super.call(this, arguments) || this;
46
- _this.propKeys = properties;
47
- _this.models = modelProps;
48
- _this.hasChildDirective = true;
49
- _this.hasInjectedModules = false;
50
- _this.tagMapper = { "e-dropdownbuttonitems": "e-dropdownbuttonitem" };
51
- _this.tagNameMapper = { "e-dropdownbuttonitems": "e-items" };
52
- _this.isVue3 = !isExecute;
53
- _this.ej2Instances = new DropDownButton({});
54
- _this.bindProperties();
55
- _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
56
- _this.ej2Instances.setProperties = _this.setProperties;
57
- _this.ej2Instances.clearTemplate = _this.clearTemplate;
58
- _this.updated = _this.updated;
59
- return _this;
60
- }
61
- DropDownButtonComponent.prototype.clearTemplate = function (templateNames) {
62
- if (!templateNames) {
63
- templateNames = Object.keys(this.templateCollection || {});
20
+ export var DropDownButtonComponent = vueDefineComponent({
21
+ name: 'DropDownButtonComponent',
22
+ mixins: [ComponentBase],
23
+ props: props,
24
+ watch: watch,
25
+ emits: emitProbs,
26
+ provide: function () { return { custom: this.custom }; },
27
+ data: function () {
28
+ return {
29
+ ej2Instances: new DropDownButton({}),
30
+ propKeys: properties,
31
+ models: modelProps,
32
+ hasChildDirective: true,
33
+ hasInjectedModules: false,
34
+ tagMapper: { "e-dropdownbuttonitems": "e-dropdownbuttonitem" },
35
+ tagNameMapper: { "e-dropdownbuttonitems": "e-items" },
36
+ isVue3: !isExecute,
37
+ templateCollection: {},
38
+ };
39
+ },
40
+ created: function () {
41
+ this.bindProperties();
42
+ this.ej2Instances._setProperties = this.ej2Instances.setProperties;
43
+ this.ej2Instances.setProperties = this.setProperties;
44
+ this.ej2Instances.clearTemplate = this.clearTemplate;
45
+ this.updated = this.updated;
46
+ },
47
+ render: function (createElement) {
48
+ var h = !isExecute ? gh : createElement;
49
+ var slots = null;
50
+ if (!isNullOrUndefined(this.$slots.default)) {
51
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
64
52
  }
65
- if (templateNames.length && this.templateCollection) {
66
- for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
67
- var tempName = templateNames_1[_i];
68
- var elementCollection = this.templateCollection[tempName];
69
- if (elementCollection && elementCollection.length) {
70
- for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
71
- var ele = elementCollection_1[_a];
72
- var destroy = getValue('__vue__.$destroy', ele);
73
- if (destroy) {
74
- ele.__vue__.$destroy();
75
- }
76
- if (ele.innerHTML) {
77
- ele.innerHTML = '';
53
+ return h('button', slots);
54
+ },
55
+ methods: {
56
+ clearTemplate: function (templateNames) {
57
+ if (!templateNames) {
58
+ templateNames = Object.keys(this.templateCollection || {});
59
+ }
60
+ if (templateNames.length && this.templateCollection) {
61
+ for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
62
+ var tempName = templateNames_1[_i];
63
+ var elementCollection = this.templateCollection[tempName];
64
+ if (elementCollection && elementCollection.length) {
65
+ for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
66
+ var ele = elementCollection_1[_a];
67
+ var destroy = getValue('__vue__.$destroy', ele);
68
+ if (destroy) {
69
+ ele.__vue__.$destroy();
70
+ }
71
+ if (ele.innerHTML) {
72
+ ele.innerHTML = '';
73
+ }
78
74
  }
75
+ delete this.templateCollection[tempName];
79
76
  }
80
- delete this.templateCollection[tempName];
81
77
  }
82
78
  }
83
- }
84
- };
85
- DropDownButtonComponent.prototype.setProperties = function (prop, muteOnChange) {
86
- var _this = this;
87
- if (this.isVue3) {
88
- this.models = !this.models ? this.ej2Instances.referModels : this.models;
89
- }
90
- if (this.ej2Instances && this.ej2Instances._setProperties) {
91
- this.ej2Instances._setProperties(prop, muteOnChange);
92
- }
93
- if (prop && this.models && this.models.length) {
94
- Object.keys(prop).map(function (key) {
95
- _this.models.map(function (model) {
96
- if ((key === model) && !(/datasource/i.test(key))) {
97
- if (_this.isVue3) {
98
- _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
99
- }
100
- else {
101
- _this.$emit('update:' + key, prop[key]);
102
- _this.$emit('modelchanged', prop[key]);
79
+ },
80
+ setProperties: function (prop, muteOnChange) {
81
+ var _this = this;
82
+ if (this.isVue3) {
83
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
84
+ }
85
+ if (this.ej2Instances && this.ej2Instances._setProperties) {
86
+ this.ej2Instances._setProperties(prop, muteOnChange);
87
+ }
88
+ if (prop && this.models && this.models.length) {
89
+ Object.keys(prop).map(function (key) {
90
+ _this.models.map(function (model) {
91
+ if ((key === model) && !(/datasource/i.test(key))) {
92
+ if (_this.isVue3) {
93
+ _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
94
+ }
95
+ else {
96
+ _this.$emit('update:' + key, prop[key]);
97
+ _this.$emit('modelchanged', prop[key]);
98
+ }
103
99
  }
104
- }
100
+ });
105
101
  });
106
- });
107
- }
108
- };
109
- DropDownButtonComponent.prototype.render = function (createElement) {
110
- var h = !isExecute ? gh : createElement;
111
- var slots = null;
112
- if (!isNullOrUndefined(this.$slots.default)) {
113
- slots = !isExecute ? this.$slots.default() : this.$slots.default;
114
- }
115
- return h('button', slots);
116
- };
117
- DropDownButtonComponent.prototype.custom = function () {
118
- this.updated();
119
- };
120
- DropDownButtonComponent.prototype.addItems = function (items, text) {
121
- return this.ej2Instances.addItems(items, text);
122
- };
123
- DropDownButtonComponent.prototype.focusIn = function () {
124
- return this.ej2Instances.focusIn();
125
- };
126
- DropDownButtonComponent.prototype.removeItems = function (items, isUniqueId) {
127
- return this.ej2Instances.removeItems(items, isUniqueId);
128
- };
129
- DropDownButtonComponent.prototype.toggle = function () {
130
- return this.ej2Instances.toggle();
131
- };
132
- DropDownButtonComponent = __decorate([
133
- EJComponentDecorator({
134
- props: properties
135
- }, isExecute)
136
- ,Options({
137
- props: props,
138
- watch: watch,
139
- emits: emitProbs,
140
- provide: function provide() {
141
- return {
142
- custom: this.custom
143
- };
144
102
  }
145
- })
146
- ], DropDownButtonComponent);
147
- return DropDownButtonComponent;
148
- }(ComponentBase));
149
- export { DropDownButtonComponent };
103
+ },
104
+ custom: function () {
105
+ this.updated();
106
+ },
107
+ addItems: function (items, text) {
108
+ return this.ej2Instances.addItems(items, text);
109
+ },
110
+ focusIn: function () {
111
+ return this.ej2Instances.focusIn();
112
+ },
113
+ removeItems: function (items, isUniqueId) {
114
+ return this.ej2Instances.removeItems(items, isUniqueId);
115
+ },
116
+ toggle: function () {
117
+ return this.ej2Instances.toggle();
118
+ },
119
+ }
120
+ });
150
121
  export var DropDownButtonPlugin = {
151
122
  name: 'ejs-dropdownbutton',
152
123
  install: function (Vue) {
@@ -1,20 +1,10 @@
1
- declare let vueImport: any;
2
- export declare class DropDownButtonItemsDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let DropDownButtonItemsDirective: any;
8
2
  export declare const DropDownButtonItemsPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
11
5
  };
12
- export declare class DropDownButtonItemDirective extends vueImport {
13
- render(): void;
14
- getTag(): string;
15
- }
6
+ export declare let DropDownButtonItemDirective: any;
16
7
  export declare const DropDownButtonItemPlugin: {
17
8
  name: string;
18
9
  install(Vue: any): void;
19
10
  };
20
- export {};
@@ -1,40 +1,8 @@
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 { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
- import * as Vue3 from 'vue-class-component';
1
+ import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
22
2
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
23
- import Vue from 'vue';
24
- import { Options } from 'vue-class-component';
25
- var vueImport;
26
- if (!isExecute || parseInt(allVue.version) < 3) {
27
- vueImport = Vue3.Vue;
28
- }
29
- else {
30
- vueImport = Vue;
31
- }
32
- var DropDownButtonItemsDirective = /** @class */ (function (_super) {
33
- __extends(DropDownButtonItemsDirective, _super);
34
- function DropDownButtonItemsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- DropDownButtonItemsDirective.prototype.render = function (createElement) {
3
+ export var DropDownButtonItemsDirective = vueDefineComponent({
4
+ inject: { custom: { default: null } },
5
+ render: function (createElement) {
38
6
  if (!isExecute) {
39
7
  var h = !isExecute ? gh : createElement;
40
8
  var slots = null;
@@ -44,51 +12,34 @@ var DropDownButtonItemsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- DropDownButtonItemsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- DropDownButtonItemsDirective.prototype.getTag = function () {
54
- return 'e-dropdownbuttonitems';
55
- };
56
- DropDownButtonItemsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], DropDownButtonItemsDirective);
66
- return DropDownButtonItemsDirective;
67
- }(vueImport));
68
- export { DropDownButtonItemsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-dropdownbuttonitems';
24
+ }
25
+ }
26
+ });
69
27
  export var DropDownButtonItemsPlugin = {
70
28
  name: 'e-dropdownbuttonitems',
71
29
  install: function (Vue) {
72
30
  Vue.component(DropDownButtonItemsPlugin.name, DropDownButtonItemsDirective);
73
31
  }
74
32
  };
75
- var DropDownButtonItemDirective = /** @class */ (function (_super) {
76
- __extends(DropDownButtonItemDirective, _super);
77
- function DropDownButtonItemDirective() {
78
- return _super !== null && _super.apply(this, arguments) || this;
79
- }
80
- DropDownButtonItemDirective.prototype.render = function () {
33
+ export var DropDownButtonItemDirective = vueDefineComponent({
34
+ render: function () {
81
35
  return;
82
- };
83
- DropDownButtonItemDirective.prototype.getTag = function () {
84
- return 'e-dropdownbuttonitem';
85
- };
86
- DropDownButtonItemDirective = __decorate([
87
- EJComponentDecorator({}, isExecute)
88
- ], DropDownButtonItemDirective);
89
- return DropDownButtonItemDirective;
90
- }(vueImport));
91
- export { DropDownButtonItemDirective };
36
+ },
37
+ methods: {
38
+ getTag: function () {
39
+ return 'e-dropdownbuttonitem';
40
+ }
41
+ }
42
+ });
92
43
  export var DropDownButtonItemPlugin = {
93
44
  name: 'e-dropdownbuttonitem',
94
45
  install: function (Vue) {
@@ -1,39 +1,15 @@
1
- import { ComponentBase } from '@syncfusion/ej2-vue-base';
2
1
  export declare const properties: string[];
3
2
  export declare const modelProps: string[];
4
3
  export declare const testProp: any;
5
- export declare const props: any;
6
- export declare const watch: any;
7
- export declare const emitProbs: any;
4
+ export declare const props: any, watch: any, emitProbs: any;
8
5
  /**
9
6
  * Represents the Essential JS 2 VueJS ProgressButton Component
10
7
  * ```html
11
8
  * <ejs-progressbutton content='Progress Button'></ejs-progressbutton>
12
9
  * ```
13
10
  */
14
- export declare class ProgressButtonComponent 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
- click(): void;
32
- focusIn(): void;
33
- progressComplete(): void;
34
- start(percent?: number): void;
35
- stop(): void;
36
- }
11
+ export declare let ProgressButtonComponent: any;
12
+ export declare type ProgressButtonComponent = InstanceType<typeof ProgressButtonComponent>;
37
13
  export declare const ProgressButtonPlugin: {
38
14
  name: string;
39
15
  install(Vue: any): void;