@orangelogic/design-system 2.190.0 → 2.192.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 (64) hide show
  1. package/library/chunks/{asset-link-format.D--xQVgR.js → asset-link-format.CDd4iPA2.js} +1149 -1001
  2. package/library/chunks/{color-swatch-group.tnhiQ0jp.js → color-swatch-group.NOcRP-23.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.CRluR-_W.js} +3 -2
  7. package/library/chunks/{image.CTMzUqCC.js → image.CiQwSDfe.js} +186 -187
  8. package/library/chunks/{toast.CXEAfCvN.js → toast.C5Ir5yKA.js} +1 -1
  9. package/library/chunks/transformation.BfIEi4p4.js +300 -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 +136 -107
  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 +22267 -21934
  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 +36 -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/asset-picker/asset-picker.d.ts +20 -1
  33. package/library/packages/molecules/src/cropper/cropper.d.ts +0 -1
  34. package/library/packages/molecules/src/cropper/react/Cropper.d.ts +0 -1
  35. package/library/packages/molecules/src/gallery-item/gallery-item.d.ts +10 -0
  36. package/library/packages/molecules/src/masonry/masonry.d.ts +24 -0
  37. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +46 -2
  38. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-proxy/asset-link-format-proxy.d.ts +36 -1
  39. package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.d.ts +20 -2
  40. package/library/packages/organisms/src/bento-grid/bento-grid.d.ts +101 -0
  41. package/library/packages/organisms/src/carousel/carousel.d.ts +26 -0
  42. package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +65 -1
  43. package/library/packages/organisms/src/content-builder/blocks/video/video.d.ts +5 -0
  44. package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +2 -1
  45. package/library/packages/organisms/src/content-builder/components/gallery-picker/gallery-picker.d.ts +6 -0
  46. package/library/packages/organisms/src/content-builder/configs/carousel.d.ts +1 -0
  47. package/library/packages/organisms/src/content-builder/configs/gallery.d.ts +1 -0
  48. package/library/packages/organisms/src/content-builder/configs/image.d.ts +2 -0
  49. package/library/packages/organisms/src/content-builder/configs/timeline.d.ts +1 -0
  50. package/library/packages/organisms/src/content-builder/configs/video.d.ts +1 -0
  51. package/library/packages/organisms/src/content-builder/configs-controller.d.ts +10 -0
  52. package/library/packages/organisms/src/content-builder/content-builder.d.ts +31 -6
  53. package/library/packages/organisms/src/content-builder/styleController.d.ts +2 -0
  54. package/library/packages/tools/src/fetch-image/fetch-image.d.ts +28 -5
  55. package/library/packages/types/src/asset-link-format.d.ts +0 -1
  56. package/library/packages/types/src/content-builder.d.ts +7 -0
  57. package/library/packages/types/src/gallery-item.d.ts +1 -0
  58. package/library/packages/types/src/masonry.d.ts +1 -0
  59. package/library/packages/utils/src/transformation/transformation.d.ts +91 -0
  60. package/library/react-web-component.d.ts +67 -7
  61. package/library/utils.js +192 -182
  62. package/package.json +1 -1
  63. package/library/chunks/transformation.8uLv6uwG.js +0 -264
  64. package/library/packages/types/src/download-format-picker.d.ts +0 -7
@@ -1,33 +1,34 @@
1
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";
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";
2
+ import v from "./grid-item.js";
3
+ import { C as $ } from "../chunks/icon-button.CVrxJcZq.js";
4
+ import { C as S } from "../chunks/image.CiQwSDfe.js";
5
+ import C from "./space.js";
6
+ import I from "./tooltip.js";
7
+ import { n as o, C as w } from "../chunks/lib-cortex-element.CVMmyPMC.js";
8
+ import { c as k } 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
+ import { w as F } from "../chunks/watch.DJF5K-8U.js";
12
+ import { r as U, b as f } from "../chunks/transformation.BfIEi4p4.js";
13
+ import { i as z, x as n } from "../chunks/lit-element.jLBm65_O.js";
14
+ import { r as x } from "../chunks/state.CSDxrqLd.js";
14
15
  import { e as E } 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
21
  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;
22
+ var d = /* @__PURE__ */ ((t) => (t.Masonry = "masonry", t.Standard = "standard", t))(d || {});
23
+ const D = z`: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, M = Object.getOwnPropertyDescriptor, a = (t, i, r, s) => {
25
+ for (var l = s > 1 ? void 0 : s ? M(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 e = class extends w {
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,8 +37,8 @@ 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() {
@@ -62,146 +63,174 @@ 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 : U(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
+ });
114
134
  return n`<div data-id=${t[this.idKey]} class=${h({
115
135
  "masonry-list__item": !0,
116
136
  "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>`;
137
+ })} 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
138
  }
