@sdcorejs/angular 19.3.4 → 19.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (343) hide show
  1. package/assets/STYLE-GUIDE.md +78 -1
  2. package/assets/THEME.md +45 -3
  3. package/assets/scss/core/_popover-panel.scss +90 -0
  4. package/assets/scss/core/form.scss +5 -2
  5. package/assets/scss/core/utilities/_grid.scss +15 -0
  6. package/assets/scss/core/utilities/_sizing.scss +4 -0
  7. package/assets/scss/themes/_component-tokens.scss +9 -4
  8. package/assets/scss/themes/_semantic.scss +6 -5
  9. package/components/anchor/src/components/anchor/anchor.component.d.ts +6 -1
  10. package/components/button/src/button-item.component.d.ts +7 -1
  11. package/components/calendar/index.d.ts +12 -0
  12. package/components/calendar/src/calendar-edge-scroll.d.ts +27 -0
  13. package/components/calendar/src/calendar-format.d.ts +51 -0
  14. package/components/calendar/src/calendar-host.d.ts +33 -0
  15. package/components/calendar/src/calendar-loader.d.ts +18 -0
  16. package/components/calendar/src/calendar-move.d.ts +189 -0
  17. package/components/calendar/src/calendar.component.d.ts +325 -0
  18. package/components/calendar/src/calendar.configuration.d.ts +24 -0
  19. package/components/calendar/src/calendar.model.d.ts +121 -0
  20. package/components/calendar/src/calendar.templates.d.ts +65 -0
  21. package/components/calendar/src/calendar.utils.d.ts +242 -0
  22. package/components/card/index.d.ts +3 -0
  23. package/components/card/src/card-actions.directive.d.ts +13 -0
  24. package/components/card/src/card-group.component.d.ts +32 -1
  25. package/components/card/src/card.component.d.ts +71 -5
  26. package/components/card/src/card.configuration.d.ts +20 -0
  27. package/components/card/src/card.format.d.ts +50 -0
  28. package/components/card/src/card.model.d.ts +83 -0
  29. package/components/card/src/card.utils.d.ts +5 -0
  30. package/components/file-explorer/src/file-explorer.utils.d.ts +1 -4
  31. package/components/index.d.ts +3 -1
  32. package/components/kanban/src/kanban-card-outlet.d.ts +16 -0
  33. package/components/kanban/src/kanban-loader.d.ts +45 -0
  34. package/components/kanban/src/kanban.component.d.ts +97 -37
  35. package/components/kanban/src/kanban.model.d.ts +93 -37
  36. package/components/kanban/src/kanban.utils.d.ts +38 -5
  37. package/components/modal/src/modal.component.d.ts +15 -1
  38. package/components/query-bar/index.d.ts +1 -0
  39. package/components/query-bar/src/components/actions-bar/actions-bar.component.d.ts +6 -2
  40. package/components/query-bar/src/components/chip-popover/chip-popover.component.d.ts +26 -22
  41. package/components/query-bar/src/components/field-picker/field-picker.component.d.ts +52 -31
  42. package/components/query-bar/src/components/inline-chip/inline-chip.component.d.ts +20 -1
  43. package/components/query-bar/src/components/inline-value-chip/inline-value-chip.component.d.ts +5 -1
  44. package/components/query-bar/src/components/panel/query-panel.d.ts +110 -0
  45. package/components/query-bar/src/components/popover-chip/popover-chip.component.d.ts +15 -8
  46. package/components/query-bar/src/components/saved-filters-menu/saved-filters-menu.component.d.ts +35 -18
  47. package/components/query-bar/src/components/saved-filters-menu/saved-filters-storage.d.ts +13 -0
  48. package/components/query-bar/src/query-bar-chip-text.d.ts +27 -0
  49. package/components/query-bar/src/query-bar-filter.d.ts +8 -0
  50. package/components/query-bar/src/query-bar.component.d.ts +62 -7
  51. package/components/query-bar/src/query-bar.model.d.ts +2 -0
  52. package/components/quick-action/index.d.ts +2 -0
  53. package/components/quick-action/src/selection-bar/selection-bar.component.d.ts +39 -0
  54. package/components/quick-action/src/selection-bar/selection-bar.model.d.ts +24 -0
  55. package/components/scheduler/index.d.ts +4 -0
  56. package/components/scheduler/src/scheduler.component.d.ts +345 -0
  57. package/components/scheduler/src/scheduler.model.d.ts +123 -0
  58. package/components/scheduler/src/scheduler.templates.d.ts +76 -0
  59. package/components/scheduler/src/scheduler.utils.d.ts +99 -0
  60. package/components/tab/src/tab-group.component.d.ts +6 -1
  61. package/components/tab-router/src/utils/tab-activated-route.d.ts +17 -0
  62. package/components/table/src/components/config/config.component.d.ts +69 -1
  63. package/components/table/src/components/filter/mobile-filter/mobile-field-sheet.component.d.ts +35 -0
  64. package/components/table/src/components/filter/mobile-filter/mobile-filter-field.component.d.ts +64 -0
  65. package/components/table/src/components/filter/mobile-filter/mobile-filter-summary.d.ts +11 -0
  66. package/components/table/src/components/filter/mobile-filter/mobile-filter.component.d.ts +47 -15
  67. package/components/table/src/components/filter/quick-search/quick-search.component.d.ts +3 -1
  68. package/components/table/src/components/mobile-cards/mobile-card-data.component.d.ts +45 -0
  69. package/components/table/src/components/mobile-cards/mobile-cards.component.d.ts +13 -1
  70. package/components/table/src/components/mobile-sheet/mobile-sheet.d.ts +35 -0
  71. package/components/table/src/components/mobile-sort/mobile-sort-sheet.component.d.ts +36 -0
  72. package/components/table/src/components/mobile-toolbar/mobile-filter-chips.component.d.ts +49 -0
  73. package/components/table/src/components/mobile-toolbar/mobile-tools-sheet.component.d.ts +48 -0
  74. package/components/table/src/components/mobile-toolbar/pull-refresh.component.d.ts +21 -0
  75. package/components/table/src/components/selector-action/action-filter.pipe.d.ts +3 -24
  76. package/components/table/src/components/selector-action/selector-action.component.d.ts +0 -10
  77. package/components/table/src/configurations/table.configuration.d.ts +53 -2
  78. package/components/table/src/models/index.d.ts +1 -0
  79. package/components/table/src/models/table-mobile.model.d.ts +55 -0
  80. package/components/table/src/models/table-option.model.d.ts +17 -1
  81. package/components/table/src/services/config-custom.util.d.ts +11 -3
  82. package/components/table/src/services/config.service.d.ts +0 -2
  83. package/components/table/src/services/mobile/mobile-view.util.d.ts +77 -0
  84. package/components/table/src/services/table-export/table-export.service.d.ts +2 -0
  85. package/components/table/src/services/table-filter/table-filter-callbacks.util.d.ts +25 -0
  86. package/components/table/src/services/table-filter/table-filter.model.d.ts +21 -2
  87. package/components/table/src/services/table-filter/table-mobile-filter.util.d.ts +54 -0
  88. package/components/table/src/services/table-filter/table-query-bar.util.d.ts +21 -1
  89. package/components/table/src/services/table-query-params/table-query-params.util.d.ts +48 -0
  90. package/components/table/src/table.component.d.ts +78 -11
  91. package/components/timeline/index.d.ts +3 -0
  92. package/components/timeline/src/timeline.component.d.ts +95 -0
  93. package/components/timeline/src/timeline.model.d.ts +82 -0
  94. package/components/timeline/src/timeline.templates.d.ts +28 -0
  95. package/components/timeline/src/timeline.utils.d.ts +41 -0
  96. package/components/tree/index.d.ts +1 -0
  97. package/components/tree/src/tree-empty-def.directive.d.ts +13 -0
  98. package/components/tree/src/tree.component.d.ts +79 -5
  99. package/components/tree/src/tree.model.d.ts +29 -0
  100. package/directives/src/sd-scroll-pointer.service.d.ts +18 -0
  101. package/directives/src/sd-scroll.directive.d.ts +4 -2
  102. package/fesm2022/sdcorejs-angular-components-anchor.mjs +61 -2
  103. package/fesm2022/sdcorejs-angular-components-anchor.mjs.map +1 -1
  104. package/fesm2022/sdcorejs-angular-components-button.mjs +13 -5
  105. package/fesm2022/sdcorejs-angular-components-button.mjs.map +1 -1
  106. package/fesm2022/sdcorejs-angular-components-calendar.mjs +2481 -0
  107. package/fesm2022/sdcorejs-angular-components-calendar.mjs.map +1 -0
  108. package/fesm2022/sdcorejs-angular-components-card.mjs +485 -22
  109. package/fesm2022/sdcorejs-angular-components-card.mjs.map +1 -1
  110. package/fesm2022/sdcorejs-angular-components-editor-engine.mjs +1 -1
  111. package/fesm2022/sdcorejs-angular-components-editor-engine.mjs.map +1 -1
  112. package/fesm2022/sdcorejs-angular-components-file-explorer.mjs +4 -18
  113. package/fesm2022/sdcorejs-angular-components-file-explorer.mjs.map +1 -1
  114. package/fesm2022/sdcorejs-angular-components-form-generic.mjs +7 -7
  115. package/fesm2022/sdcorejs-angular-components-form-generic.mjs.map +1 -1
  116. package/fesm2022/sdcorejs-angular-components-import-excel.mjs +1 -1
  117. package/fesm2022/sdcorejs-angular-components-import-excel.mjs.map +1 -1
  118. package/fesm2022/sdcorejs-angular-components-kanban.mjs +832 -153
  119. package/fesm2022/sdcorejs-angular-components-kanban.mjs.map +1 -1
  120. package/fesm2022/sdcorejs-angular-components-modal.mjs +66 -13
  121. package/fesm2022/sdcorejs-angular-components-modal.mjs.map +1 -1
  122. package/fesm2022/sdcorejs-angular-components-query-bar.mjs +1469 -357
  123. package/fesm2022/sdcorejs-angular-components-query-bar.mjs.map +1 -1
  124. package/fesm2022/sdcorejs-angular-components-quick-action.mjs +68 -2
  125. package/fesm2022/sdcorejs-angular-components-quick-action.mjs.map +1 -1
  126. package/fesm2022/sdcorejs-angular-components-scheduler.mjs +1934 -0
  127. package/fesm2022/sdcorejs-angular-components-scheduler.mjs.map +1 -0
  128. package/fesm2022/sdcorejs-angular-components-side-drawer.mjs +2 -2
  129. package/fesm2022/sdcorejs-angular-components-side-drawer.mjs.map +1 -1
  130. package/fesm2022/sdcorejs-angular-components-tab-router.mjs +126 -26
  131. package/fesm2022/sdcorejs-angular-components-tab-router.mjs.map +1 -1
  132. package/fesm2022/sdcorejs-angular-components-tab.mjs +30 -1
  133. package/fesm2022/sdcorejs-angular-components-tab.mjs.map +1 -1
  134. package/fesm2022/sdcorejs-angular-components-table.mjs +5943 -3666
  135. package/fesm2022/sdcorejs-angular-components-table.mjs.map +1 -1
  136. package/fesm2022/sdcorejs-angular-components-timeline.mjs +473 -0
  137. package/fesm2022/sdcorejs-angular-components-timeline.mjs.map +1 -0
  138. package/fesm2022/sdcorejs-angular-components-tree.mjs +596 -35
  139. package/fesm2022/sdcorejs-angular-components-tree.mjs.map +1 -1
  140. package/fesm2022/sdcorejs-angular-components-upload-file.mjs +2 -4
  141. package/fesm2022/sdcorejs-angular-components-upload-file.mjs.map +1 -1
  142. package/fesm2022/sdcorejs-angular-components.mjs +3 -1
  143. package/fesm2022/sdcorejs-angular-components.mjs.map +1 -1
  144. package/fesm2022/sdcorejs-angular-directives.mjs +109 -22
  145. package/fesm2022/sdcorejs-angular-directives.mjs.map +1 -1
  146. package/fesm2022/sdcorejs-angular-forms-date.mjs +140 -42
  147. package/fesm2022/sdcorejs-angular-forms-date.mjs.map +1 -1
  148. package/fesm2022/sdcorejs-angular-forms-datetime.mjs +70 -21
  149. package/fesm2022/sdcorejs-angular-forms-datetime.mjs.map +1 -1
  150. package/fesm2022/sdcorejs-angular-forms-directives.mjs +4 -3
  151. package/fesm2022/sdcorejs-angular-forms-directives.mjs.map +1 -1
  152. package/fesm2022/sdcorejs-angular-forms-entity-picker.mjs +1 -1
  153. package/fesm2022/sdcorejs-angular-forms-entity-picker.mjs.map +1 -1
  154. package/fesm2022/sdcorejs-angular-forms-select.mjs +23 -4
  155. package/fesm2022/sdcorejs-angular-forms-select.mjs.map +1 -1
  156. package/fesm2022/sdcorejs-angular-forms-tree-select.mjs +1 -1
  157. package/fesm2022/sdcorejs-angular-forms-tree-select.mjs.map +1 -1
  158. package/fesm2022/sdcorejs-angular-i18n.mjs +812 -52
  159. package/fesm2022/sdcorejs-angular-i18n.mjs.map +1 -1
  160. package/fesm2022/{sdcorejs-angular-modules-generic-generic-configuration.page-Bk3PrEf3.mjs → sdcorejs-angular-modules-generic-generic-configuration.page-DHrM12Z3.mjs} +3 -3
  161. package/fesm2022/{sdcorejs-angular-modules-generic-generic-configuration.page-Bk3PrEf3.mjs.map → sdcorejs-angular-modules-generic-generic-configuration.page-DHrM12Z3.mjs.map} +1 -1
  162. package/fesm2022/{sdcorejs-angular-modules-generic-generic-form-host.page-CwUegGgG.mjs → sdcorejs-angular-modules-generic-generic-form-host.page-f7ysKltl.mjs} +2 -2
  163. package/fesm2022/{sdcorejs-angular-modules-generic-generic-form-host.page-CwUegGgG.mjs.map → sdcorejs-angular-modules-generic-generic-form-host.page-f7ysKltl.mjs.map} +1 -1
  164. package/fesm2022/{sdcorejs-angular-modules-generic-generic-list.page-lF2trhfp.mjs → sdcorejs-angular-modules-generic-generic-list.page-BdGxuquq.mjs} +3 -3
  165. package/fesm2022/{sdcorejs-angular-modules-generic-generic-list.page-lF2trhfp.mjs.map → sdcorejs-angular-modules-generic-generic-list.page-BdGxuquq.mjs.map} +1 -1
  166. package/fesm2022/{sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-BbmeOduc.mjs → sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-DtPfIB97.mjs} +4 -4
  167. package/fesm2022/{sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-BbmeOduc.mjs.map → sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-DtPfIB97.mjs.map} +1 -1
  168. package/fesm2022/sdcorejs-angular-modules-generic.mjs +1 -1
  169. package/fesm2022/sdcorejs-angular-modules-layout.mjs +17 -8
  170. package/fesm2022/sdcorejs-angular-modules-layout.mjs.map +1 -1
  171. package/fesm2022/{sdcorejs-angular-modules-pattern-base-api.service-DK33LxHm.mjs → sdcorejs-angular-modules-pattern-base-api.service-Bj3iKGg_.mjs} +2 -2
  172. package/fesm2022/{sdcorejs-angular-modules-pattern-base-api.service-DK33LxHm.mjs.map → sdcorejs-angular-modules-pattern-base-api.service-Bj3iKGg_.mjs.map} +1 -1
  173. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-CPwGkrNk.mjs → sdcorejs-angular-modules-pattern-create.component-C27vASfj.mjs} +11 -7
  174. package/fesm2022/sdcorejs-angular-modules-pattern-create.component-C27vASfj.mjs.map +1 -0
  175. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-VCbA_FkZ.mjs → sdcorejs-angular-modules-pattern-create.component-C63mUjRM.mjs} +2 -2
  176. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-VCbA_FkZ.mjs.map → sdcorejs-angular-modules-pattern-create.component-C63mUjRM.mjs.map} +1 -1
  177. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-Bi2tMFHf.mjs → sdcorejs-angular-modules-pattern-create.component-DYn8jkTD.mjs} +2 -2
  178. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-Bi2tMFHf.mjs.map → sdcorejs-angular-modules-pattern-create.component-DYn8jkTD.mjs.map} +1 -1
  179. package/fesm2022/{sdcorejs-angular-modules-pattern-customer.service-CehsdBRP.mjs → sdcorejs-angular-modules-pattern-customer.service-BNVk2VIb.mjs} +2 -2
  180. package/fesm2022/{sdcorejs-angular-modules-pattern-customer.service-CehsdBRP.mjs.map → sdcorejs-angular-modules-pattern-customer.service-BNVk2VIb.mjs.map} +1 -1
  181. package/fesm2022/{sdcorejs-angular-modules-pattern-detail.component-5kI7wGdX.mjs → sdcorejs-angular-modules-pattern-detail.component-Bh8UD7ft.mjs} +57 -54
  182. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-Bh8UD7ft.mjs.map +1 -0
  183. package/fesm2022/{sdcorejs-angular-modules-pattern-detail.component-CjAy-B9K.mjs → sdcorejs-angular-modules-pattern-detail.component-S7x8j9i5.mjs} +2 -2
  184. package/fesm2022/{sdcorejs-angular-modules-pattern-detail.component-CjAy-B9K.mjs.map → sdcorejs-angular-modules-pattern-detail.component-S7x8j9i5.mjs.map} +1 -1
  185. package/fesm2022/{sdcorejs-angular-modules-pattern-flow.component-DObN_wCR.mjs → sdcorejs-angular-modules-pattern-flow.component-CHtskh2X.mjs} +3 -3
  186. package/fesm2022/{sdcorejs-angular-modules-pattern-flow.component-DObN_wCR.mjs.map → sdcorejs-angular-modules-pattern-flow.component-CHtskh2X.mjs.map} +1 -1
  187. package/fesm2022/{sdcorejs-angular-modules-pattern-index.component-TTrWCXIT.mjs → sdcorejs-angular-modules-pattern-index.component-W8icBRPe.mjs} +2 -2
  188. package/fesm2022/{sdcorejs-angular-modules-pattern-index.component-TTrWCXIT.mjs.map → sdcorejs-angular-modules-pattern-index.component-W8icBRPe.mjs.map} +1 -1
  189. package/fesm2022/{sdcorejs-angular-modules-pattern-lines-table-form.component-B1qePLfk.mjs → sdcorejs-angular-modules-pattern-lines-table-form.component-DEwUiNkq.mjs} +5 -5
  190. package/fesm2022/{sdcorejs-angular-modules-pattern-lines-table-form.component-B1qePLfk.mjs.map → sdcorejs-angular-modules-pattern-lines-table-form.component-DEwUiNkq.mjs.map} +1 -1
  191. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-8m-QmfUX.mjs +501 -0
  192. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-8m-QmfUX.mjs.map +1 -0
  193. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-W9vY7HrT.mjs → sdcorejs-angular-modules-pattern-list.component-BDEm2v0W.mjs} +3 -3
  194. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-W9vY7HrT.mjs.map → sdcorejs-angular-modules-pattern-list.component-BDEm2v0W.mjs.map} +1 -1
  195. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-BgwTyRhE.mjs +506 -0
  196. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-BgwTyRhE.mjs.map +1 -0
  197. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-CJ38CJXg.mjs → sdcorejs-angular-modules-pattern-list.component-BhFkL7tX.mjs} +30 -39
  198. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-BhFkL7tX.mjs.map +1 -0
  199. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-BY5gjtNS.mjs → sdcorejs-angular-modules-pattern-list.component-j7ZFxvlG.mjs} +3 -3
  200. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-BY5gjtNS.mjs.map → sdcorejs-angular-modules-pattern-list.component-j7ZFxvlG.mjs.map} +1 -1
  201. package/fesm2022/{sdcorejs-angular-modules-pattern-mock-backend.factory-CI0H_5a4.mjs → sdcorejs-angular-modules-pattern-mock-backend.factory-CPAV_J3j.mjs} +2 -2
  202. package/fesm2022/{sdcorejs-angular-modules-pattern-mock-backend.factory-CI0H_5a4.mjs.map → sdcorejs-angular-modules-pattern-mock-backend.factory-CPAV_J3j.mjs.map} +1 -1
  203. package/fesm2022/{sdcorejs-angular-modules-pattern-pattern-source-viewer-BqHwKfoc.mjs → sdcorejs-angular-modules-pattern-pattern-source-viewer-DuhyXsGn.mjs} +4 -22
  204. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source-viewer-DuhyXsGn.mjs.map +1 -0
  205. package/fesm2022/{sdcorejs-angular-modules-pattern-pattern-source.generated-CIiLOizq.mjs → sdcorejs-angular-modules-pattern-pattern-source.generated-bfpj85ke.mjs} +26 -27
  206. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source.generated-bfpj85ke.mjs.map +1 -0
  207. package/fesm2022/{sdcorejs-angular-modules-pattern-product.service-D829aEk5.mjs → sdcorejs-angular-modules-pattern-product.service-B9Dc2NUr.mjs} +2 -2
  208. package/fesm2022/{sdcorejs-angular-modules-pattern-product.service-D829aEk5.mjs.map → sdcorejs-angular-modules-pattern-product.service-B9Dc2NUr.mjs.map} +1 -1
  209. package/fesm2022/{sdcorejs-angular-modules-pattern-profile.component-BEFVmSSj.mjs → sdcorejs-angular-modules-pattern-profile.component-097Hf7Bc.mjs} +24 -14
  210. package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-097Hf7Bc.mjs.map +1 -0
  211. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-B-TJUSV_.mjs → sdcorejs-angular-modules-pattern-routes-CahNEP9-.mjs} +5 -5
  212. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-B-TJUSV_.mjs.map → sdcorejs-angular-modules-pattern-routes-CahNEP9-.mjs.map} +1 -1
  213. package/fesm2022/sdcorejs-angular-modules-pattern-routes-CjfWGMvJ.mjs +65 -0
  214. package/fesm2022/sdcorejs-angular-modules-pattern-routes-CjfWGMvJ.mjs.map +1 -0
  215. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-1kDb9T7_.mjs → sdcorejs-angular-modules-pattern-routes-DeE5hp5x.mjs} +4 -4
  216. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-1kDb9T7_.mjs.map → sdcorejs-angular-modules-pattern-routes-DeE5hp5x.mjs.map} +1 -1
  217. package/fesm2022/sdcorejs-angular-modules-pattern-routes-Di2ceIlM.mjs +56 -0
  218. package/fesm2022/sdcorejs-angular-modules-pattern-routes-Di2ceIlM.mjs.map +1 -0
  219. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-B6z7KO0P.mjs → sdcorejs-angular-modules-pattern-routes-MEcCUESx.mjs} +3 -3
  220. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-B6z7KO0P.mjs.map → sdcorejs-angular-modules-pattern-routes-MEcCUESx.mjs.map} +1 -1
  221. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-DVlcUUzh.mjs → sdcorejs-angular-modules-pattern-routes-hKorxavO.mjs} +3 -3
  222. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-DVlcUUzh.mjs.map → sdcorejs-angular-modules-pattern-routes-hKorxavO.mjs.map} +1 -1
  223. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-DS39vgzU.mjs → sdcorejs-angular-modules-pattern-routes-sJfnmrVg.mjs} +3 -3
  224. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-DS39vgzU.mjs.map → sdcorejs-angular-modules-pattern-routes-sJfnmrVg.mjs.map} +1 -1
  225. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-DxWDWUdo.mjs → sdcorejs-angular-modules-pattern-routes-ygWsDRk9.mjs} +8 -8
  226. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-DxWDWUdo.mjs.map → sdcorejs-angular-modules-pattern-routes-ygWsDRk9.mjs.map} +1 -1
  227. package/fesm2022/{sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-nV5dVFx2.mjs → sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-C5IG0tkk.mjs} +12 -12
  228. package/fesm2022/{sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-nV5dVFx2.mjs.map → sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-C5IG0tkk.mjs.map} +1 -1
  229. package/fesm2022/{sdcorejs-angular-modules-pattern-shell.component-0rRaWsuo.mjs → sdcorejs-angular-modules-pattern-shell.component-BPgXiYkB.mjs} +4 -4
  230. package/fesm2022/{sdcorejs-angular-modules-pattern-shell.component-0rRaWsuo.mjs.map → sdcorejs-angular-modules-pattern-shell.component-BPgXiYkB.mjs.map} +1 -1
  231. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-DF0pm6_f.mjs +480 -0
  232. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-DF0pm6_f.mjs.map +1 -0
  233. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-DkAcDmsZ.mjs → sdcorejs-angular-modules-pattern-update.component-BXBxoTdB.mjs} +2 -2
  234. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-DkAcDmsZ.mjs.map → sdcorejs-angular-modules-pattern-update.component-BXBxoTdB.mjs.map} +1 -1
  235. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-BmsOgENL.mjs → sdcorejs-angular-modules-pattern-update.component-DS253vcu.mjs} +2 -2
  236. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-BmsOgENL.mjs.map → sdcorejs-angular-modules-pattern-update.component-DS253vcu.mjs.map} +1 -1
  237. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-DPZ_ucNB.mjs → sdcorejs-angular-modules-pattern-update.component-OOYioclV.mjs} +9 -6
  238. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-OOYioclV.mjs.map +1 -0
  239. package/fesm2022/sdcorejs-angular-modules-pattern.mjs +1 -1
  240. package/fesm2022/sdcorejs-angular-services-confirm.mjs +171 -158
  241. package/fesm2022/sdcorejs-angular-services-confirm.mjs.map +1 -1
  242. package/fesm2022/sdcorejs-angular-services-excel.mjs +34 -0
  243. package/fesm2022/sdcorejs-angular-services-excel.mjs.map +1 -1
  244. package/fesm2022/sdcorejs-angular-services-query-params.mjs +226 -0
  245. package/fesm2022/sdcorejs-angular-services-query-params.mjs.map +1 -0
  246. package/fesm2022/sdcorejs-angular-utilities-extensions.mjs +24 -1
  247. package/fesm2022/sdcorejs-angular-utilities-extensions.mjs.map +1 -1
  248. package/forms/date/src/date.component.d.ts +2 -0
  249. package/forms/directives/src/search-field.component.d.ts +1 -1
  250. package/i18n/src/en.d.ts +159 -9
  251. package/modules/layout/components/page-list/page-list.component.d.ts +2 -1
  252. package/modules/pattern/README.md +5 -4
  253. package/modules/pattern/docs/detail.md +18 -9
  254. package/modules/pattern/docs/drawer.md +185 -83
  255. package/modules/pattern/docs/header-actions.md +1 -1
  256. package/modules/pattern/docs/list.md +3 -3
  257. package/modules/pattern/docs/states.md +1 -1
  258. package/modules/pattern/features/category/components/create-side-drawer/create-side-drawer.component.d.ts +6 -4
  259. package/modules/pattern/features/category/components/create-side-drawer/create-side-drawer.component.ts +12 -16
  260. package/modules/pattern/features/category/components/update-side-drawer/update-side-drawer.component.d.ts +13 -5
  261. package/modules/pattern/features/category/components/update-side-drawer/update-side-drawer.component.ts +58 -29
  262. package/modules/pattern/features/category/pages/list/list.component.d.ts +15 -3
  263. package/modules/pattern/features/category/pages/list/list.component.html +11 -3
  264. package/modules/pattern/features/category/pages/list/list.component.ts +36 -10
  265. package/modules/pattern/features/category/routes.d.ts +4 -1
  266. package/modules/pattern/features/category/routes.ts +5 -22
  267. package/modules/pattern/features/customer/components/create-side-drawer/create-side-drawer.component.d.ts +6 -5
  268. package/modules/pattern/features/customer/components/create-side-drawer/create-side-drawer.component.ts +7 -11
  269. package/modules/pattern/features/customer/components/detail-side-drawer/detail-side-drawer.component.d.ts +20 -8
  270. package/modules/pattern/features/customer/components/detail-side-drawer/detail-side-drawer.component.ts +70 -27
  271. package/modules/pattern/features/customer/components/summary-cards/summary-cards.component.d.ts +5 -3
  272. package/modules/pattern/features/customer/components/summary-cards/summary-cards.component.ts +9 -53
  273. package/modules/pattern/features/customer/components/update-side-drawer/update-side-drawer.component.d.ts +18 -7
  274. package/modules/pattern/features/customer/components/update-side-drawer/update-side-drawer.component.ts +53 -19
  275. package/modules/pattern/features/customer/entity.resolver.d.ts +1 -1
  276. package/modules/pattern/features/customer/entity.resolver.ts +1 -1
  277. package/modules/pattern/features/customer/pages/list/list.component.d.ts +21 -3
  278. package/modules/pattern/features/customer/pages/list/list.component.html +18 -3
  279. package/modules/pattern/features/customer/pages/list/list.component.ts +43 -16
  280. package/modules/pattern/features/customer/pages/profile/profile.component.d.ts +5 -2
  281. package/modules/pattern/features/customer/pages/profile/profile.component.ts +17 -8
  282. package/modules/pattern/features/customer/routes.d.ts +3 -2
  283. package/modules/pattern/features/customer/routes.ts +6 -27
  284. package/modules/pattern/features/order/components/approval-steps/approval-steps.component.d.ts +11 -3
  285. package/modules/pattern/features/order/components/approval-steps/approval-steps.component.ts +37 -56
  286. package/modules/pattern/features/order/components/summary-cards/summary-cards.component.d.ts +7 -4
  287. package/modules/pattern/features/order/components/summary-cards/summary-cards.component.ts +14 -76
  288. package/modules/pattern/features/order/pages/create/create.component.d.ts +1 -1
  289. package/modules/pattern/features/order/pages/create/create.component.ts +7 -3
  290. package/modules/pattern/features/order/pages/detail/detail.component.ts +1 -1
  291. package/modules/pattern/features/order/pages/update/update.component.d.ts +1 -1
  292. package/modules/pattern/features/order/pages/update/update.component.ts +5 -2
  293. package/package.json +36 -24
  294. package/services/confirm/src/lib/components/dialog-confirm/dialog-confirm.component.d.ts +6 -1
  295. package/services/confirm/src/lib/confirm.service.d.ts +23 -12
  296. package/services/confirm/src/public-api.d.ts +0 -1
  297. package/services/excel/src/lib/excel.model.d.ts +29 -0
  298. package/services/excel/src/lib/excel.service.d.ts +30 -0
  299. package/services/query-params/index.d.ts +1 -0
  300. package/services/query-params/src/query-param-sync.d.ts +63 -0
  301. package/utilities/extensions/index.d.ts +1 -0
  302. package/utilities/extensions/src/format-bytes.d.ts +8 -0
  303. package/components/history/index.d.ts +0 -1
  304. package/components/history/models/history.model.d.ts +0 -13
  305. package/components/history/pipes/view-date.pipe.d.ts +0 -9
  306. package/components/history/src/history.component.d.ts +0 -7
  307. package/fesm2022/sdcorejs-angular-components-history.mjs +0 -54
  308. package/fesm2022/sdcorejs-angular-components-history.mjs.map +0 -1
  309. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-B1BUBiag.mjs +0 -145
  310. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-B1BUBiag.mjs.map +0 -1
  311. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-B27ZX8Co.mjs +0 -144
  312. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-B27ZX8Co.mjs.map +0 -1
  313. package/fesm2022/sdcorejs-angular-modules-pattern-create.component-CPwGkrNk.mjs.map +0 -1
  314. package/fesm2022/sdcorejs-angular-modules-pattern-customer.model-C3fr4yNw.mjs +0 -18
  315. package/fesm2022/sdcorejs-angular-modules-pattern-customer.model-C3fr4yNw.mjs.map +0 -1
  316. package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-CPhLTiyx.mjs +0 -148
  317. package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-CPhLTiyx.mjs.map +0 -1
  318. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-5kI7wGdX.mjs.map +0 -1
  319. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-D6eKR2cq.mjs +0 -87
  320. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-D6eKR2cq.mjs.map +0 -1
  321. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-FcJS3Nbd.mjs +0 -232
  322. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-FcJS3Nbd.mjs.map +0 -1
  323. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-view.component-BA-3FR1J.mjs +0 -70
  324. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-view.component-BA-3FR1J.mjs.map +0 -1
  325. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CJ38CJXg.mjs.map +0 -1
  326. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CdgPtSjJ.mjs +0 -164
  327. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CdgPtSjJ.mjs.map +0 -1
  328. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DKIwrluh.mjs +0 -118
  329. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DKIwrluh.mjs.map +0 -1
  330. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source-viewer-BqHwKfoc.mjs.map +0 -1
  331. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source.generated-CIiLOizq.mjs.map +0 -1
  332. package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-BEFVmSSj.mjs.map +0 -1
  333. package/fesm2022/sdcorejs-angular-modules-pattern-routes-r9CTj-8C.mjs +0 -74
  334. package/fesm2022/sdcorejs-angular-modules-pattern-routes-r9CTj-8C.mjs.map +0 -1
  335. package/fesm2022/sdcorejs-angular-modules-pattern-routes-xI1XYRo6.mjs +0 -99
  336. package/fesm2022/sdcorejs-angular-modules-pattern-routes-xI1XYRo6.mjs.map +0 -1
  337. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-6uH7sDEg.mjs +0 -143
  338. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-6uH7sDEg.mjs.map +0 -1
  339. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-DglN2sS_.mjs +0 -132
  340. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-DglN2sS_.mjs.map +0 -1
  341. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-DPZ_ucNB.mjs.map +0 -1
  342. package/modules/pattern/features/category/entity.resolver.d.ts +0 -6
  343. package/modules/pattern/features/category/entity.resolver.ts +0 -27
