@orangelogic/design-system 4.29.0 → 4.31.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 (168) hide show
  1. package/library/assets/validation.worker-CATXl-v2.js +1 -0
  2. package/library/chunks/{alert.CuW7fOVy.js → alert.l5EVK3-E.js} +2 -2
  3. package/library/chunks/{array-line-clamp.AbuJqKJ3.js → array-line-clamp.CU5D9cZY.js} +2 -2
  4. package/library/chunks/{asset-link-format.DLmg4fTR.js → asset-link-format.vptDP26p.js} +116 -106
  5. package/library/chunks/{audio.BVQX3_8E.js → audio.CeFgoQdF.js} +14 -7
  6. package/library/chunks/{bicolor-picker.C9XSuhnX.js → bicolor-picker.CU3ukAg7.js} +1 -1
  7. package/library/chunks/{block-width.rWsXJkoW.js → block-width.CMPZBHqn.js} +81 -81
  8. package/library/chunks/{border-input-group.DESRXoh1.js → border-input-group.CD01EzK_.js} +3 -3
  9. package/library/chunks/{breadcrumb.qggcceb5.js → breadcrumb.wAs0dDVb.js} +1 -1
  10. package/library/chunks/{button.CI1tg4c9.js → button.CD8evBb3.js} +2 -2
  11. package/library/chunks/{color-picker.DUEghDon.js → color-picker.BJqVkgCG.js} +10 -10
  12. package/library/chunks/{color-swatch-group.Cf9NcMte.js → color-swatch-group.RTIWNZVn.js} +690 -614
  13. package/library/chunks/{color-swatch.CoiPHwMX.js → color-swatch.CZKAA6aA.js} +5 -5
  14. package/library/chunks/{config-manager.FRWbPVTc.js → config-manager.D7YYUDHX.js} +28 -28
  15. package/library/chunks/{configs-controller.R67BMWep.js → configs-controller.CGAljtXC.js} +55 -7
  16. package/library/chunks/{confirm-popover.CaNKM2dH.js → confirm-popover.CuUcSDEG.js} +4 -4
  17. package/library/chunks/{copy-button.BLHge7EN.js → copy-button.Db9OgUsk.js} +2 -2
  18. package/library/chunks/{corner-position-input-group.CPrsYabs.js → corner-position-input-group.D7nqy1PF.js} +4 -4
  19. package/library/chunks/{date-calendar.UWxXkZCn.js → date-calendar.QH4E3gcB.js} +1 -1
  20. package/library/chunks/{details.DLqFxjTf.js → details.QX575PyS.js} +1 -1
  21. package/library/chunks/{dialog.BuirdRW8.js → dialog.CWc63UTR.js} +3 -3
  22. package/library/chunks/{document-viewer.DZp_IRF7.js → document-viewer.CqFpoWJg.js} +14 -14
  23. package/library/chunks/{dot-pagination.CSSalEx6.js → dot-pagination.DecVZgSJ.js} +2 -2
  24. package/library/chunks/{drawer.BO3puoiw.js → drawer.DlQiWzOM.js} +2 -2
  25. package/library/chunks/{dropdown.HoJsYnUC.js → dropdown.HWaiHRYl.js} +4 -4
  26. package/library/chunks/{dynamic-select.G1V7Da24.js → dynamic-select.C4ZFmny4.js} +5 -5
  27. package/library/chunks/{e-chart.BopkVc04.js → e-chart.c19ibTnT.js} +2 -2
  28. package/library/chunks/{element-clamp.DIUYu8kK.js → element-clamp.Bo_TtVq2.js} +2 -2
  29. package/library/chunks/{file-on-demand.C_2vBGS3.js → file-on-demand.C7BgY0Pl.js} +16 -16
  30. package/library/chunks/{folder-select.CzNXsgl_.js → folder-select.Cymp8xGF.js} +7 -7
  31. package/library/chunks/{format-time.BO9Y72qk.js → format-time.Dfu1FCrK.js} +1 -1
  32. package/library/chunks/{header.BaWpIXRz.js → header.BosjiWVg.js} +2 -2
  33. package/library/chunks/{i18n.BMXeDUpk.js → i18n.D_iHIFdS.js} +3 -0
  34. package/library/chunks/{icon-button.CziUJUiX.js → icon-button.D6mTxvLN.js} +2 -2
  35. package/library/chunks/{iframe.BnAR2-o2.js → iframe.C7j4Uzku.js} +1 -1
  36. package/library/chunks/{image-comparer.DStatUUS.js → image-comparer.D7C-cLm6.js} +1 -1
  37. package/library/chunks/{image.BD0t8XU4.js → image.CIGPxKGh.js} +17 -4
  38. package/library/chunks/{input.B3HfssSr.js → input.C44u0jQi.js} +1 -1
  39. package/library/chunks/{line-clamp.DlenWria.js → line-clamp.D9NJFIfS.js} +2 -2
  40. package/library/chunks/{markdown.C-q35PEY.js → markdown.B6J44eJB.js} +2 -2
  41. package/library/chunks/{masonry.B3G5f-eL.js → masonry.BwhxOJL-.js} +3 -3
  42. package/library/chunks/{menu-item.DS4-vQe3.js → menu-item.BpB-Zp1I.js} +3 -3
  43. package/library/chunks/{menu.BRFXqBpq.js → menu.TbftncJn.js} +2 -2
  44. package/library/chunks/{option.wsYX6Pp-.js → option.DFutJxYo.js} +1 -1
  45. package/library/chunks/{padding-input-group.DKIv6567.js → padding-input-group.CSYzP2s4.js} +1 -1
  46. package/library/chunks/{pagination.By0sijVv.js → pagination.DQgNOqGM.js} +7 -7
  47. package/library/chunks/{popup.CxGrVXG-.js → popup.DwPq0yI9.js} +1 -1
  48. package/library/chunks/{position-picker.CyXlSYCi.js → position-picker.aNCROlig.js} +1 -1
  49. package/library/chunks/{progress-bar.Cp8jz3Cn.js → progress-bar.VFfb2YnK.js} +1 -1
  50. package/library/chunks/{progress-ring.CMylJgKR.js → progress-ring.Czn6GoZL.js} +1 -1
  51. package/library/chunks/{radio-card.DPIcsAW9.js → radio-card.BKJtxuuO.js} +1 -1
  52. package/library/chunks/{range.Dl85wEtv.js → range.UVbDGy7M.js} +2 -2
  53. package/library/chunks/{rating.C-3rSMOT.js → rating.Dpqp5fJ2.js} +1 -1
  54. package/library/chunks/{relative-time.5fu63h4C.js → relative-time.ImRpAXxg.js} +1 -1
  55. package/library/chunks/{select.v6t2pNH4.js → select.eBMe63kf.js} +8 -8
  56. package/library/chunks/{shadow-input-group.CFb61kzG.js → shadow-input-group.CZaqMPQV.js} +2 -2
  57. package/library/chunks/{share-option-list.BO50cnCs.js → share-option-list.CVyc5zE3.js} +2 -2
  58. package/library/chunks/{sidebar.CDTaDQY_.js → sidebar.B1CkFnS-.js} +1 -1
  59. package/library/chunks/{size-input-group.Z_9n7Nv6.js → size-input-group.IVVAysAr.js} +5 -5
  60. package/library/chunks/{spinner.-79sJ3oo.js → spinner.BPSFoJkz.js} +1 -1
  61. package/library/chunks/{split-panel.DE2NmORY.js → split-panel.BsE9_zvp.js} +1 -1
  62. package/library/chunks/{src.DKYroWZc.js → src.BVh8NgdB.js} +1 -1
  63. package/library/chunks/{src.fDrPRx_j.js → src.CswHQQN4.js} +47 -47
  64. package/library/chunks/{step.BKIlgV-h.js → step.GmnPARTV.js} +3 -3
  65. package/library/chunks/{stepper-wizard.BCNJD-aa.js → stepper-wizard.D_MmYLfc.js} +2 -2
  66. package/library/chunks/{stepper.D-B3UVVF.js → stepper.-RZKsA5t.js} +1 -1
  67. package/library/chunks/{tab-group.oiueox5q.js → tab-group.xQlBJJPJ.js} +7 -7
  68. package/library/chunks/{tab.Dd0cNxxc.js → tab.DMcCiQv2.js} +3 -3
  69. package/library/chunks/{tag.CWTVcGc7.js → tag.dbXBL3Rg.js} +3 -3
  70. package/library/chunks/{tooltip.CGCOh4cQ.js → tooltip.BAg1FXgE.js} +2 -2
  71. package/library/chunks/{tree.BZvt8Ol0.js → tree.CydKk_dU.js} +3 -3
  72. package/library/chunks/{typeface.BU6CLTXo.js → typeface.CbVDDGWe.js} +3 -3
  73. package/library/chunks/{video.Ba5xl_3K.js → video.dKdkgJUo.js} +4575 -4525
  74. package/library/components/alert.js +1 -1
  75. package/library/components/array-line-clamp.js +1 -1
  76. package/library/components/asset-link-format.js +1 -1
  77. package/library/components/atoms.js +48 -48
  78. package/library/components/audio.js +1 -1
  79. package/library/components/bicolor-picker.js +1 -1
  80. package/library/components/border-input-group.js +1 -1
  81. package/library/components/breadcrumb.js +1 -1
  82. package/library/components/button.js +1 -1
  83. package/library/components/color-picker.js +1 -1
  84. package/library/components/color-swatch-group.js +1 -1
  85. package/library/components/color-swatch.js +1 -1
  86. package/library/components/confirm-popover.js +1 -1
  87. package/library/components/copy-button.js +1 -1
  88. package/library/components/corner-position-input-group.js +1 -1
  89. package/library/components/date-calendar.js +1 -1
  90. package/library/components/details.js +1 -1
  91. package/library/components/dialog.js +1 -1
  92. package/library/components/document-viewer.js +1 -1
  93. package/library/components/dot-pagination.js +1 -1
  94. package/library/components/drawer.js +1 -1
  95. package/library/components/dropdown.js +1 -1
  96. package/library/components/dynamic-select.js +1 -1
  97. package/library/components/e-chart.js +1 -1
  98. package/library/components/element-clamp.js +1 -1
  99. package/library/components/file-on-demand.js +1 -1
  100. package/library/components/folder-select.js +1 -1
  101. package/library/components/format-bytes.js +1 -1
  102. package/library/components/format-date.js +1 -1
  103. package/library/components/format-number.js +1 -1
  104. package/library/components/format-time.js +1 -1
  105. package/library/components/header.js +1 -1
  106. package/library/components/icon-button.js +1 -1
  107. package/library/components/iframe.js +1 -1
  108. package/library/components/image-comparer.js +1 -1
  109. package/library/components/image.js +1 -1
  110. package/library/components/input.js +1 -1
  111. package/library/components/line-clamp.js +1 -1
  112. package/library/components/markdown.js +1 -1
  113. package/library/components/masonry.js +1 -1
  114. package/library/components/menu-item.js +1 -1
  115. package/library/components/menu.js +1 -1
  116. package/library/components/molecules.js +16 -16
  117. package/library/components/option.js +1 -1
  118. package/library/components/organisms.js +3 -3
  119. package/library/components/padding-input-group.js +1 -1
  120. package/library/components/pagination.js +1 -1
  121. package/library/components/popup.js +1 -1
  122. package/library/components/position-picker.js +1 -1
  123. package/library/components/progress-bar.js +1 -1
  124. package/library/components/progress-ring.js +1 -1
  125. package/library/components/radio-card.js +1 -1
  126. package/library/components/range.js +1 -1
  127. package/library/components/rating.js +1 -1
  128. package/library/components/relative-time.js +1 -1
  129. package/library/components/select.js +1 -1
  130. package/library/components/shadow-input-group.js +1 -1
  131. package/library/components/share-option-list.js +1 -1
  132. package/library/components/sidebar.js +1 -1
  133. package/library/components/size-input-group.js +1 -1
  134. package/library/components/spinner.js +1 -1
  135. package/library/components/split-panel.js +1 -1
  136. package/library/components/step.js +1 -1
  137. package/library/components/stepper-wizard.js +1 -1
  138. package/library/components/stepper.js +1 -1
  139. package/library/components/tab-group.js +1 -1
  140. package/library/components/tab.js +1 -1
  141. package/library/components/tag.js +1 -1
  142. package/library/components/tooltip.js +1 -1
  143. package/library/components/tree-item.js +1 -1
  144. package/library/components/tree.js +1 -1
  145. package/library/components/typeface.js +1 -1
  146. package/library/components/types.js +10623 -10454
  147. package/library/components/video.js +1 -1
  148. package/library/package.json +1 -1
  149. package/library/packages/atoms/src/components/audio/audio.d.ts +15 -0
  150. package/library/packages/atoms/src/components/image/image.d.ts +1 -1
  151. package/library/packages/atoms/src/components/video/video.d.ts +23 -0
  152. package/library/packages/molecules/src/multi-select/components/board-list-item/board-list-item.d.ts +1 -0
  153. package/library/packages/organisms/src/chatbot/chatbot.d.ts +1 -1
  154. package/library/packages/organisms/src/content-builder/blocks/gallery/gallery.d.ts +7 -0
  155. package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +17 -1
  156. package/library/packages/organisms/src/content-builder/blocks/video/video.d.ts +1 -0
  157. package/library/packages/organisms/src/content-builder/configs/image.d.ts +4 -0
  158. package/library/packages/organisms/src/content-builder/configs-controller.d.ts +14 -10
  159. package/library/packages/organisms/src/index.d.ts +1 -0
  160. package/library/packages/services/src/api/asset/asset.d.ts +3 -3
  161. package/library/packages/services/src/api/asset/asset.types.d.ts +4 -0
  162. package/library/packages/tools/src/fetch-image/fetch-image.d.ts +8 -4
  163. package/library/packages/types/src/table.d.ts +7 -6
  164. package/library/packages/utils/src/custom-element/i18n.d.ts +3 -0
  165. package/library/react-web-component.d.ts +4 -0
  166. package/library/utils.js +2 -2
  167. package/package.json +1 -1
  168. package/library/assets/validation.worker-DnJlaA8S.js +0 -1
