@anguless/angulux 22.3.1 → 22.5.0
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/README.md +8 -6
- package/fesm2022/anguless-angulux-baseeditableholder.mjs +50 -5
- package/fesm2022/anguless-angulux-baseeditableholder.mjs.map +1 -1
- package/fesm2022/anguless-angulux-baseinput.mjs +38 -9
- package/fesm2022/anguless-angulux-baseinput.mjs.map +1 -1
- package/fesm2022/anguless-angulux-basemodelholder.mjs +101 -1
- package/fesm2022/anguless-angulux-basemodelholder.mjs.map +1 -1
- package/fesm2022/anguless-angulux-checkbox.mjs +9 -7
- package/fesm2022/anguless-angulux-checkbox.mjs.map +1 -1
- package/fesm2022/anguless-angulux-colorpicker.mjs +2 -0
- package/fesm2022/anguless-angulux-colorpicker.mjs.map +1 -1
- package/fesm2022/anguless-angulux-datepicker.mjs +8 -8
- package/fesm2022/anguless-angulux-datepicker.mjs.map +1 -1
- package/fesm2022/anguless-angulux-inputnumber.mjs +16 -16
- package/fesm2022/anguless-angulux-inputnumber.mjs.map +1 -1
- package/fesm2022/anguless-angulux-inputtext.mjs +33 -7
- package/fesm2022/anguless-angulux-inputtext.mjs.map +1 -1
- package/fesm2022/anguless-angulux-multiselect.mjs +10 -8
- package/fesm2022/anguless-angulux-multiselect.mjs.map +1 -1
- package/fesm2022/anguless-angulux-password.mjs +12 -10
- package/fesm2022/anguless-angulux-password.mjs.map +1 -1
- package/fesm2022/anguless-angulux-radiobutton.mjs +9 -7
- package/fesm2022/anguless-angulux-radiobutton.mjs.map +1 -1
- package/fesm2022/anguless-angulux-select.mjs +13 -9
- package/fesm2022/anguless-angulux-select.mjs.map +1 -1
- package/fesm2022/anguless-angulux-selectbutton.mjs +4 -3
- package/fesm2022/anguless-angulux-selectbutton.mjs.map +1 -1
- package/fesm2022/anguless-angulux-table.mjs +4 -4
- package/fesm2022/anguless-angulux-table.mjs.map +1 -1
- package/fesm2022/anguless-angulux-textarea.mjs +38 -11
- package/fesm2022/anguless-angulux-textarea.mjs.map +1 -1
- package/fesm2022/anguless-angulux-togglebutton.mjs +4 -3
- package/fesm2022/anguless-angulux-togglebutton.mjs.map +1 -1
- package/fesm2022/anguless-angulux-toggleswitch.mjs +7 -5
- package/fesm2022/anguless-angulux-toggleswitch.mjs.map +1 -1
- package/fesm2022/anguless-angulux-treetable.mjs +7 -7
- package/fesm2022/anguless-angulux-treetable.mjs.map +1 -1
- package/package.json +1 -1
- package/types/anguless-angulux-baseeditableholder.d.ts +35 -3
- package/types/anguless-angulux-baseinput.d.ts +9 -6
- package/types/anguless-angulux-basemodelholder.d.ts +47 -0
- package/types/anguless-angulux-inputtext.d.ts +21 -2
- package/types/anguless-angulux-textarea.d.ts +34 -15
|
@@ -20,21 +20,21 @@ const style = /*css*/ `
|
|
|
20
20
|
${style$1}
|
|
21
21
|
|
|
22
22
|
/* For AnguluxConfig */
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
agl-inputNumber.ng-invalid.ng-dirty > .p-inputtext,
|
|
24
|
+
agl-input-number.ng-invalid.ng-dirty > .p-inputtext,
|
|
25
|
+
agl-inputnumber.ng-invalid.ng-dirty > .p-inputtext {
|
|
26
26
|
border-color: dt('inputtext.invalid.border.color');
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
agl-inputNumber.ng-invalid.ng-dirty > .p-inputtext:enabled:focus,
|
|
30
|
+
agl-input-number.ng-invalid.ng-dirty > .p-inputtext:enabled:focus,
|
|
31
|
+
agl-inputnumber.ng-invalid.ng-dirty > .p-inputtext:enabled:focus {
|
|
32
32
|
border-color: dt('inputtext.focus.border.color');
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
agl-inputNumber.ng-invalid.ng-dirty > .p-inputtext::placeholder,
|
|
36
|
+
agl-input-number.ng-invalid.ng-dirty > .p-inputtext::placeholder,
|
|
37
|
+
agl-inputnumber.ng-invalid.ng-dirty > .p-inputtext::placeholder {
|
|
38
38
|
color: dt('inputtext.invalid.placeholder.color');
|
|
39
39
|
}
|
|
40
40
|
`;
|
|
@@ -48,7 +48,7 @@ const classes = {
|
|
|
48
48
|
'p-inputnumber-horizontal': instance.showButtons && instance.buttonLayout === 'horizontal',
|
|
49
49
|
'p-inputnumber-vertical': instance.showButtons && instance.buttonLayout === 'vertical',
|
|
50
50
|
'p-inputnumber-fluid': instance.hasFluid,
|
|
51
|
-
'p-invalid': instance
|
|
51
|
+
'p-invalid': instance.$invalid()
|
|
52
52
|
}
|
|
53
53
|
],
|
|
54
54
|
pcInputText: 'p-inputnumber-input',
|
|
@@ -1225,7 +1225,7 @@ class InputNumber extends BaseInput {
|
|
|
1225
1225
|
}
|
|
1226
1226
|
get dataP() {
|
|
1227
1227
|
return this.cn({
|
|
1228
|
-
invalid: this
|
|
1228
|
+
invalid: this.$invalid(),
|
|
1229
1229
|
disabled: this.$disabled(),
|
|
1230
1230
|
focus: this.focused,
|
|
1231
1231
|
fluid: this.hasFluid,
|
|
@@ -1246,7 +1246,7 @@ class InputNumber extends BaseInput {
|
|
|
1246
1246
|
[value]="formattedValue()"
|
|
1247
1247
|
[ngStyle]="inputStyle"
|
|
1248
1248
|
[variant]="$variant()"
|
|
1249
|
-
[invalid]="invalid()"
|
|
1249
|
+
[invalid]="$invalid()"
|
|
1250
1250
|
[attr.aria-valuemin]="min()"
|
|
1251
1251
|
[attr.aria-valuemax]="max()"
|
|
1252
1252
|
[attr.aria-valuenow]="value"
|
|
@@ -1266,7 +1266,7 @@ class InputNumber extends BaseInput {
|
|
|
1266
1266
|
[attr.min]="min()"
|
|
1267
1267
|
[attr.max]="max()"
|
|
1268
1268
|
[attr.step]="step() ?? 1"
|
|
1269
|
-
[attr.required]="required() ? '' : undefined"
|
|
1269
|
+
[attr.required]="$required() ? '' : undefined"
|
|
1270
1270
|
[attr.readonly]="readonly ? '' : undefined"
|
|
1271
1271
|
[attr.disabled]="$disabled() ? '' : undefined"
|
|
1272
1272
|
inputmode="decimal"
|
|
@@ -1374,7 +1374,7 @@ class InputNumber extends BaseInput {
|
|
|
1374
1374
|
<ng-template *ngTemplateOutlet="decrementButtonIconTemplate()"></ng-template>
|
|
1375
1375
|
</ng-container>
|
|
1376
1376
|
</button>
|
|
1377
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: InputText, selector: "[aglInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "aglSize", "variant", "fluid", "invalid"] }, { kind: "directive", type: AutoFocus, selector: "[aglAutoFocus]", inputs: ["aglAutoFocus"] }, { kind: "component", type: TimesIcon, selector: "[data-p-icon=\"times\"]" }, { kind: "component", type: AngleUpIcon, selector: "[data-p-icon=\"angle-up\"]" }, { kind: "component", type: AngleDownIcon, selector: "[data-p-icon=\"angle-down\"]" }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[aglBind]", inputs: ["aglBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1377
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: InputText, selector: "[aglInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "aglSize", "variant", "fluid", "invalid", "touched", "dirty"] }, { kind: "directive", type: AutoFocus, selector: "[aglAutoFocus]", inputs: ["aglAutoFocus"] }, { kind: "component", type: TimesIcon, selector: "[data-p-icon=\"times\"]" }, { kind: "component", type: AngleUpIcon, selector: "[data-p-icon=\"angle-up\"]" }, { kind: "component", type: AngleDownIcon, selector: "[data-p-icon=\"angle-down\"]" }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[aglBind]", inputs: ["aglBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1378
1378
|
}
|
|
1379
1379
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: InputNumber, decorators: [{
|
|
1380
1380
|
type: Component,
|
|
@@ -1392,7 +1392,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
|
|
|
1392
1392
|
[value]="formattedValue()"
|
|
1393
1393
|
[ngStyle]="inputStyle"
|
|
1394
1394
|
[variant]="$variant()"
|
|
1395
|
-
[invalid]="invalid()"
|
|
1395
|
+
[invalid]="$invalid()"
|
|
1396
1396
|
[attr.aria-valuemin]="min()"
|
|
1397
1397
|
[attr.aria-valuemax]="max()"
|
|
1398
1398
|
[attr.aria-valuenow]="value"
|
|
@@ -1412,7 +1412,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
|
|
|
1412
1412
|
[attr.min]="min()"
|
|
1413
1413
|
[attr.max]="max()"
|
|
1414
1414
|
[attr.step]="step() ?? 1"
|
|
1415
|
-
[attr.required]="required() ? '' : undefined"
|
|
1415
|
+
[attr.required]="$required() ? '' : undefined"
|
|
1416
1416
|
[attr.readonly]="readonly ? '' : undefined"
|
|
1417
1417
|
[attr.disabled]="$disabled() ? '' : undefined"
|
|
1418
1418
|
inputmode="decimal"
|