119
139
  )}</div>`;
120
140
  }
121
141
  renderStandard() {
122
- return n`<cx-grid columns=${this.cols} spacing="var(--cx-spacing-${this.spacing})" use-flex-gap class="masonry-list" part="list">${m(
142
+ return n`<cx-grid columns=${this.cols} spacing="var(--cx-spacing-${this.spacing})" use-flex-gap class="masonry-list" part="list">${g(
123
143
  this.data,
124
144
  (t) => t[this.idKey],
125
145
  (t) => {
126
- const r = (i) => {
127
- this.handleItemClick(i, t);
128
- };
146
+ const i = (s) => {
147
+ this.handleItemClick(s, t);
148
+ }, r = f(t.src, {
149
+ extension: t.extension,
150
+ format: this.resolveItemFormat(t.extension)
151
+ });
129
152
  return n`<cx-grid-item xs="1"><div class=${h({
130
153
  "masonry-list__item": !0,
131
154
  "masonry-list__item--error": t.hasError ?? !1
132
- })} style=${g({
155
+ })} style=${u({
133
156
  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>`;
157
+ })} 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
158
  }
136
159
  )}</cx-grid>`;
137
160
  }
138
161
  render() {
139
162
  return n`<div part="base" class=${h({
140
163
  container: !0,
141
- "container--masonry": this.variant === c.Masonry,
164
+ "container--masonry": this.variant === d.Masonry,
142
165
  "container--sortable": this.sortable,
143
- "container--standard": this.variant === c.Standard
166
+ "container--standard": this.variant === d.Standard
144
167
  })}>${y(
145
- this.variant === c.Masonry,
168
+ this.variant === d.Masonry,
146
169
  () => this.renderMasonry(),
147
170
  () => this.renderStandard()
148
171
  )}</div>`;
149
172
  }
150
173
  };
151
- a.styles = [I, D];
152
- a.dependencies = {
174
+ e.styles = [k, D];
175
+ e.dependencies = {
153
176
  "cx-grid": _,
154
- "cx-grid-item": f,
155
- "cx-icon-button": v,
156
- "cx-image": $,
157
- "cx-space": S,
158
- "cx-tooltip": C
177
+ "cx-grid-item": v,
178
+ "cx-icon-button": $,
179
+ "cx-image": S,
180
+ "cx-space": C,
181
+ "cx-tooltip": I
159
182
  };
160
- e([
183
+ a([
161
184
  E(".masonry-list")
162
- ], a.prototype, "list", 2);
163
- e([
164
- s({ type: Array })
165
- ], a.prototype, "data", 2);
166
- e([
167
- s({ reflect: !0, type: String })
168
- ], a.prototype, "variant", 2);
169
- e([
170
- s({ reflect: !0, type: Number })
171
- ], a.prototype, "cols", 2);
172
- e([
173
- s({ attribute: "row-height", type: String })
174
- ], a.prototype, "rowHeight", 2);
175
- e([
176
- s({ type: Array })
177
- ], a.prototype, "actions", 2);
178
- e([
179
- s({ reflect: !0, type: Boolean })
180
- ], a.prototype, "sortable", 2);
181
- e([
182
- s({ reflect: !0, type: String })
183
- ], a.prototype, "spacing", 2);
184
- e([
185
- s({ attribute: "id-key", reflect: !0, type: String })
186
- ], a.prototype, "idKey", 2);
187
- e([
188
- s({ attribute: "no-crossorigin", reflect: !0, type: Boolean })
189
- ], a.prototype, "noCrossorigin", 2);
190
- e([
191
- u()
192
- ], a.prototype, "sortableInstance", 2);
193
- e([
194
- u()
195
- ], a.prototype, "previous", 2);
196
- e([
197
- u()
198
- ], a.prototype, "abortDrag", 2);
199
- e([
200
- U("sortable", { waitUntilFirstUpdate: !0 })
201
- ], a.prototype, "handleSortableChange", 1);
202
- a = e([
203
- k("cx-masonry")
204
- ], a);
185
+ ], e.prototype, "list", 2);
186
+ a([
187
+ o({ type: Array })
188
+ ], e.prototype, "data", 2);
189
+ a([
190
+ o({ reflect: !0, type: String })
191
+ ], e.prototype, "variant", 2);
192
+ a([
193
+ o({ reflect: !0, type: Number })
194
+ ], e.prototype, "cols", 2);
195
+ a([
196
+ o({ attribute: "row-height", type: String })
197
+ ], e.prototype, "rowHeight", 2);
198
+ a([
199
+ o({ type: Array })
200
+ ], e.prototype, "actions", 2);
201
+ a([
202
+ o({ reflect: !0, type: Boolean })
203
+ ], e.prototype, "sortable", 2);
204
+ a([
205
+ o({ reflect: !0, type: String })
206
+ ], e.prototype, "spacing", 2);
207
+ a([
208
+ o({ attribute: "id-key", reflect: !0, type: String })
209
+ ], e.prototype, "idKey", 2);
210
+ a([
211
+ o({ attribute: "format", reflect: !0, type: String })
212
+ ], e.prototype, "format", 2);
213
+ a([
214
+ o({ attribute: "manual-format", reflect: !0, type: Boolean })
215
+ ], e.prototype, "manualFormat", 2);
216
+ a([
217
+ o({ attribute: "no-crossorigin", reflect: !0, type: Boolean })
218
+ ], e.prototype, "noCrossorigin", 2);
219
+ a([
220
+ x()
221
+ ], e.prototype, "sortableInstance", 2);
222
+ a([
223
+ x()
224
+ ], e.prototype, "previous", 2);
225
+ a([
226
+ x()
227
+ ], e.prototype, "abortDrag", 2);
228
+ a([
229
+ F("sortable", { waitUntilFirstUpdate: !0 })
230
+ ], e.prototype, "handleSortableChange", 1);
231
+ e = a([
232
+ A("cx-masonry")
233
+ ], e);
205
234
  export {
206
- a as default
235
+ e as default
207
236
  };
@@ -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.D--xQVgR.js";
2
- import { C as t } from "../chunks/color-swatch-group.tnhiQ0jp.js";
1
+ import { C as a } from "../chunks/asset-link-format.CDd4iPA2.js";
2
+ import { C as t } from "../chunks/color-swatch-group.NOcRP-23.js";
3
3
  import { default as C } from "./file-on-demand.js";
4
4
  export {
5
5
  a as CxAssetLinkFormat,