@orangelogic/design-system 2.105.0 → 2.106.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 (155) hide show
  1. package/library/chunks/{AxisLabelRadial.Bs1P_q_F.js → AxisLabelRadial.C4AH2ZWx.js} +1 -1
  2. package/library/chunks/{BaseColumnSeries.C7jwOxIJ.js → BaseColumnSeries.BV8sY1Da.js} +1 -1
  3. package/library/chunks/{CandlestickSeries.CkXGtRWE.js → CandlestickSeries.C8BE8OT-.js} +2 -2
  4. package/library/chunks/{Circle.DBa5Ok8V.js → Circle.BaJWdg6Z.js} +1 -1
  5. package/library/chunks/{ColumnSeries.DGazbfza.js → ColumnSeries.BGUw3nLY.js} +2 -2
  6. package/library/chunks/{EditableAxisLabel.wN0t_G2B.js → EditableAxisLabel.CsgqEVmA.js} +2 -2
  7. package/library/chunks/{EditableLabel.BWeq6fgX.js → EditableLabel.gd9mjKfA.js} +1 -1
  8. package/library/chunks/{Gradient.CdcsPIru.js → Gradient.Sa3COx_2.js} +1 -1
  9. package/library/chunks/{LinearGradient.B1z9AGUt.js → LinearGradient.BM0pPmvI.js} +2 -2
  10. package/library/chunks/{Picture.YSPC0l0Q.js → Picture.DVyGQOmS.js} +1 -1
  11. package/library/chunks/{Polygon.BwMvXN2H.js → Polygon.Du2DRvxU.js} +1 -1
  12. package/library/chunks/{ProgressPie.DlCwXN17.js → ProgressPie.D3FRfVo5.js} +5 -5
  13. package/library/chunks/{RadialLabel.DyVOf2K8.js → RadialLabel.Dgipjivh.js} +1 -1
  14. package/library/chunks/{Scrollbar.BdZVb_Z-.js → Scrollbar.BDbLJ_xZ.js} +1 -1
  15. package/library/chunks/{Slice.DiEswWa6.js → Slice.BIXpM75a.js} +1 -1
  16. package/library/chunks/{Slider.C20No2z5.js → Slider.BZNFS2HS.js} +1 -1
  17. package/library/chunks/{SpriteResizer.DFnmcy0h.js → SpriteResizer.awVrrc-n.js} +1 -1
  18. package/library/chunks/{Triangle.BaOef7HV.js → Triangle.DW7bUiPK.js} +1 -1
  19. package/library/chunks/{ZoomTools.D5JPehoL.js → ZoomTools.CSBkRpSo.js} +1 -1
  20. package/library/chunks/_baseIteratee.DpzDid58.js +152 -0
  21. package/library/chunks/_baseUniq.HFKneygy.js +53 -0
  22. package/library/chunks/{am-chart.H2jnOzFc.js → am-chart.sBfZlJdc.js} +252 -252
  23. package/library/chunks/{animation.7ifl4x2S.js → animation.8MjXJybe.js} +1 -1
  24. package/library/chunks/asset-link-format.B0c92pSs.js +6 -0
  25. package/library/chunks/{asset.CCjWpDnd.js → asset.Tjoo0ngC.js} +62 -56
  26. package/library/chunks/{button.B8q9TnbJ.js → button.CZ-e_TGN.js} +1 -1
  27. package/library/chunks/{capitalize.CNStXZBq.js → capitalize.i-sHIcnm.js} +1 -1
  28. package/library/chunks/{color-swatch-group.mptrPb-B.js → color-swatch-group.BTwy546N.js} +5 -5
  29. package/library/chunks/{color-swatch.Dhk54Nx0.js → color-swatch.DHxppzoQ.js} +1 -1
  30. package/library/chunks/{colorPicker.06n6P3aK.js → colorPicker.r8zsh6Oj.js} +5 -5
  31. package/library/chunks/{confirm-popover.DNmZ61WM.js → confirm-popover.DknitT29.js} +2 -2
  32. package/library/chunks/{content-builder.BAhOkdZ-.js → content-builder.B-bd8FaV.js} +1 -1
  33. package/library/chunks/{cropper.Bib8Abm3.js → cropper.CMfBGsNv.js} +1 -1
  34. package/library/chunks/{dialog.BlHQ-Sh1.js → dialog.BOWFhWcd.js} +1 -1
  35. package/library/chunks/{dot-pagination.BMlLpcfR.js → dot-pagination.CBRkADz0.js} +1 -1
  36. package/library/chunks/{asset.types.KXRZEtBr.js → endpoints.DBlquU2-.js} +417 -418
  37. package/library/chunks/{exporting.Chnl3UWi.js → exporting.B3VErmmW.js} +2 -2
  38. package/library/chunks/{file-on-demand.Bi_7NCZZ.js → file-on-demand.BVA_s4TR.js} +38 -37
  39. package/library/chunks/{flow.D2CqFQa7.js → flow.gWPD-GN_.js} +5 -5
  40. package/library/chunks/{folder-select.CDqz69bO.js → folder-select.EVuyDx55.js} +98 -98
  41. package/library/chunks/{gantt.DSHD2gjO.js → gantt.D_6T9w75.js} +8 -8
  42. package/library/chunks/{header.yC7IkgNn.js → header.inh-TC_q.js} +1 -1
  43. package/library/chunks/{hierarchy.DwVsMmsP.js → hierarchy.BeJLXp9N.js} +5 -5
  44. package/library/chunks/{hub-connection.Ot2odiCz.js → hub-connection.Dri0ZNfh.js} +1 -1
  45. package/library/chunks/{iframe.Dd2ON7ug.js → iframe.duVt7WWc.js} +1 -1
  46. package/library/chunks/{image.CR_LHEaY.js → image.DdtDzup6.js} +1 -1
  47. package/library/chunks/{index.C9khsiad.js → index.CnBD7_1u.js} +17 -17
  48. package/library/chunks/{json.zyETMOw-.js → json.BTCD_bjV.js} +3 -3
  49. package/library/chunks/{list-editor.C-1YI7Bb.js → list-editor.DKEh6VBL.js} +9 -9
  50. package/library/chunks/{map.CqM2O6LB.js → map.HWubaOh9.js} +2 -2
  51. package/library/chunks/{option.CdZHtENS.js → option.B6cSZiX6.js} +1 -1
  52. package/library/chunks/{pagination.CDCYbCV4.js → pagination.RXrwBaR8.js} +3 -3
  53. package/library/chunks/{percent.DuQwbCCg.js → percent.0CeOGNP1.js} +3 -3
  54. package/library/chunks/{radar.FpYl3UH5.js → radar.CDUzjkcg.js} +4 -4
  55. package/library/chunks/{responsive._tydujAy.js → responsive.Aigicabj.js} +1 -1
  56. package/library/chunks/{sliceGrouper.BsE7fGMt.js → sliceGrouper.nPe6eWIh.js} +1 -1
  57. package/library/chunks/{stock.BR-ag4Pt.js → stock.CmWtnkxv.js} +9 -9
  58. package/library/chunks/{tab-group.DtGFedcf.js → tab-group.BA4PlJhR.js} +2 -2
  59. package/library/chunks/{table.kjsxIRt-.js → table.Dh2C2f1c.js} +4 -4
  60. package/library/chunks/{timeline.DkzkmgEM.js → timeline.DDCHQ84a.js} +5 -5
  61. package/library/chunks/{toString.CL_lYXbK.js → toString.CAY8lys2.js} +1 -1
  62. package/library/chunks/{transformation.Dir8s_wm.js → transformation.BlQCWMfI.js} +1 -1
  63. package/library/chunks/{tree.D__u64uY.js → tree.BO4oLcdB.js} +1 -1
  64. package/library/chunks/{venn.D739bOV3.js → venn.BZgn9wxo.js} +1 -1
  65. package/library/chunks/{watch.BCJD77bD.js → watch.CThbualB.js} +8 -8
  66. package/library/chunks/{wc.DzW311D-.js → wc.BUEDSaz-.js} +1 -1
  67. package/library/chunks/{xy.DCRDfTsa.js → xy.Wbux-yPv.js} +10 -10
  68. package/library/components/alert.js +1 -1
  69. package/library/components/am-chart.js +2 -2
  70. package/library/components/animated-image.js +1 -1
  71. package/library/components/animation.js +2 -2
  72. package/library/components/array-line-clamp.js +1 -1
  73. package/library/components/asset-link-format.js +14 -9
  74. package/library/components/atoms.js +15 -15
  75. package/library/components/audio.js +1 -1
  76. package/library/components/avatar.js +1 -1
  77. package/library/components/breadcrumb-item.js +1 -1
  78. package/library/components/button.js +2 -2
  79. package/library/components/checkbox.js +1 -1
  80. package/library/components/color-picker.js +2 -2
  81. package/library/components/color-swatch-group.js +6 -6
  82. package/library/components/color-swatch.js +2 -2
  83. package/library/components/confirm-popover.js +3 -3
  84. package/library/components/copy-button.js +1 -1
  85. package/library/components/corner-position-input-group.js +1 -1
  86. package/library/components/cropper.js +2 -2
  87. package/library/components/details.js +1 -1
  88. package/library/components/dialog.js +2 -2
  89. package/library/components/divider.js +1 -1
  90. package/library/components/dot-pagination.js +2 -2
  91. package/library/components/drawer.js +2 -2
  92. package/library/components/dropdown.js +1 -1
  93. package/library/components/dynamic-select.js +6 -5
  94. package/library/components/e-chart.js +1 -1
  95. package/library/components/element-clamp.js +2 -2
  96. package/library/components/file-on-demand.js +8 -8
  97. package/library/components/folder-select.js +4 -4
  98. package/library/components/format-time.js +1 -1
  99. package/library/components/grid-item.js +1 -1
  100. package/library/components/header.js +2 -2
  101. package/library/components/hub-connection.js +2 -2
  102. package/library/components/icon.js +1 -1
  103. package/library/components/iframe.js +2 -2
  104. package/library/components/image-comparer.js +1 -1
  105. package/library/components/image.js +2 -2
  106. package/library/components/include.js +1 -1
  107. package/library/components/input.js +1 -1
  108. package/library/components/line-clamp.js +1 -1
  109. package/library/components/list-editor.js +6 -6
  110. package/library/components/markdown.js +1 -1
  111. package/library/components/masonry.js +2 -2
  112. package/library/components/menu-item.js +1 -1
  113. package/library/components/molecules.js +5 -5
  114. package/library/components/mutation-observer.js +1 -1
  115. package/library/components/option.js +2 -2
  116. package/library/components/organisms.js +2 -2
  117. package/library/components/pagination.js +4 -4
  118. package/library/components/qr-code.js +1 -1
  119. package/library/components/radio-button.js +1 -1
  120. package/library/components/radio-card.js +1 -1
  121. package/library/components/radio-group.js +1 -1
  122. package/library/components/radio.js +1 -1
  123. package/library/components/range.js +1 -1
  124. package/library/components/rating.js +1 -1
  125. package/library/components/resize-observer.js +1 -1
  126. package/library/components/select.js +2 -2
  127. package/library/components/share-option-list.js +1 -1
  128. package/library/components/sidebar.js +1 -1
  129. package/library/components/size-input-group.js +1 -1
  130. package/library/components/split-panel.js +1 -1
  131. package/library/components/stepper.js +1 -1
  132. package/library/components/switch.js +1 -1
  133. package/library/components/tab-group.js +3 -3
  134. package/library/components/tab-panel.js +1 -1
  135. package/library/components/tab.js +1 -1
  136. package/library/components/table.js +4 -4
  137. package/library/components/textarea.js +1 -1
  138. package/library/components/timecode.js +1 -1
  139. package/library/components/tooltip.js +1 -1
  140. package/library/components/tree-item.js +2 -2
  141. package/library/components/tree.js +2 -2
  142. package/library/components/typeface.js +1 -1
  143. package/library/components/types.js +3180 -3172
  144. package/library/components/video.js +2 -2
  145. package/library/package.json +1 -1
  146. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +5 -0
  147. package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.d.ts +2 -0
  148. package/library/packages/types/src/asset-link-format.d.ts +1 -0
  149. package/library/packages/types/src/gallery-item.d.ts +2 -0
  150. package/library/react-web-component.d.ts +7 -3
  151. package/library/utils.js +4 -4
  152. package/package.json +1 -1
  153. package/library/chunks/_baseUniq.BUihBa8c.js +0 -202
  154. package/library/chunks/asset-link-format.BSRDqHg7.js +0 -6
  155. package/library/packages/services/src/api/asset/asset.types.d.ts +0 -233
