@orangelogic/design-system 4.69.0 → 4.71.0

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 (294) hide show
  1. package/library/chunks/{abnfDiagram-N423BO3Z.H1zwr_k6.js → abnfDiagram-N423BO3Z.DF8zrlpl.js} +3 -3
  2. package/library/chunks/{alert.2Esbser8.js → alert.BMbwDsmP.js} +2 -2
  3. package/library/chunks/{architectureDiagram-T3A2C74G.AxjW1Pvo.js → architectureDiagram-T3A2C74G.ChMyS2RN.js} +5 -5
  4. package/library/chunks/{array-line-clamp.C0Vo0Zzg.js → array-line-clamp.Bl0fIoAD.js} +2 -2
  5. package/library/chunks/{asset-link-format.Ce_3Qz6_.js → asset-link-format.C0Bz-mEZ.js} +686 -606
  6. package/library/chunks/{asset-link-format.COPyGdND.js → asset-link-format.D6L-qc3X.js} +8 -8
  7. package/library/chunks/{audio.B0VfXBIx.js → audio.WFMBpGdz.js} +2 -2
  8. package/library/chunks/{bicolor-picker.DS9Uut25.js → bicolor-picker.BPzbYxLV.js} +1 -1
  9. package/library/chunks/{block-width.CSyA0Dwe.js → block-width.DjdPu6UK.js} +44 -44
  10. package/library/chunks/{blockDiagram-VBNYF7ZC.BA5YJ5tg.js → blockDiagram-VBNYF7ZC.Dd9MRQVF.js} +6 -6
  11. package/library/chunks/{border-input-group.B6fqiG6F.js → border-input-group.BAQeCwt1.js} +3 -3
  12. package/library/chunks/{breadcrumb.DkINVxcJ.js → breadcrumb.D9bL86V1.js} +1 -1
  13. package/library/chunks/{button.DKkHqsUz.js → button.cbOwOkfp.js} +3 -3
  14. package/library/chunks/{c4Diagram-5PPSVZJV.B1weqOqz.js → c4Diagram-5PPSVZJV.BYo1Zq25.js} +3 -3
  15. package/library/chunks/{channel.Bqlqmufs.js → channel.DQU07rrH.js} +1 -1
  16. package/library/chunks/{checkbox.BdSpQlwf.js → checkbox.BzR50Is_.js} +2 -2
  17. package/library/chunks/{chunk-2GRJ4B5K.BOBf1_FX.js → chunk-2GRJ4B5K.DSIuCed9.js} +1 -1
  18. package/library/chunks/{chunk-4I5QYGJK.DfO_P7bO.js → chunk-4I5QYGJK.C74S0dID.js} +1 -1
  19. package/library/chunks/{chunk-5RXB4S5H.oisV3Q1b.js → chunk-5RXB4S5H.BSZ9vwQ_.js} +6 -6
  20. package/library/chunks/{chunk-6Q2QTUOP.ByglL7sM.js → chunk-6Q2QTUOP.C98k0Ypz.js} +2 -2
  21. package/library/chunks/{chunk-7Z6QIM7H.BXSFN_6B.js → chunk-7Z6QIM7H.CbyAI1qL.js} +6 -6
  22. package/library/chunks/{chunk-GF5L2VYU.BBRVN_Sz.js → chunk-GF5L2VYU.BwnEI-9p.js} +6 -6
  23. package/library/chunks/{chunk-I66GZJ75.lUTR0Zxp.js → chunk-I66GZJ75.hYJHAb8_.js} +1 -1
  24. package/library/chunks/{chunk-JQJVKLGR.dOAJ_eec.js → chunk-JQJVKLGR.Ca9c6WQC.js} +8 -8
  25. package/library/chunks/{chunk-KBJHAD2P.Bfz5cQAa.js → chunk-KBJHAD2P.Dpm7St5I.js} +1 -1
  26. package/library/chunks/{chunk-NSK5VX7P.BkWzMz1o.js → chunk-NSK5VX7P.JTL9VQLt.js} +1 -1
  27. package/library/chunks/{chunk-QR6OTTB3.DyBl4spZ.js → chunk-QR6OTTB3.1iZWec7S.js} +6 -6
  28. package/library/chunks/{chunk-UBXNYLIW.BjkOeuJd.js → chunk-UBXNYLIW.DiZRcRzh.js} +2 -2
  29. package/library/chunks/{chunk-W5SLKNZC.DzlXmWcA.js → chunk-W5SLKNZC.BpdNkiim.js} +1 -1
  30. package/library/chunks/{chunk-WRU74C26.BDl8PZFV.js → chunk-WRU74C26.BREX4nlj.js} +3 -3
  31. package/library/chunks/{classDiagram-JCYQIIEL.P36yteOv.js → classDiagram-JCYQIIEL.CHysnuuw.js} +12 -12
  32. package/library/chunks/{classDiagram-v2-OCEON4UE.C05djrx3.js → classDiagram-v2-OCEON4UE.CMVfaUrJ.js} +12 -12
  33. package/library/chunks/{color-picker.DZUudAAS.js → color-picker.DbKVaaKI.js} +11 -11
  34. package/library/chunks/{color-swatch-group.CuMJc6m8.js → color-swatch-group.Cm0A4rYA.js} +24 -24
  35. package/library/chunks/{color-swatch.DXAr2gBg.js → color-swatch.Bf8fvLkg.js} +3 -3
  36. package/library/chunks/{config-manager.BFqNZV0l.js → config-manager.DB7-b-EK.js} +32 -32
  37. package/library/chunks/{configs-controller.TQDPq63n.js → configs-controller.DFWOYKsW.js} +9 -9
  38. package/library/chunks/{confirm-popover.sZVNhFPh.js → confirm-popover.CWujDeV1.js} +4 -4
  39. package/library/chunks/{copy-button.CqqKJEh3.js → copy-button.D4K7M_oK.js} +2 -2
  40. package/library/chunks/{corner-position-input-group.nTlFes0_.js → corner-position-input-group.DDWSDorz.js} +4 -4
  41. package/library/chunks/{cropper.BF32WRyP.js → cropper.D8Uu43xy.js} +1 -1
  42. package/library/chunks/{cynefinDiagram-MW4NZA55.CN3dX-zy.js → cynefinDiagram-MW4NZA55.CNmGi2wN.js} +3 -3
  43. package/library/chunks/{dagre-VZM6K2ZE.DpSsP2YW.js → dagre-VZM6K2ZE.pAZyqROg.js} +8 -8
  44. package/library/chunks/date-calendar.QUer9O4E.js +188 -0
  45. package/library/chunks/date.kywrEgxd.js +363 -0
  46. package/library/chunks/{details.DSgp6VAD.js → details.tNVJTWTC.js} +1 -1
  47. package/library/chunks/{diagram-7IWD3JNH.C3K0gCHG.js → diagram-7IWD3JNH.BDOF6I2J.js} +4 -4
  48. package/library/chunks/{diagram-B4RE2ZJO.BULgC23C.js → diagram-B4RE2ZJO.DT1Xf2Kc.js} +2 -2
  49. package/library/chunks/{diagram-LBJQPF4R.BmYYTkym.js → diagram-LBJQPF4R.i67nojTE.js} +3 -3
  50. package/library/chunks/{diagram-Q27KOJAE.Bj5ayV3p.js → diagram-Q27KOJAE.C9Y5E3pX.js} +5 -5
  51. package/library/chunks/{diagram-UB23O5K3.Bu_lTx_A.js → diagram-UB23O5K3.Dxnn2pgu.js} +3 -3
  52. package/library/chunks/{dialog.D0oTJWFf.js → dialog.Cda1uhdF.js} +3 -3
  53. package/library/chunks/{diff.Bmdpmpvo.js → diff.BLPeoeMo.js} +1 -1
  54. package/library/chunks/{document-viewer.L77oYyOp.js → document-viewer.Bimlwspw.js} +14 -14
  55. package/library/chunks/{dom.BLHsooDR.js → dom.8wD7rIGz.js} +1 -1
  56. package/library/chunks/{dot-pagination.C1C6NG8d.js → dot-pagination.QSoeQPKs.js} +2 -2
  57. package/library/chunks/{drawer.BsKzYqKe.js → drawer.D7McF8LV.js} +2 -2
  58. package/library/chunks/{dropdown.CKhoP9Cr.js → dropdown.POAxHVKf.js} +16 -7
  59. package/library/chunks/{dynamic-select.Cb3L0dIB.js → dynamic-select.CkyOkzsa.js} +5 -5
  60. package/library/chunks/{e-chart.DKFAToIc.js → e-chart.CYtsjq1T.js} +2 -2
  61. package/library/chunks/{ebnfDiagram-BXEA7PRR.Cg96HHIs.js → ebnfDiagram-BXEA7PRR.C15CrBEH.js} +3 -3
  62. package/library/chunks/{element-clamp.CGq-62gg.js → element-clamp.n_Lrq1kt.js} +2 -2
  63. package/library/chunks/{erDiagram-JOGREHBK.CrJ962th.js → erDiagram-JOGREHBK.BAFJcDwv.js} +11 -11
  64. package/library/chunks/{file-on-demand.BjUW2Ydt.js → file-on-demand.CqlWEx1w.js} +17 -17
  65. package/library/chunks/flowDiagram-UKHOOZJN.BkgRtWrB.js +16 -0
  66. package/library/chunks/{folder-select.DJ5EEod3.js → folder-select.Df1upp0M.js} +9 -9
  67. package/library/chunks/{form.D_eBa3AQ.js → form.ChOu6BIn.js} +1 -1
  68. package/library/chunks/{format-time.QkJcKYrT.js → format-time.JhYL2G9j.js} +1 -1
  69. package/library/chunks/{ganttDiagram-PKOTCBZU.D216_p5R.js → ganttDiagram-PKOTCBZU.BWKE9zb3.js} +2 -2
  70. package/library/chunks/{gitGraphDiagram-DS77QQ5N.BGTaYiUE.js → gitGraphDiagram-DS77QQ5N.Dh9BZvJA.js} +2 -2
  71. package/library/chunks/{header.CowQINf-.js → header.ClRvFgwz.js} +2 -2
  72. package/library/chunks/{i18n.Bjg2ubA4.js → i18n.X_3rP_Iz.js} +42 -1
  73. package/library/chunks/{icon-button.qJd_az6T.js → icon-button.CAfxRI1U.js} +2 -2
  74. package/library/chunks/{iframe.sl2wnUcC.js → iframe.DkQJMbzH.js} +1 -1
  75. package/library/chunks/{image-comparer.BCD6kzLm.js → image-comparer.CaUpG5Zj.js} +1 -1
  76. package/library/chunks/{image.-lgb634-.js → image.CVuRwLzz.js} +2 -2
  77. package/library/chunks/{infoDiagram-6WML65LV.BHVojFJh.js → infoDiagram-6WML65LV.BlZ2eFcf.js} +2 -2
  78. package/library/chunks/{input.DZRed6yo.js → input.C6fbxRuC.js} +19 -6
  79. package/library/chunks/{ishikawaDiagram-WSZJBQD7.nZsYnPcQ.js → ishikawaDiagram-WSZJBQD7.QMHGwtgV.js} +3 -3
  80. package/library/chunks/{journeyDiagram-NVQOT4AX.BXUxAk98.js → journeyDiagram-NVQOT4AX.C-ovuC8R.js} +2 -2
  81. package/library/chunks/{kanban-definition-27J2QSJJ.Bg8-oEtc.js → kanban-definition-27J2QSJJ.CwAo6fJw.js} +8 -8
  82. package/library/chunks/{line-clamp.Dl3_JdHX.js → line-clamp.C8G30nOV.js} +47 -28
  83. package/library/chunks/{markdown.BzDRvv-f.js → markdown.C6AfbcBc.js} +4 -4
  84. package/library/chunks/{masonry.BxNeClR6.js → masonry.Bd2v23iE.js} +3 -3
  85. package/library/chunks/{menu-item.au-gTg1F.js → menu-item.BotPBD7O.js} +3 -3
  86. package/library/chunks/{menu.BxBtGPsg.js → menu.YdOirIbC.js} +2 -2
  87. package/library/chunks/{mermaid.core.m1JI7kDY.js → mermaid.core.CGY0RVtv.js} +49 -49
  88. package/library/chunks/{mindmap-definition-FAOFIHXS.DwjOzYq5.js → mindmap-definition-FAOFIHXS.CQvqcBzU.js} +10 -10
  89. package/library/chunks/{option.DWE0tark.js → option.DXF1O3-h.js} +1 -1
  90. package/library/chunks/{padding-input-group.D2Qx15Yj.js → padding-input-group.B8ph-5ls.js} +1 -1
  91. package/library/chunks/{pagination.ByLuPMyE.js → pagination.B2hheBNY.js} +7 -7
  92. package/library/chunks/{pegDiagram-VL7TDLO6.BaVddVr3.js → pegDiagram-VL7TDLO6.CCjKBwxn.js} +3 -3
  93. package/library/chunks/{pieDiagram-7S7Q4E2Y.lZiCqBKs.js → pieDiagram-7S7Q4E2Y.BIlwtlJL.js} +3 -3
  94. package/library/chunks/{popup.w4ZU3jI-.js → popup.jgKP0_Eq.js} +2 -2
  95. package/library/chunks/{position-picker.X2hhfGx7.js → position-picker.BSOusbGw.js} +3 -3
  96. package/library/chunks/{progress-bar.CynVLLnY.js → progress-bar.D5DPdmL-.js} +1 -1
  97. package/library/chunks/{progress-ring.Bfdj3-uB.js → progress-ring.DAcWv9zS.js} +1 -1
  98. package/library/chunks/purify.es.jxOE2kAK.js +867 -0
  99. package/library/chunks/{quadrantDiagram-CIZ2JOQS.DswnHa_z.js → quadrantDiagram-CIZ2JOQS.DorpRl0y.js} +1 -1
  100. package/library/chunks/{radio-card.VEsyM8ue.js → radio-card.Bmd-28FP.js} +2 -2
  101. package/library/chunks/{radio-group.CHlxPcrs.js → radio-group.DfR13lVB.js} +1 -1
  102. package/library/chunks/{radio.DhPbmKbQ.js → radio.BmN7pFIX.js} +1 -1
  103. package/library/chunks/{railroadDiagram-AXF67PYL.RYtWvnP4.js → railroadDiagram-AXF67PYL.c5ghpRCW.js} +3 -3
  104. package/library/chunks/{range.ObEMbygm.js → range.CI4oCDot.js} +3 -3
  105. package/library/chunks/{rating.CNeNn996.js → rating.CwqqF6CH.js} +1 -1
  106. package/library/chunks/{relative-time.BfE3UOhF.js → relative-time.CXeuhQzB.js} +1 -1
  107. package/library/chunks/{requirementDiagram-LRYGKXZP.BhxZAEJL.js → requirementDiagram-LRYGKXZP.MlkqKyhd.js} +10 -10
  108. package/library/chunks/{sankeyDiagram-W5VNT64P.Dk8npZSg.js → sankeyDiagram-W5VNT64P.Ch23b1-S.js} +1 -1
  109. package/library/chunks/{select.BV0Necz7.js → select.D6nU_tMZ.js} +112 -108
  110. package/library/chunks/{sequenceDiagram-SI44F4Z6.BNjBc769.js → sequenceDiagram-SI44F4Z6.CZxsjRpC.js} +4 -4
  111. package/library/chunks/{shadow-input-group.Xxuzm8Qe.js → shadow-input-group.DQDXISvK.js} +2 -2
  112. package/library/chunks/{share-option-list.DOaEypfQ.js → share-option-list.B9Raz9GO.js} +3 -3
  113. package/library/chunks/{sidebar.CiZOJ49X.js → sidebar.7phLIXE9.js} +2 -2
  114. package/library/chunks/{size-input-group.wXuG0-RB.js → size-input-group._YdmvlAr.js} +5 -5
  115. package/library/chunks/{spinner.Bv06U7NJ.js → spinner.BfyplUu3.js} +1 -1
  116. package/library/chunks/{split-panel.Cag0lAvv.js → split-panel.CUs1jgH4.js} +1 -1
  117. package/library/chunks/{src.Dia365C9.js → src.Bs5rZ16K.js} +26 -26
  118. package/library/chunks/src.tHpCbOII.js +103 -0
  119. package/library/chunks/{stateDiagram-OKZ733FA.DkiIgxjd.js → stateDiagram-OKZ733FA.JCaGHMmH.js} +12 -12
  120. package/library/chunks/{stateDiagram-v2-UEYNNEHI.oVj_Ex1_.js → stateDiagram-v2-UEYNNEHI.CKrKpvxj.js} +12 -12
  121. package/library/chunks/{step.D93ReCO1.js → step.BRT1Duvf.js} +3 -3
  122. package/library/chunks/{stepper-wizard.CPZ2mSze.js → stepper-wizard.CAzhXeYZ.js} +2 -2
  123. package/library/chunks/{stepper.D0JB_GVh.js → stepper.C_a00Rul.js} +1 -1
  124. package/library/chunks/{string.9yahdkB8.js → string.TY0RTPc8.js} +1 -1
  125. package/library/chunks/{swimlanes-SLNWSIFB.DKU7qXJ7.js → swimlanes-SLNWSIFB.BnCITr-P.js} +8 -8
  126. package/library/chunks/{swimlanesDiagram-ULZ7WXOC.DYwYMO_K.js → swimlanesDiagram-ULZ7WXOC.DMYLowNi.js} +12 -12
  127. package/library/chunks/{switch.BM9msK5T.js → switch.BuleQplE.js} +1 -1
  128. package/library/chunks/{tab-group.dnnT9Mk6.js → tab-group.Bj4mUm_k.js} +8 -8
  129. package/library/chunks/{tab.CYYAua8Y.js → tab.BbIB084o.js} +3 -3
  130. package/library/chunks/{tag.DQLauctm.js → tag.3vLG7AWG.js} +3 -3
  131. package/library/chunks/{textarea.CHSZI8vt.js → textarea.BQV58bk8.js} +1 -1
  132. package/library/chunks/{timecode.DjI1OTXD.js → timecode.B6JsxLxl.js} +1 -1
  133. package/library/chunks/{timeline-definition-Z64GVDOM.agRZ87Zs.js → timeline-definition-Z64GVDOM.DpGlraiA.js} +3 -3
  134. package/library/chunks/{tooltip.Cc02vm6M.js → tooltip.CaAdk5m9.js} +17 -21
  135. package/library/chunks/{tree.BI7r-WnZ.js → tree.D_yv5J9e.js} +4 -4
  136. package/library/chunks/{typeface.DTLrIP0B.js → typeface.J4nY7adt.js} +3 -3
  137. package/library/chunks/{vennDiagram-T6HMQDX7.Cd9lVObe.js → vennDiagram-T6HMQDX7.DYlGT1g9.js} +3 -3
  138. package/library/chunks/{video.DWmHPbXO.js → video.D07SfJEm.js} +6 -6
  139. package/library/chunks/{wardleyDiagram-T6FBY63Y.yCklp5Oa.js → wardleyDiagram-T6FBY63Y.DFkqP4xG.js} +3 -3
  140. package/library/chunks/{xychartDiagram-ELKLHX3M.CLuRN0XK.js → xychartDiagram-ELKLHX3M.CmCPBha7.js} +5 -5
  141. package/library/components/alert.js +1 -1
  142. package/library/components/array-line-clamp.js +1 -1
  143. package/library/components/asset-link-format.js +1 -1
  144. package/library/components/atoms.js +57 -57
  145. package/library/components/audio.js +1 -1
  146. package/library/components/bicolor-picker.js +1 -1
  147. package/library/components/border-input-group.js +1 -1
  148. package/library/components/breadcrumb.js +1 -1
  149. package/library/components/button.js +1 -1
  150. package/library/components/checkbox.js +1 -1
  151. package/library/components/color-picker.js +1 -1
  152. package/library/components/color-swatch-group.js +1 -1
  153. package/library/components/color-swatch.js +1 -1
  154. package/library/components/confirm-popover.js +1 -1
  155. package/library/components/copy-button.js +1 -1
  156. package/library/components/corner-position-input-group.js +1 -1
  157. package/library/components/cropper.js +1 -1
  158. package/library/components/date-calendar.js +1 -1
  159. package/library/components/details.js +1 -1
  160. package/library/components/dialog.js +1 -1
  161. package/library/components/diff.js +1 -1
  162. package/library/components/document-viewer.js +1 -1
  163. package/library/components/dot-pagination.js +1 -1
  164. package/library/components/drawer.js +1 -1
  165. package/library/components/dropdown.js +1 -1
  166. package/library/components/dynamic-select.js +1 -1
  167. package/library/components/e-chart.js +1 -1
  168. package/library/components/element-clamp.js +1 -1
  169. package/library/components/file-on-demand.js +1 -1
  170. package/library/components/folder-select.js +1 -1
  171. package/library/components/format-bytes.js +1 -1
  172. package/library/components/format-date.js +1 -1
  173. package/library/components/format-number.js +1 -1
  174. package/library/components/format-time.js +1 -1
  175. package/library/components/header.js +1 -1
  176. package/library/components/icon-button.js +1 -1
  177. package/library/components/iframe.js +1 -1
  178. package/library/components/image-comparer.js +1 -1
  179. package/library/components/image.js +1 -1
  180. package/library/components/input.js +1 -1
  181. package/library/components/line-clamp.js +1 -1
  182. package/library/components/markdown.js +1 -1
  183. package/library/components/masonry.js +1 -1
  184. package/library/components/menu-item.js +1 -1
  185. package/library/components/menu.js +1 -1
  186. package/library/components/molecules.js +17 -17
  187. package/library/components/option.js +1 -1
  188. package/library/components/organisms.js +3 -3
  189. package/library/components/padding-input-group.js +1 -1
  190. package/library/components/pagination.js +1 -1
  191. package/library/components/popup.js +1 -1
  192. package/library/components/position-picker.js +1 -1
  193. package/library/components/progress-bar.js +1 -1
  194. package/library/components/progress-ring.js +1 -1
  195. package/library/components/radio-card.js +1 -1
  196. package/library/components/radio-group.js +1 -1
  197. package/library/components/radio.js +1 -1
  198. package/library/components/range.js +1 -1
  199. package/library/components/rating.js +1 -1
  200. package/library/components/relative-time.js +1 -1
  201. package/library/components/select.js +1 -1
  202. package/library/components/shadow-input-group.js +1 -1
  203. package/library/components/share-option-list.js +1 -1
  204. package/library/components/sidebar.js +1 -1
  205. package/library/components/size-input-group.js +1 -1
  206. package/library/components/spinner.js +1 -1
  207. package/library/components/split-panel.js +1 -1
  208. package/library/components/step.js +1 -1
  209. package/library/components/stepper-wizard.js +1 -1
  210. package/library/components/stepper.js +1 -1
  211. package/library/components/switch.js +1 -1
  212. package/library/components/tab-group.js +1 -1
  213. package/library/components/tab.js +1 -1
  214. package/library/components/tag.js +1 -1
  215. package/library/components/textarea.js +1 -1
  216. package/library/components/timecode.js +1 -1
  217. package/library/components/tooltip.js +1 -1
  218. package/library/components/tree-item.js +1 -1
  219. package/library/components/tree.js +1 -1
  220. package/library/components/typeface.js +1 -1
  221. package/library/components/types.js +21888 -19121
  222. package/library/components/video.js +1 -1
  223. package/library/package.json +1 -1
  224. package/library/packages/atoms/src/components/checkbox/checkbox.d.ts +2 -2
  225. package/library/packages/atoms/src/components/date-calendar/date-calendar.d.ts +62 -9
  226. package/library/packages/atoms/src/components/dropdown/dropdown.d.ts +6 -0
  227. package/library/packages/atoms/src/components/input/input.d.ts +20 -1
  228. package/library/packages/atoms/src/components/line-clamp/line-clamp.d.ts +3 -0
  229. package/library/packages/atoms/src/components/radio/radio.d.ts +3 -0
  230. package/library/packages/atoms/src/components/select/select.d.ts +0 -4
  231. package/library/packages/atoms/src/components/tooltip/tooltip.d.ts +4 -1
  232. package/library/packages/events/src/cx-search-facet-date-change.d.ts +11 -0
  233. package/library/packages/events/src/cx-search-facet-focus-title.d.ts +10 -0
  234. package/library/packages/events/src/cx-search-facet-reset.d.ts +12 -0
  235. package/library/packages/events/src/cx-search-facet-select-all.d.ts +13 -0
  236. package/library/packages/events/src/cx-search-facet-show-more.d.ts +12 -0
  237. package/library/packages/events/src/cx-search-facet-toggle.d.ts +11 -0
  238. package/library/packages/events/src/cx-search-facets-apply.d.ts +17 -0
  239. package/library/packages/events/src/cx-search-facets-change-filters.d.ts +6 -0
  240. package/library/packages/events/src/cx-search-facets-clear-all.d.ts +10 -0
  241. package/library/packages/events/src/cx-search-facets-custom.d.ts +10 -0
  242. package/library/packages/events/src/cx-search-facets-facet-expand.d.ts +9 -0
  243. package/library/packages/events/src/cx-search-facets-node-expand.d.ts +11 -0
  244. package/library/packages/events/src/cx-search-facets-refresh.d.ts +6 -0
  245. package/library/packages/events/src/cx-search-facets-show-more.d.ts +8 -0
  246. package/library/packages/events/src/cx-search-facets-summary-expand.d.ts +9 -0
  247. package/library/packages/events/src/cx-search-facets-summary-remove.d.ts +12 -0
  248. package/library/packages/events/src/events.d.ts +16 -0
  249. package/library/packages/molecules/src/input-date-picker/input-date-picker.d.ts +116 -0
  250. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +43 -2
  251. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +7 -2
  252. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-dimensions/asset-link-format-dimensions.d.ts +12 -3
  253. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-quality/asset-link-format-quality.d.ts +1 -0
  254. package/library/packages/organisms/src/index.d.ts +1 -0
  255. package/library/packages/organisms/src/search-facets/components/search-facet/search-facet.d.ts +95 -0
  256. package/library/packages/organisms/src/search-facets/components/search-facet/search-facet.styles.d.ts +2 -0
  257. package/library/packages/organisms/src/search-facets/components/search-facet-advanced-date/advanced-date-reading.d.ts +90 -0
  258. package/library/packages/organisms/src/search-facets/components/search-facet-advanced-date/search-facet-advanced-date.d.ts +85 -0
  259. package/library/packages/organisms/src/search-facets/components/search-facet-advanced-date/search-facet-advanced-date.styles.d.ts +2 -0
  260. package/library/packages/organisms/src/search-facets/components/search-facet-color/search-facet-color.d.ts +47 -0
  261. package/library/packages/organisms/src/search-facets/components/search-facet-color/search-facet-color.styles.d.ts +2 -0
  262. package/library/packages/organisms/src/search-facets/components/search-facet-date/date-range-validation.d.ts +67 -0
  263. package/library/packages/organisms/src/search-facets/components/search-facet-date/search-facet-date.d.ts +120 -0
  264. package/library/packages/organisms/src/search-facets/components/search-facet-date/search-facet-date.styles.d.ts +2 -0
  265. package/library/packages/organisms/src/search-facets/components/search-facet-similar/search-facet-similar.d.ts +44 -0
  266. package/library/packages/organisms/src/search-facets/components/search-facet-similar/search-facet-similar.styles.d.ts +2 -0
  267. package/library/packages/organisms/src/search-facets/components/search-facet-tree/search-facet-tree.d.ts +104 -0
  268. package/library/packages/organisms/src/search-facets/components/search-facet-tree/search-facet-tree.styles.d.ts +2 -0
  269. package/library/packages/organisms/src/search-facets/components/search-facet-tree/visible-nodes.d.ts +36 -0
  270. package/library/packages/organisms/src/search-facets/components/search-facets-summary/search-facets-summary.d.ts +67 -0
  271. package/library/packages/organisms/src/search-facets/components/search-facets-summary/search-facets-summary.styles.d.ts +2 -0
  272. package/library/packages/organisms/src/search-facets/search-facets.d.ts +198 -0
  273. package/library/packages/organisms/src/search-facets/search-facets.fixtures.d.ts +141 -0
  274. package/library/packages/organisms/src/search-facets/search-facets.styles.d.ts +2 -0
  275. package/library/packages/organisms/src/search-facets/state/date-drafts.d.ts +11 -0
  276. package/library/packages/organisms/src/search-facets/state/long-panel.d.ts +7 -0
  277. package/library/packages/organisms/src/search-facets/state/preview-summary.d.ts +17 -0
  278. package/library/packages/organisms/src/search-facets/state/preview-waiting-changes.d.ts +12 -0
  279. package/library/packages/organisms/src/search-facets/state/response-correlation.d.ts +9 -0
  280. package/library/packages/organisms/src/search-facets/state/waiting-changes.d.ts +179 -0
  281. package/library/packages/organisms/src/search-facets/types.d.ts +347 -0
  282. package/library/packages/types/src/asset-link-format.d.ts +6 -0
  283. package/library/packages/types/src/search-facets.d.ts +104 -0
  284. package/library/packages/utils/src/custom-element/i18n.d.ts +41 -0
  285. package/library/packages/utils/src/date/calendar-grid.d.ts +5 -6
  286. package/library/packages/utils/src/date/date.d.ts +7 -1
  287. package/library/react-web-component.d.ts +99 -9
  288. package/library/utils.js +13 -13
  289. package/package.json +1 -1
  290. package/library/chunks/date-calendar.B7e6WBzh.js +0 -78
  291. package/library/chunks/date.BL4L64Hx.js +0 -358
  292. package/library/chunks/flowDiagram-UKHOOZJN.Bj_loY7-.js +0 -16
  293. package/library/chunks/purify.es.Bwsrv9kG.js +0 -866
  294. package/library/chunks/src.DKhoCHMa.js +0 -103
