@tectra-ng/ui 0.1.1 → 0.1.3

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 (145) hide show
  1. package/README.md +36 -19
  2. package/analog-clock/README.md +31 -0
  3. package/countdown/README.md +45 -0
  4. package/country/README.md +14 -4
  5. package/data-view/README.md +71 -0
  6. package/datepicker/README.md +109 -0
  7. package/export/README.md +79 -0
  8. package/export-font/OFL.txt +93 -0
  9. package/export-font/README.md +7 -0
  10. package/fesm2022/tectra-ng-ui-analog-clock.mjs +386 -0
  11. package/fesm2022/tectra-ng-ui-analog-clock.mjs.map +1 -0
  12. package/fesm2022/tectra-ng-ui-autocomplete.mjs +2 -2
  13. package/fesm2022/tectra-ng-ui-autocomplete.mjs.map +1 -1
  14. package/fesm2022/tectra-ng-ui-cascade-select.mjs +2 -2
  15. package/fesm2022/tectra-ng-ui-cascade-select.mjs.map +1 -1
  16. package/fesm2022/tectra-ng-ui-chip.mjs +2 -2
  17. package/fesm2022/tectra-ng-ui-chip.mjs.map +1 -1
  18. package/fesm2022/tectra-ng-ui-chips-input.mjs +2 -2
  19. package/fesm2022/tectra-ng-ui-chips-input.mjs.map +1 -1
  20. package/fesm2022/tectra-ng-ui-color-picker.mjs +2 -2
  21. package/fesm2022/tectra-ng-ui-color-picker.mjs.map +1 -1
  22. package/fesm2022/tectra-ng-ui-countdown.mjs +513 -0
  23. package/fesm2022/tectra-ng-ui-countdown.mjs.map +1 -0
  24. package/fesm2022/tectra-ng-ui-country.mjs +47 -6
  25. package/fesm2022/tectra-ng-ui-country.mjs.map +1 -1
  26. package/fesm2022/tectra-ng-ui-data-view.mjs +1370 -0
  27. package/fesm2022/tectra-ng-ui-data-view.mjs.map +1 -0
  28. package/fesm2022/tectra-ng-ui-datepicker.mjs +2640 -0
  29. package/fesm2022/tectra-ng-ui-datepicker.mjs.map +1 -0
  30. package/fesm2022/tectra-ng-ui-export-font.mjs +7 -0
  31. package/fesm2022/tectra-ng-ui-export-font.mjs.map +1 -0
  32. package/fesm2022/tectra-ng-ui-export.mjs +2574 -0
  33. package/fesm2022/tectra-ng-ui-export.mjs.map +1 -0
  34. package/fesm2022/tectra-ng-ui-fieldset.mjs +2 -2
  35. package/fesm2022/tectra-ng-ui-fieldset.mjs.map +1 -1
  36. package/fesm2022/tectra-ng-ui-input-number.mjs +2 -2
  37. package/fesm2022/tectra-ng-ui-input-number.mjs.map +1 -1
  38. package/fesm2022/tectra-ng-ui-input.mjs +2 -2
  39. package/fesm2022/tectra-ng-ui-input.mjs.map +1 -1
  40. package/fesm2022/tectra-ng-ui-label.mjs +4 -4
  41. package/fesm2022/tectra-ng-ui-label.mjs.map +1 -1
  42. package/fesm2022/tectra-ng-ui-listbox.mjs +2 -2
  43. package/fesm2022/tectra-ng-ui-listbox.mjs.map +1 -1
  44. package/fesm2022/tectra-ng-ui-menu.mjs +2 -2
  45. package/fesm2022/tectra-ng-ui-menu.mjs.map +1 -1
  46. package/fesm2022/tectra-ng-ui-message.mjs +2 -2
  47. package/fesm2022/tectra-ng-ui-message.mjs.map +1 -1
  48. package/fesm2022/tectra-ng-ui-month-calendar.mjs +601 -0
  49. package/fesm2022/tectra-ng-ui-month-calendar.mjs.map +1 -0
  50. package/fesm2022/tectra-ng-ui-multiselect.mjs +2 -2
  51. package/fesm2022/tectra-ng-ui-multiselect.mjs.map +1 -1
  52. package/fesm2022/tectra-ng-ui-paginator.mjs +2 -2
  53. package/fesm2022/tectra-ng-ui-paginator.mjs.map +1 -1
  54. package/fesm2022/tectra-ng-ui-select.mjs +4 -4
  55. package/fesm2022/tectra-ng-ui-select.mjs.map +1 -1
  56. package/fesm2022/tectra-ng-ui-slider.mjs +2 -2
  57. package/fesm2022/tectra-ng-ui-slider.mjs.map +1 -1
  58. package/fesm2022/tectra-ng-ui-sparkline.mjs +240 -0
  59. package/fesm2022/tectra-ng-ui-sparkline.mjs.map +1 -0
  60. package/fesm2022/tectra-ng-ui-stat-tiles.mjs +661 -0
  61. package/fesm2022/tectra-ng-ui-stat-tiles.mjs.map +1 -0
  62. package/fesm2022/tectra-ng-ui-table.mjs +1368 -1348
  63. package/fesm2022/tectra-ng-ui-table.mjs.map +1 -1
  64. package/fesm2022/tectra-ng-ui-tag.mjs +2 -2
  65. package/fesm2022/tectra-ng-ui-tag.mjs.map +1 -1
  66. package/fesm2022/tectra-ng-ui-timeline.mjs +407 -0
  67. package/fesm2022/tectra-ng-ui-timeline.mjs.map +1 -0
  68. package/fesm2022/tectra-ng-ui-toggle-switch.mjs +2 -2
  69. package/fesm2022/tectra-ng-ui-toggle-switch.mjs.map +1 -1
  70. package/fesm2022/tectra-ng-ui-tree-select.mjs +7 -46
  71. package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -1
  72. package/fesm2022/tectra-ng-ui-tree-table.mjs +901 -0
  73. package/fesm2022/tectra-ng-ui-tree-table.mjs.map +1 -0
  74. package/fesm2022/tectra-ng-ui-tree.mjs +1940 -0
  75. package/fesm2022/tectra-ng-ui-tree.mjs.map +1 -0
  76. package/fesm2022/tectra-ng-ui-virtual-scroller.mjs +928 -0
  77. package/fesm2022/tectra-ng-ui-virtual-scroller.mjs.map +1 -0
  78. package/month-calendar/README.md +46 -0
  79. package/package.json +56 -4
  80. package/sparkline/README.md +27 -0
  81. package/stat-tiles/README.md +53 -0
  82. package/timeline/README.md +42 -0
  83. package/tree/README.md +93 -0
  84. package/tree-table/README.md +84 -0
  85. package/types/tectra-ng-ui-analog-clock.d.ts +127 -0
  86. package/types/tectra-ng-ui-analog-clock.d.ts.map +1 -0
  87. package/types/tectra-ng-ui-autocomplete.d.ts +11 -0
  88. package/types/tectra-ng-ui-autocomplete.d.ts.map +1 -1
  89. package/types/tectra-ng-ui-chip.d.ts +3 -0
  90. package/types/tectra-ng-ui-chip.d.ts.map +1 -1
  91. package/types/tectra-ng-ui-countdown.d.ts +150 -0
  92. package/types/tectra-ng-ui-countdown.d.ts.map +1 -0
  93. package/types/tectra-ng-ui-country-select.d.ts +11 -0
  94. package/types/tectra-ng-ui-country-select.d.ts.map +1 -1
  95. package/types/tectra-ng-ui-country.d.ts +9 -3
  96. package/types/tectra-ng-ui-country.d.ts.map +1 -1
  97. package/types/tectra-ng-ui-data-view.d.ts +363 -0
  98. package/types/tectra-ng-ui-data-view.d.ts.map +1 -0
  99. package/types/tectra-ng-ui-datepicker.d.ts +801 -0
  100. package/types/tectra-ng-ui-datepicker.d.ts.map +1 -0
  101. package/types/tectra-ng-ui-export-font.d.ts +5 -0
  102. package/types/tectra-ng-ui-export-font.d.ts.map +1 -0
  103. package/types/tectra-ng-ui-export.d.ts +427 -0
  104. package/types/tectra-ng-ui-export.d.ts.map +1 -0
  105. package/types/tectra-ng-ui-fieldset.d.ts +8 -0
  106. package/types/tectra-ng-ui-fieldset.d.ts.map +1 -1
  107. package/types/tectra-ng-ui-input-number.d.ts +1 -0
  108. package/types/tectra-ng-ui-input-number.d.ts.map +1 -1
  109. package/types/tectra-ng-ui-input.d.ts +4 -0
  110. package/types/tectra-ng-ui-input.d.ts.map +1 -1
  111. package/types/tectra-ng-ui-menu.d.ts +2 -0
  112. package/types/tectra-ng-ui-menu.d.ts.map +1 -1
  113. package/types/tectra-ng-ui-message.d.ts +5 -0
  114. package/types/tectra-ng-ui-message.d.ts.map +1 -1
  115. package/types/tectra-ng-ui-month-calendar.d.ts +287 -0
  116. package/types/tectra-ng-ui-month-calendar.d.ts.map +1 -0
  117. package/types/tectra-ng-ui-multiselect.d.ts +11 -0
  118. package/types/tectra-ng-ui-multiselect.d.ts.map +1 -1
  119. package/types/tectra-ng-ui-paginator.d.ts +1 -0
  120. package/types/tectra-ng-ui-paginator.d.ts.map +1 -1
  121. package/types/tectra-ng-ui-select.d.ts +11 -0
  122. package/types/tectra-ng-ui-select.d.ts.map +1 -1
  123. package/types/tectra-ng-ui-slider.d.ts +1 -0
  124. package/types/tectra-ng-ui-slider.d.ts.map +1 -1
  125. package/types/tectra-ng-ui-sparkline.d.ts +80 -0
  126. package/types/tectra-ng-ui-sparkline.d.ts.map +1 -0
  127. package/types/tectra-ng-ui-stat-tiles.d.ts +287 -0
  128. package/types/tectra-ng-ui-stat-tiles.d.ts.map +1 -0
  129. package/types/tectra-ng-ui-table.d.ts +181 -15
  130. package/types/tectra-ng-ui-table.d.ts.map +1 -1
  131. package/types/tectra-ng-ui-tag.d.ts +8 -0
  132. package/types/tectra-ng-ui-tag.d.ts.map +1 -1
  133. package/types/tectra-ng-ui-timeline.d.ts +129 -0
  134. package/types/tectra-ng-ui-timeline.d.ts.map +1 -0
  135. package/types/tectra-ng-ui-toggle-switch.d.ts +5 -0
  136. package/types/tectra-ng-ui-toggle-switch.d.ts.map +1 -1
  137. package/types/tectra-ng-ui-tree-select.d.ts +19 -22
  138. package/types/tectra-ng-ui-tree-select.d.ts.map +1 -1
  139. package/types/tectra-ng-ui-tree-table.d.ts +94 -0
  140. package/types/tectra-ng-ui-tree-table.d.ts.map +1 -0
  141. package/types/tectra-ng-ui-tree.d.ts +571 -0
  142. package/types/tectra-ng-ui-tree.d.ts.map +1 -0
  143. package/types/tectra-ng-ui-virtual-scroller.d.ts +297 -0
  144. package/types/tectra-ng-ui-virtual-scroller.d.ts.map +1 -0
  145. package/virtual-scroller/README.md +60 -0
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-input-number.mjs","names":[],"sources":["../../../../packages/ui/input-number/src/number-format.ts","../../../../packages/ui/input-number/src/input-number.component.ts","../../../../packages/ui/input-number/src/input-number.component.html"],"sourcesContent":["export interface TxNumberFormatOptions {\n locale: string;\n mode: 'decimal' | 'currency';\n currency?: string;\n currencyDisplay?: 'symbol' | 'narrowSymbol' | 'code' | 'name';\n useGrouping: boolean;\n minFractionDigits?: number;\n maxFractionDigits?: number;\n prefix?: string;\n suffix?: string;\n}\n\ninterface TxNumberRead {\n negative: boolean;\n digits: string;\n fraction: string | null;\n}\n\nconst NUMBER_PARTS = ['integer', 'group', 'decimal', 'fraction'];\n\nexport class TxNumberFormat {\n readonly decimal: string;\n readonly group: string;\n readonly before: string;\n readonly after: string;\n readonly maxFraction: number;\n private full: Intl.NumberFormat;\n private integer: Intl.NumberFormat;\n\n constructor(options: TxNumberFormatOptions) {\n const style: Intl.NumberFormatOptions =\n options.mode === 'currency'\n ? { style: 'currency', currency: options.currency ?? 'USD', currencyDisplay: options.currencyDisplay ?? 'symbol' }\n : { style: 'decimal' };\n const defaults = new Intl.NumberFormat(options.locale, style).resolvedOptions();\n const currency = options.mode === 'currency';\n const min = options.minFractionDigits ?? (currency ? (defaults.minimumFractionDigits ?? 2) : 0);\n const max = Math.max(min, options.maxFractionDigits ?? (currency ? (defaults.maximumFractionDigits ?? 2) : 3));\n this.full = new Intl.NumberFormat(options.locale, { ...style, useGrouping: options.useGrouping, minimumFractionDigits: min, maximumFractionDigits: max });\n this.integer = new Intl.NumberFormat(options.locale, { useGrouping: options.useGrouping, maximumFractionDigits: 0 });\n const plain = new Intl.NumberFormat(options.locale).formatToParts(12345.6);\n this.decimal = plain.find((part) => part.type === 'decimal')?.value ?? '.';\n this.group = plain.find((part) => part.type === 'group')?.value ?? ',';\n this.maxFraction = max;\n const sample = this.full.formatToParts(-12345.6);\n const first = sample.findIndex((part) => NUMBER_PARTS.includes(part.type));\n const last = sample.length - 1 - [...sample].reverse().findIndex((part) => NUMBER_PARTS.includes(part.type));\n const affix = (parts: Intl.NumberFormatPart[]) => parts.filter((part) => part.type !== 'minusSign').map((part) => part.value).join('');\n this.before = (options.prefix ?? '') + affix(sample.slice(0, first));\n this.after = affix(sample.slice(last + 1)) + (options.suffix ?? '');\n }\n\n format(value: number | null): string {\n if (value === null || Number.isNaN(value)) {\n return '';\n }\n const number = this.full\n .formatToParts(Math.abs(value))\n .filter((part) => NUMBER_PARTS.includes(part.type))\n .map((part) => part.value)\n .join('');\n return `${value < 0 ? '-' : ''}${this.before}${number}${this.after}`;\n }\n\n formatTyping(text: string): { display: string; value: number | null } {\n const read = this.read(text);\n if (read.digits === '' && read.fraction === null) {\n return { display: read.negative ? '-' : '', value: null };\n }\n const integer = (read.digits || '0').replace(/^0+(?=\\d)/, '');\n const fraction = read.fraction === null ? null : read.fraction.slice(0, this.maxFraction);\n const grouped = this.integer.format(BigInt(integer));\n const display = `${read.negative ? '-' : ''}${this.before}${grouped}${fraction === null ? '' : this.decimal + fraction}${this.after}`;\n const value = Number(`${read.negative ? '-' : ''}${integer}${fraction ? `.${fraction}` : ''}`);\n return { display, value };\n }\n\n parse(text: string): number | null {\n return this.formatTyping(text).value;\n }\n\n countBefore(text: string, caret: number): number {\n let count = 0;\n let decimalSeen = false;\n for (const char of this.strip(text.slice(0, caret))) {\n if (/\\d/.test(char)) {\n count += 1;\n } else if (!decimalSeen && this.isDecimal(char)) {\n decimalSeen = true;\n count += 1;\n }\n }\n return count;\n }\n\n caretFor(display: string, count: number): number {\n const start = (display.startsWith('-') ? 1 : 0) + this.before.length;\n if (count <= 0) {\n return start;\n }\n let seen = 0;\n for (let index = start; index < display.length - this.after.length; index += 1) {\n if (/\\d/.test(display[index]) || display[index] === this.decimal) {\n seen += 1;\n if (seen === count) {\n return index + 1;\n }\n }\n }\n return display.length - this.after.length;\n }\n\n private read(text: string): TxNumberRead {\n const negative = text.includes('-');\n let digits = '';\n let fraction: string | null = null;\n for (const char of this.strip(text)) {\n if (/\\d/.test(char)) {\n if (fraction === null) {\n digits += char;\n } else {\n fraction += char;\n }\n } else if (fraction === null && this.maxFraction > 0 && this.isDecimal(char)) {\n fraction = '';\n }\n }\n return { negative, digits, fraction };\n }\n\n private strip(text: string): string {\n let body = text.replace('-', '');\n if (this.before && body.startsWith(this.before)) {\n body = body.slice(this.before.length);\n }\n if (this.after && body.endsWith(this.after)) {\n body = body.slice(0, -this.after.length);\n }\n return body;\n }\n\n private isDecimal(char: string): boolean {\n return char === this.decimal || (this.decimal === ',' && char === '.' && this.group !== '.');\n }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n booleanAttribute,\n computed,\n effect,\n forwardRef,\n inject,\n input,\n numberAttribute,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { uniqueId } from '@tectra-ng/core/a11y';\nimport { TxPassThrough, TxPassThroughOptions, injectPassThrough, injectUnstyled } from '@tectra-ng/core/config';\nimport { injectFluid } from '@tectra-ng/core/fluid';\nimport { TxFormControlBase, injectFieldInvalid } from '@tectra-ng/core/forms';\nimport { TxLocaleService, injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean, optionalNumber } from '@tectra-ng/core/utils';\nimport { TxIcon, TxIconName, TxIconRegistry } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraInputNumberTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxInput } from '@tectra-ng/ui/input';\nimport {\n TxInputNumberButtonLayout,\n TxInputNumberChangeEvent,\n TxInputNumberCurrencyDisplay,\n TxInputNumberMode,\n TxInputNumberPart,\n TxInputNumberSize,\n TxInputNumberVariant,\n} from './input-number.types';\nimport { TxNumberFormat } from './number-format';\n\nconst REPEAT_DELAY = 400;\nconst REPEAT_INTERVAL = 60;\n\n@Component({\n selector: 'tx-input-number',\n imports: [TxInput, TxIcon, NgTemplateOutlet],\n templateUrl: './input-number.component.html',\n styleUrl: './input-number.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TxInputNumber), multi: true }],\n host: {\n class: 'tx-input-number',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-layout]': 'showButtons() ? buttonLayout() : null',\n '[attr.data-size]': 'size()',\n '[class.tx-input-number--fluid]': 'isFluid()',\n '[class.tx-input-number--filled]': 'value() !== null',\n '[class.tx-input-number--invalid]': 'isInvalid()',\n '[class.tx-input-number--disabled]': 'isDisabled()',\n },\n})\nexport class TxInputNumber extends TxFormControlBase<number> {\n private txIconRegistry = inject(TxIconRegistry);\n private localeService = inject(TxLocaleService);\n private generatedId = uniqueId('tx-input-number');\n private repeatTimer: ReturnType<typeof setTimeout> | null = null;\n\n readonly mode = input<TxInputNumberMode>('decimal');\n readonly currency = input<string | undefined>(undefined);\n readonly currencyDisplay = input<TxInputNumberCurrencyDisplay>('symbol');\n readonly locale = input<string | undefined>(undefined);\n readonly useGrouping = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly minFractionDigits = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly maxFractionDigits = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly prefix = input<string | undefined>(undefined);\n readonly suffix = input<string | undefined>(undefined);\n readonly min = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly max = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly step = input<number, unknown>(1, { transform: numberAttribute });\n readonly showButtons = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly buttonLayout = input<TxInputNumberButtonLayout>('stacked');\n readonly incrementIcon = input<TxIconName | (string & {}) | undefined>(undefined);\n readonly decrementIcon = input<TxIconName | (string & {}) | undefined>(undefined);\n readonly allowEmpty = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly showClear = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly placeholder = input<string | undefined>(undefined);\n readonly size = input<TxInputNumberSize>('medium');\n readonly variant = input<TxInputNumberVariant>('outlined');\n readonly fluid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly invalid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n // eslint-disable-next-line @angular-eslint/no-input-rename\n readonly disabledInput = input<boolean, unknown>(false, { alias: 'disabled', transform: booleanAttribute });\n readonly readonly = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly required = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly name = input<string | undefined>(undefined);\n readonly inputId = input<string | undefined>(undefined);\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly ariaLabelledBy = input<string | undefined>(undefined);\n readonly tabindex = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly dt = input<TectraDeepPartial<TectraInputNumberTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxInputNumberPart, TxInputNumber> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly changed = output<TxInputNumberChangeEvent>();\n readonly cleared = output<void>();\n\n readonly inputRef = viewChild.required<ElementRef<HTMLInputElement>>('input');\n\n readonly translations = injectTranslations();\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly isFluid = injectFluid(this.fluid);\n readonly isInvalid = injectFieldInvalid(this.invalid);\n readonly passThrough = injectPassThrough('inputNumber', this, this.pt, this.ptOptions);\n\n readonly isFocused = signal(false);\n readonly resolvedId = computed(() => this.inputId() ?? this.generatedId);\n readonly isDisabled = computed(() => this.disabled() || this.disabledInput());\n readonly isEditable = computed(() => !this.isDisabled() && !this.readonly());\n readonly format = computed(\n () =>\n new TxNumberFormat({\n locale: this.locale() ?? this.localeService.locale().intl,\n mode: this.mode(),\n currency: this.currency(),\n currencyDisplay: this.currencyDisplay(),\n useGrouping: this.useGrouping(),\n minFractionDigits: this.minFractionDigits(),\n maxFractionDigits: this.maxFractionDigits(),\n prefix: this.prefix(),\n suffix: this.suffix(),\n }),\n );\n readonly canIncrement = computed(() => this.isEditable() && (this.max() === undefined || (this.value() ?? 0) < (this.max() as number)));\n readonly canDecrement = computed(() => this.isEditable() && (this.min() === undefined || (this.value() ?? 0) > (this.min() as number)));\n readonly incrementIconName = computed(() => this.iconName(this.incrementIcon(), this.buttonLayout() === 'stacked' ? 'chevron-up' : 'plus'));\n readonly decrementIconName = computed(() => this.iconName(this.decrementIcon(), this.buttonLayout() === 'stacked' ? 'chevron-down' : 'minus'));\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-input-number'), ...this.passThrough().root?.style }));\n\n constructor() {\n super();\n effect(() => {\n this.format();\n if (!this.isFocused()) {\n this.paint(this.format().format(this.value()));\n }\n });\n inject(DestroyRef).onDestroy(() => this.stopRepeat());\n }\n\n override writeValue(value: number | null): void {\n super.writeValue(typeof value === 'number' && !Number.isNaN(value) ? value : null);\n queueMicrotask(() => this.paint(this.format().format(this.value())));\n }\n\n focus(): void {\n this.inputRef().nativeElement.focus();\n }\n\n onInput(event: Event): void {\n const element = this.inputRef().nativeElement;\n const format = this.format();\n const count = format.countBefore(element.value, element.selectionStart ?? element.value.length);\n const typed = format.formatTyping(this.allowsNegative() ? element.value : element.value.replace('-', ''));\n this.paint(typed.display);\n element.setSelectionRange(format.caretFor(typed.display, count), format.caretFor(typed.display, count));\n this.commit(typed.value, event);\n }\n\n onKeydown(event: KeyboardEvent): void {\n if (!this.isEditable()) {\n return;\n }\n switch (event.key) {\n case 'ArrowUp':\n event.preventDefault();\n this.spin(1, event);\n break;\n case 'ArrowDown':\n event.preventDefault();\n this.spin(-1, event);\n break;\n case 'Home':\n if (this.min() !== undefined) {\n event.preventDefault();\n this.commit(this.min() as number, event, true);\n }\n break;\n case 'End':\n if (this.max() !== undefined) {\n event.preventDefault();\n this.commit(this.max() as number, event, true);\n }\n break;\n case 'Enter':\n this.finish(event);\n break;\n }\n }\n\n onFocus(): void {\n this.isFocused.set(true);\n }\n\n onBlur(event: Event): void {\n this.isFocused.set(false);\n this.finish(event);\n this.markTouched();\n }\n\n startRepeat(direction: 1 | -1, event: PointerEvent): void {\n if (event.button !== 0 || !this.isEditable()) {\n return;\n }\n event.preventDefault();\n this.focus();\n this.spin(direction, event);\n this.stopRepeat();\n const repeat = (delay: number) => {\n this.repeatTimer = setTimeout(() => {\n this.spin(direction, event);\n repeat(REPEAT_INTERVAL);\n }, delay);\n };\n repeat(REPEAT_DELAY);\n }\n\n stopRepeat(): void {\n if (this.repeatTimer) {\n clearTimeout(this.repeatTimer);\n this.repeatTimer = null;\n }\n }\n\n clear(event: Event): void {\n this.commit(this.allowEmpty() ? null : (this.min() ?? 0), event, true);\n this.cleared.emit();\n this.focus();\n }\n\n private spin(direction: 1 | -1, event: Event): void {\n const current = this.value() ?? 0;\n const precision = Math.max(decimals(this.step()), decimals(current));\n const next = Number((current + direction * this.step()).toFixed(precision));\n this.commit(this.clamp(next), event, true);\n if ((direction === 1 && !this.canIncrement()) || (direction === -1 && !this.canDecrement())) {\n this.stopRepeat();\n }\n }\n\n private finish(event: Event): void {\n let next = this.value();\n if (next === null && !this.allowEmpty()) {\n next = this.min() ?? 0;\n }\n next = next === null ? null : this.clamp(next);\n this.commit(next, event, true);\n }\n\n private commit(value: number | null, event: Event, repaint = false): void {\n if (repaint) {\n this.paint(this.format().format(value));\n }\n if (value !== this.value()) {\n this.updateValue(value);\n this.changed.emit({ value, originalEvent: event });\n }\n }\n\n private clamp(value: number): number {\n const min = this.min();\n const max = this.max();\n return Math.min(max ?? Infinity, Math.max(min ?? -Infinity, value));\n }\n\n private allowsNegative(): boolean {\n const min = this.min();\n return min === undefined || min < 0;\n }\n\n private paint(text: string): void {\n const element = this.inputRef().nativeElement;\n if (element.value !== text) {\n element.value = text;\n }\n }\n\n private iconName(icon: string | undefined, fallback: string): { name: string | null; className: string | null } {\n const resolved = icon ?? fallback;\n return this.txIconRegistry.has(resolved) ? { name: resolved, className: null } : { name: null, className: resolved };\n }\n}\n\nfunction decimals(value: number): number {\n const text = String(value);\n return text.includes('.') ? text.split('.')[1].length : 0;\n}\n","@if (showButtons() && buttonLayout() !== 'stacked') {\n <button\n type=\"button\"\n tabindex=\"-1\"\n class=\"tx-input-number__button tx-input-number__decrement\"\n [class]=\"passThrough().decrement?.class\"\n [style]=\"passThrough().decrement?.style\"\n [attr.aria-label]=\"translations().decrement\"\n [disabled]=\"!canDecrement()\"\n (pointerdown)=\"startRepeat(-1, $event)\"\n (pointerup)=\"stopRepeat()\"\n (pointerleave)=\"stopRepeat()\"\n (pointercancel)=\"stopRepeat()\"\n >\n @if (decrementIconName().name; as name) {\n <tx-icon [name]=\"name\" />\n } @else {\n <span [class]=\"decrementIconName().className\"></span>\n }\n </button>\n}\n<input\n #input\n txInput\n type=\"text\"\n role=\"spinbutton\"\n inputmode=\"decimal\"\n autocomplete=\"off\"\n class=\"tx-input-number__input\"\n [class]=\"passThrough().input?.class\"\n [style]=\"passThrough().input?.style\"\n [id]=\"resolvedId()\"\n [size]=\"size()\"\n [variant]=\"variant()\"\n [fluid]=\"true\"\n [invalid]=\"isInvalid()\"\n [unstyled]=\"isUnstyled()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [attr.placeholder]=\"placeholder() ?? null\"\n [attr.name]=\"name() ?? null\"\n [attr.tabindex]=\"tabindex() ?? null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-valuenow]=\"value() ?? null\"\n [attr.aria-valuemin]=\"min() ?? null\"\n [attr.aria-valuemax]=\"max() ?? null\"\n (input)=\"onInput($event)\"\n (keydown)=\"onKeydown($event)\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur($event)\"\n/>\n@if (showClear() && value() !== null && isEditable()) {\n <button\n type=\"button\"\n class=\"tx-input-number__clear\"\n [class]=\"passThrough().clear?.class\"\n [style]=\"passThrough().clear?.style\"\n [attr.aria-label]=\"translations().clear\"\n [title]=\"translations().clear\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"clear($event)\"\n >\n <tx-icon [name]=\"'times'\" />\n </button>\n}\n@if (showButtons()) {\n @if (buttonLayout() === 'stacked') {\n <span class=\"tx-input-number__stack\">\n <ng-container [ngTemplateOutlet]=\"increment\" />\n <ng-container [ngTemplateOutlet]=\"decrement\" />\n </span>\n } @else {\n <ng-container [ngTemplateOutlet]=\"increment\" />\n }\n}\n\n<ng-template #increment>\n <button\n type=\"button\"\n tabindex=\"-1\"\n class=\"tx-input-number__button tx-input-number__increment\"\n [class]=\"passThrough().increment?.class\"\n [style]=\"passThrough().increment?.style\"\n [attr.aria-label]=\"translations().increment\"\n [disabled]=\"!canIncrement()\"\n (pointerdown)=\"startRepeat(1, $event)\"\n (pointerup)=\"stopRepeat()\"\n (pointerleave)=\"stopRepeat()\"\n (pointercancel)=\"stopRepeat()\"\n >\n @if (incrementIconName().name; as name) {\n <tx-icon [name]=\"name\" />\n } @else {\n <span [class]=\"incrementIconName().className\"></span>\n }\n </button>\n</ng-template>\n<ng-template #decrement>\n <button\n type=\"button\"\n tabindex=\"-1\"\n class=\"tx-input-number__button tx-input-number__decrement\"\n [class]=\"passThrough().decrement?.class\"\n [style]=\"passThrough().decrement?.style\"\n [attr.aria-label]=\"translations().decrement\"\n [disabled]=\"!canDecrement()\"\n (pointerdown)=\"startRepeat(-1, $event)\"\n (pointerup)=\"stopRepeat()\"\n (pointerleave)=\"stopRepeat()\"\n (pointercancel)=\"stopRepeat()\"\n >\n @if (decrementIconName().name; as name) {\n <tx-icon [name]=\"name\" />\n } @else {\n <span [class]=\"decrementIconName().className\"></span>\n }\n </button>\n</ng-template>\n"],"mappings":";;;;;;;;;;;;;AAkBA,MAAM,eAAe;CAAC;CAAW;CAAS;CAAW;AAAU;AAE/D,IAAa,iBAAb,MAA2B;CAChB;CACA;CACA;CACA;CACA;CACD;CACA;CAER,YAAY,SAA8B;EACxC,MAAM,QACJ,QAAQ,SAAS,aACb;GAAE,OAAO;GAAY,UAAU,QAAQ,YAAY;GAAO,iBAAiB,QAAQ,mBAAmB;EAAQ,IAC9G,EAAE,OAAO,UAAS;EACxB,MAAM,WAAW,IAAI,KAAK,aAAa,QAAQ,QAAQ,KAAK,CAAC,CAAC,gBAAe;EAC7E,MAAM,WAAW,QAAQ,SAAS;EAClC,MAAM,MAAM,QAAQ,sBAAsB,WAAY,SAAS,yBAAyB,IAAK;EAC7F,MAAM,MAAM,KAAK,IAAI,KAAK,QAAQ,sBAAsB,WAAY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GAAG,IAAI,KAAK,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,SAAS;AAC1D"}
1
+ {"version":3,"file":"tectra-ng-ui-input-number.mjs","names":[],"sources":["../../../../packages/ui/input-number/src/number-format.ts","../../../../packages/ui/input-number/src/input-number.component.ts","../../../../packages/ui/input-number/src/input-number.component.html"],"sourcesContent":["export interface TxNumberFormatOptions {\n locale: string;\n mode: 'decimal' | 'currency';\n currency?: string;\n currencyDisplay?: 'symbol' | 'narrowSymbol' | 'code' | 'name';\n useGrouping: boolean;\n minFractionDigits?: number;\n maxFractionDigits?: number;\n prefix?: string;\n suffix?: string;\n}\n\ninterface TxNumberRead {\n negative: boolean;\n digits: string;\n fraction: string | null;\n}\n\nconst NUMBER_PARTS = ['integer', 'group', 'decimal', 'fraction'];\n\nexport class TxNumberFormat {\n readonly decimal: string;\n readonly group: string;\n readonly before: string;\n readonly after: string;\n readonly maxFraction: number;\n private full: Intl.NumberFormat;\n private integer: Intl.NumberFormat;\n\n constructor(options: TxNumberFormatOptions) {\n const style: Intl.NumberFormatOptions =\n options.mode === 'currency'\n ? { style: 'currency', currency: options.currency ?? 'USD', currencyDisplay: options.currencyDisplay ?? 'symbol' }\n : { style: 'decimal' };\n const defaults = new Intl.NumberFormat(options.locale, style).resolvedOptions();\n const currency = options.mode === 'currency';\n const min = options.minFractionDigits ?? (currency ? (defaults.minimumFractionDigits ?? 2) : 0);\n const max = Math.max(min, options.maxFractionDigits ?? (currency ? (defaults.maximumFractionDigits ?? 2) : 3));\n this.full = new Intl.NumberFormat(options.locale, { ...style, useGrouping: options.useGrouping, minimumFractionDigits: min, maximumFractionDigits: max });\n this.integer = new Intl.NumberFormat(options.locale, { useGrouping: options.useGrouping, maximumFractionDigits: 0 });\n const plain = new Intl.NumberFormat(options.locale).formatToParts(12345.6);\n this.decimal = plain.find((part) => part.type === 'decimal')?.value ?? '.';\n this.group = plain.find((part) => part.type === 'group')?.value ?? ',';\n this.maxFraction = max;\n const sample = this.full.formatToParts(-12345.6);\n const first = sample.findIndex((part) => NUMBER_PARTS.includes(part.type));\n const last = sample.length - 1 - [...sample].reverse().findIndex((part) => NUMBER_PARTS.includes(part.type));\n const affix = (parts: Intl.NumberFormatPart[]) => parts.filter((part) => part.type !== 'minusSign').map((part) => part.value).join('');\n this.before = (options.prefix ?? '') + affix(sample.slice(0, first));\n this.after = affix(sample.slice(last + 1)) + (options.suffix ?? '');\n }\n\n format(value: number | null): string {\n if (value === null || Number.isNaN(value)) {\n return '';\n }\n const number = this.full\n .formatToParts(Math.abs(value))\n .filter((part) => NUMBER_PARTS.includes(part.type))\n .map((part) => part.value)\n .join('');\n return `${value < 0 ? '-' : ''}${this.before}${number}${this.after}`;\n }\n\n formatTyping(text: string): { display: string; value: number | null } {\n const read = this.read(text);\n if (read.digits === '' && read.fraction === null) {\n return { display: read.negative ? '-' : '', value: null };\n }\n const integer = (read.digits || '0').replace(/^0+(?=\\d)/, '');\n const fraction = read.fraction === null ? null : read.fraction.slice(0, this.maxFraction);\n const grouped = this.integer.format(BigInt(integer));\n const display = `${read.negative ? '-' : ''}${this.before}${grouped}${fraction === null ? '' : this.decimal + fraction}${this.after}`;\n const value = Number(`${read.negative ? '-' : ''}${integer}${fraction ? `.${fraction}` : ''}`);\n return { display, value };\n }\n\n parse(text: string): number | null {\n return this.formatTyping(text).value;\n }\n\n countBefore(text: string, caret: number): number {\n let count = 0;\n let decimalSeen = false;\n for (const char of this.strip(text.slice(0, caret))) {\n if (/\\d/.test(char)) {\n count += 1;\n } else if (!decimalSeen && this.isDecimal(char)) {\n decimalSeen = true;\n count += 1;\n }\n }\n return count;\n }\n\n caretFor(display: string, count: number): number {\n const start = (display.startsWith('-') ? 1 : 0) + this.before.length;\n if (count <= 0) {\n return start;\n }\n let seen = 0;\n for (let index = start; index < display.length - this.after.length; index += 1) {\n if (/\\d/.test(display[index]) || display[index] === this.decimal) {\n seen += 1;\n if (seen === count) {\n return index + 1;\n }\n }\n }\n return display.length - this.after.length;\n }\n\n private read(text: string): TxNumberRead {\n const negative = text.includes('-');\n let digits = '';\n let fraction: string | null = null;\n for (const char of this.strip(text)) {\n if (/\\d/.test(char)) {\n if (fraction === null) {\n digits += char;\n } else {\n fraction += char;\n }\n } else if (fraction === null && this.maxFraction > 0 && this.isDecimal(char)) {\n fraction = '';\n }\n }\n return { negative, digits, fraction };\n }\n\n private strip(text: string): string {\n let body = text.replace('-', '');\n if (this.before && body.startsWith(this.before)) {\n body = body.slice(this.before.length);\n }\n if (this.after && body.endsWith(this.after)) {\n body = body.slice(0, -this.after.length);\n }\n return body;\n }\n\n private isDecimal(char: string): boolean {\n return char === this.decimal || (this.decimal === ',' && char === '.' && this.group !== '.');\n }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n booleanAttribute,\n computed,\n effect,\n forwardRef,\n inject,\n input,\n numberAttribute,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { uniqueId } from '@tectra-ng/core/a11y';\nimport { TxPassThrough, TxPassThroughOptions, injectPassThrough, injectUnstyled } from '@tectra-ng/core/config';\nimport { injectFluid } from '@tectra-ng/core/fluid';\nimport { TxFormControlBase, injectFieldInvalid } from '@tectra-ng/core/forms';\nimport { TxLocaleService, injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean, optionalNumber } from '@tectra-ng/core/utils';\nimport { TxIcon, TxIconName, TxIconRegistry } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraInputNumberTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxInput } from '@tectra-ng/ui/input';\nimport {\n TxInputNumberButtonLayout,\n TxInputNumberChangeEvent,\n TxInputNumberCurrencyDisplay,\n TxInputNumberMode,\n TxInputNumberPart,\n TxInputNumberSize,\n TxInputNumberVariant,\n} from './input-number.types';\nimport { TxNumberFormat } from './number-format';\n\nconst REPEAT_DELAY = 400;\nconst REPEAT_INTERVAL = 60;\n\n@Component({\n selector: 'tx-input-number',\n imports: [TxInput, TxIcon, NgTemplateOutlet],\n templateUrl: './input-number.component.html',\n styleUrl: './input-number.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TxInputNumber), multi: true }],\n host: {\n class: 'tx-input-number',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-layout]': 'showButtons() ? buttonLayout() : null',\n '[attr.data-size]': 'size()',\n '[class.tx-input-number--fluid]': 'isFluid()',\n '[class.tx-input-number--filled]': 'value() !== null',\n '[class.tx-input-number--invalid]': 'isInvalid()',\n '[class.tx-input-number--disabled]': 'isDisabled()',\n },\n})\nexport class TxInputNumber extends TxFormControlBase<number> {\n private txIconRegistry = inject(TxIconRegistry);\n private localeService = inject(TxLocaleService);\n private generatedId = uniqueId('tx-input-number');\n private repeatTimer: ReturnType<typeof setTimeout> | null = null;\n\n readonly mode = input<TxInputNumberMode>('decimal');\n readonly currency = input<string | undefined>(undefined);\n readonly currencyDisplay = input<TxInputNumberCurrencyDisplay>('symbol');\n readonly locale = input<string | undefined>(undefined);\n readonly useGrouping = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly minFractionDigits = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly maxFractionDigits = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly prefix = input<string | undefined>(undefined);\n readonly suffix = input<string | undefined>(undefined);\n readonly min = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly max = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly step = input<number, unknown>(1, { transform: numberAttribute });\n readonly showButtons = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly buttonLayout = input<TxInputNumberButtonLayout>('stacked');\n readonly incrementIcon = input<TxIconName | (string & {}) | undefined>(undefined);\n readonly decrementIcon = input<TxIconName | (string & {}) | undefined>(undefined);\n readonly allowEmpty = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly showClear = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly placeholder = input<string | undefined>(undefined);\n readonly size = input<TxInputNumberSize>('medium');\n readonly variant = input<TxInputNumberVariant>('outlined');\n readonly fluid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly invalid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n // eslint-disable-next-line @angular-eslint/no-input-rename\n readonly disabledInput = input<boolean, unknown>(false, { alias: 'disabled', transform: booleanAttribute });\n readonly readonly = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly required = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly name = input<string | undefined>(undefined);\n readonly inputId = input<string | undefined>(undefined);\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly ariaLabelledBy = input<string | undefined>(undefined);\n readonly tabindex = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly dt = input<TectraDeepPartial<TectraInputNumberTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxInputNumberPart, TxInputNumber> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly changed = output<TxInputNumberChangeEvent>();\n readonly cleared = output<void>();\n\n readonly inputRef = viewChild.required<ElementRef<HTMLInputElement>>('input');\n\n readonly translations = injectTranslations();\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly isFluid = injectFluid(this.fluid);\n readonly isInvalid = injectFieldInvalid(this.invalid);\n readonly passThrough = injectPassThrough('inputNumber', this, this.pt, this.ptOptions);\n\n readonly isFocused = signal(false);\n readonly resolvedId = computed(() => this.inputId() ?? this.generatedId);\n readonly isDisabled = computed(() => this.disabled() || this.disabledInput());\n readonly isEditable = computed(() => !this.isDisabled() && !this.readonly());\n readonly format = computed(\n () =>\n new TxNumberFormat({\n locale: this.locale() ?? this.localeService.locale().intl,\n mode: this.mode(),\n currency: this.currency(),\n currencyDisplay: this.currencyDisplay(),\n useGrouping: this.useGrouping(),\n minFractionDigits: this.minFractionDigits(),\n maxFractionDigits: this.maxFractionDigits(),\n prefix: this.prefix(),\n suffix: this.suffix(),\n }),\n );\n readonly canIncrement = computed(() => this.isEditable() && (this.max() === undefined || (this.value() ?? 0) < (this.max() as number)));\n readonly canDecrement = computed(() => this.isEditable() && (this.min() === undefined || (this.value() ?? 0) > (this.min() as number)));\n readonly incrementIconName = computed(() => this.iconName(this.incrementIcon(), this.buttonLayout() === 'stacked' ? 'chevron-up' : 'plus'));\n readonly decrementIconName = computed(() => this.iconName(this.decrementIcon(), this.buttonLayout() === 'stacked' ? 'chevron-down' : 'minus'));\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-input-number'), ...this.passThrough().root?.style }));\n\n constructor() {\n super();\n effect(() => {\n this.format();\n if (!this.isFocused()) {\n this.paint(this.format().format(this.value()));\n }\n });\n inject(DestroyRef).onDestroy(() => this.stopRepeat());\n }\n\n override writeValue(value: number | null): void {\n super.writeValue(typeof value === 'number' && !Number.isNaN(value) ? value : null);\n queueMicrotask(() => this.paint(this.format().format(this.value())));\n }\n\n focus(): void {\n this.inputRef().nativeElement.focus();\n }\n\n onInput(event: Event): void {\n const element = this.inputRef().nativeElement;\n const format = this.format();\n const count = format.countBefore(element.value, element.selectionStart ?? element.value.length);\n const typed = format.formatTyping(this.allowsNegative() ? element.value : element.value.replace('-', ''));\n this.paint(typed.display);\n element.setSelectionRange(format.caretFor(typed.display, count), format.caretFor(typed.display, count));\n this.commit(typed.value, event);\n }\n\n onKeydown(event: KeyboardEvent): void {\n if (!this.isEditable()) {\n return;\n }\n switch (event.key) {\n case 'ArrowUp':\n event.preventDefault();\n this.spin(1, event);\n break;\n case 'ArrowDown':\n event.preventDefault();\n this.spin(-1, event);\n break;\n case 'Home':\n if (this.min() !== undefined) {\n event.preventDefault();\n this.commit(this.min() as number, event, true);\n }\n break;\n case 'End':\n if (this.max() !== undefined) {\n event.preventDefault();\n this.commit(this.max() as number, event, true);\n }\n break;\n case 'Enter':\n this.finish(event);\n break;\n }\n }\n\n onFocus(): void {\n this.isFocused.set(true);\n }\n\n onBlur(event: Event): void {\n this.isFocused.set(false);\n this.finish(event);\n this.markTouched();\n }\n\n startRepeat(direction: 1 | -1, event: PointerEvent): void {\n if (event.button !== 0 || !this.isEditable()) {\n return;\n }\n event.preventDefault();\n this.focus();\n this.spin(direction, event);\n this.stopRepeat();\n const repeat = (delay: number) => {\n this.repeatTimer = setTimeout(() => {\n this.spin(direction, event);\n repeat(REPEAT_INTERVAL);\n }, delay);\n };\n repeat(REPEAT_DELAY);\n }\n\n stopRepeat(): void {\n if (this.repeatTimer) {\n clearTimeout(this.repeatTimer);\n this.repeatTimer = null;\n }\n }\n\n clear(event: Event): void {\n this.commit(this.allowEmpty() ? null : (this.min() ?? 0), event, true);\n this.cleared.emit();\n this.focus();\n }\n\n private spin(direction: 1 | -1, event: Event): void {\n const current = this.value() ?? 0;\n const precision = Math.max(decimals(this.step()), decimals(current));\n const next = Number((current + direction * this.step()).toFixed(precision));\n this.commit(this.clamp(next), event, true);\n if ((direction === 1 && !this.canIncrement()) || (direction === -1 && !this.canDecrement())) {\n this.stopRepeat();\n }\n }\n\n private finish(event: Event): void {\n let next = this.value();\n if (next === null && !this.allowEmpty()) {\n next = this.min() ?? 0;\n }\n next = next === null ? null : this.clamp(next);\n this.commit(next, event, true);\n }\n\n private commit(value: number | null, event: Event, repaint = false): void {\n if (repaint) {\n this.paint(this.format().format(value));\n }\n if (value !== this.value()) {\n this.updateValue(value);\n this.changed.emit({ value, originalEvent: event });\n }\n }\n\n private clamp(value: number): number {\n const min = this.min();\n const max = this.max();\n return Math.min(max ?? Infinity, Math.max(min ?? -Infinity, value));\n }\n\n private allowsNegative(): boolean {\n const min = this.min();\n return min === undefined || min < 0;\n }\n\n private paint(text: string): void {\n const element = this.inputRef().nativeElement;\n if (element.value !== text) {\n element.value = text;\n }\n }\n\n private iconName(icon: string | undefined, fallback: string): { name: string | null; className: string | null } {\n const resolved = icon ?? fallback;\n return this.txIconRegistry.has(resolved) ? { name: resolved, className: null } : { name: null, className: resolved };\n }\n}\n\nfunction decimals(value: number): number {\n const text = String(value);\n return text.includes('.') ? text.split('.')[1].length : 0;\n}\n","@if (showButtons() && buttonLayout() !== 'stacked') {\n <button\n type=\"button\"\n tabindex=\"-1\"\n class=\"tx-input-number__button tx-input-number__decrement\"\n [class]=\"passThrough().decrement?.class\"\n [style]=\"passThrough().decrement?.style\"\n [attr.aria-label]=\"translations().decrement\"\n [disabled]=\"!canDecrement()\"\n (pointerdown)=\"startRepeat(-1, $event)\"\n (pointerup)=\"stopRepeat()\"\n (pointerleave)=\"stopRepeat()\"\n (pointercancel)=\"stopRepeat()\"\n >\n @if (decrementIconName().name; as name) {\n <tx-icon [name]=\"name\" />\n } @else {\n <span [class]=\"decrementIconName().className\"></span>\n }\n </button>\n}\n<input\n #input\n txInput\n type=\"text\"\n role=\"spinbutton\"\n inputmode=\"decimal\"\n autocomplete=\"off\"\n class=\"tx-input-number__input\"\n [class]=\"passThrough().input?.class\"\n [style]=\"passThrough().input?.style\"\n [id]=\"resolvedId()\"\n [size]=\"size()\"\n [variant]=\"variant()\"\n [fluid]=\"true\"\n [invalid]=\"isInvalid()\"\n [unstyled]=\"isUnstyled()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [attr.placeholder]=\"placeholder() ?? null\"\n [attr.name]=\"name() ?? null\"\n [attr.tabindex]=\"tabindex() ?? null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-valuenow]=\"value() ?? null\"\n [attr.aria-valuemin]=\"min() ?? null\"\n [attr.aria-valuemax]=\"max() ?? null\"\n (input)=\"onInput($event)\"\n (keydown)=\"onKeydown($event)\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur($event)\"\n/>\n@if (showClear() && value() !== null && isEditable()) {\n <button\n type=\"button\"\n class=\"tx-input-number__clear\"\n [class]=\"passThrough().clear?.class\"\n [style]=\"passThrough().clear?.style\"\n [attr.aria-label]=\"translations().clear\"\n [title]=\"translations().clear\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"clear($event)\"\n >\n <tx-icon [name]=\"'times'\" />\n </button>\n}\n@if (showButtons()) {\n @if (buttonLayout() === 'stacked') {\n <span class=\"tx-input-number__stack\">\n <ng-container [ngTemplateOutlet]=\"increment\" />\n <ng-container [ngTemplateOutlet]=\"decrement\" />\n </span>\n } @else {\n <ng-container [ngTemplateOutlet]=\"increment\" />\n }\n}\n\n<ng-template #increment>\n <button\n type=\"button\"\n tabindex=\"-1\"\n class=\"tx-input-number__button tx-input-number__increment\"\n [class]=\"passThrough().increment?.class\"\n [style]=\"passThrough().increment?.style\"\n [attr.aria-label]=\"translations().increment\"\n [disabled]=\"!canIncrement()\"\n (pointerdown)=\"startRepeat(1, $event)\"\n (pointerup)=\"stopRepeat()\"\n (pointerleave)=\"stopRepeat()\"\n (pointercancel)=\"stopRepeat()\"\n >\n @if (incrementIconName().name; as name) {\n <tx-icon [name]=\"name\" />\n } @else {\n <span [class]=\"incrementIconName().className\"></span>\n }\n </button>\n</ng-template>\n<ng-template #decrement>\n <button\n type=\"button\"\n tabindex=\"-1\"\n class=\"tx-input-number__button tx-input-number__decrement\"\n [class]=\"passThrough().decrement?.class\"\n [style]=\"passThrough().decrement?.style\"\n [attr.aria-label]=\"translations().decrement\"\n [disabled]=\"!canDecrement()\"\n (pointerdown)=\"startRepeat(-1, $event)\"\n (pointerup)=\"stopRepeat()\"\n (pointerleave)=\"stopRepeat()\"\n (pointercancel)=\"stopRepeat()\"\n >\n @if (decrementIconName().name; as name) {\n <tx-icon [name]=\"name\" />\n } @else {\n <span [class]=\"decrementIconName().className\"></span>\n }\n </button>\n</ng-template>\n"],"mappings":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AAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,SAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,SAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,SAAO,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AA0L9E,SAAS,SAAS,OAAa;CAC7B,MAAM,OAAO,OAAO,KAAK;CACzB,OAAO,KAAK,SAAS,GAAG,IAAI,KAAK,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,SAAS;AAC1D"}
@@ -24,7 +24,7 @@ var TxInputStyles = class TxInputStyles {
24
24
  ngImport: i0,
25
25
  template: "",
26
26
  isInline: true,
27
- styles: [".tx-input[data-styled]{box-sizing:border-box;padding-top:var(--tx-field-padding-top, var(--tx-form-field-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-padding-y));padding-inline:calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-end, 0px));border:1px solid var(--tx-form-field-border-color);border-radius:var(--tx-form-field-border-radius);outline:none;background:var(--tx-form-field-background);box-shadow:var(--tx-form-field-shadow);color:var(--tx-form-field-color);font-family:var(--tx-font-family);font-size:var(--tx-form-field-font-size);line-height:var(--tx-form-field-line-height);transition:background-color var(--tx-form-field-transition-duration),border-color var(--tx-form-field-transition-duration),box-shadow var(--tx-form-field-transition-duration)}.tx-input[data-styled]::placeholder{color:var(--tx-form-field-placeholder-color)}.tx-input[data-styled][data-variant=filled]{background:var(--tx-form-field-filled-background)}.tx-input[data-styled]:enabled:not([readonly]):hover{border-color:var(--tx-form-field-hover-border-color)}.tx-input[data-styled]:enabled:not([readonly]):hover[data-variant=filled]{background:var(--tx-form-field-filled-hover-background)}.tx-input[data-styled]:enabled:not([readonly]):focus{border-color:var(--tx-form-field-focus-border-color);box-shadow:var(--tx-form-field-focus-ring-shadow)}.tx-input[data-styled]:enabled:not([readonly]):focus[data-variant=filled]{background:var(--tx-form-field-filled-focus-background)}.tx-input[data-styled][readonly]{background:var(--tx-form-field-readonly-background);cursor:default}.tx-input[data-styled].tx-input--invalid{border-color:var(--tx-form-field-invalid-border-color)}.tx-input[data-styled].tx-input--invalid::placeholder{color:var(--tx-form-field-invalid-placeholder-color)}.tx-input[data-styled].tx-input--invalid:focus{border-color:var(--tx-form-field-invalid-border-color);box-shadow:var(--tx-form-field-invalid-focus-ring-shadow)}.tx-input[data-styled]:disabled{background:var(--tx-form-field-disabled-background);box-shadow:none;color:var(--tx-form-field-disabled-color);cursor:not-allowed}.tx-input[data-styled][data-size=small]{padding-top:var(--tx-field-padding-top, var(--tx-form-field-sm-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-sm-padding-y));padding-inline:calc(var(--tx-form-field-sm-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-sm-padding-x) + var(--tx-field-inset-end, 0px));font-size:var(--tx-form-field-sm-font-size);line-height:var(--tx-form-field-sm-line-height)}.tx-input[data-styled][data-size=large]{padding-top:var(--tx-field-padding-top, var(--tx-form-field-lg-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-lg-padding-y));padding-inline:calc(var(--tx-form-field-lg-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-lg-padding-x) + var(--tx-field-inset-end, 0px));font-size:var(--tx-form-field-lg-font-size);line-height:var(--tx-form-field-lg-line-height)}.tx-input[data-styled].tx-input--fluid{width:100%}.tx-icon-field>.tx-input[data-styled],.tx-input-group>.tx-input[data-styled],.tx-input-group>.tx-icon-field{flex:1 1 auto;width:auto;min-width:0}textarea.tx-input[data-styled]{min-height:80px;resize:vertical}\n"],
27
+ styles: [".tx-input[data-styled][type=search]{appearance:none}.tx-input[data-styled][type=search]::-webkit-search-cancel-button,.tx-input[data-styled][type=search]::-webkit-search-decoration{appearance:none;display:none}.tx-input[data-styled]{box-sizing:border-box;padding-top:var(--tx-field-padding-top, var(--tx-form-field-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-padding-y));padding-inline:calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-end, 0px));border:1px solid var(--tx-form-field-border-color);border-radius:var(--tx-form-field-border-radius);outline:none;background-color:var(--tx-form-field-background);box-shadow:var(--tx-form-field-shadow);color:var(--tx-form-field-color);font-family:var(--tx-font-family);font-size:var(--tx-form-field-font-size);line-height:var(--tx-form-field-line-height);transition:background-color var(--tx-form-field-transition-duration),border-color var(--tx-form-field-transition-duration),box-shadow var(--tx-form-field-transition-duration)}.tx-input[data-styled]::placeholder{color:var(--tx-form-field-placeholder-color)}.tx-input[data-styled][data-variant=filled]{background-color:var(--tx-form-field-filled-background)}.tx-input[data-styled]:enabled:not([readonly]):hover{border-color:var(--tx-form-field-hover-border-color)}.tx-input[data-styled]:enabled:not([readonly]):hover[data-variant=filled]{background-color:var(--tx-form-field-filled-hover-background)}.tx-input[data-styled]:enabled:not([readonly]):focus{border-color:var(--tx-form-field-focus-border-color);outline:var(--tx-form-field-focus-ring-width) var(--tx-form-field-focus-ring-style) var(--tx-form-field-focus-ring-color);outline-offset:var(--tx-form-field-focus-ring-offset);box-shadow:var(--tx-form-field-focus-ring-shadow)}.tx-input[data-styled]:enabled:not([readonly]):focus[data-variant=filled]{background-color:var(--tx-form-field-filled-focus-background)}.tx-input[data-styled][readonly]{background-color:var(--tx-form-field-readonly-background);cursor:default}.tx-input[data-styled].tx-input--invalid{border-color:var(--tx-form-field-invalid-border-color)}.tx-input[data-styled].tx-input--invalid::placeholder{color:var(--tx-form-field-invalid-placeholder-color)}.tx-input[data-styled].tx-input--invalid:focus{border-color:var(--tx-form-field-invalid-border-color);box-shadow:var(--tx-form-field-invalid-focus-ring-shadow)}.tx-input[data-styled]:disabled{background-color:var(--tx-form-field-disabled-background);box-shadow:none;color:var(--tx-form-field-disabled-color);cursor:not-allowed}.tx-input[data-styled][data-size=small]{padding-top:var(--tx-field-padding-top, var(--tx-form-field-sm-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-sm-padding-y));padding-inline:calc(var(--tx-form-field-sm-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-sm-padding-x) + var(--tx-field-inset-end, 0px));font-size:var(--tx-form-field-sm-font-size);line-height:var(--tx-form-field-sm-line-height)}.tx-input[data-styled][data-size=large]{padding-top:var(--tx-field-padding-top, var(--tx-form-field-lg-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-lg-padding-y));padding-inline:calc(var(--tx-form-field-lg-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-lg-padding-x) + var(--tx-field-inset-end, 0px));font-size:var(--tx-form-field-lg-font-size);line-height:var(--tx-form-field-lg-line-height)}.tx-input[data-styled].tx-input--fluid{width:100%}.tx-icon-field>.tx-input[data-styled],.tx-input-group>.tx-input[data-styled],.tx-input-group>.tx-icon-field{flex:1 1 auto;width:auto;min-width:0}textarea.tx-input[data-styled]{min-height:80px;resize:vertical}\n"],
28
28
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
29
29
  encapsulation: i0.ViewEncapsulation.None
30
30
  });
@@ -41,7 +41,7 @@ i0.ɵɵngDeclareClassMetadata({
41
41
  template: "",
42
42
  encapsulation: ViewEncapsulation.None,
43
43
  changeDetection: ChangeDetectionStrategy.OnPush,
44
- styles: [".tx-input[data-styled]{box-sizing:border-box;padding-top:var(--tx-field-padding-top, var(--tx-form-field-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-padding-y));padding-inline:calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-end, 0px));border:1px solid var(--tx-form-field-border-color);border-radius:var(--tx-form-field-border-radius);outline:none;background:var(--tx-form-field-background);box-shadow:var(--tx-form-field-shadow);color:var(--tx-form-field-color);font-family:var(--tx-font-family);font-size:var(--tx-form-field-font-size);line-height:var(--tx-form-field-line-height);transition:background-color var(--tx-form-field-transition-duration),border-color var(--tx-form-field-transition-duration),box-shadow var(--tx-form-field-transition-duration)}.tx-input[data-styled]::placeholder{color:var(--tx-form-field-placeholder-color)}.tx-input[data-styled][data-variant=filled]{background:var(--tx-form-field-filled-background)}.tx-input[data-styled]:enabled:not([readonly]):hover{border-color:var(--tx-form-field-hover-border-color)}.tx-input[data-styled]:enabled:not([readonly]):hover[data-variant=filled]{background:var(--tx-form-field-filled-hover-background)}.tx-input[data-styled]:enabled:not([readonly]):focus{border-color:var(--tx-form-field-focus-border-color);box-shadow:var(--tx-form-field-focus-ring-shadow)}.tx-input[data-styled]:enabled:not([readonly]):focus[data-variant=filled]{background:var(--tx-form-field-filled-focus-background)}.tx-input[data-styled][readonly]{background:var(--tx-form-field-readonly-background);cursor:default}.tx-input[data-styled].tx-input--invalid{border-color:var(--tx-form-field-invalid-border-color)}.tx-input[data-styled].tx-input--invalid::placeholder{color:var(--tx-form-field-invalid-placeholder-color)}.tx-input[data-styled].tx-input--invalid:focus{border-color:var(--tx-form-field-invalid-border-color);box-shadow:var(--tx-form-field-invalid-focus-ring-shadow)}.tx-input[data-styled]:disabled{background:var(--tx-form-field-disabled-background);box-shadow:none;color:var(--tx-form-field-disabled-color);cursor:not-allowed}.tx-input[data-styled][data-size=small]{padding-top:var(--tx-field-padding-top, var(--tx-form-field-sm-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-sm-padding-y));padding-inline:calc(var(--tx-form-field-sm-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-sm-padding-x) + var(--tx-field-inset-end, 0px));font-size:var(--tx-form-field-sm-font-size);line-height:var(--tx-form-field-sm-line-height)}.tx-input[data-styled][data-size=large]{padding-top:var(--tx-field-padding-top, var(--tx-form-field-lg-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-lg-padding-y));padding-inline:calc(var(--tx-form-field-lg-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-lg-padding-x) + var(--tx-field-inset-end, 0px));font-size:var(--tx-form-field-lg-font-size);line-height:var(--tx-form-field-lg-line-height)}.tx-input[data-styled].tx-input--fluid{width:100%}.tx-icon-field>.tx-input[data-styled],.tx-input-group>.tx-input[data-styled],.tx-input-group>.tx-icon-field{flex:1 1 auto;width:auto;min-width:0}textarea.tx-input[data-styled]{min-height:80px;resize:vertical}\n"]
44
+ styles: [".tx-input[data-styled][type=search]{appearance:none}.tx-input[data-styled][type=search]::-webkit-search-cancel-button,.tx-input[data-styled][type=search]::-webkit-search-decoration{appearance:none;display:none}.tx-input[data-styled]{box-sizing:border-box;padding-top:var(--tx-field-padding-top, var(--tx-form-field-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-padding-y));padding-inline:calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-end, 0px));border:1px solid var(--tx-form-field-border-color);border-radius:var(--tx-form-field-border-radius);outline:none;background-color:var(--tx-form-field-background);box-shadow:var(--tx-form-field-shadow);color:var(--tx-form-field-color);font-family:var(--tx-font-family);font-size:var(--tx-form-field-font-size);line-height:var(--tx-form-field-line-height);transition:background-color var(--tx-form-field-transition-duration),border-color var(--tx-form-field-transition-duration),box-shadow var(--tx-form-field-transition-duration)}.tx-input[data-styled]::placeholder{color:var(--tx-form-field-placeholder-color)}.tx-input[data-styled][data-variant=filled]{background-color:var(--tx-form-field-filled-background)}.tx-input[data-styled]:enabled:not([readonly]):hover{border-color:var(--tx-form-field-hover-border-color)}.tx-input[data-styled]:enabled:not([readonly]):hover[data-variant=filled]{background-color:var(--tx-form-field-filled-hover-background)}.tx-input[data-styled]:enabled:not([readonly]):focus{border-color:var(--tx-form-field-focus-border-color);outline:var(--tx-form-field-focus-ring-width) var(--tx-form-field-focus-ring-style) var(--tx-form-field-focus-ring-color);outline-offset:var(--tx-form-field-focus-ring-offset);box-shadow:var(--tx-form-field-focus-ring-shadow)}.tx-input[data-styled]:enabled:not([readonly]):focus[data-variant=filled]{background-color:var(--tx-form-field-filled-focus-background)}.tx-input[data-styled][readonly]{background-color:var(--tx-form-field-readonly-background);cursor:default}.tx-input[data-styled].tx-input--invalid{border-color:var(--tx-form-field-invalid-border-color)}.tx-input[data-styled].tx-input--invalid::placeholder{color:var(--tx-form-field-invalid-placeholder-color)}.tx-input[data-styled].tx-input--invalid:focus{border-color:var(--tx-form-field-invalid-border-color);box-shadow:var(--tx-form-field-invalid-focus-ring-shadow)}.tx-input[data-styled]:disabled{background-color:var(--tx-form-field-disabled-background);box-shadow:none;color:var(--tx-form-field-disabled-color);cursor:not-allowed}.tx-input[data-styled][data-size=small]{padding-top:var(--tx-field-padding-top, var(--tx-form-field-sm-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-sm-padding-y));padding-inline:calc(var(--tx-form-field-sm-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-sm-padding-x) + var(--tx-field-inset-end, 0px));font-size:var(--tx-form-field-sm-font-size);line-height:var(--tx-form-field-sm-line-height)}.tx-input[data-styled][data-size=large]{padding-top:var(--tx-field-padding-top, var(--tx-form-field-lg-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-lg-padding-y));padding-inline:calc(var(--tx-form-field-lg-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-lg-padding-x) + var(--tx-field-inset-end, 0px));font-size:var(--tx-form-field-lg-font-size);line-height:var(--tx-form-field-lg-line-height)}.tx-input[data-styled].tx-input--fluid{width:100%}.tx-icon-field>.tx-input[data-styled],.tx-input-group>.tx-input[data-styled],.tx-input-group>.tx-icon-field{flex:1 1 auto;width:auto;min-width:0}textarea.tx-input[data-styled]{min-height:80px;resize:vertical}\n"]
45
45
  }]
46
46
  }]
