@orangelogic/design-system 4.67.0-beta-29OV8X-13 → 4.68.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 (162) hide show
  1. package/library/chunks/{alert.9-mBg2zz.js → alert.2Esbser8.js} +2 -2
  2. package/library/chunks/{array-line-clamp.x_c8ovK5.js → array-line-clamp.C0Vo0Zzg.js} +2 -2
  3. package/library/chunks/{asset-link-format.pYIIJ1vs.js → asset-link-format.Ce_3Qz6_.js} +55 -31
  4. package/library/chunks/{audio.CGYtmyZA.js → audio.B0VfXBIx.js} +2 -2
  5. package/library/chunks/{bicolor-picker.Dv2K1enQ.js → bicolor-picker.DS9Uut25.js} +1 -1
  6. package/library/chunks/{block-width.DX8Ujnof.js → block-width.y7Lu3iJ5.js} +35 -35
  7. package/library/chunks/{border-input-group.Bj8Bu10N.js → border-input-group.B6fqiG6F.js} +3 -3
  8. package/library/chunks/{breadcrumb.B51znLFL.js → breadcrumb.DkINVxcJ.js} +1 -1
  9. package/library/chunks/{button.DpyC0zUi.js → button.DKkHqsUz.js} +2 -2
  10. package/library/chunks/{color-picker.CS4ErWPM.js → color-picker.DZUudAAS.js} +10 -10
  11. package/library/chunks/{color-swatch-group.D8DvggEa.js → color-swatch-group.CuMJc6m8.js} +18 -18
  12. package/library/chunks/{color-swatch.DFt8EIdF.js → color-swatch.DXAr2gBg.js} +3 -3
  13. package/library/chunks/{config-manager.CAV28DQ9.js → config-manager.CHIF7ZBl.js} +27 -27
  14. package/library/chunks/{configs-controller.DnybKK5e.js → configs-controller.TQDPq63n.js} +7 -7
  15. package/library/chunks/{confirm-popover.BrJmR_L4.js → confirm-popover.sZVNhFPh.js} +4 -4
  16. package/library/chunks/{copy-button.t3EGzLXt.js → copy-button.CqqKJEh3.js} +2 -2
  17. package/library/chunks/{corner-position-input-group.t3YZa_N5.js → corner-position-input-group.nTlFes0_.js} +4 -4
  18. package/library/chunks/{cropper.BJCSPoLd.js → cropper.BF32WRyP.js} +210 -367
  19. package/library/chunks/{date-calendar.BGfaPevw.js → date-calendar.B7e6WBzh.js} +1 -1
  20. package/library/chunks/{details.vlsQwpoQ.js → details.DSgp6VAD.js} +1 -1
  21. package/library/chunks/{dialog.C5pMvLfv.js → dialog.D0oTJWFf.js} +3 -3
  22. package/library/chunks/{document-viewer.C4Ts2Xek.js → document-viewer.L77oYyOp.js} +14 -14
  23. package/library/chunks/{dot-pagination.BCoIod9x.js → dot-pagination.C1C6NG8d.js} +2 -2
  24. package/library/chunks/{drawer.B3C-NphD.js → drawer.BsKzYqKe.js} +2 -2
  25. package/library/chunks/{dropdown.kTQIxZHi.js → dropdown.CKhoP9Cr.js} +4 -4
  26. package/library/chunks/{dynamic-select.ByZy9Nt0.js → dynamic-select.Cb3L0dIB.js} +5 -5
  27. package/library/chunks/{e-chart.CFq-t6A0.js → e-chart.DKFAToIc.js} +2 -2
  28. package/library/chunks/{element-clamp.DPM_dntR.js → element-clamp.CGq-62gg.js} +2 -2
  29. package/library/chunks/{file-on-demand.DZE2iZ4C.js → file-on-demand.BjUW2Ydt.js} +16 -16
  30. package/library/chunks/{folder-select.CYGZ6op0.js → folder-select.DJ5EEod3.js} +7 -7
  31. package/library/chunks/{format-time.3-xC9Uw0.js → format-time.QkJcKYrT.js} +1 -1
  32. package/library/chunks/{header.DiIUakRZ.js → header.CowQINf-.js} +2 -2
  33. package/library/chunks/{i18n.C5A8G4l9.js → i18n.Bjg2ubA4.js} +0 -18
  34. package/library/chunks/{icon-button.i66WlZwo.js → icon-button.qJd_az6T.js} +2 -2
  35. package/library/chunks/{iframe.CSIuRwVA.js → iframe.sl2wnUcC.js} +1 -1
  36. package/library/chunks/{image-comparer.BRsct2w1.js → image-comparer.BCD6kzLm.js} +1 -1
  37. package/library/chunks/{image.BOk8R-hy.js → image.-lgb634-.js} +2 -2
  38. package/library/chunks/{input.MQtetH3-.js → input.DZRed6yo.js} +1 -1
  39. package/library/chunks/{line-clamp.BZKYbRwK.js → line-clamp.Dl3_JdHX.js} +2 -2
  40. package/library/chunks/{markdown.B3e54dK9.js → markdown.BzDRvv-f.js} +2 -2
  41. package/library/chunks/{masonry.CDtgkSfK.js → masonry.BxNeClR6.js} +3 -3
  42. package/library/chunks/{menu-item.BBTLFXVP.js → menu-item.au-gTg1F.js} +3 -3
  43. package/library/chunks/{menu.DnLpcELB.js → menu.BxBtGPsg.js} +2 -2
  44. package/library/chunks/{option.e5_w6HqF.js → option.DWE0tark.js} +1 -1
  45. package/library/chunks/{padding-input-group.CV4k4qJ_.js → padding-input-group.D2Qx15Yj.js} +1 -1
  46. package/library/chunks/{pagination.5nQjl71k.js → pagination.ByLuPMyE.js} +7 -7
  47. package/library/chunks/{popup.6VPIzrLw.js → popup.w4ZU3jI-.js} +1 -1
  48. package/library/chunks/{position-picker.BPNsgjJf.js → position-picker.X2hhfGx7.js} +1 -1
  49. package/library/chunks/{progress-bar.gHXAEM50.js → progress-bar.CynVLLnY.js} +1 -1
  50. package/library/chunks/{progress-ring.B6dT66MF.js → progress-ring.Bfdj3-uB.js} +1 -1
  51. package/library/chunks/{radio-card.74UXrqIM.js → radio-card.VEsyM8ue.js} +1 -1
  52. package/library/chunks/{range.B2jWnNCM.js → range.ObEMbygm.js} +2 -2
  53. package/library/chunks/{rating.B0TQoJu3.js → rating.CNeNn996.js} +1 -1
  54. package/library/chunks/{relative-time.D1fMAQ3G.js → relative-time.BfE3UOhF.js} +1 -1
  55. package/library/chunks/{select.BoNYGI6h.js → select.BV0Necz7.js} +7 -7
  56. package/library/chunks/{shadow-input-group.CxMz1Xp2.js → shadow-input-group.Xxuzm8Qe.js} +2 -2
  57. package/library/chunks/{share-option-list.YZZSJTti.js → share-option-list.DOaEypfQ.js} +2 -2
  58. package/library/chunks/{sidebar.BM6xTDWu.js → sidebar.CiZOJ49X.js} +2 -2
  59. package/library/chunks/{size-input-group.Dgfz2HcV.js → size-input-group.wXuG0-RB.js} +5 -5
  60. package/library/chunks/{spinner.AMyXF88G.js → spinner.Bv06U7NJ.js} +1 -1
  61. package/library/chunks/{split-panel.B9JIpuz0.js → split-panel.Cag0lAvv.js} +1 -1
  62. package/library/chunks/{src.CwZ8zb1B.js → src.2wQZtR6J.js} +47 -47
  63. package/library/chunks/{src.Dkyy15Lf.js → src.Dia365C9.js} +1 -1
  64. package/library/chunks/{step.AxMlmBrE.js → step.D93ReCO1.js} +3 -3
  65. package/library/chunks/{stepper-wizard.DImGcNaX.js → stepper-wizard.CPZ2mSze.js} +2 -2
  66. package/library/chunks/{stepper.BrLbdrqg.js → stepper.D0JB_GVh.js} +1 -1
  67. package/library/chunks/{tab-group.CQMpEEm0.js → tab-group.dnnT9Mk6.js} +7 -7
  68. package/library/chunks/{tab.3CnIeiO7.js → tab.CYYAua8Y.js} +3 -3
  69. package/library/chunks/{tag.CF3V9THM.js → tag.DQLauctm.js} +3 -3
  70. package/library/chunks/{tooltip.CuQcIWIP.js → tooltip.Cc02vm6M.js} +2 -2
  71. package/library/chunks/{tree.D3rXZ5i1.js → tree.BI7r-WnZ.js} +3 -3
  72. package/library/chunks/{typeface.DvBvMK_4.js → typeface.DTLrIP0B.js} +3 -3
  73. package/library/chunks/{video.frlDOssX.js → video.DWmHPbXO.js} +3 -3
  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 +50 -50
  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/cropper.js +1 -1
  90. package/library/components/date-calendar.js +1 -1
  91. package/library/components/details.js +1 -1
  92. package/library/components/dialog.js +1 -1
  93. package/library/components/document-viewer.js +1 -1
  94. package/library/components/dot-pagination.js +1 -1
  95. package/library/components/drawer.js +1 -1
  96. package/library/components/dropdown.js +1 -1
  97. package/library/components/dynamic-select.js +1 -1
  98. package/library/components/e-chart.js +1 -1
  99. package/library/components/element-clamp.js +1 -1
  100. package/library/components/file-on-demand.js +1 -1
  101. package/library/components/folder-select.js +1 -1
  102. package/library/components/format-bytes.js +1 -1
  103. package/library/components/format-date.js +1 -1
  104. package/library/components/format-number.js +1 -1
  105. package/library/components/format-time.js +1 -1
  106. package/library/components/header.js +1 -1
  107. package/library/components/icon-button.js +1 -1
  108. package/library/components/iframe.js +1 -1
  109. package/library/components/image-comparer.js +1 -1
  110. package/library/components/image.js +1 -1
  111. package/library/components/input.js +1 -1
  112. package/library/components/line-clamp.js +1 -1
  113. package/library/components/markdown.js +1 -1
  114. package/library/components/masonry.js +1 -1
  115. package/library/components/menu-item.js +1 -1
  116. package/library/components/menu.js +1 -1
  117. package/library/components/molecules.js +17 -17
  118. package/library/components/option.js +1 -1
  119. package/library/components/organisms.js +3 -3
  120. package/library/components/padding-input-group.js +1 -1
  121. package/library/components/pagination.js +1 -1
  122. package/library/components/popup.js +1 -1
  123. package/library/components/position-picker.js +1 -1
  124. package/library/components/progress-bar.js +1 -1
  125. package/library/components/progress-ring.js +1 -1
  126. package/library/components/radio-card.js +1 -1
  127. package/library/components/range.js +1 -1
  128. package/library/components/rating.js +1 -1
  129. package/library/components/relative-time.js +1 -1
  130. package/library/components/select.js +1 -1
  131. package/library/components/shadow-input-group.js +1 -1
  132. package/library/components/share-option-list.js +1 -1
  133. package/library/components/sidebar.js +1 -1
  134. package/library/components/size-input-group.js +1 -1
  135. package/library/components/spinner.js +1 -1
  136. package/library/components/split-panel.js +1 -1
  137. package/library/components/step.js +1 -1
  138. package/library/components/stepper-wizard.js +1 -1
  139. package/library/components/stepper.js +1 -1
  140. package/library/components/tab-group.js +1 -1
  141. package/library/components/tab.js +1 -1
  142. package/library/components/tag.js +1 -1
  143. package/library/components/tooltip.js +1 -1
  144. package/library/components/tree-item.js +1 -1
  145. package/library/components/tree.js +1 -1
  146. package/library/components/typeface.js +1 -1
  147. package/library/components/types.js +10327 -10767
  148. package/library/components/video.js +1 -1
  149. package/library/package.json +1 -1
  150. package/library/packages/events/src/events.d.ts +0 -1
  151. package/library/packages/molecules/src/cropper/cropper.d.ts +1 -62
  152. package/library/packages/molecules/src/cropper/react/Cropper.d.ts +0 -2
  153. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +4 -0
  154. package/library/packages/organisms/src/index.d.ts +0 -1
  155. package/library/packages/utils/src/custom-element/i18n.d.ts +0 -18
  156. package/library/react-web-component.d.ts +5 -88
  157. package/library/utils.js +2 -2
  158. package/package.json +1 -1
  159. package/library/packages/events/src/cx-crop-editor.d.ts +0 -31
  160. package/library/packages/organisms/src/crop-editor/crop-editor.d.ts +0 -97
  161. package/library/packages/organisms/src/crop-editor/crop-editor.styles.d.ts +0 -2
  162. package/library/packages/types/src/crop-editor.d.ts +0 -83