@@ -0,0 +1,188 @@
1
+ import { c as e, d as t } from "./lit.CyJqR2kf.js";
2
+ import { a as n, i as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtdr.js";
3
+ import { t as s } from "./query.B1yi7t71.js";
4
+ import { t as c } from "./component.styles.0xM1ZmBs.js";
5
+ import { t as l } from "./custom-element.BEMYNDK1.js";
6
+ import { t as u } from "./i18n.X_3rP_Iz.js";
7
+ import { t as d } from "./class-map.D8nsNOVJ.js";
8
+ import { t as f } from "./icon-button.CAfxRI1U.js";
9
+ import { t as p } from "./repeat.CKv9FPlC.js";
10
+ import { C as m, S as h, _ as g, b as _, d as v, u as y, v as b } from "./date.kywrEgxd.js";
11
+ //#region ../../packages/atoms/src/components/date-calendar/date-calendar.styles.ts
12
+ var x = t`:host{display:inline-block}.calendar{--_line:var(--calendar-border-color,color-mix(in srgb, var(--cx-color-neutral-900) 55%, var(--cx-color-neutral-0)));--_disabled-color:color-mix(in srgb, var(--cx-color-neutral-900) 62%, var(--cx-color-neutral-100));background:var(--cx-color-neutral-0);border:1px solid var(--_line);border-radius:var(--cx-border-radius-medium);user-select:none;width:fit-content;overflow:hidden}.calendar__header{padding:var(--cx-spacing-3x-small);background:var(--header-background,var(--cx-color-neutral-100));border-bottom:1px solid var(--_line);justify-content:space-between;align-items:center;display:flex}.calendar__title{font-size:var(--cx-font-size-small);font-weight:var(--cx-font-weight-semibold);color:var(--cx-color-neutral-900)}.calendar__weekdays{grid-template-columns:repeat(7, var(--cell-size,30px));border-bottom:1px solid var(--_line);display:grid}.calendar__weekday{text-align:center;font-size:var(--cx-font-size-2x-small);font-weight:var(--cx-font-weight-regular);color:var(--cx-input-help-text-color);padding-block:var(--cx-spacing-2x-small)}.calendar__grid{border-top:1px solid var(--_line);border-left:1px solid var(--_line);flex-direction:column;display:flex}.calendar__week{grid-template-columns:repeat(7, var(--cell-size,30px));display:grid}.calendar__cell:focus-visible{z-index:1;outline:var(--cx-focus-ring);outline-offset:calc(-1 * var(--cx-focus-ring-width));outline-color:color-mix(in srgb, var(--cx-focus-ring-color) 85%, var(--cx-color-neutral-900));position:relative}.calendar__cell{height:var(--cell-size,30px);border:none;border-right:1px solid var(--_line);border-bottom:1px solid var(--_line);border-radius:var(--cell-border-radius,0);color:var(--cx-color-neutral-900);font-size:var(--cx-font-size-x-small);cursor:pointer;transition:background var(--cx-transition-x-fast) ease;background:0 0;justify-content:center;align-items:center;padding:0;display:flex}.calendar__cell:hover:not(.calendar__cell--selected):not(.calendar__cell--disabled){background:var(--cell-hover-background,var(--cx-color-primary-50))}.calendar__cell--disabled{background:var(--cx-color-neutral-50);color:var(--_disabled-color);cursor:not-allowed}.calendar__cell--outside{background:var(--cx-color-neutral-100);color:var(--cell-outside-color,color-mix(in srgb, var(--cx-color-neutral-900) 80%, var(--cx-color-neutral-100)))}.calendar__cell--outside.calendar__cell--disabled:not(.calendar__cell--selected){color:var(--_disabled-color)}.calendar__cell--today:not(.calendar__cell--selected){background:var(--cell-today-background,var(--cx-color-primary-200));box-shadow:inset 0 0 0 1px var(--cx-color-primary-700)}.calendar__cell--selected{background:var(--cell-selected-background,var(--cx-color-neutral-600));color:var(--cell-selected-color,var(--cx-color-neutral-0));font-weight:var(--cx-font-weight-bold)}.calendar__cell--selected:hover{background:var(--cell-selected-background,var(--cx-color-neutral-600));opacity:.9}.calendar__cell--selected:focus-visible{box-shadow:inset 0 0 0 calc(var(--cx-focus-ring-width) + 2px) var(--cx-color-neutral-0)}`, S = 7, C = new Date(2026, 0, 4);
13
+ function w(e, t, n) {
14
+ let r = new Date(2e3, 0, 1);
15
+ return r.setFullYear(e, t - 1, n), r;
16
+ }
17
+ function T(e, t) {
18
+ let { day: n, month: r, year: i } = h(e), a = w(i, r, n + t);
19
+ return m(a.getFullYear(), a.getMonth() + 1, a.getDate());
20
+ }
21
+ function E(e, t) {
22
+ let { day: n, month: r, year: i } = h(e), a = v(i, r, t), o = w(a.year, a.month + 1, 0).getDate();
23
+ return m(a.year, a.month, Math.min(n, o));
24
+ }
25
+ function D(e, t) {
26
+ let { month: n, year: r } = h(e), i = t === "start" ? 1 : w(r, n + 1, 0).getDate();
27
+ return m(r, n, i);
28
+ }
29
+ var O = class extends o {
30
+ constructor(...e) {
31
+ super(...e), this.localize = new u(this), this.today = g(), this.cells = [], this.shouldFocusActiveDay = !1, this.value = "", this.min = "", this.max = "", this.firstDayOfWeek = 0, this.trapFocus = !1, this.selectedDate = "", this.viewYear = (/* @__PURE__ */ new Date()).getFullYear(), this.viewMonth = (/* @__PURE__ */ new Date()).getMonth() + 1, this.activeDate = this.today;
32
+ }
33
+ static #e = this.styles = [c, x];
34
+ static #t = this.dependencies = { "cx-icon-button": f };
35
+ willUpdate(e) {
36
+ if (super.willUpdate(e), e.has("value")) {
37
+ let e = _(this.value);
38
+ this.selectedDate = e ?? "", this.setActiveDate(e ?? this.today);
39
+ }
40
+ this.cells = y.generate({
41
+ firstDayOfWeek: this.firstDayOfWeek,
42
+ maxDate: this.max,
43
+ minDate: this.min,
44
+ selectedDate: this.selectedDate,
45
+ todayDate: this.today,
46
+ viewMonth: this.viewMonth,
47
+ viewYear: this.viewYear
48
+ }), this.activeDate = this.nearestEnabledCellDate(this.activeDate);
49
+ }
50
+ get hasEnabledCell() {
51
+ return this.cells.some((e) => !e.isDisabled);
52
+ }
53
+ nearestEnabledCellDate(e) {
54
+ let t = this.cells.filter((e) => !e.isDisabled);
55
+ if (t.some((t) => t.date === e)) return e;
56
+ if (t.length === 0) return m(this.viewYear, this.viewMonth, 1);
57
+ let n = t.filter((e) => !e.isOutside), r = n.length > 0 ? n : t;
58
+ return (r.find((t) => t.date > e) ?? r[r.length - 1]).date;
59
+ }
60
+ updated(e) {
61
+ super.updated(e), this.shouldFocusActiveDay && (this.shouldFocusActiveDay = !1, this.activeCellButton?.focus());
62
+ }
63
+ async focusActiveDay(e) {
64
+ let t = (e && b(e) ? e : "") || this.selectedDate || this.today;
65
+ this.setActiveDate(this.clampToRange(t)), await this.updateComplete, this.activeCellButton?.focus();
66
+ }
67
+ get activeCellButton() {
68
+ return this.shadowRoot?.querySelector(`[data-date="${this.activeDate}"]`);
69
+ }
70
+ setActiveDate(e) {
71
+ let { month: t, year: n } = h(e);
72
+ this.activeDate = e, this.viewYear = n, this.viewMonth = t;
73
+ }
74
+ handlePrevMonth() {
75
+ this.showMonth(-1);
76
+ }
77
+ handleNextMonth() {
78
+ this.showMonth(1);
79
+ }
80
+ showMonth(e) {
81
+ let { month: t, year: n } = v(this.viewYear, this.viewMonth, e);
82
+ this.viewYear = n, this.viewMonth = t, this.activeDate = E(this.activeDate, e);
83
+ }
84
+ handleGridClick(e) {
85
+ let t = e.target.closest("[data-date]");
86
+ t && this.selectDate(t.dataset.date);
87
+ }
88
+ selectDate(e) {
89
+ let t = this.cells.find((t) => t.date === e);
90
+ t && !t.isDisabled && (this.activeDate = t.date, this.selectedDate = t.date, this.emit("cx-date-select", { detail: { value: t.date } }));
91
+ }
92
+ handleGridKeyDown(e) {
93
+ if (e.key === "Enter" || e.key === " ") {
94
+ e.preventDefault(), this.selectDate(this.activeDate);
95
+ return;
96
+ }
97
+ let t = this.dateForKey(e);
98
+ t && (e.preventDefault(), this.setActiveDate(this.clampToRange(t)), this.shouldFocusActiveDay = !0);
99
+ }
100
+ clampToRange(e) {
101
+ return b(this.min) && e < this.min ? this.min : b(this.max) && e > this.max ? this.max : e;
102
+ }
103
+ dateForKey(e) {
104
+ let t = this.activeDate;
105
+ switch (e.key) {
106
+ case "ArrowLeft": return T(t, -1);
107
+ case "ArrowRight": return T(t, 1);
108
+ case "ArrowUp": return T(t, -7);
109
+ case "ArrowDown": return T(t, S);
110
+ case "PageUp": return E(t, e.shiftKey ? -12 : -1);
111
+ case "PageDown": return E(t, e.shiftKey ? 12 : 1);
112
+ case "Home": return D(t, "start");
113
+ case "End": return D(t, "end");
114
+ default: return;
115
+ }
116
+ }
117
+ handleKeyDown(e) {
118
+ if (!this.trapFocus || e.key !== "Tab") return;
119
+ let t = this.hasEnabledCell ? [
120
+ this.prevButton,
121
+ this.nextButton,
122
+ this.gridElement
123
+ ] : [this.prevButton, this.nextButton], n = this.hasEnabledCell ? t.length - 1 : -1, r = this.shadowRoot?.activeElement, i = (t.findIndex((e) => !!e && (e === r || e.contains(r ?? null))) + (e.shiftKey ? t.length - 1 : 1) + t.length) % t.length;
124
+ e.preventDefault(), i === n ? this.activeCellButton?.focus() : t[i]?.focus();
125
+ }
126
+ get weekdays() {
127
+ return Array.from({ length: S }, (e, t) => {
128
+ let n = new Date(C);
129
+ return n.setDate(C.getDate() + (t + this.weekStart) % S), {
130
+ long: this.localize.date(n, { weekday: "long" }),
131
+ short: this.localize.date(n, { weekday: "short" })
132
+ };
133
+ });
134
+ }
135
+ get weekStart() {
136
+ let e = this.firstDayOfWeek;
137
+ return Number.isInteger(e) && e >= 0 && e < S ? e : 0;
138
+ }
139
+ get monthTitle() {
140
+ return this.localize.date(w(this.viewYear, this.viewMonth, 1), {
141
+ month: "long",
142
+ year: "numeric"
143
+ });
144
+ }
145
+ dayLabel(e) {
146
+ return this.localize.date(w(e.year, e.month, e.day), {
147
+ day: "numeric",
148
+ month: "long",
149
+ weekday: "long",
150
+ year: "numeric"
151
+ });
152
+ }
153
+ renderHeader() {
154
+ return e`<div part="header" class="calendar__header"><cx-icon-button class="calendar__nav calendar__nav--prev" name="chevron_left" label=${this.localize.term("previousMonth")} size="small" @click=${this.handlePrevMonth}></cx-icon-button><span class="calendar__title" id="calendar-title" aria-live="polite">${this.monthTitle}</span><cx-icon-button class="calendar__nav calendar__nav--next" name="chevron_right" label=${this.localize.term("nextMonth")} size="small" @click=${this.handleNextMonth}></cx-icon-button></div>`;
155
+ }
156
+ renderWeekdays() {
157
+ let t = this.weekdays.map((t) => e`<div class="calendar__weekday" role="columnheader" aria-label=${t.long}>${t.short}</div>`);
158
+ return e`<div class="calendar__weekdays" role="row">${t}</div>`;
159
+ }
160
+ renderCell(t) {
161
+ let n = t.date === this.activeDate;
162
+ return e`<button part="cell" class=${d({
163
+ calendar__cell: !0,
164
+ "calendar__cell--disabled": t.isDisabled,
165
+ "calendar__cell--outside": t.isOutside,
166
+ "calendar__cell--selected": t.isSelected,
167
+ "calendar__cell--today": t.isToday
168
+ })} type="button" role="gridcell" tabindex=${n && !t.isDisabled ? "0" : "-1"} ?disabled=${t.isDisabled} data-date=${t.date} aria-label=${this.dayLabel(t)} aria-selected=${t.isSelected ? "true" : "false"} aria-current=${t.isToday ? "date" : "false"}>${t.day}</button>`;
169
+ }
170
+ renderWeeks() {
171
+ let t = [];
172
+ for (let e = 0; e < this.cells.length; e += S) t.push(this.cells.slice(e, e + S));
173
+ return p(t, (e) => e[0]?.date, (t) => e`<div class="calendar__week" role="row">${p(t, (e) => e.date, (e) => this.renderCell(e))}</div>`);
174
+ }
175
+ render() {
176
+ return e`<div part="base" class="calendar" @keydown=${this.handleKeyDown}>${this.renderHeader()}<div class="calendar__table" role="grid" aria-labelledby="calendar-title">${this.renderWeekdays()}<div part="grid" class="calendar__grid" role="rowgroup" @click=${this.handleGridClick} @keydown=${this.handleGridKeyDown}>${this.renderWeeks()}</div></div></div>`;
177
+ }
178
+ };
179
+ i([s(".calendar__nav--prev"), a("design:type", f === void 0 ? Object : f)], O.prototype, "prevButton", void 0), i([s(".calendar__nav--next"), a("design:type", f === void 0 ? Object : f)], O.prototype, "nextButton", void 0), i([s(".calendar__grid"), a("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], O.prototype, "gridElement", void 0), i([n({ type: String }), a("design:type", Object)], O.prototype, "value", void 0), i([n({ type: String }), a("design:type", Object)], O.prototype, "min", void 0), i([n({ type: String }), a("design:type", Object)], O.prototype, "max", void 0), i([n({
180
+ attribute: "first-day-of-week",
181
+ type: Number
182
+ }), a("design:type", Object)], O.prototype, "firstDayOfWeek", void 0), i([n({
183
+ attribute: "trap-focus",
184
+ type: Boolean
185
+ }), a("design:type", Object)], O.prototype, "trapFocus", void 0), i([r(), a("design:type", Object)], O.prototype, "selectedDate", void 0), i([r(), a("design:type", Object)], O.prototype, "viewYear", void 0), i([r(), a("design:type", Object)], O.prototype, "viewMonth", void 0), i([r(), a("design:type", Object)], O.prototype, "activeDate", void 0), O = i([l("cx-date-calendar")], O);
186
+ var k = O;
187
+ //#endregion
188
+ export { k as t };
@@ -0,0 +1,363 @@
1
+ //#region ../../packages/utils/src/date/date.ts
2
+ var e = /^\d{4}-\d{2}-\d{2}$/;
3
+ function t(e, t, n) {
4
+ let r = new Date(2e3, 0, 1);
5
+ return r.setFullYear(e, t, n), r;
6
+ }
7
+ function n(n) {
8
+ if (!e.test(n)) return !1;
9
+ let [r, i, a] = n.split("-").map(Number), o = t(r, i - 1, a);
10
+ return r >= 1 && o.getFullYear() === r && o.getMonth() === i - 1 && o.getDate() === a;
11
+ }
12
+ function r(e, t, n) {
13
+ return [
14
+ String(e).padStart(4, "0"),
15
+ String(t).padStart(2, "0"),
16
+ String(n).padStart(2, "0")
17
+ ].join("-");
18
+ }
19
+ function i(e) {
20
+ let [t, n, r] = e.split("-").map(Number);
21
+ return {
22
+ day: r,
23
+ month: n,
24
+ year: t
25
+ };
26
+ }
27
+ function a(e) {
28
+ if (!n(e)) return;
29
+ let { day: r, month: a, year: o } = i(e);
30
+ return t(o, a - 1, r);
31
+ }
32
+ function o(e) {
33
+ let t = e.includes("/") ? "/" : "-";
34
+ return {
35
+ order: e.split(t),
36
+ separator: t
37
+ };
38
+ }
39
+ function s(e) {
40
+ let { order: t, separator: n } = o(e), r = {
41
+ DD: "d",
42
+ MM: "m",
43
+ YYYY: "Y"
44
+ };
45
+ return t.map((e) => r[e]).join(`{${n}}`);
46
+ }
47
+ function c(e, t) {
48
+ if (!e) return "";
49
+ let [n, r, i] = e.split("-"), { order: a, separator: s } = o(t), c = {
50
+ DD: i,
51
+ MM: r,
52
+ YYYY: n
53
+ };
54
+ return a.map((e) => c[e]).join(s);
55
+ }
56
+ function l(e, t) {
57
+ let { order: n, separator: r } = o(t), i = e.split(r);
58
+ if (i.length !== 3) return "";
59
+ let a = {
60
+ DD: "",
61
+ MM: "",
62
+ YYYY: ""
63
+ };
64
+ n.forEach((e, t) => {
65
+ a[e] = i[t];
66
+ });
67
+ let { DD: s, MM: c, YYYY: l } = a;
68
+ return !s || !c || l.length < 4 ? "" : `${l}-${c.padStart(2, "0")}-${s.padStart(2, "0")}`;
69
+ }
70
+ function u() {
71
+ let e = /* @__PURE__ */ new Date();
72
+ return r(e.getFullYear(), e.getMonth() + 1, e.getDate());
73
+ }
74
+ function d(e, n, r) {
75
+ let i = t(e, n - 1 + r, 1);
76
+ return {
77
+ month: i.getMonth() + 1,
78
+ year: i.getFullYear()
79
+ };
80
+ }
81
+ function f(e, n) {
82
+ return t(e, n - 1, 1).toLocaleDateString("en-US", {
83
+ month: "long",
84
+ year: "numeric"
85
+ });
86
+ }
87
+ function p(e, n) {
88
+ return t(e, n - 1, 1).getDay();
89
+ }
90
+ var m = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z$/;
91
+ function h(e) {
92
+ let t = new Date(e);
93
+ return isNaN(t.getTime()) ? null : r(t.getFullYear(), t.getMonth() + 1, t.getDate());
94
+ }
95
+ function g(e) {
96
+ return e ? n(e) ? e : m.test(e) ? h(e) : (console.warn(`[normalizeToIsoDate] Unsupported date format: "${e}". Expected YYYY-MM-DD or ISO UTC datetime (e.g. 2026-06-05T00:00:00.000Z).`), null) : null;
97
+ }
98
+ function _(e) {
99
+ return typeof e != "number" || !Number.isInteger(e) ? 0 : e >= 0 && e < 7 ? e : 0;
100
+ }
101
+ var v = class {
102
+ static generate(e) {
103
+ let { maxDate: i, minDate: a, selectedDate: o, todayDate: s, viewMonth: c, viewYear: l } = e, u = _(e.firstDayOfWeek), d = (p(l, c) - u + 7) % 7, f = t(l, c, 0).getDate(), m = Math.ceil((d + f) / 7) * 7, h = t(l, c - 1, 1 - d), g = [];
104
+ for (let e = 0; e < m; e++) {
105
+ let t = new Date(h);
106
+ t.setDate(h.getDate() + e);
107
+ let l = t.getFullYear(), u = t.getMonth() + 1, d = t.getDate(), f = r(l, u, d), p = n(a) && f < a, m = n(i) && f > i;
108
+ g.push({
109
+ date: f,
110
+ day: d,
111
+ isDisabled: p || m,
112
+ isOutside: u !== c,
113
+ isSelected: n(o) && f === o,
114
+ isToday: f === s,
115
+ month: u,
116
+ year: l
117
+ });
118
+ }
119
+ return g;
120
+ }
121
+ }, y = "00:00:00", b = "23:59:59", x = Array.from({ length: 24 }, (e, t) => {
122
+ let n = t < 12 ? "am" : "pm";
123
+ return {
124
+ label: `${t % 12 || 12}${n}`,
125
+ value: String(t).padStart(2, "0")
126
+ };
127
+ }), S = Array.from({ length: 60 }, (e, t) => String(t).padStart(2, "0")), C = {
128
+ last2Days: "last-2-days",
129
+ last30Days: "last-30-days",
130
+ last30Minutes: "last-30-minutes",
131
+ last3Days: "last-3-days",
132
+ lastDay: "last-day",
133
+ lastHalfYear: "last-half-year",
134
+ lastMonth: "last-month",
135
+ lastQuarter: "last-quarter",
136
+ lastWeek: "last-week",
137
+ lastYear: "last-year",
138
+ next30Days: "next-30-days",
139
+ thisHalfYear: "this-half-year",
140
+ thisMonth: "this-month",
141
+ thisQuarter: "this-quarter",
142
+ thisWeek: "this-week",
143
+ thisYear: "this-year",
144
+ today: "today"
145
+ }, w = [
146
+ C.last30Minutes,
147
+ C.today,
148
+ C.lastDay,
149
+ C.last2Days,
150
+ C.last3Days,
151
+ C.last30Days,
152
+ C.next30Days,
153
+ C.thisWeek,
154
+ C.lastWeek,
155
+ C.thisMonth,
156
+ C.lastMonth,
157
+ C.lastQuarter,
158
+ C.lastHalfYear,
159
+ C.thisQuarter,
160
+ C.thisHalfYear,
161
+ C.thisYear,
162
+ C.lastYear
163
+ ], T = {
164
+ [C.last2Days]: "presetLast2Days",
165
+ [C.last3Days]: "presetLast3Days",
166
+ [C.last30Days]: "presetLast30Days",
167
+ [C.last30Minutes]: "presetLast30Minutes",
168
+ [C.lastDay]: "presetLastDay",
169
+ [C.lastHalfYear]: "presetLastHalfYear",
170
+ [C.lastMonth]: "presetLastMonth",
171
+ [C.lastQuarter]: "presetLastQuarter",
172
+ [C.lastWeek]: "presetLastWeek",
173
+ [C.lastYear]: "presetLastYear",
174
+ [C.next30Days]: "presetNext30Days",
175
+ [C.thisHalfYear]: "presetThisHalfYear",
176
+ [C.thisMonth]: "presetThisMonth",
177
+ [C.thisQuarter]: "presetThisQuarter",
178
+ [C.thisWeek]: "presetThisWeek",
179
+ [C.thisYear]: "presetThisYear",
180
+ [C.today]: "presetToday"
181
+ }, E = /* @__PURE__ */ function(e) {
182
+ return e.DdMmYyyy = "ddmmyyyy", e.MmDdYyyy = "mmddyyyy", e.YyyyMmDd = "yyyymmdd", e;
183
+ }({}), D = {
184
+ ddmmyyyy: "DD/MM/YYYY",
185
+ mmddyyyy: "MM/DD/YYYY",
186
+ yyyymmdd: "YYYY/MM/DD"
187
+ };
188
+ function O(e) {
189
+ return D[e] ?? e;
190
+ }
191
+ //#endregion
192
+ //#region ../../packages/utils/src/date/date-range-preset.ts
193
+ function k(e) {
194
+ return `${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")}`;
195
+ }
196
+ function A(e) {
197
+ return `${String(e.getHours()).padStart(2, "0")}:${String(e.getMinutes()).padStart(2, "0")}:${String(e.getSeconds()).padStart(2, "0")}`;
198
+ }
199
+ function j(e, t) {
200
+ return new Date(e.getFullYear(), e.getMonth(), e.getDate() + t);
201
+ }
202
+ function M(e) {
203
+ let t = e.getDay();
204
+ return j(e, t === 0 ? -6 : 1 - t);
205
+ }
206
+ function N(e) {
207
+ return new Date(e.getFullYear(), e.getMonth(), 1);
208
+ }
209
+ function P(e) {
210
+ return new Date(e.getFullYear(), e.getMonth() + 1, 0);
211
+ }
212
+ function F(e) {
213
+ let t = Math.floor(e.getMonth() / 3) * 3;
214
+ return new Date(e.getFullYear(), t, 1);
215
+ }
216
+ function I(e) {
217
+ let t = Math.floor(e.getMonth() / 3) * 3;
218
+ return new Date(e.getFullYear(), t + 3, 0);
219
+ }
220
+ function L(e) {
221
+ let t = e.getMonth() < 6 ? 0 : 6;
222
+ return new Date(e.getFullYear(), t, 1);
223
+ }
224
+ function R(e) {
225
+ let t = e.getMonth() < 6 ? 0 : 6;
226
+ return new Date(e.getFullYear(), t + 6, 0);
227
+ }
228
+ var z = class {
229
+ static getRange(e, t) {
230
+ let n = k(t);
231
+ switch (e) {
232
+ case C.last30Minutes: {
233
+ let e = /* @__PURE__ */ new Date(t.getTime() - 18e5);
234
+ return {
235
+ fromDate: k(e),
236
+ fromTime: A(e),
237
+ toDate: n,
238
+ toTime: A(t)
239
+ };
240
+ }
241
+ case C.today: return {
242
+ fromDate: n,
243
+ fromTime: y,
244
+ toDate: n,
245
+ toTime: b
246
+ };
247
+ case C.lastDay: {
248
+ let e = k(j(t, -1));
249
+ return {
250
+ fromDate: e,
251
+ fromTime: y,
252
+ toDate: e,
253
+ toTime: b
254
+ };
255
+ }
256
+ case C.last2Days: return {
257
+ fromDate: k(j(t, -1)),
258
+ fromTime: y,
259
+ toDate: n,
260
+ toTime: b
261
+ };
262
+ case C.last3Days: return {
263
+ fromDate: k(j(t, -2)),
264
+ fromTime: y,
265
+ toDate: n,
266
+ toTime: b
267
+ };
268
+ case C.last30Days: return {
269
+ fromDate: k(j(t, -29)),
270
+ fromTime: y,
271
+ toDate: n,
272
+ toTime: b
273
+ };
274
+ case C.next30Days: return {
275
+ fromDate: n,
276
+ fromTime: y,
277
+ toDate: k(j(t, 30)),
278
+ toTime: b
279
+ };
280
+ case C.thisWeek: {
281
+ let e = M(t);
282
+ return {
283
+ fromDate: k(e),
284
+ fromTime: y,
285
+ toDate: k(j(e, 6)),
286
+ toTime: b
287
+ };
288
+ }
289
+ case C.lastWeek: {
290
+ let e = j(M(t), -7);
291
+ return {
292
+ fromDate: k(e),
293
+ fromTime: y,
294
+ toDate: k(j(e, 6)),
295
+ toTime: b
296
+ };
297
+ }
298
+ case C.thisMonth: return {
299
+ fromDate: k(N(t)),
300
+ fromTime: y,
301
+ toDate: k(P(t)),
302
+ toTime: b
303
+ };
304
+ case C.lastMonth: {
305
+ let e = new Date(t.getFullYear(), t.getMonth() - 1, 1);
306
+ return {
307
+ fromDate: k(N(e)),
308
+ fromTime: y,
309
+ toDate: k(P(e)),
310
+ toTime: b
311
+ };
312
+ }
313
+ case C.thisQuarter: return {
314
+ fromDate: k(F(t)),
315
+ fromTime: y,
316
+ toDate: k(I(t)),
317
+ toTime: b
318
+ };
319
+ case C.lastQuarter: {
320
+ let e = new Date(t.getFullYear(), t.getMonth() - 3, 1);
321
+ return {
322
+ fromDate: k(F(e)),
323
+ fromTime: y,
324
+ toDate: k(I(e)),
325
+ toTime: b
326
+ };
327
+ }
328
+ case C.thisHalfYear: return {
329
+ fromDate: k(L(t)),
330
+ fromTime: y,
331
+ toDate: k(R(t)),
332
+ toTime: b
333
+ };
334
+ case C.lastHalfYear: {
335
+ let e = new Date(t.getFullYear(), t.getMonth() - 6, 1);
336
+ return {
337
+ fromDate: k(L(e)),
338
+ fromTime: y,
339
+ toDate: k(R(e)),
340
+ toTime: b
341
+ };
342
+ }
343
+ case C.thisYear: return {
344
+ fromDate: `${t.getFullYear()}-01-01`,
345
+ fromTime: y,
346
+ toDate: `${t.getFullYear()}-12-31`,
347
+ toTime: b
348
+ };
349
+ case C.lastYear: {
350
+ let e = t.getFullYear() - 1;
351
+ return {
352
+ fromDate: `${e}-01-01`,
353
+ fromTime: y,
354
+ toDate: `${e}-12-31`,
355
+ toTime: b
356
+ };
357
+ }
358
+ }
359
+ throw Error(`Unsupported date range preset: ${e}`);
360
+ }
361
+ };
362
+ //#endregion
363
+ export { r as C, i as S, u as _, E as a, g as b, T as c, d, t as f, p as g, s as h, b as i, O as l, f as m, w as n, x as o, c as p, y as r, S as s, z as t, v as u, n as v, l as x, a as y };
@@ -4,7 +4,7 @@ import { t as o } from "./query.B1yi7t71.js";
4
4
  import { t as s } from "./component.styles.0xM1ZmBs.js";
