@syncfusion/ej2-vue-inputs 24.2.7 → 25.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 -32
- 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
|
|
|
@@ -168,7 +168,7 @@ const TextBoxPlugin = {
|
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
170
|
|
|
171
|
-
const properties$1 = ['isLazyUpdate', 'plugins', '
|
|
171
|
+
const 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'];
|
|
172
172
|
const modelProps$1 = ['value'];
|
|
173
173
|
const testProp$1 = getProps({ props: properties$1 });
|
|
174
174
|
const props$1 = testProp$1[0];
|
|
@@ -179,13 +179,13 @@ for (let props of modelProps$1) {
|
|
|
179
179
|
emitProbs$1.push('update:' + props);
|
|
180
180
|
}
|
|
181
181
|
/**
|
|
182
|
-
* Represents the Essential JS 2 VueJS
|
|
182
|
+
* Represents the Essential JS 2 VueJS TextArea Component
|
|
183
183
|
* ```html
|
|
184
|
-
* <ejs-
|
|
184
|
+
* <ejs-textarea v-bind:value='value'></ejs-textarea>
|
|
185
185
|
* ```
|
|
186
186
|
*/
|
|
187
|
-
let
|
|
188
|
-
name: '
|
|
187
|
+
let TextAreaComponent = vueDefineComponent({
|
|
188
|
+
name: 'TextAreaComponent',
|
|
189
189
|
mixins: [ComponentBase],
|
|
190
190
|
props: props$1,
|
|
191
191
|
watch: watch$1,
|
|
@@ -194,7 +194,7 @@ let NumericTextBoxComponent = vueDefineComponent({
|
|
|
194
194
|
provide() { return { custom: this.custom }; },
|
|
195
195
|
data() {
|
|
196
196
|
return {
|
|
197
|
-
ej2Instances: new
|
|
197
|
+
ej2Instances: new TextArea({}),
|
|
198
198
|
propKeys: properties$1,
|
|
199
199
|
models: modelProps$1,
|
|
200
200
|
hasChildDirective: false,
|
|
@@ -220,7 +220,7 @@ let NumericTextBoxComponent = vueDefineComponent({
|
|
|
220
220
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
221
221
|
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
222
222
|
}
|
|
223
|
-
return h('
|
|
223
|
+
return h('textarea', slots);
|
|
224
224
|
},
|
|
225
225
|
methods: {
|
|
226
226
|
clearTemplate(templateNames) {
|
|
@@ -310,8 +310,8 @@ let NumericTextBoxComponent = vueDefineComponent({
|
|
|
310
310
|
custom() {
|
|
311
311
|
this.updated();
|
|
312
312
|
},
|
|
313
|
-
|
|
314
|
-
return this.ej2Instances.
|
|
313
|
+
addAttributes(attributes) {
|
|
314
|
+
return this.ej2Instances.addAttributes(attributes);
|
|
315
315
|
},
|
|
316
316
|
focusIn() {
|
|
317
317
|
return this.ej2Instances.focusIn();
|
|
@@ -319,22 +319,19 @@ let NumericTextBoxComponent = vueDefineComponent({
|
|
|
319
319
|
focusOut() {
|
|
320
320
|
return this.ej2Instances.focusOut();
|
|
321
321
|
},
|
|
322
|
-
|
|
323
|
-
return this.ej2Instances.
|
|
324
|
-
},
|
|
325
|
-
increment(step) {
|
|
326
|
-
return this.ej2Instances.increment(step);
|
|
322
|
+
removeAttributes(attributes) {
|
|
323
|
+
return this.ej2Instances.removeAttributes(attributes);
|
|
327
324
|
},
|
|
328
325
|
}
|
|
329
326
|
});
|
|
330
|
-
const
|
|
331
|
-
name: 'ejs-
|
|
327
|
+
const TextAreaPlugin = {
|
|
328
|
+
name: 'ejs-textarea',
|
|
332
329
|
install(Vue) {
|
|
333
|
-
Vue.component(
|
|
330
|
+
Vue.component(TextAreaPlugin.name, TextAreaComponent);
|
|
334
331
|
}
|
|
335
332
|
};
|
|
336
333
|
|
|
337
|
-
const properties$2 = ['isLazyUpdate', 'plugins', 'cssClass', '
|
|
334
|
+
const 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'];
|
|
338
335
|
const modelProps$2 = ['value'];
|
|
339
336
|
const testProp$2 = getProps({ props: properties$2 });
|
|
340
337
|
const props$2 = testProp$2[0];
|
|
@@ -345,13 +342,13 @@ for (let props of modelProps$2) {
|
|
|
345
342
|
emitProbs$2.push('update:' + props);
|
|
346
343
|
}
|
|
347
344
|
/**
|
|
348
|
-
* Represents the Essential JS 2 VueJS
|
|
345
|
+
* Represents the Essential JS 2 VueJS NumericTextBox Component
|
|
349
346
|
* ```html
|
|
350
|
-
* <ejs-
|
|
347
|
+
* <ejs-numerictextbox v-bind:value='value'></ejs-numerictextbox>
|
|
351
348
|
* ```
|
|
352
349
|
*/
|
|
353
|
-
let
|
|
354
|
-
name: '
|
|
350
|
+
let NumericTextBoxComponent = vueDefineComponent({
|
|
351
|
+
name: 'NumericTextBoxComponent',
|
|
355
352
|
mixins: [ComponentBase],
|
|
356
353
|
props: props$2,
|
|
357
354
|
watch: watch$2,
|
|
@@ -360,7 +357,7 @@ let MaskedTextBoxComponent = vueDefineComponent({
|
|
|
360
357
|
provide() { return { custom: this.custom }; },
|
|
361
358
|
data() {
|
|
362
359
|
return {
|
|
363
|
-
ej2Instances: new
|
|
360
|
+
ej2Instances: new NumericTextBox({}),
|
|
364
361
|
propKeys: properties$2,
|
|
365
362
|
models: modelProps$2,
|
|
366
363
|
hasChildDirective: false,
|
|
@@ -476,25 +473,31 @@ let MaskedTextBoxComponent = vueDefineComponent({
|
|
|
476
473
|
custom() {
|
|
477
474
|
this.updated();
|
|
478
475
|
},
|
|
476
|
+
decrement(step) {
|
|
477
|
+
return this.ej2Instances.decrement(step);
|
|
478
|
+
},
|
|
479
479
|
focusIn() {
|
|
480
480
|
return this.ej2Instances.focusIn();
|
|
481
481
|
},
|
|
482
482
|
focusOut() {
|
|
483
483
|
return this.ej2Instances.focusOut();
|
|
484
484
|
},
|
|
485
|
-
|
|
486
|
-
return this.ej2Instances.
|
|
485
|
+
getText() {
|
|
486
|
+
return this.ej2Instances.getText();
|
|
487
|
+
},
|
|
488
|
+
increment(step) {
|
|
489
|
+
return this.ej2Instances.increment(step);
|
|
487
490
|
},
|
|
488
491
|
}
|
|
489
492
|
});
|
|
490
|
-
const
|
|
491
|
-
name: 'ejs-
|
|
493
|
+
const NumericTextBoxPlugin = {
|
|
494
|
+
name: 'ejs-numerictextbox',
|
|
492
495
|
install(Vue) {
|
|
493
|
-
Vue.component(
|
|
496
|
+
Vue.component(NumericTextBoxPlugin.name, NumericTextBoxComponent);
|
|
494
497
|
}
|
|
495
498
|
};
|
|
496
499
|
|
|
497
|
-
const properties$3 = ['isLazyUpdate', 'plugins', '
|
|
500
|
+
const properties$3 = ['isLazyUpdate', 'plugins', 'cssClass', 'customCharacters', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'mask', 'placeholder', 'promptChar', 'readonly', 'showClearButton', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus'];
|
|
498
501
|
const modelProps$3 = ['value'];
|
|
499
502
|
const testProp$3 = getProps({ props: properties$3 });
|
|
500
503
|
const props$3 = testProp$3[0];
|
|
@@ -505,13 +508,13 @@ for (let props of modelProps$3) {
|
|
|
505
508
|
emitProbs$3.push('update:' + props);
|
|
506
509
|
}
|
|
507
510
|
/**
|
|
508
|
-
* Represents the VueJS
|
|
511
|
+
* Represents the Essential JS 2 VueJS MaskedTextBox Component
|
|
509
512
|
* ```html
|
|
510
|
-
* <ejs-
|
|
513
|
+
* <ejs-maskedtextbox v-bind:value='value'></ejs-maskedtextbox>
|
|
511
514
|
* ```
|
|
512
515
|
*/
|
|
513
|
-
let
|
|
514
|
-
name: '
|
|
516
|
+
let MaskedTextBoxComponent = vueDefineComponent({
|
|
517
|
+
name: 'MaskedTextBoxComponent',
|
|
515
518
|
mixins: [ComponentBase],
|
|
516
519
|
props: props$3,
|
|
517
520
|
watch: watch$3,
|
|
@@ -520,7 +523,7 @@ let SliderComponent = vueDefineComponent({
|
|
|
520
523
|
provide() { return { custom: this.custom }; },
|
|
521
524
|
data() {
|
|
522
525
|
return {
|
|
523
|
-
ej2Instances: new
|
|
526
|
+
ej2Instances: new MaskedTextBox({}),
|
|
524
527
|
propKeys: properties$3,
|
|
525
528
|
models: modelProps$3,
|
|
526
529
|
hasChildDirective: false,
|
|
@@ -540,6 +543,166 @@ let SliderComponent = vueDefineComponent({
|
|
|
540
543
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
541
544
|
this.updated = this.updated;
|
|
542
545
|
},
|
|
546
|
+
render(createElement) {
|
|
547
|
+
let h = !isExecute ? gh : createElement;
|
|
548
|
+
let slots = null;
|
|
549
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
550
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
551
|
+
}
|
|
552
|
+
return h('input', slots);
|
|
553
|
+
},
|
|
554
|
+
methods: {
|
|
555
|
+
clearTemplate(templateNames) {
|
|
556
|
+
if (!templateNames) {
|
|
557
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
558
|
+
}
|
|
559
|
+
if (templateNames.length && this.templateCollection) {
|
|
560
|
+
for (let tempName of templateNames) {
|
|
561
|
+
let elementCollection = this.templateCollection[tempName];
|
|
562
|
+
if (elementCollection && elementCollection.length) {
|
|
563
|
+
for (let ele of elementCollection) {
|
|
564
|
+
let destroy = getValue('__vue__.$destroy', ele);
|
|
565
|
+
if (destroy) {
|
|
566
|
+
ele.__vue__.$destroy();
|
|
567
|
+
}
|
|
568
|
+
if (ele.innerHTML) {
|
|
569
|
+
ele.innerHTML = '';
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
delete this.templateCollection[tempName];
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
setProperties(prop, muteOnChange) {
|
|
578
|
+
if (this.isVue3) {
|
|
579
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
580
|
+
}
|
|
581
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
582
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
583
|
+
}
|
|
584
|
+
if (prop && this.models && this.models.length) {
|
|
585
|
+
Object.keys(prop).map((key) => {
|
|
586
|
+
this.models.map((model) => {
|
|
587
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
588
|
+
if (this.isVue3) {
|
|
589
|
+
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
590
|
+
}
|
|
591
|
+
else {
|
|
592
|
+
this.$emit('update:' + key, prop[key]);
|
|
593
|
+
this.$emit('modelchanged', prop[key]);
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
});
|
|
597
|
+
});
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
trigger(eventName, eventProp, successHandler) {
|
|
601
|
+
if (!isExecute) {
|
|
602
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
603
|
+
}
|
|
604
|
+
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
605
|
+
let key = this.models.toString().match(/checked|value/) || [];
|
|
606
|
+
let propKey = key[0];
|
|
607
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
608
|
+
if (!isExecute) {
|
|
609
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
610
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
611
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
612
|
+
}
|
|
613
|
+
else {
|
|
614
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
615
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
616
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
622
|
+
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
623
|
+
let propKey = key[0];
|
|
624
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
625
|
+
if (!isExecute) {
|
|
626
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
627
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
628
|
+
}
|
|
629
|
+
else {
|
|
630
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
631
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
636
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
custom() {
|
|
640
|
+
this.updated();
|
|
641
|
+
},
|
|
642
|
+
focusIn() {
|
|
643
|
+
return this.ej2Instances.focusIn();
|
|
644
|
+
},
|
|
645
|
+
focusOut() {
|
|
646
|
+
return this.ej2Instances.focusOut();
|
|
647
|
+
},
|
|
648
|
+
getMaskedValue() {
|
|
649
|
+
return this.ej2Instances.getMaskedValue();
|
|
650
|
+
},
|
|
651
|
+
}
|
|
652
|
+
});
|
|
653
|
+
const MaskedTextBoxPlugin = {
|
|
654
|
+
name: 'ejs-maskedtextbox',
|
|
655
|
+
install(Vue) {
|
|
656
|
+
Vue.component(MaskedTextBoxPlugin.name, MaskedTextBoxComponent);
|
|
657
|
+
}
|
|
658
|
+
};
|
|
659
|
+
|
|
660
|
+
const 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'];
|
|
661
|
+
const modelProps$4 = ['value'];
|
|
662
|
+
const testProp$4 = getProps({ props: properties$4 });
|
|
663
|
+
const props$4 = testProp$4[0];
|
|
664
|
+
const watch$4 = testProp$4[1];
|
|
665
|
+
const emitProbs$4 = Object.keys(watch$4);
|
|
666
|
+
emitProbs$4.push('modelchanged', 'update:modelValue');
|
|
667
|
+
for (let props of modelProps$4) {
|
|
668
|
+
emitProbs$4.push('update:' + props);
|
|
669
|
+
}
|
|
670
|
+
/**
|
|
671
|
+
* Represents the VueJS Slider Component.
|
|
672
|
+
* ```html
|
|
673
|
+
* <ejs-slider :value='value'></ejs-slider>
|
|
674
|
+
* ```
|
|
675
|
+
*/
|
|
676
|
+
let SliderComponent = vueDefineComponent({
|
|
677
|
+
name: 'SliderComponent',
|
|
678
|
+
mixins: [ComponentBase],
|
|
679
|
+
props: props$4,
|
|
680
|
+
watch: watch$4,
|
|
681
|
+
emits: emitProbs$4,
|
|
682
|
+
model: { event: 'modelchanged' },
|
|
683
|
+
provide() { return { custom: this.custom }; },
|
|
684
|
+
data() {
|
|
685
|
+
return {
|
|
686
|
+
ej2Instances: new Slider({}),
|
|
687
|
+
propKeys: properties$4,
|
|
688
|
+
models: modelProps$4,
|
|
689
|
+
hasChildDirective: false,
|
|
690
|
+
hasInjectedModules: false,
|
|
691
|
+
tagMapper: {},
|
|
692
|
+
tagNameMapper: {},
|
|
693
|
+
isVue3: !isExecute,
|
|
694
|
+
templateCollection: {},
|
|
695
|
+
};
|
|
696
|
+
},
|
|
697
|
+
created() {
|
|
698
|
+
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
699
|
+
this.ej2Instances.trigger = this.trigger;
|
|
700
|
+
this.bindProperties();
|
|
701
|
+
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
702
|
+
this.ej2Instances.setProperties = this.setProperties;
|
|
703
|
+
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
704
|
+
this.updated = this.updated;
|
|
705
|
+
},
|
|
543
706
|
render(createElement) {
|
|
544
707
|
let h = !isExecute ? gh : createElement;
|
|
545
708
|
let slots = null;
|
|
@@ -710,15 +873,15 @@ const UploadedFilesPlugin = {
|
|
|
710
873
|
}
|
|
711
874
|
};
|
|
712
875
|
|
|
713
|
-
const properties$
|
|
714
|
-
const modelProps$
|
|
715
|
-
const testProp$
|
|
716
|
-
const props$
|
|
717
|
-
const watch$
|
|
718
|
-
const emitProbs$
|
|
719
|
-
emitProbs$
|
|
720
|
-
for (let props of modelProps$
|
|
721
|
-
emitProbs$
|
|
876
|
+
const 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'];
|
|
877
|
+
const modelProps$5 = [];
|
|
878
|
+
const testProp$5 = getProps({ props: properties$5 });
|
|
879
|
+
const props$5 = testProp$5[0];
|
|
880
|
+
const watch$5 = testProp$5[1];
|
|
881
|
+
const emitProbs$5 = Object.keys(watch$5);
|
|
882
|
+
emitProbs$5.push('modelchanged', 'update:modelValue');
|
|
883
|
+
for (let props of modelProps$5) {
|
|
884
|
+
emitProbs$5.push('update:' + props);
|
|
722
885
|
}
|
|
723
886
|
/**
|
|
724
887
|
* Represents the Essential JS 2 VueJS Uploader Component
|
|
@@ -729,15 +892,15 @@ for (let props of modelProps$4) {
|
|
|
729
892
|
let UploaderComponent = vueDefineComponent({
|
|
730
893
|
name: 'UploaderComponent',
|
|
731
894
|
mixins: [ComponentBase],
|
|
732
|
-
props: props$
|
|
733
|
-
watch: watch$
|
|
734
|
-
emits: emitProbs$
|
|
895
|
+
props: props$5,
|
|
896
|
+
watch: watch$5,
|
|
897
|
+
emits: emitProbs$5,
|
|
735
898
|
provide() { return { custom: this.custom }; },
|
|
736
899
|
data() {
|
|
737
900
|
return {
|
|
738
901
|
ej2Instances: new Uploader({}),
|
|
739
|
-
propKeys: properties$
|
|
740
|
-
models: modelProps$
|
|
902
|
+
propKeys: properties$5,
|
|
903
|
+
models: modelProps$5,
|
|
741
904
|
hasChildDirective: true,
|
|
742
905
|
hasInjectedModules: false,
|
|
743
906
|
tagMapper: { "e-files": "e-uploadedfiles" },
|
|
@@ -857,15 +1020,15 @@ const UploaderPlugin = {
|
|
|
857
1020
|
}
|
|
858
1021
|
};
|
|
859
1022
|
|
|
860
|
-
const properties$
|
|
861
|
-
const modelProps$
|
|
862
|
-
const testProp$
|
|
863
|
-
const props$
|
|
864
|
-
const watch$
|
|
865
|
-
const emitProbs$
|
|
866
|
-
emitProbs$
|
|
867
|
-
for (let props of modelProps$
|
|
868
|
-
emitProbs$
|
|
1023
|
+
const 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'];
|
|
1024
|
+
const modelProps$6 = ['value'];
|
|
1025
|
+
const testProp$6 = getProps({ props: properties$6 });
|
|
1026
|
+
const props$6 = testProp$6[0];
|
|
1027
|
+
const watch$6 = testProp$6[1];
|
|
1028
|
+
const emitProbs$6 = Object.keys(watch$6);
|
|
1029
|
+
emitProbs$6.push('modelchanged', 'update:modelValue');
|
|
1030
|
+
for (let props of modelProps$6) {
|
|
1031
|
+
emitProbs$6.push('update:' + props);
|
|
869
1032
|
}
|
|
870
1033
|
/**
|
|
871
1034
|
* Represents the Essential JS 2 VueJS ColorPicker Component
|
|
@@ -876,16 +1039,16 @@ for (let props of modelProps$5) {
|
|
|
876
1039
|
let ColorPickerComponent = vueDefineComponent({
|
|
877
1040
|
name: 'ColorPickerComponent',
|
|
878
1041
|
mixins: [ComponentBase],
|
|
879
|
-
props: props$
|
|
880
|
-
watch: watch$
|
|
881
|
-
emits: emitProbs$
|
|
1042
|
+
props: props$6,
|
|
1043
|
+
watch: watch$6,
|
|
1044
|
+
emits: emitProbs$6,
|
|
882
1045
|
model: { event: 'modelchanged' },
|
|
883
1046
|
provide() { return { custom: this.custom }; },
|
|
884
1047
|
data() {
|
|
885
1048
|
return {
|
|
886
1049
|
ej2Instances: new ColorPicker({}),
|
|
887
|
-
propKeys: properties$
|
|
888
|
-
models: modelProps$
|
|
1050
|
+
propKeys: properties$6,
|
|
1051
|
+
models: modelProps$6,
|
|
889
1052
|
hasChildDirective: false,
|
|
890
1053
|
hasInjectedModules: false,
|
|
891
1054
|
tagMapper: {},
|
|
@@ -1017,15 +1180,15 @@ const ColorPickerPlugin = {
|
|
|
1017
1180
|
}
|
|
1018
1181
|
};
|
|
1019
1182
|
|
|
1020
|
-
const properties$
|
|
1021
|
-
const modelProps$
|
|
1022
|
-
const testProp$
|
|
1023
|
-
const props$
|
|
1024
|
-
const watch$
|
|
1025
|
-
const emitProbs$
|
|
1026
|
-
emitProbs$
|
|
1027
|
-
for (let props of modelProps$
|
|
1028
|
-
emitProbs$
|
|
1183
|
+
const properties$7 = ['isLazyUpdate', 'plugins', 'backgroundColor', 'backgroundImage', 'disabled', 'enablePersistence', 'enableRtl', 'isReadOnly', 'locale', 'maxStrokeWidth', 'minStrokeWidth', 'saveWithBackground', 'strokeColor', 'velocity', 'beforeSave', 'change', 'created'];
|
|
1184
|
+
const modelProps$7 = [];
|
|
1185
|
+
const testProp$7 = getProps({ props: properties$7 });
|
|
1186
|
+
const props$7 = testProp$7[0];
|
|
1187
|
+
const watch$7 = testProp$7[1];
|
|
1188
|
+
const emitProbs$7 = Object.keys(watch$7);
|
|
1189
|
+
emitProbs$7.push('modelchanged', 'update:modelValue');
|
|
1190
|
+
for (let props of modelProps$7) {
|
|
1191
|
+
emitProbs$7.push('update:' + props);
|
|
1029
1192
|
}
|
|
1030
1193
|
/**
|
|
1031
1194
|
* Represents the Essential JS 2 VueJS Signature Component
|
|
@@ -1036,15 +1199,15 @@ for (let props of modelProps$6) {
|
|
|
1036
1199
|
let SignatureComponent = vueDefineComponent({
|
|
1037
1200
|
name: 'SignatureComponent',
|
|
1038
1201
|
mixins: [ComponentBase],
|
|
1039
|
-
props: props$
|
|
1040
|
-
watch: watch$
|
|
1041
|
-
emits: emitProbs$
|
|
1202
|
+
props: props$7,
|
|
1203
|
+
watch: watch$7,
|
|
1204
|
+
emits: emitProbs$7,
|
|
1042
1205
|
provide() { return { custom: this.custom }; },
|
|
1043
1206
|
data() {
|
|
1044
1207
|
return {
|
|
1045
1208
|
ej2Instances: new Signature({}),
|
|
1046
|
-
propKeys: properties$
|
|
1047
|
-
models: modelProps$
|
|
1209
|
+
propKeys: properties$7,
|
|
1210
|
+
models: modelProps$7,
|
|
1048
1211
|
hasChildDirective: false,
|
|
1049
1212
|
hasInjectedModules: false,
|
|
1050
1213
|
tagMapper: {},
|
|
@@ -1165,15 +1328,15 @@ const SignaturePlugin = {
|
|
|
1165
1328
|
}
|
|
1166
1329
|
};
|
|
1167
1330
|
|
|
1168
|
-
const properties$
|
|
1169
|
-
const modelProps$
|
|
1170
|
-
const testProp$
|
|
1171
|
-
const props$
|
|
1172
|
-
const watch$
|
|
1173
|
-
const emitProbs$
|
|
1174
|
-
emitProbs$
|
|
1175
|
-
for (let props of modelProps$
|
|
1176
|
-
emitProbs$
|
|
1331
|
+
const 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'];
|
|
1332
|
+
const modelProps$8 = ['value'];
|
|
1333
|
+
const testProp$8 = getProps({ props: properties$8 });
|
|
1334
|
+
const props$8 = testProp$8[0];
|
|
1335
|
+
const watch$8 = testProp$8[1];
|
|
1336
|
+
const emitProbs$8 = Object.keys(watch$8);
|
|
1337
|
+
emitProbs$8.push('modelchanged', 'update:modelValue');
|
|
1338
|
+
for (let props of modelProps$8) {
|
|
1339
|
+
emitProbs$8.push('update:' + props);
|
|
1177
1340
|
}
|
|
1178
1341
|
/**
|
|
1179
1342
|
* Represents the Essential JS 2 VueJS Rating Component
|
|
@@ -1184,16 +1347,16 @@ for (let props of modelProps$7) {
|
|
|
1184
1347
|
let RatingComponent = vueDefineComponent({
|
|
1185
1348
|
name: 'RatingComponent',
|
|
1186
1349
|
mixins: [ComponentBase],
|
|
1187
|
-
props: props$
|
|
1188
|
-
watch: watch$
|
|
1189
|
-
emits: emitProbs$
|
|
1350
|
+
props: props$8,
|
|
1351
|
+
watch: watch$8,
|
|
1352
|
+
emits: emitProbs$8,
|
|
1190
1353
|
model: { event: 'modelchanged' },
|
|
1191
1354
|
provide() { return { custom: this.custom }; },
|
|
1192
1355
|
data() {
|
|
1193
1356
|
return {
|
|
1194
1357
|
ej2Instances: new Rating({}),
|
|
1195
|
-
propKeys: properties$
|
|
1196
|
-
models: modelProps$
|
|
1358
|
+
propKeys: properties$8,
|
|
1359
|
+
models: modelProps$8,
|
|
1197
1360
|
hasChildDirective: false,
|
|
1198
1361
|
hasInjectedModules: false,
|
|
1199
1362
|
tagMapper: {},
|
|
@@ -1319,6 +1482,6 @@ const RatingPlugin = {
|
|
|
1319
1482
|
}
|
|
1320
1483
|
};
|
|
1321
1484
|
|
|
1322
|
-
export { TextBoxComponent, TextBoxPlugin, NumericTextBoxComponent, NumericTextBoxPlugin, MaskedTextBoxComponent, MaskedTextBoxPlugin, SliderComponent, SliderPlugin, FilesDirective, UploadedFilesDirective, FilesPlugin, UploadedFilesPlugin, UploaderComponent, UploaderPlugin, ColorPickerComponent, ColorPickerPlugin, SignatureComponent, SignaturePlugin, RatingComponent, RatingPlugin };
|
|
1485
|
+
export { TextBoxComponent, TextBoxPlugin, TextAreaComponent, TextAreaPlugin, NumericTextBoxComponent, NumericTextBoxPlugin, MaskedTextBoxComponent, MaskedTextBoxPlugin, SliderComponent, SliderPlugin, FilesDirective, UploadedFilesDirective, FilesPlugin, UploadedFilesPlugin, UploaderComponent, UploaderPlugin, ColorPickerComponent, ColorPickerPlugin, SignatureComponent, SignaturePlugin, RatingComponent, RatingPlugin };
|
|
1323
1486
|
export * from '@syncfusion/ej2-inputs';
|
|
1324
1487
|
//# sourceMappingURL=ej2-vue-inputs.es2015.js.map
|