@orangelogic/design-system 4.69.0 → 4.70.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 (291) 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.R0uU2KH7.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.sdjI6U9A.js} +2 -2
  5. package/library/chunks/{asset-link-format.COPyGdND.js → asset-link-format.D6L-qc3X.js} +8 -8
  6. package/library/chunks/{asset-link-format.Ce_3Qz6_.js → asset-link-format.dq41gJTI.js} +389 -384
  7. package/library/chunks/{audio.B0VfXBIx.js → audio.Bh_OVMPq.js} +2 -2
  8. package/library/chunks/{bicolor-picker.DS9Uut25.js → bicolor-picker.BiEM_IkN.js} +1 -1
  9. package/library/chunks/{block-width.CSyA0Dwe.js → block-width.DVoxwnhY.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.zw5e2uZT.js} +3 -3
  12. package/library/chunks/{breadcrumb.DkINVxcJ.js → breadcrumb.BUMgMApw.js} +1 -1
  13. package/library/chunks/{button.DKkHqsUz.js → button.Dja-uoTw.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.dyBoEYVk.js} +11 -11
  34. package/library/chunks/{color-swatch-group.CuMJc6m8.js → color-swatch-group.D7ezyFa4.js} +24 -24
  35. package/library/chunks/{color-swatch.DXAr2gBg.js → color-swatch.y7Bpth0U.js} +3 -3
  36. package/library/chunks/{config-manager.BFqNZV0l.js → config-manager.DxNqEyoQ.js} +32 -32
  37. package/library/chunks/{configs-controller.TQDPq63n.js → configs-controller.Dw2p65Lp.js} +9 -9
  38. package/library/chunks/{confirm-popover.sZVNhFPh.js → confirm-popover.CBU6yy6Y.js} +4 -4
  39. package/library/chunks/{copy-button.CqqKJEh3.js → copy-button.FXPqVprU.js} +2 -2
  40. package/library/chunks/{corner-position-input-group.nTlFes0_.js → corner-position-input-group.itPK9LEh.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.CVCAmoi6.js +188 -0
  45. package/library/chunks/date.kywrEgxd.js +363 -0
  46. package/library/chunks/{details.DSgp6VAD.js → details.DmHi0fqd.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.DpY6WRVN.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.b3Nej7rG.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.ByrS9Fz0.js} +2 -2
  57. package/library/chunks/{drawer.BsKzYqKe.js → drawer.B9v7mKrO.js} +2 -2
  58. package/library/chunks/{dropdown.CKhoP9Cr.js → dropdown.BPVXbna1.js} +16 -7
  59. package/library/chunks/{dynamic-select.Cb3L0dIB.js → dynamic-select.D2zWyFJw.js} +5 -5
  60. package/library/chunks/{e-chart.DKFAToIc.js → e-chart.Dbh7iFWT.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.CM3ydK4k.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.BqWBYhdM.js} +17 -17
  65. package/library/chunks/flowDiagram-UKHOOZJN.BkgRtWrB.js +16 -0
  66. package/library/chunks/{folder-select.DJ5EEod3.js → folder-select.oEUjUT-R.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.QdzoTicK.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.l6qj73ci.js} +2 -2
  72. package/library/chunks/{i18n.Bjg2ubA4.js → i18n.BYpiX0kX.js} +40 -1
  73. package/library/chunks/{icon-button.qJd_az6T.js → icon-button.4VGhMghV.js} +2 -2
  74. package/library/chunks/{iframe.sl2wnUcC.js → iframe.CQ4J2A_9.js} +1 -1
  75. package/library/chunks/{image-comparer.BCD6kzLm.js → image-comparer.DMCUgZXb.js} +1 -1
  76. package/library/chunks/{image.-lgb634-.js → image.DQCunWsS.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.DWh_E1GV.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.DgWfU-Yi.js} +47 -28
  83. package/library/chunks/{markdown.BzDRvv-f.js → markdown.7JZ0SpEP.js} +4 -4
  84. package/library/chunks/{masonry.BxNeClR6.js → masonry.CMGXrgQ8.js} +3 -3
  85. package/library/chunks/{menu-item.au-gTg1F.js → menu-item.CJFkQ-YV.js} +3 -3
  86. package/library/chunks/{menu.BxBtGPsg.js → menu.BYeW0I0d.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.Dk32KiRr.js} +1 -1
  90. package/library/chunks/{padding-input-group.D2Qx15Yj.js → padding-input-group.BlSd4VCs.js} +1 -1
  91. package/library/chunks/{pagination.ByLuPMyE.js → pagination.C0Zu1uP7.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.DaV-mbsU.js} +2 -2
  95. package/library/chunks/{position-picker.X2hhfGx7.js → position-picker.mxReT7rl.js} +3 -3
  96. package/library/chunks/{progress-bar.CynVLLnY.js → progress-bar.OOVw3Ho1.js} +1 -1
  97. package/library/chunks/{progress-ring.Bfdj3-uB.js → progress-ring.DDNC-hmO.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.CbaIYFEi.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.1d77B-YM.js} +3 -3
  105. package/library/chunks/{rating.CNeNn996.js → rating.u1DIMFu_.js} +1 -1
  106. package/library/chunks/{relative-time.BfE3UOhF.js → relative-time.Ca958bVn.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.Blx7Am5x.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.E6JTidSM.js} +2 -2
  112. package/library/chunks/{share-option-list.DOaEypfQ.js → share-option-list.CVazDKnW.js} +3 -3
  113. package/library/chunks/{sidebar.CiZOJ49X.js → sidebar.2H_HDEhd.js} +2 -2
  114. package/library/chunks/{size-input-group.wXuG0-RB.js → size-input-group.CxTubAwO.js} +5 -5
  115. package/library/chunks/{spinner.Bv06U7NJ.js → spinner.AokDNIMB.js} +1 -1
  116. package/library/chunks/{split-panel.Cag0lAvv.js → split-panel.B0tLqJqx.js} +1 -1
  117. package/library/chunks/{src.Dia365C9.js → src.BQtwu7L_.js} +26 -26
  118. package/library/chunks/src.D6mhR5h1.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.qMEvWQSa.js} +3 -3
  122. package/library/chunks/{stepper-wizard.CPZ2mSze.js → stepper-wizard.DbU4i26F.js} +2 -2
  123. package/library/chunks/{stepper.D0JB_GVh.js → stepper.BxTR5LWg.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.CBg0wLFC.js} +8 -8
  129. package/library/chunks/{tab.CYYAua8Y.js → tab.Dmb7JL1e.js} +3 -3
  130. package/library/chunks/{tag.DQLauctm.js → tag.BGu9ORJf.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.CboSydrY.js} +17 -21
  135. package/library/chunks/{tree.BI7r-WnZ.js → tree.CJcVgjAA.js} +4 -4
  136. package/library/chunks/{typeface.DTLrIP0B.js → typeface.rz2bQ3m1.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.vPLA5d28.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 +55 -55
  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 +18 -18
  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/components/asset-link-format-crop/asset-link-format-crop.d.ts +7 -2
  251. package/library/packages/organisms/src/index.d.ts +1 -0
  252. package/library/packages/organisms/src/search-facets/components/search-facet/search-facet.d.ts +95 -0
  253. package/library/packages/organisms/src/search-facets/components/search-facet/search-facet.styles.d.ts +2 -0
  254. package/library/packages/organisms/src/search-facets/components/search-facet-advanced-date/advanced-date-reading.d.ts +90 -0
  255. package/library/packages/organisms/src/search-facets/components/search-facet-advanced-date/search-facet-advanced-date.d.ts +85 -0
  256. package/library/packages/organisms/src/search-facets/components/search-facet-advanced-date/search-facet-advanced-date.styles.d.ts +2 -0
  257. package/library/packages/organisms/src/search-facets/components/search-facet-color/search-facet-color.d.ts +47 -0
  258. package/library/packages/organisms/src/search-facets/components/search-facet-color/search-facet-color.styles.d.ts +2 -0
  259. package/library/packages/organisms/src/search-facets/components/search-facet-date/date-range-validation.d.ts +67 -0
  260. package/library/packages/organisms/src/search-facets/components/search-facet-date/search-facet-date.d.ts +120 -0
  261. package/library/packages/organisms/src/search-facets/components/search-facet-date/search-facet-date.styles.d.ts +2 -0
  262. package/library/packages/organisms/src/search-facets/components/search-facet-similar/search-facet-similar.d.ts +44 -0
  263. package/library/packages/organisms/src/search-facets/components/search-facet-similar/search-facet-similar.styles.d.ts +2 -0
  264. package/library/packages/organisms/src/search-facets/components/search-facet-tree/search-facet-tree.d.ts +104 -0
  265. package/library/packages/organisms/src/search-facets/components/search-facet-tree/search-facet-tree.styles.d.ts +2 -0
  266. package/library/packages/organisms/src/search-facets/components/search-facet-tree/visible-nodes.d.ts +36 -0
  267. package/library/packages/organisms/src/search-facets/components/search-facets-summary/search-facets-summary.d.ts +67 -0
  268. package/library/packages/organisms/src/search-facets/components/search-facets-summary/search-facets-summary.styles.d.ts +2 -0
  269. package/library/packages/organisms/src/search-facets/search-facets.d.ts +198 -0
  270. package/library/packages/organisms/src/search-facets/search-facets.fixtures.d.ts +141 -0
  271. package/library/packages/organisms/src/search-facets/search-facets.styles.d.ts +2 -0
  272. package/library/packages/organisms/src/search-facets/state/date-drafts.d.ts +11 -0
  273. package/library/packages/organisms/src/search-facets/state/long-panel.d.ts +7 -0
  274. package/library/packages/organisms/src/search-facets/state/preview-summary.d.ts +17 -0
  275. package/library/packages/organisms/src/search-facets/state/preview-waiting-changes.d.ts +12 -0
  276. package/library/packages/organisms/src/search-facets/state/response-correlation.d.ts +9 -0
  277. package/library/packages/organisms/src/search-facets/state/waiting-changes.d.ts +179 -0
  278. package/library/packages/organisms/src/search-facets/types.d.ts +347 -0
  279. package/library/packages/types/src/asset-link-format.d.ts +6 -0
  280. package/library/packages/types/src/search-facets.d.ts +104 -0
  281. package/library/packages/utils/src/custom-element/i18n.d.ts +39 -0
  282. package/library/packages/utils/src/date/calendar-grid.d.ts +5 -6
  283. package/library/packages/utils/src/date/date.d.ts +7 -1
  284. package/library/react-web-component.d.ts +87 -5
  285. package/library/utils.js +13 -13
  286. package/package.json +1 -1
  287. package/library/chunks/date-calendar.B7e6WBzh.js +0 -78
  288. package/library/chunks/date.BL4L64Hx.js +0 -358
  289. package/library/chunks/flowDiagram-UKHOOZJN.Bj_loY7-.js +0 -16
  290. package/library/chunks/purify.es.Bwsrv9kG.js +0 -866
  291. package/library/chunks/src.DKhoCHMa.js +0 -103
@@ -0,0 +1,141 @@
1
+ import { Facet, FacetDate, SearchFacetsData, SummaryCriterion } from './types';
2
+ export declare const statusFacet: Facet;
3
+ export declare const assetTypeFacet: Facet;
4
+ export declare const indexingFacet: Facet;
5
+ /** E5 Keywords facet before More: 33 values on the server, cut at 20 (as Types is on qa-latest). */
6
+ export declare const keywordsFacet: Facet;
7
+ /** The Keywords facet after More: all 33 server-ordered values and no further More. */
8
+ export declare const keywordsFacetExpanded: Facet;
9
+ export declare const keywordsFacetWithSelectedPastCut: Facet;
10
+ export declare const keywordsFacetWithSelectedPastCutExpanded: Facet;
11
+ /** Standalone E0 data for component tests. */
12
+ export declare const baseData: SearchFacetsData;
13
+ /** E5 data before More; the host answers More with `moreData`. */
14
+ export declare const longListData: SearchFacetsData;
15
+ /** The host's answer to More on Keywords: same search, `responseTo: null`, the longer list. */
16
+ export declare const moreData: SearchFacetsData;
17
+ /** The Status chip: one of the panel's filters, so its values untick while its removal waits. */
18
+ export declare const statusChip: SummaryCriterion;
19
+ export declare const searchWordsChip: SummaryCriterion;
20
+ /** A date the server cut, with the full text for hover. */
21
+ export declare const dateChip: SummaryCriterion;
22
+ export declare const reverseImageChip: SummaryCriterion;
23
+ /** A forced display value: no filter name, and the host keeps it. */
24
+ export declare const forcedValueChip: SummaryCriterion;
25
+ export declare const seeThruChip: SummaryCriterion;
26
+ /** E7 data: one chip of every kind and the host's heading. */
27
+ export declare const summaryData: SearchFacetsData;
28
+ /** E7 data with the block hidden: Clear all filters moves to the panel header. */
29
+ export declare const hiddenSummaryData: SearchFacetsData;
30
+ /**
31
+ * E4 Orientation: the name picks only that value (`'separate'`, VAL-02). Counts are grouped by the server (VAL-04); a
32
+ * long name is cut with its full text on hover (VAL-08); a pick with no results left stays with count 0 (VAL-06).
33
+ */
34
+ export declare const orientationFacet: Facet;
35
+ /**
36
+ * E4 Rights: the name is plain text beside the checkbox (`'combined'`); counts hidden (VAL-04); a partly picked value
37
+ * (VAL-05); a server-supplied "Undefined" value (VAL-07); labels already mapped by the server (VAL-09); one row for
38
+ * merged values (VAL-13), whose opaque value the server resolves.
39
+ */
40
+ export declare const rightsFacet: Facet;
41
+ /** E4 Types as an exclude filter (VAL-10): with nothing picked the server sends every value ticked. */
42
+ export declare const excludeTypesFacet: Facet;
43
+ /** E4 data: the value options a standard site sends. */
44
+ export declare const valuesData: SearchFacetsData;
45
+ /** E3 data: Status offers select all (some values picked) and reset; Asset type cannot close. */
46
+ export declare const headerData: SearchFacetsData;
47
+ /**
48
+ * E6 roles tree: Roles opens because the site forces its first level open; Editors starts closed with one of its two
49
+ * people picked (mixed) and counts its children (cumulate on). Reviewers has no count of its own (cumulate off).
50
+ */
51
+ export declare const rolesFacet: Facet;
52
+ /** E6 data: the roles tree beside a flat filter, which renders as a tree of one level. */
53
+ export declare const treeData: SearchFacetsData;
54
+ /** The Types filter's id: the module name of today's `MainFacet`. */
55
+ export declare const TYPES_ID = "SearchCriterionFacet_TabMenu_Checkboxes_VForm";
56
+ /**
57
+ * Types with nothing picked on a site whose defaults hold every type (LST-08): every type ticked, Containers a branch,
58
+ * More holding two types back, the select all ticked and locked, reset hidden, today's reset text.
59
+ */
60
+ export declare const typesFacet: Facet;
61
+ /** Types with a saved choice (Videos unticked): the select all partly ticked and operable, reset offered. */
62
+ export declare const typesFacetWithChoice: Facet;
63
+ /** The Types chip while a choice is saved: its values are the ticked types. */
64
+ export declare const typesChip: SummaryCriterion;
65
+ /**
66
+ * Types with nothing picked on a site whose defaults leave a type out, as on COR: Corrupted Files unticked, no More, the
67
+ * select all partly ticked and operable.
68
+ */
69
+ export declare const typesFacetPartDefaults: Facet;
70
+ /** The same Types with a saved choice (Videos unticked), reset offered. */
71
+ export declare const typesFacetPartDefaultsWithChoice: Facet;
72
+ /** Types data with nothing picked: Types first, as the host puts it before the filter list. */
73
+ export declare const typesData: SearchFacetsData;
74
+ /** Types data with a saved choice, the applied block shown with the Types chip. */
75
+ export declare const typesChoiceData: SearchFacetsData;
76
+ /** Options for `longPanelData`: the threshold, the facets that start open, and colour/similar facets to append. */
77
+ export interface LongPanelDataOptions {
78
+ extraKinds?: Array<'color' | 'similar'>;
79
+ openIds?: string[];
80
+ threshold?: number | null;
81
+ valueCount?: number;
82
+ }
83
+ /**
84
+ * E14 data: `count` standard facets `facet-1…n`, closed unless listed in `openIds`. An open facet has `valueCount`
85
+ * values (10 by default), so it is far taller than the 56px placeholder of a facet not painted yet.
86
+ */
87
+ export declare const longPanelData: (count: number, { extraKinds, openIds, threshold, valueCount }?: LongPanelDataOptions) => SearchFacetsData;
88
+ /** COR ids of today's three filters that are not lists of values (E11). Opaque. */
89
+ export declare const DELETED_DATE_ID = "SearchCriterionDate_BinnedDate_InFacets_VForm";
90
+ export declare const ADVANCED_DATE_ID = "SearchCriterionDate_InFacets_AdvancedDate_K3P9QZ_VForm";
91
+ export declare const SIMILAR_TONES_ID = "SearchCriterion_ImageColors_VForm";
92
+ export declare const SIMILAR_ID = "SearchCriterion_RelatedToReferenceDocument_VForm";
93
+ /** A few of the Bin's 16 Deleted Date periods, each with its days today. */
94
+ export declare const deletedDatePeriods: {
95
+ from: string;
96
+ label: string;
97
+ until: string;
98
+ value: string;
99
+ }[];
100
+ /** "Deleted Date" in the Bin, open, nothing applied; COR settings (MM/DD/YYYY, shortcut on, no invalid-date message). */
101
+ export declare const deletedDateFacet: Facet;
102
+ /** The same filter with "Last 30 days" applied. */
103
+ export declare const deletedDateAppliedFacet: Facet;
104
+ /** COR's advanced date modes, in the site's order; `sides` as the server sends them (L-29TIB1). */
105
+ export declare const advancedDateModes: NonNullable<FacetDate['modes']>;
106
+ /**
107
+ * A custom "Advanced date" field as a filter, open, nothing applied; COR settings for a `DD/MM/YYYY` user. Unset fields
108
+ * are `null`, as the server writes them.
109
+ */
110
+ export declare const advancedDateFacet: Facet;
111
+ /** The same filter with Interval Dates applied from a year alone to a month and year. */
112
+ export declare const advancedDateAppliedFacet: Facet;
113
+ /** The same filter with Indefinite applied: a mode alone, no date. */
114
+ export declare const advancedDateIndefiniteFacet: Facet;
115
+ /** COR's hour list, `12am` to `11pm` for `00` to `23`, as the server sends it on a field that shows a time. */
116
+ export declare const advancedDateHours: NonNullable<FacetDate['hours']>;
117
+ export declare const ADVANCED_DATE_TIME_ID = "SearchCriterionDate_InFacets_AdvancedDate_T7M2WX_VForm";
118
+ /** FE-15: "Shot at", an advanced date field that shows hours and minutes, nothing applied. */
119
+ export declare const advancedDateTimeFacet: Facet;
120
+ /** The same filter on a field that shows seconds too, with Single Date applied on a day with a time. */
121
+ export declare const advancedDateTimeAppliedFacet: Facet;
122
+ /** The advanced date chip, as the server writes it, each date at its precision; no `facetId`. */
123
+ export declare const advancedDateChip: SummaryCriterion;
124
+ /** The time filter's chip, its time in the server's `HH:mm:ss`. */
125
+ export declare const advancedDateTimeChip: SummaryCriterion;
126
+ /** "Similar tones": nine colours, two ticked, every tick white as COR sends it. */
127
+ export declare const similarTonesFacet: Facet;
128
+ /** "Conceptually similar to" in a view about one image: operable, with its preview. */
129
+ export declare const similarFacet: Facet;
130
+ /** The same filter in "Similar assets", a fixed list: ticked and locked. */
131
+ export declare const lockedSimilarFacet: Facet;
132
+ /** The "Similar tones" chip with its colours as dots (FE-15); no `facetId`, as the server sends it. */
133
+ export declare const similarTonesChip: SummaryCriterion;
134
+ /** The Deleted Date chip; a facet filter in COR, so Clear all filters removes it. */
135
+ export declare const deletedDateChip: SummaryCriterion;
136
+ /** E11 data in COR order: similar and colours first, then the value facets and the date filter. */
137
+ export declare const nonFacetFiltersData: SearchFacetsData;
138
+ /** L-29TIB1: a plain and an advanced date filter side by side, the advanced one applied as Interval Dates. */
139
+ export declare const advancedDateData: SearchFacetsData;
140
+ /** FE-15: an advanced date filter with a time applied, beside one that shows hours and minutes with nothing applied. */
141
+ export declare const advancedDateTimeData: SearchFacetsData;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('lit').CSSResult;
2
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { SearchFacetDateDraft } from '../../../../types/src/search-facets';
2
+ import { FacetValueIndex } from './waiting-changes';
3
+ /**
4
+ * Drops the drafts of facets a same-search payload no longer lets the user edit: gone, sent as another kind, or being
5
+ * indexed. Folding, a chip removal and a rebase keep a draft. Returns the same map when nothing is dropped.
6
+ */
7
+ export declare function pruneDateDrafts(drafts: ReadonlyMap<string, SearchFacetDateDraft>, index: FacetValueIndex): ReadonlyMap<string, SearchFacetDateDraft>;
8
+ /** The drafts with every quiet one made to show its message; the same map when none is quiet. */
9
+ export declare function revealQuietDateDrafts(drafts: ReadonlyMap<string, SearchFacetDateDraft>): ReadonlyMap<string, SearchFacetDateDraft>;
10
+ /** The drafts without one facet's; the same map when it has none. */
11
+ export declare function withoutDateDraft(drafts: ReadonlyMap<string, SearchFacetDateDraft>, facetId: string): ReadonlyMap<string, SearchFacetDateDraft>;
@@ -0,0 +1,7 @@
1
+ import { SearchFacetsData } from '../types';
2
+ /**
3
+ * Whether the payload reaches the host's long-panel threshold (PNL-09), so the panel skips painting the facets far out
4
+ * of view. Counts the payload's facets, closed ones included, except `color` and `similar`. A threshold that is omitted,
5
+ * null or not a number turns it off; a fraction is compared as is.
6
+ */
7
+ export declare function isLongPanel(data?: SearchFacetsData | null): boolean;
@@ -0,0 +1,17 @@
1
+ import { SearchFacetsSummary, SummaryCriterion } from '../types';
2
+ import { WaitingChanges } from './waiting-changes';
3
+ /** Why a chip waits for Apply: its own removal, or a waiting clear or facet reset that removes it. */
4
+ export type CriterionWaiting = 'clear' | 'removal';
5
+ /** A chip as the user currently sees it. */
6
+ export interface PreviewCriterion extends SummaryCriterion {
7
+ waiting?: CriterionWaiting;
8
+ }
9
+ /** The summary as the user currently sees it; every other field passes through from the payload. */
10
+ export interface PreviewSummary extends SearchFacetsSummary {
11
+ criteria: PreviewCriterion[];
12
+ }
13
+ /**
14
+ * Marks the chips a waiting removal, clear or facet reset removes. Untouched chips, and the summary itself when no chip is touched,
15
+ * keep their payload object. `canReset`, the title and the fold are never recomputed.
16
+ */
17
+ export declare function previewSummary(summary: SearchFacetsSummary | undefined, changes: WaitingChanges): PreviewSummary | undefined;
@@ -0,0 +1,12 @@
1
+ import { Facet } from '../types';
2
+ import { WaitingChanges } from './waiting-changes';
3
+ /**
4
+ * Derives the visible facets from the authoritative payload and the waiting changes: a waiting clear or facet reset
5
+ * shows every value at its default (unticked unless the server sends `defaultChecked`), a waiting select-all every value
6
+ * ticked or unticked, a waiting chip removal its values at their default (every value of a facet with defaults), and
7
+ * ticks show on top. In a tree a tick on a branch reaches every value below it, and a branch a tick
8
+ * reached shows what its children give it (all ticked: checked, none: unchecked, else mixed), up to the top level.
9
+ * A touched facet's select-all checkbox follows its previewed values.
10
+ * Facets and nodes the changes do not touch keep their payload object, so their bodies do not re-render.
11
+ */
12
+ export declare function previewFacets(facets: Facet[], changes: WaitingChanges): Facet[];
@@ -0,0 +1,9 @@
1
+ import { SearchFacetsData } from '../types';
2
+ /**
3
+ * Whether a payload answers the Apply in flight.
4
+ * A string `responseTo` must match the Apply's request ID; `null` (for example a More response) never answers an
5
+ * Apply; an omitted `responseTo` falls back to "the next payload answers it".
6
+ */
7
+ export declare function resolvesApply(responseTo: SearchFacetsData['responseTo'], applyRequestId?: string): boolean;
8
+ /** Whether a payload is a late answer to an Apply the panel already abandoned. */
9
+ export declare function answersAbandonedApply(responseTo: SearchFacetsData['responseTo'], abandonedRequestIds: ReadonlySet<string>): boolean;
@@ -0,0 +1,179 @@
1
+ import { ClearKind, Facet, FacetChange, FacetCheck, FacetDate, FacetNode, SearchFacetsData, SearchFacetToggleDetail, SummaryCriterion } from '../types';
2
+ /** A chip removal waiting for Apply, with the chip's panel values copied from the payload it was queued against. */
3
+ export interface QueuedRemoval {
4
+ criterionId: string;
5
+ facetId?: string;
6
+ facetValues: readonly string[];
7
+ }
8
+ /**
9
+ * A date filter's range: unset fields are open, and no field at all means no range. `mode` is an advanced date filter's
10
+ * mode; a mode alone (Indefinite) is a range, not a clear.
11
+ */
12
+ export interface DateRange {
13
+ from?: string;
14
+ mode?: string;
15
+ period?: string;
16
+ until?: string;
17
+ }
18
+ /**
19
+ * A whole-facet change waiting for Apply: the header's reset or select all / unselect all, or a date filter's range.
20
+ * An empty `date` op clears an applied range; a date facet never queues `reset`, which the server drops.
21
+ */
22
+ export type FacetOp = ({
23
+ type: 'date';
24
+ } & DateRange) | {
25
+ checked: boolean;
26
+ type: 'selectAll';
27
+ value?: string;
28
+ } | {
29
+ type: 'reset';
30
+ };
31
+ /**
32
+ * What ticks are measured against: the payload as the waiting clear, chip removals and facet header changes alter it.
33
+ * The batch applies them in that order, so a facet header change wins over a removal, which wins over a clear.
34
+ */
35
+ interface Baseline {
36
+ /** At most one clear; it is sent first. */
37
+ readonly clear?: ClearKind;
38
+ readonly facetOps: ReadonlyMap<string, FacetOp>;
39
+ /** Facets with a waiting chip removal: the server then drops all of the facet's picks, so its values return to their default. */
40
+ readonly removedFacetIds: ReadonlySet<string>;
41
+ readonly removedValueKeys: ReadonlySet<string>;
42
+ }
43
+ /**
44
+ * A tick waiting for Apply. A peer untick that a replacement pick generated names the pick's value in `replacedBy`,
45
+ * so a new payload that no longer offers the pick drops these unticks with it. A tick the user made carries no tag.
46
+ */
47
+ export type QueuedToggle = SearchFacetToggleDetail & {
48
+ readonly replacedBy?: string;
49
+ };
50
+ /**
51
+ * Everything the user changed against the current payload but has not applied yet.
52
+ *
53
+ * Ticks are measured against the baseline. A tick that matches it is not a change. This one rule absorbs an untick made
54
+ * before a removal, keeps a tick made after it, and drops re-ticks when a removal, a reset or a clear is undone.
55
+ */
56
+ export interface WaitingChanges extends Baseline {
57
+ /** Facet header changes keyed by facet ID, at most one per facet, in the order the user made them. */
58
+ readonly facetOps: ReadonlyMap<string, FacetOp>;
59
+ /** Waiting chip removals keyed by criterion ID, in the order the user made them. */
60
+ readonly removals: ReadonlyMap<string, QueuedRemoval>;
61
+ /** `nodeKey`s of the values the waiting removals return to their default, derived from `removals`. */
62
+ readonly removedValueKeys: ReadonlySet<string>;
63
+ /** Net ticks keyed by `nodeKey`, in the order the user first changed each value. */
64
+ readonly toggles: ReadonlyMap<string, QueuedToggle>;
65
+ }
66
+ /** Lookup tables built once per authoritative payload. */
67
+ export interface FacetValueIndex {
68
+ /** `nodeKey`s of the values that have children: a tick on one reaches every value below it. */
69
+ branchKeys: ReadonlySet<string>;
70
+ checkedByKey: ReadonlyMap<string, FacetCheck>;
71
+ criteriaById: ReadonlyMap<string, SummaryCriterion>;
72
+ facetsById: ReadonlyMap<string, Facet>;
73
+ /** Payload nodes by identity, including values in closed branches. */
74
+ nodeByKey: ReadonlyMap<string, FacetNode>;
75
+ /** The `nodeKey` of each nested value's parent; a top-level value has none. */
76
+ parentByKey: ReadonlyMap<string, string>;
77
+ }
78
+ export declare const EMPTY_WAITING_CHANGES: WaitingChanges;
79
+ /** Whether the server gave the value a default (`defaultChecked`); the wrapper can write an unset field as `null`. */
80
+ export declare function hasDefaultState(node: FacetNode | undefined): node is FacetNode & {
81
+ defaultChecked: boolean;
82
+ };
83
+ /** Whether the value, or a value below it, has a default: at the defaults a branch then follows its children. */
84
+ export declare function hasDefaults(node: FacetNode): boolean;
85
+ export declare function indexFacetValues(data?: SearchFacetsData): FacetValueIndex;
86
+ export declare function hasWaitingChanges(changes: WaitingChanges): boolean;
87
+ /** Number of operations the next Apply sends. */
88
+ export declare function countWaitingChanges(changes: WaitingChanges): number;
89
+ /** Changes that do not queue a tick: the clear, chip removals and facet header changes. */
90
+ export declare function countNonTickChanges(changes: WaitingChanges): number;
91
+ /**
92
+ * Ticks the new payload no longer keeps: the value is gone or locked. A tick the payload already reflects is dropped
93
+ * by `normalizeToggles` as already applied, not lost, and is not counted.
94
+ */
95
+ export declare function countAbsentToggles(changes: WaitingChanges, index: FacetValueIndex): number;
96
+ /** Clear All removes every removable chip; Clear all filters removes only the panel's filter chips. */
97
+ export declare function clearRemovesCriterion(clear: ClearKind, criterion: SummaryCriterion): boolean;
98
+ /** Whether a waiting reset of the chip's facet removes it, so the chip cannot be removed on its own. */
99
+ export declare function resetRemovesCriterion(changes: WaitingChanges, criterion: SummaryCriterion): boolean;
100
+ /** A branch's state from its children's: ticked when all are, unticked when none is, else mixed. */
101
+ export declare function checkedFromChildChecks(childChecks: readonly FacetCheck[]): FacetCheck;
102
+ /**
103
+ * Effective checked state after every waiting change: the value's own tick, else its nearest ticked ancestor's, else
104
+ * the baseline. A ticked branch reads as checked even while a later untick below it shows it as mixed.
105
+ */
106
+ export declare function isCheckedInPreview(changes: WaitingChanges, index: FacetValueIndex, facetId: string, value: string): boolean;
107
+ /** Reads `null`, `undefined` and `''` alike and leaves unset fields out, so a payload range and an edit compare. */
108
+ export declare function normalizeDateRange(range: DateRange | FacetDate | null | undefined): DateRange;
109
+ /** No mode, no day and no period: nothing applied. A mode alone is not empty. */
110
+ export declare function isEmptyDateRange(range: DateRange): boolean;
111
+ /**
112
+ * Applies one user toggle and normalizes the result against the baseline, so a reversed tick leaves no change.
113
+ * A pick that replaces its peers (see `replacesPeers`) also unchecks the other values the user currently sees checked,
114
+ * applied or waiting; a name click on a value already picked therefore only unchecks the others, and on an
115
+ * all-checked-when-empty filter also sends the pick (see `pickAlwaysReplaces`).
116
+ * In a tree each ticked value is one toggle, a branch included: the server decides what a branch tick writes below it.
117
+ * The preview shows it reaching every value below, and a branch the payload shows `mixed` is always a change.
118
+ * Returns the same object when the toggle targets a value that is not in the payload, or a locked (`disabled`) one.
119
+ */
120
+ export declare function applyToggle(changes: WaitingChanges, index: FacetValueIndex, toggle: SearchFacetToggleDetail): WaitingChanges;
121
+ /**
122
+ * Queues a chip removal, or un-queues it when it already waits. A facet chip's values show at their default while it
123
+ * waits (unticked unless the server sends `defaultChecked`).
124
+ * Returns the same object for a chip the payload does not have, one the host marks not removable, or one the waiting
125
+ * clear or facet reset already removes.
126
+ */
127
+ export declare function toggleRemoval(changes: WaitingChanges, index: FacetValueIndex, criterionId: string): WaitingChanges;
128
+ /**
129
+ * Queues a clear, or undoes it when the same kind already waits.
130
+ * Queueing drops every change made before it, including a waiting clear of the other kind. Undoing keeps the changes
131
+ * made after the clear and does not bring back what it dropped.
132
+ */
133
+ export declare function toggleClear(changes: WaitingChanges, index: FacetValueIndex, clear: ClearKind): WaitingChanges;
134
+ /**
135
+ * Queues a facet reset, or undoes it when one already waits. Queueing drops the facet's earlier ticks and the removal of
136
+ * its chips, which the reset covers, and replaces a waiting select-all; undoing keeps the ticks made after it. When the
137
+ * server has no picks in the facet (`canReset` off) the picks the user sees come only from waiting changes, so reset
138
+ * just drops them and queues nothing.
139
+ * Returns the same object for a facet the payload does not have, one still being indexed, one with nothing picked in
140
+ * the preview, or while a clear waits.
141
+ * The server may also reset related filters; the preview shows only this facet until Apply.
142
+ */
143
+ export declare function toggleReset(changes: WaitingChanges, index: FacetValueIndex, facetId: string): WaitingChanges;
144
+ /**
145
+ * Queues the header's select all (`checked`) or unselect all, replacing the facet's earlier ticks and its waiting reset
146
+ * or select-all. A choice that leaves the facet as the payload has it is no change.
147
+ * Returns the same object for a facet without an operable select-all checkbox, or an unselect all the site's lock
148
+ * refuses.
149
+ */
150
+ export declare function setSelectAll(changes: WaitingChanges, index: FacetValueIndex, facetId: string, checked: boolean): WaitingChanges;
151
+ /**
152
+ * Queues a date filter's range, replacing its earlier edit (the last edit wins). An edit equal to what the facet shows
153
+ * without it, the payload's range or no range while a clear waits, is no change; the same days without the applied
154
+ * period are a change. An empty edit clears an applied range and, with no range applied, only drops the earlier edit.
155
+ * Returns the same object for a facet that is not an editable date facet.
156
+ */
157
+ export declare function setDateEdit(changes: WaitingChanges, index: FacetValueIndex, facetId: string, edit: DateRange): WaitingChanges;
158
+ /**
159
+ * The date header's reset: undoes a waiting clear of the applied range, else clears the applied range, else drops the
160
+ * facet's edit. Never queues `reset`, which the server drops for a date facet.
161
+ */
162
+ export declare function toggleDateReset(changes: WaitingChanges, index: FacetValueIndex, facetId: string): WaitingChanges;
163
+ /** Whether a clear of the date facet's applied range waits, so its reset button offers the undo. */
164
+ export declare function isDateClearWaiting(changes: WaitingChanges, index: FacetValueIndex, facetId: string): boolean;
165
+ /** The range a date facet shows: its waiting edit, else no range while a clear waits, else the payload's range. */
166
+ export declare function previewDateRange(changes: WaitingChanges, facet: Facet): DateRange;
167
+ /**
168
+ * Carries waiting changes onto a new payload for the same search: keeps the clear, drops a removal whose chip is gone
169
+ * or no longer removable and refreshes the others' values, drops a facet header change the new facet no longer offers,
170
+ * and drops ticks the new baseline already reflects or whose value disappeared. Returns the same object when nothing
171
+ * changed.
172
+ */
173
+ export declare function rebaseWaitingChanges(changes: WaitingChanges, index: FacetValueIndex): WaitingChanges;
174
+ /**
175
+ * The Apply batch: the waiting clear first, then the chip removals, then the facet resets and select-alls, then the
176
+ * ticks, each in the order made.
177
+ */
178
+ export declare function toFacetChanges(changes: WaitingChanges): FacetChange[];
179
+ export {};