@orangelogic/design-system 2.60.0 → 2.61.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 (248) hide show
  1. package/library/apps/cortex/src/types.d.ts +2 -0
  2. package/library/chunks/_baseRest.ClTMQtN1.js +67 -0
  3. package/library/chunks/{_baseUniq.BUihBa8c.js → _baseUniq.Df-fLIBx.js} +53 -56
  4. package/library/chunks/{amazon_s3.DeaMdPPn.js → amazon_s3.BEMtqafk.js} +1 -1
  5. package/library/chunks/animate.El-MpOws.js +37 -0
  6. package/library/chunks/animation-registry.HmpwNuGH.js +34 -0
  7. package/library/chunks/{animation.B7d72NVK.js → animation.DfUHRQry.js} +10 -8
  8. package/library/chunks/array.DCtvHiLS.js +81 -0
  9. package/library/chunks/asset.CG_yXtWK.js +288 -0
  10. package/library/chunks/{browser.Va59Ix3P.js → browser.BHOCIF_A.js} +18 -16
  11. package/library/chunks/{button.CtCSNRB3.js → button.P71VJ5xh.js} +75 -74
  12. package/library/chunks/{button.styles.C8AIO8fd.js → button.styles.Dl5IQLHU.js} +1 -1
  13. package/library/chunks/{capitalize.CNStXZBq.js → capitalize.WSkCXkNE.js} +1 -1
  14. package/library/chunks/{chatbot.sm4Rph1v.js → chatbot.BmpIu59L.js} +2 -2
  15. package/library/chunks/{class-map.CoZTSvbM.js → class-map.BiVq-cVR.js} +1 -1
  16. package/library/chunks/{color-swatch-group.qJevXs50.js → color-swatch-group.DlLmydlB.js} +116 -127
  17. package/library/chunks/color-swatch.Bpb_hW2H.js +407 -0
  18. package/library/chunks/color.vLD2sNTs.js +164 -0
  19. package/library/chunks/{component.styles.CI-v8BZa.js → component.styles.DMSLciL5.js} +1 -1
  20. package/library/chunks/{confirm-popover.D2TF1x6K.js → confirm-popover.C1uA36JR.js} +15 -13
  21. package/library/chunks/{content-builder.WranV3P4.js → content-builder.Bf7kqzDI.js} +1 -1
  22. package/library/chunks/converters.DkDtLstb.js +11 -0
  23. package/library/chunks/{cropper.aA0v16xS.js → cropper.BraEEykE.js} +5004 -5024
  24. package/library/chunks/custom-element.L4WJXn1j.js +14 -0
  25. package/library/chunks/debounce.DaHuiSGU.js +15 -0
  26. package/library/chunks/{default-value.CIKAvD5l.js → default-value.COZopaet.js} +1 -1
  27. package/library/chunks/{dialog.B1TORO6S.js → dialog.C_75RVVz.js} +52 -49
  28. package/library/chunks/{directive-helpers.DBHob-_L.js → directive-helpers.Dm4rc594.js} +1 -1
  29. package/library/chunks/dom.CZrJ64Dm.js +92 -0
  30. package/library/chunks/{dot-pagination.8f2oX_ge.js → dot-pagination.CoCIJsHC.js} +24 -22
  31. package/library/chunks/{endpoints.BgyupJys.js → endpoints.B7lcoc1N.js} +1 -3
  32. package/library/chunks/{file-on-demand.Cwgabdyw.js → file-on-demand.B2jNilAj.js} +1829 -1544
  33. package/library/chunks/{folder-select.DiWCwR-T.js → folder-select.CSEQxIXF.js} +380 -255
  34. package/library/chunks/{form-control.styles.NE2Q-quE.js → form-control.styles.CUGhvlfT.js} +1 -1
  35. package/library/chunks/{form.B8u0ywni.js → form.CO12-VK0.js} +1 -1
  36. package/library/chunks/{guard.BDP4A85K.js → guard.D4axKaMo.js} +1 -1
  37. package/library/chunks/{header.B_FD8uLt.js → header.Bd3G0-oA.js} +11 -9
  38. package/library/chunks/{hub-connection.CxfaT11o.js → hub-connection.BxT2b7Nq.js} +4 -3
  39. package/library/chunks/{i18n.BP2FRO1v.js → i18n.DrzK7TPf.js} +54 -7
  40. package/library/chunks/identity.ByMq8VxU.js +6 -0
  41. package/library/chunks/{if-defined.MfEgpxEN.js → if-defined.BRoBj_Rp.js} +1 -1
  42. package/library/chunks/{iframe.DZm7FiCl.js → iframe.UCj6Ze2A.js} +18 -16
  43. package/library/chunks/{image.Ycf8RudS.js → image.DZCRhE3G.js} +82 -79
  44. package/library/chunks/image.mbpyiQpQ.js +82 -0
  45. package/library/chunks/index.S0wy3rzm.js +373 -0
  46. package/library/chunks/isObjectLike.D3cpZO39.js +81 -0
  47. package/library/chunks/{isSymbol.L0C2ND_U.js → isSymbol.huJ_Cvxt.js} +1 -1
  48. package/library/chunks/lib-cortex-element.CVMmyPMC.js +146 -0
  49. package/library/chunks/{list-editor.COkw5JKG.js → list-editor.CrLntuM7.js} +75 -79
  50. package/library/chunks/{custom-element.vnXBMQxc.js → lit-element.jLBm65_O.js} +123 -277
  51. package/library/chunks/{live.LdB9xEhp.js → live.SCz6M8Gs.js} +2 -2
  52. package/library/chunks/{mailchimp.BjbPJfd-.js → mailchimp.Bs6uJVsf.js} +1 -1
  53. package/library/chunks/{modal.BqNLxgs1.js → modal.U1QltQKe.js} +25 -19
  54. package/library/chunks/{option.D9KJhzHs.js → option.D1u5-cTt.js} +21 -19
  55. package/library/chunks/{orangelogic.BgbQXkBv.js → orangelogic.TdFfoPUN.js} +1 -1
  56. package/library/chunks/{overlayscrollbars.aFuRG5Rs.js → overlayscrollbars.XhGWx9Zk.js} +1 -1
  57. package/library/chunks/{pagination.C2FN4fmO.js → pagination.BI3LONVU.js} +17 -15
  58. package/library/chunks/{ref.BaCjlzLO.js → ref.bzeTdX0K.js} +2 -2
  59. package/library/chunks/{repeat.CauKaXyy.js → repeat.DbF2p5ae.js} +2 -2
  60. package/library/chunks/responsive.CA6dcNiM.js +17 -0
  61. package/library/chunks/{scroll.DwPiX2Ox.js → scroll.xtO5yojm.js} +3 -2
  62. package/library/chunks/{slot.DJLm4Dig.js → slot.j5oheLJC.js} +12 -4
  63. package/library/chunks/{state.Cw55xXlb.js → state.CSDxrqLd.js} +1 -1
  64. package/library/chunks/{static.BjNkqt7_.js → static.UA3G1Deq.js} +1 -1
  65. package/library/chunks/string.Cp_XNbnV.js +160 -0
  66. package/library/chunks/{style-map.CZovMmo_.js → style-map.llVFPd__.js} +1 -1
  67. package/library/chunks/{tab-group.5fLnWflv.js → tab-group.DxSlcWK0.js} +20 -18
  68. package/library/chunks/{table.BAr8KKc6.js → table.CY-iMTWV.js} +457 -505
  69. package/library/chunks/template.CsJd8Pb_.js +20 -0
  70. package/library/chunks/time.D_uFZqqe.js +118 -0
  71. package/library/chunks/{toString.CL_lYXbK.js → toString.CRT5zqEU.js} +3 -3
  72. package/library/chunks/toast.BXNbwZV8.js +25 -0
  73. package/library/chunks/{tree.CUfvIDyA.js → tree.CNbrP8cY.js} +33 -36
  74. package/library/chunks/{typography.BFpl0WMA.js → typography.oDzoLbZS.js} +16 -14
  75. package/library/chunks/{unsafe-html.DyO9_Rsq.js → unsafe-html.Dff7-rCx.js} +1 -1
  76. package/library/chunks/url.LjsR2sB5.js +15 -0
  77. package/library/chunks/user-agent.D9aPuOyL.js +4 -0
  78. package/library/chunks/watch.q1sEjPWL.js +501 -0
  79. package/library/components/alert.js +38 -35
  80. package/library/components/animated-image.js +25 -23
  81. package/library/components/animation.js +7 -5
  82. package/library/components/array-line-clamp.d.ts +3 -0
  83. package/library/components/array-line-clamp.js +195 -0
  84. package/library/components/asset-link-format.js +223 -212
  85. package/library/components/atoms.js +164 -162
  86. package/library/components/avatar.js +28 -26
  87. package/library/components/badge.js +10 -8
  88. package/library/components/bicolor-picker.js +21 -19
  89. package/library/components/border-input-group.js +11 -9
  90. package/library/components/breadcrumb-item.js +14 -12
  91. package/library/components/breadcrumb.js +24 -22
  92. package/library/components/button-group.js +26 -24
  93. package/library/components/button.js +14 -13
  94. package/library/components/card.js +28 -19
  95. package/library/components/checkbox.js +29 -23
  96. package/library/components/color-picker.js +19 -17
  97. package/library/components/color-swatch-group.js +20 -17
  98. package/library/components/color-swatch.js +16 -13
  99. package/library/components/confirm-popover.js +11 -9
  100. package/library/components/copy-button.js +15 -13
  101. package/library/components/corner-position-input-group.js +13 -11
  102. package/library/components/cortex-element.d.ts +3 -0
  103. package/library/components/cortex-element.js +5 -0
  104. package/library/components/cropper.js +7 -5
  105. package/library/components/details.js +23 -20
  106. package/library/components/dialog.js +19 -16
  107. package/library/components/divider.js +13 -11
  108. package/library/components/dot-pagination.js +11 -9
  109. package/library/components/dot-status.js +10 -8
  110. package/library/components/drawer.js +63 -51
  111. package/library/components/dropdown.js +29 -26
  112. package/library/components/dynamic-select.js +12 -10
  113. package/library/components/element-clamp.js +28 -25
  114. package/library/components/file-on-demand.js +21 -20
  115. package/library/components/folder-select.js +12 -10
  116. package/library/components/format-bytes.js +11 -10
  117. package/library/components/format-date.js +11 -9
  118. package/library/components/format-number.js +16 -15
  119. package/library/components/format-time.js +118 -9
  120. package/library/components/grid-item.js +48 -46
  121. package/library/components/grid.js +31 -29
  122. package/library/components/header.js +10 -9
  123. package/library/components/hub-connection.js +6 -5
  124. package/library/components/icon-button.js +20 -18
  125. package/library/components/icon.js +17 -15
  126. package/library/components/iframe.js +10 -8
  127. package/library/components/image-comparer.js +27 -25
  128. package/library/components/image.js +14 -11
  129. package/library/components/include.js +26 -24
  130. package/library/components/input-group.js +15 -13
  131. package/library/components/input.js +23 -21
  132. package/library/components/line-clamp.js +12 -10
  133. package/library/components/list-editor.js +17 -15
  134. package/library/components/markdown.js +80 -78
  135. package/library/components/masonry.js +46 -44
  136. package/library/components/menu-item.js +151 -136
  137. package/library/components/menu-label.js +15 -13
  138. package/library/components/menu-section.js +18 -16
  139. package/library/components/menu.js +10 -8
  140. package/library/components/molecules.js +5 -5
  141. package/library/components/mutation-observer.js +12 -10
  142. package/library/components/option.js +10 -8
  143. package/library/components/organisms.js +2 -2
  144. package/library/components/padding-input-group.js +30 -28
  145. package/library/components/pagination.js +14 -12
  146. package/library/components/popup.js +3296 -9
  147. package/library/components/position-picker.js +12 -10
  148. package/library/components/progress-bar.js +13 -11
  149. package/library/components/progress-ring.js +15 -13
  150. package/library/components/qr-code.js +54 -52
  151. package/library/components/radio-button.js +19 -17
  152. package/library/components/radio-card.js +14 -12
  153. package/library/components/radio-group.js +20 -18
  154. package/library/components/radio.js +15 -13
  155. package/library/components/range.js +25 -23
  156. package/library/components/rating.js +17 -15
  157. package/library/components/relative-time.js +16 -14
  158. package/library/components/resize-observer.js +21 -19
  159. package/library/components/select.js +1442 -25
  160. package/library/components/shadow-input-group.js +19 -17
  161. package/library/components/share-option-list.js +20 -18
  162. package/library/components/sidebar.js +14 -12
  163. package/library/components/size-input-group.js +35 -33
  164. package/library/components/skeleton.js +12 -10
  165. package/library/components/space.js +12 -10
  166. package/library/components/spinner.js +17 -15
  167. package/library/components/split-panel.js +15 -13
  168. package/library/components/step.js +18 -16
  169. package/library/components/stepper-wizard.js +11 -9
  170. package/library/components/stepper.js +13 -11
  171. package/library/components/switch.js +21 -19
  172. package/library/components/tab-group.js +15 -13
  173. package/library/components/tab-panel.js +20 -18
  174. package/library/components/tab.js +18 -16
  175. package/library/components/table.js +69 -67
  176. package/library/components/tag.js +11 -9
  177. package/library/components/textarea.js +20 -18
  178. package/library/components/timecode.js +98 -8
  179. package/library/components/tooltip.js +24 -21
  180. package/library/components/tree-item.js +14 -11
  181. package/library/components/tree.js +12 -10
  182. package/library/components/typeface.js +13 -11
  183. package/library/components/types.js +15487 -15444
  184. package/library/components/typography.js +6 -4
  185. package/library/components/video.js +13 -11
  186. package/library/components/visually-hidden.js +15 -13
  187. package/library/events.d.ts +1 -0
  188. package/library/events.js +1 -0
  189. package/library/package.json +11 -2
  190. package/library/packages/atoms/src/components/array-line-clamp/array-line-clamp.d.ts +45 -0
  191. package/library/packages/atoms/src/components/array-line-clamp/array-line-clamp.styles.d.ts +2 -0
  192. package/library/packages/atoms/src/components/checkbox/checkbox.d.ts +2 -0
  193. package/library/packages/atoms/src/components/drawer/drawer.d.ts +7 -1
  194. package/library/packages/atoms/src/components/include/include.d.ts +1 -0
  195. package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +2 -0
  196. package/library/packages/atoms/src/components/tree/tree.d.ts +0 -4
  197. package/library/packages/atoms/src/index.d.ts +1 -0
  198. package/library/packages/events/src/cx-file-on-demand-load-more.d.ts +8 -0
  199. package/library/packages/events/src/cx-file-on-demand-pin.d.ts +8 -0
  200. package/library/packages/events/src/cx-file-on-demand-unpin.d.ts +8 -0
  201. package/library/packages/events/src/cx-folder-select-search-term-change.d.ts +8 -0
  202. package/library/packages/events/src/cx-share-option-list-item-selected.d.ts +8 -0
  203. package/library/packages/events/src/events.d.ts +6 -2
  204. package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +2 -0
  205. package/library/packages/molecules/src/cropper/cropper.d.ts +1 -0
  206. package/library/packages/molecules/src/cropper/react/Cropper.d.ts +1 -0
  207. package/library/packages/molecules/src/download-format-picker/download-format-picker.d.ts +1 -0
  208. package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +8 -0
  209. package/library/packages/molecules/src/folder-select/components/folder-select-tree-item/folder-select-tree-item.d.ts +1 -0
  210. package/library/packages/molecules/src/folder-select/folder-select.d.ts +6 -1
  211. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +3 -7
  212. package/library/packages/organisms/src/content-builder/styleController.d.ts +8 -8
  213. package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.d.ts +80 -0
  214. package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.styles.d.ts +2 -0
  215. package/library/packages/organisms/src/file-on-demand/components/file-on-demand-pinned-status.ts/file-on-demand-pinned-status.d.ts +44 -0
  216. package/library/packages/organisms/src/file-on-demand/file-on-demand.constants.d.ts +1 -0
  217. package/library/packages/organisms/src/file-on-demand/file-on-demand.d.ts +11 -18
  218. package/library/packages/organisms/src/file-on-demand/file-on-demand.utils.d.ts +6 -0
  219. package/library/packages/services/src/api/folder/folder.d.ts +4 -8
  220. package/library/packages/services/src/api/folder/folder.types.d.ts +2 -1
  221. package/library/packages/types/src/file-on-demand.d.ts +4 -0
  222. package/library/packages/types/src/folder-select.d.ts +9 -2
  223. package/library/packages/utils/src/custom-element/i18n.d.ts +40 -2
  224. package/library/packages/utils/src/drag-scroll/drag-scroll.d.ts +22 -0
  225. package/library/packages/utils/src/drag-scroll/index.d.ts +1 -0
  226. package/library/packages/utils/src/font/font.d.ts +26 -0
  227. package/library/packages/utils/src/font/index.d.ts +1 -0
  228. package/library/packages/utils/src/history-manager/history-manager.d.ts +13 -0
  229. package/library/packages/utils/src/history-manager/index.d.ts +1 -0
  230. package/library/packages/utils/src/index.d.ts +45 -0
  231. package/library/packages/utils/src/template/index.d.ts +1 -0
  232. package/library/packages/utils/src/template/template.d.ts +3 -0
  233. package/library/react-web-component.d.ts +418 -360
  234. package/library/utils.d.ts +1 -0
  235. package/library/utils.js +180 -0
  236. package/package.json +11 -2
  237. package/library/chunks/animation-registry.DavRkTTr.js +0 -69
  238. package/library/chunks/asset.Ba-CxnNM.js +0 -309
  239. package/library/chunks/color-swatch.DUe3iLLo.js +0 -558
  240. package/library/chunks/dom.C0OFx7ND.js +0 -78
  241. package/library/chunks/format-time.BW6-ZWCX.js +0 -226
  242. package/library/chunks/isObjectLike.z36Fu426.js +0 -34
  243. package/library/chunks/popup._w5T7x8f.js +0 -3307
  244. package/library/chunks/select.DfO4de04.js +0 -1441
  245. package/library/chunks/string.BCk3SmdZ.js +0 -144
  246. package/library/chunks/timecode.D7XTiQ_3.js +0 -105
  247. package/library/chunks/watch.BCJD77bD.js +0 -547
  248. package/library/packages/events/src/cx-load-more.d.ts +0 -8