47
47
  });
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-input.mjs","names":[],"sources":["../../../../packages/ui/input/src/input.styles.ts","../../../../packages/ui/input/src/input.directive.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'tx-input-styles',\n template: '',\n styleUrl: './input.styles.scss',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TxInputStyles {}\n","import { Directive, computed, inject, input } from '@angular/core';\nimport { TxPassThrough, TxPassThroughOptions, injectPassThrough, injectUnstyled } from '@tectra-ng/core/config';\nimport { injectFluid } from '@tectra-ng/core/fluid';\nimport { injectFieldFilled, injectFieldInvalid } from '@tectra-ng/core/forms';\nimport { TxStyleLoader } from '@tectra-ng/core/styles';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TectraDeepPartial, TectraFormFieldTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxInputStyles } from './input.styles';\nimport { TxFieldVariant, TxInputPart, TxInputSize } from './input.types';\n\n@Directive({\n selector: 'input[txInput], textarea[txInput]',\n host: {\n class: 'tx-input',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[class.tx-input--invalid]': 'isInvalid()',\n '[class.tx-input--fluid]': 'isFluid()',\n '[class.tx-input--filled]': 'isFilled()',\n '[attr.aria-invalid]': 'isInvalid() || null',\n '[attr.data-size]': 'size()',\n '[attr.data-variant]': 'variant()',\n },\n})\nexport class TxInput {\n readonly invalid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly size = input<TxInputSize>('medium');\n readonly variant = input<TxFieldVariant>('outlined');\n readonly fluid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly dt = input<TectraDeepPartial<TectraFormFieldTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxInputPart, TxInput> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isInvalid = injectFieldInvalid(this.invalid);\n readonly isFilled = injectFieldFilled();\n readonly isFluid = injectFluid(this.fluid);\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('input', this, this.pt, this.ptOptions);\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-form-field'), ...this.passThrough().root?.style }));\n\n constructor() {\n inject(TxStyleLoader).load(TxInputStyles);\n }\n}\n"],"mappings":";;;;;;;;AASA,IAAa,gBAAb,MAAa,cAAa;CAAb,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAa,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAb,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAa,cAAA;EAAA,UAAA;EAAA,UAAA;EAAA,UALd;EAAE,UAAA;EAAA,QAAA,CAAA,gyGAAA;EAAA,iBAAA,GAAA,wBAAA;EAAA,eAAA,GAAA,kBAAA;CAAA,CAAA;;AAKD,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAa,YAAA,CAAA;EAPzB,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAiB,UACjB;GAAE,eAEG,kBAAkB;GAAI,iBACpB,wBAAwB;GAAM,QAAA,CAAA,gyGAAA;EAAA,CAAA;;;ACkBjD,IAAa,UAAb,MAAa,QAAO;CACT,UAAU,MAAoC,QAAS;EAAA,GAAA,YAAA,EAA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B;EACF,CAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-input.mjs","names":[],"sources":["../../../../packages/ui/input/src/input.styles.ts","../../../../packages/ui/input/src/input.directive.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'tx-input-styles',\n template: '',\n styleUrl: './input.styles.scss',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TxInputStyles {}\n","import { Directive, computed, inject, input } from '@angular/core';\nimport { TxPassThrough, TxPassThroughOptions, injectPassThrough, injectUnstyled } from '@tectra-ng/core/config';\nimport { injectFluid } from '@tectra-ng/core/fluid';\nimport { injectFieldFilled, injectFieldInvalid } from '@tectra-ng/core/forms';\nimport { TxStyleLoader } from '@tectra-ng/core/styles';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TectraDeepPartial, TectraFormFieldTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxInputStyles } from './input.styles';\nimport { TxFieldVariant, TxInputPart, TxInputSize } from './input.types';\n\n@Directive({\n selector: 'input[txInput], textarea[txInput]',\n host: {\n class: 'tx-input',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[class.tx-input--invalid]': 'isInvalid()',\n '[class.tx-input--fluid]': 'isFluid()',\n '[class.tx-input--filled]': 'isFilled()',\n '[attr.aria-invalid]': 'isInvalid() || null',\n '[attr.data-size]': 'size()',\n '[attr.data-variant]': 'variant()',\n },\n})\nexport class TxInput {\n readonly invalid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly size = input<TxInputSize>('medium');\n readonly variant = input<TxFieldVariant>('outlined');\n readonly fluid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly dt = input<TectraDeepPartial<TectraFormFieldTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxInputPart, TxInput> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isInvalid = injectFieldInvalid(this.invalid);\n readonly isFilled = injectFieldFilled();\n readonly isFluid = injectFluid(this.fluid);\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('input', this, this.pt, this.ptOptions);\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-form-field'), ...this.passThrough().root?.style }));\n\n constructor() {\n inject(TxStyleLoader).load(TxInputStyles);\n }\n}\n"],"mappings":";;;;;;;;AASA,IAAa,gBAAb,MAAa,cAAa;CAAb,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAa,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAb,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAa,cAAA;EAAA,UAAA;EAAA,UAAA;EAAA,UALd;EAAE,UAAA;EAAA,QAAA,CAAA,ssHAAA;EAAA,iBAAA,GAAA,wBAAA;EAAA,eAAA,GAAA,kBAAA;CAAA,CAAA;;AAKD,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAa,YAAA,CAAA;EAPzB,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAiB,UACjB;GAAE,eAEG,kBAAkB;GAAI,iBACpB,wBAAwB;GAAM,QAAA,CAAA,ssHAAA;EAAA,CAAA;;;ACkBjD,IAAa,UAAb,MAAa,QAAO;CACT,UAAU,MAAoC,QAAS;EAAA,GAAA,YAAA,EAAA,WAAA,UAAA,+BAAA,CAAA;EAAI,WAAW;CAAe,CAAA;CACrF,OAAO,MAAmB,UAAS,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CACnC,UAAU,MAAsB,YAAW,GAAA,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A;IAAA,mBAAA;GAAA;GAAA,MAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,SAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,OAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,IAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,IAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,WAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,UAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;EAAA;EAAA,MAAA;GAAA,YAAA;IAAA,SAAA;IAAA,SAAA;IAAA,oBAAA;IAAA,2BAAA;IAAA,yBAAA;IAAA,0BAAA;IAAA,qBAAA;IAAA,kBAAA;IAAA,qBAAA;GAAA;GAAA,gBAAA;EAAA;EAAA,UAAA;CAAA,CAAA;;AAAP,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAO,YAAA,CAAA;EAfnB,MAAA;EAAU,MAAA,CAAA;GACT,UAAU;GACV,MAAM;IACJ,OAAO;IACP,WAAW;IACX,WAAW;IACX,sBAAsB;IACtB,6BAA6B;IAC7B,2BAA2B;IAC3B,4BAA4B;IAC5B,uBAAuB;IACvB,oBAAoB;IACpB,uBAAuB;GACxB;EACF,CAAA"}
@@ -196,7 +196,7 @@ var TxFloatLabel = class TxFloatLabel {
196
196
  ngImport: i0,
197
197
  template: "<ng-content />",
198
198
  isInline: true,
199
- styles: [":host{position:relative;display:flex;flex-direction:column;align-items:flex-start;align-self:start}:host([data-variant=in]){--tx-field-padding-top: var(--tx-float-label-in-input-padding-top);--tx-field-padding-bottom: var(--tx-float-label-in-input-padding-bottom)}:host ::ng-deep>label{position:absolute;top:50%;left:var(--tx-float-label-position-x);z-index:1;max-width:calc(100% - 2 * var(--tx-float-label-position-x));overflow:hidden;margin:0;color:var(--tx-float-label-color);font-family:var(--tx-font-family);font-size:var(--tx-float-label-font-size);font-weight:var(--tx-float-label-font-weight);line-height:1.2;text-overflow:ellipsis;white-space:nowrap;transform:translateY(-50%);transition-property:top,transform,font-size,color,background-color,padding;transition-duration:var(--tx-float-label-transition-duration);pointer-events:none}:host ::ng-deep>textarea~label{top:var(--tx-float-label-position-y);transform:none}:host ::ng-deep>.tx-input:not(:focus)::placeholder,:host ::ng-deep>tx-password:not(:focus-within) .tx-input::placeholder,:host ::ng-deep>tx-input-number:not(:focus-within) .tx-input::placeholder,:host ::ng-deep>tx-select:not(.tx-select--open) .tx-select__value--placeholder,:host ::ng-deep>tx-multiselect:not(.tx-multiselect--open) .tx-select__value--placeholder,:host ::ng-deep>tx-tree-select:not(.tx-tree-select--open) .tx-select__value--placeholder,:host ::ng-deep>tx-cascade-select:not(.tx-cascade-select--open) .tx-select__value--placeholder,:host ::ng-deep>tx-select:not(.tx-select--open,:focus-within) .tx-select__input::placeholder,:host ::ng-deep>tx-autocomplete:not(:focus-within) .tx-select__input::placeholder,:host ::ng-deep>tx-chips-input:not(:focus-within) .tx-chips-input__input::placeholder{color:transparent}:host ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within)~label{font-size:var(--tx-float-label-active-font-size);font-weight:var(--tx-float-label-active-font-weight)}:host([data-variant=over]) ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within)~label{top:var(--tx-float-label-over-active-top);color:var(--tx-float-label-active-color);transform:none}:host([data-variant=in]) ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within)~label{top:var(--tx-float-label-in-active-top);transform:none}:host([data-variant=on]) ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within)~label{top:0;padding:var(--tx-float-label-on-active-padding);border-radius:var(--tx-float-label-on-border-radius);background:var(--tx-float-label-on-active-background);transform:translateY(-50%)}:host ::ng-deep>:is(.tx-input:focus,tx-select.tx-select--open,tx-select:focus-within,tx-multiselect.tx-multiselect--open,tx-multiselect:focus-within,tx-autocomplete:focus-within,tx-chips-input:focus-within,tx-tree-select:focus-within,tx-cascade-select:focus-within,tx-password:focus-within,tx-input-number:focus-within)~label{color:var(--tx-float-label-focus-color)}:host ::ng-deep>:is(.tx-input--invalid,tx-select.tx-select--invalid,tx-multiselect.tx-multiselect--invalid,tx-autocomplete.tx-autocomplete--invalid,tx-chips-input.tx-chips-input--invalid,tx-tree-select.tx-tree-select--invalid,tx-cascade-select.tx-cascade-select--invalid,tx-password.tx-password--invalid,tx-input-number.tx-input-number--invalid)~label{color:var(--tx-float-label-invalid-color)}\n"],
199
+ styles: [":host{position:relative;display:flex;flex-direction:column;align-items:flex-start;align-self:start}:host([data-variant=in]){--tx-field-padding-top: var(--tx-float-label-in-input-padding-top);--tx-field-padding-bottom: var(--tx-float-label-in-input-padding-bottom)}:host ::ng-deep>label{position:absolute;top:50%;left:var(--tx-float-label-position-x);z-index:1;max-width:calc(100% - 2 * var(--tx-float-label-position-x));overflow:hidden;margin:0;color:var(--tx-float-label-color);font-family:var(--tx-font-family);font-size:var(--tx-float-label-font-size);font-weight:var(--tx-float-label-font-weight);line-height:1.2;text-overflow:ellipsis;white-space:nowrap;transform:translateY(-50%);transition-property:top,transform,font-size,color,background-color,padding;transition-duration:var(--tx-float-label-transition-duration);pointer-events:none}:host ::ng-deep>textarea~label{top:var(--tx-float-label-position-y);transform:none}:host ::ng-deep>.tx-input:not(:focus)::placeholder,:host ::ng-deep>tx-password:not(:focus-within) .tx-input::placeholder,:host ::ng-deep>tx-input-number:not(:focus-within) .tx-input::placeholder,:host ::ng-deep>tx-datepicker:not(:focus-within,.tx-datepicker--open) .tx-input::placeholder,:host ::ng-deep>tx-select:not(.tx-select--open) .tx-select__value--placeholder,:host ::ng-deep>tx-multiselect:not(.tx-multiselect--open) .tx-select__value--placeholder,:host ::ng-deep>tx-tree-select:not(.tx-tree-select--open) .tx-select__value--placeholder,:host ::ng-deep>tx-cascade-select:not(.tx-cascade-select--open) .tx-select__value--placeholder,:host ::ng-deep>tx-select:not(.tx-select--open,:focus-within) .tx-select__input::placeholder,:host ::ng-deep>tx-autocomplete:not(:focus-within) .tx-select__input::placeholder,:host ::ng-deep>tx-chips-input:not(:focus-within) .tx-chips-input__input::placeholder{color:transparent}:host ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within,tx-datepicker.tx-datepicker--filled,tx-datepicker.tx-datepicker--open,tx-datepicker:focus-within)~label{font-size:var(--tx-float-label-active-font-size);font-weight:var(--tx-float-label-active-font-weight)}:host([data-variant=over]) ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within,tx-datepicker.tx-datepicker--filled,tx-datepicker.tx-datepicker--open,tx-datepicker:focus-within)~label{top:var(--tx-float-label-over-active-top);color:var(--tx-float-label-active-color);transform:none}:host([data-variant=in]) ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within,tx-datepicker.tx-datepicker--filled,tx-datepicker.tx-datepicker--open,tx-datepicker:focus-within)~label{top:var(--tx-float-label-in-active-top);transform:none}:host([data-variant=on]) ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within,tx-datepicker.tx-datepicker--filled,tx-datepicker.tx-datepicker--open,tx-datepicker:focus-within)~label{top:0;padding:var(--tx-float-label-on-active-padding);border-radius:var(--tx-float-label-on-border-radius);background:var(--tx-float-label-on-active-background);transform:translateY(-50%)}:host ::ng-deep>:is(.tx-input:focus,tx-select.tx-select--open,tx-select:focus-within,tx-multiselect.tx-multiselect--open,tx-multiselect:focus-within,tx-autocomplete:focus-within,tx-chips-input:focus-within,tx-tree-select:focus-within,tx-cascade-select:focus-within,tx-password:focus-within,tx-input-number:focus-within,tx-datepicker:focus-within,tx-datepicker.tx-datepicker--open)~label{color:var(--tx-float-label-focus-color)}:host ::ng-deep>:is(.tx-input--invalid,tx-select.tx-select--invalid,tx-multiselect.tx-multiselect--invalid,tx-autocomplete.tx-autocomplete--invalid,tx-chips-input.tx-chips-input--invalid,tx-tree-select.tx-tree-select--invalid,tx-cascade-select.tx-cascade-select--invalid,tx-password.tx-password--invalid,tx-input-number.tx-input-number--invalid,tx-datepicker.tx-datepicker--invalid)~label{color:var(--tx-float-label-invalid-color)}\n"],
200
200
  changeDetection: i0.ChangeDetectionStrategy.OnPush
201
201
  });
