@sdcorejs/angular 22.3.5 → 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 (235) 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 +23 -7
  28. package/fesm2022/sdcorejs-angular-components-modal.mjs.map +1 -1
  29. package/fesm2022/sdcorejs-angular-components-query-bar.mjs +1362 -229
  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 +619 -108
  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-tree-select.mjs +1 -1
  62. package/fesm2022/sdcorejs-angular-forms-tree-select.mjs.map +1 -1
  63. package/fesm2022/sdcorejs-angular-i18n.mjs +622 -52
  64. package/fesm2022/sdcorejs-angular-i18n.mjs.map +1 -1
  65. package/fesm2022/{sdcorejs-angular-modules-generic-generic-configuration.page-SJIWI1dX.mjs → sdcorejs-angular-modules-generic-generic-configuration.page-j_thIw4L.mjs} +3 -3
  66. 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
  67. 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
  68. 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
  69. package/fesm2022/{sdcorejs-angular-modules-generic-generic-list.page-aGhowe9Y.mjs → sdcorejs-angular-modules-generic-generic-list.page-CkYR7Y-b.mjs} +3 -3
  70. 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
  71. 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
  72. 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
  73. package/fesm2022/sdcorejs-angular-modules-generic.mjs +1 -1
  74. package/fesm2022/sdcorejs-angular-modules-layout.mjs +7 -2
  75. package/fesm2022/sdcorejs-angular-modules-layout.mjs.map +1 -1
  76. package/fesm2022/{sdcorejs-angular-modules-pattern-base-api.service-C2o5xPVB.mjs → sdcorejs-angular-modules-pattern-base-api.service-vMdkWmw-.mjs} +2 -2
  77. package/fesm2022/{sdcorejs-angular-modules-pattern-base-api.service-C2o5xPVB.mjs.map → sdcorejs-angular-modules-pattern-base-api.service-vMdkWmw-.mjs.map} +1 -1
  78. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-RBvVv88D.mjs → sdcorejs-angular-modules-pattern-create.component--cdb_2ub.mjs} +11 -7
  79. package/fesm2022/sdcorejs-angular-modules-pattern-create.component--cdb_2ub.mjs.map +1 -0
  80. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-CxicczH7.mjs → sdcorejs-angular-modules-pattern-create.component-BmKRynOI.mjs} +2 -2
  81. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-CxicczH7.mjs.map → sdcorejs-angular-modules-pattern-create.component-BmKRynOI.mjs.map} +1 -1
  82. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-D3MzNJ3F.mjs → sdcorejs-angular-modules-pattern-create.component-DoilYt0j.mjs} +2 -2
  83. package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-D3MzNJ3F.mjs.map → sdcorejs-angular-modules-pattern-create.component-DoilYt0j.mjs.map} +1 -1
  84. package/fesm2022/{sdcorejs-angular-modules-pattern-customer.service-3hWkJClX.mjs → sdcorejs-angular-modules-pattern-customer.service-DpPC-tV2.mjs} +2 -2
  85. package/fesm2022/{sdcorejs-angular-modules-pattern-customer.service-3hWkJClX.mjs.map → sdcorejs-angular-modules-pattern-customer.service-DpPC-tV2.mjs.map} +1 -1
  86. package/fesm2022/{sdcorejs-angular-modules-pattern-detail.component-CcpYULut.mjs → sdcorejs-angular-modules-pattern-detail.component-Bh_rvQnq.mjs} +61 -55
  87. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-Bh_rvQnq.mjs.map +1 -0
  88. package/fesm2022/{sdcorejs-angular-modules-pattern-detail.component-CEhbU12j.mjs → sdcorejs-angular-modules-pattern-detail.component-Dk1bomUT.mjs} +2 -2
  89. package/fesm2022/{sdcorejs-angular-modules-pattern-detail.component-CEhbU12j.mjs.map → sdcorejs-angular-modules-pattern-detail.component-Dk1bomUT.mjs.map} +1 -1
  90. package/fesm2022/{sdcorejs-angular-modules-pattern-flow.component-G5lHfG81.mjs → sdcorejs-angular-modules-pattern-flow.component-BarNCjsh.mjs} +3 -3
  91. package/fesm2022/{sdcorejs-angular-modules-pattern-flow.component-G5lHfG81.mjs.map → sdcorejs-angular-modules-pattern-flow.component-BarNCjsh.mjs.map} +1 -1
  92. package/fesm2022/{sdcorejs-angular-modules-pattern-index.component-CosbQK0W.mjs → sdcorejs-angular-modules-pattern-index.component--rIi-QIQ.mjs} +2 -2
  93. package/fesm2022/{sdcorejs-angular-modules-pattern-index.component-CosbQK0W.mjs.map → sdcorejs-angular-modules-pattern-index.component--rIi-QIQ.mjs.map} +1 -1
  94. 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
  95. 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
  96. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-2AZxTu9a.mjs +522 -0
  97. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-2AZxTu9a.mjs.map +1 -0
  98. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CDM4V05g.mjs +520 -0
  99. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CDM4V05g.mjs.map +1 -0
  100. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-C_pVqRcC.mjs → sdcorejs-angular-modules-pattern-list.component-DS9DROp-.mjs} +3 -3
  101. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-C_pVqRcC.mjs.map → sdcorejs-angular-modules-pattern-list.component-DS9DROp-.mjs.map} +1 -1
  102. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-CNVqk3JC.mjs → sdcorejs-angular-modules-pattern-list.component-DbF9z3da.mjs} +30 -39
  103. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DbF9z3da.mjs.map +1 -0
  104. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-EaNDEtCn.mjs → sdcorejs-angular-modules-pattern-list.component-DlF3i6ai.mjs} +3 -3
  105. package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-EaNDEtCn.mjs.map → sdcorejs-angular-modules-pattern-list.component-DlF3i6ai.mjs.map} +1 -1
  106. package/fesm2022/{sdcorejs-angular-modules-pattern-mock-backend.factory-CFljqhjv.mjs → sdcorejs-angular-modules-pattern-mock-backend.factory-BpECki9p.mjs} +2 -2
  107. package/fesm2022/{sdcorejs-angular-modules-pattern-mock-backend.factory-CFljqhjv.mjs.map → sdcorejs-angular-modules-pattern-mock-backend.factory-BpECki9p.mjs.map} +1 -1
  108. package/fesm2022/{sdcorejs-angular-modules-pattern-pattern-source-viewer-BqHwKfoc.mjs → sdcorejs-angular-modules-pattern-pattern-source-viewer-DuhyXsGn.mjs} +4 -22
  109. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source-viewer-DuhyXsGn.mjs.map +1 -0
  110. package/fesm2022/{sdcorejs-angular-modules-pattern-pattern-source.generated-CIiLOizq.mjs → sdcorejs-angular-modules-pattern-pattern-source.generated-bfpj85ke.mjs} +26 -27
  111. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source.generated-bfpj85ke.mjs.map +1 -0
  112. package/fesm2022/{sdcorejs-angular-modules-pattern-product.service-DitXmlr1.mjs → sdcorejs-angular-modules-pattern-product.service-DEAQ4oro.mjs} +2 -2
  113. package/fesm2022/{sdcorejs-angular-modules-pattern-product.service-DitXmlr1.mjs.map → sdcorejs-angular-modules-pattern-product.service-DEAQ4oro.mjs.map} +1 -1
  114. package/fesm2022/{sdcorejs-angular-modules-pattern-profile.component-Dxw7Ix9d.mjs → sdcorejs-angular-modules-pattern-profile.component-D-dJk5vb.mjs} +27 -14
  115. package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-D-dJk5vb.mjs.map +1 -0
  116. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-BxXgJVsW.mjs → sdcorejs-angular-modules-pattern-routes-Brr61WQo.mjs} +4 -4
  117. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-BxXgJVsW.mjs.map → sdcorejs-angular-modules-pattern-routes-Brr61WQo.mjs.map} +1 -1
  118. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-CWixJ2If.mjs → sdcorejs-angular-modules-pattern-routes-CPVcXcfq.mjs} +3 -3
  119. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-CWixJ2If.mjs.map → sdcorejs-angular-modules-pattern-routes-CPVcXcfq.mjs.map} +1 -1
  120. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-w4VY9P_H.mjs → sdcorejs-angular-modules-pattern-routes-CWCtuZ4z.mjs} +8 -8
  121. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-w4VY9P_H.mjs.map → sdcorejs-angular-modules-pattern-routes-CWCtuZ4z.mjs.map} +1 -1
  122. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-BOiWZHqg.mjs → sdcorejs-angular-modules-pattern-routes-CfXmYmCp.mjs} +3 -3
  123. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-BOiWZHqg.mjs.map → sdcorejs-angular-modules-pattern-routes-CfXmYmCp.mjs.map} +1 -1
  124. package/fesm2022/sdcorejs-angular-modules-pattern-routes-CuDWVZ4I.mjs +56 -0
  125. package/fesm2022/sdcorejs-angular-modules-pattern-routes-CuDWVZ4I.mjs.map +1 -0
  126. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-CJ-RAMa5.mjs → sdcorejs-angular-modules-pattern-routes-D8W_NHEH.mjs} +5 -5
  127. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-CJ-RAMa5.mjs.map → sdcorejs-angular-modules-pattern-routes-D8W_NHEH.mjs.map} +1 -1
  128. package/fesm2022/sdcorejs-angular-modules-pattern-routes-Db0ceW1C.mjs +66 -0
  129. package/fesm2022/sdcorejs-angular-modules-pattern-routes-Db0ceW1C.mjs.map +1 -0
  130. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-C43Q4Wtq.mjs → sdcorejs-angular-modules-pattern-routes-DdmOGRpF.mjs} +3 -3
  131. package/fesm2022/{sdcorejs-angular-modules-pattern-routes-C43Q4Wtq.mjs.map → sdcorejs-angular-modules-pattern-routes-DdmOGRpF.mjs.map} +1 -1
  132. package/fesm2022/{sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-BQCWgQsr.mjs → sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-JWx3RaLo.mjs} +12 -12
  133. 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
  134. package/fesm2022/{sdcorejs-angular-modules-pattern-shell.component-BOjJteMd.mjs → sdcorejs-angular-modules-pattern-shell.component-DMJpUhpn.mjs} +4 -4
  135. package/fesm2022/{sdcorejs-angular-modules-pattern-shell.component-BOjJteMd.mjs.map → sdcorejs-angular-modules-pattern-shell.component-DMJpUhpn.mjs.map} +1 -1
  136. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-BHDd7D8y.mjs +498 -0
  137. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-BHDd7D8y.mjs.map +1 -0
  138. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-lGwicZKW.mjs → sdcorejs-angular-modules-pattern-update.component-Bx2zgc86.mjs} +2 -2
  139. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-lGwicZKW.mjs.map → sdcorejs-angular-modules-pattern-update.component-Bx2zgc86.mjs.map} +1 -1
  140. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-CS3jlV-R.mjs → sdcorejs-angular-modules-pattern-update.component-Cb29tp1H.mjs} +2 -2
  141. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-CS3jlV-R.mjs.map → sdcorejs-angular-modules-pattern-update.component-Cb29tp1H.mjs.map} +1 -1
  142. package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-CUgQPcR4.mjs → sdcorejs-angular-modules-pattern-update.component-e5BaHrDk.mjs} +9 -6
  143. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-e5BaHrDk.mjs.map +1 -0
  144. package/fesm2022/sdcorejs-angular-modules-pattern.mjs +1 -1
  145. package/fesm2022/sdcorejs-angular-services-confirm.mjs +171 -158
  146. package/fesm2022/sdcorejs-angular-services-confirm.mjs.map +1 -1
  147. package/fesm2022/sdcorejs-angular-services-query-params.mjs +227 -0
  148. package/fesm2022/sdcorejs-angular-services-query-params.mjs.map +1 -0
  149. package/fesm2022/sdcorejs-angular-utilities-extensions.mjs +24 -1
  150. package/fesm2022/sdcorejs-angular-utilities-extensions.mjs.map +1 -1
  151. package/modules/pattern/README.md +5 -4
  152. package/modules/pattern/docs/detail.md +18 -9
  153. package/modules/pattern/docs/drawer.md +185 -83
  154. package/modules/pattern/docs/header-actions.md +1 -1
  155. package/modules/pattern/docs/list.md +3 -3
  156. package/modules/pattern/docs/states.md +1 -1
  157. package/modules/pattern/features/category/components/create-side-drawer/create-side-drawer.component.ts +12 -16
  158. package/modules/pattern/features/category/components/update-side-drawer/update-side-drawer.component.ts +58 -29
  159. package/modules/pattern/features/category/pages/list/list.component.html +11 -3
  160. package/modules/pattern/features/category/pages/list/list.component.ts +36 -10
  161. package/modules/pattern/features/category/routes.ts +5 -22
  162. package/modules/pattern/features/customer/components/create-side-drawer/create-side-drawer.component.ts +7 -11
  163. package/modules/pattern/features/customer/components/detail-side-drawer/detail-side-drawer.component.ts +70 -27
  164. package/modules/pattern/features/customer/components/summary-cards/summary-cards.component.ts +9 -53
  165. package/modules/pattern/features/customer/components/update-side-drawer/update-side-drawer.component.ts +53 -19
  166. package/modules/pattern/features/customer/entity.resolver.ts +1 -1
  167. package/modules/pattern/features/customer/pages/list/list.component.html +18 -3
  168. package/modules/pattern/features/customer/pages/list/list.component.ts +43 -16
  169. package/modules/pattern/features/customer/pages/profile/profile.component.ts +17 -8
  170. package/modules/pattern/features/customer/routes.ts +6 -27
  171. package/modules/pattern/features/order/components/approval-steps/approval-steps.component.ts +37 -56
  172. package/modules/pattern/features/order/components/summary-cards/summary-cards.component.ts +14 -76
  173. package/modules/pattern/features/order/pages/create/create.component.ts +7 -3
  174. package/modules/pattern/features/order/pages/detail/detail.component.ts +1 -1
  175. package/modules/pattern/features/order/pages/update/update.component.ts +5 -2
  176. package/package.json +17 -5
  177. package/types/sdcorejs-angular-components-anchor.d.ts +6 -1
  178. package/types/sdcorejs-angular-components-button.d.ts +7 -1
  179. package/types/sdcorejs-angular-components-calendar.d.ts +1092 -0
  180. package/types/sdcorejs-angular-components-card.d.ts +247 -9
  181. package/types/sdcorejs-angular-components-kanban.d.ts +191 -74
  182. package/types/sdcorejs-angular-components-modal.d.ts +10 -1
  183. package/types/sdcorejs-angular-components-query-bar.d.ts +176 -36
  184. package/types/sdcorejs-angular-components-quick-action.d.ts +65 -1
  185. package/types/sdcorejs-angular-components-scheduler.d.ts +544 -0
  186. package/types/sdcorejs-angular-components-tab.d.ts +6 -1
  187. package/types/sdcorejs-angular-components-table.d.ts +56 -7
  188. package/types/sdcorejs-angular-components-timeline.d.ts +216 -0
  189. package/types/sdcorejs-angular-components-tree.d.ts +119 -6
  190. package/types/sdcorejs-angular-components.d.ts +3 -1
  191. package/types/sdcorejs-angular-directives.d.ts +4 -2
  192. package/types/sdcorejs-angular-forms-date.d.ts +2 -0
  193. package/types/sdcorejs-angular-forms-directives.d.ts +1 -1
  194. package/types/sdcorejs-angular-i18n.d.ts +121 -9
  195. package/types/sdcorejs-angular-modules-layout.d.ts +2 -1
  196. package/types/sdcorejs-angular-services-confirm.d.ts +22 -81
  197. package/types/sdcorejs-angular-services-query-params.d.ts +67 -0
  198. package/types/sdcorejs-angular-utilities-extensions.d.ts +10 -1
  199. package/fesm2022/sdcorejs-angular-components-history.mjs +0 -54
  200. package/fesm2022/sdcorejs-angular-components-history.mjs.map +0 -1
  201. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-CRc9T7rb.mjs +0 -146
  202. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-CRc9T7rb.mjs.map +0 -1
  203. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-Cz-MjRG0.mjs +0 -148
  204. package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-Cz-MjRG0.mjs.map +0 -1
  205. package/fesm2022/sdcorejs-angular-modules-pattern-create.component-RBvVv88D.mjs.map +0 -1
  206. package/fesm2022/sdcorejs-angular-modules-pattern-customer.model-C3fr4yNw.mjs +0 -18
  207. package/fesm2022/sdcorejs-angular-modules-pattern-customer.model-C3fr4yNw.mjs.map +0 -1
  208. package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-DzDAX3B7.mjs +0 -152
  209. package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-DzDAX3B7.mjs.map +0 -1
  210. package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-CcpYULut.mjs.map +0 -1
  211. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-D8-WXUAE.mjs +0 -92
  212. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-D8-WXUAE.mjs.map +0 -1
  213. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-DHTxzjRN.mjs +0 -242
  214. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-DHTxzjRN.mjs.map +0 -1
  215. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-view.component-CTgHdGeQ.mjs +0 -72
  216. package/fesm2022/sdcorejs-angular-modules-pattern-general-information-view.component-CTgHdGeQ.mjs.map +0 -1
  217. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-BjehcQEk.mjs +0 -172
  218. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-BjehcQEk.mjs.map +0 -1
  219. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CNVqk3JC.mjs.map +0 -1
  220. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-jB3E20UF.mjs +0 -120
  221. package/fesm2022/sdcorejs-angular-modules-pattern-list.component-jB3E20UF.mjs.map +0 -1
  222. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source-viewer-BqHwKfoc.mjs.map +0 -1
  223. package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source.generated-CIiLOizq.mjs.map +0 -1
  224. package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-Dxw7Ix9d.mjs.map +0 -1
  225. package/fesm2022/sdcorejs-angular-modules-pattern-routes-BWZxOMhB.mjs +0 -74
  226. package/fesm2022/sdcorejs-angular-modules-pattern-routes-BWZxOMhB.mjs.map +0 -1
  227. package/fesm2022/sdcorejs-angular-modules-pattern-routes-CophQH_L.mjs +0 -100
  228. package/fesm2022/sdcorejs-angular-modules-pattern-routes-CophQH_L.mjs.map +0 -1
  229. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-BT2PzXTG.mjs +0 -135
  230. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-BT2PzXTG.mjs.map +0 -1
  231. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-qmGn2tCI.mjs +0 -146
  232. package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-qmGn2tCI.mjs.map +0 -1
  233. package/fesm2022/sdcorejs-angular-modules-pattern-update.component-CUgQPcR4.mjs.map +0 -1
  234. package/modules/pattern/features/category/entity.resolver.ts +0 -27
  235. package/types/sdcorejs-angular-components-history.d.ts +0 -23