@@ -4,25 +4,25 @@ import { a as s, i as c, n as l, r as u, t as d } from "./cortex-element.DTrNUtd
4
4
  import { t as f } from "./query.B1yi7t71.js";
5
5
  import { t as p } from "./component.styles.0xM1ZmBs.js";
6
6
  import { t as m } from "./custom-element.BEMYNDK1.js";
7
- import { t as h } from "./i18n.BMXeDUpk.js";
7
+ import { t as h } from "./i18n.D_iHIFdS.js";
8
8
  import { t as ee } from "./slot.CZUlACxT.js";
9
9
  import { t as g } from "./watch.Ub5r8btz.js";
10
10
  import { r as te, t as ne } from "./directive.DaY8wl8H.js";
11
11
  import { t as re } from "./class-map.D8nsNOVJ.js";
12
- import { t as _ } from "./icon-button.CziUJUiX.js";
12
+ import { t as _ } from "./icon-button.D6mTxvLN.js";
13
13
  import { t as v } from "./if-defined.B29V_rEp.js";
14
14
  import { t as y } from "./when.BUskJLtZ.js";
15
15
  import { t as ie } from "./icon.CeQpEaQz.js";
16
- import { t as ae } from "./spinner.-79sJ3oo.js";
16
+ import { t as ae } from "./spinner.BPSFoJkz.js";
17
17
  import { n as oe } from "./tslib.es6.DJNsMHqv.js";
18
- import { t as se } from "./src.fDrPRx_j.js";
18
+ import { t as se } from "./src.CswHQQN4.js";
19
19
  import { t as ce } from "./style-map.DPGQIxip.js";
20
- import { t as b } from "./button.CI1tg4c9.js";
20
+ import { t as b } from "./button.CD8evBb3.js";
21
21
  import { E as x, S as le, r as ue } from "./string.DamEXDH2.js";
22
22
  import { t as de } from "./form.-ADsa-59.js";
23
23
  import { t as fe } from "./debounce.Ci-xdsHE.js";
24
- import { t as pe } from "./tooltip.CGCOh4cQ.js";
25
- import { t as me } from "./line-clamp.DlenWria.js";
24
+ import { t as pe } from "./tooltip.BAg1FXgE.js";
25
+ import { t as me } from "./line-clamp.D9NJFIfS.js";
26
26
  import { n as he } from "./position-picker.dY_vgF_H.js";
27
27
  import { a as ge } from "./src.BJhIYoMP.js";
28
28
  import { i as _e } from "./number.CNp5LKkv.js";
@@ -33,54 +33,54 @@ import { t as be } from "./checkbox.C6vsHW9n.js";
33
33
  import { t as xe } from "./default-value.opqQgoRT.js";
34
34
  import { u as Se } from "./gradient.rrDxmV60.js";
35
35
  import { t as C } from "./repeat.CKv9FPlC.js";
36
- import { t as w } from "./dropdown.HoJsYnUC.js";
36
+ import { t as w } from "./dropdown.HWaiHRYl.js";
37
37
  import { t as Ce } from "./tabbable.Bflg1dha.js";
38
- import { t as T } from "./input.B3HfssSr.js";
39
- import { t as we } from "./menu.BRFXqBpq.js";
40
- import { t as Te } from "./menu-item.DS4-vQe3.js";
38
+ import { t as T } from "./input.C44u0jQi.js";
39
+ import { t as we } from "./menu.TbftncJn.js";
40
+ import { t as Te } from "./menu-item.BpB-Zp1I.js";
41
41
  import { n as Ee, r as De, t as Oe } from "./ref.CU1NC5AM.js";
