@tectra-ng/ui 0.4.0 → 0.4.2

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 (178) hide show
  1. package/README.md +3 -3
  2. package/autocomplete/README.md +1 -1
  3. package/avatar/README.md +1 -1
  4. package/breadcrumb/README.md +1 -1
  5. package/carousel/README.md +7 -0
  6. package/color-swatches/README.md +53 -0
  7. package/data-view/README.md +8 -0
  8. package/fesm2022/tectra-ng-ui-autocomplete.mjs +17 -6
  9. package/fesm2022/tectra-ng-ui-autocomplete.mjs.map +1 -1
  10. package/fesm2022/tectra-ng-ui-avatar.mjs +11 -4
  11. package/fesm2022/tectra-ng-ui-avatar.mjs.map +1 -1
  12. package/fesm2022/tectra-ng-ui-breadcrumb.mjs +5 -5
  13. package/fesm2022/tectra-ng-ui-breadcrumb.mjs.map +1 -1
  14. package/fesm2022/tectra-ng-ui-card.mjs +4 -2
  15. package/fesm2022/tectra-ng-ui-card.mjs.map +1 -1
  16. package/fesm2022/tectra-ng-ui-carousel.mjs +21 -2
  17. package/fesm2022/tectra-ng-ui-carousel.mjs.map +1 -1
  18. package/fesm2022/tectra-ng-ui-cascade-select.mjs +2 -2
  19. package/fesm2022/tectra-ng-ui-cascade-select.mjs.map +1 -1
  20. package/fesm2022/tectra-ng-ui-checkbox.mjs +7 -4
  21. package/fesm2022/tectra-ng-ui-checkbox.mjs.map +1 -1
  22. package/fesm2022/tectra-ng-ui-chips-input.mjs +5 -2
  23. package/fesm2022/tectra-ng-ui-chips-input.mjs.map +1 -1
  24. package/fesm2022/tectra-ng-ui-color-picker.mjs +2 -2
  25. package/fesm2022/tectra-ng-ui-color-picker.mjs.map +1 -1
  26. package/fesm2022/tectra-ng-ui-color-swatches.mjs +378 -0
  27. package/fesm2022/tectra-ng-ui-color-swatches.mjs.map +1 -0
  28. package/fesm2022/tectra-ng-ui-country-select.mjs +4 -2
  29. package/fesm2022/tectra-ng-ui-country-select.mjs.map +1 -1
  30. package/fesm2022/tectra-ng-ui-data-view.mjs +50 -7
  31. package/fesm2022/tectra-ng-ui-data-view.mjs.map +1 -1
  32. package/fesm2022/tectra-ng-ui-datepicker.mjs +12 -0
  33. package/fesm2022/tectra-ng-ui-datepicker.mjs.map +1 -1
  34. package/fesm2022/tectra-ng-ui-dialog.mjs +7 -2
  35. package/fesm2022/tectra-ng-ui-dialog.mjs.map +1 -1
  36. package/fesm2022/tectra-ng-ui-export.mjs +5 -1
  37. package/fesm2022/tectra-ng-ui-export.mjs.map +1 -1
  38. package/fesm2022/tectra-ng-ui-file-upload.mjs +44 -30
  39. package/fesm2022/tectra-ng-ui-file-upload.mjs.map +1 -1
  40. package/fesm2022/tectra-ng-ui-galleria.mjs +63 -6
  41. package/fesm2022/tectra-ng-ui-galleria.mjs.map +1 -1
  42. package/fesm2022/tectra-ng-ui-image.mjs +6 -2
  43. package/fesm2022/tectra-ng-ui-image.mjs.map +1 -1
  44. package/fesm2022/tectra-ng-ui-input.mjs +2 -2
  45. package/fesm2022/tectra-ng-ui-input.mjs.map +1 -1
  46. package/fesm2022/tectra-ng-ui-knob.mjs +3 -0
  47. package/fesm2022/tectra-ng-ui-knob.mjs.map +1 -1
  48. package/fesm2022/tectra-ng-ui-list-input.mjs +2 -2
  49. package/fesm2022/tectra-ng-ui-list-input.mjs.map +1 -1
  50. package/fesm2022/tectra-ng-ui-menu.mjs +110 -10
  51. package/fesm2022/tectra-ng-ui-menu.mjs.map +1 -1
  52. package/fesm2022/tectra-ng-ui-message.mjs +61 -18
  53. package/fesm2022/tectra-ng-ui-message.mjs.map +1 -1
  54. package/fesm2022/tectra-ng-ui-multiselect.mjs +14 -6
  55. package/fesm2022/tectra-ng-ui-multiselect.mjs.map +1 -1
  56. package/fesm2022/tectra-ng-ui-paginator.mjs +8 -2
  57. package/fesm2022/tectra-ng-ui-paginator.mjs.map +1 -1
  58. package/fesm2022/tectra-ng-ui-panel-menu.mjs +15 -8
  59. package/fesm2022/tectra-ng-ui-panel-menu.mjs.map +1 -1
  60. package/fesm2022/tectra-ng-ui-panel.mjs +2 -0
  61. package/fesm2022/tectra-ng-ui-panel.mjs.map +1 -1
  62. package/fesm2022/tectra-ng-ui-password.mjs +9 -0
  63. package/fesm2022/tectra-ng-ui-password.mjs.map +1 -1
  64. package/fesm2022/tectra-ng-ui-popover.mjs +16 -9
  65. package/fesm2022/tectra-ng-ui-popover.mjs.map +1 -1
  66. package/fesm2022/tectra-ng-ui-progress-bar.mjs +3 -0
  67. package/fesm2022/tectra-ng-ui-progress-bar.mjs.map +1 -1
  68. package/fesm2022/tectra-ng-ui-radio-button.mjs +28 -8
  69. package/fesm2022/tectra-ng-ui-radio-button.mjs.map +1 -1
  70. package/fesm2022/tectra-ng-ui-rating.mjs +6 -0
  71. package/fesm2022/tectra-ng-ui-rating.mjs.map +1 -1
  72. package/fesm2022/tectra-ng-ui-select.mjs +193 -10
  73. package/fesm2022/tectra-ng-ui-select.mjs.map +1 -1
  74. package/fesm2022/tectra-ng-ui-split-button.mjs +6 -3
  75. package/fesm2022/tectra-ng-ui-split-button.mjs.map +1 -1
  76. package/fesm2022/tectra-ng-ui-table.mjs +245 -49
  77. package/fesm2022/tectra-ng-ui-table.mjs.map +1 -1
  78. package/fesm2022/tectra-ng-ui-tabs.mjs +10 -7
  79. package/fesm2022/tectra-ng-ui-tabs.mjs.map +1 -1
  80. package/fesm2022/tectra-ng-ui-timeline.mjs +87 -10
  81. package/fesm2022/tectra-ng-ui-timeline.mjs.map +1 -1
  82. package/fesm2022/tectra-ng-ui-toast.mjs +24 -7
  83. package/fesm2022/tectra-ng-ui-toast.mjs.map +1 -1
  84. package/fesm2022/tectra-ng-ui-toggle-switch.mjs +7 -4
  85. package/fesm2022/tectra-ng-ui-toggle-switch.mjs.map +1 -1
  86. package/fesm2022/tectra-ng-ui-tooltip.mjs +5 -4
  87. package/fesm2022/tectra-ng-ui-tooltip.mjs.map +1 -1
  88. package/fesm2022/tectra-ng-ui-tree-select.mjs +14 -6
  89. package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -1
  90. package/fesm2022/tectra-ng-ui-tree-table.mjs +3 -1
  91. package/fesm2022/tectra-ng-ui-tree-table.mjs.map +1 -1
  92. package/fesm2022/tectra-ng-ui-tree.mjs +47 -14
  93. package/fesm2022/tectra-ng-ui-tree.mjs.map +1 -1
  94. package/fesm2022/tectra-ng-ui-virtual-scroller.mjs +45 -4
  95. package/fesm2022/tectra-ng-ui-virtual-scroller.mjs.map +1 -1
  96. package/fesm2022/tectra-ng-ui.mjs +1 -1
  97. package/file-upload/README.md +2 -1
  98. package/galleria/README.md +9 -0
  99. package/menu/README.md +10 -2
  100. package/message/README.md +4 -3
  101. package/multiselect/README.md +1 -1
  102. package/package.json +8 -4
  103. package/popover/README.md +2 -2
  104. package/select/README.md +9 -0
  105. package/split-button/README.md +1 -1
  106. package/table/README.md +15 -2
  107. package/tabs/README.md +1 -1
  108. package/timeline/README.md +10 -2
  109. package/tree/README.md +7 -0
  110. package/tree-select/README.md +1 -1
  111. package/types/tectra-ng-ui-autocomplete.d.ts +2 -1
  112. package/types/tectra-ng-ui-autocomplete.d.ts.map +1 -1
  113. package/types/tectra-ng-ui-avatar.d.ts +4 -2
  114. package/types/tectra-ng-ui-avatar.d.ts.map +1 -1
  115. package/types/tectra-ng-ui-breadcrumb.d.ts +3 -3
  116. package/types/tectra-ng-ui-card.d.ts.map +1 -1
  117. package/types/tectra-ng-ui-carousel.d.ts +14 -5
  118. package/types/tectra-ng-ui-carousel.d.ts.map +1 -1
  119. package/types/tectra-ng-ui-checkbox.d.ts +1 -0
  120. package/types/tectra-ng-ui-checkbox.d.ts.map +1 -1
  121. package/types/tectra-ng-ui-chips-input.d.ts +1 -0
  122. package/types/tectra-ng-ui-chips-input.d.ts.map +1 -1
  123. package/types/tectra-ng-ui-color-swatches.d.ts +141 -0
  124. package/types/tectra-ng-ui-color-swatches.d.ts.map +1 -0
  125. package/types/tectra-ng-ui-data-view.d.ts +31 -12
  126. package/types/tectra-ng-ui-data-view.d.ts.map +1 -1
  127. package/types/tectra-ng-ui-datepicker.d.ts +6 -0
  128. package/types/tectra-ng-ui-datepicker.d.ts.map +1 -1
  129. package/types/tectra-ng-ui-dialog.d.ts +1 -0
  130. package/types/tectra-ng-ui-dialog.d.ts.map +1 -1
  131. package/types/tectra-ng-ui-file-upload.d.ts +10 -7
  132. package/types/tectra-ng-ui-file-upload.d.ts.map +1 -1
  133. package/types/tectra-ng-ui-galleria.d.ts +42 -15
  134. package/types/tectra-ng-ui-galleria.d.ts.map +1 -1
  135. package/types/tectra-ng-ui-image.d.ts.map +1 -1
  136. package/types/tectra-ng-ui-knob.d.ts +1 -0
  137. package/types/tectra-ng-ui-knob.d.ts.map +1 -1
  138. package/types/tectra-ng-ui-menu.d.ts +35 -12
  139. package/types/tectra-ng-ui-menu.d.ts.map +1 -1
  140. package/types/tectra-ng-ui-message.d.ts +15 -6
  141. package/types/tectra-ng-ui-message.d.ts.map +1 -1
  142. package/types/tectra-ng-ui-multiselect.d.ts +2 -2
  143. package/types/tectra-ng-ui-multiselect.d.ts.map +1 -1
  144. package/types/tectra-ng-ui-paginator.d.ts +2 -0
  145. package/types/tectra-ng-ui-paginator.d.ts.map +1 -1
  146. package/types/tectra-ng-ui-panel-menu.d.ts.map +1 -1
  147. package/types/tectra-ng-ui-panel.d.ts.map +1 -1
  148. package/types/tectra-ng-ui-password.d.ts +3 -0
  149. package/types/tectra-ng-ui-password.d.ts.map +1 -1
  150. package/types/tectra-ng-ui-popover.d.ts +4 -2
  151. package/types/tectra-ng-ui-popover.d.ts.map +1 -1
  152. package/types/tectra-ng-ui-progress-bar.d.ts +1 -0
  153. package/types/tectra-ng-ui-progress-bar.d.ts.map +1 -1
  154. package/types/tectra-ng-ui-radio-button.d.ts +3 -1
  155. package/types/tectra-ng-ui-radio-button.d.ts.map +1 -1
  156. package/types/tectra-ng-ui-rating.d.ts +2 -0
  157. package/types/tectra-ng-ui-rating.d.ts.map +1 -1
  158. package/types/tectra-ng-ui-select.d.ts +85 -20
  159. package/types/tectra-ng-ui-select.d.ts.map +1 -1
  160. package/types/tectra-ng-ui-split-button.d.ts.map +1 -1
  161. package/types/tectra-ng-ui-table.d.ts +121 -46
  162. package/types/tectra-ng-ui-table.d.ts.map +1 -1
  163. package/types/tectra-ng-ui-tabs.d.ts +6 -4
  164. package/types/tectra-ng-ui-tabs.d.ts.map +1 -1
  165. package/types/tectra-ng-ui-timeline.d.ts +46 -9
  166. package/types/tectra-ng-ui-timeline.d.ts.map +1 -1
  167. package/types/tectra-ng-ui-toast.d.ts +3 -0
  168. package/types/tectra-ng-ui-toast.d.ts.map +1 -1
  169. package/types/tectra-ng-ui-toggle-switch.d.ts +1 -0
  170. package/types/tectra-ng-ui-toggle-switch.d.ts.map +1 -1
  171. package/types/tectra-ng-ui-tooltip.d.ts.map +1 -1
  172. package/types/tectra-ng-ui-tree-select.d.ts +1 -1
  173. package/types/tectra-ng-ui-tree.d.ts +18 -7
  174. package/types/tectra-ng-ui-tree.d.ts.map +1 -1
  175. package/types/tectra-ng-ui-virtual-scroller.d.ts +29 -10
  176. package/types/tectra-ng-ui-virtual-scroller.d.ts.map +1 -1
  177. package/types/tectra-ng-ui.d.ts +1 -1
  178. package/virtual-scroller/README.md +8 -0
