@syncfusion/ej2-vue-inputs 24.2.9 → 25.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 +3 -33
- package/dist/ej2-vue-inputs.umd.min.js +2 -2
- package/dist/ej2-vue-inputs.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-inputs.es2015.js +255 -92
- package/dist/es6/ej2-vue-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-inputs.es5.js +263 -96
- package/dist/es6/ej2-vue-inputs.es5.js.map +1 -1
- package/dist/global/ej2-vue-inputs.min.js +2 -2
- package/package.json +9 -9
- package/src/color-picker/colorpicker.component.d.ts +22 -3
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/maskedtextbox/maskedtextbox.component.d.ts +22 -3
- package/src/numerictextbox/numerictextbox.component.d.ts +24 -3
- package/src/rating/rating.component.d.ts +20 -3
- package/src/signature/signature.component.d.ts +32 -3
- package/src/slider/slider.component.d.ts +21 -3
- package/src/textarea/index.d.ts +1 -0
- package/src/textarea/index.js +1 -0
- package/src/textarea/textarea.component.d.ts +38 -0
- package/src/textarea/textarea.component.js +168 -0
- package/src/textbox/textbox.component.d.ts +24 -3
- package/src/uploader/uploader.component.d.ts +31 -3
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.scss +1 -0
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.scss +1 -0
- package/styles/fluent-dark.scss +1 -0
- package/styles/fluent.scss +1 -0
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.scss +1 -0
- package/styles/material-dark.scss +1 -0
- package/styles/material.scss +1 -0
- package/styles/material3-dark.scss +1 -0
- package/styles/material3.scss +1 -0
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.scss +1 -0
- package/styles/textarea/bootstrap-dark.css +1 -0
- package/styles/textarea/bootstrap-dark.scss +1 -0
- package/styles/textarea/bootstrap.css +1 -0
- package/styles/textarea/bootstrap.scss +1 -0
- package/styles/textarea/bootstrap4.css +1 -0
- package/styles/textarea/bootstrap4.scss +1 -0
- package/styles/textarea/bootstrap5-dark.css +1 -0
- package/styles/textarea/bootstrap5-dark.scss +1 -0
- package/styles/textarea/bootstrap5.css +1 -0
- package/styles/textarea/bootstrap5.scss +1 -0
- package/styles/textarea/fabric-dark.css +1 -0
- package/styles/textarea/fabric-dark.scss +1 -0
- package/styles/textarea/fabric.css +1 -0
- package/styles/textarea/fabric.scss +1 -0
- package/styles/textarea/fluent-dark.css +1 -0
- package/styles/textarea/fluent-dark.scss +1 -0
- package/styles/textarea/fluent.css +1 -0
- package/styles/textarea/fluent.scss +1 -0
- package/styles/textarea/highcontrast-light.css +1 -0
- package/styles/textarea/highcontrast-light.scss +1 -0
- package/styles/textarea/highcontrast.css +1 -0
- package/styles/textarea/highcontrast.scss +1 -0
- package/styles/textarea/material-dark.css +1 -0
- package/styles/textarea/material-dark.scss +1 -0
- package/styles/textarea/material.css +1 -0
- package/styles/textarea/material.scss +1 -0
- package/styles/textarea/material3-dark.css +1 -0
- package/styles/textarea/material3-dark.scss +2 -0
- package/styles/textarea/material3.css +1 -0
- package/styles/textarea/material3.scss +2 -0
- package/styles/textarea/tailwind-dark.css +1 -0
- package/styles/textarea/tailwind-dark.scss +1 -0
- package/styles/textarea/tailwind.css +1 -0
- package/styles/textarea/tailwind.scss +1 -0
- package/textarea.d.ts +4 -0
- package/textarea.js +4 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorPicker, MaskedTextBox, NumericTextBox, Rating, Signature, Slider, TextBox, Uploader } from '@syncfusion/ej2-inputs';
|
|
1
|
+
import { ColorPicker, MaskedTextBox, NumericTextBox, Rating, Signature, Slider, TextArea, TextBox, Uploader } from '@syncfusion/ej2-inputs';
|
|
2
2
|
import { ComponentBase, getProps, gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
|
3
3
|
import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
|
|
4
4
|
|
|
@@ -172,7 +172,7 @@ var TextBoxPlugin = {
|
|
|
172
172
|
}
|
|
173
173
|
};
|
|
174
174
|
|
|
175
|
-
var properties$1 = ['isLazyUpdate', 'plugins', '
|
|
175
|
+
var properties$1 = ['isLazyUpdate', 'plugins', 'columnsCount', 'cssClass', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'maxLength', 'placeholder', 'readonly', 'resizeMode', 'rowsCount', 'showClearButton', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus', 'input'];
|
|
176
176
|
var modelProps$1 = ['value'];
|
|
177
177
|
var testProp$1 = getProps({ props: properties$1 });
|
|
178
178
|
var props$1 = testProp$1[0];
|
|
@@ -184,13 +184,13 @@ for (var _i$1 = 0, modelProps_1$1 = modelProps$1; _i$1 < modelProps_1$1.length;
|
|
|
184
184
|
emitProbs$1.push('update:' + props_1$1);
|
|
185
185
|
}
|
|
186
186
|
/**
|
|
187
|
-
* Represents the Essential JS 2 VueJS
|
|
187
|
+
* Represents the Essential JS 2 VueJS TextArea Component
|
|
188
188
|
* ```html
|
|
189
|
-
* <ejs-
|
|
189
|
+
* <ejs-textarea v-bind:value='value'></ejs-textarea>
|
|
190
190
|
* ```
|
|
191
191
|
*/
|
|
192
|
-
var
|
|
193
|
-
name: '
|
|
192
|
+
var TextAreaComponent = vueDefineComponent({
|
|
193
|
+
name: 'TextAreaComponent',
|
|
194
194
|
mixins: [ComponentBase],
|
|
195
195
|
props: props$1,
|
|
196
196
|
watch: watch$1,
|
|
@@ -199,7 +199,7 @@ var NumericTextBoxComponent = vueDefineComponent({
|
|
|
199
199
|
provide: function () { return { custom: this.custom }; },
|
|
200
200
|
data: function () {
|
|
201
201
|
return {
|
|
202
|
-
ej2Instances: new
|
|
202
|
+
ej2Instances: new TextArea({}),
|
|
203
203
|
propKeys: properties$1,
|
|
204
204
|
models: modelProps$1,
|
|
205
205
|
hasChildDirective: false,
|
|
@@ -225,7 +225,7 @@ var NumericTextBoxComponent = vueDefineComponent({
|
|
|
225
225
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
226
226
|
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
227
227
|
}
|
|
228
|
-
return h('
|
|
228
|
+
return h('textarea', slots);
|
|
229
229
|
},
|
|
230
230
|
methods: {
|
|
231
231
|
clearTemplate: function (templateNames) {
|
|
@@ -318,8 +318,8 @@ var NumericTextBoxComponent = vueDefineComponent({
|
|
|
318
318
|
custom: function () {
|
|
319
319
|
this.updated();
|
|
320
320
|
},
|
|
321
|
-
|
|
322
|
-
return this.ej2Instances.
|
|
321
|
+
addAttributes: function (attributes) {
|
|
322
|
+
return this.ej2Instances.addAttributes(attributes);
|
|
323
323
|
},
|
|
324
324
|
focusIn: function () {
|
|
325
325
|
return this.ej2Instances.focusIn();
|
|
@@ -327,22 +327,19 @@ var NumericTextBoxComponent = vueDefineComponent({
|
|
|
327
327
|
focusOut: function () {
|
|
328
328
|
return this.ej2Instances.focusOut();
|
|
329
329
|
},
|
|
330
|
-
|
|
331
|
-
return this.ej2Instances.
|
|
332
|
-
},
|
|
333
|
-
increment: function (step) {
|
|
334
|
-
return this.ej2Instances.increment(step);
|
|
330
|
+
removeAttributes: function (attributes) {
|
|
331
|
+
return this.ej2Instances.removeAttributes(attributes);
|
|
335
332
|
},
|
|
336
333
|
}
|
|
337
334
|
});
|
|
338
|
-
var
|
|
339
|
-
name: 'ejs-
|
|
335
|
+
var TextAreaPlugin = {
|
|
336
|
+
name: 'ejs-textarea',
|
|
340
337
|
install: function (Vue) {
|
|
341
|
-
Vue.component(
|
|
338
|
+
Vue.component(TextAreaPlugin.name, TextAreaComponent);
|
|
342
339
|
}
|
|
343
340
|
};
|
|
344
341
|
|
|
345
|
-
var properties$2 = ['isLazyUpdate', 'plugins', 'cssClass', '
|
|
342
|
+
var properties$2 = ['isLazyUpdate', 'plugins', 'cssClass', 'currency', 'currencyCode', 'decimals', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'format', 'htmlAttributes', 'locale', 'max', 'min', 'placeholder', 'readonly', 'showClearButton', 'showSpinButton', 'step', 'strictMode', 'validateDecimalOnType', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus'];
|
|
346
343
|
var modelProps$2 = ['value'];
|
|
347
344
|
var testProp$2 = getProps({ props: properties$2 });
|
|
348
345
|
var props$2 = testProp$2[0];
|
|
@@ -354,13 +351,13 @@ for (var _i$2 = 0, modelProps_1$2 = modelProps$2; _i$2 < modelProps_1$2.length;
|
|
|
354
351
|
emitProbs$2.push('update:' + props_1$2);
|
|
355
352
|
}
|
|
356
353
|
/**
|
|
357
|
-
* Represents the Essential JS 2 VueJS
|
|
354
|
+
* Represents the Essential JS 2 VueJS NumericTextBox Component
|
|
358
355
|
* ```html
|
|
359
|
-
* <ejs-
|
|
356
|
+
* <ejs-numerictextbox v-bind:value='value'></ejs-numerictextbox>
|
|
360
357
|
* ```
|
|
361
358
|
*/
|
|
362
|
-
var
|
|
363
|
-
name: '
|
|
359
|
+
var NumericTextBoxComponent = vueDefineComponent({
|
|
360
|
+
name: 'NumericTextBoxComponent',
|
|
364
361
|
mixins: [ComponentBase],
|
|
365
362
|
props: props$2,
|
|
366
363
|
watch: watch$2,
|
|
@@ -369,7 +366,7 @@ var MaskedTextBoxComponent = vueDefineComponent({
|
|
|
369
366
|
provide: function () { return { custom: this.custom }; },
|
|
370
367
|
data: function () {
|
|
371
368
|
return {
|
|
372
|
-
ej2Instances: new
|
|
369
|
+
ej2Instances: new NumericTextBox({}),
|
|
373
370
|
propKeys: properties$2,
|
|
374
371
|
models: modelProps$2,
|
|
375
372
|
hasChildDirective: false,
|
|
@@ -488,25 +485,31 @@ var MaskedTextBoxComponent = vueDefineComponent({
|
|
|
488
485
|
custom: function () {
|
|
489
486
|
this.updated();
|
|
490
487
|
},
|
|
488
|
+
decrement: function (step) {
|
|
489
|
+
return this.ej2Instances.decrement(step);
|
|
490
|
+
},
|
|
491
491
|
focusIn: function () {
|
|
492
492
|
return this.ej2Instances.focusIn();
|
|
493
493
|
},
|
|
494
494
|
focusOut: function () {
|
|
495
495
|
return this.ej2Instances.focusOut();
|
|
496
496
|
},
|
|
497
|
-
|
|
498
|
-
return this.ej2Instances.
|
|
497
|
+
getText: function () {
|
|
498
|
+
return this.ej2Instances.getText();
|
|
499
|
+
},
|
|
500
|
+
increment: function (step) {
|
|
501
|
+
return this.ej2Instances.increment(step);
|
|
499
502
|
},
|
|
500
503
|
}
|
|
501
504
|
});
|
|
502
|
-
var
|
|
503
|
-
name: 'ejs-
|
|
505
|
+
var NumericTextBoxPlugin = {
|
|
506
|
+
name: 'ejs-numerictextbox',
|
|
504
507
|
install: function (Vue) {
|
|
505
|
-
Vue.component(
|
|
508
|
+
Vue.component(NumericTextBoxPlugin.name, NumericTextBoxComponent);
|
|
506
509
|
}
|
|
507
510
|
};
|
|
508
511
|
|
|
509
|
-
var properties$3 = ['isLazyUpdate', 'plugins', '
|
|
512
|
+
var properties$3 = ['isLazyUpdate', 'plugins', 'cssClass', 'customCharacters', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'mask', 'placeholder', 'promptChar', 'readonly', 'showClearButton', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus'];
|
|
510
513
|
var modelProps$3 = ['value'];
|
|
511
514
|
var testProp$3 = getProps({ props: properties$3 });
|
|
512
515
|
var props$3 = testProp$3[0];
|
|
@@ -518,13 +521,13 @@ for (var _i$3 = 0, modelProps_1$3 = modelProps$3; _i$3 < modelProps_1$3.length;
|
|
|
518
521
|
emitProbs$3.push('update:' + props_1$3);
|
|
519
522
|
}
|
|
520
523
|
/**
|
|
521
|
-
* Represents the VueJS
|
|
524
|
+
* Represents the Essential JS 2 VueJS MaskedTextBox Component
|
|
522
525
|
* ```html
|
|
523
|
-
* <ejs-
|
|
526
|
+
* <ejs-maskedtextbox v-bind:value='value'></ejs-maskedtextbox>
|
|
524
527
|
* ```
|
|
525
528
|
*/
|
|
526
|
-
var
|
|
527
|
-
name: '
|
|
529
|
+
var MaskedTextBoxComponent = vueDefineComponent({
|
|
530
|
+
name: 'MaskedTextBoxComponent',
|
|
528
531
|
mixins: [ComponentBase],
|
|
529
532
|
props: props$3,
|
|
530
533
|
watch: watch$3,
|
|
@@ -533,7 +536,7 @@ var SliderComponent = vueDefineComponent({
|
|
|
533
536
|
provide: function () { return { custom: this.custom }; },
|
|
534
537
|
data: function () {
|
|
535
538
|
return {
|
|
536
|
-
ej2Instances: new
|
|
539
|
+
ej2Instances: new MaskedTextBox({}),
|
|
537
540
|
propKeys: properties$3,
|
|
538
541
|
models: modelProps$3,
|
|
539
542
|
hasChildDirective: false,
|
|
@@ -553,6 +556,170 @@ var SliderComponent = vueDefineComponent({
|
|
|
553
556
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
554
557
|
this.updated = this.updated;
|
|
555
558
|
},
|
|
559
|
+
render: function (createElement) {
|
|
560
|
+
var h = !isExecute ? gh : createElement;
|
|
561
|
+
var slots = null;
|
|
562
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
563
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
564
|
+
}
|
|
565
|
+
return h('input', slots);
|
|
566
|
+
},
|
|
567
|
+
methods: {
|
|
568
|
+
clearTemplate: function (templateNames) {
|
|
569
|
+
if (!templateNames) {
|
|
570
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
571
|
+
}
|
|
572
|
+
if (templateNames.length && this.templateCollection) {
|
|
573
|
+
for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
|
|
574
|
+
var tempName = templateNames_1[_i];
|
|
575
|
+
var elementCollection = this.templateCollection[tempName];
|
|
576
|
+
if (elementCollection && elementCollection.length) {
|
|
577
|
+
for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
|
|
578
|
+
var ele = elementCollection_1[_a];
|
|
579
|
+
var destroy = getValue('__vue__.$destroy', ele);
|
|
580
|
+
if (destroy) {
|
|
581
|
+
ele.__vue__.$destroy();
|
|
582
|
+
}
|
|
583
|
+
if (ele.innerHTML) {
|
|
584
|
+
ele.innerHTML = '';
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
delete this.templateCollection[tempName];
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
setProperties: function (prop, muteOnChange) {
|
|
593
|
+
var _this = this;
|
|
594
|
+
if (this.isVue3) {
|
|
595
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
596
|
+
}
|
|
597
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
598
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
599
|
+
}
|
|
600
|
+
if (prop && this.models && this.models.length) {
|
|
601
|
+
Object.keys(prop).map(function (key) {
|
|
602
|
+
_this.models.map(function (model) {
|
|
603
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
604
|
+
if (_this.isVue3) {
|
|
605
|
+
_this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
606
|
+
}
|
|
607
|
+
else {
|
|
608
|
+
_this.$emit('update:' + key, prop[key]);
|
|
609
|
+
_this.$emit('modelchanged', prop[key]);
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
});
|
|
613
|
+
});
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
trigger: function (eventName, eventProp, successHandler) {
|
|
617
|
+
if (!isExecute) {
|
|
618
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
619
|
+
}
|
|
620
|
+
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
621
|
+
var key = this.models.toString().match(/checked|value/) || [];
|
|
622
|
+
var propKey = key[0];
|
|
623
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
624
|
+
if (!isExecute) {
|
|
625
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
626
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
627
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
628
|
+
}
|
|
629
|
+
else {
|
|
630
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
631
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
632
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
638
|
+
var key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
639
|
+
var propKey = key[0];
|
|
640
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
641
|
+
if (!isExecute) {
|
|
642
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
643
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
644
|
+
}
|
|
645
|
+
else {
|
|
646
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
647
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
652
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
custom: function () {
|
|
656
|
+
this.updated();
|
|
657
|
+
},
|
|
658
|
+
focusIn: function () {
|
|
659
|
+
return this.ej2Instances.focusIn();
|
|
660
|
+
},
|
|
661
|
+
focusOut: function () {
|
|
662
|
+
return this.ej2Instances.focusOut();
|
|
663
|
+
},
|
|
664
|
+
getMaskedValue: function () {
|
|
665
|
+
return this.ej2Instances.getMaskedValue();
|
|
666
|
+
},
|
|
667
|
+
}
|
|
668
|
+
});
|
|
669
|
+
var MaskedTextBoxPlugin = {
|
|
670
|
+
name: 'ejs-maskedtextbox',
|
|
671
|
+
install: function (Vue) {
|
|
672
|
+
Vue.component(MaskedTextBoxPlugin.name, MaskedTextBoxComponent);
|
|
673
|
+
}
|
|
674
|
+
};
|
|
675
|
+
|
|
676
|
+
var properties$4 = ['isLazyUpdate', 'plugins', 'colorRange', 'cssClass', 'customValues', 'enableAnimation', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'limits', 'locale', 'max', 'min', 'orientation', 'readonly', 'showButtons', 'step', 'ticks', 'tooltip', 'type', 'value', 'width', 'change', 'changed', 'created', 'renderedTicks', 'renderingTicks', 'tooltipChange'];
|
|
677
|
+
var modelProps$4 = ['value'];
|
|
678
|
+
var testProp$4 = getProps({ props: properties$4 });
|
|
679
|
+
var props$4 = testProp$4[0];
|
|
680
|
+
var watch$4 = testProp$4[1];
|
|
681
|
+
var emitProbs$4 = Object.keys(watch$4);
|
|
682
|
+
emitProbs$4.push('modelchanged', 'update:modelValue');
|
|
683
|
+
for (var _i$4 = 0, modelProps_1$4 = modelProps$4; _i$4 < modelProps_1$4.length; _i$4++) {
|
|
684
|
+
var props_1$4 = modelProps_1$4[_i$4];
|
|
685
|
+
emitProbs$4.push('update:' + props_1$4);
|
|
686
|
+
}
|
|
687
|
+
/**
|
|
688
|
+
* Represents the VueJS Slider Component.
|
|
689
|
+
* ```html
|
|
690
|
+
* <ejs-slider :value='value'></ejs-slider>
|
|
691
|
+
* ```
|
|
692
|
+
*/
|
|
693
|
+
var SliderComponent = vueDefineComponent({
|
|
694
|
+
name: 'SliderComponent',
|
|
695
|
+
mixins: [ComponentBase],
|
|
696
|
+
props: props$4,
|
|
697
|
+
watch: watch$4,
|
|
698
|
+
emits: emitProbs$4,
|
|
699
|
+
model: { event: 'modelchanged' },
|
|
700
|
+
provide: function () { return { custom: this.custom }; },
|
|
701
|
+
data: function () {
|
|
702
|
+
return {
|
|
703
|
+
ej2Instances: new Slider({}),
|
|
704
|
+
propKeys: properties$4,
|
|
705
|
+
models: modelProps$4,
|
|
706
|
+
hasChildDirective: false,
|
|
707
|
+
hasInjectedModules: false,
|
|
708
|
+
tagMapper: {},
|
|
709
|
+
tagNameMapper: {},
|
|
710
|
+
isVue3: !isExecute,
|
|
711
|
+
templateCollection: {},
|
|
712
|
+
};
|
|
713
|
+
},
|
|
714
|
+
created: function () {
|
|
715
|
+
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
716
|
+
this.ej2Instances.trigger = this.trigger;
|
|
717
|
+
this.bindProperties();
|
|
718
|
+
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
719
|
+
this.ej2Instances.setProperties = this.setProperties;
|
|
720
|
+
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
721
|
+
this.updated = this.updated;
|
|
722
|
+
},
|
|
556
723
|
render: function (createElement) {
|
|
557
724
|
var h = !isExecute ? gh : createElement;
|
|
558
725
|
var slots = null;
|
|
@@ -726,16 +893,16 @@ var UploadedFilesPlugin = {
|
|
|
726
893
|
}
|
|
727
894
|
};
|
|
728
895
|
|
|
729
|
-
var properties$
|
|
730
|
-
var modelProps$
|
|
731
|
-
var testProp$
|
|
732
|
-
var props$
|
|
733
|
-
var watch$
|
|
734
|
-
var emitProbs$
|
|
735
|
-
emitProbs$
|
|
736
|
-
for (var _i$
|
|
737
|
-
var props_1$
|
|
738
|
-
emitProbs$
|
|
896
|
+
var properties$5 = ['isLazyUpdate', 'plugins', 'allowedExtensions', 'asyncSettings', 'autoUpload', 'buttons', 'cssClass', 'directoryUpload', 'dropArea', 'dropEffect', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'files', 'htmlAttributes', 'locale', 'maxFileSize', 'minFileSize', 'multiple', 'sequentialUpload', 'showFileList', 'template', 'actionComplete', 'beforeRemove', 'beforeUpload', 'canceling', 'change', 'chunkFailure', 'chunkSuccess', 'chunkUploading', 'clearing', 'created', 'failure', 'fileListRendering', 'pausing', 'progress', 'removing', 'rendering', 'resuming', 'selected', 'success', 'uploading'];
|
|
897
|
+
var modelProps$5 = [];
|
|
898
|
+
var testProp$5 = getProps({ props: properties$5 });
|
|
899
|
+
var props$5 = testProp$5[0];
|
|
900
|
+
var watch$5 = testProp$5[1];
|
|
901
|
+
var emitProbs$5 = Object.keys(watch$5);
|
|
902
|
+
emitProbs$5.push('modelchanged', 'update:modelValue');
|
|
903
|
+
for (var _i$5 = 0, modelProps_1$5 = modelProps$5; _i$5 < modelProps_1$5.length; _i$5++) {
|
|
904
|
+
var props_1$5 = modelProps_1$5[_i$5];
|
|
905
|
+
emitProbs$5.push('update:' + props_1$5);
|
|
739
906
|
}
|
|
740
907
|
/**
|
|
741
908
|
* Represents the Essential JS 2 VueJS Uploader Component
|
|
@@ -746,15 +913,15 @@ for (var _i$4 = 0, modelProps_1$4 = modelProps$4; _i$4 < modelProps_1$4.length;
|
|
|
746
913
|
var UploaderComponent = vueDefineComponent({
|
|
747
914
|
name: 'UploaderComponent',
|
|
748
915
|
mixins: [ComponentBase],
|
|
749
|
-
props: props$
|
|
750
|
-
watch: watch$
|
|
751
|
-
emits: emitProbs$
|
|
916
|
+
props: props$5,
|
|
917
|
+
watch: watch$5,
|
|
918
|
+
emits: emitProbs$5,
|
|
752
919
|
provide: function () { return { custom: this.custom }; },
|
|
753
920
|
data: function () {
|
|
754
921
|
return {
|
|
755
922
|
ej2Instances: new Uploader({}),
|
|
756
|
-
propKeys: properties$
|
|
757
|
-
models: modelProps$
|
|
923
|
+
propKeys: properties$5,
|
|
924
|
+
models: modelProps$5,
|
|
758
925
|
hasChildDirective: true,
|
|
759
926
|
hasInjectedModules: false,
|
|
760
927
|
tagMapper: { "e-files": "e-uploadedfiles" },
|
|
@@ -877,16 +1044,16 @@ var UploaderPlugin = {
|
|
|
877
1044
|
}
|
|
878
1045
|
};
|
|
879
1046
|
|
|
880
|
-
var properties$
|
|
881
|
-
var modelProps$
|
|
882
|
-
var testProp$
|
|
883
|
-
var props$
|
|
884
|
-
var watch$
|
|
885
|
-
var emitProbs$
|
|
886
|
-
emitProbs$
|
|
887
|
-
for (var _i$
|
|
888
|
-
var props_1$
|
|
889
|
-
emitProbs$
|
|
1047
|
+
var properties$6 = ['isLazyUpdate', 'plugins', 'columns', 'createPopupOnClick', 'cssClass', 'disabled', 'enableOpacity', 'enablePersistence', 'enableRtl', 'inline', 'locale', 'mode', 'modeSwitcher', 'noColor', 'presetColors', 'showButtons', 'value', 'beforeClose', 'beforeModeSwitch', 'beforeOpen', 'beforeTileRender', 'change', 'created', 'onModeSwitch', 'open', 'select'];
|
|
1048
|
+
var modelProps$6 = ['value'];
|
|
1049
|
+
var testProp$6 = getProps({ props: properties$6 });
|
|
1050
|
+
var props$6 = testProp$6[0];
|
|
1051
|
+
var watch$6 = testProp$6[1];
|
|
1052
|
+
var emitProbs$6 = Object.keys(watch$6);
|
|
1053
|
+
emitProbs$6.push('modelchanged', 'update:modelValue');
|
|
1054
|
+
for (var _i$6 = 0, modelProps_1$6 = modelProps$6; _i$6 < modelProps_1$6.length; _i$6++) {
|
|
1055
|
+
var props_1$6 = modelProps_1$6[_i$6];
|
|
1056
|
+
emitProbs$6.push('update:' + props_1$6);
|
|
890
1057
|
}
|
|
891
1058
|
/**
|
|
892
1059
|
* Represents the Essential JS 2 VueJS ColorPicker Component
|
|
@@ -897,16 +1064,16 @@ for (var _i$5 = 0, modelProps_1$5 = modelProps$5; _i$5 < modelProps_1$5.length;
|
|
|
897
1064
|
var ColorPickerComponent = vueDefineComponent({
|
|
898
1065
|
name: 'ColorPickerComponent',
|
|
899
1066
|
mixins: [ComponentBase],
|
|
900
|
-
props: props$
|
|
901
|
-
watch: watch$
|
|
902
|
-
emits: emitProbs$
|
|
1067
|
+
props: props$6,
|
|
1068
|
+
watch: watch$6,
|
|
1069
|
+
emits: emitProbs$6,
|
|
903
1070
|
model: { event: 'modelchanged' },
|
|
904
1071
|
provide: function () { return { custom: this.custom }; },
|
|
905
1072
|
data: function () {
|
|
906
1073
|
return {
|
|
907
1074
|
ej2Instances: new ColorPicker({}),
|
|
908
|
-
propKeys: properties$
|
|
909
|
-
models: modelProps$
|
|
1075
|
+
propKeys: properties$6,
|
|
1076
|
+
models: modelProps$6,
|
|
910
1077
|
hasChildDirective: false,
|
|
911
1078
|
hasInjectedModules: false,
|
|
912
1079
|
tagMapper: {},
|
|
@@ -1041,16 +1208,16 @@ var ColorPickerPlugin = {
|
|
|
1041
1208
|
}
|
|
1042
1209
|
};
|
|
1043
1210
|
|
|
1044
|
-
var properties$
|
|
1045
|
-
var modelProps$
|
|
1046
|
-
var testProp$
|
|
1047
|
-
var props$
|
|
1048
|
-
var watch$
|
|
1049
|
-
var emitProbs$
|
|
1050
|
-
emitProbs$
|
|
1051
|
-
for (var _i$
|
|
1052
|
-
var props_1$
|
|
1053
|
-
emitProbs$
|
|
1211
|
+
var properties$7 = ['isLazyUpdate', 'plugins', 'backgroundColor', 'backgroundImage', 'disabled', 'enablePersistence', 'enableRtl', 'isReadOnly', 'locale', 'maxStrokeWidth', 'minStrokeWidth', 'saveWithBackground', 'strokeColor', 'velocity', 'beforeSave', 'change', 'created'];
|
|
1212
|
+
var modelProps$7 = [];
|
|
1213
|
+
var testProp$7 = getProps({ props: properties$7 });
|
|
1214
|
+
var props$7 = testProp$7[0];
|
|
1215
|
+
var watch$7 = testProp$7[1];
|
|
1216
|
+
var emitProbs$7 = Object.keys(watch$7);
|
|
1217
|
+
emitProbs$7.push('modelchanged', 'update:modelValue');
|
|
1218
|
+
for (var _i$7 = 0, modelProps_1$7 = modelProps$7; _i$7 < modelProps_1$7.length; _i$7++) {
|
|
1219
|
+
var props_1$7 = modelProps_1$7[_i$7];
|
|
1220
|
+
emitProbs$7.push('update:' + props_1$7);
|
|
1054
1221
|
}
|
|
1055
1222
|
/**
|
|
1056
1223
|
* Represents the Essential JS 2 VueJS Signature Component
|
|
@@ -1061,15 +1228,15 @@ for (var _i$6 = 0, modelProps_1$6 = modelProps$6; _i$6 < modelProps_1$6.length;
|
|
|
1061
1228
|
var SignatureComponent = vueDefineComponent({
|
|
1062
1229
|
name: 'SignatureComponent',
|
|
1063
1230
|
mixins: [ComponentBase],
|
|
1064
|
-
props: props$
|
|
1065
|
-
watch: watch$
|
|
1066
|
-
emits: emitProbs$
|
|
1231
|
+
props: props$7,
|
|
1232
|
+
watch: watch$7,
|
|
1233
|
+
emits: emitProbs$7,
|
|
1067
1234
|
provide: function () { return { custom: this.custom }; },
|
|
1068
1235
|
data: function () {
|
|
1069
1236
|
return {
|
|
1070
1237
|
ej2Instances: new Signature({}),
|
|
1071
|
-
propKeys: properties$
|
|
1072
|
-
models: modelProps$
|
|
1238
|
+
propKeys: properties$7,
|
|
1239
|
+
models: modelProps$7,
|
|
1073
1240
|
hasChildDirective: false,
|
|
1074
1241
|
hasInjectedModules: false,
|
|
1075
1242
|
tagMapper: {},
|
|
@@ -1193,16 +1360,16 @@ var SignaturePlugin = {
|
|
|
1193
1360
|
}
|
|
1194
1361
|
};
|
|
1195
1362
|
|
|
1196
|
-
var properties$
|
|
1197
|
-
var modelProps$
|
|
1198
|
-
var testProp$
|
|
1199
|
-
var props$
|
|
1200
|
-
var watch$
|
|
1201
|
-
var emitProbs$
|
|
1202
|
-
emitProbs$
|
|
1203
|
-
for (var _i$
|
|
1204
|
-
var props_1$
|
|
1205
|
-
emitProbs$
|
|
1363
|
+
var properties$8 = ['isLazyUpdate', 'plugins', 'allowReset', 'cssClass', 'disabled', 'emptyTemplate', 'enableAnimation', 'enablePersistence', 'enableRtl', 'enableSingleSelection', 'fullTemplate', 'itemsCount', 'labelPosition', 'labelTemplate', 'locale', 'min', 'precision', 'readOnly', 'showLabel', 'showTooltip', 'tooltipTemplate', 'value', 'visible', 'beforeItemRender', 'created', 'onItemHover', 'valueChanged'];
|
|
1364
|
+
var modelProps$8 = ['value'];
|
|
1365
|
+
var testProp$8 = getProps({ props: properties$8 });
|
|
1366
|
+
var props$8 = testProp$8[0];
|
|
1367
|
+
var watch$8 = testProp$8[1];
|
|
1368
|
+
var emitProbs$8 = Object.keys(watch$8);
|
|
1369
|
+
emitProbs$8.push('modelchanged', 'update:modelValue');
|
|
1370
|
+
for (var _i$8 = 0, modelProps_1$8 = modelProps$8; _i$8 < modelProps_1$8.length; _i$8++) {
|
|
1371
|
+
var props_1$8 = modelProps_1$8[_i$8];
|
|
1372
|
+
emitProbs$8.push('update:' + props_1$8);
|
|
1206
1373
|
}
|
|
1207
1374
|
/**
|
|
1208
1375
|
* Represents the Essential JS 2 VueJS Rating Component
|
|
@@ -1213,16 +1380,16 @@ for (var _i$7 = 0, modelProps_1$7 = modelProps$7; _i$7 < modelProps_1$7.length;
|
|
|
1213
1380
|
var RatingComponent = vueDefineComponent({
|
|
1214
1381
|
name: 'RatingComponent',
|
|
1215
1382
|
mixins: [ComponentBase],
|
|
1216
|
-
props: props$
|
|
1217
|
-
watch: watch$
|
|
1218
|
-
emits: emitProbs$
|
|
1383
|
+
props: props$8,
|
|
1384
|
+
watch: watch$8,
|
|
1385
|
+
emits: emitProbs$8,
|
|
1219
1386
|
model: { event: 'modelchanged' },
|
|
1220
1387
|
provide: function () { return { custom: this.custom }; },
|
|
1221
1388
|
data: function () {
|
|
1222
1389
|
return {
|
|
1223
1390
|
ej2Instances: new Rating({}),
|
|
1224
|
-
propKeys: properties$
|
|
1225
|
-
models: modelProps$
|
|
1391
|
+
propKeys: properties$8,
|
|
1392
|
+
models: modelProps$8,
|
|
1226
1393
|
hasChildDirective: false,
|
|
1227
1394
|
hasInjectedModules: false,
|
|
1228
1395
|
tagMapper: {},
|
|
@@ -1351,6 +1518,6 @@ var RatingPlugin = {
|
|
|
1351
1518
|
}
|
|
1352
1519
|
};
|
|
1353
1520
|
|
|
1354
|
-
export { TextBoxComponent, TextBoxPlugin, NumericTextBoxComponent, NumericTextBoxPlugin, MaskedTextBoxComponent, MaskedTextBoxPlugin, SliderComponent, SliderPlugin, FilesDirective, UploadedFilesDirective, FilesPlugin, UploadedFilesPlugin, UploaderComponent, UploaderPlugin, ColorPickerComponent, ColorPickerPlugin, SignatureComponent, SignaturePlugin, RatingComponent, RatingPlugin };
|
|
1521
|
+
export { TextBoxComponent, TextBoxPlugin, TextAreaComponent, TextAreaPlugin, NumericTextBoxComponent, NumericTextBoxPlugin, MaskedTextBoxComponent, MaskedTextBoxPlugin, SliderComponent, SliderPlugin, FilesDirective, UploadedFilesDirective, FilesPlugin, UploadedFilesPlugin, UploaderComponent, UploaderPlugin, ColorPickerComponent, ColorPickerPlugin, SignatureComponent, SignaturePlugin, RatingComponent, RatingPlugin };
|
|
1355
1522
|
export * from '@syncfusion/ej2-inputs';
|
|
1356
1523
|
//# sourceMappingURL=ej2-vue-inputs.es5.js.map
|