@tectra-ng/ui 0.0.0-stage → 0.1.1

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,668 @@
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, DOCUMENT, DestroyRef, Directive, ElementRef, Injectable, InjectionToken, TemplateRef, afterNextRender, afterRenderEffect, booleanAttribute, computed, contentChild, inject, input, numberAttribute, signal } from "@angular/core";
3
+ import { TxAnnouncer } from "@tectra-ng/core/a11y";
4
+ import { Subject } from "rxjs";
5
+ import { NgTemplateOutlet } from "@angular/common";
6
+ import { injectPassThrough, injectUnstyled } from "@tectra-ng/core/config";
7
+ import { injectTranslations } from "@tectra-ng/core/i18n";
8
+ import { optionalBoolean } from "@tectra-ng/core/utils";
9
+ import { TxIcon, TxIconRegistry } from "@tectra-ng/icons";
10
+ import { toStyleObject } from "@tectra-ng/themes";
11
+ import { TxProgressSpinner } from "@tectra-ng/ui/progress-spinner";
12
+ const TX_TOAST_OPTIONS = new InjectionToken("TX_TOAST_OPTIONS");
13
+ function provideTxToast(options) {
14
+ return {
15
+ provide: TX_TOAST_OPTIONS,
16
+ useValue: options
17
+ };
18
+ }
19
+ const DEFAULT_LIFE = 3e3;
20
+ var TxToastService = class TxToastService {
21
+ announcer = inject(TxAnnouncer);
22
+ defaults = inject(TX_TOAST_OPTIONS, { optional: true }) ?? {};
23
+ entries = /* @__PURE__ */ new Map();
24
+ nextId = 1;
25
+ messages = signal([], ...ngDevMode ? [{ debugName: "messages" }] : /* istanbul ignore next */ []);
26
+ toasts = this.messages.asReadonly();
27
+ show(options) {
28
+ const id = this.nextId++;
29
+ const closed = new Subject();
30
+ const ref = {
31
+ id,
32
+ closed: closed.asObservable(),
33
+ close: () => this.close(id, "api"),
34
+ update: (patch) => this.update(id, patch)
35
+ };
36
+ const message = this.build(id, options, 0);
37
+ const entry = {
38
+ options,
39
+ message,
40
+ closed,
41
+ ref,
42
+ timer: void 0,
43
+ startedAt: 0,
44
+ remaining: message.life,
45
+ pauses: 0
46
+ };
47
+ this.entries.set(id, entry);
48
+ this.messages.update((list) => [...list, message]);
49
+ this.announce(message);
50
+ this.schedule(entry);
51
+ return ref;
52
+ }
53
+ success(text, options = {}) {
54
+ return this.show({
55
+ ...options,
56
+ severity: "success",
57
+ text
58
+ });
59
+ }
60
+ info(text, options = {}) {
61
+ return this.show({
62
+ ...options,
63
+ severity: "info",
64
+ text
65
+ });
66
+ }
67
+ warn(text, options = {}) {
68
+ return this.show({
69
+ ...options,
70
+ severity: "warn",
71
+ text
72
+ });
73
+ }
74
+ error(text, options = {}) {
75
+ return this.show({
76
+ ...options,
77
+ severity: "danger",
78
+ text
79
+ });
80
+ }
81
+ loading(text, options = {}) {
82
+ return this.show({
83
+ ...options,
84
+ loading: true,
85
+ text
86
+ });
87
+ }
88
+ close(id, reason = "api") {
89
+ const entry = this.entries.get(id);
90
+ if (!entry) return;
91
+ clearTimeout(entry.timer);
92
+ this.entries.delete(id);
93
+ this.messages.update((list) => list.filter((message) => message.id !== id));
94
+ entry.closed.next(reason);
95
+ entry.closed.complete();
96
+ }
97
+ clear(key) {
98
+ for (const entry of [...this.entries.values()]) if (key === void 0 || entry.message.key === key) this.close(entry.message.id, "clear");
99
+ }
100
+ update(id, patch) {
101
+ const entry = this.entries.get(id);
102
+ if (!entry) return;
103
+ const settled = patch.severity !== void 0 && patch.loading === void 0 ? { loading: false } : {};
104
+ entry.options = {
105
+ ...entry.options,
106
+ ...settled,
107
+ ...patch
108
+ };
109
+ const previous = entry.message;
110
+ entry.message = this.build(id, entry.options, previous.version + 1, entry.pauses > 0);
111
+ this.replace(entry.message);
112
+ if (previous.title !== entry.message.title || previous.text !== entry.message.text) this.announce(entry.message);
113
+ clearTimeout(entry.timer);
114
+ entry.timer = void 0;
115
+ entry.remaining = entry.message.life;
116
+ if (entry.pauses === 0) this.schedule(entry);
117
+ }
118
+ run(id, action) {
119
+ const entry = this.entries.get(id);
120
+ if (!entry) return;
121
+ action.run?.(entry.ref);
122
+ if (!action.keepOpen) this.close(id, "action");
123
+ }
124
+ pause(id) {
125
+ const entry = this.entries.get(id);
126
+ if (!entry || entry.pauses++ > 0) return;
127
+ if (entry.timer !== void 0) {
128
+ clearTimeout(entry.timer);
129
+ entry.timer = void 0;
130
+ entry.remaining = Math.max(0, entry.remaining - (this.now() - entry.startedAt));
131
+ }
132
+ this.replace(entry.message = {
133
+ ...entry.message,
134
+ paused: true
135
+ });
136
+ }
137
+ resume(id) {
138
+ const entry = this.entries.get(id);
139
+ if (!entry || entry.pauses === 0 || --entry.pauses > 0) return;
140
+ this.replace(entry.message = {
141
+ ...entry.message,
142
+ paused: false
143
+ });
144
+ this.schedule(entry);
145
+ }
146
+ build(id, options, version, paused = false) {
147
+ const merged = {
148
+ ...this.defaults,
149
+ ...options
150
+ };
151
+ const loading = merged.loading ?? false;
152
+ return {
153
+ id,
154
+ key: merged.key,
155
+ severity: merged.severity ?? "info",
156
+ title: merged.title,
157
+ text: merged.text,
158
+ icon: merged.icon,
159
+ loading,
160
+ life: merged.life ?? DEFAULT_LIFE,
161
+ sticky: merged.sticky ?? loading,
162
+ closable: merged.closable ?? !loading,
163
+ showProgress: merged.showProgress ?? false,
164
+ actions: merged.actions ?? [],
165
+ template: merged.template,
166
+ data: merged.data,
167
+ version,
168
+ paused
169
+ };
170
+ }
171
+ schedule(entry) {
172
+ const { message } = entry;
173
+ if (message.sticky || message.life <= 0) return;
174
+ entry.startedAt = this.now();
175
+ entry.timer = setTimeout(() => this.close(message.id, "timeout"), entry.remaining);
176
+ }
177
+ replace(message) {
178
+ this.messages.update((list) => list.map((item) => item.id === message.id ? message : item));
179
+ }
180
+ announce(message) {
181
+ const text = [message.title, message.text].filter(Boolean).join(". ");
182
+ if (text) this.announcer.announce(text, message.severity === "danger" || message.severity === "warn" ? "assertive" : "polite");
183
+ }
184
+ now() {
185
+ return Date.now();
186
+ }
187
+ static ɵfac = i0.ɵɵngDeclareFactory({
188
+ minVersion: "12.0.0",
189
+ version: "22.2.3",
190
+ ngImport: i0,
191
+ type: TxToastService,
192
+ deps: [],
193
+ target: i0.ɵɵFactoryTarget.Injectable
194
+ });
195
+ static ɵprov = i0.ɵɵngDeclareInjectable({
196
+ minVersion: "12.0.0",
197
+ version: "22.2.3",
198
+ ngImport: i0,
199
+ type: TxToastService,
200
+ providedIn: "root"
201
+ });
202
+ };
203
+ i0.ɵɵngDeclareClassMetadata({
204
+ minVersion: "12.0.0",
205
+ version: "22.2.3",
206
+ ngImport: i0,
207
+ type: TxToastService,
208
+ decorators: [{
209
+ type: Injectable,
210
+ args: [{ providedIn: "root" }]
211
+ }]
212
+ });
213
+ var TxToastTemplate = class TxToastTemplate {
214
+ template = inject(TemplateRef);
215
+ static ɵfac = i0.ɵɵngDeclareFactory({
216
+ minVersion: "12.0.0",
217
+ version: "22.2.3",
218
+ ngImport: i0,
219
+ type: TxToastTemplate,
220
+ deps: [],
221
+ target: i0.ɵɵFactoryTarget.Directive
222
+ });
223
+ static ɵdir = i0.ɵɵngDeclareDirective({
224
+ minVersion: "14.0.0",
225
+ version: "22.2.3",
226
+ type: TxToastTemplate,
227
+ isStandalone: true,
228
+ selector: "ng-template[txToastTemplate]",
229
+ ngImport: i0
230
+ });
231
+ };
232
+ i0.ɵɵngDeclareClassMetadata({
233
+ minVersion: "12.0.0",
234
+ version: "22.2.3",
235
+ ngImport: i0,
236
+ type: TxToastTemplate,
237
+ decorators: [{
238
+ type: Directive,
239
+ args: [{ selector: "ng-template[txToastTemplate]" }]
240
+ }]
241
+ });
242
+ const ICONS = {
243
+ success: "check",
244
+ info: "info-circle",
245
+ warn: "exclamation-triangle",
246
+ danger: "times",
247
+ secondary: "info-circle",
248
+ contrast: "info-circle"
249
+ };
250
+ const SWIPE_THRESHOLD = 50;
251
+ const SWIPE_VELOCITY = .11;
252
+ var TxToast = class TxToast {
253
+ service = inject(TxToastService);
254
+ iconRegistry = inject(TxIconRegistry);
255
+ host = inject(ElementRef).nativeElement;
256
+ document = inject(DOCUMENT);
257
+ swipe = null;
258
+ pausedIds = [];
259
+ position = input("bottom-center", ...ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []);
260
+ key = input(void 0, ...ngDevMode ? [{ debugName: "key" }] : /* istanbul ignore next */ []);
261
+ max = input(3, {
262
+ ...ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {},
263
+ transform: numberAttribute
264
+ });
265
+ inPlace = input(false, {
266
+ ...ngDevMode ? { debugName: "inPlace" } : /* istanbul ignore next */ {},
267
+ transform: booleanAttribute
268
+ });
269
+ dt = input(void 0, ...ngDevMode ? [{ debugName: "dt" }] : /* istanbul ignore next */ []);
270
+ pt = input(void 0, ...ngDevMode ? [{ debugName: "pt" }] : /* istanbul ignore next */ []);
271
+ ptOptions = input(void 0, ...ngDevMode ? [{ debugName: "ptOptions" }] : /* istanbul ignore next */ []);
272
+ unstyled = input(void 0, {
273
+ ...ngDevMode ? { debugName: "unstyled" } : /* istanbul ignore next */ {},
274
+ transform: optionalBoolean
275
+ });
276
+ customTemplate = contentChild(TxToastTemplate, ...ngDevMode ? [{ debugName: "customTemplate" }] : /* istanbul ignore next */ []);
277
+ translations = injectTranslations();
278
+ isUnstyled = injectUnstyled(this.unstyled);
279
+ passThrough = injectPassThrough("toast", this, this.pt, this.ptOptions);
280
+ hostStyle = computed(() => ({
281
+ ...toStyleObject(this.dt(), "--tx-toast"),
282
+ ...this.passThrough().root?.style
283
+ }), ...ngDevMode ? [{ debugName: "hostStyle" }] : /* istanbul ignore next */ []);
284
+ hovered = signal(false, ...ngDevMode ? [{ debugName: "hovered" }] : /* istanbul ignore next */ []);
285
+ focused = signal(false, ...ngDevMode ? [{ debugName: "focused" }] : /* istanbul ignore next */ []);
286
+ heights = signal({}, ...ngDevMode ? [{ debugName: "heights" }] : /* istanbul ignore next */ []);
287
+ mounted = signal({}, ...ngDevMode ? [{ debugName: "mounted" }] : /* istanbul ignore next */ []);
288
+ swiping = signal(null, ...ngDevMode ? [{ debugName: "swiping" }] : /* istanbul ignore next */ []);
289
+ expanded = computed(() => this.hovered() || this.focused(), ...ngDevMode ? [{ debugName: "expanded" }] : /* istanbul ignore next */ []);
290
+ ordered = computed(() => [...this.service.toasts().filter((toast) => toast.key === this.key())].reverse(), ...ngDevMode ? [{ debugName: "ordered" }] : /* istanbul ignore next */ []);
291
+ frontHeight = computed(() => this.heights()[this.ordered()[0]?.id] ?? 0, ...ngDevMode ? [{ debugName: "frontHeight" }] : /* istanbul ignore next */ []);
292
+ offsets = computed(() => {
293
+ const heights = this.heights();
294
+ const gap = this.gap();
295
+ let offset = 0;
296
+ return this.ordered().map((toast) => {
297
+ const current = offset;
298
+ offset += (heights[toast.id] ?? 0) + gap;
299
+ return current;
300
+ });
301
+ }, ...ngDevMode ? [{ debugName: "offsets" }] : /* istanbul ignore next */ []);
302
+ constructor() {
303
+ afterNextRender(() => {
304
+ if (!this.inPlace()) this.document.body.appendChild(this.host);
305
+ });
306
+ afterRenderEffect(() => {
307
+ const toasts = this.ordered();
308
+ const items = [...this.host.querySelectorAll(":scope > .tx-toast__item:not(.tx-toast__item--leave)")];
309
+ const heights = {};
310
+ toasts.forEach((toast, index) => {
311
+ heights[toast.id] = items[index]?.querySelector(".tx-toast__pill")?.offsetHeight ?? 0;
312
+ });
313
+ if (JSON.stringify(heights) !== JSON.stringify(this.heights())) this.heights.set(heights);
314
+ const fresh = toasts.filter((toast) => !this.mounted()[toast.id]);
315
+ if (fresh.length) {
316
+ const mount = () => this.mounted.update((mounted) => ({
317
+ ...mounted,
318
+ ...Object.fromEntries(fresh.map((toast) => [toast.id, true]))
319
+ }));
320
+ const view = this.document.defaultView;
321
+ if (view?.requestAnimationFrame) view.requestAnimationFrame(() => view.requestAnimationFrame(mount));
322
+ else setTimeout(mount);
323
+ }
324
+ if (this.expanded()) this.pauseNew(toasts);
325
+ });
326
+ inject(DestroyRef).onDestroy(() => {
327
+ this.resumeAll();
328
+ this.host.remove();
329
+ });
330
+ }
331
+ isMounted(toast) {
332
+ return Boolean(this.mounted()[toast.id]);
333
+ }
334
+ heightOf(toast) {
335
+ return this.heights()[toast.id] ?? 0;
336
+ }
337
+ iconOf(toast) {
338
+ if (toast.icon === false) return null;
339
+ const name = toast.icon ?? ICONS[toast.severity];
340
+ return this.iconRegistry.has(name) ? name : null;
341
+ }
342
+ contextOf(toast) {
343
+ return {
344
+ $implicit: toast,
345
+ close: () => this.service.close(toast.id, "close")
346
+ };
347
+ }
348
+ close(toast) {
349
+ this.service.close(toast.id, "close");
350
+ }
351
+ run(toast, action) {
352
+ this.service.run(toast.id, action);
353
+ }
354
+ setHovered(hovered) {
355
+ this.hovered.set(hovered);
356
+ this.syncPause();
357
+ }
358
+ onFocusIn() {
359
+ this.focused.set(true);
360
+ this.syncPause();
361
+ }
362
+ onFocusOut(event) {
363
+ if (!this.host.contains(event.relatedTarget)) {
364
+ this.focused.set(false);
365
+ this.syncPause();
366
+ }
367
+ }
368
+ onPointerDown(toast, event) {
369
+ if (!toast.closable || event.button !== 0 || event.target.closest("button")) return;
370
+ this.swipe = {
371
+ id: toast.id,
372
+ startX: event.clientX,
373
+ startY: event.clientY,
374
+ startedAt: Date.now()
375
+ };
376
+ event.currentTarget.setPointerCapture?.(event.pointerId);
377
+ }
378
+ onPointerMove(event) {
379
+ if (!this.swipe) return;
380
+ const x = event.clientX - this.swipe.startX;
381
+ const y = event.clientY - this.swipe.startY;
382
+ if (Math.abs(x) > 2 || Math.abs(y) > 2) this.swiping.set(Math.abs(x) >= Math.abs(y) ? {
383
+ id: this.swipe.id,
384
+ x,
385
+ y: 0
386
+ } : {
387
+ id: this.swipe.id,
388
+ x: 0,
389
+ y
390
+ });
391
+ }
392
+ onPointerUp() {
393
+ const swipe = this.swipe;
394
+ const moved = this.swiping();
395
+ this.swipe = null;
396
+ this.swiping.set(null);
397
+ if (!swipe || !moved || moved.id !== swipe.id) return;
398
+ const distance = Math.max(Math.abs(moved.x), Math.abs(moved.y));
399
+ const velocity = distance / Math.max(Date.now() - swipe.startedAt, 1);
400
+ if (distance >= SWIPE_THRESHOLD || velocity > SWIPE_VELOCITY) this.service.close(swipe.id, "close");
401
+ }
402
+ gap() {
403
+ const value = this.document.defaultView?.getComputedStyle(this.host).getPropertyValue("--tx-toast-gap");
404
+ return parseFloat(value ?? "") || 8;
405
+ }
406
+ syncPause() {
407
+ if (this.expanded()) this.pauseNew(this.ordered());
408
+ else this.resumeAll();
409
+ }
410
+ pauseNew(toasts) {
411
+ toasts.filter((toast) => !this.pausedIds.includes(toast.id)).forEach((toast) => {
412
+ this.pausedIds.push(toast.id);
413
+ this.service.pause(toast.id);
414
+ });
415
+ }
416
+ resumeAll() {
417
+ const ids = this.pausedIds;
418
+ this.pausedIds = [];
419
+ ids.forEach((id) => this.service.resume(id));
420
+ }
421
+ static ɵfac = i0.ɵɵngDeclareFactory({
422
+ minVersion: "12.0.0",
423
+ version: "22.2.3",
424
+ ngImport: i0,
425
+ type: TxToast,
426
+ deps: [],
427
+ target: i0.ɵɵFactoryTarget.Component
428
+ });
429
+ static ɵcmp = i0.ɵɵngDeclareComponent({
430
+ minVersion: "17.0.0",
431
+ version: "22.2.3",
432
+ type: TxToast,
433
+ isStandalone: true,
434
+ selector: "tx-toast",
435
+ inputs: {
436
+ position: {
437
+ classPropertyName: "position",
438
+ publicName: "position",
439
+ isSignal: true,
440
+ isRequired: false,
441
+ transformFunction: null
442
+ },
443
+ key: {
444
+ classPropertyName: "key",
445
+ publicName: "key",
446
+ isSignal: true,
447
+ isRequired: false,
448
+ transformFunction: null
449
+ },
450
+ max: {
451
+ classPropertyName: "max",
452
+ publicName: "max",
453
+ isSignal: true,
454
+ isRequired: false,
455
+ transformFunction: null
456
+ },
457
+ inPlace: {
458
+ classPropertyName: "inPlace",
459
+ publicName: "inPlace",
460
+ isSignal: true,
461
+ isRequired: false,
462
+ transformFunction: null
463
+ },
464
+ dt: {
465
+ classPropertyName: "dt",
466
+ publicName: "dt",
467
+ isSignal: true,
468
+ isRequired: false,
469
+ transformFunction: null
470
+ },
471
+ pt: {
472
+ classPropertyName: "pt",
473
+ publicName: "pt",
474
+ isSignal: true,
475
+ isRequired: false,
476
+ transformFunction: null
477
+ },
478
+ ptOptions: {
479
+ classPropertyName: "ptOptions",
480
+ publicName: "ptOptions",
481
+ isSignal: true,
482
+ isRequired: false,
483
+ transformFunction: null
484
+ },
485
+ unstyled: {
486
+ classPropertyName: "unstyled",
487
+ publicName: "unstyled",
488
+ isSignal: true,
489
+ isRequired: false,
490
+ transformFunction: null
491
+ }
492
+ },
493
+ host: {
494
+ attributes: { "role": "region" },
495
+ listeners: {
496
+ "mouseenter": "setHovered(true)",
497
+ "mouseleave": "setHovered(false)",
498
+ "focusin": "onFocusIn()",
499
+ "focusout": "onFocusOut($event)"
500
+ },
501
+ properties: {
502
+ "attr.aria-label": "translations().notifications",
503
+ "class": "passThrough().root?.class",
504
+ "style": "hostStyle()",
505
+ "attr.data-styled": "!isUnstyled() || null",
506
+ "attr.data-position": "position()",
507
+ "attr.data-expanded": "expanded() ? \"\" : null",
508
+ "class.tx-toast--empty": "!ordered().length"
509
+ },
510
+ classAttribute: "tx-toast"
511
+ },
512
+ queries: [{
513
+ propertyName: "customTemplate",
514
+ first: true,
515
+ predicate: TxToastTemplate,
516
+ descendants: true,
517
+ isSignal: true
518
+ }],
519
+ ngImport: i0,
520
+ template: "@for (toast of ordered(); track toast.id; let index = $index) {\n <div\n class=\"tx-toast__item\"\n animate.leave=\"tx-toast__item--leave\"\n [attr.data-front]=\"index === 0 ? '' : null\"\n [attr.data-visible]=\"index < max() ? '' : null\"\n [attr.data-mounted]=\"isMounted(toast) ? '' : null\"\n [attr.data-swiping]=\"swiping()?.id === toast.id ? '' : null\"\n [style.--_index]=\"index\"\n [style.--_z]=\"ordered().length - index\"\n [style.--_offset.px]=\"offsets()[index]\"\n [style.--_height.px]=\"heightOf(toast)\"\n [style.--_front-height.px]=\"frontHeight()\"\n [style.--_swipe-x.px]=\"swiping()?.id === toast.id ? swiping()?.x : 0\"\n [style.--_swipe-y.px]=\"swiping()?.id === toast.id ? swiping()?.y : 0\"\n [attr.aria-hidden]=\"index < max() ? null : true\"\n (pointerdown)=\"onPointerDown(toast, $event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp()\"\n (pointercancel)=\"onPointerUp()\"\n >\n <div\n class=\"tx-toast__pill\"\n [class]=\"passThrough().item?.class\"\n [style]=\"passThrough().item?.style\"\n [attr.data-severity]=\"toast.severity\"\n [class.tx-toast__pill--loading]=\"toast.loading\"\n [attr.aria-busy]=\"toast.loading || null\"\n >\n @if (toast.template ?? customTemplate()?.template; as template) {\n <ng-container [ngTemplateOutlet]=\"template\" [ngTemplateOutletContext]=\"contextOf(toast)\" />\n } @else {\n @if (toast.loading) {\n <span class=\"tx-toast__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n <tx-progress-spinner class=\"tx-toast__spinner\" [size]=\"14\" [strokeWidth]=\"6\" />\n </span>\n } @else if (iconOf(toast); as icon) {\n <span class=\"tx-toast__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n <tx-icon [name]=\"icon\" />\n </span>\n }\n <span class=\"tx-toast__body\" [class]=\"passThrough().body?.class\" [style]=\"passThrough().body?.style\">\n @if (toast.title) {\n <span\n class=\"tx-toast__title\"\n [class.tx-toast__title--hidden]=\"!!toast.text\"\n [class]=\"passThrough().title?.class\"\n [style]=\"passThrough().title?.style\"\n >{{ toast.title }}</span\n >\n }\n @if (toast.text) {\n <span class=\"tx-toast__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">{{ toast.text }}</span>\n }\n </span>\n @if (toast.actions.length) {\n <span class=\"tx-toast__actions\" [class]=\"passThrough().actions?.class\" [style]=\"passThrough().actions?.style\">\n @for (action of toast.actions; track action.label) {\n <button type=\"button\" class=\"tx-toast__action\" (click)=\"run(toast, action)\">{{ action.label }}</button>\n }\n </span>\n }\n }\n @if (toast.closable) {\n <button\n type=\"button\"\n class=\"tx-toast__close\"\n [class]=\"passThrough().closeButton?.class\"\n [style]=\"passThrough().closeButton?.style\"\n [attr.aria-label]=\"translations().close\"\n (click)=\"close(toast)\"\n >\n <tx-icon name=\"times\" />\n </button>\n }\n @if (toast.showProgress && !toast.sticky && toast.life > 0) {\n <span class=\"tx-toast__progress-track\" aria-hidden=\"true\">\n @for (version of [toast.version]; track version) {\n <span\n class=\"tx-toast__progress\"\n [class]=\"passThrough().progress?.class\"\n [style]=\"passThrough().progress?.style\"\n [style.animation-duration.ms]=\"toast.life\"\n [class.tx-toast__progress--paused]=\"toast.paused\"\n ></span>\n }\n </span>\n }\n </div>\n </div>\n}\n",
521
+ styles: [":host{--_raise: 1;position:fixed;z-index:var(--tx-layer-toast);box-sizing:border-box;width:var(--tx-toast-width)}:host([data-position^=top]){top:var(--tx-toast-inset-top)}:host([data-position^=bottom]){--_raise: -1;bottom:var(--tx-toast-inset-bottom)}:host([data-position$=left]){left:var(--tx-toast-inset-x)}:host([data-position$=right]){right:var(--tx-toast-inset-x)}:host([data-position$=center]){left:50%;transform:translate(-50%)}.tx-toast__item{position:absolute;inset-inline:0;z-index:var(--_z);display:flex;justify-content:center;outline:none;touch-action:none;opacity:0;transform:translateY(calc(100% * var(--_raise) * -1))}:host([data-position^=top]) .tx-toast__item{top:0}:host([data-position^=bottom]) .tx-toast__item{bottom:0}:host([data-position$=left]) .tx-toast__item{justify-content:flex-start}:host([data-position$=right]) .tx-toast__item{justify-content:flex-end}.tx-toast__item[data-mounted]{opacity:1;transform:translateY(0)}:host(:not([data-expanded])) .tx-toast__item[data-mounted]:not([data-front]){height:var(--_front-height);overflow:hidden;transform:translateY(calc(var(--_raise) * var(--_index) * var(--tx-toast-gap))) scale(calc(1 - var(--_index) * .05))}:host(:not([data-expanded])) .tx-toast__item[data-mounted]:not([data-front]) .tx-toast__pill>*{opacity:0}:host([data-position^=bottom]:not([data-expanded])) .tx-toast__item[data-mounted]:not([data-front]){align-items:flex-start}:host([data-position^=top]:not([data-expanded])) .tx-toast__item[data-mounted]:not([data-front]){align-items:flex-end}:host([data-expanded]) .tx-toast__item[data-mounted]{transform:translateY(calc(var(--_raise) * var(--_offset)))}:host([data-expanded]) .tx-toast__item:after{position:absolute;inset-inline:0;height:calc(var(--tx-toast-gap) + 1px);content:\"\"}:host([data-position^=top][data-expanded]) .tx-toast__item:after{bottom:100%}:host([data-position^=bottom][data-expanded]) .tx-toast__item:after{top:100%}.tx-toast__item:not([data-visible]){opacity:0;pointer-events:none}.tx-toast__item[data-swiping]{transform:translate(var(--_swipe-x),var(--_swipe-y))!important;transition:none!important}.tx-toast__item--leave{opacity:0!important;pointer-events:none;transform:translateY(calc(var(--_raise) * -100%))!important}.tx-toast__pill{position:relative;display:inline-flex;align-items:center;box-sizing:border-box;max-width:100%}.tx-toast__body{display:flex;flex-direction:column;min-width:0}.tx-toast__title--hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}:host([data-styled]) .tx-toast__item{transition:transform var(--tx-toast-duration),opacity var(--tx-toast-duration),height var(--tx-toast-duration)}:host([data-styled]) .tx-toast__pill>*{transition:opacity var(--tx-toast-duration)}:host([data-styled]) .tx-toast__pill{--_tone: var(--tx-toast-info-tone);gap:var(--tx-toast-item-gap);padding:var(--tx-toast-item-padding-y) var(--tx-toast-item-padding-end) var(--tx-toast-item-padding-y) var(--tx-toast-item-padding-start);border-radius:var(--tx-toast-item-border-radius);background:var(--tx-toast-item-background);color:var(--tx-toast-item-color);font-family:var(--tx-font-family);font-size:var(--tx-toast-item-font-size);font-weight:var(--tx-toast-item-font-weight);box-shadow:0 0 0 1px var(--tx-toast-item-ring-color),var(--tx-toast-item-shadow);-webkit-backdrop-filter:blur(var(--tx-toast-item-blur)) saturate(1.5);backdrop-filter:blur(var(--tx-toast-item-blur)) saturate(1.5)}:host([data-styled]) .tx-toast__pill[data-severity=success]{--_tone: var(--tx-toast-success-tone)}:host([data-styled]) .tx-toast__pill[data-severity=warn]{--_tone: var(--tx-toast-warn-tone)}:host([data-styled]) .tx-toast__pill[data-severity=danger]{--_tone: var(--tx-toast-danger-tone)}:host([data-styled]) .tx-toast__pill[data-severity=secondary]{--_tone: var(--tx-toast-secondary-tone)}:host([data-styled]) .tx-toast__pill[data-severity=contrast]{--_tone: var(--tx-toast-contrast-tone)}:host([data-styled]) .tx-toast__pill--loading{padding-inline-end:var(--tx-toast-item-loading-padding-end)}:host([data-styled]) .tx-toast__icon{display:grid;flex-shrink:0;align-self:flex-start;place-items:center;width:var(--tx-toast-icon-size);height:var(--tx-toast-icon-size);border-radius:50%;background:color-mix(in srgb,var(--_tone) var(--tx-toast-icon-tint),transparent);color:var(--_tone);font-size:var(--tx-toast-icon-font-size);--tx-icon-stroke-width: var(--tx-toast-icon-stroke-width)}:host([data-styled]) .tx-toast__spinner{--tx-progress-spinner-color: var(--_tone);--tx-progress-spinner-track-color: transparent}:host([data-styled]) .tx-toast__body{padding-block:var(--tx-toast-text-padding-y);line-height:var(--tx-toast-text-line-height)}:host([data-styled]) .tx-toast__text,:host([data-styled]) .tx-toast__title{display:-webkit-box;overflow:hidden;overflow-wrap:break-word;-webkit-box-orient:vertical;-webkit-line-clamp:var(--tx-toast-text-lines)}:host([data-styled]) .tx-toast__title--hidden{display:block}:host([data-styled]) .tx-toast__actions{display:flex;flex-shrink:0;gap:6px}:host([data-styled]) .tx-toast__action{flex-shrink:0;padding:var(--tx-toast-action-padding);border:0;border-radius:9999px;background:color-mix(in srgb,var(--_tone) var(--tx-toast-action-tint),transparent);color:var(--_tone);font:inherit;font-size:var(--tx-toast-action-font-size);font-weight:var(--tx-toast-action-font-weight);cursor:pointer;transition:background-color .15s}:host([data-styled]) .tx-toast__action:hover{background:color-mix(in srgb,var(--_tone) var(--tx-toast-action-hover-tint),transparent)}:host([data-styled]) .tx-toast__action:focus-visible{outline:none;box-shadow:var(--tx-toast-focus-ring-shadow)}:host([data-styled]) .tx-toast__close{position:absolute;top:var(--tx-toast-close-button-offset);right:var(--tx-toast-close-button-offset);display:grid;place-items:center;width:var(--tx-toast-close-button-size);height:var(--tx-toast-close-button-size);padding:0;border:0;border-radius:50%;background:var(--tx-toast-close-button-background);color:var(--tx-toast-close-button-color);font-size:var(--tx-toast-close-button-font-size);box-shadow:0 0 0 1px var(--tx-toast-close-button-ring-color),var(--tx-toast-close-button-shadow);cursor:pointer;opacity:0;scale:.75;transition:opacity .2s,scale .2s}:host([data-styled]) .tx-toast__close:hover{color:var(--tx-toast-close-button-hover-color)}:host([data-styled]) .tx-toast__close:focus-visible{outline:none;opacity:1;scale:1;box-shadow:var(--tx-toast-focus-ring-shadow)}:host([data-styled]) .tx-toast__pill:hover .tx-toast__close{opacity:1;scale:1}:host([data-styled]) .tx-toast__progress-track{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none}:host([data-styled]) .tx-toast__progress{position:absolute;inset-inline:0;bottom:0;height:var(--tx-toast-progress-height);background:var(--_tone);transform-origin:left center;animation-name:tx-toast-progress;animation-timing-function:linear;animation-fill-mode:forwards}:host([data-styled]) .tx-toast__progress--paused{animation-play-state:paused}@media(hover:none){:host([data-styled]) .tx-toast__close{opacity:1;scale:1}}@keyframes tx-toast-progress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@media(prefers-reduced-motion:reduce){:host([data-styled]) .tx-toast__item,:host([data-styled]) .tx-toast__pill>*,:host([data-styled]) .tx-toast__close{transition:none}:host([data-styled]) .tx-toast__progress{opacity:.6}}\n"],
522
+ dependencies: [
523
+ {
524
+ kind: "directive",
525
+ type: NgTemplateOutlet,
526
+ selector: "[ngTemplateOutlet]",
527
+ inputs: [
528
+ "ngTemplateOutletContext",
529
+ "ngTemplateOutlet",
530
+ "ngTemplateOutletInjector"
531
+ ]
532
+ },
533
+ {
534
+ kind: "component",
535
+ type: TxIcon,
536
+ selector: "tx-icon",
537
+ inputs: ["name"]
538
+ },
539
+ {
540
+ kind: "component",
541
+ type: TxProgressSpinner,
542
+ selector: "tx-progress-spinner",
543
+ inputs: [
544
+ "size",
545
+ "strokeWidth",
546
+ "fill",
547
+ "animationDuration",
548
+ "color",
549
+ "ariaLabel",
550
+ "dt",
551
+ "pt",
552
+ "ptOptions",
553
+ "unstyled"
554
+ ]
555
+ }
556
+ ],
557
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
558
+ });
559
+ };
560
+ i0.ɵɵngDeclareClassMetadata({
561
+ minVersion: "12.0.0",
562
+ version: "22.2.3",
563
+ ngImport: i0,
564
+ type: TxToast,
565
+ decorators: [{
566
+ type: Component,
567
+ args: [{
568
+ selector: "tx-toast",
569
+ imports: [
570
+ NgTemplateOutlet,
571
+ TxIcon,
572
+ TxProgressSpinner
573
+ ],
574
+ changeDetection: ChangeDetectionStrategy.OnPush,
575
+ host: {
576
+ class: "tx-toast",
577
+ role: "region",
578
+ "[attr.aria-label]": "translations().notifications",
579
+ "[class]": "passThrough().root?.class",
580
+ "[style]": "hostStyle()",
581
+ "[attr.data-styled]": "!isUnstyled() || null",
582
+ "[attr.data-position]": "position()",
583
+ "[attr.data-expanded]": "expanded() ? \"\" : null",
584
+ "[class.tx-toast--empty]": "!ordered().length",
585
+ "(mouseenter)": "setHovered(true)",
586
+ "(mouseleave)": "setHovered(false)",
587
+ "(focusin)": "onFocusIn()",
588
+ "(focusout)": "onFocusOut($event)"
589
+ },
590
+ template: "@for (toast of ordered(); track toast.id; let index = $index) {\n <div\n class=\"tx-toast__item\"\n animate.leave=\"tx-toast__item--leave\"\n [attr.data-front]=\"index === 0 ? '' : null\"\n [attr.data-visible]=\"index < max() ? '' : null\"\n [attr.data-mounted]=\"isMounted(toast) ? '' : null\"\n [attr.data-swiping]=\"swiping()?.id === toast.id ? '' : null\"\n [style.--_index]=\"index\"\n [style.--_z]=\"ordered().length - index\"\n [style.--_offset.px]=\"offsets()[index]\"\n [style.--_height.px]=\"heightOf(toast)\"\n [style.--_front-height.px]=\"frontHeight()\"\n [style.--_swipe-x.px]=\"swiping()?.id === toast.id ? swiping()?.x : 0\"\n [style.--_swipe-y.px]=\"swiping()?.id === toast.id ? swiping()?.y : 0\"\n [attr.aria-hidden]=\"index < max() ? null : true\"\n (pointerdown)=\"onPointerDown(toast, $event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp()\"\n (pointercancel)=\"onPointerUp()\"\n >\n <div\n class=\"tx-toast__pill\"\n [class]=\"passThrough().item?.class\"\n [style]=\"passThrough().item?.style\"\n [attr.data-severity]=\"toast.severity\"\n [class.tx-toast__pill--loading]=\"toast.loading\"\n [attr.aria-busy]=\"toast.loading || null\"\n >\n @if (toast.template ?? customTemplate()?.template; as template) {\n <ng-container [ngTemplateOutlet]=\"template\" [ngTemplateOutletContext]=\"contextOf(toast)\" />\n } @else {\n @if (toast.loading) {\n <span class=\"tx-toast__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n <tx-progress-spinner class=\"tx-toast__spinner\" [size]=\"14\" [strokeWidth]=\"6\" />\n </span>\n } @else if (iconOf(toast); as icon) {\n <span class=\"tx-toast__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n <tx-icon [name]=\"icon\" />\n </span>\n }\n <span class=\"tx-toast__body\" [class]=\"passThrough().body?.class\" [style]=\"passThrough().body?.style\">\n @if (toast.title) {\n <span\n class=\"tx-toast__title\"\n [class.tx-toast__title--hidden]=\"!!toast.text\"\n [class]=\"passThrough().title?.class\"\n [style]=\"passThrough().title?.style\"\n >{{ toast.title }}</span\n >\n }\n @if (toast.text) {\n <span class=\"tx-toast__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">{{ toast.text }}</span>\n }\n </span>\n @if (toast.actions.length) {\n <span class=\"tx-toast__actions\" [class]=\"passThrough().actions?.class\" [style]=\"passThrough().actions?.style\">\n @for (action of toast.actions; track action.label) {\n <button type=\"button\" class=\"tx-toast__action\" (click)=\"run(toast, action)\">{{ action.label }}</button>\n }\n </span>\n }\n }\n @if (toast.closable) {\n <button\n type=\"button\"\n class=\"tx-toast__close\"\n [class]=\"passThrough().closeButton?.class\"\n [style]=\"passThrough().closeButton?.style\"\n [attr.aria-label]=\"translations().close\"\n (click)=\"close(toast)\"\n >\n <tx-icon name=\"times\" />\n </button>\n }\n @if (toast.showProgress && !toast.sticky && toast.life > 0) {\n <span class=\"tx-toast__progress-track\" aria-hidden=\"true\">\n @for (version of [toast.version]; track version) {\n <span\n class=\"tx-toast__progress\"\n [class]=\"passThrough().progress?.class\"\n [style]=\"passThrough().progress?.style\"\n [style.animation-duration.ms]=\"toast.life\"\n [class.tx-toast__progress--paused]=\"toast.paused\"\n ></span>\n }\n </span>\n }\n </div>\n </div>\n}\n",
591
+ styles: [":host{--_raise: 1;position:fixed;z-index:var(--tx-layer-toast);box-sizing:border-box;width:var(--tx-toast-width)}:host([data-position^=top]){top:var(--tx-toast-inset-top)}:host([data-position^=bottom]){--_raise: -1;bottom:var(--tx-toast-inset-bottom)}:host([data-position$=left]){left:var(--tx-toast-inset-x)}:host([data-position$=right]){right:var(--tx-toast-inset-x)}:host([data-position$=center]){left:50%;transform:translate(-50%)}.tx-toast__item{position:absolute;inset-inline:0;z-index:var(--_z);display:flex;justify-content:center;outline:none;touch-action:none;opacity:0;transform:translateY(calc(100% * var(--_raise) * -1))}:host([data-position^=top]) .tx-toast__item{top:0}:host([data-position^=bottom]) .tx-toast__item{bottom:0}:host([data-position$=left]) .tx-toast__item{justify-content:flex-start}:host([data-position$=right]) .tx-toast__item{justify-content:flex-end}.tx-toast__item[data-mounted]{opacity:1;transform:translateY(0)}:host(:not([data-expanded])) .tx-toast__item[data-mounted]:not([data-front]){height:var(--_front-height);overflow:hidden;transform:translateY(calc(var(--_raise) * var(--_index) * var(--tx-toast-gap))) scale(calc(1 - var(--_index) * .05))}:host(:not([data-expanded])) .tx-toast__item[data-mounted]:not([data-front]) .tx-toast__pill>*{opacity:0}:host([data-position^=bottom]:not([data-expanded])) .tx-toast__item[data-mounted]:not([data-front]){align-items:flex-start}:host([data-position^=top]:not([data-expanded])) .tx-toast__item[data-mounted]:not([data-front]){align-items:flex-end}:host([data-expanded]) .tx-toast__item[data-mounted]{transform:translateY(calc(var(--_raise) * var(--_offset)))}:host([data-expanded]) .tx-toast__item:after{position:absolute;inset-inline:0;height:calc(var(--tx-toast-gap) + 1px);content:\"\"}:host([data-position^=top][data-expanded]) .tx-toast__item:after{bottom:100%}:host([data-position^=bottom][data-expanded]) .tx-toast__item:after{top:100%}.tx-toast__item:not([data-visible]){opacity:0;pointer-events:none}.tx-toast__item[data-swiping]{transform:translate(var(--_swipe-x),var(--_swipe-y))!important;transition:none!important}.tx-toast__item--leave{opacity:0!important;pointer-events:none;transform:translateY(calc(var(--_raise) * -100%))!important}.tx-toast__pill{position:relative;display:inline-flex;align-items:center;box-sizing:border-box;max-width:100%}.tx-toast__body{display:flex;flex-direction:column;min-width:0}.tx-toast__title--hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}:host([data-styled]) .tx-toast__item{transition:transform var(--tx-toast-duration),opacity var(--tx-toast-duration),height var(--tx-toast-duration)}:host([data-styled]) .tx-toast__pill>*{transition:opacity var(--tx-toast-duration)}:host([data-styled]) .tx-toast__pill{--_tone: var(--tx-toast-info-tone);gap:var(--tx-toast-item-gap);padding:var(--tx-toast-item-padding-y) var(--tx-toast-item-padding-end) var(--tx-toast-item-padding-y) var(--tx-toast-item-padding-start);border-radius:var(--tx-toast-item-border-radius);background:var(--tx-toast-item-background);color:var(--tx-toast-item-color);font-family:var(--tx-font-family);font-size:var(--tx-toast-item-font-size);font-weight:var(--tx-toast-item-font-weight);box-shadow:0 0 0 1px var(--tx-toast-item-ring-color),var(--tx-toast-item-shadow);-webkit-backdrop-filter:blur(var(--tx-toast-item-blur)) saturate(1.5);backdrop-filter:blur(var(--tx-toast-item-blur)) saturate(1.5)}:host([data-styled]) .tx-toast__pill[data-severity=success]{--_tone: var(--tx-toast-success-tone)}:host([data-styled]) .tx-toast__pill[data-severity=warn]{--_tone: var(--tx-toast-warn-tone)}:host([data-styled]) .tx-toast__pill[data-severity=danger]{--_tone: var(--tx-toast-danger-tone)}:host([data-styled]) .tx-toast__pill[data-severity=secondary]{--_tone: var(--tx-toast-secondary-tone)}:host([data-styled]) .tx-toast__pill[data-severity=contrast]{--_tone: var(--tx-toast-contrast-tone)}:host([data-styled]) .tx-toast__pill--loading{padding-inline-end:var(--tx-toast-item-loading-padding-end)}:host([data-styled]) .tx-toast__icon{display:grid;flex-shrink:0;align-self:flex-start;place-items:center;width:var(--tx-toast-icon-size);height:var(--tx-toast-icon-size);border-radius:50%;background:color-mix(in srgb,var(--_tone) var(--tx-toast-icon-tint),transparent);color:var(--_tone);font-size:var(--tx-toast-icon-font-size);--tx-icon-stroke-width: var(--tx-toast-icon-stroke-width)}:host([data-styled]) .tx-toast__spinner{--tx-progress-spinner-color: var(--_tone);--tx-progress-spinner-track-color: transparent}:host([data-styled]) .tx-toast__body{padding-block:var(--tx-toast-text-padding-y);line-height:var(--tx-toast-text-line-height)}:host([data-styled]) .tx-toast__text,:host([data-styled]) .tx-toast__title{display:-webkit-box;overflow:hidden;overflow-wrap:break-word;-webkit-box-orient:vertical;-webkit-line-clamp:var(--tx-toast-text-lines)}:host([data-styled]) .tx-toast__title--hidden{display:block}:host([data-styled]) .tx-toast__actions{display:flex;flex-shrink:0;gap:6px}:host([data-styled]) .tx-toast__action{flex-shrink:0;padding:var(--tx-toast-action-padding);border:0;border-radius:9999px;background:color-mix(in srgb,var(--_tone) var(--tx-toast-action-tint),transparent);color:var(--_tone);font:inherit;font-size:var(--tx-toast-action-font-size);font-weight:var(--tx-toast-action-font-weight);cursor:pointer;transition:background-color .15s}:host([data-styled]) .tx-toast__action:hover{background:color-mix(in srgb,var(--_tone) var(--tx-toast-action-hover-tint),transparent)}:host([data-styled]) .tx-toast__action:focus-visible{outline:none;box-shadow:var(--tx-toast-focus-ring-shadow)}:host([data-styled]) .tx-toast__close{position:absolute;top:var(--tx-toast-close-button-offset);right:var(--tx-toast-close-button-offset);display:grid;place-items:center;width:var(--tx-toast-close-button-size);height:var(--tx-toast-close-button-size);padding:0;border:0;border-radius:50%;background:var(--tx-toast-close-button-background);color:var(--tx-toast-close-button-color);font-size:var(--tx-toast-close-button-font-size);box-shadow:0 0 0 1px var(--tx-toast-close-button-ring-color),var(--tx-toast-close-button-shadow);cursor:pointer;opacity:0;scale:.75;transition:opacity .2s,scale .2s}:host([data-styled]) .tx-toast__close:hover{color:var(--tx-toast-close-button-hover-color)}:host([data-styled]) .tx-toast__close:focus-visible{outline:none;opacity:1;scale:1;box-shadow:var(--tx-toast-focus-ring-shadow)}:host([data-styled]) .tx-toast__pill:hover .tx-toast__close{opacity:1;scale:1}:host([data-styled]) .tx-toast__progress-track{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none}:host([data-styled]) .tx-toast__progress{position:absolute;inset-inline:0;bottom:0;height:var(--tx-toast-progress-height);background:var(--_tone);transform-origin:left center;animation-name:tx-toast-progress;animation-timing-function:linear;animation-fill-mode:forwards}:host([data-styled]) .tx-toast__progress--paused{animation-play-state:paused}@media(hover:none){:host([data-styled]) .tx-toast__close{opacity:1;scale:1}}@keyframes tx-toast-progress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@media(prefers-reduced-motion:reduce){:host([data-styled]) .tx-toast__item,:host([data-styled]) .tx-toast__pill>*,:host([data-styled]) .tx-toast__close{transition:none}:host([data-styled]) .tx-toast__progress{opacity:.6}}\n"]
592
+ }]
593
+ }],
594
+ ctorParameters: () => [],
595
+ propDecorators: {
596
+ position: [{
597
+ type: i0.Input,
598
+ args: [{
599
+ isSignal: true,
600
+ alias: "position",
601
+ required: false
602
+ }]
603
+ }],
604
+ key: [{
605
+ type: i0.Input,
606
+ args: [{
607
+ isSignal: true,
608
+ alias: "key",
609
+ required: false
610
+ }]
611
+ }],
612
+ max: [{
613
+ type: i0.Input,
614
+ args: [{
615
+ isSignal: true,
616
+ alias: "max",
617
+ required: false
618
+ }]
619
+ }],
620
+ inPlace: [{
621
+ type: i0.Input,
622
+ args: [{
623
+ isSignal: true,
624
+ alias: "inPlace",
625
+ required: false
626
+ }]
627
+ }],
628
+ dt: [{
629
+ type: i0.Input,
630
+ args: [{
631
+ isSignal: true,
632
+ alias: "dt",
633
+ required: false
634
+ }]
635
+ }],
636
+ pt: [{
637
+ type: i0.Input,
638
+ args: [{
639
+ isSignal: true,
640
+ alias: "pt",
641
+ required: false
642
+ }]
643
+ }],
644
+ ptOptions: [{
645
+ type: i0.Input,
646
+ args: [{
647
+ isSignal: true,
648
+ alias: "ptOptions",
649
+ required: false
650
+ }]
651
+ }],
652
+ unstyled: [{
653
+ type: i0.Input,
654
+ args: [{
655
+ isSignal: true,
656
+ alias: "unstyled",
657
+ required: false
658
+ }]
659
+ }],
660
+ customTemplate: [{
661
+ type: i0.ContentChild,
662
+ args: [i0.forwardRef(() => TxToastTemplate), { isSignal: true }]
663
+ }]
664
+ }
665
+ });
666
+ export { TX_TOAST_OPTIONS, TxToast, TxToastService, TxToastTemplate, provideTxToast };
667
+
668
+ //# sourceMappingURL=tectra-ng-ui-toast.mjs.map