42
42
  import { t as ke } from "./textarea.Bc4eCJgT.js";
43
- import { n as Ae, t as E } from "./option.wsYX6Pp-.js";
43
+ import { n as Ae, t as E } from "./option.DFutJxYo.js";
44
44
  import { t as D } from "./space.Dd8jezXK.js";
45
- import { t as O } from "./select.v6t2pNH4.js";
46
- import { t as je } from "./tab.Dd0cNxxc.js";
47
- import { t as Me } from "./tab-group.oiueox5q.js";
45
+ import { t as O } from "./select.eBMe63kf.js";
46
+ import { t as je } from "./tab.DMcCiQv2.js";
47
+ import { t as Me } from "./tab-group.xQlBJJPJ.js";
48
48
  import { t as Ne } from "./map.ByDuLduF.js";
49
49
  import { t as Pe } from "./tab-panel.BxeoKuSv.js";
50
50
  import { t as Fe } from "./visually-hidden.Bv3SInZp.js";
51
- import { t as Ie } from "./color-picker.DUEghDon.js";
52
- import { E as Le, G as Re, J as ze, O as Be, R as Ve, S as He, T as Ue, U as We, V as Ge, w as Ke, x as qe, y as Je } from "./src.DKYroWZc.js";
53
- import { a as Ye, i as Xe, n as Ze, o as Qe, r as $e, s as et, t as k } from "./dialog.BuirdRW8.js";
51
+ import { t as Ie } from "./color-picker.BJqVkgCG.js";
52
+ import { E as Le, G as Re, J as ze, O as Be, R as Ve, S as He, T as Ue, U as We, V as Ge, w as Ke, x as qe, y as Je } from "./src.BVh8NgdB.js";
53
+ import { a as Ye, i as Xe, n as Ze, o as Qe, r as $e, s as et, t as k } from "./dialog.CWc63UTR.js";
54
54
  import { t as tt } from "./divider.CqSNZCU8.js";
55
55
  import { p as nt } from "./url.BCc06dE7.js";
56
56
  import { d as rt, h as it, m as at, n as ot, o as st, p as ct } from "./color.CIOzHtLK.js";
57
57
  import { _ as lt, a as A, h as ut, p as j, s as dt } from "./responsive.L9Csz2w2.js";
58
58
  import { n as ft } from "./asset-link-format.DhdgEsA0.js";
59
- import { t as pt } from "./image.BD0t8XU4.js";
59
+ import { t as pt } from "./image.CIGPxKGh.js";
60
60
  import { t as mt } from "./grid.CK4PRwur.js";
61
61
  import { t as ht } from "./grid-item.CSieaU5T.js";
62
62
  import { t as gt } from "./menu-label.B-FOyfAX.js";
63
63
  import { t as _t } from "./radio.DhPbmKbQ.js";
64
- import { t as vt } from "./radio-card.DPIcsAW9.js";
64
+ import { t as vt } from "./radio-card.BKJtxuuO.js";
65
65
  import { t as yt } from "./radio-group.DKOIr2PH.js";
66
66
  import { t as bt } from "./switch.D6KXmWnC.js";
67
67
  import { t as xt } from "./v4.JyXW8GUB.js";
68
- import { t as St } from "./bicolor-picker.C9XSuhnX.js";
69
- import { t as Ct } from "./border-input-group.DESRXoh1.js";
70
- import { n as wt, t as Tt } from "./confirm-popover.CaNKM2dH.js";
71
- import { t as Et } from "./corner-position-input-group.CPrsYabs.js";
68
+ import { t as St } from "./bicolor-picker.CU3ukAg7.js";
69
+ import { t as Ct } from "./border-input-group.CD01EzK_.js";
70
+ import { n as wt, t as Tt } from "./confirm-popover.CuUcSDEG.js";
71
+ import { t as Et } from "./corner-position-input-group.D7nqy1PF.js";
72
72
  import { t as Dt } from "./cropper.D4ymxgab.js";
73
- import { t as Ot } from "./dynamic-select.G1V7Da24.js";
74
- import { i as kt, n as M, r as At, t as N } from "./folder-select.CzNXsgl_.js";
73
+ import { t as Ot } from "./dynamic-select.C4ZFmny4.js";
74
+ import { i as kt, n as M, r as At, t as N } from "./folder-select.Cymp8xGF.js";
75
75
  import { t as jt } from "./choose.C2vpqhLc.js";
76
- import { t as Mt } from "./masonry.B3G5f-eL.js";
77
- import { t as Nt } from "./padding-input-group.DKIv6567.js";
78
- import { t as Pt } from "./position-picker.CyXlSYCi.js";
79
- import { t as Ft } from "./shadow-input-group.CFb61kzG.js";
80
- import { t as It } from "./size-input-group.Z_9n7Nv6.js";
81
- import { C as Lt, S as Rt, T as zt, _ as Bt, b as Vt, c as Ht, f as Ut, g as Wt, h as Gt, i as Kt, l as qt, n as Jt, o as Yt, p as Xt, r as Zt, s as P, t as Qt, u as $t, v as en, w as tn, x as nn, y as rn } from "./asset-link-format.DLmg4fTR.js";
82
- import { c as an, d as on, f as sn, n as cn, u as ln } from "./color-swatch-group.Cf9NcMte.js";
83
- import { B as un, C as dn, H as fn, J as pn, P as mn, Q as hn, R as gn, U as _n, V as vn, X as yn, Y as F, Z as I, f as bn, g as xn, k as L, p as Sn, y as Cn, z as wn } from "./configs-controller.R67BMWep.js";
76
+ import { t as Mt } from "./masonry.BwhxOJL-.js";
77
+ import { t as Nt } from "./padding-input-group.CSYzP2s4.js";
78
+ import { t as Pt } from "./position-picker.aNCROlig.js";
79
+ import { t as Ft } from "./shadow-input-group.CZaqMPQV.js";
80
+ import { t as It } from "./size-input-group.IVVAysAr.js";
81
+ import { C as Lt, S as Rt, T as zt, _ as Bt, b as Vt, c as Ht, f as Ut, g as Wt, h as Gt, i as Kt, l as qt, n as Jt, o as Yt, p as Xt, r as Zt, s as P, t as Qt, u as $t, v as en, w as tn, x as nn, y as rn } from "./asset-link-format.vptDP26p.js";
82
+ import { c as an, d as on, f as sn, n as cn, u as ln } from "./color-swatch-group.RTIWNZVn.js";
83
+ import { $ as un, E as dn, G as fn, H as pn, K as mn, L as hn, M as F, Q as I, S as gn, U as _n, V as vn, W as yn, Z as bn, et as L, g as xn, h as Sn, tt as Cn, y as wn } from "./configs-controller.CGAljtXC.js";
84
84
  import { a as Tn } from "./cloneDeep.C6x5LNv3.js";
85
85
  //#region ../../packages/types/src/icon-picker.ts