202
202
  };
@@ -215,7 +215,7 @@ i0.ɵɵngDeclareClassMetadata({
215
215
  class: "tx-float-label",
216
216
  "[attr.data-variant]": "variant()"
217
217
  },
218
- styles: [":host{position:relative;display:flex;flex-direction:column;align-items:flex-start;align-self:start}:host([data-variant=in]){--tx-field-padding-top: var(--tx-float-label-in-input-padding-top);--tx-field-padding-bottom: var(--tx-float-label-in-input-padding-bottom)}:host ::ng-deep>label{position:absolute;top:50%;left:var(--tx-float-label-position-x);z-index:1;max-width:calc(100% - 2 * var(--tx-float-label-position-x));overflow:hidden;margin:0;color:var(--tx-float-label-color);font-family:var(--tx-font-family);font-size:var(--tx-float-label-font-size);font-weight:var(--tx-float-label-font-weight);line-height:1.2;text-overflow:ellipsis;white-space:nowrap;transform:translateY(-50%);transition-property:top,transform,font-size,color,background-color,padding;transition-duration:var(--tx-float-label-transition-duration);pointer-events:none}:host ::ng-deep>textarea~label{top:var(--tx-float-label-position-y);transform:none}:host ::ng-deep>.tx-input:not(:focus)::placeholder,:host ::ng-deep>tx-password:not(:focus-within) .tx-input::placeholder,:host ::ng-deep>tx-input-number:not(:focus-within) .tx-input::placeholder,:host ::ng-deep>tx-select:not(.tx-select--open) .tx-select__value--placeholder,:host ::ng-deep>tx-multiselect:not(.tx-multiselect--open) .tx-select__value--placeholder,:host ::ng-deep>tx-tree-select:not(.tx-tree-select--open) .tx-select__value--placeholder,:host ::ng-deep>tx-cascade-select:not(.tx-cascade-select--open) .tx-select__value--placeholder,:host ::ng-deep>tx-select:not(.tx-select--open,:focus-within) .tx-select__input::placeholder,:host ::ng-deep>tx-autocomplete:not(:focus-within) .tx-select__input::placeholder,:host ::ng-deep>tx-chips-input:not(:focus-within) .tx-chips-input__input::placeholder{color:transparent}:host ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within)~label{font-size:var(--tx-float-label-active-font-size);font-weight:var(--tx-float-label-active-font-weight)}:host([data-variant=over]) ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within)~label{top:var(--tx-float-label-over-active-top);color:var(--tx-float-label-active-color);transform:none}:host([data-variant=in]) ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within)~label{top:var(--tx-float-label-in-active-top);transform:none}:host([data-variant=on]) ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within)~label{top:0;padding:var(--tx-float-label-on-active-padding);border-radius:var(--tx-float-label-on-border-radius);background:var(--tx-float-label-on-active-background);transform:translateY(-50%)}:host ::ng-deep>:is(.tx-input:focus,tx-select.tx-select--open,tx-select:focus-within,tx-multiselect.tx-multiselect--open,tx-multiselect:focus-within,tx-autocomplete:focus-within,tx-chips-input:focus-within,tx-tree-select:focus-within,tx-cascade-select:focus-within,tx-password:focus-within,tx-input-number:focus-within)~label{color:var(--tx-float-label-focus-color)}:host ::ng-deep>:is(.tx-input--invalid,tx-select.tx-select--invalid,tx-multiselect.tx-multiselect--invalid,tx-autocomplete.tx-autocomplete--invalid,tx-chips-input.tx-chips-input--invalid,tx-tree-select.tx-tree-select--invalid,tx-cascade-select.tx-cascade-select--invalid,tx-password.tx-password--invalid,tx-input-number.tx-input-number--invalid)~label{color:var(--tx-float-label-invalid-color)}\n"]
218
+ styles: [":host{position:relative;display:flex;flex-direction:column;align-items:flex-start;align-self:start}:host([data-variant=in]){--tx-field-padding-top: var(--tx-float-label-in-input-padding-top);--tx-field-padding-bottom: var(--tx-float-label-in-input-padding-bottom)}:host ::ng-deep>label{position:absolute;top:50%;left:var(--tx-float-label-position-x);z-index:1;max-width:calc(100% - 2 * var(--tx-float-label-position-x));overflow:hidden;margin:0;color:var(--tx-float-label-color);font-family:var(--tx-font-family);font-size:var(--tx-float-label-font-size);font-weight:var(--tx-float-label-font-weight);line-height:1.2;text-overflow:ellipsis;white-space:nowrap;transform:translateY(-50%);transition-property:top,transform,font-size,color,background-color,padding;transition-duration:var(--tx-float-label-transition-duration);pointer-events:none}:host ::ng-deep>textarea~label{top:var(--tx-float-label-position-y);transform:none}:host ::ng-deep>.tx-input:not(:focus)::placeholder,:host ::ng-deep>tx-password:not(:focus-within) .tx-input::placeholder,:host ::ng-deep>tx-input-number:not(:focus-within) .tx-input::placeholder,:host ::ng-deep>tx-datepicker:not(:focus-within,.tx-datepicker--open) .tx-input::placeholder,:host ::ng-deep>tx-select:not(.tx-select--open) .tx-select__value--placeholder,:host ::ng-deep>tx-multiselect:not(.tx-multiselect--open) .tx-select__value--placeholder,:host ::ng-deep>tx-tree-select:not(.tx-tree-select--open) .tx-select__value--placeholder,:host ::ng-deep>tx-cascade-select:not(.tx-cascade-select--open) .tx-select__value--placeholder,:host ::ng-deep>tx-select:not(.tx-select--open,:focus-within) .tx-select__input::placeholder,:host ::ng-deep>tx-autocomplete:not(:focus-within) .tx-select__input::placeholder,:host ::ng-deep>tx-chips-input:not(:focus-within) .tx-chips-input__input::placeholder{color:transparent}:host ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within,tx-datepicker.tx-datepicker--filled,tx-datepicker.tx-datepicker--open,tx-datepicker:focus-within)~label{font-size:var(--tx-float-label-active-font-size);font-weight:var(--tx-float-label-active-font-weight)}:host([data-variant=over]) ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within,tx-datepicker.tx-datepicker--filled,tx-datepicker.tx-datepicker--open,tx-datepicker:focus-within)~label{top:var(--tx-float-label-over-active-top);color:var(--tx-float-label-active-color);transform:none}:host([data-variant=in]) ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within,tx-datepicker.tx-datepicker--filled,tx-datepicker.tx-datepicker--open,tx-datepicker:focus-within)~label{top:var(--tx-float-label-in-active-top);transform:none}:host([data-variant=on]) ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within,tx-datepicker.tx-datepicker--filled,tx-datepicker.tx-datepicker--open,tx-datepicker:focus-within)~label{top:0;padding:var(--tx-float-label-on-active-padding);border-radius:var(--tx-float-label-on-border-radius);background:var(--tx-float-label-on-active-background);transform:translateY(-50%)}:host ::ng-deep>:is(.tx-input:focus,tx-select.tx-select--open,tx-select:focus-within,tx-multiselect.tx-multiselect--open,tx-multiselect:focus-within,tx-autocomplete:focus-within,tx-chips-input:focus-within,tx-tree-select:focus-within,tx-cascade-select:focus-within,tx-password:focus-within,tx-input-number:focus-within,tx-datepicker:focus-within,tx-datepicker.tx-datepicker--open)~label{color:var(--tx-float-label-focus-color)}:host ::ng-deep>:is(.tx-input--invalid,tx-select.tx-select--invalid,tx-multiselect.tx-multiselect--invalid,tx-autocomplete.tx-autocomplete--invalid,tx-chips-input.tx-chips-input--invalid,tx-tree-select.tx-tree-select--invalid,tx-cascade-select.tx-cascade-select--invalid,tx-password.tx-password--invalid,tx-input-number.tx-input-number--invalid,tx-datepicker.tx-datepicker--invalid)~label{color:var(--tx-float-label-invalid-color)}\n"]
219
219
  }]
