@orangelogic/design-system 3.8.0 → 3.10.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 (26) hide show
  1. package/library/chunks/{asset-link-format.B-tXtkr4.js → asset-link-format.BLKOUD2l.js} +595 -584
  2. package/library/chunks/{color-swatch-group.D1evXBSR.js → color-swatch-group.Bvq6xkM-.js} +2 -3
  3. package/library/chunks/{document-viewer.C_3p-Fr2.js → document-viewer.CRMRT7Ou.js} +1 -2
  4. package/library/chunks/{index.B60ncEsL.js → index.CExDr5Lh.js} +4 -4
  5. package/library/chunks/{toast.C5Ir5yKA.js → toast.CCWVobz5.js} +1 -1
  6. package/library/chunks/transformation.D27sTUdZ.js +392 -0
  7. package/library/chunks/{types.CRoGmgCO.js → types.CQDQXXnW.js} +5543 -5549
  8. package/library/components/asset-link-format.js +2 -2
  9. package/library/components/atoms.js +1 -1
  10. package/library/components/color-swatch-group.js +3 -3
  11. package/library/components/document-viewer.js +1 -1
  12. package/library/components/masonry.js +95 -108
  13. package/library/components/organisms.js +2 -2
  14. package/library/components/types.js +130 -131
  15. package/library/package.json +1 -1
  16. package/library/packages/molecules/src/masonry/masonry.d.ts +0 -2
  17. package/library/packages/organisms/src/content-builder/styleController.d.ts +1 -0
  18. package/library/packages/services/src/api/asset/asset.d.ts +1 -1
  19. package/library/packages/types/src/content-builder.d.ts +1 -0
  20. package/library/packages/types/src/gallery-item.d.ts +1 -0
  21. package/library/packages/types/src/masonry.d.ts +1 -0
  22. package/library/react-web-component.d.ts +4 -4
  23. package/library/utils.js +96 -97
  24. package/package.json +1 -1
  25. package/library/chunks/content-builder.BX4pHujE.js +0 -60
  26. package/library/chunks/transformation.DNl_AZs1.js +0 -334
package/library/utils.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { b as k } from "./chunks/url.CGdWC06g.js";
2
2
  import { R as Ct, f as xt, g as Et, h as It, U as Lt, a as Ft, d as Rt, c as Ot, i as bt, r as Vt, t as vt, e as _t } from "./chunks/url.CGdWC06g.js";
3
- import { j as Ut, f as Yt, b as Nt, c as Pt, g as Wt, e as Xt, i as Ht, a as Bt, h as Gt, m as $t, d as zt, r as qt, t as Qt } from "./chunks/toast.C5Ir5yKA.js";
4
- import { e as Zt, a as Jt, f as Kt, g as te, d as ee, b as re, c as ae, i as se, p as oe, s as ne } from "./chunks/browser.BHOCIF_A.js";
3
+ import { j as Ut, f as Yt, b as Nt, c as Pt, g as Wt, e as Xt, i as Ht, a as Bt, h as Gt, m as $t, d as zt, r as qt, t as Qt } from "./chunks/toast.CCWVobz5.js";
4
+ import { e as jt, a as Jt, f as Kt, g as te, d as ee, b as re, c as ae, i as se, p as oe, s as ne } from "./chunks/browser.BHOCIF_A.js";
5
5
  import { d as le, C as ce, e as ue, H as me, R as fe, c as he, h as ge, f as de, g as pe, l as De, a as Te, p as we, b as Me } from "./chunks/color.LzSGBy7o.js";
6
- import { a as Ae, g as ye } from "./chunks/active-elements.jTVWtBDp.js";
6
+ import { a as ye, g as Ae } from "./chunks/active-elements.jTVWtBDp.js";
7
7
  import { a as xe, p as Ee, c as Ie, b as Le, s as Fe, w as Re } from "./chunks/event.BeKOsirN.js";
8
8
  import { t as be } from "./chunks/converters.DkDtLstb.js";
9
9
  import { c as ve } from "./chunks/custom-element.L4WJXn1j.js";
