@tailng-ui/components 0.17.0 → 0.19.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 (257) hide show
  1. package/package.json +16 -5
  2. package/src/lib/feedback/empty/tng-empty.component.d.ts +16 -1
  3. package/src/lib/feedback/empty/tng-empty.component.d.ts.map +1 -1
  4. package/src/lib/feedback/empty/tng-empty.component.js +47 -57
  5. package/src/lib/feedback/empty/tng-empty.component.js.map +1 -1
  6. package/src/lib/feedback/index.d.ts +0 -5
  7. package/src/lib/feedback/index.d.ts.map +1 -1
  8. package/src/lib/feedback/index.js +4 -5
  9. package/src/lib/feedback/index.js.map +1 -1
  10. package/src/lib/feedback/progress-bar/tng-progress-bar.component.d.ts +4 -0
  11. package/src/lib/feedback/progress-bar/tng-progress-bar.component.d.ts.map +1 -1
  12. package/src/lib/feedback/progress-bar/tng-progress-bar.component.js +16 -26
  13. package/src/lib/feedback/progress-bar/tng-progress-bar.component.js.map +1 -1
  14. package/src/lib/feedback/progress-spinner/tng-progress-spinner.component.d.ts +4 -0
  15. package/src/lib/feedback/progress-spinner/tng-progress-spinner.component.d.ts.map +1 -1
  16. package/src/lib/feedback/progress-spinner/tng-progress-spinner.component.js +18 -32
  17. package/src/lib/feedback/progress-spinner/tng-progress-spinner.component.js.map +1 -1
  18. package/src/lib/feedback/skeleton/tng-skeleton.component.d.ts +4 -0
  19. package/src/lib/feedback/skeleton/tng-skeleton.component.d.ts.map +1 -1
  20. package/src/lib/feedback/skeleton/tng-skeleton.component.js +14 -20
  21. package/src/lib/feedback/skeleton/tng-skeleton.component.js.map +1 -1
  22. package/src/lib/feedback/toast/tng-toast.component.d.ts +4 -1
  23. package/src/lib/feedback/toast/tng-toast.component.d.ts.map +1 -1
  24. package/src/lib/feedback/toast/tng-toast.component.js +17 -19
  25. package/src/lib/feedback/toast/tng-toast.component.js.map +1 -1
  26. package/src/lib/form/autocomplete/tng-autocomplete.component.d.ts +4 -0
  27. package/src/lib/form/autocomplete/tng-autocomplete.component.d.ts.map +1 -1
  28. package/src/lib/form/autocomplete/tng-autocomplete.component.js +46 -49
  29. package/src/lib/form/autocomplete/tng-autocomplete.component.js.map +1 -1
  30. package/src/lib/form/button-toggle/tng-button-toggle-group.component.d.ts +3 -0
  31. package/src/lib/form/button-toggle/tng-button-toggle-group.component.d.ts.map +1 -1
  32. package/src/lib/form/button-toggle/tng-button-toggle-group.component.js +33 -58
  33. package/src/lib/form/button-toggle/tng-button-toggle-group.component.js.map +1 -1
  34. package/src/lib/form/button-toggle/tng-button-toggle.component.d.ts +3 -0
  35. package/src/lib/form/button-toggle/tng-button-toggle.component.d.ts.map +1 -1
  36. package/src/lib/form/button-toggle/tng-button-toggle.component.js +15 -26
  37. package/src/lib/form/button-toggle/tng-button-toggle.component.js.map +1 -1
  38. package/src/lib/form/checkbox/tng-checkbox.component.d.ts +3 -0
  39. package/src/lib/form/checkbox/tng-checkbox.component.d.ts.map +1 -1
  40. package/src/lib/form/checkbox/tng-checkbox.component.js +32 -42
  41. package/src/lib/form/checkbox/tng-checkbox.component.js.map +1 -1
  42. package/src/lib/form/chips/tng-chips.component.d.ts +3 -0
  43. package/src/lib/form/chips/tng-chips.component.d.ts.map +1 -1
  44. package/src/lib/form/chips/tng-chips.component.js +14 -19
  45. package/src/lib/form/chips/tng-chips.component.js.map +1 -1
  46. package/src/lib/form/combobox/tng-combobox.component.d.ts +3 -0
  47. package/src/lib/form/combobox/tng-combobox.component.d.ts.map +1 -1
  48. package/src/lib/form/combobox/tng-combobox.component.js +10 -13
  49. package/src/lib/form/combobox/tng-combobox.component.js.map +1 -1
  50. package/src/lib/form/datepicker/tng-datepicker.component.d.ts +4 -1
  51. package/src/lib/form/datepicker/tng-datepicker.component.d.ts.map +1 -1
  52. package/src/lib/form/datepicker/tng-datepicker.component.js +58 -98
  53. package/src/lib/form/datepicker/tng-datepicker.component.js.map +1 -1
  54. package/src/lib/form/form-field/tng-form-field.component.d.ts +3 -0
  55. package/src/lib/form/form-field/tng-form-field.component.d.ts.map +1 -1
  56. package/src/lib/form/form-field/tng-form-field.component.js +28 -33
  57. package/src/lib/form/form-field/tng-form-field.component.js.map +1 -1
  58. package/src/lib/form/index.d.ts +0 -20
  59. package/src/lib/form/index.d.ts.map +1 -1
  60. package/src/lib/form/index.js +4 -20
  61. package/src/lib/form/index.js.map +1 -1
  62. package/src/lib/form/input/tng-input.component.d.ts +3 -0
  63. package/src/lib/form/input/tng-input.component.d.ts.map +1 -1
  64. package/src/lib/form/input/tng-input.component.js +49 -60
  65. package/src/lib/form/input/tng-input.component.js.map +1 -1
  66. package/src/lib/form/input-otp/tng-input-otp.component.d.ts +3 -0
  67. package/src/lib/form/input-otp/tng-input-otp.component.d.ts.map +1 -1
  68. package/src/lib/form/input-otp/tng-input-otp.component.js +55 -69
  69. package/src/lib/form/input-otp/tng-input-otp.component.js.map +1 -1
  70. package/src/lib/form/label/tng-label.component.d.ts +3 -0
  71. package/src/lib/form/label/tng-label.component.d.ts.map +1 -1
  72. package/src/lib/form/label/tng-label.component.js +12 -19
  73. package/src/lib/form/label/tng-label.component.js.map +1 -1
  74. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.component.d.ts +4 -0
  75. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.component.d.ts.map +1 -1
  76. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.component.js +40 -43
  77. package/src/lib/form/multi-autocomplete/tng-multi-autocomplete.component.js.map +1 -1
  78. package/src/lib/form/multiselect/tng-multiselect.component.d.ts +4 -0
  79. package/src/lib/form/multiselect/tng-multiselect.component.d.ts.map +1 -1
  80. package/src/lib/form/multiselect/tng-multiselect.component.js +49 -52
  81. package/src/lib/form/multiselect/tng-multiselect.component.js.map +1 -1
  82. package/src/lib/form/radio/tng-radio.component.d.ts +3 -0
  83. package/src/lib/form/radio/tng-radio.component.d.ts.map +1 -1
  84. package/src/lib/form/radio/tng-radio.component.js +18 -33
  85. package/src/lib/form/radio/tng-radio.component.js.map +1 -1
  86. package/src/lib/form/select/tng-select.component.d.ts +4 -0
  87. package/src/lib/form/select/tng-select.component.d.ts.map +1 -1
  88. package/src/lib/form/select/tng-select.component.js +52 -53
  89. package/src/lib/form/select/tng-select.component.js.map +1 -1
  90. package/src/lib/form/select/tng-select.slots.d.ts +5 -0
  91. package/src/lib/form/select/tng-select.slots.d.ts.map +1 -1
  92. package/src/lib/form/select/tng-select.slots.js +21 -17
  93. package/src/lib/form/select/tng-select.slots.js.map +1 -1
  94. package/src/lib/form/slider/tng-slider.component.d.ts +3 -0
  95. package/src/lib/form/slider/tng-slider.component.d.ts.map +1 -1
  96. package/src/lib/form/slider/tng-slider.component.js +14 -27
  97. package/src/lib/form/slider/tng-slider.component.js.map +1 -1
  98. package/src/lib/form/switch/tng-switch.component.d.ts +3 -0
  99. package/src/lib/form/switch/tng-switch.component.d.ts.map +1 -1
  100. package/src/lib/form/switch/tng-switch.component.js +15 -24
  101. package/src/lib/form/switch/tng-switch.component.js.map +1 -1
  102. package/src/lib/form/textarea/tng-textarea.component.d.ts +3 -0
  103. package/src/lib/form/textarea/tng-textarea.component.d.ts.map +1 -1
  104. package/src/lib/form/textarea/tng-textarea.component.js +19 -36
  105. package/src/lib/form/textarea/tng-textarea.component.js.map +1 -1
  106. package/src/lib/form/toggle/tng-toggle.component.d.ts +3 -0
  107. package/src/lib/form/toggle/tng-toggle.component.d.ts.map +1 -1
  108. package/src/lib/form/toggle/tng-toggle.component.js +41 -41
  109. package/src/lib/form/toggle/tng-toggle.component.js.map +1 -1
  110. package/src/lib/form/toggle-group/tng-toggle-group.component.d.ts +4 -0
  111. package/src/lib/form/toggle-group/tng-toggle-group.component.d.ts.map +1 -1
  112. package/src/lib/form/toggle-group/tng-toggle-group.component.js +28 -31
  113. package/src/lib/form/toggle-group/tng-toggle-group.component.js.map +1 -1
  114. package/src/lib/layout/accordion/tng-accordion.component.d.ts +10 -0
  115. package/src/lib/layout/accordion/tng-accordion.component.d.ts.map +1 -1
  116. package/src/lib/layout/accordion/tng-accordion.component.js +49 -148
  117. package/src/lib/layout/accordion/tng-accordion.component.js.map +1 -1
  118. package/src/lib/layout/bottom-sheet/tng-bottom-sheet.component.d.ts +3 -0
  119. package/src/lib/layout/bottom-sheet/tng-bottom-sheet.component.d.ts.map +1 -1
  120. package/src/lib/layout/bottom-sheet/tng-bottom-sheet.component.js +10 -13
  121. package/src/lib/layout/bottom-sheet/tng-bottom-sheet.component.js.map +1 -1
  122. package/src/lib/layout/card/tng-card.component.d.ts +21 -0
  123. package/src/lib/layout/card/tng-card.component.d.ts.map +1 -1
  124. package/src/lib/layout/card/tng-card.component.js +92 -136
  125. package/src/lib/layout/card/tng-card.component.js.map +1 -1
  126. package/src/lib/layout/collapsible/tng-collapsible.component.d.ts +3 -0
  127. package/src/lib/layout/collapsible/tng-collapsible.component.d.ts.map +1 -1
  128. package/src/lib/layout/collapsible/tng-collapsible.component.js +17 -24
  129. package/src/lib/layout/collapsible/tng-collapsible.component.js.map +1 -1
  130. package/src/lib/layout/drawer/tng-drawer.component.d.ts +4 -0
  131. package/src/lib/layout/drawer/tng-drawer.component.d.ts.map +1 -1
  132. package/src/lib/layout/drawer/tng-drawer.component.js +48 -51
  133. package/src/lib/layout/drawer/tng-drawer.component.js.map +1 -1
  134. package/src/lib/layout/grid/tng-grid.component.d.ts +8 -0
  135. package/src/lib/layout/grid/tng-grid.component.d.ts.map +1 -1
  136. package/src/lib/layout/grid/tng-grid.component.js +48 -110
  137. package/src/lib/layout/grid/tng-grid.component.js.map +1 -1
  138. package/src/lib/layout/index.d.ts +1 -8
  139. package/src/lib/layout/index.d.ts.map +1 -1
  140. package/src/lib/layout/index.js +5 -8
  141. package/src/lib/layout/index.js.map +1 -1
  142. package/src/lib/layout/separator/tng-separator.component.d.ts +3 -0
  143. package/src/lib/layout/separator/tng-separator.component.d.ts.map +1 -1
  144. package/src/lib/layout/separator/tng-separator.component.js +11 -16
  145. package/src/lib/layout/separator/tng-separator.component.js.map +1 -1
  146. package/src/lib/layout/stepper/tng-stepper.component.d.ts +3 -0
  147. package/src/lib/layout/stepper/tng-stepper.component.d.ts.map +1 -1
  148. package/src/lib/layout/stepper/tng-stepper.component.js +10 -13
  149. package/src/lib/layout/stepper/tng-stepper.component.js.map +1 -1
  150. package/src/lib/navigation/breadcrumb/tng-breadcrumb-item.component.d.ts +4 -0
  151. package/src/lib/navigation/breadcrumb/tng-breadcrumb-item.component.d.ts.map +1 -1
  152. package/src/lib/navigation/breadcrumb/tng-breadcrumb-item.component.js +47 -49
  153. package/src/lib/navigation/breadcrumb/tng-breadcrumb-item.component.js.map +1 -1
  154. package/src/lib/navigation/breadcrumb/tng-breadcrumb-link.component.d.ts +4 -0
  155. package/src/lib/navigation/breadcrumb/tng-breadcrumb-link.component.d.ts.map +1 -1
  156. package/src/lib/navigation/breadcrumb/tng-breadcrumb-link.component.js +16 -18
  157. package/src/lib/navigation/breadcrumb/tng-breadcrumb-link.component.js.map +1 -1
  158. package/src/lib/navigation/breadcrumb/tng-breadcrumb-list.component.d.ts +4 -0
  159. package/src/lib/navigation/breadcrumb/tng-breadcrumb-list.component.d.ts.map +1 -1
  160. package/src/lib/navigation/breadcrumb/tng-breadcrumb-list.component.js +10 -12
  161. package/src/lib/navigation/breadcrumb/tng-breadcrumb-list.component.js.map +1 -1
  162. package/src/lib/navigation/breadcrumb/tng-breadcrumb-separator-template.directive.d.ts +3 -0
  163. package/src/lib/navigation/breadcrumb/tng-breadcrumb-separator-template.directive.d.ts.map +1 -1
  164. package/src/lib/navigation/breadcrumb/tng-breadcrumb-separator-template.directive.js +12 -10
  165. package/src/lib/navigation/breadcrumb/tng-breadcrumb-separator-template.directive.js.map +1 -1
  166. package/src/lib/navigation/breadcrumb/tng-breadcrumb-separator.component.d.ts +4 -0
  167. package/src/lib/navigation/breadcrumb/tng-breadcrumb-separator.component.d.ts.map +1 -1
  168. package/src/lib/navigation/breadcrumb/tng-breadcrumb-separator.component.js +12 -14
  169. package/src/lib/navigation/breadcrumb/tng-breadcrumb-separator.component.js.map +1 -1
  170. package/src/lib/navigation/breadcrumb/tng-breadcrumb.component.d.ts +4 -0
  171. package/src/lib/navigation/breadcrumb/tng-breadcrumb.component.d.ts.map +1 -1
  172. package/src/lib/navigation/breadcrumb/tng-breadcrumb.component.js +23 -25
  173. package/src/lib/navigation/breadcrumb/tng-breadcrumb.component.js.map +1 -1
  174. package/src/lib/navigation/context-menu/tng-context-menu.component.d.ts +5 -0
  175. package/src/lib/navigation/context-menu/tng-context-menu.component.d.ts.map +1 -1
  176. package/src/lib/navigation/context-menu/tng-context-menu.component.js +24 -26
  177. package/src/lib/navigation/context-menu/tng-context-menu.component.js.map +1 -1
  178. package/src/lib/navigation/dropdown-menu/tng-dropdown-menu.component.d.ts +4 -0
  179. package/src/lib/navigation/dropdown-menu/tng-dropdown-menu.component.d.ts.map +1 -1
  180. package/src/lib/navigation/dropdown-menu/tng-dropdown-menu.component.js +19 -23
  181. package/src/lib/navigation/dropdown-menu/tng-dropdown-menu.component.js.map +1 -1
  182. package/src/lib/navigation/index.d.ts +0 -12
  183. package/src/lib/navigation/index.d.ts.map +1 -1
  184. package/src/lib/navigation/index.js +4 -12
  185. package/src/lib/navigation/index.js.map +1 -1
  186. package/src/lib/navigation/menu/tng-menu-trigger-for.directive.d.ts +3 -0
  187. package/src/lib/navigation/menu/tng-menu-trigger-for.directive.d.ts.map +1 -1
  188. package/src/lib/navigation/menu/tng-menu-trigger-for.directive.js +22 -20
  189. package/src/lib/navigation/menu/tng-menu-trigger-for.directive.js.map +1 -1
  190. package/src/lib/navigation/menu/tng-menu.component.d.ts +5 -0
  191. package/src/lib/navigation/menu/tng-menu.component.d.ts.map +1 -1
  192. package/src/lib/navigation/menu/tng-menu.component.js +21 -23
  193. package/src/lib/navigation/menu/tng-menu.component.js.map +1 -1
  194. package/src/lib/navigation/menubar/tng-menubar.component.d.ts +5 -0
  195. package/src/lib/navigation/menubar/tng-menubar.component.d.ts.map +1 -1
  196. package/src/lib/navigation/menubar/tng-menubar.component.js +20 -22
  197. package/src/lib/navigation/menubar/tng-menubar.component.js.map +1 -1
  198. package/src/lib/navigation/navigation-menu/tng-navigation-menu.component.d.ts +4 -0
  199. package/src/lib/navigation/navigation-menu/tng-navigation-menu.component.d.ts.map +1 -1
  200. package/src/lib/navigation/navigation-menu/tng-navigation-menu.component.js +11 -13
  201. package/src/lib/navigation/navigation-menu/tng-navigation-menu.component.js.map +1 -1
  202. package/src/lib/navigation/tabs/tng-tabs.component.d.ts +5 -0
  203. package/src/lib/navigation/tabs/tng-tabs.component.d.ts.map +1 -1
  204. package/src/lib/navigation/tabs/tng-tabs.component.js +32 -34
  205. package/src/lib/navigation/tabs/tng-tabs.component.js.map +1 -1
  206. package/src/lib/navigation/toolbar/tng-toolbar.component.d.ts +4 -0
  207. package/src/lib/navigation/toolbar/tng-toolbar.component.d.ts.map +1 -1
  208. package/src/lib/navigation/toolbar/tng-toolbar.component.js +11 -13
  209. package/src/lib/navigation/toolbar/tng-toolbar.component.js.map +1 -1
  210. package/src/lib/overlay/dialog/tng-dialog.component.d.ts +4 -0
  211. package/src/lib/overlay/dialog/tng-dialog.component.d.ts.map +1 -1
  212. package/src/lib/overlay/dialog/tng-dialog.component.js +18 -25
  213. package/src/lib/overlay/dialog/tng-dialog.component.js.map +1 -1
  214. package/src/lib/overlay/index.d.ts +0 -3
  215. package/src/lib/overlay/index.d.ts.map +1 -1
  216. package/src/lib/overlay/index.js +4 -3
  217. package/src/lib/overlay/index.js.map +1 -1
  218. package/src/lib/overlay/popover/tng-popover.component.d.ts +4 -0
  219. package/src/lib/overlay/popover/tng-popover.component.d.ts.map +1 -1
  220. package/src/lib/overlay/popover/tng-popover.component.js +23 -37
  221. package/src/lib/overlay/popover/tng-popover.component.js.map +1 -1
  222. package/src/lib/overlay/tooltip/tng-tooltip.component.d.ts +4 -0
  223. package/src/lib/overlay/tooltip/tng-tooltip.component.d.ts.map +1 -1
  224. package/src/lib/overlay/tooltip/tng-tooltip.component.js +17 -21
  225. package/src/lib/overlay/tooltip/tng-tooltip.component.js.map +1 -1
  226. package/src/lib/utility/avatar/tng-avatar.component.d.ts +4 -1
  227. package/src/lib/utility/avatar/tng-avatar.component.d.ts.map +1 -1
  228. package/src/lib/utility/avatar/tng-avatar.component.js +20 -22
  229. package/src/lib/utility/avatar/tng-avatar.component.js.map +1 -1
  230. package/src/lib/utility/badge/tng-badge.component.d.ts +4 -0
  231. package/src/lib/utility/badge/tng-badge.component.d.ts.map +1 -1
  232. package/src/lib/utility/badge/tng-badge.component.js +13 -10
  233. package/src/lib/utility/badge/tng-badge.component.js.map +1 -1
  234. package/src/lib/utility/button/tng-button.component.d.ts +4 -1
  235. package/src/lib/utility/button/tng-button.component.d.ts.map +1 -1
  236. package/src/lib/utility/button/tng-button.component.js +19 -29
  237. package/src/lib/utility/button/tng-button.component.js.map +1 -1
  238. package/src/lib/utility/code-block/tng-code-block.component.d.ts +4 -0
  239. package/src/lib/utility/code-block/tng-code-block.component.d.ts.map +1 -1
  240. package/src/lib/utility/code-block/tng-code-block.component.js +73 -103
  241. package/src/lib/utility/code-block/tng-code-block.component.js.map +1 -1
  242. package/src/lib/utility/copy-button/tng-copy-button.component.d.ts +4 -1
  243. package/src/lib/utility/copy-button/tng-copy-button.component.d.ts.map +1 -1
  244. package/src/lib/utility/copy-button/tng-copy-button.component.js +28 -36
  245. package/src/lib/utility/copy-button/tng-copy-button.component.js.map +1 -1
  246. package/src/lib/utility/index.d.ts +1 -9
  247. package/src/lib/utility/index.d.ts.map +1 -1
  248. package/src/lib/utility/index.js +5 -8
  249. package/src/lib/utility/index.js.map +1 -1
  250. package/src/lib/utility/tag/tng-tag.component.d.ts +4 -1
  251. package/src/lib/utility/tag/tng-tag.component.d.ts.map +1 -1
  252. package/src/lib/utility/tag/tng-tag.component.js +18 -24
  253. package/src/lib/utility/tag/tng-tag.component.js.map +1 -1
  254. package/src/lib/utility/tree/tng-tree.component.d.ts +4 -1
  255. package/src/lib/utility/tree/tng-tree.component.d.ts.map +1 -1
  256. package/src/lib/utility/tree/tng-tree.component.js +23 -25
  257. package/src/lib/utility/tree/tng-tree.component.js.map +1 -1