@@ -29,7 +29,7 @@ var TxInputStyles = class TxInputStyles {
29
29
  ngImport: i0,
30
30
  template: "",
31
31
  isInline: true,
32
- 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-start-start-radius:var(--tx-field-radius-start, var(--tx-form-field-border-radius));border-end-start-radius:var(--tx-field-radius-start, var(--tx-form-field-border-radius));border-start-end-radius:var(--tx-field-radius-end, var(--tx-form-field-border-radius));border-end-end-radius:var(--tx-field-radius-end, 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"],
32
+ 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-start-start-radius:var(--tx-field-radius-start, var(--tx-form-field-border-radius));border-end-start-radius:var(--tx-field-radius-start, var(--tx-form-field-border-radius));border-start-end-radius:var(--tx-field-radius-end, var(--tx-form-field-border-radius));border-end-end-radius:var(--tx-field-radius-end, 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);caret-color:transparent;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"],
33
33
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
34
34
  encapsulation: i0.ViewEncapsulation.None
35
35
  });
@@ -46,7 +46,7 @@ i0.ɵɵngDeclareClassMetadata({
46
46
  template: "",
47
47
  encapsulation: ViewEncapsulation.None,
48
48
  changeDetection: ChangeDetectionStrategy.OnPush,
49
- 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-start-start-radius:var(--tx-field-radius-start, var(--tx-form-field-border-radius));border-end-start-radius:var(--tx-field-radius-start, var(--tx-form-field-border-radius));border-start-end-radius:var(--tx-field-radius-end, var(--tx-form-field-border-radius));border-end-end-radius:var(--tx-field-radius-end, 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"]
49
+ 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-start-start-radius:var(--tx-field-radius-start, var(--tx-form-field-border-radius));border-end-start-radius:var(--tx-field-radius-start, var(--tx-form-field-border-radius));border-start-end-radius:var(--tx-field-radius-end, var(--tx-form-field-border-radius));border-end-end-radius:var(--tx-field-radius-end, 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);caret-color:transparent;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"]
50
50
  }]
51
51
  }]
