@orangelogic/design-system 3.13.0 → 3.15.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.
@@ -173,7 +173,7 @@ async function Zt({
173
173
  siteUrl: d,
174
174
  sort: g,
175
175
  token: c,
176
- useSession: S
176
+ useSession: x
177
177
  }) {
178
178
  const A = e?.map(ze), p = {
179
179
  CountPerPage: t,
@@ -184,8 +184,8 @@ async function Zt({
184
184
  Query: dt(n),
185
185
  SecurityByPassToken: l || void 0,
186
186
  Sort: g || void 0,
187
- UseSession: S || void 0
188
- }, x = s === "POST";
187
+ UseSession: x || void 0
188
+ }, y = s === "POST";
189
189
  try {
190
190
  return (await E.request({
191
191
  baseURL: d,
@@ -193,7 +193,7 @@ async function Zt({
193
193
  method: s,
194
194
  // POST large RecordID queries as a urlencoded body to dodge the ~2KB URL cap;
195
195
  // GET keeps the same fields on the query string.
196
- ...x ? { data: be(p) } : { params: p, paramsSerializer: { indexes: null } },
196
+ ...y ? { data: be(p) } : { params: p, paramsSerializer: { indexes: null } },
197
197
  responseType: "json",
198
198
  transformResponse: [
199
199
  ...Array.isArray(E.defaults.transformResponse) ? E.defaults.transformResponse : [],
@@ -283,10 +283,10 @@ async function Re({
283
283
  token: r
284
284
  })
285
285
  )
286
- ), c = new Map(s.map((p, x) => [p, x])), S = g.flatMap((p) => p.items).map((p) => {
287
- let x = _(p, St);
288
- return x === "" && (x = _(p, yt)), {
289
- name: x,
286
+ ), c = new Map(s.map((p, y) => [p, y])), x = g.flatMap((p) => p.items).map((p) => {
287
+ let y = _(p, St);
288
+ return y === "" && (y = _(p, yt)), {
289
+ name: y,
290
290
  recordId: _(p, xt),
291
291
  ...n.reduce(
292
292
  (w, u) => {
@@ -298,12 +298,12 @@ async function Re({
298
298
  )
299
299
  };
300
300
  }).sort(
301
- (p, x) => (c.get(p.recordId) ?? 1 / 0) - (c.get(x.recordId) ?? 1 / 0)
301
+ (p, y) => (c.get(p.recordId) ?? 1 / 0) - (c.get(y.recordId) ?? 1 / 0)
302
302
  ), A = g.reduce(
303
- (p, x) => p + x.totalCount,
303
+ (p, y) => p + y.totalCount,
304
304
  0
305
305
  );
306
- return { facets: [], items: S, totalCount: A };
306
+ return { facets: [], items: x, totalCount: A };
307
307
  }
308
308
  function _(t, e) {
309
309
  const i = t[e];
@@ -326,7 +326,7 @@ async function $e({
326
326
  searchTerm: d,
327
327
  securityByPassToken: g,
328
328
  sortOrder: c,
329
- token: S
329
+ token: x
330
330
  }) {
331
331
  if (!e && !l)
332
332
  return { facets: [], items: [], totalCount: 0 };
@@ -334,7 +334,7 @@ async function $e({
334
334
  directParentFolderIdentifier: e,
335
335
  parentFolderIdentifier: l,
336
336
  ...r && r.length > 0 ? { docType: r } : {}
337
- }, x = await Zt({
337
+ }, y = await Zt({
338
338
  countPerPage: t,
339
339
  fields: [
340
340
  ...A,
@@ -356,8 +356,8 @@ async function $e({
356
356
  query: p,
357
357
  securityByPassToken: g,
358
358
  sort: void 0,
359
- token: S
360
- }), w = x.items.map((u) => {
359
+ token: x
360
+ }), w = y.items.map((u) => {
361
361
  let C = _(u, rt), D = _(u, St);
362
362
  C && !C.startsWith(".") && (C = "." + C), D === "" && (D = _(u, yt));
363
363
  const F = _(u, xt);
@@ -385,7 +385,7 @@ async function $e({
385
385
  return {
386
386
  facets: [],
387
387
  items: w,
388
- totalCount: x.totalCount
388
+ totalCount: y.totalCount
389
389
  };
390
390
  }
391
391
  async function Pe({
@@ -534,33 +534,31 @@ function Lt({
534
534
  manualFormat: r,
535
535
  size: n
536
536
  }) {
537
- const l = i?.toLowerCase() ?? "", d = l.startsWith(".") ? l : `.${l}`, g = `path_${it}`, c = (p, x) => {
537
+ const l = i?.toLowerCase() ?? "", d = l.startsWith(".") ? l : `.${l}`, g = `path_${it}`, c = (p, y) => {
538
538
  const w = a[p];
539
539
  if (!w)
540
540
  return;
541
541
  const u = a[`${p}${_t}`], C = t ? Rt(w, [], {
542
- autoFormat: !0,
542
+ autoFormat: !r,
543
543
  extension: l,
544
- format: x
544
+ format: y
545
545
  }) : w;
546
546
  return {
547
547
  maxWidth: u,
548
548
  src: C,
549
549
  srcset: e ? ae(C, {
550
550
  extension: l,
551
- format: x,
551
+ format: y,
552
552
  maxWidth: oe(r, u)
553
553
  }) : ""
554
554
  };
555
555
  };
556
556
  if (!r) {
557
- const p = jt(l, n), x = `path_${p}`;
558
- return c(x, p) ?? c(g, it) ?? {};
557
+ const p = jt(l, n), y = `path_${p}`;
558
+ return c(y, p) ?? c(g, it) ?? {};
559
559
  }
560
- if (!!l && Fe.has(d))
561
- return c(`path_${At}`, At) ?? c(g, it) ?? {};
562
- const A = s ? `path_${s}` : void 0;
563
- return A && a[A] ? c(A, s) ?? {} : c(g, it) ?? {};
560
+ const x = s ? `path_${s}` : void 0;
561
+ return x && a[x] ? c(x, s) ?? {} : !!l && Fe.has(d) ? c(`path_${At}`, At) ?? c(g, it) ?? {} : c(g, it) ?? {};
564
562
  }
565
563
  class Qi {
566
564
  constructor(e, i) {
@@ -607,24 +605,24 @@ class Qi {
607
605
  const l = this.requestEpoch;
608
606
  if (!this.folderId || l !== this.requestEpoch)
609
607
  return this.data;
610
- const d = s ? `path_${s}` : void 0, g = `path_${it}`, c = `path_${At}`, S = [
608
+ const d = s ? `path_${s}` : void 0, g = `path_${it}`, c = `path_${At}`, x = [
611
609
  ...new Set(
612
610
  [d, g, c].filter(
613
- (x) => !!x
611
+ (y) => !!y
614
612
  )
615
613
  )
616
614
  ], A = Math.floor(r / this.pageSize) + 1, p = Math.floor(e / this.pageSize) + 1;
617
- for (let x = A; x <= p; x++) {
618
- if (this.fetchedPages.has(x))
615
+ for (let y = A; y <= p; y++) {
616
+ if (this.fetchedPages.has(y))
619
617
  continue;
620
618
  const w = await $e({
621
619
  countPerPage: this.pageSize,
622
620
  directParentFolderIdentifier: this.folderId,
623
- extraFields: [...i, ...S],
621
+ extraFields: [...i, ...x],
624
622
  getPermanentAssetsPaths: !0,
625
623
  isSiteBuilder: this.isSiteBuilder,
626
624
  limitedDocTypes: [ct.Image, ct.Audio, ct.Video, ct.Multimedia],
627
- pageNumber: x,
625
+ pageNumber: y,
628
626
  searchTerm: "",
629
627
  securityByPassToken: this.securityByPassToken,
630
628
  sortOrder: "",
@@ -632,7 +630,7 @@ class Qi {
632
630
  });
633
631
  if (l !== this.requestEpoch)
634
632
  return this.data;
635
- if (this.fetchedPages.add(x), !this.totalCount && w.totalCount) {
633
+ if (this.fetchedPages.add(y), !this.totalCount && w.totalCount) {
636
634
  const C = Math.min(this.maxEnd, w.totalCount);
637
635
  this.totalCount = C, this.data = Array.from({ length: C }, () => ({
638
636
  alt: "",
@@ -641,7 +639,7 @@ class Qi {
641
639
  src: ""
642
640
  }));
643
641
  }
644
- const u = (x - 1) * this.pageSize;
642
+ const u = (y - 1) * this.pageSize;
645
643
  for (let C = 0; C < w.items.length; C++) {
646
644
  const D = u + C;
647
645
  if (D < this.data.length) {
@@ -689,7 +687,7 @@ class Qi {
689
687
  transformations: g
690
688
  }) {
691
689
  (!this.folderId || this.folderId !== s) && (this.folderId = s, this.resetFolderState()), a && this.resetPageCache();
692
- const c = Math.max(5, l), S = e, A = e + c, p = [
690
+ const c = Math.max(5, l), x = e, A = e + c, p = [
693
691
  ...i,
694
692
  ft,
695
693
  gt
@@ -699,18 +697,18 @@ class Qi {
699
697
  extraFields: p.filter((u) => u !== ""),
700
698
  format: r,
701
699
  manualFormat: n,
702
- start: S,
700
+ start: x,
703
701
  transformations: g
704
702
  });
705
- let x = e - c;
706
- x < 0 && (this.totalCount === 0 ? x = 0 : x = Math.max(0, this.totalCount + x));
707
- const w = x + c;
703
+ let y = e - c;
704
+ y < 0 && (this.totalCount === 0 ? y = 0 : y = Math.max(0, this.totalCount + y));
705
+ const w = y + c;
708
706
  return await this.fetchImages({
709
707
  end: w,
710
708
  extraFields: p.filter((u) => u !== ""),
711
709
  format: r,
712
710
  manualFormat: n,
713
- start: x,
711
+ start: y,
714
712
  transformations: g
715
713
  }), d ? this.data.filter((u) => u.id && !u.id.startsWith("temp-")) : this.data;
716
714
  }
@@ -729,14 +727,14 @@ class Qi {
729
727
  (p) => !!p
730
728
  )
731
729
  )
732
- ], c = [rt, mt], S = [
730
+ ], c = [rt, mt], x = [
733
731
  ...e,
734
732
  ut,
735
733
  ft,
736
734
  gt
737
735
  ];
738
736
  return (await Re({
739
- extraFields: [...S, ...g, ...c].filter((p) => p !== ""),
737
+ extraFields: [...x, ...g, ...c].filter((p) => p !== ""),
740
738
  getPermanentAssetsPaths: !0,
741
739
  isSiteBuilder: this.isSiteBuilder,
742
740
  recordIds: a,
@@ -744,7 +742,7 @@ class Qi {
744
742
  token: this.authToken
745
743
  })).items.map((p) => {
746
744
  const {
747
- maxWidth: x,
745
+ maxWidth: y,
748
746
  src: w,
749
747
  srcset: u
750
748
  } = Lt({
@@ -762,11 +760,11 @@ class Qi {
762
760
  docType: p[ut],
763
761
  extension: p[rt] || "",
764
762
  id: p.recordId,
765
- maxWidth: x,
763
+ maxWidth: y,
766
764
  name: p.name,
767
765
  src: C,
768
766
  srcset: D,
769
- ...S.reduce(
767
+ ...x.reduce(
770
768
  (F, L) => (F[L] = p[L] ?? "", F),
771
769
  {}
772
770
  )
@@ -785,9 +783,9 @@ class Qi {
785
783
  transformations: g
786
784
  }) {
787
785
  (!this.folderId || this.folderId !== i) && (this.folderId = i, this.resetFolderState()), s && this.resetPageCache();
788
- const c = l * d, S = c + d - 1;
786
+ const c = l * d, x = c + d - 1;
789
787
  return await this.fetchImages({
790
- end: S,
788
+ end: x,
791
789
  extraFields: e,
792
790
  format: a,
793
791
  manualFormat: r,
@@ -818,22 +816,22 @@ class Qi {
818
816
  }), yield this.data;
819
817
  return;
820
818
  }
821
- let S = d, A = d + c;
819
+ let x = d, A = d + c;
822
820
  if (await this.fetchImages({
823
821
  end: A,
824
822
  extraFields: s,
825
823
  format: n,
826
824
  manualFormat: l,
827
- start: S,
825
+ start: x,
828
826
  transformations: g
829
827
  }), yield this.data, !(!this.totalCount || this.totalCount <= A))
830
828
  for (; A < this.totalCount; )
831
- S = A, A = Math.min(A + c, this.totalCount), await this.fetchImages({
829
+ x = A, A = Math.min(A + c, this.totalCount), await this.fetchImages({
832
830
  end: A,
833
831
  extraFields: s,
834
832
  format: n,
835
833
  manualFormat: l,
836
- start: S,
834
+ start: x,
837
835
  transformations: g
838
836
  }), yield this.data;
839
837
  }
@@ -1865,7 +1863,7 @@ bt([
1865
1863
  U = bt([
1866
1864
  X("cx-asset-link-format-metadata")
1867
1865
  ], U);
1868
- var ei = Object.defineProperty, ii = Object.getOwnPropertyDescriptor, y = (t, e, i, s) => {
1866
+ var ei = Object.defineProperty, ii = Object.getOwnPropertyDescriptor, S = (t, e, i, s) => {
1869
1867
  for (var a = s > 1 ? void 0 : s ? ii(e, i) : e, r = t.length - 1, n; r >= 0; r--)
1870
1868
  (n = t[r]) && (a = (s ? n(e, i, a) : n(a)) || a);
1871
1869
  return s && a && ei(e, i, a), a;
@@ -2315,30 +2313,30 @@ let m = class extends j {
2315
2313
  (c) => c.key === f.Crop && (c.value.unit === o.AspectRatio && c.value.ratioWidth && c.value.ratioHeight || c.value.width && c.value.height)
2316
2314
  );
2317
2315
  if (r?.value.unit === o.AspectRatio && r.value.ratioWidth && r.value.ratioHeight) {
2318
- const { focusMode: c, position: S, ratioHeight: A, ratioWidth: p } = r.value;
2316
+ const { focusMode: c, position: x, ratioHeight: A, ratioWidth: p } = r.value;
2319
2317
  this.cropSize = {
2320
2318
  ...this.cropSize,
2321
2319
  cropMode: "free",
2322
2320
  focusMode: c ?? "manual",
2323
2321
  percentageHeight: 100,
2324
2322
  percentageWidth: 100,
2325
- position: S ?? N.CenterCenter,
2323
+ position: x ?? N.CenterCenter,
2326
2324
  ratioHeight: A,
2327
2325
  ratioWidth: p,
2328
2326
  unit: o.AspectRatio
2329
2327
  };
2330
2328
  } else if (r) {
2331
- const { focusMode: c, height: S, position: A, unit: p, width: x, x: w = 0, y: u = 0 } = r.value;
2329
+ const { focusMode: c, height: x, position: A, unit: p, width: y, x: w = 0, y: u = 0 } = r.value;
2332
2330
  this.cropSize = {
2333
2331
  ...this.cropSize,
2334
2332
  cropMode: "free",
2335
2333
  focusMode: c ?? "manual",
2336
- height: S,
2334
+ height: x,
2337
2335
  percentageHeight: 100,
2338
2336
  percentageWidth: 100,
2339
2337
  position: A ?? N.CenterCenter,
2340
2338
  unit: p ?? o.Pixel,
2341
- width: x,
2339
+ width: y,
2342
2340
  x: w,
2343
2341
  y: u
2344
2342
  };
@@ -2366,19 +2364,19 @@ let m = class extends j {
2366
2364
  (c) => c.key === f.Resize && (c.value.unit === o.AspectRatio && c.value.ratioWidth && c.value.ratioHeight || c.value.width || c.value.height)
2367
2365
  );
2368
2366
  if (n?.value.unit === o.AspectRatio && n.value.ratioWidth && n.value.ratioHeight) {
2369
- const { ratioHeight: c, ratioWidth: S } = n.value;
2367
+ const { ratioHeight: c, ratioWidth: x } = n.value;
2370
2368
  this.resizeSize = {
2371
2369
  ...this.resizeSize,
2372
2370
  ratioHeight: c,
2373
- ratioWidth: S,
2371
+ ratioWidth: x,
2374
2372
  unit: o.AspectRatio
2375
2373
  };
2376
2374
  } else if (n) {
2377
- const { height: c = 0, unit: S, width: A = 0 } = n.value;
2375
+ const { height: c = 0, unit: x, width: A = 0 } = n.value;
2378
2376
  this.resizeSize = {
2379
2377
  ...this.resizeSize,
2380
2378
  height: c,
2381
- unit: S ?? o.Pixel,
2379
+ unit: x ?? o.Pixel,
2382
2380
  width: A
2383
2381
  };
2384
2382
  } else
@@ -2653,22 +2651,22 @@ let m = class extends j {
2653
2651
  if (!this.selectedFormat?.url || e === "manual")
2654
2652
  return;
2655
2653
  this.loading = !0, this.lastAction = f.Crop;
2656
- const S = await this.apiGetCropFocusMode({
2654
+ const x = await this.apiGetCropFocusMode({
2657
2655
  autoCropMode: e,
2658
2656
  cropHeight: i,
2659
2657
  cropWidth: c,
2660
2658
  imageUrl: this.selectedFormat.url
2661
2659
  });
2662
- if (S) {
2660
+ if (x) {
2663
2661
  let A = a, p = r;
2664
- i || (A = S.height * 100 / this.selectedFormat.height), c || (p = S.width * 100 / this.selectedFormat.width), this.cropSize = {
2662
+ i || (A = x.height * 100 / this.selectedFormat.height), c || (p = x.width * 100 / this.selectedFormat.width), this.cropSize = {
2665
2663
  ...this.cropSize,
2666
- height: S.height,
2664
+ height: x.height,
2667
2665
  percentageHeight: A ?? this.cropSize.percentageHeight,
2668
2666
  percentageWidth: p ?? this.cropSize.percentageWidth,
2669
- width: S.width,
2670
- x: S.x * 100 / this.selectedFormat.width,
2671
- y: S.y * 100 / this.selectedFormat.height,
2667
+ width: x.width,
2668
+ x: x.x * 100 / this.selectedFormat.width,
2669
+ y: x.y * 100 / this.selectedFormat.height,
2672
2670
  ...g ? {
2673
2671
  cropMode: e,
2674
2672
  focusMode: "manual",
@@ -2816,7 +2814,7 @@ let m = class extends j {
2816
2814
  l + n > 100 && (l = 100 - n), d + r > 100 && (d = 100 - r);
2817
2815
  let g = this.cropSize.cropMode;
2818
2816
  this.cropModes.find(
2819
- (S) => S.value === g
2817
+ (x) => x.value === g
2820
2818
  )?.auto && (g = "free"), t.detail.silent ? (this.cropSize.height = a, this.cropSize.keepAspectRatio = t.detail.keepAspectRatio, this.cropSize.percentageHeight = r, this.cropSize.percentageWidth = n, this.cropSize.ratioHeight = t.detail.height, this.cropSize.ratioWidth = t.detail.width, this.cropSize.unit = o.AspectRatio, this.cropSize.width = s) : this.cropSize = {
2821
2819
  ...this.cropSize,
2822
2820
  cropMode: g,
@@ -2873,23 +2871,23 @@ let m = class extends j {
2873
2871
  height: d,
2874
2872
  position: g,
2875
2873
  ratioHeight: c,
2876
- ratioWidth: S,
2874
+ ratioWidth: x,
2877
2875
  unit: A,
2878
2876
  width: p,
2879
- x,
2877
+ x: y,
2880
2878
  y: w
2881
2879
  } = this.cropSize, u = this.focusModes.find(
2882
2880
  (C) => C.value === l
2883
2881
  )?.auto ?? !1;
2884
2882
  if (A === o.AspectRatio) {
2885
- S && c && this.upsertTransformation({
2883
+ x && c && this.upsertTransformation({
2886
2884
  key: f.Crop,
2887
2885
  value: {
2888
2886
  focusMode: l,
2889
2887
  isFocusModeAuto: u,
2890
2888
  position: g,
2891
2889
  ratioHeight: c,
2892
- ratioWidth: S,
2890
+ ratioWidth: x,
2893
2891
  unit: A
2894
2892
  }
2895
2893
  });
@@ -2911,7 +2909,7 @@ let m = class extends j {
2911
2909
  * string) so `hasManualXY` in buildTransformationString doesn't spuriously
2912
2910
  * suppress the focus mode / position `c_g_` gravity value.
2913
2911
  */
2914
- x: Number.isFinite(x) && x !== 0 ? x : void 0,
2912
+ x: Number.isFinite(y) && y !== 0 ? y : void 0,
2915
2913
  y: Number.isFinite(w) && w !== 0 ? w : void 0
2916
2914
  }
2917
2915
  });
@@ -3186,130 +3184,130 @@ m.dependencies = {
3186
3184
  "cx-space": B,
3187
3185
  "cx-typography": q
3188
3186
  };
3189
- y([
3187
+ S([
3190
3188
  h({ attribute: "base-url", type: String })
3191
3189
  ], m.prototype, "baseUrl", 2);
3192
- y([
3190
+ S([
3193
3191
  h({ attribute: "token", type: String })
3194
3192
  ], m.prototype, "token", 2);
3195
- y([
3193
+ S([
3196
3194
  h({ reflect: !1, type: Object })
3197
3195
  ], m.prototype, "asset", 2);
3198
- y([
3196
+ S([
3199
3197
  h({ attribute: "crop-modes", reflect: !1, type: Array })
3200
3198
  ], m.prototype, "cropModes", 2);
3201
- y([
3199
+ S([
3202
3200
  h({ attribute: "focus-modes", reflect: !1, type: Object })
3203
3201
  ], m.prototype, "focusModes", 2);
3204
- y([
3202
+ S([
3205
3203
  h({ reflect: !1, type: Array })
3206
3204
  ], m.prototype, "extensions", 2);
3207
- y([
3205
+ S([
3208
3206
  h({ reflect: !1, type: Array })
3209
3207
  ], m.prototype, "proxies", 2);
3210
- y([
3208
+ S([
3211
3209
  h({ attribute: "for-cropper", reflect: !0, type: String })
3212
3210
  ], m.prototype, "forCropper", 2);
3213
- y([
3211
+ S([
3214
3212
  h({ attribute: "use-session", reflect: !0, type: String })
3215
3213
  ], m.prototype, "useSession", 2);
3216
- y([
3214
+ S([
3217
3215
  h({ reflect: !1, type: Array })
3218
3216
  ], m.prototype, "transformations", 2);
3219
- y([
3217
+ S([
3220
3218
  h({ attribute: "selected-proxy", reflect: !0, type: String })
3221
3219
  ], m.prototype, "selectedProxy", 2);
3222
- y([
3220
+ S([
3223
3221
  h({ attribute: "default-proxy", reflect: !0, type: String })
3224
3222
  ], m.prototype, "defaultProxy", 2);
3225
- y([
3223
+ S([
3226
3224
  h({ attribute: "can-auto-format", reflect: !0, type: Boolean })
3227
3225
  ], m.prototype, "canAutoFormat", 2);
3228
- y([
3226
+ S([
3229
3227
  h({ attribute: "auto-format", reflect: !0, type: Boolean })
3230
3228
  ], m.prototype, "autoFormat", 2);
3231
- y([
3229
+ S([
3232
3230
  h({ attribute: "use-custom-extension", reflect: !0, type: Boolean })
3233
3231
  ], m.prototype, "useCustomExtension", 2);
3234
- y([
3232
+ S([
3235
3233
  h({ attribute: "no-metadata", reflect: !0, type: Boolean })
3236
3234
  ], m.prototype, "noMetadata", 2);
3237
- y([
3235
+ S([
3238
3236
  h({ attribute: "no-format", reflect: !0, type: Boolean })
3239
3237
  ], m.prototype, "noFormat", 2);
3240
- y([
3238
+ S([
3241
3239
  h({ attribute: "no-crop", reflect: !0, type: Boolean })
3242
3240
  ], m.prototype, "noCrop", 2);
3243
- y([
3241
+ S([
3244
3242
  h({ attribute: "no-resize", reflect: !0, type: Boolean })
3245
3243
  ], m.prototype, "noResize", 2);
3246
- y([
3244
+ S([
3247
3245
  h({ attribute: "no-rotate", reflect: !0, type: Boolean })
3248
3246
  ], m.prototype, "noRotate", 2);
3249
- y([
3247
+ S([
3250
3248
  h({ attribute: "last-image-size", reflect: !1, type: Object })
3251
3249
  ], m.prototype, "lastImageSize", 2);
3252
- y([
3250
+ S([
3253
3251
  h({ attribute: "hide-header", reflect: !1, type: Boolean })
3254
3252
  ], m.prototype, "hideHeader", 2);
3255
- y([
3253
+ S([
3256
3254
  h({ attribute: "can-reset", type: Boolean })
3257
3255
  ], m.prototype, "canReset", 2);
3258
- y([
3256
+ S([
3259
3257
  h({ attribute: !1, reflect: !1, type: Object })
3260
3258
  ], m.prototype, "queryElement", 2);
3261
- y([
3259
+ S([
3262
3260
  R()
3263
3261
  ], m.prototype, "activeSetting", 2);
3264
- y([
3262
+ S([
3265
3263
  R()
3266
3264
  ], m.prototype, "selectedFormat", 2);
3267
- y([
3265
+ S([
3268
3266
  R()
3269
3267
  ], m.prototype, "resizeSize", 2);
3270
- y([
3268
+ S([
3271
3269
  R()
3272
3270
  ], m.prototype, "cropSize", 2);
3273
- y([
3271
+ S([
3274
3272
  R()
3275
3273
  ], m.prototype, "rotation", 2);
3276
- y([
3274
+ S([
3277
3275
  R()
3278
3276
  ], m.prototype, "defaultSize", 2);
3279
- y([
3277
+ S([
3280
3278
  R()
3281
3279
  ], m.prototype, "cropperElement", 2);
3282
- y([
3280
+ S([
3283
3281
  R()
3284
3282
  ], m.prototype, "parameters", 2);
3285
- y([
3283
+ S([
3286
3284
  R()
3287
3285
  ], m.prototype, "loading", 2);
3288
- y([
3286
+ S([
3289
3287
  R()
3290
3288
  ], m.prototype, "lastAction", 2);
3291
- y([
3289
+ S([
3292
3290
  R()
3293
3291
  ], m.prototype, "frozenIndex", 2);
3294
- y([
3292
+ S([
3295
3293
  R()
3296
3294
  ], m.prototype, "preResetTransformations", 2);
3297
- y([
3295
+ S([
3298
3296
  R()
3299
3297
  ], m.prototype, "preResetAutoFormat", 2);
3300
- y([
3298
+ S([
3301
3299
  R()
3302
3300
  ], m.prototype, "preResetSelectedProxy", 2);
3303
- y([
3301
+ S([
3304
3302
  P("transformations")
3305
3303
  ], m.prototype, "handleTransformationsChange", 1);
3306
- y([
3304
+ S([
3307
3305
  P("selectedProxy")
3308
3306
  ], m.prototype, "handleSelectedProxyChange", 1);
3309
- y([
3307
+ S([
3310
3308
  P("loading")
3311
3309
  ], m.prototype, "handleLoadingChange", 1);
3312
- m = y([
3310
+ m = S([
3313
3311
  X("cx-asset-link-format")
3314
3312
  ], m);
3315
3313
  export {
@@ -3319,16 +3317,16 @@ export {
3319
3317
  Re as a,
3320
3318
  Zt as b,
3321
3319
  rt as c,
3322
- xt as d,
3323
- Qt as e,
3324
- ye as f,
3325
- Xt as g,
3326
- Vi as h,
3320
+ mt as d,
3321
+ xt as e,
3322
+ Qt as f,
3323
+ ye as g,
3324
+ Xt as h,
3327
3325
  Me as i,
3328
- Gi as j,
3329
- ji as k,
3330
- ut as l,
3331
- mt as m,
3326
+ Vi as j,
3327
+ Gi as k,
3328
+ ji as l,
3329
+ ut as m,
3332
3330
  Dt as n,
3333
3331
  ft as o,
3334
3332
  gt as p,