@tailng-ui/primitives 0.12.0 → 0.14.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 (273) hide show
  1. package/package.json +12 -6
  2. package/src/lib/feedback/empty/tng-empty.d.ts +11 -0
  3. package/src/lib/feedback/empty/tng-empty.d.ts.map +1 -1
  4. package/src/lib/feedback/empty/tng-empty.js +71 -66
  5. package/src/lib/feedback/empty/tng-empty.js.map +1 -1
  6. package/src/lib/feedback/progress-bar/tng-progress-bar.d.ts +5 -0
  7. package/src/lib/feedback/progress-bar/tng-progress-bar.d.ts.map +1 -1
  8. package/src/lib/feedback/progress-bar/tng-progress-bar.js +48 -54
  9. package/src/lib/feedback/progress-bar/tng-progress-bar.js.map +1 -1
  10. package/src/lib/feedback/progress-spinner/tng-progress-spinner.d.ts +3 -0
  11. package/src/lib/feedback/progress-spinner/tng-progress-spinner.d.ts.map +1 -1
  12. package/src/lib/feedback/progress-spinner/tng-progress-spinner.js +34 -41
  13. package/src/lib/feedback/progress-spinner/tng-progress-spinner.js.map +1 -1
  14. package/src/lib/feedback/skeleton/tng-skeleton.d.ts +3 -0
  15. package/src/lib/feedback/skeleton/tng-skeleton.d.ts.map +1 -1
  16. package/src/lib/feedback/skeleton/tng-skeleton.js +29 -32
  17. package/src/lib/feedback/skeleton/tng-skeleton.js.map +1 -1
  18. package/src/lib/feedback/toast/tng-toast.d.ts +5 -0
  19. package/src/lib/feedback/toast/tng-toast.d.ts.map +1 -1
  20. package/src/lib/feedback/toast/tng-toast.js +49 -49
  21. package/src/lib/feedback/toast/tng-toast.js.map +1 -1
  22. package/src/lib/form/_shared/id/tng-unique-id.service.d.ts +3 -0
  23. package/src/lib/form/_shared/id/tng-unique-id.service.d.ts.map +1 -1
  24. package/src/lib/form/_shared/id/tng-unique-id.service.js +9 -7
  25. package/src/lib/form/_shared/id/tng-unique-id.service.js.map +1 -1
  26. package/src/lib/form/_shared/select/tng-select.overlay.shared.d.ts +3 -0
  27. package/src/lib/form/_shared/select/tng-select.overlay.shared.d.ts.map +1 -1
  28. package/src/lib/form/_shared/select/tng-select.overlay.shared.js +21 -20
  29. package/src/lib/form/_shared/select/tng-select.overlay.shared.js.map +1 -1
  30. package/src/lib/form/_shared/select/tng-select.parts.shared.d.ts +9 -0
  31. package/src/lib/form/_shared/select/tng-select.parts.shared.d.ts.map +1 -1
  32. package/src/lib/form/_shared/select/tng-select.parts.shared.js +102 -98
  33. package/src/lib/form/_shared/select/tng-select.parts.shared.js.map +1 -1
  34. package/src/lib/form/autocomplete/tng-autocomplete.d.ts +3 -0
  35. package/src/lib/form/autocomplete/tng-autocomplete.d.ts.map +1 -1
  36. package/src/lib/form/autocomplete/tng-autocomplete.js +39 -38
  37. package/src/lib/form/autocomplete/tng-autocomplete.js.map +1 -1
  38. package/src/lib/form/autocomplete/tng-autocomplete.listbox.d.ts +6 -0
  39. package/src/lib/form/autocomplete/tng-autocomplete.listbox.d.ts.map +1 -1
  40. package/src/lib/form/autocomplete/tng-autocomplete.listbox.js +52 -46
  41. package/src/lib/form/autocomplete/tng-autocomplete.listbox.js.map +1 -1
  42. package/src/lib/form/autocomplete/tng-autocomplete.overlay.d.ts +3 -0
  43. package/src/lib/form/autocomplete/tng-autocomplete.overlay.d.ts.map +1 -1
  44. package/src/lib/form/autocomplete/tng-autocomplete.overlay.js +21 -20
  45. package/src/lib/form/autocomplete/tng-autocomplete.overlay.js.map +1 -1
  46. package/src/lib/form/autocomplete/tng-autocomplete.parts.d.ts +9 -0
  47. package/src/lib/form/autocomplete/tng-autocomplete.parts.d.ts.map +1 -1
  48. package/src/lib/form/autocomplete/tng-autocomplete.parts.js +105 -101
  49. package/src/lib/form/autocomplete/tng-autocomplete.parts.js.map +1 -1
  50. package/src/lib/form/button-toggle/tng-button-toggle.d.ts +5 -0
  51. package/src/lib/form/button-toggle/tng-button-toggle.d.ts.map +1 -1
  52. package/src/lib/form/button-toggle/tng-button-toggle.js +119 -155
  53. package/src/lib/form/button-toggle/tng-button-toggle.js.map +1 -1
  54. package/src/lib/form/checkbox/tng-checkbox.d.ts +3 -0
  55. package/src/lib/form/checkbox/tng-checkbox.d.ts.map +1 -1
  56. package/src/lib/form/checkbox/tng-checkbox.js +94 -107
  57. package/src/lib/form/checkbox/tng-checkbox.js.map +1 -1
  58. package/src/lib/form/chips/tng-chips.d.ts +7 -0
  59. package/src/lib/form/chips/tng-chips.d.ts.map +1 -1
  60. package/src/lib/form/chips/tng-chips.js +104 -115
  61. package/src/lib/form/chips/tng-chips.js.map +1 -1
  62. package/src/lib/form/combobox/tng-combobox.d.ts +3 -0
  63. package/src/lib/form/combobox/tng-combobox.d.ts.map +1 -1
  64. package/src/lib/form/combobox/tng-combobox.js +15 -14
  65. package/src/lib/form/combobox/tng-combobox.js.map +1 -1
  66. package/src/lib/form/input/tng-input.d.ts +9 -0
  67. package/src/lib/form/input/tng-input.d.ts.map +1 -1
  68. package/src/lib/form/input/tng-input.js +157 -141
  69. package/src/lib/form/input/tng-input.js.map +1 -1
  70. package/src/lib/form/input-otp/tng-input-otp.d.ts +3 -0
  71. package/src/lib/form/input-otp/tng-input-otp.d.ts.map +1 -1
  72. package/src/lib/form/input-otp/tng-input-otp.js +57 -70
  73. package/src/lib/form/input-otp/tng-input-otp.js.map +1 -1
  74. package/src/lib/form/label/tng-label.d.ts +3 -0
  75. package/src/lib/form/label/tng-label.d.ts.map +1 -1
  76. package/src/lib/form/label/tng-label.js +23 -26
  77. package/src/lib/form/label/tng-label.js.map +1 -1
  78. package/src/lib/form/listbox/listbox.directive.d.ts +3 -0
  79. package/src/lib/form/listbox/listbox.directive.d.ts.map +1 -1
  80. package/src/lib/form/listbox/listbox.directive.js +44 -43
  81. package/src/lib/form/listbox/listbox.directive.js.map +1 -1
  82. package/src/lib/form/listbox/option.directive.d.ts +3 -0
  83. package/src/lib/form/listbox/option.directive.d.ts.map +1 -1
  84. package/src/lib/form/listbox/option.directive.js +39 -38
  85. package/src/lib/form/listbox/option.directive.js.map +1 -1
  86. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.chip.d.ts +3 -0
  87. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.chip.d.ts.map +1 -1
  88. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.chip.js +22 -21
  89. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.chip.js.map +1 -1
  90. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.content.d.ts +3 -0
  91. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.content.d.ts.map +1 -1
  92. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.content.js +24 -23
  93. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.content.js.map +1 -1
  94. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.d.ts +3 -0
  95. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.d.ts.map +1 -1
  96. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.js +34 -33
  97. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.js.map +1 -1
  98. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.listbox.d.ts +6 -0
  99. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.listbox.d.ts.map +1 -1
  100. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.listbox.js +55 -46
  101. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.listbox.js.map +1 -1
  102. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.overlay.d.ts +3 -0
  103. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.overlay.d.ts.map +1 -1
  104. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.overlay.js +15 -14
  105. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.overlay.js.map +1 -1
  106. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.trigger.d.ts +3 -0
  107. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.trigger.d.ts.map +1 -1
  108. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.trigger.js +51 -50
  109. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.trigger.js.map +1 -1
  110. package/src/lib/form/multi-select/tng-multi-select.d.ts +3 -0
  111. package/src/lib/form/multi-select/tng-multi-select.d.ts.map +1 -1
  112. package/src/lib/form/multi-select/tng-multi-select.js +40 -36
  113. package/src/lib/form/multi-select/tng-multi-select.js.map +1 -1
  114. package/src/lib/form/multi-select/tng-multi-select.listbox.d.ts +6 -0
  115. package/src/lib/form/multi-select/tng-multi-select.listbox.d.ts.map +1 -1
  116. package/src/lib/form/multi-select/tng-multi-select.listbox.js +48 -45
  117. package/src/lib/form/multi-select/tng-multi-select.listbox.js.map +1 -1
  118. package/src/lib/form/multiselect/tng-multiselect.d.ts +3 -0
  119. package/src/lib/form/multiselect/tng-multiselect.d.ts.map +1 -1
  120. package/src/lib/form/multiselect/tng-multiselect.js +15 -14
  121. package/src/lib/form/multiselect/tng-multiselect.js.map +1 -1
  122. package/src/lib/form/radio/tng-radio.d.ts +3 -0
  123. package/src/lib/form/radio/tng-radio.d.ts.map +1 -1
  124. package/src/lib/form/radio/tng-radio.js +90 -101
  125. package/src/lib/form/radio/tng-radio.js.map +1 -1
  126. package/src/lib/form/select/tng-select.d.ts +3 -0
  127. package/src/lib/form/select/tng-select.d.ts.map +1 -1
  128. package/src/lib/form/select/tng-select.js +40 -36
  129. package/src/lib/form/select/tng-select.js.map +1 -1
  130. package/src/lib/form/select/tng-select.listbox.d.ts +6 -0
  131. package/src/lib/form/select/tng-select.listbox.d.ts.map +1 -1
  132. package/src/lib/form/select/tng-select.listbox.js +48 -45
  133. package/src/lib/form/select/tng-select.listbox.js.map +1 -1
  134. package/src/lib/form/slider/tng-slider.d.ts +3 -0
  135. package/src/lib/form/slider/tng-slider.d.ts.map +1 -1
  136. package/src/lib/form/slider/tng-slider.js +41 -50
  137. package/src/lib/form/slider/tng-slider.js.map +1 -1
  138. package/src/lib/form/switch/tng-switch.d.ts +3 -0
  139. package/src/lib/form/switch/tng-switch.d.ts.map +1 -1
  140. package/src/lib/form/switch/tng-switch.js +43 -48
  141. package/src/lib/form/switch/tng-switch.js.map +1 -1
  142. package/src/lib/form/textarea/tng-textarea.d.ts +4 -0
  143. package/src/lib/form/textarea/tng-textarea.d.ts.map +1 -1
  144. package/src/lib/form/textarea/tng-textarea.js +39 -41
  145. package/src/lib/form/textarea/tng-textarea.js.map +1 -1
  146. package/src/lib/form/toggle/tng-toggle.d.ts +3 -0
  147. package/src/lib/form/toggle/tng-toggle.d.ts.map +1 -1
  148. package/src/lib/form/toggle/tng-toggle.js +70 -75
  149. package/src/lib/form/toggle/tng-toggle.js.map +1 -1
  150. package/src/lib/form/toggle-group/tng-toggle-group.d.ts +3 -0
  151. package/src/lib/form/toggle-group/tng-toggle-group.d.ts.map +1 -1
  152. package/src/lib/form/toggle-group/tng-toggle-group.js +47 -50
  153. package/src/lib/form/toggle-group/tng-toggle-group.js.map +1 -1
  154. package/src/lib/layout/accordion/tng-accordion.d.ts +9 -0
  155. package/src/lib/layout/accordion/tng-accordion.d.ts.map +1 -1
  156. package/src/lib/layout/accordion/tng-accordion.js +139 -155
  157. package/src/lib/layout/accordion/tng-accordion.js.map +1 -1
  158. package/src/lib/layout/bottom-sheet/tng-bottom-sheet.d.ts +3 -0
  159. package/src/lib/layout/bottom-sheet/tng-bottom-sheet.d.ts.map +1 -1
  160. package/src/lib/layout/bottom-sheet/tng-bottom-sheet.js +15 -14
  161. package/src/lib/layout/bottom-sheet/tng-bottom-sheet.js.map +1 -1
  162. package/src/lib/layout/card/tng-card.d.ts +21 -0
  163. package/src/lib/layout/card/tng-card.d.ts.map +1 -1
  164. package/src/lib/layout/card/tng-card.js +141 -131
  165. package/src/lib/layout/card/tng-card.js.map +1 -1
  166. package/src/lib/layout/collapsible/tng-collapsible.d.ts +7 -0
  167. package/src/lib/layout/collapsible/tng-collapsible.d.ts.map +1 -1
  168. package/src/lib/layout/collapsible/tng-collapsible.js +79 -86
  169. package/src/lib/layout/collapsible/tng-collapsible.js.map +1 -1
  170. package/src/lib/layout/drawer/tng-drawer.d.ts +13 -0
  171. package/src/lib/layout/drawer/tng-drawer.d.ts.map +1 -1
  172. package/src/lib/layout/drawer/tng-drawer.js +211 -226
  173. package/src/lib/layout/drawer/tng-drawer.js.map +1 -1
  174. package/src/lib/layout/grid/tng-grid.d.ts +3 -0
  175. package/src/lib/layout/grid/tng-grid.d.ts.map +1 -1
  176. package/src/lib/layout/grid/tng-grid.js +15 -14
  177. package/src/lib/layout/grid/tng-grid.js.map +1 -1
  178. package/src/lib/layout/separator/tng-separator.d.ts +3 -0
  179. package/src/lib/layout/separator/tng-separator.d.ts.map +1 -1
  180. package/src/lib/layout/separator/tng-separator.js +29 -30
  181. package/src/lib/layout/separator/tng-separator.js.map +1 -1
  182. package/src/lib/layout/stepper/tng-stepper.d.ts +3 -0
  183. package/src/lib/layout/stepper/tng-stepper.d.ts.map +1 -1
  184. package/src/lib/layout/stepper/tng-stepper.js +15 -14
  185. package/src/lib/layout/stepper/tng-stepper.js.map +1 -1
  186. package/src/lib/layout/tree/__tests__/tng-tree.test-harness.d.ts +3 -0
  187. package/src/lib/layout/tree/__tests__/tng-tree.test-harness.d.ts.map +1 -1
  188. package/src/lib/layout/tree/__tests__/tng-tree.test-harness.js +54 -11
  189. package/src/lib/layout/tree/__tests__/tng-tree.test-harness.js.map +1 -1
  190. package/src/lib/layout/tree/tng-tree-group.d.ts +3 -0
  191. package/src/lib/layout/tree/tng-tree-group.d.ts.map +1 -1
  192. package/src/lib/layout/tree/tng-tree-group.js +18 -17
  193. package/src/lib/layout/tree/tng-tree-group.js.map +1 -1
  194. package/src/lib/layout/tree/tng-tree-indicator.d.ts +3 -0
  195. package/src/lib/layout/tree/tng-tree-indicator.d.ts.map +1 -1
  196. package/src/lib/layout/tree/tng-tree-indicator.js +21 -20
  197. package/src/lib/layout/tree/tng-tree-indicator.js.map +1 -1
  198. package/src/lib/layout/tree/tng-tree-item.d.ts +3 -0
  199. package/src/lib/layout/tree/tng-tree-item.d.ts.map +1 -1
  200. package/src/lib/layout/tree/tng-tree-item.js +46 -53
  201. package/src/lib/layout/tree/tng-tree-item.js.map +1 -1
  202. package/src/lib/layout/tree/tng-tree.d.ts +3 -0
  203. package/src/lib/layout/tree/tng-tree.d.ts.map +1 -1
  204. package/src/lib/layout/tree/tng-tree.js +38 -43
  205. package/src/lib/layout/tree/tng-tree.js.map +1 -1
  206. package/src/lib/navigation/breadcrumb/tng-breadcrumb.d.ts +11 -0
  207. package/src/lib/navigation/breadcrumb/tng-breadcrumb.d.ts.map +1 -1
  208. package/src/lib/navigation/breadcrumb/tng-breadcrumb.js +74 -69
  209. package/src/lib/navigation/breadcrumb/tng-breadcrumb.js.map +1 -1
  210. package/src/lib/navigation/context-menu/tng-context-menu.d.ts +5 -0
  211. package/src/lib/navigation/context-menu/tng-context-menu.d.ts.map +1 -1
  212. package/src/lib/navigation/context-menu/tng-context-menu.js +42 -42
  213. package/src/lib/navigation/context-menu/tng-context-menu.js.map +1 -1
  214. package/src/lib/navigation/dropdown-menu/tng-dropdown-menu.d.ts +3 -0
  215. package/src/lib/navigation/dropdown-menu/tng-dropdown-menu.d.ts.map +1 -1
  216. package/src/lib/navigation/dropdown-menu/tng-dropdown-menu.js +15 -14
  217. package/src/lib/navigation/dropdown-menu/tng-dropdown-menu.js.map +1 -1
  218. package/src/lib/navigation/menu/tng-menu.d.ts +13 -0
  219. package/src/lib/navigation/menu/tng-menu.d.ts.map +1 -1
  220. package/src/lib/navigation/menu/tng-menu.js +178 -186
  221. package/src/lib/navigation/menu/tng-menu.js.map +1 -1
  222. package/src/lib/navigation/menubar/tng-menubar.d.ts +5 -0
  223. package/src/lib/navigation/menubar/tng-menubar.d.ts.map +1 -1
  224. package/src/lib/navigation/menubar/tng-menubar.js +70 -70
  225. package/src/lib/navigation/menubar/tng-menubar.js.map +1 -1
  226. package/src/lib/navigation/navigation-menu/tng-navigation-menu.d.ts +3 -0
  227. package/src/lib/navigation/navigation-menu/tng-navigation-menu.d.ts.map +1 -1
  228. package/src/lib/navigation/navigation-menu/tng-navigation-menu.js +15 -14
  229. package/src/lib/navigation/navigation-menu/tng-navigation-menu.js.map +1 -1
  230. package/src/lib/navigation/tabs/tng-tabs.d.ts +13 -0
  231. package/src/lib/navigation/tabs/tng-tabs.d.ts.map +1 -1
  232. package/src/lib/navigation/tabs/tng-tabs.js +228 -258
  233. package/src/lib/navigation/tabs/tng-tabs.js.map +1 -1
  234. package/src/lib/navigation/toolbar/tng-toolbar.d.ts +3 -0
  235. package/src/lib/navigation/toolbar/tng-toolbar.d.ts.map +1 -1
  236. package/src/lib/navigation/toolbar/tng-toolbar.js +15 -14
  237. package/src/lib/navigation/toolbar/tng-toolbar.js.map +1 -1
  238. package/src/lib/overlay/dialog/tng-dialog.d.ts +19 -0
  239. package/src/lib/overlay/dialog/tng-dialog.d.ts.map +1 -1
  240. package/src/lib/overlay/dialog/tng-dialog.js +240 -255
  241. package/src/lib/overlay/dialog/tng-dialog.js.map +1 -1
  242. package/src/lib/overlay/popover/tng-popover.d.ts +9 -0
  243. package/src/lib/overlay/popover/tng-popover.d.ts.map +1 -1
  244. package/src/lib/overlay/popover/tng-popover.js +148 -170
  245. package/src/lib/overlay/popover/tng-popover.js.map +1 -1
  246. package/src/lib/overlay/tooltip/tng-tooltip.d.ts +7 -0
  247. package/src/lib/overlay/tooltip/tng-tooltip.d.ts.map +1 -1
  248. package/src/lib/overlay/tooltip/tng-tooltip.js +121 -130
  249. package/src/lib/overlay/tooltip/tng-tooltip.js.map +1 -1
  250. package/src/lib/utility/avatar/tng-avatar.d.ts +7 -0
  251. package/src/lib/utility/avatar/tng-avatar.d.ts.map +1 -1
  252. package/src/lib/utility/avatar/tng-avatar.js +43 -40
  253. package/src/lib/utility/avatar/tng-avatar.js.map +1 -1
  254. package/src/lib/utility/badge/tng-badge.d.ts +3 -0
  255. package/src/lib/utility/badge/tng-badge.d.ts.map +1 -1
  256. package/src/lib/utility/badge/tng-badge.js +25 -40
  257. package/src/lib/utility/badge/tng-badge.js.map +1 -1
  258. package/src/lib/utility/code-block/tng-code-block.d.ts +11 -0
  259. package/src/lib/utility/code-block/tng-code-block.d.ts.map +1 -1
  260. package/src/lib/utility/code-block/tng-code-block.js +71 -66
  261. package/src/lib/utility/code-block/tng-code-block.js.map +1 -1
  262. package/src/lib/utility/copy/tng-copy.d.ts +3 -0
  263. package/src/lib/utility/copy/tng-copy.d.ts.map +1 -1
  264. package/src/lib/utility/copy/tng-copy.js +43 -52
  265. package/src/lib/utility/copy/tng-copy.js.map +1 -1
  266. package/src/lib/utility/press/tng-press.d.ts +3 -0
  267. package/src/lib/utility/press/tng-press.d.ts.map +1 -1
  268. package/src/lib/utility/press/tng-press.js +54 -61
  269. package/src/lib/utility/press/tng-press.js.map +1 -1
  270. package/src/lib/utility/tag/tng-tag.d.ts +7 -0
  271. package/src/lib/utility/tag/tng-tag.d.ts.map +1 -1
  272. package/src/lib/utility/tag/tng-tag.js +91 -96
  273. package/src/lib/utility/tag/tng-tag.js.map +1 -1