5
5
  import { a as c, n as l, o as u, t as d } from "./event.C11S4obG.js";
6
6
  import { t as f } from "./custom-element.BEMYNDK1.js";
7
- import { t as p } from "./i18n.Bjg2ubA4.js";
7
+ import { t as p } from "./i18n.X_3rP_Iz.js";
8
8
  import { t as m } from "./watch.Ub5r8btz.js";
9
9
  import { t as h } from "./class-map.D8nsNOVJ.js";
10
10
  import { r as g, t as _ } from "./animation-registry.DKd2AOcC.js";
@@ -1,12 +1,12 @@
1
- import { i as e } from "./chunk-NSK5VX7P.BkWzMz1o.js";
1
+ import { i as e } from "./chunk-NSK5VX7P.JTL9VQLt.js";
2
2
  import { n as t } from "./mermaid-parser.core.f6cjPNyo.js";
3
3
  import { n } from "./chunk-Y2CYZVJY.BAad7w_K.js";
4
4
  import { t as r } from "./chunk-X3CZISLH.D200o-iZ.js";
5
- import { H as i, K as a, U as o, a as s, b as c, c as l, f as u, v as d, w as f, y as p, z as m } from "./chunk-I66GZJ75.lUTR0Zxp.js";
5
+ import { H as i, K as a, U as o, a as s, b as c, c as l, f as u, v as d, w as f, y as p, z as m } from "./chunk-I66GZJ75.hYJHAb8_.js";
6
6
  import { t as h } from "./chunk-JWPE2WC7.BoG1jLCe.js";