@@ -0,0 +1,1092 @@
1
+ import * as _sdcorejs_angular_components_calendar from '@sdcorejs/angular/components/calendar';
2
+ import * as _sdcorejs_angular_types_sdcorejs_angular_forms_time_range from '@sdcorejs/angular/types/sdcorejs-angular-forms-time-range';
3
+ import * as _angular_core from '@angular/core';
4
+ import { Injector, TemplateRef, InjectionToken, ElementRef, NgZone } from '@angular/core';
5
+ import { Point, DragRef, CdkDragStart, CdkDragEnd } from '@angular/cdk/drag-drop';
6
+ import { SdTemporalValueTransform } from '@sdcorejs/angular/forms/models';
7
+ import { SdTimeRangeValue } from '@sdcorejs/angular/forms/time-range';
8
+ import { Color } from '@sdcorejs/utils/models';
9
+
10
+ /** Layout of `sd-calendar`. */
11
+ type SdCalendarView = 'month' | 'week' | 'day' | 'agenda';
12
+ /** A date value read through `SdDateTimeService`: a `Date`, epoch milliseconds or a string. */
13
+ type SdCalendarDateInput = Date | string | number;
14
+ /** What started a move: dragging the block, dragging its bottom edge, `Alt` + arrow keys, or `move()`. */
15
+ type SdCalendarMoveSource = 'drag' | 'resize' | 'keyboard' | 'api';
16
+ /** Which occurrences of a recurring event a move applies to. */
17
+ type SdCalendarMoveScope = 'this' | 'following' | 'all';
18
+ /** Static flag or predicate of a context. Evaluated while rendering and again right before the action runs. */
19
+ type SdCalendarState<C> = boolean | ((context: C) => boolean);
20
+ /** One event shown by the calendar. Map your DTO into this shape inside `dataSource.onLoad`. */
21
+ interface SdCalendarEvent<T = unknown> {
22
+ /** Unique within the result of one `onLoad`. Every occurrence of a recurring event has its own id. */
23
+ id: string;
24
+ /** Not empty; the name read by screen readers. */
25
+ title: string;
26
+ start: SdCalendarDateInput;
27
+ /** Timed: the exclusive end instant. All-day: the last day, inclusive; omitted means one day. */
28
+ end?: SdCalendarDateInput | null;
29
+ /** Defaults to `false`. */
30
+ allDay?: boolean;
31
+ /** A `Color` or any CSS colour. Defaults to `'primary'`. */
32
+ color?: Color | string;
33
+ /** Set when the event is one occurrence of a series already expanded by the server or the consumer. */
34
+ occurrence?: SdCalendarOccurrence | null;
35
+ /** Caller-owned DTO, kept by reference and never serialized. */
36
+ data?: T;
37
+ }
38
+ /** Marks an event as one occurrence of a recurring series. */
39
+ interface SdCalendarOccurrence {
40
+ readonly seriesId: string;
41
+ /** Start of this occurrence by the rule, before any exception. */
42
+ readonly originalStart: SdCalendarDateInput;
43
+ }
44
+ /** A time span in the form the calendar emits (see "Date values" in `sd-calendar.md`). */
45
+ interface SdCalendarRange {
46
+ readonly start: string;
47
+ readonly end: string;
48
+ readonly allDay: boolean;
49
+ }
50
+ /** Days on screen, both ends included. Same shape as `SdDateRangeValue`, plus the view. */
51
+ interface SdCalendarVisibleRange {
52
+ /** `'yyyy/MM/dd'`. */
53
+ readonly from: string;
54
+ /** `'yyyy/MM/dd'`. */
55
+ readonly to: string;
56
+ readonly view: SdCalendarView;
57
+ }
58
+ /** Arguments of `dataSource.onLoad`. */
59
+ interface SdCalendarLoadArgs extends SdCalendarVisibleRange {
60
+ /** Aborted when the range changes, on `reload()`, when `option` changes or when the calendar is destroyed. */
61
+ readonly signal: AbortSignal;
62
+ }
63
+ /** Arguments of `create.onCreate`: the span the user picked. */
64
+ interface SdCalendarCreateArgs extends SdCalendarRange {
65
+ /** Aborted when `option` changes or the calendar is destroyed. */
66
+ readonly signal: AbortSignal;
67
+ }
68
+ /** Proposal passed to `move.onMove`. Nothing changes on screen until it is accepted. */
69
+ interface SdCalendarMoveRequest<T = unknown> {
70
+ readonly event: SdCalendarEvent<T>;
71
+ readonly from: SdCalendarRange;
72
+ readonly to: SdCalendarRange;
73
+ readonly source: SdCalendarMoveSource;
74
+ /** `null` when the event is not an occurrence of a recurring series. */
75
+ readonly scope: SdCalendarMoveScope | null;
76
+ /**
77
+ * Aborted when the range changes, on `reload()`, when `option` changes, when `disabled` or `readonly` turns on, or
78
+ * when the calendar is destroyed. Cooperative: it does not undo a backend change that already happened.
79
+ */
80
+ readonly signal: AbortSignal;
81
+ }
82
+ /** Payload of `sdMoveError`. A `'cancel'` result emits nothing. */
83
+ interface SdCalendarMoveError<T = unknown> {
84
+ readonly request: SdCalendarMoveRequest<T>;
85
+ readonly reason: 'rejected' | 'error';
86
+ readonly error?: unknown;
87
+ }
88
+ /** A public holiday or a named day. */
89
+ interface SdCalendarHoliday {
90
+ readonly date: SdCalendarDateInput;
91
+ readonly label: string;
92
+ /** `off`: a day off, the whole column is shaded and the label uses the error colour. `observance`: the name only. */
93
+ readonly type: 'off' | 'observance';
94
+ }
95
+ /** Keys 0–6, 0 is Sunday. A weekday without a key, or with an empty list, is a day off. */
96
+ type SdCalendarWorkingHours = Partial<Record<0 | 1 | 2 | 3 | 4 | 5 | 6, readonly SdTimeRangeValue[]>>;
97
+ /** Configuration of `<sd-calendar>`: the data source and the capabilities it switches on. */
98
+ interface SdCalendarOption<T = unknown> {
99
+ /** Required. */
100
+ dataSource: {
101
+ /**
102
+ * Returns the events of the visible range. Called on init, whenever the range changes and on `reload()`.
103
+ * Client data: return the whole array, the calendar keeps what falls in the range. Server data: query by
104
+ * `from`/`to` and pass `signal` on. Throw or reject to show the load error with a retry button.
105
+ */
106
+ onLoad: (args: SdCalendarLoadArgs) => readonly SdCalendarEvent<T>[] | Promise<readonly SdCalendarEvent<T>[]>;
107
+ };
108
+ /** Turns on creating by click, sweep, tap and `Enter`. */
109
+ create?: {
110
+ /** Defaults to `true`. The context is the span about to be created. */
111
+ creatable?: SdCalendarState<SdCalendarRange>;
112
+ /**
113
+ * Opens your form. Return the created event to insert it right away; return nothing when the user cancels.
114
+ * Throw or reject to show the failure band. The dashed block stays while this runs.
115
+ */
116
+ onCreate: (args: SdCalendarCreateArgs) => SdCalendarEvent<T> | void | Promise<SdCalendarEvent<T> | void>;
117
+ };
118
+ /** Turns on dragging, resizing the end and `Alt` + arrow keys. */
119
+ move?: {
120
+ /** Defaults to `true`. `false`, or a predicate returning `false`, removes the handle and locks the event. */
121
+ movable?: SdCalendarState<SdCalendarEvent<T>>;
122
+ /**
123
+ * `true` or nothing: accepted. `false`: rejected. `'cancel'`: the user cancelled inside your flow (for example
124
+ * closed a reason dialog); the block goes back without an error. Throw or reject: error.
125
+ */
126
+ onMove: (request: SdCalendarMoveRequest<T>) => boolean | 'cancel' | void | Promise<boolean | 'cancel' | void>;
127
+ };
128
+ }
129
+
130
+ /** What one `onMove` call ended with. `aborted`: the request was cancelled before or after it answered (SC-15). */
131
+ type SdCalendarMoveOutcome = {
132
+ readonly kind: 'accepted';
133
+ } | {
134
+ readonly kind: 'rejected';
135
+ } | {
136
+ readonly kind: 'cancelled';
137
+ } | {
138
+ readonly kind: 'error';
139
+ readonly error: unknown;
140
+ } | {
141
+ readonly kind: 'aborted';
142
+ };
143
+ /** Evaluates a capability flag; an omitted flag allows (SC-05, SC-06). */
144
+ declare function sdCalendarAllows<C>(state: SdCalendarState<C> | undefined, context: C): boolean;
145
+ /**
146
+ * Calls `onMove` and classifies its answer (SC-09 … SC-13): `true` or nothing accepts, `false` rejects, `'cancel'`
147
+ * cancels, a throw or a rejection is an error. Any answer that arrives after `request.signal` was aborted is `aborted`.
148
+ */
149
+ declare function sdCalendarCallMove<R extends {
150
+ readonly signal: AbortSignal;
151
+ }>(onMove: (request: R) => boolean | 'cancel' | void | Promise<boolean | 'cancel' | void>, request: R): Promise<SdCalendarMoveOutcome>;
152
+ /** One waiting create or move per component (SC-14): a second `begin` is refused until the first one ends. */
153
+ declare class SdCalendarOperation<K extends string> {
154
+ #private;
155
+ /** Kind of the waiting operation, or `null`. */
156
+ readonly kind: _angular_core.Signal<K | null>;
157
+ readonly busy: _angular_core.Signal<boolean>;
158
+ /** Starts an operation and returns its signal, or `null` while another one waits. */
159
+ begin(kind: K): AbortSignal | null;
160
+ /** Ends the operation of `signal`; a stale signal is ignored. */
161
+ end(signal: AbortSignal): void;
162
+ /** Aborts the waiting operation when its kind is one of `kinds` (all kinds when omitted). Returns whether it did. */
163
+ abort(kinds?: readonly K[]): boolean;
164
+ }
165
+ /** One move handed to `SdCalendarMoveRunner`: what is specific to the component (calendar.md §9.5, scheduler.md §9.5). */
166
+ interface SdCalendarMovePlan<R extends {
167
+ readonly signal: AbortSignal;
168
+ }> {
169
+ readonly id: string;
170
+ readonly title: string;
171
+ /** An occurrence of a series: the scope bar asks first, unless the move comes from `move()` (§9.6). */
172
+ readonly recurring: boolean;
173
+ readonly source: SdCalendarMoveSource;
174
+ /**
175
+ * Started from the keyboard: the focus goes back to the item afterwards (SC-29). Any other source does the same when
176
+ * the item held the focus at the start (review RX #6, as sd-kanban); a focus elsewhere stays there (SC-31).
177
+ */
178
+ readonly keyboard: boolean;
179
+ /** The capability flags, evaluated again right before `onMove` (SC-06); `false` stops without a callback. */
180
+ readonly allowed: () => boolean;
181
+ readonly request: (scope: SdCalendarMoveScope | null, signal: AbortSignal) => R;
182
+ readonly onMove: (request: R) => boolean | 'cancel' | void | Promise<boolean | 'cancel' | void>;
183
+ /** Draws the item at its target: `false` while the scope bar asks, `true` while `onMove` runs, `null` clears. */
184
+ readonly show: (saving: boolean | null) => void;
185
+ /** `onMove` accepted: change the data and emit the move output. Returns the text for the live region. */
186
+ readonly accept: (request: R) => string;
187
+ /** `onMove` rejected or failed: emit the error output. */
188
+ readonly fail: (request: R, outcome: {
189
+ readonly kind: 'rejected';
190
+ } | {
191
+ readonly kind: 'error';
192
+ readonly error: unknown;
193
+ }) => void;
194
+ }
195
+ /** What `SdCalendarMoveRunner` needs from its component. */
196
+ interface SdCalendarMoveHost {
197
+ readonly operation: SdCalendarOperation<'create' | 'move'>;
198
+ readonly announcer: SdCalendarAnnouncer;
199
+ readonly focus: SdCalendarFocusKeeper;
200
+ readonly t: (key: string, params?: Record<string, string | number>) => string;
201
+ /** Opens the scope bar and resolves with the answer; `null` is Cancel, also when `signal` (the move's) aborts. */
202
+ readonly ask: (title: string, signal: AbortSignal) => Promise<SdCalendarMoveScope | null>;
203
+ /** Shows the failure band of an item, or clears it with `null`. */
204
+ readonly band: (failure: {
205
+ readonly id: string;
206
+ readonly message: string;
207
+ } | null) => void;
208
+ readonly reload: () => void;
209
+ }
210
+ /**
211
+ * The move pipeline after the component's own checks (calendar.md §9.5 steps 4–6): one waiting operation (SC-14), the
212
+ * scope bar of an occurrence, the flags once more (SC-06), `onMove` and its five results (SC-09 … SC-13), focus
213
+ * (SC-29, SC-30) and the live region. Shared by sd-calendar and sd-scheduler.
214
+ */
215
+ declare class SdCalendarMoveRunner {
216
+ #private;
217
+ private readonly host;
218
+ constructor(host: SdCalendarMoveHost);
219
+ run<R extends {
220
+ readonly signal: AbortSignal;
221
+ }>(plan: SdCalendarMovePlan<R>): Promise<boolean>;
222
+ }
223
+ /** One create handed to `SdCalendarCreateRunner`: the span the user picked and what to do with the answer. */
224
+ interface SdCalendarCreatePlan<A extends object, E> {
225
+ /** Arguments of `onCreate` without `signal`. */
226
+ readonly args: A;
227
+ readonly onCreate: (args: A & {
228
+ readonly signal: AbortSignal;
229
+ }) => E | void | Promise<E | void>;
230
+ /** Draws the dashed block as waiting (`true`) or removes it (`false`). */
231
+ readonly show: (waiting: boolean) => void;
232
+ /** `onCreate` returned an item: insert and select it. */
233
+ readonly accept: (created: E) => void;
234
+ }
235
+ /** What `SdCalendarCreateRunner` needs from its component. */
236
+ interface SdCalendarCreateHost {
237
+ readonly operation: SdCalendarOperation<'create' | 'move'>;
238
+ readonly announcer: SdCalendarAnnouncer;
239
+ readonly t: (key: string, params?: Record<string, string | number>) => string;
240
+ /** Shows the create failure band (`id: null`), or clears the band with `null`. */
241
+ readonly band: (failure: {
242
+ readonly id: null;
243
+ readonly message: string;
244
+ } | null) => void;
245
+ }
246
+ /**
247
+ * The create pipeline after the component's own checks (calendar.md §9.2, SC-14, SC-19 … SC-21): one waiting
248
+ * operation, the waiting dashed block, `onCreate`, the error band without the error text, and the late answer of an
249
+ * aborted create dropped (SC-15). Shared by sd-calendar and sd-scheduler.
250
+ */
251
+ declare class SdCalendarCreateRunner {
252
+ private readonly host;
253
+ constructor(host: SdCalendarCreateHost);
254
+ run<A extends object, E>(plan: SdCalendarCreatePlan<A, E>): Promise<void>;
255
+ }
256
+ /**
257
+ * The scope bar of a recurring move (calendar.md §9.6): it holds the one waiting question and takes the focus on its
258
+ * first answer when it opens.
259
+ */
260
+ declare class SdCalendarScopeBar {
261
+ #private;
262
+ /** The open question, for the template: `{ title }` or `null`. */
263
+ readonly asking: _angular_core.Signal<{
264
+ readonly title: string;
265
+ readonly answer: (scope: SdCalendarMoveScope | null) => void;
266
+ } | null>;
267
+ constructor(host: HTMLElement, injector: Injector);
268
+ /** Opens the bar; resolves with the answer, `null` for Cancel. An abort of `signal` (its operation) is Cancel. */
269
+ ask(title: string, signal?: AbortSignal): Promise<SdCalendarMoveScope | null>;
270
+ /** Answers and closes the bar; `null` is Cancel. Nothing happens while the bar is closed. */
271
+ answer(scope: SdCalendarMoveScope | null): void;
272
+ /** Esc on the bar is Cancel. */
273
+ onKeydown(domEvent: KeyboardEvent): void;
274
+ }
275
+ /** Text of the one live region of a component (SC-33). */
276
+ declare class SdCalendarAnnouncer {
277
+ #private;
278
+ readonly text: _angular_core.Signal<string>;
279
+ /** Writes the live region; the same text twice in a row gets a trailing no-break space so it is read again (R1-G9). */
280
+ announce(message: string): void;
281
+ }
282
+ /** Whether the user put the focus somewhere else while a move waited (SC-30). */
283
+ interface SdCalendarFocusWatch {
284
+ readonly abandoned: () => boolean;
285
+ readonly stop: () => void;
286
+ }
287
+ /**
288
+ * Puts the focus back on an item after a move that started from the keyboard or the scope bar (SC-29, SC-30). The
289
+ * item may first need the next range to load, so `pending()` runs again after every load.
290
+ */
291
+ declare class SdCalendarFocusKeeper {
292
+ #private;
293
+ private readonly host;
294
+ private readonly injector;
295
+ /** The focusable element of an item, from its id. */
296
+ private readonly selector;
297
+ /** The scope bar: a focus inside it is the component's own, the bar is about to be removed (R2 A-18). */
298
+ private readonly scopeSelector;
299
+ constructor(host: HTMLElement, injector: Injector,
300
+ /** The focusable element of an item, from its id. */
301
+ selector: (id: string) => string,
302
+ /** The scope bar: a focus inside it is the component's own, the bar is about to be removed (R2 A-18). */
303
+ scopeSelector: string);
304
+ /**
305
+ * Watches the focus while a move waits: a focus the user puts outside `origin` and the scope bar abandons the item
306
+ * (SC-30), even when that element loses the focus to `body` before the move ends (as sd-kanban, RX #4). A focus that
307
+ * falls back to `body` alone (the item re-rendered or disabled) does not.
308
+ */
309
+ track(origin: Element | null): SdCalendarFocusWatch;
310
+ /** Whether the focus is on the item `id` or inside it (review RX #6). */
311
+ holds(id: string): boolean;
312
+ /** Focuses `id` unless the user moved the focus somewhere else while waiting (`origin` is where it started). */
313
+ restore(id: string, origin: Element | null, watch?: SdCalendarFocusWatch): void;
314
+ /** Focuses the waiting item once it is rendered. */
315
+ pending(): void;
316
+ }
317
+
318
+ /** Context of `sdCalendarEventTemplate`. */
319
+ interface SdCalendarEventTemplateContext<T = unknown> {
320
+ $implicit: SdCalendarEvent<T>;
321
+ event: SdCalendarEvent<T>;
322
+ /** Where the block is drawn: the proposed span while a move waits, otherwise the event's own span. */
323
+ range: SdCalendarRange;
324
+ view: SdCalendarView;
325
+ /** The block is shorter than 34px and shows one line. */
326
+ compact: boolean;
327
+ /** A move or a create of this event is waiting for your callback. */
328
+ pending: boolean;
329
+ }
330
+ /** Context of `sdCalendarAgendaItemTemplate`. */
331
+ type SdCalendarAgendaItemTemplateContext<T = unknown> = Omit<SdCalendarEventTemplateContext<T>, 'compact'>;
332
+ /** Context of `sdCalendarDayCellTemplate` (month view). */
333
+ interface SdCalendarDayCellTemplateContext<T = unknown> {
334
+ /** `'yyyy/MM/dd'`. */
335
+ $implicit: string;
336
+ date: string;
337
+ events: readonly SdCalendarEvent<T>[];
338
+ holiday: SdCalendarHoliday | null;
339
+ today: boolean;
340
+ /** The day belongs to the month on screen. */
341
+ inMonth: boolean;
342
+ /** Day off: weekend without working hours or an `off` holiday. */
343
+ off: boolean;
344
+ }
345
+ /** Context of `sdCalendarEmptyTemplate` (agenda view). */
346
+ interface SdCalendarEmptyTemplateContext {
347
+ $implicit: SdCalendarVisibleRange;
348
+ }
349
+ /** Replaces the content of an event block; frame, colour, handle and states stay. `let-event`. */
350
+ declare class SdCalendarEventTemplateDirective<T = unknown> {
351
+ readonly template: TemplateRef<SdCalendarEventTemplateContext<T>>;
352
+ static ngTemplateContextGuard<T>(_directive: SdCalendarEventTemplateDirective<T>, _context: unknown): _context is SdCalendarEventTemplateContext<T>;
353
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdCalendarEventTemplateDirective<any>, never>;
354
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SdCalendarEventTemplateDirective<any>, "ng-template[sdCalendarEventTemplate]", never, {}, {}, never, never, true, never>;
355
+ }
356
+ /** Replaces the part of a month cell under the day number (for example a timesheet code). `let-date`. */
357
+ declare class SdCalendarDayCellTemplateDirective<T = unknown> {
358
+ readonly template: TemplateRef<SdCalendarDayCellTemplateContext<T>>;
359
+ static ngTemplateContextGuard<T>(_directive: SdCalendarDayCellTemplateDirective<T>, _context: unknown): _context is SdCalendarDayCellTemplateContext<T>;
360
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdCalendarDayCellTemplateDirective<any>, never>;
361
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SdCalendarDayCellTemplateDirective<any>, "ng-template[sdCalendarDayCellTemplate]", never, {}, {}, never, never, true, never>;
362
+ }
363
+ /**
364
+ * Content of the place column of an agenda row, shown when the host is at least 720px wide (§11). Below that width
365
+ * the column, and the template, are left out. `let-event`.
366
+ */
367
+ declare class SdCalendarAgendaItemTemplateDirective<T = unknown> {
368
+ readonly template: TemplateRef<SdCalendarAgendaItemTemplateContext<T>>;
369
+ static ngTemplateContextGuard<T>(_directive: SdCalendarAgendaItemTemplateDirective<T>, _context: unknown): _context is SdCalendarAgendaItemTemplateContext<T>;
370
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdCalendarAgendaItemTemplateDirective<any>, never>;
371
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SdCalendarAgendaItemTemplateDirective<any>, "ng-template[sdCalendarAgendaItemTemplate]", never, {}, {}, never, never, true, never>;
372
+ }
373
+ /** Replaces the empty state of the agenda view. `let-range`. */
374
+ declare class SdCalendarEmptyTemplateDirective {
375
+ readonly template: TemplateRef<SdCalendarEmptyTemplateContext>;
376
+ static ngTemplateContextGuard(_directive: SdCalendarEmptyTemplateDirective, _context: unknown): _context is SdCalendarEmptyTemplateContext;
377
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdCalendarEmptyTemplateDirective, never>;
378
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SdCalendarEmptyTemplateDirective, "ng-template[sdCalendarEmptyTemplate]", never, {}, {}, never, never, true, never>;
379
+ }
380
+
381
+ /** App-wide defaults of `<sd-calendar>`. An input of the calendar wins over this configuration. */
382
+ interface ISdCalendarConfiguration {
383
+ /** 0–6, 0 is Sunday. Defaults to `1` (Monday). */
384
+ firstDayOfWeek?: number;
385
+ /** Minutes of one slot, a divisor of 60 (5, 10, 15, 20, 30, 60). Defaults to `30`. */
386
+ step?: number;
387
+ /** `null` turns the off-hours shading off. Defaults to Monday–Friday 08:00–12:00 and 13:00–17:30. */
388
+ workingHours?: SdCalendarWorkingHours | null;
389
+ /** Defaults to none. */
390
+ holidays?: readonly SdCalendarHoliday[];
391
+ /** `'HH:mm'` scrolled to when the week or day view opens. Defaults to the earliest working hour on screen. */
392
+ scrollTime?: string;
393
+ }
394
+ declare const SD_CALENDAR_CONFIGURATION: InjectionToken<ISdCalendarConfiguration>;
395
+ /** @internal Built-in defaults, shared with `sd-scheduler`. Not covered by SemVer. */
396
+ declare const ɵSD_CALENDAR_DEFAULTS: {
397
+ readonly firstDayOfWeek: 1;
398
+ readonly step: 30;
399
+ readonly agendaDays: 14;
400
+ readonly scrollTime: "08:00";
401
+ readonly workingHours: SdCalendarWorkingHours;
402
+ };
403
+
404
+ /**
405
+ * Pure helpers of `sd-calendar`, shared with `sd-scheduler` through the `ɵ` exports of the entry point.
406
+ *
407
+ * A calendar day is the string `'yyyy/MM/dd'` (it sorts as text) and a time of day is a number of wall-clock
408
+ * minutes, 0–1440. Day arithmetic works on year/month/day numbers only: never on instants, never by adding
409
+ * 24 hours, so a 23- or 25-hour DST day cannot move a date.
410
+ */
411
+ /** The part of `SdDateTimeService` the pure helpers need; pass the service itself. */
412
+ interface SdCalendarClock {
413
+ readonly timeZone: string;
414
+ toFormat(value: unknown, format: string): string;
415
+ parse(value: unknown): Date | null;
416
+ parseFrom(value: unknown, format: string): Date | null;
417
+ beginOfNextDay(value: unknown): Date | null;
418
+ }
419
+ interface SdCalendarDayParts {
420
+ readonly year: number;
421
+ readonly month: number;
422
+ readonly day: number;
423
+ }
424
+ /** What the visible range depends on. `date` is the anchor day `'yyyy/MM/dd'`. */
425
+ interface SdCalendarRangeInput {
426
+ readonly view: SdCalendarView;
427
+ readonly date: string;
428
+ readonly firstDayOfWeek: number;
429
+ readonly hideWeekends: boolean;
430
+ readonly agendaDays: number;
431
+ }
432
+ /** A span of wall-clock minutes inside one day, end exclusive. */
433
+ interface SdCalendarSpan {
434
+ readonly start: number;
435
+ readonly end: number;
436
+ }
437
+ /** Column of one timed event inside its overlap cluster; `index` points into the input. */
438
+ interface SdCalendarStacked {
439
+ readonly index: number;
440
+ readonly column: number;
441
+ readonly columns: number;
442
+ }
443
+ /** Days covered by a bar, both ends included. */
444
+ interface SdCalendarDaySpan {
445
+ readonly firstDay: string;
446
+ readonly lastDay: string;
447
+ }
448
+ /** One bar of the all-day row: `from`/`to` are indexes of the visible days; `index` points into the input. */
449
+ interface SdCalendarBar {
450
+ readonly index: number;
451
+ readonly row: number;
452
+ readonly from: number;
453
+ readonly to: number;
454
+ readonly clippedStart: boolean;
455
+ readonly clippedEnd: boolean;
456
+ }
457
+ interface SdCalendarAllDayLayout {
458
+ /** Bars of the rows on screen, in layout order. */
459
+ readonly bars: readonly SdCalendarBar[];
460
+ /** Rows on screen. */
461
+ readonly rows: number;
462
+ /** Bars left out, per visible day ("+N"). */
463
+ readonly more: readonly number[];
464
+ }
465
+ /** Where an event sits, read in the zone of the clock. */
466
+ interface SdCalendarPlacement {
467
+ readonly allDay: boolean;
468
+ /** Drawn in the time grid; `false` for all-day events and timed events that cross midnight. */
469
+ readonly inGrid: boolean;
470
+ readonly startDay: string;
471
+ readonly startMinutes: number;
472
+ /** Timed: the day of the end; an end at midnight of the next day reads as `startDay` at 1440. All-day: last day. */
473
+ readonly endDay: string;
474
+ readonly endMinutes: number;
475
+ /** Days covered, both included. */
476
+ readonly firstDay: string;
477
+ readonly lastDay: string;
478
+ /** Epoch milliseconds; all-day events span from the start of the first day to the start of the day after the last. */
479
+ readonly startInstant: number;
480
+ readonly endInstant: number;
481
+ }
482
+ /** Slot lengths `step` accepts: the divisors of 60 a time grid can draw. */
483
+ declare const SD_CALENDAR_STEPS: readonly number[];
484
+ /** Year, month and day of `'yyyy/MM/dd'`; `null` for anything else, including an impossible date. */
485
+ declare function sdCalendarDayParts(day: string): SdCalendarDayParts | null;
486
+ /** `'yyyy/MM/dd'` of the given numbers; overflowing months and days roll over like `Date` does. */
487
+ declare function sdCalendarDay(year: number, month: number, day: number): string;
488
+ declare function sdCalendarAddDays(day: string, days: number): string;
489
+ /** First day of the month `months` away from the month of `day`. */
490
+ declare function sdCalendarAddMonths(day: string, months: number): string;
491
+ /** The same day number `months` away, clamped to the last day of that month (month view PageUp/PageDown). */
492
+ declare function sdCalendarAddMonthsKeepDay(day: string, months: number): string;
493
+ /** 0 (Sunday) – 6 (Saturday). */
494
+ declare function sdCalendarWeekday(day: string): number;
495
+ /** Number of days from `from` to `to` (negative when `to` is earlier). */
496
+ declare function sdCalendarDayDiff(from: string, to: string): number;
497
+ declare function sdCalendarStartOfWeek(day: string, firstDayOfWeek: number): string;
498
+ declare function sdCalendarIsWeekend(day: string): boolean;
499
+ /** `agendaDays` kept in 1–62; not a number → 14. */
500
+ declare function sdCalendarClampAgendaDays(days: number): number;
501
+ /** `step` when it is one of `SD_CALENDAR_STEPS`, otherwise `null`. */
502
+ declare function sdCalendarNormalizeStep(step: number): number | null;
503
+ /** Granularity of moving and resizing: `min(step, 15)`. */
504
+ declare function sdCalendarMoveStep(step: number): number;
505
+ /** Every day from `from` to `to`, both included. */
506
+ declare function sdCalendarDaysBetween(from: string, to: string): string[];
507
+ /** Full weeks of the month view (4–6 rows), weekends left out when `hideWeekends`. */
508
+ declare function sdCalendarMonthWeeks(input: SdCalendarRangeInput): string[][];
509
+ /** Days on screen, in order. Day and agenda views ignore `hideWeekends`. */
510
+ declare function sdCalendarVisibleDays(input: SdCalendarRangeInput): string[];
511
+ /** First and last day on screen (both included) and the view. */
512
+ declare function sdCalendarVisibleRange(input: SdCalendarRangeInput): SdCalendarVisibleRange;
513
+ /** Anchor day after "Previous" (`-1`) or "Next" (`1`): ±7 days, ±1 day, ±1 month on day 1, ±`agendaDays` days. */
514
+ declare function sdCalendarShiftDate(input: SdCalendarRangeInput, direction: 1 | -1): string;
515
+ /**
516
+ * Columns of overlapping timed events of one day (§8.4): sorted by start, longer first on a tie; a cluster grows
517
+ * while an event starts before the latest end so far; each event takes the first column that is free by its
518
+ * start; every event of a cluster shares its column count. Output order is the sorted order (the DOM order).
519
+ */
520
+ declare function sdCalendarStack(items: readonly SdCalendarSpan[]): SdCalendarStacked[];
521
+ /**
522
+ * Rows of the all-day band (§7) over `days`. Bars sort by first day, then the longer first; each takes the first
523
+ * row that is free at its first visible day. Rows from `maxRows` on are left out and counted per day in `more`.
524
+ */
525
+ declare function sdCalendarAllDayLayout(items: readonly SdCalendarDaySpan[], days: readonly string[], maxRows?: number): SdCalendarAllDayLayout;
526
+ /** The slot of `step` minutes under `minutes`: a click or a tap. */
527
+ declare function sdCalendarSlot(minutes: number, step: number): SdCalendarSpan;
528
+ /** Span swept from `anchor` to `current` minutes: `[min, max + step]`, kept inside the day. */
529
+ declare function sdCalendarSweep(anchor: number, current: number, step: number): SdCalendarSpan;
530
+ /** New start of a block dragged by `delta` minutes: `delta` rounded to `moveStep`, kept in `[0, 1440 − duration]`. */
531
+ declare function sdCalendarSnapMove(start: number, delta: number, duration: number, moveStep: number): number;
532
+ /** New end of a block whose bottom edge moved by `delta`: at least 15 minutes (one step under 15) long, at most 24:00. */
533
+ declare function sdCalendarResizeEnd(start: number, end: number, delta: number, step: number): number;
534
+ /** `'HH:mm'`; 1440 reads `'24:00'`. */
535
+ declare function sdCalendarClockText(minutes: number): string;
536
+ /** Minutes of `'HH:mm'` as `sd-time` reads it, plus `'24:00'` for the end of the day. */
537
+ declare function sdCalendarTimeToMinutes(value: unknown): number | null;
538
+ /**
539
+ * Working spans of a weekday, sorted. `null` hours → `null` (no shading). A weekday without hours is a day off
540
+ * (`[]`). A span without both ends, or whose end is not after its start, is left out.
541
+ */
542
+ declare function sdCalendarWorkingRanges(hours: SdCalendarWorkingHours | null, weekday: number): SdCalendarSpan[] | null;
543
+ /** Off-hours spans of a day: the complement of the working spans. `null` (no shading) → none. */
544
+ declare function sdCalendarOffSegments(working: readonly SdCalendarSpan[] | null): SdCalendarSpan[];
545
+ /** First `scrollTop` of the time grid: half an hour above `minutes`, never above the top. */
546
+ declare function sdCalendarInitialScroll(minutes: number, hourHeight: number): number;
547
+ /** Calendar day of a date-like value, read like `sd-date` reads its model (an instant takes its day in the zone). */
548
+ declare function sdCalendarReadDay(value: unknown, clock: SdCalendarClock): string | null;
549
+ /**
550
+ * Wall-clock day and minutes of a value in the clock's zone.
551
+ *
552
+ * why: read as text (`toFormat`), not through `SdDateTimeService.toWallClock`: that carrier is a local `Date`, and a
553
+ * wall clock that falls in a DST gap of the browser's own zone (02:30 on a spring-forward day) would shift by an hour.
554
+ */
555
+ declare function sdCalendarReadWallClock(value: unknown, clock: SdCalendarClock): {
556
+ day: string;
557
+ minutes: number;
558
+ } | null;
559
+ /**
560
+ * Where an event sits (§5). `null` when a date cannot be read or a timed event does not end after its start (a
561
+ * timed event needs an `end`). A timed event that ends after midnight of its start day goes to the all-day row; one
562
+ * that ends exactly at that midnight stays in the grid with an end of 1440.
563
+ */
564
+ declare function sdCalendarPlace(event: SdCalendarEvent, clock: SdCalendarClock): SdCalendarPlacement | null;
565
+ /**
566
+ * Value the calendar emits for a wall clock (§5). Without `transform`: `'yyyy/MM/dd HH:mm:ss'`, or `'yyyy/MM/dd'`
567
+ * when `minutes` is `null` (all-day). With `transform`: the instant of that wall clock in the zone, serialized by
568
+ * `sdSerializeTemporalValue` like `sd-date` and `sd-datetime` (an all-day value is the start of its day).
569
+ */
570
+ declare function sdCalendarSerialize(day: string, minutes: number | null, clock: SdCalendarClock, transform: SdTemporalValueTransform | null | undefined): string;
571
+ /** The current span of a placed event, serialized like a new one so `request.from` and `request.to` match. */
572
+ declare function sdCalendarRangeOf(placement: Pick<SdCalendarPlacement, 'allDay' | 'startDay' | 'startMinutes' | 'endDay' | 'endMinutes'>, clock: SdCalendarClock, transform: SdTemporalValueTransform | null | undefined): SdCalendarRange;
573
+ /** Where an event should go: wall clock of its start and end in the zone. */
574
+ interface SdCalendarTarget {
575
+ readonly allDay: boolean;
576
+ readonly startDay: string;
577
+ readonly startMinutes: number;
578
+ readonly endDay: string;
579
+ readonly endMinutes: number;
580
+ }
581
+ /** The target of a placed event where it is now. */
582
+ declare function sdCalendarTargetOf(placement: SdCalendarTarget): SdCalendarTarget;
583
+ /** The target of a placement moved by whole days, its times and kind kept. */
584
+ declare function sdCalendarShiftDays(placement: SdCalendarTarget, days: number): SdCalendarTarget;
585
+ /**
586
+ * Target of `move(id, to)` (calendar.md §4.3): `to.allDay` (default `allDay`) picks the kind. All-day: the days of
587
+ * `to`, the duration in days kept without `to.end`. Timed: the span of `to`, or its start with the duration kept.
588
+ * `null` when a value cannot be read or the end is before the start.
589
+ */
590
+ declare function sdCalendarMoveTarget(placement: Pick<SdCalendarPlacement, 'firstDay' | 'lastDay' | 'startInstant' | 'endInstant'>, to: {
591
+ readonly start: SdCalendarDateInput;
592
+ readonly end?: SdCalendarDateInput | null;
593
+ readonly allDay?: boolean;
594
+ }, allDay: boolean, clock: SdCalendarClock): SdCalendarTarget | null;
595
+ /** Last calendar day a target covers (an end at 00:00 belongs to the day before). */
596
+ declare function sdCalendarLastDayOf(target: SdCalendarTarget): string;
597
+ /** `step`: the input, then the configuration, then 30; a length that is not a divisor of 60 falls back to 30. */
598
+ declare function sdCalendarResolveStep(value: number | undefined, configuration: ISdCalendarConfiguration | null): number;
599
+ /** `firstDayOfWeek`: the input, then the configuration, then Monday; anything but 0–6 is Monday. */
600
+ declare function sdCalendarResolveFirstDayOfWeek(value: number | undefined, configuration: ISdCalendarConfiguration | null): number;
601
+ /** `workingHours`: the input (`null` included), then the configuration, then Monday–Friday. */
602
+ declare function sdCalendarResolveWorkingHours(value: SdCalendarWorkingHours | null | undefined, configuration: ISdCalendarConfiguration | null): SdCalendarWorkingHours | null;
603
+ /** Holidays by calendar day (the input, then the configuration); an unreadable date is left out, the first one wins. */
604
+ declare function sdCalendarHolidayMap(value: readonly SdCalendarHoliday[] | undefined, configuration: ISdCalendarConfiguration | null, clock: SdCalendarClock): Map<string, SdCalendarHoliday>;
605
+ /** Day of `minDate` / `maxDate`: `'TODAY'` is `today`; an empty value is no bound. */
606
+ declare function sdCalendarBoundDay(value: SdCalendarDateInput | 'TODAY' | null | undefined, today: string, clock: SdCalendarClock): string | null;
607
+ /** `day` is before `minDay` or after `maxDay` (a `null` bound does not limit). */
608
+ declare function sdCalendarOutOfRange(day: string, minDay: string | null, maxDay: string | null): boolean;
609
+ /** `'yyyy/MM/dd'` of a carrier (a local `Date` whose fields are a wall clock of the zone). */
610
+ declare function sdCalendarCarrierDay(carrier: Date): string;
611
+ /** Identity of a visible range; two ranges with the same key are the same range. */
612
+ declare function sdCalendarRangeKey(range: SdCalendarVisibleRange | {
613
+ readonly view: string;
614
+ readonly from: string;
615
+ readonly to: string;
616
+ }): string;
617
+ declare function sdCalendarSameList(a: readonly string[], b: readonly string[]): boolean;
618
+ /** Client point of a mouse or touch event (the first touch, or the first changed one on `touchend`). */
619
+ declare function sdCalendarPointOf(event: MouseEvent | TouchEvent): {
620
+ x: number;
621
+ y: number;
622
+ } | null;
623
+ /** Duplicate, empty or non-string ids, or an empty title: the data set is refused (calendar §5, scheduler §12). */
624
+ declare function sdCalendarInvalidItems(items: readonly {
625
+ readonly id: unknown;
626
+ readonly title: unknown;
627
+ }[]): boolean;
628
+ /** `data-color` of an item (§8.1): a palette name as is, any other CSS colour as `custom` with the value aside. */
629
+ declare function sdCalendarColor(color: string | undefined): {
630
+ readonly color: string;
631
+ readonly customColor: string | null;
632
+ };
633
+ /** A day off: an `off` holiday, or a weekday without working hours (never with `null` hours). */
634
+ declare function sdCalendarIsOffDay(day: string, holiday: SdCalendarHoliday | null | undefined, hours: SdCalendarWorkingHours | null): boolean;
635
+ /** Weekdays of `hours` with a range that `sdCalendarWorkingRanges` leaves out (a dev-mode warning). */
636
+ declare function sdCalendarBrokenWeekdays(hours: SdCalendarWorkingHours | null | undefined): number[];
637
+ /** SC-27: the selected id is no longer in the loaded items (only once the load settled). */
638
+ declare function sdCalendarSelectionGone(selected: string | null, phase: string, items: readonly {
639
+ readonly id: string;
640
+ }[]): boolean;
641
+ /** An id inside an attribute selector. */
642
+ declare function sdCalendarCssEscape(value: string): string;
643
+
644
+ /** @internal View model of one day column / header. */
645
+ interface SdCalendarDayView {
646
+ readonly day: string;
647
+ readonly dayNumber: number;
648
+ readonly weekdayShort: string;
649
+ readonly label: string;
650
+ readonly today: boolean;
651
+ readonly off: boolean;
652
+ readonly outOfRange: boolean;
653
+ readonly holiday: SdCalendarHoliday | null;
654
+ readonly offSegments: readonly SdCalendarSpan[];
655
+ }
656
+ /** @internal Shared view model of a block, a bar, a month line and an agenda row. */
657
+ interface SdCalendarItemView<T> {
658
+ readonly key: string;
659
+ readonly event: SdCalendarEvent<T>;
660
+ readonly placement: SdCalendarPlacement;
661
+ readonly range: SdCalendarRange;
662
+ readonly label: string;
663
+ readonly autoId: string | null;
664
+ readonly color: string;
665
+ readonly customColor: string | null;
666
+ readonly recurring: boolean;
667
+ readonly past: boolean;
668
+ readonly pending: boolean;
669
+ readonly saving: boolean;
670
+ readonly movable: boolean;
671
+ readonly timeText: string;
672
+ }
673
+ /** @internal A timed block of the grid. */
674
+ interface SdCalendarBlockView<T> extends SdCalendarItemView<T> {
675
+ readonly top: string;
676
+ readonly height: string;
677
+ readonly column: number;
678
+ readonly columns: number;
679
+ /** `lg` ≥ 62px, `md` 34–61px, `sm` < 34px, `xs` < 20px (§8.2). */
680
+ readonly size: 'lg' | 'md' | 'sm' | 'xs';
681
+ readonly context: SdCalendarEventTemplateContext<T>;
682
+ }
683
+ /** @internal One line of a month cell. */
684
+ interface SdCalendarMonthLine<T> {
685
+ readonly key: string;
686
+ readonly item: SdCalendarItemView<T> | null;
687
+ readonly bar: boolean;
688
+ readonly showTitle: boolean;
689
+ readonly joinStart: boolean;
690
+ readonly joinEnd: boolean;
691
+ readonly text: string;
692
+ }
693
+ /** @internal A month cell. */
694
+ interface SdCalendarMonthCell<T> {
695
+ readonly day: SdCalendarDayView;
696
+ readonly inMonth: boolean;
697
+ readonly label: string;
698
+ readonly lines: readonly SdCalendarMonthLine<T>[];
699
+ readonly more: number;
700
+ /** Compact month: up to three dots, one per colour (§12). */
701
+ readonly dots: readonly {
702
+ readonly color: string;
703
+ readonly customColor: string | null;
704
+ }[];
705
+ readonly context: SdCalendarDayCellTemplateContext<T>;
706
+ }
707
+ /** @internal A day group of the agenda. */
708
+ interface SdCalendarAgendaDay<T> {
709
+ readonly day: SdCalendarDayView;
710
+ readonly heading: string;
711
+ readonly rows: readonly (SdCalendarItemView<T> & {
712
+ readonly context: SdCalendarAgendaItemTemplateContext<T>;
713
+ })[];
714
+ }
715
+ /** @internal The dashed block of a create (§9.2). */
716
+ interface SdCalendarGhost {
717
+ readonly day: string;
718
+ readonly start: number;
719
+ readonly end: number;
720
+ readonly pending: boolean;
721
+ readonly blocked: boolean;
722
+ }
723
+ /** @internal Where a dragged block would land (§9.3). */
724
+ interface SdCalendarDragProposal {
725
+ readonly id: string;
726
+ readonly day: string;
727
+ readonly start: number;
728
+ readonly end: number;
729
+ readonly title: string;
730
+ readonly outside: boolean;
731
+ readonly color: string;
732
+ readonly customColor: string | null;
733
+ }
734
+ declare class SdCalendar<T = unknown> {
735
+ #private;
736
+ protected readonly baseId: string;
737
+ /** Data source and capabilities. A new object is the signal to load again. */
738
+ readonly option: _angular_core.InputSignal<SdCalendarOption<T>>;
739
+ /** Layout on screen; one of `views`, otherwise the first of `views`. */
740
+ readonly view: _angular_core.ModelSignal<SdCalendarView>;
741
+ /** Anchor day; the calendar writes back `'yyyy/MM/dd'` (no `transform`). Defaults to today in the zone. */
742
+ readonly date: _angular_core.ModelSignal<SdCalendarDateInput | null | undefined>;
743
+ /** Id of the selected event; back to `null` when the event is no longer loaded. */
744
+ readonly selectedId: _angular_core.ModelSignal<string | null>;
745
+ /** Views offered by the switcher, in this order. */
746
+ readonly views: _angular_core.InputSignal<readonly SdCalendarView[]>;
747
+ /** Minutes of one slot, a divisor of 60. Configuration, then 30. */
748
+ readonly step: _angular_core.InputSignal<number | undefined>;
749
+ /** 0–6, 0 is Sunday. Configuration, then 1. */
750
+ readonly firstDayOfWeek: _angular_core.InputSignal<number | undefined>;
751
+ /** Hides Saturday and Sunday in the week and month views. */
752
+ readonly hideWeekends: _angular_core.InputSignalWithTransform<boolean, unknown>;
753
+ /** `null` turns the off-hours shading and days off by weekday off. Configuration, then Monday–Friday. */
754
+ readonly workingHours: _angular_core.InputSignal<Partial<Record<0 | 1 | 2 | 3 | 4 | 5 | 6, readonly _sdcorejs_angular_types_sdcorejs_angular_forms_time_range.SdTimeRangeValue[]>> | null | undefined>;
755
+ /** Configuration, then none. */
756
+ readonly holidays: _angular_core.InputSignal<readonly SdCalendarHoliday[] | undefined>;
757
+ /** First day that can be shown and edited, compared as a calendar day in the zone. */
758
+ readonly minDate: _angular_core.InputSignal<SdCalendarDateInput | null | undefined>;
759
+ /** Last day that can be shown and edited, compared as a calendar day in the zone. */
760
+ readonly maxDate: _angular_core.InputSignal<SdCalendarDateInput | null | undefined>;
761
+ /** `'HH:mm'` the week and day views open at. Configuration, then the earliest working hour, then 08:00. */
762
+ readonly scrollTime: _angular_core.InputSignal<string | undefined>;
763
+ /** Days of the agenda view, 1–62. */
764
+ readonly agendaDays: _angular_core.InputSignal<number>;
765
+ /** Fades events that have ended. */
766
+ readonly dimPast: _angular_core.InputSignalWithTransform<boolean, unknown>;
767
+ /** Serialization of the values the calendar emits; see "Date values" in `sd-calendar.md`. */
768
+ readonly transform: _angular_core.InputSignal<SdTemporalValueTransform | undefined>;
769
+ /** No create, move or selection; events leave the tab order. Navigation still works. */
770
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
771
+ /** No create or move. Selection and navigation still work. */
772
+ readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
773
+ /** Accessible name of the region; defaults to the translated "Calendar". */
774
+ readonly ariaLabel: _angular_core.InputSignal<string | null | undefined>;
775
+ /** E2E scope: `data-autoid="components-calendar-{autoId}"` and derived child ids. */
776
+ readonly autoId: _angular_core.InputSignal<string | null | undefined>;
777
+ /** An event was clicked, tapped or activated with Enter/Space. */
778
+ readonly sdSelect: _angular_core.OutputEmitterRef<SdCalendarEvent<T>>;
779
+ /** Once on init, then whenever `from`, `to` or the view on screen changes. */
780
+ readonly sdRangeChange: _angular_core.OutputEmitterRef<SdCalendarVisibleRange>;
781
+ /** `onMove` accepted and the data changed. */
782
+ readonly sdMove: _angular_core.OutputEmitterRef<SdCalendarMoveRequest<T>>;
783
+ /** `onMove` rejected or failed. */
784
+ readonly sdMoveError: _angular_core.OutputEmitterRef<SdCalendarMoveError<T>>;
785
+ /** `onLoad` threw or rejected (never for an aborted load). */
786
+ readonly sdLoadError: _angular_core.OutputEmitterRef<unknown>;
787
+ protected readonly eventTemplate: _angular_core.Signal<SdCalendarEventTemplateDirective<T> | undefined>;
788
+ protected readonly dayCellTemplate: _angular_core.Signal<SdCalendarDayCellTemplateDirective<T> | undefined>;
789
+ protected readonly agendaItemTemplate: _angular_core.Signal<SdCalendarAgendaItemTemplateDirective<T> | undefined>;
790
+ protected readonly emptyTemplate: _angular_core.Signal<SdCalendarEmptyTemplateDirective | undefined>;
791
+ protected readonly scroller: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
792
+ protected readonly gridElement: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
793
+ /** Scope bar of a recurring event (§9.6); it holds the one waiting operation until answered. */
794
+ protected readonly scopeBar: SdCalendarScopeBar;
795
+ /** Host narrower than 600px (§12): measured on the host, not the viewport. */
796
+ protected readonly compact: _angular_core.Signal<boolean>;
797
+ /** Host at least 720px wide: the agenda shows the place column. */
798
+ protected readonly wide: _angular_core.Signal<boolean>;
799
+ protected readonly phase: _angular_core.Signal<_sdcorejs_angular_components_calendar.ɵSdCalendarLoadPhase>;
800
+ protected readonly announcement: _angular_core.Signal<string>;
801
+ protected readonly failure: _angular_core.Signal<{
802
+ readonly id: string | null;
803
+ readonly message: string;
804
+ } | null>;
805
+ protected readonly ghost: _angular_core.Signal<SdCalendarGhost | null>;
806
+ protected readonly dragProposal: _angular_core.Signal<SdCalendarDragProposal | null>;
807
+ protected readonly cursor: _angular_core.Signal<{
808
+ readonly day: string;
809
+ readonly minutes: number;
810
+ } | null>;
811
+ protected readonly scopeMessageId: string;
812
+ protected readonly busy: _angular_core.Signal<boolean>;
813
+ protected readonly skeleton: _angular_core.Signal<boolean>;
814
+ protected readonly rootAutoId: _angular_core.Signal<string | null>;
815
+ protected readonly regionLabel: _angular_core.Signal<string>;
816
+ protected readonly stepValue: _angular_core.Signal<number>;
817
+ protected readonly today: _angular_core.Signal<string>;
818
+ /** Views of the switcher; the week button is hidden while compact (§12). */
819
+ protected readonly viewOptions: _angular_core.Signal<readonly SdCalendarView[]>;
820
+ protected readonly activeView: _angular_core.Signal<SdCalendarView>;
821
+ /** What is drawn: a compact week is drawn as a day. */
822
+ protected readonly displayView: _angular_core.Signal<SdCalendarView>;
823
+ protected readonly timeView: _angular_core.Signal<boolean>;
824
+ protected readonly visible: _angular_core.Signal<SdCalendarVisibleRange>;
825
+ protected readonly days: _angular_core.Signal<string[]>;
826
+ /** Duplicate or empty id, or an empty title: the whole data set is refused (§5). */
827
+ protected readonly invalid: _angular_core.Signal<boolean>;
828
+ /** No create and no move (§4.1, §13): disabled, readonly, loading, load error or invalid data. */
829
+ protected readonly locked: _angular_core.Signal<boolean>;
830
+ /** Create is on: `option.create` and not locked. */
831
+ protected readonly canCreate: _angular_core.Signal<boolean>;
832
+ protected readonly title: _angular_core.Signal<string>;
833
+ protected readonly prevLabel: _angular_core.Signal<string>;
834
+ protected readonly nextLabel: _angular_core.Signal<string>;
835
+ protected readonly prevDisabled: _angular_core.Signal<boolean>;
836
+ protected readonly nextDisabled: _angular_core.Signal<boolean>;
837
+ protected readonly dayViews: _angular_core.Signal<SdCalendarDayView[]>;
838
+ protected readonly blocksByDay: _angular_core.Signal<Map<string, SdCalendarBlockView<T>[]>>;
839
+ protected readonly allDay: _angular_core.Signal<{
840
+ bars: {
841
+ row: number;
842
+ from: number;
843
+ to: number;
844
+ clippedStart: boolean;
845
+ clippedEnd: boolean;
846
+ text: string;
847
+ spanText: string;
848
+ key: string;
849
+ event: SdCalendarEvent<T>;
850
+ placement: SdCalendarPlacement;
851
+ range: SdCalendarRange;
852
+ label: string;
853
+ autoId: string | null;
854
+ color: string;
855
+ customColor: string | null;
856
+ recurring: boolean;
857
+ past: boolean;
858
+ pending: boolean;
859
+ saving: boolean;
860
+ movable: boolean;
861
+ timeText: string;
862
+ }[];
863
+ rows: number;
864
+ more: readonly number[];
865
+ }>;
866
+ protected readonly monthWeeks: _angular_core.Signal<(readonly SdCalendarMonthCell<T>[])[]>;
867
+ protected readonly monthHeaders: _angular_core.Signal<string[]>;
868
+ /** The month cell in the tab order (roving tabindex, §9.7). */
869
+ protected readonly monthFocusDay: _angular_core.Signal<string>;
870
+ protected readonly agenda: _angular_core.Signal<readonly SdCalendarAgendaDay<T>[]>;
871
+ protected readonly agendaCount: _angular_core.Signal<number>;
872
+ protected readonly skeletonBlocks: readonly (readonly [number, number, number])[];
873
+ protected readonly hours: number[];
874
+ protected readonly zoneLabel: _angular_core.Signal<string>;
875
+ protected readonly nowTop: _angular_core.Signal<string>;
876
+ protected readonly cursorId: string;
877
+ protected readonly cursorLabel: _angular_core.Signal<string>;
878
+ protected readonly gridInstructionsId: string;
879
+ protected readonly eventInstructionsId: string;
880
+ protected readonly dragDelay: {
881
+ touch: number;
882
+ mouse: number;
883
+ };
884
+ constructor();
885
+ /** The 7-day strip of a compact week (§12). */
886
+ protected readonly strip: _angular_core.Signal<{
887
+ day: string;
888
+ weekdayShort: string;
889
+ dayNumber: number;
890
+ label: string;
891
+ today: boolean;
892
+ current: boolean;
893
+ events: boolean;
894
+ }[]>;
895
+ /** Hours printed (§16): from the earliest working hour to the latest one of the days on screen. */
896
+ protected readonly printHours: _angular_core.Signal<{
897
+ start: number;
898
+ hours: number;
899
+ }>;
900
+ /** Aborts a running load and a waiting move, then calls `onLoad` again for the range on screen. */
901
+ reload(): void;
902
+ /**
903
+ * Moves an event through the pipeline of `sd-calendar.md` ("Moving"): `onMove` decides. Resolves `true` only when
904
+ * accepted; `false` without `option.move`, while locked or another operation waits, for an unknown id, a refused
905
+ * `movable`, the same position, a position outside `minDate`/`maxDate`, a rejection, `'cancel'` or an error.
906
+ * With `source: 'api'` (the default) an occurrence of a series is moved with `scope: 'this'` and focus stays put.
907
+ */
908
+ move(eventId: string, to: {
909
+ start: SdCalendarDateInput;
910
+ end?: SdCalendarDateInput | null;
911
+ allDay?: boolean;
912
+ }, source?: SdCalendarMoveSource): Promise<boolean>;
913
+ protected setView(view: SdCalendarView): void;
914
+ protected shift(direction: 1 | -1): void;
915
+ protected goToday(): void;
916
+ protected openDay(day: string): void;
917
+ protected dismissFailure(): void;
918
+ protected selectItem(event: SdCalendarEvent<T>, domEvent?: Event): void;
919
+ /** Press on an item: a new gesture, and the pickup point of a possible drag. */
920
+ protected onPressItem(domEvent: MouseEvent | TouchEvent): void;
921
+ protected onItemKeydown(domEvent: KeyboardEvent, item: SdCalendarItemView<T>): void;
922
+ protected onGridPointerDown(domEvent: PointerEvent): void;
923
+ protected onGridPointerMove(domEvent: PointerEvent): void;
924
+ protected onGridPointerUp(domEvent?: PointerEvent): void;
925
+ protected pickDay(day: string): void;
926
+ protected onStripPointerDown(domEvent: PointerEvent): void;
927
+ /** §12: a horizontal swipe of the strip moves one week. */
928
+ protected onStripPointerUp(domEvent: PointerEvent): void;
929
+ protected onGridPointerCancel(): void;
930
+ protected onGridFocus(): void;
931
+ protected onGridKeydown(domEvent: KeyboardEvent): void;
932
+ protected onCellKeydown(domEvent: KeyboardEvent, day: string): void;
933
+ /** Keeps the dragged element in place (the proposal is drawn instead) and records the real pointer. */
934
+ protected readonly constrainDrag: (point: Point, _ref: DragRef, rect: DOMRect) => Point;
935
+ protected onDragStarted(start: CdkDragStart, item: SdCalendarItemView<T>): void;
936
+ protected onDragMoved(): void;
937
+ protected onDragEnded(end: CdkDragEnd): void;
938
+ protected onResizeDown(domEvent: PointerEvent, item: SdCalendarItemView<T>): void;
939
+ protected onResizeMove(domEvent: PointerEvent): void;
940
+ protected onResizeUp(domEvent: PointerEvent): void;
941
+ /** The browser took the pointer away (a scroll or a system gesture): the live resize is dropped. */
942
+ protected onResizeCancel(): void;
943
+ /** Height of a block, following a live resize. */
944
+ protected blockHeight(block: SdCalendarBlockView<T>): string;
945
+ /** Time line of a block, following a live resize. */
946
+ protected blockTime(block: SdCalendarBlockView<T>): string;
947
+ protected isDragging(id: string): boolean;
948
+ protected isFailed(id: string): boolean;
949
+ protected spanTop(minutes: number): string;
950
+ protected spanHeight(minutes: number): string;
951
+ protected clockText(minutes: number): string;
952
+ protected viewLabel(view: SdCalendarView): string;
953
+ protected childAutoId(kind: string): string | null;
954
+ /** Name of the "+N" button of the all-day row: the visible "+2" leads it in every language (WCAG 2.5.3). */
955
+ protected allDayMoreLabel(count: number, day: SdCalendarDayView): string;
956
+ protected blocksOf(day: string): readonly SdCalendarBlockView<T>[];
957
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdCalendar<any>, never>;
958
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdCalendar<any>, "sd-calendar", never, { "option": { "alias": "option"; "required": true; "isSignal": true; }; "view": { "alias": "view"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": false; "isSignal": true; }; "selectedId": { "alias": "selectedId"; "required": false; "isSignal": true; }; "views": { "alias": "views"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "hideWeekends": { "alias": "hideWeekends"; "required": false; "isSignal": true; }; "workingHours": { "alias": "workingHours"; "required": false; "isSignal": true; }; "holidays": { "alias": "holidays"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "scrollTime": { "alias": "scrollTime"; "required": false; "isSignal": true; }; "agendaDays": { "alias": "agendaDays"; "required": false; "isSignal": true; }; "dimPast": { "alias": "dimPast"; "required": false; "isSignal": true; }; "transform": { "alias": "transform"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "autoId": { "alias": "autoId"; "required": false; "isSignal": true; }; }, { "view": "viewChange"; "date": "dateChange"; "selectedId": "selectedIdChange"; "sdSelect": "sdSelect"; "sdRangeChange": "sdRangeChange"; "sdMove": "sdMove"; "sdMoveError": "sdMoveError"; "sdLoadError": "sdLoadError"; }, ["eventTemplate", "dayCellTemplate", "agendaItemTemplate", "emptyTemplate"], never, true, never>;
959
+ }
960
+
961
+ /** Part of the scroll area that shows content, in client coordinates (the sticky header and column left out). */
962
+ interface SdCalendarEdgeArea {
963
+ readonly top: number;
964
+ readonly bottom: number;
965
+ readonly left: number;
966
+ readonly right: number;
967
+ }
968
+ /** Speed (px per frame) on one axis: negative within 40px of the start edge, positive within 40px of the end edge. */
969
+ declare function sdCalendarEdgeSpeed(position: number, start: number, end: number): number;
970
+ /**
971
+ * One `requestAnimationFrame` loop outside the zone. `update` is called on every pointer move of a drag; while the
972
+ * pointer stays near an edge the loop scrolls and calls `onFrame` (inside the zone) after each step.
973
+ */
974
+ declare class SdCalendarEdgeScroller {
975
+ #private;
976
+ private readonly zone;
977
+ constructor(zone: NgZone);
978
+ update(scroller: HTMLElement | null | undefined, area: SdCalendarEdgeArea | null, pointer: {
979
+ readonly x: number;
980
+ readonly y: number;
981
+ } | null, axes: {
982
+ readonly x: boolean;
983
+ readonly y: boolean;
984
+ }, onFrame: () => void): void;
985
+ stop(): void;
986
+ }
987
+
988
+ /** Width of the host from a `ResizeObserver` (SC-32); `null` until known, and always without `ResizeObserver` (SSR, tests). */
989
+ declare class SdCalendarHostWidth {
990
+ #private;
991
+ private readonly host;
992
+ readonly width: _angular_core.Signal<number | null>;
993
+ constructor(host: HTMLElement, zone: NgZone);
994
+ /** Width before the first observer callback, so the first render already fits a narrow host. */
995
+ measureOnce(): void;
996
+ disconnect(): void;
997
+ }
998
+ /**
999
+ * Calls `tick` every minute while running, outside the zone so the timer does not run change detection; `tick` itself
1000
+ * enters the zone.
1001
+ */
1002
+ declare class SdCalendarMinuteTimer {
1003
+ #private;
1004
+ private readonly zone;
1005
+ private readonly tick;
1006
+ constructor(zone: NgZone, tick: () => void);
1007
+ /** Starts or stops the timer. */
1008
+ run(active: boolean): void;
1009
+ stop(): void;
1010
+ }
1011
+ /** Logs a dev-mode diagnostic once per instance and key, with the component's prefix (`[sd-calendar]`). */
1012
+ declare class SdCalendarReporter {
1013
+ #private;
1014
+ private readonly prefix;
1015
+ constructor(prefix: string);
1016
+ report(level: 'error' | 'warn', key: string, message: string): void;
1017
+ }
1018
+ /** The element is laid out right-to-left. */
1019
+ declare function sdCalendarIsRtl(element: Element): boolean;
1020
+
1021
+ /** `Intl` formatters of one locale; build them once per locale (a `computed` on the i18n locale). */
1022
+ interface SdCalendarFormats {
1023
+ /** English names months ("Oct 22"); other languages write numeric dates ("22/10"). */
1024
+ readonly named: boolean;
1025
+ readonly weekday: Intl.DateTimeFormat;
1026
+ readonly monthShort: Intl.DateTimeFormat;
1027
+ readonly monthLong: Intl.DateTimeFormat;
1028
+ readonly date: Intl.DateTimeFormat;
1029
+ readonly dateYear: Intl.DateTimeFormat;
1030
+ }
1031
+ /** Translation function of `I18nService.t`. */
1032
+ type SdCalendarTranslate = (key: string, params?: Record<string, string | number>) => string;
1033
+ /** What the title names: a month, one day, a week of the calendar or any other span of days. */
1034
+ type SdCalendarTitleKind = 'month' | 'day' | 'week' | 'range';
1035
+ declare function sdCalendarFormats(locale: string, language: string): SdCalendarFormats;
1036
+ /** Noon UTC of a calendar day, only to name it with `Intl` in `timeZone: 'UTC'`. */
1037
+ declare function sdCalendarUtcDay(day: string): Date;
1038
+ declare function sdCalendarWeekdayLong(formats: SdCalendarFormats, day: string): string;
1039
+ /**
1040
+ * Short date of a day: "Oct 22" / "Oct 22, 2026" in English, otherwise the numeric parts in the order of the
1041
+ * locale joined by "/" ("22/10/2026", "2026/10/22").
1042
+ *
1043
+ * why: `Intl` writes vi-VN numeric dates with "-" in current Chromium, while the design shows "22/10".
1044
+ */
1045
+ declare function sdCalendarDateText(formats: SdCalendarFormats, day: string, withYear: boolean): string;
1046
+ /**
1047
+ * Toolbar title. `month` names the month of `anchor`; `day` the day `from`; `week` the days `from`–`to` in one
1048
+ * month ("19–25 Thg 10, 2026"), and any span across months or a `range` falls back to "22/10 – 04/11/2026".
1049
+ */
1050
+ declare function sdCalendarTitle(kind: SdCalendarTitleKind, span: {
1051
+ readonly anchor: string;
1052
+ readonly from: string;
1053
+ readonly to: string;
1054
+ }, formats: SdCalendarFormats, t: SdCalendarTranslate): string;
1055
+ /**
1056
+ * Live-region text of an accepted move (calendar.md §15): "resized" when only the end changed (or the move was a
1057
+ * resize), otherwise "moved" with the new day and time.
1058
+ */
1059
+ declare function sdCalendarMovedText(title: string, target: {
1060
+ readonly allDay: boolean;
1061
+ readonly startDay: string;
1062
+ readonly startMinutes: number;
1063
+ readonly endMinutes: number;
1064
+ }, from: {
1065
+ readonly start: string;
1066
+ readonly end: string;
1067
+ }, to: {
1068
+ readonly start: string;
1069
+ readonly end: string;
1070
+ }, source: SdCalendarMoveSource, formats: SdCalendarFormats, t: SdCalendarTranslate): string;
1071
+
1072
+ /** `loading`: first load or a new range (the grid is empty); `reloading`: same range, the items stay. */
1073
+ type SdCalendarLoadPhase = 'idle' | 'loading' | 'reloading' | 'error';
1074
+ declare class SdCalendarLoader<T> {
1075
+ #private;
1076
+ /** Items of the last successful load; updated in place by accepted creates and moves. */
1077
+ readonly items: _angular_core.WritableSignal<readonly T[]>;
1078
+ readonly phase: _angular_core.WritableSignal<SdCalendarLoadPhase>;
1079
+ /** At least one load succeeded: later loads show the progress bar only, never the skeleton. */
1080
+ readonly everLoaded: _angular_core.WritableSignal<boolean>;
1081
+ /**
1082
+ * Aborts the running load and calls `call` for `key`. A different key clears the items first; the same key keeps
1083
+ * them until the result arrives. A late or aborted result is dropped. `onError` runs for a real failure only, after
1084
+ * the items were cleared (§13).
1085
+ */
1086
+ load(key: string, call: (signal: AbortSignal) => readonly T[] | Promise<readonly T[]>, onError: (error: unknown) => void): Promise<void>;
1087
+ /** Aborts the running load (destroy). */
1088
+ abort(): void;
1089
+ }
1090
+
1091
+ export { SD_CALENDAR_CONFIGURATION, SdCalendar, SdCalendarAgendaItemTemplateDirective, SdCalendarDayCellTemplateDirective, SdCalendarEmptyTemplateDirective, SdCalendarEventTemplateDirective, ɵSD_CALENDAR_DEFAULTS, SD_CALENDAR_STEPS as ɵSD_CALENDAR_STEPS, SdCalendarAnnouncer as ɵSdCalendarAnnouncer, SdCalendarCreateRunner as ɵSdCalendarCreateRunner, SdCalendarEdgeScroller as ɵSdCalendarEdgeScroller, SdCalendarFocusKeeper as ɵSdCalendarFocusKeeper, SdCalendarHostWidth as ɵSdCalendarHostWidth, SdCalendarLoader as ɵSdCalendarLoader, SdCalendarMinuteTimer as ɵSdCalendarMinuteTimer, SdCalendarMoveRunner as ɵSdCalendarMoveRunner, SdCalendarOperation as ɵSdCalendarOperation, SdCalendarReporter as ɵSdCalendarReporter, SdCalendarScopeBar as ɵSdCalendarScopeBar, sdCalendarAddDays as ɵsdCalendarAddDays, sdCalendarAddMonths as ɵsdCalendarAddMonths, sdCalendarAddMonthsKeepDay as ɵsdCalendarAddMonthsKeepDay, sdCalendarAllDayLayout as ɵsdCalendarAllDayLayout, sdCalendarAllows as ɵsdCalendarAllows, sdCalendarBoundDay as ɵsdCalendarBoundDay, sdCalendarBrokenWeekdays as ɵsdCalendarBrokenWeekdays, sdCalendarCallMove as ɵsdCalendarCallMove, sdCalendarCarrierDay as ɵsdCalendarCarrierDay, sdCalendarClampAgendaDays as ɵsdCalendarClampAgendaDays, sdCalendarClockText as ɵsdCalendarClockText, sdCalendarColor as ɵsdCalendarColor, sdCalendarCssEscape as ɵsdCalendarCssEscape, sdCalendarDateText as ɵsdCalendarDateText, sdCalendarDay as ɵsdCalendarDay, sdCalendarDayDiff as ɵsdCalendarDayDiff, sdCalendarDayParts as ɵsdCalendarDayParts, sdCalendarDaysBetween as ɵsdCalendarDaysBetween, sdCalendarEdgeSpeed as ɵsdCalendarEdgeSpeed, sdCalendarFormats as ɵsdCalendarFormats, sdCalendarHolidayMap as ɵsdCalendarHolidayMap, sdCalendarInitialScroll as ɵsdCalendarInitialScroll, sdCalendarInvalidItems as ɵsdCalendarInvalidItems, sdCalendarIsOffDay as ɵsdCalendarIsOffDay, sdCalendarIsRtl as ɵsdCalendarIsRtl, sdCalendarIsWeekend as ɵsdCalendarIsWeekend, sdCalendarLastDayOf as ɵsdCalendarLastDayOf, sdCalendarMonthWeeks as ɵsdCalendarMonthWeeks, sdCalendarMoveStep as ɵsdCalendarMoveStep, sdCalendarMoveTarget as ɵsdCalendarMoveTarget, sdCalendarMovedText as ɵsdCalendarMovedText, sdCalendarNormalizeStep as ɵsdCalendarNormalizeStep, sdCalendarOffSegments as ɵsdCalendarOffSegments, sdCalendarOutOfRange as ɵsdCalendarOutOfRange, sdCalendarPlace as ɵsdCalendarPlace, sdCalendarPointOf as ɵsdCalendarPointOf, sdCalendarRangeKey as ɵsdCalendarRangeKey, sdCalendarRangeOf as ɵsdCalendarRangeOf, sdCalendarReadDay as ɵsdCalendarReadDay, sdCalendarReadWallClock as ɵsdCalendarReadWallClock, sdCalendarResizeEnd as ɵsdCalendarResizeEnd, sdCalendarResolveFirstDayOfWeek as ɵsdCalendarResolveFirstDayOfWeek, sdCalendarResolveStep as ɵsdCalendarResolveStep, sdCalendarResolveWorkingHours as ɵsdCalendarResolveWorkingHours, sdCalendarSameList as ɵsdCalendarSameList, sdCalendarSelectionGone as ɵsdCalendarSelectionGone, sdCalendarSerialize as ɵsdCalendarSerialize, sdCalendarShiftDate as ɵsdCalendarShiftDate, sdCalendarShiftDays as ɵsdCalendarShiftDays, sdCalendarSlot as ɵsdCalendarSlot, sdCalendarSnapMove as ɵsdCalendarSnapMove, sdCalendarStack as ɵsdCalendarStack, sdCalendarStartOfWeek as ɵsdCalendarStartOfWeek, sdCalendarSweep as ɵsdCalendarSweep, sdCalendarTargetOf as ɵsdCalendarTargetOf, sdCalendarTimeToMinutes as ɵsdCalendarTimeToMinutes, sdCalendarTitle as ɵsdCalendarTitle, sdCalendarUtcDay as ɵsdCalendarUtcDay, sdCalendarVisibleDays as ɵsdCalendarVisibleDays, sdCalendarVisibleRange as ɵsdCalendarVisibleRange, sdCalendarWeekday as ɵsdCalendarWeekday, sdCalendarWeekdayLong as ɵsdCalendarWeekdayLong, sdCalendarWorkingRanges as ɵsdCalendarWorkingRanges };
1092
+ export type { ISdCalendarConfiguration, SdCalendarAgendaItemTemplateContext, SdCalendarCreateArgs, SdCalendarDateInput, SdCalendarDayCellTemplateContext, SdCalendarEmptyTemplateContext, SdCalendarEvent, SdCalendarEventTemplateContext, SdCalendarHoliday, SdCalendarLoadArgs, SdCalendarMoveError, SdCalendarMoveRequest, SdCalendarMoveScope, SdCalendarMoveSource, SdCalendarOccurrence, SdCalendarOption, SdCalendarRange, SdCalendarState, SdCalendarView, SdCalendarVisibleRange, SdCalendarWorkingHours, SdCalendarAllDayLayout as ɵSdCalendarAllDayLayout, SdCalendarBar as ɵSdCalendarBar, SdCalendarClock as ɵSdCalendarClock, SdCalendarCreateHost as ɵSdCalendarCreateHost, SdCalendarCreatePlan as ɵSdCalendarCreatePlan, SdCalendarDayParts as ɵSdCalendarDayParts, SdCalendarDaySpan as ɵSdCalendarDaySpan, SdCalendarEdgeArea as ɵSdCalendarEdgeArea, SdCalendarFormats as ɵSdCalendarFormats, SdCalendarLoadPhase as ɵSdCalendarLoadPhase, SdCalendarMoveHost as ɵSdCalendarMoveHost, SdCalendarMoveOutcome as ɵSdCalendarMoveOutcome, SdCalendarMovePlan as ɵSdCalendarMovePlan, SdCalendarPlacement as ɵSdCalendarPlacement, SdCalendarRangeInput as ɵSdCalendarRangeInput, SdCalendarSpan as ɵSdCalendarSpan, SdCalendarStacked as ɵSdCalendarStacked, SdCalendarTarget as ɵSdCalendarTarget, SdCalendarTitleKind as ɵSdCalendarTitleKind, SdCalendarTranslate as ɵSdCalendarTranslate };