@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
|
@@ -48,7 +48,7 @@ const classes = {
|
|
|
48
48
|
'p-disabled': instance.$disabled(),
|
|
49
49
|
'p-variant-filled': instance.$variant() === 'filled',
|
|
50
50
|
'p-focus': instance.focused,
|
|
51
|
-
'p-invalid': instance
|
|
51
|
+
'p-invalid': instance.$invalid(),
|
|
52
52
|
'p-inputwrapper-filled': instance.$filled(),
|
|
53
53
|
'p-inputwrapper-focus': instance.focused || instance.overlayVisible,
|
|
54
54
|
'p-select-open': instance.overlayVisible,
|
|
@@ -1553,7 +1553,7 @@ class Select extends BaseInput {
|
|
|
1553
1553
|
}
|
|
1554
1554
|
get containerDataP() {
|
|
1555
1555
|
return this.cn({
|
|
1556
|
-
invalid: this
|
|
1556
|
+
invalid: this.$invalid(),
|
|
1557
1557
|
disabled: this.$disabled(),
|
|
1558
1558
|
focus: this.focused,
|
|
1559
1559
|
fluid: this.hasFluid,
|
|
@@ -1606,8 +1606,9 @@ class Select extends BaseInput {
|
|
|
1606
1606
|
(focus)="onInputFocus($event)"
|
|
1607
1607
|
(blur)="onInputBlur($event)"
|
|
1608
1608
|
(keydown)="onKeyDown($event)"
|
|
1609
|
-
[attr.aria-required]="required()"
|
|
1610
|
-
[attr.
|
|
1609
|
+
[attr.aria-required]="$required()"
|
|
1610
|
+
[attr.aria-invalid]="$invalid() || undefined"
|
|
1611
|
+
[attr.required]="$required() ? '' : undefined"
|
|
1611
1612
|
[attr.disabled]="$disabled() ? '' : undefined"
|
|
1612
1613
|
[attr.data-p]="labelDataP"
|
|
1613
1614
|
>
|
|
@@ -1633,6 +1634,7 @@ class Select extends BaseInput {
|
|
|
1633
1634
|
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
|
1634
1635
|
(focus)="onInputFocus($event)"
|
|
1635
1636
|
(blur)="onInputBlur($event)"
|
|
1637
|
+
[attr.aria-invalid]="$invalid() || undefined"
|
|
1636
1638
|
[attr.name]="name()"
|
|
1637
1639
|
[attr.minlength]="minlength()"
|
|
1638
1640
|
[attr.min]="min()"
|
|
@@ -1640,7 +1642,7 @@ class Select extends BaseInput {
|
|
|
1640
1642
|
[attr.pattern]="pattern()"
|
|
1641
1643
|
[attr.size]="inputSize()"
|
|
1642
1644
|
[attr.maxlength]="maxlength()"
|
|
1643
|
-
[attr.required]="required() ? '' : undefined"
|
|
1645
|
+
[attr.required]="$required() ? '' : undefined"
|
|
1644
1646
|
[attr.readonly]="readonly ? '' : undefined"
|
|
1645
1647
|
[attr.disabled]="$disabled() ? '' : undefined"
|
|
1646
1648
|
[attr.data-p]="labelDataP"
|
|
@@ -1824,7 +1826,7 @@ class Select extends BaseInput {
|
|
|
1824
1826
|
</div>
|
|
1825
1827
|
</ng-template>
|
|
1826
1828
|
</agl-overlay>
|
|
1827
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: SelectItem, selector: "agl-selectItem", inputs: ["id", "option", "selected", "focused", "label", "disabled", "visible", "itemSize", "ariaPosInset", "ariaSetSize", "template", "checkmark", "index", "scrollerOptions"], outputs: ["onClick", "onMouseEnter"] }, { kind: "component", type: Overlay, selector: "agl-overlay", inputs: ["hostName", "visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options", "appendTo", "inline", "motionOptions", "hostAttrSelector"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"] }, { kind: "directive", type: Tooltip, selector: "[aglTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "aglTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "directive", type: AutoFocus, selector: "[aglAutoFocus]", inputs: ["aglAutoFocus"] }, { kind: "component", type: TimesIcon, selector: "[data-p-icon=\"times\"]" }, { kind: "component", type: ChevronDownIcon, selector: "[data-p-icon=\"chevron-down\"]" }, { kind: "component", type: SearchIcon, selector: "[data-p-icon=\"search\"]" }, { kind: "component", type: SpinnerIcon, selector: "[data-p-icon=\"spinner\"]" }, { kind: "directive", type: InputText, selector: "[aglInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "aglSize", "variant", "fluid", "invalid"] }, { kind: "component", type: IconField, selector: "agl-iconfield, agl-iconField, agl-icon-field", inputs: ["hostName", "iconPosition", "styleClass"] }, { kind: "component", type: InputIcon, selector: "agl-inputicon, agl-inputIcon", inputs: ["hostName", "styleClass"] }, { kind: "component", type: Scroller, selector: "agl-scroller, agl-virtualscroller, agl-virtual-scroller, agl-virtualScroller", inputs: ["hostName", "id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i2.Bind, selector: "[aglBind]", inputs: ["aglBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1829
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: SelectItem, selector: "agl-selectItem", inputs: ["id", "option", "selected", "focused", "label", "disabled", "visible", "itemSize", "ariaPosInset", "ariaSetSize", "template", "checkmark", "index", "scrollerOptions"], outputs: ["onClick", "onMouseEnter"] }, { kind: "component", type: Overlay, selector: "agl-overlay", inputs: ["hostName", "visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options", "appendTo", "inline", "motionOptions", "hostAttrSelector"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"] }, { kind: "directive", type: Tooltip, selector: "[aglTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "aglTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "directive", type: AutoFocus, selector: "[aglAutoFocus]", inputs: ["aglAutoFocus"] }, { kind: "component", type: TimesIcon, selector: "[data-p-icon=\"times\"]" }, { kind: "component", type: ChevronDownIcon, selector: "[data-p-icon=\"chevron-down\"]" }, { kind: "component", type: SearchIcon, selector: "[data-p-icon=\"search\"]" }, { kind: "component", type: SpinnerIcon, selector: "[data-p-icon=\"spinner\"]" }, { kind: "directive", type: InputText, selector: "[aglInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "aglSize", "variant", "fluid", "invalid", "touched", "dirty"] }, { kind: "component", type: IconField, selector: "agl-iconfield, agl-iconField, agl-icon-field", inputs: ["hostName", "iconPosition", "styleClass"] }, { kind: "component", type: InputIcon, selector: "agl-inputicon, agl-inputIcon", inputs: ["hostName", "styleClass"] }, { kind: "component", type: Scroller, selector: "agl-scroller, agl-virtualscroller, agl-virtual-scroller, agl-virtualScroller", inputs: ["hostName", "id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i2.Bind, selector: "[aglBind]", inputs: ["aglBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1828
1830
|
}
|
|
1829
1831
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Select, decorators: [{
|
|
1830
1832
|
type: Component,
|
|
@@ -1857,8 +1859,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
|
|
|
1857
1859
|
(focus)="onInputFocus($event)"
|
|
1858
1860
|
(blur)="onInputBlur($event)"
|
|
1859
1861
|
(keydown)="onKeyDown($event)"
|
|
1860
|
-
[attr.aria-required]="required()"
|
|
1861
|
-
[attr.
|
|
1862
|
+
[attr.aria-required]="$required()"
|
|
1863
|
+
[attr.aria-invalid]="$invalid() || undefined"
|
|
1864
|
+
[attr.required]="$required() ? '' : undefined"
|
|
1862
1865
|
[attr.disabled]="$disabled() ? '' : undefined"
|
|
1863
1866
|
[attr.data-p]="labelDataP"
|
|
1864
1867
|
>
|
|
@@ -1884,6 +1887,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
|
|
|
1884
1887
|
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
|
1885
1888
|
(focus)="onInputFocus($event)"
|
|
1886
1889
|
(blur)="onInputBlur($event)"
|
|
1890
|
+
[attr.aria-invalid]="$invalid() || undefined"
|
|
1887
1891
|
[attr.name]="name()"
|
|
1888
1892
|
[attr.minlength]="minlength()"
|
|
1889
1893
|
[attr.min]="min()"
|
|
@@ -1891,7 +1895,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
|
|
|
1891
1895
|
[attr.pattern]="pattern()"
|
|
1892
1896
|
[attr.size]="inputSize()"
|
|
1893
1897
|
[attr.maxlength]="maxlength()"
|
|
1894
|
-
[attr.required]="required() ? '' : undefined"
|
|
1898
|
+
[attr.required]="$required() ? '' : undefined"
|
|
1895
1899
|
[attr.readonly]="readonly ? '' : undefined"
|
|
1896
1900
|
[attr.disabled]="$disabled() ? '' : undefined"
|
|
1897
1901
|
[attr.data-p]="labelDataP"
|