220
220
  }],
221
221
  propDecorators: { variant: [{
@@ -246,7 +246,7 @@ var TxIftaLabel = class TxIftaLabel {
246
246
  ngImport: i0,
247
247
  template: "<ng-content />",
248
248
  isInline: true,
249
- styles: [":host{--tx-field-padding-top: var(--tx-ifta-label-input-padding-top);--tx-field-padding-bottom: var(--tx-ifta-label-input-padding-bottom);position:relative;display:flex;flex-direction:column;align-items:flex-start;align-self:start}:host ::ng-deep>label{position:absolute;top:var(--tx-ifta-label-top);left:var(--tx-ifta-label-position-x);z-index:1;margin:0;color:var(--tx-ifta-label-color);font-family:var(--tx-font-family);font-size:var(--tx-ifta-label-font-size);font-weight:var(--tx-ifta-label-font-weight);line-height:1.2;transition:color var(--tx-ifta-label-transition-duration);pointer-events:none}:host ::ng-deep>:is(.tx-input:focus,tx-select.tx-select--open,tx-select:focus-within,tx-multiselect.tx-multiselect--open,tx-multiselect:focus-within,tx-autocomplete:focus-within)~label{color:var(--tx-ifta-label-focus-color)}:host ::ng-deep>:is(.tx-input--invalid,tx-select.tx-select--invalid,tx-multiselect.tx-multiselect--invalid,tx-autocomplete.tx-autocomplete--invalid)~label{color:var(--tx-ifta-label-invalid-color)}\n"],
249
+ styles: [":host{--tx-field-padding-top: var(--tx-ifta-label-input-padding-top);--tx-field-padding-bottom: var(--tx-ifta-label-input-padding-bottom);position:relative;display:flex;flex-direction:column;align-items:flex-start;align-self:start}:host ::ng-deep>label{position:absolute;top:var(--tx-ifta-label-top);left:var(--tx-ifta-label-position-x);z-index:1;margin:0;color:var(--tx-ifta-label-color);font-family:var(--tx-font-family);font-size:var(--tx-ifta-label-font-size);font-weight:var(--tx-ifta-label-font-weight);line-height:1.2;transition:color var(--tx-ifta-label-transition-duration);pointer-events:none}:host ::ng-deep>:is(.tx-input:focus,tx-select.tx-select--open,tx-select:focus-within,tx-multiselect.tx-multiselect--open,tx-multiselect:focus-within,tx-autocomplete:focus-within,tx-datepicker:focus-within,tx-datepicker.tx-datepicker--open)~label{color:var(--tx-ifta-label-focus-color)}:host ::ng-deep>:is(.tx-input--invalid,tx-select.tx-select--invalid,tx-multiselect.tx-multiselect--invalid,tx-autocomplete.tx-autocomplete--invalid,tx-datepicker.tx-datepicker--invalid)~label{color:var(--tx-ifta-label-invalid-color)}\n"],
250
250
  changeDetection: i0.ChangeDetectionStrategy.OnPush
251
251
  });
252
252
  };
@@ -262,7 +262,7 @@ i0.ɵɵngDeclareClassMetadata({
262
262
  template: "<ng-content />",
263
263
  changeDetection: ChangeDetectionStrategy.OnPush,
264
264
  host: { class: "tx-ifta-label" },
265
- styles: [":host{--tx-field-padding-top: var(--tx-ifta-label-input-padding-top);--tx-field-padding-bottom: var(--tx-ifta-label-input-padding-bottom);position:relative;display:flex;flex-direction:column;align-items:flex-start;align-self:start}:host ::ng-deep>label{position:absolute;top:var(--tx-ifta-label-top);left:var(--tx-ifta-label-position-x);z-index:1;margin:0;color:var(--tx-ifta-label-color);font-family:var(--tx-font-family);font-size:var(--tx-ifta-label-font-size);font-weight:var(--tx-ifta-label-font-weight);line-height:1.2;transition:color var(--tx-ifta-label-transition-duration);pointer-events:none}:host ::ng-deep>:is(.tx-input:focus,tx-select.tx-select--open,tx-select:focus-within,tx-multiselect.tx-multiselect--open,tx-multiselect:focus-within,tx-autocomplete:focus-within)~label{color:var(--tx-ifta-label-focus-color)}:host ::ng-deep>:is(.tx-input--invalid,tx-select.tx-select--invalid,tx-multiselect.tx-multiselect--invalid,tx-autocomplete.tx-autocomplete--invalid)~label{color:var(--tx-ifta-label-invalid-color)}\n"]
265
+ styles: [":host{--tx-field-padding-top: var(--tx-ifta-label-input-padding-top);--tx-field-padding-bottom: var(--tx-ifta-label-input-padding-bottom);position:relative;display:flex;flex-direction:column;align-items:flex-start;align-self:start}:host ::ng-deep>label{position:absolute;top:var(--tx-ifta-label-top);left:var(--tx-ifta-label-position-x);z-index:1;margin:0;color:var(--tx-ifta-label-color);font-family:var(--tx-font-family);font-size:var(--tx-ifta-label-font-size);font-weight:var(--tx-ifta-label-font-weight);line-height:1.2;transition:color var(--tx-ifta-label-transition-duration);pointer-events:none}:host ::ng-deep>:is(.tx-input:focus,tx-select.tx-select--open,tx-select:focus-within,tx-multiselect.tx-multiselect--open,tx-multiselect:focus-within,tx-autocomplete:focus-within,tx-datepicker:focus-within,tx-datepicker.tx-datepicker--open)~label{color:var(--tx-ifta-label-focus-color)}:host ::ng-deep>:is(.tx-input--invalid,tx-select.tx-select--invalid,tx-multiselect.tx-multiselect--invalid,tx-autocomplete.tx-autocomplete--invalid,tx-datepicker.tx-datepicker--invalid)~label{color:var(--tx-ifta-label-invalid-color)}\n"]
266
266
  }]
267
267
  }]