@@ -1,12 +1,14 @@
1
- import "../chunks/custom-element.vnXBMQxc.js";
2
- import "../chunks/component.styles.CI-v8BZa.js";
3
- import { C as l } from "../chunks/iframe.DZm7FiCl.js";
4
- import "../chunks/i18n.BP2FRO1v.js";
5
- import "../chunks/watch.BCJD77bD.js";
1
+ import "../chunks/lib-cortex-element.CVMmyPMC.js";
2
+ import "../chunks/component.styles.DMSLciL5.js";
3
+ import { C as u } from "../chunks/iframe.UCj6Ze2A.js";
4
+ import "../chunks/custom-element.L4WJXn1j.js";
5
+ import "../chunks/i18n.DrzK7TPf.js";
6
+ import "../chunks/watch.q1sEjPWL.js";
7
+ import "../chunks/lit-element.jLBm65_O.js";
6
8
  import "../chunks/query.BBf1UFkC.js";
7
- import "../chunks/class-map.CoZTSvbM.js";
8
- import "../chunks/if-defined.MfEgpxEN.js";
9
+ import "../chunks/class-map.BiVq-cVR.js";
10
+ import "../chunks/if-defined.BRoBj_Rp.js";
9
11
  import "../chunks/when.Dr1es41R.js";
