@syncfusion/ej2-angular-inputs 24.2.9 → 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/esm2020/src/index.mjs +4 -1
- package/esm2020/src/textarea/textarea-all.module.mjs +23 -0
- package/esm2020/src/textarea/textarea.component.mjs +85 -0
- package/esm2020/src/textarea/textarea.module.mjs +25 -0
- package/fesm2015/syncfusion-ej2-angular-inputs.mjs +127 -9
- package/fesm2015/syncfusion-ej2-angular-inputs.mjs.map +1 -1
- package/fesm2020/syncfusion-ej2-angular-inputs.mjs +127 -9
- package/fesm2020/syncfusion-ej2-angular-inputs.mjs.map +1 -1
- package/package.json +9 -9
- package/schematics/utils/lib-details.d.ts +3 -3
- package/schematics/utils/lib-details.js +3 -3
- package/schematics/utils/lib-details.ts +3 -3
- package/src/index.d.ts +3 -0
- package/src/textarea/textarea-all.module.d.ts +11 -0
- package/src/textarea/textarea.component.d.ts +44 -0
- package/src/textarea/textarea.module.d.ts +11 -0
- 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
|
@@ -3,14 +3,14 @@ import * as i0 from '@angular/core';
|
|
|
3
3
|
import { forwardRef, Component, ChangeDetectionStrategy, NgModule, Directive, ContentChildren, ContentChild } from '@angular/core';
|
|
4
4
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
5
5
|
import { setValue, FormBase, ComponentBase, ComponentMixins, ComplexBase, ArrayBase, Template } from '@syncfusion/ej2-angular-base';
|
|
6
|
-
import { TextBox, NumericTextBox, MaskedTextBox, Slider, Uploader, ColorPicker, Signature, Rating, FormValidator } from '@syncfusion/ej2-inputs';
|
|
6
|
+
import { TextBox, TextArea, NumericTextBox, MaskedTextBox, Slider, Uploader, ColorPicker, Signature, Rating, FormValidator } from '@syncfusion/ej2-inputs';
|
|
7
7
|
export * from '@syncfusion/ej2-inputs';
|
|
8
8
|
import { CommonModule } from '@angular/common';
|
|
9
9
|
|
|
10
10
|
var TextBoxComponent_1;
|
|
11
|
-
const inputs$
|
|
12
|
-
const outputs$
|
|
13
|
-
const twoWays$
|
|
11
|
+
const inputs$8 = ['autocomplete', 'cssClass', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'multiline', 'placeholder', 'readonly', 'showClearButton', 'type', 'value', 'width'];
|
|
12
|
+
const outputs$9 = ['blur', 'change', 'created', 'destroyed', 'focus', 'input', 'valueChange'];
|
|
13
|
+
const twoWays$8 = ['value'];
|
|
14
14
|
/**
|
|
15
15
|
* Represents the EJ2 Angular TextBox Component.
|
|
16
16
|
* ```html
|
|
@@ -28,8 +28,8 @@ let TextBoxComponent = TextBoxComponent_1 = class TextBoxComponent extends TextB
|
|
|
28
28
|
this.skipFromEvent = true;
|
|
29
29
|
this.element = this.ngEle.nativeElement;
|
|
30
30
|
this.injectedModules = this.injectedModules || [];
|
|
31
|
-
this.registerEvents(outputs$
|
|
32
|
-
this.addTwoWay.call(this, twoWays$
|
|
31
|
+
this.registerEvents(outputs$9);
|
|
32
|
+
this.addTwoWay.call(this, twoWays$8);
|
|
33
33
|
setValue('currentInstance', this, this.viewContainerRef);
|
|
34
34
|
this.formContext = new FormBase();
|
|
35
35
|
this.formCompContext = new ComponentBase();
|
|
@@ -70,8 +70,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
70
70
|
type: Component,
|
|
71
71
|
args: [{
|
|
72
72
|
selector: 'ejs-textbox',
|
|
73
|
-
inputs: inputs$
|
|
74
|
-
outputs: outputs$
|
|
73
|
+
inputs: inputs$8,
|
|
74
|
+
outputs: outputs$9,
|
|
75
75
|
template: '',
|
|
76
76
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
77
77
|
providers: [
|
|
@@ -125,6 +125,124 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
125
125
|
}]
|
|
126
126
|
}] });
|
|
127
127
|
|
|
128
|
+
var TextAreaComponent_1;
|
|
129
|
+
const inputs$7 = ['columnsCount', 'cssClass', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'maxLength', 'placeholder', 'readonly', 'resizeMode', 'rowsCount', 'showClearButton', 'value', 'width'];
|
|
130
|
+
const outputs$8 = ['blur', 'change', 'created', 'destroyed', 'focus', 'input', 'valueChange'];
|
|
131
|
+
const twoWays$7 = ['value'];
|
|
132
|
+
/**
|
|
133
|
+
* Represents the EJ2 Angular TextArea Component.
|
|
134
|
+
* ```html
|
|
135
|
+
* <ejs-textarea [value]='value'></ejs-textarea>
|
|
136
|
+
* ```
|
|
137
|
+
*/
|
|
138
|
+
let TextAreaComponent = TextAreaComponent_1 = class TextAreaComponent extends TextArea {
|
|
139
|
+
constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
140
|
+
super();
|
|
141
|
+
this.ngEle = ngEle;
|
|
142
|
+
this.srenderer = srenderer;
|
|
143
|
+
this.viewContainerRef = viewContainerRef;
|
|
144
|
+
this.injector = injector;
|
|
145
|
+
this.cdr = cdr;
|
|
146
|
+
this.skipFromEvent = true;
|
|
147
|
+
this.element = this.ngEle.nativeElement;
|
|
148
|
+
this.injectedModules = this.injectedModules || [];
|
|
149
|
+
this.registerEvents(outputs$8);
|
|
150
|
+
this.addTwoWay.call(this, twoWays$7);
|
|
151
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
152
|
+
this.formContext = new FormBase();
|
|
153
|
+
this.formCompContext = new ComponentBase();
|
|
154
|
+
}
|
|
155
|
+
registerOnChange(registerFunction) {
|
|
156
|
+
}
|
|
157
|
+
registerOnTouched(registerFunction) {
|
|
158
|
+
}
|
|
159
|
+
writeValue(value) {
|
|
160
|
+
}
|
|
161
|
+
setDisabledState(disabled) {
|
|
162
|
+
}
|
|
163
|
+
ngOnInit() {
|
|
164
|
+
this.formCompContext.ngOnInit(this);
|
|
165
|
+
}
|
|
166
|
+
ngAfterViewInit() {
|
|
167
|
+
this.formContext.ngAfterViewInit(this);
|
|
168
|
+
}
|
|
169
|
+
ngOnDestroy() {
|
|
170
|
+
this.formCompContext.ngOnDestroy(this);
|
|
171
|
+
}
|
|
172
|
+
ngAfterContentChecked() {
|
|
173
|
+
this.formCompContext.ngAfterContentChecked(this);
|
|
174
|
+
}
|
|
175
|
+
};
|
|
176
|
+
TextAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TextAreaComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
177
|
+
TextAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: TextAreaComponent, selector: "ejs-textarea", inputs: { columnsCount: "columnsCount", cssClass: "cssClass", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enabled: "enabled", floatLabelType: "floatLabelType", htmlAttributes: "htmlAttributes", locale: "locale", maxLength: "maxLength", placeholder: "placeholder", readonly: "readonly", resizeMode: "resizeMode", rowsCount: "rowsCount", showClearButton: "showClearButton", value: "value", width: "width" }, outputs: { blur: "blur", change: "change", created: "created", destroyed: "destroyed", focus: "focus", input: "input", valueChange: "valueChange" }, providers: [
|
|
178
|
+
{
|
|
179
|
+
provide: NG_VALUE_ACCESSOR,
|
|
180
|
+
useExisting: forwardRef(() => TextAreaComponent_1),
|
|
181
|
+
multi: true
|
|
182
|
+
}
|
|
183
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
184
|
+
TextAreaComponent = TextAreaComponent_1 = __decorate([
|
|
185
|
+
ComponentMixins([ComponentBase, FormBase])
|
|
186
|
+
], TextAreaComponent);
|
|
187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TextAreaComponent, decorators: [{
|
|
188
|
+
type: Component,
|
|
189
|
+
args: [{
|
|
190
|
+
selector: 'ejs-textarea',
|
|
191
|
+
inputs: inputs$7,
|
|
192
|
+
outputs: outputs$8,
|
|
193
|
+
template: '',
|
|
194
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
195
|
+
providers: [
|
|
196
|
+
{
|
|
197
|
+
provide: NG_VALUE_ACCESSOR,
|
|
198
|
+
useExisting: forwardRef(() => TextAreaComponent),
|
|
199
|
+
multi: true
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
queries: {}
|
|
203
|
+
}]
|
|
204
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }]; } });
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* NgModule definition for the TextArea component.
|
|
208
|
+
*/
|
|
209
|
+
class TextAreaModule {
|
|
210
|
+
}
|
|
211
|
+
TextAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
212
|
+
TextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TextAreaModule, declarations: [TextAreaComponent], imports: [CommonModule], exports: [TextAreaComponent] });
|
|
213
|
+
TextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TextAreaModule, imports: [[CommonModule]] });
|
|
214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TextAreaModule, decorators: [{
|
|
215
|
+
type: NgModule,
|
|
216
|
+
args: [{
|
|
217
|
+
imports: [CommonModule],
|
|
218
|
+
declarations: [
|
|
219
|
+
TextAreaComponent
|
|
220
|
+
],
|
|
221
|
+
exports: [
|
|
222
|
+
TextAreaComponent
|
|
223
|
+
]
|
|
224
|
+
}]
|
|
225
|
+
}] });
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* NgModule definition for the TextArea component with providers.
|
|
229
|
+
*/
|
|
230
|
+
class TextAreaAllModule {
|
|
231
|
+
}
|
|
232
|
+
TextAreaAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TextAreaAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
233
|
+
TextAreaAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TextAreaAllModule, imports: [CommonModule, TextAreaModule], exports: [TextAreaModule] });
|
|
234
|
+
TextAreaAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TextAreaAllModule, providers: [], imports: [[CommonModule, TextAreaModule], TextAreaModule] });
|
|
235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TextAreaAllModule, decorators: [{
|
|
236
|
+
type: NgModule,
|
|
237
|
+
args: [{
|
|
238
|
+
imports: [CommonModule, TextAreaModule],
|
|
239
|
+
exports: [
|
|
240
|
+
TextAreaModule
|
|
241
|
+
],
|
|
242
|
+
providers: []
|
|
243
|
+
}]
|
|
244
|
+
}] });
|
|
245
|
+
|
|
128
246
|
var NumericTextBoxComponent_1;
|
|
129
247
|
const inputs$6 = ['cssClass', 'currency', 'currencyCode', 'decimals', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'format', 'htmlAttributes', 'locale', 'max', 'min', 'placeholder', 'readonly', 'showClearButton', 'showSpinButton', 'step', 'strictMode', 'validateDecimalOnType', 'value', 'width'];
|
|
130
248
|
const outputs$7 = ['blur', 'change', 'created', 'destroyed', 'focus', 'valueChange'];
|
|
@@ -1241,5 +1359,5 @@ class FormValidators {
|
|
|
1241
1359
|
* Generated bundle index. Do not edit.
|
|
1242
1360
|
*/
|
|
1243
1361
|
|
|
1244
|
-
export { ColorPickerAllModule, ColorPickerComponent, ColorPickerModule, FilesDirective, FormValidators, MaskedTextBoxAllModule, MaskedTextBoxComponent, MaskedTextBoxModule, NumericTextBoxAllModule, NumericTextBoxComponent, NumericTextBoxModule, RatingAllModule, RatingComponent, RatingModule, SignatureAllModule, SignatureComponent, SignatureModule, SliderAllModule, SliderComponent, SliderModule, TextBoxAllModule, TextBoxComponent, TextBoxModule, UploadedFilesDirective, UploaderAllModule, UploaderComponent, UploaderModule };
|
|
1362
|
+
export { ColorPickerAllModule, ColorPickerComponent, ColorPickerModule, FilesDirective, FormValidators, MaskedTextBoxAllModule, MaskedTextBoxComponent, MaskedTextBoxModule, NumericTextBoxAllModule, NumericTextBoxComponent, NumericTextBoxModule, RatingAllModule, RatingComponent, RatingModule, SignatureAllModule, SignatureComponent, SignatureModule, SliderAllModule, SliderComponent, SliderModule, TextAreaAllModule, TextAreaComponent, TextAreaModule, TextBoxAllModule, TextBoxComponent, TextBoxModule, UploadedFilesDirective, UploaderAllModule, UploaderComponent, UploaderModule };
|
|
1245
1363
|
//# sourceMappingURL=syncfusion-ej2-angular-inputs.mjs.map
|