@@ -26,6 +26,11 @@ export declare class SdTabGroup {
26
26
  disableRipple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
27
27
  dynamicHeight: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
28
28
  autoId: import("@angular/core").InputSignal<string | undefined>;
29
+ /**
30
+ * Ghi tab đang chọn lên query param `tab-<autoId>` và chọn lại tab đó khi mở link, để copy link giữ đúng tab. Cần
31
+ * `autoId`. Về tab ban đầu thì param bị xoá. Mặc định tắt.
32
+ */
33
+ syncQueryParams: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
29
34
  tabClosed: import("@angular/core").OutputEmitterRef<SdTabClosedEvent>;
30
35
  protected matTabGroup: import("@angular/core").Signal<MatTabGroup | undefined>;
31
36
  private readonly matTabElement;
@@ -41,5 +46,5 @@ export declare class SdTabGroup {
41
46
  realignInkBar(): void;
42
47
  protected onClose(tab: SdTab, index: number, event: MouseEvent): void;
43
48
  static ɵfac: i0.ɵɵFactoryDeclaration<SdTabGroup, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<SdTabGroup, "sd-tab-group", never, { "preserveContent": { "alias": "preserveContent"; "required": false; "isSignal": true; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "headerPosition": { "alias": "headerPosition"; "required": false; "isSignal": true; }; "headerClass": { "alias": "headerClass"; "required": false; "isSignal": true; }; "headerStyle": { "alias": "headerStyle"; "required": false; "isSignal": true; }; "bodyClass": { "alias": "bodyClass"; "required": false; "isSignal": true; }; "bodyStyle": { "alias": "bodyStyle"; "required": false; "isSignal": true; }; "alignTabs": { "alias": "alignTabs"; "required": false; "isSignal": true; }; "stretchTabs": { "alias": "stretchTabs"; "required": false; "isSignal": true; }; "animationDuration": { "alias": "animationDuration"; "required": false; "isSignal": true; }; "disableRipple": { "alias": "disableRipple"; "required": false; "isSignal": true; }; "dynamicHeight": { "alias": "dynamicHeight"; "required": false; "isSignal": true; }; "autoId": { "alias": "autoId"; "required": false; "isSignal": true; }; }, { "selectedIndex": "selectedIndexChange"; "tabClosed": "tabClosed"; }, ["tabs"], never, true, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<SdTabGroup, "sd-tab-group", never, { "preserveContent": { "alias": "preserveContent"; "required": false; "isSignal": true; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "headerPosition": { "alias": "headerPosition"; "required": false; "isSignal": true; }; "headerClass": { "alias": "headerClass"; "required": false; "isSignal": true; }; "headerStyle": { "alias": "headerStyle"; "required": false; "isSignal": true; }; "bodyClass": { "alias": "bodyClass"; "required": false; "isSignal": true; }; "bodyStyle": { "alias": "bodyStyle"; "required": false; "isSignal": true; }; "alignTabs": { "alias": "alignTabs"; "required": false; "isSignal": true; }; "stretchTabs": { "alias": "stretchTabs"; "required": false; "isSignal": true; }; "animationDuration": { "alias": "animationDuration"; "required": false; "isSignal": true; }; "disableRipple": { "alias": "disableRipple"; "required": false; "isSignal": true; }; "dynamicHeight": { "alias": "dynamicHeight"; "required": false; "isSignal": true; }; "autoId": { "alias": "autoId"; "required": false; "isSignal": true; }; "syncQueryParams": { "alias": "syncQueryParams"; "required": false; "isSignal": true; }; }, { "selectedIndex": "selectedIndexChange"; "tabClosed": "tabClosed"; }, ["tabs"], never, true, never>;
45
50
  }
@@ -0,0 +1,17 @@
1
+ import { ActivatedRoute } from '@angular/router';
2
+ /**
3
+ * `ActivatedRoute` "sống" của một tab: proxy (vẫn `instanceof ActivatedRoute`) luôn trỏ route mới nhất của path tab đó.
4
+ *
5
+ * why: tab-router giữ component sống khi người dùng sang tab khác. Quay lại tab, Angular tạo `ActivatedRoute` MỚI cho
6
+ * path đó; subscription mà component đã đăng ký trên route cũ không bao giờ phát nữa, nên component không biết query
7
+ * đã đổi. Proxy chuyển nguồn sang route mới (`setTarget`) và không phát lại giá trị trùng.
8
+ */
9
+ export declare class SdTabActivatedRouteRef {
10
+ #private;
11
+ readonly route: ActivatedRoute;
12
+ constructor(initial: ActivatedRoute);
13
+ /** Route Angular mà proxy đang theo. */
14
+ get target(): ActivatedRoute;
15
+ /** Chuyển proxy sang route mới của cùng path (tab được mở lại / điều hướng tới). */
16
+ setTarget(route: ActivatedRoute): void;
17
+ }
@@ -3,7 +3,43 @@ import { ElementRef } from '@angular/core';
3
3
  import { SdModal } from '@sdcorejs/angular/components/modal';
4
4
  import { ConfiguredColumn, ConfiguredTable, ConfiguredTableResult } from '../../models/table-option-config.model';
5
5
  import { SdTableOption } from '../../models/table-option.model';
6
+ import { SdTableOptionFilter, TableFilterConfiguration } from '../../services/table-filter/table-filter.model';
6
7
  import * as i0 from "@angular/core";
8
+ type FilterMode = NonNullable<SdTableOptionFilter['mode']>;
9
+ type ConfigTab = 'columns' | 'filters';
10
+ interface ConfigFilterRow {
11
+ field: string;
12
+ title: string;
13
+ on: boolean;
14
+ locked: boolean;
15
+ /** i18n key of the text under the title. */
16
+ note?: string;
17
+ }
18
+ /** What the "Bộ lọc" tab shows; the table builds it, and `undefined` hides the tab. */
19
+ export interface ConfigFilterSetup {
20
+ /** `filter.mode` after `SD_TABLE_CONFIGURATION`: the kind without a stored choice. */
21
+ mode: FilterMode;
22
+ /** The stored choice of the user (`TableFilterConfiguration.mode`). */
23
+ storedMode?: FilterMode;
24
+ /** `filter.modeSelectable !== false`: the kinds are offered. */
25
+ modeSelectable: boolean;
26
+ /** Stored `TableFilterConfiguration.inlineExternal`. */
27
+ inlineExternal: Record<string, boolean>;
28
+ /** External filters in option order; `offBar`: the query bar cannot show it. */
29
+ externalFilters: {
30
+ field: string;
31
+ title: string;
32
+ required: boolean;
33
+ offBar: boolean;
34
+ }[];
35
+ /** `filter.queryBar.pinned`: the app picks the pinned chips, so the list cannot change them on the bar. */
36
+ pinned?: string[];
37
+ /**
38
+ * Titles of the required external filters the bar cannot show. The bar would block the read with no place to fill
39
+ * them, so the bar card is off while there is any.
40
+ */
41
+ barBlockedBy: string[];
42
+ }
7
43
  export declare class ConfigComponent {
8
44
  #private;
9
45
  autoIdInput: import("@angular/core").InputSignal<string | null | undefined>;
@@ -11,6 +47,10 @@ export declare class ConfigComponent {
11
47
  changes: import("@angular/core").OutputEmitterRef<ConfiguredTableResult>;
12
48
  /** Restore defaults was confirmed and the stored setup removed. */
13
49
  defaultsRestored: import("@angular/core").OutputEmitterRef<void>;
50
+ /** The "Bộ lọc" tab; `undefined` hides it. */
51
+ filterSetup: import("@angular/core").InputSignal<ConfigFilterSetup | undefined>;
52
+ /** Apply with a changed "Bộ lọc" tab: the filter setup to store. `mode` is left out when the kind cannot be picked. */
53
+ filterApplied: import("@angular/core").OutputEmitterRef<Partial<TableFilterConfiguration>>;
14
54
  autoId: import("@angular/core").Signal<string>;
15
55
  modal: import("@angular/core").Signal<SdModal | undefined>;
16
56
  protected readonly handles: import("@angular/core").Signal<readonly ElementRef<HTMLButtonElement>[]>;
@@ -35,6 +75,25 @@ export declare class ConfigComponent {
35
75
  readonly totalCount: import("@angular/core").Signal<number>;
36
76
  readonly shownCount: import("@angular/core").Signal<number>;
37
77
  readonly allShown: import("@angular/core").Signal<boolean>;
78
+ /** Tab on screen; Cột when the table gives no "Bộ lọc" tab. */
79
+ readonly tab: import("@angular/core").Signal<ConfigTab>;
80
+ readonly tabs: readonly ConfigTab[];
81
+ readonly modes: readonly FilterMode[];
82
+ /** Picked filter kind (draft until Apply). */
83
+ readonly filterMode: import("@angular/core").WritableSignal<FilterMode>;
84
+ /** Inline external filters (draft until Apply). */
85
+ readonly inlineExternal: import("@angular/core").WritableSignal<Record<string, boolean>>;
86
+ /**
87
+ * One row per external filter. In the panel the switch shows it there; on the bar it pins it as a chip, so a filter
88
+ * the bar cannot show is off, a required one is always pinned, and `queryBar.pinned` decides for the app.
89
+ */
90
+ readonly filterRows: import("@angular/core").Signal<ConfigFilterRow[]>;
91
+ /** Text under the filter list: what its switches do for the picked kind. */
92
+ readonly filterListHint: import("@angular/core").Signal<"core.component.table.config.filters-hint-panel" | "core.component.table.config.filters-hint-pinned" | "core.component.table.config.filters-hint-bar">;
93
+ /** Titles that keep the bar card off, joined for its note; '' when the bar can be picked. */
94
+ readonly barBlockedBy: import("@angular/core").Signal<string>;
95
+ /** On the bar, a filter it cannot show still filters by its value, with no chip to clear it. */
96
+ readonly offBarWarning: import("@angular/core").Signal<boolean>;
38
97
  open: () => Promise<void>;
39
98
  close: () => void;
40
99
  onSave: () => void;
@@ -44,6 +103,14 @@ export declare class ConfigComponent {
44
103
  * ô "Hiện" để bật lại.
45
104
  */
46
105
  isRowDisabled: (item: ConfiguredColumn) => boolean;
106
+ readonly tabId: (tab: ConfigTab) => string;
107
+ readonly panelId: (tab: ConfigTab) => string;
108
+ readonly modeName: string;
109
+ selectTab: (tab: ConfigTab) => void;
110
+ /** ← → move between the tabs, Home / End go to the first / last (tablist pattern of the APG, roving tabindex). */
111
+ onTabKeydown: (event: KeyboardEvent) => void;
112
+ pickMode: (mode: FilterMode) => void;
113
+ setInline: (field: string, on: boolean) => void;
47
114
  onFind: (value: unknown) => void;
48
115
  toggleRow: (field: string) => void;
49
116
  /**
@@ -75,5 +142,6 @@ export declare class ConfigComponent {
75
142
  commitWidth: (field: string) => void;
76
143
  detailsId: (field: string) => string;
77
144
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfigComponent, never>;
78
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfigComponent, "config", never, { "autoIdInput": { "alias": "autoId"; "required": false; "isSignal": true; }; "tableOption": { "alias": "tableOption"; "required": false; "isSignal": true; }; }, { "changes": "changes"; "defaultsRestored": "defaultsRestored"; }, never, never, true, never>;
145
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfigComponent, "config", never, { "autoIdInput": { "alias": "autoId"; "required": false; "isSignal": true; }; "tableOption": { "alias": "tableOption"; "required": false; "isSignal": true; }; "filterSetup": { "alias": "filterSetup"; "required": false; "isSignal": true; }; }, { "changes": "changes"; "defaultsRestored": "defaultsRestored"; "filterApplied": "filterApplied"; }, never, never, true, never>;
79
146
  }
147
+ export {};
@@ -0,0 +1,35 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { SdModal } from '@sdcorejs/angular/components/modal';
3
+ import { ɵSdQueryChipLabels } from '@sdcorejs/angular/components/query-bar';
4
+ import type { SdTable } from '../../../table.component';
5
+ import { type SdTableMobileFilterItem } from '../../../services/table-filter/table-mobile-filter.util';
6
+ import type { TableFilterValue } from '../../../services/table-filter/table-filter.model';
7
+ import type { SdTableQueryContext } from '../../../services/table-filter/table-query-bar.util';
8
+ import * as i0 from "@angular/core";
9
+ /**
10
+ * Sheet of one filter, opened from its chip (handoff table-mobile 4). Works on a copy: Apply writes that filter and
11
+ * reads once; Cancel, the scrim, a swipe down, Escape and Back drop the copy.
12
+ */
13
+ export declare class SdTableMobileFieldSheetComponent<T = unknown> {
14
+ #private;
15
+ readonly table: import("@angular/core").InputSignal<SdTable<T>>;
16
+ readonly labels: import("@angular/core").InputSignal<ɵSdQueryChipLabels>;
17
+ readonly sheet: import("@angular/core").Signal<SdModal>;
18
+ protected readonly head: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
19
+ readonly item: import("@angular/core").WritableSignal<SdTableMobileFilterItem | undefined>;
20
+ readonly working: import("@angular/core").WritableSignal<TableFilterValue | undefined>;
21
+ readonly revision: import("@angular/core").WritableSignal<number>;
22
+ readonly ctx: import("@angular/core").InputSignal<SdTableQueryContext | undefined>;
23
+ readonly autoId: import("@angular/core").Signal<string | undefined>;
24
+ constructor();
25
+ open(item: SdTableMobileFilterItem): void;
26
+ cancel(): void;
27
+ /** "Clear": empties this filter in the copy; Apply still writes it. */
28
+ clear(): void;
29
+ apply(): void;
30
+ /** Every close path ends here: drop the history entry the sheet pushed and the copy. */
31
+ onClosed(): void;
32
+ onChanged(): void;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<SdTableMobileFieldSheetComponent<any>, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<SdTableMobileFieldSheetComponent<any>, "sd-table-mobile-field-sheet", never, { "table": { "alias": "table"; "required": true; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "ctx": { "alias": "ctx"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
35
+ }
@@ -0,0 +1,64 @@
1
+ import { ɵSdQueryChipLabels, type SdQueryField } from '@sdcorejs/angular/components/query-bar';
2
+ import type { Filter, Operator } from '@sdcorejs/utils/models';
3
+ import type { SdTableMobileFilterItem } from '../../../services/table-filter/table-mobile-filter.util';
4
+ import type { SdTableQueryContext } from '../../../services/table-filter/table-query-bar.util';
5
+ import type { TableFilterValue } from '../../../services/table-filter/table-filter.model';
6
+ import * as i0 from "@angular/core";
7
+ /** Options of a values list shown before a search box appears. */
8
+ export declare const SD_TABLE_MOBILE_OPTIONS_WITHOUT_SEARCH = 8;
9
+ type FieldKind = 'options' | 'boolean' | 'date-range' | 'number-range' | 'date' | 'datetime' | 'text' | 'number' | 'custom';
10
+ interface Option {
11
+ value: unknown;
12
+ label: string;
13
+ }
14
+ /**
15
+ * Controls of one filter on the phone (handoff table-mobile 4–5): the operator line, then a checkbox or radio list,
16
+ * two date or number boxes, or one box. Edits the working copy in place (`value`) and emits `changed`; filters only
17
+ * their own control can edit (`item.custom`) render that control.
18
+ */
19
+ export declare class SdTableMobileFilterFieldComponent {
20
+ #private;
21
+ readonly item: import("@angular/core").InputSignal<SdTableMobileFilterItem>;
22
+ /** Working copy; edited in place. */
23
+ readonly value: import("@angular/core").InputSignal<TableFilterValue>;
24
+ readonly ctx: import("@angular/core").InputSignal<SdTableQueryContext>;
25
+ /** Bumped by the owner when it changed the working copy (Clear, Clear all). */
26
+ readonly revision: import("@angular/core").InputSignal<number>;
27
+ readonly cacheValues: import("@angular/core").InputSignal<Record<string, any[]> | undefined>;
28
+ readonly labels: import("@angular/core").InputSignal<ɵSdQueryChipLabels>;
29
+ readonly autoId: import("@angular/core").InputSignal<string | undefined>;
30
+ readonly changed: import("@angular/core").OutputEmitterRef<void>;
31
+ readonly search: import("@angular/core").WritableSignal<string>;
32
+ readonly field: import("@angular/core").Signal<SdQueryField | undefined>;
33
+ readonly chip: import("@angular/core").Signal<{
34
+ filter: Filter;
35
+ active: boolean;
36
+ } | undefined>;
37
+ readonly operator: import("@angular/core").Signal<Operator | undefined>;
38
+ readonly operatorItems: import("@angular/core").Signal<import("@sdcorejs/angular/components/operator").ɵSdOperatorItem[]>;
39
+ readonly operatorLabel: import("@angular/core").Signal<string>;
40
+ readonly noData: import("@angular/core").Signal<boolean>;
41
+ readonly kind: import("@angular/core").Signal<FieldKind>;
42
+ readonly multiple: import("@angular/core").Signal<boolean>;
43
+ readonly raw: import("@angular/core").Signal<any>;
44
+ /** values: the option list (array, signal, or loaded once); lazy-values: the last search, selected values first. */
45
+ readonly options: import("@angular/core").Signal<Option[]>;
46
+ readonly showSearch: import("@angular/core").Signal<boolean>;
47
+ readonly shownOptions: import("@angular/core").Signal<Option[]>;
48
+ readonly booleanOptions: import("@angular/core").Signal<Option[]>;
49
+ constructor();
50
+ onSearch(term: string): void;
51
+ isChecked(value: unknown): boolean;
52
+ toggle(value: unknown, checked: unknown): void;
53
+ setRange(end: 'from' | 'to', value: unknown): void;
54
+ setRaw(raw: unknown): void;
55
+ /** Operator menu. `NULL` / `NOT_NULL` clear the value; leaving them restores the column default. */
56
+ setOperator(operator: Operator): void;
57
+ /** External date / datetime filter the bar leaves out: the raw value only. */
58
+ setExternal(field: string, raw: unknown): void;
59
+ /** Custom controls (column-filter, templates) edit the working copy themselves. */
60
+ onCustomChange(): void;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<SdTableMobileFilterFieldComponent, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<SdTableMobileFilterFieldComponent, "sd-table-mobile-filter-field", never, { "item": { "alias": "item"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "ctx": { "alias": "ctx"; "required": true; "isSignal": true; }; "revision": { "alias": "revision"; "required": false; "isSignal": true; }; "cacheValues": { "alias": "cacheValues"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "autoId": { "alias": "autoId"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, never, true, never>;
63
+ }
64
+ export {};
@@ -0,0 +1,11 @@
1
+ import { ɵSdQueryChipLabels } from '@sdcorejs/angular/components/query-bar';
2
+ import { type SdTableMobileFilterItem } from '../../../services/table-filter/table-mobile-filter.util';
3
+ import type { TableFilterValue } from '../../../services/table-filter/table-filter.model';
4
+ /**
5
+ * Summary of a phone filter for a raw record, the same string the query bar shows for that chip (handoff table-mobile
6
+ * 3.3): one value → its label, several → `first +n`, ranges as on the bar. A `string` / `number` value gets its operator
7
+ * in front (`Chứa abc`); `NULL` / `NOT_NULL` show the operator name. Empty when the filter is not active or custom.
8
+ *
9
+ * Call in an injection context. `labels` resolves values the table does not hold (lazy-values, items functions).
10
+ */
11
+ export declare function sdTableMobileFilterSummary(): (item: SdTableMobileFilterItem, value: TableFilterValue, labels: ɵSdQueryChipLabels) => string;
@@ -1,23 +1,21 @@
1
- import { SdSideDrawer } from '@sdcorejs/angular/components/side-drawer';
1
+ import { ElementRef } from '@angular/core';
2
+ import { SdModal } from '@sdcorejs/angular/components/modal';
3
+ import { ɵSdQueryChipLabels } from '@sdcorejs/angular/components/query-bar';
2
4
  import { Operator } from '@sdcorejs/utils/models';
3
5
  import { SdTableFilterDefDirective } from '../../../directives/sd-table-filter-def.directive';
4
6
  import { SdTableColumn } from '../../../models/table-column.model';
5
- import { SdTableExternalFilter, SdTableOptionFilter, TableFilterRegister } from '../../../services/table-filter/table-filter.model';
7
+ import { type SdTableMobileFilterItem } from '../../../services/table-filter/table-mobile-filter.util';
8
+ import type { SdTableQueryContext } from '../../../services/table-filter/table-query-bar.util';
9
+ import { SdTableExternalFilter, SdTableOptionFilter, TableFilterRegister, TableFilterValue } from '../../../services/table-filter/table-filter.model';
6
10
  import * as i0 from "@angular/core";
7
11
  /**
8
- * Mobile-filter — side-drawer chiếm ~90% width thiết bị. Dùng cho table khi
9
- * render trên màn hình điện thoại (inline filter bị ẩn).
10
- *
11
- * Layout (mỗi filter 1 hàng, size='sm'):
12
- * 1. External filter (render inline — KHÔNG reuse external-filter component
13
- * vì component đó dùng grid 2/3 cột + có chọn ẩn/hiện không phù hợp mobile).
14
- * 2. filterDefs — custom templates do app khai báo qua `[sdTableFilterDef]`.
15
- * 3. Column filter — 1 column-filter / column.
16
- *
17
- * State: local working copy. Cancel = đóng (không ghi). Apply = flush vào
18
- * filterRegister + đóng.
12
+ * Filter sheet of the phone (handoff table-mobile 5): one `sd-modal` bottom sheet with two levels — the list of
13
+ * filters with their summary, and the page of one filter. Works on a copy of the filter register: Done keeps the page's
14
+ * edits in the copy, Apply writes every filter and reads once, Cancel / close / a swipe down / the scrim drop the copy.
15
+ * Order: external filters → `sdTableFilterDef` templates → columns.
19
16
  */
20
17
  export declare class MobileFilterComponent {
18
+ #private;
21
19
  autoIdInput: import("@angular/core").InputSignal<string | null | undefined>;
22
20
  filter: import("@angular/core").InputSignal<SdTableOptionFilter<unknown> | undefined>;
23
21
  externalFilters: import("@angular/core").InputSignal<SdTableExternalFilter[] | null | undefined>;
@@ -25,18 +23,52 @@ export declare class MobileFilterComponent {
25
23
  filterDefs: import("@angular/core").InputSignal<readonly SdTableFilterDefDirective[] | null | undefined>;
26
24
  filterRegister: import("@angular/core").InputSignal<TableFilterRegister | undefined>;
27
25
  cacheValues: import("@angular/core").InputSignal<Record<string, any[]> | undefined>;
28
- drawer: import("@angular/core").Signal<SdSideDrawer>;
26
+ /** Filters and the query model, from the table. */
27
+ model: import("@angular/core").InputSignal<{
28
+ ctx: SdTableQueryContext;
29
+ items: SdTableMobileFilterItem[];
30
+ } | undefined>;
31
+ readonly sheet: import("@angular/core").Signal<SdModal>;
32
+ protected readonly head: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
33
+ protected readonly body: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
29
34
  workingColumnFilter: import("@angular/core").WritableSignal<Record<string, any>>;
30
35
  workingColumnOperator: import("@angular/core").WritableSignal<Record<string, Operator>>;
31
36
  workingExternalFilter: import("@angular/core").WritableSignal<Record<string, any>>;
37
+ /** Filter whose page is open; `undefined` on the list. */
38
+ readonly page: import("@angular/core").WritableSignal<SdTableMobileFilterItem | undefined>;
39
+ /** Bumped when the copy changes in place, so summaries and counts follow. */
40
+ readonly revision: import("@angular/core").WritableSignal<number>;
41
+ readonly labels: ɵSdQueryChipLabels;
32
42
  autoId: import("@angular/core").Signal<string>;
33
43
  externalFilterItems: import("@angular/core").Signal<SdTableExternalFilter[]>;
34
44
  columnItems: import("@angular/core").Signal<SdTableColumn[]>;
35
45
  filterDefItems: import("@angular/core").Signal<readonly SdTableFilterDefDirective[]>;
46
+ /** The copy as one record; its parts are the working signals' objects, edited in place by the field pages. */
47
+ readonly working: import("@angular/core").Signal<TableFilterValue>;
48
+ readonly rows: import("@angular/core").Signal<{
49
+ item: SdTableMobileFilterItem;
50
+ summary: string;
51
+ active: boolean;
52
+ field: string;
53
+ }[]>;
54
+ readonly activeCount: import("@angular/core").Signal<number>;
55
+ constructor();
36
56
  open: () => void;
37
57
  close: () => void;
58
+ /** Opens the page of a filter; Back returns to the list. */
59
+ enter(item: SdTableMobileFilterItem): void;
60
+ /** Done / ← / Escape on a page: back to the list, the edits stay in the copy. */
61
+ back(): void;
38
62
  onApply: () => void;
39
63
  onCancel: () => void;
64
+ /** "Clear all": empties every filter of the copy; Apply still writes it. */
65
+ clearAll(): void;
66
+ /** "Clear" on a page: that filter only. */
67
+ clearPage(): void;
68
+ onChanged(): void;
69
+ onKeydown(event: KeyboardEvent): void;
70
+ /** Every close path ends here: drop the history entries the sheet pushed. */
71
+ onClosed(): void;
40
72
  static ɵfac: i0.ɵɵFactoryDeclaration<MobileFilterComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<MobileFilterComponent, "mobile-filter", never, { "autoIdInput": { "alias": "autoId"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; "externalFilters": { "alias": "externalFilters"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "filterDefs": { "alias": "filterDefs"; "required": false; "isSignal": true; }; "filterRegister": { "alias": "filterRegister"; "required": false; "isSignal": true; }; "cacheValues": { "alias": "cacheValues"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
73
+ static ɵcmp: i0.ɵɵComponentDeclaration<MobileFilterComponent, "mobile-filter", never, { "autoIdInput": { "alias": "autoId"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; "externalFilters": { "alias": "externalFilters"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "filterDefs": { "alias": "filterDefs"; "required": false; "isSignal": true; }; "filterRegister": { "alias": "filterRegister"; "required": false; "isSignal": true; }; "cacheValues": { "alias": "cacheValues"; "required": false; "isSignal": true; }; "model": { "alias": "model"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
42
74
  }
@@ -7,6 +7,8 @@ export declare class TableQuickSearchComponent {
7
7
  readonly value: import("@angular/core").InputSignal<SdTableQuickSearchValue>;
8
8
  readonly autoId: import("@angular/core").InputSignal<string | null | undefined>;
9
9
  readonly rightTemplate: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
10
+ /** Id of the table's required hint (in its empty block); described by it while a required filter is empty. */
11
+ readonly requiredHintId: import("@angular/core").InputSignal<string | undefined>;
10
12
  readonly valueChange: import("@angular/core").OutputEmitterRef<SdTableQuickSearchValue>;
11
13
  readonly term: import("@angular/core").WritableSignal<string>;
12
14
  readonly isMobile: import("@angular/core").Signal<boolean>;
@@ -22,5 +24,5 @@ export declare class TableQuickSearchComponent {
22
24
  clear(input: HTMLInputElement): void;
23
25
  onFilterChange(item: SdTableQuickSearchFilter, value: SdTableQuickSearchFilterValue): void;
24
26
  static ɵfac: i0.ɵɵFactoryDeclaration<TableQuickSearchComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<TableQuickSearchComponent, "sd-table-quick-search", never, { "option": { "alias": "option"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "autoId": { "alias": "autoId"; "required": false; "isSignal": true; }; "rightTemplate": { "alias": "rightTemplate"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableQuickSearchComponent, "sd-table-quick-search", never, { "option": { "alias": "option"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "autoId": { "alias": "autoId"; "required": false; "isSignal": true; }; "rightTemplate": { "alias": "rightTemplate"; "required": false; "isSignal": true; }; "requiredHintId": { "alias": "requiredHintId"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
26
28
  }
@@ -0,0 +1,45 @@
1
+ import { type SdBadgeData } from '@sdcorejs/angular/components/badge';
2
+ import type { SdTableCellDefDirective } from '../../directives/sd-table-cell-def.directive';
3
+ import type { SdTableColumnAnyRow } from '../../models/table-column.model';
4
+ import type { SdTableItem } from '../../models/table-item.model';
5
+ import type { SdTableMobileView } from '../../services/mobile/mobile-view.util';
6
+ import * as i0 from "@angular/core";
7
+ interface DataCell {
8
+ column: SdTableColumnAnyRow;
9
+ label: string;
10
+ highlight: boolean;
11
+ /** The value goes through `desktop-cell` (cell template, or the formatted value); otherwise `text`. */
12
+ cell: boolean;
13
+ text: string;
14
+ }
15
+ /**
16
+ * Body of a phone card built from `mobile.template.data` or `autoTemplate` (handoff table-mobile 9.4): title and
17
+ * badge, a one-line subtitle, then a two-column grid of fields with the column title as label. Grid values take the
18
+ * desktop cell path; the title and subtitle are plain text.
19
+ */
20
+ export declare class SdTableMobileCardDataComponent {
21
+ #private;
22
+ readonly view: import("@angular/core").InputSignal<SdTableMobileView>;
23
+ readonly row: import("@angular/core").InputSignal<SdTableItem<any>>;
24
+ /** Title when the view has none: the row label. */
25
+ readonly label: import("@angular/core").InputSignal<string>;
26
+ readonly cellDef: import("@angular/core").InputSignal<Record<string, SdTableCellDefDirective<any>>>;
27
+ readonly autoId: import("@angular/core").InputSignal<string | undefined>;
28
+ readonly expanded: import("@angular/core").WritableSignal<boolean>;
29
+ readonly title: import("@angular/core").Signal<string>;
30
+ readonly subtitle: import("@angular/core").Signal<string>;
31
+ readonly badge: import("@angular/core").Signal<{
32
+ kind: "badge";
33
+ data: SdBadgeData;
34
+ title: string;
35
+ } | {
36
+ kind: "text";
37
+ text: string;
38
+ } | undefined>;
39
+ readonly cells: import("@angular/core").Signal<DataCell[]>;
40
+ readonly hiddenCount: import("@angular/core").Signal<number>;
41
+ readonly shownCells: import("@angular/core").Signal<DataCell[]>;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<SdTableMobileCardDataComponent, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<SdTableMobileCardDataComponent, "sd-table-mobile-card-data", never, { "view": { "alias": "view"; "required": true; "isSignal": true; }; "row": { "alias": "row"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "cellDef": { "alias": "cellDef"; "required": false; "isSignal": true; }; "autoId": { "alias": "autoId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
44
+ }
45
+ export {};
@@ -5,9 +5,19 @@ import type { SdTableRowMobileDefContext } from '../../directives/sd-table-row-m
5
5
  import { Command } from '../command/pipes/filter.pipe';
6
6
  import { SdTableMobileAction } from './mobile-action.model';
7
7
  import type { AggregateRow } from '../../services/table-aggregate.util';
8
+ import { type SdTableMobileBody, type SdTableMobileView } from '../../services/mobile/mobile-view.util';
8
9
  import * as i0 from "@angular/core";
10
+ type CardBody<T> = {
11
+ kind: 'template';
12
+ templateRef: TemplateRef<SdTableRowMobileDefContext<T>>;
13
+ } | {
14
+ kind: 'data';
15
+ view: SdTableMobileView;
16
+ };
9
17
  interface Card<T> {
10
18
  row: SdTableItem<T>;
19
+ /** Card body of a data row; `undefined` for group and summary rows. */
20
+ body?: CardBody<T>;
11
21
  context: SdTableRowMobileDefContext<T>;
12
22
  label: string;
13
23
  selectLabel: string;
@@ -20,6 +30,8 @@ interface Card<T> {
20
30
  export declare class SdTableMobileCardsComponent<T = unknown> implements OnDestroy {
21
31
  #private;
22
32
  readonly table: import("@angular/core").InputSignal<SdTable<T>>;
33
+ /** Card body the table resolved (`sdTableRowMobileDef`, `mobile.template` or `autoTemplate`). */
34
+ readonly body: import("@angular/core").InputSignal<SdTableMobileBody<T> | undefined>;
23
35
  readonly rows: import("@angular/core").InputSignal<SdTableItem<T>[]>;
24
36
  readonly dataRows: import("@angular/core").InputSignal<SdTableItem<T>[] | undefined>;
25
37
  readonly aggregateTemplate: import("@angular/core").InputSignal<TemplateRef<{
@@ -56,6 +68,6 @@ export declare class SdTableMobileCardsComponent<T = unknown> implements OnDestr
56
68
  dragStart(): void;
57
69
  ngOnDestroy(): void;
58
70
  static ɵfac: i0.ɵɵFactoryDeclaration<SdTableMobileCardsComponent<any>, never>;
59
- static ɵcmp: i0.ɵɵComponentDeclaration<SdTableMobileCardsComponent<any>, "sd-table-mobile-cards", never, { "table": { "alias": "table"; "required": true; "isSignal": true; }; "rows": { "alias": "rows"; "required": true; "isSignal": true; }; "dataRows": { "alias": "dataRows"; "required": false; "isSignal": true; }; "aggregateTemplate": { "alias": "aggregateTemplate"; "required": false; "isSignal": true; }; "groupTemplate": { "alias": "groupTemplate"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
71
+ static ɵcmp: i0.ɵɵComponentDeclaration<SdTableMobileCardsComponent<any>, "sd-table-mobile-cards", never, { "table": { "alias": "table"; "required": true; "isSignal": true; }; "body": { "alias": "body"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": true; "isSignal": true; }; "dataRows": { "alias": "dataRows"; "required": false; "isSignal": true; }; "aggregateTemplate": { "alias": "aggregateTemplate"; "required": false; "isSignal": true; }; "groupTemplate": { "alias": "groupTemplate"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
60
72
  }
61
73
  export {};
@@ -0,0 +1,35 @@
1
+ /** Drag distance after which a released handle closes the sheet. */
2
+ export declare const SD_TABLE_SHEET_DISMISS_DISTANCE = 80;
3
+ /**
4
+ * Browser Back for the phone sheets (handoff table-mobile 15.6). Each level pushes one history entry with the same URL
5
+ * and state, so the router sees no navigation; Back pops the entry and runs the level's handler instead of leaving the
6
+ * page. When the UI closes levels itself, `release` takes their entries back off the history.
7
+ *
8
+ * The sheets open `sd-modal` with `closeOnNavigation: false`, otherwise Material would close them on that popstate.
9
+ *
10
+ * Off while the table sits in an overlay (a dialog, a bottom sheet): every popstate, the ones `release` causes
11
+ * included, makes Material close that overlay (`closeOnNavigation`). Back then closes the overlay, as before.
12
+ */
13
+ export declare class SdTableSheetHistory {
14
+ #private;
15
+ /** `owner`: an element of the table, to tell whether it sits in an overlay. */
16
+ constructor(window: Window | null, owner?: Element | null);
17
+ get depth(): number;
18
+ /** Opens a level: Back now runs `onBack` (which must not call `release`). */
19
+ push(onBack: () => void): void;
20
+ /**
21
+ * The UI closed `count` levels itself (all by default): drop their entries from the history. When the URL changed
22
+ * since the first level opened (the router navigated, the app wrote query params), the entries are only forgotten:
23
+ * going back would undo that navigation.
24
+ */
25
+ release(count?: number): void;
26
+ /** Destroy: stop listening. A sheet that was open has already released its levels when its modal closed. */
27
+ dispose(): void;
28
+ }
29
+ /**
30
+ * Swipe down on the handle and header of a bottom sheet (`element` inside the Material container) to close it. The
31
+ * container follows the finger; a release past `SD_TABLE_SHEET_DISMISS_DISTANCE` calls `onDismiss`, a shorter one puts
32
+ * it back. Listeners are passive (they never cancel scrolling); the dragged area has `touch-action: none` in CSS.
33
+ * Returns the cleanup.
34
+ */
35
+ export declare const sdTableSheetSwipe: (element: HTMLElement, onDismiss: () => void) => (() => void);
@@ -0,0 +1,36 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { SortDirection } from '@angular/material/sort';
3
+ import { SdModal } from '@sdcorejs/angular/components/modal';
4
+ import { type SdSegmentedItem } from '@sdcorejs/angular/forms/segmented';
5
+ import type { SdTable } from '../../table.component';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Sort sheet of the phone (handoff table-mobile 6): direction (Ascending | Descending) and one sortable column, hidden
9
+ * columns included. Picking a column sorts at once and closes; changing the direction re-sorts while a column is
10
+ * picked, otherwise it is kept for the next pick; "Clear sort" goes back to no sort.
11
+ */
12
+ export declare class SdTableMobileSortSheetComponent<T = unknown> {
13
+ #private;
14
+ readonly table: import("@angular/core").InputSignal<SdTable<T>>;
15
+ readonly sheet: import("@angular/core").Signal<SdModal>;
16
+ protected readonly head: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
17
+ readonly state: import("@angular/core").Signal<{
18
+ active: string;
19
+ direction: SortDirection;
20
+ }>;
21
+ readonly active: import("@angular/core").Signal<string>;
22
+ readonly direction: import("@angular/core").Signal<"desc" | "asc">;
23
+ readonly columns: import("@angular/core").Signal<{
24
+ value: string;
25
+ label: string;
26
+ }[]>;
27
+ readonly directions: import("@angular/core").Signal<SdSegmentedItem<"desc" | "asc">[]>;
28
+ constructor();
29
+ open(): void;
30
+ pickColumn(field: unknown): void;
31
+ pickDirection(direction: unknown): void;
32
+ clear(): void;
33
+ onClosed(): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<SdTableMobileSortSheetComponent<any>, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<SdTableMobileSortSheetComponent<any>, "sd-table-mobile-sort-sheet", never, { "table": { "alias": "table"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
36
+ }
@@ -0,0 +1,49 @@
1
+ import { ɵSdQueryChipLabels } from '@sdcorejs/angular/components/query-bar';
2
+ import type { SdTable } from '../../table.component';
3
+ import type { TableFilterValue } from '../../services/table-filter/table-filter.model';
4
+ import type { SdTableQueryContext } from '../../services/table-filter/table-query-bar.util';
5
+ import { type SdTableMobileFilterItem } from '../../services/table-filter/table-mobile-filter.util';
6
+ import { SdTableMobileFieldSheetComponent } from '../filter/mobile-filter/mobile-field-sheet.component';
7
+ import * as i0 from "@angular/core";
8
+ interface FieldChip {
9
+ item: SdTableMobileFilterItem;
10
+ field: string;
11
+ /** `Name` when not filtering, `Name: summary` when filtering. */
12
+ text: string;
13
+ active: boolean;
14
+ }
15
+ /**
16
+ * Filter chips under the table search on phones (handoff table-mobile 3): Filters (with the number of active filters),
17
+ * Sort, a divider, then one chip per filter the table can summarise, in a fixed order. A field chip opens its own sheet;
18
+ * the sort chip asks the table to open the sort sheet (`sortOpen`).
19
+ */
20
+ export declare class SdTableMobileFilterChipsComponent<T = unknown> {
21
+ #private;
22
+ readonly table: import("@angular/core").InputSignal<SdTable<T>>;
23
+ /** Filters of the phone UI and the applied value (from the table). */
24
+ readonly model: import("@angular/core").InputSignal<{
25
+ ctx: SdTableQueryContext;
26
+ items: SdTableMobileFilterItem[];
27
+ } | undefined>;
28
+ readonly value: import("@angular/core").InputSignal<TableFilterValue | undefined>;
29
+ readonly sortAvailable: import("@angular/core").InputSignal<boolean>;
30
+ readonly sortLabel: import("@angular/core").InputSignal<string>;
31
+ readonly fieldSheet: import("@angular/core").Signal<SdTableMobileFieldSheetComponent<any>>;
32
+ readonly sortOpen: import("@angular/core").OutputEmitterRef<void>;
33
+ readonly labels: ɵSdQueryChipLabels;
34
+ readonly count: import("@angular/core").Signal<number>;
35
+ readonly filterLabel: import("@angular/core").Signal<string>;
36
+ readonly chips: import("@angular/core").Signal<FieldChip[]>;
37
+ /** Sort chip (3.2): only an icon while the table is not sorted, else the arrow and the column. */
38
+ readonly sort: import("@angular/core").Signal<{
39
+ active: boolean;
40
+ title: string;
41
+ icon: string;
42
+ label: string;
43
+ } | undefined>;
44
+ openAll(): void;
45
+ openField(chip: FieldChip): void;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<SdTableMobileFilterChipsComponent<any>, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<SdTableMobileFilterChipsComponent<any>, "sd-table-mobile-filter-chips", never, { "table": { "alias": "table"; "required": true; "isSignal": true; }; "model": { "alias": "model"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "sortAvailable": { "alias": "sortAvailable"; "required": false; "isSignal": true; }; "sortLabel": { "alias": "sortLabel"; "required": false; "isSignal": true; }; }, { "sortOpen": "sortOpen"; }, never, never, true, never>;
48
+ }
49
+ export {};