@orangelogic/design-system 2.191.0 → 2.193.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 (62) hide show
  1. package/library/chunks/{asset-link-format.CEDcHah6.js → asset-link-format.BX1hdLgZ.js} +1249 -1083
  2. package/library/chunks/{color-swatch-group.tnhiQ0jp.js → color-swatch-group.BpEQJM1b.js} +4 -3
  3. package/library/chunks/{confirm-popover.CrQKEChc.js → confirm-popover.jCP9CdcD.js} +1 -1
  4. package/library/chunks/content-builder.BX4pHujE.js +60 -0
  5. package/library/chunks/{dialog.CWGtufDA.js → dialog.B6hZ7fvn.js} +2 -2
  6. package/library/chunks/{document-viewer.C90j1Xrr.js → document-viewer.DZsbpf0x.js} +3 -2
  7. package/library/chunks/{image.CTMzUqCC.js → image.BSvc6eti.js} +194 -191
  8. package/library/chunks/{toast.CXEAfCvN.js → toast.C5Ir5yKA.js} +1 -1
  9. package/library/chunks/transformation.CkwgrwKQ.js +312 -0
  10. package/library/components/asset-link-format.js +2 -2
  11. package/library/components/atoms.js +3 -3
  12. package/library/components/color-swatch-group.js +3 -3
  13. package/library/components/confirm-popover.js +2 -2
  14. package/library/components/cropper.js +1 -1
  15. package/library/components/dialog.js +1 -1
  16. package/library/components/document-viewer.js +2 -2
  17. package/library/components/drawer.js +2 -2
  18. package/library/components/file-on-demand.js +2 -2
  19. package/library/components/image.js +2 -3
  20. package/library/components/masonry.js +110 -79
  21. package/library/components/molecules.js +1 -1
  22. package/library/components/organisms.js +2 -2
  23. package/library/components/popup.js +100 -97
  24. package/library/components/select.js +16 -11
  25. package/library/components/types.js +22562 -22239
  26. package/library/components/video.js +1 -1
  27. package/library/package.json +1 -1
  28. package/library/packages/atoms/src/components/image/image.d.ts +38 -4
  29. package/library/packages/atoms/src/components/popup/popup.d.ts +11 -0
  30. package/library/packages/atoms/src/components/select/select.d.ts +8 -0
  31. package/library/packages/events/src/cx-asset-transformation-dialog-confirm.d.ts +2 -0
  32. package/library/packages/molecules/src/cropper/cropper.d.ts +0 -1
  33. package/library/packages/molecules/src/cropper/react/Cropper.d.ts +0 -1
  34. package/library/packages/molecules/src/gallery-item/gallery-item.d.ts +10 -0
  35. package/library/packages/molecules/src/masonry/masonry.d.ts +24 -0
  36. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +46 -2
  37. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-proxy/asset-link-format-proxy.d.ts +36 -1
  38. package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.d.ts +20 -2
  39. package/library/packages/organisms/src/bento-grid/bento-grid.d.ts +101 -0
  40. package/library/packages/organisms/src/carousel/carousel.d.ts +26 -0
  41. package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +67 -1
  42. package/library/packages/organisms/src/content-builder/blocks/video/video.d.ts +5 -0
  43. package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +2 -1
  44. package/library/packages/organisms/src/content-builder/components/gallery-picker/gallery-picker.d.ts +6 -0
  45. package/library/packages/organisms/src/content-builder/configs/carousel.d.ts +1 -0
  46. package/library/packages/organisms/src/content-builder/configs/gallery.d.ts +1 -0
  47. package/library/packages/organisms/src/content-builder/configs/image.d.ts +2 -0
  48. package/library/packages/organisms/src/content-builder/configs/timeline.d.ts +1 -0
  49. package/library/packages/organisms/src/content-builder/configs/video.d.ts +1 -0
  50. package/library/packages/organisms/src/content-builder/configs-controller.d.ts +10 -0
  51. package/library/packages/organisms/src/content-builder/styleController.d.ts +2 -0
  52. package/library/packages/services/src/api/asset/asset.d.ts +10 -1
  53. package/library/packages/tools/src/fetch-image/fetch-image.d.ts +28 -5
  54. package/library/packages/types/src/asset-link-format.d.ts +0 -1
  55. package/library/packages/types/src/content-builder.d.ts +7 -0
  56. package/library/packages/types/src/gallery-item.d.ts +2 -0
  57. package/library/packages/types/src/masonry.d.ts +2 -0
  58. package/library/packages/utils/src/transformation/transformation.d.ts +100 -0
  59. package/library/react-web-component.d.ts +63 -7
  60. package/library/utils.js +193 -182
  61. package/package.json +1 -1
  62. package/library/chunks/transformation.8uLv6uwG.js +0 -264