@@ -1,3 +1,4 @@
1
+ import * as i0 from "@angular/core";
1
2
  export type TngDrawerAutoBoolean = 'auto' | boolean;
2
3
  export type TngDrawerDirection = 'ltr' | 'rtl' | 'auto';
3
4
  export type TngDrawerMode = 'overlay' | 'push' | 'side';
@@ -41,6 +42,8 @@ export declare class TngDrawerContainer {
41
42
  private syncBodyScrollLock;
42
43
  private syncContentInertState;
43
44
  private syncContentOffsets;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<TngDrawerContainer, never>;
46
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TngDrawerContainer, "[tngDrawerContainer]", ["tngDrawerContainer"], { "hasBackdrop": { "alias": "hasBackdrop"; "required": false; "isSignal": true; }; "closeOthersOnOpen": { "alias": "closeOthersOnOpen"; "required": false; "isSignal": true; }; "animate": { "alias": "animate"; "required": false; "isSignal": true; }; "lockScroll": { "alias": "lockScroll"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
44
47
  }
45
48
  export declare class TngDrawer {
46
49
  private readonly documentRef;
@@ -155,6 +158,8 @@ export declare class TngDrawer {
155
158
  private handleTrappedTab;
156
159
  private resetSwipeState;
157
160
  private isScrollbarPointerDown;
161
+ static ɵfac: i0.ɵɵFactoryDeclaration<TngDrawer, never>;
162
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TngDrawer, "[tngDrawer]", ["tngDrawer"], { "openedInput": { "alias": "opened"; "required": false; "isSignal": true; }; "defaultOpened": { "alias": "defaultOpened"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "backdrop": { "alias": "backdrop"; "required": false; "isSignal": true; }; "closeOnOutsideClickInput": { "alias": "closeOnOutsideClick"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "restoreFocus": { "alias": "restoreFocus"; "required": false; "isSignal": true; }; "autoFocus": { "alias": "autoFocus"; "required": false; "isSignal": true; }; "trapFocus": { "alias": "trapFocus"; "required": false; "isSignal": true; }; "inertContent": { "alias": "inertContent"; "required": false; "isSignal": true; }; "allowBodyScrollInput": { "alias": "allowBodyScroll"; "required": false; "isSignal": true; }; "closeOnTab": { "alias": "closeOnTab"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "fixedInViewport": { "alias": "fixedInViewport"; "required": false; "isSignal": true; }; "fixedTopGap": { "alias": "fixedTopGap"; "required": false; "isSignal": true; }; "fixedBottomGap": { "alias": "fixedBottomGap"; "required": false; "isSignal": true; }; "swipeToClose": { "alias": "swipeToClose"; "required": false; "isSignal": true; }; }, { "openedChange": "openedChange"; "tngDrawerOpened": "tngDrawerOpened"; "tngDrawerClosed": "tngDrawerClosed"; "openStart": "openStart"; "closeStart": "closeStart"; "backdropClick": "backdropClick"; "positionChange": "positionChange"; }, never, never, true, never>;
158
163
  }
159
164
  export declare class TngDrawerContent {
160
165
  private readonly hostRef;
@@ -166,12 +171,20 @@ export declare class TngDrawerContent {
166
171
  protected get dataContainerMissing(): 'true' | null;
167
172
  applyOffsets(leftOffset: number, rightOffset: number): void;
168
173
  setInert(nextInert: boolean): void;
174
+ static ɵfac: i0.ɵɵFactoryDeclaration<TngDrawerContent, never>;
175
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TngDrawerContent, "[tngDrawerContent]", ["tngDrawerContent"], {}, {}, never, never, true, never>;
169
176
  }
170
177
  export declare class TngSidenavContainer extends TngDrawerContainer {
178
+ static ɵfac: i0.ɵɵFactoryDeclaration<TngSidenavContainer, never>;
179
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TngSidenavContainer, "[tngSidenavContainer]", ["tngSidenavContainer"], {}, {}, never, never, true, never>;
171
180
  }
172
181
  export declare class TngSidenav extends TngDrawer {
182
+ static ɵfac: i0.ɵɵFactoryDeclaration<TngSidenav, never>;
183
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TngSidenav, "[tngSidenav]", ["tngSidenav"], {}, {}, never, never, true, never>;
173
184
  }
174
185
  export declare class TngSidenavContent extends TngDrawerContent {
186
+ static ɵfac: i0.ɵɵFactoryDeclaration<TngSidenavContent, never>;
187
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TngSidenavContent, "[tngSidenavContent]", ["tngSidenavContent"], {}, {}, never, never, true, never>;
175
188
  }
176
189
  export {};
177
190
  //# sourceMappingURL=tng-drawer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tng-drawer.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/tailng-ui/primitives/src/lib/layout/drawer/tng-drawer.ts"],"names":[],"mappings":"AA0BA,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,OAAO,CAAC;AACpD,MAAM,MAAM,kBAAkB,GAAG,KAAK,GAAG,KAAK,GA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Listener, forwardRef, inject, input, output, } from '@angular/core';
4
3
  import { createScrollLockManager, createTngIdFactory } from '@tailng-ui/cdk';
4
+ import * as i0 from "@angular/core";
5
5
  const createDrawerContainerId = createTngIdFactory('tng-drawer-container');
6
6
  const createDrawerId = createTngIdFactory('tng-drawer');
7
7
  const FOCUSABLE_SELECTOR = [
@@ -13,7 +13,7 @@ const FOCUSABLE_SELECTOR = [
13
13
  '[tabindex]:not([tabindex="-1"])',
14
14
  '[contenteditable="true"]',
15
15
  ].join(',');
16
- let TngDrawerContainer = class TngDrawerContainer {
16
+ export class TngDrawerContainer {
17
17
  documentRef = inject(DOCUMENT, { optional: true });
18
18
  hostRef = inject(ElementRef);
19
19
  resolvedId = this.hostRef.nativeElement.getAttribute('id') ?? createDrawerContainerId();
@@ -33,17 +33,11 @@ let TngDrawerContainer = class TngDrawerContainer {
33
33
  return Math.max(0, windowRef.innerWidth - rootWidth);
34
34
  },
35
35
  });
36
- hasBackdrop = input('auto', { transform: normalizeAutoBooleanInput });
37
- closeOthersOnOpen = input(true, {
38
- transform: normalizeBooleanInput,
39
- });
40
- animate = input(true, {
41
- transform: normalizeBooleanInput,
42
- });
43
- lockScroll = input('auto', { transform: normalizeAutoBooleanInput });
44
- dir = input('auto', {
45
- transform: normalizeDirectionInput,
46
- });
36
+ hasBackdrop = input('auto', { ...(ngDevMode ? { debugName: "hasBackdrop" } : {}), transform: normalizeAutoBooleanInput });
37
+ closeOthersOnOpen = input(true, { ...(ngDevMode ? { debugName: "closeOthersOnOpen" } : {}), transform: normalizeBooleanInput });
38
+ animate = input(true, { ...(ngDevMode ? { debugName: "animate" } : {}), transform: normalizeBooleanInput });
39
+ lockScroll = input('auto', { ...(ngDevMode ? { debugName: "lockScroll" } : {}), transform: normalizeAutoBooleanInput });
40
+ dir = input('auto', { ...(ngDevMode ? { debugName: "dir" } : {}), transform: normalizeDirectionInput });
47
41
  dataSlot = 'drawer-container';
48
42
  id = this.resolvedId;
49
43
  get dataContentCount() {
@@ -173,31 +167,32 @@ let TngDrawerContainer = class TngDrawerContainer {
173
167
  content.applyOffsets(leftOffset, rightOffset);
174
168
  }
175
169
  }
176
- };
177
- __decorate([
178
- HostBinding('attr.data-slot')
179
- ], TngDrawerContainer.prototype, "dataSlot", void 0);
180
- __decorate([
181
- HostBinding('attr.id')
182
- ], TngDrawerContainer.prototype, "id", void 0);
183
- __decorate([
184
- HostBinding('attr.data-content-count')
185
- ], TngDrawerContainer.prototype, "dataContentCount", null);
186
- __decorate([
187
- HostBinding('attr.data-content-conflict')
188
- ], TngDrawerContainer.prototype, "dataContentConflict", null);
189
- __decorate([
190
- HostBinding('attr.data-direction')
191
- ], TngDrawerContainer.prototype, "dataDirection", null);
192
- TngDrawerContainer = __decorate([
193
- Directive({
194
- selector: '[tngDrawerContainer]',
195
- exportAs: 'tngDrawerContainer',
196
- standalone: true,
197
- })
198
- ], TngDrawerContainer);
199
- export { TngDrawerContainer };
200
- let TngDrawer = class TngDrawer {
170
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: TngDrawerContainer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
171
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.1", type: TngDrawerContainer, isStandalone: true, selector: "[tngDrawerContainer]", inputs: { hasBackdrop: { classPropertyName: "hasBackdrop", publicName: "hasBackdrop", isSignal: true, isRequired: false, transformFunction: null }, closeOthersOnOpen: { classPropertyName: "closeOthersOnOpen", publicName: "closeOthersOnOpen", isSignal: true, isRequired: false, transformFunction: null }, animate: { classPropertyName: "animate", publicName: "animate", isSignal: true, isRequired: false, transformFunction: null }, lockScroll: { classPropertyName: "lockScroll", publicName: "lockScroll", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-slot": "this.dataSlot", "attr.id": "this.id", "attr.data-content-count": "this.dataContentCount", "attr.data-content-conflict": "this.dataContentConflict", "attr.data-direction": "this.dataDirection" } }, exportAs: ["tngDrawerContainer"], ngImport: i0 });
172
+ }
173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: TngDrawerContainer, decorators: [{
174
+ type: Directive,
175
+ args: [{
176
+ selector: '[tngDrawerContainer]',
177
+ exportAs: 'tngDrawerContainer',
178
+ }]
179
+ }], propDecorators: { hasBackdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasBackdrop", required: false }] }], closeOthersOnOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOthersOnOpen", required: false }] }], animate: [{ type: i0.Input, args: [{ isSignal: true, alias: "animate", required: false }] }], lockScroll: [{ type: i0.Input, args: [{ isSignal: true, alias: "lockScroll", required: false }] }], dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], dataSlot: [{
180
+ type: HostBinding,
181
+ args: ['attr.data-slot']
182
+ }], id: [{
183
+ type: HostBinding,
184
+ args: ['attr.id']
185
+ }], dataContentCount: [{
186
+ type: HostBinding,
187
+ args: ['attr.data-content-count']
188
+ }], dataContentConflict: [{
189
+ type: HostBinding,
190
+ args: ['attr.data-content-conflict']
191
+ }], dataDirection: [{
192
+ type: HostBinding,
193
+ args: ['attr.data-direction']
194
+ }] } });
195
+ export class TngDrawer {
201
196
  documentRef = inject(DOCUMENT, { optional: true });
202
197
  hostRef = inject(ElementRef);
203
198
  container = inject(TngDrawerContainer, { optional: true, host: true });
@@ -217,58 +212,28 @@ let TngDrawer = class TngDrawer {
217
212
  swipeLastX = null;
218
213
  swipeStartY = null;
219
214
  swipeLastY = null;
220
- openedInput = input(undefined, {
221
- alias: 'opened',
222
- transform: normalizeOptionalBooleanInput,
223
- });
224
- defaultOpened = input(false, {
225
- transform: normalizeBooleanInput,
226
- });
227
- mode = input('overlay', {
228
- transform: normalizeModeInput,
229
- });
230
- position = input('start', {
231
- transform: normalizePositionInput,
232
- });
233
- disabled = input(false, {
234
- transform: normalizeBooleanInput,
235
- });
236
- backdrop = input('auto', { transform: normalizeAutoBooleanInput });
237
- closeOnOutsideClickInput = input(undefined, {
238
- alias: 'closeOnOutsideClick',
239
- transform: normalizeOptionalBooleanInput,
240
- });
241
- closeOnEscape = input(true, {
242
- transform: normalizeBooleanInput,
243
- });
244
- restoreFocus = input(true, {
245
- transform: normalizeBooleanInput,
246
- });
247
- autoFocus = input('drawer', { transform: normalizeAutoFocusInput });
248
- trapFocus = input('auto', { transform: normalizeAutoBooleanInput });
249
- inertContent = input('auto', { transform: normalizeAutoBooleanInput });
250
- allowBodyScrollInput = input(undefined, {
251
- alias: 'allowBodyScroll',
252
- transform: normalizeOptionalBooleanInput,
253
- });
254
- closeOnTab = input(false, {
255
- transform: normalizeBooleanInput,
256
- });
257
- role = input('navigation', {
258
- transform: normalizeRoleInput,
259
- });
260
- fixedInViewport = input(false, {
261
- transform: normalizeBooleanInput,
262
- });
263
- fixedTopGap = input(0, {
264
- transform: normalizeNumberInput,
265
- });
266
- fixedBottomGap = input(0, {
267
- transform: normalizeNumberInput,
268
- });
269
- swipeToClose = input(false, {
270
- transform: normalizeBooleanInput,
271
- });
215
+ openedInput = input(undefined, { ...(ngDevMode ? { debugName: "openedInput" } : {}), alias: 'opened',
216
+ transform: normalizeOptionalBooleanInput });
217
+ defaultOpened = input(false, { ...(ngDevMode ? { debugName: "defaultOpened" } : {}), transform: normalizeBooleanInput });
218
+ mode = input('overlay', { ...(ngDevMode ? { debugName: "mode" } : {}), transform: normalizeModeInput });
219
+ position = input('start', { ...(ngDevMode ? { debugName: "position" } : {}), transform: normalizePositionInput });
220
+ disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : {}), transform: normalizeBooleanInput });
221
+ backdrop = input('auto', { ...(ngDevMode ? { debugName: "backdrop" } : {}), transform: normalizeAutoBooleanInput });
222
+ closeOnOutsideClickInput = input(undefined, { ...(ngDevMode ? { debugName: "closeOnOutsideClickInput" } : {}), alias: 'closeOnOutsideClick',
223
+ transform: normalizeOptionalBooleanInput });
224
+ closeOnEscape = input(true, { ...(ngDevMode ? { debugName: "closeOnEscape" } : {}), transform: normalizeBooleanInput });
225
+ restoreFocus = input(true, { ...(ngDevMode ? { debugName: "restoreFocus" } : {}), transform: normalizeBooleanInput });
226
+ autoFocus = input('drawer', { ...(ngDevMode ? { debugName: "autoFocus" } : {}), transform: normalizeAutoFocusInput });
227
+ trapFocus = input('auto', { ...(ngDevMode ? { debugName: "trapFocus" } : {}), transform: normalizeAutoBooleanInput });
228
+ inertContent = input('auto', { ...(ngDevMode ? { debugName: "inertContent" } : {}), transform: normalizeAutoBooleanInput });
229
+ allowBodyScrollInput = input(undefined, { ...(ngDevMode ? { debugName: "allowBodyScrollInput" } : {}), alias: 'allowBodyScroll',
230
+ transform: normalizeOptionalBooleanInput });
231
+ closeOnTab = input(false, { ...(ngDevMode ? { debugName: "closeOnTab" } : {}), transform: normalizeBooleanInput });
232
+ role = input('navigation', { ...(ngDevMode ? { debugName: "role" } : {}), transform: normalizeRoleInput });
233
+ fixedInViewport = input(false, { ...(ngDevMode ? { debugName: "fixedInViewport" } : {}), transform: normalizeBooleanInput });
234
+ fixedTopGap = input(0, { ...(ngDevMode ? { debugName: "fixedTopGap" } : {}), transform: normalizeNumberInput });
235
+ fixedBottomGap = input(0, { ...(ngDevMode ? { debugName: "fixedBottomGap" } : {}), transform: normalizeNumberInput });
236
+ swipeToClose = input(false, { ...(ngDevMode ? { debugName: "swipeToClose" } : {}), transform: normalizeBooleanInput });
272
237
  openedChange = output();