@@ -1,5 +1,5 @@
1
- import { E as F, a7 as V, z as O, _ as f, e as S, a8 as H, a9 as z, aa as D, a as W, ab as N, f as U, ac as x, ad as I, ae as J, M as q, s as G, c as w, g as K, af as j, ag as Q, ah as $, ai as Y, C as Z, x as T } from "./am-chart.H2jnOzFc.js";
2
- import { P as tt } from "./Picture.YSPC0l0Q.js";
1
+ import { E as F, a7 as V, z as O, _ as f, e as S, a8 as H, a9 as z, aa as D, a as W, ab as N, f as U, ac as x, ad as I, ae as J, M as q, s as G, c as w, g as K, af as j, ag as Q, ah as $, ai as Y, C as Z, x as T } from "./am-chart.sBfZlJdc.js";
2
+ import { P as tt } from "./Picture.DVyGQOmS.js";
3
3
  let L;
4
4
  function et() {
5
5
  return f(this, void 0, void 0, function* () {
@@ -1,11 +1,11 @@
1
1
  import J from "../components/icon.js";
2
2
  import Q from "../components/line-clamp.js";
3
- import { C as bt, s as $t, a as St, b as dt } from "./tree.D__u64uY.js";
3
+ import { C as bt, s as $t, a as St, b as dt } from "./tree.BO4oLcdB.js";
4
4
  import { n as d, C as H } from "./lib-cortex-element.CVMmyPMC.js";
5
5
  import { c as tt } from "./component.styles.CRO4Odto.js";
6
6
  import { c as W } from "./custom-element.L4WJXn1j.js";
7
7
  import { L as q } from "./i18n.DmmFsjwP.js";
8
- import { k as Et, h as It, i as wt, w as P, j as Lt, l as Ft, f as Ut, g as Rt, d as kt, m as Ot, n as Nt } from "./watch.BCJD77bD.js";
8
+ import { k as Et, h as It, i as wt, w as P, j as Lt, l as Ft, a as Ut, c as Rt, g as kt, m as Ot, n as Nt } from "./watch.CThbualB.js";
9
9
  import { p as R } from "./string.DUgD4c9f.js";
10
10
  import { x as n, i as ot, E as jt } from "./lit-element.jLBm65_O.js";
11
11
  import { r as u } from "./state.CSDxrqLd.js";
@@ -13,28 +13,29 @@ import { e as z } from "./query.BBf1UFkC.js";
13
13
  import { e as C } from "./class-map.BiVq-cVR.js";
14
14
  import { c as U } from "./repeat.DbF2p5ae.js";
15
15
  import { n as p } from "./when.Dr1es41R.js";
16
- import { a as Bt, i as Ct, c as Mt, b as ht } from "./_baseUniq.BUihBa8c.js";
17
- import Vt from "../components/avatar.js";
18
- import { C as Ht } from "./button.B8q9TnbJ.js";
19
- import { C as Wt } from "./dialog.BlHQ-Sh1.js";
20
- import qt from "../components/divider.js";
16
+ import { b as Bt, i as Ct } from "./_baseIteratee.DpzDid58.js";
17
+ import Mt from "../components/avatar.js";
18
+ import { C as Vt } from "./button.CZ-e_TGN.js";
19
+ import { C as Ht } from "./dialog.BOWFhWcd.js";
20
+ import Wt from "../components/divider.js";
21
21
  import nt from "../components/format-bytes.js";
22
22
  import { C as At } from "./icon-button.CHh2iNJJ.js";
23
- import Gt from "../components/input.js";
24
- import { C as Yt } from "./option.CdZHtENS.js";
23
+ import qt from "../components/input.js";
24
+ import { C as Gt } from "./option.B6cSZiX6.js";
25
25
  import Dt from "../components/relative-time.js";
26
- import Kt from "../components/select.js";
27
- import Zt from "../components/space.js";
28
- import Xt from "../components/tab.js";
29
- import { C as Jt } from "./tab-group.DtGFedcf.js";
30
- import Qt from "../components/tab-panel.js";
26
+ import Yt from "../components/select.js";
27
+ import Kt from "../components/space.js";
28
+ import Zt from "../components/tab.js";
29
+ import { C as Xt } from "./tab-group.BA4PlJhR.js";
30
+ import Jt from "../components/tab-panel.js";
31
31
  import Tt from "../components/tooltip.js";
32
32
  import { C as rt } from "./typography.DJC_UXgs.js";
33
- import { C as te } from "./confirm-popover.DNmZ61WM.js";
34
- import { d as ee } from "./debounce.CIEhztrj.js";
33
+ import { C as Qt } from "./confirm-popover.DknitT29.js";
34
+ import { d as te } from "./debounce.CIEhztrj.js";
35
35
  import { a as et } from "./number.B4PQLJIg.js";
36
- import { i as K, a as pt } from "./url.Cj9cIQXJ.js";
37
- import { a as se } from "./toString.CL_lYXbK.js";
36
+ import { i as K, a as ht } from "./url.Cj9cIQXJ.js";
37
+ import { a as ee, b as pt } from "./_baseUniq.HFKneygy.js";
38
+ import { a as se } from "./toString.CAY8lys2.js";
38
39
  import { S as ut, i as ie } from "./isObjectLike.z36Fu426.js";
39
40
  import ae from "../components/progress-bar.js";
40
41
  import oe from "../components/spinner.js";
@@ -636,7 +637,7 @@ function je(t, e) {
636
637
  }
637
638
  var Be = 200;
638
639
  function Me(t, e, i, a) {
639
- var s = -1, o = Mt, c = !0, h = t.length, _ = [], m = e.length;
640
+ var s = -1, o = ee, c = !0, h = t.length, _ = [], m = e.length;
640
641
  if (!h)
641
642
  return _;
642
643
  i && (e = se(e, Ft(i))), e.length >= Be && (o = Rt, c = !1, e = new Ut(e));
@@ -667,11 +668,11 @@ function He(t, e, i, a, s) {
667
668
  function We(t, e, i) {
668
669
  var a = t.length;
669
670
  if (a < 2)
670
- return a ? ht(t[0]) : [];
671
+ return a ? pt(t[0]) : [];
671
672
  for (var s = -1, o = Array(a); ++s < a; )
672
673
  for (var c = t[s], h = -1; ++h < a; )
673
674
  h != s && (o[s] = Me(o[s] || c, t[h], e, i));
674
- return ht(He(o), e, i);
675
+ return pt(He(o), e, i);
675
676
  }
676
677
  function qe(t) {
677
678
  return ie(t) && It(t);
@@ -767,7 +768,7 @@ j([
767
768
  T = j([
768
769
  W("cx-file-on-demand-pinned-status")
769
770
  ], T);
770
- const Ke = ot`:host{padding:var(--cx-spacing-2x-small) var(--cx-spacing-small);display:block}.asset{max-height:var(--asset-height);gap:var(--cx-spacing-small);display:flex}:host(:hover){background-color:var(--cx-input-filled-background-color-hover)}.asset__description{flex-direction:column;flex:1;justify-content:center;width:0;display:flex}.asset__description__label{display:flex}.asset__description__label__text{flex-grow:1;flex-shrink:1;overflow:hidden}.asset__description__status{color:var(--cx-color-neutral-500);line-height:var(--cx-line-height-medium)}.asset__actions{justify-content:flex-end;align-items:center;min-width:64px;display:flex}.asset:hover .asset__actions{visibility:visible;opacity:1}.asset__actions{visibility:hidden;opacity:0}.asset__actions__spinner{min-height:var(--cx-input-height-medium);min-width:var(--cx-input-height-medium);justify-content:center;align-items:center;display:flex}.asset__actions__spinner::part(base){flex-grow:0}.asset__thumbnail{width:56px;height:var(--asset-height);border-radius:var(--cx-border-radius-medium);justify-content:center;align-items:center;display:flex;position:relative}.asset__thumbnail--placeholder{background-color:var(--cx-color-primary-50)}.asset__thumbnail--folder{background-color:var(--cx-color-neutral-100)}.asset__thumbnail__image{object-fit:cover;border-radius:var(--cx-border-radius-medium);flex-shrink:0;width:100%;height:100%}.asset__thumbnail__icon{--font-size:38px;color:var(--cx-color-primary-400);display:none}.asset__folder__icon{--font-size:var(--cx-font-size-x-large);color:var(--cx-color-neutral-600)}.asset__thumbnail__extension{bottom:var(--cx-spacing-3x-small);width:26px;color:var(--cx-color-primary-50);display:none;position:absolute;left:50%;transform:translate(-50%)}.asset__thumbnail__extension__line-clamp{text-align:center;width:100%}.asset__thumbnail__extension__text{text-transform:uppercase;flex-grow:1;flex-shrink:1;display:contents;overflow:hidden}.asset__thumbnail--placeholder .asset__thumbnail__image{display:none}.asset__thumbnail--placeholder .asset__thumbnail__icon,.asset__thumbnail--placeholder .asset__thumbnail__extension{display:flex}cx-progress-bar{--height:4px;--indicator-color:var(--color);--track-color:var(--cx-color-neutral-300);z-index:0}.progress{align-items:center;gap:var(--cx-spacing-2x-small);width:100%;margin-top:var(--cx-spacing-3x-small);display:flex}.syncing-progress,.completed-progress,.failed-progress,.canceled-progress{margin-top:var(--cx-spacing-2x-small)}.progress *{white-space:nowrap}.progress cx-icon{--font-size:var(--cx-font-size-medium)}.progress cx-typography::part(base){line-height:var(--cx-font-size-medium)}.uploading-progress.in-progress cx-icon{color:var(--cx-color-primary-500)}.uploading-progress.paused cx-icon{color:var(--cx-color-warning-500)}.syncing-progress cx-icon{color:var(--cx-color-warning)}.completed-progress cx-icon{color:var(--cx-color-success)}.failed-progress cx-icon,.failed-progress__text{color:var(--cx-color-danger);cursor:help}.canceled-progress cx-icon{color:var(--cx-color-neutral-600)}.file-on-demand-pinned-status__success cx-icon,.file-on-demand-pinned-status__in-progress cx-icon{color:var(--cx-color-success-500)}.file-on-demand-pinned-status__failed cx-icon{color:var(--cx-color-danger-500)}.file-on-demand-pinned-status__canceled cx-icon{color:var(--cx-color-neutral-500)}`;
771
+ const Ke = ot`:host{--cx-asset-thumbnail-width:56px;padding:var(--cx-spacing-2x-small) var(--cx-spacing-small);display:block}.asset{max-height:var(--asset-height);gap:var(--cx-spacing-small);display:flex}:host(:hover){background-color:var(--cx-input-filled-background-color-hover)}.asset__description{flex-direction:column;flex:1;justify-content:center;width:0;display:flex}.asset__description__label{display:flex}.asset__description__label__text{flex-grow:1;flex-shrink:1;overflow:hidden}.asset__description__status{color:var(--cx-color-neutral-500);line-height:var(--cx-line-height-medium)}.asset__actions{justify-content:flex-end;align-items:center;min-width:64px;display:flex}.asset:hover .asset__actions{visibility:visible;opacity:1}.asset__actions{visibility:hidden;opacity:0}.asset__actions__spinner{min-height:var(--cx-input-height-medium);min-width:var(--cx-input-height-medium);justify-content:center;align-items:center;display:flex}.asset__actions__spinner::part(base){flex-grow:0}.asset__thumbnail{width:var(--cx-asset-thumbnail-width);height:var(--asset-height);background-color:var(--cx-color-neutral-100);border-radius:var(--cx-border-radius-medium);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.asset__thumbnail--placeholder{background-color:var(--cx-color-primary-50)}.asset__thumbnail--folder{background-color:var(--cx-color-neutral-100)}.asset__thumbnail__image{height:100%;max-width:var(--cx-asset-thumbnail-width);object-fit:cover;flex-shrink:0}.asset__thumbnail__icon{--font-size:38px;color:var(--cx-color-primary-400);display:none}.asset__folder__icon{--font-size:var(--cx-font-size-x-large);color:var(--cx-color-neutral-600)}.asset__thumbnail__extension{bottom:var(--cx-spacing-3x-small);width:26px;color:var(--cx-color-primary-50);display:none;position:absolute;left:50%;transform:translate(-50%)}.asset__thumbnail__extension__line-clamp{text-align:center;width:100%}.asset__thumbnail__extension__text{text-transform:uppercase;flex-grow:1;flex-shrink:1;display:contents;overflow:hidden}.asset__thumbnail--placeholder .asset__thumbnail__image{display:none}.asset__thumbnail--placeholder .asset__thumbnail__icon,.asset__thumbnail--placeholder .asset__thumbnail__extension{display:flex}cx-progress-bar{--height:4px;--indicator-color:var(--color);--track-color:var(--cx-color-neutral-300);z-index:0}.progress{align-items:center;gap:var(--cx-spacing-2x-small);width:100%;margin-top:var(--cx-spacing-3x-small);display:flex}.syncing-progress,.completed-progress,.failed-progress,.canceled-progress{margin-top:var(--cx-spacing-2x-small)}.progress *{white-space:nowrap}.progress cx-icon{--font-size:var(--cx-font-size-medium)}.progress cx-typography::part(base){line-height:var(--cx-font-size-medium)}.uploading-progress.in-progress cx-icon{color:var(--cx-color-primary-500)}.uploading-progress.paused cx-icon{color:var(--cx-color-warning-500)}.syncing-progress cx-icon{color:var(--cx-color-warning)}.completed-progress cx-icon{color:var(--cx-color-success)}.failed-progress cx-icon,.failed-progress__text{color:var(--cx-color-danger);cursor:help}.canceled-progress cx-icon{color:var(--cx-color-neutral-600)}.file-on-demand-pinned-status__success cx-icon,.file-on-demand-pinned-status__in-progress cx-icon{color:var(--cx-color-success-500)}.file-on-demand-pinned-status__failed cx-icon{color:var(--cx-color-danger-500)}.file-on-demand-pinned-status__canceled cx-icon{color:var(--cx-color-neutral-500)}`;
771
772
  var Ze = Object.defineProperty, Xe = Object.getOwnPropertyDescriptor, V = (t, e, i, a) => {
772
773
  for (var s = a > 1 ? void 0 : a ? Xe(e, i) : e, o = t.length - 1, c; o >= 0; o--)
773
774
  (c = t[o]) && (s = (a ? c(e, i, s) : c(s)) || s);
@@ -1169,7 +1170,7 @@ let r = class extends H {
1169
1170
  connect(t = null) {
1170
1171
  if (t?.preventDefault(), this.connectError = "", !this.siteUrl?.trim())
1171
1172
  return;
1172
- const e = pt(this.siteUrl);
1173
+ const e = ht(this.siteUrl);
1173
1174
  if (!K(e)) {
1174
1175
  this.connectError = this.localize.term("pleaseEnterAValidUrl");
1175
1176
  return;
@@ -1630,7 +1631,7 @@ let r = class extends H {
1630
1631
  }
1631
1632
  handleConnectionURLInput(t) {
1632
1633
  this.validConnectionUrl = !0, this.siteUrl = t.target.value.trim();
1633
- const e = pt(this.siteUrl);
1634
+ const e = ht(this.siteUrl);
1634
1635
  K(e) || (this.validConnectionUrl = !1);
1635
1636
  }
1636
1637
  renderWelcomeView() {
@@ -1663,25 +1664,25 @@ let r = class extends H {
1663
1664
  };
1664
1665
  r.styles = Je;
1665
1666
  r.dependencies = {
1666
- "cx-avatar": Vt,
1667
- "cx-button": Ht,
1668
- "cx-confirm-popover": te,
1669
- "cx-dialog": Wt,
1670
- "cx-divider": qt,
1667
+ "cx-avatar": Mt,
1668
+ "cx-button": Vt,
1669
+ "cx-confirm-popover": Qt,
1670
+ "cx-dialog": Ht,
1671
+ "cx-divider": Wt,
1671
1672
  "cx-file-on-demand-asset": L,
1672
1673
  "cx-folder-tree": b,
1673
1674
  "cx-format-bytes": nt,
1674
1675
  "cx-icon": J,
1675
1676
  "cx-icon-button": At,
1676
- "cx-input": Gt,
1677
+ "cx-input": qt,
1677
1678
  "cx-line-clamp": Q,
1678
- "cx-option": Yt,
1679
+ "cx-option": Gt,
1679
1680
  "cx-relative-time": Dt,
1680
- "cx-select": Kt,
1681
- "cx-space": Zt,
1682
- "cx-tab": Xt,
1683
- "cx-tab-group": Jt,
1684
- "cx-tab-panel": Qt,
1681
+ "cx-select": Yt,
1682
+ "cx-space": Kt,
1683
+ "cx-tab": Zt,
1684
+ "cx-tab-group": Xt,
1685
+ "cx-tab-panel": Jt,
1685
1686
  "cx-tooltip": Tt,
1686
1687
  "cx-tree": St,
1687
1688
  "cx-tree-item": bt,
@@ -1944,7 +1945,7 @@ l([
1944
1945
  ], r.prototype, "searchText", 2);
1945
1946
  l([
1946
1947
  P(["searchText"]),
1947
- ee(200)
1948
+ te(200)
1948
1949
  ], r.prototype, "onSearch", 1);
1949
1950
  l([
1950
1951
  P("cacheLocation")
@@ -1,11 +1,11 @@
1
- import { D as at, x as z, al as lt, e as N, am as he, q as I, H as ct, F as ht, I as gt, J as ve, C as Ge, a as $, _ as oe, b7 as ut, L as O, T as B, b as Qe, aj as re, j as G, h as M, G as Ze, P as dt, b8 as ft, b9 as De, m as le, o as ge, r as Ae, b5 as Fe, R as pt, aZ as K, b3 as Oe, ba as kt, bb as mt } from "./am-chart.H2jnOzFc.js";
2
- import { L as Be } from "./LinearGradient.B1z9AGUt.js";
1
+ import { D as at, x as z, al as lt, e as N, am as he, q as I, H as ct, F as ht, I as gt, J as ve, C as Ge, a as $, _ as oe, b7 as ut, L as O, T as B, b as Qe, aj as re, j as G, h as M, G as Ze, P as dt, b8 as ft, b9 as De, m as le, o as ge, r as Ae, b5 as Fe, R as pt, aZ as K, b3 as Oe, ba as kt, bb as mt } from "./am-chart.sBfZlJdc.js";
2
+ import { L as Be } from "./LinearGradient.BM0pPmvI.js";
3
3
  import "./index.DcjJFMlq.js";
4
4
  import "./transform.BuqENXeT.js";
5
- import { S as yt } from "./Slice.DiEswWa6.js";
6
- import { R as _t } from "./RadialLabel.DyVOf2K8.js";
5
+ import { S as yt } from "./Slice.BIXpM75a.js";
6
+ import { R as _t } from "./RadialLabel.Dgipjivh.js";
7
7
  import { c as We, a as ze } from "./MonotoneXTension.CJMEHHj3.js";
8
- import { C as wt } from "./Circle.DBa5Ok8V.js";
8
+ import { C as wt } from "./Circle.BaJWdg6Z.js";
9
9
  class xt extends at {
10
10
  setupDefaultRules() {
11
11
  super.setupDefaultRules();
@@ -1,72 +1,72 @@
1
- import H from "../components/icon.js";
2
- import oe from "../components/input.js";
3
- import j from "../components/line-clamp.js";
4
- import ce from "../components/select.js";
5
- import ne from "../components/tag.js";
6
- import { C as g, a as he } from "./tree.D__u64uY.js";
7
- import { n as r, C as R } from "./lib-cortex-element.CVMmyPMC.js";
8
- import { h as V, F as de, M as B, c as pe } from "./asset.types.KXRZEtBr.js";
9
- import { c as Z } from "./component.styles.CRO4Odto.js";
10
- import { c as U } from "./custom-element.L4WJXn1j.js";
11
- import { L as M } from "./i18n.DmmFsjwP.js";
12
- import { w as f } from "./watch.BCJD77bD.js";
13
- import { x as m, i as ue } from "./lit-element.jLBm65_O.js";
1
+ import N from "../components/icon.js";
2
+ import ie from "../components/input.js";
3
+ import H from "../components/line-clamp.js";
4
+ import oe from "../components/select.js";
5
+ import ce from "../components/tag.js";
6
+ import { C as g, a as ne } from "./tree.BO4oLcdB.js";
7
+ import { n as r, C as U } from "./lib-cortex-element.CVMmyPMC.js";
8
+ import { h as R, F as he, c as de } from "./endpoints.DBlquU2-.js";
9
+ import { M as k } from "./asset-link-format.B0c92pSs.js";
10
+ import { c as j } from "./component.styles.CRO4Odto.js";
11
+ import { c as M } from "./custom-element.L4WJXn1j.js";
12
+ import { L } from "./i18n.DmmFsjwP.js";
13
+ import { w as f } from "./watch.CThbualB.js";
14
+ import { x as m, i as pe } from "./lit-element.jLBm65_O.js";
14
15
  import { r as x } from "./state.CSDxrqLd.js";
15
- import { e as J } from "./query.BBf1UFkC.js";
16
- import { r as fe } from "./choose.BTbF6BAn.js";
17
- import { C as K } from "./button.B8q9TnbJ.js";
18
- import { d as me } from "./debounce.CIEhztrj.js";
19
- import { g as X, p as W, e as ye } from "./string.DUgD4c9f.js";
16
+ import { e as Z } from "./query.BBf1UFkC.js";
17
+ import { r as ue } from "./choose.BTbF6BAn.js";
18
+ import { C as J } from "./button.CZ-e_TGN.js";
19
+ import { d as fe } from "./debounce.CIEhztrj.js";
20
+ import { g as K, p as W, e as me } from "./string.DUgD4c9f.js";
20
21
  import { o as y } from "./if-defined.BRoBj_Rp.js";
21
- import { c as Y } from "./repeat.DbF2p5ae.js";
22
+ import { c as X } from "./repeat.DbF2p5ae.js";
22
23
  import { n as _ } from "./when.Dr1es41R.js";
23
- import xe from "../components/space.js";
24
- import { M as q } from "./asset-link-format.BSRDqHg7.js";
25
- import { g as be } from "./template.ClovJacp.js";
26
- import { e as ge } from "./class-map.BiVq-cVR.js";
24
+ import ye from "../components/space.js";
25
+ import { g as xe } from "./template.ClovJacp.js";
26
+ import { e as be } from "./class-map.BiVq-cVR.js";
27
27
  var v = /* @__PURE__ */ ((e) => (e.CortexPath = "Document.CortexPath", e.DocType = "CoreField.DocType", e.HasBrowserChildren = "Document.HasBrowserChildren", e.RepresentativeAssetId = "Document.DocumentDirectRepresentativeRID", e.TitleWithFallback = "CoreField.TitleWithFallback", e.rawDocSubtype = "Document.RawDocSubType", e))(v || {});
28
- const ve = 50;
29
- async function L({
28
+ const ge = 50;
29
+ async function G({
30
30
  allowedFolders: e,
31
31
  baseUrl: t,
32
32
  bearerToken: s,
33
33
  excludeVirtualFolders: l,
34
34
  folderId: a,
35
35
  includeDirectChild: p,
36
- limit: u = ve,
36
+ limit: u = ge,
37
37
  searchTerm: $,
38
38
  self: F,
39
- start: G = 0,
40
- token: ae
39
+ start: A = 0,
40
+ token: se
41
41
  }) {
42
- let k = [], A = p ?? !0;
43
- e && e.length > 0 && !a ? (k = e, F = !0, A = !1) : a && (k = [a]);
42
+ let w = [], z = p ?? !0;
43
+ e && e.length > 0 && !a ? (w = e, F = !0, z = !1) : a && (w = [a]);
44
44
  try {
45
- return (await V.request({
45
+ return (await R.request({
46
46
  baseURL: t,
47
47
  headers: {
48
48
  Authorization: `Bearer ${s}`
49
49
  },
50
50
  method: "GET",
51
51
  params: {
52
- IncludeDirectChild: A,
52
+ IncludeDirectChild: z,
53
53
  IncludeVirtualFolders: !l,
54
54
  Limit: u,
55
- ObjectRecordIDs: k,
55
+ ObjectRecordIDs: w,
56
56
  SeeThru: !!$,
57
57
  Self: F,
58
- Start: G,
58
+ Start: A,
59
59
  Text: $ || void 0,
60
- Token: ae || void 0
60
+ Token: se || void 0
61
61
  },
62
62
  paramsSerializer: {
63
63
  indexes: null
64
64
  },
65
65
  responseType: "json",
66
66
  transformResponse: [
67
- ...Array.isArray(V.defaults.transformResponse) ? V.defaults.transformResponse : [],
68
- (S, Pe, w) => {
69
- if (w !== void 0 && (w < 200 || w >= 300))
67
+ ...Array.isArray(R.defaults.transformResponse) ? R.defaults.transformResponse : [],
68
+ (S, Oe, O) => {
69
+ if (O !== void 0 && (O < 200 || O >= 300))
70
70
  return {
71
71
  data: [],
72
72
  hasMore: !1,
@@ -74,27 +74,27 @@ async function L({
74
74
  };
75
75
  if (!S || typeof S != "object")
76
76
  throw new Error("Invalid response format");
77
- const ie = S.contentItems?.length ?? 0;
77
+ const le = S.contentItems?.length ?? 0;
78
78
  return {
79
79
  data: S.contentItems?.map((b) => {
80
- const O = b.fields[v.DocType] ?? "", P = b.fields[v.TitleWithFallback] ?? "", I = b.fields[v.CortexPath] ?? "", E = I.endsWith("/") && I.length > 1 ? I.slice(0, -1) : I;
81
- let z = E;
82
- return (O === B.Album || O === B.ProjectDocument) && (z = E ? `${E}/${P}` : P), {
83
- docType: O,
84
- fullPath: z,
80
+ const P = b.fields[v.DocType] ?? "", E = b.fields[v.TitleWithFallback] ?? "", I = b.fields[v.CortexPath] ?? "", V = I.endsWith("/") && I.length > 1 ? I.slice(0, -1) : I;
81
+ let B = V;
82
+ return (P === k.Album || P === k.ProjectDocument) && (B = V ? `${V}/${E}` : E), {
83
+ docType: P,
84
+ fullPath: B,
85
85
  hasChildren: b.fields[v.HasBrowserChildren] === "1",
86
86
  id: b.recordID,
87
87
  isShared: b.fields[v.rawDocSubtype] === "DO_OR1ND000001913488",
88
88
  representativeAssetId: b.fields[v.RepresentativeAssetId] ?? "",
89
- title: P
89
+ title: E
90
90
  };
91
91
  }) ?? [],
92
- hasMore: G + ie < S.totalCount,
92
+ hasMore: A + le < S.totalCount,
93
93
  totalCount: S.totalCount
94
94
  };
95
95
  }
96
96
  ],
97
- url: de
97
+ url: he
98
98
  })).data;
99
99
  } catch {
100
100
  return {
@@ -104,14 +104,14 @@ async function L({
104
104
  };
105
105
  }
106
106
  }
107
- var C = /* @__PURE__ */ ((e) => (e.Input = "input", e.Select = "select", e))(C || {}), $e = Object.defineProperty, Se = Object.getOwnPropertyDescriptor, h = (e, t, s, l) => {
108
- for (var a = l > 1 ? void 0 : l ? Se(t, s) : t, p = e.length - 1, u; p >= 0; p--)
107
+ var C = /* @__PURE__ */ ((e) => (e.Input = "input", e.Select = "select", e))(C || {}), ve = Object.defineProperty, $e = Object.getOwnPropertyDescriptor, h = (e, t, s, l) => {
108
+ for (var a = l > 1 ? void 0 : l ? $e(t, s) : t, p = e.length - 1, u; p >= 0; p--)
109
109
  (u = e[p]) && (a = (l ? u(t, s, a) : u(a)) || a);
110
- return l && a && $e(t, s, a), a;
110
+ return l && a && ve(t, s, a), a;
111
111
  };
112
- let o = class extends R {
112
+ let o = class extends U {
113
113
  constructor() {
114
- super(...arguments), this.localize = new M(this), this.role = "treeitem", this.disabledSyncCheckboxes = !0, this.folderId = "", this.hasChildren = !1, this.selectable = !1, this.fullPath = "", this.docType = q.Story, this.name = "", this.representativeAssetId = "", this.selectedValue = "", this.selection = "single", this.currentRootIDsSet = /* @__PURE__ */ new Set(), this.removedIDs = [], this.token = "", this.bearerToken = "", this.baseUrl = "", this.searchTerm = "", this.api = L, this.excludeVirtualFolders = !1, this.url = "", this.icon = "", this.data = null, this.hasMore = !1, this.loading = !1;
114
+ super(...arguments), this.localize = new L(this), this.role = "treeitem", this.disabledSyncCheckboxes = !0, this.folderId = "", this.hasChildren = !1, this.selectable = !1, this.fullPath = "", this.docType = k.Story, this.name = "", this.representativeAssetId = "", this.selectedValue = "", this.selection = "single", this.currentRootIDsSet = /* @__PURE__ */ new Set(), this.removedIDs = [], this.token = "", this.bearerToken = "", this.baseUrl = "", this.searchTerm = "", this.api = G, this.excludeVirtualFolders = !1, this.url = "", this.icon = "", this.data = null, this.hasMore = !1, this.loading = !1;
115
115
  }
116
116
  /**
117
117
  * This is used to render the cx-tree-item inside the cx-folder-item without the shadow root so that the cx-tree can query select the cx-tree-item inside
@@ -182,11 +182,11 @@ let o = class extends R {
182
182
  async syncBoxes() {
183
183
  if (this.selection !== "multiple" || (await this.updateComplete, !this.treeItem))
184
184
  return;
185
- const e = this.fullPath, t = X({ id: this.folderId, path: e }), s = W(e), l = this.currentRootIDsSet.has(t);
185
+ const e = this.fullPath, t = K({ id: this.folderId, path: e }), s = W(e), l = this.currentRootIDsSet.has(t);
186
186
  let a = !1;
187
187
  if (e)
188
188
  for (const u of this.currentRootIDsSet) {
189
- const $ = ye(u);
189
+ const $ = me(u);
190
190
  if (!$.path.trim() || !$.id.trim())
191
191
  continue;
192
192
  const F = W($.path);
@@ -200,11 +200,11 @@ let o = class extends R {
200
200
  }
201
201
  render() {
202
202
  let e = "filled";
203
- return this.docType === q.Album && (e = "outlined"), m`<cx-tree-item class=${ge({
203
+ return this.docType === k.Album && (e = "outlined"), m`<cx-tree-item class=${be({
204
204
  "folder-select-tree-item": !0
205
205
  })} data-id=${this.folderId} data-url=${y(this.url)} data-name=${y(this.name?.trim() || void 0)} data-representative-asset-id=${y(
206
206
  this.representativeAssetId || void 0
207
- )} role="option" ?lazy=${this.hasChildren && this.data === null} ?selected=${this.selection !== "multiple" && this.selectedValue === this.folderId} ?disabled-sync-checkboxes=${this.selection === "multiple"} .selectable=${this.selectable} @cx-lazy-load=${this.handleLazyLoad}><cx-space class="folder-select-tree-item__label" direction="horizontal" spacing="x-small" align-items="center" wrap="nowrap"><cx-icon class="folder-select-tree__item__icon" name=${this.icon || "folder"} variant=${e}></cx-icon><cx-line-clamp lines="1" class="folder-select-tree-item__title">${be(this.name, this.searchTerm)}</cx-line-clamp></cx-space>${Y(
207
+ )} role="option" ?lazy=${this.hasChildren && this.data === null} ?selected=${this.selection !== "multiple" && this.selectedValue === this.folderId} ?disabled-sync-checkboxes=${this.selection === "multiple"} .selectable=${this.selectable} @cx-lazy-load=${this.handleLazyLoad}><cx-space class="folder-select-tree-item__label" direction="horizontal" spacing="x-small" align-items="center" wrap="nowrap"><cx-icon class="folder-select-tree__item__icon" name=${this.icon || "folder"} variant=${e}></cx-icon><cx-line-clamp lines="1" class="folder-select-tree-item__title">${xe(this.name, this.searchTerm)}</cx-line-clamp></cx-space>${X(
208
208
  this.data || [],
209
209
  (t) => t.id,
210
210
  (t) => m`<cx-folder-select-tree-item slot="children" folder-id=${t.id} full-path=${t.fullPath} name=${t.title} representative-asset-id=${t.representativeAssetId} selected-value=${this.selectedValue} selection=${this.selection} token=${this.token} bearer-token=${this.bearerToken} ?exclude-virtual-folders=${this.excludeVirtualFolders} ?has-children=${t.hasChildren} ?selectable=${this.selectable} base-url=${this.baseUrl} url=${y(t.url ?? void 0)} .api=${this.api} .currentRootIDsSet=${this.currentRootIDsSet} .removedIDs=${this.removedIDs} value=${t.url}></cx-folder-select-tree-item>`
@@ -215,16 +215,16 @@ let o = class extends R {
215
215
  `;
216
216
  }
217
217
  };
218
- o.styles = [Z];
218
+ o.styles = [j];
219
219
  o.dependencies = {
220
- "cx-button": K,
221
- "cx-icon": H,
222
- "cx-line-clamp": j,
223
- "cx-space": xe,
220
+ "cx-button": J,
221
+ "cx-icon": N,
222
+ "cx-line-clamp": H,
223
+ "cx-space": ye,
224
224
  "cx-tree-item": g
225
225
  };
226
226
  h([
227
- J("cx-tree-item")
227
+ Z("cx-tree-item")
228
228
  ], o.prototype, "treeItem", 2);
229
229
  h([
230
230
  r({ attribute: "folder-id", reflect: !0, type: String })
@@ -307,18 +307,18 @@ h([
307
307
  f("folderId")
308
308
  ], o.prototype, "syncBoxes", 1);
309
309
  o = h([
310
- U("cx-folder-select-tree-item")
310
+ M("cx-folder-select-tree-item")
311
311
  ], o);
312
- var Te = Object.defineProperty, Fe = Object.getOwnPropertyDescriptor, ee = (e) => {
312
+ var Se = Object.defineProperty, Te = Object.getOwnPropertyDescriptor, Y = (e) => {
313
313
  throw TypeError(e);
314
314
  }, d = (e, t, s, l) => {
315
- for (var a = l > 1 ? void 0 : l ? Fe(t, s) : t, p = e.length - 1, u; p >= 0; p--)
315
+ for (var a = l > 1 ? void 0 : l ? Te(t, s) : t, p = e.length - 1, u; p >= 0; p--)
316
316
  (u = e[p]) && (a = (l ? u(t, s, a) : u(a)) || a);
317
- return l && a && Te(t, s, a), a;
318
- }, te = (e, t, s) => t.has(e) || ee("Cannot " + s), Ce = (e, t, s) => (te(e, t, "read from private field"), t.get(e)), Ie = (e, t, s) => t.has(e) ? ee("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, s), _e = (e, t, s, l) => (te(e, t, "write to private field"), t.set(e, s), s), D;
319
- let n = class extends R {
317
+ return l && a && Se(t, s, a), a;
318
+ }, ee = (e, t, s) => t.has(e) || Y("Cannot " + s), Fe = (e, t, s) => (ee(e, t, "read from private field"), t.get(e)), Ce = (e, t, s) => t.has(e) ? Y("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, s), Ie = (e, t, s, l) => (ee(e, t, "write to private field"), t.set(e, s), s), D;
319
+ let n = class extends U {
320
320
  constructor() {
321
- super(...arguments), this.localize = new M(this), this.minQueryLength = 1, this.selection = "single", this.searchTerm = "", this.selectedValue = "", this.token = "", this.bearerToken = "", this.baseUrl = "", this.extraFolderId = "", this.extraFolderTitle = "", this.extraFolderIcon = "", this.seeThru = !1, this.extraFolderData = null, this.api = L, this.excludeVirtualFolders = !1, this.firstFetchCallback = null, this.data = [], this.hasMore = !1, this.loading = !1, this.currentRootIDsSet = /* @__PURE__ */ new Set(), this.removedIDs = [], Ie(this, D, !1);
321
+ super(...arguments), this.localize = new L(this), this.minQueryLength = 1, this.selection = "single", this.searchTerm = "", this.selectedValue = "", this.token = "", this.bearerToken = "", this.baseUrl = "", this.extraFolderId = "", this.extraFolderTitle = "", this.extraFolderIcon = "", this.seeThru = !1, this.extraFolderData = null, this.api = G, this.excludeVirtualFolders = !1, this.firstFetchCallback = null, this.data = [], this.hasMore = !1, this.loading = !1, this.currentRootIDsSet = /* @__PURE__ */ new Set(), this.removedIDs = [], Ce(this, D, !1);
322
322
  }
323
323
  get empty() {
324
324
  return !this.loading && this.data.length === 0;
@@ -370,7 +370,7 @@ let n = class extends R {
370
370
  )?.fullPath;
371
371
  if (await t.updateComplete, !s.trim() || !l?.trim())
372
372
  return;
373
- const a = X({ id: s, path: l });
373
+ const a = K({ id: s, path: l });
374
374
  t.indeterminate && !t.selected || (t.selected ? this.currentRootIDsSet.add(a) : this.currentRootIDsSet.delete(a), this.currentRootIDsSet = new Set(this.currentRootIDsSet));
375
375
  }
376
376
  async loadMore(e) {
@@ -394,7 +394,7 @@ let n = class extends R {
394
394
  }
395
395
  async handleFetchFolders() {
396
396
  const { data: e, hasMore: t } = await this.fetchFolders();
397
- Ce(this, D) || e.length > 0 && (this.firstFetchCallback?.(e), _e(this, D, !0)), this.data = e, this.hasMore = t, this.loading = !1;
397
+ Fe(this, D) || e.length > 0 && (this.firstFetchCallback?.(e), Ie(this, D, !0)), this.data = e, this.hasMore = t, this.loading = !1;
398
398
  }
399
399
  async fetchFolders() {
400
400
  if (!this.api)
@@ -436,7 +436,7 @@ let n = class extends R {
436
436
  this.extraFolderData,
437
437
  () => m`<cx-folder-select-tree-item .api=${this.api} .currentRootIDsSet=${this.currentRootIDsSet} .removedIDs=${this.removedIDs} base-url=${this.baseUrl} doc-type=${y(this.extraFolderData?.docType ?? void 0)} folder-id=${y(this.extraFolderData?.id ?? void 0)} full-path=${y(this.extraFolderData?.fullPath ?? void 0)} icon=${this.extraFolderIcon} name=${this.extraFolderTitle || this.extraFolderData?.title} search-term=${this.searchTerm} selected-value=${this.selectedValue} selection=${this.selection} token=${this.token} bearer-token=${this.bearerToken} url=${y(this.extraFolderData?.url ?? void 0)} ?has-children=${this.extraFolderData?.hasChildren} ?selectable=${this.selection === "multiple"} ?exclude-virtual-folders=${this.excludeVirtualFolders}></cx-folder-select-tree-item>`
438
438
  )}
439
- ${Y(
439
+ ${X(
440
440
  this.data,
441
441
  (e) => e.id,
442
442
  (e) => this.renderFolder(e)
@@ -449,9 +449,9 @@ let n = class extends R {
449
449
  };
450
450
  D = /* @__PURE__ */ new WeakMap();
451
451
  n.dependencies = {
452
- "cx-button": K,
452
+ "cx-button": J,
453
453
  "cx-folder-select-tree-item": o,
454
- "cx-tree": he
454
+ "cx-tree": ne
455
455
  };
456
456
  d([
457
457
  r({ attribute: "min-query-length", reflect: !0, type: Number })
@@ -525,33 +525,33 @@ d([
525
525
  f("token", { waitUntilFirstUpdate: !0 }),
526
526
  f("searchTerm", { waitUntilFirstUpdate: !0 }),
527
527
  f("excludeVirtualFolders", { waitUntilFirstUpdate: !0 }),
528
- me(500)
528
+ fe(500)
529
529
  ], n.prototype, "handleFetchFolders", 1);
530
530
  n = d([
531
- U("cx-folder-select-tree")
531
+ M("cx-folder-select-tree")
532
532
  ], n);
533
- const De = ue`:host{flex-direction:column;width:100%;height:100%;min-height:0;max-height:100%;display:flex}.folder-select{gap:var(--cx-spacing-x-small);flex-direction:column;flex:1;width:100%;min-height:0;display:flex}.folder-select__search{flex-shrink:0}.folder-select__tree{flex-direction:column;flex:1;min-height:0;display:flex}.folder-select-tree{flex:1;min-height:0;overflow:auto}.folder-select-tree__item__icon{color:var(--cx-color-primary)}.folder-select-tree__empty-message{font-size:var(--cx-font-size-small);color:var(--cx-color-neutral-500);padding-block:var(--cx-spacing-2x-small);padding-inline:var(--cx-spacing-small);text-align:center;cursor:default;user-select:none}.folder-select-tree__load-more{margin-inline:var(--cx-spacing-small)}.folder-select-tree-item::part(label),.folder-select-tree-item__label,.folder-select-tree-item__title{overflow:hidden}`;
534
- var ke = Object.defineProperty, we = Object.getOwnPropertyDescriptor, re = (e) => {
533
+ const _e = pe`:host{flex-direction:column;width:100%;height:100%;min-height:0;max-height:100%;display:flex}.folder-select{gap:var(--cx-spacing-x-small);flex-direction:column;flex:1;width:100%;min-height:0;display:flex}.folder-select__search{flex-shrink:0}.folder-select__tree{flex-direction:column;flex:1;min-height:0;display:flex}.folder-select-tree{flex:1;min-height:0;overflow:auto}.folder-select-tree__item__icon{color:var(--cx-color-primary)}.folder-select-tree__empty-message{font-size:var(--cx-font-size-small);color:var(--cx-color-neutral-500);padding-block:var(--cx-spacing-2x-small);padding-inline:var(--cx-spacing-small);text-align:center;cursor:default;user-select:none}.folder-select-tree__load-more{margin-inline:var(--cx-spacing-small)}.folder-select-tree-item::part(label),.folder-select-tree-item__label,.folder-select-tree-item__title{overflow:hidden}`;
534
+ var De = Object.defineProperty, ke = Object.getOwnPropertyDescriptor, te = (e) => {
535
535
  throw TypeError(e);
536
536
  }, c = (e, t, s, l) => {
537
- for (var a = l > 1 ? void 0 : l ? we(t, s) : t, p = e.length - 1, u; p >= 0; p--)
537
+ for (var a = l > 1 ? void 0 : l ? ke(t, s) : t, p = e.length - 1, u; p >= 0; p--)
538
538
  (u = e[p]) && (a = (l ? u(t, s, a) : u(a)) || a);
539
- return l && a && ke(t, s, a), a;
540
- }, se = (e, t, s) => t.has(e) || re("Cannot " + s), Q = (e, t, s) => (se(e, t, "read from private field"), s ? s.call(e) : t.get(e)), Oe = (e, t, s) => t.has(e) ? re("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, s), N = (e, t, s, l) => (se(e, t, "write to private field"), t.set(e, s), s), T;
541
- let i = class extends R {
539
+ return l && a && De(t, s, a), a;
540
+ }, re = (e, t, s) => t.has(e) || te("Cannot " + s), q = (e, t, s) => (re(e, t, "read from private field"), s ? s.call(e) : t.get(e)), we = (e, t, s) => t.has(e) ? te("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, s), Q = (e, t, s, l) => (re(e, t, "write to private field"), t.set(e, s), s), T;
541
+ let i = class extends U {
542
542
  constructor() {
543
- super(), this.localize = new M(this), this.minQueryLength = 1, this.selection = "single", this.variant = C.Input, this.value = "", this.name = "", this.selectedLabel = "", this.baseUrl = "", this.open = !1, this.token = "", this.bearerToken = "", this.seeThru = !1, this.api = L, this.required = !1, this.form = void 0, this.excludeVirtualFolders = !1, this.extraFolderId = "", this.extraFolderTitle = "", this.extraFolderIcon = "", this.firstFetchCallback = null, this.searchTerm = "", Oe(this, T), this.selectGetOptionValue = this.selectGetOptionValue.bind(this), this.selectGetOptionLabel = this.selectGetOptionLabel.bind(this), this.selectGetOptionSelected = this.selectGetOptionSelected.bind(this), this.selectFilterCallback = this.selectFilterCallback.bind(this), this.selectSetOptionSelected = this.selectSetOptionSelected.bind(this), this.selectGetTag = this.selectGetTag.bind(this), this.updateWrappedApi();
543
+ super(), this.localize = new L(this), this.minQueryLength = 1, this.selection = "single", this.variant = C.Input, this.value = "", this.name = "", this.selectedLabel = "", this.baseUrl = "", this.open = !1, this.token = "", this.bearerToken = "", this.seeThru = !1, this.api = G, this.required = !1, this.form = void 0, this.excludeVirtualFolders = !1, this.extraFolderId = "", this.extraFolderTitle = "", this.extraFolderIcon = "", this.firstFetchCallback = null, this.searchTerm = "", we(this, T), this.selectGetOptionValue = this.selectGetOptionValue.bind(this), this.selectGetOptionLabel = this.selectGetOptionLabel.bind(this), this.selectGetOptionSelected = this.selectGetOptionSelected.bind(this), this.selectFilterCallback = this.selectFilterCallback.bind(this), this.selectSetOptionSelected = this.selectSetOptionSelected.bind(this), this.selectGetTag = this.selectGetTag.bind(this), this.updateWrappedApi();
544
544
  }
545
545
  updateWrappedApi() {
546
546
  if (!this.api) {
547
- N(this, T, void 0);
547
+ Q(this, T, void 0);
548
548
  return;
549
549
  }
550
- N(this, T, async (e) => {
550
+ Q(this, T, async (e) => {
551
551
  try {
552
552
  return await this.api(e);
553
553
  } catch (t) {
554
- return t instanceof pe && t.response?.status === 401 && this.emit("cx-renew-token"), { data: [], hasMore: !1, totalCount: 0 };
554
+ return t instanceof de && t.response?.status === 401 && this.emit("cx-renew-token"), { data: [], hasMore: !1, totalCount: 0 };
555
555
  }
556
556
  });
557
557
  }
@@ -647,30 +647,30 @@ let i = class extends R {
647
647
  this.selectEl && (this.searchTerm = "", this.selectEl.getOptionValue = this.selectGetOptionValue, this.selectEl.getOptionLabel = this.selectGetOptionLabel, this.selectEl.getOptionSelected = this.selectGetOptionSelected, this.selectEl.filterCallback = this.selectFilterCallback, this.selectEl.setOptionSelected = this.selectSetOptionSelected, this.selectEl.getTag = this.selectGetTag, this.selectEl.handleDefaultSlotChange());
648
648
  }
649
649
  render() {
650
- return m`<div class="folder-select">${fe(this.variant, [
650
+ return m`<div class="folder-select">${ue(this.variant, [
651
651
  [
652
652
  C.Input,
653
- () => m`<cx-input class="folder-select__search" aria-label=${this.localize.term("searchFolders")} placeholder=${`${this.localize.term("searchFolders")}...`} value=${this.searchTerm} clearable @cx-input=${this.handleSearchTermInputChange}><cx-icon name="search" slot="prefix"></cx-icon></cx-input><cx-folder-select-tree class="folder-select__tree" base-url=${this.baseUrl} extra-folder-id=${this.extraFolderId} extra-folder-title=${this.extraFolderTitle} extra-folder-icon=${this.extraFolderIcon} min-query-length=${this.minQueryLength} search-term=${this.searchTerm} selected-value=${this.value} selection=${this.selection} token=${this.token} bearer-token=${this.bearerToken} ?exclude-virtual-folders=${this.excludeVirtualFolders} ?see-thru=${this.seeThru} .api=${Q(this, T)} .firstFetchCallback=${this.firstFetchCallback}></cx-folder-select-tree>`
653
+ () => m`<cx-input class="folder-select__search" aria-label=${this.localize.term("searchFolders")} placeholder=${`${this.localize.term("searchFolders")}...`} value=${this.searchTerm} clearable @cx-input=${this.handleSearchTermInputChange}><cx-icon name="search" slot="prefix"></cx-icon></cx-input><cx-folder-select-tree class="folder-select__tree" base-url=${this.baseUrl} extra-folder-id=${this.extraFolderId} extra-folder-title=${this.extraFolderTitle} extra-folder-icon=${this.extraFolderIcon} min-query-length=${this.minQueryLength} search-term=${this.searchTerm} selected-value=${this.value} selection=${this.selection} token=${this.token} bearer-token=${this.bearerToken} ?exclude-virtual-folders=${this.excludeVirtualFolders} ?see-thru=${this.seeThru} .api=${q(this, T)} .firstFetchCallback=${this.firstFetchCallback}></cx-folder-select-tree>`
654
654
  ],
655
655
  [
656
656
  C.Select,
657
- () => m`<cx-select clearable hoist lazy name=${this.name} value=${this.value} .form=${this.form} ?required=${this.required} ?multiple=${this.selection === "multiple"} @input=${this.handleSearchTermSelectChange} @cx-clear=${this.handleSelectClear} @cx-selected-change=${this.handleTreeSelectedChange} allow-freetext><cx-folder-select-tree base-url=${this.baseUrl} extra-folder-id=${this.extraFolderId} extra-folder-title=${this.extraFolderTitle} extra-folder-icon=${this.extraFolderIcon} min-query-length=${this.minQueryLength} search-term=${this.searchTerm} selected-value=${this.value} selection=${this.selection} token=${this.token} bearer-token=${this.bearerToken} ?exclude-virtual-folders=${this.excludeVirtualFolders} ?see-thru=${this.seeThru} .api=${Q(this, T)} .firstFetchCallback=${this.firstFetchCallback}></cx-folder-select-tree></cx-select>`
657
+ () => m`<cx-select clearable hoist lazy name=${this.name} value=${this.value} .form=${this.form} ?required=${this.required} ?multiple=${this.selection === "multiple"} @input=${this.handleSearchTermSelectChange} @cx-clear=${this.handleSelectClear} @cx-selected-change=${this.handleTreeSelectedChange} allow-freetext><cx-folder-select-tree base-url=${this.baseUrl} extra-folder-id=${this.extraFolderId} extra-folder-title=${this.extraFolderTitle} extra-folder-icon=${this.extraFolderIcon} min-query-length=${this.minQueryLength} search-term=${this.searchTerm} selected-value=${this.value} selection=${this.selection} token=${this.token} bearer-token=${this.bearerToken} ?exclude-virtual-folders=${this.excludeVirtualFolders} ?see-thru=${this.seeThru} .api=${q(this, T)} .firstFetchCallback=${this.firstFetchCallback}></cx-folder-select-tree></cx-select>`
658
658
  ]
659
659
  ])}</div>`;
660
660
  }
661
661
  };
662
662
  T = /* @__PURE__ */ new WeakMap();
663
- i.styles = [Z, De];
663
+ i.styles = [j, _e];
664
664
  i.dependencies = {
665
665
  "cx-folder-select-tree": n,
666
- "cx-icon": H,
667
- "cx-input": oe,
668
- "cx-line-clamp": j,
669
- "cx-select": ce,
670
- "cx-tag": ne
666
+ "cx-icon": N,
667
+ "cx-input": ie,
668
+ "cx-line-clamp": H,
669
+ "cx-select": oe,
670
+ "cx-tag": ce
671
671
  };
672
672
  c([
673
- J("cx-select")
673
+ Z("cx-select")
674
674
  ], i.prototype, "selectEl", 2);
675
675
  c([
676
676
  r({ attribute: "min-query-length", reflect: !0, type: Number })
@@ -765,10 +765,10 @@ c([
765
765
  f("value", { waitUntilFirstUpdate: !0 })
766
766
  ], i.prototype, "handleValueChange", 1);
767
767
  i = c([
768
- U("cx-folder-select")
768
+ M("cx-folder-select")
769
769
  ], i);
770
770
  export {
771
771
  i as C,
772
772
  C as F,
773
- L as a
773
+ G as a
774
774
  };
@@ -1,11 +1,11 @@
1
- import { Q as ft, D as wt, x as M, H as O, al as At, Z as rt, q as w, am as R, d as j, C as L, an as Ct, L as b, T, m as E, w as I, R as ct, $ as mt, t as q, e as y, P as ht, h as Q, a4 as G, aj as bt, ao as Tt, a as H, ap as tt, _ as et, z as ot, aq as Bt, B as S, G as V, ar as Pt, as as vt, at as xt, au as Rt, av as Xt, aw as Vt, ax as dt, r as Lt } from "./am-chart.H2jnOzFc.js";
2
- import { L as J, a as Ot, P as St, N as Gt, C as zt } from "./ProgressPie.DlCwXN17.js";
3
- import { C as yt } from "./ColumnSeries.DGazbfza.js";
4
- import { T as gt } from "./Triangle.BaOef7HV.js";
5
- import { C as ut } from "./Circle.DBa5Ok8V.js";
6
- import { C as kt, E as Mt } from "./EditableAxisLabel.wN0t_G2B.js";
7
- import { ColorPickerButton as Ht, ColorPicker as It } from "./colorPicker.06n6P3aK.js";
8
- import { S as pt } from "./Scrollbar.BdZVb_Z-.js";
1
+ import { Q as ft, D as wt, x as M, H as O, al as At, Z as rt, q as w, am as R, d as j, C as L, an as Ct, L as b, T, m as E, w as I, R as ct, $ as mt, t as q, e as y, P as ht, h as Q, a4 as G, aj as bt, ao as Tt, a as H, ap as tt, _ as et, z as ot, aq as Bt, B as S, G as V, ar as Pt, as as vt, at as xt, au as Rt, av as Xt, aw as Vt, ax as dt, r as Lt } from "./am-chart.sBfZlJdc.js";
2
+ import { L as J, a as Ot, P as St, N as Gt, C as zt } from "./ProgressPie.D3FRfVo5.js";
3
+ import { C as yt } from "./ColumnSeries.BGUw3nLY.js";
4
+ import { T as gt } from "./Triangle.DW7bUiPK.js";
5
+ import { C as ut } from "./Circle.BaJWdg6Z.js";
6
+ import { C as kt, E as Mt } from "./EditableAxisLabel.CsgqEVmA.js";
7
+ import { ColorPickerButton as Ht, ColorPicker as It } from "./colorPicker.r8zsh6Oj.js";
8
+ import { S as pt } from "./Scrollbar.BDbLJ_xZ.js";
9
9
  class Z extends ft {
10
10
  }
11
11
  Z.className = "GanttDateAxis";
@@ -4,7 +4,7 @@ import { c as b } from "./component.styles.CRO4Odto.js";
4
4
  import { i as p } from "./lit-element.jLBm65_O.js";
5
5
  import { c as v } from "./custom-element.L4WJXn1j.js";
6
6
  import { L as y } from "./i18n.DmmFsjwP.js";
7
- import { w } from "./watch.BCJD77bD.js";
7
+ import { w } from "./watch.CThbualB.js";
8
8
  import { e as m } from "./query.BBf1UFkC.js";
9
9
  import { e as u } from "./class-map.BiVq-cVR.js";
10
10
  import { o as P } from "./style-map.llVFPd__.js";