@tectra-ng/ui 0.4.3 → 0.4.5

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 (233) hide show
  1. package/amount/README.md +19 -1
  2. package/analog-clock/README.md +1 -1
  3. package/autocomplete/README.md +1 -1
  4. package/avatar/README.md +24 -4
  5. package/cascade-select/README.md +1 -1
  6. package/chips-input/README.md +10 -5
  7. package/color-picker/README.md +5 -0
  8. package/countdown/README.md +7 -1
  9. package/country/README.md +14 -1
  10. package/country-select/README.md +2 -1
  11. package/export/README.md +27 -2
  12. package/export-font/README.md +1 -1
  13. package/fesm2022/tectra-ng-ui-accordion.mjs +21 -21
  14. package/fesm2022/tectra-ng-ui-amount.mjs +99 -17
  15. package/fesm2022/tectra-ng-ui-amount.mjs.map +1 -1
  16. package/fesm2022/tectra-ng-ui-analog-clock.mjs +12 -25
  17. package/fesm2022/tectra-ng-ui-analog-clock.mjs.map +1 -1
  18. package/fesm2022/tectra-ng-ui-autocomplete.mjs +8 -7
  19. package/fesm2022/tectra-ng-ui-autocomplete.mjs.map +1 -1
  20. package/fesm2022/tectra-ng-ui-avatar.mjs +68 -26
  21. package/fesm2022/tectra-ng-ui-avatar.mjs.map +1 -1
  22. package/fesm2022/tectra-ng-ui-badge.mjs +3 -3
  23. package/fesm2022/tectra-ng-ui-breadcrumb.mjs +9 -9
  24. package/fesm2022/tectra-ng-ui-button-group.mjs +3 -3
  25. package/fesm2022/tectra-ng-ui-button.mjs +11 -11
  26. package/fesm2022/tectra-ng-ui-button.mjs.map +1 -1
  27. package/fesm2022/tectra-ng-ui-card.mjs +5 -5
  28. package/fesm2022/tectra-ng-ui-card.mjs.map +1 -1
  29. package/fesm2022/tectra-ng-ui-carousel.mjs +15 -15
  30. package/fesm2022/tectra-ng-ui-cascade-select.mjs +10 -7
  31. package/fesm2022/tectra-ng-ui-cascade-select.mjs.map +1 -1
  32. package/fesm2022/tectra-ng-ui-checkbox.mjs +9 -9
  33. package/fesm2022/tectra-ng-ui-chip.mjs +3 -3
  34. package/fesm2022/tectra-ng-ui-chips-input.mjs +120 -21
  35. package/fesm2022/tectra-ng-ui-chips-input.mjs.map +1 -1
  36. package/fesm2022/tectra-ng-ui-color-picker.mjs +96 -9
  37. package/fesm2022/tectra-ng-ui-color-picker.mjs.map +1 -1
  38. package/fesm2022/tectra-ng-ui-color-swatches.mjs +3 -3
  39. package/fesm2022/tectra-ng-ui-confirm.mjs +9 -9
  40. package/fesm2022/tectra-ng-ui-countdown.mjs +48 -19
  41. package/fesm2022/tectra-ng-ui-countdown.mjs.map +1 -1
  42. package/fesm2022/tectra-ng-ui-country-select.mjs +31 -8
  43. package/fesm2022/tectra-ng-ui-country-select.mjs.map +1 -1
  44. package/fesm2022/tectra-ng-ui-country.mjs +18 -9
  45. package/fesm2022/tectra-ng-ui-country.mjs.map +1 -1
  46. package/fesm2022/tectra-ng-ui-data-view.mjs +30 -30
  47. package/fesm2022/tectra-ng-ui-datepicker.mjs +53 -40
  48. package/fesm2022/tectra-ng-ui-datepicker.mjs.map +1 -1
  49. package/fesm2022/tectra-ng-ui-dialog.mjs +30 -30
  50. package/fesm2022/tectra-ng-ui-dialog.mjs.map +1 -1
  51. package/fesm2022/tectra-ng-ui-divider.mjs +3 -3
  52. package/fesm2022/tectra-ng-ui-drawer.mjs +9 -9
  53. package/fesm2022/tectra-ng-ui-email-suggestion.mjs +3 -3
  54. package/fesm2022/tectra-ng-ui-export.mjs +1264 -111
  55. package/fesm2022/tectra-ng-ui-export.mjs.map +1 -1
  56. package/fesm2022/tectra-ng-ui-field.mjs +4 -3
  57. package/fesm2022/tectra-ng-ui-field.mjs.map +1 -1
  58. package/fesm2022/tectra-ng-ui-fieldset.mjs +5 -5
  59. package/fesm2022/tectra-ng-ui-fieldset.mjs.map +1 -1
  60. package/fesm2022/tectra-ng-ui-file-upload.mjs +12 -12
  61. package/fesm2022/tectra-ng-ui-galleria.mjs +21 -21
  62. package/fesm2022/tectra-ng-ui-highlight-text.mjs +3 -3
  63. package/fesm2022/tectra-ng-ui-icon-field.mjs +63 -35
  64. package/fesm2022/tectra-ng-ui-icon-field.mjs.map +1 -1
  65. package/fesm2022/tectra-ng-ui-image.mjs +9 -9
  66. package/fesm2022/tectra-ng-ui-input-group.mjs +6 -6
  67. package/fesm2022/tectra-ng-ui-input-mask.mjs +3 -3
  68. package/fesm2022/tectra-ng-ui-input-number.mjs +5 -5
  69. package/fesm2022/tectra-ng-ui-input-number.mjs.map +1 -1
  70. package/fesm2022/tectra-ng-ui-input-otp.mjs +3 -3
  71. package/fesm2022/tectra-ng-ui-input.mjs +11 -10
  72. package/fesm2022/tectra-ng-ui-input.mjs.map +1 -1
  73. package/fesm2022/tectra-ng-ui-key-filter.mjs +87 -22
  74. package/fesm2022/tectra-ng-ui-key-filter.mjs.map +1 -1
  75. package/fesm2022/tectra-ng-ui-knob.mjs +30 -8
  76. package/fesm2022/tectra-ng-ui-knob.mjs.map +1 -1
  77. package/fesm2022/tectra-ng-ui-label.mjs +77 -18
  78. package/fesm2022/tectra-ng-ui-label.mjs.map +1 -1
  79. package/fesm2022/tectra-ng-ui-link.mjs +44 -20
  80. package/fesm2022/tectra-ng-ui-link.mjs.map +1 -1
  81. package/fesm2022/tectra-ng-ui-list-input.mjs +3 -3
  82. package/fesm2022/tectra-ng-ui-listbox.mjs +3 -3
  83. package/fesm2022/tectra-ng-ui-mention-textarea.mjs +19 -8
  84. package/fesm2022/tectra-ng-ui-mention-textarea.mjs.map +1 -1
  85. package/fesm2022/tectra-ng-ui-menu.mjs +15 -15
  86. package/fesm2022/tectra-ng-ui-menubar.mjs +6 -6
  87. package/fesm2022/tectra-ng-ui-message.mjs +23 -19
  88. package/fesm2022/tectra-ng-ui-message.mjs.map +1 -1
  89. package/fesm2022/tectra-ng-ui-month-calendar.mjs +32 -15
  90. package/fesm2022/tectra-ng-ui-month-calendar.mjs.map +1 -1
  91. package/fesm2022/tectra-ng-ui-multiselect.mjs +6 -5
  92. package/fesm2022/tectra-ng-ui-multiselect.mjs.map +1 -1
  93. package/fesm2022/tectra-ng-ui-overlay-badge.mjs +3 -3
  94. package/fesm2022/tectra-ng-ui-paginator.mjs +9 -9
  95. package/fesm2022/tectra-ng-ui-panel-menu.mjs +51 -20
  96. package/fesm2022/tectra-ng-ui-panel-menu.mjs.map +1 -1
  97. package/fesm2022/tectra-ng-ui-panel.mjs +7 -5
  98. package/fesm2022/tectra-ng-ui-panel.mjs.map +1 -1
  99. package/fesm2022/tectra-ng-ui-password-generator.mjs +24 -7
  100. package/fesm2022/tectra-ng-ui-password-generator.mjs.map +1 -1
  101. package/fesm2022/tectra-ng-ui-password.mjs +14 -14
  102. package/fesm2022/tectra-ng-ui-password.mjs.map +1 -1
  103. package/fesm2022/tectra-ng-ui-pill.mjs +39 -19
  104. package/fesm2022/tectra-ng-ui-pill.mjs.map +1 -1
  105. package/fesm2022/tectra-ng-ui-popover.mjs +15 -15
  106. package/fesm2022/tectra-ng-ui-progress-bar.mjs +6 -6
  107. package/fesm2022/tectra-ng-ui-progress-spinner.mjs +3 -3
  108. package/fesm2022/tectra-ng-ui-radio-button.mjs +6 -6
  109. package/fesm2022/tectra-ng-ui-rating.mjs +11 -11
  110. package/fesm2022/tectra-ng-ui-rating.mjs.map +1 -1
  111. package/fesm2022/tectra-ng-ui-scroll-panel.mjs +3 -3
  112. package/fesm2022/tectra-ng-ui-select-button.mjs +6 -6
  113. package/fesm2022/tectra-ng-ui-select.mjs +66 -43
  114. package/fesm2022/tectra-ng-ui-select.mjs.map +1 -1
  115. package/fesm2022/tectra-ng-ui-skeleton.mjs +6 -6
  116. package/fesm2022/tectra-ng-ui-slider.mjs +3 -3
  117. package/fesm2022/tectra-ng-ui-sparkline.mjs +3 -3
  118. package/fesm2022/tectra-ng-ui-speed-dial.mjs +3 -3
  119. package/fesm2022/tectra-ng-ui-split-button.mjs +3 -3
  120. package/fesm2022/tectra-ng-ui-splitter.mjs +6 -6
  121. package/fesm2022/tectra-ng-ui-stat-tiles.mjs +99 -14
  122. package/fesm2022/tectra-ng-ui-stat-tiles.mjs.map +1 -1
  123. package/fesm2022/tectra-ng-ui-status-icon.mjs +43 -6
  124. package/fesm2022/tectra-ng-ui-status-icon.mjs.map +1 -1
  125. package/fesm2022/tectra-ng-ui-stepper.mjs +41 -35
  126. package/fesm2022/tectra-ng-ui-stepper.mjs.map +1 -1
  127. package/fesm2022/tectra-ng-ui-table.mjs +74 -60
  128. package/fesm2022/tectra-ng-ui-table.mjs.map +1 -1
  129. package/fesm2022/tectra-ng-ui-tabs.mjs +18 -18
  130. package/fesm2022/tectra-ng-ui-tag.mjs +8 -8
  131. package/fesm2022/tectra-ng-ui-tag.mjs.map +1 -1
  132. package/fesm2022/tectra-ng-ui-textarea.mjs +9 -9
  133. package/fesm2022/tectra-ng-ui-timeline.mjs +15 -15
  134. package/fesm2022/tectra-ng-ui-toast.mjs +11 -11
  135. package/fesm2022/tectra-ng-ui-toast.mjs.map +1 -1
  136. package/fesm2022/tectra-ng-ui-toggle-button.mjs +3 -3
  137. package/fesm2022/tectra-ng-ui-toggle-switch.mjs +6 -6
  138. package/fesm2022/tectra-ng-ui-toolbar.mjs +12 -12
  139. package/fesm2022/tectra-ng-ui-tooltip.mjs +9 -9
  140. package/fesm2022/tectra-ng-ui-tree-select.mjs +13 -11
  141. package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -1
  142. package/fesm2022/tectra-ng-ui-tree-table.mjs +7 -7
  143. package/fesm2022/tectra-ng-ui-tree-table.mjs.map +1 -1
  144. package/fesm2022/tectra-ng-ui-tree.mjs +30 -30
  145. package/fesm2022/tectra-ng-ui-truncate-text.mjs +36 -12
  146. package/fesm2022/tectra-ng-ui-truncate-text.mjs.map +1 -1
  147. package/fesm2022/tectra-ng-ui-virtual-scroller.mjs +15 -15
  148. package/fesm2022/tectra-ng-ui.mjs +1 -1
  149. package/icon-field/README.md +2 -1
  150. package/input/README.md +1 -1
  151. package/key-filter/README.md +3 -2
  152. package/knob/README.md +3 -1
  153. package/label/README.md +4 -1
  154. package/link/README.md +4 -1
  155. package/message/README.md +2 -2
  156. package/month-calendar/README.md +2 -1
  157. package/multiselect/README.md +1 -1
  158. package/package.json +4 -4
  159. package/panel/README.md +3 -1
  160. package/panel-menu/README.md +3 -2
  161. package/password-generator/README.md +2 -0
  162. package/pill/README.md +4 -4
  163. package/select/README.md +1 -1
  164. package/stat-tiles/README.md +17 -1
  165. package/status-icon/README.md +3 -1
  166. package/table/README.md +1 -1
  167. package/tag/README.md +2 -0
  168. package/tree-select/README.md +1 -1
  169. package/truncate-text/README.md +2 -1
  170. package/types/tectra-ng-ui-amount.d.ts +41 -1
  171. package/types/tectra-ng-ui-amount.d.ts.map +1 -1
  172. package/types/tectra-ng-ui-analog-clock.d.ts +1 -4
  173. package/types/tectra-ng-ui-analog-clock.d.ts.map +1 -1
  174. package/types/tectra-ng-ui-autocomplete.d.ts +1 -1
  175. package/types/tectra-ng-ui-avatar.d.ts +45 -12
  176. package/types/tectra-ng-ui-avatar.d.ts.map +1 -1
  177. package/types/tectra-ng-ui-cascade-select.d.ts +3 -2
  178. package/types/tectra-ng-ui-cascade-select.d.ts.map +1 -1
  179. package/types/tectra-ng-ui-chips-input.d.ts +54 -6
  180. package/types/tectra-ng-ui-chips-input.d.ts.map +1 -1
  181. package/types/tectra-ng-ui-color-picker.d.ts +38 -1
  182. package/types/tectra-ng-ui-color-picker.d.ts.map +1 -1
  183. package/types/tectra-ng-ui-countdown.d.ts +12 -1
  184. package/types/tectra-ng-ui-countdown.d.ts.map +1 -1
  185. package/types/tectra-ng-ui-country-select.d.ts +17 -4
  186. package/types/tectra-ng-ui-country-select.d.ts.map +1 -1
  187. package/types/tectra-ng-ui-country.d.ts +7 -1
  188. package/types/tectra-ng-ui-country.d.ts.map +1 -1
  189. package/types/tectra-ng-ui-datepicker.d.ts +4 -2
  190. package/types/tectra-ng-ui-datepicker.d.ts.map +1 -1
  191. package/types/tectra-ng-ui-export.d.ts +68 -8
  192. package/types/tectra-ng-ui-export.d.ts.map +1 -1
  193. package/types/tectra-ng-ui-icon-field.d.ts +9 -2
  194. package/types/tectra-ng-ui-icon-field.d.ts.map +1 -1
  195. package/types/tectra-ng-ui-input.d.ts +1 -1
  196. package/types/tectra-ng-ui-key-filter.d.ts +19 -4
  197. package/types/tectra-ng-ui-key-filter.d.ts.map +1 -1
  198. package/types/tectra-ng-ui-knob.d.ts +10 -2
  199. package/types/tectra-ng-ui-knob.d.ts.map +1 -1
  200. package/types/tectra-ng-ui-label.d.ts +8 -1
  201. package/types/tectra-ng-ui-label.d.ts.map +1 -1
  202. package/types/tectra-ng-ui-link.d.ts +8 -2
  203. package/types/tectra-ng-ui-link.d.ts.map +1 -1
  204. package/types/tectra-ng-ui-mention-textarea.d.ts +5 -0
  205. package/types/tectra-ng-ui-mention-textarea.d.ts.map +1 -1
  206. package/types/tectra-ng-ui-message.d.ts +1 -1
  207. package/types/tectra-ng-ui-message.d.ts.map +1 -1
  208. package/types/tectra-ng-ui-month-calendar.d.ts +14 -4
  209. package/types/tectra-ng-ui-month-calendar.d.ts.map +1 -1
  210. package/types/tectra-ng-ui-multiselect.d.ts +1 -1
  211. package/types/tectra-ng-ui-panel-menu.d.ts +34 -6
  212. package/types/tectra-ng-ui-panel-menu.d.ts.map +1 -1
  213. package/types/tectra-ng-ui-panel.d.ts +1 -1
  214. package/types/tectra-ng-ui-panel.d.ts.map +1 -1
  215. package/types/tectra-ng-ui-password-generator.d.ts +10 -3
  216. package/types/tectra-ng-ui-password-generator.d.ts.map +1 -1
  217. package/types/tectra-ng-ui-pill.d.ts +9 -5
  218. package/types/tectra-ng-ui-pill.d.ts.map +1 -1
  219. package/types/tectra-ng-ui-select.d.ts +5 -2
  220. package/types/tectra-ng-ui-select.d.ts.map +1 -1
  221. package/types/tectra-ng-ui-stat-tiles.d.ts +49 -5
  222. package/types/tectra-ng-ui-stat-tiles.d.ts.map +1 -1
  223. package/types/tectra-ng-ui-status-icon.d.ts +20 -2
  224. package/types/tectra-ng-ui-status-icon.d.ts.map +1 -1
  225. package/types/tectra-ng-ui-stepper.d.ts +1 -0
  226. package/types/tectra-ng-ui-stepper.d.ts.map +1 -1
  227. package/types/tectra-ng-ui-table.d.ts +2 -1
  228. package/types/tectra-ng-ui-table.d.ts.map +1 -1
  229. package/types/tectra-ng-ui-tree-select.d.ts +3 -3
  230. package/types/tectra-ng-ui-tree-select.d.ts.map +1 -1
  231. package/types/tectra-ng-ui-truncate-text.d.ts +7 -2
  232. package/types/tectra-ng-ui-truncate-text.d.ts.map +1 -1
  233. package/types/tectra-ng-ui.d.ts +1 -1