273
238
  tngDrawerOpened = output();
274
239
  tngDrawerClosed = output();
@@ -852,88 +817,89 @@ let TngDrawer = class TngDrawer {
852
817
  const onHorizontalScrollbar = event.clientY >= viewportHeight && event.clientY > 0;
853
818
  return onVerticalScrollbar || onHorizontalScrollbar;
854
819
  }
855
- };
856
- __decorate([
857
- HostListener('transitionend', ['$event'])
858
- ], TngDrawer.prototype, "onTransitionEnd", null);
859
- __decorate([
860
- HostListener('pointerdown', ['$event'])
861
- ], TngDrawer.prototype, "onHostPointerDown", null);
862
- __decorate([
863
- HostListener('pointermove', ['$event'])
864
- ], TngDrawer.prototype, "onHostPointerMove", null);
865
- __decorate([
866
- HostListener('pointerup')
867
- ], TngDrawer.prototype, "onHostPointerUp", null);
868
- __decorate([
869
- HostBinding('attr.data-slot')
870
- ], TngDrawer.prototype, "dataSlot", void 0);
871
- __decorate([
872
- HostBinding('attr.id')
873
- ], TngDrawer.prototype, "id", void 0);
874
- __decorate([
875
- HostBinding('attr.role')
876
- ], TngDrawer.prototype, "roleAttr", null);
877
- __decorate([
878
- HostBinding('attr.tabindex')
879
- ], TngDrawer.prototype, "tabIndexAttr", null);
880
- __decorate([
881
- HostBinding('attr.data-mode')
882
- ], TngDrawer.prototype, "dataMode", null);
883
- __decorate([
884
- HostBinding('attr.data-state')
885
- ], TngDrawer.prototype, "dataState", null);
886
- __decorate([
887
- HostBinding('attr.data-open')
888
- ], TngDrawer.prototype, "dataOpen", null);
889
- __decorate([
890
- HostBinding('attr.data-position')
891
- ], TngDrawer.prototype, "dataPosition", null);
892
- __decorate([
893
- HostBinding('attr.data-effective-position')
894
- ], TngDrawer.prototype, "dataEffectivePosition", null);
895
- __decorate([
896
- HostBinding('attr.data-disabled')
897
- ], TngDrawer.prototype, "dataDisabled", null);
898
- __decorate([
899
- HostBinding('attr.aria-disabled')
900
- ], TngDrawer.prototype, "ariaDisabled", null);
901
- __decorate([
902
- HostBinding('attr.data-container-id')
903
- ], TngDrawer.prototype, "dataContainerId", null);
904
- __decorate([
905
- HostBinding('attr.data-container-missing')
906
- ], TngDrawer.prototype, "dataContainerMissing", null);
907
- __decorate([
908
- HostBinding('attr.hidden')
909
- ], TngDrawer.prototype, "hiddenAttr", null);
910
- __decorate([
911
- HostBinding('attr.aria-modal')
912
- ], TngDrawer.prototype, "ariaModal", null);
913
- __decorate([
914
- HostBinding('style.position')
915
- ], TngDrawer.prototype, "positionStyle", null);
916
- __decorate([
917
- HostBinding('style.top')
918
- ], TngDrawer.prototype, "topStyle", null);
919
- __decorate([
920
- HostBinding('style.bottom')
921
- ], TngDrawer.prototype, "bottomStyle", null);
922
- __decorate([
923
- HostBinding('style.left')
924
- ], TngDrawer.prototype, "leftStyle", null);
925
- __decorate([
926
- HostBinding('style.right')
927
- ], TngDrawer.prototype, "rightStyle", null);
928
- TngDrawer = __decorate([
929
- Directive({
930
- selector: '[tngDrawer]',
931
- exportAs: 'tngDrawer',
932
- standalone: true,
933
- })
934
- ], TngDrawer);
935
- export { TngDrawer };
936
- let TngDrawerContent = class TngDrawerContent {
820
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: TngDrawer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
821
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.1", type: TngDrawer, isStandalone: true, selector: "[tngDrawer]", inputs: { openedInput: { classPropertyName: "openedInput", publicName: "opened", isSignal: true, isRequired: false, transformFunction: null }, defaultOpened: { classPropertyName: "defaultOpened", publicName: "defaultOpened", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, backdrop: { classPropertyName: "backdrop", publicName: "backdrop", isSignal: true, isRequired: false, transformFunction: null }, closeOnOutsideClickInput: { classPropertyName: "closeOnOutsideClickInput", publicName: "closeOnOutsideClick", isSignal: true, isRequired: false, transformFunction: null }, closeOnEscape: { classPropertyName: "closeOnEscape", publicName: "closeOnEscape", isSignal: true, isRequired: false, transformFunction: null }, restoreFocus: { classPropertyName: "restoreFocus", publicName: "restoreFocus", isSignal: true, isRequired: false, transformFunction: null }, autoFocus: { classPropertyName: "autoFocus", publicName: "autoFocus", isSignal: true, isRequired: false, transformFunction: null }, trapFocus: { classPropertyName: "trapFocus", publicName: "trapFocus", isSignal: true, isRequired: false, transformFunction: null }, inertContent: { classPropertyName: "inertContent", publicName: "inertContent", isSignal: true, isRequired: false, transformFunction: null }, allowBodyScrollInput: { classPropertyName: "allowBodyScrollInput", publicName: "allowBodyScroll", isSignal: true, isRequired: false, transformFunction: null }, closeOnTab: { classPropertyName: "closeOnTab", publicName: "closeOnTab", isSignal: true, isRequired: false, transformFunction: null }, role: { classPropertyName: "role", publicName: "role", isSignal: true, isRequired: false, transformFunction: null }, fixedInViewport: { classPropertyName: "fixedInViewport", publicName: "fixedInViewport", isSignal: true, isRequired: false, transformFunction: null }, fixedTopGap: { classPropertyName: "fixedTopGap", publicName: "fixedTopGap", isSignal: true, isRequired: false, transformFunction: null }, fixedBottomGap: { classPropertyName: "fixedBottomGap", publicName: "fixedBottomGap", isSignal: true, isRequired: false, transformFunction: null }, swipeToClose: { classPropertyName: "swipeToClose", publicName: "swipeToClose", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { openedChange: "openedChange", tngDrawerOpened: "tngDrawerOpened", tngDrawerClosed: "tngDrawerClosed", openStart: "openStart", closeStart: "closeStart", backdropClick: "backdropClick", positionChange: "positionChange" }, host: { listeners: { "transitionend": "onTransitionEnd($event)", "pointerdown": "onHostPointerDown($event)", "pointermove": "onHostPointerMove($event)", "pointerup": "onHostPointerUp()" }, properties: { "attr.data-slot": "this.dataSlot", "attr.id": "this.id", "attr.role": "this.roleAttr", "attr.tabindex": "this.tabIndexAttr", "attr.data-mode": "this.dataMode", "attr.data-state": "this.dataState", "attr.data-open": "this.dataOpen", "attr.data-position": "this.dataPosition", "attr.data-effective-position": "this.dataEffectivePosition", "attr.data-disabled": "this.dataDisabled", "attr.aria-disabled": "this.ariaDisabled", "attr.data-container-id": "this.dataContainerId", "attr.data-container-missing": "this.dataContainerMissing", "attr.hidden": "this.hiddenAttr", "attr.aria-modal": "this.ariaModal", "style.position": "this.positionStyle", "style.top": "this.topStyle", "style.bottom": "this.bottomStyle", "style.left": "this.leftStyle", "style.right": "this.rightStyle" } }, exportAs: ["tngDrawer"], ngImport: i0 });
822
+ }
823
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: TngDrawer, decorators: [{
824
+ type: Directive,
825
+ args: [{
826
+ selector: '[tngDrawer]',
827
+ exportAs: 'tngDrawer',
828
+ }]
829
+ }], propDecorators: { openedInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "opened", required: false }] }], defaultOpened: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultOpened", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], backdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "backdrop", required: false }] }], closeOnOutsideClickInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnOutsideClick", required: false }] }], closeOnEscape: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnEscape", required: false }] }], restoreFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "restoreFocus", required: false }] }], autoFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoFocus", required: false }] }], trapFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "trapFocus", required: false }] }], inertContent: [{ type: i0.Input, args: [{ isSignal: true, alias: "inertContent", required: false }] }], allowBodyScrollInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowBodyScroll", required: false }] }], closeOnTab: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnTab", required: false }] }], role: [{ type: i0.Input, args: [{ isSignal: true, alias: "role", required: false }] }], fixedInViewport: [{ type: i0.Input, args: [{ isSignal: true, alias: "fixedInViewport", required: false }] }], fixedTopGap: [{ type: i0.Input, args: [{ isSignal: true, alias: "fixedTopGap", required: false }] }], fixedBottomGap: [{ type: i0.Input, args: [{ isSignal: true, alias: "fixedBottomGap", required: false }] }], swipeToClose: [{ type: i0.Input, args: [{ isSignal: true, alias: "swipeToClose", required: false }] }], openedChange: [{ type: i0.Output, args: ["openedChange"] }], tngDrawerOpened: [{ type: i0.Output, args: ["tngDrawerOpened"] }], tngDrawerClosed: [{ type: i0.Output, args: ["tngDrawerClosed"] }], openStart: [{ type: i0.Output, args: ["openStart"] }], closeStart: [{ type: i0.Output, args: ["closeStart"] }], backdropClick: [{ type: i0.Output, args: ["backdropClick"] }], positionChange: [{ type: i0.Output, args: ["positionChange"] }], onTransitionEnd: [{
830
+ type: HostListener,
831
+ args: ['transitionend', ['$event']]
832
+ }], onHostPointerDown: [{
833
+ type: HostListener,
834
+ args: ['pointerdown', ['$event']]
835
+ }], onHostPointerMove: [{
836
+ type: HostListener,
837
+ args: ['pointermove', ['$event']]
838
+ }], onHostPointerUp: [{
839
+ type: HostListener,
840
+ args: ['pointerup']
841
+ }], dataSlot: [{
842
+ type: HostBinding,
843
+ args: ['attr.data-slot']
844
+ }], id: [{
845
+ type: HostBinding,
846
+ args: ['attr.id']
847
+ }], roleAttr: [{
848
+ type: HostBinding,
849
+ args: ['attr.role']
850
+ }], tabIndexAttr: [{
851
+ type: HostBinding,
852
+ args: ['attr.tabindex']
853
+ }], dataMode: [{
854
+ type: HostBinding,
855
+ args: ['attr.data-mode']
856
+ }], dataState: [{
857
+ type: HostBinding,
858
+ args: ['attr.data-state']
859
+ }], dataOpen: [{
860
+ type: HostBinding,
861
+ args: ['attr.data-open']
862
+ }], dataPosition: [{
863
+ type: HostBinding,
864
+ args: ['attr.data-position']
865
+ }], dataEffectivePosition: [{
866
+ type: HostBinding,
867
+ args: ['attr.data-effective-position']
868
+ }], dataDisabled: [{
869
+ type: HostBinding,
870
+ args: ['attr.data-disabled']
871
+ }], ariaDisabled: [{
872
+ type: HostBinding,
873
+ args: ['attr.aria-disabled']
874
+ }], dataContainerId: [{
875
+ type: HostBinding,
876
+ args: ['attr.data-container-id']
877
+ }], dataContainerMissing: [{
878
+ type: HostBinding,
879
+ args: ['attr.data-container-missing']
880
+ }], hiddenAttr: [{
881
+ type: HostBinding,
882
+ args: ['attr.hidden']
883
+ }], ariaModal: [{
884
+ type: HostBinding,
885
+ args: ['attr.aria-modal']
886
+ }], positionStyle: [{
887
+ type: HostBinding,
888
+ args: ['style.position']
889
+ }], topStyle: [{
890
+ type: HostBinding,
891
+ args: ['style.top']
892
+ }], bottomStyle: [{
893
+ type: HostBinding,
894
+ args: ['style.bottom']
895
+ }], leftStyle: [{
896
+ type: HostBinding,
897
+ args: ['style.left']
898
+ }], rightStyle: [{
899
+ type: HostBinding,
900
+ args: ['style.right']
901
+ }] } });
902
+ export class TngDrawerContent {
937
903
  hostRef = inject(ElementRef);
938
904
  container = inject(TngDrawerContainer, { optional: true, host: true });
939
905
  ngOnInit() {
@@ -979,72 +945,91 @@ let TngDrawerContent = class TngDrawerContent {
979
945
  // noop: inert is not writable in some environments.
980
946
  }
981
947
  }
982
- };
983
- __decorate([
984
- HostBinding('attr.data-slot')
985
- ], TngDrawerContent.prototype, "dataSlot", void 0);
986
- __decorate([
987
- HostBinding('attr.data-container-id')
988
- ], TngDrawerContent.prototype, "dataContainerId", null);
989
- __decorate([
990
- HostBinding('attr.data-container-missing')
991
- ], TngDrawerContent.prototype, "dataContainerMissing", null);
992
- TngDrawerContent = __decorate([
993
- Directive({
994
- selector: '[tngDrawerContent]',
995
- exportAs: 'tngDrawerContent',
996
- standalone: true,
997
- })
998
- ], TngDrawerContent);
999
- export { TngDrawerContent };
1000
- let TngSidenavContainer = class TngSidenavContainer extends TngDrawerContainer {
1001
- };
1002
- TngSidenavContainer = __decorate([
1003
- Directive({
1004
- selector: '[tngSidenavContainer]',
1005
- exportAs: 'tngSidenavContainer',
1006
- standalone: true,
1007
- providers: [
948
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: TngDrawerContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
949
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.1", type: TngDrawerContent, isStandalone: true, selector: "[tngDrawerContent]", host: { properties: { "attr.data-slot": "this.dataSlot", "attr.data-container-id": "this.dataContainerId", "attr.data-container-missing": "this.dataContainerMissing" } }, exportAs: ["tngDrawerContent"], ngImport: i0 });
950
+ }
951
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: TngDrawerContent, decorators: [{
952
+ type: Directive,
953
+ args: [{
954
+ selector: '[tngDrawerContent]',
955
+ exportAs: 'tngDrawerContent',
956
+ }]
957
+ }], propDecorators: { dataSlot: [{
958
+ type: HostBinding,
959
+ args: ['attr.data-slot']
960
+ }], dataContainerId: [{
961
+ type: HostBinding,
962
+ args: ['attr.data-container-id']
963
+ }], dataContainerMissing: [{
964
+ type: HostBinding,
965
+ args: ['attr.data-container-missing']
966
+ }] } });
967
+ export class TngSidenavContainer extends TngDrawerContainer {
968
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: TngSidenavContainer, deps: null, target: i0.ɵɵFactoryTarget.Directive });
969
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.1", type: TngSidenavContainer, isStandalone: true, selector: "[tngSidenavContainer]", providers: [
1008
970
  {
1009
971
  provide: TngDrawerContainer,
1010
972
  useExisting: forwardRef(() => TngSidenavContainer),
1011
973
  },
1012
- ],
1013
- })
1014
- ], TngSidenavContainer);
1015
- export { TngSidenavContainer };
1016
- let TngSidenav = class TngSidenav extends TngDrawer {
1017
- };
1018
- TngSidenav = __decorate([
1019
- Directive({
1020
- selector: '[tngSidenav]',
1021
- exportAs: 'tngSidenav',
1022
- standalone: true,
1023
- providers: [
974
+ ], exportAs: ["tngSidenavContainer"], usesInheritance: true, ngImport: i0 });
975
+ }
976
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: TngSidenavContainer, decorators: [{
977
+ type: Directive,
978
+ args: [{
979
+ selector: '[tngSidenavContainer]',
980
+ exportAs: 'tngSidenavContainer',
981
+ providers: [
982
+ {
983
+ provide: TngDrawerContainer,
984
+ useExisting: forwardRef(() => TngSidenavContainer),
985
+ },
986
+ ],
987
+ }]
988
+ }] });
989
+ export class TngSidenav extends TngDrawer {
990
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: TngSidenav, deps: null, target: i0.ɵɵFactoryTarget.Directive });
991
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.1", type: TngSidenav, isStandalone: true, selector: "[tngSidenav]", providers: [
1024
992
  {
1025
993
  provide: TngDrawer,
1026
994
  useExisting: forwardRef(() => TngSidenav),
1027
995
  },
