@sdcorejs/angular 19.3.1 → 19.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 (660) 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 +1 -0
  17. package/components/avatar/src/avatar-group.component.d.ts +43 -0
  18. package/components/avatar/src/avatar.component.d.ts +23 -1
  19. package/components/badge/index.d.ts +3 -0
  20. package/components/badge/src/badge-picker.component.d.ts +148 -0
  21. package/components/badge/src/badge-picker.constants.d.ts +18 -0
  22. package/components/badge/src/badge.component.d.ts +24 -3
  23. package/components/badge/src/badge.model.d.ts +19 -0
  24. package/components/button/src/button.component.d.ts +20 -1
  25. package/components/ckeditor-styles/src/ckeditor-styles.component.d.ts +3 -18
  26. package/components/editor/index.d.ts +1 -0
  27. package/components/editor/src/editor.component.d.ts +17 -15
  28. package/components/editor/src/models/editor.model.d.ts +5 -4
  29. package/components/editor/src/plugins/image-upload/utils/validate.utils.d.ts +5 -2
  30. package/components/editor/src/upload-manager.d.ts +21 -0
  31. package/components/editor-engine/index.d.ts +3 -0
  32. package/components/editor-engine/src/engine/editor-engine.d.ts +68 -0
  33. package/components/editor-engine/src/engine/editor-engine.models.d.ts +51 -0
  34. package/components/editor-engine/src/engine/editor-html-boundary.d.ts +6 -0
  35. package/components/editor-engine/src/engine/editor-schema.d.ts +3 -0
  36. package/components/editor-engine/src/surface/editor-surface.component.d.ts +50 -0
  37. package/components/editor-engine/src/toolbar/editor-button.directive.d.ts +17 -0
  38. package/components/editor-engine/src/toolbar/editor-toolbar.component.d.ts +78 -0
  39. package/components/file-explorer/src/components/actions.component.d.ts +1 -0
  40. package/components/file-explorer/src/file-explorer.model.d.ts +4 -2
  41. package/components/file-explorer/src/file-explorer.utils.d.ts +6 -2
  42. package/components/form-generic/src/components/elements/button-element.component.d.ts +16 -0
  43. package/components/form-generic/src/components/elements/index.d.ts +2 -0
  44. package/components/form-generic/src/components/elements/static-element.component.d.ts +26 -0
  45. package/components/form-generic/src/components/form-builder/canvas/field-preview.component.d.ts +10 -0
  46. package/components/form-generic/src/components/form-builder/form-builder.component.d.ts +9 -4
  47. package/components/form-generic/src/components/form-builder/inspector/inspector.component.d.ts +46 -0
  48. package/components/form-generic/src/components/form-builder/state/builder-document.d.ts +9 -1
  49. package/components/form-generic/src/components/form-builder/state/builder-palette.d.ts +2 -2
  50. package/components/form-generic/src/components/form-builder/state/builder-store.d.ts +13 -1
  51. package/components/form-generic/src/components/form-render/components/item/components/index.d.ts +2 -0
  52. package/components/form-generic/src/components/form-render/components/item/components/json/json.component.d.ts +26 -0
  53. package/components/form-generic/src/components/form-render/components/item/components/time/time.component.d.ts +17 -0
  54. package/components/form-generic/src/components/form-render/form-render.component.d.ts +64 -6
  55. package/components/form-generic/src/models/form-generic-element.model.d.ts +128 -0
  56. package/components/form-generic/src/models/form-generic-field.model.d.ts +5 -1
  57. package/components/form-generic/src/models/form-generic-schema.d.ts +9 -1
  58. package/components/form-generic/src/models/form-generic-schema.model.d.ts +7 -3
  59. package/components/form-generic/src/models/index.d.ts +1 -0
  60. package/components/form-generic/src/rules/form-generic-button.d.ts +21 -0
  61. package/components/form-generic/src/rules/form-generic-display.d.ts +2 -0
  62. package/components/form-generic/src/rules/form-generic-filter.d.ts +21 -3
  63. package/components/form-generic/src/rules/form-generic-url.d.ts +10 -0
  64. package/components/form-generic/src/rules/form-generic-validation.d.ts +13 -0
  65. package/components/history/pipes/view-date.pipe.d.ts +1 -0
  66. package/components/import-excel/src/pipes/column-transform.pipe.d.ts +1 -0
  67. package/components/index.d.ts +1 -0
  68. package/components/mini-editor/index.d.ts +1 -0
  69. package/components/mini-editor/src/mini-editor.component.d.ts +25 -62
  70. package/components/mini-editor/src/mini-editor.model.d.ts +9 -9
  71. package/components/modal-resizable/src/modal-resizable.component.d.ts +3 -121
  72. package/components/operator/index.d.ts +2 -0
  73. package/components/operator/src/operator-chip.component.d.ts +72 -0
  74. package/components/operator/src/operator-items.d.ts +49 -0
  75. package/components/operator/src/operator.component.d.ts +18 -11
  76. package/components/section/index.d.ts +1 -0
  77. package/components/section/src/section-registry.d.ts +11 -0
  78. package/components/splitter/index.d.ts +1 -1
  79. package/components/tab-router/src/actions/tab-router.action.d.ts +1 -1
  80. package/components/tab-router/src/components/tab-router-item/tab-router-item.component.d.ts +8 -1
  81. package/components/tab-router/src/components/tab-router-list-item/tab-router-list-item.component.d.ts +17 -0
  82. package/components/tab-router/src/components/tab-router-nav/tab-router-nav.component.d.ts +50 -9
  83. package/components/tab-router/src/components/tab-router-outlet/tab-router-outlet.component.d.ts +6 -1
  84. package/components/tab-router/src/models/tab-router.model.d.ts +5 -0
  85. package/components/tab-router/src/pipes/tab-info.pipe.d.ts +7 -0
  86. package/components/tab-router/src/services/tab-router.service.d.ts +5 -0
  87. package/components/table/index.d.ts +2 -0
  88. package/components/table/src/components/filter/column-filter/column-filter.component.d.ts +7 -0
  89. package/components/table/src/components/filter/external-filter/external-filter.component.d.ts +5 -1
  90. package/components/table/src/components/mobile-cards/mobile-cards.component.d.ts +4 -0
  91. package/components/table/src/components/unknown-total-paginator/unknown-total-paginator.component.d.ts +52 -0
  92. package/components/table/src/configurations/index.d.ts +1 -0
  93. package/components/table/src/configurations/table-layout.d.ts +16 -0
  94. package/components/table/src/configurations/table.configuration.d.ts +3 -1
  95. package/components/table/src/models/index.d.ts +1 -0
  96. package/components/table/src/models/table-column.model.d.ts +3 -10
  97. package/components/table/src/models/table-item.model.d.ts +4 -1
  98. package/components/table/src/models/table-option-loading.model.d.ts +42 -0
  99. package/components/table/src/models/table-option-paginate.model.d.ts +14 -0
  100. package/components/table/src/models/table-option.model.d.ts +31 -5
  101. package/components/table/src/services/table-aggregate.util.d.ts +6 -1
  102. package/components/table/src/services/table-export/table-export.service.d.ts +4 -3
  103. package/components/table/src/services/table-filter/table-filter-operator.util.d.ts +16 -0
  104. package/components/table/src/services/table-filter/table-filter.model.d.ts +12 -0
  105. package/components/table/src/services/table-loading/table-loading.util.d.ts +91 -0
  106. package/components/table/src/services/table-local/table-local-sort.util.d.ts +8 -2
  107. package/components/table/src/services/table-local/table-local.util.d.ts +7 -2
  108. package/components/table/src/services/table-paging/unknown-total.util.d.ts +28 -0
  109. package/components/table/src/services/tree/tree.util.d.ts +2 -0
  110. package/components/table/src/table.component.d.ts +39 -0
  111. package/components/upload-file/src/components/file-type-icon/file-type-icon.component.d.ts +15 -0
  112. package/components/upload-file/src/components/preview/preview.component.d.ts +88 -10
  113. package/components/upload-file/src/configurations/upload-file.configuration.d.ts +1 -1
  114. package/components/upload-file/src/helpers/file-type.d.ts +25 -0
  115. package/components/upload-file/src/pipes/file-meta.pipe.d.ts +9 -0
  116. package/components/upload-file/src/pipes/file-reason.pipe.d.ts +11 -0
  117. package/components/upload-file/src/pipes/index.d.ts +2 -0
  118. package/components/upload-file/src/upload-file.component.d.ts +89 -8
  119. package/components/window/index.d.ts +1 -0
  120. package/components/window/src/window.component.d.ts +77 -0
  121. package/components/{modal-resizable/src/modal-resizable.registry.d.ts → window/src/window.registry.d.ts} +7 -4
  122. package/configurations/src/sd-core.configuration.d.ts +7 -0
  123. package/fesm2022/sdcorejs-angular-components-api-contract-builder.mjs +5 -5
  124. package/fesm2022/sdcorejs-angular-components-api-contract-builder.mjs.map +1 -1
  125. package/fesm2022/sdcorejs-angular-components-avatar.mjs +141 -10
  126. package/fesm2022/sdcorejs-angular-components-avatar.mjs.map +1 -1
  127. package/fesm2022/sdcorejs-angular-components-badge.mjs +546 -22
  128. package/fesm2022/sdcorejs-angular-components-badge.mjs.map +1 -1
  129. package/fesm2022/sdcorejs-angular-components-button.mjs +32 -2
  130. package/fesm2022/sdcorejs-angular-components-button.mjs.map +1 -1
  131. package/fesm2022/sdcorejs-angular-components-ckeditor-styles.mjs +5 -20
  132. package/fesm2022/sdcorejs-angular-components-ckeditor-styles.mjs.map +1 -1
  133. package/fesm2022/sdcorejs-angular-components-data-state.mjs +1 -1
  134. package/fesm2022/sdcorejs-angular-components-data-state.mjs.map +1 -1
  135. package/fesm2022/sdcorejs-angular-components-editor-engine.mjs +1872 -0
  136. package/fesm2022/sdcorejs-angular-components-editor-engine.mjs.map +1 -0
  137. package/fesm2022/sdcorejs-angular-components-editor.mjs +456 -755
  138. package/fesm2022/sdcorejs-angular-components-editor.mjs.map +1 -1
  139. package/fesm2022/sdcorejs-angular-components-file-explorer.mjs +68 -37
  140. package/fesm2022/sdcorejs-angular-components-file-explorer.mjs.map +1 -1
  141. package/fesm2022/sdcorejs-angular-components-form-generic.mjs +2119 -1160
  142. package/fesm2022/sdcorejs-angular-components-form-generic.mjs.map +1 -1
  143. package/fesm2022/sdcorejs-angular-components-history.mjs +5 -2
  144. package/fesm2022/sdcorejs-angular-components-history.mjs.map +1 -1
  145. package/fesm2022/sdcorejs-angular-components-image-editor.mjs +1 -1
  146. package/fesm2022/sdcorejs-angular-components-image-editor.mjs.map +1 -1
  147. package/fesm2022/sdcorejs-angular-components-import-excel.mjs +21 -6
  148. package/fesm2022/sdcorejs-angular-components-import-excel.mjs.map +1 -1
  149. package/fesm2022/sdcorejs-angular-components-inform.mjs +1 -1
  150. package/fesm2022/sdcorejs-angular-components-inform.mjs.map +1 -1
  151. package/fesm2022/sdcorejs-angular-components-kanban.mjs +12 -2
  152. package/fesm2022/sdcorejs-angular-components-kanban.mjs.map +1 -1
  153. package/fesm2022/sdcorejs-angular-components-mini-editor.mjs +175 -281
  154. package/fesm2022/sdcorejs-angular-components-mini-editor.mjs.map +1 -1
  155. package/fesm2022/sdcorejs-angular-components-modal-resizable.mjs +1 -308
  156. package/fesm2022/sdcorejs-angular-components-modal-resizable.mjs.map +1 -1
  157. package/fesm2022/sdcorejs-angular-components-modal.mjs +2 -2
  158. package/fesm2022/sdcorejs-angular-components-modal.mjs.map +1 -1
  159. package/fesm2022/sdcorejs-angular-components-operator.mjs +261 -42
  160. package/fesm2022/sdcorejs-angular-components-operator.mjs.map +1 -1
  161. package/fesm2022/sdcorejs-angular-components-query-bar.mjs +12 -12
  162. package/fesm2022/sdcorejs-angular-components-query-bar.mjs.map +1 -1
  163. package/fesm2022/sdcorejs-angular-components-query-builder.mjs +1 -1
  164. package/fesm2022/sdcorejs-angular-components-query-builder.mjs.map +1 -1
  165. package/fesm2022/sdcorejs-angular-components-section.mjs +17 -5
  166. package/fesm2022/sdcorejs-angular-components-section.mjs.map +1 -1
  167. package/fesm2022/sdcorejs-angular-components-side-drawer.mjs +2 -2
  168. package/fesm2022/sdcorejs-angular-components-side-drawer.mjs.map +1 -1
  169. package/fesm2022/sdcorejs-angular-components-splitter.mjs.map +1 -1
  170. package/fesm2022/sdcorejs-angular-components-tab-router.mjs +557 -92
  171. package/fesm2022/sdcorejs-angular-components-tab-router.mjs.map +1 -1
  172. package/fesm2022/sdcorejs-angular-components-table.mjs +1000 -118
  173. package/fesm2022/sdcorejs-angular-components-table.mjs.map +1 -1
  174. package/fesm2022/sdcorejs-angular-components-tree.mjs +1 -1
  175. package/fesm2022/sdcorejs-angular-components-tree.mjs.map +1 -1
  176. package/fesm2022/sdcorejs-angular-components-upload-file.mjs +886 -173
  177. package/fesm2022/sdcorejs-angular-components-upload-file.mjs.map +1 -1
  178. package/fesm2022/sdcorejs-angular-components-view.mjs +2 -2
  179. package/fesm2022/sdcorejs-angular-components-view.mjs.map +1 -1
  180. package/fesm2022/sdcorejs-angular-components-window.mjs +486 -0
  181. package/fesm2022/sdcorejs-angular-components-window.mjs.map +1 -0
  182. package/fesm2022/sdcorejs-angular-components.mjs +1 -0
  183. package/fesm2022/sdcorejs-angular-components.mjs.map +1 -1
  184. package/fesm2022/sdcorejs-angular-configurations.mjs.map +1 -1
  185. package/fesm2022/sdcorejs-angular-directives.mjs +18 -1
  186. package/fesm2022/sdcorejs-angular-directives.mjs.map +1 -1
  187. package/fesm2022/sdcorejs-angular-forms-autocomplete.mjs +20 -2
  188. package/fesm2022/sdcorejs-angular-forms-autocomplete.mjs.map +1 -1
  189. package/fesm2022/sdcorejs-angular-forms-checkbox.mjs +2 -2
  190. package/fesm2022/sdcorejs-angular-forms-checkbox.mjs.map +1 -1
  191. package/fesm2022/sdcorejs-angular-forms-chip-calendar.mjs +462 -124
  192. package/fesm2022/sdcorejs-angular-forms-chip-calendar.mjs.map +1 -1
  193. package/fesm2022/sdcorejs-angular-forms-chip.mjs +421 -121
  194. package/fesm2022/sdcorejs-angular-forms-chip.mjs.map +1 -1
  195. package/fesm2022/sdcorejs-angular-forms-date-range.mjs +78 -12
  196. package/fesm2022/sdcorejs-angular-forms-date-range.mjs.map +1 -1
  197. package/fesm2022/sdcorejs-angular-forms-date.mjs +74 -17
  198. package/fesm2022/sdcorejs-angular-forms-date.mjs.map +1 -1
  199. package/fesm2022/sdcorejs-angular-forms-datetime.mjs +79 -16
  200. package/fesm2022/sdcorejs-angular-forms-datetime.mjs.map +1 -1
  201. package/fesm2022/sdcorejs-angular-forms-directives.mjs +82 -2
  202. package/fesm2022/sdcorejs-angular-forms-directives.mjs.map +1 -1
  203. package/fesm2022/sdcorejs-angular-forms-entity-picker.mjs +2 -2
  204. package/fesm2022/sdcorejs-angular-forms-entity-picker.mjs.map +1 -1
  205. package/fesm2022/sdcorejs-angular-forms-input-color.mjs +1 -1
  206. package/fesm2022/sdcorejs-angular-forms-input-color.mjs.map +1 -1
  207. package/fesm2022/sdcorejs-angular-forms-input-number.mjs +55 -5
  208. package/fesm2022/sdcorejs-angular-forms-input-number.mjs.map +1 -1
  209. package/fesm2022/sdcorejs-angular-forms-input.mjs +53 -6
  210. package/fesm2022/sdcorejs-angular-forms-input.mjs.map +1 -1
  211. package/fesm2022/sdcorejs-angular-forms-models.mjs +88 -5
  212. package/fesm2022/sdcorejs-angular-forms-models.mjs.map +1 -1
  213. package/fesm2022/sdcorejs-angular-forms-radio.mjs +2 -2
  214. package/fesm2022/sdcorejs-angular-forms-radio.mjs.map +1 -1
  215. package/fesm2022/sdcorejs-angular-forms-segmented.mjs +5 -4
  216. package/fesm2022/sdcorejs-angular-forms-segmented.mjs.map +1 -1
  217. package/fesm2022/sdcorejs-angular-forms-select.mjs +86 -32
  218. package/fesm2022/sdcorejs-angular-forms-select.mjs.map +1 -1
  219. package/fesm2022/sdcorejs-angular-forms-switch.mjs +2 -2
  220. package/fesm2022/sdcorejs-angular-forms-switch.mjs.map +1 -1
  221. package/fesm2022/sdcorejs-angular-forms-textarea.mjs +16 -3
  222. package/fesm2022/sdcorejs-angular-forms-textarea.mjs.map +1 -1
  223. package/fesm2022/sdcorejs-angular-forms-time.mjs +2 -2
  224. package/fesm2022/sdcorejs-angular-forms-time.mjs.map +1 -1
  225. package/fesm2022/sdcorejs-angular-forms-tree-select.mjs +1 -1
  226. package/fesm2022/sdcorejs-angular-forms-tree-select.mjs.map +1 -1
  227. package/fesm2022/sdcorejs-angular-i18n.mjs +1745 -22
  228. package/fesm2022/sdcorejs-angular-i18n.mjs.map +1 -1
  229. package/fesm2022/sdcorejs-angular-interceptors.mjs +1 -1
  230. package/fesm2022/sdcorejs-angular-interceptors.mjs.map +1 -1
  231. package/fesm2022/sdcorejs-angular-modules-generic-generic-configuration.page-Bk3PrEf3.mjs +478 -0
  232. package/fesm2022/sdcorejs-angular-modules-generic-generic-configuration.page-Bk3PrEf3.mjs.map +1 -0
  233. package/fesm2022/sdcorejs-angular-modules-generic-generic-form-host.page-CwUegGgG.mjs +214 -0
  234. package/fesm2022/sdcorejs-angular-modules-generic-generic-form-host.page-CwUegGgG.mjs.map +1 -0
  235. package/fesm2022/sdcorejs-angular-modules-generic-generic-list.page-lF2trhfp.mjs +277 -0
  236. package/fesm2022/sdcorejs-angular-modules-generic-generic-list.page-lF2trhfp.mjs.map +1 -0
  237. package/fesm2022/sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-BbmeOduc.mjs +1556 -0
  238. package/fesm2022/sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-BbmeOduc.mjs.map +1 -0
  239. package/fesm2022/sdcorejs-angular-modules-generic.mjs +2 -0
  240. package/fesm2022/sdcorejs-angular-modules-generic.mjs.map +1 -0
  241. package/fesm2022/sdcorejs-angular-modules-icon.mjs +96 -3
  242. package/fesm2022/sdcorejs-angular-modules-icon.mjs.map +1 -1
  243. package/fesm2022/sdcorejs-angular-modules-layout.mjs +2053 -35
  244. package/fesm2022/sdcorejs-angular-modules-layout.mjs.map +1 -1
  245. package/fesm2022/sdcorejs-angular-modules-pattern-api-error-BBWwQ6h2.mjs +23 -0
  246. package/fesm2022/sdcorejs-angular-modules-pattern-api-error-BBWwQ6h2.mjs.map +1 -0
  247. package/fesm2022/sdcorejs-angular-modules-pattern-approval-inbox-BMwD6_FC.mjs +16 -0
  248. package/fesm2022/sdcorejs-angular-modules-pattern-approval-inbox-BMwD6_FC.mjs.map +1 -0
  249. package/fesm2022/sdcorejs-angular-modules-pattern-base-api.service-CVEKaR8U.mjs +51 -0
  250. package/fesm2022/sdcorejs-angular-modules-pattern-base-api.service-CVEKaR8U.mjs.map +1 -0
  251. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-BqHybMk0.mjs +130 -0
  252. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-BqHybMk0.mjs.map +1 -0
  253. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-CND3d2zl.mjs +131 -0
  254. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-CND3d2zl.mjs.map +1 -0
  255. package/fesm2022/sdcorejs-angular-modules-pattern-create.component-BbDoQccI.mjs +99 -0
  256. package/fesm2022/sdcorejs-angular-modules-pattern-create.component-BbDoQccI.mjs.map +1 -0
  257. package/fesm2022/sdcorejs-angular-modules-pattern-create.component-CB_wJIP8.mjs +460 -0
  258. package/fesm2022/sdcorejs-angular-modules-pattern-create.component-CB_wJIP8.mjs.map +1 -0
  259. package/fesm2022/sdcorejs-angular-modules-pattern-create.component-DlP4BrhU.mjs +118 -0
  260. package/fesm2022/sdcorejs-angular-modules-pattern-create.component-DlP4BrhU.mjs.map +1 -0
  261. package/fesm2022/sdcorejs-angular-modules-pattern-customer.model-C3fr4yNw.mjs +18 -0
  262. package/fesm2022/sdcorejs-angular-modules-pattern-customer.model-C3fr4yNw.mjs.map +1 -0
  263. package/fesm2022/sdcorejs-angular-modules-pattern-customer.service-VAMePx_q.mjs +66 -0
  264. package/fesm2022/sdcorejs-angular-modules-pattern-customer.service-VAMePx_q.mjs.map +1 -0
  265. package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-BD79VR0c.mjs +148 -0
  266. package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-BD79VR0c.mjs.map +1 -0
  267. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-B1rFhbOc.mjs +172 -0
  268. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-B1rFhbOc.mjs.map +1 -0
  269. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-BhCjw6ZL.mjs +467 -0
  270. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-BhCjw6ZL.mjs.map +1 -0
  271. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-CnL2FzCx.mjs +90 -0
  272. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-CnL2FzCx.mjs.map +1 -0
  273. package/fesm2022/sdcorejs-angular-modules-pattern-flow.component-BeH-NYvE.mjs +514 -0
  274. package/fesm2022/sdcorejs-angular-modules-pattern-flow.component-BeH-NYvE.mjs.map +1 -0
  275. package/fesm2022/sdcorejs-angular-modules-pattern-form-api-errors-DpnYSG2j.mjs +61 -0
  276. package/fesm2022/sdcorejs-angular-modules-pattern-form-api-errors-DpnYSG2j.mjs.map +1 -0
  277. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-1bi0JZdf.mjs +170 -0
  278. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-1bi0JZdf.mjs.map +1 -0
  279. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-D6eKR2cq.mjs +87 -0
  280. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-D6eKR2cq.mjs.map +1 -0
  281. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-FcJS3Nbd.mjs +232 -0
  282. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-FcJS3Nbd.mjs.map +1 -0
  283. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-view.component-BA-3FR1J.mjs +70 -0
  284. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-view.component-BA-3FR1J.mjs.map +1 -0
  285. package/fesm2022/sdcorejs-angular-modules-pattern-index.component-BAZLCVci.mjs +100 -0
  286. package/fesm2022/sdcorejs-angular-modules-pattern-index.component-BAZLCVci.mjs.map +1 -0
  287. package/fesm2022/sdcorejs-angular-modules-pattern-lines-form.component-ikk0cK1M.mjs +522 -0
  288. package/fesm2022/sdcorejs-angular-modules-pattern-lines-form.component-ikk0cK1M.mjs.map +1 -0
  289. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-Cex41xzy.mjs +164 -0
  290. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-Cex41xzy.mjs.map +1 -0
  291. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-D643jEmo.mjs +629 -0
  292. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-D643jEmo.mjs.map +1 -0
  293. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DTWHhNNl.mjs +71 -0
  294. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DTWHhNNl.mjs.map +1 -0
  295. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-YJUJsrIZ.mjs +115 -0
  296. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-YJUJsrIZ.mjs.map +1 -0
  297. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-qH-YO6wP.mjs +118 -0
  298. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-qH-YO6wP.mjs.map +1 -0
  299. package/fesm2022/sdcorejs-angular-modules-pattern-mock-backend.factory-S0Vuy6Oc.mjs +1069 -0
  300. package/fesm2022/sdcorejs-angular-modules-pattern-mock-backend.factory-S0Vuy6Oc.mjs.map +1 -0
  301. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source-viewer-BpLQaYP5.mjs +186 -0
  302. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source-viewer-BpLQaYP5.mjs.map +1 -0
  303. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source.generated-BrejHvB2.mjs +97 -0
  304. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source.generated-BrejHvB2.mjs.map +1 -0
  305. package/fesm2022/sdcorejs-angular-modules-pattern-product.model-BoHLJ8vf.mjs +12 -0
  306. package/fesm2022/sdcorejs-angular-modules-pattern-product.model-BoHLJ8vf.mjs.map +1 -0
  307. package/fesm2022/sdcorejs-angular-modules-pattern-product.service-Ba73HPGG.mjs +48 -0
  308. package/fesm2022/sdcorejs-angular-modules-pattern-product.service-Ba73HPGG.mjs.map +1 -0
  309. package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-CBlN7eEn.mjs +295 -0
  310. package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-CBlN7eEn.mjs.map +1 -0
  311. package/fesm2022/sdcorejs-angular-modules-pattern-routes-BvzFafUW.mjs +74 -0
  312. package/fesm2022/sdcorejs-angular-modules-pattern-routes-BvzFafUW.mjs.map +1 -0
  313. package/fesm2022/sdcorejs-angular-modules-pattern-routes-C3uWi8JZ.mjs +165 -0
  314. package/fesm2022/sdcorejs-angular-modules-pattern-routes-C3uWi8JZ.mjs.map +1 -0
  315. package/fesm2022/sdcorejs-angular-modules-pattern-routes-C5ELCTEw.mjs +74 -0
  316. package/fesm2022/sdcorejs-angular-modules-pattern-routes-C5ELCTEw.mjs.map +1 -0
  317. package/fesm2022/sdcorejs-angular-modules-pattern-routes-ClQwnO4h.mjs +50 -0
  318. package/fesm2022/sdcorejs-angular-modules-pattern-routes-ClQwnO4h.mjs.map +1 -0
  319. package/fesm2022/sdcorejs-angular-modules-pattern-routes-DTUxYZ6g.mjs +66 -0
  320. package/fesm2022/sdcorejs-angular-modules-pattern-routes-DTUxYZ6g.mjs.map +1 -0
  321. package/fesm2022/sdcorejs-angular-modules-pattern-routes-DpCuYBlL.mjs +99 -0
  322. package/fesm2022/sdcorejs-angular-modules-pattern-routes-DpCuYBlL.mjs.map +1 -0
  323. package/fesm2022/sdcorejs-angular-modules-pattern-routes-DwZWxmJf.mjs +45 -0
  324. package/fesm2022/sdcorejs-angular-modules-pattern-routes-DwZWxmJf.mjs.map +1 -0
  325. package/fesm2022/sdcorejs-angular-modules-pattern-routes-ydOZduls.mjs +43 -0
  326. package/fesm2022/sdcorejs-angular-modules-pattern-routes-ydOZduls.mjs.map +1 -0
  327. package/fesm2022/sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-D3B5I9hg.mjs +406 -0
  328. package/fesm2022/sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-D3B5I9hg.mjs.map +1 -0
  329. package/fesm2022/sdcorejs-angular-modules-pattern-shell.component-BW-i6BHg.mjs +317 -0
  330. package/fesm2022/sdcorejs-angular-modules-pattern-shell.component-BW-i6BHg.mjs.map +1 -0
  331. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-By1mYFa_.mjs +132 -0
  332. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-By1mYFa_.mjs.map +1 -0
  333. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-DwcyKb4j.mjs +143 -0
  334. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-DwcyKb4j.mjs.map +1 -0
  335. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-BBR8360C.mjs +100 -0
  336. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-BBR8360C.mjs.map +1 -0
  337. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-CAtqPgIH.mjs +357 -0
  338. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-CAtqPgIH.mjs.map +1 -0
  339. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-DjMChf6s.mjs +128 -0
  340. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-DjMChf6s.mjs.map +1 -0
  341. package/fesm2022/sdcorejs-angular-modules-pattern.mjs +2 -0
  342. package/fesm2022/sdcorejs-angular-modules-pattern.mjs.map +1 -0
  343. package/fesm2022/sdcorejs-angular-modules.mjs +1 -0
  344. package/fesm2022/sdcorejs-angular-modules.mjs.map +1 -1
  345. package/fesm2022/sdcorejs-angular-pipes.mjs +27 -7
  346. package/fesm2022/sdcorejs-angular-pipes.mjs.map +1 -1
  347. package/fesm2022/sdcorejs-angular-services-confirm.mjs +1 -1
  348. package/fesm2022/sdcorejs-angular-services-confirm.mjs.map +1 -1
  349. package/fesm2022/sdcorejs-angular-services-date-time.mjs +143 -0
  350. package/fesm2022/sdcorejs-angular-services-date-time.mjs.map +1 -0
  351. package/fesm2022/sdcorejs-angular-services-storage.mjs +44 -8
  352. package/fesm2022/sdcorejs-angular-services-storage.mjs.map +1 -1
  353. package/fesm2022/sdcorejs-angular-services-unsaved-changes.mjs +104 -4
  354. package/fesm2022/sdcorejs-angular-services-unsaved-changes.mjs.map +1 -1
  355. package/fesm2022/sdcorejs-angular-services.mjs +1 -0
  356. package/fesm2022/sdcorejs-angular-services.mjs.map +1 -1
  357. package/fesm2022/sdcorejs-angular-utilities-read-state.mjs +4 -0
  358. package/fesm2022/sdcorejs-angular-utilities-read-state.mjs.map +1 -1
  359. package/fesm2022/sdcorejs-angular-utilities-theme.mjs +10 -0
  360. package/fesm2022/sdcorejs-angular-utilities-theme.mjs.map +1 -1
  361. package/forms/autocomplete/src/autocomplete.component.d.ts +5 -0
  362. package/forms/chip/src/chip.component.d.ts +135 -19
  363. package/forms/chip/src/index.d.ts +0 -1
  364. package/forms/chip-calendar/src/chip-calendar-header.component.d.ts +17 -0
  365. package/forms/chip-calendar/src/chip-calendar.component.d.ts +147 -19
  366. package/forms/date/src/date.component.d.ts +23 -2
  367. package/forms/date-range/src/date-range.component.d.ts +24 -2
  368. package/forms/datetime/src/datetime-time-zone.adapter.d.ts +15 -0
  369. package/forms/directives/index.d.ts +1 -0
  370. package/forms/directives/src/search-field.component.d.ts +45 -0
  371. package/forms/input/src/input.component.d.ts +23 -2
  372. package/forms/input-number/src/input-number.component.d.ts +23 -2
  373. package/forms/models/index.d.ts +1 -0
  374. package/forms/models/src/sd-calendar-day.d.ts +22 -0
  375. package/forms/models/src/sd-model-facing-control.d.ts +3 -1
  376. package/forms/models/src/sd-strict-date-adapter.d.ts +3 -0
  377. package/forms/models/src/sd-temporal-transform.d.ts +7 -0
  378. package/forms/select/src/select.component.d.ts +33 -4
  379. package/i18n/src/en.d.ts +344 -2
  380. package/modules/generic/index.d.ts +4 -0
  381. package/modules/generic/src/components/configuration-form/generic-configuration-form.component.d.ts +33 -0
  382. package/modules/generic/src/components/configuration-general/generic-configuration-general.component.d.ts +28 -0
  383. package/modules/generic/src/components/configuration-import/generic-configuration-import.component.d.ts +27 -0
  384. package/modules/generic/src/components/configuration-list/generic-configuration-list.component.d.ts +39 -0
  385. package/modules/generic/src/components/import-dialog/generic-import-dialog.component.d.ts +15 -0
  386. package/modules/generic/src/components/property-identity/generic-property-identity.component.d.ts +15 -0
  387. package/modules/generic/src/core/generic-columns.d.ts +19 -0
  388. package/modules/generic/src/core/generic-defaults.d.ts +14 -0
  389. package/modules/generic/src/core/generic-form.d.ts +17 -0
  390. package/modules/generic/src/core/generic-import.d.ts +49 -0
  391. package/modules/generic/src/core/generic-merge.d.ts +21 -0
  392. package/modules/generic/src/core/generic-permission.d.ts +3 -0
  393. package/modules/generic/src/core/generic-property-icon.d.ts +8 -0
  394. package/modules/generic/src/core/generic-search.d.ts +19 -0
  395. package/modules/generic/src/core/generic-title.d.ts +11 -0
  396. package/modules/generic/src/core/generic-validate.d.ts +8 -0
  397. package/modules/generic/src/core/index.d.ts +10 -0
  398. package/modules/generic/src/models/generic-adapter.model.d.ts +49 -0
  399. package/modules/generic/src/models/generic-entity.model.d.ts +71 -0
  400. package/modules/generic/src/models/generic-issue.model.d.ts +29 -0
  401. package/modules/generic/src/models/generic-schema.model.d.ts +133 -0
  402. package/modules/generic/src/models/index.d.ts +4 -0
  403. package/modules/generic/src/pages/configuration/generic-configuration.page.d.ts +26 -0
  404. package/modules/generic/src/pages/form/generic-form-host.page.d.ts +42 -0
  405. package/modules/generic/src/pages/list/generic-list.page.d.ts +39 -0
  406. package/modules/generic/src/registry/generic-registry.d.ts +35 -0
  407. package/modules/generic/src/registry/index.d.ts +2 -0
  408. package/modules/generic/src/registry/provide-sd-generic.d.ts +15 -0
  409. package/modules/generic/src/routes/generic-route.guards.d.ts +24 -0
  410. package/modules/generic/src/routes/sd-generic.routes.d.ts +10 -0
  411. package/modules/generic/src/services/generic-configuration-store.d.ts +13 -0
  412. package/modules/generic/src/services/generic-data.service.d.ts +34 -0
  413. package/modules/generic/src/services/generic-import.service.d.ts +21 -0
  414. package/modules/generic/src/services/generic-permission.service.d.ts +26 -0
  415. package/modules/generic/src/services/generic-relation-catalog.d.ts +14 -0
  416. package/modules/generic/src/services/generic-schema.service.d.ts +28 -0
  417. package/modules/generic/src/services/index.d.ts +6 -0
  418. package/modules/icon/src/data-type-icon.d.ts +30 -0
  419. package/modules/icon/src/icon.model.d.ts +2 -1
  420. package/modules/icon/src/index.d.ts +1 -0
  421. package/modules/index.d.ts +1 -0
  422. package/modules/layout/components/index.d.ts +5 -0
  423. package/modules/layout/components/layout-main/layout-main.component.d.ts +2 -1
  424. package/modules/layout/components/page/page-form-leave.guard.d.ts +9 -0
  425. package/modules/layout/components/page/page.component.d.ts +38 -2
  426. package/modules/layout/components/page-list/page-list.component.d.ts +42 -0
  427. package/modules/layout/components/shared/context-switcher/context-switcher.component.d.ts +71 -0
  428. package/modules/layout/components/shared/user-menu/user-menu.component.d.ts +1 -1
  429. package/modules/layout/components/sidebar-mobile-v4/main.component.d.ts +95 -0
  430. package/modules/layout/components/sidebar-v1/components/sidebar/sidebar.component.d.ts +1 -0
  431. package/modules/layout/components/sidebar-v3/main.component.d.ts +3 -0
  432. package/modules/layout/components/sidebar-v4/main.component.d.ts +69 -0
  433. package/modules/layout/components/sidebar-v4/menu-tree/sidebar-v4-menu-tree.component.d.ts +174 -0
  434. package/modules/layout/configurations/layout.configuration.d.ts +46 -1
  435. package/modules/layout/services/context/context.model.d.ts +16 -0
  436. package/modules/layout/services/context/context.runtime.d.ts +14 -0
  437. package/modules/layout/services/context/context.service.d.ts +54 -0
  438. package/modules/layout/services/context/index.d.ts +3 -0
  439. package/modules/layout/services/index.d.ts +1 -0
  440. package/modules/layout/services/menu/menu.model.d.ts +33 -0
  441. package/modules/layout/services/menu/menu.utils.d.ts +32 -1
  442. package/modules/layout/services/storage/storage.service.d.ts +20 -1
  443. package/modules/pattern/README.md +76 -0
  444. package/modules/pattern/configurations/pattern.configuration.d.ts +30 -0
  445. package/modules/pattern/configurations/provide-sd-patterns.d.ts +19 -0
  446. package/modules/pattern/core/mock-api/mock-api.interceptor.d.ts +8 -0
  447. package/modules/pattern/core/mock-api/mock-api.model.d.ts +62 -0
  448. package/modules/pattern/core/mock-api/mock-api.state.d.ts +36 -0
  449. package/modules/pattern/core/mock-api/mock-backend.d.ts +18 -0
  450. package/modules/pattern/core/mock-api/mock-backend.factory.d.ts +3 -0
  451. package/modules/pattern/core/mock-api/prng.d.ts +4 -0
  452. package/modules/pattern/core/mock-api/resources/approval.resource.d.ts +14 -0
  453. package/modules/pattern/core/mock-api/resources/category.resource.d.ts +9 -0
  454. package/modules/pattern/core/mock-api/resources/customer.resource.d.ts +22 -0
  455. package/modules/pattern/core/mock-api/resources/index.d.ts +3 -0
  456. package/modules/pattern/core/mock-api/resources/names.d.ts +5 -0
  457. package/modules/pattern/core/mock-api/resources/order.resource.d.ts +44 -0
  458. package/modules/pattern/core/mock-api/resources/partner.resource.d.ts +16 -0
  459. package/modules/pattern/core/mock-api/resources/product.resource.d.ts +13 -0
  460. package/modules/pattern/core/mock-api/resources/settings.resource.d.ts +18 -0
  461. package/modules/pattern/core/pattern-shell/catalog/pattern-catalog.d.ts +22 -0
  462. package/modules/pattern/core/pattern-shell/index/index.component.d.ts +9 -0
  463. package/modules/pattern/core/pattern-shell/settings/pattern-settings.store.d.ts +57 -0
  464. package/modules/pattern/core/pattern-shell/settings/settings-button.component.d.ts +44 -0
  465. package/modules/pattern/core/pattern-shell/shell/pattern-source-viewer.d.ts +8 -0
  466. package/modules/pattern/core/pattern-shell/shell/shell.component.d.ts +13 -0
  467. package/modules/pattern/core/pattern-shell/source/pattern-source.generated.d.ts +1 -0
  468. package/modules/pattern/core/pattern-shell/source/source-drawer.component.d.ts +27 -0
  469. package/modules/pattern/core/pattern-shell/toolbar/toolbar.component.d.ts +24 -0
  470. package/modules/pattern/core/permission/pattern-permission.d.ts +15 -0
  471. package/modules/pattern/core/permission/pattern-role.store.d.ts +13 -0
  472. package/modules/pattern/core/session-state.d.ts +4 -0
  473. package/modules/pattern/docs/detail.md +237 -0
  474. package/modules/pattern/docs/drawer.md +484 -0
  475. package/modules/pattern/docs/flow.md +631 -0
  476. package/modules/pattern/docs/form.md +518 -0
  477. package/modules/pattern/docs/header-actions.md +342 -0
  478. package/modules/pattern/docs/list.md +247 -0
  479. package/modules/pattern/docs/relation.md +180 -0
  480. package/modules/pattern/docs/select.md +206 -0
  481. package/modules/pattern/docs/split.md +350 -0
  482. package/modules/pattern/docs/states.md +168 -0
  483. package/modules/pattern/features/approval/entity.resolver.d.ts +4 -0
  484. package/modules/pattern/features/approval/entity.resolver.ts +21 -0
  485. package/modules/pattern/features/approval/pages/detail/detail.component.d.ts +13 -0
  486. package/modules/pattern/features/approval/pages/detail/detail.component.ts +139 -0
  487. package/modules/pattern/features/approval/pages/list/approval-inbox.d.ts +7 -0
  488. package/modules/pattern/features/approval/pages/list/approval-inbox.ts +7 -0
  489. package/modules/pattern/features/approval/pages/list/list.component.d.ts +26 -0
  490. package/modules/pattern/features/approval/pages/list/list.component.html +20 -0
  491. package/modules/pattern/features/approval/pages/list/list.component.ts +149 -0
  492. package/modules/pattern/features/approval/routes.d.ts +3 -0
  493. package/modules/pattern/features/approval/routes.ts +30 -0
  494. package/modules/pattern/features/approval/services/approval.model.d.ts +37 -0
  495. package/modules/pattern/features/approval/services/approval.model.ts +38 -0
  496. package/modules/pattern/features/approval/services/approval.service.d.ts +12 -0
  497. package/modules/pattern/features/approval/services/approval.service.ts +23 -0
  498. package/modules/pattern/features/category/components/create-side-drawer/create-side-drawer.component.d.ts +23 -0
  499. package/modules/pattern/features/category/components/create-side-drawer/create-side-drawer.component.ts +123 -0
  500. package/modules/pattern/features/category/components/general-information-form/general-information-form.component.d.ts +20 -0
  501. package/modules/pattern/features/category/components/general-information-form/general-information-form.component.ts +61 -0
  502. package/modules/pattern/features/category/components/update-side-drawer/update-side-drawer.component.d.ts +23 -0
  503. package/modules/pattern/features/category/components/update-side-drawer/update-side-drawer.component.ts +134 -0
  504. package/modules/pattern/features/category/entity.resolver.d.ts +6 -0
  505. package/modules/pattern/features/category/entity.resolver.ts +27 -0
  506. package/modules/pattern/features/category/pages/list/list.component.d.ts +17 -0
  507. package/modules/pattern/features/category/pages/list/list.component.html +20 -0
  508. package/modules/pattern/features/category/pages/list/list.component.ts +105 -0
  509. package/modules/pattern/features/category/routes.d.ts +3 -0
  510. package/modules/pattern/features/category/routes.ts +42 -0
  511. package/modules/pattern/features/category/services/category.model.d.ts +34 -0
  512. package/modules/pattern/features/category/services/category.model.ts +39 -0
  513. package/modules/pattern/features/category/services/category.service.d.ts +17 -0
  514. package/modules/pattern/features/category/services/category.service.ts +36 -0
  515. package/modules/pattern/features/customer/components/create-side-drawer/create-side-drawer.component.d.ts +24 -0
  516. package/modules/pattern/features/customer/components/create-side-drawer/create-side-drawer.component.ts +131 -0
  517. package/modules/pattern/features/customer/components/customer-select/customer-select.component.d.ts +20 -0
  518. package/modules/pattern/features/customer/components/customer-select/customer-select.component.ts +72 -0
  519. package/modules/pattern/features/customer/components/customer-type-select/customer-type-select.component.d.ts +20 -0
  520. package/modules/pattern/features/customer/components/customer-type-select/customer-type-select.component.ts +30 -0
  521. package/modules/pattern/features/customer/components/debts-view/debts-view.component.d.ts +11 -0
  522. package/modules/pattern/features/customer/components/debts-view/debts-view.component.ts +28 -0
  523. package/modules/pattern/features/customer/components/detail-side-drawer/detail-side-drawer.component.d.ts +20 -0
  524. package/modules/pattern/features/customer/components/detail-side-drawer/detail-side-drawer.component.ts +106 -0
  525. package/modules/pattern/features/customer/components/documents-view/documents-view.component.d.ts +14 -0
  526. package/modules/pattern/features/customer/components/documents-view/documents-view.component.ts +50 -0
  527. package/modules/pattern/features/customer/components/general-information-form/general-information-form.component.d.ts +33 -0
  528. package/modules/pattern/features/customer/components/general-information-form/general-information-form.component.ts +140 -0
  529. package/modules/pattern/features/customer/components/general-information-view/general-information-view.component.d.ts +9 -0
  530. package/modules/pattern/features/customer/components/general-information-view/general-information-view.component.ts +39 -0
  531. package/modules/pattern/features/customer/components/orders-view/orders-view.component.d.ts +11 -0
  532. package/modules/pattern/features/customer/components/orders-view/orders-view.component.ts +35 -0
  533. package/modules/pattern/features/customer/components/summary-cards/summary-cards.component.d.ts +22 -0
  534. package/modules/pattern/features/customer/components/summary-cards/summary-cards.component.ts +101 -0
  535. package/modules/pattern/features/customer/components/update-side-drawer/update-side-drawer.component.d.ts +24 -0
  536. package/modules/pattern/features/customer/components/update-side-drawer/update-side-drawer.component.ts +127 -0
  537. package/modules/pattern/features/customer/entity.resolver.d.ts +4 -0
  538. package/modules/pattern/features/customer/entity.resolver.ts +21 -0
  539. package/modules/pattern/features/customer/pages/list/list.component.d.ts +19 -0
  540. package/modules/pattern/features/customer/pages/list/list.component.html +22 -0
  541. package/modules/pattern/features/customer/pages/list/list.component.ts +113 -0
  542. package/modules/pattern/features/customer/pages/profile/profile.component.d.ts +31 -0
  543. package/modules/pattern/features/customer/pages/profile/profile.component.ts +120 -0
  544. package/modules/pattern/features/customer/pipes/customer-detail.pipe.d.ts +14 -0
  545. package/modules/pattern/features/customer/pipes/customer-detail.pipe.ts +18 -0
  546. package/modules/pattern/features/customer/routes.d.ts +6 -0
  547. package/modules/pattern/features/customer/routes.ts +59 -0
  548. package/modules/pattern/features/customer/services/customer.model.d.ts +77 -0
  549. package/modules/pattern/features/customer/services/customer.model.ts +87 -0
  550. package/modules/pattern/features/customer/services/customer.service.d.ts +24 -0
  551. package/modules/pattern/features/customer/services/customer.service.ts +79 -0
  552. package/modules/pattern/features/import/components/mapping-form/mapping-form.component.d.ts +21 -0
  553. package/modules/pattern/features/import/components/mapping-form/mapping-form.component.ts +41 -0
  554. package/modules/pattern/features/import/components/preview-view/preview-view.component.d.ts +10 -0
  555. package/modules/pattern/features/import/components/preview-view/preview-view.component.ts +44 -0
  556. package/modules/pattern/features/import/pages/flow/flow.component.d.ts +43 -0
  557. package/modules/pattern/features/import/pages/flow/flow.component.ts +269 -0
  558. package/modules/pattern/features/import/routes.d.ts +2 -0
  559. package/modules/pattern/features/import/routes.ts +19 -0
  560. package/modules/pattern/features/import/services/import.model.d.ts +38 -0
  561. package/modules/pattern/features/import/services/import.model.ts +82 -0
  562. package/modules/pattern/features/import/services/import.service.d.ts +15 -0
  563. package/modules/pattern/features/import/services/import.service.ts +18 -0
  564. package/modules/pattern/features/order/components/approval-steps/approval-steps.component.d.ts +9 -0
  565. package/modules/pattern/features/order/components/approval-steps/approval-steps.component.ts +74 -0
  566. package/modules/pattern/features/order/components/bulk-result/bulk-result.component.d.ts +22 -0
  567. package/modules/pattern/features/order/components/bulk-result/bulk-result.component.ts +46 -0
  568. package/modules/pattern/features/order/components/general-information-form/general-information-form.component.d.ts +30 -0
  569. package/modules/pattern/features/order/components/general-information-form/general-information-form.component.ts +96 -0
  570. package/modules/pattern/features/order/components/lines-form/lines-form.component.d.ts +33 -0
  571. package/modules/pattern/features/order/components/lines-form/lines-form.component.ts +205 -0
  572. package/modules/pattern/features/order/components/lines-view/lines-view.component.d.ts +12 -0
  573. package/modules/pattern/features/order/components/lines-view/lines-view.component.ts +42 -0
  574. package/modules/pattern/features/order/components/summary-cards/summary-cards.component.d.ts +25 -0
  575. package/modules/pattern/features/order/components/summary-cards/summary-cards.component.ts +128 -0
  576. package/modules/pattern/features/order/entity.resolver.d.ts +9 -0
  577. package/modules/pattern/features/order/entity.resolver.ts +37 -0
  578. package/modules/pattern/features/order/pages/create/create.component.d.ts +16 -0
  579. package/modules/pattern/features/order/pages/create/create.component.ts +99 -0
  580. package/modules/pattern/features/order/pages/detail/detail.component.d.ts +26 -0
  581. package/modules/pattern/features/order/pages/detail/detail.component.ts +222 -0
  582. package/modules/pattern/features/order/pages/list/list.component.d.ts +29 -0
  583. package/modules/pattern/features/order/pages/list/list.component.html +38 -0
  584. package/modules/pattern/features/order/pages/list/list.component.ts +291 -0
  585. package/modules/pattern/features/order/pages/update/update.component.d.ts +20 -0
  586. package/modules/pattern/features/order/pages/update/update.component.ts +119 -0
  587. package/modules/pattern/features/order/routes.d.ts +7 -0
  588. package/modules/pattern/features/order/routes.ts +54 -0
  589. package/modules/pattern/features/order/services/order.model.d.ts +106 -0
  590. package/modules/pattern/features/order/services/order.model.ts +109 -0
  591. package/modules/pattern/features/order/services/order.service.d.ts +25 -0
  592. package/modules/pattern/features/order/services/order.service.ts +63 -0
  593. package/modules/pattern/features/partner/pages/create/create.component.d.ts +41 -0
  594. package/modules/pattern/features/partner/pages/create/create.component.ts +324 -0
  595. package/modules/pattern/features/partner/routes.d.ts +2 -0
  596. package/modules/pattern/features/partner/routes.ts +20 -0
  597. package/modules/pattern/features/partner/services/partner.model.d.ts +30 -0
  598. package/modules/pattern/features/partner/services/partner.model.ts +30 -0
  599. package/modules/pattern/features/partner/services/partner.service.d.ts +13 -0
  600. package/modules/pattern/features/partner/services/partner.service.ts +17 -0
  601. package/modules/pattern/features/product/components/general-information-form/general-information-form.component.d.ts +23 -0
  602. package/modules/pattern/features/product/components/general-information-form/general-information-form.component.ts +88 -0
  603. package/modules/pattern/features/product/components/product-select/product-select.component.d.ts +20 -0
  604. package/modules/pattern/features/product/components/product-select/product-select.component.ts +65 -0
  605. package/modules/pattern/features/product/components/product-status-select/product-status-select.component.d.ts +22 -0
  606. package/modules/pattern/features/product/components/product-status-select/product-status-select.component.ts +30 -0
  607. package/modules/pattern/features/product/entity.resolver.d.ts +4 -0
  608. package/modules/pattern/features/product/entity.resolver.ts +21 -0
  609. package/modules/pattern/features/product/pages/create/create.component.d.ts +15 -0
  610. package/modules/pattern/features/product/pages/create/create.component.ts +85 -0
  611. package/modules/pattern/features/product/pages/detail/detail.component.d.ts +10 -0
  612. package/modules/pattern/features/product/pages/detail/detail.component.ts +53 -0
  613. package/modules/pattern/features/product/pages/list/list.component.d.ts +15 -0
  614. package/modules/pattern/features/product/pages/list/list.component.html +30 -0
  615. package/modules/pattern/features/product/pages/list/list.component.ts +71 -0
  616. package/modules/pattern/features/product/pages/update/update.component.d.ts +16 -0
  617. package/modules/pattern/features/product/pages/update/update.component.ts +86 -0
  618. package/modules/pattern/features/product/pipes/product-detail.pipe.d.ts +14 -0
  619. package/modules/pattern/features/product/pipes/product-detail.pipe.ts +18 -0
  620. package/modules/pattern/features/product/routes.d.ts +3 -0
  621. package/modules/pattern/features/product/routes.ts +48 -0
  622. package/modules/pattern/features/product/services/product.model.d.ts +34 -0
  623. package/modules/pattern/features/product/services/product.model.ts +38 -0
  624. package/modules/pattern/features/product/services/product.service.d.ts +17 -0
  625. package/modules/pattern/features/product/services/product.service.ts +48 -0
  626. package/modules/pattern/features/settings/pages/update/update.component.d.ts +26 -0
  627. package/modules/pattern/features/settings/pages/update/update.component.ts +227 -0
  628. package/modules/pattern/features/settings/routes.d.ts +3 -0
  629. package/modules/pattern/features/settings/routes.ts +24 -0
  630. package/modules/pattern/features/settings/services/settings.model.d.ts +17 -0
  631. package/modules/pattern/features/settings/services/settings.model.ts +18 -0
  632. package/modules/pattern/features/settings/services/settings.service.d.ts +10 -0
  633. package/modules/pattern/features/settings/services/settings.service.ts +15 -0
  634. package/modules/pattern/features/settings/settings.resolver.d.ts +4 -0
  635. package/modules/pattern/features/settings/settings.resolver.ts +8 -0
  636. package/modules/pattern/index.d.ts +3 -0
  637. package/modules/pattern/routes.d.ts +6 -0
  638. package/modules/pattern/services/base-api.service.d.ts +16 -0
  639. package/modules/pattern/utils/api-error.d.ts +4 -0
  640. package/modules/pattern/utils/focus-first-invalid.d.ts +5 -0
  641. package/modules/pattern/utils/form-api-errors.d.ts +16 -0
  642. package/modules/pattern/utils/resource-url.d.ts +2 -0
  643. package/package.json +49 -12
  644. package/pipes/src/format-date.pipe.d.ts +1 -0
  645. package/pipes/src/format-datetime.pipe.d.ts +1 -0
  646. package/services/date-time/index.d.ts +1 -0
  647. package/services/date-time/src/date-time.service.d.ts +54 -0
  648. package/services/index.d.ts +1 -0
  649. package/services/storage/src/storage.model.d.ts +8 -1
  650. package/services/unsaved-changes/src/unsaved-changes.adapters.d.ts +9 -0
  651. package/services/unsaved-changes/src/unsaved-changes.model.d.ts +2 -0
  652. package/utilities/read-state/src/read-state.d.ts +2 -0
  653. package/utilities/theme/src/theme-tokens.d.ts +1 -1
  654. package/components/editor/src/plugins/image-upload/image-upload.plugin.d.ts +0 -22
  655. package/components/editor/src/plugins/image-upload/utils/batch.utils.d.ts +0 -14
  656. package/components/editor/src/plugins/image-upload/utils/index.d.ts +0 -3
  657. package/forms/chip/src/pipes/index.d.ts +0 -1
  658. package/forms/chip/src/pipes/removable-chip.pipe.d.ts +0 -8
  659. package/forms/chip-calendar/src/pipes/index.d.ts +0 -1
  660. package/forms/chip-calendar/src/pipes/removable-chip.pipe.d.ts +0 -8
