@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.
Files changed (76) hide show
  1. package/CHANGELOG.md +0 -32
  2. package/dist/ej2-vue-inputs.umd.min.js +2 -2
  3. package/dist/ej2-vue-inputs.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-vue-inputs.es2015.js +255 -92
  5. package/dist/es6/ej2-vue-inputs.es2015.js.map +1 -1
  6. package/dist/es6/ej2-vue-inputs.es5.js +263 -96
  7. package/dist/es6/ej2-vue-inputs.es5.js.map +1 -1
  8. package/dist/global/ej2-vue-inputs.min.js +2 -2
  9. package/package.json +9 -9
  10. package/src/color-picker/colorpicker.component.d.ts +22 -3
  11. package/src/index.d.ts +1 -0
  12. package/src/index.js +1 -0
  13. package/src/maskedtextbox/maskedtextbox.component.d.ts +22 -3
  14. package/src/numerictextbox/numerictextbox.component.d.ts +24 -3
  15. package/src/rating/rating.component.d.ts +20 -3
  16. package/src/signature/signature.component.d.ts +32 -3
  17. package/src/slider/slider.component.d.ts +21 -3
  18. package/src/textarea/index.d.ts +1 -0
  19. package/src/textarea/index.js +1 -0
  20. package/src/textarea/textarea.component.d.ts +38 -0
  21. package/src/textarea/textarea.component.js +168 -0
  22. package/src/textbox/textbox.component.d.ts +24 -3
  23. package/src/uploader/uploader.component.d.ts +31 -3
  24. package/styles/bootstrap-dark.scss +1 -0
  25. package/styles/bootstrap.scss +1 -0
  26. package/styles/bootstrap4.scss +1 -0
  27. package/styles/bootstrap5-dark.scss +1 -0
  28. package/styles/bootstrap5.scss +1 -0
  29. package/styles/fabric-dark.scss +1 -0
  30. package/styles/fabric.scss +1 -0
  31. package/styles/fluent-dark.scss +1 -0
  32. package/styles/fluent.scss +1 -0
  33. package/styles/highcontrast-light.scss +1 -0
  34. package/styles/highcontrast.scss +1 -0
  35. package/styles/material-dark.scss +1 -0
  36. package/styles/material.scss +1 -0
  37. package/styles/material3-dark.scss +1 -0
  38. package/styles/material3.scss +1 -0
  39. package/styles/tailwind-dark.scss +1 -0
  40. package/styles/tailwind.scss +1 -0
  41. package/styles/textarea/bootstrap-dark.css +1 -0
  42. package/styles/textarea/bootstrap-dark.scss +1 -0
  43. package/styles/textarea/bootstrap.css +1 -0
  44. package/styles/textarea/bootstrap.scss +1 -0
  45. package/styles/textarea/bootstrap4.css +1 -0
  46. package/styles/textarea/bootstrap4.scss +1 -0
  47. package/styles/textarea/bootstrap5-dark.css +1 -0
  48. package/styles/textarea/bootstrap5-dark.scss +1 -0
  49. package/styles/textarea/bootstrap5.css +1 -0
  50. package/styles/textarea/bootstrap5.scss +1 -0
  51. package/styles/textarea/fabric-dark.css +1 -0
  52. package/styles/textarea/fabric-dark.scss +1 -0
  53. package/styles/textarea/fabric.css +1 -0
  54. package/styles/textarea/fabric.scss +1 -0
  55. package/styles/textarea/fluent-dark.css +1 -0
  56. package/styles/textarea/fluent-dark.scss +1 -0
  57. package/styles/textarea/fluent.css +1 -0
  58. package/styles/textarea/fluent.scss +1 -0
  59. package/styles/textarea/highcontrast-light.css +1 -0
  60. package/styles/textarea/highcontrast-light.scss +1 -0
  61. package/styles/textarea/highcontrast.css +1 -0
  62. package/styles/textarea/highcontrast.scss +1 -0
  63. package/styles/textarea/material-dark.css +1 -0
  64. package/styles/textarea/material-dark.scss +1 -0
  65. package/styles/textarea/material.css +1 -0
  66. package/styles/textarea/material.scss +1 -0
  67. package/styles/textarea/material3-dark.css +1 -0
  68. package/styles/textarea/material3-dark.scss +2 -0
  69. package/styles/textarea/material3.css +1 -0
  70. package/styles/textarea/material3.scss +2 -0
  71. package/styles/textarea/tailwind-dark.css +1 -0
  72. package/styles/textarea/tailwind-dark.scss +1 -0
  73. package/styles/textarea/tailwind.css +1 -0
  74. package/styles/textarea/tailwind.scss +1 -0
  75. package/textarea.d.ts +4 -0
  76. package/textarea.js +4 -0
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-vue-inputs@*",
3
- "_id": "@syncfusion/ej2-vue-inputs@24.2.6",
3
+ "_id": "@syncfusion/ej2-vue-inputs@18.78.15",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-elQuRkLhMQTdtSSd9eP5/SgDWkJK+ZyhDNdhCp1YowqJpMyDH7DXr+NtphwlRXHAVOmZiKggILmsHK/fDqOf1Q==",
5
+ "_integrity": "sha512-VNmveGSgClbggS7u7bauo9CEy9al4I/eyNa78N/0rJ6iE2p2KhZy488VDG+zobQ4avwP8hSjYKfkBd9KZWlx+g==",
6
6
  "_location": "/@syncfusion/ej2-vue-inputs",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,10 +19,10 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-inputs/-/ej2-vue-inputs-24.2.6.tgz",