10
12
  export {
11
- l as default
13
+ u as default
12
14
  };
@@ -1,14 +1,16 @@
1
- import { i as h, n as f, C as g, x as u, c as v } from "../chunks/custom-element.vnXBMQxc.js";
2
- import { c as _ } from "../chunks/component.styles.CI-v8BZa.js";
3
- import { d as w } from "../chunks/drag.DXEXVXPv.js";
4
- import { L as y } from "../chunks/i18n.BP2FRO1v.js";
5
- import { c as d } from "../chunks/math.DqTA6ya4.js";
6
- import { w as x } from "../chunks/watch.BCJD77bD.js";
7
- import { e as m } from "../chunks/query.BBf1UFkC.js";
8
- import { e as b } from "../chunks/class-map.CoZTSvbM.js";
9
- import { o as c } from "../chunks/style-map.CZovMmo_.js";
10
- import p from "./icon.js";
11
- const $ = h`
1
+ import { n as h, C as f } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
+ import { c as g } from "../chunks/component.styles.DMSLciL5.js";
3
+ import { c as u } from "../chunks/custom-element.L4WJXn1j.js";
4
+ import { d as v } from "../chunks/drag.DXEXVXPv.js";
5
+ import { L as _ } from "../chunks/i18n.DrzK7TPf.js";
6
+ import { c as m } from "../chunks/math.DqTA6ya4.js";
7
+ import { w } from "../chunks/watch.q1sEjPWL.js";
8
+ import { i as y, x } from "../chunks/lit-element.jLBm65_O.js";
9
+ import { e as p } from "../chunks/query.BBf1UFkC.js";
10
+ import { e as b } from "../chunks/class-map.BiVq-cVR.js";
11
+ import { o as c } from "../chunks/style-map.llVFPd__.js";
12
+ import d from "./icon.js";
13
+ const $ = y`
12
14
  :host {
13
15
  --divider-width: 2px;
14
16
  --handle-size: 2.5rem;
@@ -86,16 +88,16 @@ var z = Object.defineProperty, C = Object.getOwnPropertyDescriptor, s = (e, t, a
86
88
  (n = e[l]) && (i = (o ? n(t, a, i) : n(i)) || i);
87
89
  return o && i && z(t, a, i), i;
88
90
  };
89
- let r = class extends g {
91
+ let r = class extends f {
90
92
  constructor() {
91
- super(...arguments), this.localize = new y(this), this.position = 50;
93
+ super(...arguments), this.localize = new _(this), this.position = 50;
92
94
  }
93
95
  handleDrag(e) {
94
96
  const { width: t } = this.base.getBoundingClientRect(), a = this.localize.dir() === "rtl";
95
- e.preventDefault(), w(this.base, {
97
+ e.preventDefault(), v(this.base, {
96
98
  initialEvent: e,
97
99
  onMove: (o) => {
98
- this.position = parseFloat(d(o / t * 100, 0, 100).toFixed(2)), a && (this.position = 100 - this.position);
100
+ this.position = parseFloat(m(o / t * 100, 0, 100).toFixed(2)), a && (this.position = 100 - this.position);
99
101
  }
100
102
  });
101
103
  }
@@ -104,7 +106,7 @@ let r = class extends g {
104
106
  if (["ArrowLeft", "ArrowRight", "Home", "End"].includes(e.key)) {
105
107
  const o = e.shiftKey ? 10 : 1;
106
108
  let i = this.position;
107
- e.preventDefault(), (t && e.key === "ArrowLeft" || a && e.key === "ArrowRight") && (i -= o), (t && e.key === "ArrowRight" || a && e.key === "ArrowLeft") && (i += o), e.key === "Home" && (i = 0), e.key === "End" && (i = 100), i = d(i, 0, 100), this.position = i;
109
+ e.preventDefault(), (t && e.key === "ArrowLeft" || a && e.key === "ArrowRight") && (i -= o), (t && e.key === "ArrowRight" || a && e.key === "ArrowLeft") && (i += o), e.key === "Home" && (i = 0), e.key === "End" && (i = 100), i = m(i, 0, 100), this.position = i;
108
110
  }
109
111
  }
110
112
  handlePositionChange() {
@@ -112,7 +114,7 @@ let r = class extends g {
112
114
  }
113
115
  render() {
114
116
  const e = this.localize.dir() === "rtl";
115
- return u`
117
+ return x`
116
118
  <div
117
119
  part="base"
118
120
  id="image-comparer"
@@ -172,25 +174,25 @@ let r = class extends g {
172
174
  `;
173
175
  }
174
176
  };
175
- r.styles = [_, $];
177
+ r.styles = [g, $];
176
178
  r.dependencies = {
177
- "cx-icon": p
179
+ "cx-icon": d
178
180
  };
179
- r.scopedElement = { "cx-icon": p };
181
+ r.scopedElement = { "cx-icon": d };
180
182
  s([
181
- m(".image-comparer")
183
+ p(".image-comparer")
182
184
  ], r.prototype, "base", 2);
183
185
  s([
184
- m(".image-comparer__handle")
186
+ p(".image-comparer__handle")
185
187
  ], r.prototype, "handle", 2);
186
188
  s([
187
- f({ reflect: !0, type: Number })
189
+ h({ reflect: !0, type: Number })
188
190
  ], r.prototype, "position", 2);
189
191
  s([
190
- x("position", { waitUntilFirstUpdate: !0 })
192
+ w("position", { waitUntilFirstUpdate: !0 })
191
193
  ], r.prototype, "handlePositionChange", 1);
192
194
  r = s([
193
- v("cx-image-comparer")
195
+ u("cx-image-comparer")
194
196
  ], r);
195
197
  export {
196
198
  r as default
@@ -1,20 +1,23 @@
1
- import { C as h } from "../chunks/image.Ycf8RudS.js";
2
- import "../chunks/component.styles.CI-v8BZa.js";
1
+ import { C as n } from "../chunks/image.DZCRhE3G.js";
2
+ import "../chunks/component.styles.DMSLciL5.js";
3
3
  import "../chunks/index.Cpamj0jB.js";
4
- import "../chunks/custom-element.vnXBMQxc.js";
5
- import "../chunks/popup._w5T7x8f.js";
6
- import "../chunks/i18n.BP2FRO1v.js";
7
- import "../chunks/watch.BCJD77bD.js";
8
- import "../chunks/state.Cw55xXlb.js";
4
+ import "../chunks/custom-element.L4WJXn1j.js";
5
+ import "../chunks/debounce.DaHuiSGU.js";
6
+ import "../chunks/i18n.DrzK7TPf.js";
7
+ import "../chunks/watch.q1sEjPWL.js";
8
+ import "../chunks/lit-element.jLBm65_O.js";
9
+ import "../chunks/lib-cortex-element.CVMmyPMC.js";
10
+ import "../chunks/state.CSDxrqLd.js";
9
11
  import "../chunks/query.BBf1UFkC.js";
10
- import "../chunks/class-map.CoZTSvbM.js";
11
- import "../chunks/if-defined.MfEgpxEN.js";
12
- import "../chunks/style-map.CZovMmo_.js";
12
+ import "../chunks/class-map.BiVq-cVR.js";
13
+ import "../chunks/if-defined.BRoBj_Rp.js";
14
+ import "../chunks/style-map.llVFPd__.js";
13
15
  import "../chunks/when.Dr1es41R.js";
14
16
  import "./icon.js";
17
+ import "./popup.js";
15
18
  import "./resize-observer.js";
16
19
  import "./skeleton.js";
17
20
  import "./space.js";
18
21
  export {
19
- h as default
22
+ n as default
20
23
  };
@@ -1,33 +1,35 @@
1
- import { i as p, n as u, C as h, x as m, c as f } from "../chunks/custom-element.vnXBMQxc.js";
2
- import { c as d } from "../chunks/component.styles.CI-v8BZa.js";
3
- import { w as x } from "../chunks/watch.BCJD77bD.js";
4
- const y = p`
1
+ import { n as u, C as p } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
+ import { c as h } from "../chunks/component.styles.DMSLciL5.js";
3
+ import { c as m } from "../chunks/custom-element.L4WJXn1j.js";
4
+ import { w as f } from "../chunks/watch.q1sEjPWL.js";
5
+ import { i as d, x } from "../chunks/lit-element.jLBm65_O.js";
6
+ const y = d`
5
7
  :host {
6
8
  display: block;
7
9
  }
8
- `, l = /* @__PURE__ */ new Map();
10
+ `, a = /* @__PURE__ */ new Map();
9
11
  function w(t, e = "cors") {
10
- const r = l.get(t);
12
+ const r = a.get(t);
11
13
  if (r !== void 0)
12
14
  return Promise.resolve(r);
13
15
  const o = fetch(t, { mode: e }).then(async (s) => {
14
- const n = {
16
+ const i = {
15
17
  html: await s.text(),
16
18
  ok: s.ok,
17
19
  status: s.status
18
20
  };
19
- return l.set(t, n), n;
21
+ return a.set(t, i), i;
20
22
  });
21
- return l.set(t, o), o;
23
+ return a.set(t, o), o;
22
24
  }
23
- var v = Object.defineProperty, S = Object.getOwnPropertyDescriptor, i = (t, e, r, o) => {
24
- for (var s = o > 1 ? void 0 : o ? S(e, r) : e, n = t.length - 1, a; n >= 0; n--)
25
- (a = t[n]) && (s = (o ? a(e, r, s) : a(s)) || s);
25
+ var v = Object.defineProperty, S = Object.getOwnPropertyDescriptor, n = (t, e, r, o) => {
26
+ for (var s = o > 1 ? void 0 : o ? S(e, r) : e, i = t.length - 1, l; i >= 0; i--)
27
+ (l = t[i]) && (s = (o ? l(e, r, s) : l(s)) || s);
26
28
  return o && s && v(e, r, s), s;
27
29
  };
28
- let c = class extends h {
30
+ let c = class extends p {
29
31
  constructor() {
30
- super(...arguments), this.mode = "cors", this.allowScripts = !1;
32
+ super(...arguments), this.mode = "cors", this.allowScripts = !1, this.requestInclude = w;
31
33
  }
32
34
  executeScript(t) {
33
35
  const e = document.createElement("script");
@@ -37,7 +39,7 @@ let c = class extends h {
37
39
  }
38
40
  async handleSrcChange() {
39
41
  try {
40
- const t = this.src, e = await w(t, this.mode);
42
+ const t = this.src, e = await this.requestInclude(t, this.mode);
41
43
  if (t !== this.src)
42
44
  return;
43
45
  if (!e.ok) {
@@ -52,24 +54,24 @@ let c = class extends h {
52
54
  }
53
55
  }
54
56
  render() {
55
- return m`<slot></slot>`;
57
+ return x`<slot></slot>`;
56
58
  }
57
59
  };
58
- c.styles = [d, y];
59
- i([
60
+ c.styles = [h, y];
61
+ n([
60
62
  u()
61
63
  ], c.prototype, "src", 2);
62
- i([
64
+ n([
63
65
  u()
64
66
  ], c.prototype, "mode", 2);
65
- i([
67
+ n([
66
68
  u({ attribute: "allow-scripts", type: Boolean })
67
69
  ], c.prototype, "allowScripts", 2);
68
- i([
69
- x("src")
70
+ n([
71
+ f("src")
70
72
  ], c.prototype, "handleSrcChange", 1);
71
- c = i([
72
- f("cx-include")
73
+ c = n([
74
+ m("cx-include")
73
75
  ], c);
74
76
  export {
75
77
  c as default
@@ -1,8 +1,10 @@
1
- import { i as a, n as c, C as g, x as d, c as h } from "../chunks/custom-element.vnXBMQxc.js";
2
- import { c as f } from "../chunks/component.styles.CI-v8BZa.js";
3
- import { f as _ } from "../chunks/form-control.styles.NE2Q-quE.js";
4
- import { e as x } from "../chunks/query.BBf1UFkC.js";
5
- const m = a`
1
+ import { n as a, C as c } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
+ import { c as g } from "../chunks/component.styles.DMSLciL5.js";
3
+ import { f as d } from "../chunks/form-control.styles.CUGhvlfT.js";
4
+ import { c as f } from "../chunks/custom-element.L4WJXn1j.js";
5
+ import { i as h, x as m } from "../chunks/lit-element.jLBm65_O.js";
6
+ import { e as _ } from "../chunks/query.BBf1UFkC.js";
7
+ const x = h`
6
8
  :host {
7
9
  display: inline-block;
8
10
  width: 100%;
@@ -27,7 +29,7 @@ function r(t) {
27
29
  const e = "cx-input, cx-select";
28
30
  return t.closest(e) ?? t.querySelector(e);
29
31
  }
30
- let s = class extends g {
32
+ let s = class extends c {
31
33
  constructor() {
32
34
  super(...arguments), this.label = "";
33
35
  }
@@ -59,7 +61,7 @@ let s = class extends g {
59
61
  });
60
62
  }
61
63
  render() {
62
- return d`<div
64
+ return m`<div
63
65
  part="base"
64
66
  class="input-group"
65
67
  aria-label=${this.label}
@@ -73,18 +75,18 @@ let s = class extends g {
73
75
  }
74
76
  };
75
77
  s.styles = [
76
- f,
77
- _,
78
- m
78
+ g,
79
+ d,
80
+ x
79
81
  ];
80
82
  p([
81
- x("slot")
83
+ _("slot")
82
84
  ], s.prototype, "defaultSlot", 2);
83
85
  p([
84
- c()
86
+ a()
85
87
  ], s.prototype, "label", 2);
86
88
  s = p([
87
- h("cx-input-group")
89
+ f("cx-input-group")
88
90
  ], s);
89
91
  export {
90
92
  s as default
@@ -1,16 +1,18 @@
1
- import { i as at, n as f, C as rt, x as F, c as ut } from "../chunks/custom-element.vnXBMQxc.js";
2
- import { c as lt } from "../chunks/component.styles.CI-v8BZa.js";
3
- import { f as ot } from "../chunks/form-control.styles.NE2Q-quE.js";
4
- import { d as ht } from "../chunks/default-value.CIKAvD5l.js";
5
- import { F as pt } from "../chunks/form.B8u0ywni.js";
6
- import { L as ct } from "../chunks/i18n.BP2FRO1v.js";
7
- import { H as dt } from "../chunks/slot.DJLm4Dig.js";
8
- import { w as T } from "../chunks/watch.BCJD77bD.js";
9
- import { r as j } from "../chunks/state.Cw55xXlb.js";
1
+ import { n as f, C as at } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
+ import { c as rt } from "../chunks/component.styles.DMSLciL5.js";
3
+ import { f as ut } from "../chunks/form-control.styles.CUGhvlfT.js";
4
+ import { c as lt } from "../chunks/custom-element.L4WJXn1j.js";
5
+ import { d as ot } from "../chunks/default-value.COZopaet.js";
6
+ import { F as ht } from "../chunks/form.CO12-VK0.js";
7
+ import { L as pt } from "../chunks/i18n.DrzK7TPf.js";
8
+ import { H as ct } from "../chunks/slot.j5oheLJC.js";
9
+ import { w as T } from "../chunks/watch.q1sEjPWL.js";
10
+ import { i as dt, x as F } from "../chunks/lit-element.jLBm65_O.js";
11
+ import { r as j } from "../chunks/state.CSDxrqLd.js";
10
12
  import { e as K } from "../chunks/query.BBf1UFkC.js";
11
- import { e as z } from "../chunks/class-map.CoZTSvbM.js";
12
- import { o as _ } from "../chunks/if-defined.MfEgpxEN.js";
13
- import { l as ft } from "../chunks/live.LdB9xEhp.js";
13
+ import { e as z } from "../chunks/class-map.BiVq-cVR.js";
14
+ import { o as _ } from "../chunks/if-defined.BRoBj_Rp.js";
15
+ import { l as ft } from "../chunks/live.SCz6M8Gs.js";
14
16
  import { n as mt } from "../chunks/when.Dr1es41R.js";
15
17
  import gt from "./icon.js";
16
18
  function w(a) {
@@ -2367,7 +2369,7 @@ try {
2367
2369
  globalThis.IMask = d;
2368
2370
  } catch {
2369
2371
  }
2370
- const Bt = at`
2372
+ const Bt = dt`
2371
2373
  :host {
2372
2374
  display: block;
2373
2375
  line-height: normal;
@@ -2879,15 +2881,15 @@ var St = Object.defineProperty, It = Object.getOwnPropertyDescriptor, it = (a) =
2879
2881
  (r = a[n]) && (s = (i ? r(t, e, s) : r(s)) || s);
2880
2882
  return i && s && St(t, e, s), s;
2881
2883
  }, Vt = (a, t, e) => t.has(a) || it("Cannot " + e), Dt = (a, t, e) => (Vt(a, t, "read from private field"), e ? e.call(a) : t.get(a)), Mt = (a, t, e) => t.has(a) ? it("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(a) : t.set(a, e), H, st;
2882
- let o = class extends rt {
2884
+ let o = class extends at {
2883
2885
  constructor() {
2884
- super(), Mt(this, H), this.formControlController = new pt(this, {
2886
+ super(), Mt(this, H), this.formControlController = new ht(this, {
2885
2887
  assumeInteractionOn: ["cx-input"]
2886
- }), this.hasSlotController = new dt(
2888
+ }), this.hasSlotController = new ct(
2887
2889
  this,
2888
2890
  "help-text",
2889
2891
  "label"
2890
- ), this.localize = new ct(this), this.hasFocus = !1, this.maskInstance = null, this.containerClicked = !1, this.title = "", this.__numberInput = Object.assign(
2892
+ ), this.localize = new pt(this), this.hasFocus = !1, this.maskInstance = null, this.containerClicked = !1, this.title = "", this.__numberInput = Object.assign(
2891
2893
  document.createElement("input"),
2892
2894
  {
2893
2895
  type: "number"
@@ -3261,8 +3263,8 @@ st = function() {
3261
3263
  return this.input?.files;
3262
3264
  };
3263
3265
  o.styles = [
3264
- lt,
3265
- ot,
3266
+ rt,
3267
+ ut,
3266
3268
  Bt
3267
3269
  ];
3268
3270
  o.dependencies = { "cx-icon": gt };
@@ -3300,7 +3302,7 @@ p([
3300
3302
  f({ attribute: "unmasked-value", reflect: !0, type: String })
3301
3303
  ], o.prototype, "unmaskedValue", 2);
3302
3304
  p([
3303
- ht()
3305
+ ot()
3304
3306
  ], o.prototype, "defaultValue", 2);
3305
3307
  p([
3306
3308
  f({ reflect: !0 })
@@ -3453,7 +3455,7 @@ p([
3453
3455
  T("value", { waitUntilFirstUpdate: !0 })
3454
3456
  ], o.prototype, "handleValueChange", 1);
3455
3457
  o = p([
3456
- ut("cx-input")
3458
+ lt("cx-input")
3457
3459
  ], o);
3458
3460
  export {
3459
3461
  o as default
@@ -1,13 +1,15 @@
1
- import "../chunks/button.CtCSNRB3.js";
1
+ import "../chunks/button.P71VJ5xh.js";
2
2
  import "./tooltip.js";
3
3
  import "./resize-observer.js";
4
- import { i as b, n as r, C as g, x as h, c as w } from "../chunks/custom-element.vnXBMQxc.js";
5
- import { c as x } from "../chunks/component.styles.CI-v8BZa.js";
6
- import { i as f } from "../chunks/browser.Va59Ix3P.js";
7
- import { d as v } from "../chunks/popup._w5T7x8f.js";
8
- import { r as u } from "../chunks/state.Cw55xXlb.js";
4
+ import { n as r, C as b } from "../chunks/lib-cortex-element.CVMmyPMC.js";
5
+ import { c as g } from "../chunks/component.styles.DMSLciL5.js";
6
+ import { i as f } from "../chunks/browser.BHOCIF_A.js";
7
+ import { c as w } from "../chunks/custom-element.L4WJXn1j.js";
8
+ import { d as x } from "../chunks/debounce.DaHuiSGU.js";
9
+ import { i as v, x as h } from "../chunks/lit-element.jLBm65_O.js";
10
+ import { r as u } from "../chunks/state.CSDxrqLd.js";
9
11
  import { e as m } from "../chunks/query.BBf1UFkC.js";
10
- const C = b`
12
+ const C = v`
11
13
  :host {
12
14
  --toggler-color: var(--cx-color-primary);
13
15
  }
@@ -43,7 +45,7 @@ var T = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, e = (i, s, n
43
45
  (p = i[o]) && (l = (a ? p(s, n, l) : p(l)) || l);
44
46
  return a && l && T(s, n, l), l;
45
47
  };
46
- let t = class extends g {
48
+ let t = class extends b {
47
49
  constructor() {
48
50
  super(...arguments), this.lines = 1, this.open = !1, this.showMore = !1, this.showMoreText = "View more...", this.showLessText = "View less...", this.disabledTooltip = !1, this.disabledHoverBridge = !1, this.placement = "top", this.isClamped = !1, this.tooltipContent = "", this.calculated = !1;
49
51
  }
@@ -166,7 +168,7 @@ let t = class extends g {
166
168
  `;
167
169
  }
168
170
  };
169
- t.styles = [x, C];
171
+ t.styles = [g, C];
170
172
  e([
171
173
  r({ type: Number })
172
174
  ], t.prototype, "lines", 2);
@@ -216,7 +218,7 @@ e([
216
218
  m(".tooltip")
217
219
  ], t.prototype, "tooltipElement", 2);
218
220
  e([
219
- v(100)
221
+ x(100)
220
222
  ], t.prototype, "handleResize", 1);
221
223
  t = e([
222
224
  w("cx-line-clamp")
@@ -1,5 +1,5 @@
1
- import "../chunks/button.CtCSNRB3.js";
2
- import "../chunks/dialog.B1TORO6S.js";
1
+ import "../chunks/button.P71VJ5xh.js";
2
+ import "../chunks/dialog.C_75RVVz.js";
3
3
  import "./grid.js";
4
4
  import "./grid-item.js";
5
5
  import "./input.js";
@@ -7,22 +7,24 @@ import "./line-clamp.js";
7
7
  import "./radio.js";
8
8
  import "./radio-group.js";
9
9
  import "./space.js";
10
- import "../chunks/table.BAr8KKc6.js";
11
- import "../chunks/typography.BFpl0WMA.js";
12
- import "../chunks/custom-element.vnXBMQxc.js";
13
- import "../chunks/component.styles.CI-v8BZa.js";
14
- import "../chunks/popup._w5T7x8f.js";
15
- import "../chunks/i18n.BP2FRO1v.js";
16
- import "../chunks/watch.BCJD77bD.js";
17
- import { c as w, C as y } from "../chunks/list-editor.COkw5JKG.js";
18
- import "../chunks/state.Cw55xXlb.js";
10
+ import "../chunks/table.CY-iMTWV.js";
11
+ import "../chunks/typography.oDzoLbZS.js";
12
+ import "../chunks/lib-cortex-element.CVMmyPMC.js";
13
+ import "../chunks/component.styles.DMSLciL5.js";
14
+ import "../chunks/custom-element.L4WJXn1j.js";
15
+ import "../chunks/debounce.DaHuiSGU.js";
16
+ import "../chunks/i18n.DrzK7TPf.js";
17
+ import "../chunks/watch.q1sEjPWL.js";
18
+ import { c as z, C as A } from "../chunks/list-editor.CrLntuM7.js";
19
+ import "../chunks/lit-element.jLBm65_O.js";
20
+ import "../chunks/state.CSDxrqLd.js";
19
21
  import "../chunks/query.BBf1UFkC.js";
20
22
  import "../chunks/choose.BTbF6BAn.js";
21
- import "../chunks/class-map.CoZTSvbM.js";
23
+ import "../chunks/class-map.BiVq-cVR.js";
22
24
  import "../chunks/map.D8heArFD.js";
23
- import "../chunks/repeat.CauKaXyy.js";
25
+ import "../chunks/repeat.DbF2p5ae.js";
24
26
  import "../chunks/when.Dr1es41R.js";
25
27
  export {
26
- w as columnDefaults,
27
- y as default
28
+ z as columnDefaults,
29
+ A as default
28
30
  };