@orangelogic/design-system 5.0.0 → 5.1.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 (221) hide show
  1. package/library/chunks/{alert.2Esbser8.js → alert.DcLDhp3k.js} +2 -2
  2. package/library/chunks/{array-line-clamp.C0Vo0Zzg.js → array-line-clamp.DXOk4Q3x.js} +2 -2
  3. package/library/chunks/{asset-link-format.COPyGdND.js → asset-link-format.D6L-qc3X.js} +8 -8
  4. package/library/chunks/{asset-link-format.Ce_3Qz6_.js → asset-link-format.DqMFH-AV.js} +387 -382
  5. package/library/chunks/{audio.B0VfXBIx.js → audio.DhBjwOl_.js} +2 -2
  6. package/library/chunks/{bicolor-picker.DS9Uut25.js → bicolor-picker.COIlx1gv.js} +1 -1
  7. package/library/chunks/{block-width.ClbkbtKA.js → block-width.BOCYHUDs.js} +39 -39
  8. package/library/chunks/{border-input-group.B6fqiG6F.js → border-input-group.QyWhH0yj.js} +3 -3
  9. package/library/chunks/{breadcrumb.DkINVxcJ.js → breadcrumb.SMzaqsuX.js} +1 -1
  10. package/library/chunks/{button.DKkHqsUz.js → button.DHmArHfu.js} +2 -2
  11. package/library/chunks/{checkbox.BdSpQlwf.js → checkbox.CA7imbiT.js} +1 -1
  12. package/library/chunks/{color-picker.DZUudAAS.js → color-picker.BERL3UOq.js} +10 -10
  13. package/library/chunks/{color-swatch-group.CuMJc6m8.js → color-swatch-group.C0n7SaJl.js} +22 -22
  14. package/library/chunks/{color-swatch.DXAr2gBg.js → color-swatch.CTbZYqbp.js} +3 -3
  15. package/library/chunks/{config-manager.B6c9XW1s.js → config-manager.C2GBBqS5.js} +29 -29
  16. package/library/chunks/{configs-controller.TQDPq63n.js → configs-controller.BcOmixH6.js} +8 -8
  17. package/library/chunks/{confirm-popover.sZVNhFPh.js → confirm-popover.BiPCxJfb.js} +4 -4
  18. package/library/chunks/{copy-button.CqqKJEh3.js → copy-button.muB45Tao.js} +2 -2
  19. package/library/chunks/{corner-position-input-group.nTlFes0_.js → corner-position-input-group.BKESUGfi.js} +4 -4
  20. package/library/chunks/{cropper.BF32WRyP.js → cropper.D8Uu43xy.js} +1 -1
  21. package/library/chunks/date-calendar.CSrG_jgw.js +188 -0
  22. package/library/chunks/date.kywrEgxd.js +363 -0
  23. package/library/chunks/{details.DSgp6VAD.js → details.BQjEDJPA.js} +1 -1
  24. package/library/chunks/{dialog.D0oTJWFf.js → dialog.BY2wT_Yq.js} +3 -3
  25. package/library/chunks/{document-viewer.L77oYyOp.js → document-viewer.DviPbYQs.js} +14 -14
  26. package/library/chunks/{dot-pagination.C1C6NG8d.js → dot-pagination.Bc4kqtcF.js} +2 -2
  27. package/library/chunks/{drawer.BsKzYqKe.js → drawer.UPV3DrmP.js} +2 -2
  28. package/library/chunks/{dropdown.CKhoP9Cr.js → dropdown.D6MQirjI.js} +15 -6
  29. package/library/chunks/{dynamic-select.Cb3L0dIB.js → dynamic-select.CsuWTgdl.js} +5 -5
  30. package/library/chunks/{e-chart.DKFAToIc.js → e-chart.iJAWfcbZ.js} +2 -2
  31. package/library/chunks/{element-clamp.CGq-62gg.js → element-clamp.fo2t5tv8.js} +2 -2
  32. package/library/chunks/{file-on-demand.BjUW2Ydt.js → file-on-demand.CtYHSqZ8.js} +16 -16
  33. package/library/chunks/{folder-select.DJ5EEod3.js → folder-select.BHMjbJpa.js} +8 -8
  34. package/library/chunks/{format-time.QkJcKYrT.js → format-time.CJc4crvX.js} +1 -1
  35. package/library/chunks/{header.CowQINf-.js → header.BMzrFqrX.js} +2 -2
  36. package/library/chunks/{i18n.Bjg2ubA4.js → i18n.tAD84KB3.js} +39 -0
  37. package/library/chunks/{icon-button.qJd_az6T.js → icon-button.hZj_g6Bt.js} +2 -2
  38. package/library/chunks/{iframe.sl2wnUcC.js → iframe.DESEj5FX.js} +1 -1
  39. package/library/chunks/{image-comparer.BCD6kzLm.js → image-comparer.zps8IR5_.js} +1 -1
  40. package/library/chunks/{image.-lgb634-.js → image.CSmzcQJh.js} +2 -2
  41. package/library/chunks/{input.DZRed6yo.js → input.is3tnNFr.js} +18 -5
  42. package/library/chunks/{line-clamp.Dl3_JdHX.js → line-clamp.iGRr7-Xj.js} +47 -28
  43. package/library/chunks/{markdown.BzDRvv-f.js → markdown.BXDKzr2h.js} +2 -2
  44. package/library/chunks/{masonry.BxNeClR6.js → masonry.DANqZg1j.js} +3 -3
  45. package/library/chunks/{menu-item.au-gTg1F.js → menu-item.DL81yBgV.js} +3 -3
  46. package/library/chunks/{menu.BxBtGPsg.js → menu.CVJpMzSd.js} +2 -2
  47. package/library/chunks/{option.DWE0tark.js → option.y4dln0Vc.js} +1 -1
  48. package/library/chunks/{padding-input-group.D2Qx15Yj.js → padding-input-group.DxO3Jpy_.js} +1 -1
  49. package/library/chunks/{pagination.ByLuPMyE.js → pagination.BNxyfajb.js} +7 -7
  50. package/library/chunks/{popup.w4ZU3jI-.js → popup.CDY1A9dW.js} +2 -2
  51. package/library/chunks/{position-picker.X2hhfGx7.js → position-picker.DTyM69dy.js} +2 -2
  52. package/library/chunks/{progress-bar.CynVLLnY.js → progress-bar.DCx1bJbA.js} +1 -1
  53. package/library/chunks/{progress-ring.Bfdj3-uB.js → progress-ring.CLF04Ukk.js} +1 -1
  54. package/library/chunks/{radio-card.VEsyM8ue.js → radio-card.Z4lQJH5n.js} +2 -2
  55. package/library/chunks/{radio.DhPbmKbQ.js → radio.BmN7pFIX.js} +1 -1
  56. package/library/chunks/{range.ObEMbygm.js → range.9siIIf5L.js} +2 -2
  57. package/library/chunks/{rating.CNeNn996.js → rating.oryYIw6x.js} +1 -1
  58. package/library/chunks/{relative-time.BfE3UOhF.js → relative-time.U8veN742.js} +1 -1
  59. package/library/chunks/{select.BV0Necz7.js → select.Bd8WvUMZ.js} +113 -109
  60. package/library/chunks/{shadow-input-group.Xxuzm8Qe.js → shadow-input-group.CoOi3L__.js} +2 -2
  61. package/library/chunks/{share-option-list.DOaEypfQ.js → share-option-list.DM5dfW9M.js} +2 -2
  62. package/library/chunks/{sidebar.CiZOJ49X.js → sidebar.DfNm5C-n.js} +30 -20
  63. package/library/chunks/{size-input-group.wXuG0-RB.js → size-input-group.BdYSDpsy.js} +5 -5
  64. package/library/chunks/{spinner.Bv06U7NJ.js → spinner.DPl3rjQY.js} +1 -1
  65. package/library/chunks/{split-panel.Cag0lAvv.js → split-panel.D4Hn_Esh.js} +1 -1
  66. package/library/chunks/{src.-wSEUjRV.js → src.BGRU1qh5.js} +49 -49
  67. package/library/chunks/{src.Dia365C9.js → src.DwbXw2Wv.js} +23 -23
  68. package/library/chunks/{step.D93ReCO1.js → step.CmqaPVg_.js} +3 -3
  69. package/library/chunks/{stepper-wizard.CPZ2mSze.js → stepper-wizard.H45UqSLe.js} +2 -2
  70. package/library/chunks/{stepper.D0JB_GVh.js → stepper.CDWfFmPh.js} +1 -1
  71. package/library/chunks/{tab-group.dnnT9Mk6.js → tab-group.6FT_XQDH.js} +7 -7
  72. package/library/chunks/{tab.CYYAua8Y.js → tab.q5aFhnHA.js} +3 -3
  73. package/library/chunks/{tag.DQLauctm.js → tag.BSBIN-rz.js} +3 -3
  74. package/library/chunks/{tooltip.Cc02vm6M.js → tooltip.DurE2LL4.js} +17 -21
  75. package/library/chunks/{tree.BI7r-WnZ.js → tree.C0imvgIg.js} +4 -4
  76. package/library/chunks/{typeface.DTLrIP0B.js → typeface.DPVH5wzi.js} +3 -3
  77. package/library/chunks/{video.DWmHPbXO.js → video.CYO0jBx9.js} +6 -6
  78. package/library/components/alert.js +1 -1
  79. package/library/components/array-line-clamp.js +1 -1
  80. package/library/components/asset-link-format.js +1 -1
  81. package/library/components/atoms.js +50 -50
  82. package/library/components/audio.js +1 -1
  83. package/library/components/bicolor-picker.js +1 -1
  84. package/library/components/border-input-group.js +1 -1
  85. package/library/components/breadcrumb.js +1 -1
  86. package/library/components/button.js +1 -1
  87. package/library/components/checkbox.js +1 -1
  88. package/library/components/color-picker.js +1 -1
  89. package/library/components/color-swatch-group.js +1 -1
  90. package/library/components/color-swatch.js +1 -1
  91. package/library/components/confirm-popover.js +1 -1
  92. package/library/components/copy-button.js +1 -1
  93. package/library/components/corner-position-input-group.js +1 -1
  94. package/library/components/cropper.js +1 -1
  95. package/library/components/date-calendar.js +1 -1
  96. package/library/components/details.js +1 -1
  97. package/library/components/dialog.js +1 -1
  98. package/library/components/document-viewer.js +1 -1
  99. package/library/components/dot-pagination.js +1 -1
  100. package/library/components/drawer.js +1 -1
  101. package/library/components/dropdown.js +1 -1
  102. package/library/components/dynamic-select.js +1 -1
  103. package/library/components/e-chart.js +1 -1
  104. package/library/components/element-clamp.js +1 -1
  105. package/library/components/file-on-demand.js +1 -1
  106. package/library/components/folder-select.js +1 -1
  107. package/library/components/format-bytes.js +1 -1
  108. package/library/components/format-date.js +1 -1
  109. package/library/components/format-number.js +1 -1
  110. package/library/components/format-time.js +1 -1
  111. package/library/components/header.js +1 -1
  112. package/library/components/icon-button.js +1 -1
  113. package/library/components/iframe.js +1 -1
  114. package/library/components/image-comparer.js +1 -1
  115. package/library/components/image.js +1 -1
  116. package/library/components/input.js +1 -1
  117. package/library/components/line-clamp.js +1 -1
  118. package/library/components/markdown.js +1 -1
  119. package/library/components/masonry.js +1 -1
  120. package/library/components/menu-item.js +1 -1
  121. package/library/components/menu.js +1 -1
  122. package/library/components/molecules.js +17 -17
  123. package/library/components/option.js +1 -1
  124. package/library/components/organisms.js +3 -3
  125. package/library/components/padding-input-group.js +1 -1
  126. package/library/components/pagination.js +1 -1
  127. package/library/components/popup.js +1 -1
  128. package/library/components/position-picker.js +1 -1
  129. package/library/components/progress-bar.js +1 -1
  130. package/library/components/progress-ring.js +1 -1
  131. package/library/components/radio-card.js +1 -1
  132. package/library/components/radio.js +1 -1
  133. package/library/components/range.js +1 -1
  134. package/library/components/rating.js +1 -1
  135. package/library/components/relative-time.js +1 -1
  136. package/library/components/select.js +1 -1
  137. package/library/components/shadow-input-group.js +1 -1
  138. package/library/components/share-option-list.js +1 -1
  139. package/library/components/sidebar.js +1 -1
  140. package/library/components/size-input-group.js +1 -1
  141. package/library/components/spinner.js +1 -1
  142. package/library/components/split-panel.js +1 -1
  143. package/library/components/step.js +1 -1
  144. package/library/components/stepper-wizard.js +1 -1
  145. package/library/components/stepper.js +1 -1
  146. package/library/components/tab-group.js +1 -1
  147. package/library/components/tab.js +1 -1
  148. package/library/components/tag.js +1 -1
  149. package/library/components/tooltip.js +1 -1
  150. package/library/components/tree-item.js +1 -1
  151. package/library/components/tree.js +1 -1
  152. package/library/components/typeface.js +1 -1
  153. package/library/components/types.js +21886 -19119
  154. package/library/components/video.js +1 -1
  155. package/library/package.json +1 -1
  156. package/library/packages/atoms/src/components/checkbox/checkbox.d.ts +2 -2
  157. package/library/packages/atoms/src/components/date-calendar/date-calendar.d.ts +62 -9
  158. package/library/packages/atoms/src/components/dropdown/dropdown.d.ts +6 -0
  159. package/library/packages/atoms/src/components/input/input.d.ts +20 -1
  160. package/library/packages/atoms/src/components/line-clamp/line-clamp.d.ts +3 -0
  161. package/library/packages/atoms/src/components/radio/radio.d.ts +3 -0
  162. package/library/packages/atoms/src/components/select/select.d.ts +0 -4
  163. package/library/packages/atoms/src/components/tooltip/tooltip.d.ts +4 -1
  164. package/library/packages/events/src/cx-search-facet-date-change.d.ts +11 -0
  165. package/library/packages/events/src/cx-search-facet-focus-title.d.ts +10 -0
  166. package/library/packages/events/src/cx-search-facet-reset.d.ts +12 -0
  167. package/library/packages/events/src/cx-search-facet-select-all.d.ts +13 -0
  168. package/library/packages/events/src/cx-search-facet-show-more.d.ts +12 -0
  169. package/library/packages/events/src/cx-search-facet-toggle.d.ts +11 -0
  170. package/library/packages/events/src/cx-search-facets-apply.d.ts +17 -0
  171. package/library/packages/events/src/cx-search-facets-change-filters.d.ts +6 -0
  172. package/library/packages/events/src/cx-search-facets-clear-all.d.ts +10 -0
  173. package/library/packages/events/src/cx-search-facets-custom.d.ts +10 -0
  174. package/library/packages/events/src/cx-search-facets-facet-expand.d.ts +9 -0
  175. package/library/packages/events/src/cx-search-facets-node-expand.d.ts +11 -0
  176. package/library/packages/events/src/cx-search-facets-refresh.d.ts +6 -0
  177. package/library/packages/events/src/cx-search-facets-show-more.d.ts +8 -0
  178. package/library/packages/events/src/cx-search-facets-summary-expand.d.ts +9 -0
  179. package/library/packages/events/src/cx-search-facets-summary-remove.d.ts +12 -0
  180. package/library/packages/events/src/events.d.ts +16 -0
  181. package/library/packages/molecules/src/input-date-picker/input-date-picker.d.ts +116 -0
  182. package/library/packages/molecules/src/sidebar/sidebar.d.ts +1 -0
  183. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +7 -2
  184. package/library/packages/organisms/src/index.d.ts +1 -0
  185. package/library/packages/organisms/src/search-facets/components/search-facet/search-facet.d.ts +95 -0
  186. package/library/packages/organisms/src/search-facets/components/search-facet/search-facet.styles.d.ts +2 -0
  187. package/library/packages/organisms/src/search-facets/components/search-facet-advanced-date/advanced-date-reading.d.ts +90 -0
  188. package/library/packages/organisms/src/search-facets/components/search-facet-advanced-date/search-facet-advanced-date.d.ts +85 -0
  189. package/library/packages/organisms/src/search-facets/components/search-facet-advanced-date/search-facet-advanced-date.styles.d.ts +2 -0
  190. package/library/packages/organisms/src/search-facets/components/search-facet-color/search-facet-color.d.ts +47 -0
  191. package/library/packages/organisms/src/search-facets/components/search-facet-color/search-facet-color.styles.d.ts +2 -0
  192. package/library/packages/organisms/src/search-facets/components/search-facet-date/date-range-validation.d.ts +67 -0
  193. package/library/packages/organisms/src/search-facets/components/search-facet-date/search-facet-date.d.ts +120 -0
  194. package/library/packages/organisms/src/search-facets/components/search-facet-date/search-facet-date.styles.d.ts +2 -0
  195. package/library/packages/organisms/src/search-facets/components/search-facet-similar/search-facet-similar.d.ts +44 -0
  196. package/library/packages/organisms/src/search-facets/components/search-facet-similar/search-facet-similar.styles.d.ts +2 -0
  197. package/library/packages/organisms/src/search-facets/components/search-facet-tree/search-facet-tree.d.ts +104 -0
  198. package/library/packages/organisms/src/search-facets/components/search-facet-tree/search-facet-tree.styles.d.ts +2 -0
  199. package/library/packages/organisms/src/search-facets/components/search-facet-tree/visible-nodes.d.ts +36 -0
  200. package/library/packages/organisms/src/search-facets/components/search-facets-summary/search-facets-summary.d.ts +67 -0
  201. package/library/packages/organisms/src/search-facets/components/search-facets-summary/search-facets-summary.styles.d.ts +2 -0
  202. package/library/packages/organisms/src/search-facets/search-facets.d.ts +198 -0
  203. package/library/packages/organisms/src/search-facets/search-facets.fixtures.d.ts +141 -0
  204. package/library/packages/organisms/src/search-facets/search-facets.styles.d.ts +2 -0
  205. package/library/packages/organisms/src/search-facets/state/date-drafts.d.ts +11 -0
  206. package/library/packages/organisms/src/search-facets/state/long-panel.d.ts +7 -0
  207. package/library/packages/organisms/src/search-facets/state/preview-summary.d.ts +17 -0
  208. package/library/packages/organisms/src/search-facets/state/preview-waiting-changes.d.ts +12 -0
  209. package/library/packages/organisms/src/search-facets/state/response-correlation.d.ts +9 -0
  210. package/library/packages/organisms/src/search-facets/state/waiting-changes.d.ts +179 -0
  211. package/library/packages/organisms/src/search-facets/types.d.ts +347 -0
  212. package/library/packages/types/src/asset-link-format.d.ts +6 -0
  213. package/library/packages/types/src/search-facets.d.ts +104 -0
  214. package/library/packages/utils/src/custom-element/i18n.d.ts +39 -0
  215. package/library/packages/utils/src/date/calendar-grid.d.ts +5 -6
  216. package/library/packages/utils/src/date/date.d.ts +7 -1
  217. package/library/react-web-component.d.ts +87 -5
  218. package/library/utils.js +10 -10
  219. package/package.json +1 -1
  220. package/library/chunks/date-calendar.B7e6WBzh.js +0 -78
  221. package/library/chunks/date.BL4L64Hx.js +0 -358
