@syncfusion/ej2-vue-dropdowns 20.4.53 → 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.
- package/CHANGELOG.md +0 -88
- package/dist/ej2-vue-dropdowns.umd.min.js +2 -2
- package/dist/ej2-vue-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-dropdowns.es2015.js +928 -1087
- package/dist/es6/ej2-vue-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-dropdowns.es5.js +1012 -1206
- package/dist/es6/ej2-vue-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-vue-dropdowns.min.js +2 -2
- package/package.json +9 -9
- package/src/auto-complete/autocomplete.component.d.ts +3 -36
- package/src/auto-complete/autocomplete.component.js +152 -183
- package/src/combo-box/combobox.component.d.ts +3 -36
- package/src/combo-box/combobox.component.js +152 -183
- package/src/drop-down-list/dropdownlist.component.d.ts +3 -36
- package/src/drop-down-list/dropdownlist.component.js +152 -183
- package/src/drop-down-tree/dropdowntree.component.d.ts +3 -32
- package/src/drop-down-tree/dropdowntree.component.js +140 -171
- package/src/list-box/listbox.component.d.ts +3 -44
- package/src/list-box/listbox.component.js +176 -207
- package/src/mention/mention.component.d.ts +3 -28
- package/src/mention/mention.component.js +101 -130
- package/src/multi-select/multiselect.component.d.ts +3 -38
- package/src/multi-select/multiselect.component.js +158 -189
- package/styles/bootstrap-dark.css +2 -15
- package/styles/bootstrap.css +2 -5
- package/styles/bootstrap4.css +3 -14
- package/styles/bootstrap5-dark.css +5 -8
- package/styles/bootstrap5.css +5 -8
- package/styles/drop-down-base/bootstrap-dark.css +2 -2
- package/styles/drop-down-base/bootstrap.css +2 -2
- package/styles/drop-down-base/bootstrap4.css +2 -10
- package/styles/drop-down-base/bootstrap5-dark.css +2 -2
- package/styles/drop-down-base/bootstrap5.css +2 -2
- package/styles/drop-down-base/fabric-dark.css +2 -2
- package/styles/drop-down-base/fabric.css +2 -2
- package/styles/drop-down-base/fluent-dark.css +2 -2
- package/styles/drop-down-base/fluent.css +2 -2
- package/styles/drop-down-base/highcontrast-light.css +2 -2
- package/styles/drop-down-base/highcontrast.css +2 -2
- package/styles/drop-down-base/material-dark.css +2 -2
- package/styles/drop-down-base/material.css +2 -2
- package/styles/drop-down-base/tailwind-dark.css +2 -2
- package/styles/drop-down-base/tailwind.css +2 -2
- package/styles/drop-down-list/bootstrap-dark.css +0 -3
- package/styles/drop-down-list/bootstrap.css +0 -3
- package/styles/drop-down-list/bootstrap4.css +1 -12
- package/styles/drop-down-list/bootstrap5-dark.css +0 -3
- package/styles/drop-down-list/bootstrap5.css +0 -3
- package/styles/drop-down-list/fabric-dark.css +0 -3
- package/styles/drop-down-list/fabric.css +0 -3
- package/styles/drop-down-list/fluent-dark.css +0 -3
- package/styles/drop-down-list/fluent.css +0 -3
- package/styles/drop-down-list/highcontrast-light.css +0 -3
- package/styles/drop-down-list/highcontrast.css +0 -3
- package/styles/drop-down-list/material-dark.css +1 -3
- package/styles/drop-down-list/material.css +0 -3
- package/styles/drop-down-list/tailwind-dark.css +1 -4
- package/styles/drop-down-list/tailwind.css +1 -4
- package/styles/drop-down-tree/bootstrap4.css +0 -8
- package/styles/drop-down-tree/material-dark.css +1 -0
- package/styles/fabric-dark.css +2 -15
- package/styles/fabric.css +2 -5
- package/styles/fluent-dark.css +6 -9
- package/styles/fluent.css +6 -9
- package/styles/highcontrast-light.css +9 -15
- package/styles/highcontrast.css +15 -11
- package/styles/list-box/bootstrap4.css +0 -8
- package/styles/material-dark.css +4 -15
- package/styles/material.css +2 -5
- package/styles/mention/bootstrap4.css +0 -8
- package/styles/multi-select/bootstrap4.css +0 -8
- package/styles/multi-select/bootstrap5-dark.css +3 -3
- package/styles/multi-select/bootstrap5.css +3 -3
- package/styles/multi-select/fluent-dark.css +4 -4
- package/styles/multi-select/fluent.css +4 -4
- package/styles/multi-select/highcontrast-light.css +7 -0
- package/styles/multi-select/highcontrast.css +13 -6
- package/styles/multi-select/tailwind-dark.css +2 -1
- package/styles/multi-select/tailwind.css +2 -1
- package/styles/tailwind-dark.css +5 -7
- package/styles/tailwind.css +5 -7
|
@@ -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 { isUndefined } from '@syncfusion/ej2-base';
|
|
21
|
-
import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
1
|
+
import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
|
22
2
|
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
3
|
+
import { isUndefined } from '@syncfusion/ej2-base';
|
|
23
4
|
import { MultiSelect } from '@syncfusion/ej2-dropdowns';
|
|
24
|
-
import { Options } from 'vue-class-component';
|
|
25
5
|
export var properties = ['isLazyUpdate', 'plugins', 'actionFailureTemplate', 'addTagOnBlur', 'allowCustomValue', 'allowFiltering', 'changeOnBlur', 'closePopupOnSelect', 'cssClass', 'dataSource', 'delimiterChar', 'enableGroupCheckBox', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableSelectionOrder', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'hideSelectedItem', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'itemTemplate', 'locale', 'maximumSelectionLength', 'mode', 'noRecordsTemplate', 'openOnClick', 'placeholder', 'popupHeight', 'popupWidth', 'query', 'readonly', 'selectAllText', 'showClearButton', 'showDropDownIcon', 'showSelectAll', 'sortOrder', 'text', 'unSelectAllText', 'value', 'valueTemplate', 'width', 'zIndex', 'actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'beforeSelectAll', 'blur', 'change', 'chipSelection', 'close', 'created', 'customValueSelection', 'dataBound', 'destroyed', 'filtering', 'focus', 'open', 'removed', 'removing', 'select', 'selectedAll', 'tagging'];
|
|
26
6
|
export var modelProps = ['value'];
|
|
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,185 +17,176 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
|
39
17
|
* <ejs-multiselect :dataSource='data'></ejs-multiselect>
|
|
40
18
|
* ```
|
|
41
19
|
*/
|
|
42
|
-
var MultiSelectComponent =
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
20
|
+
export var MultiSelectComponent = vueDefineComponent({
|
|
21
|
+
name: 'MultiSelectComponent',
|
|
22
|
+
mixins: [ComponentBase],
|
|
23
|
+
props: props,
|
|
24
|
+
watch: watch,
|
|
25
|
+
emits: emitProbs,
|
|
26
|
+
model: { event: 'modelchanged' },
|
|
27
|
+
provide: function () { return { custom: this.custom }; },
|
|
28
|
+
data: function () {
|
|
29
|
+
return {
|
|
30
|
+
ej2Instances: new MultiSelect({}),
|
|
31
|
+
propKeys: properties,
|
|
32
|
+
models: modelProps,
|
|
33
|
+
hasChildDirective: false,
|
|
34
|
+
hasInjectedModules: true,
|
|
35
|
+
tagMapper: {},
|
|
36
|
+
tagNameMapper: {},
|
|
37
|
+
isVue3: !isExecute,
|
|
38
|
+
templateCollection: {},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
created: function () {
|
|
42
|
+
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
43
|
+
this.ej2Instances.trigger = this.trigger;
|
|
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;
|
|
66
55
|
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
56
|
+
return h('input', 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
|
+
}
|
|
80
77
|
}
|
|
78
|
+
delete this.templateCollection[tempName];
|
|
81
79
|
}
|
|
82
|
-
delete this.templateCollection[tempName];
|
|
83
80
|
}
|
|
84
81
|
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
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
|
+
}
|
|
101
102
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
trigger: function (eventName, eventProp, successHandler) {
|
|
108
|
+
if (!isExecute) {
|
|
109
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
110
|
+
}
|
|
111
|
+
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
112
|
+
var key = this.models.toString().match(/checked|value/) || [];
|
|
113
|
+
var propKey = key[0];
|
|
114
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
115
|
+
if (!isExecute) {
|
|
116
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
117
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
118
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
119
|
+
}
|
|
120
|
+
else {
|
|
121
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
122
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
123
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
105
124
|
}
|
|
106
125
|
}
|
|
107
|
-
});
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
};
|
|
111
|
-
MultiSelectComponent.prototype.trigger = function (eventName, eventProp, successHandler) {
|
|
112
|
-
if (!isExecute) {
|
|
113
|
-
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
114
|
-
}
|
|
115
|
-
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
116
|
-
var key = this.models.toString().match(/checked|value/) || [];
|
|
117
|
-
var propKey = key[0];
|
|
118
|
-
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
119
|
-
if (!isExecute) {
|
|
120
|
-
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
121
|
-
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
122
|
-
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
123
126
|
}
|
|
124
|
-
|
|
125
|
-
|
|
127
|
+
}
|
|
128
|
+
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
129
|
+
var key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
130
|
+
var propKey = key[0];
|
|
131
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
132
|
+
if (!isExecute) {
|
|
133
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
134
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
135
|
+
}
|
|
136
|
+
else {
|
|
126
137
|
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
127
138
|
this.$emit('modelchanged', eventProp[propKey]);
|
|
128
139
|
}
|
|
129
140
|
}
|
|
130
141
|
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
var key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
134
|
-
var propKey = key[0];
|
|
135
|
-
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
136
|
-
if (!isExecute) {
|
|
137
|
-
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
138
|
-
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
139
|
-
}
|
|
140
|
-
else {
|
|
141
|
-
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
142
|
-
this.$emit('modelchanged', eventProp[propKey]);
|
|
143
|
-
}
|
|
142
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
143
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
144
144
|
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
this.
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
};
|
|
191
|
-
MultiSelectComponent.prototype.selectAll = function (state) {
|
|
192
|
-
return this.ej2Instances.selectAll(state);
|
|
193
|
-
};
|
|
194
|
-
MultiSelectComponent.prototype.showPopup = function (e) {
|
|
195
|
-
return this.ej2Instances.showPopup(e);
|
|
196
|
-
};
|
|
197
|
-
MultiSelectComponent.prototype.showSpinner = function () {
|
|
198
|
-
return this.ej2Instances.showSpinner();
|
|
199
|
-
};
|
|
200
|
-
MultiSelectComponent = __decorate([
|
|
201
|
-
EJComponentDecorator({
|
|
202
|
-
props: properties,
|
|
203
|
-
model: {
|
|
204
|
-
event: 'modelchanged'
|
|
205
|
-
}
|
|
206
|
-
}, isExecute)
|
|
207
|
-
,Options({
|
|
208
|
-
props: props,
|
|
209
|
-
watch: watch,
|
|
210
|
-
emits: emitProbs,
|
|
211
|
-
provide: function provide() {
|
|
212
|
-
return {
|
|
213
|
-
custom: this.custom
|
|
214
|
-
};
|
|
215
|
-
}
|
|
216
|
-
})
|
|
217
|
-
], MultiSelectComponent);
|
|
218
|
-
return MultiSelectComponent;
|
|
219
|
-
}(ComponentBase));
|
|
220
|
-
export { MultiSelectComponent };
|
|
145
|
+
},
|
|
146
|
+
custom: function () {
|
|
147
|
+
this.updated();
|
|
148
|
+
},
|
|
149
|
+
addItem: function (items, itemIndex) {
|
|
150
|
+
return this.ej2Instances.addItem(items, itemIndex);
|
|
151
|
+
},
|
|
152
|
+
clear: function () {
|
|
153
|
+
return this.ej2Instances.clear();
|
|
154
|
+
},
|
|
155
|
+
filter: function (dataSource, query, fields) {
|
|
156
|
+
return this.ej2Instances.filter(dataSource, query, fields);
|
|
157
|
+
},
|
|
158
|
+
focusIn: function () {
|
|
159
|
+
return this.ej2Instances.focusIn();
|
|
160
|
+
},
|
|
161
|
+
focusOut: function () {
|
|
162
|
+
return this.ej2Instances.focusOut();
|
|
163
|
+
},
|
|
164
|
+
getDataByValue: function (value) {
|
|
165
|
+
return this.ej2Instances.getDataByValue(value);
|
|
166
|
+
},
|
|
167
|
+
getItems: function () {
|
|
168
|
+
return this.ej2Instances.getItems();
|
|
169
|
+
},
|
|
170
|
+
hidePopup: function (e) {
|
|
171
|
+
return this.ej2Instances.hidePopup(e);
|
|
172
|
+
},
|
|
173
|
+
hideSpinner: function () {
|
|
174
|
+
return this.ej2Instances.hideSpinner();
|
|
175
|
+
},
|
|
176
|
+
requiredModules: function () {
|
|
177
|
+
return this.ej2Instances.requiredModules();
|
|
178
|
+
},
|
|
179
|
+
selectAll: function (state) {
|
|
180
|
+
return this.ej2Instances.selectAll(state);
|
|
181
|
+
},
|
|
182
|
+
showPopup: function (e) {
|
|
183
|
+
return this.ej2Instances.showPopup(e);
|
|
184
|
+
},
|
|
185
|
+
showSpinner: function () {
|
|
186
|
+
return this.ej2Instances.showSpinner();
|
|
187
|
+
},
|
|
188
|
+
}
|
|
189
|
+
});
|
|
221
190
|
export var MultiSelectPlugin = {
|
|
222
191
|
name: 'ejs-multiselect',
|
|
223
192
|
install: function (Vue) {
|
|
@@ -190,7 +190,6 @@
|
|
|
190
190
|
.e-dropdownbase .e-list-item {
|
|
191
191
|
/* stylelint-disable property-no-vendor-prefix */
|
|
192
192
|
-webkit-tap-highlight-color: transparent;
|
|
193
|
-
background-color: #2a2a2a;
|
|
194
193
|
border-bottom: 1px;
|
|
195
194
|
border-color: #6e6e6e;
|
|
196
195
|
color: #f0f0f0;
|
|
@@ -200,11 +199,11 @@
|
|
|
200
199
|
min-height: 26px;
|
|
201
200
|
padding-right: 20px;
|
|
202
201
|
text-indent: 20px;
|
|
202
|
+
background-color: #2a2a2a;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
.e-dropdownbase .e-list-group-item,
|
|
206
206
|
.e-fixed-head {
|
|
207
|
-
background-color: #2a2a2a;
|
|
208
207
|
border-color: #6e6e6e;
|
|
209
208
|
color: #3e98ff;
|
|
210
209
|
font-family: inherit;
|
|
@@ -214,6 +213,7 @@
|
|
|
214
213
|
min-height: 26px;
|
|
215
214
|
padding-left: 20px;
|
|
216
215
|
padding-right: 20px;
|
|
216
|
+
background-color: #2a2a2a;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
.e-dropdownbase .e-list-item.e-active, .e-dropdownbase .e-list-item.e-active.e-hover {
|
|
@@ -547,9 +547,6 @@
|
|
|
547
547
|
.e-popup-full-page .e-popup-full-page.e-ddl.e-popup.e-ddl-device-filter {
|
|
548
548
|
margin: 0;
|
|
549
549
|
}
|
|
550
|
-
.e-popup-full-page .e-popup-full-page.e-ios {
|
|
551
|
-
position: fixed;
|
|
552
|
-
}
|
|
553
550
|
|
|
554
551
|
.e-ddl.e-control-wrapper .e-ddl-disable-icon {
|
|
555
552
|
position: relative;
|
|
@@ -2457,10 +2454,6 @@ ejs-multiselect {
|
|
|
2457
2454
|
.e-listbox-container * {
|
|
2458
2455
|
box-sizing: border-box;
|
|
2459
2456
|
}
|
|
2460
|
-
.e-listbox-wrapper.e-listboxtool-container .e-list-wrap,
|
|
2461
|
-
.e-listbox-container.e-listboxtool-container .e-list-wrap {
|
|
2462
|
-
width: 86% !important; /* stylelint-disable-line declaration-no-important */
|
|
2463
|
-
}
|
|
2464
2457
|
.e-listbox-wrapper:focus,
|
|
2465
2458
|
.e-listbox-container:focus {
|
|
2466
2459
|
outline: none;
|
|
@@ -2827,12 +2820,6 @@ ejs-listbox {
|
|
|
2827
2820
|
margin-left: 15px;
|
|
2828
2821
|
}
|
|
2829
2822
|
|
|
2830
|
-
.e-bigger .e-listbox-wrapper.e-listboxtool-container .e-list-wrap,
|
|
2831
|
-
.e-listbox-wrapper.e-bigger.e-listboxtool-container .e-list-wrap,
|
|
2832
|
-
.e-bigger .e-listbox-container.e-listboxtool-container .e-list-wrap,
|
|
2833
|
-
.e-listbox-container.e-bigger.e-listboxtool-container .e-list-wrap {
|
|
2834
|
-
width: 85% !important; /* stylelint-disable-line declaration-no-important */
|
|
2835
|
-
}
|
|
2836
2823
|
.e-bigger .e-listbox-wrapper .e-list-item,
|
|
2837
2824
|
.e-listbox-wrapper.e-bigger .e-list-item,
|
|
2838
2825
|
.e-bigger .e-listbox-container .e-list-item,
|
package/styles/bootstrap.css
CHANGED
|
@@ -190,7 +190,6 @@
|
|
|
190
190
|
.e-dropdownbase .e-list-item {
|
|
191
191
|
/* stylelint-disable property-no-vendor-prefix */
|
|
192
192
|
-webkit-tap-highlight-color: transparent;
|
|
193
|
-
background-color: #fff;
|
|
194
193
|
border-bottom: 1px;
|
|
195
194
|
border-color: #fff;
|
|
196
195
|
color: #333;
|
|
@@ -200,11 +199,11 @@
|
|
|
200
199
|
min-height: 26px;
|
|
201
200
|
padding-right: 20px;
|
|
202
201
|
text-indent: 20px;
|
|
202
|
+
background-color: #fff;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
.e-dropdownbase .e-list-group-item,
|
|
206
206
|
.e-fixed-head {
|
|
207
|
-
background-color: #fff;
|
|
208
207
|
border-color: #fff;
|
|
209
208
|
color: #777;
|
|
210
209
|
font-family: inherit;
|
|
@@ -214,6 +213,7 @@
|
|
|
214
213
|
min-height: 26px;
|
|
215
214
|
padding-left: 20px;
|
|
216
215
|
padding-right: 20px;
|
|
216
|
+
background-color: #fff;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
.e-dropdownbase .e-list-item.e-active, .e-dropdownbase .e-list-item.e-active.e-hover {
|
|
@@ -547,9 +547,6 @@
|
|
|
547
547
|
.e-popup-full-page .e-popup-full-page.e-ddl.e-popup.e-ddl-device-filter {
|
|
548
548
|
margin: 0;
|
|
549
549
|
}
|
|
550
|
-
.e-popup-full-page .e-popup-full-page.e-ios {
|
|
551
|
-
position: fixed;
|
|
552
|
-
}
|
|
553
550
|
|
|
554
551
|
.e-ddl.e-control-wrapper .e-ddl-disable-icon {
|
|
555
552
|
position: relative;
|
package/styles/bootstrap4.css
CHANGED
|
@@ -2,14 +2,6 @@
|
|
|
2
2
|
padding: 0 8px 0 0;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.e-bigger .e-content.e-dropdownbase {
|
|
6
|
-
padding: 8px 0;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.e-content.e-dropdownbase {
|
|
10
|
-
padding: 6px 0;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
5
|
.e-bigger .e-dropdownbase .e-list-item .e-list-icon {
|
|
14
6
|
font-size: 16px;
|
|
15
7
|
}
|
|
@@ -208,7 +200,6 @@
|
|
|
208
200
|
.e-dropdownbase .e-list-item {
|
|
209
201
|
/* stylelint-disable property-no-vendor-prefix */
|
|
210
202
|
-webkit-tap-highlight-color: transparent;
|
|
211
|
-
background-color: #fff;
|
|
212
203
|
border-bottom: 1px;
|
|
213
204
|
border-color: #fff;
|
|
214
205
|
color: #212529;
|
|
@@ -218,11 +209,11 @@
|
|
|
218
209
|
min-height: 26px;
|
|
219
210
|
padding-right: 24px;
|
|
220
211
|
text-indent: 20px;
|
|
212
|
+
background-color: #fff;
|
|
221
213
|
}
|
|
222
214
|
|
|
223
215
|
.e-dropdownbase .e-list-group-item,
|
|
224
216
|
.e-fixed-head {
|
|
225
|
-
background-color: #fff;
|
|
226
217
|
border-color: #fff;
|
|
227
218
|
color: #6c757d;
|
|
228
219
|
font-family: inherit;
|
|
@@ -232,6 +223,7 @@
|
|
|
232
223
|
min-height: 26px;
|
|
233
224
|
padding-left: 20px;
|
|
234
225
|
padding-right: 24px;
|
|
226
|
+
background-color: #fff;
|
|
235
227
|
}
|
|
236
228
|
|
|
237
229
|
.e-dropdownbase .e-list-item.e-active, .e-dropdownbase .e-list-item.e-active.e-hover {
|
|
@@ -591,9 +583,6 @@
|
|
|
591
583
|
.e-popup-full-page .e-popup-full-page.e-ddl.e-popup.e-ddl-device-filter {
|
|
592
584
|
margin: 0;
|
|
593
585
|
}
|
|
594
|
-
.e-popup-full-page .e-popup-full-page.e-ios {
|
|
595
|
-
position: fixed;
|
|
596
|
-
}
|
|
597
586
|
|
|
598
587
|
.e-ddl.e-control-wrapper .e-ddl-disable-icon {
|
|
599
588
|
position: relative;
|
|
@@ -622,7 +611,7 @@
|
|
|
622
611
|
border-top-width: 0;
|
|
623
612
|
box-shadow: none;
|
|
624
613
|
display: block;
|
|
625
|
-
padding:
|
|
614
|
+
padding: 6px;
|
|
626
615
|
}
|
|
627
616
|
|
|
628
617
|
.e-ddl.e-input-group:not(.e-disabled) {
|
|
@@ -217,7 +217,6 @@
|
|
|
217
217
|
.e-dropdownbase .e-list-item {
|
|
218
218
|
/* stylelint-disable property-no-vendor-prefix */
|
|
219
219
|
-webkit-tap-highlight-color: transparent;
|
|
220
|
-
background-color: #343a40;
|
|
221
220
|
border-bottom: 0;
|
|
222
221
|
border-color: #444c54;
|
|
223
222
|
color: #fff;
|
|
@@ -227,11 +226,11 @@
|
|
|
227
226
|
min-height: 30px;
|
|
228
227
|
padding-right: 16px;
|
|
229
228
|
text-indent: 12px;
|
|
229
|
+
background-color: #343a40;
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
.e-dropdownbase .e-list-group-item,
|
|
233
233
|
.e-fixed-head {
|
|
234
|
-
background-color: #343a40;
|
|
235
234
|
border-color: #444c54;
|
|
236
235
|
color: #7b848d;
|
|
237
236
|
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
@@ -241,6 +240,7 @@
|
|
|
241
240
|
min-height: 30px;
|
|
242
241
|
padding-left: 12px;
|
|
243
242
|
padding-right: 16px;
|
|
243
|
+
background-color: #343a40;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
.e-dropdownbase .e-list-item.e-active, .e-dropdownbase .e-list-item.e-active.e-hover {
|
|
@@ -613,9 +613,6 @@
|
|
|
613
613
|
.e-popup-full-page .e-popup-full-page.e-ddl.e-popup.e-ddl-device-filter {
|
|
614
614
|
margin: 0;
|
|
615
615
|
}
|
|
616
|
-
.e-popup-full-page .e-popup-full-page.e-ios {
|
|
617
|
-
position: fixed;
|
|
618
|
-
}
|
|
619
616
|
|
|
620
617
|
.e-ddl.e-control-wrapper .e-ddl-disable-icon {
|
|
621
618
|
position: relative;
|
|
@@ -1573,7 +1570,7 @@ ejs-dropdownlist {
|
|
|
1573
1570
|
.e-multi-select-wrapper .e-chips > .e-chipcontent {
|
|
1574
1571
|
max-width: 100%;
|
|
1575
1572
|
overflow: hidden;
|
|
1576
|
-
padding: 0 6px
|
|
1573
|
+
padding: 0 6px 1px 0;
|
|
1577
1574
|
text-indent: 0;
|
|
1578
1575
|
text-overflow: ellipsis;
|
|
1579
1576
|
white-space: nowrap;
|
|
@@ -2114,7 +2111,7 @@ ejs-multiselect {
|
|
|
2114
2111
|
}
|
|
2115
2112
|
|
|
2116
2113
|
.e-small.e-bigger .e-multi-select-wrapper .e-delim-values {
|
|
2117
|
-
font-size:
|
|
2114
|
+
font-size: 12px;
|
|
2118
2115
|
line-height: 28px;
|
|
2119
2116
|
}
|
|
2120
2117
|
|
|
@@ -2572,7 +2569,7 @@ ejs-multiselect {
|
|
|
2572
2569
|
}
|
|
2573
2570
|
|
|
2574
2571
|
.e-bigger.e-small .e-multi-select-wrapper .e-chips > .e-chipcontent {
|
|
2575
|
-
font-size:
|
|
2572
|
+
font-size: 12px;
|
|
2576
2573
|
}
|
|
2577
2574
|
|
|
2578
2575
|
.e-bigger.e-small .e-multi-select-wrapper .e-chips .e-chips-close::before {
|
package/styles/bootstrap5.css
CHANGED
|
@@ -217,7 +217,6 @@
|
|
|
217
217
|
.e-dropdownbase .e-list-item {
|
|
218
218
|
/* stylelint-disable property-no-vendor-prefix */
|
|
219
219
|
-webkit-tap-highlight-color: transparent;
|
|
220
|
-
background-color: #fff;
|
|
221
220
|
border-bottom: 0;
|
|
222
221
|
border-color: #dee2e6;
|
|
223
222
|
color: #212529;
|
|
@@ -227,11 +226,11 @@
|
|
|
227
226
|
min-height: 30px;
|
|
228
227
|
padding-right: 16px;
|
|
229
228
|
text-indent: 12px;
|
|
229
|
+
background-color: #fff;
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
.e-dropdownbase .e-list-group-item,
|
|
233
233
|
.e-fixed-head {
|
|
234
|
-
background-color: #fff;
|
|
235
234
|
border-color: #dee2e6;
|
|
236
235
|
color: #6c757d;
|
|
237
236
|
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
@@ -241,6 +240,7 @@
|
|
|
241
240
|
min-height: 30px;
|
|
242
241
|
padding-left: 12px;
|
|
243
242
|
padding-right: 16px;
|
|
243
|
+
background-color: #fff;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
.e-dropdownbase .e-list-item.e-active, .e-dropdownbase .e-list-item.e-active.e-hover {
|
|
@@ -613,9 +613,6 @@
|
|
|
613
613
|
.e-popup-full-page .e-popup-full-page.e-ddl.e-popup.e-ddl-device-filter {
|
|
614
614
|
margin: 0;
|
|
615
615
|
}
|
|
616
|
-
.e-popup-full-page .e-popup-full-page.e-ios {
|
|
617
|
-
position: fixed;
|
|
618
|
-
}
|
|
619
616
|
|
|
620
617
|
.e-ddl.e-control-wrapper .e-ddl-disable-icon {
|
|
621
618
|
position: relative;
|
|
@@ -1573,7 +1570,7 @@ ejs-dropdownlist {
|
|
|
1573
1570
|
.e-multi-select-wrapper .e-chips > .e-chipcontent {
|
|
1574
1571
|
max-width: 100%;
|
|
1575
1572
|
overflow: hidden;
|
|
1576
|
-
padding: 0 6px
|
|
1573
|
+
padding: 0 6px 1px 0;
|
|
1577
1574
|
text-indent: 0;
|
|
1578
1575
|
text-overflow: ellipsis;
|
|
1579
1576
|
white-space: nowrap;
|
|
@@ -2114,7 +2111,7 @@ ejs-multiselect {
|
|
|
2114
2111
|
}
|
|
2115
2112
|
|
|
2116
2113
|
.e-small.e-bigger .e-multi-select-wrapper .e-delim-values {
|
|
2117
|
-
font-size:
|
|
2114
|
+
font-size: 12px;
|
|
2118
2115
|
line-height: 28px;
|
|
2119
2116
|
}
|
|
2120
2117
|
|
|
@@ -2572,7 +2569,7 @@ ejs-multiselect {
|
|
|
2572
2569
|
}
|
|
2573
2570
|
|
|
2574
2571
|
.e-bigger.e-small .e-multi-select-wrapper .e-chips > .e-chipcontent {
|
|
2575
|
-
font-size:
|
|
2572
|
+
font-size: 12px;
|
|
2576
2573
|
}
|
|
2577
2574
|
|
|
2578
2575
|
.e-bigger.e-small .e-multi-select-wrapper .e-chips .e-chips-close::before {
|