@sdcorejs/angular 22.3.4 → 22.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/assets/STYLE-GUIDE.md +78 -1
  2. package/assets/THEME.md +45 -3
  3. package/assets/scss/core/_popover-panel.scss +90 -0
  4. package/assets/scss/core/form.scss +5 -2
  5. package/assets/scss/core/utilities/_grid.scss +15 -0
  6. package/assets/scss/core/utilities/_sizing.scss +4 -0
  7. package/assets/scss/themes/_component-tokens.scss +9 -4
  8. package/assets/scss/themes/_semantic.scss +6 -5
  9. package/fesm2022/sdcorejs-angular-components-anchor.mjs +64 -3
  10. package/fesm2022/sdcorejs-angular-components-anchor.mjs.map +1 -1
  11. package/fesm2022/sdcorejs-angular-components-button.mjs +14 -6
  12. package/fesm2022/sdcorejs-angular-components-button.mjs.map +1 -1
  13. package/fesm2022/sdcorejs-angular-components-calendar.mjs +2565 -0
  14. package/fesm2022/sdcorejs-angular-components-calendar.mjs.map +1 -0
  15. package/fesm2022/sdcorejs-angular-components-card.mjs +521 -23
  16. package/fesm2022/sdcorejs-angular-components-card.mjs.map +1 -1
  17. package/fesm2022/sdcorejs-angular-components-editor-engine.mjs +1 -1
  18. package/fesm2022/sdcorejs-angular-components-editor-engine.mjs.map +1 -1
  19. package/fesm2022/sdcorejs-angular-components-file-explorer.mjs +4 -18
  20. package/fesm2022/sdcorejs-angular-components-file-explorer.mjs.map +1 -1
  21. package/fesm2022/sdcorejs-angular-components-form-generic.mjs +7 -7
  22. package/fesm2022/sdcorejs-angular-components-form-generic.mjs.map +1 -1
  23. package/fesm2022/sdcorejs-angular-components-import-excel.mjs +1 -1
  24. package/fesm2022/sdcorejs-angular-components-import-excel.mjs.map +1 -1
  25. package/fesm2022/sdcorejs-angular-components-kanban.mjs +849 -157
  26. package/fesm2022/sdcorejs-angular-components-kanban.mjs.map +1 -1
  27. package/fesm2022/sdcorejs-angular-components-modal.mjs +66 -14
  28. package/fesm2022/sdcorejs-angular-components-modal.mjs.map +1 -1
  29. package/fesm2022/sdcorejs-angular-components-query-bar.mjs +1528 -375
  30. package/fesm2022/sdcorejs-angular-components-query-bar.mjs.map +1 -1
  31. package/fesm2022/sdcorejs-angular-components-quick-action.mjs +78 -2
  32. package/fesm2022/sdcorejs-angular-components-quick-action.mjs.map +1 -1
  33. package/fesm2022/sdcorejs-angular-components-scheduler.mjs +2006 -0
  34. package/fesm2022/sdcorejs-angular-components-scheduler.mjs.map +1 -0
  35. package/fesm2022/sdcorejs-angular-components-side-drawer.mjs +2 -2
  36. package/fesm2022/sdcorejs-angular-components-side-drawer.mjs.map +1 -1
  37. package/fesm2022/sdcorejs-angular-components-tab-router.mjs +126 -26
  38. package/fesm2022/sdcorejs-angular-components-tab-router.mjs.map +1 -1
  39. package/fesm2022/sdcorejs-angular-components-tab.mjs +31 -2
  40. package/fesm2022/sdcorejs-angular-components-tab.mjs.map +1 -1
  41. package/fesm2022/sdcorejs-angular-components-table.mjs +6215 -3830
  42. package/fesm2022/sdcorejs-angular-components-table.mjs.map +1 -1
  43. package/fesm2022/sdcorejs-angular-components-timeline.mjs +501 -0
  44. package/fesm2022/sdcorejs-angular-components-timeline.mjs.map +1 -0
  45. package/fesm2022/sdcorejs-angular-components-tree.mjs +613 -36
  46. package/fesm2022/sdcorejs-angular-components-tree.mjs.map +1 -1
  47. package/fesm2022/sdcorejs-angular-components-upload-file.mjs +2 -4
  48. package/fesm2022/sdcorejs-angular-components-upload-file.mjs.map +1 -1
  49. package/fesm2022/sdcorejs-angular-components.mjs +3 -1
  50. package/fesm2022/sdcorejs-angular-components.mjs.map +1 -1
  51. package/fesm2022/sdcorejs-angular-directives.mjs +110 -22
  52. package/fesm2022/sdcorejs-angular-directives.mjs.map +1 -1
  53. package/fesm2022/sdcorejs-angular-forms-date.mjs +142 -43
  54. package/fesm2022/sdcorejs-angular-forms-date.mjs.map +1 -1
  55. package/fesm2022/sdcorejs-angular-forms-datetime.mjs +71 -22
  56. package/fesm2022/sdcorejs-angular-forms-datetime.mjs.map +1 -1
  57. package/fesm2022/sdcorejs-angular-forms-directives.mjs +4 -3
  58. package/fesm2022/sdcorejs-angular-forms-directives.mjs.map +1 -1
  59. package/fesm2022/sdcorejs-angular-forms-entity-picker.mjs +1 -1
  60. package/fesm2022/sdcorejs-angular-forms-entity-picker.mjs.map +1 -1
  61. package/fesm2022/sdcorejs-angular-forms-select.mjs +23 -4
  62. package/fesm2022/sdcorejs-angular-forms-select.mjs.map +1 -1
  63. package/fesm2022/sdcorejs-angular-forms-tree-select.mjs +1 -1
  64. package/fesm2022/sdcorejs-angular-forms-tree-select.mjs.map +1 -1
  65. package/fesm2022/sdcorejs-angular-i18n.mjs +812 -52
  66. package/fesm2022/sdcorejs-angular-i18n.mjs.map +1 -1
  67. package/fesm2022/{sdcorejs-angular-modules-generic-generic-configuration.page-SJIWI1dX.mjs → sdcorejs-angular-modules-generic-generic-configuration.page-j_thIw4L.mjs} +3 -3
  68. package/fesm2022/{sdcorejs-angular-modules-generic-generic-configuration.page-SJIWI1dX.mjs.map → sdcorejs-angular-modules-generic-generic-configuration.page-j_thIw4L.mjs.map} +1 -1
  69. package/fesm2022/{sdcorejs-angular-modules-generic-generic-form-host.page-BPhMLVbv.mjs → sdcorejs-angular-modules-generic-generic-form-host.page-DLsJ_8NR.mjs} +2 -2
  70. package/fesm2022/{sdcorejs-angular-modules-generic-generic-form-host.page-BPhMLVbv.mjs.map → sdcorejs-angular-modules-generic-generic-form-host.page-DLsJ_8NR.mjs.map} +1 -1
  71. package/fesm2022/{sdcorejs-angular-modules-generic-generic-list.page-aGhowe9Y.mjs → sdcorejs-angular-modules-generic-generic-list.page-CkYR7Y-b.mjs} +3 -3
  72. package/fesm2022/{sdcorejs-angular-modules-generic-generic-list.page-aGhowe9Y.mjs.map → sdcorejs-angular-modules-generic-generic-list.page-CkYR7Y-b.mjs.map} +1 -1
  73. package/fesm2022/{sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-N8_oGpqD.mjs → sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-Ddytu3Gb.mjs} +4 -4
  74. package/fesm2022/{sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-N8_oGpqD.mjs.map → sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-Ddytu3Gb.mjs.map} +1 -1
  75. package/fesm2022/sdcorejs-angular-modules-generic.mjs +1 -1
  76. package/fesm2022/sdcorejs-angular-modules-layout.mjs +17 -8
  77. package/fesm2022/sdcorejs-angular-modules-layout.mjs.map +1 -1
  78. package/fesm2022/{sdcorejs-angular-modules-pattern-base-api.service-C2o5xPVB.mjs → sdcorejs-angular-modules-pattern-base-api.service-vMdkWmw-.mjs} +2 -2
  79. package/fesm2022/{sdcorejs-angular-modules-pattern-base-api.service-C2o5xPVB.mjs.map → sdcorejs-angular-modules-pattern-base-api.service-vMdkWmw-.mjs.map} +1 -1
  80. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-RBvVv88D.mjs → sdcorejs-angular-modules-pattern-create.component--cdb_2ub.mjs} +11 -7
  81. package/fesm2022/sdcorejs-angular-modules-pattern-create.component--cdb_2ub.mjs.map +1 -0
  82. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-CxicczH7.mjs → sdcorejs-angular-modules-pattern-create.component-BmKRynOI.mjs} +2 -2
  83. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-CxicczH7.mjs.map → sdcorejs-angular-modules-pattern-create.component-BmKRynOI.mjs.map} +1 -1
  84. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-D3MzNJ3F.mjs → sdcorejs-angular-modules-pattern-create.component-DoilYt0j.mjs} +2 -2
  85. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-D3MzNJ3F.mjs.map → sdcorejs-angular-modules-pattern-create.component-DoilYt0j.mjs.map} +1 -1
  86. package/fesm2022/{sdcorejs-angular-modules-pattern-customer.service-3hWkJClX.mjs → sdcorejs-angular-modules-pattern-customer.service-DpPC-tV2.mjs} +2 -2
  87. package/fesm2022/{sdcorejs-angular-modules-pattern-customer.service-3hWkJClX.mjs.map → sdcorejs-angular-modules-pattern-customer.service-DpPC-tV2.mjs.map} +1 -1
  88. package/fesm2022/{sdcorejs-angular-modules-pattern-detail.component-CcpYULut.mjs → sdcorejs-angular-modules-pattern-detail.component-Bh_rvQnq.mjs} +61 -55
  89. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-Bh_rvQnq.mjs.map +1 -0
  90. package/fesm2022/{sdcorejs-angular-modules-pattern-detail.component-CEhbU12j.mjs → sdcorejs-angular-modules-pattern-detail.component-Dk1bomUT.mjs} +2 -2
  91. package/fesm2022/{sdcorejs-angular-modules-pattern-detail.component-CEhbU12j.mjs.map → sdcorejs-angular-modules-pattern-detail.component-Dk1bomUT.mjs.map} +1 -1
  92. package/fesm2022/{sdcorejs-angular-modules-pattern-flow.component-G5lHfG81.mjs → sdcorejs-angular-modules-pattern-flow.component-BarNCjsh.mjs} +3 -3
  93. package/fesm2022/{sdcorejs-angular-modules-pattern-flow.component-G5lHfG81.mjs.map → sdcorejs-angular-modules-pattern-flow.component-BarNCjsh.mjs.map} +1 -1
  94. package/fesm2022/{sdcorejs-angular-modules-pattern-index.component-CosbQK0W.mjs → sdcorejs-angular-modules-pattern-index.component--rIi-QIQ.mjs} +2 -2
  95. package/fesm2022/{sdcorejs-angular-modules-pattern-index.component-CosbQK0W.mjs.map → sdcorejs-angular-modules-pattern-index.component--rIi-QIQ.mjs.map} +1 -1
  96. package/fesm2022/{sdcorejs-angular-modules-pattern-lines-table-form.component-DmmVKrgM.mjs → sdcorejs-angular-modules-pattern-lines-table-form.component-G9Li--QF.mjs} +5 -5
  97. package/fesm2022/{sdcorejs-angular-modules-pattern-lines-table-form.component-DmmVKrgM.mjs.map → sdcorejs-angular-modules-pattern-lines-table-form.component-G9Li--QF.mjs.map} +1 -1
  98. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-2AZxTu9a.mjs +522 -0
  99. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-2AZxTu9a.mjs.map +1 -0
  100. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CDM4V05g.mjs +520 -0
  101. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CDM4V05g.mjs.map +1 -0
  102. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-C_pVqRcC.mjs → sdcorejs-angular-modules-pattern-list.component-DS9DROp-.mjs} +3 -3
  103. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-C_pVqRcC.mjs.map → sdcorejs-angular-modules-pattern-list.component-DS9DROp-.mjs.map} +1 -1
  104. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-CNVqk3JC.mjs → sdcorejs-angular-modules-pattern-list.component-DbF9z3da.mjs} +30 -39
  105. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DbF9z3da.mjs.map +1 -0
  106. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-EaNDEtCn.mjs → sdcorejs-angular-modules-pattern-list.component-DlF3i6ai.mjs} +3 -3
  107. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-EaNDEtCn.mjs.map → sdcorejs-angular-modules-pattern-list.component-DlF3i6ai.mjs.map} +1 -1
  108. package/fesm2022/{sdcorejs-angular-modules-pattern-mock-backend.factory-CFljqhjv.mjs → sdcorejs-angular-modules-pattern-mock-backend.factory-BpECki9p.mjs} +2 -2
  109. package/fesm2022/{sdcorejs-angular-modules-pattern-mock-backend.factory-CFljqhjv.mjs.map → sdcorejs-angular-modules-pattern-mock-backend.factory-BpECki9p.mjs.map} +1 -1
  110. package/fesm2022/{sdcorejs-angular-modules-pattern-pattern-source-viewer-BqHwKfoc.mjs → sdcorejs-angular-modules-pattern-pattern-source-viewer-DuhyXsGn.mjs} +4 -22
  111. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source-viewer-DuhyXsGn.mjs.map +1 -0
  112. package/fesm2022/{sdcorejs-angular-modules-pattern-pattern-source.generated-CIiLOizq.mjs → sdcorejs-angular-modules-pattern-pattern-source.generated-bfpj85ke.mjs} +26 -27
  113. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source.generated-bfpj85ke.mjs.map +1 -0
  114. package/fesm2022/{sdcorejs-angular-modules-pattern-product.service-DitXmlr1.mjs → sdcorejs-angular-modules-pattern-product.service-DEAQ4oro.mjs} +2 -2
  115. package/fesm2022/{sdcorejs-angular-modules-pattern-product.service-DitXmlr1.mjs.map → sdcorejs-angular-modules-pattern-product.service-DEAQ4oro.mjs.map} +1 -1
  116. package/fesm2022/{sdcorejs-angular-modules-pattern-profile.component-Dxw7Ix9d.mjs → sdcorejs-angular-modules-pattern-profile.component-D-dJk5vb.mjs} +27 -14
  117. package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-D-dJk5vb.mjs.map +1 -0
  118. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-BxXgJVsW.mjs → sdcorejs-angular-modules-pattern-routes-Brr61WQo.mjs} +4 -4
  119. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-BxXgJVsW.mjs.map → sdcorejs-angular-modules-pattern-routes-Brr61WQo.mjs.map} +1 -1
  120. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-CWixJ2If.mjs → sdcorejs-angular-modules-pattern-routes-CPVcXcfq.mjs} +3 -3
  121. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-CWixJ2If.mjs.map → sdcorejs-angular-modules-pattern-routes-CPVcXcfq.mjs.map} +1 -1
  122. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-w4VY9P_H.mjs → sdcorejs-angular-modules-pattern-routes-CWCtuZ4z.mjs} +8 -8
  123. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-w4VY9P_H.mjs.map → sdcorejs-angular-modules-pattern-routes-CWCtuZ4z.mjs.map} +1 -1
  124. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-BOiWZHqg.mjs → sdcorejs-angular-modules-pattern-routes-CfXmYmCp.mjs} +3 -3
  125. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-BOiWZHqg.mjs.map → sdcorejs-angular-modules-pattern-routes-CfXmYmCp.mjs.map} +1 -1
  126. package/fesm2022/sdcorejs-angular-modules-pattern-routes-CuDWVZ4I.mjs +56 -0
  127. package/fesm2022/sdcorejs-angular-modules-pattern-routes-CuDWVZ4I.mjs.map +1 -0
  128. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-CJ-RAMa5.mjs → sdcorejs-angular-modules-pattern-routes-D8W_NHEH.mjs} +5 -5
  129. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-CJ-RAMa5.mjs.map → sdcorejs-angular-modules-pattern-routes-D8W_NHEH.mjs.map} +1 -1
  130. package/fesm2022/sdcorejs-angular-modules-pattern-routes-Db0ceW1C.mjs +66 -0
  131. package/fesm2022/sdcorejs-angular-modules-pattern-routes-Db0ceW1C.mjs.map +1 -0
  132. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-C43Q4Wtq.mjs → sdcorejs-angular-modules-pattern-routes-DdmOGRpF.mjs} +3 -3
  133. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-C43Q4Wtq.mjs.map → sdcorejs-angular-modules-pattern-routes-DdmOGRpF.mjs.map} +1 -1
  134. package/fesm2022/{sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-BQCWgQsr.mjs → sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-JWx3RaLo.mjs} +12 -12
  135. package/fesm2022/{sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-BQCWgQsr.mjs.map → sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-JWx3RaLo.mjs.map} +1 -1
  136. package/fesm2022/{sdcorejs-angular-modules-pattern-shell.component-BOjJteMd.mjs → sdcorejs-angular-modules-pattern-shell.component-DMJpUhpn.mjs} +4 -4
  137. package/fesm2022/{sdcorejs-angular-modules-pattern-shell.component-BOjJteMd.mjs.map → sdcorejs-angular-modules-pattern-shell.component-DMJpUhpn.mjs.map} +1 -1
  138. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-BHDd7D8y.mjs +498 -0
  139. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-BHDd7D8y.mjs.map +1 -0
  140. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-lGwicZKW.mjs → sdcorejs-angular-modules-pattern-update.component-Bx2zgc86.mjs} +2 -2
  141. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-lGwicZKW.mjs.map → sdcorejs-angular-modules-pattern-update.component-Bx2zgc86.mjs.map} +1 -1
  142. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-CS3jlV-R.mjs → sdcorejs-angular-modules-pattern-update.component-Cb29tp1H.mjs} +2 -2
  143. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-CS3jlV-R.mjs.map → sdcorejs-angular-modules-pattern-update.component-Cb29tp1H.mjs.map} +1 -1
  144. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-CUgQPcR4.mjs → sdcorejs-angular-modules-pattern-update.component-e5BaHrDk.mjs} +9 -6
  145. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-e5BaHrDk.mjs.map +1 -0
  146. package/fesm2022/sdcorejs-angular-modules-pattern.mjs +1 -1
  147. package/fesm2022/sdcorejs-angular-services-confirm.mjs +171 -158
  148. package/fesm2022/sdcorejs-angular-services-confirm.mjs.map +1 -1
  149. package/fesm2022/sdcorejs-angular-services-excel.mjs +34 -0
  150. package/fesm2022/sdcorejs-angular-services-excel.mjs.map +1 -1
  151. package/fesm2022/sdcorejs-angular-services-query-params.mjs +227 -0
  152. package/fesm2022/sdcorejs-angular-services-query-params.mjs.map +1 -0
  153. package/fesm2022/sdcorejs-angular-utilities-extensions.mjs +24 -1
  154. package/fesm2022/sdcorejs-angular-utilities-extensions.mjs.map +1 -1
  155. package/modules/pattern/README.md +5 -4
  156. package/modules/pattern/docs/detail.md +18 -9
  157. package/modules/pattern/docs/drawer.md +185 -83
  158. package/modules/pattern/docs/header-actions.md +1 -1
  159. package/modules/pattern/docs/list.md +3 -3
  160. package/modules/pattern/docs/states.md +1 -1
  161. package/modules/pattern/features/category/components/create-side-drawer/create-side-drawer.component.ts +12 -16
  162. package/modules/pattern/features/category/components/update-side-drawer/update-side-drawer.component.ts +58 -29
  163. package/modules/pattern/features/category/pages/list/list.component.html +11 -3
  164. package/modules/pattern/features/category/pages/list/list.component.ts +36 -10
  165. package/modules/pattern/features/category/routes.ts +5 -22
  166. package/modules/pattern/features/customer/components/create-side-drawer/create-side-drawer.component.ts +7 -11
  167. package/modules/pattern/features/customer/components/detail-side-drawer/detail-side-drawer.component.ts +70 -27
  168. package/modules/pattern/features/customer/components/summary-cards/summary-cards.component.ts +9 -53
  169. package/modules/pattern/features/customer/components/update-side-drawer/update-side-drawer.component.ts +53 -19
  170. package/modules/pattern/features/customer/entity.resolver.ts +1 -1
  171. package/modules/pattern/features/customer/pages/list/list.component.html +18 -3
  172. package/modules/pattern/features/customer/pages/list/list.component.ts +43 -16
  173. package/modules/pattern/features/customer/pages/profile/profile.component.ts +17 -8
  174. package/modules/pattern/features/customer/routes.ts +6 -27
  175. package/modules/pattern/features/order/components/approval-steps/approval-steps.component.ts +37 -56
  176. package/modules/pattern/features/order/components/summary-cards/summary-cards.component.ts +14 -76
  177. package/modules/pattern/features/order/pages/create/create.component.ts +7 -3
  178. package/modules/pattern/features/order/pages/detail/detail.component.ts +1 -1
  179. package/modules/pattern/features/order/pages/update/update.component.ts +5 -2
  180. package/package.json +17 -5
  181. package/types/sdcorejs-angular-components-anchor.d.ts +6 -1
  182. package/types/sdcorejs-angular-components-button.d.ts +7 -1
  183. package/types/sdcorejs-angular-components-calendar.d.ts +1092 -0
  184. package/types/sdcorejs-angular-components-card.d.ts +247 -9
  185. package/types/sdcorejs-angular-components-kanban.d.ts +191 -74
  186. package/types/sdcorejs-angular-components-modal.d.ts +15 -1
  187. package/types/sdcorejs-angular-components-query-bar.d.ts +204 -38
  188. package/types/sdcorejs-angular-components-quick-action.d.ts +65 -1
  189. package/types/sdcorejs-angular-components-scheduler.d.ts +544 -0
  190. package/types/sdcorejs-angular-components-tab.d.ts +6 -1
  191. package/types/sdcorejs-angular-components-table.d.ts +338 -31
  192. package/types/sdcorejs-angular-components-timeline.d.ts +216 -0
  193. package/types/sdcorejs-angular-components-tree.d.ts +119 -6
  194. package/types/sdcorejs-angular-components.d.ts +3 -1
  195. package/types/sdcorejs-angular-directives.d.ts +4 -2
  196. package/types/sdcorejs-angular-forms-date.d.ts +2 -0
  197. package/types/sdcorejs-angular-forms-directives.d.ts +1 -1
  198. package/types/sdcorejs-angular-i18n.d.ts +159 -9
  199. package/types/sdcorejs-angular-modules-layout.d.ts +2 -1
  200. package/types/sdcorejs-angular-services-confirm.d.ts +22 -81
  201. package/types/sdcorejs-angular-services-excel.d.ts +59 -0
  202. package/types/sdcorejs-angular-services-query-params.d.ts +67 -0
  203. package/types/sdcorejs-angular-utilities-extensions.d.ts +10 -1
  204. package/fesm2022/sdcorejs-angular-components-history.mjs +0 -54
  205. package/fesm2022/sdcorejs-angular-components-history.mjs.map +0 -1
  206. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-CRc9T7rb.mjs +0 -146
  207. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-CRc9T7rb.mjs.map +0 -1
  208. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-Cz-MjRG0.mjs +0 -148
  209. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-Cz-MjRG0.mjs.map +0 -1
  210. package/fesm2022/sdcorejs-angular-modules-pattern-create.component-RBvVv88D.mjs.map +0 -1
  211. package/fesm2022/sdcorejs-angular-modules-pattern-customer.model-C3fr4yNw.mjs +0 -18
  212. package/fesm2022/sdcorejs-angular-modules-pattern-customer.model-C3fr4yNw.mjs.map +0 -1
  213. package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-DzDAX3B7.mjs +0 -152
  214. package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-DzDAX3B7.mjs.map +0 -1
  215. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-CcpYULut.mjs.map +0 -1
  216. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-D8-WXUAE.mjs +0 -92
  217. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-D8-WXUAE.mjs.map +0 -1
  218. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-DHTxzjRN.mjs +0 -242
  219. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-DHTxzjRN.mjs.map +0 -1
  220. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-view.component-CTgHdGeQ.mjs +0 -72
  221. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-view.component-CTgHdGeQ.mjs.map +0 -1
  222. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-BjehcQEk.mjs +0 -172
  223. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-BjehcQEk.mjs.map +0 -1
  224. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CNVqk3JC.mjs.map +0 -1
  225. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-jB3E20UF.mjs +0 -120
  226. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-jB3E20UF.mjs.map +0 -1
  227. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source-viewer-BqHwKfoc.mjs.map +0 -1
  228. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source.generated-CIiLOizq.mjs.map +0 -1
  229. package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-Dxw7Ix9d.mjs.map +0 -1
  230. package/fesm2022/sdcorejs-angular-modules-pattern-routes-BWZxOMhB.mjs +0 -74
  231. package/fesm2022/sdcorejs-angular-modules-pattern-routes-BWZxOMhB.mjs.map +0 -1
  232. package/fesm2022/sdcorejs-angular-modules-pattern-routes-CophQH_L.mjs +0 -100
  233. package/fesm2022/sdcorejs-angular-modules-pattern-routes-CophQH_L.mjs.map +0 -1
  234. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-BT2PzXTG.mjs +0 -135
  235. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-BT2PzXTG.mjs.map +0 -1
  236. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-qmGn2tCI.mjs +0 -146
  237. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-qmGn2tCI.mjs.map +0 -1
  238. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-CUgQPcR4.mjs.map +0 -1
  239. package/modules/pattern/features/category/entity.resolver.ts +0 -27
  240. package/types/sdcorejs-angular-components-history.d.ts +0 -23