@@ -1,313 +1,6 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Injectable, viewChild, input, booleanAttribute, output, ChangeDetectorRef, DestroyRef, signal, afterNextRender, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import { Utilities } from '@sdcorejs/utils/fns';
4
- import * as i2 from '@angular/cdk/portal';
5
- import { CdkPortal, DomPortalOutlet, PortalModule } from '@angular/cdk/portal';
6
- import { DOCUMENT, CommonModule } from '@angular/common';
7
- import * as i1 from '@angular/material/button';
8
- import { MatButtonModule } from '@angular/material/button';
9
- import { MatDialogModule } from '@angular/material/dialog';
10
- import { SdLoadingService } from '@sdcorejs/angular/services';
11
- import { SdIcon } from '@sdcorejs/angular/modules/icon';
12
-
13
- /**
14
- * Sổ đăng ký các panel `<sd-modal-resizable>` đang sống.
15
- *
16
- * why: mỗi panel được portal ra thẳng `document.body` nên việc xếp chỗ (width/right) là bài toán
17
- * chung của cả stack. Trước đây `#arrangePanels` quét `document.querySelectorAll('.modal-resizable')`
18
- * — query đó bắt MỌI phần tử mang class này trong tài liệu, kể cả markup của component khác hoặc
19
- * của app dùng trùng tên class, rồi ghi đè inline style lên chúng. Registry giới hạn phạm vi ghi
20
- * đúng vào các instance do library tạo ra và còn sống.
21
- */
22
- class SdModalResizableRegistry {
23
- // why: dùng token DOCUMENT thay vì global `document`, đồng bộ với `preview-image` — service
24
- // `providedIn:'root'` có thể được khởi tạo trong quá trình render phía server.
25
- #document = inject(DOCUMENT);
26
- // Set giữ nguyên thứ tự đăng ký → thứ tự xếp chỗ ổn định, khớp thứ tự panel được mở.
27
- #ids = new Set();
28
- register(id) {
29
- this.#ids.add(id);
30
- }
31
- unregister(id) {
32
- this.#ids.delete(id);
33
- }
34
- /**
35
- * Phần tử panel của các instance đã đăng ký và đang có mặt trong DOM.
36
- * Instance đã destroy hoặc chưa attach portal sẽ bị bỏ qua.
37
- */
38
- panels() {
39
- const elements = [];
40
- for (const id of this.#ids) {
41
- const element = this.#document.getElementById(id);
42
- if (element)
43
- elements.push(element);
44
- }
45
- return elements;
46
- }
47
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: SdModalResizableRegistry, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
48
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: SdModalResizableRegistry, providedIn: 'root' });
49
- }
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: SdModalResizableRegistry, decorators: [{
51
- type: Injectable,
52
- args: [{ providedIn: 'root' }]
53
- }] });
54
-
55
- /**
56
- * `<sd-modal-resizable>` — right-docked, non-modal panel that can be minimized, expanded or pushed
57
- * fullscreen. Several panels stack side by side along the right edge of the viewport, so the user
58
- * can keep multiple records open at once while still working with the page behind them.
59
- *
60
- * Use it for side-by-side comparison / inspector workflows. Use `<sd-modal>` when the task is
61
- * blocking, and `<sd-side-drawer>` when a single overlay with a backdrop is enough.
62
- *
63
- * NOTE ON DOCS: this component deliberately has **no** sibling `sd-modal-resizable.md`. Every `*.md`
64
- * under the library is swept into `published-docs/<version>/index.json` by `scripts/collect-docs.mjs`,
65
- * and `scripts/generate-showcase-example-sources.test.mjs` asserts that list is 1:1 with the
66
- * `publishedDocId` set in the showcase documentation registry. A published doc with no showcase page
67
- * therefore turns that release guard red. Keep the reference here until the component ships a
68
- * showcase demo + registry entry; only then add the `.md`.
69
- *
70
- * ```ts
71
- * import { SdModalResizable } from '@sdcorejs/angular/components/modal-resizable';
72
- * ```
73
- *
74
- * ```html
75
- * <sd-button title="Open detail" type="fill" color="primary" (click)="panel.open()"></sd-button>
76
- *
77
- * <sd-modal-resizable #panel width="520px">
78
- * <span sdTitle>Đơn hàng #1024</span>
79
- *
80
- * <div sdBody class="panel-body">
81
- * <sd-section icon="receipt" title="Thông tin chung">
82
- * <sd-section-item label="Khách hàng">Nguyen Van An</sd-section-item>
83
- * </sd-section>
84
- * </div>
85
- *
86
- * <sd-button sdFooterRight type="text" title="Đóng" (click)="panel.close()"></sd-button>
87
- * </sd-modal-resizable>
88
- * ```
89
- *
90
- * ### Slots
91
- * | Selector | Where it renders |
92
- * | ----------------- | ------------------------- |
93
- * | `[sdTitle]` | Header title area. |
94
- * | `[sdBody]` | Scrollable content area. |
95
- * | `[sdFooterLeft]` | Footer left action group. |
96
- * | `[sdFooterRight]` | Footer right action group.|
97
- *
98
- * Header, body and footer only render while the panel is open.
99
- *
100
- * ### Panel stacking
101
- * The panel is portalled onto `document.body` (via `CdkPortal` + `DomPortalOutlet`), so laying panels
102
- * out is a concern shared by all live instances rather than by a single view. Arrangement is scoped
103
- * through the root-provided `SdModalResizableRegistry`: each instance registers its panel id on
104
- * construction and unregisters it on destroy. `open`, `close`, `minimize`, `maximize` and
105
- * `toggleMaximum` re-run the arrangement and rewrite inline `width` / `right` **only on registered,
106
- * still-mounted panels**, in registration order. Consequences worth knowing:
107
- * - Markup of your own that happens to carry the `.modal-resizable` class is **not** touched.
108
- * (Earlier builds ran `document.querySelectorAll('.modal-resizable')` and rewrote every match.)
109
- * - A destroyed panel immediately stops taking up a slot for the instances that outlive it.
110
- * - Panels marked `c-closed`, and expanded panels with no captured `data-width`, are skipped.
111
- *
112
- * ### Lifecycle / teardown
113
- * `open()`, `close()` and the arrangement pass each schedule a short `setTimeout` (100ms / 100ms /
114
- * 200ms) that mutates DOM. All of them are tracked and cleared in `DestroyRef.onDestroy`, together
115
- * with unregistering from the registry and destroying the portal view. Destroying the component
116
- * mid-animation cannot run layout work against a detached panel.
117
- *
118
- * ### Anti-patterns
119
- * - Rendering it inside a scroll container and expecting it to be clipped — it lives on `<body>`.
120
- * - Reusing the `.modal-resizable` class on your own elements to "join" the stack; register a real
121
- * component instead.
122
- * - Writing inline `width` / `right` on a panel yourself — the next arrangement pass overwrites both.
123
- *
124
- * ### Tests
125
- * `src/modal-resizable.component.spec.ts` — portal attach, open/close/minimize/maximize math,
126
- * loading, editing, timer teardown, registry scoping. Run:
127
- * `npx ng test sdcorejs-angular --watch=false --browsers=ChromeHeadless --include='projects/sdcorejs-angular/components/modal-resizable/src/modal-resizable.component.spec.ts'`
128
- *
129
- * ### Related
130
- * `<sd-modal>` (blocking dialog / bottom-sheet), `<sd-side-drawer>` (single right-side overlay with
131
- * a body scroll lock), `SdLoadingService` (powers `startLoading()` / `stopLoading()`).
132
- */
133
- class SdModalResizable {
134
- /** Generated DOM id of the panel element (`I<uuid>`). */
135
- id = `I${Utilities.generateUuid()}`;
136
- portal = viewChild.required(CdkPortal);
137
- /** Marks the panel as editable. Bare attribute = `true`. Default `false`. */
138
- editable = input(false, { transform: booleanAttribute });
139
- /** CSS width used while the panel is expanded (not a minimum). Default `'480px'`. */
140
- width = input('480px');
141
- /** Emitted by `toggleEditable()` with the new editing state. */
142
- editingChanged = output();
143
- #embeddedViewRef;
144
- #ref = inject(ChangeDetectorRef);
145
- #loadingService = inject(SdLoadingService);
146
- #destroyRef = inject(DestroyRef);
147
- #registry = inject(SdModalResizableRegistry);
148
- // why: open/close/#arrangePanels đều hẹn setTimeout thao tác DOM. Gom id vào một set để
149
- // onDestroy clear sạch, tránh callback chạy trên portal đã tháo (element không còn, hoặc tệ
150
- // hơn: element của instance khác vừa tái sử dụng id).
151
- #timers = new Set();
152
- // Trạng thái panel — đọc được từ ngoài (template/consumer), chỉ component tự ghi.
153
- isEditing = signal(false);
154
- isOpened = signal(false);
155
- isHover = signal(false);
156
- isLoading = signal(false);
157
- isMinimum = signal(false);
158
- isMaximum = signal(false);
159
- constructor() {
160
- this.#registry.register(this.id);
161
- afterNextRender(() => {
162
- // why: attachTemplatePortal tạo embedded view từ VCR của chính CdkPortal →
163
- // KHÔNG cần appRef/injector/document. Chỉ truyền outletElement để tương thích
164
- // mọi CDK (19 còn slot ComponentFactoryResolver, 20/21 đã bỏ → tránh lệch arg).
165
- const outlet = new DomPortalOutlet(document.body);
166
- this.#embeddedViewRef = outlet.attachTemplatePortal(this.portal());
167
- this.#detectChanges();
168
- });
169
- this.#destroyRef.onDestroy(() => {
170
- this.#registry.unregister(this.id);
171
- for (const timer of this.#timers)
172
- clearTimeout(timer);
173
- this.#timers.clear();
174
- this.#embeddedViewRef?.destroy();
175
- });
176
- }
177
- /** setTimeout có theo dõi — huỷ được hàng loạt trong onDestroy. */
178
- #schedule(callback, delay) {
179
- const timer = setTimeout(() => {
180
- this.#timers.delete(timer);
181
- callback();
182
- }, delay);
183
- this.#timers.add(timer);
184
- }
185
- /** Opens the panel, captures its rendered width, and expands it. */
186
- open = () => {
187
- this.isOpened.set(true);
188
- this.#detectChanges();
189
- const element = this.#getElement();
190
- if (element && !element.classList.contains('c-minium')) {
191
- this.#schedule(() => {
192
- const maximumWidth = element.offsetWidth;
193
- if (maximumWidth > 0) {
194
- element.dataset['width'] = maximumWidth.toString();
195
- }
196
- element.classList.remove('c-closed');
197
- }, 100);
198
- }
199
- this.maximize();
200
- };
201
- /** Collapses the panel to zero width and stops loading. */
202
- close = () => {
203
- this.isOpened.set(false);
204
- this.#detectChanges();
205
- this.#schedule(() => {
206
- const element = this.#getElement();
207
- element?.style.setProperty('width', '0px');
208
- element?.style.setProperty('right', '0px');
209
- element?.classList.remove('c-minium');
210
- element?.classList.add('c-closed');
211
- }, 100);
212
- this.stopLoading();
213
- this.#arrangePanels();
214
- };
215
- /** Shrinks the panel to the 300px minimum strip. */
216
- minimize = () => {
217
- this.isMinimum.set(true);
218
- this.#detectChanges();
219
- this.#arrangePanels();
220
- };
221
- /** Restores the panel to its expanded width. */
222
- maximize = () => {
223
- this.isMinimum.set(false);
224
- this.#detectChanges();
225
- this.#arrangePanels();
226
- };
227
- /** Toggles fullscreen (`calc(100% - 16px)`). */
228
- toggleMaximum = () => {
229
- this.isMaximum.update(isMaximum => !isMaximum);
230
- this.#detectChanges();
231
- this.#arrangePanels();
232
- };
233
- /** Drives the scoped loading overlay through `SdLoadingService`. */
234
- startLoading = () => {
235
- this.isLoading.set(true);
236
- this.#detectChanges();
237
- this.#loadingService.stop(`#${this.id}`);
238
- this.#loadingService.start(`#${this.id}`);
239
- };
240
- /** Stops the scoped loading overlay. */
241
- stopLoading = () => {
242
- this.isLoading.set(false);
243
- this.#detectChanges();
244
- this.#loadingService.stop(`#${this.id}`);
245
- };
246
- /** Flips `isEditing` and emits `editingChanged`. */
247
- toggleEditable() {
248
- this.isEditing.update(isEditing => !isEditing);
249
- this.#detectChanges();
250
- this.editingChanged.emit(this.isEditing());
251
- }
252
- /** Hover state hook bound in the template. */
253
- onFocus = () => {
254
- this.isHover.set(true);
255
- };
256
- /** Hover state hook bound in the template. */
257
- onBlur = () => {
258
- this.isHover.set(false);
259
- };
260
- #arrangePanels = () => {
261
- this.#schedule(() => {
262
- let totalRight = 0;
263
- const minimumWidth = 300;
264
- // why: chỉ xếp chỗ các panel do <sd-modal-resizable> đang sống sở hữu (registry), KHÔNG
265
- // querySelectorAll('.modal-resizable') toàn document — query đó ghi đè inline width/right
266
- // lên mọi phần tử trùng class, kể cả markup của component khác không liên quan.
267
- this.#registry.panels().forEach(item => {
268
- if (item.classList.contains('c-minium')) {
269
- item.style.setProperty('width', `${minimumWidth}px`);
270
- item.style.setProperty('right', `${totalRight}px`);
271
- totalRight += minimumWidth + 8;
272
- return;
273
- }
274
- if (item.classList.contains('c-closed')) {
275
- return;
276
- }
277
- const expandedWidth = Number.parseInt(item.dataset['width'] || '', 10);
278
- if (Number.isNaN(expandedWidth)) {
279
- return;
280
- }
281
- if (item.classList.contains('c-fullscreen')) {
282
- item.style.setProperty('width', 'calc(100% - 16px)');
283
- item.style.setProperty('right', '8px');
284
- }
285
- else {
286
- item.style.setProperty('width', `${expandedWidth}px`);
287
- item.style.setProperty('right', `${totalRight}px`);
288
- }
289
- totalRight += expandedWidth + 8;
290
- });
291
- }, 200);
292
- };
293
- #getElement() {
294
- return document.getElementById(this.id);
295
- }
296
- #detectChanges() {
297
- this.#ref.markForCheck();
298
- this.#embeddedViewRef?.detectChanges();
299
- }
300
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: SdModalResizable, deps: [], target: i0.ɵɵFactoryTarget.Component });
301
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: SdModalResizable, isStandalone: true, selector: "sd-modal-resizable", inputs: { editable: { classPropertyName: "editable", publicName: "editable", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { editingChanged: "editingChanged" }, viewQueries: [{ propertyName: "portal", first: true, predicate: CdkPortal, descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template cdkPortal>\n <div\n [id]=\"id\"\n class=\"modal-resizable\"\n [style.width]=\"width()\"\n [class.modal-resizable--active]=\"isOpened()\"\n [class.modal-resizable--loading]=\"isLoading()\"\n [class.c-minium]=\"isMinimum()\"\n [class.c-fullscreen]=\"isMaximum()\"\n (mouseover)=\"onFocus()\"\n (focus)=\"onFocus()\"\n (mouseout)=\"onBlur()\"\n (blur)=\"onBlur()\">\n @if (isOpened()) {\n <div class=\"modal-resizable__header\">\n <div class=\"modal-resizable__title\">\n <ng-content select=\"[sdTitle]\"></ng-content>\n </div>\n <div class=\"modal-resizable__actions\">\n @if (!isMinimum()) {\n <button type=\"button\" class=\"c-action--white c-min\" (click)=\"minimize()\" mat-icon-button title=\"Thu nh\u1ECF\">\n <sd-icon name=\"remove\"></sd-icon>\n </button>\n }\n @if (isMinimum()) {\n <button type=\"button\" class=\"c-action--white c-max\" (click)=\"maximize()\" mat-icon-button title=\"Ph\u00F3ng to\">\n <sd-icon name=\"remove\"></sd-icon>\n </button>\n }\n @if (!isMaximum()) {\n <button type=\"button\" class=\"c-action--white\" (click)=\"toggleMaximum()\" mat-icon-button title=\"To\u00E0n m\u00E0n h\u00ECnh\">\n <sd-icon name=\"open_in_full\"></sd-icon>\n </button>\n }\n @if (isMaximum()) {\n <button type=\"button\" class=\"c-action--white\" (click)=\"toggleMaximum()\" mat-icon-button title=\"Tho\u00E1t to\u00E0n m\u00E0n h\u00ECnh\">\n <sd-icon name=\"fullscreen_exit\"></sd-icon>\n </button>\n }\n <button type=\"button\" class=\"c-action--white\" (click)=\"close()\" mat-icon-button title=\"\u0110\u00F3ng\">\n <sd-icon name=\"close\"></sd-icon>\n </button>\n </div>\n </div>\n <div class=\"modal-resizable__body\">\n <div class=\"modal-resizable__content\">\n <ng-content select=\"[sdBody]\"></ng-content>\n </div>\n </div>\n <div class=\"modal-resizable__footer\">\n <div class=\"modal-resizable__footer-left\"><ng-content select=\"[sdFooterLeft]\"></ng-content></div>\n <div class=\"modal-resizable__footer-right\"><ng-content select=\"[sdFooterRight]\"></ng-content></div>\n </div>\n }\n </div>\n</ng-template>\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}.modal-resizable{position:fixed;right:12px;top:80px;bottom:0;background-color:var(--sd-modal-resizable-bg, #ffffff);z-index:var(--sd-z-backdrop, 998);display:flex;flex-direction:column;opacity:0;visibility:hidden;transform:translate3d(0,100%,0);transition:all var(--sd-duration-slow, .3s) ease-in-out;pointer-events:none;box-shadow:0 .4px .8px #0000001a,0 3px 6px #0003;border-radius:4px 4px 0 0}.modal-resizable button.c-action--white:focus{outline:none!important}.modal-resizable button.c-action--white:focus-visible{outline:var(--sd-focus-ring-width, 2px) solid var(--sd-modal-resizable-focus-ring-on-dark, white)!important;outline-offset:2px}.modal-resizable.c-minium-of-list{top:auto;bottom:0;opacity:1;visibility:visible;pointer-events:all;transform:translateZ(0)}.modal-resizable.c-minium{top:auto!important;z-index:var(--sd-z-backdrop, 998)!important}.modal-resizable.c-minium .modal-resizable__body,.modal-resizable.c-minium .modal-resizable__footer{display:none}.modal-resizable.c-fullscreen{top:0;z-index:var(--sd-z-drawer, 999)}.c-action{color:var(--sd-secondary)}.c-action:focus{outline:none}.c-action:focus-visible{outline:var(--sd-focus-ring-width, 2px) solid var(--sd-focus-ring-color, var(--sd-primary));outline-offset:2px}.c-action--white.c-min{margin-bottom:-12px}.c-action--white.c-max{margin-top:-12px}.modal-resizable__icon{border:0;background:transparent;color:var(--sd-modal-resizable-title, #212121);overflow:hidden;outline:none}.modal-resizable__icon:focus-visible{outline:var(--sd-focus-ring-width, 2px) solid var(--sd-focus-ring-color, var(--sd-primary));outline-offset:2px}.modal-resizable__icon sd-icon{float:left}.modal-resizable__header{display:flex;align-items:center;flex-wrap:nowrap;gap:4px;min-height:40px;padding:0 16px;background-color:var(--sd-modal-resizable-header-bg, #5d6165);border-radius:4px 4px 0 0}.modal-resizable__body{flex:1;position:relative}.modal-resizable__content{position:absolute;padding:8px 16px 16px;inset:0;overflow:auto}.modal-resizable__footer{border-top:1px solid var(--sd-modal-resizable-divider, #dde0e5);padding:5px 16px;display:flex;align-items:center;justify-content:space-between;gap:8px}.modal-resizable__footer-left,.modal-resizable__footer-right{display:inline-flex;align-items:center;gap:8px}.modal-resizable__footer-right{margin-left:auto}.modal-resizable--active{opacity:1;visibility:visible;pointer-events:all;transform:translateZ(0)}.modal-resizable__title{flex:1 1 0;min-width:0;font-size:var(--sd-font-size-14, 14px);line-height:var(--sd-line-height-20, 20px);font-weight:var(--sd-font-weight-medium, 500);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal-resizable__title>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal-resizable__actions{display:flex;align-items:center;flex:0 0 auto;gap:4px;margin-left:auto}.modal-resizable__actions .c-action--white{flex:0 0 auto;width:32px;height:32px;line-height:32px}.modal-resizable__actions .c-action--white.c-min,.modal-resizable__actions .c-action--white.c-max{margin:0}\n"], dependencies: [{ kind: "component", type: SdIcon, selector: "sd-icon", inputs: ["name", "fontIcon", "color", "set", "fontSet", "size", "strokeWidth", "absoluteStrokeWidth", "ariaLabel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatDialogModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i2.CdkPortal, selector: "[cdkPortal]", exportAs: ["cdkPortal"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
302
- }
303
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: SdModalResizable, decorators: [{
304
- type: Component,
305
- args: [{ selector: 'sd-modal-resizable', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [SdIcon, CommonModule, MatDialogModule, MatButtonModule, PortalModule], template: "<ng-template cdkPortal>\n <div\n [id]=\"id\"\n class=\"modal-resizable\"\n [style.width]=\"width()\"\n [class.modal-resizable--active]=\"isOpened()\"\n [class.modal-resizable--loading]=\"isLoading()\"\n [class.c-minium]=\"isMinimum()\"\n [class.c-fullscreen]=\"isMaximum()\"\n (mouseover)=\"onFocus()\"\n (focus)=\"onFocus()\"\n (mouseout)=\"onBlur()\"\n (blur)=\"onBlur()\">\n @if (isOpened()) {\n <div class=\"modal-resizable__header\">\n <div class=\"modal-resizable__title\">\n <ng-content select=\"[sdTitle]\"></ng-content>\n </div>\n <div class=\"modal-resizable__actions\">\n @if (!isMinimum()) {\n <button type=\"button\" class=\"c-action--white c-min\" (click)=\"minimize()\" mat-icon-button title=\"Thu nh\u1ECF\">\n <sd-icon name=\"remove\"></sd-icon>\n </button>\n }\n @if (isMinimum()) {\n <button type=\"button\" class=\"c-action--white c-max\" (click)=\"maximize()\" mat-icon-button title=\"Ph\u00F3ng to\">\n <sd-icon name=\"remove\"></sd-icon>\n </button>\n }\n @if (!isMaximum()) {\n <button type=\"button\" class=\"c-action--white\" (click)=\"toggleMaximum()\" mat-icon-button title=\"To\u00E0n m\u00E0n h\u00ECnh\">\n <sd-icon name=\"open_in_full\"></sd-icon>\n </button>\n }\n @if (isMaximum()) {\n <button type=\"button\" class=\"c-action--white\" (click)=\"toggleMaximum()\" mat-icon-button title=\"Tho\u00E1t to\u00E0n m\u00E0n h\u00ECnh\">\n <sd-icon name=\"fullscreen_exit\"></sd-icon>\n </button>\n }\n <button type=\"button\" class=\"c-action--white\" (click)=\"close()\" mat-icon-button title=\"\u0110\u00F3ng\">\n <sd-icon name=\"close\"></sd-icon>\n </button>\n </div>\n </div>\n <div class=\"modal-resizable__body\">\n <div class=\"modal-resizable__content\">\n <ng-content select=\"[sdBody]\"></ng-content>\n </div>\n </div>\n <div class=\"modal-resizable__footer\">\n <div class=\"modal-resizable__footer-left\"><ng-content select=\"[sdFooterLeft]\"></ng-content></div>\n <div class=\"modal-resizable__footer-right\"><ng-content select=\"[sdFooterRight]\"></ng-content></div>\n </div>\n }\n </div>\n</ng-template>\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}.modal-resizable{position:fixed;right:12px;top:80px;bottom:0;background-color:var(--sd-modal-resizable-bg, #ffffff);z-index:var(--sd-z-backdrop, 998);display:flex;flex-direction:column;opacity:0;visibility:hidden;transform:translate3d(0,100%,0);transition:all var(--sd-duration-slow, .3s) ease-in-out;pointer-events:none;box-shadow:0 .4px .8px #0000001a,0 3px 6px #0003;border-radius:4px 4px 0 0}.modal-resizable button.c-action--white:focus{outline:none!important}.modal-resizable button.c-action--white:focus-visible{outline:var(--sd-focus-ring-width, 2px) solid var(--sd-modal-resizable-focus-ring-on-dark, white)!important;outline-offset:2px}.modal-resizable.c-minium-of-list{top:auto;bottom:0;opacity:1;visibility:visible;pointer-events:all;transform:translateZ(0)}.modal-resizable.c-minium{top:auto!important;z-index:var(--sd-z-backdrop, 998)!important}.modal-resizable.c-minium .modal-resizable__body,.modal-resizable.c-minium .modal-resizable__footer{display:none}.modal-resizable.c-fullscreen{top:0;z-index:var(--sd-z-drawer, 999)}.c-action{color:var(--sd-secondary)}.c-action:focus{outline:none}.c-action:focus-visible{outline:var(--sd-focus-ring-width, 2px) solid var(--sd-focus-ring-color, var(--sd-primary));outline-offset:2px}.c-action--white.c-min{margin-bottom:-12px}.c-action--white.c-max{margin-top:-12px}.modal-resizable__icon{border:0;background:transparent;color:var(--sd-modal-resizable-title, #212121);overflow:hidden;outline:none}.modal-resizable__icon:focus-visible{outline:var(--sd-focus-ring-width, 2px) solid var(--sd-focus-ring-color, var(--sd-primary));outline-offset:2px}.modal-resizable__icon sd-icon{float:left}.modal-resizable__header{display:flex;align-items:center;flex-wrap:nowrap;gap:4px;min-height:40px;padding:0 16px;background-color:var(--sd-modal-resizable-header-bg, #5d6165);border-radius:4px 4px 0 0}.modal-resizable__body{flex:1;position:relative}.modal-resizable__content{position:absolute;padding:8px 16px 16px;inset:0;overflow:auto}.modal-resizable__footer{border-top:1px solid var(--sd-modal-resizable-divider, #dde0e5);padding:5px 16px;display:flex;align-items:center;justify-content:space-between;gap:8px}.modal-resizable__footer-left,.modal-resizable__footer-right{display:inline-flex;align-items:center;gap:8px}.modal-resizable__footer-right{margin-left:auto}.modal-resizable--active{opacity:1;visibility:visible;pointer-events:all;transform:translateZ(0)}.modal-resizable__title{flex:1 1 0;min-width:0;font-size:var(--sd-font-size-14, 14px);line-height:var(--sd-line-height-20, 20px);font-weight:var(--sd-font-weight-medium, 500);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal-resizable__title>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal-resizable__actions{display:flex;align-items:center;flex:0 0 auto;gap:4px;margin-left:auto}.modal-resizable__actions .c-action--white{flex:0 0 auto;width:32px;height:32px;line-height:32px}.modal-resizable__actions .c-action--white.c-min,.modal-resizable__actions .c-action--white.c-max{margin:0}\n"] }]
306
- }], ctorParameters: () => [] });
1
+ export { SdWindow as SdModalResizable } from '@sdcorejs/angular/components/window';
307
2
 
308
3
  /**
309
4
  * Generated bundle index. Do not edit.
310
5
  */
311
-
312
- export { SdModalResizable };
313
6
  //# sourceMappingURL=sdcorejs-angular-components-modal-resizable.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdcorejs-angular-components-modal-resizable.mjs","sources":["../../../projects/sdcorejs-angular/components/modal-resizable/src/modal-resizable.registry.ts","../../../projects/sdcorejs-angular/components/modal-resizable/src/modal-resizable.component.ts","../../../projects/sdcorejs-angular/components/modal-resizable/src/modal-resizable.component.html","../../../projects/sdcorejs-angular/components/modal-resizable/sdcorejs-angular-components-modal-resizable.ts"],"sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { Injectable, inject } from '@angular/core';\n\n/**\n * Sổ đăng ký các panel `<sd-modal-resizable>` đang sống.\n *\n * why: mỗi panel được portal ra thẳng `document.body` nên việc xếp chỗ (width/right) là bài toán\n * chung của cả stack. Trước đây `#arrangePanels` quét `document.querySelectorAll('.modal-resizable')`\n * — query đó bắt MỌI phần tử mang class này trong tài liệu, kể cả markup của component khác hoặc\n * của app dùng trùng tên class, rồi ghi đè inline style lên chúng. Registry giới hạn phạm vi ghi\n * đúng vào các instance do library tạo ra và còn sống.\n */\n@Injectable({ providedIn: 'root' })\nexport class SdModalResizableRegistry {\n // why: dùng token DOCUMENT thay vì global `document`, đồng bộ với `preview-image` — service\n // `providedIn:'root'` có thể được khởi tạo trong quá trình render phía server.\n readonly #document = inject(DOCUMENT);\n\n // Set giữ nguyên thứ tự đăng ký → thứ tự xếp chỗ ổn định, khớp thứ tự panel được mở.\n readonly #ids = new Set<string>();\n\n register(id: string): void {\n this.#ids.add(id);\n }\n\n unregister(id: string): void {\n this.#ids.delete(id);\n }\n\n /**\n * Phần tử panel của các instance đã đăng ký và đang có mặt trong DOM.\n * Instance đã destroy hoặc chưa attach portal sẽ bị bỏ qua.\n */\n panels(): HTMLElement[] {\n const elements: HTMLElement[] = [];\n for (const id of this.#ids) {\n const element = this.#document.getElementById(id);\n if (element) elements.push(element);\n }\n return elements;\n }\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n DestroyRef,\n EmbeddedViewRef,\n afterNextRender,\n booleanAttribute,\n inject,\n input,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport { Utilities } from '@sdcorejs/utils/fns';\nimport { CdkPortal, DomPortalOutlet, PortalModule } from '@angular/cdk/portal';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatDialogModule } from '@angular/material/dialog';\nimport { SdLoadingService } from '@sdcorejs/angular/services';\nimport { SdIcon } from '@sdcorejs/angular/modules/icon';\nimport { SdModalResizableRegistry } from './modal-resizable.registry';\n\n/**\n * `<sd-modal-resizable>` — right-docked, non-modal panel that can be minimized, expanded or pushed\n * fullscreen. Several panels stack side by side along the right edge of the viewport, so the user\n * can keep multiple records open at once while still working with the page behind them.\n *\n * Use it for side-by-side comparison / inspector workflows. Use `<sd-modal>` when the task is\n * blocking, and `<sd-side-drawer>` when a single overlay with a backdrop is enough.\n *\n * NOTE ON DOCS: this component deliberately has **no** sibling `sd-modal-resizable.md`. Every `*.md`\n * under the library is swept into `published-docs/<version>/index.json` by `scripts/collect-docs.mjs`,\n * and `scripts/generate-showcase-example-sources.test.mjs` asserts that list is 1:1 with the\n * `publishedDocId` set in the showcase documentation registry. A published doc with no showcase page\n * therefore turns that release guard red. Keep the reference here until the component ships a\n * showcase demo + registry entry; only then add the `.md`.\n *\n * ```ts\n * import { SdModalResizable } from '@sdcorejs/angular/components/modal-resizable';\n * ```\n *\n * ```html\n * <sd-button title=\"Open detail\" type=\"fill\" color=\"primary\" (click)=\"panel.open()\"></sd-button>\n *\n * <sd-modal-resizable #panel width=\"520px\">\n * <span sdTitle>Đơn hàng #1024</span>\n *\n * <div sdBody class=\"panel-body\">\n * <sd-section icon=\"receipt\" title=\"Thông tin chung\">\n * <sd-section-item label=\"Khách hàng\">Nguyen Van An</sd-section-item>\n * </sd-section>\n * </div>\n *\n * <sd-button sdFooterRight type=\"text\" title=\"Đóng\" (click)=\"panel.close()\"></sd-button>\n * </sd-modal-resizable>\n * ```\n *\n * ### Slots\n * | Selector | Where it renders |\n * | ----------------- | ------------------------- |\n * | `[sdTitle]` | Header title area. |\n * | `[sdBody]` | Scrollable content area. |\n * | `[sdFooterLeft]` | Footer left action group. |\n * | `[sdFooterRight]` | Footer right action group.|\n *\n * Header, body and footer only render while the panel is open.\n *\n * ### Panel stacking\n * The panel is portalled onto `document.body` (via `CdkPortal` + `DomPortalOutlet`), so laying panels\n * out is a concern shared by all live instances rather than by a single view. Arrangement is scoped\n * through the root-provided `SdModalResizableRegistry`: each instance registers its panel id on\n * construction and unregisters it on destroy. `open`, `close`, `minimize`, `maximize` and\n * `toggleMaximum` re-run the arrangement and rewrite inline `width` / `right` **only on registered,\n * still-mounted panels**, in registration order. Consequences worth knowing:\n * - Markup of your own that happens to carry the `.modal-resizable` class is **not** touched.\n * (Earlier builds ran `document.querySelectorAll('.modal-resizable')` and rewrote every match.)\n * - A destroyed panel immediately stops taking up a slot for the instances that outlive it.\n * - Panels marked `c-closed`, and expanded panels with no captured `data-width`, are skipped.\n *\n * ### Lifecycle / teardown\n * `open()`, `close()` and the arrangement pass each schedule a short `setTimeout` (100ms / 100ms /\n * 200ms) that mutates DOM. All of them are tracked and cleared in `DestroyRef.onDestroy`, together\n * with unregistering from the registry and destroying the portal view. Destroying the component\n * mid-animation cannot run layout work against a detached panel.\n *\n * ### Anti-patterns\n * - Rendering it inside a scroll container and expecting it to be clipped — it lives on `<body>`.\n * - Reusing the `.modal-resizable` class on your own elements to \"join\" the stack; register a real\n * component instead.\n * - Writing inline `width` / `right` on a panel yourself — the next arrangement pass overwrites both.\n *\n * ### Tests\n * `src/modal-resizable.component.spec.ts` — portal attach, open/close/minimize/maximize math,\n * loading, editing, timer teardown, registry scoping. Run:\n * `npx ng test sdcorejs-angular --watch=false --browsers=ChromeHeadless --include='projects/sdcorejs-angular/components/modal-resizable/src/modal-resizable.component.spec.ts'`\n *\n * ### Related\n * `<sd-modal>` (blocking dialog / bottom-sheet), `<sd-side-drawer>` (single right-side overlay with\n * a body scroll lock), `SdLoadingService` (powers `startLoading()` / `stopLoading()`).\n */\n@Component({\n selector: 'sd-modal-resizable',\n templateUrl: './modal-resizable.component.html',\n styleUrl: './modal-resizable.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [SdIcon, CommonModule, MatDialogModule, MatButtonModule, PortalModule],\n})\nexport class SdModalResizable {\n /** Generated DOM id of the panel element (`I<uuid>`). */\n readonly id = `I${Utilities.generateUuid()}`;\n readonly portal = viewChild.required(CdkPortal);\n /** Marks the panel as editable. Bare attribute = `true`. Default `false`. */\n readonly editable = input<boolean, boolean | ''>(false, { transform: booleanAttribute });\n /** CSS width used while the panel is expanded (not a minimum). Default `'480px'`. */\n readonly width = input<string>('480px');\n /** Emitted by `toggleEditable()` with the new editing state. */\n readonly editingChanged = output<boolean>();\n #embeddedViewRef!: EmbeddedViewRef<any>;\n readonly #ref = inject(ChangeDetectorRef);\n readonly #loadingService = inject(SdLoadingService);\n readonly #destroyRef = inject(DestroyRef);\n readonly #registry = inject(SdModalResizableRegistry);\n // why: open/close/#arrangePanels đều hẹn setTimeout thao tác DOM. Gom id vào một set để\n // onDestroy clear sạch, tránh callback chạy trên portal đã tháo (element không còn, hoặc tệ\n // hơn: element của instance khác vừa tái sử dụng id).\n readonly #timers = new Set<ReturnType<typeof setTimeout>>();\n // Trạng thái panel — đọc được từ ngoài (template/consumer), chỉ component tự ghi.\n readonly isEditing = signal(false);\n readonly isOpened = signal(false);\n readonly isHover = signal(false);\n readonly isLoading = signal(false);\n readonly isMinimum = signal(false);\n readonly isMaximum = signal(false);\n\n constructor() {\n this.#registry.register(this.id);\n\n afterNextRender(() => {\n // why: attachTemplatePortal tạo embedded view từ VCR của chính CdkPortal →\n // KHÔNG cần appRef/injector/document. Chỉ truyền outletElement để tương thích\n // mọi CDK (19 còn slot ComponentFactoryResolver, 20/21 đã bỏ → tránh lệch arg).\n const outlet = new DomPortalOutlet(document.body);\n this.#embeddedViewRef = outlet.attachTemplatePortal(this.portal());\n this.#detectChanges();\n });\n\n this.#destroyRef.onDestroy(() => {\n this.#registry.unregister(this.id);\n for (const timer of this.#timers) clearTimeout(timer);\n this.#timers.clear();\n this.#embeddedViewRef?.destroy();\n });\n }\n\n /** setTimeout có theo dõi — huỷ được hàng loạt trong onDestroy. */\n #schedule(callback: () => void, delay: number): void {\n const timer = setTimeout(() => {\n this.#timers.delete(timer);\n callback();\n }, delay);\n this.#timers.add(timer);\n }\n\n /** Opens the panel, captures its rendered width, and expands it. */\n open = () => {\n this.isOpened.set(true);\n this.#detectChanges();\n\n const element = this.#getElement();\n if (element && !element.classList.contains('c-minium')) {\n this.#schedule(() => {\n const maximumWidth = element.offsetWidth;\n if (maximumWidth > 0) {\n element.dataset['width'] = maximumWidth.toString();\n }\n element.classList.remove('c-closed');\n }, 100);\n }\n\n this.maximize();\n };\n\n /** Collapses the panel to zero width and stops loading. */\n close = () => {\n this.isOpened.set(false);\n this.#detectChanges();\n this.#schedule(() => {\n const element = this.#getElement();\n element?.style.setProperty('width', '0px');\n element?.style.setProperty('right', '0px');\n element?.classList.remove('c-minium');\n element?.classList.add('c-closed');\n }, 100);\n this.stopLoading();\n\n this.#arrangePanels();\n };\n\n /** Shrinks the panel to the 300px minimum strip. */\n minimize = () => {\n this.isMinimum.set(true);\n this.#detectChanges();\n this.#arrangePanels();\n };\n\n /** Restores the panel to its expanded width. */\n maximize = () => {\n this.isMinimum.set(false);\n this.#detectChanges();\n this.#arrangePanels();\n };\n\n /** Toggles fullscreen (`calc(100% - 16px)`). */\n toggleMaximum = () => {\n this.isMaximum.update(isMaximum => !isMaximum);\n this.#detectChanges();\n this.#arrangePanels();\n };\n\n /** Drives the scoped loading overlay through `SdLoadingService`. */\n startLoading = () => {\n this.isLoading.set(true);\n this.#detectChanges();\n this.#loadingService.stop(`#${this.id}`);\n this.#loadingService.start(`#${this.id}`);\n };\n\n /** Stops the scoped loading overlay. */\n stopLoading = () => {\n this.isLoading.set(false);\n this.#detectChanges();\n this.#loadingService.stop(`#${this.id}`);\n };\n\n /** Flips `isEditing` and emits `editingChanged`. */\n toggleEditable() {\n this.isEditing.update(isEditing => !isEditing);\n this.#detectChanges();\n this.editingChanged.emit(this.isEditing());\n }\n\n /** Hover state hook bound in the template. */\n onFocus = () => {\n this.isHover.set(true);\n };\n\n /** Hover state hook bound in the template. */\n onBlur = () => {\n this.isHover.set(false);\n };\n\n #arrangePanels = () => {\n this.#schedule(() => {\n let totalRight = 0;\n const minimumWidth = 300;\n // why: chỉ xếp chỗ các panel do <sd-modal-resizable> đang sống sở hữu (registry), KHÔNG\n // querySelectorAll('.modal-resizable') toàn document — query đó ghi đè inline width/right\n // lên mọi phần tử trùng class, kể cả markup của component khác không liên quan.\n this.#registry.panels().forEach(item => {\n if (item.classList.contains('c-minium')) {\n item.style.setProperty('width', `${minimumWidth}px`);\n item.style.setProperty('right', `${totalRight}px`);\n totalRight += minimumWidth + 8;\n return;\n }\n\n if (item.classList.contains('c-closed')) {\n return;\n }\n\n const expandedWidth = Number.parseInt(item.dataset['width'] || '', 10);\n if (Number.isNaN(expandedWidth)) {\n return;\n }\n\n if (item.classList.contains('c-fullscreen')) {\n item.style.setProperty('width', 'calc(100% - 16px)');\n item.style.setProperty('right', '8px');\n } else {\n item.style.setProperty('width', `${expandedWidth}px`);\n item.style.setProperty('right', `${totalRight}px`);\n }\n totalRight += expandedWidth + 8;\n });\n }, 200);\n };\n\n #getElement() {\n return document.getElementById(this.id);\n }\n\n #detectChanges() {\n this.#ref.markForCheck();\n this.#embeddedViewRef?.detectChanges();\n }\n}\n","<ng-template cdkPortal>\n <div\n [id]=\"id\"\n class=\"modal-resizable\"\n [style.width]=\"width()\"\n [class.modal-resizable--active]=\"isOpened()\"\n [class.modal-resizable--loading]=\"isLoading()\"\n [class.c-minium]=\"isMinimum()\"\n [class.c-fullscreen]=\"isMaximum()\"\n (mouseover)=\"onFocus()\"\n (focus)=\"onFocus()\"\n (mouseout)=\"onBlur()\"\n (blur)=\"onBlur()\">\n @if (isOpened()) {\n <div class=\"modal-resizable__header\">\n <div class=\"modal-resizable__title\">\n <ng-content select=\"[sdTitle]\"></ng-content>\n </div>\n <div class=\"modal-resizable__actions\">\n @if (!isMinimum()) {\n <button type=\"button\" class=\"c-action--white c-min\" (click)=\"minimize()\" mat-icon-button title=\"Thu nhỏ\">\n <sd-icon name=\"remove\"></sd-icon>\n </button>\n }\n @if (isMinimum()) {\n <button type=\"button\" class=\"c-action--white c-max\" (click)=\"maximize()\" mat-icon-button title=\"Phóng to\">\n <sd-icon name=\"remove\"></sd-icon>\n </button>\n }\n @if (!isMaximum()) {\n <button type=\"button\" class=\"c-action--white\" (click)=\"toggleMaximum()\" mat-icon-button title=\"Toàn màn hình\">\n <sd-icon name=\"open_in_full\"></sd-icon>\n </button>\n }\n @if (isMaximum()) {\n <button type=\"button\" class=\"c-action--white\" (click)=\"toggleMaximum()\" mat-icon-button title=\"Thoát toàn màn hình\">\n <sd-icon name=\"fullscreen_exit\"></sd-icon>\n </button>\n }\n <button type=\"button\" class=\"c-action--white\" (click)=\"close()\" mat-icon-button title=\"Đóng\">\n <sd-icon name=\"close\"></sd-icon>\n </button>\n </div>\n </div>\n <div class=\"modal-resizable__body\">\n <div class=\"modal-resizable__content\">\n <ng-content select=\"[sdBody]\"></ng-content>\n </div>\n </div>\n <div class=\"modal-resizable__footer\">\n <div class=\"modal-resizable__footer-left\"><ng-content select=\"[sdFooterLeft]\"></ng-content></div>\n <div class=\"modal-resizable__footer-right\"><ng-content select=\"[sdFooterRight]\"></ng-content></div>\n </div>\n }\n </div>\n</ng-template>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"sdcorejs-angular-components-modal-resizable.mjs","sources":["../../../projects/sdcorejs-angular/components/modal-resizable/sdcorejs-angular-components-modal-resizable.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;;AAEG"}
@@ -204,11 +204,11 @@ class SdModal {
204
204
  return classes;
205
205
  }
206
206
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: SdModal, deps: [], target: i0.ɵɵFactoryTarget.Component });
207
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: SdModal, isStandalone: true, selector: "sd-modal", inputs: { autoIdInput: { classPropertyName: "autoIdInput", publicName: "autoId", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, view: { classPropertyName: "view", publicName: "view", isSignal: true, isRequired: false, transformFunction: null }, modalClass: { classPropertyName: "modalClass", publicName: "modalClass", isSignal: true, isRequired: false, transformFunction: null }, lazyLoadContent: { classPropertyName: "lazyLoadContent", publicName: "lazyLoadContent", isSignal: true, isRequired: false, transformFunction: null }, hideClose: { classPropertyName: "hideClose", publicName: "hideClose", isSignal: true, isRequired: false, transformFunction: null }, disableBackdropClose: { classPropertyName: "disableBackdropClose", publicName: "disableBackdropClose", isSignal: true, isRequired: false, transformFunction: null }, beforeClose: { classPropertyName: "beforeClose", publicName: "beforeClose", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { sdClosed: "sdClosed", sdCloseError: "sdCloseError" }, viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["templateRef"], descendants: true, isSignal: true }, { propertyName: "modal", first: true, predicate: ["modal"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template #templateRef>\n @let _title = title();\n <div #modal class=\"sd-modal-root\" [attr.data-autoId]=\"autoId()\" [attr.data-opened]=\"dataOpened()\">\n @if (!lazyLoadContent() || alreadyOpened()) {\n @if (_title) {\n <div class=\"sd-modal-header\">\n <div class=\"sd-modal-header-left\" [id]=\"titleId\">\n <ng-content select=\"[sdHeaderLeft]\">\n <div class=\"sd-modal-title T18M\">{{ _title }}</div>\n </ng-content>\n </div>\n <div class=\"sd-modal-header-right\">\n <ng-content select=\"[sdHeaderRight]\"></ng-content>\n @if (!hideClose()) {\n <button\n type=\"button\"\n class=\"sd-modal-close-btn\"\n aria-label=\"Close\"\n (click)=\"close()\"\n [attr.data-autoId]=\"closeButtonAutoId()\">\n <sd-icon name=\"close\"></sd-icon>\n </button>\n }\n </div>\n </div>\n }\n <div class=\"sd-modal-body\">\n <ng-content></ng-content>\n </div>\n <div class=\"sd-modal-footer\" #footer>\n <div class=\"sd-modal-footer-left\"><ng-content select=\"[sdFooterLeft]\"></ng-content></div>\n <div class=\"sd-modal-footer-right\"><ng-content select=\"[sdFooterRight]\"></ng-content></div>\n </div>\n }\n </div>\n</ng-template>\n", styles: [".sd-modal-root button:focus{outline:none!important}.sd-modal-root button:focus-visible{outline:var(--sd-focus-ring-width, 2px) solid var(--sd-focus-ring-color, var(--sd-primary))!important;outline-offset:2px}.sd-modal-panel,.sd-modal-bottom-sheet-panel{--sd-modal-radius: var(--sd-overlay-radius, 8px);--sd-modal-bottom-sheet-radius: var(--sd-overlay-bottom-sheet-radius, 12px);--sd-modal-surface: var(--sd-surface, #fff);--sd-modal-border: var(--sd-border, #dde0e5);--sd-modal-shadow: 0 6px 18px rgba(15, 23, 42, .18), 0 1px 3px rgba(15, 23, 42, .12)}.sd-modal-panel .mat-mdc-dialog-container{--mdc-dialog-container-shape: var(--sd-modal-radius);--mat-dialog-container-shape: var(--sd-modal-radius)}.sd-modal-panel .mat-mdc-dialog-surface,.sd-modal-panel .mdc-dialog__surface,.sd-modal-panel .mat-dialog-container{padding:0!important;border-radius:var(--sd-modal-radius)!important;background:var(--sd-modal-surface);max-height:calc(100dvh - 32px);overflow:hidden;box-shadow:var(--sd-modal-shadow)}.sd-modal-panel .mat-dialog-container .mat-dialog-content,.sd-modal-panel .mat-dialog-container .mat-mdc-dialog-content,.sd-modal-panel .mat-mdc-dialog-container .mat-dialog-content,.sd-modal-panel .mat-mdc-dialog-container .mat-mdc-dialog-content{max-height:80vh}.sd-modal-panel .mat-dialog-container .mat-dialog-actions,.sd-modal-panel .mat-dialog-container .mat-mdc-dialog-actions,.sd-modal-panel .mat-mdc-dialog-container .mat-dialog-actions,.sd-modal-panel .mat-mdc-dialog-container .mat-mdc-dialog-actions{min-height:auto;margin-bottom:0;padding:0}.sd-modal-root{display:flex;width:100%;max-height:inherit;flex-direction:column;background:var(--sd-modal-surface, var(--sd-surface, #fff));border-radius:inherit;overflow:hidden}.sd-modal-header{min-height:56px;display:flex;align-items:center;gap:16px}.sd-modal-header-left{display:flex;align-items:center;flex:1 1 auto;min-width:0}.sd-modal-header-right{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto}.sd-modal-title{min-width:0}.sd-modal-body{flex:1 1 auto;min-height:0;width:100%;max-height:80vh;overflow:auto;padding:0}.sd-modal-close-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;box-sizing:border-box;width:32px;height:32px;margin-left:8px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--sd-text-secondary);line-height:0;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;transition:background-color 80ms ease,color 80ms ease}.sd-modal-close-btn:hover{background:var(--sd-surface-muted);color:var(--sd-text)}.sd-modal-close-btn:active{background:var(--sd-border)}.sd-modal-close-btn:focus{outline:none!important}.sd-modal-close-btn:focus-visible{outline:var(--sd-focus-ring-width, 2px) solid var(--sd-focus-ring-color, var(--sd-primary))!important;outline-offset:2px}.sd-modal-close-btn sd-icon{display:block;width:20px;height:20px;font-size:var(--sd-font-size-20, 20px);line-height:var(--sd-line-height-20, 20px)}.cdk-overlay-pane.sd-modal-bottom-sheet-panel{width:100%}.sd-modal-bottom-sheet-panel.mat-bottom-sheet-container,.sd-modal-bottom-sheet-panel.mat-mdc-bottom-sheet-container,.sd-modal-bottom-sheet-panel .mat-bottom-sheet-container,.sd-modal-bottom-sheet-panel .mat-mdc-bottom-sheet-container{padding:0;width:100%;min-width:0;max-width:100%;box-sizing:border-box;outline:0;max-height:min(80vh,100dvh - 16px);overflow:hidden;border-radius:var(--sd-modal-bottom-sheet-radius) var(--sd-modal-bottom-sheet-radius) 0 0!important;background:var(--sd-modal-surface);box-shadow:var(--sd-modal-shadow);display:flex;flex-direction:column}.sd-modal-footer{min-height:56px;border-top:1px solid var(--sd-modal-border);display:flex;align-items:center;justify-content:space-between;gap:16px}.sd-modal-footer-left,.sd-modal-footer-right{display:flex;align-items:center;gap:8px;min-width:0}.sd-modal-footer-left{flex:1 1 auto}.sd-modal-footer-right{flex:0 0 auto;margin-left:auto;justify-content:flex-end}.sd-modal-footer-left:empty,.sd-modal-footer-right:empty{display:none}.sd-modal-footer:has(.sd-modal-footer-left:empty):has(.sd-modal-footer-right:empty){display:none}.sd-modal-header,.sd-modal-footer{flex-shrink:0;padding:12px 16px;background:var(--sd-white, #fff)}.sd-modal-title{font-size:var(--sd-font-size-18, 18px);line-height:25px;font-weight:var(--sd-font-weight-semibold, 600);overflow-wrap:anywhere}.sd-modal-body{padding:12px 16px;box-sizing:border-box}@media(max-width:600px){.sd-modal-header{gap:8px}.sd-modal-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom));flex-wrap:wrap;gap:8px}.sd-modal-footer-left,.sd-modal-footer-right{flex-wrap:wrap}.sd-modal-footer button,.sd-modal-close-btn{min-height:44px}.sd-modal-close-btn{width:44px}}@media(prefers-reduced-motion:reduce){.sd-modal-panel .mat-mdc-dialog-container,.sd-modal-panel .mat-mdc-dialog-surface,.sd-modal-bottom-sheet-panel{transition:none!important;animation:none!important}}\n"], dependencies: [{ kind: "component", type: SdIcon, selector: "sd-icon", inputs: ["name", "fontIcon", "color", "set", "fontSet", "size", "strokeWidth", "absoluteStrokeWidth", "ariaLabel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatBottomSheetModule }, { kind: "ngmodule", type: MatDialogModule }, { kind: "ngmodule", type: MatDividerModule }, { kind: "ngmodule", type: MatButtonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
207
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: SdModal, isStandalone: true, selector: "sd-modal", inputs: { autoIdInput: { classPropertyName: "autoIdInput", publicName: "autoId", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, view: { classPropertyName: "view", publicName: "view", isSignal: true, isRequired: false, transformFunction: null }, modalClass: { classPropertyName: "modalClass", publicName: "modalClass", isSignal: true, isRequired: false, transformFunction: null }, lazyLoadContent: { classPropertyName: "lazyLoadContent", publicName: "lazyLoadContent", isSignal: true, isRequired: false, transformFunction: null }, hideClose: { classPropertyName: "hideClose", publicName: "hideClose", isSignal: true, isRequired: false, transformFunction: null }, disableBackdropClose: { classPropertyName: "disableBackdropClose", publicName: "disableBackdropClose", isSignal: true, isRequired: false, transformFunction: null }, beforeClose: { classPropertyName: "beforeClose", publicName: "beforeClose", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { sdClosed: "sdClosed", sdCloseError: "sdCloseError" }, viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["templateRef"], descendants: true, isSignal: true }, { propertyName: "modal", first: true, predicate: ["modal"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template #templateRef>\n @let _title = title();\n <div #modal class=\"sd-modal-root\" [attr.data-autoId]=\"autoId()\" [attr.data-opened]=\"dataOpened()\">\n @if (!lazyLoadContent() || alreadyOpened()) {\n @if (_title) {\n <div class=\"sd-modal-header\">\n <div class=\"sd-modal-header-left\" [id]=\"titleId\">\n <ng-content select=\"[sdHeaderLeft]\">\n <div class=\"sd-modal-title T18M\">{{ _title }}</div>\n </ng-content>\n </div>\n <div class=\"sd-modal-header-right\">\n <ng-content select=\"[sdHeaderRight]\"></ng-content>\n @if (!hideClose()) {\n <button\n type=\"button\"\n class=\"sd-modal-close-btn\"\n aria-label=\"Close\"\n (click)=\"close()\"\n [attr.data-autoId]=\"closeButtonAutoId()\">\n <sd-icon name=\"close\"></sd-icon>\n </button>\n }\n </div>\n </div>\n }\n <div class=\"sd-modal-body\">\n <ng-content></ng-content>\n </div>\n <div class=\"sd-modal-footer\" #footer>\n <div class=\"sd-modal-footer-left\"><ng-content select=\"[sdFooterLeft]\"></ng-content></div>\n <div class=\"sd-modal-footer-right\"><ng-content select=\"[sdFooterRight]\"></ng-content></div>\n </div>\n }\n </div>\n</ng-template>\n", styles: [".sd-modal-root button:focus{outline:none!important}.sd-modal-root button:focus-visible{outline:var(--sd-focus-ring-width, 2px) solid var(--sd-focus-ring-color, var(--sd-primary))!important;outline-offset:2px}.sd-modal-panel,.sd-modal-bottom-sheet-panel{--sd-modal-radius: var(--sd-overlay-radius, 8px);--sd-modal-bottom-sheet-radius: var(--sd-overlay-bottom-sheet-radius, 12px);--sd-modal-surface: var(--sd-overlay-surface, var(--sd-surface, #fff));--sd-modal-border: var(--sd-border, #dde0e5);--sd-modal-shadow: 0 6px 18px rgba(15, 23, 42, .18), 0 1px 3px rgba(15, 23, 42, .12)}.sd-modal-panel .mat-mdc-dialog-container{--mdc-dialog-container-shape: var(--sd-modal-radius);--mat-dialog-container-shape: var(--sd-modal-radius)}.sd-modal-panel .mat-mdc-dialog-surface,.sd-modal-panel .mdc-dialog__surface,.sd-modal-panel .mat-dialog-container{padding:0!important;border-radius:var(--sd-modal-radius)!important;background:var(--sd-modal-surface);max-height:calc(100dvh - 32px);overflow:hidden;box-shadow:var(--sd-modal-shadow)}.sd-modal-panel .mat-dialog-container .mat-dialog-content,.sd-modal-panel .mat-dialog-container .mat-mdc-dialog-content,.sd-modal-panel .mat-mdc-dialog-container .mat-dialog-content,.sd-modal-panel .mat-mdc-dialog-container .mat-mdc-dialog-content{max-height:80vh}.sd-modal-panel .mat-dialog-container .mat-dialog-actions,.sd-modal-panel .mat-dialog-container .mat-mdc-dialog-actions,.sd-modal-panel .mat-mdc-dialog-container .mat-dialog-actions,.sd-modal-panel .mat-mdc-dialog-container .mat-mdc-dialog-actions{min-height:auto;margin-bottom:0;padding:0}.sd-modal-root{display:flex;width:100%;max-height:inherit;flex-direction:column;background:var(--sd-modal-surface, var(--sd-surface, #fff));border-radius:inherit;overflow:hidden}.sd-modal-header{min-height:56px;display:flex;align-items:center;gap:16px}.sd-modal-header-left{display:flex;align-items:center;flex:1 1 auto;min-width:0}.sd-modal-header-right{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto}.sd-modal-title{min-width:0}.sd-modal-body{flex:1 1 auto;min-height:0;width:100%;max-height:80vh;overflow:auto;padding:0}.sd-modal-close-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;box-sizing:border-box;width:32px;height:32px;margin-left:8px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--sd-text-secondary);line-height:0;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;transition:background-color 80ms ease,color 80ms ease}.sd-modal-close-btn:hover{background:var(--sd-surface-muted);color:var(--sd-text)}.sd-modal-close-btn:active{background:var(--sd-border)}.sd-modal-close-btn:focus{outline:none!important}.sd-modal-close-btn:focus-visible{outline:var(--sd-focus-ring-width, 2px) solid var(--sd-focus-ring-color, var(--sd-primary))!important;outline-offset:2px}.sd-modal-close-btn sd-icon{display:block;width:20px;height:20px;font-size:var(--sd-font-size-20, 20px);line-height:var(--sd-line-height-20, 20px)}.cdk-overlay-pane.sd-modal-bottom-sheet-panel{width:100%}.sd-modal-bottom-sheet-panel.mat-bottom-sheet-container,.sd-modal-bottom-sheet-panel.mat-mdc-bottom-sheet-container,.sd-modal-bottom-sheet-panel .mat-bottom-sheet-container,.sd-modal-bottom-sheet-panel .mat-mdc-bottom-sheet-container{padding:0;width:100%;min-width:0;max-width:100%;box-sizing:border-box;outline:0;max-height:min(80vh,100dvh - 16px);overflow:hidden;border-radius:var(--sd-modal-bottom-sheet-radius) var(--sd-modal-bottom-sheet-radius) 0 0!important;background:var(--sd-modal-surface);box-shadow:var(--sd-modal-shadow);display:flex;flex-direction:column}.sd-modal-footer{min-height:56px;border-top:1px solid var(--sd-modal-border);display:flex;align-items:center;justify-content:space-between;gap:16px}.sd-modal-footer-left,.sd-modal-footer-right{display:flex;align-items:center;gap:8px;min-width:0}.sd-modal-footer-left{flex:1 1 auto}.sd-modal-footer-right{flex:0 0 auto;margin-left:auto;justify-content:flex-end}.sd-modal-footer-left:empty,.sd-modal-footer-right:empty{display:none}.sd-modal-footer:has(.sd-modal-footer-left:empty):has(.sd-modal-footer-right:empty){display:none}.sd-modal-header,.sd-modal-footer{flex-shrink:0;padding:12px 16px;background:var(--sd-modal-surface, var(--sd-overlay-surface, var(--sd-surface, #fff)))}.sd-modal-title{font-size:var(--sd-font-size-18, 18px);line-height:25px;font-weight:var(--sd-font-weight-semibold, 600);overflow-wrap:anywhere}.sd-modal-body{padding:12px 16px;box-sizing:border-box}@media(max-width:600px){.sd-modal-header{gap:8px}.sd-modal-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom));flex-wrap:wrap;gap:8px}.sd-modal-footer-left,.sd-modal-footer-right{flex-wrap:wrap}.sd-modal-footer button,.sd-modal-close-btn{min-height:44px}.sd-modal-close-btn{width:44px}}@media(prefers-reduced-motion:reduce){.sd-modal-panel .mat-mdc-dialog-container,.sd-modal-panel .mat-mdc-dialog-surface,.sd-modal-bottom-sheet-panel{transition:none!important;animation:none!important}}\n"], dependencies: [{ kind: "component", type: SdIcon, selector: "sd-icon", inputs: ["name", "fontIcon", "color", "set", "fontSet", "size", "strokeWidth", "absoluteStrokeWidth", "ariaLabel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatBottomSheetModule }, { kind: "ngmodule", type: MatDialogModule }, { kind: "ngmodule", type: MatDividerModule }, { kind: "ngmodule", type: MatButtonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
208
208
  }
209
209
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: SdModal, decorators: [{
210
210
  type: Component,
211
- args: [{ selector: 'sd-modal', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [SdIcon, CommonModule, MatBottomSheetModule, MatDialogModule, MatDividerModule, MatButtonModule], template: "<ng-template #templateRef>\n @let _title = title();\n <div #modal class=\"sd-modal-root\" [attr.data-autoId]=\"autoId()\" [attr.data-opened]=\"dataOpened()\">\n @if (!lazyLoadContent() || alreadyOpened()) {\n @if (_title) {\n <div class=\"sd-modal-header\">\n <div class=\"sd-modal-header-left\" [id]=\"titleId\">\n <ng-content select=\"[sdHeaderLeft]\">\n <div class=\"sd-modal-title T18M\">{{ _title }}</div>\n </ng-content>\n </div>\n <div class=\"sd-modal-header-right\">\n <ng-content select=\"[sdHeaderRight]\"></ng-content>\n @if (!hideClose()) {\n <button\n type=\"button\"\n class=\"sd-modal-close-btn\"\n aria-label=\"Close\"\n (click)=\"close()\"\n [attr.data-autoId]=\"closeButtonAutoId()\">\n <sd-icon name=\"close\"></sd-icon>\n </button>\n }\n </div>\n </div>\n }\n <div class=\"sd-modal-body\">\n <ng-content></ng-content>\n </div>\n <div class=\"sd-modal-footer\" #footer>\n <div class=\"sd-modal-footer-left\"><ng-content select=\"[sdFooterLeft]\"></ng-content></div>\n <div class=\"sd-modal-footer-right\"><ng-content select=\"[sdFooterRight]\"></ng-content></div>\n </div>\n }\n </div>\n</ng-template>\n", styles: [".sd-modal-root button:focus{outline:none!important}.sd-modal-root button:focus-visible{outline:var(--sd-focus-ring-width, 2px) solid var(--sd-focus-ring-color, var(--sd-primary))!important;outline-offset:2px}.sd-modal-panel,.sd-modal-bottom-sheet-panel{--sd-modal-radius: var(--sd-overlay-radius, 8px);--sd-modal-bottom-sheet-radius: var(--sd-overlay-bottom-sheet-radius, 12px);--sd-modal-surface: var(--sd-surface, #fff);--sd-modal-border: var(--sd-border, #dde0e5);--sd-modal-shadow: 0 6px 18px rgba(15, 23, 42, .18), 0 1px 3px rgba(15, 23, 42, .12)}.sd-modal-panel .mat-mdc-dialog-container{--mdc-dialog-container-shape: var(--sd-modal-radius);--mat-dialog-container-shape: var(--sd-modal-radius)}.sd-modal-panel .mat-mdc-dialog-surface,.sd-modal-panel .mdc-dialog__surface,.sd-modal-panel .mat-dialog-container{padding:0!important;border-radius:var(--sd-modal-radius)!important;background:var(--sd-modal-surface);max-height:calc(100dvh - 32px);overflow:hidden;box-shadow:var(--sd-modal-shadow)}.sd-modal-panel .mat-dialog-container .mat-dialog-content,.sd-modal-panel .mat-dialog-container .mat-mdc-dialog-content,.sd-modal-panel .mat-mdc-dialog-container .mat-dialog-content,.sd-modal-panel .mat-mdc-dialog-container .mat-mdc-dialog-content{max-height:80vh}.sd-modal-panel .mat-dialog-container .mat-dialog-actions,.sd-modal-panel .mat-dialog-container .mat-mdc-dialog-actions,.sd-modal-panel .mat-mdc-dialog-container .mat-dialog-actions,.sd-modal-panel .mat-mdc-dialog-container .mat-mdc-dialog-actions{min-height:auto;margin-bottom:0;padding:0}.sd-modal-root{display:flex;width:100%;max-height:inherit;flex-direction:column;background:var(--sd-modal-surface, var(--sd-surface, #fff));border-radius:inherit;overflow:hidden}.sd-modal-header{min-height:56px;display:flex;align-items:center;gap:16px}.sd-modal-header-left{display:flex;align-items:center;flex:1 1 auto;min-width:0}.sd-modal-header-right{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto}.sd-modal-title{min-width:0}.sd-modal-body{flex:1 1 auto;min-height:0;width:100%;max-height:80vh;overflow:auto;padding:0}.sd-modal-close-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;box-sizing:border-box;width:32px;height:32px;margin-left:8px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--sd-text-secondary);line-height:0;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;transition:background-color 80ms ease,color 80ms ease}.sd-modal-close-btn:hover{background:var(--sd-surface-muted);color:var(--sd-text)}.sd-modal-close-btn:active{background:var(--sd-border)}.sd-modal-close-btn:focus{outline:none!important}.sd-modal-close-btn:focus-visible{outline:var(--sd-focus-ring-width, 2px) solid var(--sd-focus-ring-color, var(--sd-primary))!important;outline-offset:2px}.sd-modal-close-btn sd-icon{display:block;width:20px;height:20px;font-size:var(--sd-font-size-20, 20px);line-height:var(--sd-line-height-20, 20px)}.cdk-overlay-pane.sd-modal-bottom-sheet-panel{width:100%}.sd-modal-bottom-sheet-panel.mat-bottom-sheet-container,.sd-modal-bottom-sheet-panel.mat-mdc-bottom-sheet-container,.sd-modal-bottom-sheet-panel .mat-bottom-sheet-container,.sd-modal-bottom-sheet-panel .mat-mdc-bottom-sheet-container{padding:0;width:100%;min-width:0;max-width:100%;box-sizing:border-box;outline:0;max-height:min(80vh,100dvh - 16px);overflow:hidden;border-radius:var(--sd-modal-bottom-sheet-radius) var(--sd-modal-bottom-sheet-radius) 0 0!important;background:var(--sd-modal-surface);box-shadow:var(--sd-modal-shadow);display:flex;flex-direction:column}.sd-modal-footer{min-height:56px;border-top:1px solid var(--sd-modal-border);display:flex;align-items:center;justify-content:space-between;gap:16px}.sd-modal-footer-left,.sd-modal-footer-right{display:flex;align-items:center;gap:8px;min-width:0}.sd-modal-footer-left{flex:1 1 auto}.sd-modal-footer-right{flex:0 0 auto;margin-left:auto;justify-content:flex-end}.sd-modal-footer-left:empty,.sd-modal-footer-right:empty{display:none}.sd-modal-footer:has(.sd-modal-footer-left:empty):has(.sd-modal-footer-right:empty){display:none}.sd-modal-header,.sd-modal-footer{flex-shrink:0;padding:12px 16px;background:var(--sd-white, #fff)}.sd-modal-title{font-size:var(--sd-font-size-18, 18px);line-height:25px;font-weight:var(--sd-font-weight-semibold, 600);overflow-wrap:anywhere}.sd-modal-body{padding:12px 16px;box-sizing:border-box}@media(max-width:600px){.sd-modal-header{gap:8px}.sd-modal-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom));flex-wrap:wrap;gap:8px}.sd-modal-footer-left,.sd-modal-footer-right{flex-wrap:wrap}.sd-modal-footer button,.sd-modal-close-btn{min-height:44px}.sd-modal-close-btn{width:44px}}@media(prefers-reduced-motion:reduce){.sd-modal-panel .mat-mdc-dialog-container,.sd-modal-panel .mat-mdc-dialog-surface,.sd-modal-bottom-sheet-panel{transition:none!important;animation:none!important}}\n"] }]
211
+ args: [{ selector: 'sd-modal', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [SdIcon, CommonModule, MatBottomSheetModule, MatDialogModule, MatDividerModule, MatButtonModule], template: "<ng-template #templateRef>\n @let _title = title();\n <div #modal class=\"sd-modal-root\" [attr.data-autoId]=\"autoId()\" [attr.data-opened]=\"dataOpened()\">\n @if (!lazyLoadContent() || alreadyOpened()) {\n @if (_title) {\n <div class=\"sd-modal-header\">\n <div class=\"sd-modal-header-left\" [id]=\"titleId\">\n <ng-content select=\"[sdHeaderLeft]\">\n <div class=\"sd-modal-title T18M\">{{ _title }}</div>\n </ng-content>\n </div>\n <div class=\"sd-modal-header-right\">\n <ng-content select=\"[sdHeaderRight]\"></ng-content>\n @if (!hideClose()) {\n <button\n type=\"button\"\n class=\"sd-modal-close-btn\"\n aria-label=\"Close\"\n (click)=\"close()\"\n [attr.data-autoId]=\"closeButtonAutoId()\">\n <sd-icon name=\"close\"></sd-icon>\n </button>\n }\n </div>\n </div>\n }\n <div class=\"sd-modal-body\">\n <ng-content></ng-content>\n </div>\n <div class=\"sd-modal-footer\" #footer>\n <div class=\"sd-modal-footer-left\"><ng-content select=\"[sdFooterLeft]\"></ng-content></div>\n <div class=\"sd-modal-footer-right\"><ng-content select=\"[sdFooterRight]\"></ng-content></div>\n </div>\n }\n </div>\n</ng-template>\n", styles: [".sd-modal-root button:focus{outline:none!important}.sd-modal-root button:focus-visible{outline:var(--sd-focus-ring-width, 2px) solid var(--sd-focus-ring-color, var(--sd-primary))!important;outline-offset:2px}.sd-modal-panel,.sd-modal-bottom-sheet-panel{--sd-modal-radius: var(--sd-overlay-radius, 8px);--sd-modal-bottom-sheet-radius: var(--sd-overlay-bottom-sheet-radius, 12px);--sd-modal-surface: var(--sd-overlay-surface, var(--sd-surface, #fff));--sd-modal-border: var(--sd-border, #dde0e5);--sd-modal-shadow: 0 6px 18px rgba(15, 23, 42, .18), 0 1px 3px rgba(15, 23, 42, .12)}.sd-modal-panel .mat-mdc-dialog-container{--mdc-dialog-container-shape: var(--sd-modal-radius);--mat-dialog-container-shape: var(--sd-modal-radius)}.sd-modal-panel .mat-mdc-dialog-surface,.sd-modal-panel .mdc-dialog__surface,.sd-modal-panel .mat-dialog-container{padding:0!important;border-radius:var(--sd-modal-radius)!important;background:var(--sd-modal-surface);max-height:calc(100dvh - 32px);overflow:hidden;box-shadow:var(--sd-modal-shadow)}.sd-modal-panel .mat-dialog-container .mat-dialog-content,.sd-modal-panel .mat-dialog-container .mat-mdc-dialog-content,.sd-modal-panel .mat-mdc-dialog-container .mat-dialog-content,.sd-modal-panel .mat-mdc-dialog-container .mat-mdc-dialog-content{max-height:80vh}.sd-modal-panel .mat-dialog-container .mat-dialog-actions,.sd-modal-panel .mat-dialog-container .mat-mdc-dialog-actions,.sd-modal-panel .mat-mdc-dialog-container .mat-dialog-actions,.sd-modal-panel .mat-mdc-dialog-container .mat-mdc-dialog-actions{min-height:auto;margin-bottom:0;padding:0}.sd-modal-root{display:flex;width:100%;max-height:inherit;flex-direction:column;background:var(--sd-modal-surface, var(--sd-surface, #fff));border-radius:inherit;overflow:hidden}.sd-modal-header{min-height:56px;display:flex;align-items:center;gap:16px}.sd-modal-header-left{display:flex;align-items:center;flex:1 1 auto;min-width:0}.sd-modal-header-right{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto}.sd-modal-title{min-width:0}.sd-modal-body{flex:1 1 auto;min-height:0;width:100%;max-height:80vh;overflow:auto;padding:0}.sd-modal-close-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;box-sizing:border-box;width:32px;height:32px;margin-left:8px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--sd-text-secondary);line-height:0;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;transition:background-color 80ms ease,color 80ms ease}.sd-modal-close-btn:hover{background:var(--sd-surface-muted);color:var(--sd-text)}.sd-modal-close-btn:active{background:var(--sd-border)}.sd-modal-close-btn:focus{outline:none!important}.sd-modal-close-btn:focus-visible{outline:var(--sd-focus-ring-width, 2px) solid var(--sd-focus-ring-color, var(--sd-primary))!important;outline-offset:2px}.sd-modal-close-btn sd-icon{display:block;width:20px;height:20px;font-size:var(--sd-font-size-20, 20px);line-height:var(--sd-line-height-20, 20px)}.cdk-overlay-pane.sd-modal-bottom-sheet-panel{width:100%}.sd-modal-bottom-sheet-panel.mat-bottom-sheet-container,.sd-modal-bottom-sheet-panel.mat-mdc-bottom-sheet-container,.sd-modal-bottom-sheet-panel .mat-bottom-sheet-container,.sd-modal-bottom-sheet-panel .mat-mdc-bottom-sheet-container{padding:0;width:100%;min-width:0;max-width:100%;box-sizing:border-box;outline:0;max-height:min(80vh,100dvh - 16px);overflow:hidden;border-radius:var(--sd-modal-bottom-sheet-radius) var(--sd-modal-bottom-sheet-radius) 0 0!important;background:var(--sd-modal-surface);box-shadow:var(--sd-modal-shadow);display:flex;flex-direction:column}.sd-modal-footer{min-height:56px;border-top:1px solid var(--sd-modal-border);display:flex;align-items:center;justify-content:space-between;gap:16px}.sd-modal-footer-left,.sd-modal-footer-right{display:flex;align-items:center;gap:8px;min-width:0}.sd-modal-footer-left{flex:1 1 auto}.sd-modal-footer-right{flex:0 0 auto;margin-left:auto;justify-content:flex-end}.sd-modal-footer-left:empty,.sd-modal-footer-right:empty{display:none}.sd-modal-footer:has(.sd-modal-footer-left:empty):has(.sd-modal-footer-right:empty){display:none}.sd-modal-header,.sd-modal-footer{flex-shrink:0;padding:12px 16px;background:var(--sd-modal-surface, var(--sd-overlay-surface, var(--sd-surface, #fff)))}.sd-modal-title{font-size:var(--sd-font-size-18, 18px);line-height:25px;font-weight:var(--sd-font-weight-semibold, 600);overflow-wrap:anywhere}.sd-modal-body{padding:12px 16px;box-sizing:border-box}@media(max-width:600px){.sd-modal-header{gap:8px}.sd-modal-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom));flex-wrap:wrap;gap:8px}.sd-modal-footer-left,.sd-modal-footer-right{flex-wrap:wrap}.sd-modal-footer button,.sd-modal-close-btn{min-height:44px}.sd-modal-close-btn{width:44px}}@media(prefers-reduced-motion:reduce){.sd-modal-panel .mat-mdc-dialog-container,.sd-modal-panel .mat-mdc-dialog-surface,.sd-modal-bottom-sheet-panel{transition:none!important;animation:none!important}}\n"] }]
212
212
  }], ctorParameters: () => [] });
213
213
 
214
214
  /**