@sdcorejs/angular 20.3.1 → 20.3.3

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 (386) hide show
  1. package/assets/STYLE-GUIDE.md +25 -5
  2. package/assets/THEME.md +289 -5
  3. package/assets/licenses/tiptap-oss-NOTICES.txt +332 -0
  4. package/assets/scss/ckeditor5.scss +2 -88
  5. package/assets/scss/core/_control.scss +39 -0
  6. package/assets/scss/core/form.scss +444 -45
  7. package/assets/scss/core/view.scss +24 -0
  8. package/assets/scss/editor-content.scss +173 -0
  9. package/assets/scss/sd-core.scss +1 -0
  10. package/assets/scss/themes/_component-tokens.scss +123 -32
  11. package/assets/scss/themes/_material-tokens.scss +112 -0
  12. package/assets/scss/themes/_presets.scss +25 -0
  13. package/assets/scss/themes/_scales.scss +10 -0
  14. package/assets/scss/themes/_semantic.scss +13 -0
  15. package/assets/scss/themes/default.scss +8 -2
  16. package/components/avatar/index.d.ts +67 -2
  17. package/components/badge/index.d.ts +206 -6
  18. package/components/button/index.d.ts +20 -1
  19. package/components/ckeditor-styles/index.d.ts +3 -18
  20. package/components/editor/index.d.ts +20 -17
  21. package/components/editor-engine/index.d.ts +246 -0
  22. package/components/file-explorer/index.d.ts +4 -2
  23. package/components/form-generic/index.d.ts +246 -35
  24. package/components/index.d.ts +1 -0
  25. package/components/mini-editor/index.d.ts +33 -70
  26. package/components/modal-resizable/index.d.ts +1 -124
  27. package/components/operator/index.d.ts +137 -8
  28. package/components/section/index.d.ts +13 -1
  29. package/components/splitter/index.d.ts +1 -1
  30. package/components/tab-router/index.d.ts +74 -19
  31. package/components/table/index.d.ts +210 -18
  32. package/components/upload-file/index.d.ts +181 -21
  33. package/components/window/index.d.ts +81 -0
  34. package/configurations/index.d.ts +8 -1
  35. package/fesm2022/sdcorejs-angular-components-api-contract-builder.mjs +5 -5
  36. package/fesm2022/sdcorejs-angular-components-api-contract-builder.mjs.map +1 -1
  37. package/fesm2022/sdcorejs-angular-components-avatar.mjs +142 -11
  38. package/fesm2022/sdcorejs-angular-components-avatar.mjs.map +1 -1
  39. package/fesm2022/sdcorejs-angular-components-badge.mjs +548 -24
  40. package/fesm2022/sdcorejs-angular-components-badge.mjs.map +1 -1
  41. package/fesm2022/sdcorejs-angular-components-button.mjs +33 -3
  42. package/fesm2022/sdcorejs-angular-components-button.mjs.map +1 -1
  43. package/fesm2022/sdcorejs-angular-components-ckeditor-styles.mjs +5 -20
  44. package/fesm2022/sdcorejs-angular-components-ckeditor-styles.mjs.map +1 -1
  45. package/fesm2022/sdcorejs-angular-components-data-state.mjs +1 -1
  46. package/fesm2022/sdcorejs-angular-components-data-state.mjs.map +1 -1
  47. package/fesm2022/sdcorejs-angular-components-editor-engine.mjs +1872 -0
  48. package/fesm2022/sdcorejs-angular-components-editor-engine.mjs.map +1 -0
  49. package/fesm2022/sdcorejs-angular-components-editor.mjs +457 -756
  50. package/fesm2022/sdcorejs-angular-components-editor.mjs.map +1 -1
  51. package/fesm2022/sdcorejs-angular-components-file-explorer.mjs +68 -37
  52. package/fesm2022/sdcorejs-angular-components-file-explorer.mjs.map +1 -1
  53. package/fesm2022/sdcorejs-angular-components-form-generic.mjs +2118 -1159
  54. package/fesm2022/sdcorejs-angular-components-form-generic.mjs.map +1 -1
  55. package/fesm2022/sdcorejs-angular-components-history.mjs +5 -2
  56. package/fesm2022/sdcorejs-angular-components-history.mjs.map +1 -1
  57. package/fesm2022/sdcorejs-angular-components-image-editor.mjs +1 -1
  58. package/fesm2022/sdcorejs-angular-components-image-editor.mjs.map +1 -1
  59. package/fesm2022/sdcorejs-angular-components-import-excel.mjs +21 -6
  60. package/fesm2022/sdcorejs-angular-components-import-excel.mjs.map +1 -1
  61. package/fesm2022/sdcorejs-angular-components-inform.mjs +1 -1
  62. package/fesm2022/sdcorejs-angular-components-inform.mjs.map +1 -1
  63. package/fesm2022/sdcorejs-angular-components-kanban.mjs +12 -2
  64. package/fesm2022/sdcorejs-angular-components-kanban.mjs.map +1 -1
  65. package/fesm2022/sdcorejs-angular-components-mini-editor.mjs +177 -283
  66. package/fesm2022/sdcorejs-angular-components-mini-editor.mjs.map +1 -1
  67. package/fesm2022/sdcorejs-angular-components-modal-resizable.mjs +1 -308
  68. package/fesm2022/sdcorejs-angular-components-modal-resizable.mjs.map +1 -1
  69. package/fesm2022/sdcorejs-angular-components-modal.mjs +2 -2
  70. package/fesm2022/sdcorejs-angular-components-modal.mjs.map +1 -1
  71. package/fesm2022/sdcorejs-angular-components-operator.mjs +262 -43
  72. package/fesm2022/sdcorejs-angular-components-operator.mjs.map +1 -1
  73. package/fesm2022/sdcorejs-angular-components-query-bar.mjs +12 -12
  74. package/fesm2022/sdcorejs-angular-components-query-bar.mjs.map +1 -1
  75. package/fesm2022/sdcorejs-angular-components-query-builder.mjs +1 -1
  76. package/fesm2022/sdcorejs-angular-components-query-builder.mjs.map +1 -1
  77. package/fesm2022/sdcorejs-angular-components-section.mjs +17 -5
  78. package/fesm2022/sdcorejs-angular-components-section.mjs.map +1 -1
  79. package/fesm2022/sdcorejs-angular-components-side-drawer.mjs +2 -2
  80. package/fesm2022/sdcorejs-angular-components-side-drawer.mjs.map +1 -1
  81. package/fesm2022/sdcorejs-angular-components-splitter.mjs.map +1 -1
  82. package/fesm2022/sdcorejs-angular-components-tab-router.mjs +559 -94
  83. package/fesm2022/sdcorejs-angular-components-tab-router.mjs.map +1 -1
  84. package/fesm2022/sdcorejs-angular-components-table.mjs +1001 -119
  85. package/fesm2022/sdcorejs-angular-components-table.mjs.map +1 -1
  86. package/fesm2022/sdcorejs-angular-components-tree.mjs +1 -1
  87. package/fesm2022/sdcorejs-angular-components-tree.mjs.map +1 -1
  88. package/fesm2022/sdcorejs-angular-components-upload-file.mjs +887 -174
  89. package/fesm2022/sdcorejs-angular-components-upload-file.mjs.map +1 -1
  90. package/fesm2022/sdcorejs-angular-components-view.mjs +2 -2
  91. package/fesm2022/sdcorejs-angular-components-view.mjs.map +1 -1
  92. package/fesm2022/sdcorejs-angular-components-window.mjs +486 -0
  93. package/fesm2022/sdcorejs-angular-components-window.mjs.map +1 -0
  94. package/fesm2022/sdcorejs-angular-components.mjs +1 -0
  95. package/fesm2022/sdcorejs-angular-components.mjs.map +1 -1
  96. package/fesm2022/sdcorejs-angular-configurations.mjs.map +1 -1
  97. package/fesm2022/sdcorejs-angular-directives.mjs +18 -1
  98. package/fesm2022/sdcorejs-angular-directives.mjs.map +1 -1
  99. package/fesm2022/sdcorejs-angular-forms-autocomplete.mjs +20 -2
  100. package/fesm2022/sdcorejs-angular-forms-autocomplete.mjs.map +1 -1
  101. package/fesm2022/sdcorejs-angular-forms-checkbox.mjs +2 -2
  102. package/fesm2022/sdcorejs-angular-forms-checkbox.mjs.map +1 -1
  103. package/fesm2022/sdcorejs-angular-forms-chip-calendar.mjs +463 -125
  104. package/fesm2022/sdcorejs-angular-forms-chip-calendar.mjs.map +1 -1
  105. package/fesm2022/sdcorejs-angular-forms-chip.mjs +422 -122
  106. package/fesm2022/sdcorejs-angular-forms-chip.mjs.map +1 -1
  107. package/fesm2022/sdcorejs-angular-forms-date-range.mjs +79 -13
  108. package/fesm2022/sdcorejs-angular-forms-date-range.mjs.map +1 -1
  109. package/fesm2022/sdcorejs-angular-forms-date.mjs +75 -18
  110. package/fesm2022/sdcorejs-angular-forms-date.mjs.map +1 -1
  111. package/fesm2022/sdcorejs-angular-forms-datetime.mjs +79 -16
  112. package/fesm2022/sdcorejs-angular-forms-datetime.mjs.map +1 -1
  113. package/fesm2022/sdcorejs-angular-forms-directives.mjs +82 -2
  114. package/fesm2022/sdcorejs-angular-forms-directives.mjs.map +1 -1
  115. package/fesm2022/sdcorejs-angular-forms-entity-picker.mjs +2 -2
  116. package/fesm2022/sdcorejs-angular-forms-entity-picker.mjs.map +1 -1
  117. package/fesm2022/sdcorejs-angular-forms-input-color.mjs +1 -1
  118. package/fesm2022/sdcorejs-angular-forms-input-color.mjs.map +1 -1
  119. package/fesm2022/sdcorejs-angular-forms-input-number.mjs +56 -6
  120. package/fesm2022/sdcorejs-angular-forms-input-number.mjs.map +1 -1
  121. package/fesm2022/sdcorejs-angular-forms-input.mjs +54 -7
  122. package/fesm2022/sdcorejs-angular-forms-input.mjs.map +1 -1
  123. package/fesm2022/sdcorejs-angular-forms-models.mjs +88 -5
  124. package/fesm2022/sdcorejs-angular-forms-models.mjs.map +1 -1
  125. package/fesm2022/sdcorejs-angular-forms-radio.mjs +2 -2
  126. package/fesm2022/sdcorejs-angular-forms-radio.mjs.map +1 -1
  127. package/fesm2022/sdcorejs-angular-forms-segmented.mjs +5 -4
  128. package/fesm2022/sdcorejs-angular-forms-segmented.mjs.map +1 -1
  129. package/fesm2022/sdcorejs-angular-forms-select.mjs +87 -33
  130. package/fesm2022/sdcorejs-angular-forms-select.mjs.map +1 -1
  131. package/fesm2022/sdcorejs-angular-forms-switch.mjs +2 -2
  132. package/fesm2022/sdcorejs-angular-forms-switch.mjs.map +1 -1
  133. package/fesm2022/sdcorejs-angular-forms-textarea.mjs +16 -3
  134. package/fesm2022/sdcorejs-angular-forms-textarea.mjs.map +1 -1
  135. package/fesm2022/sdcorejs-angular-forms-time.mjs +2 -2
  136. package/fesm2022/sdcorejs-angular-forms-time.mjs.map +1 -1
  137. package/fesm2022/sdcorejs-angular-forms-tree-select.mjs +1 -1
  138. package/fesm2022/sdcorejs-angular-forms-tree-select.mjs.map +1 -1
  139. package/fesm2022/sdcorejs-angular-i18n.mjs +1745 -22
  140. package/fesm2022/sdcorejs-angular-i18n.mjs.map +1 -1
  141. package/fesm2022/sdcorejs-angular-interceptors.mjs +1 -1
  142. package/fesm2022/sdcorejs-angular-interceptors.mjs.map +1 -1
  143. package/fesm2022/sdcorejs-angular-modules-generic-generic-configuration.page-D_1BxDC9.mjs +478 -0
  144. package/fesm2022/sdcorejs-angular-modules-generic-generic-configuration.page-D_1BxDC9.mjs.map +1 -0
  145. package/fesm2022/sdcorejs-angular-modules-generic-generic-form-host.page-CgH8Qi25.mjs +214 -0
  146. package/fesm2022/sdcorejs-angular-modules-generic-generic-form-host.page-CgH8Qi25.mjs.map +1 -0
  147. package/fesm2022/sdcorejs-angular-modules-generic-generic-list.page-CyCGqW9W.mjs +277 -0
  148. package/fesm2022/sdcorejs-angular-modules-generic-generic-list.page-CyCGqW9W.mjs.map +1 -0
  149. package/fesm2022/sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-DTmU8Te4.mjs +1556 -0
  150. package/fesm2022/sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-DTmU8Te4.mjs.map +1 -0
  151. package/fesm2022/sdcorejs-angular-modules-generic.mjs +2 -0
  152. package/fesm2022/sdcorejs-angular-modules-generic.mjs.map +1 -0
  153. package/fesm2022/sdcorejs-angular-modules-icon.mjs +96 -3
  154. package/fesm2022/sdcorejs-angular-modules-icon.mjs.map +1 -1
  155. package/fesm2022/sdcorejs-angular-modules-layout.mjs +2055 -37
  156. package/fesm2022/sdcorejs-angular-modules-layout.mjs.map +1 -1
  157. package/fesm2022/sdcorejs-angular-modules-pattern-api-error-BBWwQ6h2.mjs +23 -0
  158. package/fesm2022/sdcorejs-angular-modules-pattern-api-error-BBWwQ6h2.mjs.map +1 -0
  159. package/fesm2022/sdcorejs-angular-modules-pattern-approval-inbox-BMwD6_FC.mjs +16 -0
  160. package/fesm2022/sdcorejs-angular-modules-pattern-approval-inbox-BMwD6_FC.mjs.map +1 -0
  161. package/fesm2022/sdcorejs-angular-modules-pattern-base-api.service-BubUwgBK.mjs +51 -0
  162. package/fesm2022/sdcorejs-angular-modules-pattern-base-api.service-BubUwgBK.mjs.map +1 -0
  163. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-C9WQdsEi.mjs +131 -0
  164. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-C9WQdsEi.mjs.map +1 -0
  165. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-s7ZXoakT.mjs +130 -0
  166. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-s7ZXoakT.mjs.map +1 -0
  167. package/fesm2022/sdcorejs-angular-modules-pattern-create.component-BxfQux1Q.mjs +99 -0
  168. package/fesm2022/sdcorejs-angular-modules-pattern-create.component-BxfQux1Q.mjs.map +1 -0
  169. package/fesm2022/sdcorejs-angular-modules-pattern-create.component-D4GrcahQ.mjs +460 -0
  170. package/fesm2022/sdcorejs-angular-modules-pattern-create.component-D4GrcahQ.mjs.map +1 -0
  171. package/fesm2022/sdcorejs-angular-modules-pattern-create.component-DlYVJqHo.mjs +118 -0
  172. package/fesm2022/sdcorejs-angular-modules-pattern-create.component-DlYVJqHo.mjs.map +1 -0
  173. package/fesm2022/sdcorejs-angular-modules-pattern-customer.model-C3fr4yNw.mjs +18 -0
  174. package/fesm2022/sdcorejs-angular-modules-pattern-customer.model-C3fr4yNw.mjs.map +1 -0
  175. package/fesm2022/sdcorejs-angular-modules-pattern-customer.service-Bfx6_CmA.mjs +66 -0
  176. package/fesm2022/sdcorejs-angular-modules-pattern-customer.service-Bfx6_CmA.mjs.map +1 -0
  177. package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-3PUIy1Vi.mjs +148 -0
  178. package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-3PUIy1Vi.mjs.map +1 -0
  179. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-CbYMo3D1.mjs +172 -0
  180. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-CbYMo3D1.mjs.map +1 -0
  181. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-awjgX7ph.mjs +90 -0
  182. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-awjgX7ph.mjs.map +1 -0
  183. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-c__NdSt3.mjs +467 -0
  184. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-c__NdSt3.mjs.map +1 -0
  185. package/fesm2022/sdcorejs-angular-modules-pattern-flow.component-Bjvq6wJz.mjs +514 -0
  186. package/fesm2022/sdcorejs-angular-modules-pattern-flow.component-Bjvq6wJz.mjs.map +1 -0
  187. package/fesm2022/sdcorejs-angular-modules-pattern-form-api-errors-FwmYVkag.mjs +61 -0
  188. package/fesm2022/sdcorejs-angular-modules-pattern-form-api-errors-FwmYVkag.mjs.map +1 -0
  189. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-BRsdOwWy.mjs +87 -0
  190. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-BRsdOwWy.mjs.map +1 -0
  191. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-DalxHa8D.mjs +232 -0
  192. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-DalxHa8D.mjs.map +1 -0
  193. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-pqT7lnS6.mjs +170 -0
  194. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-pqT7lnS6.mjs.map +1 -0
  195. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-view.component-kdEZ9s7K.mjs +70 -0
  196. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-view.component-kdEZ9s7K.mjs.map +1 -0
  197. package/fesm2022/sdcorejs-angular-modules-pattern-index.component-DZXPZuM4.mjs +100 -0
  198. package/fesm2022/sdcorejs-angular-modules-pattern-index.component-DZXPZuM4.mjs.map +1 -0
  199. package/fesm2022/sdcorejs-angular-modules-pattern-lines-form.component-BjMOON6K.mjs +522 -0
  200. package/fesm2022/sdcorejs-angular-modules-pattern-lines-form.component-BjMOON6K.mjs.map +1 -0
  201. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-Bf9QWXBp.mjs +115 -0
  202. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-Bf9QWXBp.mjs.map +1 -0
  203. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CuDjsIzi.mjs +118 -0
  204. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CuDjsIzi.mjs.map +1 -0
  205. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DkVrMSPZ.mjs +164 -0
  206. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DkVrMSPZ.mjs.map +1 -0
  207. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DkxheDVz.mjs +629 -0
  208. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DkxheDVz.mjs.map +1 -0
  209. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-E8rkFCkK.mjs +71 -0
  210. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-E8rkFCkK.mjs.map +1 -0
  211. package/fesm2022/sdcorejs-angular-modules-pattern-mock-backend.factory-DgmM-wTI.mjs +1069 -0
  212. package/fesm2022/sdcorejs-angular-modules-pattern-mock-backend.factory-DgmM-wTI.mjs.map +1 -0
  213. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source-viewer-BpLQaYP5.mjs +186 -0
  214. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source-viewer-BpLQaYP5.mjs.map +1 -0
  215. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source.generated-BrejHvB2.mjs +97 -0
  216. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source.generated-BrejHvB2.mjs.map +1 -0
  217. package/fesm2022/sdcorejs-angular-modules-pattern-product.model-BoHLJ8vf.mjs +12 -0
  218. package/fesm2022/sdcorejs-angular-modules-pattern-product.model-BoHLJ8vf.mjs.map +1 -0
  219. package/fesm2022/sdcorejs-angular-modules-pattern-product.service-C3coYwmZ.mjs +48 -0
  220. package/fesm2022/sdcorejs-angular-modules-pattern-product.service-C3coYwmZ.mjs.map +1 -0
  221. package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-YsWsrKWJ.mjs +297 -0
  222. package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-YsWsrKWJ.mjs.map +1 -0
  223. package/fesm2022/sdcorejs-angular-modules-pattern-routes-9ujH01cX.mjs +74 -0
  224. package/fesm2022/sdcorejs-angular-modules-pattern-routes-9ujH01cX.mjs.map +1 -0
  225. package/fesm2022/sdcorejs-angular-modules-pattern-routes-BfpsCkim.mjs +45 -0
  226. package/fesm2022/sdcorejs-angular-modules-pattern-routes-BfpsCkim.mjs.map +1 -0
  227. package/fesm2022/sdcorejs-angular-modules-pattern-routes-C7b5dRrJ.mjs +165 -0
  228. package/fesm2022/sdcorejs-angular-modules-pattern-routes-C7b5dRrJ.mjs.map +1 -0
  229. package/fesm2022/sdcorejs-angular-modules-pattern-routes-CGeqkySv.mjs +66 -0
  230. package/fesm2022/sdcorejs-angular-modules-pattern-routes-CGeqkySv.mjs.map +1 -0
  231. package/fesm2022/sdcorejs-angular-modules-pattern-routes-DoBxGoRE.mjs +74 -0
  232. package/fesm2022/sdcorejs-angular-modules-pattern-routes-DoBxGoRE.mjs.map +1 -0
  233. package/fesm2022/sdcorejs-angular-modules-pattern-routes-dBuQqYkO.mjs +43 -0
  234. package/fesm2022/sdcorejs-angular-modules-pattern-routes-dBuQqYkO.mjs.map +1 -0
  235. package/fesm2022/sdcorejs-angular-modules-pattern-routes-quSIwMOx.mjs +50 -0
  236. package/fesm2022/sdcorejs-angular-modules-pattern-routes-quSIwMOx.mjs.map +1 -0
  237. package/fesm2022/sdcorejs-angular-modules-pattern-routes-rR-MpQFh.mjs +99 -0
  238. package/fesm2022/sdcorejs-angular-modules-pattern-routes-rR-MpQFh.mjs.map +1 -0
  239. package/fesm2022/sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-LQNpFSmN.mjs +406 -0
  240. package/fesm2022/sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-LQNpFSmN.mjs.map +1 -0
  241. package/fesm2022/sdcorejs-angular-modules-pattern-shell.component-CcmrUIvP.mjs +317 -0
  242. package/fesm2022/sdcorejs-angular-modules-pattern-shell.component-CcmrUIvP.mjs.map +1 -0
  243. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-Cq72tG9h.mjs +143 -0
  244. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-Cq72tG9h.mjs.map +1 -0
  245. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-xFbutFLY.mjs +132 -0
  246. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-xFbutFLY.mjs.map +1 -0
  247. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-CsfGgGJb.mjs +128 -0
  248. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-CsfGgGJb.mjs.map +1 -0
  249. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-DYPI_CRD.mjs +100 -0
  250. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-DYPI_CRD.mjs.map +1 -0
  251. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-lHmdUXWT.mjs +357 -0
  252. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-lHmdUXWT.mjs.map +1 -0
  253. package/fesm2022/sdcorejs-angular-modules-pattern.mjs +2 -0
  254. package/fesm2022/sdcorejs-angular-modules-pattern.mjs.map +1 -0
  255. package/fesm2022/sdcorejs-angular-modules.mjs +1 -0
  256. package/fesm2022/sdcorejs-angular-modules.mjs.map +1 -1
  257. package/fesm2022/sdcorejs-angular-pipes.mjs +27 -7
  258. package/fesm2022/sdcorejs-angular-pipes.mjs.map +1 -1
  259. package/fesm2022/sdcorejs-angular-services-confirm.mjs +1 -1
  260. package/fesm2022/sdcorejs-angular-services-confirm.mjs.map +1 -1
  261. package/fesm2022/sdcorejs-angular-services-date-time.mjs +143 -0
  262. package/fesm2022/sdcorejs-angular-services-date-time.mjs.map +1 -0
  263. package/fesm2022/sdcorejs-angular-services-storage.mjs +44 -8
  264. package/fesm2022/sdcorejs-angular-services-storage.mjs.map +1 -1
  265. package/fesm2022/sdcorejs-angular-services-unsaved-changes.mjs +104 -4
  266. package/fesm2022/sdcorejs-angular-services-unsaved-changes.mjs.map +1 -1
  267. package/fesm2022/sdcorejs-angular-services.mjs +1 -0
  268. package/fesm2022/sdcorejs-angular-services.mjs.map +1 -1
  269. package/fesm2022/sdcorejs-angular-utilities-read-state.mjs +4 -0
  270. package/fesm2022/sdcorejs-angular-utilities-read-state.mjs.map +1 -1
  271. package/fesm2022/sdcorejs-angular-utilities-theme.mjs +10 -0
  272. package/fesm2022/sdcorejs-angular-utilities-theme.mjs.map +1 -1
  273. package/forms/autocomplete/index.d.ts +5 -0
  274. package/forms/chip/index.d.ts +136 -26
  275. package/forms/chip-calendar/index.d.ts +163 -18
  276. package/forms/date/index.d.ts +23 -2
  277. package/forms/date-range/index.d.ts +24 -2
  278. package/forms/directives/index.d.ts +47 -2
  279. package/forms/input/index.d.ts +23 -2
  280. package/forms/input-number/index.d.ts +23 -2
  281. package/forms/models/index.d.ts +38 -3
  282. package/forms/select/index.d.ts +32 -2
  283. package/i18n/index.d.ts +344 -2
  284. package/modules/generic/index.d.ts +316 -0
  285. package/modules/icon/index.d.ts +37 -6
  286. package/modules/index.d.ts +1 -0
  287. package/modules/layout/index.d.ts +622 -89
  288. package/modules/pattern/README.md +76 -0
  289. package/modules/pattern/docs/detail.md +237 -0
  290. package/modules/pattern/docs/drawer.md +484 -0
  291. package/modules/pattern/docs/flow.md +631 -0
  292. package/modules/pattern/docs/form.md +518 -0
  293. package/modules/pattern/docs/header-actions.md +342 -0
  294. package/modules/pattern/docs/list.md +247 -0
  295. package/modules/pattern/docs/relation.md +180 -0
  296. package/modules/pattern/docs/select.md +206 -0
  297. package/modules/pattern/docs/split.md +350 -0
  298. package/modules/pattern/docs/states.md +168 -0
  299. package/modules/pattern/features/approval/entity.resolver.ts +21 -0
  300. package/modules/pattern/features/approval/pages/detail/detail.component.ts +139 -0
  301. package/modules/pattern/features/approval/pages/list/approval-inbox.ts +7 -0
  302. package/modules/pattern/features/approval/pages/list/list.component.html +20 -0
  303. package/modules/pattern/features/approval/pages/list/list.component.ts +149 -0
  304. package/modules/pattern/features/approval/routes.ts +30 -0
  305. package/modules/pattern/features/approval/services/approval.model.ts +38 -0
  306. package/modules/pattern/features/approval/services/approval.service.ts +23 -0
  307. package/modules/pattern/features/category/components/create-side-drawer/create-side-drawer.component.ts +123 -0
  308. package/modules/pattern/features/category/components/general-information-form/general-information-form.component.ts +61 -0
  309. package/modules/pattern/features/category/components/update-side-drawer/update-side-drawer.component.ts +134 -0
  310. package/modules/pattern/features/category/entity.resolver.ts +27 -0
  311. package/modules/pattern/features/category/pages/list/list.component.html +20 -0
  312. package/modules/pattern/features/category/pages/list/list.component.ts +105 -0
  313. package/modules/pattern/features/category/routes.ts +42 -0
  314. package/modules/pattern/features/category/services/category.model.ts +39 -0
  315. package/modules/pattern/features/category/services/category.service.ts +36 -0
  316. package/modules/pattern/features/customer/components/create-side-drawer/create-side-drawer.component.ts +131 -0
  317. package/modules/pattern/features/customer/components/customer-select/customer-select.component.ts +72 -0
  318. package/modules/pattern/features/customer/components/customer-type-select/customer-type-select.component.ts +30 -0
  319. package/modules/pattern/features/customer/components/debts-view/debts-view.component.ts +28 -0
  320. package/modules/pattern/features/customer/components/detail-side-drawer/detail-side-drawer.component.ts +106 -0
  321. package/modules/pattern/features/customer/components/documents-view/documents-view.component.ts +50 -0
  322. package/modules/pattern/features/customer/components/general-information-form/general-information-form.component.ts +140 -0
  323. package/modules/pattern/features/customer/components/general-information-view/general-information-view.component.ts +39 -0
  324. package/modules/pattern/features/customer/components/orders-view/orders-view.component.ts +35 -0
  325. package/modules/pattern/features/customer/components/summary-cards/summary-cards.component.ts +101 -0
  326. package/modules/pattern/features/customer/components/update-side-drawer/update-side-drawer.component.ts +127 -0
  327. package/modules/pattern/features/customer/entity.resolver.ts +21 -0
  328. package/modules/pattern/features/customer/pages/list/list.component.html +22 -0
  329. package/modules/pattern/features/customer/pages/list/list.component.ts +113 -0
  330. package/modules/pattern/features/customer/pages/profile/profile.component.ts +120 -0
  331. package/modules/pattern/features/customer/pipes/customer-detail.pipe.ts +18 -0
  332. package/modules/pattern/features/customer/routes.ts +59 -0
  333. package/modules/pattern/features/customer/services/customer.model.ts +87 -0
  334. package/modules/pattern/features/customer/services/customer.service.ts +79 -0
  335. package/modules/pattern/features/import/components/mapping-form/mapping-form.component.ts +41 -0
  336. package/modules/pattern/features/import/components/preview-view/preview-view.component.ts +44 -0
  337. package/modules/pattern/features/import/pages/flow/flow.component.ts +269 -0
  338. package/modules/pattern/features/import/routes.ts +19 -0
  339. package/modules/pattern/features/import/services/import.model.ts +82 -0
  340. package/modules/pattern/features/import/services/import.service.ts +18 -0
  341. package/modules/pattern/features/order/components/approval-steps/approval-steps.component.ts +74 -0
  342. package/modules/pattern/features/order/components/bulk-result/bulk-result.component.ts +46 -0
  343. package/modules/pattern/features/order/components/general-information-form/general-information-form.component.ts +96 -0
  344. package/modules/pattern/features/order/components/lines-form/lines-form.component.ts +205 -0
  345. package/modules/pattern/features/order/components/lines-view/lines-view.component.ts +42 -0
  346. package/modules/pattern/features/order/components/summary-cards/summary-cards.component.ts +128 -0
  347. package/modules/pattern/features/order/entity.resolver.ts +37 -0
  348. package/modules/pattern/features/order/pages/create/create.component.ts +99 -0
  349. package/modules/pattern/features/order/pages/detail/detail.component.ts +222 -0
  350. package/modules/pattern/features/order/pages/list/list.component.html +38 -0
  351. package/modules/pattern/features/order/pages/list/list.component.ts +291 -0
  352. package/modules/pattern/features/order/pages/update/update.component.ts +119 -0
  353. package/modules/pattern/features/order/routes.ts +54 -0
  354. package/modules/pattern/features/order/services/order.model.ts +109 -0
  355. package/modules/pattern/features/order/services/order.service.ts +63 -0
  356. package/modules/pattern/features/partner/pages/create/create.component.ts +324 -0
  357. package/modules/pattern/features/partner/routes.ts +20 -0
  358. package/modules/pattern/features/partner/services/partner.model.ts +30 -0
  359. package/modules/pattern/features/partner/services/partner.service.ts +17 -0
  360. package/modules/pattern/features/product/components/general-information-form/general-information-form.component.ts +88 -0
  361. package/modules/pattern/features/product/components/product-select/product-select.component.ts +65 -0
  362. package/modules/pattern/features/product/components/product-status-select/product-status-select.component.ts +30 -0
  363. package/modules/pattern/features/product/entity.resolver.ts +21 -0
  364. package/modules/pattern/features/product/pages/create/create.component.ts +85 -0
  365. package/modules/pattern/features/product/pages/detail/detail.component.ts +53 -0
  366. package/modules/pattern/features/product/pages/list/list.component.html +30 -0
  367. package/modules/pattern/features/product/pages/list/list.component.ts +71 -0
  368. package/modules/pattern/features/product/pages/update/update.component.ts +86 -0
  369. package/modules/pattern/features/product/pipes/product-detail.pipe.ts +18 -0
  370. package/modules/pattern/features/product/routes.ts +48 -0
  371. package/modules/pattern/features/product/services/product.model.ts +38 -0
  372. package/modules/pattern/features/product/services/product.service.ts +48 -0
  373. package/modules/pattern/features/settings/pages/update/update.component.ts +227 -0
  374. package/modules/pattern/features/settings/routes.ts +24 -0
  375. package/modules/pattern/features/settings/services/settings.model.ts +18 -0
  376. package/modules/pattern/features/settings/services/settings.service.ts +15 -0
  377. package/modules/pattern/features/settings/settings.resolver.ts +8 -0
  378. package/modules/pattern/index.d.ts +50 -0
  379. package/package.json +45 -8
  380. package/pipes/index.d.ts +2 -0
  381. package/services/date-time/index.d.ts +57 -0
  382. package/services/index.d.ts +1 -0
  383. package/services/storage/index.d.ts +8 -1
  384. package/services/unsaved-changes/index.d.ts +11 -0
  385. package/utilities/read-state/index.d.ts +2 -0
  386. package/utilities/theme/index.d.ts +1 -1