@@ -1,4 +1,7 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class TngComboboxComponent {
2
3
  readonly ariaLabel: import("@angular/core").InputSignal<string>;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<TngComboboxComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<TngComboboxComponent, "tng-combobox", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
3
6
  }
4
7
  //# sourceMappingURL=tng-combobox.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tng-combobox.component.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/tailng-ui/components/src/lib/form/combobox/tng-combobox.component.ts"],"names":[],"mappings":"AAGA,qBAMa,oBAAoB;IAC/B,SAAgB,SAAS,8CAA6B;CACvD"}
1
+ {"version":3,"file":"tng-combobox.component.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/tailng-ui/components/src/lib/form/combobox/tng-combobox.component.ts"],"names":[],"mappings":";AAGA,qBAMa,oBAAoB;IAC/B,SAAgB,SAAS,8CAA6B;yCAD3C,oBAAoB;2CAApB,oBAAoB;CAEhC"}
@@ -1,16 +1,13 @@
1
- import { __decorate } from "tslib";
2
1
  import { Component, input } from '@angular/core';
3
2
  import { TngCombobox as TngComboboxPrimitive } from '@tailng-ui/primitives';
4
- let TngComboboxComponent = class TngComboboxComponent {
5
- ariaLabel = input('Combobox');
6
- };
7
- TngComboboxComponent = __decorate([
8
- Component({
9
- selector: 'tng-combobox',
10
- imports: [TngComboboxPrimitive],
11
- templateUrl: './tng-combobox.component.html',
12
- styleUrl: './tng-combobox.component.css',
13
- })
14
- ], TngComboboxComponent);
15
- export { TngComboboxComponent };
3
+ import * as i0 from "@angular/core";
4
+ export class TngComboboxComponent {
5
+ ariaLabel = input('Combobox', ...(ngDevMode ? [{ debugName: "ariaLabel" }] : []));
6
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: TngComboboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
7
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.1", type: TngComboboxComponent, isStandalone: true, selector: "tng-combobox", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<section tngCombobox class=\"tng-combobox\" [attr.aria-label]=\"ariaLabel()\">\n <ng-content />\n</section>\n", styles: [":host {\n display: block;\n}\n\n.tng-combobox {\n background: var(--tng-semantic-background-base);\n border: 1px solid var(--tng-semantic-border-subtle);\n border-radius: 0.75rem;\n color: var(--tng-semantic-foreground-primary);\n display: grid;\n gap: 0.5rem;\n padding: 0.9rem 1rem;\n}\n"], dependencies: [{ kind: "directive", type: TngComboboxPrimitive, selector: "[tngCombobox]", exportAs: ["tngCombobox"] }] });
8
+ }
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: TngComboboxComponent, decorators: [{
10
+ type: Component,
11
+ args: [{ selector: 'tng-combobox', imports: [TngComboboxPrimitive], template: "<section tngCombobox class=\"tng-combobox\" [attr.aria-label]=\"ariaLabel()\">\n <ng-content />\n</section>\n", styles: [":host {\n display: block;\n}\n\n.tng-combobox {\n background: var(--tng-semantic-background-base);\n border: 1px solid var(--tng-semantic-border-subtle);\n border-radius: 0.75rem;\n color: var(--tng-semantic-foreground-primary);\n display: grid;\n gap: 0.5rem;\n padding: 0.9rem 1rem;\n}\n"] }]
12
+ }], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }] } });
16
13
  //# sourceMappingURL=tng-combobox.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tng-combobox.component.js","sourceRoot":"","sources":["../../../../../../../../libs/tailng-ui/components/src/lib/form/combobox/tng-combobox.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,WAAW,IAAI,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAQrE,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IACf,SAAS,GAAG,KAAK,CAAS,UAAU,CAAC,CAAC;CACvD,CAAA;AAFY,oBAAoB;IANhC,SAAS,CAAC;QACT,QAAQ,EAAE,cAAc;QACxB,OAAO,EAAE,CAAC,oBAAoB,CAAC;QAC/B,WAAW,EAAE,+BAA+B;QAC5C,QAAQ,EAAE,8BAA8B;KACzC,CAAC;GACW,oBAAoB,CAEhC","sourcesContent":["import { Component, input } from '@angular/core';\nimport { TngCombobox as TngComboboxPrimitive } from '@tailng-ui/primitives';\n\n@Component({\n selector: 'tng-combobox',\n imports: [TngComboboxPrimitive],\n templateUrl: './tng-combobox.component.html',\n styleUrl: './tng-combobox.component.css',\n})\nexport class TngComboboxComponent {\n public readonly ariaLabel = input<string>('Combobox');\n}\n"]}
