@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.
- package/CHANGELOG.md +2 -26
- package/dist/ej2-vue-splitbuttons.umd.min.js +2 -2
- package/dist/ej2-vue-splitbuttons.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-splitbuttons.es2015.js +303 -434
- package/dist/es6/ej2-vue-splitbuttons.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-splitbuttons.es5.js +343 -513
- package/dist/es6/ej2-vue-splitbuttons.es5.js.map +1 -1
- package/dist/global/ej2-vue-splitbuttons.min.js +2 -2
- package/package.json +11 -10
- package/src/drop-down-button/dropdownbutton.component.d.ts +3 -26
- package/src/drop-down-button/dropdownbutton.component.js +95 -124
- package/src/drop-down-button/items.directive.d.ts +2 -12
- package/src/drop-down-button/items.directive.js +22 -71
- package/src/progress-button/progressbutton.component.d.ts +3 -27
- package/src/progress-button/progressbutton.component.js +98 -127
- package/src/split-button/items.directive.d.ts +2 -12
- package/src/split-button/items.directive.js +22 -71
- package/src/split-button/splitbutton.component.d.ts +3 -26
- package/src/split-button/splitbutton.component.js +95 -124
- package/styles/bootstrap-dark.css +44 -44
- package/styles/bootstrap.css +44 -44
- package/styles/bootstrap4.css +44 -44
- package/styles/bootstrap5-dark.css +48 -48
- package/styles/bootstrap5.css +48 -48
- package/styles/button-group/bootstrap-dark.css +30 -30
- package/styles/button-group/bootstrap.css +30 -30
- package/styles/button-group/bootstrap4.css +31 -31
- package/styles/button-group/bootstrap5-dark.css +30 -30
- package/styles/button-group/bootstrap5.css +30 -30
- package/styles/button-group/fabric-dark.css +30 -30
- package/styles/button-group/fabric.css +30 -30
- package/styles/button-group/fluent-dark.css +30 -30
- package/styles/button-group/fluent.css +30 -30
- package/styles/button-group/highcontrast-light.css +30 -30
- package/styles/button-group/highcontrast.css +30 -30
- package/styles/button-group/material-dark.css +30 -30
- package/styles/button-group/material.css +30 -30
- package/styles/button-group/tailwind-dark.css +30 -30
- package/styles/button-group/tailwind.css +30 -30
- package/styles/fabric-dark.css +44 -44
- package/styles/fabric.css +44 -44
- package/styles/fluent-dark.css +48 -48
- package/styles/fluent.css +48 -48
- package/styles/highcontrast-light.css +44 -44
- package/styles/highcontrast.css +44 -44
- package/styles/material-dark.css +43 -43
- package/styles/material.css +43 -43
- package/styles/progress-button/bootstrap-dark.css +14 -14
- package/styles/progress-button/bootstrap.css +14 -14
- package/styles/progress-button/bootstrap4.css +13 -13
- package/styles/progress-button/bootstrap5-dark.css +18 -18
- package/styles/progress-button/bootstrap5.css +18 -18
- package/styles/progress-button/fabric-dark.css +14 -14
- package/styles/progress-button/fabric.css +14 -14
- package/styles/progress-button/fluent-dark.css +18 -18
- package/styles/progress-button/fluent.css +18 -18
- package/styles/progress-button/highcontrast-light.css +14 -14
- package/styles/progress-button/highcontrast.css +14 -14
- package/styles/progress-button/material-dark.css +13 -13
- package/styles/progress-button/material.css +13 -13
- package/styles/progress-button/tailwind-dark.css +18 -18
- package/styles/progress-button/tailwind.css +18 -18
- package/styles/tailwind-dark.css +48 -48
- 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@
|
|
3
|
+
"_id": "@syncfusion/ej2-vue-splitbuttons@21.1.35",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
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-
|
|
23
|
-
"_shasum": "
|
|
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/
|
|
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": "~
|
|
35
|
-
"@syncfusion/ej2-splitbuttons": "
|
|
36
|
-
"@syncfusion/ej2-vue-base": "~
|
|
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
|
-
"
|
|
64
|
+
"ci-publish": "gulp ci-publish",
|
|
65
|
+
"compile": "gulp ci-compile && gulp vue-global-script"
|
|
65
66
|
},
|
|
66
|
-
"version": "
|
|
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
|
|
15
|
-
|
|
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
|
-
|
|
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 =
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
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
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
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
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
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
|
-
|
|
147
|
-
|
|
148
|
-
}
|
|
149
|
-
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
-
|
|
15
|
+
},
|
|
16
|
+
updated: function () {
|
|
49
17
|
if (!isExecute && this.custom) {
|
|
50
18
|
this.custom();
|
|
51
19
|
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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 =
|
|
76
|
-
|
|
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
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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
|
|
15
|
-
|
|
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;
|