@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
@@ -2,11 +2,13 @@ import d from "./grid.js";
2
2
  import p from "./grid-item.js";
3
3
  import m from "./radio.js";
4
4
  import x from "./radio-group.js";
5
- import { i as h, n as u, C as g, x as _, c as f } from "../chunks/custom-element.vnXBMQxc.js";
6
- import { c as v } from "../chunks/component.styles.CI-v8BZa.js";
7
- import { L as C } from "../chunks/i18n.BP2FRO1v.js";
5
+ import { n as h, C as u } from "../chunks/lib-cortex-element.CVMmyPMC.js";
6
+ import { c as g } from "../chunks/component.styles.DMSLciL5.js";
7
+ import { c as _ } from "../chunks/custom-element.L4WJXn1j.js";
8
+ import { L as f } from "../chunks/i18n.DrzK7TPf.js";
9
+ import { i as v, x as C } from "../chunks/lit-element.jLBm65_O.js";
8
10
  var r = /* @__PURE__ */ ((e) => (e.BottomCenter = "bottom-center", e.BottomLeft = "bottom-left", e.BottomRight = "bottom-right", e.CenterCenter = "center-center", e.CenterLeft = "center-left", e.CenterRight = "center-right", e.TopCenter = "top-center", e.TopLeft = "top-left", e.TopRight = "top-right", e))(r || {});
9
- const b = h`
11
+ const b = v`
10
12
  .position-picker__column {
11
13
  width: fit-content;
12
14
  }
@@ -32,16 +34,16 @@ var k = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, n = (e, t, a
32
34
  (s = e[l]) && (o = (c ? s(t, a, o) : s(o)) || o);
33
35
  return c && o && k(t, a, o), o;
34
36
  };
