@syncfusion/ej2-vue-inputs 19.4.52 → 20.1.47
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 -17
- package/README.md +15 -2
- package/dist/ej2-vue-inputs.umd.min.js +1 -1
- package/dist/es6/ej2-vue-inputs.es2015.js +146 -16
- package/dist/es6/ej2-vue-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-inputs.es5.js +93 -9
- package/dist/es6/ej2-vue-inputs.es5.js.map +1 -1
- package/dist/global/ej2-vue-inputs.min.js +2 -2
- package/package.json +8 -8
- package/src/color-picker/colorpicker.component.d.ts +1 -0
- package/src/color-picker/colorpicker.component.js +10 -1
- package/src/maskedtextbox/maskedtextbox.component.d.ts +1 -0
- package/src/maskedtextbox/maskedtextbox.component.js +10 -1
- package/src/numerictextbox/numerictextbox.component.d.ts +1 -0
- package/src/numerictextbox/numerictextbox.component.js +10 -1
- package/src/signature/signature.component.d.ts +1 -0
- package/src/signature/signature.component.js +10 -1
- package/src/slider/slider.component.d.ts +1 -0
- package/src/slider/slider.component.js +10 -1
- package/src/textbox/textbox.component.d.ts +1 -0
- package/src/textbox/textbox.component.js +10 -1
- package/src/uploader/files.directive.d.ts +3 -1
- package/src/uploader/files.directive.js +24 -2
- package/src/uploader/uploader.component.d.ts +1 -0
- package/src/uploader/uploader.component.js +10 -1
- package/styles/bootstrap-dark.css +10 -12
- package/styles/bootstrap.css +10 -12
- package/styles/bootstrap4.css +9 -14
- package/styles/bootstrap5-dark.css +118 -57
- package/styles/bootstrap5.css +118 -57
- package/styles/color-picker/bootstrap5-dark.css +26 -20
- package/styles/color-picker/bootstrap5.css +26 -20
- package/styles/color-picker/fluent-dark.css +902 -0
- package/styles/color-picker/fluent-dark.scss +1 -0
- package/styles/color-picker/fluent.css +902 -0
- package/styles/color-picker/fluent.scss +1 -0
- package/styles/color-picker/tailwind-dark.css +10 -6
- package/styles/color-picker/tailwind.css +10 -6
- package/styles/fabric-dark.css +8 -11
- package/styles/fabric.css +8 -11
- package/styles/fluent-dark.css +7366 -0
- package/styles/fluent-dark.scss +8 -0
- package/styles/fluent.css +7366 -0
- package/styles/fluent.scss +8 -0
- package/styles/highcontrast-light.css +8 -11
- package/styles/highcontrast.css +8 -11
- package/styles/input/bootstrap-dark.css +8 -8
- package/styles/input/bootstrap.css +8 -8
- package/styles/input/bootstrap4.css +8 -8
- package/styles/input/bootstrap5-dark.css +86 -29
- package/styles/input/bootstrap5.css +86 -29
- package/styles/input/fabric-dark.css +7 -7
- package/styles/input/fabric.css +7 -7
- package/styles/input/fluent-dark.css +4595 -0
- package/styles/input/fluent-dark.scss +1 -0
- package/styles/input/fluent.css +4595 -0
- package/styles/input/fluent.scss +1 -0
- package/styles/input/highcontrast-light.css +7 -7
- package/styles/input/highcontrast.css +7 -7
- package/styles/input/material-dark.css +90 -7
- package/styles/input/material.css +90 -7
- package/styles/input/tailwind-dark.css +96 -40
- package/styles/input/tailwind.css +96 -40
- package/styles/maskedtextbox/fluent-dark.css +26 -0
- package/styles/maskedtextbox/fluent-dark.scss +1 -0
- package/styles/maskedtextbox/fluent.css +26 -0
- package/styles/maskedtextbox/fluent.scss +1 -0
- package/styles/material-dark.css +91 -11
- package/styles/material.css +91 -11
- package/styles/numerictextbox/fluent-dark.css +60 -0
- package/styles/numerictextbox/fluent-dark.scss +1 -0
- package/styles/numerictextbox/fluent.css +60 -0
- package/styles/numerictextbox/fluent.scss +1 -0
- package/styles/numerictextbox/tailwind-dark.css +2 -2
- package/styles/numerictextbox/tailwind.css +2 -2
- package/styles/signature/fluent-dark.css +9 -0
- package/styles/signature/fluent-dark.scss +1 -0
- package/styles/signature/fluent.css +9 -0
- package/styles/signature/fluent.scss +1 -0
- package/styles/slider/bootstrap-dark.css +1 -0
- package/styles/slider/bootstrap.css +1 -0
- package/styles/slider/bootstrap4.css +0 -2
- package/styles/slider/bootstrap5-dark.css +5 -4
- package/styles/slider/bootstrap5.css +5 -4
- package/styles/slider/fluent-dark.css +632 -0
- package/styles/slider/fluent-dark.scss +1 -0
- package/styles/slider/fluent.css +632 -0
- package/styles/slider/fluent.scss +1 -0
- package/styles/slider/tailwind-dark.css +9 -5
- package/styles/slider/tailwind.css +9 -5
- package/styles/tailwind-dark.css +178 -92
- package/styles/tailwind.css +178 -92
- package/styles/textbox/fluent-dark.css +0 -0
- package/styles/textbox/fluent-dark.scss +1 -0
- package/styles/textbox/fluent.css +0 -0
- package/styles/textbox/fluent.scss +1 -0
- package/styles/uploader/bootstrap-dark.css +1 -4
- package/styles/uploader/bootstrap.css +1 -4
- package/styles/uploader/bootstrap4.css +1 -4
- package/styles/uploader/bootstrap5-dark.css +1 -4
- package/styles/uploader/bootstrap5.css +1 -4
- package/styles/uploader/fabric-dark.css +1 -4
- package/styles/uploader/fabric.css +1 -4
- package/styles/uploader/fluent-dark.css +1137 -0
- package/styles/uploader/fluent-dark.scss +1 -0
- package/styles/uploader/fluent.css +1137 -0
- package/styles/uploader/fluent.scss +1 -0
- package/styles/uploader/highcontrast-light.css +1 -4
- package/styles/uploader/highcontrast.css +1 -4
- package/styles/uploader/material-dark.css +1 -4
- package/styles/uploader/material.css +1 -4
- package/styles/uploader/tailwind-dark.css +61 -39
- package/styles/uploader/tailwind.css +61 -39
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-vue-inputs@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-vue-inputs@
|
|
3
|
+
"_id": "@syncfusion/ej2-vue-inputs@18.44.0",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-MXe2nQGxa2c5aP4N77q3eQ9fM16i54bG+Jxc+vvxycsDvWNubluLSlqXCzreAk4z5O3nvBh+0aD+3onNihpAJA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-vue-inputs",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-inputs/-/ej2-vue-inputs-18.44.0.tgz",
|
|
23
|
+
"_shasum": "bc2b5b27b5614e4d540125a0b05bfac96cbd4ab0",
|
|
24
24
|
"_spec": "@syncfusion/ej2-vue-inputs@*",
|
|
25
25
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
26
26
|
"author": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~
|
|
35
|
-
"@syncfusion/ej2-inputs": "
|
|
36
|
-
"@syncfusion/ej2-vue-base": "~
|
|
34
|
+
"@syncfusion/ej2-base": "~20.1.47",
|
|
35
|
+
"@syncfusion/ej2-inputs": "20.1.47",
|
|
36
|
+
"@syncfusion/ej2-vue-base": "~20.1.47"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "A package of Essential JS 2 input components such as Textbox, Color-picker, Masked-textbox, Numeric-textbox, Slider, Upload, and Form-validator that is used to get input from the users. for Vue",
|
|
@@ -120,6 +120,6 @@
|
|
|
120
120
|
"type": "git",
|
|
121
121
|
"url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
|
|
122
122
|
},
|
|
123
|
-
"version": "
|
|
123
|
+
"version": "20.1.47",
|
|
124
124
|
"sideEffects": false
|
|
125
125
|
}
|
|
@@ -31,6 +31,7 @@ export declare class ColorPickerComponent extends ComponentBase {
|
|
|
31
31
|
[key: string]: Object;
|
|
32
32
|
}, successHandler?: Function): void;
|
|
33
33
|
render(createElement: any): any;
|
|
34
|
+
custom(): void;
|
|
34
35
|
focusIn(): void;
|
|
35
36
|
getValue(value?: string, type?: string): string;
|
|
36
37
|
toggle(): void;
|
|
@@ -58,6 +58,7 @@ var ColorPickerComponent = /** @class */ (function (_super) {
|
|
|
58
58
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
59
59
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
60
60
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
61
|
+
_this.updated = _this.updated;
|
|
61
62
|
return _this;
|
|
62
63
|
}
|
|
63
64
|
ColorPickerComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -154,6 +155,9 @@ var ColorPickerComponent = /** @class */ (function (_super) {
|
|
|
154
155
|
}
|
|
155
156
|
return h('input', slots);
|
|
156
157
|
};
|
|
158
|
+
ColorPickerComponent.prototype.custom = function () {
|
|
159
|
+
this.updated();
|
|
160
|
+
};
|
|
157
161
|
ColorPickerComponent.prototype.focusIn = function () {
|
|
158
162
|
return this.ej2Instances.focusIn();
|
|
159
163
|
};
|
|
@@ -173,7 +177,12 @@ var ColorPickerComponent = /** @class */ (function (_super) {
|
|
|
173
177
|
,Options({
|
|
174
178
|
props: props,
|
|
175
179
|
watch: watch,
|
|
176
|
-
emits: emitProbs
|
|
180
|
+
emits: emitProbs,
|
|
181
|
+
provide: function provide() {
|
|
182
|
+
return {
|
|
183
|
+
custom: this.custom
|
|
184
|
+
};
|
|
185
|
+
}
|
|
177
186
|
})
|
|
178
187
|
], ColorPickerComponent);
|
|
179
188
|
return ColorPickerComponent;
|
|
@@ -58,6 +58,7 @@ var MaskedTextBoxComponent = /** @class */ (function (_super) {
|
|
|
58
58
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
59
59
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
60
60
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
61
|
+
_this.updated = _this.updated;
|
|
61
62
|
return _this;
|
|
62
63
|
}
|
|
63
64
|
MaskedTextBoxComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -154,6 +155,9 @@ var MaskedTextBoxComponent = /** @class */ (function (_super) {
|
|
|
154
155
|
}
|
|
155
156
|
return h('input', slots);
|
|
156
157
|
};
|
|
158
|
+
MaskedTextBoxComponent.prototype.custom = function () {
|
|
159
|
+
this.updated();
|
|
160
|
+
};
|
|
157
161
|
MaskedTextBoxComponent.prototype.focusIn = function () {
|
|
158
162
|
return this.ej2Instances.focusIn();
|
|
159
163
|
};
|
|
@@ -173,7 +177,12 @@ var MaskedTextBoxComponent = /** @class */ (function (_super) {
|
|
|
173
177
|
,Options({
|
|
174
178
|
props: props,
|
|
175
179
|
watch: watch,
|
|
176
|
-
emits: emitProbs
|
|
180
|
+
emits: emitProbs,
|
|
181
|
+
provide: function provide() {
|
|
182
|
+
return {
|
|
183
|
+
custom: this.custom
|
|
184
|
+
};
|
|
185
|
+
}
|
|
177
186
|
})
|
|
178
187
|
], MaskedTextBoxComponent);
|
|
179
188
|
return MaskedTextBoxComponent;
|
|
@@ -31,6 +31,7 @@ export declare class NumericTextBoxComponent extends ComponentBase {
|
|
|
31
31
|
[key: string]: Object;
|
|
32
32
|
}, successHandler?: Function): void;
|
|
33
33
|
render(createElement: any): any;
|
|
34
|
+
custom(): void;
|
|
34
35
|
decrement(step: number): void;
|
|
35
36
|
focusIn(): void;
|
|
36
37
|
focusOut(): void;
|
|
@@ -58,6 +58,7 @@ var NumericTextBoxComponent = /** @class */ (function (_super) {
|
|
|
58
58
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
59
59
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
60
60
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
61
|
+
_this.updated = _this.updated;
|
|
61
62
|
return _this;
|
|
62
63
|
}
|
|
63
64
|
NumericTextBoxComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -154,6 +155,9 @@ var NumericTextBoxComponent = /** @class */ (function (_super) {
|
|
|
154
155
|
}
|
|
155
156
|
return h('input', slots);
|
|
156
157
|
};
|
|
158
|
+
NumericTextBoxComponent.prototype.custom = function () {
|
|
159
|
+
this.updated();
|
|
160
|
+
};
|
|
157
161
|
NumericTextBoxComponent.prototype.decrement = function (step) {
|
|
158
162
|
return this.ej2Instances.decrement(step);
|
|
159
163
|
};
|
|
@@ -179,7 +183,12 @@ var NumericTextBoxComponent = /** @class */ (function (_super) {
|
|
|
179
183
|
,Options({
|
|
180
184
|
props: props,
|
|
181
185
|
watch: watch,
|
|
182
|
-
emits: emitProbs
|
|
186
|
+
emits: emitProbs,
|
|
187
|
+
provide: function provide() {
|
|
188
|
+
return {
|
|
189
|
+
custom: this.custom
|
|
190
|
+
};
|
|
191
|
+
}
|
|
183
192
|
})
|
|
184
193
|
], NumericTextBoxComponent);
|
|
185
194
|
return NumericTextBoxComponent;
|
|
@@ -28,6 +28,7 @@ export declare class SignatureComponent extends ComponentBase {
|
|
|
28
28
|
clearTemplate(templateNames?: string[]): any;
|
|
29
29
|
setProperties(prop: any, muteOnChange: boolean): void;
|
|
30
30
|
render(createElement: any): any;
|
|
31
|
+
custom(): void;
|
|
31
32
|
canRedo(): boolean;
|
|
32
33
|
canUndo(): boolean;
|
|
33
34
|
clear(): void;
|
|
@@ -55,6 +55,7 @@ var SignatureComponent = /** @class */ (function (_super) {
|
|
|
55
55
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
56
56
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
57
57
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
58
|
+
_this.updated = _this.updated;
|
|
58
59
|
return _this;
|
|
59
60
|
}
|
|
60
61
|
SignatureComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -113,6 +114,9 @@ var SignatureComponent = /** @class */ (function (_super) {
|
|
|
113
114
|
}
|
|
114
115
|
return h('canvas', slots);
|
|
115
116
|
};
|
|
117
|
+
SignatureComponent.prototype.custom = function () {
|
|
118
|
+
this.updated();
|
|
119
|
+
};
|
|
116
120
|
SignatureComponent.prototype.canRedo = function () {
|
|
117
121
|
return this.ej2Instances.canRedo();
|
|
118
122
|
};
|
|
@@ -156,7 +160,12 @@ var SignatureComponent = /** @class */ (function (_super) {
|
|
|
156
160
|
,Options({
|
|
157
161
|
props: props,
|
|
158
162
|
watch: watch,
|
|
159
|
-
emits: emitProbs
|
|
163
|
+
emits: emitProbs,
|
|
164
|
+
provide: function provide() {
|
|
165
|
+
return {
|
|
166
|
+
custom: this.custom
|
|
167
|
+
};
|
|
168
|
+
}
|
|
160
169
|
})
|
|
161
170
|
], SignatureComponent);
|
|
162
171
|
return SignatureComponent;
|
|
@@ -58,6 +58,7 @@ var SliderComponent = /** @class */ (function (_super) {
|
|
|
58
58
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
59
59
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
60
60
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
61
|
+
_this.updated = _this.updated;
|
|
61
62
|
return _this;
|
|
62
63
|
}
|
|
63
64
|
SliderComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -154,6 +155,9 @@ var SliderComponent = /** @class */ (function (_super) {
|
|
|
154
155
|
}
|
|
155
156
|
return h('div', slots);
|
|
156
157
|
};
|
|
158
|
+
SliderComponent.prototype.custom = function () {
|
|
159
|
+
this.updated();
|
|
160
|
+
};
|
|
157
161
|
SliderComponent.prototype.reposition = function () {
|
|
158
162
|
return this.ej2Instances.reposition();
|
|
159
163
|
};
|
|
@@ -170,7 +174,12 @@ var SliderComponent = /** @class */ (function (_super) {
|
|
|
170
174
|
,Options({
|
|
171
175
|
props: props,
|
|
172
176
|
watch: watch,
|
|
173
|
-
emits: emitProbs
|
|
177
|
+
emits: emitProbs,
|
|
178
|
+
provide: function provide() {
|
|
179
|
+
return {
|
|
180
|
+
custom: this.custom
|
|
181
|
+
};
|
|
182
|
+
}
|
|
174
183
|
})
|
|
175
184
|
], SliderComponent);
|
|
176
185
|
return SliderComponent;
|
|
@@ -31,6 +31,7 @@ export declare class TextBoxComponent extends ComponentBase {
|
|
|
31
31
|
[key: string]: Object;
|
|
32
32
|
}, successHandler?: Function): void;
|
|
33
33
|
render(createElement: any): any;
|
|
34
|
+
custom(): void;
|
|
34
35
|
addAttributes(attributes: undefined): void;
|
|
35
36
|
addIcon(position: string, icons: string | string[]): void;
|
|
36
37
|
focusIn(): void;
|
|
@@ -58,6 +58,7 @@ var TextBoxComponent = /** @class */ (function (_super) {
|
|
|
58
58
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
59
59
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
60
60
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
61
|
+
_this.updated = _this.updated;
|
|
61
62
|
return _this;
|
|
62
63
|
}
|
|
63
64
|
TextBoxComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -154,6 +155,9 @@ var TextBoxComponent = /** @class */ (function (_super) {
|
|
|
154
155
|
}
|
|
155
156
|
return h('input', slots);
|
|
156
157
|
};
|
|
158
|
+
TextBoxComponent.prototype.custom = function () {
|
|
159
|
+
this.updated();
|
|
160
|
+
};
|
|
157
161
|
TextBoxComponent.prototype.addAttributes = function (attributes) {
|
|
158
162
|
return this.ej2Instances.addAttributes(attributes);
|
|
159
163
|
};
|
|
@@ -179,7 +183,12 @@ var TextBoxComponent = /** @class */ (function (_super) {
|
|
|
179
183
|
,Options({
|
|
180
184
|
props: props,
|
|
181
185
|
watch: watch,
|
|
182
|
-
emits: emitProbs
|
|
186
|
+
emits: emitProbs,
|
|
187
|
+
provide: function provide() {
|
|
188
|
+
return {
|
|
189
|
+
custom: this.custom
|
|
190
|
+
};
|
|
191
|
+
}
|
|
183
192
|
})
|
|
184
193
|
], TextBoxComponent);
|
|
185
194
|
return TextBoxComponent;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare const isExecute: any;
|
|
2
2
|
declare let vueImport: any;
|
|
3
3
|
export declare class FilesDirective extends vueImport {
|
|
4
|
-
|
|
4
|
+
constructor();
|
|
5
|
+
render(createElement: any): void;
|
|
6
|
+
updated(): void;
|
|
5
7
|
getTag(): string;
|
|
6
8
|
}
|
|
7
9
|
export declare const FilesPlugin: {
|
|
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
19
|
};
|
|
20
20
|
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
|
+
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
22
23
|
import Vue from 'vue';
|
|
24
|
+
import { Options } from 'vue-class-component';
|
|
23
25
|
export var isExecute = gh ? false : true;
|
|
24
26
|
var vueImport;
|
|
25
27
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -31,16 +33,36 @@ else {
|
|
|
31
33
|
var FilesDirective = /** @class */ (function (_super) {
|
|
32
34
|
__extends(FilesDirective, _super);
|
|
33
35
|
function FilesDirective() {
|
|
34
|
-
return _super
|
|
36
|
+
return _super.call(this, arguments) || this;
|
|
35
37
|
}
|
|
36
|
-
FilesDirective.prototype.render = function () {
|
|
38
|
+
FilesDirective.prototype.render = function (createElement) {
|
|
39
|
+
if (gh) {
|
|
40
|
+
var h = gh || createElement;
|
|
41
|
+
var slots = null;
|
|
42
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
44
|
+
}
|
|
45
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
46
|
+
}
|
|
37
47
|
return;
|
|
38
48
|
};
|
|
49
|
+
FilesDirective.prototype.updated = function () {
|
|
50
|
+
if (gh && this.custom) {
|
|
51
|
+
this.custom();
|
|
52
|
+
}
|
|
53
|
+
};
|
|
39
54
|
FilesDirective.prototype.getTag = function () {
|
|
40
55
|
return 'e-files';
|
|
41
56
|
};
|
|
42
57
|
FilesDirective = __decorate([
|
|
43
58
|
EJComponentDecorator({}, isExecute)
|
|
59
|
+
,Options({
|
|
60
|
+
inject: {
|
|
61
|
+
custom: {
|
|
62
|
+
default: null
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
})
|
|
44
66
|
], FilesDirective);
|
|
45
67
|
return FilesDirective;
|
|
46
68
|
}(vueImport));
|
|
@@ -28,6 +28,7 @@ export declare class UploaderComponent extends ComponentBase {
|
|
|
28
28
|
clearTemplate(templateNames?: string[]): any;
|
|
29
29
|
setProperties(prop: any, muteOnChange: boolean): void;
|
|
30
30
|
render(createElement: any): any;
|
|
31
|
+
custom(): void;
|
|
31
32
|
bytesToSize(bytes: number): string;
|
|
32
33
|
cancel(fileData?: Object[]): void;
|
|
33
34
|
clearAll(): void;
|
|
@@ -56,6 +56,7 @@ var UploaderComponent = /** @class */ (function (_super) {
|
|
|
56
56
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
57
57
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
58
58
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
59
|
+
_this.updated = _this.updated;
|
|
59
60
|
return _this;
|
|
60
61
|
}
|
|
61
62
|
UploaderComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -114,6 +115,9 @@ var UploaderComponent = /** @class */ (function (_super) {
|
|
|
114
115
|
}
|
|
115
116
|
return h('input', slots);
|
|
116
117
|
};
|
|
118
|
+
UploaderComponent.prototype.custom = function () {
|
|
119
|
+
this.updated();
|
|
120
|
+
};
|
|
117
121
|
UploaderComponent.prototype.bytesToSize = function (bytes) {
|
|
118
122
|
return this.ej2Instances.bytesToSize(bytes);
|
|
119
123
|
};
|
|
@@ -157,7 +161,12 @@ var UploaderComponent = /** @class */ (function (_super) {
|
|
|
157
161
|
,Options({
|
|
158
162
|
props: props,
|
|
159
163
|
watch: watch,
|
|
160
|
-
emits: emitProbs
|
|
164
|
+
emits: emitProbs,
|
|
165
|
+
provide: function provide() {
|
|
166
|
+
return {
|
|
167
|
+
custom: this.custom
|
|
168
|
+
};
|
|
169
|
+
}
|
|
161
170
|
})
|
|
162
171
|
], UploaderComponent);
|
|
163
172
|
return UploaderComponent;
|
|
@@ -162,11 +162,7 @@ textarea.e-input.e-bigger,
|
|
|
162
162
|
.e-input-group.e-bigger,
|
|
163
163
|
.e-bigger .e-input-group,
|
|
164
164
|
.e-input-group.e-control-wrapper.e-bigger,
|
|
165
|
-
.e-bigger .e-input-group.e-control-wrapper
|
|
166
|
-
.e-input-group.e-bigger.e-disabled,
|
|
167
|
-
.e-bigger .e-input-group.e-disabled,
|
|
168
|
-
.e-input-group.e-control-wrapper.e-bigger.e-disabled,
|
|
169
|
-
.e-bigger .e-input-group.e-control-wrapper.e-disabled {
|
|
165
|
+
.e-bigger .e-input-group.e-control-wrapper {
|
|
170
166
|
font-size: 15px;
|
|
171
167
|
}
|
|
172
168
|
|
|
@@ -261,7 +257,7 @@ textarea.e-input.e-bigger,
|
|
|
261
257
|
.e-rtl .e-input-group input ~ .e-input-group-icon,
|
|
262
258
|
.e-rtl .e-input-group.e-control-wrapper input ~ .e-input-group-icon {
|
|
263
259
|
border-left-width: 0;
|
|
264
|
-
border-right
|
|
260
|
+
border-right: 1px solid #767676;
|
|
265
261
|
}
|
|
266
262
|
|
|
267
263
|
.e-input-group.e-rtl input ~ .e-input-group-icon + .e-input-group-icon,
|
|
@@ -548,8 +544,8 @@ textarea.e-input.e-small,
|
|
|
548
544
|
.e-input-group.e-small .e-input-group-icon.e-bigger,
|
|
549
545
|
.e-input-group.e-control-wrapper.e-small.e-bigger .e-input-group-icon,
|
|
550
546
|
.e-input-group.e-control-wrapper.e-small .e-input-group-icon.e-bigger,
|
|
551
|
-
.e-small
|
|
552
|
-
.e-small
|
|
547
|
+
.e-small.e-bigger .e-input-group .e-input-group-icon,
|
|
548
|
+
.e-small.e-bigger .e-input-group.e-control-wrapper .e-input-group-icon,
|
|
553
549
|
.e-bigger .e-input-group.e-small .e-input-group-icon,
|
|
554
550
|
.e-bigger .e-input-group.e-control-wrapper.e-small .e-input-group-icon {
|
|
555
551
|
font-size: 12px;
|
|
@@ -2779,6 +2775,10 @@ textarea.e-input.e-bigger.e-small,
|
|
|
2779
2775
|
.e-float-input.e-control-wrapper.e-small.e-bigger .e-clear-icon::before,
|
|
2780
2776
|
.e-input-group.e-small.e-bigger .e-clear-icon::before,
|
|
2781
2777
|
.e-input-group.e-control-wrapper.e-small.e-bigger .e-clear-icon::before,
|
|
2778
|
+
.e-small.e-bigger .e-float-input .e-clear-icon::before,
|
|
2779
|
+
.e-small.e-bigger .e-float-input.e-control-wrapper .e-clear-icon::before,
|
|
2780
|
+
.e-small.e-bigger .e-input-group .e-clear-icon::before,
|
|
2781
|
+
.e-small.e-bigger .e-input-group.e-control-wrapper .e-clear-icon::before,
|
|
2782
2782
|
.e-small .e-input-group.e-bigger input:first-child ~ .e-clear-icon::before,
|
|
2783
2783
|
.e-small .e-input-group.e-control-wrapper.e-bigger input:first-child ~ .e-clear-icon::before,
|
|
2784
2784
|
.e-bigger .e-input-group.e-small input:first-child ~ .e-clear-icon::before,
|
|
@@ -5267,6 +5267,7 @@ textarea.e-input:hover:not(.e-success):not(.e-warning):not(.e-error):not([disabl
|
|
|
5267
5267
|
.e-control-wrapper.e-slider-container .e-slider .e-handle {
|
|
5268
5268
|
background-color: #6e6e6e;
|
|
5269
5269
|
border: 1px solid #6e6e6e;
|
|
5270
|
+
border-color: #6e6e6e;
|
|
5270
5271
|
}
|
|
5271
5272
|
|
|
5272
5273
|
.e-control-wrapper.e-slider-container .e-slider .e-handle.e-material-tooltip {
|
|
@@ -6287,6 +6288,7 @@ textarea.e-input:hover:not(.e-success):not(.e-warning):not(.e-error):not([disabl
|
|
|
6287
6288
|
|
|
6288
6289
|
.e-upload .e-file-drop {
|
|
6289
6290
|
color: #f0f0f0;
|
|
6291
|
+
vertical-align: middle;
|
|
6290
6292
|
}
|
|
6291
6293
|
|
|
6292
6294
|
.e-upload .e-upload-files {
|
|
@@ -6376,10 +6378,6 @@ textarea.e-input:hover:not(.e-success):not(.e-warning):not(.e-error):not([disabl
|
|
|
6376
6378
|
box-shadow: 0 0 0 transparent;
|
|
6377
6379
|
}
|
|
6378
6380
|
|
|
6379
|
-
.e-upload-drag-hover {
|
|
6380
|
-
outline: 2px dashed #0070f0;
|
|
6381
|
-
}
|
|
6382
|
-
|
|
6383
6381
|
.e-container .e-value-switch-btn::before {
|
|
6384
6382
|
content: '\e431';
|
|
6385
6383
|
}
|
package/styles/bootstrap.css
CHANGED
|
@@ -162,11 +162,7 @@ textarea.e-input.e-bigger,
|
|
|
162
162
|
.e-input-group.e-bigger,
|
|
163
163
|
.e-bigger .e-input-group,
|
|
164
164
|
.e-input-group.e-control-wrapper.e-bigger,
|
|
165
|
-
.e-bigger .e-input-group.e-control-wrapper
|
|
166
|
-
.e-input-group.e-bigger.e-disabled,
|
|
167
|
-
.e-bigger .e-input-group.e-disabled,
|
|
168
|
-
.e-input-group.e-control-wrapper.e-bigger.e-disabled,
|
|
169
|
-
.e-bigger .e-input-group.e-control-wrapper.e-disabled {
|
|
165
|
+
.e-bigger .e-input-group.e-control-wrapper {
|
|
170
166
|
font-size: 15px;
|
|
171
167
|
}
|
|
172
168
|
|
|
@@ -261,7 +257,7 @@ textarea.e-input.e-bigger,
|
|
|
261
257
|
.e-rtl .e-input-group input ~ .e-input-group-icon,
|
|
262
258
|
.e-rtl .e-input-group.e-control-wrapper input ~ .e-input-group-icon {
|
|
263
259
|
border-left-width: 0;
|
|
264
|
-
border-right
|
|
260
|
+
border-right: 1px solid #ccc;
|
|
265
261
|
}
|
|
266
262
|
|
|
267
263
|
.e-input-group.e-rtl input ~ .e-input-group-icon + .e-input-group-icon,
|
|
@@ -548,8 +544,8 @@ textarea.e-input.e-small,
|
|
|
548
544
|
.e-input-group.e-small .e-input-group-icon.e-bigger,
|
|
549
545
|
.e-input-group.e-control-wrapper.e-small.e-bigger .e-input-group-icon,
|
|
550
546
|
.e-input-group.e-control-wrapper.e-small .e-input-group-icon.e-bigger,
|
|
551
|
-
.e-small
|
|
552
|
-
.e-small
|
|
547
|
+
.e-small.e-bigger .e-input-group .e-input-group-icon,
|
|
548
|
+
.e-small.e-bigger .e-input-group.e-control-wrapper .e-input-group-icon,
|
|
553
549
|
.e-bigger .e-input-group.e-small .e-input-group-icon,
|
|
554
550
|
.e-bigger .e-input-group.e-control-wrapper.e-small .e-input-group-icon {
|
|
555
551
|
font-size: 12px;
|
|
@@ -2779,6 +2775,10 @@ textarea.e-input.e-bigger.e-small,
|
|
|
2779
2775
|
.e-float-input.e-control-wrapper.e-small.e-bigger .e-clear-icon::before,
|
|
2780
2776
|
.e-input-group.e-small.e-bigger .e-clear-icon::before,
|
|
2781
2777
|
.e-input-group.e-control-wrapper.e-small.e-bigger .e-clear-icon::before,
|
|
2778
|
+
.e-small.e-bigger .e-float-input .e-clear-icon::before,
|
|
2779
|
+
.e-small.e-bigger .e-float-input.e-control-wrapper .e-clear-icon::before,
|
|
2780
|
+
.e-small.e-bigger .e-input-group .e-clear-icon::before,
|
|
2781
|
+
.e-small.e-bigger .e-input-group.e-control-wrapper .e-clear-icon::before,
|
|
2782
2782
|
.e-small .e-input-group.e-bigger input:first-child ~ .e-clear-icon::before,
|
|
2783
2783
|
.e-small .e-input-group.e-control-wrapper.e-bigger input:first-child ~ .e-clear-icon::before,
|
|
2784
2784
|
.e-bigger .e-input-group.e-small input:first-child ~ .e-clear-icon::before,
|
|
@@ -5246,6 +5246,7 @@ textarea.e-input:hover:not(.e-success):not(.e-warning):not(.e-error):not([disabl
|
|
|
5246
5246
|
.e-control-wrapper.e-slider-container .e-slider .e-handle {
|
|
5247
5247
|
background-color: #fff;
|
|
5248
5248
|
border: 1px solid #ccc;
|
|
5249
|
+
border-color: #ccc;
|
|
5249
5250
|
}
|
|
5250
5251
|
|
|
5251
5252
|
.e-control-wrapper.e-slider-container .e-slider .e-handle.e-material-tooltip {
|
|
@@ -6266,6 +6267,7 @@ textarea.e-input:hover:not(.e-success):not(.e-warning):not(.e-error):not([disabl
|
|
|
6266
6267
|
|
|
6267
6268
|
.e-upload .e-file-drop {
|
|
6268
6269
|
color: #333;
|
|
6270
|
+
vertical-align: middle;
|
|
6269
6271
|
}
|
|
6270
6272
|
|
|
6271
6273
|
.e-upload .e-upload-files {
|
|
@@ -6355,10 +6357,6 @@ textarea.e-input:hover:not(.e-success):not(.e-warning):not(.e-error):not([disabl
|
|
|
6355
6357
|
box-shadow: 0 0 0 transparent;
|
|
6356
6358
|
}
|
|
6357
6359
|
|
|
6358
|
-
.e-upload-drag-hover {
|
|
6359
|
-
outline: 2px dashed #317ab9;
|
|
6360
|
-
}
|
|
6361
|
-
|
|
6362
6360
|
.e-container .e-value-switch-btn::before {
|
|
6363
6361
|
content: '\e431';
|
|
6364
6362
|
}
|
package/styles/bootstrap4.css
CHANGED
|
@@ -162,11 +162,7 @@ textarea.e-input.e-bigger,
|
|
|
162
162
|
.e-input-group.e-bigger,
|
|
163
163
|
.e-bigger .e-input-group,
|
|
164
164
|
.e-input-group.e-control-wrapper.e-bigger,
|
|
165
|
-
.e-bigger .e-input-group.e-control-wrapper
|
|
166
|
-
.e-input-group.e-bigger.e-disabled,
|
|
167
|
-
.e-bigger .e-input-group.e-disabled,
|
|
168
|
-
.e-input-group.e-control-wrapper.e-bigger.e-disabled,
|
|
169
|
-
.e-bigger .e-input-group.e-control-wrapper.e-disabled {
|
|
165
|
+
.e-bigger .e-input-group.e-control-wrapper {
|
|
170
166
|
font-size: 16px;
|
|
171
167
|
}
|
|
172
168
|
|
|
@@ -261,7 +257,7 @@ textarea.e-input.e-bigger,
|
|
|
261
257
|
.e-rtl .e-input-group input ~ .e-input-group-icon,
|
|
262
258
|
.e-rtl .e-input-group.e-control-wrapper input ~ .e-input-group-icon {
|
|
263
259
|
border-left-width: 0;
|
|
264
|
-
border-right
|
|
260
|
+
border-right: 1px solid #ced4da;
|
|
265
261
|
}
|
|
266
262
|
|
|
267
263
|
.e-input-group.e-rtl input ~ .e-input-group-icon + .e-input-group-icon,
|
|
@@ -548,8 +544,8 @@ textarea.e-input.e-small,
|
|
|
548
544
|
.e-input-group.e-small .e-input-group-icon.e-bigger,
|
|
549
545
|
.e-input-group.e-control-wrapper.e-small.e-bigger .e-input-group-icon,
|
|
550
546
|
.e-input-group.e-control-wrapper.e-small .e-input-group-icon.e-bigger,
|
|
551
|
-
.e-small
|
|
552
|
-
.e-small
|
|
547
|
+
.e-small.e-bigger .e-input-group .e-input-group-icon,
|
|
548
|
+
.e-small.e-bigger .e-input-group.e-control-wrapper .e-input-group-icon,
|
|
553
549
|
.e-bigger .e-input-group.e-small .e-input-group-icon,
|
|
554
550
|
.e-bigger .e-input-group.e-control-wrapper.e-small .e-input-group-icon {
|
|
555
551
|
font-size: 12px;
|
|
@@ -2779,6 +2775,10 @@ textarea.e-input.e-bigger.e-small,
|
|
|
2779
2775
|
.e-float-input.e-control-wrapper.e-small.e-bigger .e-clear-icon::before,
|
|
2780
2776
|
.e-input-group.e-small.e-bigger .e-clear-icon::before,
|
|
2781
2777
|
.e-input-group.e-control-wrapper.e-small.e-bigger .e-clear-icon::before,
|
|
2778
|
+
.e-small.e-bigger .e-float-input .e-clear-icon::before,
|
|
2779
|
+
.e-small.e-bigger .e-float-input.e-control-wrapper .e-clear-icon::before,
|
|
2780
|
+
.e-small.e-bigger .e-input-group .e-clear-icon::before,
|
|
2781
|
+
.e-small.e-bigger .e-input-group.e-control-wrapper .e-clear-icon::before,
|
|
2782
2782
|
.e-small .e-input-group.e-bigger input:first-child ~ .e-clear-icon::before,
|
|
2783
2783
|
.e-small .e-input-group.e-control-wrapper.e-bigger input:first-child ~ .e-clear-icon::before,
|
|
2784
2784
|
.e-bigger .e-input-group.e-small input:first-child ~ .e-clear-icon::before,
|
|
@@ -4810,8 +4810,6 @@ textarea.e-input::-webkit-input-placeholder {
|
|
|
4810
4810
|
|
|
4811
4811
|
.e-bigger .e-control-wrapper.e-slider-container.e-horizontal .e-slider .e-handle,
|
|
4812
4812
|
.e-control-wrapper.e-slider-container.e-bigger.e-horizontal .e-slider .e-handle {
|
|
4813
|
-
margin-left: -9px;
|
|
4814
|
-
top: calc(50% - 9px);
|
|
4815
4813
|
margin-left: -8px;
|
|
4816
4814
|
top: calc(50% - 8px);
|
|
4817
4815
|
}
|
|
@@ -6352,6 +6350,7 @@ textarea.e-input::-webkit-input-placeholder {
|
|
|
6352
6350
|
|
|
6353
6351
|
.e-upload .e-file-drop {
|
|
6354
6352
|
color: #212529;
|
|
6353
|
+
vertical-align: middle;
|
|
6355
6354
|
}
|
|
6356
6355
|
|
|
6357
6356
|
.e-upload .e-upload-files {
|
|
@@ -6441,10 +6440,6 @@ textarea.e-input::-webkit-input-placeholder {
|
|
|
6441
6440
|
box-shadow: 0 0 0 transparent;
|
|
6442
6441
|
}
|
|
6443
6442
|
|
|
6444
|
-
.e-upload-drag-hover {
|
|
6445
|
-
outline: dashed 2px #007bff;
|
|
6446
|
-
}
|
|
6447
|
-
|
|
6448
6443
|
.e-container .e-value-switch-btn::before {
|
|
6449
6444
|
content: '\e799';
|
|
6450
6445
|
}
|