@@ -13,28 +13,27 @@ import { d as Pe } from "./chunks/drag.DenOh3AE.js";
13
13
  import { f as Xe } from "./chunks/focus-when-visible.jWSw9ks0.js";
14
14
  import { f as U } from "./chunks/form.C8LMdQB4.js";
15
15
  import { F as Be, c as Ge, g as $e, v as ze, a as qe } from "./chunks/form.C8LMdQB4.js";
16
- import { L as je, r as Ze } from "./chunks/i18n.BA19xtyU.js";
16
+ import { L as Ze, r as je } from "./chunks/i18n.BA19xtyU.js";
17
17
  import { c as Ke, q as tr } from "./chunks/math.DuKzLacZ.js";
18
18
  import { g as rr } from "./chunks/modal.Ct0bJBSe.js";
19
19
  import { g as sr, l as or, s as nr, u as ir } from "./chunks/scroll.xtO5yojm.js";
20
- import { k as y } from "./chunks/dom.DShN_5Jh.js";
20
+ import { k as A } from "./chunks/dom.DShN_5Jh.js";
21
21
  import { c as cr, d as ur, h as mr, m as fr, a as hr, g as gr, j as dr, b as pr, f as Dr, i as Tr, e as wr, l as Mr, s as Sr } from "./chunks/dom.DShN_5Jh.js";
22
- import { H as yr, a as Cr, g as xr } from "./chunks/slot.j5oheLJC.js";
22
+ import { H as Ar, a as Cr, g as xr } from "./chunks/slot.j5oheLJC.js";
23
23
  import { a as Ir, g as Lr } from "./chunks/tabbable.BwnZBHrm.js";
24
24
  import { i as Rr } from "./chunks/user-agent.D9aPuOyL.js";
25
25
  import { w as br } from "./chunks/watch.DJF5K-8U.js";
26
26
  import { C as vr } from "./chunks/calendar-grid.BWjcZL5W.js";
27
27
  import { b as kr, c as Ur, f as Yr, h as Nr, g as Pr, a as Wr, i as Xr, d as Hr, n as Br, e as Gr, p as $r, t as zr } from "./chunks/date.iWq_pkIk.js";
28
28
  import { f as c, a as u, D as m } from "./chunks/date-picker.BGHn6qg8.js";
29
- import { f as Qr } from "./chunks/content-builder.BX4pHujE.js";
30
- import { c as Zr, f as Jr, e as Kr, b as ta, g as ea, d as ra, i as aa, r as sa, a as oa } from "./chunks/image.Y5c_hFx8.js";
31
- import { b as ia, e as la } from "./chunks/waveform.1U9U_0rd.js";
32
- import { c as ua, b as ma, a as fa, e as ha, d as ga, f as da, g as pa, r as Da, s as Ta } from "./chunks/number.Cx2ncfJJ.js";
33
- import { s as Ma } from "./chunks/parse.Cu5nBDTb.js";
34
- import { b as Aa, n as ya, d as Ca, e as xa, f as Ea, y as Ia, o as La, g as Fa, h as Ra, l as Oa, p as ba, z as Va, x as va, a as _a, c as ka, s as Ua, w as Ya, r as Na, t as Pa, q as Wa, v as Xa, i as Ha, m as Ba, u as Ga } from "./chunks/string.Demn8Xmk.js";
35
- import { g as za, a as qa } from "./chunks/template.ClovJacp.js";
36
- import { c as ja, f as Za, a as Ja, g as Ka } from "./chunks/time.DYWuX2id.js";
37
- import { A as es, j as rs, i as as, S as ss, d as os, c as ns, g as is, b as ls, f as cs, e as us, h as ms, p as fs, r as hs, a as gs } from "./chunks/transformation.DNl_AZs1.js";
29
+ import { o as Qr, s as Zr, p as jr, l as Jr, b as Kr, a as ta, m as ea, c as ra, h as aa, e as sa, g as oa, n as na, q as ia, r as la, d as ca } from "./chunks/transformation.D27sTUdZ.js";
30
+ import { c as ma, f as fa, e as ha, b as ga, g as da, d as pa, i as Da, r as Ta, a as wa } from "./chunks/image.Y5c_hFx8.js";
31
+ import { b as Sa, e as ya } from "./chunks/waveform.1U9U_0rd.js";
32
+ import { c as Ca, b as xa, a as Ea, e as Ia, d as La, f as Fa, g as Ra, r as Oa, s as ba } from "./chunks/number.Cx2ncfJJ.js";
33
+ import { s as va } from "./chunks/parse.Cu5nBDTb.js";
34
+ import { b as ka, n as Ua, d as Ya, e as Na, f as Pa, y as Wa, o as Xa, g as Ha, h as Ba, l as Ga, p as $a, z as za, x as qa, a as Qa, c as Za, s as ja, w as Ja, r as Ka, t as ts, q as es, v as rs, i as as, m as ss, u as os } from "./chunks/string.Demn8Xmk.js";
35
+ import { g as is, a as ls } from "./chunks/template.ClovJacp.js";
36
+ import { c as us, f as ms, a as fs, g as hs } from "./chunks/time.DYWuX2id.js";
38
37
  function n(t) {
39
38
  const e = t.getFullYear(), r = String(t.getMonth() + 1).padStart(2, "0"), s = String(t.getDate()).padStart(2, "0");
40
39
  return `${e}-${r}-${s}`;
@@ -226,7 +225,7 @@ class Q {
226
225
  throw new Error(`Unsupported date range preset: ${e}`);
227
226
  }
228
227
  }