86
86
  var En = /* @__PURE__ */ function(e) {
@@ -1393,7 +1393,7 @@ var hr = W, gr = r`:host{isolation:isolate}.asset-format-picker__input[data-user
1393
1393
  return this.#n.get(e) ?? e;
1394
1394
  }
1395
1395
  get canReset() {
1396
- return !!this.defaultFormat && this.hasValue && (this.value?.format !== this.defaultFormat || this.value?.assetVersion !== hn.Latest);
1396
+ return !!this.defaultFormat && this.hasValue && (this.value?.format !== this.defaultFormat || this.value?.assetVersion !== Cn.Latest);
1397
1397
  }
1398
1398
  async handleRequestFormatClick() {
1399
1399
  if (this.onRequestAssetFormat && !this.disabled && this.canAccess) try {
@@ -1406,7 +1406,7 @@ var hr = W, gr = r`:host{isolation:isolate}.asset-format-picker__input[data-user
1406
1406
  }
1407
1407
  handleResetClick() {
1408
1408
  this.emit("cx-asset-format-select", { detail: {
1409
- assetVersion: hn.Latest,
1409
+ assetVersion: Cn.Latest,
1410
1410
  format: this.defaultFormat
1411
1411
  } });
1412
1412
  }
@@ -40886,11 +40886,11 @@ var Nr = J, Pr = r`:host{width:100%;display:block}.gallery-config-dialog{--width
40886
40886
  }
40887
40887
  }
40888
40888
  constructor() {
40889
- super(), this.localize = new h(this), this.variant = x.Asset, this.dialogVariant = j.Gallery, this.boundary = document.body, this.onRequestAsset = void 0, this.image = null, this.selectedPosition = -1, this.disabledAssetPicker = !1, this.editedImage = { id: "" }, this.assetRequestingStatus = !1, this.selectedPageLabel = "", this.isThumbnailManuallySet = !1, this.apiGetTeamSpaceSpaceList = xn, this.apiGetPagesAndLinks = this.apiGetPagesAndLinks.bind(this);
40889
+ super(), this.localize = new h(this), this.variant = x.Asset, this.dialogVariant = j.Gallery, this.boundary = document.body, this.onRequestAsset = void 0, this.image = null, this.selectedPosition = -1, this.disabledAssetPicker = !1, this.editedImage = { id: "" }, this.assetRequestingStatus = !1, this.selectedPageLabel = "", this.isThumbnailManuallySet = !1, this.apiGetTeamSpaceSpaceList = wn, this.apiGetPagesAndLinks = this.apiGetPagesAndLinks.bind(this);
40890
40890
  }
40891
40891
  async apiGetPagesAndLinks({ folderId: e = "", searchTerm: t = "", start: n = 0 }) {
40892
40892
  try {
40893
- let { data: r, hasMore: i } = await bn({
40893
+ let { data: r, hasMore: i } = await Sn({
40894
40894
  parentId: e,
40895
40895
  searchTerm: t,
40896
40896
  start: n
@@ -41105,7 +41105,7 @@ Xe.plugin({
41105
41105
  var X = class extends d {
41106
41106
  static #e = Rr = this;
41107
41107
  constructor(...e) {
41108
- super(...e), this.formControlController = new de(this, { assumeInteractionOn: ["cx-gallery-picker-action"] }), this.localize = new h(this), this.variant = x.Asset, this.sourceVariant = L.Manual, this.dialogVariant = j.Gallery, this.name = "", this.value = void 0, this.defaultValue = void 0, this.src = "", this.format = "TR1", this.manualFormat = !1, this.boundary = document.body, this.form = void 0, this.onRequestAsset = void 0, this.loading = !1, this.masonryData = [], this.dataCount = 0, this.currentPage = 0, this.selectedPosition = -1, this.hasFinishedFetchingData = !1, this.errorDataMap = /* @__PURE__ */ new Map(), this.osInstance = null, this.itemsPerPage = 9, this.maxRows = 3, this.maxColumns = 3, this.rowHeight = "150px", this.spacing = "medium", this.autofetchController = new Jt(this, {
41108
+ super(...e), this.formControlController = new de(this, { assumeInteractionOn: ["cx-gallery-picker-action"] }), this.localize = new h(this), this.variant = x.Asset, this.sourceVariant = F.Manual, this.dialogVariant = j.Gallery, this.name = "", this.value = void 0, this.defaultValue = void 0, this.src = "", this.format = "TR1", this.manualFormat = !1, this.boundary = document.body, this.form = void 0, this.onRequestAsset = void 0, this.loading = !1, this.masonryData = [], this.dataCount = 0, this.currentPage = 0, this.selectedPosition = -1, this.hasFinishedFetchingData = !1, this.errorDataMap = /* @__PURE__ */ new Map(), this.osInstance = null, this.itemsPerPage = 9, this.maxRows = 3, this.maxColumns = 3, this.rowHeight = "150px", this.spacing = "medium", this.autofetchController = new Jt(this, {
41109
41109
  isSiteBuilder: !0,
41110
41110
  maxEnd: 100
41111
41111
  });
@@ -41171,7 +41171,7 @@ var X = class extends d {
41171
41171
  await this.updateComplete, this.requestUpdate();
41172
41172
  }
41173
41173
  async fetchImagesInFolderBySlide() {
41174
- if (await this.updateComplete, this.src !== "" && this.sourceVariant === L.Api && this.currentPage !== Infinity) {
41174
+ if (await this.updateComplete, this.src !== "" && this.sourceVariant === F.Api && this.currentPage !== Infinity) {
41175
41175
  this.hasFinishedFetchingData = !1, this.loading = !0;
41176
41176
  try {
41177
41177
  let e = await this.autofetchController.fetchImagesInFolderByPage({
@@ -41188,10 +41188,10 @@ var X = class extends d {
41188
41188
  }
41189
41189
  }
41190
41190
  handleSourceVariantChange() {
41191
- this.sourceVariant === L.Api && (this.currentPage = 0, this.masonryData = [], this.dataCount = 0);
41191
+ this.sourceVariant === F.Api && (this.currentPage = 0, this.masonryData = [], this.dataCount = 0);
41192
41192
  }
41193
41193
  async fetchImagesByIDs(e, t) {
41194
- if (await this.updateComplete, this.sourceVariant === L.Api || !this.value) return;
41194
+ if (await this.updateComplete, this.sourceVariant === F.Api || !this.value) return;
41195
41195
  if (this.value.length === 0) {
41196
41196
  this.masonryData = [], this.dataCount = 0;
41197
41197
  return;
@@ -41205,7 +41205,7 @@ var X = class extends d {
41205
41205
  await this.doFetchByIds(n);
41206
41206
  }
41207
41207
  async handleFormatChange() {
41208
- if (this.sourceVariant === L.Api || !this.value || this.value.length === 0) return;
41208
+ if (this.sourceVariant === F.Api || !this.value || this.value.length === 0) return;
41209
41209
  let e = this.value.map((e) => e.id).filter((e) => e !== "");
41210
41210
  e.length !== 0 && await this.doFetchByIds(e);
41211
41211
  }
@@ -41245,9 +41245,9 @@ var X = class extends d {
41245
41245
  }
41246
41246
  handleEditItem(e) {
41247
41247
  if (this.value) {
41248
- if (this.emit("cx-gallery-picker-action"), this.sourceVariant === L.Manual) {
41249
- if (this.selectedPosition = this.value.findIndex((t) => this.sourceVariant === L.Manual ? t.rawId === e.detail.item.rawId : t.id === e.detail.item.id), this.selectedPosition < 0) return;
41250
- let t = this.value[this.selectedPosition], n = this.masonryData.find((t) => this.sourceVariant === L.Manual ? t.rawId === e.detail.item.rawId : t.id === e.detail.item.id);
41248
+ if (this.emit("cx-gallery-picker-action"), this.sourceVariant === F.Manual) {
41249
+ if (this.selectedPosition = this.value.findIndex((t) => this.sourceVariant === F.Manual ? t.rawId === e.detail.item.rawId : t.id === e.detail.item.id), this.selectedPosition < 0) return;
41250
+ let t = this.value[this.selectedPosition], n = this.masonryData.find((t) => this.sourceVariant === F.Manual ? t.rawId === e.detail.item.rawId : t.id === e.detail.item.id);
41251
41251
  if (!t || !n?.src && !n?.backgroundColor) return;
41252
41252
  let r = {
41253
41253
  ...t,
@@ -41291,12 +41291,12 @@ var X = class extends d {
41291
41291
  if (n < 0) r = [...this.value ?? [], t];
41292
41292
  else {
41293
41293
  r = [...this.value ?? []];
41294
- let e = this.sourceVariant === L.Manual && !!t.rawId, n = (n) => e ? n.rawId === t.rawId : n.id === t.id;
41294
+ let e = this.sourceVariant === F.Manual && !!t.rawId, n = (n) => e ? n.rawId === t.rawId : n.id === t.id;
41295
41295
  r.some(n) ? r = r.map((e) => n(e) ? t : e) : r.push(t);
41296
41296
  }
41297
41297
  let i = r.map((e) => ({
41298
41298
  ...e,
41299
- rawId: this.sourceVariant === L.Manual ? e.rawId || xt() : e.rawId ?? ""
41299
+ rawId: this.sourceVariant === F.Manual ? e.rawId || xt() : e.rawId ?? ""
41300
41300
  }));
41301
41301
  this.value = i, this.emit("cx-content-builder-gallery-change", { detail: { data: i.map((e) => ({
41302
41302
  backgroundColor: e.backgroundColor,
@@ -41333,7 +41333,7 @@ var X = class extends d {
41333
41333
  autoHideDelay: 1e3
41334
41334
  } }), this.osInstance.on("scroll", (e) => {
41335
41335
  let t = e.elements().viewport, n = t.scrollTop, r = t.clientHeight, i = t.scrollHeight, a = n + r >= i - 5;
41336
- if (this.sourceVariant !== L.Api || this.loading || this.currentPage === Infinity || !this.src) return;
41336
+ if (this.sourceVariant !== F.Api || this.loading || this.currentPage === Infinity || !this.src) return;
41337
41337
  let o = (this.currentPage + 1) * this.itemsPerPage;
41338
41338
  a && this.dataCount > o && this.currentPage++;
41339
41339
  });
@@ -41342,7 +41342,7 @@ var X = class extends d {
41342
41342
  this.osInstance?.destroy(), this.osInstance = null;
41343
41343
  }
41344
41344
  render() {
41345
- let e = this.sourceVariant === L.Manual ? [{
41345
+ let e = this.sourceVariant === F.Manual ? [{
41346
41346
  color: "var(--cx-color-danger)",
41347
41347
  event: "cx-delete-item",
41348
41348
  icon: "delete",
@@ -41360,7 +41360,7 @@ var X = class extends d {
41360
41360
  hasError: this.errorDataMap.has(e.id),
41361
41361
  loading: !e.src && !e.backgroundColor
41362
41362
  }));
41363
- return n`<cx-input class="gallery-picker__input" label=${this.localize.term("choose")} name=${this.name} value=${JSON.stringify(this.value ?? [])}></cx-input><div part="overlay" class="gallery-picker__overlay" tabindex="-1"><div part="masonry-wrapper" style=${ce({ maxHeight: this.maxMasonryHeight })} class="gallery-picker__masonry-wrapper" tabindex="-1"><cx-masonry class="gallery-picker__masonry" cols=${this.maxColumns} id-key=${this.sourceVariant === L.Manual ? "rawId" : "id"} row-height=${this.rowHeight} format=${this.format} ?manual-format=${this.manualFormat} spacing="medium" no-crossorigin ?sortable=${this.sourceVariant === L.Manual} .data=${t} .actions=${e} @cx-edit-item=${this.handleEditItem} @cx-delete-item=${this.handleDeleteItem} @cx-reorder=${this.handleReorder}></cx-masonry></div>${y(this.src ? this.hasFinishedFetchingData && this.masonryData.length === 0 : this.masonryData.length === 0, () => y(this.sourceVariant === L.Api, () => n`<cx-typography variant="body2" class="gallery-picker__no-slides-added">${y(this.dialogVariant === j.Gallery, () => this.localize.term("cardsWillBeAddedAutomaticallyFromTheSelectedFolder"), () => this.localize.term("slidesWillBeAddedAutomaticallyFromTheSelectedFolder"))}</cx-typography>`, () => n`<cx-typography variant="body2" class="gallery-picker__no-slides-added">${this.localize.term(`no${this.dialogVariant === j.Gallery ? "Cards" : "Slides"}AddedYet`)}</cx-typography>`))}</div>${y(this.sourceVariant === L.Manual, () => n`<cx-button class="gallery-picker-trigger" variant="default" @click=${this.handleAddItem}>${this.localize.term(`add${this.dialogVariant === j.Gallery ? "Card" : "Slide"}`)}</cx-button>`)}<cx-gallery-config variant=${this.variant} dialog-variant=${this.dialogVariant} ?disabled-asset-picker=${this.sourceVariant === L.Api} .boundary=${this.boundary} .onRequestAsset=${this.onRequestAsset} @cx-gallery-config-save=${this.handleSave}></cx-gallery-config>`;
41363
+ return n`<cx-input class="gallery-picker__input" label=${this.localize.term("choose")} name=${this.name} value=${JSON.stringify(this.value ?? [])}></cx-input><div part="overlay" class="gallery-picker__overlay" tabindex="-1"><div part="masonry-wrapper" style=${ce({ maxHeight: this.maxMasonryHeight })} class="gallery-picker__masonry-wrapper" tabindex="-1"><cx-masonry class="gallery-picker__masonry" cols=${this.maxColumns} id-key=${this.sourceVariant === F.Manual ? "rawId" : "id"} row-height=${this.rowHeight} format=${this.format} ?manual-format=${this.manualFormat} spacing="medium" no-crossorigin ?sortable=${this.sourceVariant === F.Manual} .data=${t} .actions=${e} @cx-edit-item=${this.handleEditItem} @cx-delete-item=${this.handleDeleteItem} @cx-reorder=${this.handleReorder}></cx-masonry></div>${y(this.src ? this.hasFinishedFetchingData && this.masonryData.length === 0 : this.masonryData.length === 0, () => y(this.sourceVariant === F.Api, () => n`<cx-typography variant="body2" class="gallery-picker__no-slides-added">${y(this.dialogVariant === j.Gallery, () => this.localize.term("cardsWillBeAddedAutomaticallyFromTheSelectedFolder"), () => this.localize.term("slidesWillBeAddedAutomaticallyFromTheSelectedFolder"))}</cx-typography>`, () => n`<cx-typography variant="body2" class="gallery-picker__no-slides-added">${this.localize.term(`no${this.dialogVariant === j.Gallery ? "Cards" : "Slides"}AddedYet`)}</cx-typography>`))}</div>${y(this.sourceVariant === F.Manual, () => n`<cx-button class="gallery-picker-trigger" variant="default" @click=${this.handleAddItem}>${this.localize.term(`add${this.dialogVariant === j.Gallery ? "Card" : "Slide"}`)}</cx-button>`)}<cx-gallery-config variant=${this.variant} dialog-variant=${this.dialogVariant} ?disabled-asset-picker=${this.sourceVariant === F.Api} .boundary=${this.boundary} .onRequestAsset=${this.onRequestAsset} @cx-gallery-config-save=${this.handleSave}></cx-gallery-config>`;
41364
41364
  }
41365
41365
  };
41366
41366
  l([f("cx-gallery-config"), u("design:type", Ir === void 0 ? Object : Ir)], X.prototype, "galleryConfig", void 0), l([f("cx-masonry"), u("design:type", Mt === void 0 ? Object : Mt)], X.prototype, "masonry", void 0), l([f(".gallery-picker__masonry-wrapper"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], X.prototype, "scrollWrapper", void 0), l([f(".gallery-picker__input"), u("design:type", T === void 0 ? Object : T)], X.prototype, "inputEl", void 0), l([s({
@@ -41370,7 +41370,7 @@ l([f("cx-gallery-config"), u("design:type", Ir === void 0 ? Object : Ir)], X.pro
41370
41370
  attribute: "source-variant",
41371
41371
  reflect: !0,
41372
41372
  type: String
41373
- }), u("design:type", L === void 0 ? Object : L)], X.prototype, "sourceVariant", void 0), l([s({
41373
+ }), u("design:type", F === void 0 ? Object : F)], X.prototype, "sourceVariant", void 0), l([s({
41374
41374
  attribute: "dialog-variant",
41375
41375
  reflect: !0,
41376
41376
  type: String
@@ -41463,7 +41463,7 @@ var zr = X, Br = r`.page-picker__name{--color:var(--cx-color-primary-500)}.page-
41463
41463
  }