23
- "_shasum": "4573eec286eeec4eb224a6675a56e240fcbc5dcd",
22
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-vue-inputs/-/ej2-vue-inputs-18.78.15.tgz",
23
+ "_shasum": "aab25dbb6a64258e3bbce25d22f738eb73e0c1bc",
24
24
  "_spec": "@syncfusion/ej2-vue-inputs@*",
25
- "_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
25
+ "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
26
26
  "author": {
27
27
  "name": "Syncfusion Inc."
28
28
  },
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~24.2.7",
35
- "@syncfusion/ej2-inputs": "24.2.7",
36
- "@syncfusion/ej2-vue-base": "~24.2.3"
34
+ "@syncfusion/ej2-base": "~25.1.35",
35
+ "@syncfusion/ej2-inputs": "25.1.35",
36
+ "@syncfusion/ej2-vue-base": "~25.1.35"
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",
@@ -74,6 +74,6 @@
74
74
  "ci-publish": "gulp ci-publish",
75
75
  "compile": "gulp ci-compile && gulp vue-global-script"
76
76
  },
77
- "version": "24.2.7",
77
+ "version": "25.1.35",
78
78
  "sideEffects": false
79
79
  }
@@ -1,5 +1,5 @@
1
- import { DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
- import { ColorPickerModel } from '@syncfusion/ej2-inputs';
1
+ import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
+ import { ColorPicker, ColorPickerModel } from '@syncfusion/ej2-inputs';
3
3
  export declare const properties: string[];
4
4
  export declare const modelProps: string[];
5
5
  export declare const testProp: any;
@@ -11,7 +11,26 @@ export declare const props: any, watch: any, emitProbs: any;
11
11
  * ```
12
12
  */
13
13
  export declare let ColorPickerComponent: DefineVueComponent<ColorPickerModel>;
14
- export declare type ColorPickerComponent = InstanceType<typeof ColorPickerComponent>;
14
+ export declare type ColorPickerComponent = typeof ComponentBase & {
15
+ ej2Instances: ColorPicker;
16
+ isVue3: boolean;
17
+ isLazyUpdate: Boolean;
18
+ plugins: any[];
19
+ propKeys: string[];
20
+ models: string[];
21
+ hasChildDirective: boolean;
22
+ tagMapper: {
23
+ [key: string]: Object;
24
+ };
25
+ tagNameMapper: Object;
26
+ setProperties(prop: any, muteOnChange: boolean): void;
27
+ trigger(eventName: string, eventProp: {
28
+ [key: string]: Object;
29
+ }, successHandler?: Function): void;
30
+ focusIn(): void;
31
+ getValue(value?: string, type?: string): string;
32
+ toggle(): void;
33
+ };
15
34
  export declare const ColorPickerPlugin: {
16
35
  name: string;
17
36
  install(Vue: any): void;
package/src/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from '@syncfusion/ej2-inputs';
2
2
  export { TextBoxComponent, TextBoxPlugin } from './textbox/textbox.component';
3
+ export { TextAreaComponent, TextAreaPlugin } from './textarea/textarea.component';
3
4
  export { NumericTextBoxComponent, NumericTextBoxPlugin } from './numerictextbox/numerictextbox.component';
4
5
  export { MaskedTextBoxComponent, MaskedTextBoxPlugin } from './maskedtextbox/maskedtextbox.component';
5
6
  export { SliderComponent, SliderPlugin } from './slider/slider.component';
package/src/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from '@syncfusion/ej2-inputs';
2
2
  export { TextBoxComponent, TextBoxPlugin } from './textbox/textbox.component';
3
+ export { TextAreaComponent, TextAreaPlugin } from './textarea/textarea.component';
3
4
  export { NumericTextBoxComponent, NumericTextBoxPlugin } from './numerictextbox/numerictextbox.component';
4
5
  export { MaskedTextBoxComponent, MaskedTextBoxPlugin } from './maskedtextbox/maskedtextbox.component';
5
6
  export { SliderComponent, SliderPlugin } from './slider/slider.component';
@@ -1,5 +1,5 @@
1
- import { DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
- import { MaskedTextBoxModel } from '@syncfusion/ej2-inputs';
1
+ import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
+ import { MaskedTextBox, MaskedTextBoxModel } from '@syncfusion/ej2-inputs';
3
3
  export declare const properties: string[];
4
4
  export declare const modelProps: string[];
5
5
  export declare const testProp: any;
@@ -11,7 +11,26 @@ export declare const props: any, watch: any, emitProbs: any;
11
11
  * ```
12
12
  */
13
13
  export declare let MaskedTextBoxComponent: DefineVueComponent<MaskedTextBoxModel>;
14
- export declare type MaskedTextBoxComponent = InstanceType<typeof MaskedTextBoxComponent>;
14
+ export declare type MaskedTextBoxComponent = typeof ComponentBase & {
15
+ ej2Instances: MaskedTextBox;
16
+ isVue3: boolean;
17
+ isLazyUpdate: Boolean;
18
+ plugins: any[];
19
+ propKeys: string[];
20
+ models: string[];
21
+ hasChildDirective: boolean;
22
+ tagMapper: {
23
+ [key: string]: Object;
24
+ };
25
+ tagNameMapper: Object;
26
+ setProperties(prop: any, muteOnChange: boolean): void;
27
+ trigger(eventName: string, eventProp: {
28
+ [key: string]: Object;
29
+ }, successHandler?: Function): void;
30
+ focusIn(): void;
31
+ focusOut(): void;
32
+ getMaskedValue(): string;
33
+ };
15
34
  export declare const MaskedTextBoxPlugin: {
16
35
  name: string;
17
36
  install(Vue: any): void;
@@ -1,5 +1,5 @@
1
- import { DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
- import { NumericTextBoxModel } from '@syncfusion/ej2-inputs';
1
+ import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
+ import { NumericTextBox, NumericTextBoxModel } from '@syncfusion/ej2-inputs';
3
3
  export declare const properties: string[];
4
4
  export declare const modelProps: string[];
5
5
  export declare const testProp: any;
@@ -11,7 +11,28 @@ export declare const props: any, watch: any, emitProbs: any;
11
11
  * ```
12
12
  */
13
13
  export declare let NumericTextBoxComponent: DefineVueComponent<NumericTextBoxModel>;
14
- export declare type NumericTextBoxComponent = InstanceType<typeof NumericTextBoxComponent>;
14
+ export declare type NumericTextBoxComponent = typeof ComponentBase & {
15
+ ej2Instances: NumericTextBox;
16
+ isVue3: boolean;
17
+ isLazyUpdate: Boolean;
18
+ plugins: any[];
19
+ propKeys: string[];
20
+ models: string[];
21
+ hasChildDirective: boolean;
22
+ tagMapper: {
23
+ [key: string]: Object;
24
+ };
25
+ tagNameMapper: Object;
26
+ setProperties(prop: any, muteOnChange: boolean): void;
27
+ trigger(eventName: string, eventProp: {
28
+ [key: string]: Object;
29
+ }, successHandler?: Function): void;
30
+ decrement(step: number): void;
31
+ focusIn(): void;
32
+ focusOut(): void;
33
+ getText(): string;
34
+ increment(step: number): void;
35
+ };
15
36
  export declare const NumericTextBoxPlugin: {
16
37
  name: string;
17
38
  install(Vue: any): void;
@@ -1,5 +1,5 @@
1
- import { DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
- import { RatingModel } from '@syncfusion/ej2-inputs';
1
+ import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
+ import { Rating, RatingModel } from '@syncfusion/ej2-inputs';
3
3
  export declare const properties: string[];
4
4
  export declare const modelProps: string[];
5
5
  export declare const testProp: any;
@@ -11,7 +11,24 @@ export declare const props: any, watch: any, emitProbs: any;
11
11
  * ```
12
12
  */
13
13
  export declare let RatingComponent: DefineVueComponent<RatingModel>;
14
- export declare type RatingComponent = InstanceType<typeof RatingComponent>;
14
+ export declare type RatingComponent = typeof ComponentBase & {
15
+ ej2Instances: Rating;
16
+ isVue3: boolean;
17
+ isLazyUpdate: Boolean;
18
+ plugins: any[];
19
+ propKeys: string[];
20
+ models: string[];
21
+ hasChildDirective: boolean;
22
+ tagMapper: {
23
+ [key: string]: Object;
24
+ };
25
+ tagNameMapper: Object;
26
+ setProperties(prop: any, muteOnChange: boolean): void;
27
+ trigger(eventName: string, eventProp: {
28
+ [key: string]: Object;
29
+ }, successHandler?: Function): void;
30
+ reset(): void;
31
+ };
15
32
  export declare const RatingPlugin: {
16
33
  name: string;
17
34
  install(Vue: any): void;
@@ -1,5 +1,5 @@
1
- import { DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
- import { SignatureModel } from '@syncfusion/ej2-inputs';
1
+ import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
+ import { Signature, SignatureModel } from '@syncfusion/ej2-inputs';
3
3
  export declare const properties: string[];
4
4
  export declare const modelProps: string[];
5
5
  export declare const testProp: any;
@@ -11,7 +11,36 @@ export declare const props: any, watch: any, emitProbs: any;
11
11
  * ```
12
12
  */
13
13
  export declare let SignatureComponent: DefineVueComponent<SignatureModel>;
14
- export declare type SignatureComponent = InstanceType<typeof SignatureComponent>;
14
+ export declare type SignatureComponent = typeof ComponentBase & {
15
+ ej2Instances: Signature;
16
+ isVue3: boolean;
17
+ isLazyUpdate: Boolean;
18
+ plugins: any[];
19
+ propKeys: string[];
20
+ models: string[];
21
+ hasChildDirective: boolean;
22
+ tagMapper: {
23
+ [key: string]: Object;
24
+ };
25
+ tagNameMapper: Object;
26
+ setProperties(prop: any, muteOnChange: boolean): void;
27
+ trigger(eventName: string, eventProp: {
28
+ [key: string]: Object;
29
+ }, successHandler?: Function): void;
30
+ canRedo(): boolean;
31
+ canUndo(): boolean;
32
+ clear(): void;
33
+ draw(text: string, fontFamily?: string, fontSize?: number, x?: number, y?: number): void;
34
+ getBlob(url: string): Object;
35
+ initialize(): void;
36
+ isEmpty(): boolean;
37
+ load(signature: string, width?: number, height?: number): void;
38
+ redo(): void;
39
+ refresh(): void;
40
+ save(type?: Object, fileName?: string): void;
41
+ saveAsBlob(): Object;
42
+ undo(): void;
43
+ };
15
44
  export declare const SignaturePlugin: {
16
45
  name: string;
17
46
  install(Vue: any): void;
@@ -1,5 +1,5 @@
1
- import { DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
- import { SliderModel } from '@syncfusion/ej2-inputs';
1
+ import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
+ import { Slider, SliderModel } from '@syncfusion/ej2-inputs';
3
3
  export declare const properties: string[];
4
4
  export declare const modelProps: string[];
5
5
  export declare const testProp: any;
@@ -11,7 +11,25 @@ export declare const props: any, watch: any, emitProbs: any;
11
11
  * ```
12
12
  */
13
13
  export declare let SliderComponent: DefineVueComponent<SliderModel>;
14
- export declare type SliderComponent = InstanceType<typeof SliderComponent>;
14
+ export declare type SliderComponent = typeof ComponentBase & {
15
+ ej2Instances: Slider;
16
+ isVue3: boolean;
17
+ isLazyUpdate: Boolean;
18
+ plugins: any[];
19
+ propKeys: string[];
20
+ models: string[];
21
+ hasChildDirective: boolean;
22
+ tagMapper: {
23
+ [key: string]: Object;
24
+ };
25
+ tagNameMapper: Object;
26
+ setProperties(prop: any, muteOnChange: boolean): void;
27
+ trigger(eventName: string, eventProp: {
28
+ [key: string]: Object;
29
+ }, successHandler?: Function): void;
30
+ reposition(): void;
31
+ setTooltip(args?: string): void;
32
+ };
15
33
  export declare const SliderPlugin: {
16
34
  name: string;
17
35
  install(Vue: any): void;
@@ -0,0 +1 @@
1
+ export { TextAreaComponent, TextAreaPlugin } from './textarea.component';
@@ -0,0 +1 @@
1
+ export { TextAreaComponent, TextAreaPlugin } from './textarea.component';
@@ -0,0 +1,38 @@
1
+ import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
+ import { TextArea, TextAreaModel } from '@syncfusion/ej2-inputs';
3
+ export declare const properties: string[];
4
+ export declare const modelProps: string[];
5
+ export declare const testProp: any;
6
+ export declare const props: any, watch: any, emitProbs: any;
7
+ /**
8
+ * Represents the Essential JS 2 VueJS TextArea Component
9
+ * ```html
10
+ * <ejs-textarea v-bind:value='value'></ejs-textarea>
11
+ * ```
12
+ */
13
+ export declare let TextAreaComponent: DefineVueComponent<TextAreaModel>;
14
+ export declare type TextAreaComponent = typeof ComponentBase & {
15
+ ej2Instances: TextArea;
16
+ isVue3: boolean;
17
+ isLazyUpdate: Boolean;
18
+ plugins: any[];
19
+ propKeys: string[];
20
+ models: string[];
21
+ hasChildDirective: boolean;
22
+ tagMapper: {
23
+ [key: string]: Object;
24
+ };
25
+ tagNameMapper: Object;
26
+ setProperties(prop: any, muteOnChange: boolean): void;
27
+ trigger(eventName: string, eventProp: {
28
+ [key: string]: Object;
29
+ }, successHandler?: Function): void;
30
+ addAttributes(attributes: undefined): void;
31
+ focusIn(): void;
32
+ focusOut(): void;
33
+ removeAttributes(attributes: string[]): void;
34
+ };
35
+ export declare const TextAreaPlugin: {
36
+ name: string;
37
+ install(Vue: any): void;
38
+ };
@@ -0,0 +1,168 @@
1
+ import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
2
+ import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
3
+ import { isUndefined } from '@syncfusion/ej2-base';
4
+ import { TextArea } from '@syncfusion/ej2-inputs';
5
+ export var properties = ['isLazyUpdate', 'plugins', 'columnsCount', 'cssClass', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'maxLength', 'placeholder', 'readonly', 'resizeMode', 'rowsCount', 'showClearButton', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus', 'input'];
6
+ export var modelProps = ['value'];
7
+ export var testProp = getProps({ props: properties });
8
+ export var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
9
+ emitProbs.push('modelchanged', 'update:modelValue');
10
+ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
11
+ var props_1 = modelProps_1[_i];
12
+ emitProbs.push('update:' + props_1);
13
+ }
14
+ /**
15
+ * Represents the Essential JS 2 VueJS TextArea Component
16
+ * ```html
17
+ * <ejs-textarea v-bind:value='value'></ejs-textarea>
18
+ * ```
19
+ */
20
+ export var TextAreaComponent = vueDefineComponent({
21
+ name: 'TextAreaComponent',
22
+ mixins: [ComponentBase],
23
+ props: props,
24
+ watch: watch,
25
+ emits: emitProbs,
26
+ model: { event: 'modelchanged' },
27
+ provide: function () { return { custom: this.custom }; },
28
+ data: function () {
29
+ return {
30
+ ej2Instances: new TextArea({}),
31
+ propKeys: properties,
32
+ models: modelProps,
33
+ hasChildDirective: false,
34
+ hasInjectedModules: false,
35
+ tagMapper: {},
36
+ tagNameMapper: {},
37
+ isVue3: !isExecute,
38
+ templateCollection: {},
39
+ };
40
+ },
41
+ created: function () {
42
+ this.ej2Instances._trigger = this.ej2Instances.trigger;
43
+ this.ej2Instances.trigger = this.trigger;
44
+ this.bindProperties();
45
+ this.ej2Instances._setProperties = this.ej2Instances.setProperties;
46
+ this.ej2Instances.setProperties = this.setProperties;
47
+ this.ej2Instances.clearTemplate = this.clearTemplate;
48
+ this.updated = this.updated;
49
+ },
50
+ render: function (createElement) {
51
+ var h = !isExecute ? gh : createElement;
52
+ var slots = null;
53
+ if (!isNullOrUndefined(this.$slots.default)) {
54
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
55
+ }
56
+ return h('textarea', slots);
57
+ },
58
+ methods: {
59
+ clearTemplate: function (templateNames) {
60
+ if (!templateNames) {
61
+ templateNames = Object.keys(this.templateCollection || {});
62
+ }
63
+ if (templateNames.length && this.templateCollection) {
64
+ for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
65
+ var tempName = templateNames_1[_i];
66
+ var elementCollection = this.templateCollection[tempName];
67
+ if (elementCollection && elementCollection.length) {
68
+ for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
69
+ var ele = elementCollection_1[_a];
70
+ var destroy = getValue('__vue__.$destroy', ele);
71
+ if (destroy) {
72
+ ele.__vue__.$destroy();
73
+ }
74
+ if (ele.innerHTML) {
75
+ ele.innerHTML = '';
76
+ }
77
+ }
78
+ delete this.templateCollection[tempName];
79
+ }
80
+ }
81
+ }
82
+ },
83
+ setProperties: function (prop, muteOnChange) {
84
+ var _this = this;
85
+ if (this.isVue3) {
86
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
87
+ }
88
+ if (this.ej2Instances && this.ej2Instances._setProperties) {
89
+ this.ej2Instances._setProperties(prop, muteOnChange);
90
+ }
91
+ if (prop && this.models && this.models.length) {
92
+ Object.keys(prop).map(function (key) {
93
+ _this.models.map(function (model) {
94
+ if ((key === model) && !(/datasource/i.test(key))) {
95
+ if (_this.isVue3) {
96
+ _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
97
+ }
98
+ else {
99
+ _this.$emit('update:' + key, prop[key]);
100
+ _this.$emit('modelchanged', prop[key]);
101
+ }
102
+ }
103
+ });
104
+ });
105
+ }
106
+ },
107
+ trigger: function (eventName, eventProp, successHandler) {
108
+ if (!isExecute) {
109
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
110
+ }
111
+ if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
112
+ var key = this.models.toString().match(/checked|value/) || [];
113
+ var propKey = key[0];
114
+ if (eventProp && key && !isUndefined(eventProp[propKey])) {
115
+ if (!isExecute) {
116
+ this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
117
+ this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
118
+ this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
119
+ }
120
+ else {
121
+ if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
122
+ this.$emit('update:' + propKey, eventProp[propKey]);
123
+ this.$emit('modelchanged', eventProp[propKey]);
124
+ }
125
+ }
126
+ }
127
+ }
128
+ else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
129
+ var key = this.models.toString().match(/currentView|selectedDate/) || [];
130
+ var propKey = key[0];
131
+ if (eventProp && key && !isUndefined(eventProp[propKey])) {
132
+ if (!isExecute) {
133
+ this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
134
+ this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
135
+ }
136
+ else {
137
+ this.$emit('update:' + propKey, eventProp[propKey]);
138
+ this.$emit('modelchanged', eventProp[propKey]);
139
+ }
140
+ }
141
+ }
142
+ if ((this.ej2Instances && this.ej2Instances._trigger)) {
143
+ this.ej2Instances._trigger(eventName, eventProp, successHandler);
144
+ }
145
+ },
146
+ custom: function () {
147
+ this.updated();
148
+ },
149
+ addAttributes: function (attributes) {
150
+ return this.ej2Instances.addAttributes(attributes);
151
+ },
152
+ focusIn: function () {
153
+ return this.ej2Instances.focusIn();
154
+ },
155
+ focusOut: function () {
156
+ return this.ej2Instances.focusOut();
157
+ },
158
+ removeAttributes: function (attributes) {
159
+ return this.ej2Instances.removeAttributes(attributes);
160
+ },
161
+ }
162
+ });
163
+ export var TextAreaPlugin = {
164
+ name: 'ejs-textarea',
165
+ install: function (Vue) {
166
+ Vue.component(TextAreaPlugin.name, TextAreaComponent);
167
+ }
168
+ };
@@ -1,5 +1,5 @@
1
- import { DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
- import { TextBoxModel } from '@syncfusion/ej2-inputs';
1
+ import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
+ import { TextBox, TextBoxModel } from '@syncfusion/ej2-inputs';
3
3
  export declare const properties: string[];
4
4
  export declare const modelProps: string[];
5
5
  export declare const testProp: any;
@@ -11,7 +11,28 @@ export declare const props: any, watch: any, emitProbs: any;
11
11
  * ```
12
12
  */
13
13
  export declare let TextBoxComponent: DefineVueComponent<TextBoxModel>;
14
- export declare type TextBoxComponent = InstanceType<typeof TextBoxComponent>;
14
+ export declare type TextBoxComponent = typeof ComponentBase & {
15
+ ej2Instances: TextBox;
16
+ isVue3: boolean;
17
+ isLazyUpdate: Boolean;
18
+ plugins: any[];
19
+ propKeys: string[];
20
+ models: string[];
21
+ hasChildDirective: boolean;
22
+ tagMapper: {
23
+ [key: string]: Object;
24
+ };
25
+ tagNameMapper: Object;
26
+ setProperties(prop: any, muteOnChange: boolean): void;
27
+ trigger(eventName: string, eventProp: {
28
+ [key: string]: Object;
29
+ }, successHandler?: Function): void;
30
+ addAttributes(attributes: undefined): void;
31
+ addIcon(position: string, icons: string | string[]): void;
32
+ focusIn(): void;
33
+ focusOut(): void;
34
+ removeAttributes(attributes: string[]): void;
35
+ };
15
36
  export declare const TextBoxPlugin: {
16
37
  name: string;
17
38
  install(Vue: any): void;
@@ -1,5 +1,5 @@
1
- import { DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
- import { UploaderModel } from '@syncfusion/ej2-inputs';
1
+ import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base';
2
+ import { Uploader, UploaderModel } from '@syncfusion/ej2-inputs';
3
3
  export declare const properties: string[];
4
4
  export declare const modelProps: string[];
5
5
  export declare const testProp: any;
@@ -11,7 +11,35 @@ export declare const props: any, watch: any, emitProbs: any;
11
11
  * ```
12
12
  */
13
13
  export declare let UploaderComponent: DefineVueComponent<UploaderModel>;
14
- export declare type UploaderComponent = InstanceType<typeof UploaderComponent>;
14
+ export declare type UploaderComponent = typeof ComponentBase & {
15
+ ej2Instances: Uploader;
16
+ isVue3: boolean;
17
+ isLazyUpdate: Boolean;
18
+ plugins: any[];
19
+ propKeys: string[];
20
+ models: string[];
21
+ hasChildDirective: boolean;
22
+ tagMapper: {
23
+ [key: string]: Object;
24
+ };
25
+ tagNameMapper: Object;
26
+ setProperties(prop: any, muteOnChange: boolean): void;
27
+ trigger(eventName: string, eventProp: {
28
+ [key: string]: Object;
29
+ }, successHandler?: Function): void;
30
+ bytesToSize(bytes: number): string;
31
+ cancel(fileData?: Object[]): void;
32
+ clearAll(): void;
33
+ createFileList(fileData: Object[]): void;
34
+ getFilesData(index?: number): Object[];
35
+ pause(fileData?: Object | Object[], custom?: boolean): void;
36
+ remove(fileData?: Object | Object[], customTemplate?: boolean, removeDirectly?: boolean, postRawFile?: boolean, args?: Object | Object | Object): void;
37
+ resume(fileData?: Object | Object[], custom?: boolean): void;
38
+ retry(fileData?: Object | Object[], fromcanceledStage?: boolean, custom?: boolean): void;
39
+ sortFileList(filesData?: Object): Object[];
40
+ traverseFileTree(item: any, event?: Object | Object | Object | Object): void;
41
+ upload(files?: Object | Object[], custom?: boolean): void;
42
+ };
15
43
  export declare const UploaderPlugin: {
16
44
  name: string;
17
45
  install(Vue: any): void;
@@ -4,6 +4,7 @@
4
4
  @import 'maskedtextbox/bootstrap-dark.scss';
5
5
  @import 'slider/bootstrap-dark.scss';
6
6
  @import 'textbox/bootstrap-dark.scss';
7
+ @import 'textarea/bootstrap-dark.scss';
7
8
  @import 'uploader/bootstrap-dark.scss';
8
9
  @import 'color-picker/bootstrap-dark.scss';
9
10
  @import 'rating/bootstrap-dark.scss';
@@ -4,6 +4,7 @@
4
4
  @import 'maskedtextbox/bootstrap.scss';
5
5
  @import 'slider/bootstrap.scss';
6
6
  @import 'textbox/bootstrap.scss';
7
+ @import 'textarea/bootstrap.scss';
7
8
  @import 'uploader/bootstrap.scss';
8
9
  @import 'color-picker/bootstrap.scss';
9
10
  @import 'rating/bootstrap.scss';
@@ -4,6 +4,7 @@
4
4
  @import 'maskedtextbox/bootstrap4.scss';
5
5
  @import 'slider/bootstrap4.scss';
6
6
  @import 'textbox/bootstrap4.scss';
7
+ @import 'textarea/bootstrap4.scss';
7
8
  @import 'uploader/bootstrap4.scss';
8
9
  @import 'color-picker/bootstrap4.scss';
9
10
  @import 'rating/bootstrap4.scss';
@@ -4,6 +4,7 @@
4
4
  @import 'maskedtextbox/bootstrap5-dark.scss';
5
5
  @import 'slider/bootstrap5-dark.scss';
6
6
  @import 'textbox/bootstrap5-dark.scss';
7
+ @import 'textarea/bootstrap5-dark.scss';
7
8
  @import 'uploader/bootstrap5-dark.scss';
8
9
  @import 'color-picker/bootstrap5-dark.scss';
9
10
  @import 'rating/bootstrap5-dark.scss';
@@ -4,6 +4,7 @@
4
4
  @import 'maskedtextbox/bootstrap5.scss';
5
5
  @import 'slider/bootstrap5.scss';
6
6
  @import 'textbox/bootstrap5.scss';
7
+ @import 'textarea/bootstrap5.scss';
7
8
  @import 'uploader/bootstrap5.scss';
8
9
  @import 'color-picker/bootstrap5.scss';
9
10
  @import 'rating/bootstrap5.scss';
@@ -4,6 +4,7 @@
4
4
  @import 'maskedtextbox/fabric-dark.scss';
5
5
  @import 'slider/fabric-dark.scss';
6
6
  @import 'textbox/fabric-dark.scss';
7
+ @import 'textarea/fabric-dark.scss';
7
8
  @import 'uploader/fabric-dark.scss';
8
9
  @import 'color-picker/fabric-dark.scss';
9
10
  @import 'rating/fabric-dark.scss';
@@ -4,6 +4,7 @@
4
4
  @import 'maskedtextbox/fabric.scss';
5
5
  @import 'slider/fabric.scss';
6
6
  @import 'textbox/fabric.scss';
7
+ @import 'textarea/fabric.scss';
7
8
  @import 'uploader/fabric.scss';
8
9
  @import 'color-picker/fabric.scss';
9
10
  @import 'rating/fabric.scss';
@@ -4,6 +4,7 @@
4
4
  @import 'maskedtextbox/fluent-dark.scss';
5
5
  @import 'slider/fluent-dark.scss';
6
6
  @import 'textbox/fluent-dark.scss';
7
+ @import 'textarea/fluent-dark.scss';
7
8
  @import 'uploader/fluent-dark.scss';
8
9
  @import 'color-picker/fluent-dark.scss';
9
10
  @import 'rating/fluent-dark.scss';