229
- function j(t) {
228
+ function Z(t) {
230
229
  const e = /* @__PURE__ */ new Date(`${t}T00:00:00Z`);
231
230
  if (Number.isNaN(e.getTime()))
232
231
  return 0;
@@ -237,7 +236,7 @@ function j(t) {
237
236
  const a = new Date(Date.UTC(r.getUTCFullYear(), 0, 1)), o = (r.getTime() - a.getTime()) / 864e5;
238
237
  return Math.ceil((o + 1) / 7);
239
238
  }
240
- function Z(t) {
239
+ function j(t) {
241
240
  if (!this.ownerDocument.defaultView?.Matrix3 || !t)
242
241
  return;
243
242
  const e = this.ownerDocument.defaultView?.location.origin;
@@ -290,14 +289,14 @@ function et(t, e) {
290
289
  }
291
290
  class rt {
292
291
  constructor(e) {
293
- this.currentZIndex = y(), (this.host = e).addController(this);
292
+ this.currentZIndex = A(), (this.host = e).addController(this);
294
293
  }
295
294
  hostConnected() {
296
295
  }
297
296
  hostDisconnected() {
298
297
  }
299
298
  async activatePopup() {
300
- this.currentZIndex = y();
299
+ this.currentZIndex = A();
301
300
  }
302
301
  }
303
302
  class at {
@@ -547,8 +546,8 @@ async function* Mt({
547
546
  const T = g * i + d, D = T * s;
548
547
  if (D >= r)
549
548
  continue;
550
- const w = d * p, M = g * l, S = H(t[a] ?? [], d, g), A = d === i - 1 && g === f - 1 || D + s >= r;
551
- S ? yield { ...S, isLastFrame: A } : (await B(o, D, s), _.drawImage(
549
+ const w = d * p, M = g * l, S = H(t[a] ?? [], d, g), y = d === i - 1 && g === f - 1 || D + s >= r;
550
+ S ? yield { ...S, isLastFrame: y } : (await B(o, D, s), _.drawImage(
552
551
  o,
553
552
  w,
554
553
  M,
@@ -560,7 +559,7 @@ async function* Mt({
560
559
  frameHeight: l,
561
560
  frameWidth: p,
562
561
  index: T,
563
- isLastFrame: A,
562
+ isLastFrame: y,
564
563
  row: g,
565
564
  rows: f,
566
565
  time: Number(D.toFixed(X)),
@@ -581,9 +580,9 @@ function St({
581
580
  return a > t && (a = t / 2), a;
582
581
  }
583
582
  export {
584
- es as AUTO_FALLBACK_FORMAT,
585
- rs as AUTO_FORMAT_EXTENSION,
586
- as as AUTO_ORIGINAL_FORMAT_MAX_BYTES,
583
+ Qr as AUTO_FALLBACK_FORMAT,
584
+ Zr as AUTO_FORMAT_EXTENSION,
585
+ jr as AUTO_ORIGINAL_FORMAT_MAX_BYTES,
587
586
  le as CMYK_VALIDATION_REGEX,
588
587
  vr as CalendarGrid,
589
588
  ce as ColorType,
@@ -593,41 +592,41 @@ export {
593
592
  Be as FormControlController,
594
593
  ue as HEX_ALPHA_VALIDATION_REGEX,
595
594
  me as HEX_VALIDATION_REGEX,
596
- yr as HasSlotController,
595
+ Ar as HasSlotController,
597
596
  ft as HistoryManager,
598
597
  W as KeyboardKey,
599
- je as LocalizeController,
598
+ Ze as LocalizeController,
600
599
  X as PRECISION,
601
600
  Ct as RELATIVE_URL_REGEX,
602
601
  fe as RGB_VALIDATION_REGEX,
603
- ss as SRCSET_WIDTH_LADDER,
602
+ Jr as SRCSET_WIDTH_LADDER,
604
603
  xt as URL_DOMAIN_VALIDATION_REGEX,
605
604
  Et as URL_INTRANET_DOMAIN_VALIDATION_REGEX,
606
605
  It as URL_PROTOCOL_VALIDATION_REGEX,
607
606
  Lt as URL_VALIDATION_REGEX,
608
- Ae as activeElements,
607
+ ye as activeElements,
609
608
  kr as addMonths,
610
609
  Ut as adjustRelativeValues,
611
610
  xe as animateTo,
612
611
  k as appendProtocol,
613
612
  Ft as appendQueryParam,
614
- os as applyAutoFormatToAssetUrl,
615
- ns as applyTransformationsToUrl,
616
- is as applyWidthToAssetUrl,
617
- ls as buildAssetSrcset,
618
- cs as buildSizesFromDisplayWidth,
619
- us as buildTransformationString,
620
- ia as buildWaveformPath,
621
- Zr as calculateAspectRatioFit,
613
+ Kr as applyAutoFormatToAssetUrl,
614
+ ta as applyTransformationsToUrl,
615
+ ea as applyWidthToAssetUrl,
616
+ ra as buildAssetSrcset,
617
+ aa as buildSizesFromDisplayWidth,
618
+ sa as buildTransformationString,
619
+ Sa as buildWaveformPath,
620
+ ma as calculateAspectRatioFit,
622
621
  Ke as clamp,
623
- Jr as cleanImageFileName,
624
- ja as clearZeroDurationParts,
622
+ fa as cleanImageFileName,
623
+ us as clearZeroDurationParts,
625
624
  he as convertColor,
626
- ua as convertDataUnits,
627
- ma as convertDurationToMilliseconds,
628
- fa as convertPixelsToAspectRatio,
629
- Kr as convertSrcToBlob,
630
- ta as cropImage,
625
+ Ca as convertDataUnits,
626
+ xa as convertDurationToMilliseconds,
627
+ Ea as convertPixelsToAspectRatio,
628
+ ha as convertSrcToBlob,
629
+ ga as cropImage,
631
630
  cr as cssValueToPx,
632
631
  ve as customElement,
633
632
  Ge as customErrorValidityState,
@@ -635,70 +634,70 @@ export {
635
634
  Ye as defaultValue,
636
635
  et as downloadAsset,
637
636
  Pe as drag,
638
- Aa as emptyToSpace,
639
- ya as escapeXML,
637
+ ka as emptyToSpace,
638
+ Ua as escapeXML,
640
639
  ge as extractColor,
641
- Ca as extractExtension,
640
+ Ya as extractExtension,
642
641
  Mt as extractFrames,
643
- xa as extractRootData,
644
- ha as extractValueAndUnit,
645
- la as extractWaveformPeaks,
646
- Qr as fetchCortexApi,
647
- Zt as findAncestorWithBuggyStyle,
642
+ Na as extractRootData,
643
+ Ia as extractValueAndUnit,
644
+ ya as extractWaveformPeaks,
645
+ oa as fetchCortexApi,
646
+ jt as findAncestorWithBuggyStyle,
648
647
  Jt as findContainingBlock,
649
648
  Kt as findCuttingAncestor,
650
649
  H as findFrameByColAndRow,
651
650
  Yt as findIndexByProp,
652
651
  Xe as focusWhenVisible,
653
652
  U as formCollections,
654
- ga as formatAspectRatioString,
655
- Za as formatDurationPartsManually,
653
+ La as formatAspectRatioString,
654
+ ms as formatDurationPartsManually,
656
655
  Ur as formatIsoToDisplay,
657
656
  Yr as formatMonthYearLabel,
658
- da as formatNumberWithGrouping,
659
- Ea as formatSecondsToTime,
660
- Ia as formatTimeToSeconds,
661
- Ja as formatWithIntlDurationFormat,
662
- pa as gcd,
657
+ Fa as formatNumberWithGrouping,
658
+ Pa as formatSecondsToTime,
659
+ Wa as formatTimeToSeconds,
660
+ fs as formatWithIntlDurationFormat,
661
+ Ra as gcd,
663
662
  ur as getActiveElement,
664
663
  rr as getActiveModals,
665
664
  $e as getAssociatedForm,
666
665
  mr as getAttributes,
667
- La as getAttributesString,
666
+ Xa as getAttributesString,
668
667
  Nt as getBreakpointsFromCSS,
669
668
  ct as getBrowserFontVariants,
670
669
  de as getColorType,
671
- ea as getContainedImageSize,
670
+ da as getContainedImageSize,
672
671
  fr as getCortexPopupLayer,
673
- y as getCurrentZIndex,
672
+ A as getCurrentZIndex,
674
673
  Nr as getDateMask,
675
- ye as getDeepestActiveElement,
674
+ Ae as getDeepestActiveElement,
676
675
  Pt as getDeviceType,
677
- Ka as getDurationPartsByUnitsFormat,
676
+ hs as getDurationPartsByUnitsFormat,
678
677
  hr as getElementFromHTMLString,
679
678
  gr as getElementFromTemplate,
680
679
  Pr as getFirstDayOfWeek,
681
680
  nt as getFontFamilyOptionValue,
682
681
  P as getFormControls,
683
- za as getHighlightedTitle,
684
- qa as getHighlightedTitleHtml,
682
+ is as getHighlightedTitle,
683
+ ls as getHighlightedTitleHtml,
685
684
  Cr as getInnerHTML,
686
685
  St as getInterval,
687
686
  pe as getLightDarkCssString,
688
- ra as getNaturalWidthHeight,
687
+ pa as getNaturalWidthHeight,
689
688
  dr as getNeededPaddingForBoxShadow,
690
689
  te as getNextAncestor,
691
690
  sr as getOffset,
692
691
  pr as getRelativeClickPercentage,
693
- Fa as getRootIDString,
692
+ Ha as getRootIDString,
694
693
  Ir as getTabbableBoundary,
695
694
  Lr as getTabbableElements,
696
695
  xr as getTextContent,
697
696
  Wr as getTodayIsoDate,
698
697
  ot as getTypefaceOptionValue,
699
698
  Wt as groupBy,
700
- ms as hasTransformSegment,
701
- Ra as htmlToPlainText,
699
+ na as hasTransformSegment,
700
+ Ba as htmlToPlainText,
702
701
  Xt as insertAtIndex,
703
702
  wt as insertFrameToCache,
704
703
  Ht as insertMultipleAtIndex,
@@ -710,17 +709,17 @@ export {
710
709
  re as isFirefox,
711
710
  lt as isFontFamilyAvailable,
712
711
  mt as isFormInteracted,
713
- Oa as isGalleryItemCardType,
712
+ Ga as isGalleryItemCardType,
714
713
  ae as isIOS,
715
714
  wr as isInElement,
716
715
  st as isModKey,
717
716
  se as isSafari,
718
- aa as isSaveSrcValid,
717
+ Da as isSaveSrcValid,
719
718
  Ot as isValidDomainOrIntranetUrl,
720
719
  Xr as isValidIsoDate,
721
720
  bt as isValidUrl,
722
721
  Hr as isoToDate,
723
- j as isoWeekNumber,
722
+ Z as isoWeekNumber,
724
723
  Mr as loadScript,
725
724
  or as lockBodyScrolling,
726
725
  De as luminanceTextColor,
@@ -729,15 +728,15 @@ export {
729
728
  $t as multiSelectTo,
730
729
  Br as normalizeToIsoDate,
731
730
  ht as omit,
732
- Z as openAssetOverview,
731
+ j as openAssetOverview,
733
732
  J as openFolderOverview,
734
733
  K as openLink,
735
- ba as padPath,
736
- Va as parseBooleanString,
734
+ $a as padPath,
735
+ za as parseBooleanString,
737
736
  Te as parseBorder,
738
737
  Gr as parseDisplayToIso,
739
738
  Ee as parseDuration,
740
- fs as parseFileSizeToBytes,
739
+ ia as parseFileSizeToBytes,
741
740
  $r as parseIsoDate,
742
741
  dt as parseJsonString,
743
742
  we as parseLightDark,
@@ -749,45 +748,45 @@ export {
749
748
  tr as quantizeLargestRemainder,
750
749
  Y as quoteFontFamily,
751
750
  Dt as readLocalStorageValue,
752
- va as reducePathToDirectChild,
753
- Ze as registerTranslation,
751
+ qa as reducePathToDirectChild,
752
+ je as registerTranslation,
754
753
  zt as removeAtIndex,
755
754
  qt as removeMultipleAtIndex,
756
- sa as resizeImage,
757
- hs as resolveAutoFormat,
758
- gs as resolveAutoMaxWidth,
755
+ Ta as resizeImage,
756
+ la as resolveAutoFormat,
757
+ ca as resolveAutoMaxWidth,
759
758
  Vt as resolveSpaceUrl,
760
- Da as rotateBox,
761
- oa as rotateImage,
762
- _a as safeExtension,
763
- ka as safeString,
764
- Ua as sanitizeHTML,
765
- Ta as sanitizeRotation,
759
+ Oa as rotateBox,
760
+ wa as rotateImage,
761
+ Qa as safeExtension,
762
+ Za as safeString,
763
+ ja as sanitizeHTML,
764
+ ba as sanitizeRotation,
766
765
  nr as scrollIntoView,
767
766
  ut as serialize,
768
767
  tt as shareAsset,
769
768
  Le as shimKeyframesHeightAuto,
770
769
  Sr as sortByTopPosition,
771
770
  N as sortTypefaceVariants,
772
- Ma as splitBoxValues,
773
- Ya as splitCamelCaseFormatted,
771
+ va as splitBoxValues,
772
+ Ja as splitCamelCaseFormatted,
774
773
  Fe as stopAnimations,
775
774
  ne as supportHLS,
776
775
  v as testFontAvailability,
777
776
  be as timecodeConverter,
778
- Na as toCamelCase,
777
+ Ka as toCamelCase,
779
778
  zr as toIsoDate,
780
- Pa as toKebabCase,
781
- Wa as toPascalCase,
779
+ ts as toKebabCase,
780
+ es as toPascalCase,
782
781
  vt as toRelativeUrl,
783
- Xa as toTitleCase,
782
+ rs as toTitleCase,
784
783
  _t as toUrlPathKey,
785
784
  Qt as toast,
786
- Ha as truncateTextMiddle,
787
- Ba as unescapeXML,
785
+ as as truncateTextMiddle,
786
+ ss as unescapeXML,
788
787
  ir as unlockBodyScrolling,
789
788
  it as unquoteFontFamily,
790
- Ga as upperFirst,
789
+ os as upperFirst,
791
790
  ze as validValidityState,
792
791
  qe as valueMissingValidityState,
793
792
  Re as waitForEvent,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "3.8.0",
4
+ "version": "3.10.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -1,60 +0,0 @@
1
- import { c as l } from "./capitalize.CIBKBL10.js";
2
- const d = window.location.origin.includes("localhost:") ? "https://local.orangelogic.com" : window.location.origin;
3
- function L(a, o, e, i = d) {
4
- const n = new URL(i + "/" + a);
5
- return Array.isArray(e) ? e.forEach((t) => {
6
- t[1] && n.searchParams.append(t[0], t[1]);
7
- }) : e && Object.keys(e).forEach((t) => {
8
- e[t] && n.searchParams.append(t, e[t]);
9
- }), fetch(n, o);
10
- }
11
- const E = "space-default";
12
- var c = /* @__PURE__ */ ((a) => (a.Desktop = "desktop", a.Mobile = "mobile", a.Tablet = "tablet", a))(c || {});
13
- const C = {
14
- canvasWidth: "",
15
- height: "",
16
- id: "desktop",
17
- maxWidth: "",
18
- name: l(
19
- "desktop"
20
- /* Desktop */
21
- )
22
- }, u = {
23
- canvasWidth: "770px",
24
- height: "",
25
- id: "tablet",
26
- maxWidth: "1280px",
27
- name: l(
28
- "tablet"
29
- /* Tablet */
30
- )
31
- }, h = {
32
- canvasWidth: "320px",
33
- height: "",
34
- id: "mobile",
35
- maxWidth: "480px",
36
- name: l(
37
- "mobile"
38
- /* Mobile */
39
- )
40
- }, f = [C, u, h];
41
- var A = /* @__PURE__ */ ((a) => (a.All = "ALL", a.CanDelete = "CanDelete", a.CanDownload = "CanDownload", a.CanFind = "CanFind", a.CanManageRights = "CanManageRights", a.CanMove = "CanMove", a.CanRead = "CanRead", a.CanReadAll = "CanReadAll", a.CanReadAndWrite = "CanReadAndWrite", a.CanReadLarge = "CanReadLarge", a.CanReadMedium = "CanReadMedium", a.CanReadOriginal = "CanReadOriginal", a.CanShare = "CanShare", a.CanUpload = "CanUpload", a.CanWrite = "CanWrite", a.None = "NONE", a))(A || {}), g = /* @__PURE__ */ ((a) => (a.All = "all", a.Audio = "audio", a.Image = "image", a.Other = "other", a.Video = "video", a))(g || {}), s = /* @__PURE__ */ ((a) => (a.Content = "content", a.Template = "template", a))(s || {}), R = /* @__PURE__ */ ((a) => (a.Administrator = "Administrator", a.Designer = "Designer", a.Editor = "Editor", a))(R || {}), r = /* @__PURE__ */ ((a) => (a.Accordion = "BlockAccordion", a.Analytics = "BlockAnalytics", a.Audio = "BlockAudio", a.Button = "BlockButton", a.Carousel = "BlockCarousel", a.ColorSwatches = "BlockColorSwatches", a.Column = "BlockCell", a.ColumnGroup = "BlockColumns", a.DamView = "BlockDamView", a.Divider = "BlockDivider", a.DocumentViewer = "BlockDocumentViewer", a.FontKit = "BlockFontKit", a.Gallery = "BlockGallery", a.Header = "BlockHeader", a.Image = "BlockImage", a.RichText = "BlockRichText", a.SearchBox = "BlockSearchBox", a.TabGroup = "BlockTabs", a.Text = "BlockText", a.Timeline = "BlockTimeline", a.Video = "BlockVideo", a))(r || {});
42
- const B = Object.values(r).filter(
43
- (a) => a !== "BlockCell"
44
- /* Column */
45
- );
46
- var b = /* @__PURE__ */ ((a) => (a.Carousel = "carousel", a.Gallery = "gallery", a))(b || {}), v = /* @__PURE__ */ ((a) => (a.Templates = "TEMPLATES", a.TranslatableAttributes = "TRANSLATABLE_ATTRIBUTES", a.TranslatableTexts = "TRANSLATABLE_TEXTS", a))(v || {});
47
- export {
48
- g as A,
49
- r as B,
50
- c as D,
51
- s as E,
52
- A as P,
53
- E as S,
54
- R as T,
55
- b as a,
56
- v as b,
57
- B as c,
58
- f as d,
59
- L as f
60
- };