@exhaustive-ui/core 22.0.0-alpha.10 → 22.0.0-alpha.12

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 (122) hide show
  1. package/fesm2022/exhaustive-ui-core-autocomplete.mjs +5 -5
  2. package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
  3. package/fesm2022/exhaustive-ui-core-basecomponent.mjs +6 -1
  4. package/fesm2022/exhaustive-ui-core-basecomponent.mjs.map +1 -1
  5. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +11 -4
  6. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
  7. package/fesm2022/exhaustive-ui-core-card.mjs +0 -4
  8. package/fesm2022/exhaustive-ui-core-card.mjs.map +1 -1
  9. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +5 -5
  10. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
  11. package/fesm2022/exhaustive-ui-core-chart.mjs.map +1 -1
  12. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +11 -9
  13. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
  14. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +18 -1
  15. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
  16. package/fesm2022/exhaustive-ui-core-contextmenu.mjs +6 -4
  17. package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
  18. package/fesm2022/exhaustive-ui-core-datepicker.mjs +42 -7
  19. package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
  20. package/fesm2022/exhaustive-ui-core-dialog.mjs +2 -1
  21. package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
  22. package/fesm2022/exhaustive-ui-core-drawer.mjs +11 -2
  23. package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
  24. package/fesm2022/exhaustive-ui-core-fieldset.mjs +2 -2
  25. package/fesm2022/exhaustive-ui-core-fieldset.mjs.map +1 -1
  26. package/fesm2022/exhaustive-ui-core-fileupload.mjs +22 -11
  27. package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
  28. package/fesm2022/exhaustive-ui-core-iconfield.mjs +16 -1
  29. package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
  30. package/fesm2022/exhaustive-ui-core-inputgroup.mjs +9 -0
  31. package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
  32. package/fesm2022/exhaustive-ui-core-inputnumber.mjs +54 -21
  33. package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
  34. package/fesm2022/exhaustive-ui-core-inputtext.mjs +6 -5
  35. package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
  36. package/fesm2022/exhaustive-ui-core-listbox.mjs +4 -2
  37. package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
  38. package/fesm2022/exhaustive-ui-core-megamenu.mjs +1 -0
  39. package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
  40. package/fesm2022/exhaustive-ui-core-menu.mjs +2 -2
  41. package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
  42. package/fesm2022/exhaustive-ui-core-metergroup.mjs +5 -5
  43. package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
  44. package/fesm2022/exhaustive-ui-core-multiselect.mjs +25 -14
  45. package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
  46. package/fesm2022/exhaustive-ui-core-orderlist.mjs +9 -2
  47. package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
  48. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs +2 -2
  49. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs.map +1 -1
  50. package/fesm2022/exhaustive-ui-core-paginator.mjs +4 -1
  51. package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
  52. package/fesm2022/exhaustive-ui-core-panelmenu.mjs +7 -1
  53. package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
  54. package/fesm2022/exhaustive-ui-core-password.mjs +34 -14
  55. package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
  56. package/fesm2022/exhaustive-ui-core-picklist.mjs +4 -4
  57. package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
  58. package/fesm2022/exhaustive-ui-core-popover.mjs +26 -7
  59. package/fesm2022/exhaustive-ui-core-popover.mjs.map +1 -1
  60. package/fesm2022/exhaustive-ui-core-select.mjs +20 -14
  61. package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
  62. package/fesm2022/exhaustive-ui-core-selectbutton.mjs +10 -6
  63. package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
  64. package/fesm2022/exhaustive-ui-core-slider.mjs +7 -3
  65. package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
  66. package/fesm2022/exhaustive-ui-core-splitter.mjs +5 -0
  67. package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
  68. package/fesm2022/exhaustive-ui-core-stepper.mjs +3 -0
  69. package/fesm2022/exhaustive-ui-core-stepper.mjs.map +1 -1
  70. package/fesm2022/exhaustive-ui-core-table.mjs +97 -65
  71. package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
  72. package/fesm2022/exhaustive-ui-core-tabs.mjs +37 -7
  73. package/fesm2022/exhaustive-ui-core-tabs.mjs.map +1 -1
  74. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +2 -1
  75. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
  76. package/fesm2022/exhaustive-ui-core-toast.mjs +12 -1
  77. package/fesm2022/exhaustive-ui-core-toast.mjs.map +1 -1
  78. package/fesm2022/exhaustive-ui-core-togglebutton.mjs +9 -2
  79. package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
  80. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +0 -2
  81. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
  82. package/fesm2022/exhaustive-ui-core-tree.mjs +4 -4
  83. package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
  84. package/fesm2022/exhaustive-ui-core-treeselect.mjs +15 -3
  85. package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
  86. package/fesm2022/exhaustive-ui-core-treetable.mjs +4 -0
  87. package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
  88. package/package.json +5 -5
  89. package/schematics/migrate-from-primeflex/index.js +4 -2
  90. package/schematics/migrate-from-primeflex/schema.json +5 -0
  91. package/schematics/utils/package-json.js +17 -0
  92. package/schematics/utils/primeflex.js +45 -10
  93. package/schematics/utils/versions.json +8 -8
  94. package/types/exhaustive-ui-core-api.d.ts +4 -0
  95. package/types/exhaustive-ui-core-basecomponent.d.ts +1 -0
  96. package/types/exhaustive-ui-core-breadcrumb.d.ts +7 -1
  97. package/types/exhaustive-ui-core-cascadeselect.d.ts +1 -1
  98. package/types/exhaustive-ui-core-chart.d.ts +2 -2
  99. package/types/exhaustive-ui-core-confirmdialog.d.ts +3 -2
  100. package/types/exhaustive-ui-core-confirmpopup.d.ts +4 -0
  101. package/types/exhaustive-ui-core-datepicker.d.ts +2 -1
  102. package/types/exhaustive-ui-core-drawer.d.ts +1 -0
  103. package/types/exhaustive-ui-core-fileupload.d.ts +4 -0
  104. package/types/exhaustive-ui-core-iconfield.d.ts +1 -2
  105. package/types/exhaustive-ui-core-inputnumber.d.ts +8 -0
  106. package/types/exhaustive-ui-core-megamenu.d.ts +1 -0
  107. package/types/exhaustive-ui-core-metergroup.d.ts +1 -1
  108. package/types/exhaustive-ui-core-orderlist.d.ts +6 -1
  109. package/types/exhaustive-ui-core-password.d.ts +7 -1
  110. package/types/exhaustive-ui-core-popover.d.ts +3 -0
  111. package/types/exhaustive-ui-core-select.d.ts +1 -0
  112. package/types/exhaustive-ui-core-selectbutton.d.ts +3 -0
  113. package/types/exhaustive-ui-core-splitter.d.ts +1 -0
  114. package/types/exhaustive-ui-core-stepper.d.ts +3 -2
  115. package/types/exhaustive-ui-core-table.d.ts +8 -1
  116. package/types/exhaustive-ui-core-tabs.d.ts +3 -0
  117. package/types/exhaustive-ui-core-togglebutton.d.ts +1 -0
  118. package/types/exhaustive-ui-core-treeselect.d.ts +6 -1
  119. package/types/exhaustive-ui-core-types-chart.d.ts +21 -1
  120. package/types/exhaustive-ui-core-types-confirmdialog.d.ts +1 -3
  121. package/types/exhaustive-ui-core-types-table.d.ts +1 -1
  122. package/types/exhaustive-ui-core-types-treetable.d.ts +2 -2