268
268
  });
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-label.mjs","names":[],"sources":["../../../../packages/ui/label/src/label.component.ts","../../../../packages/ui/label/src/float-label.component.ts","../../../../packages/ui/label/src/ifta-label.component.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, booleanAttribute, input } from '@angular/core';\nimport { TxIcon } from '@tectra-ng/icons';\n\n@Component({\n selector: 'tx-label',\n imports: [TxIcon],\n template: `\n <label class=\"tx-label__text\" [attr.for]=\"for() ?? null\">\n <ng-content />@if (colon()) {:}\n @if (required()) {\n <span class=\"tx-label__required\" aria-hidden=\"true\">*</span>\n }\n @if (tooltip(); as tooltip) {\n <span class=\"tx-label__hint\" role=\"img\" tabindex=\"0\" [title]=\"tooltip\" [attr.aria-label]=\"tooltip\"><tx-icon [name]=\"'info-circle'\" /></span>\n }\n </label>\n `,\n styleUrl: './label.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'tx-label', '[class.tx-label--subtle]': 'subtle()' },\n})\nexport class TxLabel {\n readonly for = input<string | undefined>(undefined);\n readonly required = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly colon = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly subtle = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly tooltip = input<string | undefined>(undefined);\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { TxFloatLabelVariant } from './label.types';\n\n@Component({\n selector: 'tx-float-label',\n template: '<ng-content />',\n styleUrl: './float-label.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'tx-float-label', '[attr.data-variant]': 'variant()' },\n})\nexport class TxFloatLabel {\n readonly variant = input<TxFloatLabelVariant>('over');\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'tx-ifta-label',\n template: '<ng-content />',\n styleUrl: './ifta-label.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'tx-ifta-label' },\n})\nexport class TxIftaLabel {}\n"],"mappings":";;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EACW,MAAA,CAAA;GAAA,UAAA;GAAgB,UAChB;GAAgB,iBAET,wBAAwB;GAAM,MACzC;IAAE,OAAO;IAAkB,uBAAuB;GAAW;GAAE,QAAA,CAAA,k1KAAA;EAAA,CAAA;;;;;;;;;;;ACCvE,IAAa,cAAb,MAAa,YAAW;CAAX,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAW,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAX,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAW,cAAA;EAAA,UAAA;EAAA,MAAA,EAAA,gBAAA,gBAAA;EAAA,UAAA;EAAA,UALZ;EAAgB,UAAA;EAAA,QAAA,CAAA,mgCAAA;EAAA,iBAAA,GAAA,wBAAA;CAAA,CAAA;;AAKf,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAW,YAAA,CAAA;EAPvB,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAe,UACf;GAAgB,iBAET,wBAAwB;GAAM,MACzC,EAAE,OAAO,gBAAe;GAAE,QAAA,CAAA,mgCAAA;EAAA,CAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-label.mjs","names":[],"sources":["../../../../packages/ui/label/src/label.component.ts","../../../../packages/ui/label/src/float-label.component.ts","../../../../packages/ui/label/src/ifta-label.component.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, booleanAttribute, input } from '@angular/core';\nimport { TxIcon } from '@tectra-ng/icons';\n\n@Component({\n selector: 'tx-label',\n imports: [TxIcon],\n template: `\n <label class=\"tx-label__text\" [attr.for]=\"for() ?? null\">\n <ng-content />@if (colon()) {:}\n @if (required()) {\n <span class=\"tx-label__required\" aria-hidden=\"true\">*</span>\n }\n @if (tooltip(); as tooltip) {\n <span class=\"tx-label__hint\" role=\"img\" tabindex=\"0\" [title]=\"tooltip\" [attr.aria-label]=\"tooltip\"><tx-icon [name]=\"'info-circle'\" /></span>\n }\n </label>\n `,\n styleUrl: './label.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'tx-label', '[class.tx-label--subtle]': 'subtle()' },\n})\nexport class TxLabel {\n readonly for = input<string | undefined>(undefined);\n readonly required = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly colon = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly subtle = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly tooltip = input<string | undefined>(undefined);\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { TxFloatLabelVariant } from './label.types';\n\n@Component({\n selector: 'tx-float-label',\n template: '<ng-content />',\n styleUrl: './float-label.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'tx-float-label', '[attr.data-variant]': 'variant()' },\n})\nexport class TxFloatLabel {\n readonly variant = input<TxFloatLabelVariant>('over');\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'tx-ifta-label',\n template: '<ng-content />',\n styleUrl: './ifta-label.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'tx-ifta-label' },\n})\nexport class TxIftaLabel {}\n"],"mappings":";;;AAqBA,IAAa,UAAb,MAAa,QAAO;CACT,MAAM,MAA0B,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,MAAA,CAAA,+BAAA,CAAA,CAAA;CAC1C,WAAW,MAAwB,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,WAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACvE,QAAQ,MAAwB,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,QAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACpE,SAAS,MAAwB,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,SAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACrE,UAAU,M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A,gBAAA,gBAAA;EAAA,UAAA;EAAA,UALZ;EAAgB,UAAA;EAAA,QAAA,CAAA,qmCAAA;EAAA,iBAAA,GAAA,wBAAA;CAAA,CAAA;;AAKf,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAW,YAAA,CAAA;EAPvB,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAe,UACf;GAAgB,iBAET,wBAAwB;GAAM,MACzC,EAAE,OAAO,gBAAe;GAAE,QAAA,CAAA,qmCAAA;EAAA,CAAA"}
@@ -271,7 +271,7 @@ var TxListbox = class TxListbox extends TxOptionsBase {
271
271
  usesInheritance: true,
272
272
  ngImport: i0,
273
273
  template: "@if (headerTemplate(); as template) {\n <div class=\"tx-listbox__header\" [class]=\"passThrough().header?.class\" [style]=\"passThrough().header?.style\">\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" />\n </div>\n}\n@if (filter()) {\n <div class=\"tx-listbox__filter\" [class]=\"passThrough().filter?.class\" [style]=\"passThrough().filter?.style\">\n <span class=\"tx-select__filter-field\">\n <input\n type=\"text\"\n autocomplete=\"off\"\n class=\"tx-select__filter-input tx-listbox__filter-input\"\n role=\"searchbox\"\n [class]=\"passThrough().filterInput?.class\"\n [style]=\"passThrough().filterInput?.style\"\n [attr.aria-label]=\"filterPlaceholder() ?? translations().searchPlaceholder\"\n [attr.aria-controls]=\"listboxId\"\n [attr.aria-activedescendant]=\"activeItemId()\"\n [placeholder]=\"filterPlaceholder() ?? translations().searchPlaceholder\"\n [value]=\"query()\"\n [disabled]=\"disabled()\"\n (input)=\"onFilterInput($event)\"\n (keydown)=\"onListKeydown($event)\"\n (focus)=\"onFilterFocus()\"\n (blur)=\"onListBlur()\"\n />\n <tx-icon class=\"tx-select__filter-icon\" [name]=\"'search'\" />\n </span>\n </div>\n}\n<tx-option-list\n [rows]=\"rows()\"\n [listboxId]=\"listboxId\"\n [activeIndex]=\"shownActiveIndex()\"\n [multiple]=\"isMultiple()\"\n [checkbox]=\"checkbox()\"\n [checkmark]=\"checkmark()\"\n [virtualScroll]=\"virtualScroll()\"\n [itemSize]=\"virtualScrollItemSize()\"\n [scrollHeight]=\"scrollHeight()\"\n [loading]=\"loading()\"\n [query]=\"query()\"\n [emptyText]=\"emptyText()\"\n [loadingText]=\"translations().loading\"\n [optionTemplate]=\"optionTemplate()?.templateRef\"\n [groupTemplate]=\"groupTemplate()?.templateRef\"\n [emptyTemplate]=\"emptyTemplate()?.templateRef\"\n [emptyFilterTemplate]=\"emptyFilterTemplate()?.templateRef\"\n [passThrough]=\"passThrough()\"\n [unstyled]=\"isUnstyled()\"\n [focusable]=\"true\"\n [disabled]=\"disabled()\"\n [ariaLabel]=\"ariaLabel()\"\n [ariaLabelledBy]=\"ariaLabelledBy()\"\n [ariaInvalid]=\"isInvalid()\"\n (optionClick)=\"onOptionClick($event)\"\n (optionHover)=\"focused() && activeIndex.set($event)\"\n (rangeChange)=\"onRangeChange($event)\"\n (listKeydown)=\"onListKeydown($event)\"\n (listFocus)=\"onListFocus()\"\n (listBlur)=\"onListBlur()\"\n/>\n@if (footerTemplate(); as template) {\n <div class=\"tx-listbox__footer\" [class]=\"passThrough().footer?.class\" [style]=\"passThrough().footer?.style\">\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" />\n </div>\n}\n",
