@tectra-ng/ui 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +26 -2
  3. package/amount/README.md +28 -0
  4. package/autocomplete/README.md +82 -0
  5. package/avatar/README.md +43 -0
  6. package/badge/README.md +19 -0
  7. package/button/README.md +46 -0
  8. package/button-group/README.md +8 -0
  9. package/card/README.md +30 -0
  10. package/cascade-select/README.md +49 -0
  11. package/checkbox/README.md +64 -0
  12. package/chip/README.md +38 -0
  13. package/chips-input/README.md +47 -0
  14. package/color-picker/README.md +43 -0
  15. package/confirm/README.md +46 -0
  16. package/country/README.md +23 -0
  17. package/country-select/README.md +39 -0
  18. package/dialog/README.md +84 -0
  19. package/divider/README.md +24 -0
  20. package/drawer/README.md +54 -0
  21. package/email-suggestion/README.md +20 -0
  22. package/fesm2022/tectra-ng-ui-amount.mjs +415 -0
  23. package/fesm2022/tectra-ng-ui-amount.mjs.map +1 -0
  24. package/fesm2022/tectra-ng-ui-autocomplete.mjs +730 -0
  25. package/fesm2022/tectra-ng-ui-autocomplete.mjs.map +1 -0
  26. package/fesm2022/tectra-ng-ui-avatar.mjs +670 -0
  27. package/fesm2022/tectra-ng-ui-avatar.mjs.map +1 -0
  28. package/fesm2022/tectra-ng-ui-badge.mjs +191 -0
  29. package/fesm2022/tectra-ng-ui-badge.mjs.map +1 -0
  30. package/fesm2022/tectra-ng-ui-button-group.mjs +50 -0
  31. package/fesm2022/tectra-ng-ui-button-group.mjs.map +1 -0
  32. package/fesm2022/tectra-ng-ui-button.mjs +725 -0
  33. package/fesm2022/tectra-ng-ui-button.mjs.map +1 -0
  34. package/fesm2022/tectra-ng-ui-card.mjs +210 -0
  35. package/fesm2022/tectra-ng-ui-card.mjs.map +1 -0
  36. package/fesm2022/tectra-ng-ui-cascade-select.mjs +887 -0
  37. package/fesm2022/tectra-ng-ui-cascade-select.mjs.map +1 -0
  38. package/fesm2022/tectra-ng-ui-checkbox.mjs +1150 -0
  39. package/fesm2022/tectra-ng-ui-checkbox.mjs.map +1 -0
  40. package/fesm2022/tectra-ng-ui-chip.mjs +344 -0
  41. package/fesm2022/tectra-ng-ui-chip.mjs.map +1 -0
  42. package/fesm2022/tectra-ng-ui-chips-input.mjs +649 -0
  43. package/fesm2022/tectra-ng-ui-chips-input.mjs.map +1 -0
  44. package/fesm2022/tectra-ng-ui-color-picker.mjs +828 -0
  45. package/fesm2022/tectra-ng-ui-color-picker.mjs.map +1 -0
  46. package/fesm2022/tectra-ng-ui-confirm.mjs +489 -0
  47. package/fesm2022/tectra-ng-ui-confirm.mjs.map +1 -0
  48. package/fesm2022/tectra-ng-ui-country-select.mjs +545 -0
  49. package/fesm2022/tectra-ng-ui-country-select.mjs.map +1 -0
  50. package/fesm2022/tectra-ng-ui-country.mjs +313 -0
  51. package/fesm2022/tectra-ng-ui-country.mjs.map +1 -0
  52. package/fesm2022/tectra-ng-ui-dialog.mjs +1539 -0
  53. package/fesm2022/tectra-ng-ui-dialog.mjs.map +1 -0
  54. package/fesm2022/tectra-ng-ui-divider.mjs +194 -0
  55. package/fesm2022/tectra-ng-ui-divider.mjs.map +1 -0
  56. package/fesm2022/tectra-ng-ui-drawer.mjs +540 -0
  57. package/fesm2022/tectra-ng-ui-drawer.mjs.map +1 -0
  58. package/fesm2022/tectra-ng-ui-email-suggestion.mjs +341 -0
  59. package/fesm2022/tectra-ng-ui-email-suggestion.mjs.map +1 -0
  60. package/fesm2022/tectra-ng-ui-field.mjs +492 -0
  61. package/fesm2022/tectra-ng-ui-field.mjs.map +1 -0
  62. package/fesm2022/tectra-ng-ui-fieldset.mjs +258 -0
  63. package/fesm2022/tectra-ng-ui-fieldset.mjs.map +1 -0
  64. package/fesm2022/tectra-ng-ui-highlight-text.mjs +246 -0
  65. package/fesm2022/tectra-ng-ui-highlight-text.mjs.map +1 -0
  66. package/fesm2022/tectra-ng-ui-icon-field.mjs +478 -0
  67. package/fesm2022/tectra-ng-ui-icon-field.mjs.map +1 -0
  68. package/fesm2022/tectra-ng-ui-input-group.mjs +113 -0
  69. package/fesm2022/tectra-ng-ui-input-group.mjs.map +1 -0
  70. package/fesm2022/tectra-ng-ui-input-mask.mjs +413 -0
  71. package/fesm2022/tectra-ng-ui-input-mask.mjs.map +1 -0
  72. package/fesm2022/tectra-ng-ui-input-number.mjs +1045 -0
  73. package/fesm2022/tectra-ng-ui-input-number.mjs.map +1 -0
  74. package/fesm2022/tectra-ng-ui-input-otp.mjs +553 -0
  75. package/fesm2022/tectra-ng-ui-input-otp.mjs.map +1 -0
  76. package/fesm2022/tectra-ng-ui-input.mjs +260 -0
  77. package/fesm2022/tectra-ng-ui-input.mjs.map +1 -0
  78. package/fesm2022/tectra-ng-ui-key-filter.mjs +185 -0
  79. package/fesm2022/tectra-ng-ui-key-filter.mjs.map +1 -0
  80. package/fesm2022/tectra-ng-ui-knob.mjs +630 -0
  81. package/fesm2022/tectra-ng-ui-knob.mjs.map +1 -0
  82. package/fesm2022/tectra-ng-ui-label.mjs +271 -0
  83. package/fesm2022/tectra-ng-ui-label.mjs.map +1 -0
  84. package/fesm2022/tectra-ng-ui-link.mjs +699 -0
  85. package/fesm2022/tectra-ng-ui-link.mjs.map +1 -0
  86. package/fesm2022/tectra-ng-ui-listbox.mjs +484 -0
  87. package/fesm2022/tectra-ng-ui-listbox.mjs.map +1 -0
  88. package/fesm2022/tectra-ng-ui-mention-textarea.mjs +717 -0
  89. package/fesm2022/tectra-ng-ui-mention-textarea.mjs.map +1 -0
  90. package/fesm2022/tectra-ng-ui-menu.mjs +1484 -0
  91. package/fesm2022/tectra-ng-ui-menu.mjs.map +1 -0
  92. package/fesm2022/tectra-ng-ui-message.mjs +975 -0
  93. package/fesm2022/tectra-ng-ui-message.mjs.map +1 -0
  94. package/fesm2022/tectra-ng-ui-multiselect.mjs +569 -0
  95. package/fesm2022/tectra-ng-ui-multiselect.mjs.map +1 -0
  96. package/fesm2022/tectra-ng-ui-overlay-badge.mjs +345 -0
  97. package/fesm2022/tectra-ng-ui-overlay-badge.mjs.map +1 -0
  98. package/fesm2022/tectra-ng-ui-paginator.mjs +849 -0
  99. package/fesm2022/tectra-ng-ui-paginator.mjs.map +1 -0
  100. package/fesm2022/tectra-ng-ui-panel.mjs +317 -0
  101. package/fesm2022/tectra-ng-ui-panel.mjs.map +1 -0
  102. package/fesm2022/tectra-ng-ui-password-generator.mjs +292 -0
  103. package/fesm2022/tectra-ng-ui-password-generator.mjs.map +1 -0
  104. package/fesm2022/tectra-ng-ui-password.mjs +871 -0
  105. package/fesm2022/tectra-ng-ui-password.mjs.map +1 -0
  106. package/fesm2022/tectra-ng-ui-pill.mjs +361 -0
  107. package/fesm2022/tectra-ng-ui-pill.mjs.map +1 -0
  108. package/fesm2022/tectra-ng-ui-popover.mjs +742 -0
  109. package/fesm2022/tectra-ng-ui-popover.mjs.map +1 -0
  110. package/fesm2022/tectra-ng-ui-progress-bar.mjs +440 -0
  111. package/fesm2022/tectra-ng-ui-progress-bar.mjs.map +1 -0
  112. package/fesm2022/tectra-ng-ui-progress-spinner.mjs +265 -0
  113. package/fesm2022/tectra-ng-ui-progress-spinner.mjs.map +1 -0
  114. package/fesm2022/tectra-ng-ui-radio-button.mjs +817 -0
  115. package/fesm2022/tectra-ng-ui-radio-button.mjs.map +1 -0
  116. package/fesm2022/tectra-ng-ui-rating.mjs +584 -0
  117. package/fesm2022/tectra-ng-ui-rating.mjs.map +1 -0
  118. package/fesm2022/tectra-ng-ui-select.mjs +2478 -0
  119. package/fesm2022/tectra-ng-ui-select.mjs.map +1 -0
  120. package/fesm2022/tectra-ng-ui-skeleton.mjs +548 -0
  121. package/fesm2022/tectra-ng-ui-skeleton.mjs.map +1 -0
  122. package/fesm2022/tectra-ng-ui-slider.mjs +630 -0
  123. package/fesm2022/tectra-ng-ui-slider.mjs.map +1 -0
  124. package/fesm2022/tectra-ng-ui-speed-dial.mjs +669 -0
  125. package/fesm2022/tectra-ng-ui-speed-dial.mjs.map +1 -0
  126. package/fesm2022/tectra-ng-ui-split-button.mjs +614 -0
  127. package/fesm2022/tectra-ng-ui-split-button.mjs.map +1 -0
  128. package/fesm2022/tectra-ng-ui-status-icon.mjs +295 -0
  129. package/fesm2022/tectra-ng-ui-status-icon.mjs.map +1 -0
  130. package/fesm2022/tectra-ng-ui-table.mjs +5997 -0
  131. package/fesm2022/tectra-ng-ui-table.mjs.map +1 -0
  132. package/fesm2022/tectra-ng-ui-tag.mjs +422 -0
  133. package/fesm2022/tectra-ng-ui-tag.mjs.map +1 -0
  134. package/fesm2022/tectra-ng-ui-textarea.mjs +482 -0
  135. package/fesm2022/tectra-ng-ui-textarea.mjs.map +1 -0
  136. package/fesm2022/tectra-ng-ui-toast.mjs +668 -0
  137. package/fesm2022/tectra-ng-ui-toast.mjs.map +1 -0
  138. package/fesm2022/tectra-ng-ui-toggle-button.mjs +416 -0
  139. package/fesm2022/tectra-ng-ui-toggle-button.mjs.map +1 -0
  140. package/fesm2022/tectra-ng-ui-toggle-switch.mjs +560 -0
  141. package/fesm2022/tectra-ng-ui-toggle-switch.mjs.map +1 -0
  142. package/fesm2022/tectra-ng-ui-tooltip.mjs +835 -0
  143. package/fesm2022/tectra-ng-ui-tooltip.mjs.map +1 -0
  144. package/fesm2022/tectra-ng-ui-tree-select.mjs +986 -0
  145. package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -0
  146. package/fesm2022/tectra-ng-ui.mjs +4 -0
  147. package/fesm2022/tectra-ng-ui.mjs.map +1 -0
  148. package/field/README.md +43 -0
  149. package/fieldset/README.md +36 -0
  150. package/highlight-text/README.md +20 -0
  151. package/icon-field/README.md +30 -0
  152. package/input/README.md +22 -0
  153. package/input-group/README.md +21 -0
  154. package/input-mask/README.md +30 -0
  155. package/input-number/README.md +61 -0
  156. package/input-otp/README.md +44 -0
  157. package/key-filter/README.md +31 -0
  158. package/knob/README.md +50 -0
  159. package/label/README.md +29 -0
  160. package/link/README.md +47 -0
  161. package/listbox/README.md +68 -0
  162. package/mention-textarea/README.md +47 -0
  163. package/menu/README.md +65 -0
  164. package/message/README.md +58 -0
  165. package/multiselect/README.md +85 -0
  166. package/overlay-badge/README.md +30 -0
  167. package/package.json +301 -3
  168. package/paginator/README.md +60 -0
  169. package/panel/README.md +45 -0
  170. package/password/README.md +60 -0
  171. package/password-generator/README.md +34 -0
  172. package/pill/README.md +42 -0
  173. package/popover/README.md +67 -0
  174. package/progress-bar/README.md +32 -0
  175. package/progress-spinner/README.md +22 -0
  176. package/radio-button/README.md +54 -0
  177. package/rating/README.md +49 -0
  178. package/select/README.md +78 -0
  179. package/skeleton/README.md +27 -0
  180. package/slider/README.md +48 -0
  181. package/speed-dial/README.md +49 -0
  182. package/split-button/README.md +45 -0
  183. package/status-icon/README.md +22 -0
  184. package/table/README.md +178 -0
  185. package/tag/README.md +42 -0
  186. package/textarea/README.md +37 -0
  187. package/toast/README.md +52 -0
  188. package/toggle-button/README.md +34 -0
  189. package/toggle-switch/README.md +49 -0
  190. package/tooltip/README.md +60 -0
  191. package/tree-select/README.md +49 -0
  192. package/types/tectra-ng-ui-amount.d.ts +135 -0
  193. package/types/tectra-ng-ui-amount.d.ts.map +1 -0
  194. package/types/tectra-ng-ui-autocomplete.d.ts +250 -0
  195. package/types/tectra-ng-ui-autocomplete.d.ts.map +1 -0
  196. package/types/tectra-ng-ui-avatar.d.ts +289 -0
  197. package/types/tectra-ng-ui-avatar.d.ts.map +1 -0
  198. package/types/tectra-ng-ui-badge.d.ts +119 -0
  199. package/types/tectra-ng-ui-badge.d.ts.map +1 -0
  200. package/types/tectra-ng-ui-button-group.d.ts +6 -0
  201. package/types/tectra-ng-ui-button-group.d.ts.map +1 -0
  202. package/types/tectra-ng-ui-button.d.ts +466 -0
  203. package/types/tectra-ng-ui-button.d.ts.map +1 -0
  204. package/types/tectra-ng-ui-card.d.ts +71 -0
  205. package/types/tectra-ng-ui-card.d.ts.map +1 -0
  206. package/types/tectra-ng-ui-cascade-select.d.ts +244 -0
  207. package/types/tectra-ng-ui-cascade-select.d.ts.map +1 -0
  208. package/types/tectra-ng-ui-checkbox.d.ts +450 -0
  209. package/types/tectra-ng-ui-checkbox.d.ts.map +1 -0
  210. package/types/tectra-ng-ui-chip.d.ts +106 -0
  211. package/types/tectra-ng-ui-chip.d.ts.map +1 -0
  212. package/types/tectra-ng-ui-chips-input.d.ts +187 -0
  213. package/types/tectra-ng-ui-chips-input.d.ts.map +1 -0
  214. package/types/tectra-ng-ui-color-picker.d.ts +237 -0
  215. package/types/tectra-ng-ui-color-picker.d.ts.map +1 -0
  216. package/types/tectra-ng-ui-confirm.d.ts +80 -0
  217. package/types/tectra-ng-ui-confirm.d.ts.map +1 -0
  218. package/types/tectra-ng-ui-country-select.d.ts +235 -0
  219. package/types/tectra-ng-ui-country-select.d.ts.map +1 -0
  220. package/types/tectra-ng-ui-country.d.ts +105 -0
  221. package/types/tectra-ng-ui-country.d.ts.map +1 -0
  222. package/types/tectra-ng-ui-dialog.d.ts +453 -0
  223. package/types/tectra-ng-ui-dialog.d.ts.map +1 -0
  224. package/types/tectra-ng-ui-divider.d.ts +70 -0
  225. package/types/tectra-ng-ui-divider.d.ts.map +1 -0
  226. package/types/tectra-ng-ui-drawer.d.ts +188 -0
  227. package/types/tectra-ng-ui-drawer.d.ts.map +1 -0
  228. package/types/tectra-ng-ui-email-suggestion.d.ts +84 -0
  229. package/types/tectra-ng-ui-email-suggestion.d.ts.map +1 -0
  230. package/types/tectra-ng-ui-field.d.ts +139 -0
  231. package/types/tectra-ng-ui-field.d.ts.map +1 -0
  232. package/types/tectra-ng-ui-fieldset.d.ts +74 -0
  233. package/types/tectra-ng-ui-fieldset.d.ts.map +1 -0
  234. package/types/tectra-ng-ui-highlight-text.d.ts +75 -0
  235. package/types/tectra-ng-ui-highlight-text.d.ts.map +1 -0
  236. package/types/tectra-ng-ui-icon-field.d.ts +77 -0
  237. package/types/tectra-ng-ui-icon-field.d.ts.map +1 -0
  238. package/types/tectra-ng-ui-input-group.d.ts +18 -0
  239. package/types/tectra-ng-ui-input-group.d.ts.map +1 -0
  240. package/types/tectra-ng-ui-input-mask.d.ts +91 -0
  241. package/types/tectra-ng-ui-input-mask.d.ts.map +1 -0
  242. package/types/tectra-ng-ui-input-number.d.ts +326 -0
  243. package/types/tectra-ng-ui-input-number.d.ts.map +1 -0
  244. package/types/tectra-ng-ui-input-otp.d.ts +173 -0
  245. package/types/tectra-ng-ui-input-otp.d.ts.map +1 -0
  246. package/types/tectra-ng-ui-input.d.ts +113 -0
  247. package/types/tectra-ng-ui-input.d.ts.map +1 -0
  248. package/types/tectra-ng-ui-key-filter.d.ts +43 -0
  249. package/types/tectra-ng-ui-key-filter.d.ts.map +1 -0
  250. package/types/tectra-ng-ui-knob.d.ts +207 -0
  251. package/types/tectra-ng-ui-knob.d.ts.map +1 -0
  252. package/types/tectra-ng-ui-label.d.ts +53 -0
  253. package/types/tectra-ng-ui-label.d.ts.map +1 -0
  254. package/types/tectra-ng-ui-link.d.ts +223 -0
  255. package/types/tectra-ng-ui-link.d.ts.map +1 -0
  256. package/types/tectra-ng-ui-listbox.d.ts +131 -0
  257. package/types/tectra-ng-ui-listbox.d.ts.map +1 -0
  258. package/types/tectra-ng-ui-mention-textarea.d.ts +169 -0
  259. package/types/tectra-ng-ui-mention-textarea.d.ts.map +1 -0
  260. package/types/tectra-ng-ui-menu.d.ts +512 -0
  261. package/types/tectra-ng-ui-menu.d.ts.map +1 -0
  262. package/types/tectra-ng-ui-message.d.ts +390 -0
  263. package/types/tectra-ng-ui-message.d.ts.map +1 -0
  264. package/types/tectra-ng-ui-multiselect.d.ts +216 -0
  265. package/types/tectra-ng-ui-multiselect.d.ts.map +1 -0
  266. package/types/tectra-ng-ui-overlay-badge.d.ts +104 -0
  267. package/types/tectra-ng-ui-overlay-badge.d.ts.map +1 -0
  268. package/types/tectra-ng-ui-paginator.d.ts +293 -0
  269. package/types/tectra-ng-ui-paginator.d.ts.map +1 -0
  270. package/types/tectra-ng-ui-panel.d.ts +133 -0
  271. package/types/tectra-ng-ui-panel.d.ts.map +1 -0
  272. package/types/tectra-ng-ui-password-generator.d.ts +80 -0
  273. package/types/tectra-ng-ui-password-generator.d.ts.map +1 -0
  274. package/types/tectra-ng-ui-password.d.ts +271 -0
  275. package/types/tectra-ng-ui-password.d.ts.map +1 -0
  276. package/types/tectra-ng-ui-pill.d.ts +167 -0
  277. package/types/tectra-ng-ui-pill.d.ts.map +1 -0
  278. package/types/tectra-ng-ui-popover.d.ts +244 -0
  279. package/types/tectra-ng-ui-popover.d.ts.map +1 -0
  280. package/types/tectra-ng-ui-progress-bar.d.ts +151 -0
  281. package/types/tectra-ng-ui-progress-bar.d.ts.map +1 -0
  282. package/types/tectra-ng-ui-progress-spinner.d.ts +95 -0
  283. package/types/tectra-ng-ui-progress-spinner.d.ts.map +1 -0
  284. package/types/tectra-ng-ui-radio-button.d.ts +380 -0
  285. package/types/tectra-ng-ui-radio-button.d.ts.map +1 -0
  286. package/types/tectra-ng-ui-rating.d.ts +195 -0
  287. package/types/tectra-ng-ui-rating.d.ts.map +1 -0
  288. package/types/tectra-ng-ui-select.d.ts +761 -0
  289. package/types/tectra-ng-ui-select.d.ts.map +1 -0
  290. package/types/tectra-ng-ui-skeleton.d.ts +182 -0
  291. package/types/tectra-ng-ui-skeleton.d.ts.map +1 -0
  292. package/types/tectra-ng-ui-slider.d.ts +220 -0
  293. package/types/tectra-ng-ui-slider.d.ts.map +1 -0
  294. package/types/tectra-ng-ui-speed-dial.d.ts +175 -0
  295. package/types/tectra-ng-ui-speed-dial.d.ts.map +1 -0
  296. package/types/tectra-ng-ui-split-button.d.ts +139 -0
  297. package/types/tectra-ng-ui-split-button.d.ts.map +1 -0
  298. package/types/tectra-ng-ui-status-icon.d.ts +105 -0
  299. package/types/tectra-ng-ui-status-icon.d.ts.map +1 -0
  300. package/types/tectra-ng-ui-table.d.ts +1301 -0
  301. package/types/tectra-ng-ui-table.d.ts.map +1 -0
  302. package/types/tectra-ng-ui-tag.d.ts +157 -0
  303. package/types/tectra-ng-ui-tag.d.ts.map +1 -0
  304. package/types/tectra-ng-ui-textarea.d.ts +146 -0
  305. package/types/tectra-ng-ui-textarea.d.ts.map +1 -0
  306. package/types/tectra-ng-ui-toast.d.ts +268 -0
  307. package/types/tectra-ng-ui-toast.d.ts.map +1 -0
  308. package/types/tectra-ng-ui-toggle-button.d.ts +184 -0
  309. package/types/tectra-ng-ui-toggle-button.d.ts.map +1 -0
  310. package/types/tectra-ng-ui-toggle-switch.d.ts +226 -0
  311. package/types/tectra-ng-ui-toggle-switch.d.ts.map +1 -0
  312. package/types/tectra-ng-ui-tooltip.d.ts +275 -0
  313. package/types/tectra-ng-ui-tooltip.d.ts.map +1 -0
  314. package/types/tectra-ng-ui-tree-select.d.ts +339 -0
  315. package/types/tectra-ng-ui-tree-select.d.ts.map +1 -0
  316. package/types/tectra-ng-ui.d.ts +2 -0
  317. package/types/tectra-ng-ui.d.ts.map +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tectra-ng-ui-knob.mjs","names":[],"sources":["../../../../packages/ui/knob/src/knob-templates.directive.ts","../../../../packages/ui/knob/src/knob.component.ts","../../../../packages/ui/knob/src/knob.component.html"],"sourcesContent":["import { Directive, TemplateRef, inject } from '@angular/core';\nimport { TxKnobValueContext } from './knob.types';\n\n@Directive({ selector: 'ng-template[txKnobValue]' })\nexport class TxKnobValueTemplate {\n readonly templateRef = inject<TemplateRef<TxKnobValueContext>>(TemplateRef);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, computed, contentChild, forwardRef, inject, input, numberAttribute, output, signal, viewChild } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { TxPassThrough, TxPassThroughOptions, injectPassThrough, injectUnstyled } from '@tectra-ng/core/config';\nimport { TxFormControlBase, injectFieldInvalid } from '@tectra-ng/core/forms';\nimport { TxLocaleService } from '@tectra-ng/core/i18n';\nimport { optionalBoolean, optionalNumber } from '@tectra-ng/core/utils';\nimport { TectraDeepPartial, TectraKnobTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxKnobValueTemplate } from './knob-templates.directive';\nimport { TxKnobArc, TxKnobChangeEvent, TxKnobPart } from './knob.types';\n\nconst CENTER = 50;\n\n@Component({\n selector: 'tx-knob',\n imports: [NgTemplateOutlet],\n templateUrl: './knob.component.html',\n styleUrl: './knob.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TxKnob), multi: true }],\n host: {\n class: 'tx-knob',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-arc]': 'arc()',\n '[class.tx-knob--dragging]': 'isDragging()',\n '[class.tx-knob--disabled]': 'isDisabled()',\n '[class.tx-knob--readonly]': 'readonly()',\n '[class.tx-knob--invalid]': 'isInvalid()',\n },\n})\nexport class TxKnob extends TxFormControlBase<number> {\n private localeService = inject(TxLocaleService);\n private lastFraction = 0;\n\n readonly min = input<number, unknown>(0, { transform: numberAttribute });\n readonly max = input<number, unknown>(100, { transform: numberAttribute });\n readonly step = input<number, unknown>(1, { transform: numberAttribute });\n readonly limit = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly size = input<number, unknown>(100, { transform: numberAttribute });\n readonly strokeWidth = input<number, unknown>(12, { transform: numberAttribute });\n readonly arc = input<TxKnobArc>('dial');\n readonly showValue = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly showHandle = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly valueTemplate = input<string>('{value}');\n readonly invalid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n // eslint-disable-next-line @angular-eslint/no-input-rename\n readonly disabledInput = input<boolean, unknown>(false, { alias: 'disabled', transform: booleanAttribute });\n readonly readonly = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly ariaLabelledBy = input<string | undefined>(undefined);\n readonly tabindex = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly dt = input<TectraDeepPartial<TectraKnobTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxKnobPart, TxKnob> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly changed = output<TxKnobChangeEvent>();\n\n readonly template = contentChild(TxKnobValueTemplate);\n readonly svg = viewChild.required<ElementRef<SVGSVGElement>>('svg');\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly isInvalid = injectFieldInvalid(this.invalid);\n readonly passThrough = injectPassThrough('knob', this, this.pt, this.ptOptions);\n\n readonly isDragging = signal(false);\n readonly isDisabled = computed(() => this.disabled() || this.disabledInput());\n readonly isEditable = computed(() => !this.isDisabled() && !this.readonly());\n readonly ceiling = computed(() => Math.min(this.max(), this.limit() ?? this.max()));\n readonly current = computed(() => this.clamp(this.value() ?? this.min()));\n readonly radius = computed(() => CENTER - this.strokeWidth() / 2 - (this.hasHandle() ? 3 : 0));\n readonly sweep = computed(() => (this.arc() === 'ring' ? 360 : 270));\n readonly start = computed(() => (this.arc() === 'ring' ? -90 : 135));\n readonly span = computed(() => (this.sweep() / 360) * 100);\n readonly hasHandle = computed(() => this.showHandle() ?? this.arc() === 'ring');\n readonly fraction = computed(() => this.fractionOf(this.current()));\n readonly limitFraction = computed(() => (this.limit() === undefined ? 1 : this.fractionOf(this.ceiling())));\n readonly rotate = computed(() => `rotate(${this.start()} ${CENTER} ${CENTER})`);\n readonly valueDash = computed(() => `${this.fraction() * this.span()} 100`);\n readonly rangeDash = computed(() => `${this.span()} 100`);\n readonly limitDash = computed(() => `0 ${this.limitFraction() * this.span()} ${(1 - this.limitFraction()) * this.span()} 100`);\n readonly handle = computed(() => this.point(this.fraction()));\n readonly text = computed(() => this.valueTemplate().replace('{value}', this.localeService.formatNumber(this.current())));\n readonly hostStyle = computed(() => ({\n ...toStyleObject(this.dt(), '--tx-knob'),\n width: `${this.size()}px`,\n height: `${this.size()}px`,\n ...this.passThrough().root?.style,\n }));\n\n readonly center = CENTER;\n\n onPointerDown(event: PointerEvent): void {\n if (!this.isEditable() || event.button !== 0) {\n return;\n }\n event.preventDefault();\n (event.currentTarget as Element).setPointerCapture?.(event.pointerId);\n (event.currentTarget as HTMLElement).focus();\n this.isDragging.set(true);\n this.lastFraction = this.fraction();\n this.moveTo(event, true);\n }\n\n onPointerMove(event: PointerEvent): void {\n if (this.isDragging()) {\n this.moveTo(event, false);\n }\n }\n\n onPointerUp(): void {\n if (this.isDragging()) {\n this.isDragging.set(false);\n this.markTouched();\n }\n }\n\n onKeydown(event: KeyboardEvent): void {\n if (!this.isEditable()) {\n return;\n }\n const value = this.current();\n const step = this.step();\n const moves: Record<string, number> = {\n ArrowRight: value + step,\n ArrowUp: value + step,\n ArrowLeft: value - step,\n ArrowDown: value - step,\n PageUp: value + step * 10,\n PageDown: value - step * 10,\n Home: this.min(),\n End: this.ceiling(),\n };\n if (event.key in moves) {\n event.preventDefault();\n this.commit(moves[event.key], event);\n }\n }\n\n onBlur(): void {\n this.markTouched();\n }\n\n private moveTo(event: PointerEvent, first: boolean): void {\n const rect = this.svg().nativeElement.getBoundingClientRect();\n if (!rect.width) {\n return;\n }\n const x = ((event.clientX - rect.left) / rect.width) * 100 - CENTER;\n const y = ((event.clientY - rect.top) / rect.height) * 100 - CENTER;\n const angle = (Math.atan2(y, x) * 180) / Math.PI;\n let relative = (angle - this.start() + 720) % 360;\n if (relative > this.sweep()) {\n relative = relative > this.sweep() + (360 - this.sweep()) / 2 ? 0 : this.sweep();\n }\n let fraction = relative / this.sweep();\n if (!first && this.arc() === 'ring' && Math.abs(fraction - this.lastFraction) > 0.5) {\n fraction = this.lastFraction > 0.5 ? 1 : 0;\n }\n this.lastFraction = fraction;\n this.commit(this.min() + fraction * (this.max() - this.min()), event);\n }\n\n private commit(raw: number, event: Event): void {\n const step = this.step();\n const snapped = Math.round((raw - this.min()) / step) * step + this.min();\n const value = Number(this.clamp(snapped).toFixed(decimals(step)));\n if (value !== this.value()) {\n this.updateValue(value);\n this.changed.emit({ value, originalEvent: event });\n }\n }\n\n private clamp(value: number): number {\n return Math.min(this.ceiling(), Math.max(this.min(), value));\n }\n\n private fractionOf(value: number): number {\n const range = this.max() - this.min();\n return range > 0 ? (value - this.min()) / range : 0;\n }\n\n private point(fraction: number): { x: number; y: number } {\n const angle = ((this.start() + fraction * this.sweep()) * Math.PI) / 180;\n return { x: CENTER + this.radius() * Math.cos(angle), y: CENTER + this.radius() * Math.sin(angle) };\n }\n}\n\nfunction decimals(value: number): number {\n const text = String(value);\n return text.includes('.') ? text.split('.')[1].length : 0;\n}\n","<div\n class=\"tx-knob__control\"\n role=\"slider\"\n [attr.tabindex]=\"isDisabled() ? -1 : (tabindex() ?? 0)\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuemax]=\"ceiling()\"\n [attr.aria-valuenow]=\"current()\"\n [attr.aria-valuetext]=\"text()\"\n [attr.aria-readonly]=\"readonly() || null\"\n [attr.aria-disabled]=\"isDisabled() || null\"\n [attr.aria-invalid]=\"isInvalid() || null\"\n (pointerdown)=\"onPointerDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp()\"\n (pointercancel)=\"onPointerUp()\"\n (keydown)=\"onKeydown($event)\"\n (blur)=\"onBlur()\"\n>\n <svg #svg class=\"tx-knob__svg\" viewBox=\"0 0 100 100\" aria-hidden=\"true\" [class]=\"passThrough().svg?.class\" [style]=\"passThrough().svg?.style\">\n <circle\n class=\"tx-knob__range\"\n pathLength=\"100\"\n fill=\"none\"\n [class]=\"passThrough().range?.class\"\n [style]=\"passThrough().range?.style\"\n [attr.cx]=\"center\"\n [attr.cy]=\"center\"\n [attr.r]=\"radius()\"\n [attr.stroke-width]=\"strokeWidth()\"\n [attr.stroke-dasharray]=\"rangeDash()\"\n [attr.transform]=\"rotate()\"\n />\n @if (limit() !== undefined && limitFraction() < 1) {\n <circle\n class=\"tx-knob__limit\"\n pathLength=\"100\"\n fill=\"none\"\n [attr.cx]=\"center\"\n [attr.cy]=\"center\"\n [attr.r]=\"radius()\"\n [attr.stroke-width]=\"strokeWidth()\"\n [attr.stroke-dasharray]=\"limitDash()\"\n [attr.transform]=\"rotate()\"\n />\n }\n @if (fraction() > 0) {\n <circle\n class=\"tx-knob__value\"\n pathLength=\"100\"\n fill=\"none\"\n [class]=\"passThrough().value?.class\"\n [style]=\"passThrough().value?.style\"\n [attr.cx]=\"center\"\n [attr.cy]=\"center\"\n [attr.r]=\"radius()\"\n [attr.stroke-width]=\"strokeWidth()\"\n [attr.stroke-dasharray]=\"valueDash()\"\n [attr.transform]=\"rotate()\"\n />\n }\n @if (hasHandle()) {\n <circle\n class=\"tx-knob__handle\"\n [class]=\"passThrough().handle?.class\"\n [style]=\"passThrough().handle?.style\"\n [attr.cx]=\"handle().x\"\n [attr.cy]=\"handle().y\"\n [attr.r]=\"strokeWidth() / 2 + 2\"\n />\n }\n </svg>\n @if (showValue()) {\n <span class=\"tx-knob__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">\n @if (template(); as custom) {\n <ng-container [ngTemplateOutlet]=\"custom.templateRef\" [ngTemplateOutletContext]=\"{ $implicit: current() }\" />\n } @else {\n {{ text() }}\n }\n </span>\n }\n</div>\n"],"mappings":";;;;;;;;;AAIA,IAAa,sBAAb,MAAa,oBAAmB;CACrB,cAAc,OAAwC,WAAW;CAD/D,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAmB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;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AA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,IAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,IAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,WAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,SAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAAA,mBAAmB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,KAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CACS,OAAK,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AAiIpE,SAAS,SAAS,OAAa;CAC7B,MAAM,OAAO,OAAO,KAAK;CACzB,OAAO,KAAK,SAAS,GAAG,IAAI,KAAK,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,SAAS;AAC1D"}
@@ -0,0 +1,271 @@
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, booleanAttribute, input } from "@angular/core";
3
+ import { TxIcon } from "@tectra-ng/icons";
4
+ var TxLabel = class TxLabel {
5
+ for = input(void 0, ...ngDevMode ? [{ debugName: "for" }] : /* istanbul ignore next */ []);
6
+ required = input(false, {
7
+ ...ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {},
8
+ transform: booleanAttribute
9
+ });
10
+ colon = input(false, {
11
+ ...ngDevMode ? { debugName: "colon" } : /* istanbul ignore next */ {},
12
+ transform: booleanAttribute
13
+ });
14
+ subtle = input(false, {
15
+ ...ngDevMode ? { debugName: "subtle" } : /* istanbul ignore next */ {},
16
+ transform: booleanAttribute
17
+ });
18
+ tooltip = input(void 0, ...ngDevMode ? [{ debugName: "tooltip" }] : /* istanbul ignore next */ []);
19
+ static ɵfac = i0.ɵɵngDeclareFactory({
20
+ minVersion: "12.0.0",
21
+ version: "22.2.3",
22
+ ngImport: i0,
23
+ type: TxLabel,
24
+ deps: [],
25
+ target: i0.ɵɵFactoryTarget.Component
26
+ });
27
+ static ɵcmp = i0.ɵɵngDeclareComponent({
28
+ minVersion: "17.0.0",
29
+ version: "22.2.3",
30
+ type: TxLabel,
31
+ isStandalone: true,
32
+ selector: "tx-label",
33
+ inputs: {
34
+ for: {
35
+ classPropertyName: "for",
36
+ publicName: "for",
37
+ isSignal: true,
38
+ isRequired: false,
39
+ transformFunction: null
40
+ },
41
+ required: {
42
+ classPropertyName: "required",
43
+ publicName: "required",
44
+ isSignal: true,
45
+ isRequired: false,
46
+ transformFunction: null
47
+ },
48
+ colon: {
49
+ classPropertyName: "colon",
50
+ publicName: "colon",
51
+ isSignal: true,
52
+ isRequired: false,
53
+ transformFunction: null
54
+ },
55
+ subtle: {
56
+ classPropertyName: "subtle",
57
+ publicName: "subtle",
58
+ isSignal: true,
59
+ isRequired: false,
60
+ transformFunction: null
61
+ },
62
+ tooltip: {
63
+ classPropertyName: "tooltip",
64
+ publicName: "tooltip",
65
+ isSignal: true,
66
+ isRequired: false,
67
+ transformFunction: null
68
+ }
69
+ },
70
+ host: {
71
+ properties: { "class.tx-label--subtle": "subtle()" },
72
+ classAttribute: "tx-label"
73
+ },
74
+ ngImport: i0,
75
+ template: `
76
+ <label class="tx-label__text" [attr.for]="for() ?? null">
77
+ <ng-content />@if (colon()) {:}
78
+ @if (required()) {
79
+ <span class="tx-label__required" aria-hidden="true">*</span>
80
+ }
81
+ @if (tooltip(); as tooltip) {
82
+ <span class="tx-label__hint" role="img" tabindex="0" [title]="tooltip" [attr.aria-label]="tooltip"><tx-icon [name]="'info-circle'" /></span>
83
+ }
84
+ </label>
85
+ `,
86
+ isInline: true,
87
+ styles: [":host{display:block;margin-bottom:var(--tx-label-margin-bottom)}.tx-label__text{display:inline-flex;align-items:center;gap:var(--tx-label-gap);color:var(--tx-label-color);font-family:var(--tx-font-family);font-size:var(--tx-label-font-size);font-weight:var(--tx-label-font-weight);line-height:1.3}:host(.tx-label--subtle) .tx-label__text{color:var(--tx-label-subtle-color);font-size:var(--tx-label-subtle-font-size);font-weight:var(--tx-label-subtle-font-weight)}.tx-label__required{color:var(--tx-label-required-color)}.tx-label__hint{display:inline-flex;color:var(--tx-label-hint-color);font-size:.9em;cursor:help}.tx-label__hint:focus-visible{border-radius:var(--tx-radius-xs);outline:2px solid var(--tx-focus-ring-color);outline-offset:1px}\n"],
88
+ dependencies: [{
89
+ kind: "component",
90
+ type: TxIcon,
91
+ selector: "tx-icon",
92
+ inputs: ["name"]
93
+ }],
94
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
95
+ });
96
+ };
97
+ i0.ɵɵngDeclareClassMetadata({
98
+ minVersion: "12.0.0",
99
+ version: "22.2.3",
100
+ ngImport: i0,
101
+ type: TxLabel,
102
+ decorators: [{
103
+ type: Component,
104
+ args: [{
105
+ selector: "tx-label",
106
+ imports: [TxIcon],
107
+ template: `
108
+ <label class="tx-label__text" [attr.for]="for() ?? null">
109
+ <ng-content />@if (colon()) {:}
110
+ @if (required()) {
111
+ <span class="tx-label__required" aria-hidden="true">*</span>
112
+ }
113
+ @if (tooltip(); as tooltip) {
114
+ <span class="tx-label__hint" role="img" tabindex="0" [title]="tooltip" [attr.aria-label]="tooltip"><tx-icon [name]="'info-circle'" /></span>
115
+ }
116
+ </label>
117
+ `,
118
+ changeDetection: ChangeDetectionStrategy.OnPush,
119
+ host: {
120
+ class: "tx-label",
121
+ "[class.tx-label--subtle]": "subtle()"
122
+ },
123
+ styles: [":host{display:block;margin-bottom:var(--tx-label-margin-bottom)}.tx-label__text{display:inline-flex;align-items:center;gap:var(--tx-label-gap);color:var(--tx-label-color);font-family:var(--tx-font-family);font-size:var(--tx-label-font-size);font-weight:var(--tx-label-font-weight);line-height:1.3}:host(.tx-label--subtle) .tx-label__text{color:var(--tx-label-subtle-color);font-size:var(--tx-label-subtle-font-size);font-weight:var(--tx-label-subtle-font-weight)}.tx-label__required{color:var(--tx-label-required-color)}.tx-label__hint{display:inline-flex;color:var(--tx-label-hint-color);font-size:.9em;cursor:help}.tx-label__hint:focus-visible{border-radius:var(--tx-radius-xs);outline:2px solid var(--tx-focus-ring-color);outline-offset:1px}\n"]
124
+ }]
125
+ }],
126
+ propDecorators: {
127
+ for: [{
128
+ type: i0.Input,
129
+ args: [{
130
+ isSignal: true,
131
+ alias: "for",
132
+ required: false
133
+ }]
134
+ }],
135
+ required: [{
136
+ type: i0.Input,
137
+ args: [{
138
+ isSignal: true,
139
+ alias: "required",
140
+ required: false
141
+ }]
142
+ }],
143
+ colon: [{
144
+ type: i0.Input,
145
+ args: [{
146
+ isSignal: true,
147
+ alias: "colon",
148
+ required: false
149
+ }]
150
+ }],
151
+ subtle: [{
152
+ type: i0.Input,
153
+ args: [{
154
+ isSignal: true,
155
+ alias: "subtle",
156
+ required: false
157
+ }]
158
+ }],
159
+ tooltip: [{
160
+ type: i0.Input,
161
+ args: [{
162
+ isSignal: true,
163
+ alias: "tooltip",
164
+ required: false
165
+ }]
166
+ }]
167
+ }
168
+ });
169
+ var TxFloatLabel = class TxFloatLabel {
170
+ variant = input("over", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
171
+ static ɵfac = i0.ɵɵngDeclareFactory({
172
+ minVersion: "12.0.0",
173
+ version: "22.2.3",
174
+ ngImport: i0,
175
+ type: TxFloatLabel,
176
+ deps: [],
177
+ target: i0.ɵɵFactoryTarget.Component
178
+ });
179
+ static ɵcmp = i0.ɵɵngDeclareComponent({
180
+ minVersion: "17.1.0",
181
+ version: "22.2.3",
182
+ type: TxFloatLabel,
183
+ isStandalone: true,
184
+ selector: "tx-float-label",
185
+ inputs: { variant: {
186
+ classPropertyName: "variant",
187
+ publicName: "variant",
188
+ isSignal: true,
189
+ isRequired: false,
190
+ transformFunction: null
191
+ } },
192
+ host: {
193
+ properties: { "attr.data-variant": "variant()" },
194
+ classAttribute: "tx-float-label"
195
+ },
196
+ ngImport: i0,
197
+ template: "<ng-content />",
198
+ isInline: true,
199
+ styles: [":host{position:relative;display:flex;flex-direction:column;align-items:flex-start;align-self:start}:host([data-variant=in]){--tx-field-padding-top: var(--tx-float-label-in-input-padding-top);--tx-field-padding-bottom: var(--tx-float-label-in-input-padding-bottom)}:host ::ng-deep>label{position:absolute;top:50%;left:var(--tx-float-label-position-x);z-index:1;max-width:calc(100% - 2 * var(--tx-float-label-position-x));overflow:hidden;margin:0;color:var(--tx-float-label-color);font-family:var(--tx-font-family);font-size:var(--tx-float-label-font-size);font-weight:var(--tx-float-label-font-weight);line-height:1.2;text-overflow:ellipsis;white-space:nowrap;transform:translateY(-50%);transition-property:top,transform,font-size,color,background-color,padding;transition-duration:var(--tx-float-label-transition-duration);pointer-events:none}:host ::ng-deep>textarea~label{top:var(--tx-float-label-position-y);transform:none}:host ::ng-deep>.tx-input:not(:focus)::placeholder,:host ::ng-deep>tx-password:not(:focus-within) .tx-input::placeholder,:host ::ng-deep>tx-input-number:not(:focus-within) .tx-input::placeholder,:host ::ng-deep>tx-select:not(.tx-select--open) .tx-select__value--placeholder,:host ::ng-deep>tx-multiselect:not(.tx-multiselect--open) .tx-select__value--placeholder,:host ::ng-deep>tx-tree-select:not(.tx-tree-select--open) .tx-select__value--placeholder,:host ::ng-deep>tx-cascade-select:not(.tx-cascade-select--open) .tx-select__value--placeholder,:host ::ng-deep>tx-select:not(.tx-select--open,:focus-within) .tx-select__input::placeholder,:host ::ng-deep>tx-autocomplete:not(:focus-within) .tx-select__input::placeholder,:host ::ng-deep>tx-chips-input:not(:focus-within) .tx-chips-input__input::placeholder{color:transparent}:host ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within)~label{font-size:var(--tx-float-label-active-font-size);font-weight:var(--tx-float-label-active-font-weight)}:host([data-variant=over]) ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within)~label{top:var(--tx-float-label-over-active-top);color:var(--tx-float-label-active-color);transform:none}:host([data-variant=in]) ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within)~label{top:var(--tx-float-label-in-active-top);transform:none}:host([data-variant=on]) ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within)~label{top:0;padding:var(--tx-float-label-on-active-padding);border-radius:var(--tx-float-label-on-border-radius);background:var(--tx-float-label-on-active-background);transform:translateY(-50%)}:host ::ng-deep>:is(.tx-input:focus,tx-select.tx-select--open,tx-select:focus-within,tx-multiselect.tx-multiselect--open,tx-multiselect:focus-within,tx-autocomplete:focus-within,tx-chips-input:focus-within,tx-tree-select:focus-within,tx-cascade-select:focus-within,tx-password:focus-within,tx-input-number:focus-within)~label{color:var(--tx-float-label-focus-color)}:host ::ng-deep>:is(.tx-input--invalid,tx-select.tx-select--invalid,tx-multiselect.tx-multiselect--invalid,tx-autocomplete.tx-autocomplete--invalid,tx-chips-input.tx-chips-input--invalid,tx-tree-select.tx-tree-select--invalid,tx-cascade-select.tx-cascade-select--invalid,tx-password.tx-password--invalid,tx-input-number.tx-input-number--invalid)~label{color:var(--tx-float-label-invalid-color)}\n"],
200
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
201
+ });
202
+ };
203
+ i0.ɵɵngDeclareClassMetadata({
204
+ minVersion: "12.0.0",
205
+ version: "22.2.3",
206
+ ngImport: i0,
207
+ type: TxFloatLabel,
208
+ decorators: [{
209
+ type: Component,
210
+ args: [{
211
+ selector: "tx-float-label",
212
+ template: "<ng-content />",
213
+ changeDetection: ChangeDetectionStrategy.OnPush,
214
+ host: {
215
+ class: "tx-float-label",
216
+ "[attr.data-variant]": "variant()"
217
+ },
218
+ styles: [":host{position:relative;display:flex;flex-direction:column;align-items:flex-start;align-self:start}:host([data-variant=in]){--tx-field-padding-top: var(--tx-float-label-in-input-padding-top);--tx-field-padding-bottom: var(--tx-float-label-in-input-padding-bottom)}:host ::ng-deep>label{position:absolute;top:50%;left:var(--tx-float-label-position-x);z-index:1;max-width:calc(100% - 2 * var(--tx-float-label-position-x));overflow:hidden;margin:0;color:var(--tx-float-label-color);font-family:var(--tx-font-family);font-size:var(--tx-float-label-font-size);font-weight:var(--tx-float-label-font-weight);line-height:1.2;text-overflow:ellipsis;white-space:nowrap;transform:translateY(-50%);transition-property:top,transform,font-size,color,background-color,padding;transition-duration:var(--tx-float-label-transition-duration);pointer-events:none}:host ::ng-deep>textarea~label{top:var(--tx-float-label-position-y);transform:none}:host ::ng-deep>.tx-input:not(:focus)::placeholder,:host ::ng-deep>tx-password:not(:focus-within) .tx-input::placeholder,:host ::ng-deep>tx-input-number:not(:focus-within) .tx-input::placeholder,:host ::ng-deep>tx-select:not(.tx-select--open) .tx-select__value--placeholder,:host ::ng-deep>tx-multiselect:not(.tx-multiselect--open) .tx-select__value--placeholder,:host ::ng-deep>tx-tree-select:not(.tx-tree-select--open) .tx-select__value--placeholder,:host ::ng-deep>tx-cascade-select:not(.tx-cascade-select--open) .tx-select__value--placeholder,:host ::ng-deep>tx-select:not(.tx-select--open,:focus-within) .tx-select__input::placeholder,:host ::ng-deep>tx-autocomplete:not(:focus-within) .tx-select__input::placeholder,:host ::ng-deep>tx-chips-input:not(:focus-within) .tx-chips-input__input::placeholder{color:transparent}:host ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within)~label{font-size:var(--tx-float-label-active-font-size);font-weight:var(--tx-float-label-active-font-weight)}:host([data-variant=over]) ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within)~label{top:var(--tx-float-label-over-active-top);color:var(--tx-float-label-active-color);transform:none}:host([data-variant=in]) ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within)~label{top:var(--tx-float-label-in-active-top);transform:none}:host([data-variant=on]) ::ng-deep>:is(.tx-input--filled,.tx-input:focus,tx-select.tx-select--filled,tx-select.tx-select--open,tx-multiselect.tx-multiselect--filled,tx-multiselect.tx-multiselect--open,tx-autocomplete.tx-autocomplete--filled,tx-autocomplete:focus-within,tx-chips-input.tx-chips-input--filled,tx-chips-input:focus-within,tx-tree-select.tx-tree-select--filled,tx-tree-select.tx-tree-select--open,tx-cascade-select.tx-cascade-select--filled,tx-cascade-select.tx-cascade-select--open,tx-password.tx-password--filled,tx-password:focus-within,tx-input-number.tx-input-number--filled,tx-input-number:focus-within)~label{top:0;padding:var(--tx-float-label-on-active-padding);border-radius:var(--tx-float-label-on-border-radius);background:var(--tx-float-label-on-active-background);transform:translateY(-50%)}:host ::ng-deep>:is(.tx-input:focus,tx-select.tx-select--open,tx-select:focus-within,tx-multiselect.tx-multiselect--open,tx-multiselect:focus-within,tx-autocomplete:focus-within,tx-chips-input:focus-within,tx-tree-select:focus-within,tx-cascade-select:focus-within,tx-password:focus-within,tx-input-number:focus-within)~label{color:var(--tx-float-label-focus-color)}:host ::ng-deep>:is(.tx-input--invalid,tx-select.tx-select--invalid,tx-multiselect.tx-multiselect--invalid,tx-autocomplete.tx-autocomplete--invalid,tx-chips-input.tx-chips-input--invalid,tx-tree-select.tx-tree-select--invalid,tx-cascade-select.tx-cascade-select--invalid,tx-password.tx-password--invalid,tx-input-number.tx-input-number--invalid)~label{color:var(--tx-float-label-invalid-color)}\n"]
219
+ }]
220
+ }],
221
+ propDecorators: { variant: [{
222
+ type: i0.Input,
223
+ args: [{
224
+ isSignal: true,
225
+ alias: "variant",
226
+ required: false
227
+ }]
228
+ }] }
229
+ });
230
+ var TxIftaLabel = class TxIftaLabel {
231
+ static ɵfac = i0.ɵɵngDeclareFactory({
232
+ minVersion: "12.0.0",
233
+ version: "22.2.3",
234
+ ngImport: i0,
235
+ type: TxIftaLabel,
236
+ deps: [],
237
+ target: i0.ɵɵFactoryTarget.Component
238
+ });
239
+ static ɵcmp = i0.ɵɵngDeclareComponent({
240
+ minVersion: "14.0.0",
241
+ version: "22.2.3",
242
+ type: TxIftaLabel,
243
+ isStandalone: true,
244
+ selector: "tx-ifta-label",
245
+ host: { classAttribute: "tx-ifta-label" },
246
+ ngImport: i0,
247
+ template: "<ng-content />",
248
+ isInline: true,
249
+ styles: [":host{--tx-field-padding-top: var(--tx-ifta-label-input-padding-top);--tx-field-padding-bottom: var(--tx-ifta-label-input-padding-bottom);position:relative;display:flex;flex-direction:column;align-items:flex-start;align-self:start}:host ::ng-deep>label{position:absolute;top:var(--tx-ifta-label-top);left:var(--tx-ifta-label-position-x);z-index:1;margin:0;color:var(--tx-ifta-label-color);font-family:var(--tx-font-family);font-size:var(--tx-ifta-label-font-size);font-weight:var(--tx-ifta-label-font-weight);line-height:1.2;transition:color var(--tx-ifta-label-transition-duration);pointer-events:none}:host ::ng-deep>:is(.tx-input:focus,tx-select.tx-select--open,tx-select:focus-within,tx-multiselect.tx-multiselect--open,tx-multiselect:focus-within,tx-autocomplete:focus-within)~label{color:var(--tx-ifta-label-focus-color)}:host ::ng-deep>:is(.tx-input--invalid,tx-select.tx-select--invalid,tx-multiselect.tx-multiselect--invalid,tx-autocomplete.tx-autocomplete--invalid)~label{color:var(--tx-ifta-label-invalid-color)}\n"],
250
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
251
+ });
252
+ };
253
+ i0.ɵɵngDeclareClassMetadata({
254
+ minVersion: "12.0.0",
255
+ version: "22.2.3",
256
+ ngImport: i0,
257
+ type: TxIftaLabel,
258
+ decorators: [{
259
+ type: Component,
260
+ args: [{
261
+ selector: "tx-ifta-label",
262
+ template: "<ng-content />",
263
+ changeDetection: ChangeDetectionStrategy.OnPush,
264
+ host: { class: "tx-ifta-label" },
265
+ styles: [":host{--tx-field-padding-top: var(--tx-ifta-label-input-padding-top);--tx-field-padding-bottom: var(--tx-ifta-label-input-padding-bottom);position:relative;display:flex;flex-direction:column;align-items:flex-start;align-self:start}:host ::ng-deep>label{position:absolute;top:var(--tx-ifta-label-top);left:var(--tx-ifta-label-position-x);z-index:1;margin:0;color:var(--tx-ifta-label-color);font-family:var(--tx-font-family);font-size:var(--tx-ifta-label-font-size);font-weight:var(--tx-ifta-label-font-weight);line-height:1.2;transition:color var(--tx-ifta-label-transition-duration);pointer-events:none}:host ::ng-deep>:is(.tx-input:focus,tx-select.tx-select--open,tx-select:focus-within,tx-multiselect.tx-multiselect--open,tx-multiselect:focus-within,tx-autocomplete:focus-within)~label{color:var(--tx-ifta-label-focus-color)}:host ::ng-deep>:is(.tx-input--invalid,tx-select.tx-select--invalid,tx-multiselect.tx-multiselect--invalid,tx-autocomplete.tx-autocomplete--invalid)~label{color:var(--tx-ifta-label-invalid-color)}\n"]
266
+ }]
267
+ }]
268
+ });
269
+ export { TxFloatLabel, TxIftaLabel, TxLabel };
270
+
271
+ //# sourceMappingURL=tectra-ng-ui-label.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tectra-ng-ui-label.mjs","names":[],"sources":["../../../../packages/ui/label/src/label.component.ts","../../../../packages/ui/label/src/float-label.component.ts","../../../../packages/ui/label/src/ifta-label.component.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, booleanAttribute, input } from '@angular/core';\nimport { TxIcon } from '@tectra-ng/icons';\n\n@Component({\n selector: 'tx-label',\n imports: [TxIcon],\n template: `\n <label class=\"tx-label__text\" [attr.for]=\"for() ?? null\">\n <ng-content />@if (colon()) {:}\n @if (required()) {\n <span class=\"tx-label__required\" aria-hidden=\"true\">*</span>\n }\n @if (tooltip(); as tooltip) {\n <span class=\"tx-label__hint\" role=\"img\" tabindex=\"0\" [title]=\"tooltip\" [attr.aria-label]=\"tooltip\"><tx-icon [name]=\"'info-circle'\" /></span>\n }\n </label>\n `,\n styleUrl: './label.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'tx-label', '[class.tx-label--subtle]': 'subtle()' },\n})\nexport class TxLabel {\n readonly for = input<string | undefined>(undefined);\n readonly required = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly colon = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly subtle = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly tooltip = input<string | undefined>(undefined);\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { TxFloatLabelVariant } from './label.types';\n\n@Component({\n selector: 'tx-float-label',\n template: '<ng-content />',\n styleUrl: './float-label.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'tx-float-label', '[attr.data-variant]': 'variant()' },\n})\nexport class TxFloatLabel {\n readonly variant = input<TxFloatLabelVariant>('over');\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'tx-ifta-label',\n template: '<ng-content />',\n styleUrl: './ifta-label.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'tx-ifta-label' },\n})\nexport class TxIftaLabel {}\n"],"mappings":";;;AAqBA,IAAa,UAAb,MAAa,QAAO;CACT,MAAM,MAA0B,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,MAAA,CAAA,+BAAA,CAAA,CAAA;CAC1C,WAAW,MAAwB,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,WAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACvE,QAAQ,MAAwB,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,QAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACpE,SAAS,MAAwB,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,SAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACrE,UAAU,MAA0B,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CAL5C,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAO,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAP,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAO,cAAA;EAAA,UAAA;EAAA,QAAA;GAAA,KAAA;IAAA,mBAAA;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