@@ -12,12 +12,12 @@ import { BaseStyle } from '@exhaustive-ui/core/base';
12
12
  const style = /*css*/ `
13
13
  ${style$1}
14
14
 
15
- /* For Exhaustive */
16
- .p-inputtext.ng-invalid.ng-dirty {
15
+ /* For Exhaustive: the ng-invalid fallback applies only while [invalid] is not bound */
16
+ .p-inputtext.ng-invalid.ng-dirty:not([data-p-invalid]) {
17
17
  border-color: dt('inputtext.invalid.border.color');
18
18
  }
19
19
 
20
- .p-inputtext.ng-invalid.ng-dirty::placeholder {
20
+ .p-inputtext.ng-invalid.ng-dirty:not([data-p-invalid])::placeholder {
21
21
  color: dt('inputtext.invalid.placeholder.color');
22
22
  }
23
23
  `;
@@ -154,7 +154,7 @@ class InputText extends BaseModelHolder {
154
154
  }), /* @ts-ignore */
155
155
  ...(ngDevMode ? [{ debugName: "dataP" }] : /* istanbul ignore next */ []));
156
156
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: InputText, deps: [], target: i0.ɵɵFactoryTarget.Directive });
157
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.1", type: InputText, isStandalone: true, selector: "[pInputText]", inputs: { hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: true, isRequired: false, transformFunction: null }, ptInputText: { classPropertyName: "ptInputText", publicName: "ptInputText", isSignal: true, isRequired: false, transformFunction: null }, pInputTextPT: { classPropertyName: "pInputTextPT", publicName: "pInputTextPT", isSignal: true, isRequired: false, transformFunction: null }, pInputTextUnstyled: { classPropertyName: "pInputTextUnstyled", publicName: "pInputTextUnstyled", isSignal: true, isRequired: false, transformFunction: null }, pSize: { classPropertyName: "pSize", publicName: "pSize", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "input": "onInput()" }, properties: { "class": "cx('root')", "attr.data-p": "dataP()" } }, providers: [InputTextStyle, { provide: PARENT_INSTANCE, useExisting: InputText }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
157
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.1", type: InputText, isStandalone: true, selector: "[pInputText]", inputs: { hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: true, isRequired: false, transformFunction: null }, ptInputText: { classPropertyName: "ptInputText", publicName: "ptInputText", isSignal: true, isRequired: false, transformFunction: null }, pInputTextPT: { classPropertyName: "pInputTextPT", publicName: "pInputTextPT", isSignal: true, isRequired: false, transformFunction: null }, pInputTextUnstyled: { classPropertyName: "pInputTextUnstyled", publicName: "pInputTextUnstyled", isSignal: true, isRequired: false, transformFunction: null }, pSize: { classPropertyName: "pSize", publicName: "pSize", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "input": "onInput()" }, properties: { "class": "cx('root')", "attr.data-p": "dataP()", "attr.data-p-invalid": "invalid()" } }, providers: [InputTextStyle, { provide: PARENT_INSTANCE, useExisting: InputText }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
158
158
  }
