@sdcorejs/angular 20.3.4 → 20.3.6

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 (240) hide show
  1. package/assets/STYLE-GUIDE.md +78 -1
  2. package/assets/THEME.md +45 -3
  3. package/assets/scss/core/_popover-panel.scss +90 -0
  4. package/assets/scss/core/form.scss +5 -2
  5. package/assets/scss/core/utilities/_grid.scss +15 -0
  6. package/assets/scss/core/utilities/_sizing.scss +4 -0
  7. package/assets/scss/themes/_component-tokens.scss +9 -4
  8. package/assets/scss/themes/_semantic.scss +6 -5
  9. package/components/anchor/index.d.ts +6 -1
  10. package/components/button/index.d.ts +7 -1
  11. package/components/calendar/index.d.ts +1092 -0
  12. package/components/card/index.d.ts +247 -9
  13. package/components/index.d.ts +3 -1
  14. package/components/kanban/index.d.ts +191 -74
  15. package/components/modal/index.d.ts +15 -1
  16. package/components/query-bar/index.d.ts +204 -38
  17. package/components/quick-action/index.d.ts +65 -1
  18. package/components/scheduler/index.d.ts +544 -0
  19. package/components/tab/index.d.ts +6 -1
  20. package/components/table/index.d.ts +338 -31
  21. package/components/timeline/index.d.ts +216 -0
  22. package/components/tree/index.d.ts +119 -6
  23. package/directives/index.d.ts +4 -2
  24. package/fesm2022/sdcorejs-angular-components-anchor.mjs +62 -3
  25. package/fesm2022/sdcorejs-angular-components-anchor.mjs.map +1 -1
  26. package/fesm2022/sdcorejs-angular-components-button.mjs +14 -6
  27. package/fesm2022/sdcorejs-angular-components-button.mjs.map +1 -1
  28. package/fesm2022/sdcorejs-angular-components-calendar.mjs +2481 -0
  29. package/fesm2022/sdcorejs-angular-components-calendar.mjs.map +1 -0
  30. package/fesm2022/sdcorejs-angular-components-card.mjs +486 -23
  31. package/fesm2022/sdcorejs-angular-components-card.mjs.map +1 -1
  32. package/fesm2022/sdcorejs-angular-components-editor-engine.mjs +1 -1
  33. package/fesm2022/sdcorejs-angular-components-editor-engine.mjs.map +1 -1
  34. package/fesm2022/sdcorejs-angular-components-file-explorer.mjs +4 -18
  35. package/fesm2022/sdcorejs-angular-components-file-explorer.mjs.map +1 -1
  36. package/fesm2022/sdcorejs-angular-components-form-generic.mjs +7 -7
  37. package/fesm2022/sdcorejs-angular-components-form-generic.mjs.map +1 -1
  38. package/fesm2022/sdcorejs-angular-components-import-excel.mjs +1 -1
  39. package/fesm2022/sdcorejs-angular-components-import-excel.mjs.map +1 -1
  40. package/fesm2022/sdcorejs-angular-components-kanban.mjs +833 -154
  41. package/fesm2022/sdcorejs-angular-components-kanban.mjs.map +1 -1
  42. package/fesm2022/sdcorejs-angular-components-modal.mjs +69 -14
  43. package/fesm2022/sdcorejs-angular-components-modal.mjs.map +1 -1
  44. package/fesm2022/sdcorejs-angular-components-query-bar.mjs +1477 -365
  45. package/fesm2022/sdcorejs-angular-components-query-bar.mjs.map +1 -1
  46. package/fesm2022/sdcorejs-angular-components-quick-action.mjs +68 -2
  47. package/fesm2022/sdcorejs-angular-components-quick-action.mjs.map +1 -1
  48. package/fesm2022/sdcorejs-angular-components-scheduler.mjs +1934 -0
  49. package/fesm2022/sdcorejs-angular-components-scheduler.mjs.map +1 -0
  50. package/fesm2022/sdcorejs-angular-components-side-drawer.mjs +2 -2
  51. package/fesm2022/sdcorejs-angular-components-side-drawer.mjs.map +1 -1
  52. package/fesm2022/sdcorejs-angular-components-tab-router.mjs +126 -26
  53. package/fesm2022/sdcorejs-angular-components-tab-router.mjs.map +1 -1
  54. package/fesm2022/sdcorejs-angular-components-tab.mjs +31 -2
  55. package/fesm2022/sdcorejs-angular-components-tab.mjs.map +1 -1
  56. package/fesm2022/sdcorejs-angular-components-table.mjs +5967 -3690
  57. package/fesm2022/sdcorejs-angular-components-table.mjs.map +1 -1
  58. package/fesm2022/sdcorejs-angular-components-timeline.mjs +473 -0
  59. package/fesm2022/sdcorejs-angular-components-timeline.mjs.map +1 -0
  60. package/fesm2022/sdcorejs-angular-components-tree.mjs +597 -36
  61. package/fesm2022/sdcorejs-angular-components-tree.mjs.map +1 -1
  62. package/fesm2022/sdcorejs-angular-components-upload-file.mjs +2 -4
  63. package/fesm2022/sdcorejs-angular-components-upload-file.mjs.map +1 -1
  64. package/fesm2022/sdcorejs-angular-components.mjs +3 -1
  65. package/fesm2022/sdcorejs-angular-components.mjs.map +1 -1
  66. package/fesm2022/sdcorejs-angular-directives.mjs +109 -22
  67. package/fesm2022/sdcorejs-angular-directives.mjs.map +1 -1
  68. package/fesm2022/sdcorejs-angular-forms-date.mjs +140 -42
  69. package/fesm2022/sdcorejs-angular-forms-date.mjs.map +1 -1
  70. package/fesm2022/sdcorejs-angular-forms-datetime.mjs +70 -21
  71. package/fesm2022/sdcorejs-angular-forms-datetime.mjs.map +1 -1
  72. package/fesm2022/sdcorejs-angular-forms-directives.mjs +4 -3
  73. package/fesm2022/sdcorejs-angular-forms-directives.mjs.map +1 -1
  74. package/fesm2022/sdcorejs-angular-forms-entity-picker.mjs +1 -1
  75. package/fesm2022/sdcorejs-angular-forms-entity-picker.mjs.map +1 -1
  76. package/fesm2022/sdcorejs-angular-forms-select.mjs +23 -4
  77. package/fesm2022/sdcorejs-angular-forms-select.mjs.map +1 -1
  78. package/fesm2022/sdcorejs-angular-forms-tree-select.mjs +1 -1
  79. package/fesm2022/sdcorejs-angular-forms-tree-select.mjs.map +1 -1
  80. package/fesm2022/sdcorejs-angular-i18n.mjs +812 -52
  81. package/fesm2022/sdcorejs-angular-i18n.mjs.map +1 -1
  82. package/fesm2022/{sdcorejs-angular-modules-generic-generic-configuration.page-D_1BxDC9.mjs → sdcorejs-angular-modules-generic-generic-configuration.page-w7iVesRB.mjs} +3 -3
  83. package/fesm2022/{sdcorejs-angular-modules-generic-generic-configuration.page-D_1BxDC9.mjs.map → sdcorejs-angular-modules-generic-generic-configuration.page-w7iVesRB.mjs.map} +1 -1
  84. package/fesm2022/{sdcorejs-angular-modules-generic-generic-form-host.page-CgH8Qi25.mjs → sdcorejs-angular-modules-generic-generic-form-host.page-DwGr3EVD.mjs} +2 -2
  85. package/fesm2022/{sdcorejs-angular-modules-generic-generic-form-host.page-CgH8Qi25.mjs.map → sdcorejs-angular-modules-generic-generic-form-host.page-DwGr3EVD.mjs.map} +1 -1
  86. package/fesm2022/{sdcorejs-angular-modules-generic-generic-list.page-CyCGqW9W.mjs → sdcorejs-angular-modules-generic-generic-list.page-QqBNS185.mjs} +3 -3
  87. package/fesm2022/{sdcorejs-angular-modules-generic-generic-list.page-CyCGqW9W.mjs.map → sdcorejs-angular-modules-generic-generic-list.page-QqBNS185.mjs.map} +1 -1
  88. package/fesm2022/{sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-DTmU8Te4.mjs → sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-_WrprZ_o.mjs} +4 -4
  89. package/fesm2022/{sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-DTmU8Te4.mjs.map → sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-_WrprZ_o.mjs.map} +1 -1
  90. package/fesm2022/sdcorejs-angular-modules-generic.mjs +1 -1
  91. package/fesm2022/sdcorejs-angular-modules-layout.mjs +17 -8
  92. package/fesm2022/sdcorejs-angular-modules-layout.mjs.map +1 -1
  93. package/fesm2022/{sdcorejs-angular-modules-pattern-base-api.service-okZVmcd5.mjs → sdcorejs-angular-modules-pattern-base-api.service-B2HMyv8F.mjs} +2 -2
  94. package/fesm2022/{sdcorejs-angular-modules-pattern-base-api.service-okZVmcd5.mjs.map → sdcorejs-angular-modules-pattern-base-api.service-B2HMyv8F.mjs.map} +1 -1
  95. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-LPUj7MqG.mjs → sdcorejs-angular-modules-pattern-create.component-CNtkbnRK.mjs} +2 -2
  96. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-LPUj7MqG.mjs.map → sdcorejs-angular-modules-pattern-create.component-CNtkbnRK.mjs.map} +1 -1
  97. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-2-dyjvCH.mjs → sdcorejs-angular-modules-pattern-create.component-DlNyY3e7.mjs} +2 -2
  98. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-2-dyjvCH.mjs.map → sdcorejs-angular-modules-pattern-create.component-DlNyY3e7.mjs.map} +1 -1
  99. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-BCoG3bVV.mjs → sdcorejs-angular-modules-pattern-create.component-DxV_0Ckg.mjs} +11 -7
  100. package/fesm2022/sdcorejs-angular-modules-pattern-create.component-DxV_0Ckg.mjs.map +1 -0
  101. package/fesm2022/{sdcorejs-angular-modules-pattern-customer.service-Caua6Xto.mjs → sdcorejs-angular-modules-pattern-customer.service-DS0cFc3u.mjs} +2 -2
  102. package/fesm2022/{sdcorejs-angular-modules-pattern-customer.service-Caua6Xto.mjs.map → sdcorejs-angular-modules-pattern-customer.service-DS0cFc3u.mjs.map} +1 -1
  103. package/fesm2022/{sdcorejs-angular-modules-pattern-detail.component-_c_4slgf.mjs → sdcorejs-angular-modules-pattern-detail.component-B_1ppVNA.mjs} +2 -2
  104. package/fesm2022/{sdcorejs-angular-modules-pattern-detail.component-_c_4slgf.mjs.map → sdcorejs-angular-modules-pattern-detail.component-B_1ppVNA.mjs.map} +1 -1
  105. package/fesm2022/{sdcorejs-angular-modules-pattern-detail.component-B2Y0PbbC.mjs → sdcorejs-angular-modules-pattern-detail.component-CFvwPHFx.mjs} +58 -55
  106. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-CFvwPHFx.mjs.map +1 -0
  107. package/fesm2022/{sdcorejs-angular-modules-pattern-flow.component-C_HziBQN.mjs → sdcorejs-angular-modules-pattern-flow.component-Ba4xO_tF.mjs} +3 -3
  108. package/fesm2022/{sdcorejs-angular-modules-pattern-flow.component-C_HziBQN.mjs.map → sdcorejs-angular-modules-pattern-flow.component-Ba4xO_tF.mjs.map} +1 -1
  109. package/fesm2022/{sdcorejs-angular-modules-pattern-index.component-B2dNqckm.mjs → sdcorejs-angular-modules-pattern-index.component-DvwY0K3t.mjs} +2 -2
  110. package/fesm2022/{sdcorejs-angular-modules-pattern-index.component-B2dNqckm.mjs.map → sdcorejs-angular-modules-pattern-index.component-DvwY0K3t.mjs.map} +1 -1
  111. package/fesm2022/{sdcorejs-angular-modules-pattern-lines-table-form.component-Dq8Q8Vfm.mjs → sdcorejs-angular-modules-pattern-lines-table-form.component-BSAQaAgH.mjs} +5 -5
  112. package/fesm2022/{sdcorejs-angular-modules-pattern-lines-table-form.component-Dq8Q8Vfm.mjs.map → sdcorejs-angular-modules-pattern-lines-table-form.component-BSAQaAgH.mjs.map} +1 -1
  113. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-BIv2k6NI.mjs +506 -0
  114. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-BIv2k6NI.mjs.map +1 -0
  115. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-CeX57FPi.mjs → sdcorejs-angular-modules-pattern-list.component-BYyL5Q5n.mjs} +30 -39
  116. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-BYyL5Q5n.mjs.map +1 -0
  117. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CZRTnqNx.mjs +501 -0
  118. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CZRTnqNx.mjs.map +1 -0
  119. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-DS8A17mM.mjs → sdcorejs-angular-modules-pattern-list.component-DF7CvaVG.mjs} +3 -3
  120. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-DS8A17mM.mjs.map → sdcorejs-angular-modules-pattern-list.component-DF7CvaVG.mjs.map} +1 -1
  121. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-Bs9hhMr7.mjs → sdcorejs-angular-modules-pattern-list.component-nMyLso8Z.mjs} +3 -3
  122. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-Bs9hhMr7.mjs.map → sdcorejs-angular-modules-pattern-list.component-nMyLso8Z.mjs.map} +1 -1
  123. package/fesm2022/{sdcorejs-angular-modules-pattern-mock-backend.factory-Dfil91qL.mjs → sdcorejs-angular-modules-pattern-mock-backend.factory-CS7VK5Ol.mjs} +2 -2
  124. package/fesm2022/{sdcorejs-angular-modules-pattern-mock-backend.factory-Dfil91qL.mjs.map → sdcorejs-angular-modules-pattern-mock-backend.factory-CS7VK5Ol.mjs.map} +1 -1
  125. package/fesm2022/{sdcorejs-angular-modules-pattern-pattern-source-viewer-BqHwKfoc.mjs → sdcorejs-angular-modules-pattern-pattern-source-viewer-DuhyXsGn.mjs} +4 -22
  126. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source-viewer-DuhyXsGn.mjs.map +1 -0
  127. package/fesm2022/{sdcorejs-angular-modules-pattern-pattern-source.generated-CIiLOizq.mjs → sdcorejs-angular-modules-pattern-pattern-source.generated-bfpj85ke.mjs} +26 -27
  128. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source.generated-bfpj85ke.mjs.map +1 -0
  129. package/fesm2022/{sdcorejs-angular-modules-pattern-product.service-PaIGZ1ve.mjs → sdcorejs-angular-modules-pattern-product.service-KKWwzMEG.mjs} +2 -2
  130. package/fesm2022/{sdcorejs-angular-modules-pattern-product.service-PaIGZ1ve.mjs.map → sdcorejs-angular-modules-pattern-product.service-KKWwzMEG.mjs.map} +1 -1
  131. package/fesm2022/{sdcorejs-angular-modules-pattern-profile.component-B8j8cieu.mjs → sdcorejs-angular-modules-pattern-profile.component-XDuLwzEl.mjs} +25 -15
  132. package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-XDuLwzEl.mjs.map +1 -0
  133. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-0Vh73aXL.mjs → sdcorejs-angular-modules-pattern-routes--ScZNg7A.mjs} +3 -3
  134. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-0Vh73aXL.mjs.map → sdcorejs-angular-modules-pattern-routes--ScZNg7A.mjs.map} +1 -1
  135. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-Cw9uJySU.mjs → sdcorejs-angular-modules-pattern-routes-Bka6PaRB.mjs} +3 -3
  136. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-Cw9uJySU.mjs.map → sdcorejs-angular-modules-pattern-routes-Bka6PaRB.mjs.map} +1 -1
  137. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-nrxSHE-O.mjs → sdcorejs-angular-modules-pattern-routes-CCwFQAdd.mjs} +4 -4
  138. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-nrxSHE-O.mjs.map → sdcorejs-angular-modules-pattern-routes-CCwFQAdd.mjs.map} +1 -1
  139. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-CFT9DyKj.mjs → sdcorejs-angular-modules-pattern-routes-CKryLRCh.mjs} +8 -8
  140. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-CFT9DyKj.mjs.map → sdcorejs-angular-modules-pattern-routes-CKryLRCh.mjs.map} +1 -1
  141. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-CFLETqYK.mjs → sdcorejs-angular-modules-pattern-routes-Dr72yGSt.mjs} +5 -5
  142. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-CFLETqYK.mjs.map → sdcorejs-angular-modules-pattern-routes-Dr72yGSt.mjs.map} +1 -1
  143. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-BoB2usST.mjs → sdcorejs-angular-modules-pattern-routes-P9WvwSEW.mjs} +3 -3
  144. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-BoB2usST.mjs.map → sdcorejs-angular-modules-pattern-routes-P9WvwSEW.mjs.map} +1 -1
  145. package/fesm2022/sdcorejs-angular-modules-pattern-routes-_EDJ1-63.mjs +65 -0
  146. package/fesm2022/sdcorejs-angular-modules-pattern-routes-_EDJ1-63.mjs.map +1 -0
  147. package/fesm2022/sdcorejs-angular-modules-pattern-routes-n4kpjO0y.mjs +56 -0
  148. package/fesm2022/sdcorejs-angular-modules-pattern-routes-n4kpjO0y.mjs.map +1 -0
  149. package/fesm2022/{sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-CJ6hUHjk.mjs → sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-DHhmKKVI.mjs} +12 -12
  150. package/fesm2022/{sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-CJ6hUHjk.mjs.map → sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-DHhmKKVI.mjs.map} +1 -1
  151. package/fesm2022/{sdcorejs-angular-modules-pattern-shell.component-C_AFK_9X.mjs → sdcorejs-angular-modules-pattern-shell.component-DxNC-ixx.mjs} +4 -4
  152. package/fesm2022/{sdcorejs-angular-modules-pattern-shell.component-C_AFK_9X.mjs.map → sdcorejs-angular-modules-pattern-shell.component-DxNC-ixx.mjs.map} +1 -1
  153. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-TWYHj6in.mjs +480 -0
  154. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-TWYHj6in.mjs.map +1 -0
  155. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-B7H9pp-R.mjs → sdcorejs-angular-modules-pattern-update.component-BcBxBqWB.mjs} +2 -2
  156. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-B7H9pp-R.mjs.map → sdcorejs-angular-modules-pattern-update.component-BcBxBqWB.mjs.map} +1 -1
  157. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-Dhfba-qx.mjs → sdcorejs-angular-modules-pattern-update.component-BntTyV55.mjs} +9 -6
  158. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-BntTyV55.mjs.map +1 -0
  159. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-hRTu79uE.mjs → sdcorejs-angular-modules-pattern-update.component-CJjZWZuz.mjs} +2 -2
  160. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-hRTu79uE.mjs.map → sdcorejs-angular-modules-pattern-update.component-CJjZWZuz.mjs.map} +1 -1
  161. package/fesm2022/sdcorejs-angular-modules-pattern.mjs +1 -1
  162. package/fesm2022/sdcorejs-angular-services-confirm.mjs +171 -158
  163. package/fesm2022/sdcorejs-angular-services-confirm.mjs.map +1 -1
  164. package/fesm2022/sdcorejs-angular-services-excel.mjs +34 -0
  165. package/fesm2022/sdcorejs-angular-services-excel.mjs.map +1 -1
  166. package/fesm2022/sdcorejs-angular-services-query-params.mjs +226 -0
  167. package/fesm2022/sdcorejs-angular-services-query-params.mjs.map +1 -0
  168. package/fesm2022/sdcorejs-angular-utilities-extensions.mjs +24 -1
  169. package/fesm2022/sdcorejs-angular-utilities-extensions.mjs.map +1 -1
  170. package/forms/date/index.d.ts +2 -0
  171. package/forms/directives/index.d.ts +1 -1
  172. package/i18n/index.d.ts +159 -9
  173. package/modules/layout/index.d.ts +2 -1
  174. package/modules/pattern/README.md +5 -4
  175. package/modules/pattern/docs/detail.md +18 -9
  176. package/modules/pattern/docs/drawer.md +185 -83
  177. package/modules/pattern/docs/header-actions.md +1 -1
  178. package/modules/pattern/docs/list.md +3 -3
  179. package/modules/pattern/docs/states.md +1 -1
  180. package/modules/pattern/features/category/components/create-side-drawer/create-side-drawer.component.ts +12 -16
  181. package/modules/pattern/features/category/components/update-side-drawer/update-side-drawer.component.ts +58 -29
  182. package/modules/pattern/features/category/pages/list/list.component.html +11 -3
  183. package/modules/pattern/features/category/pages/list/list.component.ts +36 -10
  184. package/modules/pattern/features/category/routes.ts +5 -22
  185. package/modules/pattern/features/customer/components/create-side-drawer/create-side-drawer.component.ts +7 -11
  186. package/modules/pattern/features/customer/components/detail-side-drawer/detail-side-drawer.component.ts +70 -27
  187. package/modules/pattern/features/customer/components/summary-cards/summary-cards.component.ts +9 -53
  188. package/modules/pattern/features/customer/components/update-side-drawer/update-side-drawer.component.ts +53 -19
  189. package/modules/pattern/features/customer/entity.resolver.ts +1 -1
  190. package/modules/pattern/features/customer/pages/list/list.component.html +18 -3
  191. package/modules/pattern/features/customer/pages/list/list.component.ts +43 -16
  192. package/modules/pattern/features/customer/pages/profile/profile.component.ts +17 -8
  193. package/modules/pattern/features/customer/routes.ts +6 -27
  194. package/modules/pattern/features/order/components/approval-steps/approval-steps.component.ts +37 -56
  195. package/modules/pattern/features/order/components/summary-cards/summary-cards.component.ts +14 -76
  196. package/modules/pattern/features/order/pages/create/create.component.ts +7 -3
  197. package/modules/pattern/features/order/pages/detail/detail.component.ts +1 -1
  198. package/modules/pattern/features/order/pages/update/update.component.ts +5 -2
  199. package/package.json +17 -5
  200. package/services/confirm/index.d.ts +22 -81
  201. package/services/excel/index.d.ts +59 -0
  202. package/services/query-params/index.d.ts +67 -0
  203. package/utilities/extensions/index.d.ts +10 -1
  204. package/components/history/index.d.ts +0 -23
  205. package/fesm2022/sdcorejs-angular-components-history.mjs +0 -54
  206. package/fesm2022/sdcorejs-angular-components-history.mjs.map +0 -1
  207. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-CB4F9cBe.mjs +0 -144
  208. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-CB4F9cBe.mjs.map +0 -1
  209. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-CowdEzyv.mjs +0 -145
  210. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-CowdEzyv.mjs.map +0 -1
  211. package/fesm2022/sdcorejs-angular-modules-pattern-create.component-BCoG3bVV.mjs.map +0 -1
  212. package/fesm2022/sdcorejs-angular-modules-pattern-customer.model-C3fr4yNw.mjs +0 -18
  213. package/fesm2022/sdcorejs-angular-modules-pattern-customer.model-C3fr4yNw.mjs.map +0 -1
  214. package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-Bu6E63bN.mjs +0 -148
  215. package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-Bu6E63bN.mjs.map +0 -1
  216. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-B2Y0PbbC.mjs.map +0 -1
  217. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-BRsdOwWy.mjs +0 -87
  218. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-BRsdOwWy.mjs.map +0 -1
  219. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-DalxHa8D.mjs +0 -232
  220. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-DalxHa8D.mjs.map +0 -1
  221. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-view.component-kdEZ9s7K.mjs +0 -70
  222. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-view.component-kdEZ9s7K.mjs.map +0 -1
  223. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-B3-th1z4.mjs +0 -164
  224. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-B3-th1z4.mjs.map +0 -1
  225. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CRttQEXa.mjs +0 -118
  226. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CRttQEXa.mjs.map +0 -1
  227. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CeX57FPi.mjs.map +0 -1
  228. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source-viewer-BqHwKfoc.mjs.map +0 -1
  229. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source.generated-CIiLOizq.mjs.map +0 -1
  230. package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-B8j8cieu.mjs.map +0 -1
  231. package/fesm2022/sdcorejs-angular-modules-pattern-routes-CZusLcS3.mjs +0 -74
  232. package/fesm2022/sdcorejs-angular-modules-pattern-routes-CZusLcS3.mjs.map +0 -1
  233. package/fesm2022/sdcorejs-angular-modules-pattern-routes-Cq4BqjE9.mjs +0 -99
  234. package/fesm2022/sdcorejs-angular-modules-pattern-routes-Cq4BqjE9.mjs.map +0 -1
  235. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-C74EEboR.mjs +0 -143
  236. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-C74EEboR.mjs.map +0 -1
  237. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-Dj9lvkCP.mjs +0 -132
  238. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-Dj9lvkCP.mjs.map +0 -1
  239. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-Dhfba-qx.mjs.map +0 -1
  240. package/modules/pattern/features/category/entity.resolver.ts +0 -27