274
- styles: [":host{display:flex;flex-direction:column}:host(.tx-listbox--disabled){pointer-events:none}:host([data-styled]){overflow:hidden;border:1px solid var(--tx-listbox-border-color);border-radius:var(--tx-listbox-border-radius);background:var(--tx-listbox-background);box-shadow:var(--tx-listbox-shadow);color:var(--tx-select-option-color);font-family:var(--tx-font-family);font-size:var(--tx-form-field-font-size);line-height:var(--tx-form-field-line-height);transition:border-color var(--tx-form-field-transition-duration),box-shadow var(--tx-form-field-transition-duration)}:host([data-styled]) .tx-listbox__header{padding:var(--tx-select-header-padding)}:host([data-styled]) .tx-listbox__footer{padding:var(--tx-select-footer-padding)}:host([data-styled]) .tx-listbox__filter{display:flex;align-items:center;gap:var(--tx-select-filter-gap);padding:var(--tx-select-filter-padding)}:host([data-styled]) .tx-listbox__filter .tx-select__filter-field{position:relative;display:flex;flex:1 1 auto;align-items:center;min-width:0}:host([data-styled]) .tx-listbox__filter .tx-select__filter-input{box-sizing:border-box;padding-top:var(--tx-field-padding-top, var(--tx-form-field-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-padding-y));padding-inline:calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-end, 0px));border:1px solid var(--tx-form-field-border-color);border-radius:var(--tx-form-field-border-radius);outline:none;background:var(--tx-form-field-background);box-shadow:var(--tx-form-field-shadow);color:var(--tx-form-field-color);font-family:var(--tx-font-family);font-size:var(--tx-form-field-font-size);line-height:var(--tx-form-field-line-height);transition:background-color var(--tx-form-field-transition-duration),border-color var(--tx-form-field-transition-duration),box-shadow var(--tx-form-field-transition-duration);width:100%;min-width:0;padding-inline-end:calc(var(--tx-form-field-padding-x) + 1em + var(--tx-select-filter-icon-inset))}:host([data-styled]) .tx-listbox__filter .tx-select__filter-input:hover{border-color:var(--tx-form-field-hover-border-color)}:host([data-styled]) .tx-listbox__filter .tx-select__filter-input:focus{border-color:var(--tx-form-field-focus-border-color);box-shadow:var(--tx-form-field-focus-ring-shadow)}:host([data-styled]) .tx-listbox__filter .tx-select__filter-input::placeholder{color:var(--tx-form-field-placeholder-color)}:host([data-styled]) .tx-listbox__filter .tx-select__filter-icon{position:absolute;right:var(--tx-select-filter-icon-inset);color:var(--tx-form-field-icon-color);pointer-events:none}:host([data-styled].tx-listbox--focused:has(.tx-select__list:focus-visible)){border-color:var(--tx-listbox-focus-border-color);box-shadow:var(--tx-listbox-focus-ring-shadow)}:host([data-styled].tx-listbox--invalid){border-color:var(--tx-listbox-invalid-border-color)}:host([data-styled].tx-listbox--disabled){background:var(--tx-listbox-disabled-background);color:var(--tx-listbox-disabled-color)}\n"],
274
+ styles: [":host{display:flex;flex-direction:column}:host(.tx-listbox--disabled){pointer-events:none}:host([data-styled]){overflow:hidden;border:1px solid var(--tx-listbox-border-color);border-radius:var(--tx-listbox-border-radius);background:var(--tx-listbox-background);box-shadow:var(--tx-listbox-shadow);color:var(--tx-select-option-color);font-family:var(--tx-font-family);font-size:var(--tx-form-field-font-size);line-height:var(--tx-form-field-line-height);transition:border-color var(--tx-form-field-transition-duration),box-shadow var(--tx-form-field-transition-duration)}:host([data-styled]) .tx-listbox__header{padding:var(--tx-select-header-padding)}:host([data-styled]) .tx-listbox__footer{padding:var(--tx-select-footer-padding)}:host([data-styled]) .tx-listbox__filter{display:flex;align-items:center;gap:var(--tx-select-filter-gap);padding:var(--tx-select-filter-padding)}:host([data-styled]) .tx-listbox__filter .tx-select__filter-field{position:relative;display:flex;flex:1 1 auto;align-items:center;min-width:0}:host([data-styled]) .tx-listbox__filter .tx-select__filter-input{box-sizing:border-box;padding-top:var(--tx-field-padding-top, var(--tx-form-field-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-padding-y));padding-inline:calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-end, 0px));border:1px solid var(--tx-form-field-border-color);border-radius:var(--tx-form-field-border-radius);outline:none;background-color:var(--tx-form-field-background);box-shadow:var(--tx-form-field-shadow);color:var(--tx-form-field-color);font-family:var(--tx-font-family);font-size:var(--tx-form-field-font-size);line-height:var(--tx-form-field-line-height);transition:background-color var(--tx-form-field-transition-duration),border-color var(--tx-form-field-transition-duration),box-shadow var(--tx-form-field-transition-duration);width:100%;min-width:0;padding-inline-end:calc(var(--tx-form-field-padding-x) + 1em + var(--tx-select-filter-icon-inset))}:host([data-styled]) .tx-listbox__filter .tx-select__filter-input:hover{border-color:var(--tx-form-field-hover-border-color)}:host([data-styled]) .tx-listbox__filter .tx-select__filter-input:focus{border-color:var(--tx-form-field-focus-border-color);outline:var(--tx-form-field-focus-ring-width) var(--tx-form-field-focus-ring-style) var(--tx-form-field-focus-ring-color);outline-offset:var(--tx-form-field-focus-ring-offset);box-shadow:var(--tx-form-field-focus-ring-shadow)}:host([data-styled]) .tx-listbox__filter .tx-select__filter-input::placeholder{color:var(--tx-form-field-placeholder-color)}:host([data-styled]) .tx-listbox__filter .tx-select__filter-icon{position:absolute;right:var(--tx-select-filter-icon-inset);color:var(--tx-form-field-icon-color);pointer-events:none}:host([data-styled].tx-listbox--focused:has(.tx-select__list:focus-visible)){border-color:var(--tx-listbox-focus-border-color);box-shadow:var(--tx-listbox-focus-ring-shadow)}:host([data-styled].tx-listbox--invalid){border-color:var(--tx-listbox-invalid-border-color)}:host([data-styled].tx-listbox--disabled){background:var(--tx-listbox-disabled-background);color:var(--tx-listbox-disabled-color)}\n"],
275
275
  dependencies: [
276
276
  {
277
277
  kind: "directive",
@@ -365,7 +365,7 @@ i0.ɵɵngDeclareClassMetadata({
365
365
  "(mousedown)": "onPointer($event)"
366
366
  },
367
367
  template: "@if (headerTemplate(); as template) {\n <div class=\"tx-listbox__header\" [class]=\"passThrough().header?.class\" [style]=\"passThrough().header?.style\">\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" />\n </div>\n}\n@if (filter()) {\n <div class=\"tx-listbox__filter\" [class]=\"passThrough().filter?.class\" [style]=\"passThrough().filter?.style\">\n <span class=\"tx-select__filter-field\">\n <input\n type=\"text\"\n autocomplete=\"off\"\n class=\"tx-select__filter-input tx-listbox__filter-input\"\n role=\"searchbox\"\n [class]=\"passThrough().filterInput?.class\"\n [style]=\"passThrough().filterInput?.style\"\n [attr.aria-label]=\"filterPlaceholder() ?? translations().searchPlaceholder\"\n [attr.aria-controls]=\"listboxId\"\n [attr.aria-activedescendant]=\"activeItemId()\"\n [placeholder]=\"filterPlaceholder() ?? translations().searchPlaceholder\"\n [value]=\"query()\"\n [disabled]=\"disabled()\"\n (input)=\"onFilterInput($event)\"\n (keydown)=\"onListKeydown($event)\"\n (focus)=\"onFilterFocus()\"\n (blur)=\"onListBlur()\"\n />\n <tx-icon class=\"tx-select__filter-icon\" [name]=\"'search'\" />\n </span>\n </div>\n}\n<tx-option-list\n [rows]=\"rows()\"\n [listboxId]=\"listboxId\"\n [activeIndex]=\"shownActiveIndex()\"\n [multiple]=\"isMultiple()\"\n [checkbox]=\"checkbox()\"\n [checkmark]=\"checkmark()\"\n [virtualScroll]=\"virtualScroll()\"\n [itemSize]=\"virtualScrollItemSize()\"\n [scrollHeight]=\"scrollHeight()\"\n [loading]=\"loading()\"\n [query]=\"query()\"\n [emptyText]=\"emptyText()\"\n [loadingText]=\"translations().loading\"\n [optionTemplate]=\"optionTemplate()?.templateRef\"\n [groupTemplate]=\"groupTemplate()?.templateRef\"\n [emptyTemplate]=\"emptyTemplate()?.templateRef\"\n [emptyFilterTemplate]=\"emptyFilterTemplate()?.templateRef\"\n [passThrough]=\"passThrough()\"\n [unstyled]=\"isUnstyled()\"\n [focusable]=\"true\"\n [disabled]=\"disabled()\"\n [ariaLabel]=\"ariaLabel()\"\n [ariaLabelledBy]=\"ariaLabelledBy()\"\n [ariaInvalid]=\"isInvalid()\"\n (optionClick)=\"onOptionClick($event)\"\n (optionHover)=\"focused() && activeIndex.set($event)\"\n (rangeChange)=\"onRangeChange($event)\"\n (listKeydown)=\"onListKeydown($event)\"\n (listFocus)=\"onListFocus()\"\n (listBlur)=\"onListBlur()\"\n/>\n@if (footerTemplate(); as template) {\n <div class=\"tx-listbox__footer\" [class]=\"passThrough().footer?.class\" [style]=\"passThrough().footer?.style\">\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" />\n </div>\n}\n",
368
- styles: [":host{display:flex;flex-direction:column}:host(.tx-listbox--disabled){pointer-events:none}:host([data-styled]){overflow:hidden;border:1px solid var(--tx-listbox-border-color);border-radius:var(--tx-listbox-border-radius);background:var(--tx-listbox-background);box-shadow:var(--tx-listbox-shadow);color:var(--tx-select-option-color);font-family:var(--tx-font-family);font-size:var(--tx-form-field-font-size);line-height:var(--tx-form-field-line-height);transition:border-color var(--tx-form-field-transition-duration),box-shadow var(--tx-form-field-transition-duration)}:host([data-styled]) .tx-listbox__header{padding:var(--tx-select-header-padding)}:host([data-styled]) .tx-listbox__footer{padding:var(--tx-select-footer-padding)}:host([data-styled]) .tx-listbox__filter{display:flex;align-items:center;gap:var(--tx-select-filter-gap);padding:var(--tx-select-filter-padding)}:host([data-styled]) .tx-listbox__filter .tx-select__filter-field{position:relative;display:flex;flex:1 1 auto;align-items:center;min-width:0}:host([data-styled]) .tx-listbox__filter .tx-select__filter-input{box-sizing:border-box;padding-top:var(--tx-field-padding-top, var(--tx-form-field-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-padding-y));padding-inline:calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-end, 0px));border:1px solid var(--tx-form-field-border-color);border-radius:var(--tx-form-field-border-radius);outline:none;background:var(--tx-form-field-background);box-shadow:var(--tx-form-field-shadow);color:var(--tx-form-field-color);font-family:var(--tx-font-family);font-size:var(--tx-form-field-font-size);line-height:var(--tx-form-field-line-height);transition:background-color var(--tx-form-field-transition-duration),border-color var(--tx-form-field-transition-duration),box-shadow var(--tx-form-field-transition-duration);width:100%;min-width:0;padding-inline-end:calc(var(--tx-form-field-padding-x) + 1em + var(--tx-select-filter-icon-inset))}:host([data-styled]) .tx-listbox__filter .tx-select__filter-input:hover{border-color:var(--tx-form-field-hover-border-color)}:host([data-styled]) .tx-listbox__filter .tx-select__filter-input:focus{border-color:var(--tx-form-field-focus-border-color);box-shadow:var(--tx-form-field-focus-ring-shadow)}:host([data-styled]) .tx-listbox__filter .tx-select__filter-input::placeholder{color:var(--tx-form-field-placeholder-color)}:host([data-styled]) .tx-listbox__filter .tx-select__filter-icon{position:absolute;right:var(--tx-select-filter-icon-inset);color:var(--tx-form-field-icon-color);pointer-events:none}:host([data-styled].tx-listbox--focused:has(.tx-select__list:focus-visible)){border-color:var(--tx-listbox-focus-border-color);box-shadow:var(--tx-listbox-focus-ring-shadow)}:host([data-styled].tx-listbox--invalid){border-color:var(--tx-listbox-invalid-border-color)}:host([data-styled].tx-listbox--disabled){background:var(--tx-listbox-disabled-background);color:var(--tx-listbox-disabled-color)}\n"]
368
+ styles: [":host{display:flex;flex-direction:column}:host(.tx-listbox--disabled){pointer-events:none}:host([data-styled]){overflow:hidden;border:1px solid var(--tx-listbox-border-color);border-radius:var(--tx-listbox-border-radius);background:var(--tx-listbox-background);box-shadow:var(--tx-listbox-shadow);color:var(--tx-select-option-color);font-family:var(--tx-font-family);font-size:var(--tx-form-field-font-size);line-height:var(--tx-form-field-line-height);transition:border-color var(--tx-form-field-transition-duration),box-shadow var(--tx-form-field-transition-duration)}:host([data-styled]) .tx-listbox__header{padding:var(--tx-select-header-padding)}:host([data-styled]) .tx-listbox__footer{padding:var(--tx-select-footer-padding)}:host([data-styled]) .tx-listbox__filter{display:flex;align-items:center;gap:var(--tx-select-filter-gap);padding:var(--tx-select-filter-padding)}:host([data-styled]) .tx-listbox__filter .tx-select__filter-field{position:relative;display:flex;flex:1 1 auto;align-items:center;min-width:0}:host([data-styled]) .tx-listbox__filter .tx-select__filter-input{box-sizing:border-box;padding-top:var(--tx-field-padding-top, var(--tx-form-field-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-padding-y));padding-inline:calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-end, 0px));border:1px solid var(--tx-form-field-border-color);border-radius:var(--tx-form-field-border-radius);outline:none;background-color:var(--tx-form-field-background);box-shadow:var(--tx-form-field-shadow);color:var(--tx-form-field-color);font-family:var(--tx-font-family);font-size:var(--tx-form-field-font-size);line-height:var(--tx-form-field-line-height);transition:background-color var(--tx-form-field-transition-duration),border-color var(--tx-form-field-transition-duration),box-shadow var(--tx-form-field-transition-duration);width:100%;min-width:0;padding-inline-end:calc(var(--tx-form-field-padding-x) + 1em + var(--tx-select-filter-icon-inset))}:host([data-styled]) .tx-listbox__filter .tx-select__filter-input:hover{border-color:var(--tx-form-field-hover-border-color)}:host([data-styled]) .tx-listbox__filter .tx-select__filter-input:focus{border-color:var(--tx-form-field-focus-border-color);outline:var(--tx-form-field-focus-ring-width) var(--tx-form-field-focus-ring-style) var(--tx-form-field-focus-ring-color);outline-offset:var(--tx-form-field-focus-ring-offset);box-shadow:var(--tx-form-field-focus-ring-shadow)}:host([data-styled]) .tx-listbox__filter .tx-select__filter-input::placeholder{color:var(--tx-form-field-placeholder-color)}:host([data-styled]) .tx-listbox__filter .tx-select__filter-icon{position:absolute;right:var(--tx-select-filter-icon-inset);color:var(--tx-form-field-icon-color);pointer-events:none}:host([data-styled].tx-listbox--focused:has(.tx-select__list:focus-visible)){border-color:var(--tx-listbox-focus-border-color);box-shadow:var(--tx-listbox-focus-ring-shadow)}:host([data-styled].tx-listbox--invalid){border-color:var(--tx-listbox-invalid-border-color)}:host([data-styled].tx-listbox--disabled){background:var(--tx-listbox-disabled-background);color:var(--tx-listbox-disabled-color)}\n"]
369
369
  }]