@@ -1,33 +1,34 @@
1
- import _ from "./grid.js";
2
- import f from "./grid-item.js";
3
- import { C as v } from "../chunks/icon-button.CVrxJcZq.js";
4
- import { C as $ } from "../chunks/image.CTMzUqCC.js";
5
- import S from "./space.js";
6
- import C from "./tooltip.js";
7
- import { n as s, C as w } from "../chunks/lib-cortex-element.CVMmyPMC.js";
8
- import { c as I } from "../chunks/component.styles.CRO4Odto.js";
9
- import { a as x } from "../chunks/index.Cpamj0jB.js";
10
- import { c as k } from "../chunks/custom-element.L4WJXn1j.js";
1
+ import v from "./grid.js";
2
+ import $ from "./grid-item.js";
3
+ import { C as S } from "../chunks/icon-button.CVrxJcZq.js";
4
+ import { C } from "../chunks/image.BSvc6eti.js";
5
+ import I from "./space.js";
6
+ import w from "./tooltip.js";
7
+ import { n as o, C as k } from "../chunks/lib-cortex-element.CVMmyPMC.js";
8
+ import { c as F } from "../chunks/component.styles.CRO4Odto.js";
9
+ import { a as b } from "../chunks/index.Cpamj0jB.js";
10
+ import { c as A } from "../chunks/custom-element.L4WJXn1j.js";
11
11
  import { w as U } from "../chunks/watch.DJF5K-8U.js";
12
- import { i as A, x as n } from "../chunks/lit-element.jLBm65_O.js";
13
- import { r as u } from "../chunks/state.CSDxrqLd.js";
14
- import { e as E } from "../chunks/query.BBf1UFkC.js";
12
+ import { r as z, b as f, a as _ } from "../chunks/transformation.CkwgrwKQ.js";
13
+ import { i as E, x as n } from "../chunks/lit-element.jLBm65_O.js";
14
+ import { r as x } from "../chunks/state.CSDxrqLd.js";
15
+ import { e as j } from "../chunks/query.BBf1UFkC.js";
15
16
  import { e as h } from "../chunks/class-map.BiVq-cVR.js";
16
- import { o as b } from "../chunks/if-defined.BRoBj_Rp.js";
17
- import { c as m } from "../chunks/repeat.CFjcER6_.js";
18
- import { o as g } from "../chunks/style-map.llVFPd__.js";
17
+ import { o as c } from "../chunks/if-defined.BRoBj_Rp.js";
18
+ import { c as g } from "../chunks/repeat.CFjcER6_.js";
19
+ import { o as u } from "../chunks/style-map.llVFPd__.js";
19
20
  import { n as y } from "../chunks/when.Dr1es41R.js";