35
- let i = class extends g {
37
+ let i = class extends u {
36
38
  constructor() {
37
- super(...arguments), this.localize = new C(this), this.value = r.TopLeft;
39
+ super(...arguments), this.localize = new f(this), this.value = r.TopLeft;
38
40
  }
39
41
  handleChange(e) {
40
42
  const t = e.target;
41
43
  this.value = t.value;
42
44
  }
43
45
  render() {
44
- return _`<div class="position-picker">
46
+ return C`<div class="position-picker">
45
47
  <cx-radio-group
46
48
  value=${this.value}
47
49
  name="position"
@@ -114,7 +116,7 @@ let i = class extends g {
114
116
  </div>`;
115
117
  }
116
118
  };
117
- i.styles = [v, b];
119
+ i.styles = [g, b];
118
120
  i.dependencies = {
119
121
  "cx-grid": d,
120
122
  "cx-grid-item": p,
@@ -122,10 +124,10 @@ i.dependencies = {
122
124
  "cx-radio-group": x
123
125
  };
124
126
  n([
125
- u({ reflect: !0 })
127
+ h({ reflect: !0 })
126
128
  ], i.prototype, "value", 2);
127
129
  i = n([
128
- f("cx-position-picker")
130
+ _("cx-position-picker")
129
131
  ], i);
130
132
  export {
131
133
  i as default
@@ -1,10 +1,12 @@
1
- import { i as d, n as i, C as h, x as c, c as m } from "../chunks/custom-element.vnXBMQxc.js";
2
- import { c as b } from "../chunks/component.styles.CI-v8BZa.js";
3
- import { L as g } from "../chunks/i18n.BP2FRO1v.js";
4
- import { e as u } from "../chunks/class-map.CoZTSvbM.js";
5
- import { o as v } from "../chunks/if-defined.MfEgpxEN.js";
6
- import { o as f } from "../chunks/style-map.CZovMmo_.js";
7
- const w = d`
1
+ import { n as i, C as d } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
+ import { c as m } from "../chunks/component.styles.DMSLciL5.js";
3
+ import { c as h } from "../chunks/custom-element.L4WJXn1j.js";
4
+ import { L as b } from "../chunks/i18n.DrzK7TPf.js";
5
+ import { i as g, x as c } from "../chunks/lit-element.jLBm65_O.js";
6
+ import { e as u } from "../chunks/class-map.BiVq-cVR.js";
7
+ import { o as v } from "../chunks/if-defined.BRoBj_Rp.js";
8
+ import { o as f } from "../chunks/style-map.llVFPd__.js";
9
+ const w = g`
8
10
  :host {
9
11
  --height: 1rem;
10
12
  --track-color: var(--cx-color-neutral-200);
@@ -102,9 +104,9 @@ var x = Object.defineProperty, y = Object.getOwnPropertyDescriptor, t = (p, o, s
102
104
  (n = p[l]) && (e = (a ? n(o, s, e) : n(e)) || e);
103
105
  return a && e && x(o, s, e), e;
104
106
  };
105
- let r = class extends h {
107
+ let r = class extends d {
106
108
  constructor() {
107
- super(...arguments), this.localize = new g(this), this.value = 0, this.indeterminate = !1, this.label = "", this.showProgress = "";
109
+ super(...arguments), this.localize = new b(this), this.value = 0, this.indeterminate = !1, this.label = "", this.showProgress = "";
108
110
  }
109
111
  render() {
110
112
  return c`
@@ -139,7 +141,7 @@ let r = class extends h {
139
141
  `;
140
142
  }
141
143
  };
142
- r.styles = [b, w];
144
+ r.styles = [m, w];
143
145
  t([
144
146
  i({ reflect: !0, type: Number })
145
147
  ], r.prototype, "value", 2);
@@ -153,7 +155,7 @@ t([
153
155
  i({ attribute: "show-progress", reflect: !0, type: Boolean })
154
156
  ], r.prototype, "showProgress", 2);
155
157
  r = t([
156
- m("cx-progress-bar")
158
+ h("cx-progress-bar")
157
159
  ], r);
158
160
  export {
159
161
  r as default
@@ -1,9 +1,11 @@
1
- import { i as p, n as l, C as d, x as g, c as u } from "../chunks/custom-element.vnXBMQxc.js";
2
- import { c as v } from "../chunks/component.styles.CI-v8BZa.js";
3
- import { L as f } from "../chunks/i18n.BP2FRO1v.js";
4
- import { r as h } from "../chunks/state.Cw55xXlb.js";
5
- import { e as m } from "../chunks/query.BBf1UFkC.js";
6
- const _ = p`
1
+ import { n as l, C as p } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
+ import { c as d } from "../chunks/component.styles.DMSLciL5.js";
3
+ import { c as g } from "../chunks/custom-element.L4WJXn1j.js";
4
+ import { L as u } from "../chunks/i18n.DrzK7TPf.js";
5
+ import { i as f, x as v } from "../chunks/lit-element.jLBm65_O.js";
6
+ import { r as m } from "../chunks/state.CSDxrqLd.js";
7
+ import { e as h } from "../chunks/query.BBf1UFkC.js";
8
+ const _ = f`
7
9
  :host {
8
10
  --size: 128px;
9
11
  --track-width: 4px;
@@ -78,9 +80,9 @@ var y = Object.defineProperty, b = Object.getOwnPropertyDescriptor, o = (s, t, i
78
80
  (n = s[c]) && (r = (a ? n(t, i, r) : n(r)) || r);
79
81
  return a && r && y(t, i, r), r;
80
82
  };
81
- let e = class extends d {
83
+ let e = class extends p {
82
84
  constructor() {
83
- super(...arguments), this.localize = new f(this), this.value = 0, this.label = "";
85
+ super(...arguments), this.localize = new u(this), this.value = 0, this.label = "";
84
86
  }
85
87
  updated(s) {
86
88
  if (super.updated(s), s.has("value")) {
@@ -91,7 +93,7 @@ let e = class extends d {
91
93
  }
92
94
  }
93
95
  render() {
94
- return g`
96
+ return v`
95
97
  <div
96
98
  part="base"
97
99
  class="progress-ring"
@@ -116,12 +118,12 @@ let e = class extends d {
116
118
  `;
117
119
  }
118
120
  };
119
- e.styles = [v, _];
121
+ e.styles = [d, _];
120
122
  o([
121
- m(".progress-ring__indicator")
123
+ h(".progress-ring__indicator")
122
124
  ], e.prototype, "indicator", 2);
123
125
  o([
124
- h()
126
+ m()
125
127
  ], e.prototype, "indicatorOffset", 2);
126
128
  o([
127
129
  l({ reflect: !0, type: Number })
@@ -130,7 +132,7 @@ o([
130
132
  l()
131
133
  ], e.prototype, "label", 2);
132
134
  e = o([
133
- u("cx-progress-ring")
135
+ g("cx-progress-ring")
134
136
  ], e);
135
137
  export {
136
138
  e as default
@@ -1,18 +1,20 @@
1
- import { i as R, n as Q, C as $, x as B, c as V } from "../chunks/custom-element.vnXBMQxc.js";
2
- import { c as J } from "../chunks/component.styles.CI-v8BZa.js";
3
- import { w as U } from "../chunks/watch.BCJD77bD.js";
1
+ import { n as Q, C as R } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
+ import { c as $ } from "../chunks/component.styles.DMSLciL5.js";
3
+ import { c as B } from "../chunks/custom-element.L4WJXn1j.js";
4
+ import { w as V } from "../chunks/watch.q1sEjPWL.js";
5
+ import { i as J, x as U } from "../chunks/lit-element.jLBm65_O.js";
4
6
  import { e as I } from "../chunks/query.BBf1UFkC.js";
5
- import { o as K } from "../chunks/style-map.CZovMmo_.js";
7
+ import { o as K } from "../chunks/style-map.llVFPd__.js";
6
8
  let H = null;
7
9
  class N {
8
10
  }
9
- N.render = function(m, E) {
10
- H(m, E);
11
+ N.render = function(P, T) {
12
+ H(P, T);
11
13
  };
12
14
  self.QrCreator = N;
13
- (function(m) {
14
- function E(C, n, o, l) {
15
- var r = {}, t = m(o, n);
15
+ (function(P) {
16
+ function T(C, n, o, l) {
17
+ var r = {}, t = P(o, n);
16
18
  t.u(C), t.J(), l = l || 0;
17
19
  var u = t.h(), i = t.h() + 2 * l;
18
20
  return r.text = C, r.level = n, r.version = o, r.O = i, r.a = function(f, y) {
@@ -51,7 +53,7 @@ self.QrCreator = N;
51
53
  r: {
52
54
  var o = n.text, l = n.v, r = n.N, t = n.K, u = n.P;
53
55
  for (r = Math.max(1, r || 1), t = Math.min(40, t || 40); r <= t; r += 1) try {
54
- var i = E(o, l, r, u);
56
+ var i = T(o, l, r, u);
55
57
  break r;
56
58
  } catch {
57
59
  }
@@ -59,13 +61,13 @@ self.QrCreator = N;
59
61
  }
60
62
  if (!i) return null;
61
63
  for (o = C.getContext("2d"), n.background && (o.fillStyle = n.background, o.fillRect(n.left, n.top, n.size, n.size)), l = i.O, t = n.size / l, o.beginPath(), u = 0; u < l; u += 1) for (r = 0; r < l; r += 1) {
62
- var f = o, y = n.left + r * t, x = n.top + u * t, s = u, h = r, e = i.a, a = y + t, c = x + t, z = s - 1, M = s + 1, p = h - 1, v = h + 1, L = Math.floor(Math.min(0.5, Math.max(0, n.R)) * t), S = e(s, h), j = e(z, p), _ = e(z, h);
64
+ var f = o, y = n.left + r * t, x = n.top + u * t, s = u, h = r, e = i.a, a = y + t, c = x + t, z = s - 1, M = s + 1, p = h - 1, v = h + 1, E = Math.floor(Math.min(0.5, Math.max(0, n.R)) * t), S = e(s, h), j = e(z, p), _ = e(z, h);
63
65
  z = e(z, v);
64
66
  var G = e(s, v);
65
67
  v = e(M, v), h = e(
66
68
  M,
67
69
  h
68
- ), M = e(M, p), s = e(s, p), y = Math.round(y), x = Math.round(x), a = Math.round(a), c = Math.round(c), S ? O(f, y, x, a, c, L, !_ && !s, !_ && !G, !h && !G, !h && !s) : g(f, y, x, a, c, L, _ && s && j, _ && G && z, h && G && v, h && s && M);
70
+ ), M = e(M, p), s = e(s, p), y = Math.round(y), x = Math.round(x), a = Math.round(a), c = Math.round(c), S ? O(f, y, x, a, c, E, !_ && !s, !_ && !G, !h && !G, !h && !s) : g(f, y, x, a, c, E, _ && s && j, _ && G && z, h && G && v, h && s && M);
69
71
  }
70
72
  return d(o, n), o.fill(), C;
71
73
  }
@@ -75,7 +77,7 @@ self.QrCreator = N;
75
77
  Object.assign(o, A, C), o.N = o.minVersion, o.K = o.maxVersion, o.v = o.ecLevel, o.left = o.left, o.top = o.top, o.size = o.size, o.fill = o.fill, o.background = o.background, o.text = o.text, o.R = o.radius, o.P = o.quiet, n instanceof HTMLCanvasElement ? ((n.width !== o.size || n.height !== o.size) && (n.width = o.size, n.height = o.size), n.getContext("2d").clearRect(0, 0, n.width, n.height), w(n, o)) : (C = document.createElement("canvas"), C.width = o.size, C.height = o.size, o = w(C, o), n.appendChild(o));
76
78
  };
77
79
  })(function() {
78
- function m(n) {
80
+ function P(n) {
79
81
  var o = O.s(n);
80
82
  return { S: function() {
81
83
  return 4;
@@ -85,7 +87,7 @@ self.QrCreator = N;
85
87
  for (var r = 0; r < o.length; r += 1) l.put(o[r], 8);
86
88
  } };
87
89
  }
88
- function E() {
90
+ function T() {
89
91
  var n = [], o = 0, l = {
90
92
  B: function() {
91
93
  return n;
@@ -128,21 +130,21 @@ self.QrCreator = N;
128
130
  for (a = 0; 18 > a; a += 1) c = !s && (e >> a & 1) == 1, u[a % 3 + i - 8 - 3][Math.floor(a / 3)] = c;
129
131
  }
130
132
  if (f == null) {
131
- for (s = C.I(n, t), e = E(), a = 0; a < y.length; a += 1) c = y[a], e.put(4, 4), e.put(c.b(), w.f(4, n)), c.write(e);
133
+ for (s = C.I(n, t), e = T(), a = 0; a < y.length; a += 1) c = y[a], e.put(4, 4), e.put(c.b(), w.f(4, n)), c.write(e);
132
134
  for (a = c = 0; a < s.length; a += 1) c += s[a].j;
133
135
  if (e.f() > 8 * c) throw Error("code length overflow. (" + e.f() + ">" + 8 * c + ")");
134
136
  for (e.f() + 4 <= 8 * c && e.put(0, 4); e.f() % 8 != 0; ) e.m(!1);
135
137
  for (; !(e.f() >= 8 * c) && (e.put(236, 8), !(e.f() >= 8 * c)); )
136
138
  e.put(17, 8);
137
- var L = 0;
139
+ var E = 0;
138
140
  for (c = a = 0, z = Array(s.length), M = Array(s.length), p = 0; p < s.length; p += 1) {
139
141
  var S = s[p].j, j = s[p].o - S;
140
- for (a = Math.max(a, S), c = Math.max(c, j), z[p] = Array(S), v = 0; v < z[p].length; v += 1) z[p][v] = 255 & e.B()[v + L];
141
- for (L += S, v = w.C(j), S = g(z[p], v.b() - 1).l(v), M[p] = Array(v.b() - 1), v = 0; v < M[p].length; v += 1) j = v + S.b() - M[p].length, M[p][v] = 0 <= j ? S.c(j) : 0;
142
+ for (a = Math.max(a, S), c = Math.max(c, j), z[p] = Array(S), v = 0; v < z[p].length; v += 1) z[p][v] = 255 & e.B()[v + E];
143
+ for (E += S, v = w.C(j), S = g(z[p], v.b() - 1).l(v), M[p] = Array(v.b() - 1), v = 0; v < M[p].length; v += 1) j = v + S.b() - M[p].length, M[p][v] = 0 <= j ? S.c(j) : 0;
142
144
  }
143
145
  for (v = e = 0; v < s.length; v += 1) e += s[v].o;
144
- for (e = Array(e), v = L = 0; v < a; v += 1) for (p = 0; p < s.length; p += 1) v < z[p].length && (e[L] = z[p][v], L += 1);
145
- for (v = 0; v < c; v += 1) for (p = 0; p < s.length; p += 1) v < M[p].length && (e[L] = M[p][v], L += 1);
146
+ for (e = Array(e), v = E = 0; v < a; v += 1) for (p = 0; p < s.length; p += 1) v < z[p].length && (e[E] = z[p][v], E += 1);
147
+ for (v = 0; v < c; v += 1) for (p = 0; p < s.length; p += 1) v < M[p].length && (e[E] = M[p][v], E += 1);
146
148
  f = e;
147
149
  }
148
150
  for (s = f, e = -1, a = i - 1, c = 7, z = 0, h = w.F(h), M = i - 1; 0 < M; M -= 2) for (M == 6 && --M; ; ) {
@@ -154,7 +156,7 @@ self.QrCreator = N;
154
156
  }
155
157
  }
156
158
  var t = d[o], u = null, i = 0, f = null, y = [], x = { u: function(s) {
157
- s = m(s), y.push(s), f = null;
159
+ s = P(s), y.push(s), f = null;
158
160
  }, a: function(s, h) {
159
161
  if (0 > s || i <= s || 0 > h || i <= h) throw Error(s + "," + h);
160
162
  return u[s][h];
@@ -528,17 +530,17 @@ self.QrCreator = N;
528
530
  }();
529
531
  return O;
530
532
  }());
531
- const D = QrCreator, F = R`
533
+ const D = QrCreator, F = J`
532
534
  :host {
533
535
  display: inline-block;
534
536
  }
535
537
  `;
536
- var W = Object.defineProperty, X = Object.getOwnPropertyDescriptor, P = (m, E, O, g) => {
537
- for (var d = g > 1 ? void 0 : g ? X(E, O) : E, w = m.length - 1, A; w >= 0; w--)
538
- (A = m[w]) && (d = (g ? A(E, O, d) : A(d)) || d);
539
- return g && d && W(E, O, d), d;
538
+ var W = Object.defineProperty, X = Object.getOwnPropertyDescriptor, L = (P, T, O, g) => {
539
+ for (var d = g > 1 ? void 0 : g ? X(T, O) : T, w = P.length - 1, A; w >= 0; w--)
540
+ (A = P[w]) && (d = (g ? A(T, O, d) : A(d)) || d);
541
+ return g && d && W(T, O, d), d;
540
542
  };
541
- let T = class extends $ {
543
+ let m = class extends R {
542
544
  constructor() {
543
545
  super(...arguments), this.value = "", this.label = "", this.size = 128, this.fill = "black", this.background = "white", this.radius = 0, this.errorCorrection = "H";
544
546
  }
@@ -560,7 +562,7 @@ let T = class extends $ {
560
562
  );
561
563
  }
562
564
  render() {
563
- return B`
565
+ return U`
564
566
  <canvas
565
567
  part="base"
566
568
  class="qr-code"
@@ -574,37 +576,37 @@ let T = class extends $ {
574
576
  `;
575
577
  }
576
578
  };
577
- T.styles = [J, F];
578
- P([
579
+ m.styles = [$, F];
580
+ L([
579
581
  I("canvas")
580
- ], T.prototype, "canvas", 2);
581
- P([
582
+ ], m.prototype, "canvas", 2);
583
+ L([
582
584
  Q()
583
- ], T.prototype, "value", 2);
584
- P([
585
+ ], m.prototype, "value", 2);
586
+ L([
585
587
  Q()
586
- ], T.prototype, "label", 2);
587
- P([
588
+ ], m.prototype, "label", 2);
589
+ L([
588
590
  Q({ type: Number })
589
- ], T.prototype, "size", 2);
590
- P([
591
+ ], m.prototype, "size", 2);
592
+ L([
591
593
  Q()
592
- ], T.prototype, "fill", 2);
593
- P([
594
+ ], m.prototype, "fill", 2);
595
+ L([
594
596
  Q()
595
- ], T.prototype, "background", 2);
596
- P([
597
+ ], m.prototype, "background", 2);
598
+ L([
597
599
  Q({ type: Number })
598
- ], T.prototype, "radius", 2);
599
- P([
600
+ ], m.prototype, "radius", 2);
601
+ L([
600
602
  Q({ attribute: "error-correction" })
601
- ], T.prototype, "errorCorrection", 2);
602
- P([
603
- U(["background", "errorCorrection", "fill", "radius", "size", "value"])
604
- ], T.prototype, "generate", 1);
605
- T = P([
606
- V("cx-qr-code")
607
- ], T);
603
+ ], m.prototype, "errorCorrection", 2);
604
+ L([
605
+ V(["background", "errorCorrection", "fill", "radius", "size", "value"])
606
+ ], m.prototype, "generate", 1);
607
+ m = L([
608
+ B("cx-qr-code")
609
+ ], m);
608
610
  export {
609
- T as default
611
+ m as default
610
612
  };
@@ -1,14 +1,16 @@
1
- import { i as d, n as i, C as c, c as b } from "../chunks/custom-element.vnXBMQxc.js";
2
- import { c as f } from "../chunks/component.styles.CI-v8BZa.js";
3
- import { H as m } from "../chunks/slot.DJLm4Dig.js";
4
- import { w as x } from "../chunks/watch.BCJD77bD.js";
5
- import { r as y } from "../chunks/state.Cw55xXlb.js";
1
+ import { n as i, C as d } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
+ import { c } from "../chunks/component.styles.DMSLciL5.js";
3
+ import { c as b } from "../chunks/custom-element.L4WJXn1j.js";
4
+ import { H as f } from "../chunks/slot.j5oheLJC.js";
5
+ import { w as m } from "../chunks/watch.q1sEjPWL.js";
6
+ import { r as x } from "../chunks/state.CSDxrqLd.js";
6
7
  import { e as p } from "../chunks/query.BBf1UFkC.js";
7
- import { e as _ } from "../chunks/class-map.CoZTSvbM.js";
8
- import { o as h } from "../chunks/if-defined.MfEgpxEN.js";
9
- import { u as C } from "../chunks/static.BjNkqt7_.js";
10
- import { b as v } from "../chunks/button.styles.C8AIO8fd.js";
11
- const w = d`
8
+ import { e as y } from "../chunks/class-map.BiVq-cVR.js";
9
+ import { o as h } from "../chunks/if-defined.BRoBj_Rp.js";
10
+ import { u as _ } from "../chunks/static.UA3G1Deq.js";
11
+ import { i as C } from "../chunks/lit-element.jLBm65_O.js";
12
+ import { b as v } from "../chunks/button.styles.Dl5IQLHU.js";
13
+ const w = C`
12
14
  ${v}
13
15
 
14
16
  .button__prefix,
@@ -38,9 +40,9 @@ var $ = Object.defineProperty, g = Object.getOwnPropertyDescriptor, e = (s, l, a
38
40
  (n = s[u]) && (o = (r ? n(l, a, o) : n(o)) || o);
39
41
  return r && o && $(l, a, o), o;
40
42
  };
41
- let t = class extends c {
43
+ let t = class extends d {
42
44
  constructor() {
43
- super(...arguments), this.hasSlotController = new m(
45
+ super(...arguments), this.hasSlotController = new f(
44
46
  this,
45
47
  "[default]",
46
48
  "prefix",
@@ -75,14 +77,14 @@ let t = class extends c {
75
77
  this.input.blur();
76
78
  }
77
79
  render() {
78
- return C`
80
+ return _`
79
81
  <div part="base" role="presentation">
80
82
  <button
81
83
  part=${`button${this.checked ? " button--checked" : ""}`}
82
84
  role="radio"
83
85
  aria-checked=${this.checked}
84
86
  aria-label=${h(this.label || void 0)}
85
- class=${_({
87
+ class=${y({
86
88
  button: !0,
87
89
  "button--checked": this.checked,
88
90
  "button--default": !0,
@@ -112,7 +114,7 @@ let t = class extends c {
112
114
  `;
113
115
  }
114
116
  };
115
- t.styles = [f, w];
117
+ t.styles = [c, w];
116
118
  e([
117
119
  p(".button")
118
120
  ], t.prototype, "input", 2);
@@ -120,7 +122,7 @@ e([
120
122
  p(".hidden-input")
121
123
  ], t.prototype, "hiddenInput", 2);
122
124
  e([
123
- y()
125
+ x()
124
126
  ], t.prototype, "hasFocus", 2);
125
127
  e([
126
128
  i({ reflect: !0, type: Boolean })
@@ -141,7 +143,7 @@ e([
141
143
  i({ reflect: !0, type: String })
142
144
  ], t.prototype, "label", 2);
143
145
  e([
144
- x("disabled", { waitUntilFirstUpdate: !0 })
146
+ m("disabled", { waitUntilFirstUpdate: !0 })
145
147
  ], t.prototype, "handleDisabledChange", 1);
146
148
  t = e([
147
149
  b("cx-radio-button")
@@ -1,14 +1,16 @@
1
- import { i as b, n as o, C as u, x as p, c as m } from "../chunks/custom-element.vnXBMQxc.js";
2
- import { c as f } from "../chunks/component.styles.CI-v8BZa.js";
3
- import { H as g } from "../chunks/slot.DJLm4Dig.js";
4
- import { w as h } from "../chunks/watch.BCJD77bD.js";
5
- import { r as n } from "../chunks/state.Cw55xXlb.js";
1
+ import { n as o, C as b } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
+ import { c as p } from "../chunks/component.styles.DMSLciL5.js";
3
+ import { c as u } from "../chunks/custom-element.L4WJXn1j.js";
4
+ import { H as m } from "../chunks/slot.j5oheLJC.js";
5
+ import { w as h } from "../chunks/watch.q1sEjPWL.js";
6
+ import { i as f, x as g } from "../chunks/lit-element.jLBm65_O.js";
7
+ import { r as n } from "../chunks/state.CSDxrqLd.js";
6
8
  import { e as x } from "../chunks/query.BBf1UFkC.js";
7
- import { e as v } from "../chunks/class-map.CoZTSvbM.js";
9
+ import { e as v } from "../chunks/class-map.BiVq-cVR.js";
8
10
  import _ from "./card.js";
9
11
  import C from "./line-clamp.js";
10
12
  import y from "./radio.js";
11
- const k = b`
13
+ const k = f`
12
14
  :host {
13
15
  display: flex;
14
16
  align-items: center;
@@ -161,9 +163,9 @@ var w = Object.defineProperty, A = Object.getOwnPropertyDescriptor, e = (i, a, s
161
163
  (c = i[l]) && (t = (d ? c(a, s, t) : c(t)) || t);
162
164
  return d && t && w(a, s, t), t;
163
165
  };
164
- let r = class extends u {
166
+ let r = class extends b {
165
167
  constructor() {
166
- super(), this.hasSlotController = new g(this, "suffix"), this.checked = !1, this.hasFocus = !1, this.disabled = !1, this.hideIndicator = !1, this.disabledLineClamp = !1, this.handleBlur = this.handleBlur.bind(this), this.handleClick = this.handleClick.bind(this), this.handleFocus = this.handleFocus.bind(this), this.addEventListener("blur", this.handleBlur), this.addEventListener("click", this.handleClick), this.addEventListener("focus", this.handleFocus);
168
+ super(), this.hasSlotController = new m(this, "suffix"), this.checked = !1, this.hasFocus = !1, this.disabled = !1, this.hideIndicator = !1, this.disabledLineClamp = !1, this.handleBlur = this.handleBlur.bind(this), this.handleClick = this.handleClick.bind(this), this.handleFocus = this.handleFocus.bind(this), this.addEventListener("blur", this.handleBlur), this.addEventListener("click", this.handleClick), this.addEventListener("focus", this.handleFocus);
167
169
  }
168
170
  connectedCallback() {
169
171
  super.connectedCallback(), this.setInitialAttributes();
@@ -188,7 +190,7 @@ let r = class extends u {
188
190
  }
189
191
  render() {
190
192
  const i = this.parentElement?.getAttribute("compact") !== null, a = this.parentElement?.getAttribute("horizontal") !== null;
191
- return p`<cx-card
193
+ return g`<cx-card
192
194
  part="base"
193
195
  class=${v({
194
196
  "radio-card": !0,
@@ -221,7 +223,7 @@ let r = class extends u {
221
223
  </cx-card>`;
222
224
  }
223
225
  };
224
- r.styles = [f, k];
226
+ r.styles = [p, k];
225
227
  r.dependencies = {
226
228
  "cx-card": _,
227
229
  "cx-line-clamp": C,
@@ -255,7 +257,7 @@ e([
255
257
  h("disabled", { waitUntilFirstUpdate: !0 })
256
258
  ], r.prototype, "handleDisabledChange", 1);
257
259
  r = e([
258
- m("cx-radio-card")
260
+ u("cx-radio-card")
259
261
  ], r);
260
262
  export {
261
263
  r as default
@@ -1,16 +1,18 @@
1
- import { i as f, n as d, C as g, x as u, c as y } from "../chunks/custom-element.vnXBMQxc.js";
2
- import { c as v } from "../chunks/component.styles.CI-v8BZa.js";
3
- import { f as x } from "../chunks/form-control.styles.NE2Q-quE.js";
4
- import { d as b } from "../chunks/default-value.CIKAvD5l.js";
5
- import { F as C, c as w, a as R, v as V } from "../chunks/form.B8u0ywni.js";
6
- import { H as E } from "../chunks/slot.DJLm4Dig.js";
7
- import { w as h } from "../chunks/watch.BCJD77bD.js";
8
- import { r as p } from "../chunks/state.Cw55xXlb.js";
1
+ import { n as d, C as f } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
+ import { c as g } from "../chunks/component.styles.DMSLciL5.js";
3
+ import { f as y } from "../chunks/form-control.styles.CUGhvlfT.js";
4
+ import { c as v } from "../chunks/custom-element.L4WJXn1j.js";
5
+ import { d as x } from "../chunks/default-value.COZopaet.js";
6
+ import { F as b, c as C, a as w, v as R } from "../chunks/form.CO12-VK0.js";
7
+ import { H as V } from "../chunks/slot.j5oheLJC.js";
8
+ import { w as h } from "../chunks/watch.q1sEjPWL.js";
9
+ import { i as E, x as u } from "../chunks/lit-element.jLBm65_O.js";
10
+ import { r as p } from "../chunks/state.CSDxrqLd.js";
9
11
  import { e as m } from "../chunks/query.BBf1UFkC.js";
10
- import { e as c } from "../chunks/class-map.CoZTSvbM.js";
11
- import { o as _ } from "../chunks/style-map.CZovMmo_.js";
12
+ import { e as c } from "../chunks/class-map.BiVq-cVR.js";
13
+ import { o as _ } from "../chunks/style-map.llVFPd__.js";
12
14
  import A from "./button-group.js";
13
- const M = f`
15
+ const M = E`
14
16
  :host {
15
17
  display: block;
16
18
  --radio-group-gap: var(--cx-spacing-x-small);
@@ -77,9 +79,9 @@ var k = Object.defineProperty, S = Object.getOwnPropertyDescriptor, i = (e, t, a
77
79
  (n = e[l]) && (r = (s ? n(t, a, r) : n(r)) || r);
78
80
  return s && r && k(t, a, r), r;
79
81
  };
80
- let o = class extends g {
82
+ let o = class extends f {
81
83
  constructor() {
82
- super(...arguments), this.formControlController = new C(this), this.hasSlotController = new E(
84
+ super(...arguments), this.formControlController = new b(this), this.hasSlotController = new V(
83
85
  this,
84
86
  "help-text",
85
87
  "label"
@@ -88,7 +90,7 @@ let o = class extends g {
88
90
  /** Gets the validity state object */
89
91
  get validity() {
90
92
  const e = this.required && !this.value;
91
- return this.customValidityMessage !== "" ? w : e ? R : V;
93
+ return this.customValidityMessage !== "" ? C : e ? w : R;
92
94
  }
93
95
  /** Gets the validation message */
94
96
  get validationMessage() {
@@ -275,8 +277,8 @@ let o = class extends g {
275
277
  }
276
278
  };
277
279
  o.styles = [
278
- v,
279
- x,
280
+ g,
281
+ y,
280
282
  M
281
283
  ];
282
284
  o.dependencies = { "cx-button-group": A };
@@ -305,7 +307,7 @@ i([
305
307
  d({ reflect: !0 })
306
308
  ], o.prototype, "value", 2);
307
309
  i([
308
- b("value")
310
+ x("value")
309
311
  ], o.prototype, "defaultValue", 2);
310
312
  i([
311
313
  d({ reflect: !0 })
@@ -332,7 +334,7 @@ i([
332
334
  h("value")
333
335
  ], o.prototype, "handleValueChange", 1);
334
336
  o = i([
335
- y("cx-radio-group")
337
+ v("cx-radio-group")
336
338
  ], o);
337
339
  export {
338
340
  o as default