@@ -1,7 +1,7 @@
1
1
  import * as i1 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { viewChild, contentChild, input, computed, inject, ChangeDetectorRef, booleanAttribute, model, output, EventEmitter, signal, effect, untracked, Output, ChangeDetectionStrategy, Component } from '@angular/core';
4
+ import { viewChild, contentChild, input, computed, inject, ChangeDetectorRef, model, Injector, afterNextRender, booleanAttribute, output, EventEmitter, signal, effect, untracked, Output, ChangeDetectionStrategy, Component } from '@angular/core';
5
5
  import { Utilities } from '@sdcorejs/utils/fns';
6
6
  import * as i2 from '@angular/forms';
7
7
  import { NgForm, FormGroup, Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
@@ -21,6 +21,7 @@ import { sdIsEmpty, sdSerializeDataValue } from '@sdcorejs/angular/utilities/dat
21
21
  import { I18nService, SdTranslatePipe } from '@sdcorejs/angular/i18n';
22
22
  import { VALIDATION_PATTERNS } from '@sdcorejs/utils/constants';
23
23
  import { Subscription } from 'rxjs';
24
+ import { ɵsdOperatorHasValue as _sdOperatorHasValue, ɵsdSingleOperator as _sdSingleOperator, ɵsdIsNoDataOperator as _sdIsNoDataOperator, ɵSdOperatorChip as _SdOperatorChip } from '@sdcorejs/angular/components/operator';
24
25
  import { SdIcon } from '@sdcorejs/angular/modules/icon';
25
26
 
26
27
  const DEFAULT_TOKENS = {
@@ -243,6 +244,39 @@ class SdInput {
243
244
  */
244
245
  labelPlacement = input('float', ...(ngDevMode ? [{ debugName: "labelPlacement" }] : []));
245
246
  size = input('md', ...(ngDevMode ? [{ debugName: "size" }] : []));
247
+ /**
248
+ * Operator cho phép trong chip tiền tố của ô (thiết kế đợt 2 · G), theo thứ tự hiển thị. Từ hai operator
249
+ * thì chip hiện; đúng một thì control dùng luôn operator đó và không hiện chip.
250
+ */
251
+ operators = input([], ...(ngDevMode ? [{ debugName: "operators" }] : []));
252
+ /** Operator hiện tại — `[(operator)]`. Đổi operator không xoá giá trị; nút xoá chỉ xoá giá trị. */
253
+ operator = model(undefined, ...(ngDevMode ? [{ debugName: "operator" }] : []));
254
+ operatorChip = computed(() => this.operators().length > 1, ...(ngDevMode ? [{ debugName: "operatorChip" }] : []));
255
+ operatorHasValue = computed(() => _sdOperatorHasValue(this.valueModel()), ...(ngDevMode ? [{ debugName: "operatorHasValue" }] : []));
256
+ #singleOperator = _sdSingleOperator(this.operators, this.operator);
257
+ /**
258
+ * NULL / NOT_NULL không cần giá trị: chọn trong chip thì xoá giá trị, ô bị khoá (disabled) tới khi đổi sang
259
+ * operator khác; chip vẫn dùng được.
260
+ */
261
+ operatorLocked = computed(() => this.operators().length > 0 && _sdIsNoDataOperator(this.operator()), ...(ngDevMode ? [{ debugName: "operatorLocked" }] : []));
262
+ // why: query signal không đặt được trên field ES private (#).
263
+ operatorChipRef = viewChild(_SdOperatorChip, ...(ngDevMode ? [{ debugName: "operatorChipRef" }] : []));
264
+ #operatorInjector = inject(Injector);
265
+ /**
266
+ * Chọn xong operator trong chip (thiết kế đợt 2 · G): focus về ô nhập. NULL / NOT_NULL thì xoá giá trị và giữ focus
267
+ * ở chip. why: xoá ngay trong handler chọn (không trong effect) để giá trị two-way của cha đổi trong event, không
268
+ * đổi giữa lượt change detection.
269
+ */
270
+ onOperatorChosen() {
271
+ if (this.operatorLocked()) {
272
+ if (this.operatorHasValue())
273
+ this.clear();
274
+ this.operatorChipRef()?.focus();
275
+ return;
276
+ }
277
+ // why: ô vừa mở khoá chỉ enable sau lượt render tới (effect disabled), focus ngay sẽ hụt.
278
+ afterNextRender(() => this.control()?.nativeElement.focus(), { injector: this.#operatorInjector });
279
+ }
246
280
  // Ghi (TransformT): any (để không bị lỗi typing khi cha truyền vào)
247
281
  form = input(undefined, ...(ngDevMode ? [{ debugName: "form", transform: (val) => {
248
282
  if (!val)
@@ -397,8 +431,16 @@ class SdInput {
397
431
  activeControl = computed(() => (this.maskAdapter() ? this.displayControl : this.formControl), ...(ngDevMode ? [{ debugName: "activeControl" }] : []));
398
432
  maskStatus = signal('empty', ...(ngDevMode ? [{ debugName: "maskStatus" }] : []));
399
433
  displayValue = computed(() => {
434
+ // why: `formControl.value` là property THƯỜNG, không phát tín hiệu nào. Thiếu hai dependency dưới
435
+ // thì computed chốt giá trị ở lần đọc đầu (ô còn rỗng) — màn chi tiết render field trước khi record
436
+ // tải xong sẽ hiện "--" mãi. `#state` tick khi form cha `patchValue`/người dùng gõ; còn `[model]`
437
+ // được effect ghi vào control bằng `emitEvent: false` nên `#state` đứng im — `valueModel` là signal
438
+ // duy nhất đổi trong nhánh đó (effect chạy trước template của sd-input nên control đã có giá trị).
439
+ void this.#state();
440
+ void this.valueModel();
441
+ const value = this.formControl.value;
400
442
  const adapter = this.maskAdapter();
401
- return adapter ? adapter.format(this.formControl.value == null ? '' : String(this.formControl.value)).display : this.formControl.value;
443
+ return adapter ? adapter.format(value == null ? '' : String(value)).display : value;
402
444
  }, ...(ngDevMode ? [{ debugName: "displayValue" }] : []));
403
445
  #subscription = new Subscription();
404
446
  #isComposing = false;
@@ -440,7 +482,7 @@ class SdInput {
440
482
  validators: this.#validators,
441
483
  asyncValidators: this.#asyncValidators,
442
484
  required: this.required,
443
- disabled: this.disabled,
485
+ disabled: computed(() => this.disabled() || this.operatorLocked()),
444
486
  readonly: this.readonly,
445
487
  viewed: this.viewed,
446
488
  validationError: computed(() => this.errorMessage()),
@@ -495,7 +537,7 @@ class SdInput {
495
537
  });
496
538
  effect(() => {
497
539
  const masked = !!this.maskAdapter();
498
- const disabled = this.disabled();
540
+ const disabled = this.disabled() || this.operatorLocked();
499
541
  untracked(() => {
500
542
  if (masked && disabled)
501
543
  this.displayControl.disable({ emitEvent: false });
@@ -555,6 +597,9 @@ class SdInput {
555
597
  }
556
598
  if (this.formControl.value !== result.raw) {
557
599
  this.#pendingMaskResult = this.valueModel() === result.raw ? undefined : result;
600
+ // 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;
601
+ // ô có mask gõ vào displayControl nên formControl không tự dirty.
602
+ this.formControl.markAsDirty();
558
603
  this.formControl.setValue(result.raw);
559
604
  }
560
605
  else {
@@ -605,6 +650,7 @@ class SdInput {
605
650
  // lỗi đã sửa ở #onChange của sd-input-number, chỉ sót nhánh clear().
606
651
  // displayControl thì VẪN giữ emitEvent:false — valueChanges của nó có subscriber
607
652
  // (#onMaskedDisplayChange) sẽ parse ngược và ghi đè lại formControl.
653
+ this.formControl.markAsDirty();
608
654
  this.#isClearing = true;
609
655
  try {
610
656
  this.formControl.setValue(null);
@@ -667,7 +713,7 @@ class SdInput {
667
713
  this.#timers.schedule(() => this.#focusActiveInput(), 100);
668
714
  };
669
715
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SdInput, deps: [], target: i0.ɵɵFactoryTarget.Component });
670
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: SdInput, isStandalone: true, selector: "sd-input", inputs: { autoIdInput: { classPropertyName: "autoIdInput", publicName: "autoId", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", 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 }, size: { classPropertyName: "size", publicName: "size", 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 }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, mask: { classPropertyName: "mask", publicName: "mask", isSignal: true, isRequired: false, transformFunction: null }, inputmodeInput: { classPropertyName: "inputmodeInput", publicName: "inputmode", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, hideInlineError: { classPropertyName: "hideInlineError", publicName: "hideInlineError", isSignal: true, isRequired: false, transformFunction: null }, blurOnEnter: { classPropertyName: "blurOnEnter", publicName: "blurOnEnter", isSignal: true, isRequired: false, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", 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 }, minlength: { classPropertyName: "minlength", publicName: "minlength", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, pattern: { classPropertyName: "pattern", publicName: "pattern", isSignal: true, isRequired: false, transformFunction: null }, patternErrorMessage: { classPropertyName: "patternErrorMessage", publicName: "patternErrorMessage", isSignal: true, isRequired: false, transformFunction: null }, validator: { classPropertyName: "validator", publicName: "validator", 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 }, valueModel: { classPropertyName: "valueModel", publicName: "model", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueModel: "modelChange", sdChange: "sdChange", sdFocus: "sdFocus", sdBlur: "sdBlur", keyupEnter: "keyupEnter", cleared: "cleared", sdFocusForceBlur: "sdFocusForceBlur" }, host: { properties: { "class.sd-has-label": "!!label()", "class.sd-viewed": "isViewed() || isInline()", "class.sd-label-top": "labelPlacement() === 'top'" } }, queries: [{ propertyName: "sdLabelTemplate", first: true, predicate: ["sdLabel"], descendants: true, isSignal: true }, { propertyName: "sdValueTemplate", first: true, predicate: ["sdValue"], descendants: true, isSignal: true }, { propertyName: "sdSuffixDef", first: true, predicate: SdSuffixDefDirective, descendants: true, isSignal: true }, { propertyName: "sdViewDef", first: true, predicate: SdViewDefDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "control", first: true, predicate: ["control"], descendants: true, isSignal: true }, { propertyName: "inlineRef", first: true, predicate: SdInlineText, descendants: true, isSignal: true }], ngImport: i0, template: "@let _label = label();\r\n@let _appearance = appearance();\r\n@let _hideInlineError = hideInlineError();\r\n@let _helperText = helperText();\r\n@let _maxLength = maxlength();\r\n@let _errorMessage = visibleErrorMessage();\r\n@let _required = required();\r\n@let _isInline = isInline();\r\n<!-- why: labelPlacement='top' = nh\u00E3n <label for> t\u0129nh ph\u00EDa tr\u00EAn; placeholder KH\u00D4NG c\u00F2n l\u1EA5y nh\u00E3n thay\r\n th\u1EBF (label v\u00E0 placeholder l\u00E0 hai n\u1ED9i dung ri\u00EAng), helper text th\u00E0nh <mat-hint> d\u01B0\u1EDBi control. -->\r\n@let _labelTop = labelPlacement() === 'top';\r\n@let _placeholder = placeholder() || (_labelTop ? '' : _label) || '';\r\n<!-- why: c\u00F9ng M\u1ED8T c\u1ED5ng gate cho c\u1EA3 3 th\u1EE9 \u2014 hi\u1EC7n <mat-error>, b\u1EADt aria-invalid, v\u00E0 tr\u1ECF\r\n aria-describedby. Tr\u01B0\u1EDBc \u0111\u00E2y message hi\u1EC7n m\u00E0 control kh\u00F4ng h\u1EC1 b\u00E1o invalid, n\u00EAn screen\r\n reader \u0111\u1ECDc xong \u00F4 nh\u1EADp v\u1EABn kh\u00F4ng bi\u1EBFt l\u00E0 \u0111ang l\u1ED7i. -->\r\n@let _showInlineError = !_hideInlineError && !!_errorMessage;\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]=\"displayValue()\"\r\n [hyperlink]=\"hyperlink()\"\r\n [valueTemplate]=\"viewTemplate()\">\r\n </sd-view>\r\n} @else if (_isInline) {\r\n <!-- why: nh\u00E1nh inline PH\u1EA2I project `sdSuffixDef` gi\u1ED1ng nh\u00E1nh mat-form-field. Tr\u01B0\u1EDBc \u0111\u00E2y ch\u1EC9\r\n <sd-inline-text> \u0111\u01B0\u1EE3c render, n\u00EAn <sd-input-color viewed=\"'inline'\"> m\u1EA5t lu\u00F4n swatch v\u00E0\r\n <input type=\"color\"> \u1EA9n \u2014 openPicker() g\u1ECDi \u0111\u01B0\u1EE3c nh\u01B0ng kh\u00F4ng c\u00F3 element n\u00E0o \u0111\u1EC3 click, t\u1EE9c\r\n l\u00E0 no-op c\u00E2m. <sd-inline-text> l\u00E0 inline-flex t\u1EF1 hug n\u1ED9i dung n\u00EAn ch\u1EC9 c\u1EA7n m\u1ED9t h\u00E0ng flex. -->\r\n <div class=\"sd-input-inline\">\r\n <sd-inline-text\r\n [control]=\"activeControl()\"\r\n [placeholder]=\"placeholder() || _label || ''\"\r\n [clearable]=\"clearable() && !_required\"\r\n [autoId]=\"autoId()\"\r\n [state]=\"connectorState().invalid ? 'error' : 'auto'\"\r\n (sdFocus)=\"onFocus()\"\r\n (sdBlur)=\"onBlur()\"\r\n (keyupEnter)=\"onKeyupEnter()\"\r\n (cleared)=\"cleared.emit()\">\r\n </sd-inline-text>\r\n\r\n @if (sdSuffixDef()?.templateRef; as suffixRef) {\r\n <span class=\"sd-input-inline__suffix\">\r\n <ng-container *ngTemplateOutlet=\"suffixRef\"></ng-container>\r\n </span>\r\n }\r\n </div>\r\n} @else {\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 n\u00E0y CH\u1EC8 l\u00E0 h\u1ED9p layout. N\u00F3 t\u1EEBng mang aria-hidden=\"true\" \u0111\u1EC3 d\u1EADp c\u1EA3nh b\u00E1o lint \u2014\r\n v\u00E0 aria-hidden \u1EA9n C\u1EA2 c\u00E2y con, n\u00EAn label, <input>, <mat-error> l\u1EABn n\u00FAt clear bi\u1EBFn m\u1EA5t\r\n kh\u1ECFi accessibility tree c\u00F9ng l\u00FAc. role=\"presentation\" ch\u1EC9 v\u00F4 hi\u1EC7u ho\u00E1 ch\u00EDnh div (KH\u00D4NG\r\n lan xu\u1ED1ng con), c\u00F2n (click) ch\u1EC9 l\u00E0 ti\u1EC7n \u00EDch chu\u1ED9t: b\u00E0n ph\u00EDm Tab th\u1EB3ng v\u00E0o <input> v\u00E0\r\n nh\u1EADn \u0111\u00FAng k\u1EBFt qu\u1EA3 \u0111\u00F3, n\u00EAn kh\u00F4ng c\u1EA7n th\u00EAm key handler. -->\r\n <div\r\n class=\"d-flex align-items-center sd-input-container\"\r\n role=\"presentation\"\r\n [class.c-focused]=\"isFocused\"\r\n [class.c-disabled]=\"formControl.disabled\"\r\n (click)=\"onClick()\">\r\n <div class=\"sd-input-field-wrap\">\r\n <mat-form-field\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]=\"floatLabel()\">\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>. Input v\u1EABn focus \u0111\u01B0\u1EE3c b\u1EB1ng Tab, n\u00EAn\r\n aria-hidden khi\u1EBFn screen reader \u0111\u1ECDc ra\u2026 kh\u00F4ng g\u00EC c\u1EA3 \u2014 t\u1EC7 h\u01A1n l\u00E0 kh\u00F4ng l\u00E0m g\u00EC. -->\r\n <input\r\n [id]=\"id\"\r\n [formControl]=\"activeControl()\"\r\n [type]=\"effectiveType()\"\r\n #control\r\n matInput\r\n [placeholder]=\"_placeholder\"\r\n (keyup.enter)=\"onKeyupEnter()\"\r\n (focus)=\"onFocus()\"\r\n (blur)=\"onBlur()\"\r\n [required]=\"_required\"\r\n [readonly]=\"isReadonly()\"\r\n [autocomplete]=\"autocomplete() || id\"\r\n autocorrect=\"off\"\r\n [step]=\"1\"\r\n [attr.inputmode]=\"inputMode()\"\r\n [attr.maxlength]=\"maxDisplayLength()\"\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-maxlength]=\"dataMaxLength()\"\r\n [attr.data-minlength]=\"dataMinLength()\"\r\n [attr.data-pattern]=\"dataPattern()\"\r\n [attr.data-error-message]=\"dataErrorMessage()\"\r\n [attr.aria-invalid]=\"_errorMessage ? 'true' : null\"\r\n [attr.aria-describedby]=\"_errorMessage ? errorId : null\"\r\n (compositionstart)=\"onCompositionStart()\"\r\n (compositionend)=\"onCompositionEnd($event)\" />\r\n\r\n @if (_showInlineError) {\r\n <mat-error [id]=\"errorId\">{{ _errorMessage }}</mat-error>\r\n } @else if (_labelTop && _helperText) {\r\n <!-- why: helper text c\u1EE7a nh\u00E3n r\u1EDDi l\u00E0 d\u00F2ng ch\u1EEF th\u1EADt (kh\u00F4ng ph\u1EA3i icon tooltip) v\u00E0 b\u1ECB thay b\u1EB1ng\r\n l\u1ED7i khi control l\u1ED7i. mat-form-field t\u1EF1 n\u1ED1i id c\u1EE7a hint v\u00E0o aria-describedby c\u1EE7a input. -->\r\n <mat-hint [id]=\"hintId\">{{ _helperText }}</mat-hint>\r\n }\r\n\r\n <!-- why: n\u00FAt clear render TR\u01AF\u1EDAC error icon. Clear hover-gated (visibility:hidden) v\u1EABn\r\n chi\u1EBFm ch\u1ED7 trong layout \u2192 n\u1EBFu \u0111\u1EE9ng sau s\u1EBD \u0111\u1EA9y error icon \"t\u1EE5t v\u00E0o trong\". \u0110\u1EE9ng tr\u01B0\u1EDBc\r\n th\u00EC error icon n\u1EB1m s\u00E1t m\u00E9p ph\u1EA3i, clear gi\u1EEF slot v\u00F4 h\u00ECnh b\u00EAn tr\u00E1i. -->\r\n @if (showClear()) {\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 @if (_hideInlineError && _errorMessage) {\r\n <sd-icon matSuffix class=\"sd-error-icon\" [matTooltip]=\"_errorMessage\" matTooltipPosition=\"above\" name=\"error\"></sd-icon>\n }\r\n @if (_hideInlineError && _errorMessage) {\r\n <span class=\"sd-visually-hidden\" [id]=\"errorId\" matSuffix>{{ _errorMessage }}</span>\r\r\n }\r\n\r\n @if (sdSuffixDef()?.templateRef; as suffixRef) {\r\n <ng-container matSuffix>\r\n <ng-container *ngTemplateOutlet=\"suffixRef\"></ng-container>\r\n </ng-container>\r\n }\r\n <!-- <ng-container matSuffix>\r\n <ng-content select=\"[sdSuffix]\"></ng-content>\r\n </ng-container> -->\r\n </mat-form-field>\r\n\r\n @if (_maxLength && !_hideInlineError && !formControl.disabled) {\r\n <div\r\n class=\"sd-maxlength-counter\"\r\n [class.sd-maxlength-counter--visible]=\"isFocused\"\r\n [class.sd-maxlength-counter--exceeded]=\"isMaxlengthExceeded()\"\r\n [attr.title]=\"isMaxlengthExceeded() ? ('core.form.input.exceeded' | sdTranslate) : null\">\r\n {{ getCurrentLength() }}/{{ _maxLength }}\r\n </div>\r\n }\r\n </div>\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}.sd-input-inline{display:inline-flex;align-items:center;gap:4px;max-width:100%}.sd-input-inline__suffix{display:inline-flex;align-items:center;line-height:0}: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.mat-form-field-appearance-outline.mat-form-field-disabled .mat-mdc-text-field-wrapper{background:var(--sd-disabled-bg)}: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)}.sd-input-field-wrap{position:relative;flex:1;min-width:0}.sd-maxlength-counter{position:absolute;right:4px;top:calc(100% - 16px);opacity:0;font-size:var(--sd-font-size-10, 10px);line-height:1.1;color:#00000061;pointer-events:none;transition:opacity var(--sd-duration-fast, .12s) ease;z-index:1}.sd-maxlength-counter--exceeded{color:var(--sd-error);font-weight:var(--sd-font-weight-semibold, 600)}:host ::ng-deep .sd-input-container.c-focused .sd-maxlength-counter,:host ::ng-deep .sd-input-container:hover .sd-maxlength-counter,:host ::ng-deep .sd-input-container .sd-maxlength-counter.sd-maxlength-counter--visible{opacity:1}.sd-md:hover .btn-copy{visibility:visible}\n"], dependencies: [{ kind: "component", type: SdIcon, selector: "sd-icon", inputs: ["name", "fontIcon", "color", "set", "fontSet", "size", "strokeWidth", "absoluteStrokeWidth", "ariaLabel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.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: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4.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: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatButtonModule }, { 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: "component", type: SdInlineText, selector: "sd-inline-text", inputs: ["value", "control", "placeholder", "disabled", "clearable", "state", "chrome", "autoId", "autofocus", "minSize"], outputs: ["valueChange", "cleared", "keyupEnter", "keydownEscape", "sdFocus", "sdBlur", "sdKeydown", "sdPaste", "sdCompositionStart", "sdCompositionEnd"] }, { kind: "pipe", type: SdTranslatePipe, name: "sdTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
716
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: SdInput, isStandalone: true, selector: "sd-input", inputs: { autoIdInput: { classPropertyName: "autoIdInput", publicName: "autoId", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", 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 }, 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 }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, mask: { classPropertyName: "mask", publicName: "mask", isSignal: true, isRequired: false, transformFunction: null }, inputmodeInput: { classPropertyName: "inputmodeInput", publicName: "inputmode", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, hideInlineError: { classPropertyName: "hideInlineError", publicName: "hideInlineError", isSignal: true, isRequired: false, transformFunction: null }, blurOnEnter: { classPropertyName: "blurOnEnter", publicName: "blurOnEnter", isSignal: true, isRequired: false, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", 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 }, minlength: { classPropertyName: "minlength", publicName: "minlength", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, pattern: { classPropertyName: "pattern", publicName: "pattern", isSignal: true, isRequired: false, transformFunction: null }, patternErrorMessage: { classPropertyName: "patternErrorMessage", publicName: "patternErrorMessage", isSignal: true, isRequired: false, transformFunction: null }, validator: { classPropertyName: "validator", publicName: "validator", 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 }, valueModel: { classPropertyName: "valueModel", publicName: "model", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { operator: "operatorChange", valueModel: "modelChange", sdChange: "sdChange", sdFocus: "sdFocus", sdBlur: "sdBlur", keyupEnter: "keyupEnter", cleared: "cleared", sdFocusForceBlur: "sdFocusForceBlur" }, host: { properties: { "class.sd-has-label": "!!label()", "class.sd-viewed": "isViewed() || isInline()", "class.sd-label-top": "labelPlacement() === 'top'" } }, queries: [{ propertyName: "sdLabelTemplate", first: true, predicate: ["sdLabel"], descendants: true, isSignal: true }, { propertyName: "sdValueTemplate", first: true, predicate: ["sdValue"], descendants: true, isSignal: true }, { propertyName: "sdSuffixDef", first: true, predicate: SdSuffixDefDirective, descendants: true, isSignal: true }, { propertyName: "sdViewDef", first: true, predicate: SdViewDefDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "control", first: true, predicate: ["control"], descendants: true, isSignal: true }, { propertyName: "inlineRef", first: true, predicate: SdInlineText, 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 _helperText = helperText();\r\n@let _maxLength = maxlength();\r\n@let _errorMessage = visibleErrorMessage();\r\n@let _required = required();\r\n@let _isInline = isInline();\r\n<!-- why: labelPlacement='top' = nh\u00E3n <label for> t\u0129nh ph\u00EDa tr\u00EAn; placeholder KH\u00D4NG c\u00F2n l\u1EA5y nh\u00E3n thay\r\n th\u1EBF (label v\u00E0 placeholder l\u00E0 hai n\u1ED9i dung ri\u00EAng), helper text th\u00E0nh <mat-hint> d\u01B0\u1EDBi control. -->\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<!-- why: c\u00F9ng M\u1ED8T c\u1ED5ng gate cho c\u1EA3 3 th\u1EE9 \u2014 hi\u1EC7n <mat-error>, b\u1EADt aria-invalid, v\u00E0 tr\u1ECF\r\n aria-describedby. Tr\u01B0\u1EDBc \u0111\u00E2y message hi\u1EC7n m\u00E0 control kh\u00F4ng h\u1EC1 b\u00E1o invalid, n\u00EAn screen\r\n reader \u0111\u1ECDc xong \u00F4 nh\u1EADp v\u1EABn kh\u00F4ng bi\u1EBFt l\u00E0 \u0111ang l\u1ED7i. -->\r\n@let _showInlineError = !_hideInlineError && !!_errorMessage;\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]=\"displayValue()\"\r\n [hyperlink]=\"hyperlink()\"\r\n [valueTemplate]=\"viewTemplate()\">\r\n </sd-view>\r\n} @else if (_isInline) {\r\n <!-- why: nh\u00E1nh inline PH\u1EA2I project `sdSuffixDef` gi\u1ED1ng nh\u00E1nh mat-form-field. Tr\u01B0\u1EDBc \u0111\u00E2y ch\u1EC9\r\n <sd-inline-text> \u0111\u01B0\u1EE3c render, n\u00EAn <sd-input-color viewed=\"'inline'\"> m\u1EA5t lu\u00F4n swatch v\u00E0\r\n <input type=\"color\"> \u1EA9n \u2014 openPicker() g\u1ECDi \u0111\u01B0\u1EE3c nh\u01B0ng kh\u00F4ng c\u00F3 element n\u00E0o \u0111\u1EC3 click, t\u1EE9c\r\n l\u00E0 no-op c\u00E2m. <sd-inline-text> l\u00E0 inline-flex t\u1EF1 hug n\u1ED9i dung n\u00EAn ch\u1EC9 c\u1EA7n m\u1ED9t h\u00E0ng flex. -->\r\n <div class=\"sd-input-inline\">\r\n <sd-inline-text\r\n [control]=\"activeControl()\"\r\n [placeholder]=\"placeholder() || _label || ''\"\r\n [clearable]=\"clearable() && !_required\"\r\n [autoId]=\"autoId()\"\r\n [state]=\"connectorState().invalid ? 'error' : 'auto'\"\r\n (sdFocus)=\"onFocus()\"\r\n (sdBlur)=\"onBlur()\"\r\n (keyupEnter)=\"onKeyupEnter()\"\r\n (cleared)=\"cleared.emit()\">\r\n </sd-inline-text>\r\n\r\n @if (sdSuffixDef()?.templateRef; as suffixRef) {\r\n <span class=\"sd-input-inline__suffix\">\r\n <ng-container *ngTemplateOutlet=\"suffixRef\"></ng-container>\r\n </span>\r\n }\r\n </div>\r\n} @else {\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 n\u00E0y CH\u1EC8 l\u00E0 h\u1ED9p layout. N\u00F3 t\u1EEBng mang aria-hidden=\"true\" \u0111\u1EC3 d\u1EADp c\u1EA3nh b\u00E1o lint \u2014\r\n v\u00E0 aria-hidden \u1EA9n C\u1EA2 c\u00E2y con, n\u00EAn label, <input>, <mat-error> l\u1EABn n\u00FAt clear bi\u1EBFn m\u1EA5t\r\n kh\u1ECFi accessibility tree c\u00F9ng l\u00FAc. role=\"presentation\" ch\u1EC9 v\u00F4 hi\u1EC7u ho\u00E1 ch\u00EDnh div (KH\u00D4NG\r\n lan xu\u1ED1ng con), c\u00F2n (click) ch\u1EC9 l\u00E0 ti\u1EC7n \u00EDch chu\u1ED9t: b\u00E0n ph\u00EDm Tab th\u1EB3ng v\u00E0o <input> v\u00E0\r\n nh\u1EADn \u0111\u00FAng k\u1EBFt qu\u1EA3 \u0111\u00F3, n\u00EAn kh\u00F4ng c\u1EA7n th\u00EAm key handler. -->\r\n <div\r\n class=\"d-flex align-items-center sd-input-container\"\r\n role=\"presentation\"\r\n [class.c-focused]=\"isFocused\"\r\n [class.c-disabled]=\"formControl.disabled\"\r\n (click)=\"onClick()\">\r\n <div class=\"sd-input-field-wrap\">\r\n <mat-form-field\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>. Input v\u1EABn focus \u0111\u01B0\u1EE3c b\u1EB1ng Tab, n\u00EAn\r\n aria-hidden khi\u1EBFn screen reader \u0111\u1ECDc ra\u2026 kh\u00F4ng g\u00EC c\u1EA3 \u2014 t\u1EC7 h\u01A1n l\u00E0 kh\u00F4ng l\u00E0m g\u00EC. -->\r\n <input\r\n [id]=\"id\"\r\n [formControl]=\"activeControl()\"\r\n [type]=\"effectiveType()\"\r\n #control\r\n matInput\r\n [placeholder]=\"_placeholder\"\r\n (keyup.enter)=\"onKeyupEnter()\"\r\n (focus)=\"onFocus()\"\r\n (blur)=\"onBlur()\"\r\n [required]=\"_required\"\r\n [readonly]=\"isReadonly()\"\r\n [autocomplete]=\"autocomplete() || id\"\r\n autocorrect=\"off\"\r\n [step]=\"1\"\r\n [attr.inputmode]=\"inputMode()\"\r\n [attr.maxlength]=\"maxDisplayLength()\"\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-maxlength]=\"dataMaxLength()\"\r\n [attr.data-minlength]=\"dataMinLength()\"\r\n [attr.data-pattern]=\"dataPattern()\"\r\n [attr.data-error-message]=\"dataErrorMessage()\"\r\n [attr.aria-invalid]=\"_errorMessage ? 'true' : null\"\r\n [attr.aria-describedby]=\"_errorMessage ? errorId : null\"\r\n (compositionstart)=\"onCompositionStart()\"\r\n (compositionend)=\"onCompositionEnd($event)\" />\r\n\r\n @if (_showInlineError) {\r\n <mat-error [id]=\"errorId\">{{ _errorMessage }}</mat-error>\r\n } @else if (_labelTop && _helperText) {\r\n <!-- why: helper text c\u1EE7a nh\u00E3n r\u1EDDi l\u00E0 d\u00F2ng ch\u1EEF th\u1EADt (kh\u00F4ng ph\u1EA3i icon tooltip) v\u00E0 b\u1ECB thay b\u1EB1ng\r\n l\u1ED7i khi control l\u1ED7i. mat-form-field t\u1EF1 n\u1ED1i id c\u1EE7a hint v\u00E0o aria-describedby c\u1EE7a input. -->\r\n <mat-hint [id]=\"hintId\">{{ _helperText }}</mat-hint>\r\n }\r\n\r\n <!-- why: n\u00FAt clear render TR\u01AF\u1EDAC error icon. Clear hover-gated (visibility:hidden) v\u1EABn\r\n chi\u1EBFm ch\u1ED7 trong layout \u2192 n\u1EBFu \u0111\u1EE9ng sau s\u1EBD \u0111\u1EA9y error icon \"t\u1EE5t v\u00E0o trong\". \u0110\u1EE9ng tr\u01B0\u1EDBc\r\n th\u00EC error icon n\u1EB1m s\u00E1t m\u00E9p ph\u1EA3i, clear gi\u1EEF slot v\u00F4 h\u00ECnh b\u00EAn tr\u00E1i. -->\r\n @if (showClear()) {\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 @if (_hideInlineError && _errorMessage) {\r\n <sd-icon matSuffix class=\"sd-error-icon\" [matTooltip]=\"_errorMessage\" matTooltipPosition=\"above\" name=\"error\"></sd-icon>\n }\r\n @if (_hideInlineError && _errorMessage) {\r\n <span class=\"sd-visually-hidden\" [id]=\"errorId\" matSuffix>{{ _errorMessage }}</span>\r\r\n }\r\n\r\n @if (sdSuffixDef()?.templateRef; as suffixRef) {\r\n <ng-container matSuffix>\r\n <ng-container *ngTemplateOutlet=\"suffixRef\"></ng-container>\r\n </ng-container>\r\n }\r\n <!-- <ng-container matSuffix>\r\n <ng-content select=\"[sdSuffix]\"></ng-content>\r\n </ng-container> -->\r\n </mat-form-field>\r\n\r\n @if (_maxLength && !_hideInlineError && !formControl.disabled) {\r\n <div\r\n class=\"sd-maxlength-counter\"\r\n [class.sd-maxlength-counter--visible]=\"isFocused\"\r\n [class.sd-maxlength-counter--exceeded]=\"isMaxlengthExceeded()\"\r\n [attr.title]=\"isMaxlengthExceeded() ? ('core.form.input.exceeded' | sdTranslate) : null\">\r\n {{ getCurrentLength() }}/{{ _maxLength }}\r\n </div>\r\n }\r\n </div>\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}.sd-input-inline{display:inline-flex;align-items:center;gap:4px;max-width:100%}.sd-input-inline__suffix{display:inline-flex;align-items:center;line-height:0}: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)}.sd-input-field-wrap{position:relative;flex:1;min-width:0}.sd-maxlength-counter{position:absolute;right:4px;top:calc(100% - 16px);opacity:0;font-size:var(--sd-font-size-10, 10px);line-height:1.1;color:#00000061;pointer-events:none;transition:opacity var(--sd-duration-fast, .12s) ease;z-index:1}.sd-maxlength-counter--exceeded{color:var(--sd-error);font-weight:var(--sd-font-weight-semibold, 600)}:host ::ng-deep .sd-input-container.c-focused .sd-maxlength-counter,:host ::ng-deep .sd-input-container:hover .sd-maxlength-counter,:host ::ng-deep .sd-input-container .sd-maxlength-counter.sd-maxlength-counter--visible{opacity:1}.sd-md:hover .btn-copy{visibility:visible}\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: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.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: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4.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: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatButtonModule }, { 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: "component", type: SdInlineText, selector: "sd-inline-text", inputs: ["value", "control", "placeholder", "disabled", "clearable", "state", "chrome", "autoId", "autofocus", "minSize"], outputs: ["valueChange", "cleared", "keyupEnter", "keydownEscape", "sdFocus", "sdBlur", "sdKeydown", "sdPaste", "sdCompositionStart", "sdCompositionEnd"] }, { kind: "pipe", type: SdTranslatePipe, name: "sdTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
671
717
  }
672
718
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SdInput, decorators: [{
673
719
  type: Component,
@@ -676,6 +722,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
676
722
  '[class.sd-viewed]': 'isViewed() || isInline()',
677
723
  '[class.sd-label-top]': "labelPlacement() === 'top'",
678
724
  }, imports: [
725
+ _SdOperatorChip,
679
726
  SdIcon,
680
727
  CommonModule,
681
728
  FormsModule,
@@ -688,8 +735,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
688
735
  SdView,
689
736
  SdInlineText,
690
737
  SdTranslatePipe,
691
- ], template: "@let _label = label();\r\n@let _appearance = appearance();\r\n@let _hideInlineError = hideInlineError();\r\n@let _helperText = helperText();\r\n@let _maxLength = maxlength();\r\n@let _errorMessage = visibleErrorMessage();\r\n@let _required = required();\r\n@let _isInline = isInline();\r\n<!-- why: labelPlacement='top' = nh\u00E3n <label for> t\u0129nh ph\u00EDa tr\u00EAn; placeholder KH\u00D4NG c\u00F2n l\u1EA5y nh\u00E3n thay\r\n th\u1EBF (label v\u00E0 placeholder l\u00E0 hai n\u1ED9i dung ri\u00EAng), helper text th\u00E0nh <mat-hint> d\u01B0\u1EDBi control. -->\r\n@let _labelTop = labelPlacement() === 'top';\r\n@let _placeholder = placeholder() || (_labelTop ? '' : _label) || '';\r\n<!-- why: c\u00F9ng M\u1ED8T c\u1ED5ng gate cho c\u1EA3 3 th\u1EE9 \u2014 hi\u1EC7n <mat-error>, b\u1EADt aria-invalid, v\u00E0 tr\u1ECF\r\n aria-describedby. Tr\u01B0\u1EDBc \u0111\u00E2y message hi\u1EC7n m\u00E0 control kh\u00F4ng h\u1EC1 b\u00E1o invalid, n\u00EAn screen\r\n reader \u0111\u1ECDc xong \u00F4 nh\u1EADp v\u1EABn kh\u00F4ng bi\u1EBFt l\u00E0 \u0111ang l\u1ED7i. -->\r\n@let _showInlineError = !_hideInlineError && !!_errorMessage;\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]=\"displayValue()\"\r\n [hyperlink]=\"hyperlink()\"\r\n [valueTemplate]=\"viewTemplate()\">\r\n </sd-view>\r\n} @else if (_isInline) {\r\n <!-- why: nh\u00E1nh inline PH\u1EA2I project `sdSuffixDef` gi\u1ED1ng nh\u00E1nh mat-form-field. Tr\u01B0\u1EDBc \u0111\u00E2y ch\u1EC9\r\n <sd-inline-text> \u0111\u01B0\u1EE3c render, n\u00EAn <sd-input-color viewed=\"'inline'\"> m\u1EA5t lu\u00F4n swatch v\u00E0\r\n <input type=\"color\"> \u1EA9n \u2014 openPicker() g\u1ECDi \u0111\u01B0\u1EE3c nh\u01B0ng kh\u00F4ng c\u00F3 element n\u00E0o \u0111\u1EC3 click, t\u1EE9c\r\n l\u00E0 no-op c\u00E2m. <sd-inline-text> l\u00E0 inline-flex t\u1EF1 hug n\u1ED9i dung n\u00EAn ch\u1EC9 c\u1EA7n m\u1ED9t h\u00E0ng flex. -->\r\n <div class=\"sd-input-inline\">\r\n <sd-inline-text\r\n [control]=\"activeControl()\"\r\n [placeholder]=\"placeholder() || _label || ''\"\r\n [clearable]=\"clearable() && !_required\"\r\n [autoId]=\"autoId()\"\r\n [state]=\"connectorState().invalid ? 'error' : 'auto'\"\r\n (sdFocus)=\"onFocus()\"\r\n (sdBlur)=\"onBlur()\"\r\n (keyupEnter)=\"onKeyupEnter()\"\r\n (cleared)=\"cleared.emit()\">\r\n </sd-inline-text>\r\n\r\n @if (sdSuffixDef()?.templateRef; as suffixRef) {\r\n <span class=\"sd-input-inline__suffix\">\r\n <ng-container *ngTemplateOutlet=\"suffixRef\"></ng-container>\r\n </span>\r\n }\r\n </div>\r\n} @else {\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 n\u00E0y CH\u1EC8 l\u00E0 h\u1ED9p layout. N\u00F3 t\u1EEBng mang aria-hidden=\"true\" \u0111\u1EC3 d\u1EADp c\u1EA3nh b\u00E1o lint \u2014\r\n v\u00E0 aria-hidden \u1EA9n C\u1EA2 c\u00E2y con, n\u00EAn label, <input>, <mat-error> l\u1EABn n\u00FAt clear bi\u1EBFn m\u1EA5t\r\n kh\u1ECFi accessibility tree c\u00F9ng l\u00FAc. role=\"presentation\" ch\u1EC9 v\u00F4 hi\u1EC7u ho\u00E1 ch\u00EDnh div (KH\u00D4NG\r\n lan xu\u1ED1ng con), c\u00F2n (click) ch\u1EC9 l\u00E0 ti\u1EC7n \u00EDch chu\u1ED9t: b\u00E0n ph\u00EDm Tab th\u1EB3ng v\u00E0o <input> v\u00E0\r\n nh\u1EADn \u0111\u00FAng k\u1EBFt qu\u1EA3 \u0111\u00F3, n\u00EAn kh\u00F4ng c\u1EA7n th\u00EAm key handler. -->\r\n <div\r\n class=\"d-flex align-items-center sd-input-container\"\r\n role=\"presentation\"\r\n [class.c-focused]=\"isFocused\"\r\n [class.c-disabled]=\"formControl.disabled\"\r\n (click)=\"onClick()\">\r\n <div class=\"sd-input-field-wrap\">\r\n <mat-form-field\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]=\"floatLabel()\">\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>. Input v\u1EABn focus \u0111\u01B0\u1EE3c b\u1EB1ng Tab, n\u00EAn\r\n aria-hidden khi\u1EBFn screen reader \u0111\u1ECDc ra\u2026 kh\u00F4ng g\u00EC c\u1EA3 \u2014 t\u1EC7 h\u01A1n l\u00E0 kh\u00F4ng l\u00E0m g\u00EC. -->\r\n <input\r\n [id]=\"id\"\r\n [formControl]=\"activeControl()\"\r\n [type]=\"effectiveType()\"\r\n #control\r\n matInput\r\n [placeholder]=\"_placeholder\"\r\n (keyup.enter)=\"onKeyupEnter()\"\r\n (focus)=\"onFocus()\"\r\n (blur)=\"onBlur()\"\r\n [required]=\"_required\"\r\n [readonly]=\"isReadonly()\"\r\n [autocomplete]=\"autocomplete() || id\"\r\n autocorrect=\"off\"\r\n [step]=\"1\"\r\n [attr.inputmode]=\"inputMode()\"\r\n [attr.maxlength]=\"maxDisplayLength()\"\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-maxlength]=\"dataMaxLength()\"\r\n [attr.data-minlength]=\"dataMinLength()\"\r\n [attr.data-pattern]=\"dataPattern()\"\r\n [attr.data-error-message]=\"dataErrorMessage()\"\r\n [attr.aria-invalid]=\"_errorMessage ? 'true' : null\"\r\n [attr.aria-describedby]=\"_errorMessage ? errorId : null\"\r\n (compositionstart)=\"onCompositionStart()\"\r\n (compositionend)=\"onCompositionEnd($event)\" />\r\n\r\n @if (_showInlineError) {\r\n <mat-error [id]=\"errorId\">{{ _errorMessage }}</mat-error>\r\n } @else if (_labelTop && _helperText) {\r\n <!-- why: helper text c\u1EE7a nh\u00E3n r\u1EDDi l\u00E0 d\u00F2ng ch\u1EEF th\u1EADt (kh\u00F4ng ph\u1EA3i icon tooltip) v\u00E0 b\u1ECB thay b\u1EB1ng\r\n l\u1ED7i khi control l\u1ED7i. mat-form-field t\u1EF1 n\u1ED1i id c\u1EE7a hint v\u00E0o aria-describedby c\u1EE7a input. -->\r\n <mat-hint [id]=\"hintId\">{{ _helperText }}</mat-hint>\r\n }\r\n\r\n <!-- why: n\u00FAt clear render TR\u01AF\u1EDAC error icon. Clear hover-gated (visibility:hidden) v\u1EABn\r\n chi\u1EBFm ch\u1ED7 trong layout \u2192 n\u1EBFu \u0111\u1EE9ng sau s\u1EBD \u0111\u1EA9y error icon \"t\u1EE5t v\u00E0o trong\". \u0110\u1EE9ng tr\u01B0\u1EDBc\r\n th\u00EC error icon n\u1EB1m s\u00E1t m\u00E9p ph\u1EA3i, clear gi\u1EEF slot v\u00F4 h\u00ECnh b\u00EAn tr\u00E1i. -->\r\n @if (showClear()) {\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 @if (_hideInlineError && _errorMessage) {\r\n <sd-icon matSuffix class=\"sd-error-icon\" [matTooltip]=\"_errorMessage\" matTooltipPosition=\"above\" name=\"error\"></sd-icon>\n }\r\n @if (_hideInlineError && _errorMessage) {\r\n <span class=\"sd-visually-hidden\" [id]=\"errorId\" matSuffix>{{ _errorMessage }}</span>\r\r\n }\r\n\r\n @if (sdSuffixDef()?.templateRef; as suffixRef) {\r\n <ng-container matSuffix>\r\n <ng-container *ngTemplateOutlet=\"suffixRef\"></ng-container>\r\n </ng-container>\r\n }\r\n <!-- <ng-container matSuffix>\r\n <ng-content select=\"[sdSuffix]\"></ng-content>\r\n </ng-container> -->\r\n </mat-form-field>\r\n\r\n @if (_maxLength && !_hideInlineError && !formControl.disabled) {\r\n <div\r\n class=\"sd-maxlength-counter\"\r\n [class.sd-maxlength-counter--visible]=\"isFocused\"\r\n [class.sd-maxlength-counter--exceeded]=\"isMaxlengthExceeded()\"\r\n [attr.title]=\"isMaxlengthExceeded() ? ('core.form.input.exceeded' | sdTranslate) : null\">\r\n {{ getCurrentLength() }}/{{ _maxLength }}\r\n </div>\r\n }\r\n </div>\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}.sd-input-inline{display:inline-flex;align-items:center;gap:4px;max-width:100%}.sd-input-inline__suffix{display:inline-flex;align-items:center;line-height:0}: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.mat-form-field-appearance-outline.mat-form-field-disabled .mat-mdc-text-field-wrapper{background:var(--sd-disabled-bg)}: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)}.sd-input-field-wrap{position:relative;flex:1;min-width:0}.sd-maxlength-counter{position:absolute;right:4px;top:calc(100% - 16px);opacity:0;font-size:var(--sd-font-size-10, 10px);line-height:1.1;color:#00000061;pointer-events:none;transition:opacity var(--sd-duration-fast, .12s) ease;z-index:1}.sd-maxlength-counter--exceeded{color:var(--sd-error);font-weight:var(--sd-font-weight-semibold, 600)}:host ::ng-deep .sd-input-container.c-focused .sd-maxlength-counter,:host ::ng-deep .sd-input-container:hover .sd-maxlength-counter,:host ::ng-deep .sd-input-container .sd-maxlength-counter.sd-maxlength-counter--visible{opacity:1}.sd-md:hover .btn-copy{visibility:visible}\n"] }]
692
- }], ctorParameters: () => [], propDecorators: { control: [{ type: i0.ViewChild, args: ['control', { isSignal: true }] }], inlineRef: [{ type: i0.ViewChild, args: [i0.forwardRef(() => SdInlineText), { isSignal: true }] }], sdLabelTemplate: [{ type: i0.ContentChild, args: ['sdLabel', { isSignal: true }] }], sdValueTemplate: [{ type: i0.ContentChild, args: ['sdValue', { isSignal: true }] }], sdSuffixDef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SdSuffixDefDirective), { isSignal: true }] }], sdViewDef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SdViewDefDirective), { isSignal: true }] }], autoIdInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoId", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", 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 }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], 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 }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], mask: [{ type: i0.Input, args: [{ isSignal: true, alias: "mask", required: false }] }], inputmodeInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputmode", required: false }] }], autocomplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autocomplete", required: false }] }], hideInlineError: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideInlineError", required: false }] }], blurOnEnter: [{ type: i0.Input, args: [{ isSignal: true, alias: "blurOnEnter", required: false }] }], clearable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearable", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], viewed: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewed", required: false }] }], minlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "minlength", required: false }] }], maxlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxlength", required: false }] }], pattern: [{ type: i0.Input, args: [{ isSignal: true, alias: "pattern", required: false }] }], patternErrorMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "patternErrorMessage", required: false }] }], validator: [{ type: i0.Input, args: [{ isSignal: true, alias: "validator", required: false }] }], inlineError: [{ type: i0.Input, args: [{ isSignal: true, alias: "inlineError", required: false }] }], hyperlink: [{ type: i0.Input, args: [{ isSignal: true, alias: "hyperlink", 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"] }], sdBlur: [{ type: i0.Output, args: ["sdBlur"] }], keyupEnter: [{ type: i0.Output, args: ["keyupEnter"] }], cleared: [{ type: i0.Output, args: ["cleared"] }], sdFocusForceBlur: [{
738
+ ], template: "@let _label = label();\r\n@let _appearance = appearance();\r\n@let _hideInlineError = hideInlineError();\r\n@let _helperText = helperText();\r\n@let _maxLength = maxlength();\r\n@let _errorMessage = visibleErrorMessage();\r\n@let _required = required();\r\n@let _isInline = isInline();\r\n<!-- why: labelPlacement='top' = nh\u00E3n <label for> t\u0129nh ph\u00EDa tr\u00EAn; placeholder KH\u00D4NG c\u00F2n l\u1EA5y nh\u00E3n thay\r\n th\u1EBF (label v\u00E0 placeholder l\u00E0 hai n\u1ED9i dung ri\u00EAng), helper text th\u00E0nh <mat-hint> d\u01B0\u1EDBi control. -->\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<!-- why: c\u00F9ng M\u1ED8T c\u1ED5ng gate cho c\u1EA3 3 th\u1EE9 \u2014 hi\u1EC7n <mat-error>, b\u1EADt aria-invalid, v\u00E0 tr\u1ECF\r\n aria-describedby. Tr\u01B0\u1EDBc \u0111\u00E2y message hi\u1EC7n m\u00E0 control kh\u00F4ng h\u1EC1 b\u00E1o invalid, n\u00EAn screen\r\n reader \u0111\u1ECDc xong \u00F4 nh\u1EADp v\u1EABn kh\u00F4ng bi\u1EBFt l\u00E0 \u0111ang l\u1ED7i. -->\r\n@let _showInlineError = !_hideInlineError && !!_errorMessage;\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]=\"displayValue()\"\r\n [hyperlink]=\"hyperlink()\"\r\n [valueTemplate]=\"viewTemplate()\">\r\n </sd-view>\r\n} @else if (_isInline) {\r\n <!-- why: nh\u00E1nh inline PH\u1EA2I project `sdSuffixDef` gi\u1ED1ng nh\u00E1nh mat-form-field. Tr\u01B0\u1EDBc \u0111\u00E2y ch\u1EC9\r\n <sd-inline-text> \u0111\u01B0\u1EE3c render, n\u00EAn <sd-input-color viewed=\"'inline'\"> m\u1EA5t lu\u00F4n swatch v\u00E0\r\n <input type=\"color\"> \u1EA9n \u2014 openPicker() g\u1ECDi \u0111\u01B0\u1EE3c nh\u01B0ng kh\u00F4ng c\u00F3 element n\u00E0o \u0111\u1EC3 click, t\u1EE9c\r\n l\u00E0 no-op c\u00E2m. <sd-inline-text> l\u00E0 inline-flex t\u1EF1 hug n\u1ED9i dung n\u00EAn ch\u1EC9 c\u1EA7n m\u1ED9t h\u00E0ng flex. -->\r\n <div class=\"sd-input-inline\">\r\n <sd-inline-text\r\n [control]=\"activeControl()\"\r\n [placeholder]=\"placeholder() || _label || ''\"\r\n [clearable]=\"clearable() && !_required\"\r\n [autoId]=\"autoId()\"\r\n [state]=\"connectorState().invalid ? 'error' : 'auto'\"\r\n (sdFocus)=\"onFocus()\"\r\n (sdBlur)=\"onBlur()\"\r\n (keyupEnter)=\"onKeyupEnter()\"\r\n (cleared)=\"cleared.emit()\">\r\n </sd-inline-text>\r\n\r\n @if (sdSuffixDef()?.templateRef; as suffixRef) {\r\n <span class=\"sd-input-inline__suffix\">\r\n <ng-container *ngTemplateOutlet=\"suffixRef\"></ng-container>\r\n </span>\r\n }\r\n </div>\r\n} @else {\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 n\u00E0y CH\u1EC8 l\u00E0 h\u1ED9p layout. N\u00F3 t\u1EEBng mang aria-hidden=\"true\" \u0111\u1EC3 d\u1EADp c\u1EA3nh b\u00E1o lint \u2014\r\n v\u00E0 aria-hidden \u1EA9n C\u1EA2 c\u00E2y con, n\u00EAn label, <input>, <mat-error> l\u1EABn n\u00FAt clear bi\u1EBFn m\u1EA5t\r\n kh\u1ECFi accessibility tree c\u00F9ng l\u00FAc. role=\"presentation\" ch\u1EC9 v\u00F4 hi\u1EC7u ho\u00E1 ch\u00EDnh div (KH\u00D4NG\r\n lan xu\u1ED1ng con), c\u00F2n (click) ch\u1EC9 l\u00E0 ti\u1EC7n \u00EDch chu\u1ED9t: b\u00E0n ph\u00EDm Tab th\u1EB3ng v\u00E0o <input> v\u00E0\r\n nh\u1EADn \u0111\u00FAng k\u1EBFt qu\u1EA3 \u0111\u00F3, n\u00EAn kh\u00F4ng c\u1EA7n th\u00EAm key handler. -->\r\n <div\r\n class=\"d-flex align-items-center sd-input-container\"\r\n role=\"presentation\"\r\n [class.c-focused]=\"isFocused\"\r\n [class.c-disabled]=\"formControl.disabled\"\r\n (click)=\"onClick()\">\r\n <div class=\"sd-input-field-wrap\">\r\n <mat-form-field\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>. Input v\u1EABn focus \u0111\u01B0\u1EE3c b\u1EB1ng Tab, n\u00EAn\r\n aria-hidden khi\u1EBFn screen reader \u0111\u1ECDc ra\u2026 kh\u00F4ng g\u00EC c\u1EA3 \u2014 t\u1EC7 h\u01A1n l\u00E0 kh\u00F4ng l\u00E0m g\u00EC. -->\r\n <input\r\n [id]=\"id\"\r\n [formControl]=\"activeControl()\"\r\n [type]=\"effectiveType()\"\r\n #control\r\n matInput\r\n [placeholder]=\"_placeholder\"\r\n (keyup.enter)=\"onKeyupEnter()\"\r\n (focus)=\"onFocus()\"\r\n (blur)=\"onBlur()\"\r\n [required]=\"_required\"\r\n [readonly]=\"isReadonly()\"\r\n [autocomplete]=\"autocomplete() || id\"\r\n autocorrect=\"off\"\r\n [step]=\"1\"\r\n [attr.inputmode]=\"inputMode()\"\r\n [attr.maxlength]=\"maxDisplayLength()\"\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-maxlength]=\"dataMaxLength()\"\r\n [attr.data-minlength]=\"dataMinLength()\"\r\n [attr.data-pattern]=\"dataPattern()\"\r\n [attr.data-error-message]=\"dataErrorMessage()\"\r\n [attr.aria-invalid]=\"_errorMessage ? 'true' : null\"\r\n [attr.aria-describedby]=\"_errorMessage ? errorId : null\"\r\n (compositionstart)=\"onCompositionStart()\"\r\n (compositionend)=\"onCompositionEnd($event)\" />\r\n\r\n @if (_showInlineError) {\r\n <mat-error [id]=\"errorId\">{{ _errorMessage }}</mat-error>\r\n } @else if (_labelTop && _helperText) {\r\n <!-- why: helper text c\u1EE7a nh\u00E3n r\u1EDDi l\u00E0 d\u00F2ng ch\u1EEF th\u1EADt (kh\u00F4ng ph\u1EA3i icon tooltip) v\u00E0 b\u1ECB thay b\u1EB1ng\r\n l\u1ED7i khi control l\u1ED7i. mat-form-field t\u1EF1 n\u1ED1i id c\u1EE7a hint v\u00E0o aria-describedby c\u1EE7a input. -->\r\n <mat-hint [id]=\"hintId\">{{ _helperText }}</mat-hint>\r\n }\r\n\r\n <!-- why: n\u00FAt clear render TR\u01AF\u1EDAC error icon. Clear hover-gated (visibility:hidden) v\u1EABn\r\n chi\u1EBFm ch\u1ED7 trong layout \u2192 n\u1EBFu \u0111\u1EE9ng sau s\u1EBD \u0111\u1EA9y error icon \"t\u1EE5t v\u00E0o trong\". \u0110\u1EE9ng tr\u01B0\u1EDBc\r\n th\u00EC error icon n\u1EB1m s\u00E1t m\u00E9p ph\u1EA3i, clear gi\u1EEF slot v\u00F4 h\u00ECnh b\u00EAn tr\u00E1i. -->\r\n @if (showClear()) {\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 @if (_hideInlineError && _errorMessage) {\r\n <sd-icon matSuffix class=\"sd-error-icon\" [matTooltip]=\"_errorMessage\" matTooltipPosition=\"above\" name=\"error\"></sd-icon>\n }\r\n @if (_hideInlineError && _errorMessage) {\r\n <span class=\"sd-visually-hidden\" [id]=\"errorId\" matSuffix>{{ _errorMessage }}</span>\r\r\n }\r\n\r\n @if (sdSuffixDef()?.templateRef; as suffixRef) {\r\n <ng-container matSuffix>\r\n <ng-container *ngTemplateOutlet=\"suffixRef\"></ng-container>\r\n </ng-container>\r\n }\r\n <!-- <ng-container matSuffix>\r\n <ng-content select=\"[sdSuffix]\"></ng-content>\r\n </ng-container> -->\r\n </mat-form-field>\r\n\r\n @if (_maxLength && !_hideInlineError && !formControl.disabled) {\r\n <div\r\n class=\"sd-maxlength-counter\"\r\n [class.sd-maxlength-counter--visible]=\"isFocused\"\r\n [class.sd-maxlength-counter--exceeded]=\"isMaxlengthExceeded()\"\r\n [attr.title]=\"isMaxlengthExceeded() ? ('core.form.input.exceeded' | sdTranslate) : null\">\r\n {{ getCurrentLength() }}/{{ _maxLength }}\r\n </div>\r\n }\r\n </div>\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}.sd-input-inline{display:inline-flex;align-items:center;gap:4px;max-width:100%}.sd-input-inline__suffix{display:inline-flex;align-items:center;line-height:0}: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)}.sd-input-field-wrap{position:relative;flex:1;min-width:0}.sd-maxlength-counter{position:absolute;right:4px;top:calc(100% - 16px);opacity:0;font-size:var(--sd-font-size-10, 10px);line-height:1.1;color:#00000061;pointer-events:none;transition:opacity var(--sd-duration-fast, .12s) ease;z-index:1}.sd-maxlength-counter--exceeded{color:var(--sd-error);font-weight:var(--sd-font-weight-semibold, 600)}:host ::ng-deep .sd-input-container.c-focused .sd-maxlength-counter,:host ::ng-deep .sd-input-container:hover .sd-maxlength-counter,:host ::ng-deep .sd-input-container .sd-maxlength-counter.sd-maxlength-counter--visible{opacity:1}.sd-md:hover .btn-copy{visibility:visible}\n"] }]
739
+ }], ctorParameters: () => [], propDecorators: { control: [{ type: i0.ViewChild, args: ['control', { isSignal: true }] }], inlineRef: [{ type: i0.ViewChild, args: [i0.forwardRef(() => SdInlineText), { isSignal: true }] }], sdLabelTemplate: [{ type: i0.ContentChild, args: ['sdLabel', { isSignal: true }] }], sdValueTemplate: [{ type: i0.ContentChild, args: ['sdValue', { isSignal: true }] }], sdSuffixDef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SdSuffixDefDirective), { isSignal: true }] }], sdViewDef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SdViewDefDirective), { isSignal: true }] }], autoIdInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoId", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", 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 }] }], 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 }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], mask: [{ type: i0.Input, args: [{ isSignal: true, alias: "mask", required: false }] }], inputmodeInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputmode", required: false }] }], autocomplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autocomplete", required: false }] }], hideInlineError: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideInlineError", required: false }] }], blurOnEnter: [{ type: i0.Input, args: [{ isSignal: true, alias: "blurOnEnter", required: false }] }], clearable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearable", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], viewed: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewed", required: false }] }], minlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "minlength", required: false }] }], maxlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxlength", required: false }] }], pattern: [{ type: i0.Input, args: [{ isSignal: true, alias: "pattern", required: false }] }], patternErrorMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "patternErrorMessage", required: false }] }], validator: [{ type: i0.Input, args: [{ isSignal: true, alias: "validator", required: false }] }], inlineError: [{ type: i0.Input, args: [{ isSignal: true, alias: "inlineError", required: false }] }], hyperlink: [{ type: i0.Input, args: [{ isSignal: true, alias: "hyperlink", 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"] }], sdBlur: [{ type: i0.Output, args: ["sdBlur"] }], keyupEnter: [{ type: i0.Output, args: ["keyupEnter"] }], cleared: [{ type: i0.Output, args: ["cleared"] }], sdFocusForceBlur: [{
693
740
  type: Output
694
741
  }] } });
695
742