@@ -4,12 +4,12 @@ import { t as s } from "./query.B1yi7t71.js";
4
4
  import { t as c } from "./component.styles.0xM1ZmBs.js";
5
5
  import { n as l, o as u, t as d } from "./event.C11S4obG.js";
6
6
  import { t as f } from "./custom-element.BEMYNDK1.js";
7
- import { t as p } from "./i18n.C5A8G4l9.js";
7
+ import { t as p } from "./i18n.Bjg2ubA4.js";
8
8
  import { t as m } from "./slot.CZUlACxT.js";
9
9
  import { t as h } from "./watch.Ub5r8btz.js";
10
10
  import { t as g } from "./class-map.D8nsNOVJ.js";
11
11
  import { r as _, t as v } from "./animation-registry.DKd2AOcC.js";
12
- import { t as y } from "./icon-button.i66WlZwo.js";
12
+ import { t as y } from "./icon-button.qJd_az6T.js";
13
13
  //#region ../../packages/atoms/src/components/alert/alert.styles.ts
14
14
  var b = t`:host{margin:0;display:contents}.alert{background-color:var(--cx-panel-background-color);border:solid var(--cx-panel-border-width) var(--cx-panel-border-color);border-top-width:calc(var(--cx-panel-border-width) * 3);border-radius:var(--cx-border-radius-small);font-family:var(--cx-font-sans);font-size:var(--cx-font-size-small);font-weight:var(--cx-font-weight-regular);color:var(--cx-color-neutral-700);margin:inherit;align-items:stretch;line-height:1.6;display:flex;position:relative;overflow:hidden}.alert:not(.alert--has-icon) .alert__icon,.alert:not(.alert--closable) .alert__close-button{display:none}.alert__icon{font-size:var(--cx-font-size-large);flex:none;align-items:center;padding-inline-start:var(--cx-spacing-large);display:flex}.alert--has-countdown{border-bottom:none}.alert--primary{border-top-color:var(--cx-color-primary)}.alert--primary .alert__icon{color:var(--cx-color-primary)}.alert--success{border-top-color:var(--cx-color-success)}.alert--success .alert__icon{color:var(--cx-color-success)}.alert--neutral{border-top-color:var(--cx-color-neutral)}.alert--neutral .alert__icon{color:var(--cx-color-neutral)}.alert--warning{border-top-color:var(--cx-color-warning)}.alert--warning .alert__icon{color:var(--cx-color-warning)}.alert--danger{border-top-color:var(--cx-color-danger)}.alert--danger .alert__icon{color:var(--cx-color-danger)}.alert__message{padding:var(--cx-spacing-large);flex:auto;display:block;overflow:hidden}.alert__close-button{font-size:var(--cx-font-size-medium);flex:none;align-items:center;padding-inline-end:var(--cx-spacing-medium);display:flex}.alert__countdown{width:100%;height:calc(var(--cx-panel-border-width) * 3);background-color:var(--cx-panel-border-color);display:flex;position:absolute;bottom:0;left:0}.alert__countdown--ltr{justify-content:flex-end}.alert__countdown .alert__countdown-elapsed{width:0;height:100%}.alert--primary .alert__countdown-elapsed{background-color:var(--cx-color-primary)}.alert--success .alert__countdown-elapsed{background-color:var(--cx-color-success)}.alert--neutral .alert__countdown-elapsed{background-color:var(--cx-color-neutral-600)}.alert--warning .alert__countdown-elapsed{background-color:var(--cx-color-warning)}.alert--danger .alert__countdown-elapsed{background-color:var(--cx-color-danger)}.alert__timer{display:none}`, x = Object.assign(document.createElement("div"), { className: "cx-toast-stack" }), S = class extends o {
15
15
  constructor(...e) {
@@ -7,8 +7,8 @@ import { t as d } from "./watch.Ub5r8btz.js";
7
7
  import { t as f } from "./when.BUskJLtZ.js";
8
8
  import { t as p } from "./style-map.DPGQIxip.js";
9
9
  import { t as m } from "./resize-observer.D9EHlnZI.js";
10
- import { t as h } from "./line-clamp.BZKYbRwK.js";
11
- import { t as g } from "./tag.CF3V9THM.js";
10
+ import { t as h } from "./line-clamp.Dl3_JdHX.js";
11
+ import { t as g } from "./tag.DQLauctm.js";
12
12
  //#region ../../packages/atoms/src/components/array-line-clamp/array-line-clamp.styles.ts
13
13
  var _ = t`.array-clamp{flex-wrap:nowrap;flex-grow:1;flex-shrink:1;align-items:center;display:flex;overflow:hidden}.array-clamp__items-container{flex-wrap:nowrap;flex-grow:1;flex-shrink:1;align-items:center;width:100%;min-width:0;display:flex;overflow:hidden}.array-clamp__items-container ::slotted(.array-clamp__item){white-space:nowrap;flex-shrink:0}.array-clamp__items-container ::slotted(.array-clamp__item:not(:last-child)):after{content:var(--array-clamp-separator,", ");white-space:pre}.array-clamp__items-container ::slotted(.array-clamp__item.clamped){display:none}.array-clamp__items-container ::slotted(.array-clamp__item.array-clamp__last-visible){-webkit-line-clamp:1;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;flex-shrink:1;min-width:0;display:-webkit-box;overflow:hidden}.array-clamp__indicator{flex-shrink:0}.array-clamp__indicator::part(base){overflow-wrap:break-word;min-width:2rem;max-width:4rem}`, v = "array-clamp__item", y = "array-clamp__last-visible", b = "clamped", x = class extends s {
14
14
  constructor(...e) {
@@ -3,16 +3,16 @@ import { a as r, i, n as a, r as o, t as s } from "./cortex-element.DTrNUtdr.js"
3
3
  import { t as c } from "./query.B1yi7t71.js";
4
4
  import { t as l } from "./component.styles.0xM1ZmBs.js";
5
5
  import { t as u } from "./custom-element.BEMYNDK1.js";
6
- import { t as d } from "./i18n.C5A8G4l9.js";
6
+ import { t as d } from "./i18n.Bjg2ubA4.js";
7
7
  import { t as f } from "./watch.Ub5r8btz.js";
8
- import { t as p } from "./icon-button.i66WlZwo.js";
8
+ import { t as p } from "./icon-button.qJd_az6T.js";
9
9
  import { t as m } from "./when.BUskJLtZ.js";
10
10
  import { t as h } from "./icon.CeQpEaQz.js";
11
11
  import { t as g } from "./style-map.DPGQIxip.js";
12
12
  import { c as ee } from "./browser.gIznFIix.js";
13
- import { t as _ } from "./button.DpyC0zUi.js";
13
+ import { t as _ } from "./button.DKkHqsUz.js";
14
14
  import { g as te } from "./string.9yahdkB8.js";
15
- import { t as ne } from "./tooltip.CuQcIWIP.js";
15
+ import { t as ne } from "./tooltip.Cc02vm6M.js";
16
16
  import { n as v } from "./position-picker.dY_vgF_H.js";
17
17
  import { l as re, r as y } from "./number.CNp5LKkv.js";
18
18
  import { t as ie } from "./image.C0s1gL4z.js";
@@ -20,22 +20,22 @@ import { n as b, t as x } from "./typography.B0mkhqTB.js";
20
20
  import { t as ae } from "./button-group.CPfXrqyq.js";
21
21
  import { t as oe } from "./checkbox.BdSpQlwf.js";
22
22
  import { t as S } from "./repeat.CKv9FPlC.js";
23
- import { t as se } from "./input.MQtetH3-.js";
24
- import { t as C } from "./option.e5_w6HqF.js";
23
+ import { t as se } from "./input.DZRed6yo.js";
24
+ import { t as C } from "./option.DWE0tark.js";
25
25
  import { t as w } from "./space.Dd8jezXK.js";
26
- import { t as T } from "./select.BoNYGI6h.js";
26
+ import { t as T } from "./select.BV0Necz7.js";
27
27
  import { t as ce } from "./visually-hidden.Bv3SInZp.js";
28
- import { D as le, E as ue, T as de, b as fe, f as pe, g as me, m as he, x as ge } from "./src.Dkyy15Lf.js";
29
- import { t as E } from "./details.vlsQwpoQ.js";
28
+ import { D as le, E as ue, T as de, b as fe, f as pe, g as me, m as he, x as ge } from "./src.Dia365C9.js";
29
+ import { t as E } from "./details.DSgp6VAD.js";
30
30
  import { t as _e } from "./divider.CqSNZCU8.js";
31
31
  import { a as D, c as O, l as k, n as ve, o as A, r as j, s as M, t as N } from "./asset-link-format.COPyGdND.js";
32
32
  import { t as ye } from "./menu-label.B-FOyfAX.js";
33
33
  import { t as be } from "./switch.BM9msK5T.js";
34
34
  import { t as xe } from "./v4.JyXW8GUB.js";
35
- import "./cropper.BJCSPoLd.js";
35
+ import "./cropper.BF32WRyP.js";
36
36
  import { t as Se } from "./_baseUniq.h_pGICPH.js";
37
37
  import { d as Ce, i as we, n as Te, o as Ee, p as P, r as De, s as Oe, t as ke } from "./string-array.F2GuxHp0.js";
38
- import { t as Ae } from "./position-picker.BPNsgjJf.js";
38
+ import { t as Ae } from "./position-picker.X2hhfGx7.js";
39
39
  //#region ../../node_modules/lodash-es/uniq.js
40
40
  function je(e) {
41
41
  return e && e.length ? Se(e) : [];
@@ -779,7 +779,7 @@ var Tt = class {
779
779
  }
780
780
  this.invalidWidth = !1, this.unit === k.Pixel && (t = Math.max(Math.min(t, this.maxWidth), 1));
781
781
  let n = this.unit === k.Pixel ? this.height : this.ratioHeight, r = !1;
782
- this.keepAspectRatio ? n = Math.max(Math.round(t / this.aspectRatio), 1) : this.unit === k.AspectRatio && ([t, n] = this.fitRatioSides(t, n, this.maxWidth, this.maxHeight)), this.unit === k.Pixel && this.maxHeight >= 1 && n > this.maxHeight && (n = this.maxHeight, r = this.keepAspectRatio), e.target.value = t.toString(), this.invalidHeight = !1, this.emit("cx-asset-link-format-crop-change", { detail: {
782
+ this.keepAspectRatio ? n = Math.max(Math.round(t / this.aspectRatio), 1) : this.unit === k.AspectRatio && ([t, n] = this.fitRatioSides(t, n, this.maxWidth, this.maxHeight)), this.unit === k.Pixel && this.maxHeight >= 1 && n > this.maxHeight && (n = this.maxHeight, r = this.keepAspectRatio), r ||= this.#a(t, n), e.target.value = t.toString(), this.invalidHeight = !1, this.emit("cx-asset-link-format-crop-change", { detail: {
783
783
  breakAspectRatio: r,
784
784
  height: n,
785
785
  keepAspectRatio: this.keepAspectRatio,
@@ -795,7 +795,7 @@ var Tt = class {
795
795
  }
796
796
  this.invalidHeight = !1, this.unit === k.Pixel && (t = Math.max(Math.min(t, this.maxHeight), 1));
797
797
  let n = this.unit === k.Pixel ? this.width : this.ratioWidth, r = !1;
798
- this.keepAspectRatio ? n = Math.max(Math.round(t * this.aspectRatio), 1) : this.unit === k.AspectRatio && ([t, n] = this.fitRatioSides(t, n, this.maxHeight, this.maxWidth)), this.unit === k.Pixel && this.maxWidth >= 1 && n > this.maxWidth && (n = this.maxWidth, r = this.keepAspectRatio), e.target.value = t.toString(), this.invalidWidth = !1, this.emit("cx-asset-link-format-crop-change", { detail: {
798
+ this.keepAspectRatio ? n = Math.max(Math.round(t * this.aspectRatio), 1) : this.unit === k.AspectRatio && ([t, n] = this.fitRatioSides(t, n, this.maxHeight, this.maxWidth)), this.unit === k.Pixel && this.maxWidth >= 1 && n > this.maxWidth && (n = this.maxWidth, r = this.keepAspectRatio), r ||= this.#a(n, t), e.target.value = t.toString(), this.invalidWidth = !1, this.emit("cx-asset-link-format-crop-change", { detail: {
799
799
  breakAspectRatio: r,
800
800
  height: t,
801
801
  keepAspectRatio: this.keepAspectRatio,
@@ -855,7 +855,7 @@ var Tt = class {
855
855
  } }), this.emit("cx-asset-link-format-crop-mode-change", { detail: { mode: "free" } });
856
856
  }
857
857
  #r(e) {
858
- let t = e === k.Pixel;
858
+ let { keepAspectRatio: t } = this;
859
859
  if (/^\d+:\d+$/.test(this.cropMode)) {
860
860
  let [n, r] = this.cropMode.split(":").map(Number);
861
861
  return {
@@ -864,26 +864,26 @@ var Tt = class {
864
864
  };
865
865
  }
866
866
  return e === k.AspectRatio ? {
867
- ...y(this.width, this.height),
868
- keepAspectRatio: t
867
+ height: this.height,
868
+ keepAspectRatio: t,
869
+ width: this.width
869
870
  } : {
870
871
  ...H.getRatioSize(this.ratioWidth, this.ratioHeight, e, this.maxWidth, this.maxHeight),
871
872
  keepAspectRatio: t
872
873
  };
873
874
  }
874
875
  #i(e) {
875
- if (e === k.Pixel) return {
876
- height: this.height,
877
- width: this.width
878
- };
879
- if (/^\d+:\d+$/.test(this.cropMode)) {
876
+ if (e === k.AspectRatio && /^\d+:\d+$/.test(this.cropMode)) {
880
877
  let [e, t] = this.cropMode.split(":").map(Number);
881
878
  return {
882
879
  height: t,
883
880
  width: e
884
881
  };
885
882
  }
886
- return y(this.width, this.height);
883
+ return {
884
+ height: this.height,
885
+ width: this.width
886
+ };
887
887
  }
888
888
  handleInputChange(e) {
889
889
  e.stopPropagation(), this.emit("cx-asset-link-format-crop-changed");
@@ -903,7 +903,7 @@ var Tt = class {
903
903
  e.target !== this.base && e.stopPropagation();
904
904
  }
905
905
  handleAspectRatioClick() {
906
- this.keepAspectRatio && this.cropMode !== "free" && this.emit("cx-asset-link-format-crop-mode-change", { detail: { mode: "free" } }), this.emit("cx-asset-link-format-crop-change", { detail: {
906
+ this.emit("cx-asset-link-format-crop-change", { detail: {
907
907
  height: this.unit === k.Pixel ? this.height : this.ratioHeight,
908
908
  keepAspectRatio: !this.keepAspectRatio,
909
909
  unit: this.unit,
@@ -926,13 +926,17 @@ var Tt = class {
926
926
  let i = Math.min(e, n * t);
927
927
  return [i, Math.min(t, r * i)];
928
928
  }
929
+ #a(e, t) {
930
+ let n = /^(\d+):(\d+)$/.exec(this.cropMode);
931
+ return this.unit === k.Pixel && !this.keepAspectRatio && n !== null && Number(n[1]) * t !== Number(n[2]) * e;
932
+ }
929
933
  render() {
930
934
  let t = this.cropModes.filter((e) => !e.auto), n = this.cropModes.filter((e) => e.auto);
931
935
  return e`<cx-details class="details ${this.inline ? "details--inline" : ""}" ?open=${this.inline || this.open} @cx-show=${this.onShowDetails} @cx-hide=${this.onHideDetails}><cx-space slot="summary" align-items="center"><div part="icon"><cx-icon name="crop"></cx-icon></div><cx-typography variant="body2">${this.localize.term("crop")}</cx-typography></cx-space><cx-space direction="vertical" spacing="small">${m(!this.noRatioModes, () => e`<cx-select data-testid="cx-asset-link-format-crop-mode" value=${this.cropMode} hoist style=${g({ width: "100%" })} @cx-change=${this.onCropModeChange} ?disabled=${this.loading}>${S(t, (e) => e.value, ({ label: t, value: n }) => e`<cx-option value=${n}>${t}</cx-option>`)}
932
936
  ${m(n.length > 0, () => e`<cx-divider></cx-divider><small>${this.localize.term("autoCropping")}</small>`)}
933
937
  ${S(n, (e) => e.value, ({ label: t, value: n }) => e`<cx-option value=${n}>${t}</cx-option>`)}</cx-select>`)}<cx-space spacing="small"><div class="crop__input-group"><cx-input data-testid="cx-asset-link-format-crop-width" placeholder=${this.localize.term("width")} mask="num" .maskBlocks=${this.getSizeMaskBlocks(this.maxWidth)} value=${this.unit === k.Pixel ? this.width.toString() : this.ratioWidth.toString()} @cx-change=${this.handleInputChange} @cx-input=${this.handleWidthChange} required ?disabled=${this.loading}><cx-typography slot="prefix" variant="body3" part="input-label">
934
938
  W
935
- </cx-typography></cx-input><cx-icon-button data-testid="cx-asset-link-format-crop-aspect-ratio" name=${this.keepAspectRatio ? "insert_link" : "link_off"} @click=${this.handleAspectRatioClick} style=${g({ color: this.keepAspectRatio ? "var(--cx-color-primary)" : void 0 })} ?disabled=${this.loading || this.inline && this.unit === k.AspectRatio}></cx-icon-button><cx-input data-testid="cx-asset-link-format-crop-height" placeholder=${this.localize.term("height")} mask="num" .maskBlocks=${this.getSizeMaskBlocks(this.maxHeight)} value=${this.unit === k.Pixel ? this.height.toString() : this.ratioHeight.toString()} ?disabled=${this.loading} @cx-change=${this.handleInputChange} @cx-input=${this.handleHeightChange} required><cx-typography slot="prefix" variant="body3" part="input-label">
939
+ </cx-typography></cx-input><cx-icon-button data-testid="cx-asset-link-format-crop-aspect-ratio" name=${this.keepAspectRatio ? "insert_link" : "link_off"} label=${this.localize.term("keepAspectRatio")} .pressed=${this.keepAspectRatio} @click=${this.handleAspectRatioClick} style=${g({ color: this.keepAspectRatio ? "var(--cx-color-primary)" : void 0 })} ?disabled=${this.loading}></cx-icon-button><cx-input data-testid="cx-asset-link-format-crop-height" placeholder=${this.localize.term("height")} mask="num" .maskBlocks=${this.getSizeMaskBlocks(this.maxHeight)} value=${this.unit === k.Pixel ? this.height.toString() : this.ratioHeight.toString()} ?disabled=${this.loading} @cx-change=${this.handleInputChange} @cx-input=${this.handleHeightChange} required><cx-typography slot="prefix" variant="body3" part="input-label">
936
940
  H
937
941
  </cx-typography></cx-input></div>${m(!this.noRatioModes, () => e`<cx-select data-testid="cx-asset-link-format-crop-unit" value=${this.unit} hoist class="crop__unit-select" ?disabled=${this.loading} @cx-change=${this.onUnitChange}><cx-option value=${k.Pixel}>${this.localize.term("pixels")}</cx-option><cx-option value=${k.AspectRatio}>${this.localize.term("aspectRatio")}</cx-option></cx-select>`)}</cx-space><div class="crop__limit" data-testid="cx-asset-link-format-crop-dimensions-limit" role="status">${m(this.dimensionsLimited, () => e`<cx-typography variant="small">${this.localize.term("cropLimitedByDimensions", this.maxWidth, this.maxHeight)}</cx-typography>`)}</div>${m(this.focusModes.length > 0, () => e`<cx-select data-testid="cx-asset-link-format-crop-focus-mode" value=${this.focusMode} hoist style=${g({ width: "100%" })} @cx-change=${this.onFocusModeChange} ?disabled=${this.loading || this.selectedMode?.disabledSize}>${S(this.focusModes, (e) => e.value, ({ label: t, value: n }) => e`<cx-option value=${n}>${t}</cx-option>`)}</cx-select>`)}
938
942
  ${m(this.showPositionPicker && this.focusMode === "manual", () => e`<cx-position-picker data-testid="cx-asset-link-format-crop-position" value=${this.position} @cx-change=${this.onPositionChange}></cx-position-picker>`)}
@@ -1554,7 +1558,7 @@ var Rt = q, zt = t`cx-details::part(base){border-bottom-width:0}cx-space{width:1
1554
1558
  scale: 0
1555
1559
  } }} value=${this.unit === k.Pixel ? this.width.toString() : this.ratioWidth.toString()} @cx-input=${this.handleWidthChange} required ?disabled=${this.loading}><cx-typography slot="prefix" variant="body3" part="input-label">
1556
1560
  W
1557
- </cx-typography></cx-input><cx-icon-button data-testid="cx-asset-link-format-resize-aspect-ratio" name=${this.keepAspectRatio ? "insert_link" : "link_off"} @click=${this.handleAspectRatioClick} style=${g({ color: this.keepAspectRatio ? "var(--cx-color-primary)" : void 0 })} ?disabled=${this.loading}></cx-icon-button><cx-input data-testid="cx-asset-link-format-resize-height" placeholder=${this.localize.term("height")} mask="num" .maskBlocks=${{ num: {
1561
+ </cx-typography></cx-input><cx-icon-button data-testid="cx-asset-link-format-resize-aspect-ratio" name=${this.keepAspectRatio ? "insert_link" : "link_off"} label=${this.localize.term("keepAspectRatio")} .pressed=${this.keepAspectRatio} @click=${this.handleAspectRatioClick} style=${g({ color: this.keepAspectRatio ? "var(--cx-color-primary)" : void 0 })} ?disabled=${this.loading}></cx-icon-button><cx-input data-testid="cx-asset-link-format-resize-height" placeholder=${this.localize.term("height")} mask="num" .maskBlocks=${{ num: {
1558
1562
  mask: Number,
1559
1563
  min: 1,
1560
1564
  radix: ".",
@@ -2663,8 +2667,9 @@ var Wt = X, Z, Gt = {
2663
2667
  if (r === 0 || n === 0) return;
2664
2668
  let o = this.cropSize.percentageWidth !== r, s = this.cropSize.percentageHeight !== n, c = this.cropSize.height, l = this.cropSize.width;
2665
2669
  o && (l = Math.round(r * this.selectedFormat.width / 100)), s && (c = Math.round(n * this.selectedFormat.height / 100));
2666
- let u = this.cropSize.focusMode;
2667
- this.focusModes.find((e) => e.value === u)?.auto && this.selectedFormat?.url && this.cropperElement ? await this.handleRequestAutoCropSuggestion({
2670
+ let u = this.cropSize.focusMode, d = this.focusModes.find((e) => e.value === u)?.auto, f = l !== this.cropSize.width || c !== this.cropSize.height, p = f ? this.#i(l, c) : {};
2671
+ d && this.selectedFormat?.url && this.cropperElement ? await this.handleRequestAutoCropSuggestion({
2672
+ ...p,
2668
2673
  focusMode: u,
2669
2674
  height: c,
2670
2675
  percentageHeight: n,
@@ -2672,13 +2677,22 @@ var Wt = X, Z, Gt = {
2672
2677
  width: l
2673
2678
  }) : this.cropSize = {
2674
2679
  ...this.cropSize,
2680
+ ...p,
2675
2681
  height: c,
2676
2682
  percentageHeight: n,
2677
2683
  percentageWidth: r,
2678
2684
  width: l,
2679
2685
  x: i,
2680
2686
  y: a
2681
- };
2687
+ }, f && this.#o();
2688
+ }
2689
+ #i(e, t) {
2690
+ let { keepAspectRatio: n, unit: r } = this.cropSize, i = {};
2691
+ return n ? i : (this.#a(e, t) && (i.cropMode = "free"), r === k.AspectRatio && (i.ratioHeight = t, i.ratioWidth = e), i);
2692
+ }
2693
+ #a(e, t) {
2694
+ let n = /^(\d+):(\d+)$/.exec(this.cropSize.cropMode);
2695
+ return n !== null && Number(n[1]) * t !== Number(n[2]) * e;
2682
2696
  }
2683
2697
  onCropDragStart() {
2684
2698
  let e = this.cropSize.cropMode, t = this.cropModes.find((t) => t.value === e)?.auto;
@@ -2756,8 +2770,8 @@ var Wt = X, Z, Gt = {
2756
2770
  if (e.detail.unit === k.AspectRatio) {
2757
2771
  let t = e.detail.width / e.detail.height, n = this.asset ? Math.min(Math.max(Math.round(this.cropSize.height * t), 1), this.resizeSize.width) : 0, r = this.asset ? Math.min(Math.max(Math.round(n / t), 1), this.resizeSize.height) : 0, i = this.asset ? r * 100 / this.selectedFormat.height : 100, a = this.asset ? n * 100 / this.selectedFormat.width : 100, o = this.cropSize.x, s = this.cropSize.y;
2758
2772
  o + a > 100 && (o = 100 - a), s + i > 100 && (s = 100 - i);
2759
- let c = this.cropSize.cropMode, l = this.cropModes.find((e) => e.value === c)?.auto, u = /^(\d+):(\d+)$/.exec(c), d = u !== null && !e.detail.keepAspectRatio && Number(u[1]) * e.detail.height !== Number(u[2]) * e.detail.width;
2760
- (l || d) && (c = "free"), e.detail.silent ? (this.cropSize.height = r, this.cropSize.keepAspectRatio = e.detail.keepAspectRatio, this.cropSize.percentageHeight = i, this.cropSize.percentageWidth = a, this.cropSize.ratioHeight = e.detail.height, this.cropSize.ratioWidth = e.detail.width, this.cropSize.unit = k.AspectRatio, this.cropSize.width = n) : this.cropSize = {
2773
+ let c = this.cropSize.cropMode, l = this.cropModes.find((e) => e.value === c)?.auto, u = !e.detail.keepAspectRatio && this.#a(e.detail.width, e.detail.height);
2774
+ (l || u) && (c = "free"), e.detail.silent ? (this.cropSize.height = r, this.cropSize.keepAspectRatio = e.detail.keepAspectRatio, this.cropSize.percentageHeight = i, this.cropSize.percentageWidth = a, this.cropSize.ratioHeight = e.detail.height, this.cropSize.ratioWidth = e.detail.width, this.cropSize.unit = k.AspectRatio, this.cropSize.width = n) : this.cropSize = {
2761
2775
  ...this.cropSize,
2762
2776
  cropMode: c,
2763
2777
  height: r,
@@ -2793,8 +2807,18 @@ var Wt = X, Z, Gt = {
2793
2807
  cropMode: "free"
2794
2808
  }), this.onCropChanged()), this.isFormatsLayout && this.cropEnabled && this.applyCropTransformation();
2795
2809
  }
2810
+ #o() {
2811
+ let { ratioHeight: e, ratioWidth: t, unit: n } = this.cropSize;
2812
+ if (n !== k.AspectRatio) return;
2813
+ let r = y(t, e);
2814
+ (r.width !== t || r.height !== e) && (this.cropSize = {
2815
+ ...this.cropSize,
2816
+ ratioHeight: r.height,
2817
+ ratioWidth: r.width
2818
+ });
2819
+ }
2796
2820
  async onCropChanged() {
2797
- this.focusModes.find((e) => e.value === this.cropSize.focusMode)?.auto && await this.handleRequestAutoCropSuggestion({
2821
+ this.#o(), this.focusModes.find((e) => e.value === this.cropSize.focusMode)?.auto && await this.handleRequestAutoCropSuggestion({
2798
2822
  focusMode: this.cropSize.focusMode,
2799
2823
  height: this.cropSize.height,
2800
2824
  width: this.cropSize.width
@@ -3,10 +3,10 @@ import { a as r, i, n as a, r as o } from "./cortex-element.DTrNUtdr.js";
3
3
  import { t as s } from "./query.B1yi7t71.js";
4
4
  import { t as c } from "./component.styles.0xM1ZmBs.js";
5
5
  import { t as l } from "./custom-element.BEMYNDK1.js";
6
- import { t as u } from "./i18n.C5A8G4l9.js";
6
+ import { t as u } from "./i18n.Bjg2ubA4.js";
7
7
  import { t as d } from "./watch.Ub5r8btz.js";
8
8
  import { t as f } from "./class-map.D8nsNOVJ.js";
9
- import { t as p } from "./icon-button.i66WlZwo.js";
9
+ import { t as p } from "./icon-button.qJd_az6T.js";
10
10
  import { t as m } from "./when.BUskJLtZ.js";
11
11
  import { n as h, t as g } from "./resizable-component.styles.v9pbLDG5.js";
12
12
  import { a as _, i as v, n as y, u as b } from "./time.p1t0NCwj.js";
@@ -4,7 +4,7 @@ import { t as o } from "./component.styles.0xM1ZmBs.js";
4
4
  import { t as s } from "./custom-element.BEMYNDK1.js";
5
5
  import { t as c } from "./style-map.DPGQIxip.js";
6
6
  import { t as l } from "./space.Dd8jezXK.js";
7
- import { t as u } from "./color-picker.CS4ErWPM.js";
7
+ import { t as u } from "./color-picker.DZUudAAS.js";
8
8
  //#region ../../packages/molecules/src/bicolor-picker/bicolor-picker.styles.ts
9
9
  var d = t``, f = class extends a {
10
10
  constructor(...e) {
@@ -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.C5A8G4l9.js";
7
+ import { t as h } from "./i18n.Bjg2ubA4.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.i66WlZwo.js";
12
+ import { t as _ } from "./icon-button.qJd_az6T.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.AMyXF88G.js";
16
+ import { t as ae } from "./spinner.Bv06U7NJ.js";
17
17
  import { n as oe } from "./tslib.es6.DJNsMHqv.js";
18
- import { t as se } from "./src.CwZ8zb1B.js";
18
+ import { t as se } from "./src.2wQZtR6J.js";
19
19
  import { t as ce } from "./style-map.DPGQIxip.js";
20
20
  import { t as le } from "./debounce.Ci-xdsHE.js";
21
- import { t as b } from "./button.DpyC0zUi.js";
21
+ import { t as b } from "./button.DKkHqsUz.js";
22
22
  import { O as x, r as ue, w as de } from "./string.9yahdkB8.js";
23
23
  import { t as fe } from "./form.D_eBa3AQ.js";
24
- import { t as pe } from "./tooltip.CuQcIWIP.js";
25
- import { t as me } from "./line-clamp.BZKYbRwK.js";
24
+ import { t as pe } from "./tooltip.Cc02vm6M.js";
25
+ import { t as me } from "./line-clamp.Dl3_JdHX.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,55 +33,55 @@ import { t as be } from "./checkbox.BdSpQlwf.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 Ce } from "./dropdown.kTQIxZHi.js";
36
+ import { t as Ce } from "./dropdown.CKhoP9Cr.js";
37
37
  import { t as we } from "./tabbable.BSwpOHdm.js";
38
- import { t as w } from "./input.MQtetH3-.js";
39
- import { t as Te } from "./menu.DnLpcELB.js";
40
- import { t as Ee } from "./menu-item.BBTLFXVP.js";
38
+ import { t as w } from "./input.DZRed6yo.js";
39
+ import { t as Te } from "./menu.BxBtGPsg.js";
40
+ import { t as Ee } from "./menu-item.au-gTg1F.js";
41
41
  import { n as De, r as Oe, t as ke } from "./ref.CU1NC5AM.js";
42
42
  import { t as Ae } from "./textarea.CHSZI8vt.js";
43
- import { n as je, t as T } from "./option.e5_w6HqF.js";
43
+ import { n as je, t as T } from "./option.DWE0tark.js";
44
44
  import { t as E } from "./space.Dd8jezXK.js";
45
- import { t as D } from "./select.BoNYGI6h.js";
46
- import { t as Me } from "./tab.3CnIeiO7.js";
47
- import { t as Ne } from "./tab-group.CQMpEEm0.js";
45
+ import { t as D } from "./select.BV0Necz7.js";
46
+ import { t as Me } from "./tab.CYYAua8Y.js";
47
+ import { t as Ne } from "./tab-group.dnnT9Mk6.js";
48
48
  import { t as Pe } from "./map.ByDuLduF.js";
49
49
  import { t as Fe } from "./tab-panel.BxeoKuSv.js";
50
50
  import { t as Ie } from "./visually-hidden.Bv3SInZp.js";
51
- import { t as Le } from "./color-picker.CS4ErWPM.js";
52
- import { C as Re, D as ze, E as Be, H as Ve, K as He, S as Ue, T as We, W as Ge, b as Ke, k as qe, z as Je } from "./src.Dkyy15Lf.js";
53
- import { a as Ye, i as Xe, n as Ze, o as Qe, r as $e, s as et, t as O } from "./dialog.C5pMvLfv.js";
51
+ import { t as Le } from "./color-picker.DZUudAAS.js";
52
+ import { C as Re, D as ze, E as Be, H as Ve, K as He, S as Ue, T as We, W as Ge, b as Ke, k as qe, z as Je } from "./src.Dia365C9.js";
53
+ import { a as Ye, i as Xe, n as Ze, o as Qe, r as $e, s as et, t as O } from "./dialog.D0oTJWFf.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 { a as k, h as lt, p as A } from "./responsive.L9Csz2w2.js";
58
58
  import { r as j, s as ut } from "./asset-link-format.COPyGdND.js";
59
- import { t as dt } from "./image.BOk8R-hy.js";
59
+ import { t as dt } from "./image.-lgb634-.js";
60
60
  import { t as ft } from "./grid.CK4PRwur.js";
61
61
  import { t as pt } from "./grid-item.CSieaU5T.js";
62
62
  import { t as mt } from "./menu-label.B-FOyfAX.js";
63
63
  import { t as ht } from "./radio.DhPbmKbQ.js";
64
- import { t as gt } from "./radio-card.74UXrqIM.js";
64
+ import { t as gt } from "./radio-card.VEsyM8ue.js";
65
65
  import { t as _t } from "./radio-group.CHlxPcrs.js";
66
66
  import { t as vt } from "./switch.BM9msK5T.js";
67
67
  import { t as yt } from "./v4.JyXW8GUB.js";
68
- import { t as bt } from "./bicolor-picker.Dv2K1enQ.js";
69
- import { t as xt } from "./border-input-group.Bj8Bu10N.js";
70
- import { n as St, t as Ct } from "./confirm-popover.BrJmR_L4.js";
71
- import { t as wt } from "./corner-position-input-group.t3YZa_N5.js";
72
- import { t as Tt } from "./cropper.BJCSPoLd.js";
73
- import { t as Et } from "./dynamic-select.ByZy9Nt0.js";
68
+ import { t as bt } from "./bicolor-picker.DS9Uut25.js";
69
+ import { t as xt } from "./border-input-group.B6fqiG6F.js";
70
+ import { n as St, t as Ct } from "./confirm-popover.sZVNhFPh.js";
71
+ import { t as wt } from "./corner-position-input-group.nTlFes0_.js";
72
+ import { t as Tt } from "./cropper.BF32WRyP.js";
73
+ import { t as Et } from "./dynamic-select.Cb3L0dIB.js";
74
74
  import { t as Dt } from "./string-array.F2GuxHp0.js";
75
- import { n as M, r as Ot, t as N } from "./folder-select.CYGZ6op0.js";
75
+ import { n as M, r as Ot, t as N } from "./folder-select.DJ5EEod3.js";
76
76
  import { t as kt } from "./choose.C2vpqhLc.js";
77
- import { t as At } from "./masonry.CDtgkSfK.js";
78
- import { t as jt } from "./padding-input-group.CV4k4qJ_.js";
79
- import { t as Mt } from "./position-picker.BPNsgjJf.js";
80
- import { t as Nt } from "./shadow-input-group.CxMz1Xp2.js";
81
- import { t as Pt } from "./size-input-group.Dgfz2HcV.js";
82
- import { C as Ft, S as It, T as Lt, _ as Rt, b as zt, c as Bt, f as Vt, g as Ht, h as Ut, i as Wt, l as Gt, n as Kt, o as qt, p as Jt, r as Yt, s as P, t as Xt, u as Zt, v as Qt, w as $t, x as en, y as tn } from "./asset-link-format.pYIIJ1vs.js";
83
- import { c as nn, d as rn, f as an, n as on, u as sn } from "./color-swatch-group.D8DvggEa.js";
84
- import { $ as cn, B as F, G as ln, O as un, P as dn, Q as fn, T as pn, X as mn, Y as hn, Z as gn, _ as _n, at as vn, ct as I, et as yn, lt as bn, ot as L, st as xn, v as Sn, w as Cn, x as wn } from "./configs-controller.DnybKK5e.js";
77
+ import { t as At } from "./masonry.BxNeClR6.js";
78
+ import { t as jt } from "./padding-input-group.D2Qx15Yj.js";
79
+ import { t as Mt } from "./position-picker.X2hhfGx7.js";
80
+ import { t as Nt } from "./shadow-input-group.Xxuzm8Qe.js";
81
+ import { t as Pt } from "./size-input-group.wXuG0-RB.js";
82
+ import { C as Ft, S as It, T as Lt, _ as Rt, b as zt, c as Bt, f as Vt, g as Ht, h as Ut, i as Wt, l as Gt, n as Kt, o as qt, p as Jt, r as Yt, s as P, t as Xt, u as Zt, v as Qt, w as $t, x as en, y as tn } from "./asset-link-format.Ce_3Qz6_.js";
83
+ import { c as nn, d as rn, f as an, n as on, u as sn } from "./color-swatch-group.CuMJc6m8.js";
84
+ import { $ as cn, B as F, G as ln, O as un, P as dn, Q as fn, T as pn, X as mn, Y as hn, Z as gn, _ as _n, at as vn, ct as I, et as yn, lt as bn, ot as L, st as xn, v as Sn, w as Cn, x as wn } from "./configs-controller.TQDPq63n.js";
85
85
  import { a as Tn } from "./cloneDeep.C6x5LNv3.js";
86
86
  //#region ../../packages/types/src/icon-picker.ts
87
87
  var En = /* @__PURE__ */ function(e) {
@@ -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.C5A8G4l9.js";
6
- import { t as l } from "./input.MQtetH3-.js";
5
+ import { t as c } from "./i18n.Bjg2ubA4.js";
6
+ import { t as l } from "./input.DZRed6yo.js";
7
7
  import { t as u } from "./space.Dd8jezXK.js";
8
- import { t as d } from "./bicolor-picker.Dv2K1enQ.js";
8
+ import { t as d } from "./bicolor-picker.DS9Uut25.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.C5A8G4l9.js";
6
+ import { t as l } from "./i18n.Bjg2ubA4.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.C5A8G4l9.js";
5
+ import { t as c } from "./i18n.Bjg2ubA4.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.AMyXF88G.js";
13
+ import { t as v } from "./spinner.Bv06U7NJ.js";
14
14
  import { a as y, t as b } from "./form.D_eBa3AQ.js";
15
15
  import { t as x } from "./button.styles.BcmNSwOK.js";
16
16
  //#region ../../packages/types/src/button.ts
@@ -4,17 +4,17 @@ 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.C5A8G4l9.js";
7
+ import { t as d } from "./i18n.Bjg2ubA4.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.i66WlZwo.js";
10
+ import { t as ee } from "./icon-button.qJd_az6T.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.AMyXF88G.js";
14
+ import { t as _ } from "./spinner.Bv06U7NJ.js";
15
15
  import { t as v } from "./style-map.DPGQIxip.js";
16
16
  import { t as y } from "./debounce.Ci-xdsHE.js";
17
- import { t as b } from "./button.DpyC0zUi.js";
17
+ import { t as b } from "./button.DKkHqsUz.js";
18
18
  import { t as x } from "./form.D_eBa3AQ.js";
19
19
  import { t as S } from "./button-group.CPfXrqyq.js";
20
20
  import { t as C } from "./default-value.opqQgoRT.js";
@@ -23,12 +23,12 @@ import { c as T, d as E, f as D, i as O, n as k, o as A, s as te, u as j } from
23
23
  import { t as M } from "./drag.s0AcVpKh.js";
24
24
  import { t as N } from "./math.od1DVmRk.js";
25
25
  import { t as P } from "./repeat.CKv9FPlC.js";
26
- import { t as F } from "./dropdown.kTQIxZHi.js";
27
- import { t as I } from "./input.MQtetH3-.js";
28
- import { t as L } from "./option.e5_w6HqF.js";
29
- import { t as R } from "./select.BoNYGI6h.js";
30
- import { t as z } from "./tab.3CnIeiO7.js";
31
- import { t as B } from "./tab-group.CQMpEEm0.js";
26
+ import { t as F } from "./dropdown.CKhoP9Cr.js";
27
+ import { t as I } from "./input.DZRed6yo.js";
28
+ import { t as L } from "./option.DWE0tark.js";
29
+ import { t as R } from "./select.BV0Necz7.js";
30
+ import { t as z } from "./tab.CYYAua8Y.js";
31
+ import { t as B } from "./tab-group.dnnT9Mk6.js";
32
32
  import { t as V } from "./tab-panel.BxeoKuSv.js";
33
33
  import { t as H } from "./visually-hidden.Bv3SInZp.js";
34
34
  //#region ../../packages/atoms/src/components/color-picker/color-picker.styles.ts
@@ -3,43 +3,43 @@ import { c as r, d as i, n as a, r as o } from "./lit.CyJqR2kf.js";
3
3
  import { a as s, i as c, n as l, r as u, t as d } from "./cortex-element.DTrNUtdr.js";
4
4
  import { t as f } from "./query.B1yi7t71.js";
5
5
  import { t as p } from "./query-all.NK7qxEbl.js";
6
- import { t as m } from "./popup.6VPIzrLw.js";
6
+ import { t as m } from "./popup.w4ZU3jI-.js";
7
7
  import { t as h } from "./component.styles.0xM1ZmBs.js";
8
8
  import { t as g } from "./custom-element.BEMYNDK1.js";
9
- import { t as _ } from "./i18n.C5A8G4l9.js";
9
+ import { t as _ } from "./i18n.Bjg2ubA4.js";
10
10
  import { t as v } from "./slot.CZUlACxT.js";
11
11
  import { O as y, S as ee, h as b, k as x, n as te, t as S } from "./watch.Ub5r8btz.js";
12
12
  import { t as C } from "./class-map.D8nsNOVJ.js";
13
- import { t as w } from "./icon-button.i66WlZwo.js";
13
+ import { t as w } from "./icon-button.qJd_az6T.js";
14
14
  import { t as T } from "./if-defined.B29V_rEp.js";
15
15
  import { t as E } from "./when.BUskJLtZ.js";
16
16
  import { t as D } from "./icon.CeQpEaQz.js";
17
- import { t as O } from "./spinner.AMyXF88G.js";
17
+ import { t as O } from "./spinner.Bv06U7NJ.js";
18
18
  import { t as k } from "./style-map.DPGQIxip.js";
19
19
  import { c as ne } from "./browser.gIznFIix.js";
20
20
  import { t as A } from "./debounce.Ci-xdsHE.js";
21
- import { t as j } from "./button.DpyC0zUi.js";
21
+ import { t as j } from "./button.DKkHqsUz.js";
22
22
  import { _ as re, d as ie, t as ae, v as M } from "./string.9yahdkB8.js";
23
23
  import { o as oe, s as N } from "./dom.BLHsooDR.js";
24
- import { t as se } from "./tooltip.CuQcIWIP.js";
25
- import { t as ce } from "./line-clamp.BZKYbRwK.js";
26
- import { t as le } from "./tag.CF3V9THM.js";
24
+ import { t as se } from "./tooltip.Cc02vm6M.js";
25
+ import { t as ce } from "./line-clamp.Dl3_JdHX.js";
26
+ import { t as le } from "./tag.DQLauctm.js";
27
27
  import { n as ue, t as de } from "./typography.B0mkhqTB.js";
28
28
  import { t as fe } from "./badge.H_UuxPXn.js";
29
29
  import { t as pe } from "./checkbox.BdSpQlwf.js";
30
30
  import { t as me } from "./repeat.CKv9FPlC.js";
31
- import { t as he } from "./dropdown.kTQIxZHi.js";
32
- import { t as ge } from "./input.MQtetH3-.js";
33
- import { t as _e } from "./menu.DnLpcELB.js";
34
- import { t as ve } from "./menu-item.BBTLFXVP.js";
31
+ import { t as he } from "./dropdown.CKhoP9Cr.js";
32
+ import { t as ge } from "./input.DZRed6yo.js";
33
+ import { t as _e } from "./menu.BxBtGPsg.js";
34
+ import { t as ve } from "./menu-item.au-gTg1F.js";
35
35
  import { t as ye } from "./space.Dd8jezXK.js";
36
36
  import { t as be } from "./unsafe-html.Cb838aX7.js";
37
- import { t as xe } from "./select.BoNYGI6h.js";
37
+ import { t as xe } from "./select.BV0Necz7.js";
38
38
  import { t as Se } from "./guard.Cf17k6Vx.js";
39
39
  import { a as Ce, f as we, l as Te, r as Ee } from "./date.BL4L64Hx.js";
40
- import { at as De, it as Oe, k as ke, lt as Ae, nt as je, st as Me, tt as Ne } from "./src.Dkyy15Lf.js";
41
- import { t as Pe } from "./details.vlsQwpoQ.js";
42
- import { i as Fe, s as Ie, t as Le } from "./dialog.C5pMvLfv.js";
40
+ import { at as De, it as Oe, k as ke, lt as Ae, nt as je, st as Me, tt as Ne } from "./src.Dia365C9.js";
41
+ import { t as Pe } from "./details.DSgp6VAD.js";
42
+ import { i as Fe, s as Ie, t as Le } from "./dialog.D0oTJWFf.js";
43
43
  import { t as Re } from "./divider.CqSNZCU8.js";
44
44
  import { n as ze } from "./toString.r2ImdBrm.js";
45
45
  import { n as Be } from "./capitalize.BT_EavGy.js";
@@ -47,9 +47,9 @@ import { _ as Ve, c as He, g as Ue, l as We, v as Ge, y as Ke } from "./color.CI
47
47
  import { f as qe, n as Je, r as Ye, t as Xe } from "./responsive.L9Csz2w2.js";
48
48
  import Ze from "../components/format-number.js";
49
49
  import { t as Qe } from "./menu-section.BzzA6L5E.js";
50
- import { n as $e, t as et } from "./pagination.5nQjl71k.js";
50
+ import { n as $e, t as et } from "./pagination.ByLuPMyE.js";
51
51
  import { t as tt } from "./sortable.esm.BVU0_hc5.js";
52
- import { t as nt } from "./color-swatch.DFt8EIdF.js";
52
+ import { t as nt } from "./color-swatch.DXAr2gBg.js";
53
53
  import { t as rt } from "./debounce.DrhImrNP.js";
54
54
  import { c as it, o as at, s as ot, t as st } from "./_baseIteratee.DWc2-Bvm.js";
55
55
  import { n as ct, r as lt, t as ut } from "./_baseUniq.h_pGICPH.js";
@@ -3,7 +3,7 @@ import { a as n, i as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtd
3
3
  import { t as s } from "./query.B1yi7t71.js";
4
4
  import { t as c } from "./component.styles.0xM1ZmBs.js";
5
5
  import { t as l } from "./custom-element.BEMYNDK1.js";
6
- import { t as u } from "./i18n.C5A8G4l9.js";
6
+ import { t as u } from "./i18n.Bjg2ubA4.js";
7
7
  import { t as d } from "./watch.Ub5r8btz.js";
8
8
  import { t as f } from "./class-map.D8nsNOVJ.js";
9
9
  import { t as p } from "./if-defined.B29V_rEp.js";
@@ -11,11 +11,11 @@ import { t as m } from "./when.BUskJLtZ.js";
11
11
  import { t as h } from "./style-map.DPGQIxip.js";
12
12
  import { t as g } from "./debounce.Ci-xdsHE.js";
13
13
  import { t as _ } from "./resize-observer.D9EHlnZI.js";
14
- import { t as v } from "./line-clamp.BZKYbRwK.js";
14
+ import { t as v } from "./line-clamp.Dl3_JdHX.js";
15
15
  import { t as y } from "./typography.B0mkhqTB.js";
16
16
  import { t as b } from "./repeat.CKv9FPlC.js";
17
17
  import { t as x } from "./space.Dd8jezXK.js";
18
- import { t as S } from "./copy-button.t3EGzLXt.js";
18
+ import { t as S } from "./copy-button.CqqKJEh3.js";
19
19
  import { _ as C, c as w, f as T, g as E, i as D, l as O, n as k, o as A, v as j, y as M } from "./color.CIOzHtLK.js";
20
20
  //#region ../../packages/molecules/src/color-swatch/color-swatch.styles.ts
21
21
  var N = t`:host{isolation:isolate;display:block}.color-swatch{border:1px solid var(--cx-color-neutral-200);justify-content:center;align-items:center;display:flex}.color-swatch:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.color-swatch--circle{aspect-ratio:1;height:auto;width:var(--swatch-circle-size,var(--swatch-size,350px));min-width:min(var(--swatch-circle-size,var(--swatch-size,350px)), 230px, 100%);border-radius:var(--swatch-circle-border-radius,var(--cx-border-radius-circle));max-width:100%;overflow:hidden}.color-swatch--oval{height:var(--swatch-circle-size,var(--swatch-size,350px));border-radius:var(--swatch-circle-border-radius,calc(var(--swatch-circle-size,var(--swatch-size,350px)) / 2));width:100%}.color-swatch--grid{width:100%;height:100%;min-width:var(--swatch-grid-min-width,165px);min-height:max(var(--swatch-size,300px), var(--swatch-min-height,50px));border:var(--swatch-border,0px solid transparent);box-shadow:var(--swatch-box-shadow,none);border-radius:var(--swatch-border-radius,var(--cx-border-radius-x-large));border-style:solid;align-items:stretch}.color-swatch__content{max-height:100%;padding:var(--swatch-content-padding,0);justify-content:space-between;gap:var(--cx-spacing-medium)}.color-swatch--circle>.color-swatch__content{min-width:50%;max-width:75%}.color-swatch--oval>.color-swatch__content{max-width:85%}.color-swatch--circle,.color-swatch--oval{justify-content:var(--swatch-circle-content-align,center);align-items:var(--swatch-circle-content-justify,center)}.color-swatch--circle>.color-swatch__content,.color-swatch--oval>.color-swatch__content{align-items:var(--swatch-circle-content-align,center);justify-content:var(--swatch-circle-content-justify,center);margin:var(--swatch-circle-content-margin,0)}.color-swatch--grid>.color-swatch__content{justify-content:var(--swatch-content-justify,space-between);width:100%;max-height:none;padding:var(--swatch-content-margin,var(--cx-spacing-medium))}.color-swatch__key::part(base){vertical-align:middle;min-width:50px;height:100%}.color-swatch__key[variant=small]::part(base){display:inline-block}.color-swatch__copy-button::part(button){height:fit-content;min-height:fit-content;padding:0;background:0 0!important;border-width:0!important}.color-swatch__copy-button::part(label){height:fit-content;padding:0}.color-swatch__value{text-transform:none}.color-swatch__value::part(base){word-break:break-word}.color-swatch__value-wrapper{text-align:left}.color-swatch__name,.color-swatch__key,.color-swatch__value{--font-family:var(--swatch-font-family), var(--cx-font-sans);--font-style:var(--swatch-font-style,normal);--font-weight:var(--swatch-font-weight);--font-size:var(--swatch-font-size);--line-height:1.2}`, P = class extends o {