@@ -1,11 +1,11 @@
1
1
  import { c as e, d as t } from "./lit.CyJqR2kf.js";
2
2
  import { a as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtdr.js";
3
3
  import { t as o } from "./query.B1yi7t71.js";
4
- import { t as s } from "./popup.w4ZU3jI-.js";
4
+ import { t as s } from "./popup.CDY1A9dW.js";
5
5
  import { t as c } from "./component.styles.0xM1ZmBs.js";
6
6
  import { n as l, o as u, t as d } from "./event.C11S4obG.js";
7
7
  import { t as f } from "./custom-element.BEMYNDK1.js";
8
- import { t as p } from "./i18n.Bjg2ubA4.js";
8
+ import { t as p } from "./i18n.tAD84KB3.js";
9
9
  import { t as m } from "./slot.CZUlACxT.js";
10
10
  import { t as h } from "./watch.Ub5r8btz.js";
11
11
  import { t as g } from "./class-map.D8nsNOVJ.js";
@@ -14,8 +14,8 @@ import { t as y } from "./if-defined.B29V_rEp.js";
14
14
  import { t as b } from "./active-elements.Tk45XSNQ.js";
15
15
  import { t as x } from "./focus-when-visible.DKscgyKo.js";
16
16
  import { t as S } from "./tabbable.BSwpOHdm.js";
17
- import { t as C } from "./input.DZRed6yo.js";
18
- import { t as w } from "./menu.BxBtGPsg.js";
17
+ import { t as C } from "./input.is3tnNFr.js";
18
+ import { t as w } from "./menu.CVJpMzSd.js";
19
19
  import { t as T } from "./textarea.CHSZI8vt.js";
20
20
  //#region ../../packages/utils/src/custom-element/escapable-overlays.ts
21
21
  var E = [], D = class {
@@ -164,7 +164,7 @@ var E = [], D = class {
164
164
  }
165
165
  }
166
166
  render() {
167
- return e`<cx-popup part="base" exportparts="popup:base__popup" id="dropdown" placement=${this.placement} distance=${this.distance} skidding=${this.skidding} strategy=${this.hoist ? "overlay" : "absolute"} ?flip=${!this.noFlip} shift auto-size="both" auto-size-padding="10" .autoSizeBoundary=${this.hoistBoundary} .flipBoundary=${this.hoistBoundary} .shiftBoundary=${this.hoistBoundary} flip-padding=${this.flipPadding} sync=${y(this.sync ? this.sync : void 0)} class=${g({
167
+ return e`<cx-popup part="base" exportparts="popup:base__popup" id="dropdown" placement=${this.placement} distance=${this.distance} skidding=${this.skidding} strategy=${this.hoist ? "overlay" : "absolute"} ?flip=${!this.noFlip} shift auto-size="both" auto-size-padding="10" .autoSizeBoundary=${this.autoSizeBoundary ?? this.hoistBoundary} .flipBoundary=${this.flipBoundary ?? this.hoistBoundary} .shiftBoundary=${this.shiftBoundary ?? this.hoistBoundary} flip-padding=${this.flipPadding} sync=${y(this.sync ? this.sync : void 0)} class=${g({
168
168
  dropdown: !0,
169
169
  "dropdown--open": this.open
170
170
  })} auto-width-factor=${this.autoWidthFactor}><slot name="trigger" slot="anchor" part="trigger" class="dropdown__trigger" @click=${this.handleTriggerClick} @keydown=${this.handleTriggerKeyDown} @keyup=${this.handleTriggerKeyUp} @slotchange=${this.handleTriggerSlotChange}></slot><div aria-hidden=${this.open && this.hasSlotController.test("[default]") ? "false" : "true"} aria-labelledby="dropdown"><slot part="panel" class="dropdown__panel"></slot></div></cx-popup>`;
@@ -180,7 +180,16 @@ r([o(".dropdown"), i("design:type", s === void 0 ? Object : s)], k.prototype, "p
180
180
  attribute: "stay-open-on-select",
181
181
  reflect: !0,
182
182
  type: Boolean
183
- }), i("design:type", Object)], k.prototype, "stayOpenOnSelect", void 0), r([n({ attribute: "containing-element" }), i("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], k.prototype, "containingElement", void 0), r([n({ type: Number }), i("design:type", Object)], k.prototype, "distance", void 0), r([n({ type: Number }), i("design:type", Object)], k.prototype, "skidding", void 0), r([n({ type: Boolean }), i("design:type", Object)], k.prototype, "hoist", void 0), r([n({ reflect: !0 }), i("design:type", Object)], k.prototype, "sync", void 0), r([n({ attribute: "auto-width-factor" }), i("design:type", Object)], k.prototype, "autoWidthFactor", void 0), r([n({
183
+ }), i("design:type", Object)], k.prototype, "stayOpenOnSelect", void 0), r([n({ attribute: "containing-element" }), i("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], k.prototype, "containingElement", void 0), r([n({ type: Number }), i("design:type", Object)], k.prototype, "distance", void 0), r([n({ type: Number }), i("design:type", Object)], k.prototype, "skidding", void 0), r([n({ type: Boolean }), i("design:type", Object)], k.prototype, "hoist", void 0), r([n({
184
+ attribute: "flip-boundary",
185
+ type: Object
186
+ }), i("design:type", Object)], k.prototype, "flipBoundary", void 0), r([n({
187
+ attribute: "shift-boundary",
188
+ type: Object
189
+ }), i("design:type", Object)], k.prototype, "shiftBoundary", void 0), r([n({
190
+ attribute: "auto-size-boundary",
191
+ type: Object
192
+ }), i("design:type", Object)], k.prototype, "autoSizeBoundary", void 0), r([n({ reflect: !0 }), i("design:type", Object)], k.prototype, "sync", void 0), r([n({ attribute: "auto-width-factor" }), i("design:type", Object)], k.prototype, "autoWidthFactor", void 0), r([n({
184
193
  attribute: "ignored-keys",
185
194
  converter: {
186
195
  fromAttribute: (e) => e?.split(" ") ?? [],
@@ -2,18 +2,18 @@ import { c as e } from "./lit.CyJqR2kf.js";
2
2
  import { a as t, i as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtdr.js";
3
3
  import { t as o } from "./query.B1yi7t71.js";
4
4
  import { t as s } from "./custom-element.BEMYNDK1.js";
5
- import { t as c } from "./i18n.Bjg2ubA4.js";
5
+ import { t as c } from "./i18n.tAD84KB3.js";
6
6
  import { t as l } from "./watch.Ub5r8btz.js";
7
7
  import { t as u } from "./class-map.D8nsNOVJ.js";
8
- import { t as d } from "./icon-button.qJd_az6T.js";
8
+ import { t as d } from "./icon-button.hZj_g6Bt.js";
9
9
  import { t as f } from "./if-defined.B29V_rEp.js";
10
10
  import { t as p } from "./when.BUskJLtZ.js";
11
11
  import { t as m } from "./style-map.DPGQIxip.js";
12
12
  import { t as h } from "./debounce.Ci-xdsHE.js";
13
- import { t as g } from "./button.DKkHqsUz.js";
13
+ import { t as g } from "./button.DHmArHfu.js";
14
14
  import { t as _ } from "./repeat.CKv9FPlC.js";
15
- import { n as v, t as y } from "./option.DWE0tark.js";
16
- import { t as b } from "./select.BV0Necz7.js";
15
+ import { n as v, t as y } from "./option.y4dln0Vc.js";
16
+ import { t as b } from "./select.Bd8WvUMZ.js";
17
17
  import { t as x } from "./map.ByDuLduF.js";
18
18
  import { t as S } from "./keyed.zYwdaCfO.js";
19
19
  import { t as C } from "./_baseIteratee.DWc2-Bvm.js";
@@ -4,11 +4,11 @@ import { a as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtdr.js";
4
4
  import { t as s } from "./query.B1yi7t71.js";
5
5
  import { t as c } from "./component.styles.0xM1ZmBs.js";
6
6
  import { t as l } from "./custom-element.BEMYNDK1.js";
7
- import { t as u } from "./i18n.Bjg2ubA4.js";
7
+ import { t as u } from "./i18n.tAD84KB3.js";
8
8
  import { t as d } from "./watch.Ub5r8btz.js";
9
9
  import { t as f } from "./class-map.D8nsNOVJ.js";
10
10
  import { t as p } from "./when.BUskJLtZ.js";
11
- import { t as m } from "./spinner.Bv06U7NJ.js";
11
+ import { t as m } from "./spinner.DPl3rjQY.js";
12
12
  import { t as h } from "./resize-observer.D9EHlnZI.js";
13
13
  //#region ../../node_modules/echarts/node_modules/tslib/tslib.es6.js
14
14
  var g = function(e, t) {
@@ -4,11 +4,11 @@ import { t as s } from "./query.B1yi7t71.js";
4
4
  import { t as c } from "./component.styles.0xM1ZmBs.js";
5
5
  import { a as l, n as u, o as d, t as f } from "./event.C11S4obG.js";
6
6
  import { t as p } from "./custom-element.BEMYNDK1.js";
7
- import { t as m } from "./i18n.Bjg2ubA4.js";
7
+ import { t as m } from "./i18n.tAD84KB3.js";
8
8
  import { t as h } from "./watch.Ub5r8btz.js";
9
9
  import { t as g } from "./class-map.D8nsNOVJ.js";
10
10
  import { n as _, t as v } from "./animation-registry.DKd2AOcC.js";
11
- import { t as y } from "./button.DKkHqsUz.js";
11
+ import { t as y } from "./button.DHmArHfu.js";
12
12
  //#region ../../packages/atoms/src/components/element-clamp/element-clamp.styles.ts
13
13
  var b = t`:host{--toggler-color:var(--cx-color-primary);display:block;overflow:hidden}.element-clamp{overflow-anchor:none}.element-clamp--disabled{opacity:.5}.element-clamp-icon{transition:var(--cx-transition-medium) rotate ease;flex:none;align-items:center;display:flex}.details--open .element-clamp-icon{rotate:90deg}.details--open.details--rtl .element-clamp-icon{rotate:-90deg}.element-clamp--open slot[name=expand-icon],.element-clamp:not(.element-clamp--open) slot[name=collapse-icon]{display:none}.element-clamp__content{display:block;overflow:hidden}.toggler{margin-top:var(--cx-spacing-2x-small);display:block}.toggler::part(base){color:var(--toggler-color);font-weight:var(--cx-font-weight-medium);text-transform:none;width:auto}.toggler::part(label){padding-left:0}`, x = class extends o {
14
14
  static #e = this.styles = [c, b];
@@ -3,38 +3,38 @@ 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
4
  import { t as l } from "./component.styles.0xM1ZmBs.js";
5
5
  import { t as u } from "./custom-element.BEMYNDK1.js";
6
- import { t as d } from "./i18n.Bjg2ubA4.js";
6
+ import { t as d } from "./i18n.tAD84KB3.js";
7
7
  import { S as f, t as p, w as m } from "./watch.Ub5r8btz.js";
8
8
  import { t as h } from "./class-map.D8nsNOVJ.js";
9
- import { t as g } from "./icon-button.qJd_az6T.js";
9
+ import { t as g } from "./icon-button.hZj_g6Bt.js";
10
10
  import { t as _ } from "./when.BUskJLtZ.js";
11
11
  import { t as v } from "./icon.CeQpEaQz.js";
12
- import { t as ee } from "./spinner.Bv06U7NJ.js";
12
+ import { t as ee } from "./spinner.DPl3rjQY.js";
13
13
  import { t as te } from "./style-map.DPGQIxip.js";
14
14
  import { t as ne } from "./debounce.Ci-xdsHE.js";
15
- import { t as re } from "./button.DKkHqsUz.js";
15
+ import { t as re } from "./button.DHmArHfu.js";
16
16
  import { p as y } from "./string.9yahdkB8.js";
17
- import { t as b } from "./tooltip.Cc02vm6M.js";
18
- import { t as x } from "./line-clamp.Dl3_JdHX.js";
17
+ import { t as b } from "./tooltip.DurE2LL4.js";
18
+ import { t as x } from "./line-clamp.iGRr7-Xj.js";
19
19
  import { t as S } from "./number.CNp5LKkv.js";
20
20
  import { t as C } from "./typography.B0mkhqTB.js";
21
21
  import { t as ie } from "./avatar.Ce0OZHBT.js";
22
22
  import { t as w } from "./repeat.CKv9FPlC.js";
23
- import { t as ae } from "./input.DZRed6yo.js";
24
- import { t as oe } from "./option.DWE0tark.js";
23
+ import { t as ae } from "./input.is3tnNFr.js";
24
+ import { t as oe } from "./option.y4dln0Vc.js";
25
25
  import { t as se } from "./space.Dd8jezXK.js";
26
- import { t as ce } from "./select.BV0Necz7.js";
27
- import { t as le } from "./tab.CYYAua8Y.js";
28
- import { t as T } from "./tab-group.dnnT9Mk6.js";
26
+ import { t as ce } from "./select.Bd8WvUMZ.js";
27
+ import { t as le } from "./tab.q5aFhnHA.js";
28
+ import { t as T } from "./tab-group.6FT_XQDH.js";
29
29
  import { t as ue } from "./tab-panel.BxeoKuSv.js";
30
- import { t as E } from "./dialog.D0oTJWFf.js";
30
+ import { t as E } from "./dialog.BY2wT_Yq.js";
31
31
  import { t as de } from "./divider.CqSNZCU8.js";
32
- import { t as fe } from "./progress-bar.CynVLLnY.js";
32
+ import { t as fe } from "./progress-bar.DCx1bJbA.js";
33
33
  import { o as D, u as O } from "./url.BCc06dE7.js";
34
34
  import k from "../components/format-bytes.js";
35
- import { t as pe } from "./relative-time.BfE3UOhF.js";
36
- import { a as A, i as me, n as he, t as j } from "./tree.BI7r-WnZ.js";
37
- import { t as ge } from "./confirm-popover.sZVNhFPh.js";
35
+ import { t as pe } from "./relative-time.U8veN742.js";
36
+ import { a as A, i as me, n as he, t as j } from "./tree.C0imvgIg.js";
37
+ import { t as ge } from "./confirm-popover.BiPCxJfb.js";
38
38
  import { t as _e } from "./_baseIteratee.DWc2-Bvm.js";
39
39
  import { t as ve } from "./choose.C2vpqhLc.js";
40
40
  import { t as ye } from "./_baseXor.Ca5K0ORC.js";
@@ -3,7 +3,7 @@ import { a as n, i as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtd
3
3
  import { t as s } from "./query.B1yi7t71.js";
4
4
  import { t as c } from "./component.styles.0xM1ZmBs.js";
5
5
  import { t as l } from "./custom-element.BEMYNDK1.js";
6
- import { t as u } from "./i18n.Bjg2ubA4.js";
6
+ import { t as u } from "./i18n.tAD84KB3.js";
7
7
  import { t as d } from "./watch.Ub5r8btz.js";
8
8
  import { t as f } from "./class-map.D8nsNOVJ.js";
9
9
  import { t as p } from "./if-defined.B29V_rEp.js";
@@ -11,17 +11,17 @@ import { t as m } from "./when.BUskJLtZ.js";
11
11
  import { t as h } from "./icon.CeQpEaQz.js";
12
12
  import { t as g } from "./style-map.DPGQIxip.js";
13
13
  import { t as _ } from "./debounce.Ci-xdsHE.js";
14
- import { t as v } from "./button.DKkHqsUz.js";
14
+ import { t as v } from "./button.DHmArHfu.js";
15
15
  import { i as y, p as b, u as x } from "./string.9yahdkB8.js";
16
- import { t as S } from "./line-clamp.Dl3_JdHX.js";
17
- import { t as C } from "./tag.DQLauctm.js";
16
+ import { t as S } from "./line-clamp.iGRr7-Xj.js";
17
+ import { t as C } from "./tag.BSBIN-rz.js";
18
18
  import { t as w } from "./repeat.CKv9FPlC.js";
19
- import { t as T } from "./input.DZRed6yo.js";
19
+ import { t as T } from "./input.is3tnNFr.js";
20
20
  import { t as E } from "./space.Dd8jezXK.js";
21
- import { t as D } from "./select.BV0Necz7.js";
21
+ import { t as D } from "./select.Bd8WvUMZ.js";
22
22
  import { t as O } from "./template.Cyvih0XQ.js";
23
- import { s as k } from "./asset-link-format.COPyGdND.js";
24
- import { a as A, i as j } from "./tree.BI7r-WnZ.js";
23
+ import { c as k } from "./asset-link-format.D6L-qc3X.js";
24
+ import { a as A, i as j } from "./tree.C0imvgIg.js";
25
25
  import { l as M, m as N, p as P, t as F } from "./string-array.F2GuxHp0.js";
26
26
  import { t as I } from "./choose.C2vpqhLc.js";
27
27
  //#region ../../node_modules/axios/index.js
@@ -2,7 +2,7 @@ import { c as e, d as t } from "./lit.CyJqR2kf.js";
2
2
  import { a as n, i as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtdr.js";
3
3
  import { t as s } from "./component.styles.0xM1ZmBs.js";
4
4
  import { t as c } from "./custom-element.BEMYNDK1.js";
5
- import { t as l } from "./i18n.Bjg2ubA4.js";
5
+ import { t as l } from "./i18n.tAD84KB3.js";
6
6
  import { t as u } from "./watch.Ub5r8btz.js";
7
7
  import { a as d, i as f, l as p, n as m, o as h, r as g, s as _, t as v, u as y } from "./time.p1t0NCwj.js";
8
8
  //#region ../../packages/atoms/src/components/format-time/format-time.styles.ts
@@ -3,14 +3,14 @@ import { a as t, i as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtd
3
3
  import { t as o } from "./query.B1yi7t71.js";
4
4
  import { t as s } from "./component.styles.0xM1ZmBs.js";
5
5
  import { t as c } from "./custom-element.BEMYNDK1.js";
6
- import { t as l } from "./i18n.Bjg2ubA4.js";
6
+ import { t as l } from "./i18n.tAD84KB3.js";
7
7
  import { t as u } from "./watch.Ub5r8btz.js";
8
8
  import { t as d } from "./class-map.D8nsNOVJ.js";
9
9
  import { t as f } from "./when.BUskJLtZ.js";
10
10
  import { n as p, t as m } from "./static-html.Ce8Avr_g.js";
11
11
  import { t as h } from "./style-map.DPGQIxip.js";
12
12
  import { t as g } from "./debounce.Ci-xdsHE.js";
13
- import { t as _ } from "./copy-button.CqqKJEh3.js";
13
+ import { t as _ } from "./copy-button.muB45Tao.js";
14
14
  import { f as v, n as y, r as b, t as x } from "./responsive.L9Csz2w2.js";
15
15
  //#region ../../packages/styles/src/prosemirror.styles.ts
16
16
  var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delete{background-color:var(--cx-color-neutral-200);text-decoration:line-through}annotate{background-color:var(--cx-color-warning-200)}.ProseMirror figure[data-track*=deletion] [data-node-type=figure],.ProseMirror cx-rich-text-code-block[data-track*=deletion],.ProseMirror cx-rich-text-image-viewer[data-track*=deletion]{border:3px solid var(--cx-color-neutral);position:relative}.ProseMirror figure[data-track*=deletion] [data-node-type=figure]:after,.ProseMirror cx-rich-text-code-block[data-track*=deletion]:after,.ProseMirror cx-rich-text-image-viewer[data-track*=deletion]:after{content:"";box-sizing:border-box;pointer-events:none;background-image:repeating-linear-gradient(45deg, var(--cx-color-neutral), var(--cx-color-neutral) 10px, var(--rich-text-background-color,var(--cx-color-neutral-0)) 10px, var(--rich-text-background-color,var(--cx-color-neutral-0)) 20px);opacity:.4;width:100%;height:100%;position:absolute;top:0;left:0}.ProseMirror figure[data-track*=insertion] [data-node-type=figure],.ProseMirror cx-rich-text-code-block[data-track*=insertion],.ProseMirror cx-rich-text-image-viewer[data-track*=insertion]{border:3px solid var(--cx-color-success)}.ProseMirror figure[data-track*=annotation] [data-node-type=figure],.ProseMirror cx-rich-text-code-block[data-track*=annotation],.ProseMirror cx-rich-text-image-viewer[data-track*=annotation]{border:3px solid var(--cx-color-warning-200)}`, C = e`
@@ -211,6 +211,7 @@ var m = class {
211
211
  appearance: "Appearance",
212
212
  appearanceOptions: "Appearance options",
213
213
  appliedFilters: "Applied filters",
214
+ appliedFiltersCount: (e) => `Applied filters (${e})`,
214
215
  apply: "Apply",
215
216
  applyFilters: "Apply filters",
216
217
  applyToPanels: "Apply to panels",
@@ -350,6 +351,7 @@ var m = class {
350
351
  class: "Class",
351
352
  clear: "Clear",
352
353
  clearAll: "Clear all",
354
+ clearAllFilters: "Clear all filters",
353
355
  clearCache: "Clear cache",
354
356
  clearEntry: "Clear entry",
355
357
  clearSearch: "Clear search",
@@ -409,6 +411,7 @@ var m = class {
409
411
  control: "Control",
410
412
  copied: "Copied",
411
413
  copy: "Copy",
414
+ copyHtml: "Copy HTML",
412
415
  createANewPalette: "Create a new palette",
413
416
  createNew: "Create new",
414
417
  createRecord: "Create record",
@@ -609,6 +612,7 @@ var m = class {
609
612
  filledBodySecondaryColorAsBackground: "Filled body, secondary color as background",
610
613
  filter: "Filter",
611
614
  filterButtonOpens: "Filter button opens",
615
+ filterRegion: (e) => `${e} filter`,
612
616
  filters: "Filters",
613
617
  find: "Find",
614
618
  findAndReplace: "Find and Replace",
@@ -857,6 +861,7 @@ var m = class {
857
861
  next: "Next",
858
862
  nextMatch: "Next match",
859
863
  nextMatchEnter: "Next match (Enter)",
864
+ nextMonth: "Next month",
860
865
  nextOccurrence: "Next occurrence",
861
866
  nextPage: "Next page",
862
867
  nextSlide: "Next slide",
@@ -868,6 +873,7 @@ var m = class {
868
873
  noDataAvailable: "No data available",
869
874
  noDownloads: "No downloads",
870
875
  noDownloadsMessage: "Your downloading assets will appear here.",
876
+ noFilters: "No filters",
871
877
  noItemsAddedYet: (e) => {
872
878
  switch (e) {
873
879
  default:
@@ -1001,6 +1007,7 @@ var m = class {
1001
1007
  previousJobUnfinished: "Previous requests still in progress",
1002
1008
  previousMatch: "Previous match",
1003
1009
  previousMatchShiftEnter: "Previous match (Shift + Enter)",
1010
+ previousMonth: "Previous month",
1004
1011
  previousOccurrence: "Previous occurrence",
1005
1012
  previousPage: "Previous page",
1006
1013
  previousSlide: "Previous slide",
@@ -1027,6 +1034,8 @@ var m = class {
1027
1034
  rememberCollapsedState: "Remember collapsed state",
1028
1035
  remove: "Remove",
1029
1036
  removeBlock: "Remove block",
1037
+ removeFilter: (e) => `Remove ${e} filter`,
1038
+ removeFilterValues: (e, t) => `Remove ${e} filter: ${t}`,
1030
1039
  removeFolder: (e) => e > 1 ? `Remove ${e} folders` : "Remove folder",
1031
1040
  removeGradientStop: "Remove color stop",
1032
1041
  renderAudio: "Render audio",
@@ -1037,6 +1046,7 @@ var m = class {
1037
1046
  representativeImage: "Representative image",
1038
1047
  requestInProgress: "Request in progress",
1039
1048
  reset: "Reset",
1049
+ resetFilter: (e) => `Reset ${e} filter`,
1040
1050
  resetPosition: "Reset position",
1041
1051
  resize: "Resize",
1042
1052
  resources: "Resources",
@@ -1087,6 +1097,28 @@ var m = class {
1087
1097
  searchApiQuery: "Search API Query",
1088
1098
  searchBox: "Search box",
1089
1099
  searchDownloads: "Search downloads",
1100
+ searchFacetsChangesDropped: "The search changed, so some of your unapplied filter changes were removed.",
1101
+ searchFacetsChangesPending: (e) => e > 1 ? `${e} filter changes pending. Press Apply to update the results.` : "1 filter change pending. Press Apply to update the results.",
1102
+ searchFacetsClearDate: (e) => `Clear ${e}`,
1103
+ searchFacetsDateAfterRange: "Input is after the accepted date range",
1104
+ searchFacetsDateBeforeRange: "Input is before the accepted date range",
1105
+ searchFacetsDateIncomplete: "Date must be completely filled",
1106
+ searchFacetsDateInvalid: "Date is invalid, please choose a valid date",
1107
+ searchFacetsDateInvalidInterval: "To date must be larger than From date",
1108
+ searchFacetsDateMissing: "Missing Date field",
1109
+ searchFacetsDateMissingInterval: "Missing From Date and/or Until Date field",
1110
+ searchFacetsDateMode: "Date type",
1111
+ searchFacetsDatePeriod: "Date period",
1112
+ searchFacetsOnlySelected: (e) => `Only ${e} selected in this filter. Other selections in this filter cleared.`,
1113
+ searchFacetsRequestCancelled: "The filter request was cancelled. Your filter changes were kept.",
1114
+ searchFacetsRequestError: "The filters could not be updated. Your filter changes were kept. Press Apply to try again.",
1115
+ searchFacetsResults: (e) => e === 0 ? "No results." : `${e} ${e === 1 ? "result" : "results"}.`,
1116
+ searchFacetsSelectDate: (e) => `Select date for ${e}`,
1117
+ searchFacetsSelectEndDate: (e) => `Select end date for ${e}`,
1118
+ searchFacetsSelectOnly: (e) => `Select only ${e}`,
1119
+ searchFacetsSelectStartDate: (e) => `Select start date for ${e}`,
1120
+ searchFacetsUpdating: "Updating the filters for the new results.",
1121
+ searchFacetsValueWithCount: (e, t) => `${e} (${t} ${t === "1" ? "result" : "results"})`,
1090
1122
  searchFolders: "Search folders",
1091
1123
  searchOptions: "Search options",
1092
1124
  searchPlaceholder: "Search placeholder",
@@ -1099,6 +1131,7 @@ var m = class {
1099
1131
  sectionStyle: "Section style",
1100
1132
  sectionTitles: "Section titles",
1101
1133
  securityPoint: "Security Point",
1134
+ seeMoreFilters: (e) => `See more ${e} filters`,
1102
1135
  seeThru: "See-thru",
1103
1136
  seeThruOnRealFolderOnly: "(See-thru on real folder only)",
1104
1137
  seeThruOnVirtualFolder: "(See-thru on virtual folder)",
@@ -1106,6 +1139,7 @@ var m = class {
1106
1139
  selectAColorFromTheScreen: "Select a color from the screen",
1107
1140
  selectARelationship: "Select a relationship",
1108
1141
  selectAll: "Select all",
1142
+ selectAllFilter: (e) => `Select all ${e} filters`,
1109
1143
  selectFolder: "Select folder",
1110
1144
  selectFolders: "Select folders",
1111
1145
  selected: "Selected",
@@ -1289,6 +1323,11 @@ var m = class {
1289
1323
  unauthorized: "Unauthorized",
1290
1324
  underline: "Underline",
1291
1325
  undo: "Undo",
1326
+ undoClearAll: "Undo clear all",
1327
+ undoClearAllFilters: "Undo clear all filters",
1328
+ undoRemoveFilter: (e) => `Undo removing ${e} filter`,
1329
+ undoRemoveFilterValues: (e, t) => `Undo removing ${e} filter: ${t}`,
1330
+ undoResetFilter: (e) => `Undo resetting ${e} filter`,
1292
1331
  unfavorite: "Unfavorite",
1293
1332
  uniqueIdentifier: "Unique identifier",
1294
1333
  unit: "Unit",
@@ -3,13 +3,13 @@ import { a as t, i as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtd
3
3
  import { t as o } from "./query.B1yi7t71.js";
4
4
  import { t as s } from "./component.styles.0xM1ZmBs.js";
5
5
  import { t as c } from "./custom-element.BEMYNDK1.js";
6
- import { t as l } from "./i18n.Bjg2ubA4.js";
6
+ import { t as l } from "./i18n.tAD84KB3.js";
7
7
  import { t as u } from "./class-map.D8nsNOVJ.js";
8
8
  import { t as d } from "./if-defined.B29V_rEp.js";
9
9
  import { t as f } from "./when.BUskJLtZ.js";
10
10
  import { n as p, t as m } from "./static-html.Ce8Avr_g.js";
11
11
  import { t as h } from "./icon.CeQpEaQz.js";
12
- import { t as g } from "./spinner.Bv06U7NJ.js";
12
+ import { t as g } from "./spinner.DPl3rjQY.js";
13
13
  //#region ../../packages/types/src/icon-button.ts
14
14
  var _ = /* @__PURE__ */ function(e) {
15
15
  return e.Large = "large", e.Medium = "medium", e.Small = "small", e.XLarge = "x-large", e;
@@ -3,7 +3,7 @@ import { a as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtdr.js";
3
3
  import { t as o } from "./query.B1yi7t71.js";
4
4
  import { t as s } from "./component.styles.0xM1ZmBs.js";
5
5
  import { t as c } from "./custom-element.BEMYNDK1.js";
6
- import { t as l } from "./i18n.Bjg2ubA4.js";
6
+ import { t as l } from "./i18n.tAD84KB3.js";
7
7
  import { t as u } from "./watch.Ub5r8btz.js";
8
8
  import { t as d } from "./class-map.D8nsNOVJ.js";
9
9
  import { t as f } from "./if-defined.B29V_rEp.js";
@@ -3,7 +3,7 @@ import { a as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtdr.js";
3
3
  import { t as o } from "./query.B1yi7t71.js";
4
4
  import { t as s } from "./component.styles.0xM1ZmBs.js";
5
5
  import { t as c } from "./custom-element.BEMYNDK1.js";
6
- import { t as l } from "./i18n.Bjg2ubA4.js";
6
+ import { t as l } from "./i18n.tAD84KB3.js";
7
7
  import { t as u } from "./watch.Ub5r8btz.js";
8
8
  import { t as d } from "./class-map.D8nsNOVJ.js";
9
9
  import { t as f } from "./icon.CeQpEaQz.js";
@@ -1,10 +1,10 @@
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 } from "./cortex-element.DTrNUtdr.js";
3
3
  import { t as s } from "./query.B1yi7t71.js";
4
- import { t as c } from "./popup.w4ZU3jI-.js";
4
+ import { t as c } from "./popup.CDY1A9dW.js";
5
5
  import { t as l } from "./component.styles.0xM1ZmBs.js";
6
6
  import { t as u } from "./custom-element.BEMYNDK1.js";
7
- import { t as d } from "./i18n.Bjg2ubA4.js";
7
+ import { t as d } from "./i18n.tAD84KB3.js";
8
8
  import { t as f } from "./watch.Ub5r8btz.js";
9
9
  import { t as p } from "./class-map.D8nsNOVJ.js";
10
10
  import { t as m } from "./if-defined.B29V_rEp.js";
@@ -3,7 +3,7 @@ import { a as n, i as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtd
3
3
  import { t as s } from "./query.B1yi7t71.js";
4
4
  import { t as c } from "./component.styles.0xM1ZmBs.js";
5
5
  import { t as l } from "./custom-element.BEMYNDK1.js";
6
- import { t as u } from "./i18n.Bjg2ubA4.js";
6
+ import { t as u } from "./i18n.tAD84KB3.js";
7
7
  import { t as d } from "./slot.CZUlACxT.js";
8
8
  import { t as f } from "./watch.Ub5r8btz.js";
9
9
  import { t as p } from "./class-map.D8nsNOVJ.js";
@@ -2034,7 +2034,7 @@ var ae = class {
2034
2034
  return this.input?.files;
2035
2035
  }
2036
2036
  constructor() {
2037
- super(), this.formControlController = new _(this, { assumeInteractionOn: ["cx-input"] }), this.hasSlotController = new d(this, "help-text", "label"), this.localize = new u(this), this.autoGrowController = new ae(this), this.hasFocus = !1, this.maskInstance = null, this.containerClicked = !1, this.title = "", this.__numberInput = Object.assign(document.createElement("input"), { type: "number" }), this.__dateInput = Object.assign(document.createElement("input"), { type: "date" }), this.type = "text", this.name = "", this.value = "", this.autoGrow = !1, this.unmaskedValue = "", this.defaultValue = "", this.size = "medium", this.filled = !1, this.pill = !1, this.label = "", this.helpText = "", this.clearable = !1, this.disabled = !1, this.placeholder = "", this.readonly = !1, this.passwordToggle = !1, this.passwordVisible = !1, this.noSpinButtons = !1, this.form = void 0, this.required = !1, this.showLength = !1, this.autocomplete = "off", this.autoFocus = !1, this.spellCheck = !0, this.maskPlaceholder = "_", this.maskLazy = !1, this.maskOverwrite = !1, this.maskBlocks = void 0, this.variant = "default", this.fileButtonLabel = "Choose file", this.buttonOnly = !1, this.fileResultLabel = (e) => {
2037
+ super(), this.formControlController = new _(this, { assumeInteractionOn: ["cx-input"] }), this.hasSlotController = new d(this, "help-text", "label"), this.localize = new u(this), this.autoGrowController = new ae(this), this.hasFocus = !1, this.maskInstance = null, this.containerClicked = !1, this.title = "", this.__numberInput = Object.assign(document.createElement("input"), { type: "number" }), this.__dateInput = Object.assign(document.createElement("input"), { type: "date" }), this.type = "text", this.name = "", this.value = "", this.autoGrow = !1, this.unmaskedValue = "", this.defaultValue = "", this.size = "medium", this.filled = !1, this.pill = !1, this.label = "", this.helpText = "", this.clearable = !1, this.disabled = !1, this.placeholder = "", this.readonly = !1, this.passwordToggle = !1, this.passwordVisible = !1, this.noSpinButtons = !1, this.form = void 0, this.required = !1, this.invalid = !1, this.describedByElements = [], this.showLength = !1, this.autocomplete = "off", this.autoFocus = !1, this.spellCheck = !0, this.maskPlaceholder = "_", this.maskLazy = !1, this.maskOverwrite = !1, this.maskBlocks = void 0, this.variant = "default", this.fileButtonLabel = "Choose file", this.buttonOnly = !1, this.fileResultLabel = (e) => {
2038
2038
  let t = "No file chosen";
2039
2039
  return e?.length && (e.length === 1 ? t = e[0].name : e.length > 1 && (t = `${e.length} files`)), t;
2040
2040
  }, this.handleMaskAccept = this.handleMaskAccept.bind(this);
@@ -2045,6 +2045,9 @@ var ae = class {
2045
2045
  disconnectedCallback() {
2046
2046
  super.disconnectedCallback(), this.maskInstance?.off("accept", this.handleMaskAccept), this.maskInstance?.destroy();
2047
2047
  }
2048
+ updated(e) {
2049
+ super.updated(e), e.has("describedByElements") && this.syncDescribedBy(e.get("describedByElements"));
2050
+ }
2048
2051
  async initMaskInstance() {
2049
2052
  if (await this.updateComplete, this.maskInstance &&= (this.maskInstance.off("accept", this.handleMaskAccept), this.maskInstance.destroy(), null), this.mask && this.input) {
2050
2053
  let e = {
@@ -2059,6 +2062,16 @@ var ae = class {
2059
2062
  this.value = this.maskInstance.value, this.unmaskedValue = this.maskInstance.unmaskedValue, t !== this.value && this.emit("cx-change"), this.maskInstance.on("accept", this.handleMaskAccept);
2060
2063
  }
2061
2064
  }
2065
+ syncDescribedBy(e) {
2066
+ let t = this.input, n = this.helpTextElement;
2067
+ if (t && n) {
2068
+ if (this.describedByElements.length > 0) {
2069
+ t.ariaDescribedByElements = [n, ...this.describedByElements];
2070
+ return;
2071
+ }
2072
+ e?.length && (t.ariaDescribedByElements = null, t.setAttribute("aria-describedby", "help-text"));
2073
+ }
2074
+ }
2062
2075
  handleBlur() {
2063
2076
  if (this.containerClicked) {
2064
2077
  this.containerClicked = !1, this.focus();
@@ -2186,7 +2199,7 @@ var ae = class {
2186
2199
  })} for="input" aria-hidden=${r ? "false" : "true"}><slot name="label" part="label">${this.label}</slot></label><input part="input" id="input" class=${p({
2187
2200
  input__control: !0,
2188
2201
  "input__control--auto-grow": o
2189
- })} type=${this.type === "password" && this.passwordVisible ? "text" : this.type} title=${this.title} aria-label=${m(this.ariaLabel)} name=${m(this.name)} ?disabled=${this.disabled} ?readonly=${this.readonly} ?required=${this.required} placeholder=${m(this.placeholder)} minlength=${m(this.minlength)} maxlength=${m(this.maxlength)} min=${m(this.min)} max=${m(this.max)} step=${m(this.step)} autocapitalize=${m(this.autocapitalize)} autocomplete=${m(this.autocomplete)} autocorrect=${m(this.autoCorrect)} ?autofocus=${this.autoFocus} spellcheck=${this.spellCheck} pattern=${m(this.pattern)} enterkeyhint=${m(this.enterKeyHint)} inputmode=${m(this.inputMode)} aria-describedby="help-text" .value=${b(this.value)} @change=${this.handleChange} @input=${this.handleInput} @invalid=${this.handleInvalid} @keydown=${this.handleKeyDown} @focus=${this.handleFocus} @blur=${this.handleBlur} accept=${m(this.accept)} ?multiple=${this.multiple}>${h(o, () => e`<span part="auto-grow-mirror" class="input__auto-grow-mirror" aria-hidden="true"></span>`)}
2202
+ })} type=${this.type === "password" && this.passwordVisible ? "text" : this.type} title=${this.title} aria-label=${m(this.ariaLabel)} name=${m(this.name)} ?disabled=${this.disabled} ?readonly=${this.readonly} ?required=${this.required} placeholder=${m(this.placeholder)} minlength=${m(this.minlength)} maxlength=${m(this.maxlength)} min=${m(this.min)} max=${m(this.max)} step=${m(this.step)} autocapitalize=${m(this.autocapitalize)} autocomplete=${m(this.autocomplete)} autocorrect=${m(this.autoCorrect)} ?autofocus=${this.autoFocus} spellcheck=${this.spellCheck} pattern=${m(this.pattern)} enterkeyhint=${m(this.enterKeyHint)} inputmode=${m(this.inputMode)} aria-describedby="help-text" aria-invalid=${m(this.invalid ? "true" : void 0)} .value=${b(this.value)} @change=${this.handleChange} @input=${this.handleInput} @invalid=${this.handleInvalid} @keydown=${this.handleKeyDown} @focus=${this.handleFocus} @blur=${this.handleBlur} accept=${m(this.accept)} ?multiple=${this.multiple}>${h(o, () => e`<span part="auto-grow-mirror" class="input__auto-grow-mirror" aria-hidden="true"></span>`)}
2190
2203
  ${this.type === "file" && !this.buttonOnly ? e`<div class="input__control input__control--file" part="file-control" @click=${this.handleFileButtonClick}><slot name="file-button"><cx-button part="file-button" variant=${m(this.variant)} size=${m(this.size)} ?disabled=${this.disabled}>${this.fileButtonLabel}</cx-button></slot><span part="file-result">${s}</span></div>` : ""}</span>${this.type === "file" && this.buttonOnly ? e`<div class="input__control input__control--file" part="file-control" @click=${this.handleFileButtonClick}><slot name="file-button"><cx-button part="file-button" variant=${m(this.variant)} size=${m(this.size)} ?disabled=${this.disabled}>${this.fileButtonLabel}</cx-button></slot></div>` : ""}
2191
2204
  ${a ? e`<button part="clear-button" class="input__clear" type="button" aria-label=${this.localize.term("clearEntry")} @click=${this.handleClearClick} tabindex="-1"><slot name="clear-icon"><cx-icon name="close"></cx-icon></slot></button>` : ""}
2192
2205
  ${this.passwordToggle && !this.disabled ? e`<button part="password-toggle-button" class="input__password-toggle" type="button" aria-label=${this.localize.term(this.passwordVisible ? "hidePassword" : "showPassword")} @click=${this.handlePasswordToggle} tabindex="-1">${this.passwordVisible ? e`<slot name="show-password-icon"><cx-icon name="visibility_off" library="system"></cx-icon></slot>` : e`<slot name="hide-password-icon"><cx-icon name="visibility" library="system"></cx-icon></slot>`}</button>` : ""}<span part="suffix" class="input__suffix"><slot name="suffix"></slot></span></div>${h(this.showLength, () => e`<div part="character-count" class="input__character-count">${[
@@ -2196,7 +2209,7 @@ var ae = class {
2196
2209
  ].filter(Boolean).join(" ")}</div>`)}</div><div part="form-control-help-text" id="help-text" class="form-control__help-text" aria-hidden=${i ? "false" : "true"}><slot name="help-text">${this.helpText}</slot></div></div>`;
2197
2210
  }
2198
2211
  };
2199
- i([s(".input__control"), a("design:type", typeof HTMLInputElement > "u" ? Object : HTMLInputElement)], $.prototype, "input", void 0), i([s(".input__auto-grow-mirror"), a("design:type", typeof HTMLSpanElement > "u" ? Object : HTMLSpanElement)], $.prototype, "autoGrowMirror", void 0), i([s(".input-container"), a("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], $.prototype, "inputContainer", void 0), i([s(".form-control__label"), a("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], $.prototype, "labelElement", void 0), i([r(), a("design:type", Object)], $.prototype, "hasFocus", void 0), i([r(), a("design:type", Object)], $.prototype, "maskInstance", void 0), i([r(), a("design:type", Object)], $.prototype, "containerClicked", void 0), i([n(), a("design:type", Object)], $.prototype, "title", void 0), i([n({ reflect: !0 }), a("design:type", String)], $.prototype, "type", void 0), i([n(), a("design:type", Object)], $.prototype, "name", void 0), i([n(), a("design:type", Object)], $.prototype, "value", void 0), i([n({
2212
+ i([s(".input__control"), a("design:type", typeof HTMLInputElement > "u" ? Object : HTMLInputElement)], $.prototype, "input", void 0), i([s(".input__auto-grow-mirror"), a("design:type", typeof HTMLSpanElement > "u" ? Object : HTMLSpanElement)], $.prototype, "autoGrowMirror", void 0), i([s(".input-container"), a("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], $.prototype, "inputContainer", void 0), i([s(".form-control__label"), a("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], $.prototype, "labelElement", void 0), i([s("#help-text"), a("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], $.prototype, "helpTextElement", void 0), i([r(), a("design:type", Object)], $.prototype, "hasFocus", void 0), i([r(), a("design:type", Object)], $.prototype, "maskInstance", void 0), i([r(), a("design:type", Object)], $.prototype, "containerClicked", void 0), i([n(), a("design:type", Object)], $.prototype, "title", void 0), i([n({ reflect: !0 }), a("design:type", String)], $.prototype, "type", void 0), i([n(), a("design:type", Object)], $.prototype, "name", void 0), i([n(), a("design:type", Object)], $.prototype, "value", void 0), i([n({
2200
2213
  attribute: "auto-grow",
2201
2214
  type: Boolean
2202
2215
  }), a("design:type", Object)], $.prototype, "autoGrow", void 0), i([n({
@@ -2227,7 +2240,7 @@ i([s(".input__control"), a("design:type", typeof HTMLInputElement > "u" ? Object
2227
2240
  }), a("design:type", Object)], $.prototype, "noSpinButtons", void 0), i([n({ reflect: !1 }), a("design:type", Object)], $.prototype, "form", void 0), i([n({
2228
2241
  reflect: !0,
2229
2242
  type: Boolean
2230
- }), a("design:type", Object)], $.prototype, "required", void 0), i([n(), a("design:type", String)], $.prototype, "pattern", void 0), i([n({ type: Number }), a("design:type", Number)], $.prototype, "minlength", void 0), i([n({ type: Number }), a("design:type", Number)], $.prototype, "maxlength", void 0), i([n({
2243
+ }), a("design:type", Object)], $.prototype, "required", void 0), i([n({ type: Boolean }), a("design:type", Object)], $.prototype, "invalid", void 0), i([n({ attribute: !1 }), a("design:type", Array)], $.prototype, "describedByElements", void 0), i([n(), a("design:type", String)], $.prototype, "pattern", void 0), i([n({ type: Number }), a("design:type", Number)], $.prototype, "minlength", void 0), i([n({ type: Number }), a("design:type", Number)], $.prototype, "maxlength", void 0), i([n({
2231
2244
  attribute: "show-length",
2232
2245
  type: Boolean
2233
2246
  }), a("design:type", Object)], $.prototype, "showLength", void 0), i([n(), a("design:type", Object)], $.prototype, "min", void 0), i([n(), a("design:type", Object)], $.prototype, "max", void 0), i([n(), a("design:type", Object)], $.prototype, "step", void 0), i([n({