1028
- ],
1029
- })
1030
- ], TngSidenav);
1031
- export { TngSidenav };
1032
- let TngSidenavContent = class TngSidenavContent extends TngDrawerContent {
1033
- };
1034
- TngSidenavContent = __decorate([
1035
- Directive({
1036
- selector: '[tngSidenavContent]',
1037
- exportAs: 'tngSidenavContent',
1038
- standalone: true,
1039
- providers: [
996
+ ], exportAs: ["tngSidenav"], usesInheritance: true, ngImport: i0 });
997
+ }
998
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: TngSidenav, decorators: [{
999
+ type: Directive,
1000
+ args: [{
1001
+ selector: '[tngSidenav]',
1002
+ exportAs: 'tngSidenav',
1003
+ providers: [
1004
+ {
1005
+ provide: TngDrawer,
1006
+ useExisting: forwardRef(() => TngSidenav),
1007
+ },
1008
+ ],
1009
+ }]
1010
+ }] });
1011
+ export class TngSidenavContent extends TngDrawerContent {
1012
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: TngSidenavContent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1013
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.1", type: TngSidenavContent, isStandalone: true, selector: "[tngSidenavContent]", providers: [
1040
1014
  {
1041
1015
  provide: TngDrawerContent,
1042
1016
  useExisting: forwardRef(() => TngSidenavContent),
1043
1017
  },
1044
- ],
1045
- })
1046
- ], TngSidenavContent);
1047
- export { TngSidenavContent };
1018
+ ], exportAs: ["tngSidenavContent"], usesInheritance: true, ngImport: i0 });
1019
+ }
1020
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: TngSidenavContent, decorators: [{
1021
+ type: Directive,
1022
+ args: [{
1023
+ selector: '[tngSidenavContent]',
1024
+ exportAs: 'tngSidenavContent',
1025
+ providers: [
1026
+ {
1027
+ provide: TngDrawerContent,
1028
+ useExisting: forwardRef(() => TngSidenavContent),
1029
+ },
1030
+ ],
1031
+ }]
1032
+ }] });
1048
1033
  function normalizeBooleanInput(value) {
1049
1034
  if (typeof value === 'boolean') {
1050
1035
  return value;