@@ -1,8 +1,8 @@
1
1
  import * as _angular_core from '@angular/core';
2
2
  import { Signal } from '@angular/core';
3
3
  import { NestedKeyOf, Operator, Filter } from '@sdcorejs/utils/models';
4
- import { MatMenu } from '@angular/material/menu';
5
4
  import { SdSearch } from '@sdcorejs/angular/forms/models';
5
+ import { Subject } from 'rxjs';
6
6
 
7
7
  type SdQueryFieldType = 'string' | 'number' | 'boolean' | 'date' | 'datetime' | 'values' | 'lazy-values';
8
8
  interface SdQueryFieldBase<T = unknown> {
@@ -195,6 +195,8 @@ declare function sdQueryDefaultOperator(field: SdQueryField): Operator;
195
195
  * - `operators` is an array → that array (deduped against the type set is the caller's job)
196
196
  * - otherwise (simple mode) → just the single default operator (no real choice)
197
197
  *
198
+ * A `required` field never offers `NULL` / `NOT_NULL`: its value cannot be left out (handoff B3).
199
+ *
198
200
  * The returned array is referentially stable for a given `field` object, so it is safe to call
199
201
  * straight from a template binding.
200
202
  */
@@ -205,23 +207,93 @@ declare function sdQueryAllowedOperators(field: SdQueryField): Operator[];
205
207
  */
206
208
  declare function sdQueryShowOperatorSelector(field: SdQueryField): boolean;
207
209
 
210
+ /** Popup type of a query bar panel; it is also the `aria-haspopup` value of its trigger. */
211
+ type ɵSdQueryPanelRole = 'listbox' | 'dialog' | 'menu';
212
+ /**
213
+ * Why a panel closed. `switch`: another panel of the bar (or the same panel for another trigger) opened; `detach`: the
214
+ * panel or its trigger went away. Neither moves focus.
215
+ */
216
+ type ɵSdQueryPanelCloseReason = 'escape' | 'outside' | 'tab' | 'select' | 'close' | 'switch' | 'detach';
217
+ interface ɵSdQueryPanelOpenOptions {
218
+ /** Receives focus when the panel closes, instead of the trigger (a table header icon that asked for a chip). */
219
+ returnFocusTo?: HTMLElement | null;
220
+ /** Opened from the keyboard: a list without a find box focuses its first option instead of the panel. */
221
+ keyboard?: boolean;
222
+ /**
223
+ * `false`: focus stays on the trigger — a combobox input that keeps typing and drives the list through
224
+ * `aria-activedescendant` (the "Add condition" box of the inline bar).
225
+ */
226
+ focus?: boolean;
227
+ }
208
228
  /**
209
- * Popover-mode chip editor — the entire `<mat-menu>` that opens when a popover-mode
210
- * chip is clicked. Owns ALL operator+value staging signals and async option loading.
229
+ * Content of a query bar panel, rendered in a CDK overlay next to its trigger: field picker (`listbox`), chip popover
230
+ * (`dialog`) and saved filters (`menu`). Replaces the Material menu the bar used before (handoff section 2.2).
231
+ *
232
+ * The template has one root element carrying `sd-query-panel`, its modifier and its role; the panel gives it the `id`
233
+ * the trigger's `aria-controls` points to (unless `sdQueryPanelControls` names the element inside that has the role)
234
+ * and `tabindex="-1"`. A form panel marks the wrapper of its first value control
235
+ * with `data-sd-query-panel-initial`.
236
+ *
237
+ * Internal (`ɵ`): not part of SemVer.
238
+ */
239
+ declare class ɵSdQueryPanelDirective {
240
+ #private;
241
+ readonly id: string;
242
+ /** Popup type: `listbox` and `menu` are lists, `dialog` is a form. */
243
+ readonly role: _angular_core.InputSignal<ɵSdQueryPanelRole>;
244
+ /** Horizontal alignment with the trigger; flips when there is no room. */
245
+ readonly align: _angular_core.InputSignal<"start" | "end">;
246
+ /**
247
+ * Id of the element inside the panel that carries the popup role, when it is not the root (the field picker's listbox
248
+ * sits under its find box). The trigger's `aria-controls` points there.
249
+ */
250
+ readonly controls: _angular_core.InputSignal<string | undefined>;
251
+ /** Id the trigger's `aria-controls` names. */
252
+ readonly controlledId: _angular_core.Signal<string>;
253
+ /** The panel opened and took focus. */
254
+ readonly opened: _angular_core.OutputEmitterRef<void>;
255
+ /**
256
+ * The panel closed; `reason` says how. Not emitted for `detach`: the panel or its trigger is being destroyed, and
257
+ * outputs of a destroyed view must not fire (NG0953).
258
+ */
259
+ readonly closed: _angular_core.OutputEmitterRef<ɵSdQueryPanelCloseReason>;
260
+ /** Whether the panel is open. */
261
+ readonly isOpen: _angular_core.Signal<boolean>;
262
+ /** The trigger the panel is open for (kept until `closed` has been emitted). */
263
+ readonly origin: _angular_core.Signal<HTMLElement | undefined>;
264
+ /** @internal Triggers listen here, so an opening made through `open()` still reaches the trigger it uses. */
265
+ readonly ɵopening: Subject<HTMLElement>;
266
+ /** @internal */
267
+ readonly ɵclosing: Subject<{
268
+ origin: HTMLElement;
269
+ reason: ɵSdQueryPanelCloseReason;
270
+ }>;
271
+ constructor();
272
+ /** The panel's root element while open. */
273
+ element(): HTMLElement | undefined;
274
+ /** Opens the panel next to `origin`. Open for another trigger: closes for that one first (`switch`). */
275
+ open(origin: HTMLElement, options?: ɵSdQueryPanelOpenOptions): void;
276
+ /** Closes the panel. Focus returns to `returnFocusTo` or the trigger, except as described for each reason. */
277
+ close(reason?: ɵSdQueryPanelCloseReason): void;
278
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ɵSdQueryPanelDirective, never>;
279
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ɵSdQueryPanelDirective, "ng-template[sdQueryPanel]", ["sdQueryPanel"], { "role": { "alias": "sdQueryPanel"; "required": true; "isSignal": true; }; "align": { "alias": "sdQueryPanelAlign"; "required": false; "isSignal": true; }; "controls": { "alias": "sdQueryPanelControls"; "required": false; "isSignal": true; }; }, { "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
280
+ }
281
+
282
+ /**
283
+ * Popover-mode chip editor — the dialog panel that opens when a popover-mode chip is clicked (handoff section 4).
284
+ * Owns ALL operator+value staging signals and async option loading.
211
285
  *
212
286
  * why: tách khỏi `<sd-query-bar>` để parent chỉ giữ `editingIndex` (chip nào đang
213
287
  * mở) + nhận `(commit)` khi popover đóng. Mỗi lần parent gọi `seed(filter, field)`
214
288
  * trước khi mở chip popover, child reset staging signals + kích option loading.
215
289
  *
216
290
  * Public surface (template ref `#cp`):
217
- * - `cp.menu()` — the `<mat-menu>` to feed `[menu]` of `<sd-query-popover-chip>`
218
- * - `cp.seed(filter, field)` — parent reseeds staging before opening
219
- * - `(commit)` output — emitted on mat-menu close with staged Filter
220
- * - `(swapField)` output — emitted when the nested field switcher picks a new field
291
+ * - `cp.panel()` — the panel to feed `[panel]` of `<sd-query-popover-chip>`
292
+ * - `cp.seed(filter, field, index)` — parent reseeds staging before the panel renders
293
+ * - `(commit)` output — emitted when the panel closes (Esc, click outside, Tab out, close) with the staged Filter
221
294
  */
222
295
  declare class SdQueryChipPopover {
223
296
  #private;
224
- readonly swapFieldTooltip: _angular_core.Signal<string>;
225
297
  readonly fromPlaceholder: _angular_core.Signal<string>;
226
298
  readonly toPlaceholder: _angular_core.Signal<string>;
227
299
  readonly booleanTrueLabel: _angular_core.Signal<string>;
@@ -229,6 +301,7 @@ declare class SdQueryChipPopover {
229
301
  readonly selectValuePlaceholder: _angular_core.Signal<string>;
230
302
  readonly enterValuePlaceholder: _angular_core.Signal<string>;
231
303
  readonly loadingValuesLabel: _angular_core.Signal<string>;
304
+ readonly minOneLabel: _angular_core.Signal<string>;
232
305
  /** Resolved field of the currently editing chip — parent passes from `fieldByKey()`. */
233
306
  readonly field: _angular_core.InputSignal<SdQueryField | undefined>;
234
307
  /** The chip's current Filter — used by `seed()` for initial staging values. */
@@ -236,13 +309,9 @@ declare class SdQueryChipPopover {
236
309
  /** Optional chip index — embedded in the composed autoIds. */
237
310
  readonly chipIndex: _angular_core.InputSignal<number | null>;
238
311
  /** Prefix for `data-autoId` on inner controls. */
239
- readonly autoIdBase: _angular_core.InputSignal<string>;
240
- /** MatMenu for the field switcher — parent passes its `<sd-query-field-picker>` menu. */
241
- readonly switchPickerMenu: _angular_core.InputSignal<MatMenu | undefined>;
242
- /** Emitted when mat-menu closes — parent splices `next` into filters[idx]. */
312
+ readonly autoIdBase: _angular_core.InputSignal<string | undefined>;
313
+ /** Emitted when the panel closes — parent splices `next` into filters[idx]. */
243
314
  readonly commit: _angular_core.OutputEmitterRef<Filter>;
244
- /** Emitted when nested field-switcher picks a new field — parent calls changeFilterField. */
245
- readonly swapField: _angular_core.OutputEmitterRef<SdQueryField>;
246
315
  /** Staged operator. */
247
316
  readonly editingOperator: _angular_core.WritableSignal<Operator>;
248
317
  /** Staged value (shape depends on field type + operator). */
@@ -251,6 +320,13 @@ declare class SdQueryChipPopover {
251
320
  readonly editingOptions: _angular_core.WritableSignal<any[]>;
252
321
  /** Loading flag for async option fetch. */
253
322
  readonly editingOptionsLoading: _angular_core.WritableSignal<boolean>;
323
+ /** Field being edited: the one seeded last, else the `[field]` input. */
324
+ readonly currentField: _angular_core.Signal<SdQueryField | undefined>;
325
+ /** The field is required: no empty selection, no clear button (handoff B3). */
326
+ readonly required: _angular_core.Signal<boolean>;
327
+ /** "Choose at least one value." after a required multi-value chip was refused an empty selection. */
328
+ readonly minOneHint: _angular_core.WritableSignal<boolean>;
329
+ readonly hintId: string;
254
330
  readonly allowedOperators: _angular_core.Signal<Operator[]>;
255
331
  readonly showOperatorSelector: _angular_core.Signal<boolean>;
256
332
  /** Whether the staged operator is multi-select (IN/NOT_IN). */
@@ -260,12 +336,14 @@ declare class SdQueryChipPopover {
260
336
  /** Compose an autoId for an inner control (`<base>-chip<idx>-<role>`). */
261
337
  chipAutoId(role: string): string;
262
338
  readonly iconFor: typeof sdQueryFieldIcon;
263
- readonly menu: _angular_core.Signal<MatMenu | undefined>;
264
- /** Reseed staging from a new filter/field pair — call before opening the menu. */
265
- seed(filter: Filter | undefined, field: SdQueryField | undefined): void;
339
+ readonly panel: _angular_core.Signal<ɵSdQueryPanelDirective>;
340
+ /** Id of the field label in the header — the dialog's accessible name. */
341
+ readonly labelId: string;
342
+ /** Reseed staging from a new filter/field pair — call before the panel renders (`panelOpened`). */
343
+ seed(filter: Filter | undefined, field: SdQueryField | undefined, index?: number | null): void;
266
344
  /** Called on operator change in the popover header — reshapes value when family changes. */
267
345
  onEditingOperatorChange(next: Operator): void;
268
- /** Single-value input change. */
346
+ /** Value control change. A required multi-value chip keeps its values when the change would empty it (B3). */
269
347
  onEditingValueInput(value: unknown): void;
270
348
  /** BETWEEN range — mutate only `.from`. */
271
349
  onEditingRangeFrom(value: string | number | null): void;
@@ -275,20 +353,21 @@ declare class SdQueryChipPopover {
275
353
  toggleEditingMultiValue(value: unknown): void;
276
354
  isEditingMultiSelected(value: unknown): boolean;
277
355
  /**
278
- * mat-menu's (closed) handler — compose the next Filter from staging signals and
279
- * emit (commit). Parent splices into its filters[] and nulls editingIndex.
356
+ * The panel closed (Esc, click outside, Tab out, `closeMenu()`, another panel opened): compose the next Filter from
357
+ * staging signals and emit (commit). Parent splices into its filters[] and nulls editingIndex.
280
358
  */
281
- onMenuClosed(): void;
359
+ onMenuClosed(_reason?: ɵSdQueryPanelCloseReason): void;
282
360
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdQueryChipPopover, never>;
283
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdQueryChipPopover, "sd-query-chip-popover", never, { "field": { "alias": "field"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; "chipIndex": { "alias": "chipIndex"; "required": false; "isSignal": true; }; "autoIdBase": { "alias": "autoIdBase"; "required": false; "isSignal": true; }; "switchPickerMenu": { "alias": "switchPickerMenu"; "required": false; "isSignal": true; }; }, { "commit": "commit"; "swapField": "swapField"; }, never, never, true, never>;
361
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdQueryChipPopover, "sd-query-chip-popover", never, { "field": { "alias": "field"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; "chipIndex": { "alias": "chipIndex"; "required": false; "isSignal": true; }; "autoIdBase": { "alias": "autoIdBase"; "required": false; "isSignal": true; }; }, { "commit": "commit"; }, never, never, true, never>;
284
362
  }
285
363
 
286
364
  /**
287
- * Compact popover-mode chip face. Click → opens the parent-supplied [menu] (mat-menu
288
- * containing the chip editor). Inert div[role=button] so the nested <sd-operator>
289
- * doesn't end up as a button-in-button (invalid HTML).
365
+ * Compact popover-mode chip face. Click, Enter or Space → opens the parent-supplied [panel] (the chip popover dialog).
366
+ * Inert div[role=button] so the nested <sd-operator> doesn't end up as a button-in-button (invalid HTML).
367
+ * The × is a `<button>` beside that trigger, never inside it.
290
368
  */
291
369
  declare class SdQueryPopoverChip {
370
+ #private;
292
371
  /** Resolved field (from the bar's `fieldByKey()` map). `undefined` → render raw key. */
293
372
  readonly field: _angular_core.InputSignal<SdQueryField | undefined>;
294
373
  /** The chip's filter — used to read `field` / `operator` / `data` for display text. */
@@ -305,20 +384,26 @@ declare class SdQueryPopoverChip {
305
384
  readonly pinned: _angular_core.InputSignal<boolean>;
306
385
  /** Read-only chip — does not open its popover. */
307
386
  readonly disabled: _angular_core.InputSignal<boolean>;
387
+ /** Chip of a required field — `aria-required`. */
388
+ readonly required: _angular_core.InputSignal<boolean>;
308
389
  /** Required chip without a value — error look, `aria-invalid`. */
309
390
  readonly invalid: _angular_core.InputSignal<boolean>;
310
391
  /** Id set as `aria-describedby` (the host's required hint). */
311
392
  readonly describedBy: _angular_core.InputSignal<string | undefined>;
312
- /** Chip popover mat-menu instance supplied by the parent. */
313
- readonly menu: _angular_core.InputSignal<MatMenu>;
314
- /** Fired when the chip popover opens (parent seeds its editing state). */
393
+ /** Chip popover panel supplied by the parent. */
394
+ readonly panel: _angular_core.InputSignal<ɵSdQueryPanelDirective>;
395
+ /** Fired when the chip popover opens, before it renders (parent seeds its editing state). */
315
396
  readonly open: _angular_core.OutputEmitterRef<void>;
316
397
  /** Fired when the user clicks the × removal icon. */
317
398
  readonly remove: _angular_core.OutputEmitterRef<void>;
318
399
  readonly iconFor: typeof sdQueryFieldIcon;
400
+ /** `aria-label` of the × — names the field, in the current language. */
401
+ readonly removeLabel: _angular_core.Signal<string>;
319
402
  filterField(): string;
320
403
  filterOperator(): Operator;
321
404
  private readonly trigger;
405
+ /** The chip popover is open for this chip. */
406
+ isOpen(): boolean;
322
407
  /**
323
408
  * Opens the chip popover. With `returnFocusTo`, that element (e.g. the host control that asked
324
409
  * for the chip) gets focus back when the popover closes, instead of the chip.
@@ -326,7 +411,7 @@ declare class SdQueryPopoverChip {
326
411
  openMenu(returnFocusTo?: HTMLElement): void;
327
412
  closeMenu(): void;
328
413
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdQueryPopoverChip, never>;
329
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdQueryPopoverChip, "sd-query-popover-chip", never, { "field": { "alias": "field"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": true; "isSignal": true; }; "active": { "alias": "active"; "required": true; "isSignal": true; }; "showOperator": { "alias": "showOperator"; "required": false; "isSignal": true; }; "valueText": { "alias": "valueText"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "pinned": { "alias": "pinned"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "describedBy": { "alias": "describedBy"; "required": false; "isSignal": true; }; "menu": { "alias": "menu"; "required": true; "isSignal": true; }; }, { "open": "open"; "remove": "remove"; }, never, never, true, never>;
414
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdQueryPopoverChip, "sd-query-popover-chip", never, { "field": { "alias": "field"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": true; "isSignal": true; }; "active": { "alias": "active"; "required": true; "isSignal": true; }; "showOperator": { "alias": "showOperator"; "required": false; "isSignal": true; }; "valueText": { "alias": "valueText"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "pinned": { "alias": "pinned"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "describedBy": { "alias": "describedBy"; "required": false; "isSignal": true; }; "panel": { "alias": "panel"; "required": true; "isSignal": true; }; }, { "open": "open"; "remove": "remove"; }, never, never, true, never>;
330
415
  }
331
416
 
332
417
  type Density = 'compact' | 'comfortable';
@@ -359,7 +444,7 @@ declare class SdQueryBar {
359
444
  /**
360
445
  * Editing mode:
361
446
  * - `'popover'` (default) → compact chips; click a chip to edit operator + value in a
362
- * mat-menu popover, commit with "Áp dụng".
447
+ * popover panel; the value is committed when the popover closes.
363
448
  * - `'inline'` → GitLab-style. Each filter's operator + value controls render directly
364
449
  * on the bar (no popup, no per-filter apply). Edits update `filters` live; the user
365
450
  * presses the search button (or Enter) once to fire `(apply)`.
@@ -381,7 +466,12 @@ declare class SdQueryBar {
381
466
  * saving a filter captures live filters/logic/search.
382
467
  */
383
468
  readonly currentQuery: _angular_core.Signal<SdQuery<unknown>>;
384
- /** Receive an applied filter from the saved-filters menu — re-install bar state + trigger apply. */
469
+ /**
470
+ * Receive an applied filter from the saved-filters menu — re-install bar state + trigger apply (handoff B4). Entries of
471
+ * fields the bar no longer has, or of disabled fields, are dropped. A required or pinned field takes the saved chip
472
+ * only when it has a value; otherwise its current chip (operator included) stays. Required and pinned chips come
473
+ * first, in field order.
474
+ */
385
475
  onApplyFilter(saved: SdSavedFilter): void;
386
476
  /** Show AND/OR segmented toggle (renders only when there are ≥2 filters). */
387
477
  readonly showLogicToggle: _angular_core.InputSignalWithTransform<boolean, unknown>;
@@ -398,6 +488,12 @@ declare class SdQueryBar {
398
488
  readonly apply: _angular_core.OutputEmitterRef<SdQuery<unknown>>;
399
489
  /** Placeholder của ô tìm kiếm tự do bên trái; `option.searchPlaceholder` thắng i18n. */
400
490
  readonly searchPlaceholder: _angular_core.Signal<string>;
491
+ /** Tên của ô tìm cho trình đọc màn hình: `option.searchPlaceholder` nếu host đặt, không thì key `search`. */
492
+ readonly searchLabel: _angular_core.Signal<string>;
493
+ /** Nhãn nút xoá của ô tìm. */
494
+ readonly searchClearLabel: _angular_core.Signal<string>;
495
+ /** Nhãn và placeholder của ô Thêm điều kiện (mode inline). */
496
+ readonly addConditionLabel: _angular_core.Signal<string>;
401
497
  /** Chữ trên chip ghim đang rỗng. */
402
498
  readonly allLabel: _angular_core.Signal<string>;
403
499
  /** Chữ trên chip bắt buộc đang rỗng — "Tất cả" sai nghĩa khi field không cho phép bỏ trống. */
@@ -419,22 +515,34 @@ declare class SdQueryBar {
419
515
  readonly resolvedShowOperatorOnChip: _angular_core.Signal<boolean | "auto">;
420
516
  readonly resolvedApplyOn: _angular_core.Signal<"search" | "commit">;
421
517
  readonly resolvedAppearance: _angular_core.Signal<"default" | "flush">;
518
+ /**
519
+ * Clear-all is disabled when the host says so, or — with the built-in clearAll() — when no chip but required ones has a
520
+ * value: there is nothing left to clear (handoff B2).
521
+ */
422
522
  readonly resolvedClearDisabled: _angular_core.Signal<boolean>;
423
523
  readonly resolvedInvalidHintId: _angular_core.Signal<string | undefined>;
424
524
  constructor();
425
525
  readonly fieldByKey: _angular_core.Signal<Record<string, SdQueryField>>;
426
526
  /** Field keys already chained on a chip — the picker greys these out. */
427
527
  readonly usedFieldKeys: _angular_core.Signal<Set<string>>;
428
- /** Fields the user can add: pinned fields always have their chip, so the picker leaves them out. */
528
+ /** Fields the user can add: pinned and required fields always have their chip, so the picker leaves them out. */
429
529
  readonly pickerFields: _angular_core.Signal<SdQueryField[]>;
430
530
  /** "+" is disabled when nothing is left to add. */
431
531
  readonly addDisabled: _angular_core.Signal<boolean>;
432
532
  /** Required fields without a chip value. The host renders the explanation from this list. */
433
533
  readonly invalidFields: _angular_core.Signal<SdQueryField[]>;
434
- /** Chips holding a value — the number shown in the clear-all label. */
534
+ /**
535
+ * Chips holding a value that Clear would empty — the number shown in the clear-all label. Required chips keep their
536
+ * value on clear, so they are not counted (handoff B2).
537
+ */
435
538
  readonly activeCount: _angular_core.Signal<number>;
436
539
  /** Render the global AND/OR connector text between chips when `logic === 'OR'`. */
437
540
  readonly showOrConnector: _angular_core.Signal<boolean>;
541
+ /**
542
+ * "Save current filter" needs something to save: a chip with a value (required chips included — Bước 0, decision 2)
543
+ * or text in the search box.
544
+ */
545
+ readonly canSaveFilter: _angular_core.Signal<boolean>;
438
546
  /** Search button is actionable only when there is something to apply and no required field is empty. */
439
547
  readonly canSearch: _angular_core.Signal<boolean>;
440
548
  /** Index of the chip whose popover is open. Reset to null after commit / close. */
@@ -472,8 +580,13 @@ declare class SdQueryBar {
472
580
  chipValueText(filter: Filter): string;
473
581
  /** The field of a chip, or `undefined` for a key the bar does not know. */
474
582
  fieldOf(filter: Filter): SdQueryField | undefined;
475
- /** Pinned chips have no remove button and survive removeFilter / clearAll. */
583
+ /**
584
+ * Pinned and required chips have no remove button and survive removeFilter / clearAll; an empty one is never dropped
585
+ * (handoff B1: `required` implies `pinned`).
586
+ */
476
587
  isPinned(filter: Filter): boolean;
588
+ /** The field always has its chip on the bar: `pinned` or `required`. */
589
+ isLocked(field: SdQueryField | undefined): boolean;
477
590
  /** Empty chip of a required field. */
478
591
  isInvalid(filter: Filter): boolean;
479
592
  /** Text of an empty chip: "All" on a pinned chip, "Select a value" on a required one, nothing otherwise. */
@@ -513,6 +626,23 @@ declare class SdQueryBar {
513
626
  onBuildSeamlessCommit(value: unknown): void;
514
627
  /** Abandon the in-progress chip. */
515
628
  cancelBuild(): void;
629
+ /** The "Add condition" input (inline mode). */
630
+ private readonly addInput;
631
+ /** The field picker the box drives. */
632
+ private readonly addPicker;
633
+ /** Text typed in the box — filters the field list. */
634
+ readonly addQuery: _angular_core.WritableSignal<string>;
635
+ /** A field was picked in the field picker: inline builds a chip from it, popover adds a chip and opens it. */
636
+ onPick(field: SdQueryField): void;
637
+ /** Opens the field list under the box, keeping focus in the box (combobox). */
638
+ openAddList(): void;
639
+ /** Typing filters the list and opens it; the first enabled match is pointed at. */
640
+ onAddInput(text: string): void;
641
+ onAddKeydown(event: KeyboardEvent): void;
642
+ /** A click on the empty part of the chip area (inline mode) focuses the box and opens the list. */
643
+ onMainClick(event: MouseEvent): void;
644
+ /** Backspace / Delete on the chip the box pointed at removes it — never a required or pinned chip. */
645
+ onMainKeydown(event: KeyboardEvent): void;
516
646
  /**
517
647
  * Commit both ends of a BETWEEN range at once — called from `<sd-query-inline-chip>`'s
518
648
  * `(commitRange)` output when the user picks a date range.
@@ -531,17 +661,27 @@ declare class SdQueryBar {
531
661
  * closes, instead of the chip.
532
662
  */
533
663
  openField(key: string, returnFocusTo?: HTMLElement | null): void;
534
- /** Clear-all button: the host's `onClearAll` when given, else the built-in clearAll(). */
664
+ /**
665
+ * Clear-all button: the host's `onClearAll` when given, else the built-in clearAll(). With `applyOn: 'commit'` the
666
+ * built-in path applies once when it emptied a chip that had a value (R2 G-10).
667
+ */
535
668
  onClearClick(): void;
536
669
  /** Swap the field of an existing chip — reset operator + value to the new field's defaults. */
537
670
  changeFilterField(index: number, field: SdQueryField): void;
538
671
  updateFilter(index: number, patch: Partial<Filter>): void;
539
672
  updateFilterData(index: number, data: unknown): void;
540
673
  removeFilter(index: number): void;
541
- /** Empties the bar. Pinned chips stay, reset to their field's default operator and no value. */
674
+ /**
675
+ * Empties the bar (handoff B2). Required chips stay as they are (operator and value); pinned chips stay, reset to their
676
+ * field's default operator and no value; other chips go.
677
+ */
542
678
  clearAll(): void;
543
679
  setLogic(value: SdQueryLogic): void;
544
680
  setSearch(value: string): void;
681
+ /** Clear button of the search box: empties the text and applies once (handoff 7.2). */
682
+ clearSearch(): void;
683
+ /** Escape in the search box: like the clear button when there is text; nothing on an empty box. */
684
+ onSearchEscape(event: Event): void;
545
685
  /** Enter in the search box: applies the typed text too, unless a required field is still empty. */
546
686
  applySearch(): void;
547
687
  triggerApply(): void;
@@ -560,5 +700,31 @@ declare class SdQueryBar {
560
700
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdQueryBar, "sd-query-bar", never, { "option": { "alias": "option"; "required": false; "isSignal": true; }; "autoIdInput": { "alias": "autoId"; "required": false; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "logic": { "alias": "logic"; "required": false; "isSignal": true; }; "search": { "alias": "search"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "showSearch": { "alias": "showSearch"; "required": false; "isSignal": true; }; "showSavedFilters": { "alias": "showSavedFilters"; "required": false; "isSignal": true; }; "savedFiltersKey": { "alias": "savedFiltersKey"; "required": false; "isSignal": true; }; "showLogicToggle": { "alias": "showLogicToggle"; "required": false; "isSignal": true; }; "showClearAll": { "alias": "showClearAll"; "required": false; "isSignal": true; }; "showOperatorOnChip": { "alias": "showOperatorOnChip"; "required": false; "isSignal": true; }; }, { "filters": "filtersChange"; "logic": "logicChange"; "search": "searchChange"; "queryChange": "queryChange"; "apply": "apply"; }, never, ["[sdQueryBarEnd]"], true, never>;
561
701
  }
562
702
 
563
- export { SD_QUERY_DEFAULT_OPERATOR_BY_TYPE, SD_QUERY_MULTI_OPERATORS, SD_QUERY_NO_DATA_OPERATORS, SD_QUERY_OPERATORS_BY_TYPE, SD_QUERY_TYPE_ICON, SdQueryBar, sdQueryAllowedOperators, sdQueryDefaultOperator, sdQueryFieldIcon, sdQueryShowOperatorSelector };
564
- export type { BuildingChip, SdQuery, SdQueryBarOption, SdQueryField, SdQueryFieldBoolean, SdQueryFieldDate, SdQueryFieldLazyValues, SdQueryFieldNumber, SdQueryFieldString, SdQueryFieldType, SdQueryFieldValues, SdQueryLogic, SdSavedFilter };
703
+ /** What `ɵsdQueryChipValueText` needs from its host: translations, date formatting and the labels it knows. */
704
+ interface ɵSdQueryChipTextContext {
705
+ t: (key: string, params?: Record<string, string | number>) => string;
706
+ toFormat: (value: unknown, format: string) => string;
707
+ /** Options already loaded for the chip being edited (the popover's options). */
708
+ options?: readonly unknown[];
709
+ /** Labels of the field's values loaded by `ɵSdQueryChipLabels`. */
710
+ labels?: ReadonlyMap<unknown, string>;
711
+ }
712
+ /**
713
+ * Value text of a chip, shared by the query bar and the sd-table phone filters so both show the same string:
714
+ * one value → its label; several → `first +n`; a date range in one year → `01/10 – 31/10/2026`; one open end →
715
+ * `From x` / `To y`; `NULL` / `NOT_NULL` → empty.
716
+ */
717
+ declare const ɵsdQueryChipValueText: (filter: Filter, field: SdQueryField | undefined, context: ɵSdQueryChipTextContext) => string;
718
+ /**
719
+ * Labels of `values` / `lazy-values` chip values that are not in memory (restored from a cache, a URL or the
720
+ * table's filter): looked up once per field (`values` with an items function) or per field + value (`lazy-values`,
721
+ * through `views` or `search`). `get` reads a signal, so a view re-renders when a lookup lands.
722
+ */
723
+ declare class ɵSdQueryChipLabels {
724
+ #private;
725
+ get(key: string): ReadonlyMap<unknown, string> | undefined;
726
+ resolve(filter: Filter, field: SdQueryField | undefined): void;
727
+ }
728
+
729
+ export { SD_QUERY_DEFAULT_OPERATOR_BY_TYPE, SD_QUERY_MULTI_OPERATORS, SD_QUERY_NO_DATA_OPERATORS, SD_QUERY_OPERATORS_BY_TYPE, SD_QUERY_TYPE_ICON, SdQueryBar, sdQueryAllowedOperators, sdQueryDefaultOperator, sdQueryFieldIcon, sdQueryShowOperatorSelector, ɵSdQueryChipLabels, ɵsdQueryChipValueText };
730
+ export type { BuildingChip, SdQuery, SdQueryBarOption, SdQueryField, SdQueryFieldBoolean, SdQueryFieldDate, SdQueryFieldLazyValues, SdQueryFieldNumber, SdQueryFieldString, SdQueryFieldType, SdQueryFieldValues, SdQueryLogic, SdSavedFilter, ɵSdQueryChipTextContext };
@@ -1,4 +1,6 @@
1
1
  import * as _angular_core from '@angular/core';
2
+ import { SdButton } from '@sdcorejs/angular/components/button';
3
+ import { SdUnwrapSignal } from '@sdcorejs/angular/utilities/models';
2
4
 
3
5
  declare class SdQuickAction {
4
6
  /**
@@ -11,4 +13,66 @@ declare class SdQuickAction {
11
13
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdQuickAction, "sd-quick-action", never, { "opened": { "alias": "opened"; "required": false; "isSignal": true; }; "contained": { "alias": "contained"; "required": false; "isSignal": true; }; }, {}, never, ["[sdMessage]", "[sdAction]"], true, never>;
12
14
  }
13
15
 
14
- export { SdQuickAction };
16
+ /** Một lệnh trên thanh chọn nhiều: nút chạy thẳng, hoặc nút mở menu các lệnh con. */
17
+ type SdSelectionBarAction<T = any> = SdSelectionBarActionNormal<T> | SdSelectionBarActionChildren<T>;
18
+ interface SdSelectionBarActionNormal<T = any> {
19
+ variant: 'normal';
20
+ icon?: string;
21
+ fontSet?: SdUnwrapSignal<SdButton['fontSet']>;
22
+ tooltip?: SdUnwrapSignal<SdButton['tooltip']>;
23
+ title?: SdUnwrapSignal<SdButton['title']>;
24
+ color?: SdUnwrapSignal<SdButton['color']>;
25
+ type?: SdUnwrapSignal<SdButton['type']>;
26
+ click: (selectedItems?: T[]) => void;
27
+ }
28
+ interface SdSelectionBarActionChildren<T = any> {
29
+ variant: 'children';
30
+ icon?: string;
31
+ fontSet?: SdUnwrapSignal<SdButton['fontSet']>;
32
+ tooltip?: SdUnwrapSignal<SdButton['tooltip']>;
33
+ title?: SdUnwrapSignal<SdButton['title']>;
34
+ color?: SdUnwrapSignal<SdButton['color']>;
35
+ type?: SdUnwrapSignal<SdButton['type']>;
36
+ children: SdSelectionBarActionNormal<T>[];
37
+ }
38
+
39
+ /**
40
+ * Thanh chọn nhiều nằm trong khung, dùng chung cho `sd-table` và `sd-tree`. Nội bộ thư viện (export `ɵ`):
41
+ * consumer dùng `selector.actions` của bảng hoặc cây, không dùng trực tiếp component này.
42
+ *
43
+ * why: bảng và cây từng có hai thanh khác nhau (cây dùng `sd-quick-action` nổi, đè lên nội dung). Thanh này
44
+ * không biết gì về hàng của bảng hay nút của cây: chủ sở hữu đưa vào message và danh sách lệnh đã lọc, rồi tự
45
+ * chạy lệnh khi nhận `action`.
46
+ */
47
+ declare class SdSelectionBar {
48
+ #private;
49
+ readonly opened: _angular_core.InputSignalWithTransform<boolean, unknown>;
50
+ readonly message: _angular_core.InputSignal<string | null | undefined>;
51
+ readonly actions: _angular_core.InputSignal<readonly SdSelectionBarAction[] | null | undefined>;
52
+ /** Gốc autoId của chủ sở hữu (`components-table-<x>`, `components-tree-<x>`). Trống: không sinh autoId. */
53
+ readonly autoId: _angular_core.InputSignal<string | null | undefined>;
54
+ /** Phần giữa autoId của từng lệnh: `<autoId>-<prefix>-<index>`. */
55
+ readonly actionAutoIdPrefix: _angular_core.InputSignal<string>;
56
+ /** Người dùng chọn một lệnh (nút trực tiếp, mục trong "Thêm" hoặc lệnh con). */
57
+ readonly action: _angular_core.OutputEmitterRef<SdSelectionBarActionNormal<any>>;
58
+ readonly clear: _angular_core.OutputEmitterRef<void>;
59
+ /** Bề rộng của thanh nhỏ hơn 600px. */
60
+ readonly narrow: _angular_core.WritableSignal<boolean>;
61
+ readonly directActions: _angular_core.Signal<{
62
+ action: SdSelectionBarAction;
63
+ index: number;
64
+ }[]>;
65
+ readonly overflowActions: _angular_core.Signal<{
66
+ action: SdSelectionBarAction;
67
+ index: number;
68
+ }[]>;
69
+ readonly moreLabel: _angular_core.Signal<string>;
70
+ readonly clearLabel: _angular_core.Signal<string>;
71
+ constructor();
72
+ actionAutoId(index: number, child?: number): string | null;
73
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdSelectionBar, never>;
74
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdSelectionBar, "sd-selection-bar", never, { "opened": { "alias": "opened"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "autoId": { "alias": "autoId"; "required": false; "isSignal": true; }; "actionAutoIdPrefix": { "alias": "actionAutoIdPrefix"; "required": false; "isSignal": true; }; }, { "action": "action"; "clear": "clear"; }, never, never, true, never>;
75
+ }
76
+
77
+ export { SdQuickAction, SdSelectionBar as ɵSdSelectionBar };
78
+ export type { SdSelectionBarAction as ɵSdSelectionBarAction, SdSelectionBarActionChildren as ɵSdSelectionBarActionChildren, SdSelectionBarActionNormal as ɵSdSelectionBarActionNormal };