159
159
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: InputText, decorators: [{
160
160
  type: Directive,
@@ -162,7 +162,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
162
162
  selector: '[pInputText]',
163
163
  host: {
164
164
  '[class]': "cx('root')",
165
- '[attr.data-p]': 'dataP()'
165
+ '[attr.data-p]': 'dataP()',
166
+ '[attr.data-p-invalid]': 'invalid()'
166
167
  },
167
168
  providers: [InputTextStyle, { provide: PARENT_INSTANCE, useExisting: InputText }],
168
169
  hostDirectives: [Bind]
@@ -1 +1 @@
1
- {"version":3,"file":"exhaustive-ui-core-inputtext.mjs","sources":["../../src/inputtext/style/inputtextstyle.ts","../../src/inputtext/inputtext.ts","../../src/inputtext/exhaustive-ui-core-inputtext.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style as inputtext_style } from '@exhaustive-ui/styles/inputtext';\nimport { BaseStyle } from '@exhaustive-ui/core/base';\n\nconst style = /*css*/ `\n ${inputtext_style}\n\n /* For Exhaustive */\n .p-inputtext.ng-invalid.ng-dirty {\n border-color: dt('inputtext.invalid.border.color');\n }\n\n .p-inputtext.ng-invalid.ng-dirty::placeholder {\n color: dt('inputtext.invalid.placeholder.color');\n }\n`;\n\nconst classes = {\n root: ({ instance }) => [\n 'p-inputtext p-component',\n {\n 'p-filled': instance.$filled(),\n 'p-inputtext-sm': instance.pSize() === 'small',\n 'p-inputtext-lg': instance.pSize() === 'large',\n 'p-invalid': instance.invalid(),\n 'p-variant-filled': instance.$variant() === 'filled',\n 'p-inputtext-fluid': instance.hasFluid()\n }\n ]\n};\n\n@Injectable()\nexport class InputTextStyle extends BaseStyle {\n name = 'inputtext';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * InputText renders a text field to enter data.\n *\n * [Live Demo](https://exhaustive-ui.com/inputtext/)\n *\n * @module inputtextstyle\n *\n */\nexport enum InputTextClasses {\n /**\n * The class of root element\n */\n root = 'p-inputtext'\n}\n\nexport interface InputTextStyle extends BaseStyle {}\n","import { afterEveryRender, afterNextRender, booleanAttribute, computed, Directive, effect, HostListener, inject, input, NgModule } from '@angular/core';\nimport { NgControl } from '@angular/forms';\nimport { PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';\nimport { BaseModelHolder } from '@exhaustive-ui/core/basemodelholder';\nimport { Bind } from '@exhaustive-ui/core/bind';\nimport { Fluid } from '@exhaustive-ui/core/fluid';\nimport { InputTextPassThrough } from '@exhaustive-ui/core/types/inputtext';\nimport { InputTextStyle } from './style/inputtextstyle';\n\n/**\n * InputText directive is an extension to standard input element with theming.\n * @group Components\n */\n@Directive({\n selector: '[pInputText]',\n host: {\n '[class]': \"cx('root')\",\n '[attr.data-p]': 'dataP()'\n },\n providers: [InputTextStyle, { provide: PARENT_INSTANCE, useExisting: InputText }],\n hostDirectives: [Bind]\n})\nexport class InputText extends BaseModelHolder<InputTextPassThrough> {\n componentName = 'InputText';\n\n readonly hostName = input<any>('');\n\n /**\n * Used to pass attributes to DOM elements inside the InputText component.\n * @defaultValue undefined\n * @deprecated use pInputTextPT instead.\n * @group Props\n */\n ptInputText = input<InputTextPassThrough>();\n /**\n * Used to pass attributes to DOM elements inside the InputText component.\n * @defaultValue undefined\n * @group Props\n */\n pInputTextPT = input<InputTextPassThrough>();\n /**\n * Indicates whether the component should be rendered without styles.\n * @defaultValue undefined\n * @group Props\n */\n pInputTextUnstyled = input<boolean | undefined>();\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n ngControl = inject(NgControl, { optional: true, self: true });\n\n pcFluid: Fluid | null = inject(Fluid, { optional: true, host: true, skipSelf: true });\n\n /**\n * Defines the size of the component.\n * @group Props\n */\n readonly pSize = input<'large' | 'small' | undefined>();\n /**\n * Specifies the input variant of the component.\n * @defaultValue undefined\n * @group Props\n */\n variant = input<'filled' | 'outlined' | undefined>();\n /**\n * Spans 100% width of the container when enabled.\n * @defaultValue undefined\n * @group Props\n */\n fluid = input(undefined, { transform: booleanAttribute });\n /**\n * When present, it specifies that the component should have invalid state style.\n * @defaultValue false\n * @group Props\n */\n invalid = input(undefined, { transform: booleanAttribute });\n\n $variant = computed(() => this.variant() || this.config.inputStyle() || this.config.inputVariant());\n\n _componentStyle = inject(InputTextStyle);\n\n constructor() {\n super();\n effect(() => {\n const pt = this.ptInputText() || this.pInputTextPT();\n pt && this.directivePT.set(pt);\n });\n\n effect(() => {\n this.pInputTextUnstyled() && this.directiveUnstyled.set(this.pInputTextUnstyled());\n });\n\n afterNextRender(() => {\n this.writeModelValue(this.ngControl?.value ?? this.el.nativeElement.value);\n });\n\n afterEveryRender(() => {\n this.bindDirectiveInstance.setAttrs(this.ptm('root'));\n });\n }\n\n onDoCheck() {\n this.writeModelValue(this.ngControl?.value ?? this.el.nativeElement.value);\n }\n\n @HostListener('input')\n onInput() {\n this.writeModelValue(this.ngControl?.value ?? this.el.nativeElement.value);\n }\n\n readonly hasFluid = computed(() => this.fluid() ?? !!this.pcFluid);\n\n readonly dataP = computed(() =>\n this.cn({\n invalid: this.invalid(),\n fluid: this.hasFluid(),\n filled: this.$variant() === 'filled',\n [this.pSize() as string]: this.pSize()\n })\n );\n}\n\n@NgModule({\n imports: [InputText],\n exports: [InputText]\n})\nexport class InputTextModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["inputtext_style"],"mappings":";;;;;;;;;;;AAIA,MAAM,KAAK,WAAW;MAChBA,OAAe;;;;;;;;;;CAUpB;AAED,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK;QACpB,yBAAyB;AACzB,QAAA;AACI,YAAA,UAAU,EAAE,QAAQ,CAAC,OAAO,EAAE;AAC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,SAAA,EAHP,CAAC,cAAc,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,EAAA,eAAA,EAAA,IAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAGxE,SAAS,EAAA,UAAA,EAAA,CAAA;kBATrB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,IAAI,EAAE;AACF,wBAAA,SAAS,EAAE,YAAY;AACvB,wBAAA,eAAe,EAAE;AACpB,qBAAA;AACD,oBAAA,SAAS,EAAE,CAAC,cAAc,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,WAAW,EAAA,SAAW,EAAE,CAAC;oBACjF,cAAc,EAAE,CAAC,IAAI;AACxB,iBAAA;;sBAoFI,YAAY;uBAAC,OAAO;;MAqBZ,eAAe,CAAA;uGAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAf,eAAe,EAAA,OAAA,EAAA,CAxGf,SAAS,CAAA,EAAA,OAAA,EAAA,CAAT,SAAS,CAAA,EAAA,CAAA;wGAwGT,eAAe,EAAA,CAAA;;2FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,SAAS,CAAC;oBACpB,OAAO,EAAE,CAAC,SAAS;AACtB,iBAAA;;;AC7HD;;AAEG;;;;"}
1
+ {"version":3,"file":"exhaustive-ui-core-inputtext.mjs","sources":["../../src/inputtext/style/inputtextstyle.ts","../../src/inputtext/inputtext.ts","../../src/inputtext/exhaustive-ui-core-inputtext.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style as inputtext_style } from '@exhaustive-ui/styles/inputtext';\nimport { BaseStyle } from '@exhaustive-ui/core/base';\n\nconst style = /*css*/ `\n ${inputtext_style}\n\n /* For Exhaustive: the ng-invalid fallback applies only while [invalid] is not bound */\n .p-inputtext.ng-invalid.ng-dirty:not([data-p-invalid]) {\n border-color: dt('inputtext.invalid.border.color');\n }\n\n .p-inputtext.ng-invalid.ng-dirty:not([data-p-invalid])::placeholder {\n color: dt('inputtext.invalid.placeholder.color');\n }\n`;\n\nconst classes = {\n root: ({ instance }) => [\n 'p-inputtext p-component',\n {\n 'p-filled': instance.$filled(),\n 'p-inputtext-sm': instance.pSize() === 'small',\n 'p-inputtext-lg': instance.pSize() === 'large',\n 'p-invalid': instance.invalid(),\n 'p-variant-filled': instance.$variant() === 'filled',\n 'p-inputtext-fluid': instance.hasFluid()\n }\n ]\n};\n\n@Injectable()\nexport class InputTextStyle extends BaseStyle {\n name = 'inputtext';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * InputText renders a text field to enter data.\n *\n * [Live Demo](https://exhaustive-ui.com/inputtext/)\n *\n * @module inputtextstyle\n *\n */\nexport enum InputTextClasses {\n /**\n * The class of root element\n */\n root = 'p-inputtext'\n}\n\nexport interface InputTextStyle extends BaseStyle {}\n","import { afterEveryRender, afterNextRender, booleanAttribute, computed, Directive, effect, HostListener, inject, input, NgModule } from '@angular/core';\nimport { NgControl } from '@angular/forms';\nimport { PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';\nimport { BaseModelHolder } from '@exhaustive-ui/core/basemodelholder';\nimport { Bind } from '@exhaustive-ui/core/bind';\nimport { Fluid } from '@exhaustive-ui/core/fluid';\nimport { InputTextPassThrough } from '@exhaustive-ui/core/types/inputtext';\nimport { InputTextStyle } from './style/inputtextstyle';\n\n/**\n * InputText directive is an extension to standard input element with theming.\n * @group Components\n */\n@Directive({\n selector: '[pInputText]',\n host: {\n '[class]': \"cx('root')\",\n '[attr.data-p]': 'dataP()',\n '[attr.data-p-invalid]': 'invalid()'\n },\n providers: [InputTextStyle, { provide: PARENT_INSTANCE, useExisting: InputText }],\n hostDirectives: [Bind]\n})\nexport class InputText extends BaseModelHolder<InputTextPassThrough> {\n componentName = 'InputText';\n\n readonly hostName = input<any>('');\n\n /**\n * Used to pass attributes to DOM elements inside the InputText component.\n * @defaultValue undefined\n * @deprecated use pInputTextPT instead.\n * @group Props\n */\n ptInputText = input<InputTextPassThrough>();\n /**\n * Used to pass attributes to DOM elements inside the InputText component.\n * @defaultValue undefined\n * @group Props\n */\n pInputTextPT = input<InputTextPassThrough>();\n /**\n * Indicates whether the component should be rendered without styles.\n * @defaultValue undefined\n * @group Props\n */\n pInputTextUnstyled = input<boolean | undefined>();\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n ngControl = inject(NgControl, { optional: true, self: true });\n\n pcFluid: Fluid | null = inject(Fluid, { optional: true, host: true, skipSelf: true });\n\n /**\n * Defines the size of the component.\n * @group Props\n */\n readonly pSize = input<'large' | 'small' | undefined>();\n /**\n * Specifies the input variant of the component.\n * @defaultValue undefined\n * @group Props\n */\n variant = input<'filled' | 'outlined' | undefined>();\n /**\n * Spans 100% width of the container when enabled.\n * @defaultValue undefined\n * @group Props\n */\n fluid = input(undefined, { transform: booleanAttribute });\n /**\n * When present, it specifies that the component should have invalid state style.\n * @defaultValue false\n * @group Props\n */\n invalid = input(undefined, { transform: booleanAttribute });\n\n $variant = computed(() => this.variant() || this.config.inputStyle() || this.config.inputVariant());\n\n _componentStyle = inject(InputTextStyle);\n\n constructor() {\n super();\n effect(() => {\n const pt = this.ptInputText() || this.pInputTextPT();\n pt && this.directivePT.set(pt);\n });\n\n effect(() => {\n this.pInputTextUnstyled() && this.directiveUnstyled.set(this.pInputTextUnstyled());\n });\n\n afterNextRender(() => {\n this.writeModelValue(this.ngControl?.value ?? this.el.nativeElement.value);\n });\n\n afterEveryRender(() => {\n this.bindDirectiveInstance.setAttrs(this.ptm('root'));\n });\n }\n\n onDoCheck() {\n this.writeModelValue(this.ngControl?.value ?? this.el.nativeElement.value);\n }\n\n @HostListener('input')\n onInput() {\n this.writeModelValue(this.ngControl?.value ?? this.el.nativeElement.value);\n }\n\n readonly hasFluid = computed(() => this.fluid() ?? !!this.pcFluid);\n\n readonly dataP = computed(() =>\n this.cn({\n invalid: this.invalid(),\n fluid: this.hasFluid(),\n filled: this.$variant() === 'filled',\n [this.pSize() as string]: this.pSize()\n })\n );\n}\n\n@NgModule({\n imports: [InputText],\n exports: [InputText]\n})\nexport class InputTextModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["inputtext_style"],"mappings":";;;;;;;;;;;AAIA,MAAM,KAAK,WAAW;MAChBA,OAAe;;;;;;;;;;CAUpB;AAED,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK;QACpB,yBAAyB;AACzB,QAAA;AACI,YAAA,UAAU,EAAE,QAAQ,CAAC,OAAO,EAAE;AAC9B,YAAA,gBAAgB,EAAE,QAAQ,CAAC,KAAK,EAAE,KAAK,OAAO;AAC9C,YAAA,gBAAgB,EAAE,QAAQ,CAAC,KAAK,EAAE,KAAK,OAAO;AAC9C,YAAA,WAAW,EAAE,QAAQ,CAAC,OAAO,EAAE;AAC/B,YAAA,kBAAkB,EAAE,QAAQ,CAAC,QAAQ,EAAE,KAAK,QAAQ;AACpD,YAAA,mBAAmB,EAAE,QAAQ,CAAC,QAAQ;AACzC;AACJ;CACJ;AAGK,MAAO,cAAe,SAAQ,SAAS,CAAA;IACzC,IAAI,GAAG,WAAW;IAElB,KAAK,GAAG,KAAK;IAEb,OAAO,GAAG,OAAO;uGALR,cAAc,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAAd,cAAc,EAAA,CAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B;;AASD;;;;;;;;AAQG;IACS;AAAZ,CAAA,UAAY,gBAAg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AA;;sBAoFI,YAAY;uBAAC,OAAO;;MAqBZ,eAAe,CAAA;uGAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAf,eAAe,EAAA,OAAA,EAAA,CAxGf,SAAS,CAAA,EAAA,OAAA,EAAA,CAAT,SAAS,CAAA,EAAA,CAAA;wGAwGT,eAAe,EAAA,CAAA;;2FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,SAAS,CAAC;oBACpB,OAAO,EAAE,CAAC,SAAS;AACtB,iBAAA;;;AC9HD;;AAEG;;;;"}
@@ -1369,7 +1369,7 @@ class Listbox extends BaseEditableHolder {
1369
1369
  role="searchbox"
1370
1370
  [value]="_filterValue() || ''"
1371
1371
  [attr.disabled]="$disabled() ? '' : undefined"
1372
- [attr.aria-owns]="_id() + '_list'"
1372
+ [attr.aria-controls]="_id() + '_list'"
1373
1373
  [attr.aria-activedescendant]="focusedOptionId()"
1374
1374
  [attr.placeholder]="filterPlaceHolder()"
1375
1375
  [attr.aria-label]="ariaFilterLabel()"
@@ -1531,6 +1531,7 @@ class Listbox extends BaseEditableHolder {
1531
1531
  [tabindex]="-1"
1532
1532
  [variant]="config.inputStyle() === 'filled' || config.inputVariant() === 'filled' ? 'filled' : 'outlined'"
1533
1533
  [binary]="true"
1534
+ [ariaLabel]="getOptionLabel(option)"
1534
1535
  [pt]="ptm('pcCheckbox')"
1535
1536
  hostName="listbox"
1536
1537
  [unstyled]="unstyled()"
@@ -1659,7 +1660,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1659
1660
  role="searchbox"
1660
1661
  [value]="_filterValue() || ''"
1661
1662
  [attr.disabled]="$disabled() ? '' : undefined"
1662
- [attr.aria-owns]="_id() + '_list'"
1663
+ [attr.aria-controls]="_id() + '_list'"
1663
1664
  [attr.aria-activedescendant]="focusedOptionId()"
1664
1665
  [attr.placeholder]="filterPlaceHolder()"
1665
1666
  [attr.aria-label]="ariaFilterLabel()"
@@ -1821,6 +1822,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1821
1822
  [tabindex]="-1"
1822
1823
  [variant]="config.inputStyle() === 'filled' || config.inputVariant() === 'filled' ? 'filled' : 'outlined'"
1823
1824
  [binary]="true"
1825
+ [ariaLabel]="getOptionLabel(option)"
1824
1826
  [pt]="ptm('pcCheckbox')"
1825
1827
  hostName="listbox"
1826
1828
  [unstyled]="unstyled()"