@@ -1,12 +1,12 @@
1
1
  import * as i5 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { viewChild, contentChild, inject, ChangeDetectorRef, input, computed, model, Injector, afterNextRender, booleanAttribute, output, signal, untracked, ChangeDetectionStrategy, Component } from '@angular/core';
4
+ import { viewChild, contentChild, inject, ChangeDetectorRef, input, computed, model, Injector, afterNextRender, booleanAttribute, output, signal, untracked, effect, ChangeDetectionStrategy, Component } from '@angular/core';
5
5
  import * as i1 from '@angular/forms';
6
6
  import { NgForm, FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';
7
7
  import { MAT_DATE_LOCALE } from '@angular/material/core';
8
8
  import * as i4 from '@angular/material/datepicker';
9
- import { MatDatepicker, MatDatepickerModule } from '@angular/material/datepicker';
9
+ import { MatDatepicker, MatDatepickerInput, MatDatepickerModule } from '@angular/material/datepicker';
10
10
  import { MatFormFieldModule } from '@angular/material/form-field';
11
11
  import * as i2 from '@angular/material/input';
12
12
  import { MatInputModule } from '@angular/material/input';
@@ -100,6 +100,8 @@ class SdDate {
100
100
  // ==========================================
101
101
  inputRef = viewChild('input', ...(ngDevMode ? [{ debugName: "inputRef" }] : []));
102
102
  datePicker = viewChild(MatDatepicker, ...(ngDevMode ? [{ debugName: "datePicker" }] : []));
103
+ // why: query signal không đặt được trên field ES private (#).
104
+ pickerInput = viewChild((MatDatepickerInput), ...(ngDevMode ? [{ debugName: "pickerInput" }] : []));
103
105
  sdLabelTemplate = contentChild('sdLabel', ...(ngDevMode ? [{ debugName: "sdLabelTemplate" }] : []));
104
106
  sdValueTemplate = contentChild('sdValue', ...(ngDevMode ? [{ debugName: "sdValueTemplate" }] : []));
105
107
  sdViewDef = contentChild(SdViewDefDirective, ...(ngDevMode ? [{ debugName: "sdViewDef" }] : []));
@@ -224,6 +226,9 @@ class SdDate {
224
226
  */
225
227
  errorMessage = computed(() => {
226
228
  void this.#state();
229
+ // why: `model` đổi từ ngoài ghi control bằng `emitEvent: false` nên #state không tick; cờ lỗi hạ theo thì
230
+ // message phải tính lại.
231
+ void this.#textError();
227
232
  const errors = this.formControl.errors;
228
233
  if (!errors)
229
234
  return undefined;
@@ -280,16 +285,22 @@ class SdDate {
280
285
  // ==========================================
281
286
  isMobileOrTablet = BrowserUtilities.isMobile();
282
287
  formControl = new SdFormControl();
283
- /** `true` khi text đang gõ không phải ngày dd/MM/yyyy hợp lệ. */
284
- #invalidFormat = signal(false, ...(ngDevMode ? [{ debugName: "#invalidFormat" }] : []));
288
+ /** Lỗi của chuỗi đang nằm trong ô: `format` → "Sai định dạng", `calendar` → "Ngày không hợp lệ". */
289
+ #textError = signal(null, ...(ngDevMode ? [{ debugName: "#textError" }] : []));
285
290
  /**
286
- * why: lỗi format PHẢI đi qua pipeline validator. Trước đây nó bị nhét thẳng vào control bằng
287
- * `setErrors()` — tức là nằm NGOÀI pipeline — nên bất kỳ `updateValueAndValidity` nào chạy sau
288
- * (effect validators của connector, hay chính `setValue`) đều xoá sạch lỗi mà không ai hay biết.
289
- * Validator giữ identity ổn định (connector chỉ gắn 1 lần) và đọc cờ qua `untracked` để không
290
- * tự biến mình thành dependency reactive khi bị gọi trong effect/computed.
291
+ * why: lỗi của chuỗi PHẢI đi qua pipeline validator. Chuỗi sai được GIỮ LẠI trong ô sau khi rời ô, nên lỗi phải
292
+ * sống qua mọi `updateValueAndValidity` (effect validators của connector, `setValue`) — nhét bằng `setErrors()`
293
+ * thì lần tính lại kế tiếp xoá mất. Cờ được hạ ở mọi chỗ ô bị ghi đè: gõ tiếp, chọn lịch, nút xoá, `model` đổi từ
294
+ * ngoài, rời ô với chuỗi hợp lệ hoặc ô trống.
295
+ * Validator giữ identity ổn định (connector chỉ gắn 1 lần) và đọc cờ qua `untracked` để không tự biến mình thành
296
+ * dependency reactive khi bị gọi trong effect/computed.
291
297
  */
292
- #dateFormatValidator = () => untracked(() => (this.#invalidFormat() ? { date: this.#i18n.t('core.form.date.invalid-format') } : null));
298
+ #dateFormatValidator = () => untracked(() => {
299
+ const kind = this.#textError();
300
+ if (!kind)
301
+ return null;
302
+ return { date: this.#i18n.t(kind === 'calendar' ? 'core.form.date.invalid-date' : 'core.form.date.invalid-format') };
303
+ });
293
304
  #validators = computed(() => this.inlineError() ? [this.#dateFormatValidator, SdInlineErrorValidator] : [this.#dateFormatValidator], ...(ngDevMode ? [{ debugName: "#validators" }] : []));
294
305
  /**
295
306
  * why: control gắn thẳng vào `matDatepicker` nên nó giữ `Date` — đó là biểu diễn của editor, không
@@ -352,7 +363,16 @@ class SdDate {
352
363
  this.valueModel.set(value);
353
364
  this.sdChange.emit(value);
354
365
  },
355
- modelToControl: value => this.#modelToControl(value),
366
+ modelToControl: value => {
367
+ const controlValue = this.#modelToControl(value);
368
+ // why: `model` đổi là ô sắp được ghi đè bằng giá trị đó — chuỗi sai trước đó (và lỗi của nó) không còn.
369
+ untracked(() => {
370
+ this.#textError.set(null);
371
+ if (controlValue === null)
372
+ this.#clearInputText();
373
+ });
374
+ return controlValue;
375
+ },
356
376
  controlToModel: value => this.#serializeCommitted(value),
357
377
  modelEquals: (left, right) => this.#modelsEqual(left, right),
358
378
  controlEquals: dateControlsEqual,
@@ -364,8 +384,20 @@ class SdDate {
364
384
  });
365
385
  isFocused = false;
366
386
  isValid;
367
- #hasInvalidInput = false;
387
+ #syncingPicker = false;
368
388
  #subscription = new Subscription();
389
+ constructor() {
390
+ // Giành quyền ghi view → control của ô nhập.
391
+ // why: `MatDatepickerInput` là value accessor của ô, nó parse lại sau MỖI phím và ghi null vào control ngay khi
392
+ // chuỗi còn dở dang; connector đẩy tiếp null đó ra `model` / `sdChange` trong lúc người dùng đang sửa. Đăng ký
393
+ // lại `onChange` (API công khai của ControlValueAccessor) để chỉ ngày gõ xong mới vào control. Ô nhập bị dựng
394
+ // lại khi đổi `viewed`, nên phải đăng ký theo từng instance của directive.
395
+ effect(() => {
396
+ const pickerInput = this.pickerInput();
397
+ if (pickerInput)
398
+ untracked(() => pickerInput.registerOnChange((value) => this.#commitFromInput(value)));
399
+ });
400
+ }
369
401
  ngOnInit() {
370
402
  this.#subscription.add(this.formControl.sdChanges.subscribe(() => {
371
403
  this.ref.markForCheck();
@@ -387,6 +419,19 @@ class SdDate {
387
419
  return new Date(val);
388
420
  return null;
389
421
  }
422
+ /**
423
+ * Giá trị ô nhập gửi lên control trong lúc gõ hoặc khi chọn trên lịch.
424
+ * why: null ở đây luôn là "chuỗi chưa thành ngày" (dở dang, sai, hoặc vừa xoá trắng) — chưa phải người dùng chốt
425
+ * bỏ giá trị. Control giữ ngày đã chốt gần nhất; null chỉ được chốt khi rời ô (`onBlur`), nhấn Enter trên ô trống
426
+ * hoặc bấm nút xoá.
427
+ */
428
+ #commitFromInput(value) {
429
+ this.formControl.markAsDirty();
430
+ if (!value || dateControlsEqual(this.formControl.value, value))
431
+ return;
432
+ // why: ô đang hiển thị đúng chuỗi này rồi, không ghi ngược lại view để khỏi động vào con trỏ.
433
+ this.formControl.setValue(value, { emitModelToViewChange: false });
434
+ }
390
435
  onFocus = () => {
391
436
  this.isFocused = true;
392
437
  this.sdFocus.emit();
@@ -395,21 +440,20 @@ class SdDate {
395
440
  this.isFocused = false;
396
441
  const input = this.inputRef()?.nativeElement;
397
442
  const displayValue = input?.value ?? '';
398
- const parsedValue = this.#hasInvalidInput ? null : parseDateInput(displayValue);
443
+ const parsedValue = parseDateInput(displayValue);
399
444
  this.formControl.markAsTouched();
400
445
  this.isValid = false;
401
- this.#setDateError(false);
402
- this.#hasInvalidInput = false;
403
- if (parsedValue) {
404
- if (!dateControlsEqual(this.formControl.value, parsedValue)) {
446
+ // Ô trống hoặc một ngày gõ xong: chốt (null / ngày đó).
447
+ if (!displayValue || parsedValue) {
448
+ if (!dateControlsEqual(this.formControl.value, parsedValue))
405
449
  this.formControl.setValue(parsedValue);
406
- }
450
+ this.#setDateError(null);
407
451
  return;
408
452
  }
409
- if (input && displayValue)
410
- input.value = '';
411
- if (this.formControl.value !== null)
412
- this.formControl.setValue(null);
453
+ // why: chuỗi dở dang hoặc ngày không có trên lịch (31/02/2026) KHÔNG bị xoá và không đưa giá trị về null nữa —
454
+ // người dùng nhìn thấy đúng thứ mình gõ kèm lỗi, giá trị đã chốt giữ nguyên, control invalid nên form không
455
+ // submit được cho tới khi sửa.
456
+ this.#setDateError(this.#errorOfText(displayValue));
413
457
  };
414
458
  onClick = () => {
415
459
  if (this.sdViewDef()?.templateRef) {
@@ -458,7 +502,8 @@ class SdDate {
458
502
  };
459
503
  onInput = (event) => {
460
504
  const input = event.target;
461
- if (!input)
505
+ // why: lượt `input` do chính component bắn lại (xem #syncPicker) chỉ để Material parse, không định dạng lần nữa.
506
+ if (!input || this.#syncingPicker)
462
507
  return;
463
508
  const rawValue = input.value;
464
509
  const inputType = event.inputType;
@@ -471,10 +516,27 @@ class SdDate {
471
516
  input.value = formattedValue;
472
517
  const caretPosition = getCaretPosition(rawValue, selectionStart, formattedValue, addTrailingSeparator);
473
518
  input.setSelectionRange?.(caretPosition, caretPosition);
519
+ this.#syncPicker(input);
474
520
  }
475
- this.#hasInvalidInput = hasInvalidCharacters;
476
521
  this.#validateDateInput(formattedValue, hasInvalidCharacters);
477
522
  };
523
+ /**
524
+ * why: `MatDatepickerInput` parse chuỗi THÔ trước khi component định dạng lại, và gán `input.value` bằng code
525
+ * không phát `input`. Sửa giữa chuỗi (`19/11/2026` → `19/10/2026`) đi qua chuỗi thô sai khuôn, nên Material giữ
526
+ * null dù ô đã hiện ngày đủ; `change` lúc rời ô khi đó phát null và xoá giá trị. Bắn lại `input` để Material
527
+ * parse đúng chuỗi đang hiển thị.
528
+ */
529
+ #syncPicker(input) {
530
+ if (typeof input.dispatchEvent !== 'function')
531
+ return;
532
+ this.#syncingPicker = true;
533
+ try {
534
+ input.dispatchEvent(new Event('input', { bubbles: true }));
535
+ }
536
+ finally {
537
+ this.#syncingPicker = false;
538
+ }
539
+ }
478
540
  /** Kept as a compatibility entry point for callers that used the old keyup handler. */
479
541
  onKeyup = (event) => {
480
542
  const target = event.target;
@@ -483,39 +545,62 @@ class SdDate {
483
545
  };
484
546
  #validateDateInput(value, hasInvalidCharacters) {
485
547
  const parsedValue = parseDateInput(value);
486
- const invalid = !!value && (hasInvalidCharacters || (!parsedValue && !isPartialDateInput(value)));
548
+ // why: khi đang gõ, chuỗi dở dang chưa phải lỗi; chỉ báo ngay khi đã đủ dd/MM/yyyy mà ngày không tồn tại, hoặc
549
+ // có ký tự lạ.
550
+ const kind = !value || parsedValue
551
+ ? null
552
+ : hasInvalidCharacters
553
+ ? 'format'
554
+ : DATE_DISPLAY_PATTERN.test(value)
555
+ ? 'calendar'
556
+ : isPartialDateInput(value)
557
+ ? null
558
+ : 'format';
487
559
  this.isValid = !!value && !parsedValue;
488
- if (invalid) {
560
+ if (kind)
489
561
  this.formControl.markAsDirty();
490
- this.#setDateError(true);
491
- }
492
- else {
493
- this.#setDateError(false);
494
- }
562
+ this.#setDateError(kind);
563
+ }
564
+ /** Lỗi của một chuỗi được CHỐT (rời ô, Enter): mọi chuỗi không rỗng mà chưa thành ngày đều là lỗi. */
565
+ #errorOfText(text) {
566
+ if (!text || parseDateInput(text))
567
+ return null;
568
+ return DATE_DISPLAY_PATTERN.test(text) ? 'calendar' : 'format';
495
569
  }
496
570
  /**
497
- * Bật/tắt cờ format rồi chạy lại pipeline NGAY.
571
+ * Đặt cờ lỗi của chuỗi rồi chạy lại pipeline NGAY khi kết quả đổi.
498
572
  * why: chạy lại đồng bộ để lỗi xuất hiện/biến mất đúng nhịp gõ, đồng thời phát `events` cho
499
- * `sdFormControlState` tick — connector gắn validator bằng `emitEvent: false` nên không tick hộ.
573
+ * `sdFormControlState` tick — connector gắn validator bằng `emitEvent: false` nên không tick hộ. So với lỗi
574
+ * đang nằm trên control (không chỉ so cờ) vì validator còn phụ thuộc chuỗi trong ô.
500
575
  */
501
- #setDateError(invalid) {
502
- if (this.#invalidFormat() === invalid)
503
- return;
504
- this.#invalidFormat.set(invalid);
505
- this.formControl.updateValueAndValidity();
576
+ #setDateError(kind) {
577
+ const flagChanged = this.#textError() !== kind;
578
+ this.#textError.set(kind);
579
+ const expected = this.#dateFormatValidator(this.formControl)?.['date'] ?? null;
580
+ const current = this.formControl.errors?.['date'] ?? null;
581
+ if (flagChanged || expected !== current)
582
+ this.formControl.updateValueAndValidity();
506
583
  }
507
584
  onChange = (event) => {
585
+ // why: `change` (Enter, hoặc ngay trước blur) khi chuỗi chưa thành ngày thì Material báo null. Enter là một lần
586
+ // chốt: không đổi giá trị, nhưng báo lỗi của chuỗi như khi rời ô.
587
+ const typedText = this.inputRef()?.nativeElement?.value ?? '';
588
+ if (!event.value && typedText) {
589
+ this.formControl.markAsTouched();
590
+ this.#setDateError(this.#errorOfText(typedText));
591
+ return;
592
+ }
508
593
  this.inputRef()?.nativeElement?.focus();
509
594
  const value = event.value ?? null;
510
- this.#hasInvalidInput = false;
511
595
  this.isValid = false;
512
- this.#setDateError(false);
513
596
  if (!dateControlsEqual(this.formControl.value, value)) {
514
597
  // why: người dùng sửa thì control của form phải dirty trước khi nhận giá trị, như value accessor của Angular;
515
598
  // ngày chọn trên lịch và nút xoá không đi qua value accessor của ô nhập.
516
599
  this.formControl.markAsDirty();
517
600
  this.formControl.setValue(value);
518
601
  }
602
+ // why: hạ cờ SAU khi ghi control — lúc này ô đã hiện đúng giá trị vừa chốt.
603
+ this.#setDateError(null);
519
604
  };
520
605
  clear = ($event) => {
521
606
  $event?.stopPropagation();
@@ -523,7 +608,20 @@ class SdDate {
523
608
  this.formControl.markAsDirty();
524
609
  this.formControl.setValue(null);
525
610
  }
611
+ this.#clearInputText();
612
+ this.#setDateError(null);
526
613
  };
614
+ /**
615
+ * Xoá chuỗi đang nằm trong ô khi giá trị về null.
616
+ * why: sau khi người dùng gõ một chuỗi chưa thành ngày, `MatDatepickerInput` đã giữ null. Ghi null vào control
617
+ * lúc đó không làm giá trị của nó đổi, và từ Angular Material 22 nó không ghi lại ô nhập nữa — chuỗi sai nằm lại
618
+ * dù giá trị đã bị xoá. Bản 19–21 thì có ghi; xoá tay để không phụ thuộc phiên bản.
619
+ */
620
+ #clearInputText() {
621
+ const input = this.inputRef()?.nativeElement;
622
+ if (input?.value)
623
+ input.value = '';
624
+ }
527
625
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SdDate, deps: [], target: i0.ɵɵFactoryTarget.Component });
528
626
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: SdDate, isStandalone: true, selector: "sd-date", inputs: { autoIdInput: { classPropertyName: "autoIdInput", publicName: "autoId", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, operators: { classPropertyName: "operators", publicName: "operators", isSignal: true, isRequired: false, transformFunction: null }, operator: { classPropertyName: "operator", publicName: "operator", isSignal: true, isRequired: false, transformFunction: null }, form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, helperText: { classPropertyName: "helperText", publicName: "helperText", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, hideInlineError: { classPropertyName: "hideInlineError", publicName: "hideInlineError", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, viewed: { classPropertyName: "viewed", publicName: "viewed", isSignal: true, isRequired: false, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null }, inlineError: { classPropertyName: "inlineError", publicName: "inlineError", isSignal: true, isRequired: false, transformFunction: null }, hyperlink: { classPropertyName: "hyperlink", publicName: "hyperlink", isSignal: true, isRequired: false, transformFunction: null }, appearanceInput: { classPropertyName: "appearanceInput", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, floatLabel: { classPropertyName: "floatLabel", publicName: "floatLabel", isSignal: true, isRequired: false, transformFunction: null }, labelPlacement: { classPropertyName: "labelPlacement", publicName: "labelPlacement", isSignal: true, isRequired: false, transformFunction: null }, minInput: { classPropertyName: "minInput", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, minDateInput: { classPropertyName: "minDateInput", publicName: "minDate", isSignal: true, isRequired: false, transformFunction: null }, maxInput: { classPropertyName: "maxInput", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, maxDateInput: { classPropertyName: "maxDateInput", publicName: "maxDate", isSignal: true, isRequired: false, transformFunction: null }, transform: { classPropertyName: "transform", publicName: "transform", isSignal: true, isRequired: false, transformFunction: null }, valueModel: { classPropertyName: "valueModel", publicName: "model", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { operator: "operatorChange", valueModel: "modelChange", sdChange: "sdChange", sdFocus: "sdFocus" }, host: { properties: { "class.sd-bare": "isInline()", "class.sd-viewed": "isViewed() || isInline()", "class.sd-has-label": "!!label()", "class.sd-label-top": "labelPlacement() === 'top'" } }, providers: [
529
627
  // DateFnsAdapter inject MAT_DATE_LOCALE; nếu undefined sẽ throw khi format/parse.
@@ -540,7 +638,7 @@ class SdDate {
540
638
  monthYearA11yLabel: 'MMMM yyyy',
541
639
  },
542
640
  }),
543
- ], queries: [{ propertyName: "sdLabelTemplate", first: true, predicate: ["sdLabel"], descendants: true, isSignal: true }, { propertyName: "sdValueTemplate", first: true, predicate: ["sdValue"], descendants: true, isSignal: true }, { propertyName: "sdViewDef", first: true, predicate: SdViewDefDirective, descendants: true, isSignal: true }, { propertyName: "sdLabelDef", first: true, predicate: SdLabelDefDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "inputRef", first: true, predicate: ["input"], descendants: true, isSignal: true }, { propertyName: "datePicker", first: true, predicate: MatDatepicker, descendants: true, isSignal: true }, { propertyName: "operatorChipRef", first: true, predicate: _SdOperatorChip, descendants: true, isSignal: true }], ngImport: i0, template: "@let _label = label();\r\n@let _appearance = appearance();\r\n@let _hideInlineError = hideInlineError();\r\n@let _errorMessage = errorMessage();\r\n@let _helperText = helperText();\r\n@let _required = required();\r\n@let _isInline = isInline();\r\n@let _labelTop = labelPlacement() === 'top';\r\n<!-- why: c\u00F3 chip operator th\u00EC label lu\u00F4n float, placeholder kh\u00F4ng l\u1EB7p l\u1EA1i label. -->\r\n@let _placeholder = placeholder() || (_labelTop || operatorChip() ? '' : _label) || '';\r\n@let _bare = _isInline;\r\n@let _hasValue = !!formControl.value;\r\n<!-- why: m\u1ED9t c\u1ED5ng gate duy nh\u1EA5t cho <mat-error>, aria-invalid v\u00E0 aria-describedby \u2014 message\r\n hi\u1EC7n m\u00E0 control kh\u00F4ng b\u00E1o invalid th\u00EC screen reader kh\u00F4ng bi\u1EBFt \u00F4 \u0111ang l\u1ED7i. -->\r\n@let _errorVisible = !!_errorMessage && formControl.touched;\r\n@let _showInlineError = !_hideInlineError && _errorVisible;\r\n\r\n@let _resolvedMin = resolvedMin();\r\n@let _resolvedMax = resolvedMax();\r\n\r\n@if (isViewed()) {\r\n <sd-view\r\n [label]=\"_label\"\r\n [labelTemplate]=\"sdLabelTemplate()\"\r\n [value]=\"formControl.value\"\r\n [display]=\"formControl.value | date: 'dd/MM/yyyy'\"\r\n [hyperlink]=\"hyperlink()\"\r\n [valueTemplate]=\"viewTemplate()\">\r\n </sd-view>\r\n} @else {\r\n @if (_isInline) {\r\n <!-- why: inline \u2014 sd-view l\u00E0 \"m\u1EB7t\" + trigger; calendar editor render \u1EA9n (.sd-inline-editor) ch\u1EC9 \u0111\u1EC3 m\u1EDF panel. -->\r\n <span class=\"sd-inline-view\" role=\"button\" tabindex=\"0\" (click)=\"enterInlineEdit()\" (keydown.enter)=\"enterInlineEdit()\">\r\n <sd-view\r\n [label]=\"_label\"\r\n [labelTemplate]=\"sdLabelTemplate()\"\r\n [value]=\"formControl.value\"\r\n [display]=\"formControl.value | date: 'dd/MM/yyyy'\"\r\n [hyperlink]=\"hyperlink()\"\r\n [valueTemplate]=\"viewTemplate()\">\r\n </sd-view>\r\n @if (clearable() && _hasValue && !_required && !formControl.disabled) {\r\n <button type=\"button\" class=\"sd-inline-clear\" (click)=\"clear($event)\" title=\"X\u00F3a\" aria-label=\"X\u00F3a\">\r\n <sd-icon name=\"close\"></sd-icon>\r\n </button>\r\n }\r\n </span>\r\n }\r\n @if (!_appearance || _labelTop) {\r\n <ng-content select=\"[sdLabel]\">\r\n @if (_label) {\r\n <sd-label\r\n [label]=\"_label\"\r\n [required]=\"_required\"\r\n [for]=\"_labelTop ? id : null\"\r\n [labelId]=\"_labelTop ? labelId : null\"></sd-label>\r\n }\r\n </ng-content>\r\n }\r\n\r\n <!-- why: div ch\u1EC9 l\u00E0 h\u1ED9p layout. aria-hidden=\"true\" c\u0169 \u1EA9n C\u1EA2 c\u00E2y con \u2014 label, <input>,\r\n <mat-error>, n\u00FAt clear, n\u00FAt m\u1EDF l\u1ECBch \u2014 kh\u1ECFi accessibility tree. role=\"presentation\" ch\u1EC9\r\n v\u00F4 hi\u1EC7u ho\u00E1 ch\u00EDnh div, KH\u00D4NG lan xu\u1ED1ng con; (click) l\u00E0 ti\u1EC7n \u00EDch chu\u1ED9t m\u00E0 b\u00E0n ph\u00EDm \u0111\u00E3 c\u00F3\r\n qua Tab v\u00E0o <input>. -->\r\n <div\r\n class=\"d-flex align-items-center\"\r\n role=\"presentation\"\r\n [class.sd-inline-editor]=\"_isInline\"\r\n [class.c-focused]=\"isFocused\"\r\n [class.c-disabled]=\"formControl.disabled\"\r\n (click)=\"onClick()\">\r\n <mat-form-field\r\n class=\"c-form-field-date-input\"\r\n [class.sd-md]=\"size() === 'md'\"\r\n [class.sd-sm]=\"size() === 'sm'\"\r\n [class.hide-inline-error]=\"_hideInlineError\"\r\n [class.sd-label-top]=\"_labelTop\"\r\n [appearance]=\"_appearance!\"\r\n [floatLabel]=\"operatorChip() ? 'always' : floatLabel()\">\r\n <!-- Operator (thi\u1EBFt k\u1EBF \u0111\u1EE3t 2 \u00B7 G): chip ti\u1EC1n t\u1ED1 khi c\u00F3 t\u1EEB hai operator. -->\r\n @if (operatorChip()) {\r\n <sd-operator-chip\r\n matPrefix\r\n [operators]=\"operators()\"\r\n [(operator)]=\"operator\"\r\n [size]=\"size()\"\r\n [hasValue]=\"operatorHasValue()\"\r\n [disabled]=\"formControl.disabled && !operatorLocked()\"\r\n [autoId]=\"autoId() ? autoId() + '-operator' : undefined\"\r\n (chosen)=\"onOperatorChosen()\" />\r\n }\r\n @if (_appearance && _label && !_labelTop) {\r\n <mat-label class=\"sd-form-field-label\">\r\n <span>{{ _label }}</span>\r\n @if (_helperText) {\r\n <sd-icon [matTooltip]=\"_helperText\" matTooltipPosition=\"below\" name=\"info\"></sd-icon>\r\n }\r\n </mat-label>\r\n }\r\n\r\n <!-- why: B\u1ECE aria-hidden tr\u00EAn ch\u00EDnh <input> \u2014 \u00F4 v\u1EABn Tab t\u1EDBi \u0111\u01B0\u1EE3c, aria-hidden ch\u1EC9 khi\u1EBFn\r\n screen reader \u0111\u1ECDc ra kho\u1EA3ng l\u1EB7ng. -->\r\n <input\r\n [id]=\"id\"\r\n matInput\r\n (input)=\"onInput($event)\"\r\n (keydown)=\"onKeyDown($event)\"\r\n (dateChange)=\"onChange($event)\"\r\n [autocomplete]=\"id\"\r\n autocorrect=\"off\"\r\n [formControl]=\"formControl\"\r\n [required]=\"_required\"\r\n [matDatepicker]=\"picker\"\r\n [placeholder]=\"_placeholder\"\r\n [min]=\"_resolvedMin\"\r\n [max]=\"_resolvedMax\"\r\n (focus)=\"onFocus()\"\r\n (blur)=\"onBlur()\"\r\n [attr.data-autoId]=\"autoId()\"\r\n [attr.data-disabled]=\"dataDisabled()\"\r\n [attr.data-invalid]=\"dataInvalid()\"\r\n [attr.data-empty]=\"dataEmpty()\"\r\n [attr.data-value]=\"dataValue()\"\r\n [attr.data-required]=\"dataRequired()\"\r\n [attr.data-error-message]=\"dataErrorMessage()\"\r\n [attr.aria-invalid]=\"_errorVisible ? 'true' : null\"\r\n [attr.aria-describedby]=\"_errorMessage ? errorId : null\"\r\n #input\r\n [maxLength]=\"10\" />\r\n\r\n <mat-datepicker #picker [touchUi]=\"isMobileOrTablet\"></mat-datepicker>\r\n\r\n @if (_hideInlineError && _errorVisible) {\r\n <sd-icon matSuffix class=\"sd-error-icon\" [matTooltip]=\"_errorMessage\" matTooltipPosition=\"above\" name=\"error\"></sd-icon>\n }\r\n @if (_hideInlineError && _errorVisible) {\r\n <span class=\"sd-visually-hidden\" [id]=\"errorId\" matSuffix>{{ _errorMessage }}</span>\r\r\n }\r\n\r\n @if (_showInlineError) {\r\n <mat-error [id]=\"errorId\">{{ _errorMessage }}</mat-error>\r\n } @else if (_labelTop && _helperText) {\r\n <mat-hint [id]=\"hintId\">{{ _helperText }}</mat-hint>\r\n }\r\n\r\n @if (clearable() && formControl.value && !_required && !formControl.disabled && !_bare) {\r\n <button type=\"button\" class=\"sd-clear-btn sd-hover\" matSuffix (click)=\"clear($event)\" title=\"X\u00F3a\" aria-label=\"X\u00F3a\">\r\n <sd-icon name=\"close\"></sd-icon>\r\n </button>\r\n }\r\n\r\n <!-- why: n\u00FAt m\u1EDF l\u1ECBch tr\u01B0\u1EDBc l\u00E0 <sd-icon> tr\u1EA7n \u2014 kh\u00F4ng Tab t\u1EDBi \u0111\u01B0\u1EE3c, kh\u00F4ng c\u00F3 t\u00EAn, v\u00E0 n\u1EB1m\r\n trong c\u00E2y b\u1ECB aria-hidden n\u00EAn v\u00F4 h\u00ECnh ho\u00E0n to\u00E0n v\u1EDBi AT. <button type=\"button\"> c\u00F3 s\u1EB5n\r\n semantics Enter/Space + `disabled` th\u1EADt, kh\u1ECFi ph\u1EA3i b\u1ECBa role/tabindex/keydown. -->\r\n <button\r\n #btn\r\n type=\"button\"\r\n matSuffix\r\n class=\"cursor-pointer sd-suffix-icon sd-suffix-btn\"\r\n [disabled]=\"formControl.disabled\"\r\n [attr.aria-label]=\"'core.form.date.open-picker' | sdTranslate\"\r\n (click)=\"picker.open()\">\r\n <sd-icon name=\"today\"></sd-icon>\r\n </button>\r\n </mat-form-field>\r\n </div>\r\n}\r\n", styles: [".text-primary{color:var(--sd-primary)!important}.bg-primary{background:var(--sd-primary)!important}.border-primary{border-color:var(--sd-primary)!important}.text-primary-light{color:var(--sd-primary-light)!important}.bg-primary-light{background:var(--sd-primary-light)!important}.border-primary-light{border-color:var(--sd-primary-light)!important}.text-primary-dark{color:var(--sd-primary-dark)!important}.bg-primary-dark{background:var(--sd-primary-dark)!important}.border-primary-dark{border-color:var(--sd-primary-dark)!important}.text-primary-contrast{color:var(--sd-primary-contrast)!important}.bg-primary-contrast{background:var(--sd-primary-contrast)!important}.border-primary-contrast{border-color:var(--sd-primary-contrast)!important}.text-secondary{color:var(--sd-secondary)!important}.bg-secondary{background:var(--sd-secondary)!important}.border-secondary{border-color:var(--sd-secondary)!important}.text-secondary-light{color:var(--sd-secondary-light)!important}.bg-secondary-light{background:var(--sd-secondary-light)!important}.border-secondary-light{border-color:var(--sd-secondary-light)!important}.text-secondary-dark{color:var(--sd-secondary-dark)!important}.bg-secondary-dark{background:var(--sd-secondary-dark)!important}.border-secondary-dark{border-color:var(--sd-secondary-dark)!important}.text-secondary-contrast{color:var(--sd-secondary-contrast)!important}.bg-secondary-contrast{background:var(--sd-secondary-contrast)!important}.border-secondary-contrast{border-color:var(--sd-secondary-contrast)!important}.text-info{color:var(--sd-info)!important}.bg-info{background:var(--sd-info)!important}.border-info{border-color:var(--sd-info)!important}.text-info-light{color:var(--sd-info-light)!important}.bg-info-light{background:var(--sd-info-light)!important}.border-info-light{border-color:var(--sd-info-light)!important}.text-info-dark{color:var(--sd-info-dark)!important}.bg-info-dark{background:var(--sd-info-dark)!important}.border-info-dark{border-color:var(--sd-info-dark)!important}.text-info-contrast{color:var(--sd-info-contrast)!important}.bg-info-contrast{background:var(--sd-info-contrast)!important}.border-info-contrast{border-color:var(--sd-info-contrast)!important}.text-success{color:var(--sd-success)!important}.bg-success{background:var(--sd-success)!important}.border-success{border-color:var(--sd-success)!important}.text-success-light{color:var(--sd-success-light)!important}.bg-success-light{background:var(--sd-success-light)!important}.border-success-light{border-color:var(--sd-success-light)!important}.text-success-dark{color:var(--sd-success-dark)!important}.bg-success-dark{background:var(--sd-success-dark)!important}.border-success-dark{border-color:var(--sd-success-dark)!important}.text-success-contrast{color:var(--sd-success-contrast)!important}.bg-success-contrast{background:var(--sd-success-contrast)!important}.border-success-contrast{border-color:var(--sd-success-contrast)!important}.text-warning{color:var(--sd-warning)!important}.bg-warning{background:var(--sd-warning)!important}.border-warning{border-color:var(--sd-warning)!important}.text-warning-light{color:var(--sd-warning-light)!important}.bg-warning-light{background:var(--sd-warning-light)!important}.border-warning-light{border-color:var(--sd-warning-light)!important}.text-warning-dark{color:var(--sd-warning-dark)!important}.bg-warning-dark{background:var(--sd-warning-dark)!important}.border-warning-dark{border-color:var(--sd-warning-dark)!important}.text-warning-contrast{color:var(--sd-warning-contrast)!important}.bg-warning-contrast{background:var(--sd-warning-contrast)!important}.border-warning-contrast{border-color:var(--sd-warning-contrast)!important}.text-error{color:var(--sd-error)!important}.bg-error{background:var(--sd-error)!important}.border-error{border-color:var(--sd-error)!important}.text-error-light{color:var(--sd-error-light)!important}.bg-error-light{background:var(--sd-error-light)!important}.border-error-light{border-color:var(--sd-error-light)!important}.text-error-dark{color:var(--sd-error-dark)!important}.bg-error-dark{background:var(--sd-error-dark)!important}.border-error-dark{border-color:var(--sd-error-dark)!important}.text-error-contrast{color:var(--sd-error-contrast)!important}.bg-error-contrast{background:var(--sd-error-contrast)!important}.border-error-contrast{border-color:var(--sd-error-contrast)!important}.text-surface{color:var(--sd-surface)!important}.bg-surface{background:var(--sd-surface)!important}.border-surface{border-color:var(--sd-surface)!important}.text-surface-muted{color:var(--sd-surface-muted)!important}.bg-surface-muted{background:var(--sd-surface-muted)!important}.border-surface-muted{border-color:var(--sd-surface-muted)!important}.text-text{color:var(--sd-text)!important}.bg-text{background:var(--sd-text)!important}.border-text{border-color:var(--sd-text)!important}.text-text-secondary{color:var(--sd-text-secondary)!important}.bg-text-secondary{background:var(--sd-text-secondary)!important}.border-text-secondary{border-color:var(--sd-text-secondary)!important}.text-text-muted{color:var(--sd-text-muted)!important}.bg-text-muted{background:var(--sd-text-muted)!important}.border-text-muted{border-color:var(--sd-text-muted)!important}.text-border{color:var(--sd-border)!important}.bg-border{background:var(--sd-border)!important}.border-border{border-color:var(--sd-border)!important}.text-border-strong{color:var(--sd-border-strong)!important}.bg-border-strong{background:var(--sd-border-strong)!important}.border-border-strong{border-color:var(--sd-border-strong)!important}.text-disabled-bg{color:var(--sd-disabled-bg)!important}.bg-disabled-bg{background:var(--sd-disabled-bg)!important}.border-disabled-bg{border-color:var(--sd-disabled-bg)!important}.text-disabled-text{color:var(--sd-disabled-text)!important}.bg-disabled-text{background:var(--sd-disabled-text)!important}.border-disabled-text{border-color:var(--sd-disabled-text)!important}.text-white{color:#fff!important}.bg-white{background:#fff!important}.border-white{border-color:#fff!important}.text-black{color:#000!important}.bg-black{background:#000!important}.border-black{border-color:#000!important}.text-secondary{color:var(--sd-text-secondary)!important}.text-muted{color:var(--sd-text-muted)!important}.text-body{color:var(--sd-text)!important}.bg-muted{background:var(--sd-surface-muted)!important}:host{display:block}:host(.sd-has-label){padding-top:4px}:host(.sd-label-top){padding-top:0}:host(.sd-viewed){padding-top:0}:host ::ng-deep .mat-mdc-form-field input.mat-mdc-input-element:disabled{color:var(--sd-disabled-text)!important}:host ::ng-deep .mat-mdc-form-field .mat-mdc-placeholder-required{color:var(--sd-error)}:host ::ng-deep .mat-mdc-form-field-icon-suffix{display:flex}.sd-suffix-btn{display:inline-flex;align-items:center;justify-content:center;border:0;padding:0;background:transparent;cursor:pointer;color:inherit}.sd-suffix-btn:disabled{cursor:default;opacity:.5}:host(.sd-bare){position:relative}.sd-inline-view{cursor:pointer;display:inline-flex;align-items:center;width:100%;padding:1px 6px;border-radius:var(--sd-radius-4, 4px);background-color:#0000000a;transition:background-color .15s ease}.sd-inline-view:hover{background-color:#00000014}.sd-inline-view .sd-inline-clear{display:none;align-items:center;margin-left:4px;padding:0;border:0;background:transparent;cursor:pointer;line-height:0;color:var(--sd-text-secondary, #6b7280);transition:color .15s ease}.sd-inline-view .sd-inline-clear sd-icon{font-size:var(--sd-font-size-16, 16px);width:16px;height:16px}.sd-inline-view .sd-inline-clear:hover{color:var(--sd-error, #b32626)}.sd-inline-view:hover .sd-inline-clear{display:inline-flex}.sd-inline-editor{position:absolute;inset:0;opacity:0;pointer-events:none}.sd-inline-editor ::ng-deep *{pointer-events:none!important}:host(.sd-bare){display:inline-flex;align-items:center}:host(.sd-bare) ::ng-deep .mat-mdc-form-field{width:auto}:host(.sd-bare) ::ng-deep .mat-mdc-text-field-wrapper{padding:0;background:transparent}:host(.sd-bare) ::ng-deep .mat-mdc-form-field-flex{padding:0;align-items:center}:host(.sd-bare) ::ng-deep .mdc-notched-outline{display:none}:host(.sd-bare) ::ng-deep .mat-mdc-form-field-subscript-wrapper{display:none}:host(.sd-bare) ::ng-deep .mat-mdc-form-field-infix{padding:0;min-height:0;width:auto;border:0;display:inline-flex;align-items:center}\n"], dependencies: [{ kind: "component", type: _SdOperatorChip, selector: "sd-operator-chip", inputs: ["operators", "operator", "size", "hasValue", "disabled", "autoId", "showCode", "standalone"], outputs: ["operatorChange", "chosen"] }, { kind: "component", type: SdIcon, selector: "sd-icon", inputs: ["name", "fontIcon", "color", "set", "fontSet", "size", "strokeWidth", "absoluteStrokeWidth", "ariaLabel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i3.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatDatepickerModule }, { kind: "component", type: i4.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i4.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: SdLabel, selector: "sd-label", inputs: ["label", "description", "required", "helperText", "for", "labelId"] }, { kind: "component", type: SdView, selector: "sd-view", inputs: ["label", "value", "display", "hyperlink", "labelTemplate", "valueTemplate", "selectedItems"] }, { kind: "pipe", type: i5.DatePipe, name: "date" }, { kind: "pipe", type: SdTranslatePipe, name: "sdTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
641
+ ], queries: [{ propertyName: "sdLabelTemplate", first: true, predicate: ["sdLabel"], descendants: true, isSignal: true }, { propertyName: "sdValueTemplate", first: true, predicate: ["sdValue"], descendants: true, isSignal: true }, { propertyName: "sdViewDef", first: true, predicate: SdViewDefDirective, descendants: true, isSignal: true }, { propertyName: "sdLabelDef", first: true, predicate: SdLabelDefDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "inputRef", first: true, predicate: ["input"], descendants: true, isSignal: true }, { propertyName: "datePicker", first: true, predicate: MatDatepicker, descendants: true, isSignal: true }, { propertyName: "pickerInput", first: true, predicate: (MatDatepickerInput), descendants: true, isSignal: true }, { propertyName: "operatorChipRef", first: true, predicate: _SdOperatorChip, descendants: true, isSignal: true }], ngImport: i0, template: "@let _label = label();\r\n@let _appearance = appearance();\r\n@let _hideInlineError = hideInlineError();\r\n@let _errorMessage = errorMessage();\r\n@let _helperText = helperText();\r\n@let _required = required();\r\n@let _isInline = isInline();\r\n@let _labelTop = labelPlacement() === 'top';\r\n<!-- why: c\u00F3 chip operator th\u00EC label lu\u00F4n float, placeholder kh\u00F4ng l\u1EB7p l\u1EA1i label. -->\r\n@let _placeholder = placeholder() || (_labelTop || operatorChip() ? '' : _label) || '';\r\n@let _bare = _isInline;\r\n@let _hasValue = !!formControl.value;\r\n<!-- why: m\u1ED9t c\u1ED5ng gate duy nh\u1EA5t cho <mat-error>, aria-invalid v\u00E0 aria-describedby \u2014 message\r\n hi\u1EC7n m\u00E0 control kh\u00F4ng b\u00E1o invalid th\u00EC screen reader kh\u00F4ng bi\u1EBFt \u00F4 \u0111ang l\u1ED7i. -->\r\n@let _errorVisible = !!_errorMessage && formControl.touched;\r\n@let _showInlineError = !_hideInlineError && _errorVisible;\r\n\r\n@let _resolvedMin = resolvedMin();\r\n@let _resolvedMax = resolvedMax();\r\n\r\n@if (isViewed()) {\r\n <sd-view\r\n [label]=\"_label\"\r\n [labelTemplate]=\"sdLabelTemplate()\"\r\n [value]=\"formControl.value\"\r\n [display]=\"formControl.value | date: 'dd/MM/yyyy'\"\r\n [hyperlink]=\"hyperlink()\"\r\n [valueTemplate]=\"viewTemplate()\">\r\n </sd-view>\r\n} @else {\r\n @if (_isInline) {\r\n <!-- why: inline \u2014 sd-view l\u00E0 \"m\u1EB7t\" + trigger; calendar editor render \u1EA9n (.sd-inline-editor) ch\u1EC9 \u0111\u1EC3 m\u1EDF panel. -->\r\n <span class=\"sd-inline-view\" role=\"button\" tabindex=\"0\" (click)=\"enterInlineEdit()\" (keydown.enter)=\"enterInlineEdit()\">\r\n <sd-view\r\n [label]=\"_label\"\r\n [labelTemplate]=\"sdLabelTemplate()\"\r\n [value]=\"formControl.value\"\r\n [display]=\"formControl.value | date: 'dd/MM/yyyy'\"\r\n [hyperlink]=\"hyperlink()\"\r\n [valueTemplate]=\"viewTemplate()\">\r\n </sd-view>\r\n @if (clearable() && _hasValue && !_required && !formControl.disabled) {\r\n <button type=\"button\" class=\"sd-inline-clear\" (click)=\"clear($event)\" title=\"X\u00F3a\" aria-label=\"X\u00F3a\">\r\n <sd-icon name=\"close\"></sd-icon>\r\n </button>\r\n }\r\n </span>\r\n }\r\n @if (!_appearance || _labelTop) {\r\n <ng-content select=\"[sdLabel]\">\r\n @if (_label) {\r\n <sd-label\r\n [label]=\"_label\"\r\n [required]=\"_required\"\r\n [for]=\"_labelTop ? id : null\"\r\n [labelId]=\"_labelTop ? labelId : null\"></sd-label>\r\n }\r\n </ng-content>\r\n }\r\n\r\n <!-- why: div ch\u1EC9 l\u00E0 h\u1ED9p layout. aria-hidden=\"true\" c\u0169 \u1EA9n C\u1EA2 c\u00E2y con \u2014 label, <input>,\r\n <mat-error>, n\u00FAt clear, n\u00FAt m\u1EDF l\u1ECBch \u2014 kh\u1ECFi accessibility tree. role=\"presentation\" ch\u1EC9\r\n v\u00F4 hi\u1EC7u ho\u00E1 ch\u00EDnh div, KH\u00D4NG lan xu\u1ED1ng con; (click) l\u00E0 ti\u1EC7n \u00EDch chu\u1ED9t m\u00E0 b\u00E0n ph\u00EDm \u0111\u00E3 c\u00F3\r\n qua Tab v\u00E0o <input>. -->\r\n <div\r\n class=\"d-flex align-items-center\"\r\n role=\"presentation\"\r\n [class.sd-inline-editor]=\"_isInline\"\r\n [class.c-focused]=\"isFocused\"\r\n [class.c-disabled]=\"formControl.disabled\"\r\n (click)=\"onClick()\">\r\n <mat-form-field\r\n class=\"c-form-field-date-input\"\r\n [class.sd-md]=\"size() === 'md'\"\r\n [class.sd-sm]=\"size() === 'sm'\"\r\n [class.hide-inline-error]=\"_hideInlineError\"\r\n [class.sd-label-top]=\"_labelTop\"\r\n [appearance]=\"_appearance!\"\r\n [floatLabel]=\"operatorChip() ? 'always' : floatLabel()\">\r\n <!-- Operator (thi\u1EBFt k\u1EBF \u0111\u1EE3t 2 \u00B7 G): chip ti\u1EC1n t\u1ED1 khi c\u00F3 t\u1EEB hai operator. -->\r\n @if (operatorChip()) {\r\n <sd-operator-chip\r\n matPrefix\r\n [operators]=\"operators()\"\r\n [(operator)]=\"operator\"\r\n [size]=\"size()\"\r\n [hasValue]=\"operatorHasValue()\"\r\n [disabled]=\"formControl.disabled && !operatorLocked()\"\r\n [autoId]=\"autoId() ? autoId() + '-operator' : undefined\"\r\n (chosen)=\"onOperatorChosen()\" />\r\n }\r\n @if (_appearance && _label && !_labelTop) {\r\n <mat-label class=\"sd-form-field-label\">\r\n <span>{{ _label }}</span>\r\n @if (_helperText) {\r\n <sd-icon [matTooltip]=\"_helperText\" matTooltipPosition=\"below\" name=\"info\"></sd-icon>\r\n }\r\n </mat-label>\r\n }\r\n\r\n <!-- why: B\u1ECE aria-hidden tr\u00EAn ch\u00EDnh <input> \u2014 \u00F4 v\u1EABn Tab t\u1EDBi \u0111\u01B0\u1EE3c, aria-hidden ch\u1EC9 khi\u1EBFn\r\n screen reader \u0111\u1ECDc ra kho\u1EA3ng l\u1EB7ng. -->\r\n <input\r\n [id]=\"id\"\r\n matInput\r\n (input)=\"onInput($event)\"\r\n (keydown)=\"onKeyDown($event)\"\r\n (dateChange)=\"onChange($event)\"\r\n [autocomplete]=\"id\"\r\n autocorrect=\"off\"\r\n [formControl]=\"formControl\"\r\n [required]=\"_required\"\r\n [matDatepicker]=\"picker\"\r\n [placeholder]=\"_placeholder\"\r\n [min]=\"_resolvedMin\"\r\n [max]=\"_resolvedMax\"\r\n (focus)=\"onFocus()\"\r\n (blur)=\"onBlur()\"\r\n [attr.data-autoId]=\"autoId()\"\r\n [attr.data-disabled]=\"dataDisabled()\"\r\n [attr.data-invalid]=\"dataInvalid()\"\r\n [attr.data-empty]=\"dataEmpty()\"\r\n [attr.data-value]=\"dataValue()\"\r\n [attr.data-required]=\"dataRequired()\"\r\n [attr.data-error-message]=\"dataErrorMessage()\"\r\n [attr.aria-invalid]=\"_errorVisible ? 'true' : null\"\r\n [attr.aria-describedby]=\"_errorMessage ? errorId : null\"\r\n #input\r\n [maxLength]=\"10\" />\r\n\r\n <mat-datepicker #picker [touchUi]=\"isMobileOrTablet\"></mat-datepicker>\r\n\r\n @if (_hideInlineError && _errorVisible) {\r\n <sd-icon matSuffix class=\"sd-error-icon\" [matTooltip]=\"_errorMessage\" matTooltipPosition=\"above\" name=\"error\"></sd-icon>\n }\r\n @if (_hideInlineError && _errorVisible) {\r\n <span class=\"sd-visually-hidden\" [id]=\"errorId\" matSuffix>{{ _errorMessage }}</span>\r\r\n }\r\n\r\n @if (_showInlineError) {\r\n <mat-error [id]=\"errorId\">{{ _errorMessage }}</mat-error>\r\n } @else if (_labelTop && _helperText) {\r\n <mat-hint [id]=\"hintId\">{{ _helperText }}</mat-hint>\r\n }\r\n\r\n @if (clearable() && formControl.value && !_required && !formControl.disabled && !_bare) {\r\n <button type=\"button\" class=\"sd-clear-btn sd-hover\" matSuffix (click)=\"clear($event)\" title=\"X\u00F3a\" aria-label=\"X\u00F3a\">\r\n <sd-icon name=\"close\"></sd-icon>\r\n </button>\r\n }\r\n\r\n <!-- why: n\u00FAt m\u1EDF l\u1ECBch tr\u01B0\u1EDBc l\u00E0 <sd-icon> tr\u1EA7n \u2014 kh\u00F4ng Tab t\u1EDBi \u0111\u01B0\u1EE3c, kh\u00F4ng c\u00F3 t\u00EAn, v\u00E0 n\u1EB1m\r\n trong c\u00E2y b\u1ECB aria-hidden n\u00EAn v\u00F4 h\u00ECnh ho\u00E0n to\u00E0n v\u1EDBi AT. <button type=\"button\"> c\u00F3 s\u1EB5n\r\n semantics Enter/Space + `disabled` th\u1EADt, kh\u1ECFi ph\u1EA3i b\u1ECBa role/tabindex/keydown. -->\r\n <button\r\n #btn\r\n type=\"button\"\r\n matSuffix\r\n class=\"cursor-pointer sd-suffix-icon sd-suffix-btn\"\r\n [disabled]=\"formControl.disabled\"\r\n [attr.aria-label]=\"'core.form.date.open-picker' | sdTranslate\"\r\n (click)=\"picker.open()\">\r\n <sd-icon name=\"today\"></sd-icon>\r\n </button>\r\n </mat-form-field>\r\n </div>\r\n}\r\n", styles: [".text-primary{color:var(--sd-primary)!important}.bg-primary{background:var(--sd-primary)!important}.border-primary{border-color:var(--sd-primary)!important}.text-primary-light{color:var(--sd-primary-light)!important}.bg-primary-light{background:var(--sd-primary-light)!important}.border-primary-light{border-color:var(--sd-primary-light)!important}.text-primary-dark{color:var(--sd-primary-dark)!important}.bg-primary-dark{background:var(--sd-primary-dark)!important}.border-primary-dark{border-color:var(--sd-primary-dark)!important}.text-primary-contrast{color:var(--sd-primary-contrast)!important}.bg-primary-contrast{background:var(--sd-primary-contrast)!important}.border-primary-contrast{border-color:var(--sd-primary-contrast)!important}.text-secondary{color:var(--sd-secondary)!important}.bg-secondary{background:var(--sd-secondary)!important}.border-secondary{border-color:var(--sd-secondary)!important}.text-secondary-light{color:var(--sd-secondary-light)!important}.bg-secondary-light{background:var(--sd-secondary-light)!important}.border-secondary-light{border-color:var(--sd-secondary-light)!important}.text-secondary-dark{color:var(--sd-secondary-dark)!important}.bg-secondary-dark{background:var(--sd-secondary-dark)!important}.border-secondary-dark{border-color:var(--sd-secondary-dark)!important}.text-secondary-contrast{color:var(--sd-secondary-contrast)!important}.bg-secondary-contrast{background:var(--sd-secondary-contrast)!important}.border-secondary-contrast{border-color:var(--sd-secondary-contrast)!important}.text-info{color:var(--sd-info)!important}.bg-info{background:var(--sd-info)!important}.border-info{border-color:var(--sd-info)!important}.text-info-light{color:var(--sd-info-light)!important}.bg-info-light{background:var(--sd-info-light)!important}.border-info-light{border-color:var(--sd-info-light)!important}.text-info-dark{color:var(--sd-info-dark)!important}.bg-info-dark{background:var(--sd-info-dark)!important}.border-info-dark{border-color:var(--sd-info-dark)!important}.text-info-contrast{color:var(--sd-info-contrast)!important}.bg-info-contrast{background:var(--sd-info-contrast)!important}.border-info-contrast{border-color:var(--sd-info-contrast)!important}.text-success{color:var(--sd-success)!important}.bg-success{background:var(--sd-success)!important}.border-success{border-color:var(--sd-success)!important}.text-success-light{color:var(--sd-success-light)!important}.bg-success-light{background:var(--sd-success-light)!important}.border-success-light{border-color:var(--sd-success-light)!important}.text-success-dark{color:var(--sd-success-dark)!important}.bg-success-dark{background:var(--sd-success-dark)!important}.border-success-dark{border-color:var(--sd-success-dark)!important}.text-success-contrast{color:var(--sd-success-contrast)!important}.bg-success-contrast{background:var(--sd-success-contrast)!important}.border-success-contrast{border-color:var(--sd-success-contrast)!important}.text-warning{color:var(--sd-warning)!important}.bg-warning{background:var(--sd-warning)!important}.border-warning{border-color:var(--sd-warning)!important}.text-warning-light{color:var(--sd-warning-light)!important}.bg-warning-light{background:var(--sd-warning-light)!important}.border-warning-light{border-color:var(--sd-warning-light)!important}.text-warning-dark{color:var(--sd-warning-dark)!important}.bg-warning-dark{background:var(--sd-warning-dark)!important}.border-warning-dark{border-color:var(--sd-warning-dark)!important}.text-warning-contrast{color:var(--sd-warning-contrast)!important}.bg-warning-contrast{background:var(--sd-warning-contrast)!important}.border-warning-contrast{border-color:var(--sd-warning-contrast)!important}.text-error{color:var(--sd-error)!important}.bg-error{background:var(--sd-error)!important}.border-error{border-color:var(--sd-error)!important}.text-error-light{color:var(--sd-error-light)!important}.bg-error-light{background:var(--sd-error-light)!important}.border-error-light{border-color:var(--sd-error-light)!important}.text-error-dark{color:var(--sd-error-dark)!important}.bg-error-dark{background:var(--sd-error-dark)!important}.border-error-dark{border-color:var(--sd-error-dark)!important}.text-error-contrast{color:var(--sd-error-contrast)!important}.bg-error-contrast{background:var(--sd-error-contrast)!important}.border-error-contrast{border-color:var(--sd-error-contrast)!important}.text-surface{color:var(--sd-surface)!important}.bg-surface{background:var(--sd-surface)!important}.border-surface{border-color:var(--sd-surface)!important}.text-surface-muted{color:var(--sd-surface-muted)!important}.bg-surface-muted{background:var(--sd-surface-muted)!important}.border-surface-muted{border-color:var(--sd-surface-muted)!important}.text-text{color:var(--sd-text)!important}.bg-text{background:var(--sd-text)!important}.border-text{border-color:var(--sd-text)!important}.text-text-secondary{color:var(--sd-text-secondary)!important}.bg-text-secondary{background:var(--sd-text-secondary)!important}.border-text-secondary{border-color:var(--sd-text-secondary)!important}.text-text-muted{color:var(--sd-text-muted)!important}.bg-text-muted{background:var(--sd-text-muted)!important}.border-text-muted{border-color:var(--sd-text-muted)!important}.text-border{color:var(--sd-border)!important}.bg-border{background:var(--sd-border)!important}.border-border{border-color:var(--sd-border)!important}.text-border-strong{color:var(--sd-border-strong)!important}.bg-border-strong{background:var(--sd-border-strong)!important}.border-border-strong{border-color:var(--sd-border-strong)!important}.text-disabled-bg{color:var(--sd-disabled-bg)!important}.bg-disabled-bg{background:var(--sd-disabled-bg)!important}.border-disabled-bg{border-color:var(--sd-disabled-bg)!important}.text-disabled-text{color:var(--sd-disabled-text)!important}.bg-disabled-text{background:var(--sd-disabled-text)!important}.border-disabled-text{border-color:var(--sd-disabled-text)!important}.text-white{color:#fff!important}.bg-white{background:#fff!important}.border-white{border-color:#fff!important}.text-black{color:#000!important}.bg-black{background:#000!important}.border-black{border-color:#000!important}.text-secondary{color:var(--sd-text-secondary)!important}.text-muted{color:var(--sd-text-muted)!important}.text-body{color:var(--sd-text)!important}.bg-muted{background:var(--sd-surface-muted)!important}:host{display:block}:host(.sd-has-label){padding-top:4px}:host(.sd-label-top){padding-top:0}:host(.sd-viewed){padding-top:0}:host ::ng-deep .mat-mdc-form-field input.mat-mdc-input-element:disabled{color:var(--sd-disabled-text)!important}:host ::ng-deep .mat-mdc-form-field .mat-mdc-placeholder-required{color:var(--sd-error)}:host ::ng-deep .mat-mdc-form-field-icon-suffix{display:flex}.sd-suffix-btn{display:inline-flex;align-items:center;justify-content:center;border:0;padding:0;background:transparent;cursor:pointer;color:inherit}.sd-suffix-btn:disabled{cursor:default;opacity:.5}:host(.sd-bare){position:relative}.sd-inline-view{cursor:pointer;display:inline-flex;align-items:center;width:100%;padding:1px 6px;border-radius:var(--sd-radius-4, 4px);background-color:#0000000a;transition:background-color .15s ease}.sd-inline-view:hover{background-color:#00000014}.sd-inline-view .sd-inline-clear{display:none;align-items:center;margin-left:4px;padding:0;border:0;background:transparent;cursor:pointer;line-height:0;color:var(--sd-text-secondary, #6b7280);transition:color .15s ease}.sd-inline-view .sd-inline-clear sd-icon{font-size:var(--sd-font-size-16, 16px);width:16px;height:16px}.sd-inline-view .sd-inline-clear:hover{color:var(--sd-error, #b32626)}.sd-inline-view:hover .sd-inline-clear{display:inline-flex}.sd-inline-editor{position:absolute;inset:0;opacity:0;pointer-events:none}.sd-inline-editor ::ng-deep *{pointer-events:none!important}:host(.sd-bare){display:inline-flex;align-items:center}:host(.sd-bare) ::ng-deep .mat-mdc-form-field{width:auto}:host(.sd-bare) ::ng-deep .mat-mdc-text-field-wrapper{padding:0;background:transparent}:host(.sd-bare) ::ng-deep .mat-mdc-form-field-flex{padding:0;align-items:center}:host(.sd-bare) ::ng-deep .mdc-notched-outline{display:none}:host(.sd-bare) ::ng-deep .mat-mdc-form-field-subscript-wrapper{display:none}:host(.sd-bare) ::ng-deep .mat-mdc-form-field-infix{padding:0;min-height:0;width:auto;border:0;display:inline-flex;align-items:center}\n"], dependencies: [{ kind: "component", type: _SdOperatorChip, selector: "sd-operator-chip", inputs: ["operators", "operator", "size", "hasValue", "disabled", "autoId", "showCode", "standalone"], outputs: ["operatorChange", "chosen"] }, { kind: "component", type: SdIcon, selector: "sd-icon", inputs: ["name", "fontIcon", "color", "set", "fontSet", "size", "strokeWidth", "absoluteStrokeWidth", "ariaLabel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i3.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatDatepickerModule }, { kind: "component", type: i4.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i4.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: SdLabel, selector: "sd-label", inputs: ["label", "description", "required", "helperText", "for", "labelId"] }, { kind: "component", type: SdView, selector: "sd-view", inputs: ["label", "value", "display", "hyperlink", "labelTemplate", "valueTemplate", "selectedItems"] }, { kind: "pipe", type: i5.DatePipe, name: "date" }, { kind: "pipe", type: SdTranslatePipe, name: "sdTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
544
642
  }
545
643
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SdDate, decorators: [{
546
644
  type: Component,
@@ -578,7 +676,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
578
676
  SdView,
579
677
  SdTranslatePipe,
580
678
  ], template: "@let _label = label();\r\n@let _appearance = appearance();\r\n@let _hideInlineError = hideInlineError();\r\n@let _errorMessage = errorMessage();\r\n@let _helperText = helperText();\r\n@let _required = required();\r\n@let _isInline = isInline();\r\n@let _labelTop = labelPlacement() === 'top';\r\n<!-- why: c\u00F3 chip operator th\u00EC label lu\u00F4n float, placeholder kh\u00F4ng l\u1EB7p l\u1EA1i label. -->\r\n@let _placeholder = placeholder() || (_labelTop || operatorChip() ? '' : _label) || '';\r\n@let _bare = _isInline;\r\n@let _hasValue = !!formControl.value;\r\n<!-- why: m\u1ED9t c\u1ED5ng gate duy nh\u1EA5t cho <mat-error>, aria-invalid v\u00E0 aria-describedby \u2014 message\r\n hi\u1EC7n m\u00E0 control kh\u00F4ng b\u00E1o invalid th\u00EC screen reader kh\u00F4ng bi\u1EBFt \u00F4 \u0111ang l\u1ED7i. -->\r\n@let _errorVisible = !!_errorMessage && formControl.touched;\r\n@let _showInlineError = !_hideInlineError && _errorVisible;\r\n\r\n@let _resolvedMin = resolvedMin();\r\n@let _resolvedMax = resolvedMax();\r\n\r\n@if (isViewed()) {\r\n <sd-view\r\n [label]=\"_label\"\r\n [labelTemplate]=\"sdLabelTemplate()\"\r\n [value]=\"formControl.value\"\r\n [display]=\"formControl.value | date: 'dd/MM/yyyy'\"\r\n [hyperlink]=\"hyperlink()\"\r\n [valueTemplate]=\"viewTemplate()\">\r\n </sd-view>\r\n} @else {\r\n @if (_isInline) {\r\n <!-- why: inline \u2014 sd-view l\u00E0 \"m\u1EB7t\" + trigger; calendar editor render \u1EA9n (.sd-inline-editor) ch\u1EC9 \u0111\u1EC3 m\u1EDF panel. -->\r\n <span class=\"sd-inline-view\" role=\"button\" tabindex=\"0\" (click)=\"enterInlineEdit()\" (keydown.enter)=\"enterInlineEdit()\">\r\n <sd-view\r\n [label]=\"_label\"\r\n [labelTemplate]=\"sdLabelTemplate()\"\r\n [value]=\"formControl.value\"\r\n [display]=\"formControl.value | date: 'dd/MM/yyyy'\"\r\n [hyperlink]=\"hyperlink()\"\r\n [valueTemplate]=\"viewTemplate()\">\r\n </sd-view>\r\n @if (clearable() && _hasValue && !_required && !formControl.disabled) {\r\n <button type=\"button\" class=\"sd-inline-clear\" (click)=\"clear($event)\" title=\"X\u00F3a\" aria-label=\"X\u00F3a\">\r\n <sd-icon name=\"close\"></sd-icon>\r\n </button>\r\n }\r\n </span>\r\n }\r\n @if (!_appearance || _labelTop) {\r\n <ng-content select=\"[sdLabel]\">\r\n @if (_label) {\r\n <sd-label\r\n [label]=\"_label\"\r\n [required]=\"_required\"\r\n [for]=\"_labelTop ? id : null\"\r\n [labelId]=\"_labelTop ? labelId : null\"></sd-label>\r\n }\r\n </ng-content>\r\n }\r\n\r\n <!-- why: div ch\u1EC9 l\u00E0 h\u1ED9p layout. aria-hidden=\"true\" c\u0169 \u1EA9n C\u1EA2 c\u00E2y con \u2014 label, <input>,\r\n <mat-error>, n\u00FAt clear, n\u00FAt m\u1EDF l\u1ECBch \u2014 kh\u1ECFi accessibility tree. role=\"presentation\" ch\u1EC9\r\n v\u00F4 hi\u1EC7u ho\u00E1 ch\u00EDnh div, KH\u00D4NG lan xu\u1ED1ng con; (click) l\u00E0 ti\u1EC7n \u00EDch chu\u1ED9t m\u00E0 b\u00E0n ph\u00EDm \u0111\u00E3 c\u00F3\r\n qua Tab v\u00E0o <input>. -->\r\n <div\r\n class=\"d-flex align-items-center\"\r\n role=\"presentation\"\r\n [class.sd-inline-editor]=\"_isInline\"\r\n [class.c-focused]=\"isFocused\"\r\n [class.c-disabled]=\"formControl.disabled\"\r\n (click)=\"onClick()\">\r\n <mat-form-field\r\n class=\"c-form-field-date-input\"\r\n [class.sd-md]=\"size() === 'md'\"\r\n [class.sd-sm]=\"size() === 'sm'\"\r\n [class.hide-inline-error]=\"_hideInlineError\"\r\n [class.sd-label-top]=\"_labelTop\"\r\n [appearance]=\"_appearance!\"\r\n [floatLabel]=\"operatorChip() ? 'always' : floatLabel()\">\r\n <!-- Operator (thi\u1EBFt k\u1EBF \u0111\u1EE3t 2 \u00B7 G): chip ti\u1EC1n t\u1ED1 khi c\u00F3 t\u1EEB hai operator. -->\r\n @if (operatorChip()) {\r\n <sd-operator-chip\r\n matPrefix\r\n [operators]=\"operators()\"\r\n [(operator)]=\"operator\"\r\n [size]=\"size()\"\r\n [hasValue]=\"operatorHasValue()\"\r\n [disabled]=\"formControl.disabled && !operatorLocked()\"\r\n [autoId]=\"autoId() ? autoId() + '-operator' : undefined\"\r\n (chosen)=\"onOperatorChosen()\" />\r\n }\r\n @if (_appearance && _label && !_labelTop) {\r\n <mat-label class=\"sd-form-field-label\">\r\n <span>{{ _label }}</span>\r\n @if (_helperText) {\r\n <sd-icon [matTooltip]=\"_helperText\" matTooltipPosition=\"below\" name=\"info\"></sd-icon>\r\n }\r\n </mat-label>\r\n }\r\n\r\n <!-- why: B\u1ECE aria-hidden tr\u00EAn ch\u00EDnh <input> \u2014 \u00F4 v\u1EABn Tab t\u1EDBi \u0111\u01B0\u1EE3c, aria-hidden ch\u1EC9 khi\u1EBFn\r\n screen reader \u0111\u1ECDc ra kho\u1EA3ng l\u1EB7ng. -->\r\n <input\r\n [id]=\"id\"\r\n matInput\r\n (input)=\"onInput($event)\"\r\n (keydown)=\"onKeyDown($event)\"\r\n (dateChange)=\"onChange($event)\"\r\n [autocomplete]=\"id\"\r\n autocorrect=\"off\"\r\n [formControl]=\"formControl\"\r\n [required]=\"_required\"\r\n [matDatepicker]=\"picker\"\r\n [placeholder]=\"_placeholder\"\r\n [min]=\"_resolvedMin\"\r\n [max]=\"_resolvedMax\"\r\n (focus)=\"onFocus()\"\r\n (blur)=\"onBlur()\"\r\n [attr.data-autoId]=\"autoId()\"\r\n [attr.data-disabled]=\"dataDisabled()\"\r\n [attr.data-invalid]=\"dataInvalid()\"\r\n [attr.data-empty]=\"dataEmpty()\"\r\n [attr.data-value]=\"dataValue()\"\r\n [attr.data-required]=\"dataRequired()\"\r\n [attr.data-error-message]=\"dataErrorMessage()\"\r\n [attr.aria-invalid]=\"_errorVisible ? 'true' : null\"\r\n [attr.aria-describedby]=\"_errorMessage ? errorId : null\"\r\n #input\r\n [maxLength]=\"10\" />\r\n\r\n <mat-datepicker #picker [touchUi]=\"isMobileOrTablet\"></mat-datepicker>\r\n\r\n @if (_hideInlineError && _errorVisible) {\r\n <sd-icon matSuffix class=\"sd-error-icon\" [matTooltip]=\"_errorMessage\" matTooltipPosition=\"above\" name=\"error\"></sd-icon>\n }\r\n @if (_hideInlineError && _errorVisible) {\r\n <span class=\"sd-visually-hidden\" [id]=\"errorId\" matSuffix>{{ _errorMessage }}</span>\r\r\n }\r\n\r\n @if (_showInlineError) {\r\n <mat-error [id]=\"errorId\">{{ _errorMessage }}</mat-error>\r\n } @else if (_labelTop && _helperText) {\r\n <mat-hint [id]=\"hintId\">{{ _helperText }}</mat-hint>\r\n }\r\n\r\n @if (clearable() && formControl.value && !_required && !formControl.disabled && !_bare) {\r\n <button type=\"button\" class=\"sd-clear-btn sd-hover\" matSuffix (click)=\"clear($event)\" title=\"X\u00F3a\" aria-label=\"X\u00F3a\">\r\n <sd-icon name=\"close\"></sd-icon>\r\n </button>\r\n }\r\n\r\n <!-- why: n\u00FAt m\u1EDF l\u1ECBch tr\u01B0\u1EDBc l\u00E0 <sd-icon> tr\u1EA7n \u2014 kh\u00F4ng Tab t\u1EDBi \u0111\u01B0\u1EE3c, kh\u00F4ng c\u00F3 t\u00EAn, v\u00E0 n\u1EB1m\r\n trong c\u00E2y b\u1ECB aria-hidden n\u00EAn v\u00F4 h\u00ECnh ho\u00E0n to\u00E0n v\u1EDBi AT. <button type=\"button\"> c\u00F3 s\u1EB5n\r\n semantics Enter/Space + `disabled` th\u1EADt, kh\u1ECFi ph\u1EA3i b\u1ECBa role/tabindex/keydown. -->\r\n <button\r\n #btn\r\n type=\"button\"\r\n matSuffix\r\n class=\"cursor-pointer sd-suffix-icon sd-suffix-btn\"\r\n [disabled]=\"formControl.disabled\"\r\n [attr.aria-label]=\"'core.form.date.open-picker' | sdTranslate\"\r\n (click)=\"picker.open()\">\r\n <sd-icon name=\"today\"></sd-icon>\r\n </button>\r\n </mat-form-field>\r\n </div>\r\n}\r\n", styles: [".text-primary{color:var(--sd-primary)!important}.bg-primary{background:var(--sd-primary)!important}.border-primary{border-color:var(--sd-primary)!important}.text-primary-light{color:var(--sd-primary-light)!important}.bg-primary-light{background:var(--sd-primary-light)!important}.border-primary-light{border-color:var(--sd-primary-light)!important}.text-primary-dark{color:var(--sd-primary-dark)!important}.bg-primary-dark{background:var(--sd-primary-dark)!important}.border-primary-dark{border-color:var(--sd-primary-dark)!important}.text-primary-contrast{color:var(--sd-primary-contrast)!important}.bg-primary-contrast{background:var(--sd-primary-contrast)!important}.border-primary-contrast{border-color:var(--sd-primary-contrast)!important}.text-secondary{color:var(--sd-secondary)!important}.bg-secondary{background:var(--sd-secondary)!important}.border-secondary{border-color:var(--sd-secondary)!important}.text-secondary-light{color:var(--sd-secondary-light)!important}.bg-secondary-light{background:var(--sd-secondary-light)!important}.border-secondary-light{border-color:var(--sd-secondary-light)!important}.text-secondary-dark{color:var(--sd-secondary-dark)!important}.bg-secondary-dark{background:var(--sd-secondary-dark)!important}.border-secondary-dark{border-color:var(--sd-secondary-dark)!important}.text-secondary-contrast{color:var(--sd-secondary-contrast)!important}.bg-secondary-contrast{background:var(--sd-secondary-contrast)!important}.border-secondary-contrast{border-color:var(--sd-secondary-contrast)!important}.text-info{color:var(--sd-info)!important}.bg-info{background:var(--sd-info)!important}.border-info{border-color:var(--sd-info)!important}.text-info-light{color:var(--sd-info-light)!important}.bg-info-light{background:var(--sd-info-light)!important}.border-info-light{border-color:var(--sd-info-light)!important}.text-info-dark{color:var(--sd-info-dark)!important}.bg-info-dark{background:var(--sd-info-dark)!important}.border-info-dark{border-color:var(--sd-info-dark)!important}.text-info-contrast{color:var(--sd-info-contrast)!important}.bg-info-contrast{background:var(--sd-info-contrast)!important}.border-info-contrast{border-color:var(--sd-info-contrast)!important}.text-success{color:var(--sd-success)!important}.bg-success{background:var(--sd-success)!important}.border-success{border-color:var(--sd-success)!important}.text-success-light{color:var(--sd-success-light)!important}.bg-success-light{background:var(--sd-success-light)!important}.border-success-light{border-color:var(--sd-success-light)!important}.text-success-dark{color:var(--sd-success-dark)!important}.bg-success-dark{background:var(--sd-success-dark)!important}.border-success-dark{border-color:var(--sd-success-dark)!important}.text-success-contrast{color:var(--sd-success-contrast)!important}.bg-success-contrast{background:var(--sd-success-contrast)!important}.border-success-contrast{border-color:var(--sd-success-contrast)!important}.text-warning{color:var(--sd-warning)!important}.bg-warning{background:var(--sd-warning)!important}.border-warning{border-color:var(--sd-warning)!important}.text-warning-light{color:var(--sd-warning-light)!important}.bg-warning-light{background:var(--sd-warning-light)!important}.border-warning-light{border-color:var(--sd-warning-light)!important}.text-warning-dark{color:var(--sd-warning-dark)!important}.bg-warning-dark{background:var(--sd-warning-dark)!important}.border-warning-dark{border-color:var(--sd-warning-dark)!important}.text-warning-contrast{color:var(--sd-warning-contrast)!important}.bg-warning-contrast{background:var(--sd-warning-contrast)!important}.border-warning-contrast{border-color:var(--sd-warning-contrast)!important}.text-error{color:var(--sd-error)!important}.bg-error{background:var(--sd-error)!important}.border-error{border-color:var(--sd-error)!important}.text-error-light{color:var(--sd-error-light)!important}.bg-error-light{background:var(--sd-error-light)!important}.border-error-light{border-color:var(--sd-error-light)!important}.text-error-dark{color:var(--sd-error-dark)!important}.bg-error-dark{background:var(--sd-error-dark)!important}.border-error-dark{border-color:var(--sd-error-dark)!important}.text-error-contrast{color:var(--sd-error-contrast)!important}.bg-error-contrast{background:var(--sd-error-contrast)!important}.border-error-contrast{border-color:var(--sd-error-contrast)!important}.text-surface{color:var(--sd-surface)!important}.bg-surface{background:var(--sd-surface)!important}.border-surface{border-color:var(--sd-surface)!important}.text-surface-muted{color:var(--sd-surface-muted)!important}.bg-surface-muted{background:var(--sd-surface-muted)!important}.border-surface-muted{border-color:var(--sd-surface-muted)!important}.text-text{color:var(--sd-text)!important}.bg-text{background:var(--sd-text)!important}.border-text{border-color:var(--sd-text)!important}.text-text-secondary{color:var(--sd-text-secondary)!important}.bg-text-secondary{background:var(--sd-text-secondary)!important}.border-text-secondary{border-color:var(--sd-text-secondary)!important}.text-text-muted{color:var(--sd-text-muted)!important}.bg-text-muted{background:var(--sd-text-muted)!important}.border-text-muted{border-color:var(--sd-text-muted)!important}.text-border{color:var(--sd-border)!important}.bg-border{background:var(--sd-border)!important}.border-border{border-color:var(--sd-border)!important}.text-border-strong{color:var(--sd-border-strong)!important}.bg-border-strong{background:var(--sd-border-strong)!important}.border-border-strong{border-color:var(--sd-border-strong)!important}.text-disabled-bg{color:var(--sd-disabled-bg)!important}.bg-disabled-bg{background:var(--sd-disabled-bg)!important}.border-disabled-bg{border-color:var(--sd-disabled-bg)!important}.text-disabled-text{color:var(--sd-disabled-text)!important}.bg-disabled-text{background:var(--sd-disabled-text)!important}.border-disabled-text{border-color:var(--sd-disabled-text)!important}.text-white{color:#fff!important}.bg-white{background:#fff!important}.border-white{border-color:#fff!important}.text-black{color:#000!important}.bg-black{background:#000!important}.border-black{border-color:#000!important}.text-secondary{color:var(--sd-text-secondary)!important}.text-muted{color:var(--sd-text-muted)!important}.text-body{color:var(--sd-text)!important}.bg-muted{background:var(--sd-surface-muted)!important}:host{display:block}:host(.sd-has-label){padding-top:4px}:host(.sd-label-top){padding-top:0}:host(.sd-viewed){padding-top:0}:host ::ng-deep .mat-mdc-form-field input.mat-mdc-input-element:disabled{color:var(--sd-disabled-text)!important}:host ::ng-deep .mat-mdc-form-field .mat-mdc-placeholder-required{color:var(--sd-error)}:host ::ng-deep .mat-mdc-form-field-icon-suffix{display:flex}.sd-suffix-btn{display:inline-flex;align-items:center;justify-content:center;border:0;padding:0;background:transparent;cursor:pointer;color:inherit}.sd-suffix-btn:disabled{cursor:default;opacity:.5}:host(.sd-bare){position:relative}.sd-inline-view{cursor:pointer;display:inline-flex;align-items:center;width:100%;padding:1px 6px;border-radius:var(--sd-radius-4, 4px);background-color:#0000000a;transition:background-color .15s ease}.sd-inline-view:hover{background-color:#00000014}.sd-inline-view .sd-inline-clear{display:none;align-items:center;margin-left:4px;padding:0;border:0;background:transparent;cursor:pointer;line-height:0;color:var(--sd-text-secondary, #6b7280);transition:color .15s ease}.sd-inline-view .sd-inline-clear sd-icon{font-size:var(--sd-font-size-16, 16px);width:16px;height:16px}.sd-inline-view .sd-inline-clear:hover{color:var(--sd-error, #b32626)}.sd-inline-view:hover .sd-inline-clear{display:inline-flex}.sd-inline-editor{position:absolute;inset:0;opacity:0;pointer-events:none}.sd-inline-editor ::ng-deep *{pointer-events:none!important}:host(.sd-bare){display:inline-flex;align-items:center}:host(.sd-bare) ::ng-deep .mat-mdc-form-field{width:auto}:host(.sd-bare) ::ng-deep .mat-mdc-text-field-wrapper{padding:0;background:transparent}:host(.sd-bare) ::ng-deep .mat-mdc-form-field-flex{padding:0;align-items:center}:host(.sd-bare) ::ng-deep .mdc-notched-outline{display:none}:host(.sd-bare) ::ng-deep .mat-mdc-form-field-subscript-wrapper{display:none}:host(.sd-bare) ::ng-deep .mat-mdc-form-field-infix{padding:0;min-height:0;width:auto;border:0;display:inline-flex;align-items:center}\n"] }]
581
- }], propDecorators: { inputRef: [{ type: i0.ViewChild, args: ['input', { isSignal: true }] }], datePicker: [{ type: i0.ViewChild, args: [i0.forwardRef(() => MatDatepicker), { isSignal: true }] }], sdLabelTemplate: [{ type: i0.ContentChild, args: ['sdLabel', { isSignal: true }] }], sdValueTemplate: [{ type: i0.ContentChild, args: ['sdValue', { isSignal: true }] }], sdViewDef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SdViewDefDirective), { isSignal: true }] }], sdLabelDef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SdLabelDefDirective), { isSignal: true }] }], autoIdInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoId", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], operators: [{ type: i0.Input, args: [{ isSignal: true, alias: "operators", required: false }] }], operator: [{ type: i0.Input, args: [{ isSignal: true, alias: "operator", required: false }] }, { type: i0.Output, args: ["operatorChange"] }], operatorChipRef: [{ type: i0.ViewChild, args: [i0.forwardRef(() => _SdOperatorChip), { isSignal: true }] }], form: [{ type: i0.Input, args: [{ isSignal: true, alias: "form", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], helperText: [{ type: i0.Input, args: [{ isSignal: true, alias: "helperText", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], hideInlineError: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideInlineError", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], viewed: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewed", required: false }] }], clearable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearable", required: false }] }], inlineError: [{ type: i0.Input, args: [{ isSignal: true, alias: "inlineError", required: false }] }], hyperlink: [{ type: i0.Input, args: [{ isSignal: true, alias: "hyperlink", required: false }] }], appearanceInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "appearance", required: false }] }], floatLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "floatLabel", required: false }] }], labelPlacement: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelPlacement", required: false }] }], minInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], minDateInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "minDate", required: false }] }], maxInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], maxDateInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxDate", required: false }] }], transform: [{ type: i0.Input, args: [{ isSignal: true, alias: "transform", required: false }] }], valueModel: [{ type: i0.Input, args: [{ isSignal: true, alias: "model", required: false }] }, { type: i0.Output, args: ["modelChange"] }], sdChange: [{ type: i0.Output, args: ["sdChange"] }], sdFocus: [{ type: i0.Output, args: ["sdFocus"] }] } });
679
+ }], ctorParameters: () => [], propDecorators: { inputRef: [{ type: i0.ViewChild, args: ['input', { isSignal: true }] }], datePicker: [{ type: i0.ViewChild, args: [i0.forwardRef(() => MatDatepicker), { isSignal: true }] }], pickerInput: [{ type: i0.ViewChild, args: [i0.forwardRef(() => MatDatepickerInput), { isSignal: true }] }], sdLabelTemplate: [{ type: i0.ContentChild, args: ['sdLabel', { isSignal: true }] }], sdValueTemplate: [{ type: i0.ContentChild, args: ['sdValue', { isSignal: true }] }], sdViewDef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SdViewDefDirective), { isSignal: true }] }], sdLabelDef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SdLabelDefDirective), { isSignal: true }] }], autoIdInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoId", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], operators: [{ type: i0.Input, args: [{ isSignal: true, alias: "operators", required: false }] }], operator: [{ type: i0.Input, args: [{ isSignal: true, alias: "operator", required: false }] }, { type: i0.Output, args: ["operatorChange"] }], operatorChipRef: [{ type: i0.ViewChild, args: [i0.forwardRef(() => _SdOperatorChip), { isSignal: true }] }], form: [{ type: i0.Input, args: [{ isSignal: true, alias: "form", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], helperText: [{ type: i0.Input, args: [{ isSignal: true, alias: "helperText", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], hideInlineError: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideInlineError", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], viewed: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewed", required: false }] }], clearable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearable", required: false }] }], inlineError: [{ type: i0.Input, args: [{ isSignal: true, alias: "inlineError", required: false }] }], hyperlink: [{ type: i0.Input, args: [{ isSignal: true, alias: "hyperlink", required: false }] }], appearanceInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "appearance", required: false }] }], floatLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "floatLabel", required: false }] }], labelPlacement: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelPlacement", required: false }] }], minInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], minDateInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "minDate", required: false }] }], maxInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], maxDateInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxDate", required: false }] }], transform: [{ type: i0.Input, args: [{ isSignal: true, alias: "transform", required: false }] }], valueModel: [{ type: i0.Input, args: [{ isSignal: true, alias: "model", required: false }] }, { type: i0.Output, args: ["modelChange"] }], sdChange: [{ type: i0.Output, args: ["sdChange"] }], sdFocus: [{ type: i0.Output, args: ["sdFocus"] }] } });
582
680
 
583
681
  /**
584
682
  * Generated bundle index. Do not edit.