7
- import { r as g, t as _ } from "./chunk-4I5QYGJK.DfO_P7bO.js";
7
+ import { r as g, t as _ } from "./chunk-4I5QYGJK.C74S0dID.js";
8
8
  import { t as v } from "./chunk-2Q5K7J3B.D-5BMjWP.js";
9
- import { a as y } from "./mermaid.core.m1JI7kDY.js";
9
+ import { a as y } from "./mermaid.core.CGY0RVtv.js";
10
10
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/diagram-7IWD3JNH.mjs
11
11
  var b = /[─━│┃└┗├┣]/, x = /[└┗├┣]/, S = /[─━]/, C = /^[\s│┃]+$/, w = /^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/, T = /^\s*%%/, E = " ";
12
12
  function D(e) {
@@ -1,11 +1,11 @@
1
- import { _ as e, i as t, t as n } from "./chunk-NSK5VX7P.BkWzMz1o.js";
1
+ import { _ as e, i as t, t as n } from "./chunk-NSK5VX7P.JTL9VQLt.js";
2
2
  import { f as r } from "./src.CLGAM3OO.js";
3
3
  import "./src.CmKw4853.js";
4
4
  import { T as i } from "./chunk-KEIR6QF5.DC4wq0Vj.js";
5
5
  import { n as a } from "./mermaid-parser.core.f6cjPNyo.js";
6
6
  import { n as o } from "./chunk-Y2CYZVJY.BAad7w_K.js";
7
7
  import { t as s } from "./chunk-X3CZISLH.D200o-iZ.js";
8
- import { H as c, K as l, U as u, Y as d, a as f, b as p, f as m, v as h, w as g, x as _, y as ee, z as v } from "./chunk-I66GZJ75.lUTR0Zxp.js";
8
+ import { H as c, K as l, U as u, Y as d, a as f, b as p, f as m, v as h, w as g, x as _, y as ee, z as v } from "./chunk-I66GZJ75.hYJHAb8_.js";
9
9
  import { t as te } from "./chunk-JWPE2WC7.BoG1jLCe.js";
10
10
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/diagram-B4RE2ZJO.mjs
11
11
  var y = "position frame", b = "frame positioned", x = "position relation", S = "relation positioned", ne = /* @__PURE__ */ o(function(e) {
@@ -1,10 +1,10 @@
1
- import { i as e } from "./chunk-NSK5VX7P.BkWzMz1o.js";
1
+ import { i as e } from "./chunk-NSK5VX7P.JTL9VQLt.js";
2
2
  import { n as t } from "./mermaid-parser.core.f6cjPNyo.js";
3
3
  import { n } from "./chunk-Y2CYZVJY.BAad7w_K.js";
4
4
  import { t as r } from "./chunk-X3CZISLH.D200o-iZ.js";
5
- import { H as i, K as a, U as o, a as s, b as c, c as l, f as u, v as d, w as f, y as p } from "./chunk-I66GZJ75.lUTR0Zxp.js";
5
+ import { H as i, K as a, U as o, a as s, b as c, c as l, f as u, v as d, w as f, y as p } from "./chunk-I66GZJ75.hYJHAb8_.js";
6
6
  import { t as m } from "./chunk-JWPE2WC7.BoG1jLCe.js";
7
- import { a as h } from "./mermaid.core.m1JI7kDY.js";
7
+ import { a as h } from "./mermaid.core.CGY0RVtv.js";
8
8
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/diagram-LBJQPF4R.mjs
9
9
  var g = u.packet, _ = class {
10
10
  constructor() {
@@ -1,4 +1,4 @@
1
- import { i as e } from "./chunk-NSK5VX7P.BkWzMz1o.js";
1
+ import { i as e } from "./chunk-NSK5VX7P.JTL9VQLt.js";
2
2
  import { f as t } from "./src.CLGAM3OO.js";
3
3
  import { r as n } from "./hierarchy.Cauj5q54.js";
4
4
  import { t as r } from "./treemap.kyPqwrV4.js";
@@ -8,11 +8,11 @@ import { t as a } from "./defaultLocale.CQ4Nl88y.js";
8
8
  import { n as o } from "./mermaid-parser.core.f6cjPNyo.js";
9
9
  import { n as s } from "./chunk-Y2CYZVJY.BAad7w_K.js";
10
10
  import { t as c } from "./chunk-X3CZISLH.D200o-iZ.js";
11
- import { D as l, H as u, K as d, U as f, a as p, b as m, c as h, f as g, v as _, w as v, y } from "./chunk-I66GZJ75.lUTR0Zxp.js";
11
+ import { D as l, H as u, K as d, U as f, a as p, b as m, c as h, f as g, v as _, w as v, y } from "./chunk-I66GZJ75.hYJHAb8_.js";
12
12
  import { t as b } from "./chunk-JWPE2WC7.BoG1jLCe.js";
13
- import { t as x } from "./chunk-KBJHAD2P.Bfz5cQAa.js";
14
- import { i as S, n as C } from "./chunk-W5SLKNZC.DzlXmWcA.js";
15
- import { a as w } from "./mermaid.core.m1JI7kDY.js";
13
+ import { t as x } from "./chunk-KBJHAD2P.Dpm7St5I.js";
14
+ import { i as S, n as C } from "./chunk-W5SLKNZC.BpdNkiim.js";
15
+ import { a as w } from "./mermaid.core.CGY0RVtv.js";
16
16
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/diagram-Q27KOJAE.mjs
17
17
  var T = class {
18
18
  constructor() {
@@ -1,10 +1,10 @@
1
- import { i as e } from "./chunk-NSK5VX7P.BkWzMz1o.js";
1
+ import { i as e } from "./chunk-NSK5VX7P.JTL9VQLt.js";
2
2
  import { n as t } from "./mermaid-parser.core.f6cjPNyo.js";
3
3
  import { n } from "./chunk-Y2CYZVJY.BAad7w_K.js";
4
4
  import { t as r } from "./chunk-X3CZISLH.D200o-iZ.js";
5
- import { D as i, H as a, K as o, U as s, a as c, b as l, c as u, f as d, v as f, w as p, y as m } from "./chunk-I66GZJ75.lUTR0Zxp.js";
5
+ import { D as i, H as a, K as o, U as s, a as c, b as l, c as u, f as d, v as f, w as p, y as m } from "./chunk-I66GZJ75.hYJHAb8_.js";
6
6
  import { t as h } from "./chunk-JWPE2WC7.BoG1jLCe.js";
7
- import { a as g } from "./mermaid.core.m1JI7kDY.js";
7
+ import { a as g } from "./mermaid.core.CGY0RVtv.js";
8
8
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/diagram-UB23O5K3.mjs
9
9
  var _ = {
10
10
  showLegend: !0,
@@ -1,16 +1,16 @@
1
1
  import { c as e, d as t, r as n } from "./lit.CyJqR2kf.js";
2
2
  import { a as r, i, n as a, r as o, t as s } from "./cortex-element.DTrNUtdr.js";
3
3
  import { t as c } from "./query.B1yi7t71.js";
4
- import { t as l } from "./popup.w4ZU3jI-.js";
4
+ import { t as l } from "./popup.jgKP0_Eq.js";
5
5
  import { t as u } from "./component.styles.0xM1ZmBs.js";
6
6
  import { n as d, o as f, t as p } from "./event.C11S4obG.js";
7
7
  import { t as m } from "./custom-element.BEMYNDK1.js";
8
- import { t as h } from "./i18n.Bjg2ubA4.js";
8
+ import { t as h } from "./i18n.X_3rP_Iz.js";
9
9
  import { t as g } from "./slot.CZUlACxT.js";
10
10
  import { t as _ } from "./watch.Ub5r8btz.js";
11
11
  import { t as v } from "./class-map.D8nsNOVJ.js";
12
12
  import { r as y, t as b } from "./animation-registry.DKd2AOcC.js";
13
- import { t as x } from "./icon-button.qJd_az6T.js";
13
+ import { t as x } from "./icon-button.CAfxRI1U.js";
14
14
  import { t as S } from "./if-defined.B29V_rEp.js";
15
15
  import { t as C } from "./when.BUskJLtZ.js";
16
16
  import { t as w } from "./style-map.DPGQIxip.js";