41464
41464
  async apiGetPagesAndLinks({ folderId: e = "", searchTerm: t = "", start: n = 0 }) {
41465
41465
  try {
41466
- let { data: r, hasMore: i } = await bn({
41466
+ let { data: r, hasMore: i } = await Sn({
41467
41467
  parentId: e,
41468
41468
  searchTerm: t,
41469
41469
  start: n
@@ -41569,7 +41569,7 @@ function Jr(e, t) {
41569
41569
  return qr(e).filter((e) => e.id && e.name && t.includes(e.name)).map((e) => e.id);
41570
41570
  }
41571
41571
  function Yr(e) {
41572
- return e === dt.Carousel ? Cn : e === dt.FontKitAdvanced ? [dt.Text] : [];
41572
+ return e === dt.Carousel ? gn : e === dt.FontKitAdvanced ? [dt.Text] : [];
41573
41573
  }
41574
41574
  var Xr = new Set(Object.values(dt).filter((e) => e !== dt.Column && e !== dt.ColumnGroup));
41575
41575
  function Zr(e) {
@@ -41634,7 +41634,7 @@ function ai(e, t) {
41634
41634
  //#region ../../packages/organisms/src/form/control-renderer/control-renderer.ts
41635
41635
  var oi = class {
41636
41636
  constructor(e, t) {
41637
- this.apiSearchAssets = Lt, this.apiGetTeamSpaceFontFamily = Sn, this.pendingGalleryPickerSaves = /* @__PURE__ */ new Set(), this.fontFamiliesCache = /* @__PURE__ */ new Map(), this.spaceFontFamilyCache = /* @__PURE__ */ new Map(), this.pendingFontFamilyFetches = /* @__PURE__ */ new Set(), this.typeSubtypeOptionsCache = /* @__PURE__ */ new Map(), this.pendingTypeSubtypeOptionsFetches = /* @__PURE__ */ new Set(), this.srcResolveVersions = /* @__PURE__ */ new Map(), this.host = e, this.options = t, this.localize = new h(this.host);
41637
+ this.apiSearchAssets = Lt, this.apiGetTeamSpaceFontFamily = xn, this.pendingGalleryPickerSaves = /* @__PURE__ */ new Set(), this.fontFamiliesCache = /* @__PURE__ */ new Map(), this.spaceFontFamilyCache = /* @__PURE__ */ new Map(), this.pendingFontFamilyFetches = /* @__PURE__ */ new Set(), this.typeSubtypeOptionsCache = /* @__PURE__ */ new Map(), this.pendingTypeSubtypeOptionsFetches = /* @__PURE__ */ new Set(), this.srcResolveVersions = /* @__PURE__ */ new Map(), this.host = e, this.options = t, this.localize = new h(this.host);
41638
41638
  }
41639
41639
  createChangeHandler({ key: e, trait: t, type: n }) {
41640
41640
  let r;
@@ -41703,7 +41703,7 @@ var oi = class {
41703
41703
  } catch {
41704
41704
  i = [];
41705
41705
  }
41706
- let a = new Set(i.map((e) => e.id)), o = r.map((e) => e.id).some((e) => !a.has(e)), s = this.context.blockAttributes["source-variant"] === L.Api;
41706
+ let a = new Set(i.map((e) => e.id)), o = r.map((e) => e.id).some((e) => !a.has(e)), s = this.context.blockAttributes["source-variant"] === F.Api;
41707
41707
  o && !s ? this.pendingGalleryPickerSaves.add(e) : await this.handleConfigChange(e, r, n, t.callback);
41708
41708
  }
41709
41709
  if (t.galleryPickerConfigs?.transformationRecordIdKey && (!a || r.length > 0)) {
@@ -41875,7 +41875,7 @@ var oi = class {
41875
41875
  case "asset-format-picker":
41876
41876
  r = async (r, ...i) => {
41877
41877
  if (typeof r == "string") {
41878
- let a = typeof i[0] == "string" ? i[0] : hn.Latest, o = typeof i[1] == "string" ? i[1] : "", s = typeof i[2] == "string" ? i[2] : "";
41878
+ let a = typeof i[0] == "string" ? i[0] : Cn.Latest, o = typeof i[1] == "string" ? i[1] : "", s = typeof i[2] == "string" ? i[2] : "";
41879
41879
  await this.handleConfigChange(e, r, n, t.callback);
41880
41880
  let c = t.assetFormatPickerConfigs?.assetVersionKey, l = t.assetFormatPickerConfigs?.formatSrcKey, u = t.assetFormatPickerConfigs?.versionLabelKey;
41881
41881
  c && await this.handleConfigChange(c, a, "attribute"), l && await this.handleConfigChange(l, o, "attribute"), u && await this.handleConfigChange(u, s, "attribute");
@@ -42073,7 +42073,7 @@ var oi = class {
42073
42073
  a = {};
42074
42074
  }
42075
42075
  let s = [];
42076
- if (e.src && e["source-variant"] === L.Api) s = [e.src];
42076
+ if (e.src && e["source-variant"] === F.Api) s = [e.src];
42077
42077
  else if (l.downloadFormatPickerConfigs?.isObjectFormat) try {
42078
42078
  s = JSON.parse(e[l.downloadFormatPickerConfigs?.assetIdsKey ?? ""] ?? "[]").map((e) => e[l.downloadFormatPickerConfigs?.objectIdKey ?? "id"]);
42079
42079
  } catch {
@@ -42086,7 +42086,7 @@ var oi = class {
42086
42086
  ["asset-format-picker", () => {
42087
42087
  let t = async (e) => {
42088
42088
  await o(e.detail.format, e.detail.assetVersion, e.detail.assetSrc, e.detail.versionLabel);
42089
- }, i = r, a = e[l.assetFormatPickerConfigs?.assetVersionKey ?? ""] ?? hn.Latest, s = e[l.assetFormatPickerConfigs?.versionLabelKey ?? ""] || void 0, u = i ? {
42089
+ }, i = r, a = e[l.assetFormatPickerConfigs?.assetVersionKey ?? ""] ?? Cn.Latest, s = e[l.assetFormatPickerConfigs?.versionLabelKey ?? ""] || void 0, u = i ? {
42090
42090
  assetVersion: a,
42091
42091
  format: i,
42092
42092
  versionLabel: s
@@ -42903,7 +42903,7 @@ var di = Q, fi = r`:host{display:block}.editor{gap:var(--cx-spacing-small);flex-
42903
42903
  "cx-typography": S
42904
42904
  };
42905
42905
  constructor() {
42906
- super(), this.localize = new h(this), this.apiGetSubTypesWithWildcard = mn, this.apiGetDamViewAvailableSpaces = fn, this.apiGetDamViewAvailableButtons = gn, this.apiGetDamViewAvailableForms = wn, this.apiGetDamViewAvailableLevelsOfAccess = un, this.apiGetDamViewAvailablePages = vn, this.apiGetDamViewCustomButtonDetail = _n, this.subTypesLoaded = !1, this.availableButtonDetailsByValue = /* @__PURE__ */ new Map(), this.pendingAvailableButtonSelect = Promise.resolve(), this.resolvedAvailableButtons = [], this.formApi = async () => {
42906
+ super(), this.localize = new h(this), this.apiGetSubTypesWithWildcard = hn, this.apiGetDamViewAvailableSpaces = fn, this.apiGetDamViewAvailableButtons = vn, this.apiGetDamViewAvailableForms = pn, this.apiGetDamViewAvailableLevelsOfAccess = _n, this.apiGetDamViewAvailablePages = yn, this.apiGetDamViewCustomButtonDetail = mn, this.subTypesLoaded = !1, this.availableButtonDetailsByValue = /* @__PURE__ */ new Map(), this.pendingAvailableButtonSelect = Promise.resolve(), this.resolvedAvailableButtons = [], this.formApi = async () => {
42907
42907
  let { forms: e } = await this.apiGetDamViewAvailableForms();
42908
42908
  return {
42909
42909
  data: e.map((e) => ({
@@ -43015,7 +43015,7 @@ var di = Q, fi = r`:host{display:block}.editor{gap:var(--cx-spacing-small);flex-
43015
43015
  let i = this.pendingAvailableButtonSelect.then(async () => {
43016
43016
  let e = {
43017
43017
  ...this.createNewButton(),
43018
- ...pn(await r),
43018
+ ...bn(await r),
43019
43019
  label: n,
43020
43020
  name: n
43021
43021
  };
@@ -43072,7 +43072,7 @@ var di = Q, fi = r`:host{display:block}.editor{gap:var(--cx-spacing-small);flex-
43072
43072
  }
43073
43073
  handleAppearanceChange(e) {
43074
43074
  let t = e.target.value, n = { appearance: t };
43075
- t === yn.LabelOnly && (n.icon = ""), this.updateEditedItem(n);
43075
+ t === un.LabelOnly && (n.icon = ""), this.updateEditedItem(n);
43076
43076
  }
43077
43077
  handleIconChange(e) {
43078
43078
  let t = e.target;
@@ -43156,8 +43156,8 @@ var di = Q, fi = r`:host{display:block}.editor{gap:var(--cx-spacing-small);flex-
43156
43156
  createNewButton() {
43157
43157
  return {
43158
43158
  accessLevel: "",
43159
- action: F.OpenForm,
43160
- appearance: yn.LabelOnly,
43159
+ action: I.OpenForm,
43160
+ appearance: un.LabelOnly,
43161
43161
  completionMessage: "",
43162
43162
  formId: "",
43163
43163
  icon: "",
@@ -43172,7 +43172,7 @@ var di = Q, fi = r`:host{display:block}.editor{gap:var(--cx-spacing-small);flex-
43172
43172
  recordType: "",
43173
43173
  spaceId: "",
43174
43174
  tooltip: "",
43175
- type: I.Secondary,
43175
+ type: L.Secondary,
43176
43176
  workflowId: ""
43177
43177
  };
43178
43178
  }
@@ -43183,14 +43183,14 @@ var di = Q, fi = r`:host{display:block}.editor{gap:var(--cx-spacing-small);flex-
43183
43183
  };
43184
43184
  }
43185
43185
  hasOtherPrimaryButton() {
43186
- return this.editedItem ? this.data.some((e) => e.id !== this.editedItem.id && e.type === I.Primary) : !1;
43186
+ return this.editedItem ? this.data.some((e) => e.id !== this.editedItem.id && e.type === L.Primary) : !1;
43187
43187
  }
43188
43188
  enforceSinglePrimary(e, t) {
43189
- return e.find((e) => e.id === t)?.type === I.Primary ? e.map((e) => {
43190
- let n = e.id === t, r = e.type === I.Secondary;
43189
+ return e.find((e) => e.id === t)?.type === L.Primary ? e.map((e) => {
43190
+ let n = e.id === t, r = e.type === L.Secondary;
43191
43191
  return n || r ? e : {
43192
43192
  ...e,
43193
- type: I.Secondary
43193
+ type: L.Secondary
43194
43194
  };
43195
43195
  }) : e;
43196
43196
  }
@@ -43202,7 +43202,7 @@ var di = Q, fi = r`:host{display:block}.editor{gap:var(--cx-spacing-small);flex-
43202
43202
  }
43203
43203
  renderTypeField() {
43204
43204
  let e = this.hasOtherPrimaryButton();
43205
- return n`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("type")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-radio-group data-testid="type-field" value=${e ? I.Secondary : this.editedItem.type} @cx-change=${this.handleTypeChange}><cx-radio ?disabled=${e} value=${I.Primary}>${this.localize.term("primary")}</cx-radio><cx-radio ?disabled=${e} value=${I.Secondary}>${this.localize.term("secondary")}</cx-radio></cx-radio-group></cx-grid-item>`;
43205
+ return n`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("type")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-radio-group data-testid="type-field" value=${e ? L.Secondary : this.editedItem.type} @cx-change=${this.handleTypeChange}><cx-radio ?disabled=${e} value=${L.Primary}>${this.localize.term("primary")}</cx-radio><cx-radio ?disabled=${e} value=${L.Secondary}>${this.localize.term("secondary")}</cx-radio></cx-radio-group></cx-grid-item>`;
43206
43206
  }
43207
43207
  renderLabelField() {
43208
43208
  return n`<cx-grid-item xs="3" sm="1"><span class="field-label"><cx-typography variant="body2">${this.localize.term("label")}</cx-typography><span class="field-label__required" aria-hidden="true">*</span></span></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-input data-testid="label-field" name="label" required value=${this.editedItem.label} @cx-change=${this.handleLabelChange}></cx-input></cx-grid-item>`;
@@ -43211,43 +43211,43 @@ var di = Q, fi = r`:host{display:block}.editor{gap:var(--cx-spacing-small);flex-
43211
43211
  return n`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("tooltip")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-input data-testid="tooltip-field" value=${this.editedItem.tooltip} @cx-change=${this.handleTooltipChange}></cx-input></cx-grid-item>`;
43212
43212
  }
43213
43213
  renderAppearanceField() {
43214
- return n`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("appearance")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-radio-group data-testid="appearance-field" value=${this.editedItem.appearance} @cx-change=${this.handleAppearanceChange}><cx-radio value=${yn.LabelOnly}>${this.localize.term("labelOnly")}</cx-radio><cx-radio value=${yn.IconAndLabel}>${this.localize.term("iconAndLabel")}</cx-radio><cx-radio value=${yn.IconOnly}>${this.localize.term("iconOnly")}</cx-radio></cx-radio-group></cx-grid-item>`;
43214
+ return n`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("appearance")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-radio-group data-testid="appearance-field" value=${this.editedItem.appearance} @cx-change=${this.handleAppearanceChange}><cx-radio value=${un.LabelOnly}>${this.localize.term("labelOnly")}</cx-radio><cx-radio value=${un.IconAndLabel}>${this.localize.term("iconAndLabel")}</cx-radio><cx-radio value=${un.IconOnly}>${this.localize.term("iconOnly")}</cx-radio></cx-radio-group></cx-grid-item>`;
43215
43215
  }
43216
43216
  renderIconField() {
43217
- return !this.editedItem || this.editedItem.appearance === yn.LabelOnly ? a : n`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("icon")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-icon-picker data-testid="icon-field" no-custom-option .value=${{
43217
+ return !this.editedItem || this.editedItem.appearance === un.LabelOnly ? a : n`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("icon")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-icon-picker data-testid="icon-field" no-custom-option .value=${{
43218
43218
  name: this.editedItem.icon ?? "",
43219
43219
  src: ""
43220
43220
  }} @cx-change=${this.handleIconChange}></cx-icon-picker></cx-grid-item>`;
43221
43221
  }
43222
43222
  renderActionField() {
43223
- return n`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("actionOnClick")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-select data-testid="action-field" hoist value=${this.editedItem.action} @cx-change=${this.handleActionChange}><cx-option value=${F.OpenForm}>${this.localize.term("openForm")}</cx-option><cx-option value=${F.CreateRecord}>${this.localize.term("createRecord")}</cx-option><cx-option value=${F.OpenLink}>${this.localize.term("openLink")}</cx-option><cx-option value=${F.OpenPage}>${this.localize.term("openPage")}</cx-option><cx-option value=${F.OpenSpace}>${this.localize.term("openSpace")}</cx-option><cx-option value=${F.ExecuteWorkflow}>${this.localize.term("executeWorkflow")}</cx-option></cx-select></cx-grid-item>`;
43223
+ return n`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("actionOnClick")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-select data-testid="action-field" hoist value=${this.editedItem.action} @cx-change=${this.handleActionChange}><cx-option value=${I.OpenForm}>${this.localize.term("openForm")}</cx-option><cx-option value=${I.CreateRecord}>${this.localize.term("createRecord")}</cx-option><cx-option value=${I.OpenLink}>${this.localize.term("openLink")}</cx-option><cx-option value=${I.OpenPage}>${this.localize.term("openPage")}</cx-option><cx-option value=${I.OpenSpace}>${this.localize.term("openSpace")}</cx-option><cx-option value=${I.ExecuteWorkflow}>${this.localize.term("executeWorkflow")}</cx-option></cx-select></cx-grid-item>`;
43224
43224
  }
43225
43225
  renderFormToOpenField() {
43226
- return this.editedItem?.action === F.OpenForm ? n`<cx-grid-item xs="3" sm="1"><span class="field-label"><cx-typography variant="body2">${this.localize.term("formToOpen")}</cx-typography><span class="field-label__required" aria-hidden="true">*</span></span></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-dynamic-select data-testid="form-to-open-field" name="formId" hoist free-width placement="bottom-start" required .value=${this.editedItem.formId ?? ""} .api=${this.formApi} custom-change-event="cx-form-id-select" @cx-form-id-select=${this.handleFormIdChange}></cx-dynamic-select></cx-grid-item>` : a;
43226
+ return this.editedItem?.action === I.OpenForm ? n`<cx-grid-item xs="3" sm="1"><span class="field-label"><cx-typography variant="body2">${this.localize.term("formToOpen")}</cx-typography><span class="field-label__required" aria-hidden="true">*</span></span></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-dynamic-select data-testid="form-to-open-field" name="formId" hoist free-width placement="bottom-start" required .value=${this.editedItem.formId ?? ""} .api=${this.formApi} custom-change-event="cx-form-id-select" @cx-form-id-select=${this.handleFormIdChange}></cx-dynamic-select></cx-grid-item>` : a;
43227
43227
  }
43228
43228
  renderLinkField() {
43229
- return this.editedItem?.action === F.OpenLink ? n`<cx-grid-item xs="3" sm="1"><span class="field-label"><cx-typography variant="body2">${this.localize.term("link")}</cx-typography><span class="field-label__required" aria-hidden="true">*</span></span></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-input data-testid="link-field" name="link" required value=${this.editedItem.link ?? ""} @cx-change=${this.handleLinkChange}></cx-input></cx-grid-item>` : a;
43229
+ return this.editedItem?.action === I.OpenLink ? n`<cx-grid-item xs="3" sm="1"><span class="field-label"><cx-typography variant="body2">${this.localize.term("link")}</cx-typography><span class="field-label__required" aria-hidden="true">*</span></span></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-input data-testid="link-field" name="link" required value=${this.editedItem.link ?? ""} @cx-change=${this.handleLinkChange}></cx-input></cx-grid-item>` : a;
43230
43230
  }
43231
43231
  renderPageField() {
43232
- return this.editedItem?.action === F.OpenPage ? n`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("page")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-dynamic-select data-testid="page-field" clearable free-width hoist placement="bottom-start" .api=${this.pageApi} .columns=${this.pageSelectColumns} .value=${this.editedItem.pageId ?? ""} @cx-change=${this.handlePageChange}></cx-dynamic-select></cx-grid-item>` : a;
43232
+ return this.editedItem?.action === I.OpenPage ? n`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("page")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-dynamic-select data-testid="page-field" clearable free-width hoist placement="bottom-start" .api=${this.pageApi} .columns=${this.pageSelectColumns} .value=${this.editedItem.pageId ?? ""} @cx-change=${this.handlePageChange}></cx-dynamic-select></cx-grid-item>` : a;
43233
43233
  }
43234
43234
  renderRecordTypeAndSubTypeField() {
43235
- return this.editedItem?.action === F.CreateRecord ? n`<cx-grid-item xs="3" sm="1"><span class="field-label"><cx-typography variant="body2">${this.localize.term("type")}</cx-typography><span class="field-label__required" aria-hidden="true">*</span></span></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-type-subtype-select data-testid="record-type-subtype-field" required value=${hr.encodeRowToken({
43235
+ return this.editedItem?.action === I.CreateRecord ? n`<cx-grid-item xs="3" sm="1"><span class="field-label"><cx-typography variant="body2">${this.localize.term("type")}</cx-typography><span class="field-label__required" aria-hidden="true">*</span></span></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-type-subtype-select data-testid="record-type-subtype-field" required value=${hr.encodeRowToken({
43236
43236
  subtype: this.editedItem.recordSubType ?? "",
43237
43237
  type: this.editedItem.recordType ?? ""
43238
43238
  })} .options=${this.typeSubtypeOptions} @cx-change=${this.handleRecordTypeSubtypeChange}></cx-type-subtype-select></cx-grid-item>` : a;
43239
43239
  }
43240
43240
  renderSpaceField() {
43241
- return this.editedItem?.action === F.OpenSpace ? n`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("space")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-dynamic-select data-testid="space-field" hoist free-width placement="bottom-start" .value=${this.editedItem.spaceId ?? ""} .api=${this.spaceApi} custom-change-event="cx-space-id-select" @cx-space-id-select=${this.handleSpaceIdChange}></cx-dynamic-select></cx-grid-item>` : a;
43241
+ return this.editedItem?.action === I.OpenSpace ? n`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("space")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-dynamic-select data-testid="space-field" hoist free-width placement="bottom-start" .value=${this.editedItem.spaceId ?? ""} .api=${this.spaceApi} custom-change-event="cx-space-id-select" @cx-space-id-select=${this.handleSpaceIdChange}></cx-dynamic-select></cx-grid-item>` : a;
43242
43242
  }
43243
43243
  renderOpenInNewTabField() {
43244
- return this.editedItem?.action === F.OpenLink ? n`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("openInNewTab")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-checkbox data-testid="open-in-new-tab-field" ?checked=${this.editedItem.openInNewTab ?? !1} @cx-change=${this.handleOpenInNewTabChange}></cx-checkbox></cx-grid-item>` : a;
43244
+ return this.editedItem?.action === I.OpenLink ? n`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("openInNewTab")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-checkbox data-testid="open-in-new-tab-field" ?checked=${this.editedItem.openInNewTab ?? !1} @cx-change=${this.handleOpenInNewTabChange}></cx-checkbox></cx-grid-item>` : a;
43245
43245
  }
43246
43246
  renderConfigureWorkflowButton() {
43247
- return this.editedItem?.action === F.ExecuteWorkflow ? n`<cx-grid-item xs="3" sm="1"></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-button data-testid="configure-workflow-button" variant="default" size="medium" @click=${this.handleConfigureWorkflowClick}><cx-icon slot="prefix" name="settings" size="small"></cx-icon>${this.localize.term("configure")}</cx-button></cx-grid-item>` : a;
43247
+ return this.editedItem?.action === I.ExecuteWorkflow ? n`<cx-grid-item xs="3" sm="1"></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-button data-testid="configure-workflow-button" variant="default" size="medium" @click=${this.handleConfigureWorkflowClick}><cx-icon slot="prefix" name="settings" size="small"></cx-icon>${this.localize.term("configure")}</cx-button></cx-grid-item>` : a;
43248
43248
  }
43249
43249
  renderCompletionMessageField() {
43250
- return this.editedItem?.action === F.ExecuteWorkflow ? n`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("completionMessage")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-input data-testid="completion-message-field" aria-label=${this.localize.term("completionMessage")} placeholder=${this.localize.term("completionMessagePlaceholder")} value=${this.editedItem.completionMessage ?? ""} @cx-change=${this.handleCompletionMessageChange}></cx-input></cx-grid-item>` : a;
43250
+ return this.editedItem?.action === I.ExecuteWorkflow ? n`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("completionMessage")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-input data-testid="completion-message-field" aria-label=${this.localize.term("completionMessage")} placeholder=${this.localize.term("completionMessagePlaceholder")} value=${this.editedItem.completionMessage ?? ""} @cx-change=${this.handleCompletionMessageChange}></cx-input></cx-grid-item>` : a;
43251
43251
  }
43252
43252
  renderAccessLevelField() {
43253
43253
  return n`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("levelOfAccess")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-dynamic-select data-testid="access-level-field" hoist free-width placement="bottom-start" .value=${this.editedItem.accessLevel} .api=${this.accessLevelApi} custom-change-event="cx-access-level-select" @cx-access-level-select=${this.handleAccessLevelChange}></cx-dynamic-select></cx-grid-item>`;
@@ -2,10 +2,10 @@ 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 "./component.styles.0xM1ZmBs.js";
4
4
  import { t as s } from "./custom-element.BEMYNDK1.js";
5
- import { t as c } from "./i18n.BMXeDUpk.js";
6
- import { t as l } from "./input.B3HfssSr.js";
5
+ import { t as c } from "./i18n.D_iHIFdS.js";
6
+ import { t as l } from "./input.C44u0jQi.js";
7
7
  import { t as u } from "./space.Dd8jezXK.js";
8
- import { t as d } from "./bicolor-picker.C9XSuhnX.js";
8
+ import { t as d } from "./bicolor-picker.CU3ukAg7.js";
9
9
  //#region ../../packages/molecules/src/border-input-group/border-input-group.styles.ts
10
10
  var f = t`.border-width{width:72px}`, p = class extends a {
11
11
  constructor(...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.BMXeDUpk.js";
6
+ import { t as l } from "./i18n.D_iHIFdS.js";
7
7
  import { t as u } from "./icon.CeQpEaQz.js";
8
8
  //#region ../../packages/atoms/src/components/breadcrumb/breadcrumb.styles.ts
9
9
  var d = t`.breadcrumb{flex-wrap:wrap;align-items:center;display:flex}`, f = class extends a {
@@ -2,7 +2,7 @@ import { a as e, i as t, n, r, t as i } from "./cortex-element.DTrNUtdr.js";
2
2
  import { t as a } from "./query.B1yi7t71.js";
3
3
  import { t as o } from "./component.styles.0xM1ZmBs.js";
4
4
  import { t as s } from "./custom-element.BEMYNDK1.js";
5
- import { t as c } from "./i18n.BMXeDUpk.js";
5
+ import { t as c } from "./i18n.D_iHIFdS.js";
6
6
  import { r as l, t as u } from "./slot.CZUlACxT.js";
7
7
  import { t as d } from "./watch.Ub5r8btz.js";
8
8
  import { t as f } from "./class-map.D8nsNOVJ.js";
@@ -10,7 +10,7 @@ import { t as p } from "./if-defined.B29V_rEp.js";
10
10
  import { t as m } from "./when.BUskJLtZ.js";
11
11
  import { n as h, t as g } from "./static-html.Ce8Avr_g.js";
12
12
  import { t as _ } from "./icon.CeQpEaQz.js";
13
- import { t as v } from "./spinner.-79sJ3oo.js";
13
+ import { t as v } from "./spinner.BPSFoJkz.js";
14
14
  import { a as y, t as b } from "./form.-ADsa-59.js";
15
15
  import { t as x } from "./button.styles.jHn7jytj.js";
16
16
  //#region ../../packages/types/src/button.ts
@@ -4,16 +4,16 @@ import { t as s } from "./event-options.DmLrpUIg.js";
4
4
  import { t as c } from "./query.B1yi7t71.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.BMXeDUpk.js";
7
+ import { t as d } from "./i18n.D_iHIFdS.js";
8
8
  import { t as f } from "./watch.Ub5r8btz.js";
9
9
  import { t as p } from "./class-map.D8nsNOVJ.js";
10
- import { t as ee } from "./icon-button.CziUJUiX.js";
10
+ import { t as ee } from "./icon-button.D6mTxvLN.js";
11
11
  import { t as m } from "./if-defined.B29V_rEp.js";
12
12
  import { t as h } from "./when.BUskJLtZ.js";
13
13
  import { t as g } from "./icon.CeQpEaQz.js";
14
- import { t as _ } from "./spinner.-79sJ3oo.js";
14
+ import { t as _ } from "./spinner.BPSFoJkz.js";
15
15
  import { t as v } from "./style-map.DPGQIxip.js";
16
- import { t as y } from "./button.CI1tg4c9.js";
16
+ import { t as y } from "./button.CD8evBb3.js";
17
17
  import { t as te } from "./form.-ADsa-59.js";
18
18
  import { t as b } from "./debounce.Ci-xdsHE.js";
19
19
  import { t as x } from "./button-group.CPfXrqyq.js";
@@ -23,12 +23,12 @@ import { c as w, d as T, f as E, i as D, n as O, o as k, s as ne, u as A } from
23
23
  import { t as j } from "./drag.s0AcVpKh.js";
24
24
  import { t as M } from "./math.od1DVmRk.js";
25
25
  import { t as N } from "./repeat.CKv9FPlC.js";
26
- import { t as P } from "./dropdown.HoJsYnUC.js";
27
- import { t as F } from "./input.B3HfssSr.js";
28
- import { t as I } from "./option.wsYX6Pp-.js";
29
- import { t as L } from "./select.v6t2pNH4.js";
30
- import { t as R } from "./tab.Dd0cNxxc.js";
31
- import { t as z } from "./tab-group.oiueox5q.js";
26
+ import { t as P } from "./dropdown.HWaiHRYl.js";
27
+ import { t as F } from "./input.C44u0jQi.js";
28
+ import { t as I } from "./option.DFutJxYo.js";
29
+ import { t as L } from "./select.eBMe63kf.js";
30
+ import { t as R } from "./tab.DMcCiQv2.js";
31
+ import { t as z } from "./tab-group.xQlBJJPJ.js";
32
32
  import { t as B } from "./tab-panel.BxeoKuSv.js";
33
33
  import { t as V } from "./visually-hidden.Bv3SInZp.js";
34
34
  //#region ../../packages/atoms/src/components/color-picker/color-picker.styles.ts