52
52
  });
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-input.mjs","names":[],"sources":["../../../../packages/ui/input/src/input.theme.ts","../../../../packages/ui/input/src/input.styles.ts","../../../../packages/ui/input/src/input.directive.ts"],"sourcesContent":["import { fieldTokens, formFieldTokens } from '@tectra-ng/themes';\n\nexport const INPUT_THEME = {\n field: fieldTokens,\n formField: formFieldTokens,\n};\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { injectTokens } from '@tectra-ng/core/config';\nimport { INPUT_THEME } from './input.theme';\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 private readonly inputTheme = injectTokens(INPUT_THEME);\n}\n","import { Directive, computed, inject, input } from '@angular/core';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } 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';\nimport { INPUT_THEME } from './input.theme';\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 private readonly inputTheme = injectTokens(INPUT_THEME);\n\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":";;;;;;;;AAEA,MAAa,cAAc;CACzB,OAAO;CACP,WAAW;AACZ;ACMD,IAAa,gBAAb,MAAa,cAAa;CACP,aAAa,aAAa,WAAW;CAD3C,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;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,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"}
1
+ {"version":3,"file":"tectra-ng-ui-input.mjs","names":[],"sources":["../../../../packages/ui/input/src/input.theme.ts","../../../../packages/ui/input/src/input.styles.ts","../../../../packages/ui/input/src/input.directive.ts"],"sourcesContent":["import { fieldTokens, formFieldTokens } from '@tectra-ng/themes';\n\nexport const INPUT_THEME = {\n field: fieldTokens,\n formField: formFieldTokens,\n};\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { injectTokens } from '@tectra-ng/core/config';\nimport { INPUT_THEME } from './input.theme';\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 private readonly inputTheme = injectTokens(INPUT_THEME);\n}\n","import { Directive, computed, inject, input } from '@angular/core';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } 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';\nimport { INPUT_THEME } from './input.theme';\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 private readonly inputTheme = injectTokens(INPUT_THEME);\n\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":";;;;;;;;AAEA,MAAa,cAAc;CACzB,OAAO;CACP,WAAW;AACZ;ACMD,IAAa,gBAAb,MAAa,cAAa;CACP,aAAa,aAAa,WAAW;CAD3C,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EA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,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"}
@@ -10,6 +10,9 @@ import { formFieldTokens, knobTokens, toStyleObject } from "@tectra-ng/themes";
10
10
  import { provideTxIconDefaults, txIconText } from "@tectra-ng/icons";
11
11
  var TxKnobValueTemplate = class TxKnobValueTemplate {
12
12
  templateRef = inject(TemplateRef);
13
+ static ngTemplateContextGuard(_directive, context) {
14
+ return !!context;
15
+ }
13
16
  static ɵfac = i0.ɵɵngDeclareFactory({
14
17
  minVersion: "12.0.0",
15
18
  version: "22.2.5",
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-knob.mjs","names":[],"sources":["../../../../packages/ui/knob/src/knob-templates.directive.ts","../../../../packages/ui/knob/src/knob.icons.ts","../../../../packages/ui/knob/src/knob.theme.ts","../../../../packages/ui/knob/src/knob.component.ts","../../../../packages/ui/knob/src/knob.component.html"],"sourcesContent":["import { Directive, TemplateRef, inject } from '@angular/core';\nimport { TxKnobValueContext } from './knob.types';\n\n@Directive({ selector: 'ng-template[txKnobValue]' })\nexport class TxKnobValueTemplate {\n readonly templateRef = inject<TemplateRef<TxKnobValueContext>>(TemplateRef);\n}\n","import { TxIconSet, txIconText } from '@tectra-ng/icons';\n\nexport const KNOB_ICON_DEFAULTS: TxIconSet = {\n text: txIconText,\n};\n","import { formFieldTokens, knobTokens } from '@tectra-ng/themes';\n\nexport const KNOB_THEME = {\n formField: formFieldTokens,\n knob: knobTokens,\n};\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, computed, contentChild, forwardRef, inject, input, numberAttribute, output, signal, viewChild } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { TxFormControlBase, injectFieldInvalid } from '@tectra-ng/core/forms';\nimport { TxLocaleService } from '@tectra-ng/core/i18n';\nimport { optionalBoolean, optionalNumber } from '@tectra-ng/core/utils';\nimport { TectraDeepPartial, TectraKnobTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxKnobValueTemplate } from './knob-templates.directive';\nimport { TxKnobArc, TxKnobChangeEvent, TxKnobPart } from './knob.types';\nimport { provideTxIconDefaults } from '@tectra-ng/icons';\nimport { KNOB_ICON_DEFAULTS } from './knob.icons';\nimport { KNOB_THEME } from './knob.theme';\n\nconst CENTER = 50;\n\n@Component({\n selector: 'tx-knob',\n imports: [NgTemplateOutlet],\n templateUrl: './knob.component.html',\n styleUrl: './knob.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TxKnob), multi: true }],\n host: {\n class: 'tx-knob',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-arc]': 'arc()',\n '[class.tx-knob--dragging]': 'isDragging()',\n '[class.tx-knob--disabled]': 'isDisabled()',\n '[class.tx-knob--readonly]': 'readonly()',\n '[class.tx-knob--invalid]': 'isInvalid()',\n },\n viewProviders: [provideTxIconDefaults(KNOB_ICON_DEFAULTS)],\n})\nexport class TxKnob extends TxFormControlBase<number> {\n private readonly knobTheme = injectTokens(KNOB_THEME);\n\n private localeService = inject(TxLocaleService);\n private lastFraction = 0;\n\n readonly min = input<number, unknown>(0, { transform: numberAttribute });\n readonly max = input<number, unknown>(100, { transform: numberAttribute });\n readonly step = input<number, unknown>(1, { transform: numberAttribute });\n readonly limit = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly size = input<number, unknown>(100, { transform: numberAttribute });\n readonly strokeWidth = input<number, unknown>(12, { transform: numberAttribute });\n readonly arc = input<TxKnobArc>('dial');\n readonly showValue = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly showHandle = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly valueTemplate = input<string>('{value}');\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 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<TectraKnobTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxKnobPart, TxKnob> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly changed = output<TxKnobChangeEvent>();\n\n readonly template = contentChild(TxKnobValueTemplate);\n readonly svg = viewChild.required<ElementRef<SVGSVGElement>>('svg');\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly isInvalid = injectFieldInvalid(this.invalid);\n readonly passThrough = injectPassThrough('knob', this, this.pt, this.ptOptions);\n\n readonly isDragging = signal(false);\n readonly isDisabled = computed(() => this.disabled() || this.disabledInput());\n readonly isEditable = computed(() => !this.isDisabled() && !this.readonly());\n readonly ceiling = computed(() => Math.min(this.max(), this.limit() ?? this.max()));\n readonly current = computed(() => this.clamp(this.value() ?? this.min()));\n readonly radius = computed(() => CENTER - this.strokeWidth() / 2 - (this.hasHandle() ? 3 : 0));\n readonly sweep = computed(() => (this.arc() === 'ring' ? 360 : 270));\n readonly start = computed(() => (this.arc() === 'ring' ? -90 : 135));\n readonly span = computed(() => (this.sweep() / 360) * 100);\n readonly hasHandle = computed(() => this.showHandle() ?? this.arc() === 'ring');\n readonly fraction = computed(() => this.fractionOf(this.current()));\n readonly limitFraction = computed(() => (this.limit() === undefined ? 1 : this.fractionOf(this.ceiling())));\n readonly rotate = computed(() => `rotate(${this.start()} ${CENTER} ${CENTER})`);\n readonly valueDash = computed(() => `${this.fraction() * this.span()} 100`);\n readonly rangeDash = computed(() => `${this.span()} 100`);\n readonly limitDash = computed(() => `0 ${this.limitFraction() * this.span()} ${(1 - this.limitFraction()) * this.span()} 100`);\n readonly handle = computed(() => this.point(this.fraction()));\n readonly text = computed(() => this.valueTemplate().replace('{value}', this.localeService.formatNumber(this.current())));\n readonly hostStyle = computed(() => ({\n ...toStyleObject(this.dt(), '--tx-knob'),\n width: `${this.size()}px`,\n height: `${this.size()}px`,\n ...this.passThrough().root?.style,\n }));\n\n readonly center = CENTER;\n\n onPointerDown(event: PointerEvent): void {\n if (!this.isEditable() || event.button !== 0) {\n return;\n }\n event.preventDefault();\n (event.currentTarget as Element).setPointerCapture?.(event.pointerId);\n (event.currentTarget as HTMLElement).focus();\n this.isDragging.set(true);\n this.lastFraction = this.fraction();\n this.moveTo(event, true);\n }\n\n onPointerMove(event: PointerEvent): void {\n if (this.isDragging()) {\n this.moveTo(event, false);\n }\n }\n\n onPointerUp(): void {\n if (this.isDragging()) {\n this.isDragging.set(false);\n this.markTouched();\n }\n }\n\n onKeydown(event: KeyboardEvent): void {\n if (!this.isEditable()) {\n return;\n }\n const value = this.current();\n const step = this.step();\n const moves: Record<string, number> = {\n ArrowRight: value + step,\n ArrowUp: value + step,\n ArrowLeft: value - step,\n ArrowDown: value - step,\n PageUp: value + step * 10,\n PageDown: value - step * 10,\n Home: this.min(),\n End: this.ceiling(),\n };\n if (event.key in moves) {\n event.preventDefault();\n this.commit(moves[event.key], event);\n }\n }\n\n onBlur(): void {\n this.markTouched();\n }\n\n private moveTo(event: PointerEvent, first: boolean): void {\n const rect = this.svg().nativeElement.getBoundingClientRect();\n if (!rect.width) {\n return;\n }\n const x = ((event.clientX - rect.left) / rect.width) * 100 - CENTER;\n const y = ((event.clientY - rect.top) / rect.height) * 100 - CENTER;\n const angle = (Math.atan2(y, x) * 180) / Math.PI;\n let relative = (angle - this.start() + 720) % 360;\n if (relative > this.sweep()) {\n relative = relative > this.sweep() + (360 - this.sweep()) / 2 ? 0 : this.sweep();\n }\n let fraction = relative / this.sweep();\n if (!first && this.arc() === 'ring' && Math.abs(fraction - this.lastFraction) > 0.5) {\n fraction = this.lastFraction > 0.5 ? 1 : 0;\n }\n this.lastFraction = fraction;\n this.commit(this.min() + fraction * (this.max() - this.min()), event);\n }\n\n private commit(raw: number, event: Event): void {\n const step = this.step();\n const snapped = Math.round((raw - this.min()) / step) * step + this.min();\n const value = Number(this.clamp(snapped).toFixed(decimals(step)));\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 return Math.min(this.ceiling(), Math.max(this.min(), value));\n }\n\n private fractionOf(value: number): number {\n const range = this.max() - this.min();\n return range > 0 ? (value - this.min()) / range : 0;\n }\n\n private point(fraction: number): { x: number; y: number } {\n const angle = ((this.start() + fraction * this.sweep()) * Math.PI) / 180;\n return { x: CENTER + this.radius() * Math.cos(angle), y: CENTER + this.radius() * Math.sin(angle) };\n }\n}\n\nfunction decimals(value: number): number {\n const text = String(value);\n return text.includes('.') ? text.split('.')[1].length : 0;\n}\n","<div\n class=\"tx-knob__control\"\n role=\"slider\"\n [attr.tabindex]=\"isDisabled() ? -1 : (tabindex() ?? 0)\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuemax]=\"ceiling()\"\n [attr.aria-valuenow]=\"current()\"\n [attr.aria-valuetext]=\"text()\"\n [attr.aria-readonly]=\"readonly() || null\"\n [attr.aria-disabled]=\"isDisabled() || null\"\n [attr.aria-invalid]=\"isInvalid() || null\"\n (pointerdown)=\"onPointerDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp()\"\n (pointercancel)=\"onPointerUp()\"\n (keydown)=\"onKeydown($event)\"\n (blur)=\"onBlur()\"\n>\n <svg #svg class=\"tx-knob__svg\" viewBox=\"0 0 100 100\" aria-hidden=\"true\" [class]=\"passThrough().svg?.class\" [style]=\"passThrough().svg?.style\">\n <circle\n class=\"tx-knob__range\"\n pathLength=\"100\"\n fill=\"none\"\n [class]=\"passThrough().range?.class\"\n [style]=\"passThrough().range?.style\"\n [attr.cx]=\"center\"\n [attr.cy]=\"center\"\n [attr.r]=\"radius()\"\n [attr.stroke-width]=\"strokeWidth()\"\n [attr.stroke-dasharray]=\"rangeDash()\"\n [attr.transform]=\"rotate()\"\n />\n @if (limit() !== undefined && limitFraction() < 1) {\n <circle\n class=\"tx-knob__limit\"\n pathLength=\"100\"\n fill=\"none\"\n [attr.cx]=\"center\"\n [attr.cy]=\"center\"\n [attr.r]=\"radius()\"\n [attr.stroke-width]=\"strokeWidth()\"\n [attr.stroke-dasharray]=\"limitDash()\"\n [attr.transform]=\"rotate()\"\n />\n }\n @if (fraction() > 0) {\n <circle\n class=\"tx-knob__value\"\n pathLength=\"100\"\n fill=\"none\"\n [class]=\"passThrough().value?.class\"\n [style]=\"passThrough().value?.style\"\n [attr.cx]=\"center\"\n [attr.cy]=\"center\"\n [attr.r]=\"radius()\"\n [attr.stroke-width]=\"strokeWidth()\"\n [attr.stroke-dasharray]=\"valueDash()\"\n [attr.transform]=\"rotate()\"\n />\n }\n @if (hasHandle()) {\n <circle\n class=\"tx-knob__handle\"\n [class]=\"passThrough().handle?.class\"\n [style]=\"passThrough().handle?.style\"\n [attr.cx]=\"handle().x\"\n [attr.cy]=\"handle().y\"\n [attr.r]=\"strokeWidth() / 2 + 2\"\n />\n }\n </svg>\n @if (showValue()) {\n <span class=\"tx-knob__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">\n @if (template(); as custom) {\n <ng-container [ngTemplateOutlet]=\"custom.templateRef\" [ngTemplateOutletContext]=\"{ $implicit: current() }\" />\n } @else {\n {{ text() }}\n }\n </span>\n }\n</div>\n"],"mappings":";;;;;;;;;;AAIA,IAAa,sBAAb,MAAa,oBAAmB;CACrB,cAAc,OAAwC,WAAW;CAD/D,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAmB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAnB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAmB,cAAA;EAAA,UAAA;EAAA,UAAA;CAAA,CAAA;;AAAnB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAmB,YAAA,CAAA;EAD/B,MAAA;EAAU,MAAA,CAAA,EAAE,UAAU,2BAA0B,CAAE;;;ACDnD,MAAa,qBAAgC,EAC3C,MAAM,WACP;ACFD,MAAa,aAAa;CACxB,WAAW;CACX,MAAM;AACP;ACSD,MAAM,SAAS;AAsBf,IAAa,SAAb,MAAa,eAAe,kBAAyB;CAClC,YAAY,aAAa,UAAU;CAE5C,gBAAgB,OAAO,eAAe;CACtC,eAAe;CAEd,MAAM,MAA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A,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,WAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;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,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAAA,mBAAmB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,KAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CACS,OAAK,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AAiIpE,SAAS,SAAS,OAAa;CAC7B,MAAM,OAAO,OAAO,KAAK;CACzB,OAAO,KAAK,SAAS,GAAG,IAAI,KAAK,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,SAAS;AAC1D"}
1
+ {"version":3,"file":"tectra-ng-ui-knob.mjs","names":[],"sources":["../../../../packages/ui/knob/src/knob-templates.directive.ts","../../../../packages/ui/knob/src/knob.icons.ts","../../../../packages/ui/knob/src/knob.theme.ts","../../../../packages/ui/knob/src/knob.component.ts","../../../../packages/ui/knob/src/knob.component.html"],"sourcesContent":["import { Directive, TemplateRef, inject } from '@angular/core';\nimport { TxKnobValueContext } from './knob.types';\n\n@Directive({ selector: 'ng-template[txKnobValue]' })\nexport class TxKnobValueTemplate {\n readonly templateRef = inject<TemplateRef<TxKnobValueContext>>(TemplateRef);\n\n static ngTemplateContextGuard(_directive: TxKnobValueTemplate, context: unknown): context is TxKnobValueContext {\n return !!context;\n }\n}\n","import { TxIconSet, txIconText } from '@tectra-ng/icons';\n\nexport const KNOB_ICON_DEFAULTS: TxIconSet = {\n text: txIconText,\n};\n","import { formFieldTokens, knobTokens } from '@tectra-ng/themes';\n\nexport const KNOB_THEME = {\n formField: formFieldTokens,\n knob: knobTokens,\n};\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, computed, contentChild, forwardRef, inject, input, numberAttribute, output, signal, viewChild } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { TxFormControlBase, injectFieldInvalid } from '@tectra-ng/core/forms';\nimport { TxLocaleService } from '@tectra-ng/core/i18n';\nimport { optionalBoolean, optionalNumber } from '@tectra-ng/core/utils';\nimport { TectraDeepPartial, TectraKnobTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxKnobValueTemplate } from './knob-templates.directive';\nimport { TxKnobArc, TxKnobChangeEvent, TxKnobPart } from './knob.types';\nimport { provideTxIconDefaults } from '@tectra-ng/icons';\nimport { KNOB_ICON_DEFAULTS } from './knob.icons';\nimport { KNOB_THEME } from './knob.theme';\n\nconst CENTER = 50;\n\n@Component({\n selector: 'tx-knob',\n imports: [NgTemplateOutlet],\n templateUrl: './knob.component.html',\n styleUrl: './knob.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TxKnob), multi: true }],\n host: {\n class: 'tx-knob',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-arc]': 'arc()',\n '[class.tx-knob--dragging]': 'isDragging()',\n '[class.tx-knob--disabled]': 'isDisabled()',\n '[class.tx-knob--readonly]': 'readonly()',\n '[class.tx-knob--invalid]': 'isInvalid()',\n },\n viewProviders: [provideTxIconDefaults(KNOB_ICON_DEFAULTS)],\n})\nexport class TxKnob extends TxFormControlBase<number> {\n private readonly knobTheme = injectTokens(KNOB_THEME);\n\n private localeService = inject(TxLocaleService);\n private lastFraction = 0;\n\n readonly min = input<number, unknown>(0, { transform: numberAttribute });\n readonly max = input<number, unknown>(100, { transform: numberAttribute });\n readonly step = input<number, unknown>(1, { transform: numberAttribute });\n readonly limit = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly size = input<number, unknown>(100, { transform: numberAttribute });\n readonly strokeWidth = input<number, unknown>(12, { transform: numberAttribute });\n readonly arc = input<TxKnobArc>('dial');\n readonly showValue = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly showHandle = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly valueTemplate = input<string>('{value}');\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 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<TectraKnobTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxKnobPart, TxKnob> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly changed = output<TxKnobChangeEvent>();\n\n readonly template = contentChild(TxKnobValueTemplate);\n readonly svg = viewChild.required<ElementRef<SVGSVGElement>>('svg');\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly isInvalid = injectFieldInvalid(this.invalid);\n readonly passThrough = injectPassThrough('knob', this, this.pt, this.ptOptions);\n\n readonly isDragging = signal(false);\n readonly isDisabled = computed(() => this.disabled() || this.disabledInput());\n readonly isEditable = computed(() => !this.isDisabled() && !this.readonly());\n readonly ceiling = computed(() => Math.min(this.max(), this.limit() ?? this.max()));\n readonly current = computed(() => this.clamp(this.value() ?? this.min()));\n readonly radius = computed(() => CENTER - this.strokeWidth() / 2 - (this.hasHandle() ? 3 : 0));\n readonly sweep = computed(() => (this.arc() === 'ring' ? 360 : 270));\n readonly start = computed(() => (this.arc() === 'ring' ? -90 : 135));\n readonly span = computed(() => (this.sweep() / 360) * 100);\n readonly hasHandle = computed(() => this.showHandle() ?? this.arc() === 'ring');\n readonly fraction = computed(() => this.fractionOf(this.current()));\n readonly limitFraction = computed(() => (this.limit() === undefined ? 1 : this.fractionOf(this.ceiling())));\n readonly rotate = computed(() => `rotate(${this.start()} ${CENTER} ${CENTER})`);\n readonly valueDash = computed(() => `${this.fraction() * this.span()} 100`);\n readonly rangeDash = computed(() => `${this.span()} 100`);\n readonly limitDash = computed(() => `0 ${this.limitFraction() * this.span()} ${(1 - this.limitFraction()) * this.span()} 100`);\n readonly handle = computed(() => this.point(this.fraction()));\n readonly text = computed(() => this.valueTemplate().replace('{value}', this.localeService.formatNumber(this.current())));\n readonly hostStyle = computed(() => ({\n ...toStyleObject(this.dt(), '--tx-knob'),\n width: `${this.size()}px`,\n height: `${this.size()}px`,\n ...this.passThrough().root?.style,\n }));\n\n readonly center = CENTER;\n\n onPointerDown(event: PointerEvent): void {\n if (!this.isEditable() || event.button !== 0) {\n return;\n }\n event.preventDefault();\n (event.currentTarget as Element).setPointerCapture?.(event.pointerId);\n (event.currentTarget as HTMLElement).focus();\n this.isDragging.set(true);\n this.lastFraction = this.fraction();\n this.moveTo(event, true);\n }\n\n onPointerMove(event: PointerEvent): void {\n if (this.isDragging()) {\n this.moveTo(event, false);\n }\n }\n\n onPointerUp(): void {\n if (this.isDragging()) {\n this.isDragging.set(false);\n this.markTouched();\n }\n }\n\n onKeydown(event: KeyboardEvent): void {\n if (!this.isEditable()) {\n return;\n }\n const value = this.current();\n const step = this.step();\n const moves: Record<string, number> = {\n ArrowRight: value + step,\n ArrowUp: value + step,\n ArrowLeft: value - step,\n ArrowDown: value - step,\n PageUp: value + step * 10,\n PageDown: value - step * 10,\n Home: this.min(),\n End: this.ceiling(),\n };\n if (event.key in moves) {\n event.preventDefault();\n this.commit(moves[event.key], event);\n }\n }\n\n onBlur(): void {\n this.markTouched();\n }\n\n private moveTo(event: PointerEvent, first: boolean): void {\n const rect = this.svg().nativeElement.getBoundingClientRect();\n if (!rect.width) {\n return;\n }\n const x = ((event.clientX - rect.left) / rect.width) * 100 - CENTER;\n const y = ((event.clientY - rect.top) / rect.height) * 100 - CENTER;\n const angle = (Math.atan2(y, x) * 180) / Math.PI;\n let relative = (angle - this.start() + 720) % 360;\n if (relative > this.sweep()) {\n relative = relative > this.sweep() + (360 - this.sweep()) / 2 ? 0 : this.sweep();\n }\n let fraction = relative / this.sweep();\n if (!first && this.arc() === 'ring' && Math.abs(fraction - this.lastFraction) > 0.5) {\n fraction = this.lastFraction > 0.5 ? 1 : 0;\n }\n this.lastFraction = fraction;\n this.commit(this.min() + fraction * (this.max() - this.min()), event);\n }\n\n private commit(raw: number, event: Event): void {\n const step = this.step();\n const snapped = Math.round((raw - this.min()) / step) * step + this.min();\n const value = Number(this.clamp(snapped).toFixed(decimals(step)));\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 return Math.min(this.ceiling(), Math.max(this.min(), value));\n }\n\n private fractionOf(value: number): number {\n const range = this.max() - this.min();\n return range > 0 ? (value - this.min()) / range : 0;\n }\n\n private point(fraction: number): { x: number; y: number } {\n const angle = ((this.start() + fraction * this.sweep()) * Math.PI) / 180;\n return { x: CENTER + this.radius() * Math.cos(angle), y: CENTER + this.radius() * Math.sin(angle) };\n }\n}\n\nfunction decimals(value: number): number {\n const text = String(value);\n return text.includes('.') ? text.split('.')[1].length : 0;\n}\n","<div\n class=\"tx-knob__control\"\n role=\"slider\"\n [attr.tabindex]=\"isDisabled() ? -1 : (tabindex() ?? 0)\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuemax]=\"ceiling()\"\n [attr.aria-valuenow]=\"current()\"\n [attr.aria-valuetext]=\"text()\"\n [attr.aria-readonly]=\"readonly() || null\"\n [attr.aria-disabled]=\"isDisabled() || null\"\n [attr.aria-invalid]=\"isInvalid() || null\"\n (pointerdown)=\"onPointerDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp()\"\n (pointercancel)=\"onPointerUp()\"\n (keydown)=\"onKeydown($event)\"\n (blur)=\"onBlur()\"\n>\n <svg #svg class=\"tx-knob__svg\" viewBox=\"0 0 100 100\" aria-hidden=\"true\" [class]=\"passThrough().svg?.class\" [style]=\"passThrough().svg?.style\">\n <circle\n class=\"tx-knob__range\"\n pathLength=\"100\"\n fill=\"none\"\n [class]=\"passThrough().range?.class\"\n [style]=\"passThrough().range?.style\"\n [attr.cx]=\"center\"\n [attr.cy]=\"center\"\n [attr.r]=\"radius()\"\n [attr.stroke-width]=\"strokeWidth()\"\n [attr.stroke-dasharray]=\"rangeDash()\"\n [attr.transform]=\"rotate()\"\n />\n @if (limit() !== undefined && limitFraction() < 1) {\n <circle\n class=\"tx-knob__limit\"\n pathLength=\"100\"\n fill=\"none\"\n [attr.cx]=\"center\"\n [attr.cy]=\"center\"\n [attr.r]=\"radius()\"\n [attr.stroke-width]=\"strokeWidth()\"\n [attr.stroke-dasharray]=\"limitDash()\"\n [attr.transform]=\"rotate()\"\n />\n }\n @if (fraction() > 0) {\n <circle\n class=\"tx-knob__value\"\n pathLength=\"100\"\n fill=\"none\"\n [class]=\"passThrough().value?.class\"\n [style]=\"passThrough().value?.style\"\n [attr.cx]=\"center\"\n [attr.cy]=\"center\"\n [attr.r]=\"radius()\"\n [attr.stroke-width]=\"strokeWidth()\"\n [attr.stroke-dasharray]=\"valueDash()\"\n [attr.transform]=\"rotate()\"\n />\n }\n @if (hasHandle()) {\n <circle\n class=\"tx-knob__handle\"\n [class]=\"passThrough().handle?.class\"\n [style]=\"passThrough().handle?.style\"\n [attr.cx]=\"handle().x\"\n [attr.cy]=\"handle().y\"\n [attr.r]=\"strokeWidth() / 2 + 2\"\n />\n }\n </svg>\n @if (showValue()) {\n <span class=\"tx-knob__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">\n @if (template(); as custom) {\n <ng-container [ngTemplateOutlet]=\"custom.templateRef\" [ngTemplateOutletContext]=\"{ $implicit: current() }\" />\n } @else {\n {{ text() }}\n }\n </span>\n }\n</div>\n"],"mappings":";;;;;;;;;;AAIA,IAAa,sBAAb,MAAa,oBAAmB;CACrB,cAAc,OAAwC,WAAW;CAE1E,OAAO,uBAAuB,YAAiC,SAAgB;EAC7E,OAAO,CAAC,CAAC;CACX;CALW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAmB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAnB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAmB,cAAA;EAAA,UAAA;EAAA,UAAA;CAAA,CAAA;;AAAnB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAmB,YAAA,CAAA;EAD/B,MAAA;EAAU,MAAA,CAAA,EAAE,UAAU,2BAA0B,CAAE;;;ACDnD,MAAa,qBAAgC,EAC3C,MAAM,WACP;ACFD,MAAa,aAAa;CACxB,WAAW;CACX,MAAM;AACP;ACSD,MAAM,SAAS;AAsBf,IAAa,SAAb,MAAa,eAAe,kBAAyB;CAClC,YAAY,aAAa,UAAU;CAE5C,gBAAgB,OAAO,eAAe;CACtC,eAAe;CAEd,MAAM,MAAuB,GAAC;EAAA,GAAA,YAAA,EAAA,WAAA,MAAA,+BAAA,CAAA;EAAI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AAA,CAAA;EAAA,WAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;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,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAAA,mBAAmB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,KAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CACS,OAAK,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AAiIpE,SAAS,SAAS,OAAa;CAC7B,MAAM,OAAO,OAAO,KAAK;CACzB,OAAO,KAAK,SAAS,GAAG,IAAI,KAAK,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,SAAS;AAC1D"}
@@ -400,7 +400,7 @@ var TxListInput = class TxListInput extends TxFormControlBase {
400
400
  usesInheritance: true,
401
401
  ngImport: i0,
402
402
  template: "<textarea\n #field\n class=\"tx-list-input__field\"\n spellcheck=\"false\"\n autocomplete=\"off\"\n [attr.id]=\"inputId() ?? null\"\n [rows]=\"rows()\"\n [placeholder]=\"placeholderText()\"\n [value]=\"text()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"readonly()\"\n [class]=\"passThrough().field?.class\"\n [style]=\"passThrough().field?.style\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-describedby]=\"statusId\"\n [attr.aria-invalid]=\"isInvalid() || null\"\n (input)=\"onInput($event)\"\n (blur)=\"onBlur()\"\n></textarea>\n\n<div class=\"tx-list-input__footer\" [class]=\"passThrough().footer?.class\" [style]=\"passThrough().footer?.style\">\n <div class=\"tx-list-input__stats\" [id]=\"statusId\" [class]=\"passThrough().stats?.class\" [style]=\"passThrough().stats?.style\">\n @if (isEmpty()) {\n <span class=\"tx-list-input__hint\">{{ hintText() }}</span>\n } @else {\n <tx-pill tone=\"primary\" [icon]=\"texts().icon\" [value]=\"countText()\" [unstyled]=\"isUnstyled()\" />\n @if (parsed().duplicates) {\n <tx-pill tone=\"warn\" icon=\"clone\" [value]=\"duplicatesText()\" [unstyled]=\"isUnstyled()\" />\n }\n @if (parsed().invalid.length) {\n <tx-pill tone=\"danger\" icon=\"exclamation-circle\" [value]=\"invalidCountText()\" [unstyled]=\"isUnstyled()\" />\n }\n }\n </div>\n @if (!readonly()) {\n <div class=\"tx-list-input__actions\" [class]=\"passThrough().actions?.class\" [style]=\"passThrough().actions?.style\">\n @if (canCleanUp()) {\n <button\n type=\"button\"\n txButton\n icon=\"sparkles\"\n [text]=\"true\"\n [label]=\"translations().listInputCleanUp\"\n [disabled]=\"isDisabled()\"\n [txTooltip]=\"translations().listInputCleanUpHint\"\n [unstyled]=\"isUnstyled()\"\n (click)=\"cleanUp()\"\n ></button>\n }\n @if (text()) {\n <button\n type=\"button\"\n txButton\n icon=\"times\"\n severity=\"secondary\"\n [text]=\"true\"\n [label]=\"translations().clear\"\n [disabled]=\"isDisabled()\"\n [unstyled]=\"isUnstyled()\"\n (click)=\"clear()\"\n ></button>\n }\n </div>\n }\n</div>\n\n@if (parsed().invalid.length) {\n <div class=\"tx-list-input__invalid\" [class]=\"passThrough().invalid?.class\" [style]=\"passThrough().invalid?.style\">\n <span class=\"tx-list-input__invalid-title\">{{ translations().listInputInvalid }}</span>\n @for (item of invalidPreview(); track item) {\n <tx-pill tone=\"danger\" size=\"small\" [value]=\"item\" [unstyled]=\"isUnstyled()\" />\n }\n @if (invalidHidden()) {\n <span class=\"tx-list-input__hint\">{{ moreText() }}</span>\n }\n </div>\n}\n",
403
- styles: [":host{display:flex;flex-direction:column}.tx-list-input__field{display:block;width:100%;box-sizing:border-box;resize:vertical}.tx-list-input__footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}.tx-list-input__stats{display:flex;flex-wrap:wrap;align-items:center;min-width:0}.tx-list-input__actions{display:flex;align-items:center;margin-inline-start:auto}.tx-list-input__invalid{display:flex;flex-wrap:wrap;align-items:center}:host([data-styled]){overflow:hidden;border:var(--tx-list-input-border-width) solid var(--tx-list-input-border-color);border-radius:var(--tx-list-input-border-radius);background:var(--tx-list-input-background);transition:border-color var(--tx-list-input-transition-duration) ease,box-shadow var(--tx-list-input-transition-duration) ease}:host([data-styled]):focus-within{border-color:var(--tx-list-input-focus-border-color);box-shadow:0 0 0 calc(var(--tx-list-input-focus-border-width) - var(--tx-list-input-border-width)) var(--tx-list-input-focus-border-color)}:host([data-styled]) .tx-list-input__field{min-height:var(--tx-list-input-field-min-height);margin:0;padding:var(--tx-list-input-field-padding);border:0;border-radius:0;outline:none;background:transparent;box-shadow:none;color:var(--tx-list-input-field-color);font-family:var(--tx-list-input-field-font-family);font-size:var(--tx-list-input-field-font-size);line-height:var(--tx-list-input-field-line-height)}:host([data-styled]) .tx-list-input__field::placeholder{color:var(--tx-list-input-field-placeholder-color)}:host([data-styled]) .tx-list-input__footer{gap:var(--tx-list-input-footer-gap);padding:var(--tx-list-input-footer-padding);border-top:1px solid var(--tx-list-input-footer-border-color);background:var(--tx-list-input-footer-background)}:host([data-styled]) .tx-list-input__stats{gap:var(--tx-list-input-footer-stats-gap);padding-inline-start:var(--tx-list-input-footer-stats-padding-start)}:host([data-styled]) .tx-list-input__actions{gap:var(--tx-list-input-footer-actions-gap)}:host([data-styled]) .tx-list-input__hint{color:var(--tx-list-input-hint-color);font-size:var(--tx-list-input-hint-font-size)}:host([data-styled]) .tx-list-input__invalid{gap:var(--tx-list-input-unrecognized-gap);padding:var(--tx-list-input-unrecognized-padding);border-top:1px solid var(--tx-list-input-unrecognized-border-color)}:host([data-styled]) .tx-list-input__invalid-title{margin-inline-end:var(--tx-list-input-unrecognized-title-gap);color:var(--tx-list-input-unrecognized-title-color);font-size:var(--tx-list-input-unrecognized-title-font-size);font-weight:var(--tx-list-input-unrecognized-title-font-weight)}:host([data-styled].tx-list-input--invalid){border-color:var(--tx-list-input-invalid-border-color)}:host([data-styled].tx-list-input--invalid:focus-within){box-shadow:0 0 0 calc(var(--tx-list-input-focus-border-width) - var(--tx-list-input-border-width)) var(--tx-list-input-invalid-border-color)}:host([data-styled].tx-list-input--disabled){opacity:var(--tx-list-input-disabled-opacity)}@media(prefers-reduced-motion:reduce){:host([data-styled]){transition:none}}\n"],
403
+ styles: [":host{display:flex;flex-direction:column}.tx-list-input__field{display:block;width:100%;box-sizing:border-box;resize:vertical}.tx-list-input__footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}.tx-list-input__stats{display:flex;flex-wrap:wrap;align-items:center;min-width:0}.tx-list-input__actions{display:flex;align-items:center;margin-inline-start:auto}.tx-list-input__invalid{display:flex;flex-wrap:wrap;align-items:center}:host([data-styled]){overflow:hidden;border:var(--tx-list-input-border-width) solid var(--tx-list-input-border-color);border-radius:var(--tx-list-input-border-radius);background:var(--tx-list-input-background);transition:border-color var(--tx-list-input-transition-duration) ease,box-shadow var(--tx-list-input-transition-duration) ease}:host([data-styled]):focus-within{border-color:var(--tx-list-input-focus-border-color);box-shadow:0 0 0 calc(var(--tx-list-input-focus-border-width) - var(--tx-list-input-border-width)) var(--tx-list-input-focus-border-color)}:host([data-styled]) .tx-list-input__field{min-height:var(--tx-list-input-field-min-height);margin:0;padding:var(--tx-list-input-field-padding);border:0;border-radius:0;outline:none;background:transparent;box-shadow:none;color:var(--tx-list-input-field-color);font-family:var(--tx-list-input-field-font-family);font-size:var(--tx-list-input-field-font-size);line-height:var(--tx-list-input-field-line-height)}:host([data-styled]) .tx-list-input__field::placeholder{color:var(--tx-list-input-field-placeholder-color)}:host([data-styled]) .tx-list-input__field[readonly]{caret-color:transparent}:host([data-styled]) .tx-list-input__footer{gap:var(--tx-list-input-footer-gap);padding:var(--tx-list-input-footer-padding);border-top:1px solid var(--tx-list-input-footer-border-color);background:var(--tx-list-input-footer-background)}:host([data-styled]) .tx-list-input__stats{gap:var(--tx-list-input-footer-stats-gap);padding-inline-start:var(--tx-list-input-footer-stats-padding-start)}:host([data-styled]) .tx-list-input__actions{gap:var(--tx-list-input-footer-actions-gap)}:host([data-styled]) .tx-list-input__hint{color:var(--tx-list-input-hint-color);font-size:var(--tx-list-input-hint-font-size)}:host([data-styled]) .tx-list-input__invalid{gap:var(--tx-list-input-unrecognized-gap);padding:var(--tx-list-input-unrecognized-padding);border-top:1px solid var(--tx-list-input-unrecognized-border-color)}:host([data-styled]) .tx-list-input__invalid-title{margin-inline-end:var(--tx-list-input-unrecognized-title-gap);color:var(--tx-list-input-unrecognized-title-color);font-size:var(--tx-list-input-unrecognized-title-font-size);font-weight:var(--tx-list-input-unrecognized-title-font-weight)}:host([data-styled].tx-list-input--invalid){border-color:var(--tx-list-input-invalid-border-color)}:host([data-styled].tx-list-input--invalid:focus-within){box-shadow:0 0 0 calc(var(--tx-list-input-focus-border-width) - var(--tx-list-input-border-width)) var(--tx-list-input-invalid-border-color)}:host([data-styled].tx-list-input--disabled){opacity:var(--tx-list-input-disabled-opacity)}@media(prefers-reduced-motion:reduce){:host([data-styled]){transition:none}}\n"],
404
404
  dependencies: [
405
405
  {
406
406
  kind: "component",
@@ -520,7 +520,7 @@ i0.ɵɵngDeclareClassMetadata({
520
520
  },
521
521
  viewProviders: [provideTxIconDefaults(LIST_INPUT_ICON_DEFAULTS)],
522
522
  template: "<textarea\n #field\n class=\"tx-list-input__field\"\n spellcheck=\"false\"\n autocomplete=\"off\"\n [attr.id]=\"inputId() ?? null\"\n [rows]=\"rows()\"\n [placeholder]=\"placeholderText()\"\n [value]=\"text()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"readonly()\"\n [class]=\"passThrough().field?.class\"\n [style]=\"passThrough().field?.style\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-describedby]=\"statusId\"\n [attr.aria-invalid]=\"isInvalid() || null\"\n (input)=\"onInput($event)\"\n (blur)=\"onBlur()\"\n></textarea>\n\n<div class=\"tx-list-input__footer\" [class]=\"passThrough().footer?.class\" [style]=\"passThrough().footer?.style\">\n <div class=\"tx-list-input__stats\" [id]=\"statusId\" [class]=\"passThrough().stats?.class\" [style]=\"passThrough().stats?.style\">\n @if (isEmpty()) {\n <span class=\"tx-list-input__hint\">{{ hintText() }}</span>\n } @else {\n <tx-pill tone=\"primary\" [icon]=\"texts().icon\" [value]=\"countText()\" [unstyled]=\"isUnstyled()\" />\n @if (parsed().duplicates) {\n <tx-pill tone=\"warn\" icon=\"clone\" [value]=\"duplicatesText()\" [unstyled]=\"isUnstyled()\" />\n }\n @if (parsed().invalid.length) {\n <tx-pill tone=\"danger\" icon=\"exclamation-circle\" [value]=\"invalidCountText()\" [unstyled]=\"isUnstyled()\" />\n }\n }\n </div>\n @if (!readonly()) {\n <div class=\"tx-list-input__actions\" [class]=\"passThrough().actions?.class\" [style]=\"passThrough().actions?.style\">\n @if (canCleanUp()) {\n <button\n type=\"button\"\n txButton\n icon=\"sparkles\"\n [text]=\"true\"\n [label]=\"translations().listInputCleanUp\"\n [disabled]=\"isDisabled()\"\n [txTooltip]=\"translations().listInputCleanUpHint\"\n [unstyled]=\"isUnstyled()\"\n (click)=\"cleanUp()\"\n ></button>\n }\n @if (text()) {\n <button\n type=\"button\"\n txButton\n icon=\"times\"\n severity=\"secondary\"\n [text]=\"true\"\n [label]=\"translations().clear\"\n [disabled]=\"isDisabled()\"\n [unstyled]=\"isUnstyled()\"\n (click)=\"clear()\"\n ></button>\n }\n </div>\n }\n</div>\n\n@if (parsed().invalid.length) {\n <div class=\"tx-list-input__invalid\" [class]=\"passThrough().invalid?.class\" [style]=\"passThrough().invalid?.style\">\n <span class=\"tx-list-input__invalid-title\">{{ translations().listInputInvalid }}</span>\n @for (item of invalidPreview(); track item) {\n <tx-pill tone=\"danger\" size=\"small\" [value]=\"item\" [unstyled]=\"isUnstyled()\" />\n }\n @if (invalidHidden()) {\n <span class=\"tx-list-input__hint\">{{ moreText() }}</span>\n }\n </div>\n}\n",
523
- styles: [":host{display:flex;flex-direction:column}.tx-list-input__field{display:block;width:100%;box-sizing:border-box;resize:vertical}.tx-list-input__footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}.tx-list-input__stats{display:flex;flex-wrap:wrap;align-items:center;min-width:0}.tx-list-input__actions{display:flex;align-items:center;margin-inline-start:auto}.tx-list-input__invalid{display:flex;flex-wrap:wrap;align-items:center}:host([data-styled]){overflow:hidden;border:var(--tx-list-input-border-width) solid var(--tx-list-input-border-color);border-radius:var(--tx-list-input-border-radius);background:var(--tx-list-input-background);transition:border-color var(--tx-list-input-transition-duration) ease,box-shadow var(--tx-list-input-transition-duration) ease}:host([data-styled]):focus-within{border-color:var(--tx-list-input-focus-border-color);box-shadow:0 0 0 calc(var(--tx-list-input-focus-border-width) - var(--tx-list-input-border-width)) var(--tx-list-input-focus-border-color)}:host([data-styled]) .tx-list-input__field{min-height:var(--tx-list-input-field-min-height);margin:0;padding:var(--tx-list-input-field-padding);border:0;border-radius:0;outline:none;background:transparent;box-shadow:none;color:var(--tx-list-input-field-color);font-family:var(--tx-list-input-field-font-family);font-size:var(--tx-list-input-field-font-size);line-height:var(--tx-list-input-field-line-height)}:host([data-styled]) .tx-list-input__field::placeholder{color:var(--tx-list-input-field-placeholder-color)}:host([data-styled]) .tx-list-input__footer{gap:var(--tx-list-input-footer-gap);padding:var(--tx-list-input-footer-padding);border-top:1px solid var(--tx-list-input-footer-border-color);background:var(--tx-list-input-footer-background)}:host([data-styled]) .tx-list-input__stats{gap:var(--tx-list-input-footer-stats-gap);padding-inline-start:var(--tx-list-input-footer-stats-padding-start)}:host([data-styled]) .tx-list-input__actions{gap:var(--tx-list-input-footer-actions-gap)}:host([data-styled]) .tx-list-input__hint{color:var(--tx-list-input-hint-color);font-size:var(--tx-list-input-hint-font-size)}:host([data-styled]) .tx-list-input__invalid{gap:var(--tx-list-input-unrecognized-gap);padding:var(--tx-list-input-unrecognized-padding);border-top:1px solid var(--tx-list-input-unrecognized-border-color)}:host([data-styled]) .tx-list-input__invalid-title{margin-inline-end:var(--tx-list-input-unrecognized-title-gap);color:var(--tx-list-input-unrecognized-title-color);font-size:var(--tx-list-input-unrecognized-title-font-size);font-weight:var(--tx-list-input-unrecognized-title-font-weight)}:host([data-styled].tx-list-input--invalid){border-color:var(--tx-list-input-invalid-border-color)}:host([data-styled].tx-list-input--invalid:focus-within){box-shadow:0 0 0 calc(var(--tx-list-input-focus-border-width) - var(--tx-list-input-border-width)) var(--tx-list-input-invalid-border-color)}:host([data-styled].tx-list-input--disabled){opacity:var(--tx-list-input-disabled-opacity)}@media(prefers-reduced-motion:reduce){:host([data-styled]){transition:none}}\n"]
523
+ styles: [":host{display:flex;flex-direction:column}.tx-list-input__field{display:block;width:100%;box-sizing:border-box;resize:vertical}.tx-list-input__footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}.tx-list-input__stats{display:flex;flex-wrap:wrap;align-items:center;min-width:0}.tx-list-input__actions{display:flex;align-items:center;margin-inline-start:auto}.tx-list-input__invalid{display:flex;flex-wrap:wrap;align-items:center}:host([data-styled]){overflow:hidden;border:var(--tx-list-input-border-width) solid var(--tx-list-input-border-color);border-radius:var(--tx-list-input-border-radius);background:var(--tx-list-input-background);transition:border-color var(--tx-list-input-transition-duration) ease,box-shadow var(--tx-list-input-transition-duration) ease}:host([data-styled]):focus-within{border-color:var(--tx-list-input-focus-border-color);box-shadow:0 0 0 calc(var(--tx-list-input-focus-border-width) - var(--tx-list-input-border-width)) var(--tx-list-input-focus-border-color)}:host([data-styled]) .tx-list-input__field{min-height:var(--tx-list-input-field-min-height);margin:0;padding:var(--tx-list-input-field-padding);border:0;border-radius:0;outline:none;background:transparent;box-shadow:none;color:var(--tx-list-input-field-color);font-family:var(--tx-list-input-field-font-family);font-size:var(--tx-list-input-field-font-size);line-height:var(--tx-list-input-field-line-height)}:host([data-styled]) .tx-list-input__field::placeholder{color:var(--tx-list-input-field-placeholder-color)}:host([data-styled]) .tx-list-input__field[readonly]{caret-color:transparent}:host([data-styled]) .tx-list-input__footer{gap:var(--tx-list-input-footer-gap);padding:var(--tx-list-input-footer-padding);border-top:1px solid var(--tx-list-input-footer-border-color);background:var(--tx-list-input-footer-background)}:host([data-styled]) .tx-list-input__stats{gap:var(--tx-list-input-footer-stats-gap);padding-inline-start:var(--tx-list-input-footer-stats-padding-start)}:host([data-styled]) .tx-list-input__actions{gap:var(--tx-list-input-footer-actions-gap)}:host([data-styled]) .tx-list-input__hint{color:var(--tx-list-input-hint-color);font-size:var(--tx-list-input-hint-font-size)}:host([data-styled]) .tx-list-input__invalid{gap:var(--tx-list-input-unrecognized-gap);padding:var(--tx-list-input-unrecognized-padding);border-top:1px solid var(--tx-list-input-unrecognized-border-color)}:host([data-styled]) .tx-list-input__invalid-title{margin-inline-end:var(--tx-list-input-unrecognized-title-gap);color:var(--tx-list-input-unrecognized-title-color);font-size:var(--tx-list-input-unrecognized-title-font-size);font-weight:var(--tx-list-input-unrecognized-title-font-weight)}:host([data-styled].tx-list-input--invalid){border-color:var(--tx-list-input-invalid-border-color)}:host([data-styled].tx-list-input--invalid:focus-within){box-shadow:0 0 0 calc(var(--tx-list-input-focus-border-width) - var(--tx-list-input-border-width)) var(--tx-list-input-invalid-border-color)}:host([data-styled].tx-list-input--disabled){opacity:var(--tx-list-input-disabled-opacity)}@media(prefers-reduced-motion:reduce){:host([data-styled]){transition:none}}\n"]
524
524
  }]
525
525
  }],
526
526
  propDecorators: {
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-list-input.mjs","names":[],"sources":["../../../../packages/ui/list-input/src/list-input.parsers.ts","../../../../packages/ui/list-input/src/list-input.icons.ts","../../../../packages/ui/list-input/src/list-input.theme.ts","../../../../packages/ui/list-input/src/list-input.component.ts","../../../../packages/ui/list-input/src/list-input.component.html"],"sourcesContent":["import { TxListInputParser, TxListInputResult, TxListInputType } from './list-input.types';\n\nconst DOMAIN_PATTERN = /^(?=.{1,253}$)(?:(?!-)[\\p{L}\\p{N}-]{1,63}(?<!-)\\.)+(?:\\p{L}{2,63}|xn--[a-z\\d-]{2,59})$/u;\nconst PROTOCOL = /^[a-z][a-z\\d+.-]*:\\/\\//i;\nconst PATH_START = /[/?#]/;\nconst PORT = /:\\d+$/;\nconst TRAILING_DOT = /\\.$/;\nconst EMAIL_LOCAL = /^[^\\s@<>()[\\]\\\\,;:\"]+$/;\n\n/** Separator that splits a pasted text into entries at whitespace, commas and semicolons. */\nexport const TX_LIST_INPUT_WORDS = /[\\s,;]+/;\n/**\n * Separator that splits a pasted text into entries at line breaks, commas and semicolons; spaces stay\n * inside an entry.\n */\nexport const TX_LIST_INPUT_LINES = /[\\r\\n,;]+/;\n\n/** Reads a domain name from a token, dropping protocol, path and port, and lower-cases it; `null` when invalid. */\nexport function txParseDomain(token: string): string | null {\n const host = token.toLowerCase().replace(PROTOCOL, '');\n const pathIndex = host.search(PATH_START);\n const domain = (pathIndex === -1 ? host : host.slice(0, pathIndex)).replace(PORT, '').replace(TRAILING_DOT, '');\n return DOMAIN_PATTERN.test(domain) ? domain : null;\n}\n\n/**\n * Reads an email address from a token, dropping `mailto:` and angle brackets, and lower-cases it;\n * `null` when invalid.\n */\nexport function txParseEmail(token: string): string | null {\n const email = token\n .replace(/^mailto:/i, '')\n .replace(/^<(.*)>$/, '$1')\n .toLowerCase();\n const at = email.lastIndexOf('@');\n if (at < 1) {\n return null;\n }\n const local = email.slice(0, at);\n const domain = email.slice(at + 1).replace(TRAILING_DOT, '');\n return EMAIL_LOCAL.test(local) && DOMAIN_PATTERN.test(domain) ? `${local}@${domain}` : null;\n}\n\n/** Reads an http or https URL from a token, adding `https://` when missing; `null` when invalid. */\nexport function txParseUrl(token: string): string | null {\n let url: URL;\n try {\n url = new URL(PROTOCOL.test(token) ? token : `https://${token}`);\n } catch {\n return null;\n }\n if ((url.protocol !== 'https:' && url.protocol !== 'http:') || !DOMAIN_PATTERN.test(url.hostname.replace(TRAILING_DOT, ''))) {\n return null;\n }\n return url.pathname === '/' && !url.search && !url.hash ? url.origin : url.href;\n}\n\n/** Accepts any token as it is. */\nexport function txParseText(token: string): string | null {\n return token;\n}\n\n/** Parser of every `TxListInputType`. */\nexport const TX_LIST_INPUT_PARSERS: Record<TxListInputType, TxListInputParser> = {\n domain: txParseDomain,\n email: txParseEmail,\n url: txParseUrl,\n text: txParseText,\n};\n\n/**\n * Splits a text into entries with a parser; collects valid unique items, the invalid tokens and the\n * number of duplicates.\n */\nexport function txParseList(text: string | null | undefined, parser: TxListInputParser, separator: RegExp = TX_LIST_INPUT_WORDS): TxListInputResult {\n const items = new Set<string>();\n const invalid = new Set<string>();\n let duplicates = 0;\n for (const raw of (text ?? '').split(separator)) {\n const token = raw.trim();\n if (!token) {\n continue;\n }\n const item = parser(token);\n if (item === null || item === '') {\n invalid.add(token);\n } else if (items.has(item)) {\n duplicates++;\n } else {\n items.add(item);\n }\n }\n return { items: [...items], invalid: [...invalid], duplicates };\n}\n","import { TxIconSet, txIconClone, txIconEnvelope, txIconExclamationCircle, txIconGlobe, txIconLink, txIconList, txIconSparkles, txIconText, txIconTimes } from '@tectra-ng/icons';\n\nexport const LIST_INPUT_ICON_DEFAULTS: TxIconSet = {\n clone: txIconClone,\n envelope: txIconEnvelope,\n 'exclamation-circle': txIconExclamationCircle,\n globe: txIconGlobe,\n link: txIconLink,\n list: txIconList,\n sparkles: txIconSparkles,\n text: txIconText,\n times: txIconTimes,\n};\n","import { listInputTokens } from '@tectra-ng/themes';\n\nexport const LIST_INPUT_THEME = {\n listInput: listInputTokens,\n};\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n booleanAttribute,\n computed,\n forwardRef,\n inject,\n input,\n model,\n numberAttribute,\n output,\n viewChild,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { uniqueId } from '@tectra-ng/core/a11y';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions, TxTranslations } from '@tectra-ng/core/config';\nimport { TxFormControlBase, injectFieldInvalid } from '@tectra-ng/core/forms';\nimport { TxLocaleService } from '@tectra-ng/core/i18n';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { provideTxIconDefaults, TxIconName } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraListInputTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxButton } from '@tectra-ng/ui/button';\nimport { TxPill } from '@tectra-ng/ui/pill';\nimport { TxTooltip } from '@tectra-ng/ui/tooltip';\nimport { TX_LIST_INPUT_LINES, TX_LIST_INPUT_PARSERS, TX_LIST_INPUT_WORDS, txParseList } from './list-input.parsers';\nimport { TxListInputParser, TxListInputPart, TxListInputResult, TxListInputType } from './list-input.types';\nimport { LIST_INPUT_ICON_DEFAULTS } from './list-input.icons';\nimport { LIST_INPUT_THEME } from './list-input.theme';\n\nconst LINE_BREAK = '\\n';\n\nconst TEXTS: Record<TxListInputType, { placeholder: keyof TxTranslations; hint: keyof TxTranslations; count: keyof TxTranslations; icon: TxIconName }> = {\n domain: { placeholder: 'listInputPlaceholderDomain', hint: 'listInputHintDomain', count: 'listInputDomains', icon: 'globe' },\n email: { placeholder: 'listInputPlaceholderEmail', hint: 'listInputHintEmail', count: 'listInputEmails', icon: 'envelope' },\n url: { placeholder: 'listInputPlaceholderUrl', hint: 'listInputHintUrl', count: 'listInputUrls', icon: 'link' },\n text: { placeholder: 'listInputPlaceholder', hint: 'listInputHint', count: 'listInputItems', icon: 'list' },\n};\n\n@Component({\n selector: 'tx-list-input',\n imports: [TxButton, TxPill, TxTooltip],\n templateUrl: './list-input.component.html',\n styleUrl: './list-input.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TxListInput), multi: true }],\n host: {\n class: 'tx-list-input',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-type]': 'type()',\n '[class.tx-list-input--disabled]': 'isDisabled()',\n '[attr.role]': 'isDisabled() ? \"group\" : null',\n '[attr.aria-disabled]': 'isDisabled() || null',\n '[class.tx-list-input--readonly]': 'readonly()',\n '[class.tx-list-input--invalid]': 'isInvalid()',\n '[class.tx-list-input--filled]': '!!text()',\n },\n viewProviders: [provideTxIconDefaults(LIST_INPUT_ICON_DEFAULTS)],\n})\nexport class TxListInput extends TxFormControlBase<string[]> {\n private readonly listInputTheme = injectTokens(LIST_INPUT_THEME);\n\n private locale = inject(TxLocaleService);\n\n readonly text = model<string>('');\n readonly type = input<TxListInputType>('text');\n readonly parser = input<TxListInputParser | undefined>(undefined);\n readonly splitByLines = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly separator = input<RegExp | undefined>(undefined);\n readonly placeholder = input<string | undefined>(undefined);\n readonly hint = input<string | undefined>(undefined);\n readonly countLabel = input<string | undefined>(undefined);\n readonly rows = input<number, unknown>(8, { transform: numberAttribute });\n readonly invalidLimit = input<number, unknown>(8, { transform: numberAttribute });\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 invalid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly inputId = input<string | undefined>(undefined);\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly ariaLabelledBy = input<string | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraListInputTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxListInputPart, TxListInput> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly itemsChange = output<string[]>();\n readonly parsedChange = output<TxListInputResult>();\n\n readonly field = viewChild.required<ElementRef<HTMLTextAreaElement>>('field');\n\n readonly statusId = uniqueId('tx-list-input-status');\n readonly translations = this.locale.translations;\n readonly isInvalid = injectFieldInvalid(this.invalid);\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('listInput', this, this.pt, this.ptOptions);\n readonly isDisabled = computed(() => this.disabled() || this.disabledInput());\n readonly texts = computed(() => TEXTS[this.type()]);\n readonly parsed = computed(() =>\n txParseList(this.text(), this.parser() ?? TX_LIST_INPUT_PARSERS[this.type()], this.separator() ?? (this.splitByLines() ? TX_LIST_INPUT_LINES : TX_LIST_INPUT_WORDS)),\n );\n readonly invalidPreview = computed(() => this.parsed().invalid.slice(0, Math.max(0, this.invalidLimit())));\n readonly invalidHidden = computed(() => this.parsed().invalid.length - this.invalidPreview().length);\n readonly isEmpty = computed(() => !this.parsed().items.length && !this.parsed().invalid.length);\n readonly canCleanUp = computed(() => !!this.parsed().items.length && this.text().trim() !== this.parsed().items.join(LINE_BREAK));\n readonly placeholderText = computed(() => this.placeholder() ?? this.translations()[this.texts().placeholder]);\n readonly hintText = computed(() => this.hint() ?? this.translations()[this.texts().hint]);\n readonly countText = computed(() => {\n const count = this.parsed().items.length;\n const custom = this.countLabel();\n return custom !== undefined ? this.locale.format(custom, { count }) : this.locale.translate(this.texts().count, { count });\n });\n readonly duplicatesText = computed(() => this.locale.translate('listInputDuplicates', { count: this.parsed().duplicates }));\n readonly invalidCountText = computed(() => this.locale.translate('listInputInvalidCount', { count: this.parsed().invalid.length }));\n readonly moreText = computed(() => this.locale.translate('listInputMore', { count: this.invalidHidden() }));\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-list-input'), ...this.passThrough().root?.style }));\n\n override writeValue(value: string[] | null): void {\n const items = Array.isArray(value) ? value : [];\n super.writeValue(items);\n if (!sameItems(items, this.parsed().items)) {\n this.text.set(items.join(LINE_BREAK));\n }\n }\n\n onInput(event: Event): void {\n this.setText((event.target as HTMLTextAreaElement).value);\n }\n\n onBlur(): void {\n this.markTouched();\n }\n\n cleanUp(): void {\n this.setText(this.parsed().items.join(LINE_BREAK));\n this.field().nativeElement.focus();\n }\n\n clear(): void {\n this.setText('');\n this.field().nativeElement.focus();\n }\n\n private setText(text: string): void {\n this.text.set(text);\n const parsed = this.parsed();\n this.updateValue(parsed.items);\n this.itemsChange.emit(parsed.items);\n this.parsedChange.emit(parsed);\n }\n}\n\nfunction sameItems(a: string[], b: string[]): boolean {\n return a.length === b.length && a.every((item, index) => item === b[index]);\n}\n","<textarea\n #field\n class=\"tx-list-input__field\"\n spellcheck=\"false\"\n autocomplete=\"off\"\n [attr.id]=\"inputId() ?? null\"\n [rows]=\"rows()\"\n [placeholder]=\"placeholderText()\"\n [value]=\"text()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"readonly()\"\n [class]=\"passThrough().field?.class\"\n [style]=\"passThrough().field?.style\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-describedby]=\"statusId\"\n [attr.aria-invalid]=\"isInvalid() || null\"\n (input)=\"onInput($event)\"\n (blur)=\"onBlur()\"\n></textarea>\n\n<div class=\"tx-list-input__footer\" [class]=\"passThrough().footer?.class\" [style]=\"passThrough().footer?.style\">\n <div class=\"tx-list-input__stats\" [id]=\"statusId\" [class]=\"passThrough().stats?.class\" [style]=\"passThrough().stats?.style\">\n @if (isEmpty()) {\n <span class=\"tx-list-input__hint\">{{ hintText() }}</span>\n } @else {\n <tx-pill tone=\"primary\" [icon]=\"texts().icon\" [value]=\"countText()\" [unstyled]=\"isUnstyled()\" />\n @if (parsed().duplicates) {\n <tx-pill tone=\"warn\" icon=\"clone\" [value]=\"duplicatesText()\" [unstyled]=\"isUnstyled()\" />\n }\n @if (parsed().invalid.length) {\n <tx-pill tone=\"danger\" icon=\"exclamation-circle\" [value]=\"invalidCountText()\" [unstyled]=\"isUnstyled()\" />\n }\n }\n </div>\n @if (!readonly()) {\n <div class=\"tx-list-input__actions\" [class]=\"passThrough().actions?.class\" [style]=\"passThrough().actions?.style\">\n @if (canCleanUp()) {\n <button\n type=\"button\"\n txButton\n icon=\"sparkles\"\n [text]=\"true\"\n [label]=\"translations().listInputCleanUp\"\n [disabled]=\"isDisabled()\"\n [txTooltip]=\"translations().listInputCleanUpHint\"\n [unstyled]=\"isUnstyled()\"\n (click)=\"cleanUp()\"\n ></button>\n }\n @if (text()) {\n <button\n type=\"button\"\n txButton\n icon=\"times\"\n severity=\"secondary\"\n [text]=\"true\"\n [label]=\"translations().clear\"\n [disabled]=\"isDisabled()\"\n [unstyled]=\"isUnstyled()\"\n (click)=\"clear()\"\n ></button>\n }\n </div>\n }\n</div>\n\n@if (parsed().invalid.length) {\n <div class=\"tx-list-input__invalid\" [class]=\"passThrough().invalid?.class\" [style]=\"passThrough().invalid?.style\">\n <span class=\"tx-list-input__invalid-title\">{{ translations().listInputInvalid }}</span>\n @for (item of invalidPreview(); track item) {\n <tx-pill tone=\"danger\" size=\"small\" [value]=\"item\" [unstyled]=\"isUnstyled()\" />\n }\n @if (invalidHidden()) {\n <span class=\"tx-list-input__hint\">{{ moreText() }}</span>\n }\n </div>\n}\n"],"mappings":";;;;;;;;;;;;;AAEA,MAAM,iBAAiB;AACvB,MAAM,WAAW;AACjB,MAAM,aAAa;AACnB,MAAM,OAAO;AACb,MAAM,eAAe;AACrB,MAAM,cAAc;AAGpB,MAAa,sBAAsB;AAKnC,MAAa,sBAAsB;AAGnC,SAAgB,cAAc,OAAa;CACzC,MAAM,OAAO,MAAM,YAAW,CAAE,CAAC,QAAQ,UAAU,EAAE;CACrD,MAAM,YAAY,KAAK,OAAO,UAAU;CACxC,MAAM,UAAU,cAAc,KAAK,OAAO,KAAK,MAAM,GAAG,SAAS,EAAA,CAAG,QAAQ,MAAM,EAAE,CAAC,CAAC,QA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AAE,UAAU,EAAE,OAAO,MAAM,UAAU,SAAS,EAAE,MAAM;AAC5E"}
1
+ {"version":3,"file":"tectra-ng-ui-list-input.mjs","names":[],"sources":["../../../../packages/ui/list-input/src/list-input.parsers.ts","../../../../packages/ui/list-input/src/list-input.icons.ts","../../../../packages/ui/list-input/src/list-input.theme.ts","../../../../packages/ui/list-input/src/list-input.component.ts","../../../../packages/ui/list-input/src/list-input.component.html"],"sourcesContent":["import { TxListInputParser, TxListInputResult, TxListInputType } from './list-input.types';\n\nconst DOMAIN_PATTERN = /^(?=.{1,253}$)(?:(?!-)[\\p{L}\\p{N}-]{1,63}(?<!-)\\.)+(?:\\p{L}{2,63}|xn--[a-z\\d-]{2,59})$/u;\nconst PROTOCOL = /^[a-z][a-z\\d+.-]*:\\/\\//i;\nconst PATH_START = /[/?#]/;\nconst PORT = /:\\d+$/;\nconst TRAILING_DOT = /\\.$/;\nconst EMAIL_LOCAL = /^[^\\s@<>()[\\]\\\\,;:\"]+$/;\n\n/** Separator that splits a pasted text into entries at whitespace, commas and semicolons. */\nexport const TX_LIST_INPUT_WORDS = /[\\s,;]+/;\n/**\n * Separator that splits a pasted text into entries at line breaks, commas and semicolons; spaces stay\n * inside an entry.\n */\nexport const TX_LIST_INPUT_LINES = /[\\r\\n,;]+/;\n\n/** Reads a domain name from a token, dropping protocol, path and port, and lower-cases it; `null` when invalid. */\nexport function txParseDomain(token: string): string | null {\n const host = token.toLowerCase().replace(PROTOCOL, '');\n const pathIndex = host.search(PATH_START);\n const domain = (pathIndex === -1 ? host : host.slice(0, pathIndex)).replace(PORT, '').replace(TRAILING_DOT, '');\n return DOMAIN_PATTERN.test(domain) ? domain : null;\n}\n\n/**\n * Reads an email address from a token, dropping `mailto:` and angle brackets, and lower-cases it;\n * `null` when invalid.\n */\nexport function txParseEmail(token: string): string | null {\n const email = token\n .replace(/^mailto:/i, '')\n .replace(/^<(.*)>$/, '$1')\n .toLowerCase();\n const at = email.lastIndexOf('@');\n if (at < 1) {\n return null;\n }\n const local = email.slice(0, at);\n const domain = email.slice(at + 1).replace(TRAILING_DOT, '');\n return EMAIL_LOCAL.test(local) && DOMAIN_PATTERN.test(domain) ? `${local}@${domain}` : null;\n}\n\n/** Reads an http or https URL from a token, adding `https://` when missing; `null` when invalid. */\nexport function txParseUrl(token: string): string | null {\n let url: URL;\n try {\n url = new URL(PROTOCOL.test(token) ? token : `https://${token}`);\n } catch {\n return null;\n }\n if ((url.protocol !== 'https:' && url.protocol !== 'http:') || !DOMAIN_PATTERN.test(url.hostname.replace(TRAILING_DOT, ''))) {\n return null;\n }\n return url.pathname === '/' && !url.search && !url.hash ? url.origin : url.href;\n}\n\n/** Accepts any token as it is. */\nexport function txParseText(token: string): string | null {\n return token;\n}\n\n/** Parser of every `TxListInputType`. */\nexport const TX_LIST_INPUT_PARSERS: Record<TxListInputType, TxListInputParser> = {\n domain: txParseDomain,\n email: txParseEmail,\n url: txParseUrl,\n text: txParseText,\n};\n\n/**\n * Splits a text into entries with a parser; collects valid unique items, the invalid tokens and the\n * number of duplicates.\n */\nexport function txParseList(text: string | null | undefined, parser: TxListInputParser, separator: RegExp = TX_LIST_INPUT_WORDS): TxListInputResult {\n const items = new Set<string>();\n const invalid = new Set<string>();\n let duplicates = 0;\n for (const raw of (text ?? '').split(separator)) {\n const token = raw.trim();\n if (!token) {\n continue;\n }\n const item = parser(token);\n if (item === null || item === '') {\n invalid.add(token);\n } else if (items.has(item)) {\n duplicates++;\n } else {\n items.add(item);\n }\n }\n return { items: [...items], invalid: [...invalid], duplicates };\n}\n","import { TxIconSet, txIconClone, txIconEnvelope, txIconExclamationCircle, txIconGlobe, txIconLink, txIconList, txIconSparkles, txIconText, txIconTimes } from '@tectra-ng/icons';\n\nexport const LIST_INPUT_ICON_DEFAULTS: TxIconSet = {\n clone: txIconClone,\n envelope: txIconEnvelope,\n 'exclamation-circle': txIconExclamationCircle,\n globe: txIconGlobe,\n link: txIconLink,\n list: txIconList,\n sparkles: txIconSparkles,\n text: txIconText,\n times: txIconTimes,\n};\n","import { listInputTokens } from '@tectra-ng/themes';\n\nexport const LIST_INPUT_THEME = {\n listInput: listInputTokens,\n};\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n booleanAttribute,\n computed,\n forwardRef,\n inject,\n input,\n model,\n numberAttribute,\n output,\n viewChild,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { uniqueId } from '@tectra-ng/core/a11y';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions, TxTranslations } from '@tectra-ng/core/config';\nimport { TxFormControlBase, injectFieldInvalid } from '@tectra-ng/core/forms';\nimport { TxLocaleService } from '@tectra-ng/core/i18n';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { provideTxIconDefaults, TxIconName } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraListInputTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxButton } from '@tectra-ng/ui/button';\nimport { TxPill } from '@tectra-ng/ui/pill';\nimport { TxTooltip } from '@tectra-ng/ui/tooltip';\nimport { TX_LIST_INPUT_LINES, TX_LIST_INPUT_PARSERS, TX_LIST_INPUT_WORDS, txParseList } from './list-input.parsers';\nimport { TxListInputParser, TxListInputPart, TxListInputResult, TxListInputType } from './list-input.types';\nimport { LIST_INPUT_ICON_DEFAULTS } from './list-input.icons';\nimport { LIST_INPUT_THEME } from './list-input.theme';\n\nconst LINE_BREAK = '\\n';\n\nconst TEXTS: Record<TxListInputType, { placeholder: keyof TxTranslations; hint: keyof TxTranslations; count: keyof TxTranslations; icon: TxIconName }> = {\n domain: { placeholder: 'listInputPlaceholderDomain', hint: 'listInputHintDomain', count: 'listInputDomains', icon: 'globe' },\n email: { placeholder: 'listInputPlaceholderEmail', hint: 'listInputHintEmail', count: 'listInputEmails', icon: 'envelope' },\n url: { placeholder: 'listInputPlaceholderUrl', hint: 'listInputHintUrl', count: 'listInputUrls', icon: 'link' },\n text: { placeholder: 'listInputPlaceholder', hint: 'listInputHint', count: 'listInputItems', icon: 'list' },\n};\n\n@Component({\n selector: 'tx-list-input',\n imports: [TxButton, TxPill, TxTooltip],\n templateUrl: './list-input.component.html',\n styleUrl: './list-input.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TxListInput), multi: true }],\n host: {\n class: 'tx-list-input',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-type]': 'type()',\n '[class.tx-list-input--disabled]': 'isDisabled()',\n '[attr.role]': 'isDisabled() ? \"group\" : null',\n '[attr.aria-disabled]': 'isDisabled() || null',\n '[class.tx-list-input--readonly]': 'readonly()',\n '[class.tx-list-input--invalid]': 'isInvalid()',\n '[class.tx-list-input--filled]': '!!text()',\n },\n viewProviders: [provideTxIconDefaults(LIST_INPUT_ICON_DEFAULTS)],\n})\nexport class TxListInput extends TxFormControlBase<string[]> {\n private readonly listInputTheme = injectTokens(LIST_INPUT_THEME);\n\n private locale = inject(TxLocaleService);\n\n readonly text = model<string>('');\n readonly type = input<TxListInputType>('text');\n readonly parser = input<TxListInputParser | undefined>(undefined);\n readonly splitByLines = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly separator = input<RegExp | undefined>(undefined);\n readonly placeholder = input<string | undefined>(undefined);\n readonly hint = input<string | undefined>(undefined);\n readonly countLabel = input<string | undefined>(undefined);\n readonly rows = input<number, unknown>(8, { transform: numberAttribute });\n readonly invalidLimit = input<number, unknown>(8, { transform: numberAttribute });\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 invalid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly inputId = input<string | undefined>(undefined);\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly ariaLabelledBy = input<string | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraListInputTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxListInputPart, TxListInput> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly itemsChange = output<string[]>();\n readonly parsedChange = output<TxListInputResult>();\n\n readonly field = viewChild.required<ElementRef<HTMLTextAreaElement>>('field');\n\n readonly statusId = uniqueId('tx-list-input-status');\n readonly translations = this.locale.translations;\n readonly isInvalid = injectFieldInvalid(this.invalid);\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('listInput', this, this.pt, this.ptOptions);\n readonly isDisabled = computed(() => this.disabled() || this.disabledInput());\n readonly texts = computed(() => TEXTS[this.type()]);\n readonly parsed = computed(() =>\n txParseList(this.text(), this.parser() ?? TX_LIST_INPUT_PARSERS[this.type()], this.separator() ?? (this.splitByLines() ? TX_LIST_INPUT_LINES : TX_LIST_INPUT_WORDS)),\n );\n readonly invalidPreview = computed(() => this.parsed().invalid.slice(0, Math.max(0, this.invalidLimit())));\n readonly invalidHidden = computed(() => this.parsed().invalid.length - this.invalidPreview().length);\n readonly isEmpty = computed(() => !this.parsed().items.length && !this.parsed().invalid.length);\n readonly canCleanUp = computed(() => !!this.parsed().items.length && this.text().trim() !== this.parsed().items.join(LINE_BREAK));\n readonly placeholderText = computed(() => this.placeholder() ?? this.translations()[this.texts().placeholder]);\n readonly hintText = computed(() => this.hint() ?? this.translations()[this.texts().hint]);\n readonly countText = computed(() => {\n const count = this.parsed().items.length;\n const custom = this.countLabel();\n return custom !== undefined ? this.locale.format(custom, { count }) : this.locale.translate(this.texts().count, { count });\n });\n readonly duplicatesText = computed(() => this.locale.translate('listInputDuplicates', { count: this.parsed().duplicates }));\n readonly invalidCountText = computed(() => this.locale.translate('listInputInvalidCount', { count: this.parsed().invalid.length }));\n readonly moreText = computed(() => this.locale.translate('listInputMore', { count: this.invalidHidden() }));\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-list-input'), ...this.passThrough().root?.style }));\n\n override writeValue(value: string[] | null): void {\n const items = Array.isArray(value) ? value : [];\n super.writeValue(items);\n if (!sameItems(items, this.parsed().items)) {\n this.text.set(items.join(LINE_BREAK));\n }\n }\n\n onInput(event: Event): void {\n this.setText((event.target as HTMLTextAreaElement).value);\n }\n\n onBlur(): void {\n this.markTouched();\n }\n\n cleanUp(): void {\n this.setText(this.parsed().items.join(LINE_BREAK));\n this.field().nativeElement.focus();\n }\n\n clear(): void {\n this.setText('');\n this.field().nativeElement.focus();\n }\n\n private setText(text: string): void {\n this.text.set(text);\n const parsed = this.parsed();\n this.updateValue(parsed.items);\n this.itemsChange.emit(parsed.items);\n this.parsedChange.emit(parsed);\n }\n}\n\nfunction sameItems(a: string[], b: string[]): boolean {\n return a.length === b.length && a.every((item, index) => item === b[index]);\n}\n","<textarea\n #field\n class=\"tx-list-input__field\"\n spellcheck=\"false\"\n autocomplete=\"off\"\n [attr.id]=\"inputId() ?? null\"\n [rows]=\"rows()\"\n [placeholder]=\"placeholderText()\"\n [value]=\"text()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"readonly()\"\n [class]=\"passThrough().field?.class\"\n [style]=\"passThrough().field?.style\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-describedby]=\"statusId\"\n [attr.aria-invalid]=\"isInvalid() || null\"\n (input)=\"onInput($event)\"\n (blur)=\"onBlur()\"\n></textarea>\n\n<div class=\"tx-list-input__footer\" [class]=\"passThrough().footer?.class\" [style]=\"passThrough().footer?.style\">\n <div class=\"tx-list-input__stats\" [id]=\"statusId\" [class]=\"passThrough().stats?.class\" [style]=\"passThrough().stats?.style\">\n @if (isEmpty()) {\n <span class=\"tx-list-input__hint\">{{ hintText() }}</span>\n } @else {\n <tx-pill tone=\"primary\" [icon]=\"texts().icon\" [value]=\"countText()\" [unstyled]=\"isUnstyled()\" />\n @if (parsed().duplicates) {\n <tx-pill tone=\"warn\" icon=\"clone\" [value]=\"duplicatesText()\" [unstyled]=\"isUnstyled()\" />\n }\n @if (parsed().invalid.length) {\n <tx-pill tone=\"danger\" icon=\"exclamation-circle\" [value]=\"invalidCountText()\" [unstyled]=\"isUnstyled()\" />\n }\n }\n </div>\n @if (!readonly()) {\n <div class=\"tx-list-input__actions\" [class]=\"passThrough().actions?.class\" [style]=\"passThrough().actions?.style\">\n @if (canCleanUp()) {\n <button\n type=\"button\"\n txButton\n icon=\"sparkles\"\n [text]=\"true\"\n [label]=\"translations().listInputCleanUp\"\n [disabled]=\"isDisabled()\"\n [txTooltip]=\"translations().listInputCleanUpHint\"\n [unstyled]=\"isUnstyled()\"\n (click)=\"cleanUp()\"\n ></button>\n }\n @if (text()) {\n <button\n type=\"button\"\n txButton\n icon=\"times\"\n severity=\"secondary\"\n [text]=\"true\"\n [label]=\"translations().clear\"\n [disabled]=\"isDisabled()\"\n [unstyled]=\"isUnstyled()\"\n (click)=\"clear()\"\n ></button>\n }\n </div>\n }\n</div>\n\n@if (parsed().invalid.length) {\n <div class=\"tx-list-input__invalid\" [class]=\"passThrough().invalid?.class\" [style]=\"passThrough().invalid?.style\">\n <span class=\"tx-list-input__invalid-title\">{{ translations().listInputInvalid }}</span>\n @for (item of invalidPreview(); track item) {\n <tx-pill tone=\"danger\" size=\"small\" [value]=\"item\" [unstyled]=\"isUnstyled()\" />\n }\n @if (invalidHidden()) {\n <span class=\"tx-list-input__hint\">{{ moreText() }}</span>\n }\n </div>\n}\n"],"mappings":";;;;;;;;;;;;;AAEA,MAAM,iBAAiB;AACvB,MAAM,WAAW;AACjB,MAAM,aAAa;AACnB,MAAM,OAAO;AACb,MAAM,eAAe;AACrB,MAAM,cAAc;AAGpB,MAAa,sBAAsB;AAKnC,MAAa,sBAAsB;AAGnC,SAAgB,cAAc,OAAa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