20
- import { S as j } from "../chunks/sortable.esm.oSzf6C5Q.js";
21
- var c = /* @__PURE__ */ ((t) => (t.Masonry = "masonry", t.Standard = "standard", t))(c || {});
22
- const D = A`:host{--actions-background-color:var(--cx-color-neutral-100);--border-radius:0px;--item-border-radius:var(--cx-border-radius-medium);--padding:0px;--width:100%;--height:auto;width:var(--width,100%);height:var(--height,100%);display:block;overflow:auto}:host([spacing="3x-small"]){--spacing-container-gap:var(--cx-spacing-3x-small)}:host([spacing="2x-small"]){--spacing-container-gap:var(--cx-spacing-2x-small)}:host([spacing=x-small]){--spacing-container-gap:var(--cx-spacing-x-small)}:host([spacing=small]){--spacing-container-gap:var(--cx-spacing-small)}:host([spacing=medium]){--spacing-container-gap:var(--cx-spacing-medium)}:host([spacing=large]){--spacing-container-gap:var(--cx-spacing-large)}:host([spacing=x-large]){--spacing-container-gap:var(--cx-spacing-x-large)}:host([spacing="2x-large"]){--spacing-container-gap:var(--cx-spacing-2x-large)}:host([spacing="3x-large"]){--spacing-container-gap:var(--cx-spacing-3x-large)}:host([spacing="4x-large"]){--spacing-container-gap:var(--cx-spacing-4x-large)}.masonry-list{column-gap:var(--spacing-container-gap)}.masonry-list__item{border-radius:var(--item-border-radius);display:block;position:relative;overflow:hidden}.masonry-list__item--error:before{content:"";border:2px solid var(--cx-color-danger);border-radius:var(--item-border-radius);z-index:1;width:100%;height:100%;position:absolute;top:0;left:0}.container--masonry .masonry-list__item{margin-bottom:var(--spacing-container-gap)}.container--standard cx-grid-item::part(base){height:100%}.masonry-list__item__image{width:100%;height:100%}.masonry-list__item__actions{opacity:0;width:100%;transition:opacity var(--cx-transition-fast) ease-in-out;z-index:10;position:absolute;bottom:0;left:0}.masonry-list__item__actions:before{content:"";background-color:var(--actions-background-color);opacity:.5;pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}.masonry-list__item:hover .masonry-list__item__actions{opacity:1}.masonry-list__item__action{z-index:5;flex:auto;position:relative}.masonry-list__item__action::part(base){border-radius:0;width:100%}.container--sortable .masonry-list__item{cursor:move}`;
23
- var K = Object.defineProperty, z = Object.getOwnPropertyDescriptor, e = (t, r, i, o) => {
24
- for (var l = o > 1 ? void 0 : o ? z(r, i) : r, d = t.length - 1, p; d >= 0; d--)
25
- (p = t[d]) && (l = (o ? p(r, i, l) : p(l)) || l);
26
- return o && l && K(r, i, l), l;
21
+ import { S as D } from "../chunks/sortable.esm.oSzf6C5Q.js";
22
+ var d = /* @__PURE__ */ ((t) => (t.Masonry = "masonry", t.Standard = "standard", t))(d || {});
23
+ const M = E`:host{--actions-background-color:var(--cx-color-neutral-100);--border-radius:0px;--item-border-radius:var(--cx-border-radius-medium);--padding:0px;--width:100%;--height:auto;width:var(--width,100%);height:var(--height,100%);display:block;overflow:auto}:host([spacing="3x-small"]){--spacing-container-gap:var(--cx-spacing-3x-small)}:host([spacing="2x-small"]){--spacing-container-gap:var(--cx-spacing-2x-small)}:host([spacing=x-small]){--spacing-container-gap:var(--cx-spacing-x-small)}:host([spacing=small]){--spacing-container-gap:var(--cx-spacing-small)}:host([spacing=medium]){--spacing-container-gap:var(--cx-spacing-medium)}:host([spacing=large]){--spacing-container-gap:var(--cx-spacing-large)}:host([spacing=x-large]){--spacing-container-gap:var(--cx-spacing-x-large)}:host([spacing="2x-large"]){--spacing-container-gap:var(--cx-spacing-2x-large)}:host([spacing="3x-large"]){--spacing-container-gap:var(--cx-spacing-3x-large)}:host([spacing="4x-large"]){--spacing-container-gap:var(--cx-spacing-4x-large)}.masonry-list{column-gap:var(--spacing-container-gap)}.masonry-list__item{border-radius:var(--item-border-radius);display:block;position:relative;overflow:hidden}.masonry-list__item--error:before{content:"";border:2px solid var(--cx-color-danger);border-radius:var(--item-border-radius);z-index:1;width:100%;height:100%;position:absolute;top:0;left:0}.container--masonry .masonry-list__item{margin-bottom:var(--spacing-container-gap)}.container--standard cx-grid-item::part(base){height:100%}.masonry-list__item__image{width:100%;height:100%}.masonry-list__item__actions{opacity:0;width:100%;transition:opacity var(--cx-transition-fast) ease-in-out;z-index:10;position:absolute;bottom:0;left:0}.masonry-list__item__actions:before{content:"";background-color:var(--actions-background-color);opacity:.5;pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}.masonry-list__item:hover .masonry-list__item__actions{opacity:1}.masonry-list__item__action{z-index:5;flex:auto;position:relative}.masonry-list__item__action::part(base){border-radius:0;width:100%}.container--sortable .masonry-list__item{cursor:move}`;
24
+ var K = Object.defineProperty, B = Object.getOwnPropertyDescriptor, e = (t, i, r, s) => {
25
+ for (var l = s > 1 ? void 0 : s ? B(i, r) : i, p = t.length - 1, m; p >= 0; p--)
26
+ (m = t[p]) && (l = (s ? m(i, r, l) : m(l)) || l);
27
+ return s && l && K(i, r, l), l;
27
28
  };
28
- let a = class extends w {
29
+ let a = class extends k {
29
30
  constructor() {
30
- super(), this.data = [], this.variant = c.Standard, this.cols = 3, this.rowHeight = "auto", this.actions = [], this.sortable = !1, this.spacing = "medium", this.idKey = "id", this.noCrossorigin = !1, this.sortableInstance = null, this.previous = [], this.abortDrag = !1, this.handleEnd = this.handleEnd.bind(this), this.handleStart = this.handleStart.bind(this), this.handleSortableUpdate = this.handleSortableUpdate.bind(this), this.handleItemClick = this.handleItemClick.bind(this);
31
+ super(), this.data = [], this.variant = d.Standard, this.cols = 3, this.rowHeight = "auto", this.actions = [], this.sortable = !1, this.spacing = "medium", this.idKey = "id", this.format = "", this.manualFormat = !1, this.noCrossorigin = !1, this.sortableInstance = null, this.previous = [], this.abortDrag = !1, this.handleEnd = this.handleEnd.bind(this), this.handleStart = this.handleStart.bind(this), this.handleSortableUpdate = this.handleSortableUpdate.bind(this), this.handleItemClick = this.handleItemClick.bind(this);
31
32
  }
32
33
  getAllItems() {
33
34
  return Array.from(this.list.querySelectorAll(".masonry-list__item"));
@@ -36,15 +37,15 @@ let a = class extends w {
36
37
  t.item && (this.previous = [t.item.previousSibling]);
37
38
  }
38
39
  async handleEnd(t) {
39
- await this.updateComplete, this.sortableInstance && (t.item && this.previous.forEach((r) => {
40
- r && r.after(t.item);
40
+ await this.updateComplete, this.sortableInstance && (t.item && this.previous.forEach((i) => {
41
+ i && i.after(t.item);
41
42
  }), this.requestUpdate());
42
43
  }
43
44
  destroySortable() {
44
45
  this.sortableInstance && (this.sortableInstance.destroy(), this.sortableInstance = null);
45
46
  }
46
47
  initSortable() {
47
- this.sortableInstance = j.create(this.list, {
48
+ this.sortableInstance = D.create(this.list, {
48
49
  animation: 100,
49
50
  onAdd: this.handleSortableUpdate,
50
51
  onEnd: this.handleEnd,
@@ -62,145 +63,175 @@ let a = class extends w {
62
63
  disconnectedCallback() {
63
64
  super.disconnectedCallback(), this.destroySortable();
64
65
  }
65
- handleItemClick(t, r) {
66
+ /**
67
+ * The `sizes` hint for item images, expressed as a viewport fraction.
68
+ *
69
+ * The layout is CSS-column based, so no exact pixel width is available the way a
70
+ * measured grid provides one. Each item spans exactly one of `cols` columns, which
71
+ * makes the fraction an accurate upper bound and keeps the browser from assuming
72
+ * the default `100vw`.
73
+ */
74
+ get itemSizes() {
75
+ const t = Number.isFinite(this.cols) && this.cols > 0 ? this.cols : 1;
76
+ return `${Math.round(100 / t)}vw`;
77
+ }
78
+ /** The format one item is served under: the configured one, or derived from its extension. */
79
+ resolveItemFormat(t) {
80
+ return this.manualFormat ? this.format : z(t);
81
+ }
82
+ handleItemClick(t, i) {
66
83
  this.emit("cx-masonry-select", {
67
- detail: { event: t, item: r }
84
+ detail: { event: t, item: i }
68
85
  });
69
86
  }
70
87
  handleSortableUpdate(t) {
71
- const r = this.data[t.oldIndex], i = [...this.data];
72
- i.splice(t.oldIndex, 1), i.splice(t.newIndex, 0, r);
73
- const o = {
88
+ const i = this.data[t.oldIndex], r = [...this.data];
89
+ r.splice(t.oldIndex, 1), r.splice(t.newIndex, 0, i);
90
+ const s = {
74
91
  from: t.from,
75
92
  item: t.item,
76
93
  items: this.getAllItems(),
77
- itemsData: i,
94
+ itemsData: r,
78
95
  newIndex: t.newIndex,
79
96
  oldIndex: t.oldIndex,
80
97
  to: t.to,
81
98
  type: t.type
82
99
  };
83
100
  this.emit("cx-reorder", {
84
- detail: o
101
+ detail: s
85
102
  });
86
103
  }
87
104
  renderActions(t) {
88
- const r = (i) => {
89
- const o = () => {
90
- this.emit(i.event, {
105
+ const i = (r) => {
106
+ const s = () => {
107
+ this.emit(r.event, {
91
108
  detail: { item: t }
92
109
  });
93
110
  };
94
- return n`<cx-icon-button class="masonry-list__item__action" name=${b(i.icon)} src=${b(i.src)} @click=${o} size="small" style=${g({
95
- color: i.color
111
+ return n`<cx-icon-button class="masonry-list__item__action" name=${c(r.icon)} src=${c(r.src)} @click=${s} size="small" style=${u({
112
+ color: r.color
96
113
  })}></cx-icon-button>`;
97
114
  };
98
- return n`<cx-space class="masonry-list__item__actions" direction="horizontal" spacing="x-small" justify-content="space-around">${m(
115
+ return n`<cx-space class="masonry-list__item__actions" direction="horizontal" spacing="x-small" justify-content="space-around">${g(
99
116
  this.actions,
100
- (i) => i.event,
101
- (i) => i.tooltip ? n`<cx-tooltip content=${i.tooltip}>${r(i)}</cx-tooltip>` : r(i)
117
+ (r) => r.event,
118
+ (r) => r.tooltip ? n`<cx-tooltip content=${r.tooltip}>${i(r)}</cx-tooltip>` : i(r)
102
119
  )}</cx-space>`;
103
120
  }
104
121
  renderMasonry() {
105
- return n`<div class="masonry-list" style=${g({
122
+ return n`<div class="masonry-list" style=${u({
106
123
  "column-count": this.cols
107
- })} part="list">${m(
124
+ })} part="list">${g(
108
125
  this.data,
109
126
  (t) => t[this.idKey],
110
127
  (t) => {
111
- const r = (i) => {
112
- this.handleItemClick(i, t);
113
- };
128
+ const i = (s) => {
129
+ this.handleItemClick(s, t);
130
+ }, r = f(t.src, {
131
+ extension: t.extension,
132
+ format: this.resolveItemFormat(t.extension),
133
+ maxWidth: _(this.manualFormat, t.maxWidth)
134
+ });
114
135
  return n`<div data-id=${t[this.idKey]} class=${h({
115
136
  "masonry-list__item": !0,
116
137
  "masonry-list__item--error": t.hasError ?? !1
117
- })} part="item" @click=${r}><cx-image part="image" class="masonry-list__item__image" alt=${t.alt || ""} src=${t.src} object-fit=${t.objectFit || x.Cover} ?loading=${t.loading} ?no-crossorigin=${this.noCrossorigin} retry-on-error></cx-image>${y(this.actions.length > 0, () => this.renderActions(t))}</div>`;
138
+ })} part="item" @click=${i}><cx-image part="image" class="masonry-list__item__image" alt=${t.alt || ""} src=${t.src} srcset=${c(r || void 0)} sizes=${c(r ? this.itemSizes : void 0)} object-fit=${t.objectFit || b.Cover} ?loading=${t.loading} ?no-crossorigin=${this.noCrossorigin} retry-on-error></cx-image>${y(this.actions.length > 0, () => this.renderActions(t))}</div>`;
118
139
  }
119
140
  )}</div>`;
120
141
  }
121
142
  renderStandard() {
122
- return n`<cx-grid columns=${this.cols} spacing="var(--cx-spacing-${this.spacing})" use-flex-gap class="masonry-list" part="list">${m(
143
+ return n`<cx-grid columns=${this.cols} spacing="var(--cx-spacing-${this.spacing})" use-flex-gap class="masonry-list" part="list">${g(
123
144
  this.data,
124
145
  (t) => t[this.idKey],
125
146
  (t) => {
126
- const r = (i) => {
127
- this.handleItemClick(i, t);
128
- };
147
+ const i = (s) => {
148
+ this.handleItemClick(s, t);
149
+ }, r = f(t.src, {
150
+ extension: t.extension,
151
+ format: this.resolveItemFormat(t.extension),
152
+ maxWidth: _(this.manualFormat, t.maxWidth)
153
+ });
129
154
  return n`<cx-grid-item xs="1"><div class=${h({
130
155
  "masonry-list__item": !0,
131
156
  "masonry-list__item--error": t.hasError ?? !1
132
- })} style=${g({
157
+ })} style=${u({
133
158
  height: this.rowHeight
134
- })} part="item" @click=${r} data-id=${t[this.idKey]}><cx-image part="image" class="masonry-list__item__image" alt=${t.alt || ""} src=${t.src} width="100%" height="100%" object-fit=${t.objectFit || x.Cover} ?loading=${t.loading} ?no-crossorigin=${this.noCrossorigin}></cx-image>${y(this.actions.length > 0, () => this.renderActions(t))}</div></cx-grid-item>`;
159
+ })} part="item" @click=${i} data-id=${t[this.idKey]}><cx-image part="image" class="masonry-list__item__image" alt=${t.alt || ""} src=${t.src} srcset=${c(r || void 0)} sizes=${c(r ? this.itemSizes : void 0)} width="100%" height="100%" object-fit=${t.objectFit || b.Cover} retry-on-error ?loading=${t.loading} ?no-crossorigin=${this.noCrossorigin}></cx-image>${y(this.actions.length > 0, () => this.renderActions(t))}</div></cx-grid-item>`;
135
160
  }
136
161
  )}</cx-grid>`;
137
162
  }
138
163
  render() {
139
164
  return n`<div part="base" class=${h({
140
165
  container: !0,
141
- "container--masonry": this.variant === c.Masonry,
166
+ "container--masonry": this.variant === d.Masonry,
142
167
  "container--sortable": this.sortable,
143
- "container--standard": this.variant === c.Standard
168
+ "container--standard": this.variant === d.Standard
144
169
  })}>${y(
145
- this.variant === c.Masonry,
170
+ this.variant === d.Masonry,
146
171
  () => this.renderMasonry(),
147
172
  () => this.renderStandard()
148
173
  )}</div>`;
149
174
  }
150
175
  };
151
- a.styles = [I, D];
176
+ a.styles = [F, M];
152
177
  a.dependencies = {
153
- "cx-grid": _,
154
- "cx-grid-item": f,
155
- "cx-icon-button": v,
156
- "cx-image": $,
157
- "cx-space": S,
158
- "cx-tooltip": C
178
+ "cx-grid": v,
179
+ "cx-grid-item": $,
180
+ "cx-icon-button": S,
181
+ "cx-image": C,
182
+ "cx-space": I,
183
+ "cx-tooltip": w
159
184
  };
160
185
  e([
161
- E(".masonry-list")
186
+ j(".masonry-list")
162
187
  ], a.prototype, "list", 2);
163
188
  e([
164
- s({ type: Array })
189
+ o({ type: Array })
165
190
  ], a.prototype, "data", 2);
166
191
  e([
167
- s({ reflect: !0, type: String })
192
+ o({ reflect: !0, type: String })
168
193
  ], a.prototype, "variant", 2);
169
194
  e([
170
- s({ reflect: !0, type: Number })
195
+ o({ reflect: !0, type: Number })
171
196
  ], a.prototype, "cols", 2);
172
197
  e([
173
- s({ attribute: "row-height", type: String })
198
+ o({ attribute: "row-height", type: String })
174
199
  ], a.prototype, "rowHeight", 2);
175
200
  e([
176
- s({ type: Array })
201
+ o({ type: Array })
177
202
  ], a.prototype, "actions", 2);
178
203
  e([
179
- s({ reflect: !0, type: Boolean })
204
+ o({ reflect: !0, type: Boolean })
180
205
  ], a.prototype, "sortable", 2);
181
206
  e([
182
- s({ reflect: !0, type: String })
207
+ o({ reflect: !0, type: String })
183
208
  ], a.prototype, "spacing", 2);
184
209
  e([
185
- s({ attribute: "id-key", reflect: !0, type: String })
210
+ o({ attribute: "id-key", reflect: !0, type: String })
186
211
  ], a.prototype, "idKey", 2);
187
212
  e([
188
- s({ attribute: "no-crossorigin", reflect: !0, type: Boolean })
213
+ o({ attribute: "format", reflect: !0, type: String })
214
+ ], a.prototype, "format", 2);
215
+ e([
216
+ o({ attribute: "manual-format", reflect: !0, type: Boolean })
217
+ ], a.prototype, "manualFormat", 2);
218
+ e([
219
+ o({ attribute: "no-crossorigin", reflect: !0, type: Boolean })
189
220
  ], a.prototype, "noCrossorigin", 2);
190
221
  e([
191
- u()
222
+ x()
192
223
  ], a.prototype, "sortableInstance", 2);
193
224
  e([
194
- u()
225
+ x()
195
226
  ], a.prototype, "previous", 2);
196
227
  e([
197
- u()
228
+ x()
198
229
  ], a.prototype, "abortDrag", 2);
199
230
  e([
200
231
  U("sortable", { waitUntilFirstUpdate: !0 })
201
232
  ], a.prototype, "handleSortableChange", 1);
202
233
  a = e([
203
- k("cx-masonry")
234
+ A("cx-masonry")
204
235
  ], a);
205
236
  export {
206
237
  a as default
@@ -1,7 +1,7 @@
1
1
  import { default as e } from "./bicolor-picker.js";
2
2
  import { default as a } from "./border-input-group.js";
3
3
  import { C as x } from "../chunks/color-swatch.D6Gg5bpz.js";
4
- import { C as u } from "../chunks/confirm-popover.CrQKEChc.js";
4
+ import { C as u } from "../chunks/confirm-popover.jCP9CdcD.js";
5
5
  import { default as d } from "./corner-position-input-group.js";
6
6
  import { default as l } from "./cropper.js";
7
7
  import { default as i } from "./dynamic-select.js";
@@ -1,5 +1,5 @@
1
- import { C as a } from "../chunks/asset-link-format.CEDcHah6.js";
2
- import { C as t } from "../chunks/color-swatch-group.tnhiQ0jp.js";
1
+ import { C as a } from "../chunks/asset-link-format.BX1hdLgZ.js";
2
+ import { C as t } from "../chunks/color-swatch-group.BpEQJM1b.js";
3
3
  import { default as C } from "./file-on-demand.js";
4
4
  export {
5
5
  a as CxAssetLinkFormat,