@syncfusion/ej2-vue-inputs 19.4.47 → 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 -15
- package/README.md +16 -3
- 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/CHANGELOG.md
CHANGED
|
@@ -2,21 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
-
### ColorPicker
|
|
6
|
-
|
|
7
|
-
#### Bug Fixes
|
|
8
|
-
|
|
9
|
-
Color Picker in Angular reactive form throws errors when selecting after form is reset has been resolved.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
## 19.4.43 (2022-01-18)
|
|
13
|
-
|
|
14
|
-
### Range Slider
|
|
15
|
-
|
|
16
|
-
#### Bug Fixes
|
|
17
|
-
|
|
18
|
-
- `#I359470` - The issue with "The Range Slider tooltip is not hidden when it is placed inside the tab container" has been resolved.
|
|
19
|
-
|
|
20
5
|
## 19.4.38 (2021-12-17)
|
|
21
6
|
|
|
22
7
|
### Signature
|
package/README.md
CHANGED
|
@@ -38,6 +38,11 @@ Following list of components are available in the package.
|
|
|
38
38
|
* [View Online Demos](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=numerictextbox#/material/numerictextbox/default.html)
|
|
39
39
|
* [Product Page](https://www.syncfusion.com/vue-ui-components/numerictextbox/?utm_source=npm&utm_campaign=numerictextbox)
|
|
40
40
|
|
|
41
|
+
* **Signature** - The Signature component allows user to draw smooth signatures as vector outline of strokes using variable width bezier curve interpolation. It allows to save signature as image.
|
|
42
|
+
* [Getting Started](https://ej2.syncfusion.com/documentation/signature/getting-started?lang=typescript&utm_source=npm&utm_campaign=signature)
|
|
43
|
+
* [View Online Demos](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=signature#/material/signature/default.html)
|
|
44
|
+
* [Product Page](https://www.syncfusion.com/javascript-ui-controls/signature/?utm_source=npm&utm_campaign=signature)
|
|
45
|
+
|
|
41
46
|
* **Slider** - The slider component allows you to select a value or range of values between the min and max range.
|
|
42
47
|
* [Getting Started](https://ej2.syncfusion.com/vue/documentation/slider/getting-started/?utm_source=npm&utm_campaign=slider)
|
|
43
48
|
* [View Online Demos](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=slider#/material/slider/default.html)
|
|
@@ -92,7 +97,15 @@ Input component is also offered in following list of frameworks.
|
|
|
92
97
|
- [**Internationalization**](https://ej2.syncfusion.com/vue/documentation/numerictextbox/internationalization/?utm_source=npm&utm_campaign=numerictextbox) - library provides support for formatting and parsing number using the official Unicode CLDR JSON data.
|
|
93
98
|
- [**Localization**](https://ej2.syncfusion.com/vue/documentation/numerictextbox/internationalization#localization/?utm_source=npm&utm_campaign=numerictextbox#localization) - Supports to localize spin up and down buttons title for the tooltip to different cultures.
|
|
94
99
|
|
|
95
|
-
### 5.
|
|
100
|
+
### 5. Signature
|
|
101
|
+
- [**Customization**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=slider#/material/signature/default.html) - Support various customization options like background color, background image, stroke color, stroke width, save with background, undo, redo, clear, readonly, and disabled.
|
|
102
|
+
- [**Save**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=slider#/material/signature/default.html) - Support to save the signature as image like PNG, JPEG, and SVG.
|
|
103
|
+
- [**Load**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=slider#/material/signature/default.html)
|
|
104
|
+
- Support to load the signature as base64 url of the image.
|
|
105
|
+
- [**Draw**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=slider#/material/signature/default.html)
|
|
106
|
+
- Support to draw the text with the different font family and font size.
|
|
107
|
+
|
|
108
|
+
### 6. Slider
|
|
96
109
|
- [**Types**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=slider#/material/slider/default.html) - Provided three types of Slider.
|
|
97
110
|
- [**Orientation**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=slider#/material/slider/orientation.html) - Displays the Slider in horizontal or vertical direction.
|
|
98
111
|
- [**Buttons**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=slider#/material/slider/tooltip.html) - Provided built-in support to render the buttons in both edges of the Slider.
|
|
@@ -103,7 +116,7 @@ Input component is also offered in following list of frameworks.
|
|
|
103
116
|
- [**Accessibility**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=slider#/material/slider/default.html) - Built-in compliance with the [WAI-ARIA](http://www.w3.org/WAI/PF/aria-practices/) specifications.
|
|
104
117
|
- [**Keyboard Interaction**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=slider#/material/slider/api.html) - The Slider can be intractable through the keyboard.
|
|
105
118
|
|
|
106
|
-
###
|
|
119
|
+
### 7. Upload
|
|
107
120
|
- [**Chunk Upload**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-file-upload-npm#/material/uploader/chunk-upload.html) – used to upload large files as chunks
|
|
108
121
|
- [**Drag-and-drop**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-file-upload-npm#/material/uploader/custom-drop-area.html) – drag the files and drop into component to upload them.
|
|
109
122
|
- [**Template**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-file-upload-npm#/material/uploader/custom-file-list.html) – the file list and buttons can be customize using template
|
|
@@ -127,4 +140,4 @@ Check the license detail [here](https://github.com/syncfusion/ej2-vue-ui-compone
|
|
|
127
140
|
|
|
128
141
|
Check the changelog [here](https://github.com/syncfusion/ej2-vue-ui-components/blob/master/components/inputs/CHANGELOG.md/?utm_source=npm&utm_campaign=input)
|
|
129
142
|
|
|
130
|
-
© Copyright
|
|
143
|
+
© Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-inputs.umd.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 20.1.47
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
@@ -32,7 +32,12 @@ let TextBoxComponent =
|
|
|
32
32
|
/* Start Options({
|
|
33
33
|
props: props,
|
|
34
34
|
watch: watch,
|
|
35
|
-
emits: emitProbs
|
|
35
|
+
emits: emitProbs,
|
|
36
|
+
provide: function provide() {
|
|
37
|
+
return {
|
|
38
|
+
custom: this.custom
|
|
39
|
+
};
|
|
40
|
+
}
|
|
36
41
|
}) End */
|
|
37
42
|
class TextBoxComponent extends ComponentBase {
|
|
38
43
|
constructor() {
|
|
@@ -51,6 +56,7 @@ class TextBoxComponent extends ComponentBase {
|
|
|
51
56
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
52
57
|
this.ej2Instances.setProperties = this.setProperties;
|
|
53
58
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
59
|
+
this.updated = this.updated;
|
|
54
60
|
}
|
|
55
61
|
clearTemplate(templateNames) {
|
|
56
62
|
if (!templateNames) {
|
|
@@ -143,6 +149,9 @@ class TextBoxComponent extends ComponentBase {
|
|
|
143
149
|
}
|
|
144
150
|
return h('input', slots);
|
|
145
151
|
}
|
|
152
|
+
custom() {
|
|
153
|
+
this.updated();
|
|
154
|
+
}
|
|
146
155
|
addAttributes(attributes) {
|
|
147
156
|
return this.ej2Instances.addAttributes(attributes);
|
|
148
157
|
}
|
|
@@ -169,7 +178,12 @@ TextBoxComponent = __decorate([
|
|
|
169
178
|
/* Start Options({
|
|
170
179
|
props: props,
|
|
171
180
|
watch: watch,
|
|
172
|
-
emits: emitProbs
|
|
181
|
+
emits: emitProbs,
|
|
182
|
+
provide: function provide() {
|
|
183
|
+
return {
|
|
184
|
+
custom: this.custom
|
|
185
|
+
};
|
|
186
|
+
}
|
|
173
187
|
}) End */
|
|
174
188
|
], TextBoxComponent);
|
|
175
189
|
const TextBoxPlugin = {
|
|
@@ -207,7 +221,12 @@ let NumericTextBoxComponent =
|
|
|
207
221
|
/* Start Options({
|
|
208
222
|
props: props,
|
|
209
223
|
watch: watch,
|
|
210
|
-
emits: emitProbs
|
|
224
|
+
emits: emitProbs,
|
|
225
|
+
provide: function provide() {
|
|
226
|
+
return {
|
|
227
|
+
custom: this.custom
|
|
228
|
+
};
|
|
229
|
+
}
|
|
211
230
|
}) End */
|
|
212
231
|
class NumericTextBoxComponent extends ComponentBase {
|
|
213
232
|
constructor() {
|
|
@@ -226,6 +245,7 @@ class NumericTextBoxComponent extends ComponentBase {
|
|
|
226
245
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
227
246
|
this.ej2Instances.setProperties = this.setProperties;
|
|
228
247
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
248
|
+
this.updated = this.updated;
|
|
229
249
|
}
|
|
230
250
|
clearTemplate(templateNames) {
|
|
231
251
|
if (!templateNames) {
|
|
@@ -318,6 +338,9 @@ class NumericTextBoxComponent extends ComponentBase {
|
|
|
318
338
|
}
|
|
319
339
|
return h('input', slots);
|
|
320
340
|
}
|
|
341
|
+
custom() {
|
|
342
|
+
this.updated();
|
|
343
|
+
}
|
|
321
344
|
decrement(step) {
|
|
322
345
|
return this.ej2Instances.decrement(step);
|
|
323
346
|
}
|
|
@@ -344,7 +367,12 @@ NumericTextBoxComponent = __decorate$1([
|
|
|
344
367
|
/* Start Options({
|
|
345
368
|
props: props,
|
|
346
369
|
watch: watch,
|
|
347
|
-
emits: emitProbs
|
|
370
|
+
emits: emitProbs,
|
|
371
|
+
provide: function provide() {
|
|
372
|
+
return {
|
|
373
|
+
custom: this.custom
|
|
374
|
+
};
|
|
375
|
+
}
|
|
348
376
|
}) End */
|
|
349
377
|
], NumericTextBoxComponent);
|
|
350
378
|
const NumericTextBoxPlugin = {
|
|
@@ -382,7 +410,12 @@ let MaskedTextBoxComponent =
|
|
|
382
410
|
/* Start Options({
|
|
383
411
|
props: props,
|
|
384
412
|
watch: watch,
|
|
385
|
-
emits: emitProbs
|
|
413
|
+
emits: emitProbs,
|
|
414
|
+
provide: function provide() {
|
|
415
|
+
return {
|
|
416
|
+
custom: this.custom
|
|
417
|
+
};
|
|
418
|
+
}
|
|
386
419
|
}) End */
|
|
387
420
|
class MaskedTextBoxComponent extends ComponentBase {
|
|
388
421
|
constructor() {
|
|
@@ -401,6 +434,7 @@ class MaskedTextBoxComponent extends ComponentBase {
|
|
|
401
434
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
402
435
|
this.ej2Instances.setProperties = this.setProperties;
|
|
403
436
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
437
|
+
this.updated = this.updated;
|
|
404
438
|
}
|
|
405
439
|
clearTemplate(templateNames) {
|
|
406
440
|
if (!templateNames) {
|
|
@@ -493,6 +527,9 @@ class MaskedTextBoxComponent extends ComponentBase {
|
|
|
493
527
|
}
|
|
494
528
|
return h('input', slots);
|
|
495
529
|
}
|
|
530
|
+
custom() {
|
|
531
|
+
this.updated();
|
|
532
|
+
}
|
|
496
533
|
focusIn() {
|
|
497
534
|
return this.ej2Instances.focusIn();
|
|
498
535
|
}
|
|
@@ -513,7 +550,12 @@ MaskedTextBoxComponent = __decorate$2([
|
|
|
513
550
|
/* Start Options({
|
|
514
551
|
props: props,
|
|
515
552
|
watch: watch,
|
|
516
|
-
emits: emitProbs
|
|
553
|
+
emits: emitProbs,
|
|
554
|
+
provide: function provide() {
|
|
555
|
+
return {
|
|
556
|
+
custom: this.custom
|
|
557
|
+
};
|
|
558
|
+
}
|
|
517
559
|
}) End */
|
|
518
560
|
], MaskedTextBoxComponent);
|
|
519
561
|
const MaskedTextBoxPlugin = {
|
|
@@ -551,7 +593,12 @@ let SliderComponent =
|
|
|
551
593
|
/* Start Options({
|
|
552
594
|
props: props,
|
|
553
595
|
watch: watch,
|
|
554
|
-
emits: emitProbs
|
|
596
|
+
emits: emitProbs,
|
|
597
|
+
provide: function provide() {
|
|
598
|
+
return {
|
|
599
|
+
custom: this.custom
|
|
600
|
+
};
|
|
601
|
+
}
|
|
555
602
|
}) End */
|
|
556
603
|
class SliderComponent extends ComponentBase {
|
|
557
604
|
constructor() {
|
|
@@ -570,6 +617,7 @@ class SliderComponent extends ComponentBase {
|
|
|
570
617
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
571
618
|
this.ej2Instances.setProperties = this.setProperties;
|
|
572
619
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
620
|
+
this.updated = this.updated;
|
|
573
621
|
}
|
|
574
622
|
clearTemplate(templateNames) {
|
|
575
623
|
if (!templateNames) {
|
|
@@ -662,6 +710,9 @@ class SliderComponent extends ComponentBase {
|
|
|
662
710
|
}
|
|
663
711
|
return h('div', slots);
|
|
664
712
|
}
|
|
713
|
+
custom() {
|
|
714
|
+
this.updated();
|
|
715
|
+
}
|
|
665
716
|
reposition() {
|
|
666
717
|
return this.ej2Instances.reposition();
|
|
667
718
|
}
|
|
@@ -679,7 +730,12 @@ SliderComponent = __decorate$3([
|
|
|
679
730
|
/* Start Options({
|
|
680
731
|
props: props,
|
|
681
732
|
watch: watch,
|
|
682
|
-
emits: emitProbs
|
|
733
|
+
emits: emitProbs,
|
|
734
|
+
provide: function provide() {
|
|
735
|
+
return {
|
|
736
|
+
custom: this.custom
|
|
737
|
+
};
|
|
738
|
+
}
|
|
683
739
|
}) End */
|
|
684
740
|
], SliderComponent);
|
|
685
741
|
const SliderPlugin = {
|
|
@@ -695,6 +751,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
695
751
|
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;
|
|
696
752
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
697
753
|
};
|
|
754
|
+
// {{VueImport}}
|
|
698
755
|
const isExecute$4 = gh ? false : true;
|
|
699
756
|
let vueImport;
|
|
700
757
|
if (!isExecute$4 || parseInt(allVue.version) < 3) {
|
|
@@ -703,16 +760,47 @@ if (!isExecute$4 || parseInt(allVue.version) < 3) {
|
|
|
703
760
|
else {
|
|
704
761
|
vueImport = Vue$1;
|
|
705
762
|
}
|
|
706
|
-
let FilesDirective =
|
|
707
|
-
|
|
763
|
+
let FilesDirective =
|
|
764
|
+
/* Start Options({
|
|
765
|
+
inject: {
|
|
766
|
+
custom: {
|
|
767
|
+
default: null
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
}) End */
|
|
771
|
+
class FilesDirective extends vueImport {
|
|
772
|
+
constructor() {
|
|
773
|
+
super(arguments);
|
|
774
|
+
}
|
|
775
|
+
render(createElement) {
|
|
776
|
+
if (gh) {
|
|
777
|
+
let h = gh || createElement;
|
|
778
|
+
let slots = null;
|
|
779
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
780
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
781
|
+
}
|
|
782
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
783
|
+
}
|
|
708
784
|
return;
|
|
709
785
|
}
|
|
786
|
+
updated() {
|
|
787
|
+
if (gh && this.custom) {
|
|
788
|
+
this.custom();
|
|
789
|
+
}
|
|
790
|
+
}
|
|
710
791
|
getTag() {
|
|
711
792
|
return 'e-files';
|
|
712
793
|
}
|
|
713
794
|
};
|
|
714
795
|
FilesDirective = __decorate$4([
|
|
715
796
|
EJComponentDecorator({}, isExecute$4)
|
|
797
|
+
/* Start Options({
|
|
798
|
+
inject: {
|
|
799
|
+
custom: {
|
|
800
|
+
default: null
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
}) End */
|
|
716
804
|
], FilesDirective);
|
|
717
805
|
const FilesPlugin = {
|
|
718
806
|
name: 'e-files',
|
|
@@ -778,7 +866,12 @@ let UploaderComponent =
|
|
|
778
866
|
/* Start Options({
|
|
779
867
|
props: props,
|
|
780
868
|
watch: watch,
|
|
781
|
-
emits: emitProbs
|
|
869
|
+
emits: emitProbs,
|
|
870
|
+
provide: function provide() {
|
|
871
|
+
return {
|
|
872
|
+
custom: this.custom
|
|
873
|
+
};
|
|
874
|
+
}
|
|
782
875
|
}) End */
|
|
783
876
|
class UploaderComponent extends ComponentBase {
|
|
784
877
|
constructor() {
|
|
@@ -795,6 +888,7 @@ class UploaderComponent extends ComponentBase {
|
|
|
795
888
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
796
889
|
this.ej2Instances.setProperties = this.setProperties;
|
|
797
890
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
891
|
+
this.updated = this.updated;
|
|
798
892
|
}
|
|
799
893
|
clearTemplate(templateNames) {
|
|
800
894
|
if (!templateNames) {
|
|
@@ -849,6 +943,9 @@ class UploaderComponent extends ComponentBase {
|
|
|
849
943
|
}
|
|
850
944
|
return h('input', slots);
|
|
851
945
|
}
|
|
946
|
+
custom() {
|
|
947
|
+
this.updated();
|
|
948
|
+
}
|
|
852
949
|
bytesToSize(bytes) {
|
|
853
950
|
return this.ej2Instances.bytesToSize(bytes);
|
|
854
951
|
}
|
|
@@ -893,7 +990,12 @@ UploaderComponent = __decorate$5([
|
|
|
893
990
|
/* Start Options({
|
|
894
991
|
props: props,
|
|
895
992
|
watch: watch,
|
|
896
|
-
emits: emitProbs
|
|
993
|
+
emits: emitProbs,
|
|
994
|
+
provide: function provide() {
|
|
995
|
+
return {
|
|
996
|
+
custom: this.custom
|
|
997
|
+
};
|
|
998
|
+
}
|
|
897
999
|
}) End */
|
|
898
1000
|
], UploaderComponent);
|
|
899
1001
|
const UploaderPlugin = {
|
|
@@ -933,7 +1035,12 @@ let ColorPickerComponent =
|
|
|
933
1035
|
/* Start Options({
|
|
934
1036
|
props: props,
|
|
935
1037
|
watch: watch,
|
|
936
|
-
emits: emitProbs
|
|
1038
|
+
emits: emitProbs,
|
|
1039
|
+
provide: function provide() {
|
|
1040
|
+
return {
|
|
1041
|
+
custom: this.custom
|
|
1042
|
+
};
|
|
1043
|
+
}
|
|
937
1044
|
}) End */
|
|
938
1045
|
class ColorPickerComponent extends ComponentBase {
|
|
939
1046
|
constructor() {
|
|
@@ -952,6 +1059,7 @@ class ColorPickerComponent extends ComponentBase {
|
|
|
952
1059
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
953
1060
|
this.ej2Instances.setProperties = this.setProperties;
|
|
954
1061
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1062
|
+
this.updated = this.updated;
|
|
955
1063
|
}
|
|
956
1064
|
clearTemplate(templateNames) {
|
|
957
1065
|
if (!templateNames) {
|
|
@@ -1044,6 +1152,9 @@ class ColorPickerComponent extends ComponentBase {
|
|
|
1044
1152
|
}
|
|
1045
1153
|
return h('input', slots);
|
|
1046
1154
|
}
|
|
1155
|
+
custom() {
|
|
1156
|
+
this.updated();
|
|
1157
|
+
}
|
|
1047
1158
|
focusIn() {
|
|
1048
1159
|
return this.ej2Instances.focusIn();
|
|
1049
1160
|
}
|
|
@@ -1064,7 +1175,12 @@ ColorPickerComponent = __decorate$6([
|
|
|
1064
1175
|
/* Start Options({
|
|
1065
1176
|
props: props,
|
|
1066
1177
|
watch: watch,
|
|
1067
|
-
emits: emitProbs
|
|
1178
|
+
emits: emitProbs,
|
|
1179
|
+
provide: function provide() {
|
|
1180
|
+
return {
|
|
1181
|
+
custom: this.custom
|
|
1182
|
+
};
|
|
1183
|
+
}
|
|
1068
1184
|
}) End */
|
|
1069
1185
|
], ColorPickerComponent);
|
|
1070
1186
|
const ColorPickerPlugin = {
|
|
@@ -1102,7 +1218,12 @@ let SignatureComponent =
|
|
|
1102
1218
|
/* Start Options({
|
|
1103
1219
|
props: props,
|
|
1104
1220
|
watch: watch,
|
|
1105
|
-
emits: emitProbs
|
|
1221
|
+
emits: emitProbs,
|
|
1222
|
+
provide: function provide() {
|
|
1223
|
+
return {
|
|
1224
|
+
custom: this.custom
|
|
1225
|
+
};
|
|
1226
|
+
}
|
|
1106
1227
|
}) End */
|
|
1107
1228
|
class SignatureComponent extends ComponentBase {
|
|
1108
1229
|
constructor() {
|
|
@@ -1119,6 +1240,7 @@ class SignatureComponent extends ComponentBase {
|
|
|
1119
1240
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
1120
1241
|
this.ej2Instances.setProperties = this.setProperties;
|
|
1121
1242
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1243
|
+
this.updated = this.updated;
|
|
1122
1244
|
}
|
|
1123
1245
|
clearTemplate(templateNames) {
|
|
1124
1246
|
if (!templateNames) {
|
|
@@ -1173,6 +1295,9 @@ class SignatureComponent extends ComponentBase {
|
|
|
1173
1295
|
}
|
|
1174
1296
|
return h('canvas', slots);
|
|
1175
1297
|
}
|
|
1298
|
+
custom() {
|
|
1299
|
+
this.updated();
|
|
1300
|
+
}
|
|
1176
1301
|
canRedo() {
|
|
1177
1302
|
return this.ej2Instances.canRedo();
|
|
1178
1303
|
}
|
|
@@ -1217,7 +1342,12 @@ SignatureComponent = __decorate$7([
|
|
|
1217
1342
|
/* Start Options({
|
|
1218
1343
|
props: props,
|
|
1219
1344
|
watch: watch,
|
|
1220
|
-
emits: emitProbs
|
|
1345
|
+
emits: emitProbs,
|
|
1346
|
+
provide: function provide() {
|
|
1347
|
+
return {
|
|
1348
|
+
custom: this.custom
|
|
1349
|
+
};
|
|
1350
|
+
}
|
|
1221
1351
|
}) End */
|
|
1222
1352
|
], SignatureComponent);
|
|
1223
1353
|
const SignaturePlugin = {
|