1
+ {"version":3,"file":"tng-combobox.component.js","sourceRoot":"","sources":["../../../../../../../../libs/tailng-ui/components/src/lib/form/combobox/tng-combobox.component.ts","../../../../../../../../libs/tailng-ui/components/src/lib/form/combobox/tng-combobox.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,WAAW,IAAI,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;;AAQ5E,MAAM,OAAO,oBAAoB;IACf,SAAS,GAAG,KAAK,CAAS,UAAU,qDAAC,CAAC;uGAD3C,oBAAoB;2FAApB,oBAAoB,wNCTjC,gHAGA,mWDEY,oBAAoB;;2FAInB,oBAAoB;kBANhC,SAAS;+BACE,cAAc,WACf,CAAC,oBAAoB,CAAC","sourcesContent":["import { Component, input } from '@angular/core';\nimport { TngCombobox as TngComboboxPrimitive } from '@tailng-ui/primitives';\n\n@Component({\n selector: 'tng-combobox',\n imports: [TngComboboxPrimitive],\n templateUrl: './tng-combobox.component.html',\n styleUrl: './tng-combobox.component.css',\n})\nexport class TngComboboxComponent {\n public readonly ariaLabel = input<string>('Combobox');\n}\n","<section tngCombobox class=\"tng-combobox\" [attr.aria-label]=\"ariaLabel()\">\n <ng-content />\n</section>\n"]}
@@ -1,5 +1,6 @@
1
1
  import type { OnDestroy } from '@angular/core';
2
2
  import { type TngCalendarView, type TngDateCell, type TngDateInputValue, type TngDateSelectionInput, type TngDateValue, type TngDatepickerCloseReason, type TngDatepickerDirection, type TngDatepickerSelectionMode, type TngMonthOption, type TngWeekdayIndex, type TngYearOption } from '@tailng-ui/primitives';
3
+ import * as i0 from "@angular/core";
3
4
  type OptionalBooleanInput = boolean | null | string | undefined;
4
5
  type TngDatepickerPlacement = 'auto' | 'bottom' | 'top';
5
6
  export declare class TngDatepickerComponent<TDate = Date> implements OnDestroy {
@@ -152,7 +153,7 @@ export declare class TngDatepickerComponent<TDate = Date> implements OnDestroy {
152
153
  inputText: string;
153
154
  labelMonthYear: string;
154
155
  layout: Readonly<{
155
- mode: import("dist/libs/tailng-ui/primitives/src/lib/form/datepicker/datepicker.types").TngDatepickerOverlayMode;
156
+ mode: import("@tailng-ui/primitives/lib/form/datepicker/datepicker.types").TngDatepickerOverlayMode;
156
157
  offsetX: number;
157
158
  width: number;
158
159
  }>;
@@ -231,6 +232,8 @@ export declare class TngDatepickerComponent<TDate = Date> implements OnDestroy {
231
232
  private resolveOverlayCollision;
232
233
  private resolveOverlayOffset;
233
234
  private resolveOverlayPlacement;
235
+ static ɵfac: i0.ɵɵFactoryDeclaration<TngDatepickerComponent<any>, never>;
236
+ static ɵcmp: i0.ɵɵComponentDeclaration<TngDatepickerComponent<any>, "tng-datepicker", never, { "adapter": { "alias": "adapter"; "required": false; "isSignal": true; }; "allowDeselect": { "alias": "allowDeselect"; "required": false; "isSignal": true; }; "allowManualInput": { "alias": "allowManualInput"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; "autoCommitView": { "alias": "autoCommitView"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "closeOnOutsideClick": { "alias": "closeOnOutsideClick"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "closeOthersOnOpen": { "alias": "closeOthersOnOpen"; "required": false; "isSignal": true; }; "defaultOpen": { "alias": "defaultOpen"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "disableDate": { "alias": "disableDate"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "inputAriaLabel": { "alias": "inputAriaLabel"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "overlaySize": { "alias": "overlaySize"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "restoreFocus": { "alias": "restoreFocus"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "showOutsideDays": { "alias": "showOutsideDays"; "required": false; "isSignal": true; }; "today": { "alias": "today"; "required": false; "isSignal": true; }; "trapFocus": { "alias": "trapFocus"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": false; "isSignal": true; }; "yearPageSize": { "alias": "yearPageSize"; "required": false; "isSignal": true; }; }, { "activeDateChange": "activeDateChange"; "closed": "closed"; "monthChange": "monthChange"; "openChange": "openChange"; "valueChange": "valueChange"; "viewChange": "viewChange"; "yearChange": "yearChange"; }, never, never, true, never>;
234
237
  }
235
238
  export {};
236
239
  //# sourceMappingURL=tng-datepicker.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tng-datepicker.component.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/tailng-ui/components/src/lib/form/datepicker/tng-datepicker.component.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAO/C,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,WAAW,EAEhB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAE3B,KAAK,0BAA0B,EAC/B,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,aAAa,EACnB,MAAM,uBAAuB,CAAC;AAE/B,KAAK,oBAAoB,GAAG,OAAO,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC;AAChE,KAAK,sBAAsB,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;AA0DxD,qBAKa,sBAAsB,CAAC,KAAK,GAAG,IAAI,CAAE,YAAW,SAAS;IACpE,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA+C;IAC3E,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAqB;IACnD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA6B;IAC7D,OAAO,CAAC,QAAQ,CAAC,aAAa,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AAC,uBAAuB;IAW/B,OAAO,CAAC,eAAe;IAiDvB,OAAO,CAAC,6BAA6B;IA4BrC,OAAO,CAAC,2BAA2B;IA6BnC,OAAO,CAAC,+BAA+B;IA+BvC,OAAO,CAAC,kCAAkC;IAS1C,OAAO,CAAC,uBAAuB;IAU/B,OAAO,CAAC,oBAAoB;IAI5B,OAAO,CAAC,uBAAuB;CAMhC"}
1
+ {"version":3,"file":"tng-datepicker.component.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/tailng-ui/components/src/lib/form/datepicker/tng-datepicker.component.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAO/C,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,WAAW,EAEhB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAE3B,KAAK,0BAA0B,EAC/B,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,aAAa,EACnB,MAAM,uBAAuB,CAAC;;AAE/B,KAAK,oBAAoB,GAAG,OAAO,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC;AAChE,KAAK,sBAAsB,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;AA0DxD,qBAKa,sBAAsB,CAAC,KAAK,GAAG,IAAI,CAAE,YAAW,SAAS;IACpE,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA+C;IAC3E,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAqB;IACnD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA6B;IAC7D,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAwD;IACtF,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA2C;IACvE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAa;IAC3C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAiB;IAC7C,OAAO,CAAC,QAAQ,CAAC,wB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AAuB;IAU/B,OAAO,CAAC,oBAAoB;IAI5B,OAAO,CAAC,uBAAuB;yCAvuBpB,sBAAsB;2CAAtB,sBAAsB;CA6uBlC"}
@@ -1,8 +1,8 @@
1
- import { __decorate } from "tslib";
2
1
  import { Component, ElementRef, HostBinding, LOCALE_ID, computed, effect, inject, input, output, signal, viewChild, } from '@angular/core';
3
2
  import { booleanAttribute } from '@angular/core';
4
3
  import { computeOverlayPosition, } from '@tailng-ui/cdk';
5
4
  import { createDatepickerController, } from '@tailng-ui/primitives';
5
+ import * as i0 from "@angular/core";
6
6
  const OVERLAY_VIEWPORT_MARGIN = 12;
7
7
  const OVERLAY_OFFSET = 9;
8
8
  function rectFromClientRect(rect) {
@@ -42,18 +42,18 @@ function createDatepickerInputId() {
42
42
  nextDatepickerInputId += 1;
43
43
  return `tng-datepicker-input-${nextDatepickerInputId}`;
44
44
  }
45
- let TngDatepickerComponent = class TngDatepickerComponent {
45
+ export class TngDatepickerComponent {
46
46
  hostElement = inject(ElementRef);
47
47
  defaultLocale = inject(LOCALE_ID);
48
48
  fallbackInputId = createDatepickerInputId();
49
49
  ownerDocument = this.hostElement.nativeElement.ownerDocument ?? null;
50
50
  ownerWindow = this.ownerDocument?.defaultView ?? null;
51
- renderVersion = signal(0);
52
- overlayOpen = signal(false);
53
- resolvedOverlayPlacement = signal('bottom');
54
- anchorRef = viewChild('anchorShell');
55
- triggerRef = viewChild('triggerButton');
56
- overlayRef = viewChild('overlayPanel');
51
+ renderVersion = signal(0, ...(ngDevMode ? [{ debugName: "renderVersion" }] : []));
52
+ overlayOpen = signal(false, ...(ngDevMode ? [{ debugName: "overlayOpen" }] : []));
53
+ resolvedOverlayPlacement = signal('bottom', ...(ngDevMode ? [{ debugName: "resolvedOverlayPlacement" }] : []));
54
+ anchorRef = viewChild('anchorShell', ...(ngDevMode ? [{ debugName: "anchorRef" }] : []));
55
+ triggerRef = viewChild('triggerButton', ...(ngDevMode ? [{ debugName: "triggerRef" }] : []));
56
+ overlayRef = viewChild('overlayPanel', ...(ngDevMode ? [{ debugName: "overlayRef" }] : []));
57
57
  overlayPlaceholder = null;
58
58
  overlayOriginalParent = null;
59
59
  removeResizeListener = null;
@@ -104,80 +104,42 @@ let TngDatepickerComponent = class TngDatepickerComponent {
104
104
  break;
105
105
  }
106
106
  });
107
- adapter = input(undefined);
108
- allowDeselect = input(false, {
109
- transform: booleanAttribute,
110
- });
111
- allowManualInput = input(true, {
112
- transform: booleanAttribute,
113
- });
114
- ariaDescribedBy = input(null);
115
- ariaLabel = input(null);
116
- ariaLabelledBy = input(null);
117
- autoCommitView = input(false, {
118
- transform: booleanAttribute,
119
- });
120
- closeOnEscape = input(true, {
121
- transform: booleanAttribute,
122
- });
123
- closeOnOutsideClick = input(true, {
124
- transform: booleanAttribute,
125
- });
126
- closeOnSelect = input(true, {
127
- transform: booleanAttribute,
128
- });
129
- closeOthersOnOpen = input(false, {
130
- transform: booleanAttribute,
131
- });
132
- defaultOpen = input(false, {
133
- transform: booleanAttribute,
134
- });
135
- defaultValue = input(undefined);
136
- direction = input('ltr');
137
- disableDate = input(null);
138
- disabled = input(false, {
139
- transform: booleanAttribute,
140
- });
141
- fullWidth = input(true, {
142
- transform: booleanAttribute,
143
- });
144
- id = input(null);
145
- inputAriaLabel = input('Date input');
146
- invalid = input(false, {
147
- transform: booleanAttribute,
148
- });
149
- locale = input(this.defaultLocale);
150
- maxDate = input(undefined);
151
- minDate = input(undefined);
152
- open = input(undefined, {
153
- transform: normalizeOptionalBooleanInput,
154
- });
155
- overlaySize = input(320, {
156
- transform: normalizeNumberInput,
157
- });
158
- placement = input('auto');
159
- placeholder = input('MM-DD-YYYY');
160
- readonly = input(false, {
161
- transform: booleanAttribute,
162
- });
163
- restoreFocus = input(true, {
164
- transform: booleanAttribute,
165
- });
166
- selectionMode = input('single');
167
- showOutsideDays = input(true, {
168
- transform: booleanAttribute,
169
- });
170
- today = input(undefined);
171
- trapFocus = input(true, {
172
- transform: booleanAttribute,
173
- });
174
- value = input(undefined);
175
- weekStartsOn = input(0, {
176
- transform: normalizeWeekdayInput,
177
- });
178
- yearPageSize = input(24, {
179
- transform: normalizeNumberInput,
180
- });
107
+ adapter = input(undefined, ...(ngDevMode ? [{ debugName: "adapter" }] : []));
108
+ allowDeselect = input(false, { ...(ngDevMode ? { debugName: "allowDeselect" } : {}), transform: booleanAttribute });
109
+ allowManualInput = input(true, { ...(ngDevMode ? { debugName: "allowManualInput" } : {}), transform: booleanAttribute });
110
+ ariaDescribedBy = input(null, ...(ngDevMode ? [{ debugName: "ariaDescribedBy" }] : []));
111
+ ariaLabel = input(null, ...(ngDevMode ? [{ debugName: "ariaLabel" }] : []));
112
+ ariaLabelledBy = input(null, ...(ngDevMode ? [{ debugName: "ariaLabelledBy" }] : []));
113
+ autoCommitView = input(false, { ...(ngDevMode ? { debugName: "autoCommitView" } : {}), transform: booleanAttribute });
114
+ closeOnEscape = input(true, { ...(ngDevMode ? { debugName: "closeOnEscape" } : {}), transform: booleanAttribute });
115
+ closeOnOutsideClick = input(true, { ...(ngDevMode ? { debugName: "closeOnOutsideClick" } : {}), transform: booleanAttribute });
116
+ closeOnSelect = input(true, { ...(ngDevMode ? { debugName: "closeOnSelect" } : {}), transform: booleanAttribute });
117
+ closeOthersOnOpen = input(false, { ...(ngDevMode ? { debugName: "closeOthersOnOpen" } : {}), transform: booleanAttribute });
118
+ defaultOpen = input(false, { ...(ngDevMode ? { debugName: "defaultOpen" } : {}), transform: booleanAttribute });
119
+ defaultValue = input(undefined, ...(ngDevMode ? [{ debugName: "defaultValue" }] : []));
120
+ direction = input('ltr', ...(ngDevMode ? [{ debugName: "direction" }] : []));
121
+ disableDate = input(null, ...(ngDevMode ? [{ debugName: "disableDate" }] : []));
122
+ disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : {}), transform: booleanAttribute });
123
+ fullWidth = input(true, { ...(ngDevMode ? { debugName: "fullWidth" } : {}), transform: booleanAttribute });
124
+ id = input(null, ...(ngDevMode ? [{ debugName: "id" }] : []));
125
+ inputAriaLabel = input('Date input', ...(ngDevMode ? [{ debugName: "inputAriaLabel" }] : []));
126
+ invalid = input(false, { ...(ngDevMode ? { debugName: "invalid" } : {}), transform: booleanAttribute });
127
+ locale = input(this.defaultLocale, ...(ngDevMode ? [{ debugName: "locale" }] : []));
128
+ maxDate = input(undefined, ...(ngDevMode ? [{ debugName: "maxDate" }] : []));
129
+ minDate = input(undefined, ...(ngDevMode ? [{ debugName: "minDate" }] : []));
130
+ open = input(undefined, { ...(ngDevMode ? { debugName: "open" } : {}), transform: normalizeOptionalBooleanInput });
131
+ overlaySize = input(320, { ...(ngDevMode ? { debugName: "overlaySize" } : {}), transform: normalizeNumberInput });
132
+ placement = input('auto', ...(ngDevMode ? [{ debugName: "placement" }] : []));
133
+ placeholder = input('MM-DD-YYYY', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
134
+ readonly = input(false, { ...(ngDevMode ? { debugName: "readonly" } : {}), transform: booleanAttribute });
135
+ restoreFocus = input(true, { ...(ngDevMode ? { debugName: "restoreFocus" } : {}), transform: booleanAttribute });
136
+ selectionMode = input('single', ...(ngDevMode ? [{ debugName: "selectionMode" }] : []));
137
+ showOutsideDays = input(true, { ...(ngDevMode ? { debugName: "showOutsideDays" } : {}), transform: booleanAttribute });
138
+ today = input(undefined, ...(ngDevMode ? [{ debugName: "today" }] : []));
139
+ trapFocus = input(true, { ...(ngDevMode ? { debugName: "trapFocus" } : {}), transform: booleanAttribute });
140
+ value = input(undefined, ...(ngDevMode ? [{ debugName: "value" }] : []));
141
+ weekStartsOn = input(0, { ...(ngDevMode ? { debugName: "weekStartsOn" } : {}), transform: normalizeWeekdayInput });
142
+ yearPageSize = input(24, { ...(ngDevMode ? { debugName: "yearPageSize" } : {}), transform: normalizeNumberInput });
181
143
  activeDateChange = output();
182
144
  closed = output();
183
145
  monthChange = output();
@@ -188,9 +150,9 @@ let TngDatepickerComponent = class TngDatepickerComponent {
188
150
  outputs = computed(() => {
189
151
  this.renderVersion();
190
152
  return this.controller.getOutputs();
191
- });
192
- invalidState = computed(() => this.invalid() || this.outputs().validationError !== null);
193
- currentOverlayPlacement = computed(() => this.resolvedOverlayPlacement());
153
+ }, ...(ngDevMode ? [{ debugName: "outputs" }] : []));
154
+ invalidState = computed(() => this.invalid() || this.outputs().validationError !== null, ...(ngDevMode ? [{ debugName: "invalidState" }] : []));
155
+ currentOverlayPlacement = computed(() => this.resolvedOverlayPlacement(), ...(ngDevMode ? [{ debugName: "currentOverlayPlacement" }] : []));
194
156
  materialPeriodLabel = computed(() => {
195
157
  const outputs = this.outputs();
196
158
  if (outputs.view === 'year') {
@@ -204,7 +166,7 @@ let TngDatepickerComponent = class TngDatepickerComponent {
204
166
  return this.controller.formatDate(outputs.visibleMonth, 'year-label');
205
167
  }
206
168
  return outputs.labelMonthYear;
207
- });
169
+ }, ...(ngDevMode ? [{ debugName: "materialPeriodLabel" }] : []));
208
170
  get dataFullWidth() {
209
171
  return this.fullWidth() ? '' : null;
210
172
  }
@@ -669,16 +631,14 @@ let TngDatepickerComponent = class TngDatepickerComponent {
669
631
  side: placement === 'top' ? 'top' : 'bottom',
670
632
  };
671
633
  }
672
- };
673
- __decorate([
674
- HostBinding('attr.data-full-width')
675
- ], TngDatepickerComponent.prototype, "dataFullWidth", null);
676
- TngDatepickerComponent = __decorate([
677
- Component({
678
- selector: 'tng-datepicker',
679
- templateUrl: './tng-datepicker.component.html',
680
- styleUrl: './tng-datepicker.component.css',
681
- })
682
- ], TngDatepickerComponent);
683
- export { TngDatepickerComponent };
634
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: TngDatepickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
635
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.1", type: TngDatepickerComponent, isStandalone: true, selector: "tng-datepicker", inputs: { adapter: { classPropertyName: "adapter", publicName: "adapter", isSignal: true, isRequired: false, transformFunction: null }, allowDeselect: { classPropertyName: "allowDeselect", publicName: "allowDeselect", isSignal: true, isRequired: false, transformFunction: null }, allowManualInput: { classPropertyName: "allowManualInput", publicName: "allowManualInput", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedBy: { classPropertyName: "ariaDescribedBy", publicName: "ariaDescribedBy", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, autoCommitView: { classPropertyName: "autoCommitView", publicName: "autoCommitView", isSignal: true, isRequired: false, transformFunction: null }, closeOnEscape: { classPropertyName: "closeOnEscape", publicName: "closeOnEscape", isSignal: true, isRequired: false, transformFunction: null }, closeOnOutsideClick: { classPropertyName: "closeOnOutsideClick", publicName: "closeOnOutsideClick", isSignal: true, isRequired: false, transformFunction: null }, closeOnSelect: { classPropertyName: "closeOnSelect", publicName: "closeOnSelect", isSignal: true, isRequired: false, transformFunction: null }, closeOthersOnOpen: { classPropertyName: "closeOthersOnOpen", publicName: "closeOthersOnOpen", isSignal: true, isRequired: false, transformFunction: null }, defaultOpen: { classPropertyName: "defaultOpen", publicName: "defaultOpen", isSignal: true, isRequired: false, transformFunction: null }, defaultValue: { classPropertyName: "defaultValue", publicName: "defaultValue", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, disableDate: { classPropertyName: "disableDate", publicName: "disableDate", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, fullWidth: { classPropertyName: "fullWidth", publicName: "fullWidth", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, inputAriaLabel: { classPropertyName: "inputAriaLabel", publicName: "inputAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, maxDate: { classPropertyName: "maxDate", publicName: "maxDate", isSignal: true, isRequired: false, transformFunction: null }, minDate: { classPropertyName: "minDate", publicName: "minDate", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, overlaySize: { classPropertyName: "overlaySize", publicName: "overlaySize", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, restoreFocus: { classPropertyName: "restoreFocus", publicName: "restoreFocus", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, showOutsideDays: { classPropertyName: "showOutsideDays", publicName: "showOutsideDays", isSignal: true, isRequired: false, transformFunction: null }, today: { classPropertyName: "today", publicName: "today", isSignal: true, isRequired: false, transformFunction: null }, trapFocus: { classPropertyName: "trapFocus", publicName: "trapFocus", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, weekStartsOn: { classPropertyName: "weekStartsOn", publicName: "weekStartsOn", isSignal: true, isRequired: false, transformFunction: null }, yearPageSize: { classPropertyName: "yearPageSize", publicName: "yearPageSize", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { activeDateChange: "activeDateChange", closed: "closed", monthChange: "monthChange", openChange: "openChange", valueChange: "valueChange", viewChange: "viewChange", yearChange: "yearChange" }, host: { properties: { "attr.data-full-width": "this.dataFullWidth" } }, viewQueries: [{ propertyName: "anchorRef", first: true, predicate: ["anchorShell"], descendants: true, isSignal: true }, { propertyName: "triggerRef", first: true, predicate: ["triggerButton"], descendants: true, isSignal: true }, { propertyName: "overlayRef", first: true, predicate: ["overlayPanel"], descendants: true, isSignal: true }], ngImport: i0, template: "<div\n class=\"tng-datepicker-root\"\n [attr.aria-describedby]=\"outputs().getHostAttributes()['aria-describedby']\"\n [attr.aria-label]=\"outputs().getHostAttributes()['aria-label']\"\n [attr.aria-labelledby]=\"outputs().getHostAttributes()['aria-labelledby']\"\n [attr.data-disabled]=\"outputs().getHostAttributes()['data-disabled']\"\n [attr.data-open]=\"outputs().getHostAttributes()['data-open']\"\n [attr.data-slot]=\"outputs().getHostAttributes()['data-slot']\"\n [attr.data-view]=\"outputs().getHostAttributes()['data-view']\"\n [attr.dir]=\"outputs().getHostAttributes()['dir']\"\n [attr.role]=\"outputs().getHostAttributes()['role']\"\n>\n <div class=\"tng-datepicker-field\" data-slot=\"datepicker-field\">\n <div class=\"tng-datepicker-anchor\">\n <div\n #anchorShell\n class=\"tng-datepicker-input-shell\"\n data-slot=\"datepicker-input-shell\"\n [attr.data-invalid]=\"invalidState() ? 'true' : null\"\n [attr.data-open]=\"outputs().getTriggerAttributes()['data-open']\"\n >\n <input\n [id]=\"resolveInputId()\"\n class=\"tng-datepicker-input\"\n data-slot=\"datepicker-input\"\n type=\"text\"\n inputmode=\"numeric\"\n [disabled]=\"disabled()\"\n [readOnly]=\"readonly() || !allowManualInput()\"\n [required]=\"false\"\n [value]=\"outputs().inputText\"\n [attr.aria-invalid]=\"invalidState() ? 'true' : null\"\n [attr.aria-label]=\"inputAriaLabel()\"\n [attr.placeholder]=\"placeholder()\"\n (blur)=\"onInputBlur()\"\n (input)=\"onInputChange($event)\"\n (keydown)=\"onInputKeydown($event)\"\n />\n\n <button\n #triggerButton\n type=\"button\"\n class=\"tng-datepicker-trigger\"\n [disabled]=\"disabled()\"\n [attr.aria-controls]=\"outputs().getTriggerAttributes()['aria-controls']\"\n [attr.aria-expanded]=\"outputs().getTriggerAttributes()['aria-expanded']\"\n [attr.aria-haspopup]=\"outputs().getTriggerAttributes()['aria-haspopup']\"\n [attr.data-open]=\"outputs().getTriggerAttributes()['data-open']\"\n [attr.data-slot]=\"outputs().getTriggerAttributes()['data-slot']\"\n [attr.aria-label]=\"'Open calendar'\"\n (click)=\"onTriggerClick()\"\n (keydown)=\"onTriggerKeydown($event)\"\n >\n <svg aria-hidden=\"true\" class=\"tng-datepicker-trigger-calendar\" viewBox=\"0 0 20 20\" fill=\"none\">\n <path d=\"M6 2.5V5\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.8\" />\n <path d=\"M14 2.5V5\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.8\" />\n <rect x=\"3.25\" y=\"4.25\" width=\"13.5\" height=\"12.5\" rx=\"2.25\" stroke=\"currentColor\" stroke-width=\"1.8\" />\n <path d=\"M3.75 7.5H16.25\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" />\n <path d=\"M6.75 10.5H7.25\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" />\n <path d=\"M9.75 10.5H10.25\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" />\n <path d=\"M12.75 10.5H13.25\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" />\n <path d=\"M6.75 13.5H7.25\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" />\n <path d=\"M9.75 13.5H10.25\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" />\n </svg>\n <svg aria-hidden=\"true\" class=\"tng-datepicker-trigger-chevron\" viewBox=\"0 0 16 16\" fill=\"none\">\n <path d=\"M4.5 6.25L8 9.75L11.5 6.25\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.6\" />\n </svg>\n </button>\n </div>\n\n <section\n #overlayPanel\n class=\"tng-datepicker-overlay\"\n [attr.aria-labelledby]=\"outputs().getOverlayAttributes()['aria-labelledby']\"\n [attr.aria-modal]=\"outputs().getOverlayAttributes()['aria-modal']\"\n [attr.data-open]=\"outputs().getOverlayAttributes()['data-open']\"\n [attr.data-placement]=\"currentOverlayPlacement()\"\n [attr.data-position]=\"outputs().getOverlayAttributes()['data-position']\"\n [attr.data-slot]=\"outputs().getOverlayAttributes()['data-slot']\"\n [attr.hidden]=\"outputs().open ? null : ''\"\n [attr.id]=\"outputs().getOverlayAttributes()['id']\"\n [attr.role]=\"outputs().getOverlayAttributes()['role']\"\n [style.display]=\"outputs().open ? null : 'none'\"\n (keydown)=\"onOverlayKeydown($event)\"\n >\n <header class=\"tng-datepicker-header tng-datepicker-header-material\" data-slot=\"datepicker-header\">\n <div class=\"tng-datepicker-header-row tng-datepicker-header-row-material\">\n <button type=\"button\" class=\"tng-datepicker-nav-button\" data-slot=\"datepicker-nav-button\" (click)=\"pageBackward()\">\n <span aria-hidden=\"true\">&lsaquo;</span>\n </button>\n\n <button\n type=\"button\"\n class=\"tng-datepicker-period-button\"\n [attr.aria-haspopup]=\"!isYearView() ? 'grid' : null\"\n data-slot=\"datepicker-period-button\"\n [attr.id]=\"outputs().getGridAttributes()['aria-labelledby']\"\n [attr.data-interactive]=\"!isYearView() ? 'true' : null\"\n (click)=\"onPeriodButtonClick()\"\n >\n <span class=\"tng-datepicker-period-button-title-row\">\n <span class=\"tng-datepicker-period-button-title\">{{ materialPeriodLabel() }}</span>\n @if (!isYearView()) {\n <svg aria-hidden=\"true\" class=\"tng-datepicker-period-button-chevron\" viewBox=\"0 0 16 16\" fill=\"none\">\n <path d=\"M4.5 6.25L8 9.75L11.5 6.25\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.6\" />\n </svg>\n }\n </span>\n </button>\n\n <button type=\"button\" class=\"tng-datepicker-nav-button\" data-slot=\"datepicker-nav-button\" (click)=\"pageForward()\">\n <span aria-hidden=\"true\">&rsaquo;</span>\n </button>\n </div>\n </header>\n\n @if (isDayView()) {\n <div class=\"tng-datepicker-weekdays\" data-slot=\"datepicker-weekdays\" aria-hidden=\"true\">\n @for (label of outputs().weekdayLabels; track label) {\n <span class=\"tng-datepicker-weekday\" data-slot=\"datepicker-weekday\">{{ label }}</span>\n }\n </div>\n\n <div\n class=\"tng-datepicker-grid tng-datepicker-grid-days\"\n [attr.aria-activedescendant]=\"outputs().getGridAttributes()['aria-activedescendant']\"\n [attr.aria-labelledby]=\"outputs().getGridAttributes()['aria-labelledby']\"\n [attr.data-slot]=\"outputs().getGridAttributes()['data-slot']\"\n [attr.id]=\"outputs().getGridAttributes()['id']\"\n [attr.role]=\"outputs().getGridAttributes()['role']\"\n (keydown)=\"onGridKeydown($event)\"\n >\n @for (cell of outputs().cells; track cell.id) {\n <button\n type=\"button\"\n class=\"tng-datepicker-cell\"\n [disabled]=\"cell.disabled\"\n [attr.aria-current]=\"cell.today ? 'date' : null\"\n [attr.aria-disabled]=\"cell.disabled ? 'true' : null\"\n [attr.aria-selected]=\"cell.selected ? 'true' : 'false'\"\n [attr.data-active]=\"outputs().getCellAttributes(cell)['data-active']\"\n [attr.data-disabled]=\"outputs().getCellAttributes(cell)['data-disabled']\"\n [attr.data-focus-visible]=\"outputs().getCellAttributes(cell)['data-focus-visible']\"\n [attr.data-hidden]=\"outputs().getCellAttributes(cell)['data-hidden']\"\n [attr.data-in-month]=\"outputs().getCellAttributes(cell)['data-in-month']\"\n [attr.data-in-range]=\"outputs().getCellAttributes(cell)['data-in-range']\"\n [attr.data-range-end]=\"outputs().getCellAttributes(cell)['data-range-end']\"\n [attr.data-range-start]=\"outputs().getCellAttributes(cell)['data-range-start']\"\n [attr.data-selected]=\"outputs().getCellAttributes(cell)['data-selected']\"\n [attr.data-slot]=\"outputs().getCellAttributes(cell)['data-slot']\"\n [attr.id]=\"cell.id\"\n [attr.role]=\"'gridcell'\"\n [attr.tabindex]=\"outputs().getCellAttributes(cell)['tabindex']\"\n (click)=\"onDayCellClick(cell)\"\n >\n {{ cell.label }}\n </button>\n }\n </div>\n }\n\n @if (isMonthView()) {\n <div class=\"tng-datepicker-grid tng-datepicker-grid-picker\" data-slot=\"datepicker-grid\" role=\"grid\" (keydown)=\"onMonthKeydown($event)\">\n @for (option of outputs().monthOptions; track option.id) {\n <button\n type=\"button\"\n class=\"tng-datepicker-picker-cell\"\n [disabled]=\"option.disabled\"\n [attr.aria-disabled]=\"outputs().getMonthAttributes(option)['aria-disabled']\"\n [attr.aria-selected]=\"outputs().getMonthAttributes(option)['aria-selected']\"\n [attr.data-active]=\"outputs().getMonthAttributes(option)['data-active']\"\n [attr.data-disabled]=\"outputs().getMonthAttributes(option)['data-disabled']\"\n [attr.data-focus-visible]=\"outputs().getMonthAttributes(option)['data-focus-visible']\"\n [attr.data-selected]=\"outputs().getMonthAttributes(option)['data-selected']\"\n [attr.data-slot]=\"outputs().getMonthAttributes(option)['data-slot']\"\n [attr.id]=\"option.id\"\n [attr.role]=\"outputs().getMonthAttributes(option)['role']\"\n [attr.tabindex]=\"outputs().getMonthAttributes(option)['tabindex']\"\n (click)=\"onMonthOptionClick(option)\"\n >\n {{ option.label }}\n </button>\n }\n </div>\n }\n\n @if (isYearView()) {\n <div class=\"tng-datepicker-grid tng-datepicker-grid-picker\" data-slot=\"datepicker-grid\" role=\"grid\" (keydown)=\"onYearKeydown($event)\">\n @for (option of outputs().yearOptions; track option.id) {\n <button\n type=\"button\"\n class=\"tng-datepicker-picker-cell\"\n [disabled]=\"option.disabled\"\n [attr.aria-disabled]=\"outputs().getYearAttributes(option)['aria-disabled']\"\n [attr.aria-selected]=\"outputs().getYearAttributes(option)['aria-selected']\"\n [attr.data-active]=\"outputs().getYearAttributes(option)['data-active']\"\n [attr.data-disabled]=\"outputs().getYearAttributes(option)['data-disabled']\"\n [attr.data-focus-visible]=\"outputs().getYearAttributes(option)['data-focus-visible']\"\n [attr.data-selected]=\"outputs().getYearAttributes(option)['data-selected']\"\n [attr.data-slot]=\"outputs().getYearAttributes(option)['data-slot']\"\n [attr.id]=\"option.id\"\n [attr.role]=\"outputs().getYearAttributes(option)['role']\"\n [attr.tabindex]=\"outputs().getYearAttributes(option)['tabindex']\"\n (click)=\"onYearOptionClick(option)\"\n >\n {{ option.label }}\n </button>\n }\n </div>\n }\n </section>\n </div>\n </div>\n</div>\n", styles: [":host {\n display: inline-grid;\n max-width: 100%;\n min-width: min(18rem, 100%);\n}\n\n:host([data-full-width]) {\n display: block;\n width: 100%;\n}\n\n.tng-datepicker-anchor {\n min-width: 0;\n position: relative;\n}\n\n.tng-datepicker-trigger-calendar {\n height: 0.96rem;\n width: 0.96rem;\n}\n\n.tng-datepicker-trigger-chevron,\n.tng-datepicker-period-button-chevron {\n flex: 0 0 auto;\n height: 0.72rem;\n width: 0.72rem;\n}\n\n.tng-datepicker-overlay {\n max-width: calc(100vw - 1.5rem);\n overflow-y: auto;\n overscroll-behavior: contain;\n position: fixed;\n z-index: 30;\n}\n\n.tng-datepicker-header-row-material {\n align-items: center;\n grid-template-columns:\n var(--tng-datepicker-nav-size, 2.1rem)\n minmax(0, 1fr)\n var(--tng-datepicker-nav-size, 2.1rem);\n}\n\n.tng-datepicker-period-button {\n align-items: center;\n display: inline-flex;\n justify-content: center;\n justify-self: center;\n min-width: 0;\n width: 100%;\n}\n\n.tng-datepicker-period-button-title-row {\n align-items: center;\n display: inline-flex;\n gap: 0.24rem;\n}\n\n.tng-datepicker-period-button-title {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.tng-datepicker-weekdays {\n display: grid;\n gap: var(--tng-datepicker-grid-gap);\n grid-template-columns: repeat(7, minmax(0, 1fr));\n}\n\n.tng-datepicker-grid {\n display: grid;\n gap: var(--tng-datepicker-grid-gap);\n}\n\n.tng-datepicker-grid-days {\n grid-template-columns: repeat(7, minmax(0, 1fr));\n}\n\n.tng-datepicker-grid-picker {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n}\n\n@media (max-width: 40rem) {\n :host,\n :host([data-full-width]) {\n width: 100%;\n }\n}\n"] });
636
+ }
637
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: TngDatepickerComponent, decorators: [{
638
+ type: Component,
639
+ args: [{ selector: 'tng-datepicker', template: "<div\n class=\"tng-datepicker-root\"\n [attr.aria-describedby]=\"outputs().getHostAttributes()['aria-describedby']\"\n [attr.aria-label]=\"outputs().getHostAttributes()['aria-label']\"\n [attr.aria-labelledby]=\"outputs().getHostAttributes()['aria-labelledby']\"\n [attr.data-disabled]=\"outputs().getHostAttributes()['data-disabled']\"\n [attr.data-open]=\"outputs().getHostAttributes()['data-open']\"\n [attr.data-slot]=\"outputs().getHostAttributes()['data-slot']\"\n [attr.data-view]=\"outputs().getHostAttributes()['data-view']\"\n [attr.dir]=\"outputs().getHostAttributes()['dir']\"\n [attr.role]=\"outputs().getHostAttributes()['role']\"\n>\n <div class=\"tng-datepicker-field\" data-slot=\"datepicker-field\">\n <div class=\"tng-datepicker-anchor\">\n <div\n #anchorShell\n class=\"tng-datepicker-input-shell\"\n data-slot=\"datepicker-input-shell\"\n [attr.data-invalid]=\"invalidState() ? 'true' : null\"\n [attr.data-open]=\"outputs().getTriggerAttributes()['data-open']\"\n >\n <input\n [id]=\"resolveInputId()\"\n class=\"tng-datepicker-input\"\n data-slot=\"datepicker-input\"\n type=\"text\"\n inputmode=\"numeric\"\n [disabled]=\"disabled()\"\n [readOnly]=\"readonly() || !allowManualInput()\"\n [required]=\"false\"\n [value]=\"outputs().inputText\"\n [attr.aria-invalid]=\"invalidState() ? 'true' : null\"\n [attr.aria-label]=\"inputAriaLabel()\"\n [attr.placeholder]=\"placeholder()\"\n (blur)=\"onInputBlur()\"\n (input)=\"onInputChange($event)\"\n (keydown)=\"onInputKeydown($event)\"\n />\n\n <button\n #triggerButton\n type=\"button\"\n class=\"tng-datepicker-trigger\"\n [disabled]=\"disabled()\"\n [attr.aria-controls]=\"outputs().getTriggerAttributes()['aria-controls']\"\n [attr.aria-expanded]=\"outputs().getTriggerAttributes()['aria-expanded']\"\n [attr.aria-haspopup]=\"outputs().getTriggerAttributes()['aria-haspopup']\"\n [attr.data-open]=\"outputs().getTriggerAttributes()['data-open']\"\n [attr.data-slot]=\"outputs().getTriggerAttributes()['data-slot']\"\n [attr.aria-label]=\"'Open calendar'\"\n (click)=\"onTriggerClick()\"\n (keydown)=\"onTriggerKeydown($event)\"\n >\n <svg aria-hidden=\"true\" class=\"tng-datepicker-trigger-calendar\" viewBox=\"0 0 20 20\" fill=\"none\">\n <path d=\"M6 2.5V5\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.8\" />\n <path d=\"M14 2.5V5\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.8\" />\n <rect x=\"3.25\" y=\"4.25\" width=\"13.5\" height=\"12.5\" rx=\"2.25\" stroke=\"currentColor\" stroke-width=\"1.8\" />\n <path d=\"M3.75 7.5H16.25\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" />\n <path d=\"M6.75 10.5H7.25\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" />\n <path d=\"M9.75 10.5H10.25\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" />\n <path d=\"M12.75 10.5H13.25\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" />\n <path d=\"M6.75 13.5H7.25\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" />\n <path d=\"M9.75 13.5H10.25\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" />\n </svg>\n <svg aria-hidden=\"true\" class=\"tng-datepicker-trigger-chevron\" viewBox=\"0 0 16 16\" fill=\"none\">\n <path d=\"M4.5 6.25L8 9.75L11.5 6.25\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.6\" />\n </svg>\n </button>\n </div>\n\n <section\n #overlayPanel\n class=\"tng-datepicker-overlay\"\n [attr.aria-labelledby]=\"outputs().getOverlayAttributes()['aria-labelledby']\"\n [attr.aria-modal]=\"outputs().getOverlayAttributes()['aria-modal']\"\n [attr.data-open]=\"outputs().getOverlayAttributes()['data-open']\"\n [attr.data-placement]=\"currentOverlayPlacement()\"\n [attr.data-position]=\"outputs().getOverlayAttributes()['data-position']\"\n [attr.data-slot]=\"outputs().getOverlayAttributes()['data-slot']\"\n [attr.hidden]=\"outputs().open ? null : ''\"\n [attr.id]=\"outputs().getOverlayAttributes()['id']\"\n [attr.role]=\"outputs().getOverlayAttributes()['role']\"\n [style.display]=\"outputs().open ? null : 'none'\"\n (keydown)=\"onOverlayKeydown($event)\"\n >\n <header class=\"tng-datepicker-header tng-datepicker-header-material\" data-slot=\"datepicker-header\">\n <div class=\"tng-datepicker-header-row tng-datepicker-header-row-material\">\n <button type=\"button\" class=\"tng-datepicker-nav-button\" data-slot=\"datepicker-nav-button\" (click)=\"pageBackward()\">\n <span aria-hidden=\"true\">&lsaquo;</span>\n </button>\n\n <button\n type=\"button\"\n class=\"tng-datepicker-period-button\"\n [attr.aria-haspopup]=\"!isYearView() ? 'grid' : null\"\n data-slot=\"datepicker-period-button\"\n [attr.id]=\"outputs().getGridAttributes()['aria-labelledby']\"\n [attr.data-interactive]=\"!isYearView() ? 'true' : null\"\n (click)=\"onPeriodButtonClick()\"\n >\n <span class=\"tng-datepicker-period-button-title-row\">\n <span class=\"tng-datepicker-period-button-title\">{{ materialPeriodLabel() }}</span>\n @if (!isYearView()) {\n <svg aria-hidden=\"true\" class=\"tng-datepicker-period-button-chevron\" viewBox=\"0 0 16 16\" fill=\"none\">\n <path d=\"M4.5 6.25L8 9.75L11.5 6.25\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.6\" />\n </svg>\n }\n </span>\n </button>\n\n <button type=\"button\" class=\"tng-datepicker-nav-button\" data-slot=\"datepicker-nav-button\" (click)=\"pageForward()\">\n <span aria-hidden=\"true\">&rsaquo;</span>\n </button>\n </div>\n </header>\n\n @if (isDayView()) {\n <div class=\"tng-datepicker-weekdays\" data-slot=\"datepicker-weekdays\" aria-hidden=\"true\">\n @for (label of outputs().weekdayLabels; track label) {\n <span class=\"tng-datepicker-weekday\" data-slot=\"datepicker-weekday\">{{ label }}</span>\n }\n </div>\n\n <div\n class=\"tng-datepicker-grid tng-datepicker-grid-days\"\n [attr.aria-activedescendant]=\"outputs().getGridAttributes()['aria-activedescendant']\"\n [attr.aria-labelledby]=\"outputs().getGridAttributes()['aria-labelledby']\"\n [attr.data-slot]=\"outputs().getGridAttributes()['data-slot']\"\n [attr.id]=\"outputs().getGridAttributes()['id']\"\n [attr.role]=\"outputs().getGridAttributes()['role']\"\n (keydown)=\"onGridKeydown($event)\"\n >\n @for (cell of outputs().cells; track cell.id) {\n <button\n type=\"button\"\n class=\"tng-datepicker-cell\"\n [disabled]=\"cell.disabled\"\n [attr.aria-current]=\"cell.today ? 'date' : null\"\n [attr.aria-disabled]=\"cell.disabled ? 'true' : null\"\n [attr.aria-selected]=\"cell.selected ? 'true' : 'false'\"\n [attr.data-active]=\"outputs().getCellAttributes(cell)['data-active']\"\n [attr.data-disabled]=\"outputs().getCellAttributes(cell)['data-disabled']\"\n [attr.data-focus-visible]=\"outputs().getCellAttributes(cell)['data-focus-visible']\"\n [attr.data-hidden]=\"outputs().getCellAttributes(cell)['data-hidden']\"\n [attr.data-in-month]=\"outputs().getCellAttributes(cell)['data-in-month']\"\n [attr.data-in-range]=\"outputs().getCellAttributes(cell)['data-in-range']\"\n [attr.data-range-end]=\"outputs().getCellAttributes(cell)['data-range-end']\"\n [attr.data-range-start]=\"outputs().getCellAttributes(cell)['data-range-start']\"\n [attr.data-selected]=\"outputs().getCellAttributes(cell)['data-selected']\"\n [attr.data-slot]=\"outputs().getCellAttributes(cell)['data-slot']\"\n [attr.id]=\"cell.id\"\n [attr.role]=\"'gridcell'\"\n [attr.tabindex]=\"outputs().getCellAttributes(cell)['tabindex']\"\n (click)=\"onDayCellClick(cell)\"\n >\n {{ cell.label }}\n </button>\n }\n </div>\n }\n\n @if (isMonthView()) {\n <div class=\"tng-datepicker-grid tng-datepicker-grid-picker\" data-slot=\"datepicker-grid\" role=\"grid\" (keydown)=\"onMonthKeydown($event)\">\n @for (option of outputs().monthOptions; track option.id) {\n <button\n type=\"button\"\n class=\"tng-datepicker-picker-cell\"\n [disabled]=\"option.disabled\"\n [attr.aria-disabled]=\"outputs().getMonthAttributes(option)['aria-disabled']\"\n [attr.aria-selected]=\"outputs().getMonthAttributes(option)['aria-selected']\"\n [attr.data-active]=\"outputs().getMonthAttributes(option)['data-active']\"\n [attr.data-disabled]=\"outputs().getMonthAttributes(option)['data-disabled']\"\n [attr.data-focus-visible]=\"outputs().getMonthAttributes(option)['data-focus-visible']\"\n [attr.data-selected]=\"outputs().getMonthAttributes(option)['data-selected']\"\n [attr.data-slot]=\"outputs().getMonthAttributes(option)['data-slot']\"\n [attr.id]=\"option.id\"\n [attr.role]=\"outputs().getMonthAttributes(option)['role']\"\n [attr.tabindex]=\"outputs().getMonthAttributes(option)['tabindex']\"\n (click)=\"onMonthOptionClick(option)\"\n >\n {{ option.label }}\n </button>\n }\n </div>\n }\n\n @if (isYearView()) {\n <div class=\"tng-datepicker-grid tng-datepicker-grid-picker\" data-slot=\"datepicker-grid\" role=\"grid\" (keydown)=\"onYearKeydown($event)\">\n @for (option of outputs().yearOptions; track option.id) {\n <button\n type=\"button\"\n class=\"tng-datepicker-picker-cell\"\n [disabled]=\"option.disabled\"\n [attr.aria-disabled]=\"outputs().getYearAttributes(option)['aria-disabled']\"\n [attr.aria-selected]=\"outputs().getYearAttributes(option)['aria-selected']\"\n [attr.data-active]=\"outputs().getYearAttributes(option)['data-active']\"\n [attr.data-disabled]=\"outputs().getYearAttributes(option)['data-disabled']\"\n [attr.data-focus-visible]=\"outputs().getYearAttributes(option)['data-focus-visible']\"\n [attr.data-selected]=\"outputs().getYearAttributes(option)['data-selected']\"\n [attr.data-slot]=\"outputs().getYearAttributes(option)['data-slot']\"\n [attr.id]=\"option.id\"\n [attr.role]=\"outputs().getYearAttributes(option)['role']\"\n [attr.tabindex]=\"outputs().getYearAttributes(option)['tabindex']\"\n (click)=\"onYearOptionClick(option)\"\n >\n {{ option.label }}\n </button>\n }\n </div>\n }\n </section>\n </div>\n </div>\n</div>\n", styles: [":host {\n display: inline-grid;\n max-width: 100%;\n min-width: min(18rem, 100%);\n}\n\n:host([data-full-width]) {\n display: block;\n width: 100%;\n}\n\n.tng-datepicker-anchor {\n min-width: 0;\n position: relative;\n}\n\n.tng-datepicker-trigger-calendar {\n height: 0.96rem;\n width: 0.96rem;\n}\n\n.tng-datepicker-trigger-chevron,\n.tng-datepicker-period-button-chevron {\n flex: 0 0 auto;\n height: 0.72rem;\n width: 0.72rem;\n}\n\n.tng-datepicker-overlay {\n max-width: calc(100vw - 1.5rem);\n overflow-y: auto;\n overscroll-behavior: contain;\n position: fixed;\n z-index: 30;\n}\n\n.tng-datepicker-header-row-material {\n align-items: center;\n grid-template-columns:\n var(--tng-datepicker-nav-size, 2.1rem)\n minmax(0, 1fr)\n var(--tng-datepicker-nav-size, 2.1rem);\n}\n\n.tng-datepicker-period-button {\n align-items: center;\n display: inline-flex;\n justify-content: center;\n justify-self: center;\n min-width: 0;\n width: 100%;\n}\n\n.tng-datepicker-period-button-title-row {\n align-items: center;\n display: inline-flex;\n gap: 0.24rem;\n}\n\n.tng-datepicker-period-button-title {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.tng-datepicker-weekdays {\n display: grid;\n gap: var(--tng-datepicker-grid-gap);\n grid-template-columns: repeat(7, minmax(0, 1fr));\n}\n\n.tng-datepicker-grid {\n display: grid;\n gap: var(--tng-datepicker-grid-gap);\n}\n\n.tng-datepicker-grid-days {\n grid-template-columns: repeat(7, minmax(0, 1fr));\n}\n\n.tng-datepicker-grid-picker {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n}\n\n@media (max-width: 40rem) {\n :host,\n :host([data-full-width]) {\n width: 100%;\n }\n}\n"] }]
640
+ }], ctorParameters: () => [], propDecorators: { anchorRef: [{ type: i0.ViewChild, args: ['anchorShell', { isSignal: true }] }], triggerRef: [{ type: i0.ViewChild, args: ['triggerButton', { isSignal: true }] }], overlayRef: [{ type: i0.ViewChild, args: ['overlayPanel', { isSignal: true }] }], adapter: [{ type: i0.Input, args: [{ isSignal: true, alias: "adapter", required: false }] }], allowDeselect: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowDeselect", required: false }] }], allowManualInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowManualInput", required: false }] }], ariaDescribedBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaDescribedBy", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], autoCommitView: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoCommitView", required: false }] }], closeOnEscape: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnEscape", required: false }] }], closeOnOutsideClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnOutsideClick", required: false }] }], closeOnSelect: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnSelect", required: false }] }], closeOthersOnOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOthersOnOpen", required: false }] }], defaultOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultOpen", required: false }] }], defaultValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultValue", required: false }] }], direction: [{ type: i0.Input, args: [{ isSignal: true, alias: "direction", required: false }] }], disableDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "disableDate", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], fullWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "fullWidth", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], inputAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputAriaLabel", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], locale: [{ type: i0.Input, args: [{ isSignal: true, alias: "locale", required: false }] }], maxDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxDate", required: false }] }], minDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "minDate", required: false }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], overlaySize: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlaySize", required: false }] }], placement: [{ type: i0.Input, args: [{ isSignal: true, alias: "placement", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], restoreFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "restoreFocus", required: false }] }], selectionMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectionMode", required: false }] }], showOutsideDays: [{ type: i0.Input, args: [{ isSignal: true, alias: "showOutsideDays", required: false }] }], today: [{ type: i0.Input, args: [{ isSignal: true, alias: "today", required: false }] }], trapFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "trapFocus", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], weekStartsOn: [{ type: i0.Input, args: [{ isSignal: true, alias: "weekStartsOn", required: false }] }], yearPageSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "yearPageSize", required: false }] }], activeDateChange: [{ type: i0.Output, args: ["activeDateChange"] }], closed: [{ type: i0.Output, args: ["closed"] }], monthChange: [{ type: i0.Output, args: ["monthChange"] }], openChange: [{ type: i0.Output, args: ["openChange"] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }], viewChange: [{ type: i0.Output, args: ["viewChange"] }], yearChange: [{ type: i0.Output, args: ["yearChange"] }], dataFullWidth: [{
641
+ type: HostBinding,
642
+ args: ['attr.data-full-width']
643
+ }] } });
684
644
  //# sourceMappingURL=tng-datepicker.component.js.map