@@ -51,7 +51,7 @@ var TxPanel = class TxPanel {
51
51
  }
52
52
  static ɵfac = i0.ɵɵngDeclareFactory({
53
53
  minVersion: "12.0.0",
54
- version: "22.2.5",
54
+ version: "22.2.6",
55
55
  ngImport: i0,
56
56
  type: TxPanel,
57
57
  deps: [],
@@ -59,7 +59,7 @@ var TxPanel = class TxPanel {
59
59
  });
60
60
  static ɵcmp = i0.ɵɵngDeclareComponent({
61
61
  minVersion: "17.0.0",
62
- version: "22.2.5",
62
+ version: "22.2.6",
63
63
  type: TxPanel,
64
64
  isStandalone: true,
65
65
  selector: "tx-panel",
@@ -165,6 +165,7 @@ var TxPanel = class TxPanel {
165
165
  "attr.title": "null",
166
166
  "attr.data-variant": "variant()",
167
167
  "attr.data-align": "align()",
168
+ "class.tx-panel--toggleable": "toggleable()",
168
169
  "class.tx-panel--collapsed": "toggleable() && collapsed()",
169
170
  "attr.role": "title() ? \"region\" : null",
170
171
  "attr.aria-labelledby": "title() ? titleId : null"
@@ -173,7 +174,7 @@ var TxPanel = class TxPanel {
173
174
  },
174
175
  ngImport: i0,
175
176
  template: "<header class=\"tx-panel__header\" [class]=\"passThrough().header?.class\" [style]=\"passThrough().header?.style\">\n <div class=\"tx-panel__lead\">\n @if (icon(); as icon) {\n <span class=\"tx-panel__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n @if (iconName(); as name) {\n <tx-icon [name]=\"name\" />\n } @else {\n <span [class]=\"icon\"></span>\n }\n </span>\n }\n <div class=\"tx-panel__heading\">\n @if (title()) {\n <div class=\"tx-panel__title\" role=\"heading\" [id]=\"titleId\" [attr.aria-level]=\"headingLevel()\" [class]=\"passThrough().title?.class\" [style]=\"passThrough().title?.style\">\n {{ title() }}\n </div>\n }\n @if (subtitle()) {\n <p class=\"tx-panel__subtitle\" [class]=\"passThrough().subtitle?.class\" [style]=\"passThrough().subtitle?.style\">{{ subtitle() }}</p>\n }\n <ng-content select=\"[txPanelHeader]\" />\n </div>\n </div>\n <div class=\"tx-panel__actions\" [class]=\"passThrough().actions?.class\" [style]=\"passThrough().actions?.style\">\n <ng-content select=\"[txPanelActions]\" />\n @if (toggleable()) {\n <button\n type=\"button\"\n class=\"tx-panel__toggle\"\n [class]=\"passThrough().toggle?.class\"\n [style]=\"passThrough().toggle?.style\"\n [attr.aria-expanded]=\"!collapsed()\"\n [attr.aria-controls]=\"bodyId\"\n [attr.aria-label]=\"toggleLabel() ?? title() ?? null\"\n (click)=\"toggle()\"\n >\n <tx-icon [name]=\"'chevron-down'\" />\n </button>\n }\n </div>\n</header>\n<div class=\"tx-panel__collapse\" [id]=\"bodyId\" [attr.inert]=\"isOpen() ? null : ''\">\n <div class=\"tx-panel__collapse-inner\">\n <div class=\"tx-panel__body\" [class]=\"passThrough().body?.class\" [style]=\"passThrough().body?.style\"><ng-content /></div>\n <div class=\"tx-panel__footer\" [class]=\"passThrough().footer?.class\" [style]=\"passThrough().footer?.style\"><ng-content select=\"[txPanelFooter]\" /></div>\n </div>\n</div>\n",
176
- styles: [":host{display:block;min-width:0}.tx-panel__header{display:flex;flex-wrap:wrap;justify-content:space-between}.tx-panel__lead{display:flex;align-items:center;min-width:0}.tx-panel__heading{display:flex;flex-direction:column;min-width:0}.tx-panel__actions{display:flex;align-items:center}.tx-panel__actions:empty,.tx-panel__body:empty,.tx-panel__footer:empty,.tx-panel__collapse:has(.tx-panel__body:empty):has(.tx-panel__footer:empty){display:none}.tx-panel__collapse{display:grid;grid-template-rows:1fr}:host(.tx-panel--collapsed) .tx-panel__collapse{grid-template-rows:0fr}.tx-panel__collapse-inner{min-height:0;overflow:hidden}:host(.tx-panel--collapsed) .tx-panel__collapse-inner{visibility:hidden}:host([data-styled]){--_gap: var(--tx-panel-gap);--_icon: var(--tx-panel-icon-size);--_title: var(--tx-panel-title-font-size);display:flex;flex-direction:column;gap:var(--_gap);padding:var(--tx-panel-padding);border-radius:var(--tx-panel-border-radius);background:var(--tx-panel-background);box-shadow:inset 0 0 0 1px var(--tx-panel-border-color),var(--tx-panel-shadow);color:var(--tx-panel-color);font-family:var(--tx-font-family);transition:gap var(--tx-panel-transition-duration)}:host([data-styled].tx-panel--collapsed){gap:0}:host([data-styled][data-variant=inset]){--_gap: var(--tx-panel-inset-gap);padding:var(--tx-panel-inset-padding);background:var(--tx-panel-inset-background);box-shadow:none}:host([data-styled][data-variant=plain]){--_gap: var(--tx-panel-plain-gap);--_icon: var(--tx-panel-plain-icon-size);--_title: var(--tx-panel-plain-title-font-size);padding:0;border-radius:0;background:transparent;box-shadow:none}:host([data-styled]) .tx-panel__header{gap:12px}:host([data-styled][data-align=start]) .tx-panel__header{align-items:flex-start}:host([data-styled][data-align=center]) .tx-panel__header{align-items:center}:host([data-styled][data-align=end]) .tx-panel__header{align-items:flex-end;column-gap:24px;row-gap:16px}:host([data-styled][data-align=end]) .tx-panel__header .tx-panel__lead{align-self:flex-start}:host([data-styled]) .tx-panel__lead{gap:12px}:host([data-styled]) .tx-panel__icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:var(--_icon);height:var(--_icon);border-radius:var(--tx-panel-icon-border-radius);background:var(--tx-panel-icon-background);color:var(--tx-panel-icon-color);font-size:calc(var(--_icon) * .45)}:host([data-styled]) .tx-panel__heading{gap:2px}:host([data-styled]) .tx-panel__title{font-size:var(--_title);font-weight:var(--tx-panel-title-font-weight);line-height:1.3}:host([data-styled]) .tx-panel__subtitle{margin:0;color:var(--tx-panel-subtitle-color);font-size:var(--tx-panel-subtitle-font-size);line-height:1.45}:host([data-styled]) .tx-panel__actions{flex-wrap:wrap;gap:8px}:host([data-styled]) .tx-panel__toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;border-radius:var(--tx-radius-md);background:transparent;color:var(--tx-text-muted);cursor:pointer;transition:color var(--tx-motion-duration),background-color var(--tx-motion-duration)}:host([data-styled]) .tx-panel__toggle tx-icon{transition:transform var(--tx-panel-transition-duration) cubic-bezier(.2,0,0,1)}:host([data-styled]) .tx-panel__toggle:hover{background:var(--tx-surface-hover);color:var(--tx-text-primary)}:host([data-styled]) .tx-panel__toggle:focus-visible{outline:2px solid var(--tx-focus-ring-color);outline-offset:1px}:host([data-styled].tx-panel--collapsed) .tx-panel__toggle tx-icon{transform:rotate(-90deg)}:host([data-styled]) .tx-panel__collapse{transition:grid-template-rows var(--tx-panel-transition-duration) cubic-bezier(.2,0,0,1)}:host([data-styled]) .tx-panel__footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:var(--_gap)}:host([data-styled]) .tx-panel__body:empty+.tx-panel__footer{margin-top:0}:host([data-styled]) .tx-panel__footer:empty{display:none}:host([data-styled].tx-panel--collapsed) .tx-panel__collapse-inner{transition:visibility 0s linear var(--tx-panel-transition-duration)}@media(prefers-reduced-motion:reduce){:host([data-styled]),:host([data-styled]) .tx-panel__collapse,:host([data-styled]) .tx-panel__toggle,:host([data-styled].tx-panel--collapsed) .tx-panel__collapse-inner,:host([data-styled]) .tx-panel__toggle tx-icon{transition:none}}\n"],
177
+ styles: [":host{display:block;min-width:0}.tx-panel__header{display:flex;flex-wrap:wrap;justify-content:space-between}.tx-panel__lead{display:flex;align-items:center;min-width:0}.tx-panel__heading{display:flex;flex-direction:column;min-width:0}.tx-panel__actions{display:flex;align-items:center}.tx-panel__actions:empty,.tx-panel__body:empty,.tx-panel__footer:empty,.tx-panel__collapse:has(.tx-panel__body:empty):has(.tx-panel__footer:empty){display:none}.tx-panel__collapse{display:grid;flex-grow:1;grid-template-rows:1fr}:host(.tx-panel--collapsed) .tx-panel__collapse{grid-template-rows:0fr}.tx-panel__collapse-inner{display:flex;flex-direction:column;min-height:0}.tx-panel__body{flex-grow:1}:host(.tx-panel--toggleable) .tx-panel__collapse-inner{overflow:hidden}:host(.tx-panel--collapsed) .tx-panel__collapse-inner{visibility:hidden}:host([data-styled]){--_gap: var(--tx-panel-gap);--_icon: var(--tx-panel-icon-size);--_title: var(--tx-panel-title-font-size);display:flex;flex-direction:column;gap:var(--_gap);padding:var(--tx-panel-padding);border-radius:var(--tx-panel-border-radius);background:var(--tx-panel-background);box-shadow:inset 0 0 0 1px var(--tx-panel-border-color),var(--tx-panel-shadow);color:var(--tx-panel-color);font-family:var(--tx-font-family);transition:gap var(--tx-panel-transition-duration)}:host([data-styled].tx-panel--collapsed){gap:0}:host([data-styled][data-variant=inset]){--_gap: var(--tx-panel-inset-gap);padding:var(--tx-panel-inset-padding);background:var(--tx-panel-inset-background);box-shadow:none}:host([data-styled][data-variant=plain]){--_gap: var(--tx-panel-plain-gap);--_icon: var(--tx-panel-plain-icon-size);--_title: var(--tx-panel-plain-title-font-size);padding:0;border-radius:0;background:transparent;box-shadow:none}:host([data-styled]) .tx-panel__header{gap:var(--tx-panel-header-gap)}:host([data-styled][data-align=start]) .tx-panel__header{align-items:flex-start}:host([data-styled][data-align=center]) .tx-panel__header{align-items:center}:host([data-styled][data-align=end]) .tx-panel__header{align-items:flex-end;gap:var(--tx-panel-header-end-gap)}:host([data-styled][data-align=end]) .tx-panel__header .tx-panel__lead{align-self:flex-start}:host([data-styled][data-align=end]) .tx-panel__header .tx-panel__actions{align-items:flex-end}:host([data-styled]) .tx-panel__lead{gap:var(--tx-panel-lead-gap)}:host([data-styled]) .tx-panel__icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:var(--_icon);height:var(--_icon);border-radius:var(--tx-panel-icon-border-radius);background:var(--tx-panel-icon-background);color:var(--tx-panel-icon-color);font-size:calc(var(--_icon) * var(--tx-panel-icon-scale))}:host([data-styled]) .tx-panel__heading{gap:var(--tx-panel-heading-gap)}:host([data-styled]) .tx-panel__title{font-size:var(--_title);font-weight:var(--tx-panel-title-font-weight);line-height:var(--tx-panel-title-line-height)}:host([data-styled]) .tx-panel__subtitle{margin:0;color:var(--tx-panel-subtitle-color);font-size:var(--tx-panel-subtitle-font-size);line-height:var(--tx-panel-subtitle-line-height)}:host([data-styled]) .tx-panel__actions{flex-wrap:wrap;gap:var(--tx-panel-actions-gap)}:host([data-styled]) .tx-panel__toggle{display:inline-flex;align-items:center;justify-content:center;width:var(--tx-panel-toggle-size);height:var(--tx-panel-toggle-size);padding:0;border:none;border-radius:var(--tx-radius-md);background:transparent;color:var(--tx-text-muted);cursor:pointer;transition:color var(--tx-motion-duration),background-color var(--tx-motion-duration)}:host([data-styled]) .tx-panel__toggle tx-icon{transition:transform var(--tx-panel-transition-duration) cubic-bezier(.2,0,0,1)}:host([data-styled]) .tx-panel__toggle:hover{background:var(--tx-surface-hover);color:var(--tx-text-primary)}:host([data-styled]) .tx-panel__toggle:focus-visible{outline:2px solid var(--tx-focus-ring-color);outline-offset:1px}:host([data-styled].tx-panel--collapsed) .tx-panel__toggle tx-icon{transform:rotate(-90deg)}:host([data-styled]) .tx-panel__collapse{transition:grid-template-rows var(--tx-panel-transition-duration) cubic-bezier(.2,0,0,1)}:host([data-styled]) .tx-panel__footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--tx-panel-footer-gap);margin-top:var(--_gap)}:host([data-styled]) .tx-panel__body:empty+.tx-panel__footer{margin-top:0}:host([data-styled]) .tx-panel__footer:empty{display:none}:host([data-styled].tx-panel--collapsed) .tx-panel__collapse-inner{transition:visibility 0s linear var(--tx-panel-transition-duration)}@media(prefers-reduced-motion:reduce){:host([data-styled]),:host([data-styled]) .tx-panel__collapse,:host([data-styled]) .tx-panel__toggle,:host([data-styled].tx-panel--collapsed) .tx-panel__collapse-inner,:host([data-styled]) .tx-panel__toggle tx-icon{transition:none}}\n"],
177
178
  dependencies: [{
178
179
  kind: "component",
179
180
  type: TxIcon,
@@ -186,7 +187,7 @@ var TxPanel = class TxPanel {
186
187
  };
187
188
  i0.ɵɵngDeclareClassMetadata({
188
189
  minVersion: "12.0.0",
189
- version: "22.2.5",
190
+ version: "22.2.6",
190
191
  ngImport: i0,
191
192
  type: TxPanel,
192
193
  decorators: [{
@@ -203,13 +204,14 @@ i0.ɵɵngDeclareClassMetadata({
203
204
  "[attr.title]": "null",
204
205
  "[attr.data-variant]": "variant()",
205
206
  "[attr.data-align]": "align()",
207
+ "[class.tx-panel--toggleable]": "toggleable()",
206
208
  "[class.tx-panel--collapsed]": "toggleable() && collapsed()",
207
209
  "[attr.role]": "title() ? \"region\" : null",
208
210
  "[attr.aria-labelledby]": "title() ? titleId : null"
209
211
  },
210
212
  viewProviders: [provideTxIconDefaults(PANEL_ICON_DEFAULTS)],
211
213
  template: "<header class=\"tx-panel__header\" [class]=\"passThrough().header?.class\" [style]=\"passThrough().header?.style\">\n <div class=\"tx-panel__lead\">\n @if (icon(); as icon) {\n <span class=\"tx-panel__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n @if (iconName(); as name) {\n <tx-icon [name]=\"name\" />\n } @else {\n <span [class]=\"icon\"></span>\n }\n </span>\n }\n <div class=\"tx-panel__heading\">\n @if (title()) {\n <div class=\"tx-panel__title\" role=\"heading\" [id]=\"titleId\" [attr.aria-level]=\"headingLevel()\" [class]=\"passThrough().title?.class\" [style]=\"passThrough().title?.style\">\n {{ title() }}\n </div>\n }\n @if (subtitle()) {\n <p class=\"tx-panel__subtitle\" [class]=\"passThrough().subtitle?.class\" [style]=\"passThrough().subtitle?.style\">{{ subtitle() }}</p>\n }\n <ng-content select=\"[txPanelHeader]\" />\n </div>\n </div>\n <div class=\"tx-panel__actions\" [class]=\"passThrough().actions?.class\" [style]=\"passThrough().actions?.style\">\n <ng-content select=\"[txPanelActions]\" />\n @if (toggleable()) {\n <button\n type=\"button\"\n class=\"tx-panel__toggle\"\n [class]=\"passThrough().toggle?.class\"\n [style]=\"passThrough().toggle?.style\"\n [attr.aria-expanded]=\"!collapsed()\"\n [attr.aria-controls]=\"bodyId\"\n [attr.aria-label]=\"toggleLabel() ?? title() ?? null\"\n (click)=\"toggle()\"\n >\n <tx-icon [name]=\"'chevron-down'\" />\n </button>\n }\n </div>\n</header>\n<div class=\"tx-panel__collapse\" [id]=\"bodyId\" [attr.inert]=\"isOpen() ? null : ''\">\n <div class=\"tx-panel__collapse-inner\">\n <div class=\"tx-panel__body\" [class]=\"passThrough().body?.class\" [style]=\"passThrough().body?.style\"><ng-content /></div>\n <div class=\"tx-panel__footer\" [class]=\"passThrough().footer?.class\" [style]=\"passThrough().footer?.style\"><ng-content select=\"[txPanelFooter]\" /></div>\n </div>\n</div>\n",
212
- styles: [":host{display:block;min-width:0}.tx-panel__header{display:flex;flex-wrap:wrap;justify-content:space-between}.tx-panel__lead{display:flex;align-items:center;min-width:0}.tx-panel__heading{display:flex;flex-direction:column;min-width:0}.tx-panel__actions{display:flex;align-items:center}.tx-panel__actions:empty,.tx-panel__body:empty,.tx-panel__footer:empty,.tx-panel__collapse:has(.tx-panel__body:empty):has(.tx-panel__footer:empty){display:none}.tx-panel__collapse{display:grid;grid-template-rows:1fr}:host(.tx-panel--collapsed) .tx-panel__collapse{grid-template-rows:0fr}.tx-panel__collapse-inner{min-height:0;overflow:hidden}:host(.tx-panel--collapsed) .tx-panel__collapse-inner{visibility:hidden}:host([data-styled]){--_gap: var(--tx-panel-gap);--_icon: var(--tx-panel-icon-size);--_title: var(--tx-panel-title-font-size);display:flex;flex-direction:column;gap:var(--_gap);padding:var(--tx-panel-padding);border-radius:var(--tx-panel-border-radius);background:var(--tx-panel-background);box-shadow:inset 0 0 0 1px var(--tx-panel-border-color),var(--tx-panel-shadow);color:var(--tx-panel-color);font-family:var(--tx-font-family);transition:gap var(--tx-panel-transition-duration)}:host([data-styled].tx-panel--collapsed){gap:0}:host([data-styled][data-variant=inset]){--_gap: var(--tx-panel-inset-gap);padding:var(--tx-panel-inset-padding);background:var(--tx-panel-inset-background);box-shadow:none}:host([data-styled][data-variant=plain]){--_gap: var(--tx-panel-plain-gap);--_icon: var(--tx-panel-plain-icon-size);--_title: var(--tx-panel-plain-title-font-size);padding:0;border-radius:0;background:transparent;box-shadow:none}:host([data-styled]) .tx-panel__header{gap:12px}:host([data-styled][data-align=start]) .tx-panel__header{align-items:flex-start}:host([data-styled][data-align=center]) .tx-panel__header{align-items:center}:host([data-styled][data-align=end]) .tx-panel__header{align-items:flex-end;column-gap:24px;row-gap:16px}:host([data-styled][data-align=end]) .tx-panel__header .tx-panel__lead{align-self:flex-start}:host([data-styled]) .tx-panel__lead{gap:12px}:host([data-styled]) .tx-panel__icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:var(--_icon);height:var(--_icon);border-radius:var(--tx-panel-icon-border-radius);background:var(--tx-panel-icon-background);color:var(--tx-panel-icon-color);font-size:calc(var(--_icon) * .45)}:host([data-styled]) .tx-panel__heading{gap:2px}:host([data-styled]) .tx-panel__title{font-size:var(--_title);font-weight:var(--tx-panel-title-font-weight);line-height:1.3}:host([data-styled]) .tx-panel__subtitle{margin:0;color:var(--tx-panel-subtitle-color);font-size:var(--tx-panel-subtitle-font-size);line-height:1.45}:host([data-styled]) .tx-panel__actions{flex-wrap:wrap;gap:8px}:host([data-styled]) .tx-panel__toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;border-radius:var(--tx-radius-md);background:transparent;color:var(--tx-text-muted);cursor:pointer;transition:color var(--tx-motion-duration),background-color var(--tx-motion-duration)}:host([data-styled]) .tx-panel__toggle tx-icon{transition:transform var(--tx-panel-transition-duration) cubic-bezier(.2,0,0,1)}:host([data-styled]) .tx-panel__toggle:hover{background:var(--tx-surface-hover);color:var(--tx-text-primary)}:host([data-styled]) .tx-panel__toggle:focus-visible{outline:2px solid var(--tx-focus-ring-color);outline-offset:1px}:host([data-styled].tx-panel--collapsed) .tx-panel__toggle tx-icon{transform:rotate(-90deg)}:host([data-styled]) .tx-panel__collapse{transition:grid-template-rows var(--tx-panel-transition-duration) cubic-bezier(.2,0,0,1)}:host([data-styled]) .tx-panel__footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:var(--_gap)}:host([data-styled]) .tx-panel__body:empty+.tx-panel__footer{margin-top:0}:host([data-styled]) .tx-panel__footer:empty{display:none}:host([data-styled].tx-panel--collapsed) .tx-panel__collapse-inner{transition:visibility 0s linear var(--tx-panel-transition-duration)}@media(prefers-reduced-motion:reduce){:host([data-styled]),:host([data-styled]) .tx-panel__collapse,:host([data-styled]) .tx-panel__toggle,:host([data-styled].tx-panel--collapsed) .tx-panel__collapse-inner,:host([data-styled]) .tx-panel__toggle tx-icon{transition:none}}\n"]
214
+ styles: [":host{display:block;min-width:0}.tx-panel__header{display:flex;flex-wrap:wrap;justify-content:space-between}.tx-panel__lead{display:flex;align-items:center;min-width:0}.tx-panel__heading{display:flex;flex-direction:column;min-width:0}.tx-panel__actions{display:flex;align-items:center}.tx-panel__actions:empty,.tx-panel__body:empty,.tx-panel__footer:empty,.tx-panel__collapse:has(.tx-panel__body:empty):has(.tx-panel__footer:empty){display:none}.tx-panel__collapse{display:grid;flex-grow:1;grid-template-rows:1fr}:host(.tx-panel--collapsed) .tx-panel__collapse{grid-template-rows:0fr}.tx-panel__collapse-inner{display:flex;flex-direction:column;min-height:0}.tx-panel__body{flex-grow:1}:host(.tx-panel--toggleable) .tx-panel__collapse-inner{overflow:hidden}:host(.tx-panel--collapsed) .tx-panel__collapse-inner{visibility:hidden}:host([data-styled]){--_gap: var(--tx-panel-gap);--_icon: var(--tx-panel-icon-size);--_title: var(--tx-panel-title-font-size);display:flex;flex-direction:column;gap:var(--_gap);padding:var(--tx-panel-padding);border-radius:var(--tx-panel-border-radius);background:var(--tx-panel-background);box-shadow:inset 0 0 0 1px var(--tx-panel-border-color),var(--tx-panel-shadow);color:var(--tx-panel-color);font-family:var(--tx-font-family);transition:gap var(--tx-panel-transition-duration)}:host([data-styled].tx-panel--collapsed){gap:0}:host([data-styled][data-variant=inset]){--_gap: var(--tx-panel-inset-gap);padding:var(--tx-panel-inset-padding);background:var(--tx-panel-inset-background);box-shadow:none}:host([data-styled][data-variant=plain]){--_gap: var(--tx-panel-plain-gap);--_icon: var(--tx-panel-plain-icon-size);--_title: var(--tx-panel-plain-title-font-size);padding:0;border-radius:0;background:transparent;box-shadow:none}:host([data-styled]) .tx-panel__header{gap:var(--tx-panel-header-gap)}:host([data-styled][data-align=start]) .tx-panel__header{align-items:flex-start}:host([data-styled][data-align=center]) .tx-panel__header{align-items:center}:host([data-styled][data-align=end]) .tx-panel__header{align-items:flex-end;gap:var(--tx-panel-header-end-gap)}:host([data-styled][data-align=end]) .tx-panel__header .tx-panel__lead{align-self:flex-start}:host([data-styled][data-align=end]) .tx-panel__header .tx-panel__actions{align-items:flex-end}:host([data-styled]) .tx-panel__lead{gap:var(--tx-panel-lead-gap)}:host([data-styled]) .tx-panel__icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:var(--_icon);height:var(--_icon);border-radius:var(--tx-panel-icon-border-radius);background:var(--tx-panel-icon-background);color:var(--tx-panel-icon-color);font-size:calc(var(--_icon) * var(--tx-panel-icon-scale))}:host([data-styled]) .tx-panel__heading{gap:var(--tx-panel-heading-gap)}:host([data-styled]) .tx-panel__title{font-size:var(--_title);font-weight:var(--tx-panel-title-font-weight);line-height:var(--tx-panel-title-line-height)}:host([data-styled]) .tx-panel__subtitle{margin:0;color:var(--tx-panel-subtitle-color);font-size:var(--tx-panel-subtitle-font-size);line-height:var(--tx-panel-subtitle-line-height)}:host([data-styled]) .tx-panel__actions{flex-wrap:wrap;gap:var(--tx-panel-actions-gap)}:host([data-styled]) .tx-panel__toggle{display:inline-flex;align-items:center;justify-content:center;width:var(--tx-panel-toggle-size);height:var(--tx-panel-toggle-size);padding:0;border:none;border-radius:var(--tx-radius-md);background:transparent;color:var(--tx-text-muted);cursor:pointer;transition:color var(--tx-motion-duration),background-color var(--tx-motion-duration)}:host([data-styled]) .tx-panel__toggle tx-icon{transition:transform var(--tx-panel-transition-duration) cubic-bezier(.2,0,0,1)}:host([data-styled]) .tx-panel__toggle:hover{background:var(--tx-surface-hover);color:var(--tx-text-primary)}:host([data-styled]) .tx-panel__toggle:focus-visible{outline:2px solid var(--tx-focus-ring-color);outline-offset:1px}:host([data-styled].tx-panel--collapsed) .tx-panel__toggle tx-icon{transform:rotate(-90deg)}:host([data-styled]) .tx-panel__collapse{transition:grid-template-rows var(--tx-panel-transition-duration) cubic-bezier(.2,0,0,1)}:host([data-styled]) .tx-panel__footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--tx-panel-footer-gap);margin-top:var(--_gap)}:host([data-styled]) .tx-panel__body:empty+.tx-panel__footer{margin-top:0}:host([data-styled]) .tx-panel__footer:empty{display:none}:host([data-styled].tx-panel--collapsed) .tx-panel__collapse-inner{transition:visibility 0s linear var(--tx-panel-transition-duration)}@media(prefers-reduced-motion:reduce){:host([data-styled]),:host([data-styled]) .tx-panel__collapse,:host([data-styled]) .tx-panel__toggle,:host([data-styled].tx-panel--collapsed) .tx-panel__collapse-inner,:host([data-styled]) .tx-panel__toggle tx-icon{transition:none}}\n"]
213
215
  }]
214
216
  }],
215
217
  propDecorators: {
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-panel.mjs","names":[],"sources":["../../../../packages/ui/panel/src/panel.icons.ts","../../../../packages/ui/panel/src/panel.theme.ts","../../../../packages/ui/panel/src/panel.component.ts","../../../../packages/ui/panel/src/panel.component.html"],"sourcesContent":["import { TxIconSet, txIconChevronDown, txIconHeading } from '@tectra-ng/icons';\n\nexport const PANEL_ICON_DEFAULTS: TxIconSet = {\n 'chevron-down': txIconChevronDown,\n heading: txIconHeading,\n};\n","import { panelTokens } from '@tectra-ng/themes';\n\nexport const PANEL_THEME = {\n panel: panelTokens,\n};\n","import { ChangeDetectionStrategy, Component, booleanAttribute, computed, input, model } from '@angular/core';\nimport { uniqueId } from '@tectra-ng/core/a11y';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { injectTxIcons, provideTxIconDefaults, TxIcon, TxIconName } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraPanelTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxPanelAlign, TxPanelPart, TxPanelVariant } from './panel.types';\nimport { PANEL_ICON_DEFAULTS } from './panel.icons';\nimport { PANEL_THEME } from './panel.theme';\n\n@Component({\n selector: 'tx-panel',\n imports: [TxIcon],\n templateUrl: './panel.component.html',\n styleUrl: './panel.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-panel',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.title]': 'null',\n '[attr.data-variant]': 'variant()',\n '[attr.data-align]': 'align()',\n '[class.tx-panel--collapsed]': 'toggleable() && collapsed()',\n '[attr.role]': 'title() ? \"region\" : null',\n '[attr.aria-labelledby]': 'title() ? titleId : null',\n },\n viewProviders: [provideTxIconDefaults(PANEL_ICON_DEFAULTS)],\n})\nexport class TxPanel {\n private readonly panelTheme = injectTokens(PANEL_THEME);\n\n private txIconRegistry = injectTxIcons();\n private id = uniqueId('tx-panel');\n\n readonly title = input<string | undefined>(undefined);\n readonly subtitle = input<string | undefined>(undefined);\n readonly icon = input<TxIconName | (string & {}) | undefined>(undefined);\n readonly variant = input<TxPanelVariant>('card');\n readonly align = input<TxPanelAlign>('start');\n readonly headingLevel = input<number>(2);\n readonly toggleable = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly collapsed = model<boolean>(false);\n readonly toggleLabel = input<string | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraPanelTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxPanelPart, TxPanel> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('panel', this, this.pt, this.ptOptions);\n readonly titleId = `${this.id}-title`;\n readonly bodyId = `${this.id}-body`;\n readonly isOpen = computed(() => !this.toggleable() || !this.collapsed());\n readonly iconName = computed(() => {\n const icon = this.icon();\n return icon && this.txIconRegistry.has(icon) ? icon : null;\n });\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-panel'), ...this.passThrough().root?.style }));\n\n toggle(): void {\n this.collapsed.update((collapsed) => !collapsed);\n }\n}\n","<header class=\"tx-panel__header\" [class]=\"passThrough().header?.class\" [style]=\"passThrough().header?.style\">\n <div class=\"tx-panel__lead\">\n @if (icon(); as icon) {\n <span class=\"tx-panel__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n @if (iconName(); as name) {\n <tx-icon [name]=\"name\" />\n } @else {\n <span [class]=\"icon\"></span>\n }\n </span>\n }\n <div class=\"tx-panel__heading\">\n @if (title()) {\n <div class=\"tx-panel__title\" role=\"heading\" [id]=\"titleId\" [attr.aria-level]=\"headingLevel()\" [class]=\"passThrough().title?.class\" [style]=\"passThrough().title?.style\">\n {{ title() }}\n </div>\n }\n @if (subtitle()) {\n <p class=\"tx-panel__subtitle\" [class]=\"passThrough().subtitle?.class\" [style]=\"passThrough().subtitle?.style\">{{ subtitle() }}</p>\n }\n <ng-content select=\"[txPanelHeader]\" />\n </div>\n </div>\n <div class=\"tx-panel__actions\" [class]=\"passThrough().actions?.class\" [style]=\"passThrough().actions?.style\">\n <ng-content select=\"[txPanelActions]\" />\n @if (toggleable()) {\n <button\n type=\"button\"\n class=\"tx-panel__toggle\"\n [class]=\"passThrough().toggle?.class\"\n [style]=\"passThrough().toggle?.style\"\n [attr.aria-expanded]=\"!collapsed()\"\n [attr.aria-controls]=\"bodyId\"\n [attr.aria-label]=\"toggleLabel() ?? title() ?? null\"\n (click)=\"toggle()\"\n >\n <tx-icon [name]=\"'chevron-down'\" />\n </button>\n }\n </div>\n</header>\n<div class=\"tx-panel__collapse\" [id]=\"bodyId\" [attr.inert]=\"isOpen() ? null : ''\">\n <div class=\"tx-panel__collapse-inner\">\n <div class=\"tx-panel__body\" [class]=\"passThrough().body?.class\" [style]=\"passThrough().body?.style\"><ng-content /></div>\n <div class=\"tx-panel__footer\" [class]=\"passThrough().footer?.class\" [style]=\"passThrough().footer?.style\"><ng-content select=\"[txPanelFooter]\" /></div>\n </div>\n</div>\n"],"mappings":";;;;;;;AAEA,MAAa,sBAAiC;CAC5C,gBAAgB;CAChB,SAAS;AACV;ACHD,MAAa,cAAc,EACzB,OAAO,YACR;AC0BD,IAAa,UAAb,MAAa,QAAO;CACD,aAAa,aAAa,WAAW;CAE9C,iBAAiB,cAAa;CAC9B,KAAK,SAAS,UAAU;CAEvB,QAAQ,MAA0B,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;CAC5C,WAAW,MAA0B,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;CAC/C,OAAO,MAA8C,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAC/D,UAAU,MAAsB,QAAO,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CACvC,QAAQ,MAAoB,SAAQ,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;CACpC,eAAe,MAAc,GAAE,GAAA,YAAA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,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,WAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,UAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;EAAA;EAAA,SAAA,EAAA,WAAA,kBAAA;EAAA,MAAA;GAAA,YAAA;IAAA,SAAA;IAAA,SAAA;IAAA,oBAAA;IAAA,cAAA;IAAA,qBAAA;IAAA,mBAAA;IAAA,6BAAA;IAAA,aAAA;IAAA,wBAAA;GAAA;GAAA,gBAAA;EAAA;EAAA,UAAA;EAAA,UC9BpB;EA+CA,QAAA,CAAA,0vIAAA;EAAA,cAAA,CAAA;GAAA,MAAA;GAAA,MDnCY;GAAM,UAAA;GAAA,QAAA,CAAA,MAAA;EAAA,CAAA;EAAA,eAgBD,CAAC,sBAAsB,mBAAmB,CAAC;EAAC,iBAAA,GAAA,wBAAA;CAAA,CAAA;;AAEhD,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAO,YAAA,CAAA;EApBnB,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAU,SACX,CAAC,MAAM;GAAC,iBAGA,wBAAwB;GAAM,MACzC;IACJ,OAAO;IACP,WAAW;IACX,WAAW;IACX,sBAAsB;IACtB,gBAAgB;IAChB,uBAAuB;IACvB,qBAAqB;IACrB,+BAA+B;IAC/B,eAAe;IACf,0BAA0B;GAC3B;GAAA,eACc,CAAC,sBAAsB,mBAAmB,CAAC;GAAC,UAAA;GAAA,QAAA,CAAA,0vIAAA;EAAA,CAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-panel.mjs","names":[],"sources":["../../../../packages/ui/panel/src/panel.icons.ts","../../../../packages/ui/panel/src/panel.theme.ts","../../../../packages/ui/panel/src/panel.component.ts","../../../../packages/ui/panel/src/panel.component.html"],"sourcesContent":["import { TxIconSet, txIconChevronDown, txIconHeading } from '@tectra-ng/icons';\n\nexport const PANEL_ICON_DEFAULTS: TxIconSet = {\n 'chevron-down': txIconChevronDown,\n heading: txIconHeading,\n};\n","import { panelTokens } from '@tectra-ng/themes';\n\nexport const PANEL_THEME = {\n panel: panelTokens,\n};\n","import { ChangeDetectionStrategy, Component, booleanAttribute, computed, input, model } from '@angular/core';\nimport { uniqueId } from '@tectra-ng/core/a11y';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { injectTxIcons, provideTxIconDefaults, TxIcon, TxIconName } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraPanelTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxPanelAlign, TxPanelPart, TxPanelVariant } from './panel.types';\nimport { PANEL_ICON_DEFAULTS } from './panel.icons';\nimport { PANEL_THEME } from './panel.theme';\n\n@Component({\n selector: 'tx-panel',\n imports: [TxIcon],\n templateUrl: './panel.component.html',\n styleUrl: './panel.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-panel',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.title]': 'null',\n '[attr.data-variant]': 'variant()',\n '[attr.data-align]': 'align()',\n '[class.tx-panel--toggleable]': 'toggleable()',\n '[class.tx-panel--collapsed]': 'toggleable() && collapsed()',\n '[attr.role]': 'title() ? \"region\" : null',\n '[attr.aria-labelledby]': 'title() ? titleId : null',\n },\n viewProviders: [provideTxIconDefaults(PANEL_ICON_DEFAULTS)],\n})\nexport class TxPanel {\n private readonly panelTheme = injectTokens(PANEL_THEME);\n\n private txIconRegistry = injectTxIcons();\n private id = uniqueId('tx-panel');\n\n readonly title = input<string | undefined>(undefined);\n readonly subtitle = input<string | undefined>(undefined);\n readonly icon = input<TxIconName | (string & {}) | undefined>(undefined);\n readonly variant = input<TxPanelVariant>('card');\n readonly align = input<TxPanelAlign>('start');\n readonly headingLevel = input<number>(2);\n readonly toggleable = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly collapsed = model<boolean>(false);\n readonly toggleLabel = input<string | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraPanelTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxPanelPart, TxPanel> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('panel', this, this.pt, this.ptOptions);\n readonly titleId = `${this.id}-title`;\n readonly bodyId = `${this.id}-body`;\n readonly isOpen = computed(() => !this.toggleable() || !this.collapsed());\n readonly iconName = computed(() => {\n const icon = this.icon();\n return icon && this.txIconRegistry.has(icon) ? icon : null;\n });\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-panel'), ...this.passThrough().root?.style }));\n\n toggle(): void {\n this.collapsed.update((collapsed) => !collapsed);\n }\n}\n","<header class=\"tx-panel__header\" [class]=\"passThrough().header?.class\" [style]=\"passThrough().header?.style\">\n <div class=\"tx-panel__lead\">\n @if (icon(); as icon) {\n <span class=\"tx-panel__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n @if (iconName(); as name) {\n <tx-icon [name]=\"name\" />\n } @else {\n <span [class]=\"icon\"></span>\n }\n </span>\n }\n <div class=\"tx-panel__heading\">\n @if (title()) {\n <div class=\"tx-panel__title\" role=\"heading\" [id]=\"titleId\" [attr.aria-level]=\"headingLevel()\" [class]=\"passThrough().title?.class\" [style]=\"passThrough().title?.style\">\n {{ title() }}\n </div>\n }\n @if (subtitle()) {\n <p class=\"tx-panel__subtitle\" [class]=\"passThrough().subtitle?.class\" [style]=\"passThrough().subtitle?.style\">{{ subtitle() }}</p>\n }\n <ng-content select=\"[txPanelHeader]\" />\n </div>\n </div>\n <div class=\"tx-panel__actions\" [class]=\"passThrough().actions?.class\" [style]=\"passThrough().actions?.style\">\n <ng-content select=\"[txPanelActions]\" />\n @if (toggleable()) {\n <button\n type=\"button\"\n class=\"tx-panel__toggle\"\n [class]=\"passThrough().toggle?.class\"\n [style]=\"passThrough().toggle?.style\"\n [attr.aria-expanded]=\"!collapsed()\"\n [attr.aria-controls]=\"bodyId\"\n [attr.aria-label]=\"toggleLabel() ?? title() ?? null\"\n (click)=\"toggle()\"\n >\n <tx-icon [name]=\"'chevron-down'\" />\n </button>\n }\n </div>\n</header>\n<div class=\"tx-panel__collapse\" [id]=\"bodyId\" [attr.inert]=\"isOpen() ? null : ''\">\n <div class=\"tx-panel__collapse-inner\">\n <div class=\"tx-panel__body\" [class]=\"passThrough().body?.class\" [style]=\"passThrough().body?.style\"><ng-content /></div>\n <div class=\"tx-panel__footer\" [class]=\"passThrough().footer?.class\" [style]=\"passThrough().footer?.style\"><ng-content select=\"[txPanelFooter]\" /></div>\n </div>\n</div>\n"],"mappings":";;;;;;;AAEA,MAAa,sBAAiC;CAC5C,gBAAgB;CAChB,SAAS;AACV;ACHD,MAAa,cAAc,EACzB,OAAO,YACR;AC2BD,IAAa,UAAb,MAAa,QAAO;CACD,aAAa,aAAa,WAAW;CAE9C,iBAAiB,cAAa;CAC9B,KAAK,SAAS,UAAU;CAEvB,QAAQ,MAA0B,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;CAC5C,WAAW,MAA0B,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;CAC/C,OAAO,MAA8C,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAC/D,UAAU,MAAsB,QAAO,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CACvC,QAAQ,MA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CUMENT, Directive, Injectable, booleanAttribute, inject, input, output } from "@angular/core";
2
+ import { DOCUMENT, Directive, ElementRef, Injectable, Renderer2, booleanAttribute, effect, inject, input, output, signal } from "@angular/core";
3
+ import { injectTranslations } from "@tectra-ng/core/i18n";
3
4
  import { optionalNumber } from "@tectra-ng/core/utils";
4
5
  import { TxPassword } from "@tectra-ng/ui/password";
5
6
  const LOWERCASE = "abcdefghijklmnopqrstuvwxyz";
@@ -44,7 +45,7 @@ var TxPasswordGenerator = class TxPasswordGenerator {
44
45
  }
45
46
  static ɵfac = i0.ɵɵngDeclareFactory({
46
47
  minVersion: "12.0.0",
47
- version: "22.2.5",
48
+ version: "22.2.6",
48
49
  ngImport: i0,
49
50
  type: TxPasswordGenerator,
50
51
  deps: [],
@@ -52,7 +53,7 @@ var TxPasswordGenerator = class TxPasswordGenerator {
52
53
  });
53
54
  static ɵprov = i0.ɵɵngDeclareInjectable({
54
55
  minVersion: "12.0.0",
55
- version: "22.2.5",
56
+ version: "22.2.6",
56
57
  ngImport: i0,
57
58
  type: TxPasswordGenerator,
58
59
  providedIn: "root"
@@ -60,7 +61,7 @@ var TxPasswordGenerator = class TxPasswordGenerator {
60
61
  };
61
62
  i0.ɵɵngDeclareClassMetadata({
62
63
  minVersion: "12.0.0",
63
- version: "22.2.5",
64
+ version: "22.2.6",
64
65
  ngImport: i0,
65
66
  type: TxPasswordGenerator,
66
67
  decorators: [{
@@ -68,8 +69,20 @@ i0.ɵɵngDeclareClassMetadata({
68
69
  args: [{ providedIn: "root" }]
69
70
  }]
70
71
  });
72
+ const NAME_ATTRIBUTES = [
73
+ "aria-label",
74
+ "aria-labelledby",
75
+ "title"
76
+ ];
71
77
  var TxPasswordGenerate = class TxPasswordGenerate {
72
78
  generator = inject(TxPasswordGenerator);
79
+ element = inject(ElementRef).nativeElement;
80
+ renderer = inject(Renderer2);
81
+ translations = injectTranslations();
82
+ needsName = signal(false, ...ngDevMode ? [{ debugName: "needsName" }] : /* istanbul ignore next */ []);
83
+ defaultName = effect(() => {
84
+ if (this.needsName()) this.renderer.setAttribute(this.element, "aria-label", this.translations().generatePassword);
85
+ }, ...ngDevMode ? [{ debugName: "defaultName" }] : /* istanbul ignore next */ []);
73
86
  target = input(void 0, {
74
87
  ...ngDevMode ? { debugName: "target" } : /* istanbul ignore next */ {},
75
88
  alias: "txPasswordGenerate"
@@ -103,6 +116,10 @@ var TxPasswordGenerate = class TxPasswordGenerate {
103
116
  transform: booleanAttribute
104
117
  });
105
118
  generated = output();
119
+ ngAfterViewInit() {
120
+ const element = this.element;
121
+ this.needsName.set(!element.textContent?.trim() && !NAME_ATTRIBUTES.some((name) => element.hasAttribute(name)));
122
+ }
106
123
  generate() {
107
124
  const password = this.generator.generate({
108
125
  length: this.length(),
@@ -123,7 +140,7 @@ var TxPasswordGenerate = class TxPasswordGenerate {
123
140
  }
124
141
  static ɵfac = i0.ɵɵngDeclareFactory({
125
142
  minVersion: "12.0.0",
126
- version: "22.2.5",
143
+ version: "22.2.6",
127
144
  ngImport: i0,
128
145
  type: TxPasswordGenerate,
129
146
  deps: [],
@@ -131,7 +148,7 @@ var TxPasswordGenerate = class TxPasswordGenerate {
131
148
  });
132
149
  static ɵdir = i0.ɵɵngDeclareDirective({
133
150
  minVersion: "17.1.0",
134
- version: "22.2.5",
151
+ version: "22.2.6",
135
152
  type: TxPasswordGenerate,
136
153
  isStandalone: true,
137
154
  selector: "button[txPasswordGenerate]",
@@ -203,7 +220,7 @@ var TxPasswordGenerate = class TxPasswordGenerate {
203
220
  };
204
221
  i0.ɵɵngDeclareClassMetadata({
205
222
  minVersion: "12.0.0",
206
- version: "22.2.5",
223
+ version: "22.2.6",
207
224
  ngImport: i0,
208
225
  type: TxPasswordGenerate,
209
226
  decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-password-generator.mjs","names":[],"sources":["../../../../packages/ui/password-generator/src/password-generator.service.ts","../../../../packages/ui/password-generator/src/password-generate.directive.ts"],"sourcesContent":["import { DOCUMENT, Injectable, inject } from '@angular/core';\nimport { TxPasswordGeneratorOptions } from './password-generator.types';\n\nconst LOWERCASE = 'abcdefghijklmnopqrstuvwxyz';\nconst UPPERCASE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';\nconst DIGITS = '0123456789';\nconst SYMBOLS = '!@#$%^&*()-_=+[]{};:,.?/~';\nconst SIMILAR = /[0O1lI|]/g;\n\n/**\n * Makes strong random passwords from `crypto.getRandomValues`, with at least one character of every\n * enabled set.\n */\n@Injectable({ providedIn: 'root' })\nexport class TxPasswordGenerator {\n private crypto = inject(DOCUMENT).defaultView?.crypto ?? globalThis.crypto;\n\n /** Makes a password; throws when every character set is turned off. */\n generate(options: TxPasswordGeneratorOptions = {}): string {\n const sets = this.sets(options);\n if (!sets.length) {\n throw new Error('TxPasswordGenerator: enable at least one character set');\n }\n const length = Math.max(options.length ?? 16, sets.length);\n const all = sets.join('');\n const chars = sets.map((set) => set[this.randomIndex(set.length)]);\n while (chars.length < length) {\n chars.push(all[this.randomIndex(all.length)]);\n }\n for (let index = chars.length - 1; index > 0; index -= 1) {\n const swap = this.randomIndex(index + 1);\n [chars[index], chars[swap]] = [chars[swap], chars[index]];\n }\n return chars.join('');\n }\n\n /** Makes a password of the given length (default 16) with all character sets. */\n generatePassword(length = 16): string {\n return this.generate({ length });\n }\n\n private sets(options: TxPasswordGeneratorOptions): string[] {\n const clean = (set: string) => (options.excludeSimilar ? set.replace(SIMILAR, '') : set);\n return [\n options.lowercase !== false ? clean(LOWERCASE) : '',\n options.uppercase !== false ? clean(UPPERCASE) : '',\n options.digits !== false ? clean(DIGITS) : '',\n options.symbols !== false ? clean(options.symbolSet ?? SYMBOLS) : '',\n ].filter(Boolean);\n }\n\n private randomIndex(size: number): number {\n const limit = Math.floor(0x100000000 / size) * size;\n const buffer = new Uint32Array(1);\n do {\n this.crypto.getRandomValues(buffer);\n } while (buffer[0] >= limit);\n return buffer[0] % size;\n }\n}\n","import { Directive, booleanAttribute, inject, input, output } from '@angular/core';\nimport { AbstractControl } from '@angular/forms';\nimport { optionalNumber } from '@tectra-ng/core/utils';\nimport { TxPassword } from '@tectra-ng/ui/password';\nimport { TxPasswordGenerator } from './password-generator.service';\n\n@Directive({\n selector: 'button[txPasswordGenerate]',\n host: {\n type: 'button',\n '(click)': 'generate()',\n },\n})\nexport class TxPasswordGenerate {\n private generator = inject(TxPasswordGenerator);\n\n readonly target = input<TxPassword | AbstractControl | null | undefined>(undefined, { alias: 'txPasswordGenerate' });\n readonly length = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly lowercase = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly uppercase = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly digits = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly symbols = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly excludeSimilar = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly reveal = input<boolean, unknown>(true, { transform: booleanAttribute });\n\n readonly generated = output<string>();\n\n generate(): string {\n const password = this.generator.generate({\n length: this.length(),\n lowercase: this.lowercase(),\n uppercase: this.uppercase(),\n digits: this.digits(),\n symbols: this.symbols(),\n excludeSimilar: this.excludeSimilar(),\n });\n const target = this.target();\n if (target instanceof TxPassword) {\n target.fill(password, this.reveal());\n } else if (target) {\n target.setValue(password);\n target.markAsDirty();\n }\n this.generated.emit(password);\n return password;\n }\n}\n"],"mappings":";;;;AAGA,MAAM,YAAY;AAClB,MAAM,YAAY;AAClB,MAAM,SAAS;AACf,MAAM,UAAU;AAChB,MAAM,UAAU;AAOhB,IAAa,sBAAb,MAAa,oBAAmB;CACtB,SAAS,OAAO,QAAQ,CAAC,CAAC,aAAa,UAAU,WAAW;CAGpE,SAAS,UAAsC,CAAA,GAAE;EAC/C,MAAM,OAAO,KAAK,KAAK,OAAO;EAC9B,IAAI,CAAC,KAAK,QACR,MAAM,IAAI,MAAM,wDAAwD;EAE1E,MAAM,SAAS,KAAK,IAAI,QAAQ,UAA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AAA,WAAA,EAAA,SAAA,aAAA;EAAA;EAAA,UAAA;CAAA,CAAA;;AAAlB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAkB,YAAA,CAAA;EAP9B,MAAA;EAAU,MAAA,CAAA;GACT,UAAU;GACV,MAAM;IACJ,MAAM;IACN,WAAW;GACZ;EACF,CAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-password-generator.mjs","names":[],"sources":["../../../../packages/ui/password-generator/src/password-generator.service.ts","../../../../packages/ui/password-generator/src/password-generate.directive.ts"],"sourcesContent":["import { DOCUMENT, Injectable, inject } from '@angular/core';\nimport { TxPasswordGeneratorOptions } from './password-generator.types';\n\nconst LOWERCASE = 'abcdefghijklmnopqrstuvwxyz';\nconst UPPERCASE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';\nconst DIGITS = '0123456789';\nconst SYMBOLS = '!@#$%^&*()-_=+[]{};:,.?/~';\nconst SIMILAR = /[0O1lI|]/g;\n\n/**\n * Makes strong random passwords from `crypto.getRandomValues`, with at least one character of every\n * enabled set.\n */\n@Injectable({ providedIn: 'root' })\nexport class TxPasswordGenerator {\n private crypto = inject(DOCUMENT).defaultView?.crypto ?? globalThis.crypto;\n\n /** Makes a password; throws when every character set is turned off. */\n generate(options: TxPasswordGeneratorOptions = {}): string {\n const sets = this.sets(options);\n if (!sets.length) {\n throw new Error('TxPasswordGenerator: enable at least one character set');\n }\n const length = Math.max(options.length ?? 16, sets.length);\n const all = sets.join('');\n const chars = sets.map((set) => set[this.randomIndex(set.length)]);\n while (chars.length < length) {\n chars.push(all[this.randomIndex(all.length)]);\n }\n for (let index = chars.length - 1; index > 0; index -= 1) {\n const swap = this.randomIndex(index + 1);\n [chars[index], chars[swap]] = [chars[swap], chars[index]];\n }\n return chars.join('');\n }\n\n /** Makes a password of the given length (default 16) with all character sets. */\n generatePassword(length = 16): string {\n return this.generate({ length });\n }\n\n private sets(options: TxPasswordGeneratorOptions): string[] {\n const clean = (set: string) => (options.excludeSimilar ? set.replace(SIMILAR, '') : set);\n return [\n options.lowercase !== false ? clean(LOWERCASE) : '',\n options.uppercase !== false ? clean(UPPERCASE) : '',\n options.digits !== false ? clean(DIGITS) : '',\n options.symbols !== false ? clean(options.symbolSet ?? SYMBOLS) : '',\n ].filter(Boolean);\n }\n\n private randomIndex(size: number): number {\n const limit = Math.floor(0x100000000 / size) * size;\n const buffer = new Uint32Array(1);\n do {\n this.crypto.getRandomValues(buffer);\n } while (buffer[0] >= limit);\n return buffer[0] % size;\n }\n}\n","import { AfterViewInit, Directive, ElementRef, Renderer2, booleanAttribute, effect, inject, input, output, signal } from '@angular/core';\nimport { AbstractControl } from '@angular/forms';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalNumber } from '@tectra-ng/core/utils';\nimport { TxPassword } from '@tectra-ng/ui/password';\nimport { TxPasswordGenerator } from './password-generator.service';\n\nconst NAME_ATTRIBUTES = ['aria-label', 'aria-labelledby', 'title'];\n\n/**\n * Generates a password on click and puts it into a `tx-password` or a form control. Works on any `button`, also\n * `txButton`; an icon-only button without its own name gets the translated \"Generate password\" as its accessible name.\n */\n@Directive({\n selector: 'button[txPasswordGenerate]',\n host: {\n type: 'button',\n '(click)': 'generate()',\n },\n})\nexport class TxPasswordGenerate implements AfterViewInit {\n private generator = inject(TxPasswordGenerator);\n private element = inject<ElementRef<HTMLButtonElement>>(ElementRef).nativeElement;\n private renderer = inject(Renderer2);\n private translations = injectTranslations();\n private readonly needsName = signal(false);\n private readonly defaultName = effect(() => {\n if (this.needsName()) {\n this.renderer.setAttribute(this.element, 'aria-label', this.translations().generatePassword);\n }\n });\n\n readonly target = input<TxPassword | AbstractControl | null | undefined>(undefined, { alias: 'txPasswordGenerate' });\n readonly length = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly lowercase = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly uppercase = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly digits = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly symbols = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly excludeSimilar = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly reveal = input<boolean, unknown>(true, { transform: booleanAttribute });\n\n readonly generated = output<string>();\n\n ngAfterViewInit(): void {\n const element = this.element;\n this.needsName.set(!element.textContent?.trim() && !NAME_ATTRIBUTES.some((name) => element.hasAttribute(name)));\n }\n\n generate(): string {\n const password = this.generator.generate({\n length: this.length(),\n lowercase: this.lowercase(),\n uppercase: this.uppercase(),\n digits: this.digits(),\n symbols: this.symbols(),\n excludeSimilar: this.excludeSimilar(),\n });\n const target = this.target();\n if (target instanceof TxPassword) {\n target.fill(password, this.reveal());\n } else if (target) {\n target.setValue(password);\n target.markAsDirty();\n }\n this.generated.emit(password);\n return password;\n }\n}\n"],"mappings":";;;;;AAGA,MAAM,YAAY;AAClB,MAAM,YAAY;AAClB,MAAM,SAAS;AACf,MAAM,UAAU;AAChB,MAAM,UAAU;AAOhB,IAAa,sBAAb,MAAa,oBAAmB;CACtB,SAAS,OAAO,QAAQ,CAAC,CAAC,aAAa,UAAU,WAAW;CAGpE,SAAS,UAAsC,CAAA,GAAE;EAC/C,MAAM,OAAO,KAAK,KAAK,OAAO;EAC9B,IAAI,CAAC,KAAK,QACR,MAAM,IAAI,MAAM,wDAAwD;EAE1E,MAAM,SAAS,KAAK,IAAI,QAAQ,UAAU,IAAI,KAAK,MAAM;EACzD,MAAM,MAAM,KAAK,KAAK,EAAE;EACxB,MAAM,QAAQ,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,IAAI,MAAM,EAAE;EACjE,OAAO,MAAM,SAAS,QACpB,MAAM,KAAK,IAAI,KAAK,YAAY,IAAI,MAAM,EAAE;EAE9C,KAAK,IAAI,QAAQ,MAAM,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG;GACxD,MAAM,OAAO,KAAK,YAAY,QAAQ,CAAC;GACvC,CAAC,MAAM,QAAQ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IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,QAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;EAAA;EAAA,SAAA,EAAA,WAAA,YAAA;EAAA,MAAA;GAAA,YAAA,EAAA,QAAA,SAAA;GAAA,WAAA,EAAA,SAAA,aAAA;EAAA;EAAA,UAAA;CAAA,CAAA;;AAAlB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAkB,YAAA,CAAA;EAP9B,MAAA;EAAU,MAAA,CAAA;GACT,UAAU;GACV,MAAM;IACJ,MAAM;IACN,WAAW;GACZ;EACF,CAAA"}
@@ -19,7 +19,7 @@ var TxPasswordHeaderTemplate = class TxPasswordHeaderTemplate {
19
19
  }
20
20
  static ɵfac = i0.ɵɵngDeclareFactory({
21
21
  minVersion: "12.0.0",
22
- version: "22.2.5",
22
+ version: "22.2.6",
23
23
  ngImport: i0,
24
24
  type: TxPasswordHeaderTemplate,
25
25
  deps: [],
@@ -27,7 +27,7 @@ var TxPasswordHeaderTemplate = class TxPasswordHeaderTemplate {
27
27
  });
28
28
  static ɵdir = i0.ɵɵngDeclareDirective({
29
29
  minVersion: "14.0.0",
30
- version: "22.2.5",
30
+ version: "22.2.6",
31
31
  type: TxPasswordHeaderTemplate,
32
32
  isStandalone: true,
33
33
  selector: "ng-template[txPasswordHeader]",
@@ -36,7 +36,7 @@ var TxPasswordHeaderTemplate = class TxPasswordHeaderTemplate {
36
36
  };
37
37
  i0.ɵɵngDeclareClassMetadata({
38
38
  minVersion: "12.0.0",
39
- version: "22.2.5",
39
+ version: "22.2.6",
40
40
  ngImport: i0,
41
41
  type: TxPasswordHeaderTemplate,
42
42
  decorators: [{
@@ -51,7 +51,7 @@ var TxPasswordContentTemplate = class TxPasswordContentTemplate {
51
51
  }
52
52
  static ɵfac = i0.ɵɵngDeclareFactory({
53
53
  minVersion: "12.0.0",
54
- version: "22.2.5",
54
+ version: "22.2.6",
55
55
  ngImport: i0,
56
56
  type: TxPasswordContentTemplate,
57
57
  deps: [],
@@ -59,7 +59,7 @@ var TxPasswordContentTemplate = class TxPasswordContentTemplate {
59
59
  });
60
60
  static ɵdir = i0.ɵɵngDeclareDirective({
61
61
  minVersion: "14.0.0",
62
- version: "22.2.5",
62
+ version: "22.2.6",
63
63
  type: TxPasswordContentTemplate,
64
64
  isStandalone: true,
65
65
  selector: "ng-template[txPasswordContent]",
@@ -68,7 +68,7 @@ var TxPasswordContentTemplate = class TxPasswordContentTemplate {
68
68
  };
69
69
  i0.ɵɵngDeclareClassMetadata({
70
70
  minVersion: "12.0.0",
71
- version: "22.2.5",
71
+ version: "22.2.6",
72
72
  ngImport: i0,
73
73
  type: TxPasswordContentTemplate,
74
74
  decorators: [{
@@ -83,7 +83,7 @@ var TxPasswordFooterTemplate = class TxPasswordFooterTemplate {
83
83
  }
84
84
  static ɵfac = i0.ɵɵngDeclareFactory({
85
85
  minVersion: "12.0.0",
86
- version: "22.2.5",
86
+ version: "22.2.6",
87
87
  ngImport: i0,
88
88
  type: TxPasswordFooterTemplate,
89
89
  deps: [],
@@ -91,7 +91,7 @@ var TxPasswordFooterTemplate = class TxPasswordFooterTemplate {
91
91
  });
92
92
  static ɵdir = i0.ɵɵngDeclareDirective({
93
93
  minVersion: "14.0.0",
94
- version: "22.2.5",
94
+ version: "22.2.6",
95
95
  type: TxPasswordFooterTemplate,
96
96
  isStandalone: true,
97
97
  selector: "ng-template[txPasswordFooter]",
@@ -100,7 +100,7 @@ var TxPasswordFooterTemplate = class TxPasswordFooterTemplate {
100
100
  };
101
101
  i0.ɵɵngDeclareClassMetadata({
102
102
  minVersion: "12.0.0",
103
- version: "22.2.5",
103
+ version: "22.2.6",
104
104
  ngImport: i0,
105
105
  type: TxPasswordFooterTemplate,
106
106
  decorators: [{
@@ -288,7 +288,7 @@ var TxPassword = class TxPassword extends TxFormControlBase {
288
288
  }
289
289
  static ɵfac = i0.ɵɵngDeclareFactory({
290
290
  minVersion: "12.0.0",
291
- version: "22.2.5",
291
+ version: "22.2.6",
292
292
  ngImport: i0,
293
293
  type: TxPassword,
294
294
  deps: [],
@@ -296,7 +296,7 @@ var TxPassword = class TxPassword extends TxFormControlBase {
296
296
  });
297
297
  static ɵcmp = i0.ɵɵngDeclareComponent({
298
298
  minVersion: "17.0.0",
299
- version: "22.2.5",
299
+ version: "22.2.6",
300
300
  type: TxPassword,
301
301
  isStandalone: true,
302
302
  selector: "tx-password",
@@ -558,7 +558,7 @@ var TxPassword = class TxPassword extends TxFormControlBase {
558
558
  usesInheritance: true,
559
559
  ngImport: i0,
560
560
  template: "<input\n #input\n txInput\n class=\"tx-password__input\"\n [class]=\"passThrough().input?.class\"\n [style]=\"passThrough().input?.style\"\n [type]=\"isMasked() ? 'password' : 'text'\"\n [value]=\"text()\"\n [id]=\"resolvedId()\"\n [size]=\"size()\"\n [variant]=\"variant()\"\n [fluid]=\"true\"\n [invalid]=\"isInvalid()\"\n [unstyled]=\"isUnstyled()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [attr.placeholder]=\"placeholder() ?? null\"\n [attr.maxlength]=\"maxlength() ?? null\"\n [attr.name]=\"name() ?? null\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.tabindex]=\"tabindex() ?? null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-describedby]=\"feedback() && isFocused() ? infoId : null\"\n (input)=\"onInput($event)\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n/>\n<span class=\"tx-password__actions\">\n @if (showClear() && hasValue() && isEditable()) {\n <button\n type=\"button\"\n class=\"tx-password__action tx-password__clear\"\n [class]=\"passThrough().clear?.class\"\n [style]=\"passThrough().clear?.style\"\n [attr.aria-label]=\"translations().clear\"\n [title]=\"translations().clear\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"clear()\"\n >\n <tx-icon [name]=\"'times'\" />\n </button>\n }\n @if (toggleMask()) {\n <button\n type=\"button\"\n class=\"tx-password__action tx-password__toggle\"\n [class]=\"passThrough().toggle?.class\"\n [style]=\"passThrough().toggle?.style\"\n [attr.aria-label]=\"translations().showPassword\"\n [attr.aria-pressed]=\"!isMasked()\"\n [attr.aria-controls]=\"resolvedId()\"\n [title]=\"isMasked() ? translations().showPassword : translations().hidePassword\"\n [disabled]=\"isDisabled()\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"toggleVisibility()\"\n >\n <tx-icon [name]=\"isMasked() ? 'eye' : 'eye-slash'\" />\n </button>\n }\n</span>\n\n<ng-template #panel>\n <div class=\"tx-password__panel\" [attr.data-styled]=\"!isUnstyled() || null\" [style]=\"hostStyle()\" [class]=\"passThrough().panel?.class\">\n @if (headerTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"templateContext()\" />\n }\n <div class=\"tx-password__meter\" [attr.data-strength]=\"strength()\" [class]=\"passThrough().meter?.class\" [style]=\"passThrough().meter?.style\">\n <span class=\"tx-password__meter-bar\"></span>\n </div>\n <div class=\"tx-password__info\" aria-live=\"polite\" [id]=\"infoId\" [class]=\"passThrough().info?.class\" [style]=\"passThrough().info?.style\">\n {{ info() }}\n </div>\n @if (contentTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"templateContext()\" />\n }\n @if (footerTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"templateContext()\" />\n }\n </div>\n</ng-template>\n",
561
- styles: [":host{position:relative;display:inline-flex;vertical-align:top}:host(.tx-password--fluid){display:flex;width:100%}.tx-password__input{flex:1 1 auto;min-width:0;--tx-field-inset-end: calc(var(--tx-password-actions) * (24px + var(--tx-password-action-gap)))}.tx-password__input::-ms-reveal{display:none}.tx-password__actions{position:absolute;top:50%;right:var(--tx-password-action-inset);display:flex;gap:var(--tx-password-action-gap);transform:translateY(-50%)}.tx-password__action{display:grid;place-items:center;width:24px;height:24px;padding:0;border:none;border-radius:var(--tx-radius-sm);background:transparent;color:var(--tx-form-field-icon-color);font-size:var(--tx-form-field-font-size);cursor:pointer;pointer-events:auto;transition:background-color var(--tx-form-field-transition-duration),color var(--tx-form-field-transition-duration)}.tx-password__action:hover{background:var(--tx-surface-hover);color:var(--tx-form-field-color)}.tx-password__action:focus-visible{outline:2px solid var(--tx-focus-ring-color);outline-offset:1px}.tx-password__action:disabled{cursor:not-allowed;opacity:.6}.tx-password__panel{width:100%}.tx-password__panel[data-styled]{display:grid;gap:var(--tx-password-panel-gap);box-sizing:border-box;padding:var(--tx-password-panel-padding);border:1px solid var(--tx-password-panel-border-color);border-radius:var(--tx-password-panel-border-radius);background:var(--tx-password-panel-background);box-shadow:var(--tx-password-panel-shadow);color:var(--tx-password-panel-color);font-family:var(--tx-font-family);font-size:var(--tx-password-panel-font-size)}.tx-password__panel[data-styled] .tx-password__meter{height:var(--tx-password-meter-height);overflow:hidden;border-radius:var(--tx-password-meter-border-radius);background:var(--tx-password-meter-background)}.tx-password__panel[data-styled] .tx-password__meter-bar{display:block;width:0;height:100%;border-radius:inherit;transition:width var(--tx-password-meter-transition-duration) cubic-bezier(.2,0,0,1),background-color var(--tx-password-meter-transition-duration)}.tx-password__panel[data-styled] .tx-password__meter[data-strength=weak] .tx-password__meter-bar{width:33.33%;background:var(--tx-password-meter-weak-background)}.tx-password__panel[data-styled] .tx-password__meter[data-strength=medium] .tx-password__meter-bar{width:66.66%;background:var(--tx-password-meter-medium-background)}.tx-password__panel[data-styled] .tx-password__meter[data-strength=strong] .tx-password__meter-bar{width:100%;background:var(--tx-password-meter-strong-background)}@media(prefers-reduced-motion:reduce){.tx-password__panel[data-styled] .tx-password__meter-bar{transition:none}}\n"],
561
+ styles: [":host{position:relative;display:inline-flex;vertical-align:top}:host(.tx-password--fluid){display:flex;width:100%}.tx-password__input{flex:1 1 auto;min-width:0;--tx-field-inset-end: calc(var(--tx-password-actions) * (var(--tx-form-field-action-size) + var(--tx-password-action-gap)))}.tx-password__input::-ms-reveal{display:none}.tx-password__actions{position:absolute;top:50%;right:var(--tx-password-action-inset);display:flex;gap:var(--tx-password-action-gap);transform:translateY(-50%)}.tx-password__action{display:grid;place-items:center;width:var(--tx-form-field-action-size);height:var(--tx-form-field-action-size);padding:0;border:none;border-radius:var(--tx-radius-sm);background:transparent;color:var(--tx-form-field-icon-color);font-size:var(--tx-form-field-font-size);cursor:pointer;pointer-events:auto;transition:background-color var(--tx-form-field-transition-duration),color var(--tx-form-field-transition-duration)}.tx-password__action:hover{background:var(--tx-surface-hover);color:var(--tx-form-field-color)}.tx-password__action:focus-visible{outline:2px solid var(--tx-focus-ring-color);outline-offset:1px}.tx-password__action:disabled{cursor:not-allowed;opacity:.6}.tx-password__panel{width:100%}.tx-password__panel[data-styled]{display:grid;gap:var(--tx-password-panel-gap);box-sizing:border-box;padding:var(--tx-password-panel-padding);border:1px solid var(--tx-password-panel-border-color);border-radius:var(--tx-password-panel-border-radius);background:var(--tx-password-panel-background);box-shadow:var(--tx-password-panel-shadow);color:var(--tx-password-panel-color);font-family:var(--tx-font-family);font-size:var(--tx-password-panel-font-size)}.tx-password__panel[data-styled] .tx-password__meter{height:var(--tx-password-meter-height);overflow:hidden;border-radius:var(--tx-password-meter-border-radius);background:var(--tx-password-meter-background)}.tx-password__panel[data-styled] .tx-password__meter-bar{display:block;width:0;height:100%;border-radius:inherit;transition:width var(--tx-password-meter-transition-duration) cubic-bezier(.2,0,0,1),background-color var(--tx-password-meter-transition-duration)}.tx-password__panel[data-styled] .tx-password__meter[data-strength=weak] .tx-password__meter-bar{width:33.33%;background:var(--tx-password-meter-weak-background)}.tx-password__panel[data-styled] .tx-password__meter[data-strength=medium] .tx-password__meter-bar{width:66.66%;background:var(--tx-password-meter-medium-background)}.tx-password__panel[data-styled] .tx-password__meter[data-strength=strong] .tx-password__meter-bar{width:100%;background:var(--tx-password-meter-strong-background)}@media(prefers-reduced-motion:reduce){.tx-password__panel[data-styled] .tx-password__meter-bar{transition:none}}\n"],
562
562
  dependencies: [
563
563
  {
564
564
  kind: "directive",
@@ -598,7 +598,7 @@ var TxPassword = class TxPassword extends TxFormControlBase {
598
598
  };
599
599
  i0.ɵɵngDeclareClassMetadata({
600
600
  minVersion: "12.0.0",
601
- version: "22.2.5",
601
+ version: "22.2.6",
602
602
  ngImport: i0,
603
603
  type: TxPassword,
604
604
  decorators: [{
@@ -628,7 +628,7 @@ i0.ɵɵngDeclareClassMetadata({
628
628
  },
629
629
  viewProviders: [provideTxIconDefaults(PASSWORD_ICON_DEFAULTS)],
630
630
  template: "<input\n #input\n txInput\n class=\"tx-password__input\"\n [class]=\"passThrough().input?.class\"\n [style]=\"passThrough().input?.style\"\n [type]=\"isMasked() ? 'password' : 'text'\"\n [value]=\"text()\"\n [id]=\"resolvedId()\"\n [size]=\"size()\"\n [variant]=\"variant()\"\n [fluid]=\"true\"\n [invalid]=\"isInvalid()\"\n [unstyled]=\"isUnstyled()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [attr.placeholder]=\"placeholder() ?? null\"\n [attr.maxlength]=\"maxlength() ?? null\"\n [attr.name]=\"name() ?? null\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.tabindex]=\"tabindex() ?? null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-describedby]=\"feedback() && isFocused() ? infoId : null\"\n (input)=\"onInput($event)\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n/>\n<span class=\"tx-password__actions\">\n @if (showClear() && hasValue() && isEditable()) {\n <button\n type=\"button\"\n class=\"tx-password__action tx-password__clear\"\n [class]=\"passThrough().clear?.class\"\n [style]=\"passThrough().clear?.style\"\n [attr.aria-label]=\"translations().clear\"\n [title]=\"translations().clear\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"clear()\"\n >\n <tx-icon [name]=\"'times'\" />\n </button>\n }\n @if (toggleMask()) {\n <button\n type=\"button\"\n class=\"tx-password__action tx-password__toggle\"\n [class]=\"passThrough().toggle?.class\"\n [style]=\"passThrough().toggle?.style\"\n [attr.aria-label]=\"translations().showPassword\"\n [attr.aria-pressed]=\"!isMasked()\"\n [attr.aria-controls]=\"resolvedId()\"\n [title]=\"isMasked() ? translations().showPassword : translations().hidePassword\"\n [disabled]=\"isDisabled()\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"toggleVisibility()\"\n >\n <tx-icon [name]=\"isMasked() ? 'eye' : 'eye-slash'\" />\n </button>\n }\n</span>\n\n<ng-template #panel>\n <div class=\"tx-password__panel\" [attr.data-styled]=\"!isUnstyled() || null\" [style]=\"hostStyle()\" [class]=\"passThrough().panel?.class\">\n @if (headerTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"templateContext()\" />\n }\n <div class=\"tx-password__meter\" [attr.data-strength]=\"strength()\" [class]=\"passThrough().meter?.class\" [style]=\"passThrough().meter?.style\">\n <span class=\"tx-password__meter-bar\"></span>\n </div>\n <div class=\"tx-password__info\" aria-live=\"polite\" [id]=\"infoId\" [class]=\"passThrough().info?.class\" [style]=\"passThrough().info?.style\">\n {{ info() }}\n </div>\n @if (contentTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"templateContext()\" />\n }\n @if (footerTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"templateContext()\" />\n }\n </div>\n</ng-template>\n",
631
- styles: [":host{position:relative;display:inline-flex;vertical-align:top}:host(.tx-password--fluid){display:flex;width:100%}.tx-password__input{flex:1 1 auto;min-width:0;--tx-field-inset-end: calc(var(--tx-password-actions) * (24px + var(--tx-password-action-gap)))}.tx-password__input::-ms-reveal{display:none}.tx-password__actions{position:absolute;top:50%;right:var(--tx-password-action-inset);display:flex;gap:var(--tx-password-action-gap);transform:translateY(-50%)}.tx-password__action{display:grid;place-items:center;width:24px;height:24px;padding:0;border:none;border-radius:var(--tx-radius-sm);background:transparent;color:var(--tx-form-field-icon-color);font-size:var(--tx-form-field-font-size);cursor:pointer;pointer-events:auto;transition:background-color var(--tx-form-field-transition-duration),color var(--tx-form-field-transition-duration)}.tx-password__action:hover{background:var(--tx-surface-hover);color:var(--tx-form-field-color)}.tx-password__action:focus-visible{outline:2px solid var(--tx-focus-ring-color);outline-offset:1px}.tx-password__action:disabled{cursor:not-allowed;opacity:.6}.tx-password__panel{width:100%}.tx-password__panel[data-styled]{display:grid;gap:var(--tx-password-panel-gap);box-sizing:border-box;padding:var(--tx-password-panel-padding);border:1px solid var(--tx-password-panel-border-color);border-radius:var(--tx-password-panel-border-radius);background:var(--tx-password-panel-background);box-shadow:var(--tx-password-panel-shadow);color:var(--tx-password-panel-color);font-family:var(--tx-font-family);font-size:var(--tx-password-panel-font-size)}.tx-password__panel[data-styled] .tx-password__meter{height:var(--tx-password-meter-height);overflow:hidden;border-radius:var(--tx-password-meter-border-radius);background:var(--tx-password-meter-background)}.tx-password__panel[data-styled] .tx-password__meter-bar{display:block;width:0;height:100%;border-radius:inherit;transition:width var(--tx-password-meter-transition-duration) cubic-bezier(.2,0,0,1),background-color var(--tx-password-meter-transition-duration)}.tx-password__panel[data-styled] .tx-password__meter[data-strength=weak] .tx-password__meter-bar{width:33.33%;background:var(--tx-password-meter-weak-background)}.tx-password__panel[data-styled] .tx-password__meter[data-strength=medium] .tx-password__meter-bar{width:66.66%;background:var(--tx-password-meter-medium-background)}.tx-password__panel[data-styled] .tx-password__meter[data-strength=strong] .tx-password__meter-bar{width:100%;background:var(--tx-password-meter-strong-background)}@media(prefers-reduced-motion:reduce){.tx-password__panel[data-styled] .tx-password__meter-bar{transition:none}}\n"]
631
+ styles: [":host{position:relative;display:inline-flex;vertical-align:top}:host(.tx-password--fluid){display:flex;width:100%}.tx-password__input{flex:1 1 auto;min-width:0;--tx-field-inset-end: calc(var(--tx-password-actions) * (var(--tx-form-field-action-size) + var(--tx-password-action-gap)))}.tx-password__input::-ms-reveal{display:none}.tx-password__actions{position:absolute;top:50%;right:var(--tx-password-action-inset);display:flex;gap:var(--tx-password-action-gap);transform:translateY(-50%)}.tx-password__action{display:grid;place-items:center;width:var(--tx-form-field-action-size);height:var(--tx-form-field-action-size);padding:0;border:none;border-radius:var(--tx-radius-sm);background:transparent;color:var(--tx-form-field-icon-color);font-size:var(--tx-form-field-font-size);cursor:pointer;pointer-events:auto;transition:background-color var(--tx-form-field-transition-duration),color var(--tx-form-field-transition-duration)}.tx-password__action:hover{background:var(--tx-surface-hover);color:var(--tx-form-field-color)}.tx-password__action:focus-visible{outline:2px solid var(--tx-focus-ring-color);outline-offset:1px}.tx-password__action:disabled{cursor:not-allowed;opacity:.6}.tx-password__panel{width:100%}.tx-password__panel[data-styled]{display:grid;gap:var(--tx-password-panel-gap);box-sizing:border-box;padding:var(--tx-password-panel-padding);border:1px solid var(--tx-password-panel-border-color);border-radius:var(--tx-password-panel-border-radius);background:var(--tx-password-panel-background);box-shadow:var(--tx-password-panel-shadow);color:var(--tx-password-panel-color);font-family:var(--tx-font-family);font-size:var(--tx-password-panel-font-size)}.tx-password__panel[data-styled] .tx-password__meter{height:var(--tx-password-meter-height);overflow:hidden;border-radius:var(--tx-password-meter-border-radius);background:var(--tx-password-meter-background)}.tx-password__panel[data-styled] .tx-password__meter-bar{display:block;width:0;height:100%;border-radius:inherit;transition:width var(--tx-password-meter-transition-duration) cubic-bezier(.2,0,0,1),background-color var(--tx-password-meter-transition-duration)}.tx-password__panel[data-styled] .tx-password__meter[data-strength=weak] .tx-password__meter-bar{width:33.33%;background:var(--tx-password-meter-weak-background)}.tx-password__panel[data-styled] .tx-password__meter[data-strength=medium] .tx-password__meter-bar{width:66.66%;background:var(--tx-password-meter-medium-background)}.tx-password__panel[data-styled] .tx-password__meter[data-strength=strong] .tx-password__meter-bar{width:100%;background:var(--tx-password-meter-strong-background)}@media(prefers-reduced-motion:reduce){.tx-password__panel[data-styled] .tx-password__meter-bar{transition:none}}\n"]
632
632
  }]
633
633
  }],
634
634
  ctorParameters: () => [],
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-password.mjs","names":[],"sources":["../../../../packages/ui/password/src/password-templates.directive.ts","../../../../packages/ui/password/src/password.icons.ts","../../../../packages/ui/password/src/password.theme.ts","../../../../packages/ui/password/src/password.component.ts","../../../../packages/ui/password/src/password.component.html"],"sourcesContent":["import { Directive, TemplateRef, inject } from '@angular/core';\nimport { TxPasswordTemplateContext } from './password.types';\n\n@Directive({ selector: 'ng-template[txPasswordHeader]' })\nexport class TxPasswordHeaderTemplate {\n readonly templateRef = inject<TemplateRef<TxPasswordTemplateContext>>(TemplateRef);\n\n static ngTemplateContextGuard(_directive: TxPasswordHeaderTemplate, context: unknown): context is TxPasswordTemplateContext {\n return !!context;\n }\n}\n\n@Directive({ selector: 'ng-template[txPasswordContent]' })\nexport class TxPasswordContentTemplate {\n readonly templateRef = inject<TemplateRef<TxPasswordTemplateContext>>(TemplateRef);\n\n static ngTemplateContextGuard(_directive: TxPasswordContentTemplate, context: unknown): context is TxPasswordTemplateContext {\n return !!context;\n }\n}\n\n@Directive({ selector: 'ng-template[txPasswordFooter]' })\nexport class TxPasswordFooterTemplate {\n readonly templateRef = inject<TemplateRef<TxPasswordTemplateContext>>(TemplateRef);\n\n static ngTemplateContextGuard(_directive: TxPasswordFooterTemplate, context: unknown): context is TxPasswordTemplateContext {\n return !!context;\n }\n}\n","import { TxIconSet, txIconEye, txIconEyeSlash, txIconInfo, txIconText, txIconTimes } from '@tectra-ng/icons';\n\nexport const PASSWORD_ICON_DEFAULTS: TxIconSet = {\n eye: txIconEye,\n 'eye-slash': txIconEyeSlash,\n info: txIconInfo,\n text: txIconText,\n times: txIconTimes,\n};\n","import { fieldTokens, formFieldTokens, passwordTokens } from '@tectra-ng/themes';\n\nexport const PASSWORD_THEME = {\n field: fieldTokens,\n formField: formFieldTokens,\n password: passwordTokens,\n};\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n TemplateRef,\n ViewContainerRef,\n booleanAttribute,\n computed,\n contentChild,\n effect,\n forwardRef,\n inject,\n input,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { uniqueId } from '@tectra-ng/core/a11y';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { injectFluid } from '@tectra-ng/core/fluid';\nimport { TxFormControlBase, injectFieldInvalid } from '@tectra-ng/core/forms';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { TxOverlay, TxOverlayRef } from '@tectra-ng/core/overlay';\nimport { optionalBoolean, optionalNumber } from '@tectra-ng/core/utils';\nimport { provideTxIconDefaults, TxIcon } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraPasswordTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxInput } from '@tectra-ng/ui/input';\nimport { TxPasswordContentTemplate, TxPasswordFooterTemplate, TxPasswordHeaderTemplate } from './password-templates.directive';\nimport { TxPasswordPart, TxPasswordSize, TxPasswordStrength, TxPasswordVariant } from './password.types';\nimport { PASSWORD_ICON_DEFAULTS } from './password.icons';\nimport { PASSWORD_THEME } from './password.theme';\n\nconst MEDIUM = '^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})';\nconst STRONG = '^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})';\n\n@Component({\n selector: 'tx-password',\n imports: [TxInput, TxIcon, NgTemplateOutlet],\n templateUrl: './password.component.html',\n styleUrl: './password.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TxPassword), multi: true }],\n host: {\n class: 'tx-password',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[class.tx-password--fluid]': 'isFluid()',\n '[class.tx-password--filled]': 'hasValue()',\n '[class.tx-password--invalid]': 'isInvalid()',\n '[class.tx-password--disabled]': 'isDisabled()',\n },\n viewProviders: [provideTxIconDefaults(PASSWORD_ICON_DEFAULTS)],\n})\nexport class TxPassword extends TxFormControlBase<string> {\n private readonly passwordTheme = injectTokens(PASSWORD_THEME);\n\n private overlay = inject(TxOverlay);\n private viewContainerRef = inject(ViewContainerRef);\n private generatedId = uniqueId('tx-password');\n private panelRef: TxOverlayRef | null = null;\n\n readonly feedback = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly toggleMask = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly showClear = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly placeholder = input<string | undefined>(undefined);\n readonly promptLabel = input<string | undefined>(undefined);\n readonly weakLabel = input<string | undefined>(undefined);\n readonly mediumLabel = input<string | undefined>(undefined);\n readonly strongLabel = input<string | undefined>(undefined);\n readonly mediumRegex = input<string | RegExp>(MEDIUM);\n readonly strongRegex = input<string | RegExp>(STRONG);\n readonly autocomplete = input<string>('current-password');\n readonly size = input<TxPasswordSize>('medium');\n readonly variant = input<TxPasswordVariant>('outlined');\n readonly fluid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly invalid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n // eslint-disable-next-line @angular-eslint/no-input-rename\n readonly disabledInput = input<boolean, unknown>(false, { alias: 'disabled', transform: booleanAttribute });\n readonly readonly = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly required = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly maxlength = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly name = input<string | undefined>(undefined);\n readonly inputId = input<string | undefined>(undefined);\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly ariaLabelledBy = input<string | undefined>(undefined);\n readonly tabindex = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly dt = input<TectraDeepPartial<TectraPasswordTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxPasswordPart, TxPassword> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly strengthChange = output<TxPasswordStrength | null>();\n readonly cleared = output<void>();\n\n readonly headerTemplate = contentChild(TxPasswordHeaderTemplate);\n readonly contentTemplate = contentChild(TxPasswordContentTemplate);\n readonly footerTemplate = contentChild(TxPasswordFooterTemplate);\n readonly inputRef = viewChild.required<ElementRef<HTMLInputElement>>('input');\n readonly panelTemplate = viewChild.required<TemplateRef<unknown>>('panel');\n\n readonly translations = injectTranslations();\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly isFluid = injectFluid(this.fluid);\n readonly isInvalid = injectFieldInvalid(this.invalid);\n readonly passThrough = injectPassThrough('password', this, this.pt, this.ptOptions);\n\n readonly isMasked = signal(true);\n readonly isFocused = signal(false);\n readonly resolvedId = computed(() => this.inputId() ?? this.generatedId);\n readonly infoId = `${this.generatedId}-info`;\n readonly text = computed(() => this.value() ?? '');\n readonly hasValue = computed(() => this.text() !== '');\n readonly isDisabled = computed(() => this.disabled() || this.disabledInput());\n readonly isEditable = computed(() => !this.isDisabled() && !this.readonly());\n readonly strength = computed<TxPasswordStrength | null>(() => {\n const value = this.text();\n if (!value) {\n return null;\n }\n if (toRegExp(this.strongRegex()).test(value)) {\n return 'strong';\n }\n return toRegExp(this.mediumRegex()).test(value) ? 'medium' : 'weak';\n });\n readonly info = computed(() => {\n const t = this.translations();\n switch (this.strength()) {\n case 'strong':\n return this.strongLabel() ?? t.passwordStrong;\n case 'medium':\n return this.mediumLabel() ?? t.passwordMedium;\n case 'weak':\n return this.weakLabel() ?? t.passwordWeak;\n default:\n return this.promptLabel() ?? t.passwordPrompt;\n }\n });\n readonly actionCount = computed(() => Number(this.toggleMask()) + Number(this.showClear() && this.hasValue() && this.isEditable()));\n readonly templateContext = computed(() => ({ $implicit: this.strength(), value: this.text() }));\n readonly hostStyle = computed(() => ({\n ...toStyleObject(this.dt(), '--tx-password'),\n '--tx-password-actions': String(this.actionCount()),\n ...this.passThrough().root?.style,\n }));\n\n constructor() {\n super();\n let previous: TxPasswordStrength | null = null;\n effect(() => {\n const strength = this.strength();\n if (strength !== previous) {\n previous = strength;\n this.strengthChange.emit(strength);\n }\n });\n inject(DestroyRef).onDestroy(() => this.panelRef?.close());\n }\n\n focus(): void {\n this.inputRef().nativeElement.focus();\n }\n\n onInput(event: Event): void {\n this.updateValue((event.target as HTMLInputElement).value);\n }\n\n onFocus(): void {\n this.isFocused.set(true);\n if (this.feedback() && this.isEditable() && !this.panelRef) {\n this.panelRef = this.overlay.open(this.panelTemplate(), {\n origin: this.inputRef().nativeElement,\n viewContainerRef: this.viewContainerRef,\n placement: 'bottom-start',\n matchWidth: true,\n closeOnOutsideClick: false,\n restoreFocus: false,\n panelClass: 'tx-password-overlay',\n });\n this.panelRef.closed.subscribe(() => (this.panelRef = null));\n }\n }\n\n onBlur(): void {\n this.isFocused.set(false);\n this.markTouched();\n this.panelRef?.close();\n }\n\n fill(value: string, reveal = true): void {\n this.updateValue(value);\n if (reveal) {\n this.isMasked.set(false);\n }\n }\n\n toggleVisibility(): void {\n this.isMasked.update((masked) => !masked);\n this.focus();\n }\n\n clear(): void {\n this.updateValue('');\n this.cleared.emit();\n this.focus();\n }\n}\n\nfunction toRegExp(pattern: string | RegExp): RegExp {\n return typeof pattern === 'string' ? new RegExp(pattern) : pattern;\n}\n","<input\n #input\n txInput\n class=\"tx-password__input\"\n [class]=\"passThrough().input?.class\"\n [style]=\"passThrough().input?.style\"\n [type]=\"isMasked() ? 'password' : 'text'\"\n [value]=\"text()\"\n [id]=\"resolvedId()\"\n [size]=\"size()\"\n [variant]=\"variant()\"\n [fluid]=\"true\"\n [invalid]=\"isInvalid()\"\n [unstyled]=\"isUnstyled()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [attr.placeholder]=\"placeholder() ?? null\"\n [attr.maxlength]=\"maxlength() ?? null\"\n [attr.name]=\"name() ?? null\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.tabindex]=\"tabindex() ?? null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-describedby]=\"feedback() && isFocused() ? infoId : null\"\n (input)=\"onInput($event)\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n/>\n<span class=\"tx-password__actions\">\n @if (showClear() && hasValue() && isEditable()) {\n <button\n type=\"button\"\n class=\"tx-password__action tx-password__clear\"\n [class]=\"passThrough().clear?.class\"\n [style]=\"passThrough().clear?.style\"\n [attr.aria-label]=\"translations().clear\"\n [title]=\"translations().clear\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"clear()\"\n >\n <tx-icon [name]=\"'times'\" />\n </button>\n }\n @if (toggleMask()) {\n <button\n type=\"button\"\n class=\"tx-password__action tx-password__toggle\"\n [class]=\"passThrough().toggle?.class\"\n [style]=\"passThrough().toggle?.style\"\n [attr.aria-label]=\"translations().showPassword\"\n [attr.aria-pressed]=\"!isMasked()\"\n [attr.aria-controls]=\"resolvedId()\"\n [title]=\"isMasked() ? translations().showPassword : translations().hidePassword\"\n [disabled]=\"isDisabled()\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"toggleVisibility()\"\n >\n <tx-icon [name]=\"isMasked() ? 'eye' : 'eye-slash'\" />\n </button>\n }\n</span>\n\n<ng-template #panel>\n <div class=\"tx-password__panel\" [attr.data-styled]=\"!isUnstyled() || null\" [style]=\"hostStyle()\" [class]=\"passThrough().panel?.class\">\n @if (headerTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"templateContext()\" />\n }\n <div class=\"tx-password__meter\" [attr.data-strength]=\"strength()\" [class]=\"passThrough().meter?.class\" [style]=\"passThrough().meter?.style\">\n <span class=\"tx-password__meter-bar\"></span>\n </div>\n <div class=\"tx-password__info\" aria-live=\"polite\" [id]=\"infoId\" [class]=\"passThrough().info?.class\" [style]=\"passThrough().info?.style\">\n {{ info() }}\n </div>\n @if (contentTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"templateContext()\" />\n }\n @if (footerTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"templateContext()\" />\n }\n </div>\n</ng-template>\n"],"mappings":";;;;;;;;;;;;;;AAIA,IAAa,2BAAb,MAAa,yBAAwB;CAC1B,cAAc,OAA+C,WAAW;CAEjF,OAAO,uBAAuB,YAAsC,SAAgB;EAClF,OAAO,CAAC,CAAC;CACX;CALW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAwB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAxB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAwB,cAAA;EAAA,UAAA;EAAA,UAAA;CAAA,CAAA;;AAAxB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAwB,YAAA,CAAA;EADpC,MAAA;EAAU,MAAA,CAAA,EAAE,UAAU,gCAA+B,CAAE;;;AAUxD,IAAa,4BAAb,MAAa,0BAAyB;CAC3B,cAAc,OAA+C,WAAW;CAEjF,OAAO,uBAAuB,YAAuC,SAAgB;EACnF,OAAO,CAAC,CAAC;CACX;CALW,OAAA,OAAA,GAAA,mBAAA;EAA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EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,gBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,gBAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,SAAA;EAAA,CAAA;EAAA,gBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAAA,wBAAwB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,iBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBACvB,yBAAyB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,gBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAC1B,wBAAwB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CACM,SAAO,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,eAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CACV,SAAO,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AA6G3E,SAAS,SAAS,SAAwB;CACxC,OAAO,OAAO,YAAY,WAAW,IAAI,OAAO,OAAO,IAAI;AAC7D"}
1
+ {"version":3,"file":"tectra-ng-ui-password.mjs","names":[],"sources":["../../../../packages/ui/password/src/password-templates.directive.ts","../../../../packages/ui/password/src/password.icons.ts","../../../../packages/ui/password/src/password.theme.ts","../../../../packages/ui/password/src/password.component.ts","../../../../packages/ui/password/src/password.component.html"],"sourcesContent":["import { Directive, TemplateRef, inject } from '@angular/core';\nimport { TxPasswordTemplateContext } from './password.types';\n\n@Directive({ selector: 'ng-template[txPasswordHeader]' })\nexport class TxPasswordHeaderTemplate {\n readonly templateRef = inject<TemplateRef<TxPasswordTemplateContext>>(TemplateRef);\n\n static ngTemplateContextGuard(_directive: TxPasswordHeaderTemplate, context: unknown): context is TxPasswordTemplateContext {\n return !!context;\n }\n}\n\n@Directive({ selector: 'ng-template[txPasswordContent]' })\nexport class TxPasswordContentTemplate {\n readonly templateRef = inject<TemplateRef<TxPasswordTemplateContext>>(TemplateRef);\n\n static ngTemplateContextGuard(_directive: TxPasswordContentTemplate, context: unknown): context is TxPasswordTemplateContext {\n return !!context;\n }\n}\n\n@Directive({ selector: 'ng-template[txPasswordFooter]' })\nexport class TxPasswordFooterTemplate {\n readonly templateRef = inject<TemplateRef<TxPasswordTemplateContext>>(TemplateRef);\n\n static ngTemplateContextGuard(_directive: TxPasswordFooterTemplate, context: unknown): context is TxPasswordTemplateContext {\n return !!context;\n }\n}\n","import { TxIconSet, txIconEye, txIconEyeSlash, txIconInfo, txIconText, txIconTimes } from '@tectra-ng/icons';\n\nexport const PASSWORD_ICON_DEFAULTS: TxIconSet = {\n eye: txIconEye,\n 'eye-slash': txIconEyeSlash,\n info: txIconInfo,\n text: txIconText,\n times: txIconTimes,\n};\n","import { fieldTokens, formFieldTokens, passwordTokens } from '@tectra-ng/themes';\n\nexport const PASSWORD_THEME = {\n field: fieldTokens,\n formField: formFieldTokens,\n password: passwordTokens,\n};\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n TemplateRef,\n ViewContainerRef,\n booleanAttribute,\n computed,\n contentChild,\n effect,\n forwardRef,\n inject,\n input,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { uniqueId } from '@tectra-ng/core/a11y';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { injectFluid } from '@tectra-ng/core/fluid';\nimport { TxFormControlBase, injectFieldInvalid } from '@tectra-ng/core/forms';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { TxOverlay, TxOverlayRef } from '@tectra-ng/core/overlay';\nimport { optionalBoolean, optionalNumber } from '@tectra-ng/core/utils';\nimport { provideTxIconDefaults, TxIcon } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraPasswordTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxInput } from '@tectra-ng/ui/input';\nimport { TxPasswordContentTemplate, TxPasswordFooterTemplate, TxPasswordHeaderTemplate } from './password-templates.directive';\nimport { TxPasswordPart, TxPasswordSize, TxPasswordStrength, TxPasswordVariant } from './password.types';\nimport { PASSWORD_ICON_DEFAULTS } from './password.icons';\nimport { PASSWORD_THEME } from './password.theme';\n\nconst MEDIUM = '^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})';\nconst STRONG = '^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})';\n\n@Component({\n selector: 'tx-password',\n imports: [TxInput, TxIcon, NgTemplateOutlet],\n templateUrl: './password.component.html',\n styleUrl: './password.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TxPassword), multi: true }],\n host: {\n class: 'tx-password',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[class.tx-password--fluid]': 'isFluid()',\n '[class.tx-password--filled]': 'hasValue()',\n '[class.tx-password--invalid]': 'isInvalid()',\n '[class.tx-password--disabled]': 'isDisabled()',\n },\n viewProviders: [provideTxIconDefaults(PASSWORD_ICON_DEFAULTS)],\n})\nexport class TxPassword extends TxFormControlBase<string> {\n private readonly passwordTheme = injectTokens(PASSWORD_THEME);\n\n private overlay = inject(TxOverlay);\n private viewContainerRef = inject(ViewContainerRef);\n private generatedId = uniqueId('tx-password');\n private panelRef: TxOverlayRef | null = null;\n\n readonly feedback = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly toggleMask = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly showClear = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly placeholder = input<string | undefined>(undefined);\n readonly promptLabel = input<string | undefined>(undefined);\n readonly weakLabel = input<string | undefined>(undefined);\n readonly mediumLabel = input<string | undefined>(undefined);\n readonly strongLabel = input<string | undefined>(undefined);\n readonly mediumRegex = input<string | RegExp>(MEDIUM);\n readonly strongRegex = input<string | RegExp>(STRONG);\n readonly autocomplete = input<string>('current-password');\n readonly size = input<TxPasswordSize>('medium');\n readonly variant = input<TxPasswordVariant>('outlined');\n readonly fluid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly invalid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n // eslint-disable-next-line @angular-eslint/no-input-rename\n readonly disabledInput = input<boolean, unknown>(false, { alias: 'disabled', transform: booleanAttribute });\n readonly readonly = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly required = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly maxlength = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly name = input<string | undefined>(undefined);\n readonly inputId = input<string | undefined>(undefined);\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly ariaLabelledBy = input<string | undefined>(undefined);\n readonly tabindex = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly dt = input<TectraDeepPartial<TectraPasswordTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxPasswordPart, TxPassword> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly strengthChange = output<TxPasswordStrength | null>();\n readonly cleared = output<void>();\n\n readonly headerTemplate = contentChild(TxPasswordHeaderTemplate);\n readonly contentTemplate = contentChild(TxPasswordContentTemplate);\n readonly footerTemplate = contentChild(TxPasswordFooterTemplate);\n readonly inputRef = viewChild.required<ElementRef<HTMLInputElement>>('input');\n readonly panelTemplate = viewChild.required<TemplateRef<unknown>>('panel');\n\n readonly translations = injectTranslations();\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly isFluid = injectFluid(this.fluid);\n readonly isInvalid = injectFieldInvalid(this.invalid);\n readonly passThrough = injectPassThrough('password', this, this.pt, this.ptOptions);\n\n readonly isMasked = signal(true);\n readonly isFocused = signal(false);\n readonly resolvedId = computed(() => this.inputId() ?? this.generatedId);\n readonly infoId = `${this.generatedId}-info`;\n readonly text = computed(() => this.value() ?? '');\n readonly hasValue = computed(() => this.text() !== '');\n readonly isDisabled = computed(() => this.disabled() || this.disabledInput());\n readonly isEditable = computed(() => !this.isDisabled() && !this.readonly());\n readonly strength = computed<TxPasswordStrength | null>(() => {\n const value = this.text();\n if (!value) {\n return null;\n }\n if (toRegExp(this.strongRegex()).test(value)) {\n return 'strong';\n }\n return toRegExp(this.mediumRegex()).test(value) ? 'medium' : 'weak';\n });\n readonly info = computed(() => {\n const t = this.translations();\n switch (this.strength()) {\n case 'strong':\n return this.strongLabel() ?? t.passwordStrong;\n case 'medium':\n return this.mediumLabel() ?? t.passwordMedium;\n case 'weak':\n return this.weakLabel() ?? t.passwordWeak;\n default:\n return this.promptLabel() ?? t.passwordPrompt;\n }\n });\n readonly actionCount = computed(() => Number(this.toggleMask()) + Number(this.showClear() && this.hasValue() && this.isEditable()));\n readonly templateContext = computed(() => ({ $implicit: this.strength(), value: this.text() }));\n readonly hostStyle = computed(() => ({\n ...toStyleObject(this.dt(), '--tx-password'),\n '--tx-password-actions': String(this.actionCount()),\n ...this.passThrough().root?.style,\n }));\n\n constructor() {\n super();\n let previous: TxPasswordStrength | null = null;\n effect(() => {\n const strength = this.strength();\n if (strength !== previous) {\n previous = strength;\n this.strengthChange.emit(strength);\n }\n });\n inject(DestroyRef).onDestroy(() => this.panelRef?.close());\n }\n\n focus(): void {\n this.inputRef().nativeElement.focus();\n }\n\n onInput(event: Event): void {\n this.updateValue((event.target as HTMLInputElement).value);\n }\n\n onFocus(): void {\n this.isFocused.set(true);\n if (this.feedback() && this.isEditable() && !this.panelRef) {\n this.panelRef = this.overlay.open(this.panelTemplate(), {\n origin: this.inputRef().nativeElement,\n viewContainerRef: this.viewContainerRef,\n placement: 'bottom-start',\n matchWidth: true,\n closeOnOutsideClick: false,\n restoreFocus: false,\n panelClass: 'tx-password-overlay',\n });\n this.panelRef.closed.subscribe(() => (this.panelRef = null));\n }\n }\n\n onBlur(): void {\n this.isFocused.set(false);\n this.markTouched();\n this.panelRef?.close();\n }\n\n fill(value: string, reveal = true): void {\n this.updateValue(value);\n if (reveal) {\n this.isMasked.set(false);\n }\n }\n\n toggleVisibility(): void {\n this.isMasked.update((masked) => !masked);\n this.focus();\n }\n\n clear(): void {\n this.updateValue('');\n this.cleared.emit();\n this.focus();\n }\n}\n\nfunction toRegExp(pattern: string | RegExp): RegExp {\n return typeof pattern === 'string' ? new RegExp(pattern) : pattern;\n}\n","<input\n #input\n txInput\n class=\"tx-password__input\"\n [class]=\"passThrough().input?.class\"\n [style]=\"passThrough().input?.style\"\n [type]=\"isMasked() ? 'password' : 'text'\"\n [value]=\"text()\"\n [id]=\"resolvedId()\"\n [size]=\"size()\"\n [variant]=\"variant()\"\n [fluid]=\"true\"\n [invalid]=\"isInvalid()\"\n [unstyled]=\"isUnstyled()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [attr.placeholder]=\"placeholder() ?? null\"\n [attr.maxlength]=\"maxlength() ?? null\"\n [attr.name]=\"name() ?? null\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.tabindex]=\"tabindex() ?? null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-describedby]=\"feedback() && isFocused() ? infoId : null\"\n (input)=\"onInput($event)\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n/>\n<span class=\"tx-password__actions\">\n @if (showClear() && hasValue() && isEditable()) {\n <button\n type=\"button\"\n class=\"tx-password__action tx-password__clear\"\n [class]=\"passThrough().clear?.class\"\n [style]=\"passThrough().clear?.style\"\n [attr.aria-label]=\"translations().clear\"\n [title]=\"translations().clear\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"clear()\"\n >\n <tx-icon [name]=\"'times'\" />\n </button>\n }\n @if (toggleMask()) {\n <button\n type=\"button\"\n class=\"tx-password__action tx-password__toggle\"\n [class]=\"passThrough().toggle?.class\"\n [style]=\"passThrough().toggle?.style\"\n [attr.aria-label]=\"translations().showPassword\"\n [attr.aria-pressed]=\"!isMasked()\"\n [attr.aria-controls]=\"resolvedId()\"\n [title]=\"isMasked() ? translations().showPassword : translations().hidePassword\"\n [disabled]=\"isDisabled()\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"toggleVisibility()\"\n >\n <tx-icon [name]=\"isMasked() ? 'eye' : 'eye-slash'\" />\n </button>\n }\n</span>\n\n<ng-template #panel>\n <div class=\"tx-password__panel\" [attr.data-styled]=\"!isUnstyled() || null\" [style]=\"hostStyle()\" [class]=\"passThrough().panel?.class\">\n @if (headerTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"templateContext()\" />\n }\n <div class=\"tx-password__meter\" [attr.data-strength]=\"strength()\" [class]=\"passThrough().meter?.class\" [style]=\"passThrough().meter?.style\">\n <span class=\"tx-password__meter-bar\"></span>\n </div>\n <div class=\"tx-password__info\" aria-live=\"polite\" [id]=\"infoId\" [class]=\"passThrough().info?.class\" [style]=\"passThrough().info?.style\">\n {{ info() }}\n </div>\n @if (contentTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"templateContext()\" />\n }\n @if (footerTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"templateContext()\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