370
370
  }],
371
371
  propDecorators: {
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-listbox.mjs","names":[],"sources":["../../../../packages/ui/listbox/src/listbox.component.ts","../../../../packages/ui/listbox/src/listbox.component.html"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, booleanAttribute, computed, forwardRef, input, output, signal } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { TxPassThrough, TxPassThroughOptions, injectPassThrough, injectUnstyled } from '@tectra-ng/core/config';\nimport { injectFieldInvalid } from '@tectra-ng/core/forms';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TxIcon } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraListboxTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxOptionList, TxOptionsBase, TxSelectItem, isSelectableRow } from '@tectra-ng/ui/select';\nimport { TxListboxChangeEvent, TxListboxPart } from './listbox.types';\n\n@Component({\n selector: 'tx-listbox',\n imports: [NgTemplateOutlet, TxIcon, TxOptionList],\n templateUrl: './listbox.component.html',\n styleUrl: './listbox.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TxListbox), multi: true }],\n host: {\n class: 'tx-listbox',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[class.tx-listbox--focused]': 'focused()',\n '[class.tx-listbox--disabled]': 'disabled()',\n '[class.tx-listbox--invalid]': 'isInvalid()',\n '[class.tx-listbox--readonly]': 'readonly()',\n '(mousedown)': 'onPointer($event)',\n },\n})\nexport class TxListbox extends TxOptionsBase<unknown> {\n readonly options = input<readonly unknown[]>([]);\n readonly multiple = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly checkbox = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly metaKeySelection = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly checkmark = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly readonly = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly invalid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly ariaLabelledBy = input<string | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraListboxTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxListboxPart, TxListbox> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly changed = output<TxListboxChangeEvent>();\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly isInvalid = injectFieldInvalid(this.invalid);\n readonly passThrough = injectPassThrough('listbox', this, this.pt, this.ptOptions);\n readonly focused = signal(false);\n protected readonly source = this.options;\n private replaceOnClick = false;\n\n readonly isMultiple = computed(() => this.multiple() || this.checkbox());\n readonly selectedValues = computed<unknown[]>(() => {\n const value = this.value();\n if (this.isMultiple()) {\n return Array.isArray(value) ? value : [];\n }\n return value === null || value === undefined ? [] : [value];\n });\n readonly shownActiveIndex = computed(() => (this.focused() ? this.activeIndex() : -1));\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-listbox'), ...this.passThrough().root?.style }));\n\n onPointer(event: MouseEvent): void {\n this.replaceOnClick = this.isMultiple() && this.metaKeySelection() && !(event.ctrlKey || event.metaKey);\n }\n\n onListFocus(): void {\n this.focused.set(true);\n if (!isSelectableRow(this.rows()[this.activeIndex()])) {\n this.resetActive(true);\n }\n }\n\n onListBlur(): void {\n this.focused.set(false);\n this.markTouched();\n }\n\n onOptionClick(item: TxSelectItem): void {\n this.activeIndex.set(this.rows().indexOf(item));\n if (this.replaceOnClick) {\n this.replaceOnClick = false;\n this.commit([item.value], item);\n return;\n }\n this.activate(item);\n }\n\n onListKeydown(event: KeyboardEvent): void {\n const typing = (event.target as HTMLElement).classList.contains('tx-listbox__filter-input');\n if (event.key === 'ArrowDown' || event.key === 'ArrowUp' || event.key === 'PageDown' || event.key === 'PageUp' || (!typing && (event.key === 'Home' || event.key === 'End'))) {\n event.preventDefault();\n if (!this.focused() && !isSelectableRow(this.rows()[this.activeIndex()])) {\n this.resetActive(true);\n }\n if (this.moveActive(event.key) && event.shiftKey && this.isMultiple()) {\n const active = this.rows()[this.activeIndex()];\n if (isSelectableRow(active) && !active.selected) {\n this.activate(active);\n }\n }\n return;\n }\n if (event.key === 'Enter' || (event.key === ' ' && !typing)) {\n const active = this.rows()[this.activeIndex()];\n if (isSelectableRow(active)) {\n event.preventDefault();\n this.activate(active);\n }\n return;\n }\n if (!typing && this.isMultiple() && (event.ctrlKey || event.metaKey) && event.key.toLowerCase() === 'a') {\n event.preventDefault();\n this.toggleAll();\n return;\n }\n if (!typing && event.key.length === 1 && !event.ctrlKey && !event.metaKey && !event.altKey) {\n if (this.findByTyping(event.key)) {\n this.scrollActiveIntoView();\n }\n }\n }\n\n onFilterFocus(): void {\n this.focused.set(true);\n if (!isSelectableRow(this.rows()[this.activeIndex()])) {\n this.resetActive(true);\n }\n }\n\n toggleAll(): void {\n if (this.readonly() || this.disabled()) {\n return;\n }\n const items = this.rows().filter(isSelectableRow);\n const allSelected = items.every((item) => item.selected);\n const values = allSelected\n ? this.selectedValues().filter((value) => !items.some((item) => this.sameValue(item.value, value)))\n : [...this.selectedValues(), ...items.filter((item) => !item.selected).map((item) => item.value)];\n this.commit(values, null);\n }\n\n protected isListActive(): boolean {\n return this.focused();\n }\n\n protected isSelected(value: unknown): boolean {\n return this.selectedValues().some((selected) => this.sameValue(selected, value));\n }\n\n protected activate(item: TxSelectItem): void {\n if (this.readonly() || this.disabled() || item.disabled) {\n return;\n }\n if (!this.isMultiple()) {\n if (!item.selected) {\n this.commit([item.value], item);\n }\n return;\n }\n const values = item.selected ? this.selectedValues().filter((value) => !this.sameValue(value, item.value)) : [...this.selectedValues(), item.value];\n this.commit(values, item);\n }\n\n private commit(values: unknown[], item: TxSelectItem | null): void {\n const value = this.isMultiple() ? values : (values[0] ?? null);\n this.updateValue(value);\n this.changed.emit({ value, option: item?.option ?? null });\n }\n}\n","@if (headerTemplate(); as template) {\n <div class=\"tx-listbox__header\" [class]=\"passThrough().header?.class\" [style]=\"passThrough().header?.style\">\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" />\n </div>\n}\n@if (filter()) {\n <div class=\"tx-listbox__filter\" [class]=\"passThrough().filter?.class\" [style]=\"passThrough().filter?.style\">\n <span class=\"tx-select__filter-field\">\n <input\n type=\"text\"\n autocomplete=\"off\"\n class=\"tx-select__filter-input tx-listbox__filter-input\"\n role=\"searchbox\"\n [class]=\"passThrough().filterInput?.class\"\n [style]=\"passThrough().filterInput?.style\"\n [attr.aria-label]=\"filterPlaceholder() ?? translations().searchPlaceholder\"\n [attr.aria-controls]=\"listboxId\"\n [attr.aria-activedescendant]=\"activeItemId()\"\n [placeholder]=\"filterPlaceholder() ?? translations().searchPlaceholder\"\n [value]=\"query()\"\n [disabled]=\"disabled()\"\n (input)=\"onFilterInput($event)\"\n (keydown)=\"onListKeydown($event)\"\n (focus)=\"onFilterFocus()\"\n (blur)=\"onListBlur()\"\n />\n <tx-icon class=\"tx-select__filter-icon\" [name]=\"'search'\" />\n </span>\n </div>\n}\n<tx-option-list\n [rows]=\"rows()\"\n [listboxId]=\"listboxId\"\n [activeIndex]=\"shownActiveIndex()\"\n [multiple]=\"isMultiple()\"\n [checkbox]=\"checkbox()\"\n [checkmark]=\"checkmark()\"\n [virtualScroll]=\"virtualScroll()\"\n [itemSize]=\"virtualScrollItemSize()\"\n [scrollHeight]=\"scrollHeight()\"\n [loading]=\"loading()\"\n [query]=\"query()\"\n [emptyText]=\"emptyText()\"\n [loadingText]=\"translations().loading\"\n [optionTemplate]=\"optionTemplate()?.templateRef\"\n [groupTemplate]=\"groupTemplate()?.templateRef\"\n [emptyTemplate]=\"emptyTemplate()?.templateRef\"\n [emptyFilterTemplate]=\"emptyFilterTemplate()?.templateRef\"\n [passThrough]=\"passThrough()\"\n [unstyled]=\"isUnstyled()\"\n [focusable]=\"true\"\n [disabled]=\"disabled()\"\n [ariaLabel]=\"ariaLabel()\"\n [ariaLabelledBy]=\"ariaLabelledBy()\"\n [ariaInvalid]=\"isInvalid()\"\n (optionClick)=\"onOptionClick($event)\"\n (optionHover)=\"focused() && activeIndex.set($event)\"\n (rangeChange)=\"onRangeChange($event)\"\n (listKeydown)=\"onListKeydown($event)\"\n (listFocus)=\"onListFocus()\"\n (listBlur)=\"onListBlur()\"\n/>\n@if (footerTemplate(); as template) {\n <div class=\"tx-listbox__footer\" [class]=\"passThrough().footer?.class\" [style]=\"passThrough().footer?.style\">\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" />\n </div>\n}\n"],"mappings":";;;;;;;;;;AA8BA,IAAa,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GAAY,SACb;IAAC;IAAkB;IAAQ;GAAY;GAAC,iBAGhC,wBAAwB;GAAM,WACpC,CAAC;IAAE,SAAS;IAAmB,aAAa,iBAAgB,SAAU;IAAG,OAAO;GAAI,CAAE;GAAC,MAC5F;IACJ,OAAO;IACP,WAAW;IACX,WAAW;IACX,sBAAsB;IACtB,+BAA+B;IAC/B,gCAAgC;IAChC,+BAA+B;IAC/B,gCAAgC;IAChC,eAAe;GAChB;GAAA,UAAA;GAAA,QAAA,CAAA,0/FAAA;EAAA,CAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-listbox.mjs","names":[],"sources":["../../../../packages/ui/listbox/src/listbox.component.ts","../../../../packages/ui/listbox/src/listbox.component.html"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, booleanAttribute, computed, forwardRef, input, output, signal } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { TxPassThrough, TxPassThroughOptions, injectPassThrough, injectUnstyled } from '@tectra-ng/core/config';\nimport { injectFieldInvalid } from '@tectra-ng/core/forms';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TxIcon } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraListboxTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxOptionList, TxOptionsBase, TxSelectItem, isSelectableRow } from '@tectra-ng/ui/select';\nimport { TxListboxChangeEvent, TxListboxPart } from './listbox.types';\n\n@Component({\n selector: 'tx-listbox',\n imports: [NgTemplateOutlet, TxIcon, TxOptionList],\n templateUrl: './listbox.component.html',\n styleUrl: './listbox.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TxListbox), multi: true }],\n host: {\n class: 'tx-listbox',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[class.tx-listbox--focused]': 'focused()',\n '[class.tx-listbox--disabled]': 'disabled()',\n '[class.tx-listbox--invalid]': 'isInvalid()',\n '[class.tx-listbox--readonly]': 'readonly()',\n '(mousedown)': 'onPointer($event)',\n },\n})\nexport class TxListbox extends TxOptionsBase<unknown> {\n readonly options = input<readonly unknown[]>([]);\n readonly multiple = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly checkbox = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly metaKeySelection = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly checkmark = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly readonly = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly invalid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly ariaLabelledBy = input<string | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraListboxTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxListboxPart, TxListbox> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly changed = output<TxListboxChangeEvent>();\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly isInvalid = injectFieldInvalid(this.invalid);\n readonly passThrough = injectPassThrough('listbox', this, this.pt, this.ptOptions);\n readonly focused = signal(false);\n protected readonly source = this.options;\n private replaceOnClick = false;\n\n readonly isMultiple = computed(() => this.multiple() || this.checkbox());\n readonly selectedValues = computed<unknown[]>(() => {\n const value = this.value();\n if (this.isMultiple()) {\n return Array.isArray(value) ? value : [];\n }\n return value === null || value === undefined ? [] : [value];\n });\n readonly shownActiveIndex = computed(() => (this.focused() ? this.activeIndex() : -1));\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-listbox'), ...this.passThrough().root?.style }));\n\n onPointer(event: MouseEvent): void {\n this.replaceOnClick = this.isMultiple() && this.metaKeySelection() && !(event.ctrlKey || event.metaKey);\n }\n\n onListFocus(): void {\n this.focused.set(true);\n if (!isSelectableRow(this.rows()[this.activeIndex()])) {\n this.resetActive(true);\n }\n }\n\n onListBlur(): void {\n this.focused.set(false);\n this.markTouched();\n }\n\n onOptionClick(item: TxSelectItem): void {\n this.activeIndex.set(this.rows().indexOf(item));\n if (this.replaceOnClick) {\n this.replaceOnClick = false;\n this.commit([item.value], item);\n return;\n }\n this.activate(item);\n }\n\n onListKeydown(event: KeyboardEvent): void {\n const typing = (event.target as HTMLElement).classList.contains('tx-listbox__filter-input');\n if (event.key === 'ArrowDown' || event.key === 'ArrowUp' || event.key === 'PageDown' || event.key === 'PageUp' || (!typing && (event.key === 'Home' || event.key === 'End'))) {\n event.preventDefault();\n if (!this.focused() && !isSelectableRow(this.rows()[this.activeIndex()])) {\n this.resetActive(true);\n }\n if (this.moveActive(event.key) && event.shiftKey && this.isMultiple()) {\n const active = this.rows()[this.activeIndex()];\n if (isSelectableRow(active) && !active.selected) {\n this.activate(active);\n }\n }\n return;\n }\n if (event.key === 'Enter' || (event.key === ' ' && !typing)) {\n const active = this.rows()[this.activeIndex()];\n if (isSelectableRow(active)) {\n event.preventDefault();\n this.activate(active);\n }\n return;\n }\n if (!typing && this.isMultiple() && (event.ctrlKey || event.metaKey) && event.key.toLowerCase() === 'a') {\n event.preventDefault();\n this.toggleAll();\n return;\n }\n if (!typing && event.key.length === 1 && !event.ctrlKey && !event.metaKey && !event.altKey) {\n if (this.findByTyping(event.key)) {\n this.scrollActiveIntoView();\n }\n }\n }\n\n onFilterFocus(): void {\n this.focused.set(true);\n if (!isSelectableRow(this.rows()[this.activeIndex()])) {\n this.resetActive(true);\n }\n }\n\n toggleAll(): void {\n if (this.readonly() || this.disabled()) {\n return;\n }\n const items = this.rows().filter(isSelectableRow);\n const allSelected = items.every((item) => item.selected);\n const values = allSelected\n ? this.selectedValues().filter((value) => !items.some((item) => this.sameValue(item.value, value)))\n : [...this.selectedValues(), ...items.filter((item) => !item.selected).map((item) => item.value)];\n this.commit(values, null);\n }\n\n protected isListActive(): boolean {\n return this.focused();\n }\n\n protected isSelected(value: unknown): boolean {\n return this.selectedValues().some((selected) => this.sameValue(selected, value));\n }\n\n protected activate(item: TxSelectItem): void {\n if (this.readonly() || this.disabled() || item.disabled) {\n return;\n }\n if (!this.isMultiple()) {\n if (!item.selected) {\n this.commit([item.value], item);\n }\n return;\n }\n const values = item.selected ? this.selectedValues().filter((value) => !this.sameValue(value, item.value)) : [...this.selectedValues(), item.value];\n this.commit(values, item);\n }\n\n private commit(values: unknown[], item: TxSelectItem | null): void {\n const value = this.isMultiple() ? values : (values[0] ?? null);\n this.updateValue(value);\n this.changed.emit({ value, option: item?.option ?? null });\n }\n}\n","@if (headerTemplate(); as template) {\n <div class=\"tx-listbox__header\" [class]=\"passThrough().header?.class\" [style]=\"passThrough().header?.style\">\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" />\n </div>\n}\n@if (filter()) {\n <div class=\"tx-listbox__filter\" [class]=\"passThrough().filter?.class\" [style]=\"passThrough().filter?.style\">\n <span class=\"tx-select__filter-field\">\n <input\n type=\"text\"\n autocomplete=\"off\"\n class=\"tx-select__filter-input tx-listbox__filter-input\"\n role=\"searchbox\"\n [class]=\"passThrough().filterInput?.class\"\n [style]=\"passThrough().filterInput?.style\"\n [attr.aria-label]=\"filterPlaceholder() ?? translations().searchPlaceholder\"\n [attr.aria-controls]=\"listboxId\"\n [attr.aria-activedescendant]=\"activeItemId()\"\n [placeholder]=\"filterPlaceholder() ?? translations().searchPlaceholder\"\n [value]=\"query()\"\n [disabled]=\"disabled()\"\n (input)=\"onFilterInput($event)\"\n (keydown)=\"onListKeydown($event)\"\n (focus)=\"onFilterFocus()\"\n (blur)=\"onListBlur()\"\n />\n <tx-icon class=\"tx-select__filter-icon\" [name]=\"'search'\" />\n </span>\n </div>\n}\n<tx-option-list\n [rows]=\"rows()\"\n [listboxId]=\"listboxId\"\n [activeIndex]=\"shownActiveIndex()\"\n [multiple]=\"isMultiple()\"\n [checkbox]=\"checkbox()\"\n [checkmark]=\"checkmark()\"\n [virtualScroll]=\"virtualScroll()\"\n [itemSize]=\"virtualScrollItemSize()\"\n [scrollHeight]=\"scrollHeight()\"\n [loading]=\"loading()\"\n [query]=\"query()\"\n [emptyText]=\"emptyText()\"\n [loadingText]=\"translations().loading\"\n [optionTemplate]=\"optionTemplate()?.templateRef\"\n [groupTemplate]=\"groupTemplate()?.templateRef\"\n [emptyTemplate]=\"emptyTemplate()?.templateRef\"\n [emptyFilterTemplate]=\"emptyFilterTemplate()?.templateRef\"\n [passThrough]=\"passThrough()\"\n [unstyled]=\"isUnstyled()\"\n [focusable]=\"true\"\n [disabled]=\"disabled()\"\n [ariaLabel]=\"ariaLabel()\"\n [ariaLabelledBy]=\"ariaLabelledBy()\"\n [ariaInvalid]=\"isInvalid()\"\n (optionClick)=\"onOptionClick($event)\"\n (optionHover)=\"focused() && activeIndex.set($event)\"\n (rangeChange)=\"onRangeChange($event)\"\n (listKeydown)=\"onListKeydown($event)\"\n (listFocus)=\"onListFocus()\"\n (listBlur)=\"onListBlur()\"\n/>\n@if (footerTemplate(); as template) {\n <div class=\"tx-listbox__footer\" [class]=\"passThrough().footer?.class\" [style]=\"passThrough().footer?.style\">\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" />\n </div>\n}\n"],"mappings":";;;;;;;;;;AA8BA,IAAa,YAAb,MAAa,kBAAkB,cAAsB;CAC1C,UAAU,MAA0B,CAAA,GAAG,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CACvC,WAAW,MAAwB,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,WAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACvE,WAAW,MAAwB,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,WAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACvE,mBAAmB,MAAwB,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,mBAAA,+BAAA,CAAA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