@orangelogic/design-system 3.75.0 → 3.77.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.
@@ -26,22 +26,22 @@ import { t as w } from "./select.BivTPBtv.js";
26
26
  import { t as T } from "./details.BacO3ROq.js";
27
27
  import { t as se } from "./divider.CqSNZCU8.js";
28
28
  import { i as E, n as D, r as O } from "./asset-link-format.DhdgEsA0.js";
29
- import { applyTransformationsToUrl as k, buildAssetSrcset as ce, buildTransformationString as A, resolveAutoFormat as le, resolveAutoMaxWidth as ue } from "../utils.js";
30
- import { t as de } from "./v4.JyXW8GUB.js";
29
+ import { applyTransformationsToUrl as ce, buildAssetSrcset as le, buildTransformationString as k, resolveAutoFormat as ue, resolveAutoMaxWidth as de } from "../utils.js";
30
+ import { t as fe } from "./v4.JyXW8GUB.js";
31
31
  import "./cropper.D5Vh9xD_.js";
32
- import { t as fe } from "./_baseUniq.h_pGICPH.js";
33
- import { a as pe, f as j, n as me, o as he, r as ge, t as _e, u as ve } from "./endpoints.jOHOmF_t.js";
34
- import { t as M } from "./position-picker.DwDC9gDl.js";
32
+ import { t as pe } from "./_baseUniq.h_pGICPH.js";
33
+ import { a as me, f as A, n as he, o as ge, r as _e, t as ve, u as ye } from "./endpoints.CqXqfyiN.js";
34
+ import { t as j } from "./position-picker.DwDC9gDl.js";
35
35
  //#region ../../node_modules/lodash-es/uniq.js
36
- function ye(e) {
37
- return e && e.length ? fe(e) : [];
36
+ function be(e) {
37
+ return e && e.length ? pe(e) : [];
38
38
  }
39
39
  //#endregion
40
40
  //#region ../../packages/services/src/api/asset/asset.utils.ts
41
- function N(e) {
41
+ function M(e) {
42
42
  return typeof e == "object" && !!e && "URI" in e;
43
43
  }
44
- var be = {
44
+ var xe = {
45
45
  artist: "Artist",
46
46
  color: "Color",
47
47
  createDate: "CreateDate",
@@ -63,34 +63,34 @@ var be = {
63
63
  systemIdentifier: "SystemIdentifier",
64
64
  text: "Text",
65
65
  title: "Title"
66
- }, xe = /* @__PURE__ */ new Set([
66
+ }, Se = /* @__PURE__ */ new Set([
67
67
  "mediaDate",
68
68
  "createDate",
69
69
  "editDate"
70
70
  ]);
71
- function P(e) {
71
+ function N(e) {
72
72
  return !/[\s&+/*"\\:(),'<>~|[\]{}]/.test(e) && !/^(?:OR|AND|NOT)$/.test(e) ? e : `"${e.replace(/\\/g, "\\\\").replace(/"/g, "\\\"")}"`;
73
73
  }
74
- function Se(e, t) {
75
- let n = (Array.isArray(t) ? t : [t]).map((t) => `${e}:${P(t)}`);
74
+ function Ce(e, t) {
75
+ let n = (Array.isArray(t) ? t : [t]).map((t) => `${e}:${N(t)}`);
76
76
  return n.length > 1 ? `(${n.join(" OR ")})` : n[0] ?? "";
77
77
  }
78
- function Ce(e, t) {
78
+ function we(e, t) {
79
79
  return (Array.isArray(t) ? t : [t]).map((t) => `${e}${t.operator}${t.value}`).join(" AND ");
80
80
  }
81
- function we(e) {
81
+ function Te(e) {
82
82
  let t = [];
83
83
  for (let n of Object.keys(e)) {
84
84
  let r = n, i = e[r];
85
85
  if (i == null) continue;
86
86
  if (r === "custom") {
87
- for (let [e, n] of Object.entries(i)) t.push(Se(e, n));
87
+ for (let [e, n] of Object.entries(i)) t.push(Ce(e, n));
88
88
  continue;
89
89
  }
90
- let a = be[r];
90
+ let a = xe[r];
91
91
  if (a) {
92
- if (xe.has(r)) {
93
- t.push(Ce(a, i));
92
+ if (Se.has(r)) {
93
+ t.push(we(a, i));
94
94
  continue;
95
95
  }
96
96
  if (r === "color") {
@@ -100,41 +100,41 @@ function we(e) {
100
100
  if (r === "parentFolderIdentifier") {
101
101
  let e = Array.isArray(i) ? i : [i];
102
102
  if (e.length === 0) continue;
103
- let n = [...e.map((e) => `ParentFolderIdentifier:${P(String(e))}`), ...e.map((e) => `ParentAlbumIdentifier:${P(String(e))}`)];
103
+ let n = [...e.map((e) => `ParentFolderIdentifier:${N(String(e))}`), ...e.map((e) => `ParentAlbumIdentifier:${N(String(e))}`)];
104
104
  t.push(`(${n.join(" OR ")})`);
105
105
  continue;
106
106
  }
107
- t.push(Se(a, i));
107
+ t.push(Ce(a, i));
108
108
  }
109
109
  }
110
110
  return t.join(" AND ");
111
111
  }
112
- function F(e) {
113
- if ("and" in e) return e.and.map(F).filter(Boolean).join(" AND ");
112
+ function P(e) {
113
+ if ("and" in e) return e.and.map(P).filter(Boolean).join(" AND ");
114
114
  if ("or" in e) {
115
- let t = e.or.map(F).filter(Boolean);
115
+ let t = e.or.map(P).filter(Boolean);
116
116
  return t.length > 1 ? `(${t.join(" OR ")})` : t[0] ?? "";
117
117
  }
118
118
  if ("not" in e) {
119
- let t = F(e.not);
119
+ let t = P(e.not);
120
120
  return t ? `NOT (${t})` : "";
121
121
  }
122
- return we(e);
122
+ return Te(e);
123
123
  }
124
124
  //#endregion
125
125
  //#region ../../packages/services/src/api/asset/asset.ts
126
- var Te = "CoreField.LargeSizePreview", I = "CoreField.DocType", L = "Document.Title", Ee = "Document.CaptionLong", R = "Document.FileExtension", z = "CoreField.FileSize", B = "CoreField.Identifier", De = "CoreField.MaxHeight", Oe = "CoreField.MaxWidth", V = "Document.RecordID", ke = "CoreField.DocSubType", Ae = "CoreField.TitleWithFallback", H = "CoreField.OriginalFileName", je = "__width", Me = "__height", Ne = "CoreField.OriginalPreview", Pe = "Document.DocSubType", Fe = "Document.InPoint", Ie = "Document.OutPoint", Le = {
126
+ var Ee = "CoreField.LargeSizePreview", F = "CoreField.DocType", I = "Document.Title", De = "Document.CaptionLong", L = "Document.FileExtension", R = "CoreField.FileSize", z = "CoreField.Identifier", Oe = "CoreField.MaxHeight", ke = "CoreField.MaxWidth", B = "Document.RecordID", V = "CoreField.DocSubType", Ae = "CoreField.TitleWithFallback", H = "CoreField.OriginalFileName", je = "__width", Me = "__height", Ne = "CoreField.OriginalPreview", Pe = "Document.DocSubType", Fe = "Document.InPoint", Ie = "Document.OutPoint", Le = {
127
127
  DEFAULT_VIEW_SIZE: "Document.LargeSizePreview",
128
128
  ORIGINAL_VIEW_SIZE: "Document.OriginalPreview"
129
129
  }, Re = {
130
- [Te]: Le.DEFAULT_VIEW_SIZE,
130
+ [Ee]: Le.DEFAULT_VIEW_SIZE,
131
131
  [Ne]: Le.ORIGINAL_VIEW_SIZE
132
132
  }, ze = Object.fromEntries(Object.entries(Re).map(([e, t]) => [t, e]));
133
133
  function Be(e) {
134
134
  return Re[e] ?? e;
135
135
  }
136
136
  function Ve(e) {
137
- return e === "CoreField.TitleWithFallback" ? [L, H] : [Be(e)];
137
+ return e === "CoreField.TitleWithFallback" ? [I, H] : [Be(e)];
138
138
  }
139
139
  function He(e) {
140
140
  let t = {};
@@ -147,7 +147,7 @@ function He(e) {
147
147
  function Ue(e, t, n) {
148
148
  e[n] = U(t, n);
149
149
  let r = t[n];
150
- return r != null && N(r) && (typeof r.Width == "number" && r.Width > 0 && (e[`${n}${je}`] = String(r.Width)), typeof r.Height == "number" && r.Height > 0 && (e[`${n}${Me}`] = String(r.Height))), e;
150
+ return r != null && M(r) && (typeof r.Width == "number" && r.Width > 0 && (e[`${n}${je}`] = String(r.Width)), typeof r.Height == "number" && r.Height > 0 && (e[`${n}${Me}`] = String(r.Height))), e;
151
151
  }
152
152
  function We(e) {
153
153
  let t = new URLSearchParams();
@@ -161,26 +161,26 @@ async function Ge({ consistency: e, countPerPage: t, fields: n, getPermanentAsse
161
161
  }, g = {
162
162
  Consistency: e || void 0,
163
163
  CountPerPage: t,
164
- Fields: ye(p),
164
+ Fields: be(p),
165
165
  Format: "json",
166
166
  GetPermanentAssetsPaths: r || void 0,
167
167
  PageNumber: o,
168
- Query: F(s),
168
+ Query: P(s),
169
169
  SecurityByPassToken: c || void 0,
170
170
  Sort: u || void 0,
171
171
  UseSession: f || void 0
172
172
  }, _ = i === "POST";
173
173
  try {
174
- return (await j.request({
174
+ return (await A.request({
175
175
  baseURL: l,
176
176
  headers: d ? { Authorization: `Bearer ${d}` } : void 0,
177
177
  method: i,
178
- ..._ ? { data: We(g) } : {
178
+ ..._ ? { data: a ? g : We(g) } : {
179
179
  params: g,
180
180
  paramsSerializer: { indexes: null }
181
181
  },
182
182
  responseType: "json",
183
- transformResponse: [...Array.isArray(j.defaults.transformResponse) ? j.defaults.transformResponse : [], a ? (e) => ({
183
+ transformResponse: [...Array.isArray(A.defaults.transformResponse) ? A.defaults.transformResponse : [], a ? (e) => ({
184
184
  items: (e.results?.Items ?? []).map(h),
185
185
  sort: e.results?.GlobalInfo?.Sort ?? "",
186
186
  totalCount: e.results?.GlobalInfo?.TotalCount ?? 0
@@ -189,7 +189,7 @@ async function Ge({ consistency: e, countPerPage: t, fields: n, getPermanentAsse
189
189
  sort: e.APIResponse?.GlobalInfo?.Sort ?? "",
190
190
  totalCount: e.APIResponse?.GlobalInfo?.TotalCount ?? 0
191
191
  })],
192
- url: a ? he.SEARCH_ASSETS : ve["4.0"]
192
+ url: a ? _ ? ge.SEARCH_ASSETS_POST : ge.SEARCH_ASSETS : ye["4.0"]
193
193
  })).data;
194
194
  } catch {
195
195
  return {
@@ -201,7 +201,7 @@ async function Ge({ consistency: e, countPerPage: t, fields: n, getPermanentAsse
201
201
  }
202
202
  async function Ke({ assetId: e, extension: t, format: n, siteUrl: r, token: i, transformations: a, useSession: o }) {
203
203
  try {
204
- return (await j.request({
204
+ return (await A.request({
205
205
  baseURL: r,
206
206
  method: "GET",
207
207
  params: {
@@ -213,7 +213,7 @@ async function Ke({ assetId: e, extension: t, format: n, siteUrl: r, token: i, t
213
213
  UseSession: o || void 0
214
214
  },
215
215
  timeout: 3e5,
216
- url: me.GET_TRANSFORM_ASSET_LINK
216
+ url: he.GET_TRANSFORM_ASSET_LINK
217
217
  })).data;
218
218
  } catch {
219
219
  return null;
@@ -234,15 +234,15 @@ async function Ye({ consistency: e, extraFields: t, getPermanentAssetsPaths: n,
234
234
  let s = t?.filter((e) => e && typeof e == "string") ?? [], c = [
235
235
  ...s,
236
236
  H,
237
- L,
238
- Ee,
239
- V
237
+ I,
238
+ De,
239
+ B
240
240
  ], l = Je(i, qe), u = await Promise.all(l.map((t) => Ge({
241
241
  consistency: e,
242
242
  countPerPage: t.length,
243
243
  fields: c,
244
244
  getPermanentAssetsPaths: n,
245
- httpMethod: r ? "GET" : "POST",
245
+ httpMethod: "POST",
246
246
  isSiteBuilder: r,
247
247
  pageNumber: 1,
248
248
  query: { recordId: t },
@@ -253,7 +253,7 @@ async function Ye({ consistency: e, extraFields: t, getPermanentAssetsPaths: n,
253
253
  facets: [],
254
254
  items: u.flatMap((e) => e.items).map((e) => ({
255
255
  name: U(e, H),
256
- recordId: U(e, V),
256
+ recordId: U(e, B),
257
257
  ...s.reduce((t, n) => Ue(t, e, n), {})
258
258
  })).sort((e, t) => (d.get(e.recordId) ?? Infinity) - (d.get(t.recordId) ?? Infinity)),
259
259
  totalCount: u.reduce((e, t) => e + t.totalCount, 0)
@@ -261,7 +261,7 @@ async function Ye({ consistency: e, extraFields: t, getPermanentAssetsPaths: n,
261
261
  }
262
262
  function U(e, t) {
263
263
  let n = e[t];
264
- return n == null ? "" : typeof n == "string" ? n : typeof n == "number" || typeof n == "boolean" ? String(n) : N(n) ? n.URI : "";
264
+ return n == null ? "" : typeof n == "string" ? n : typeof n == "number" || typeof n == "boolean" ? String(n) : M(n) ? n.URI : "";
265
265
  }
266
266
  async function Xe({ consistency: e, countPerPage: t, directParentFolderIdentifier: n, extraFields: r, getPermanentAssetsPaths: i, isSiteBuilder: a, limitedDocTypes: o, pageNumber: s, parentFolderIdentifier: c, searchTerm: l, securityByPassToken: u, sortOrder: d, token: f }) {
267
267
  if (!n && !c) return {
@@ -280,15 +280,16 @@ async function Xe({ consistency: e, countPerPage: t, directParentFolderIdentifie
280
280
  fields: [
281
281
  ...p,
282
282
  Ae,
283
- z,
284
- I,
285
- ke,
286
- B,
287
283
  R,
284
+ F,
288
285
  V,
286
+ z,
287
+ L,
288
+ B,
289
289
  H
290
290
  ],
291
291
  getPermanentAssetsPaths: i,
292
+ httpMethod: "POST",
292
293
  isSiteBuilder: a,
293
294
  pageNumber: s,
294
295
  query: m,
@@ -299,15 +300,15 @@ async function Xe({ consistency: e, countPerPage: t, directParentFolderIdentifie
299
300
  return {
300
301
  facets: [],
301
302
  items: h.items.map((e) => {
302
- let t = U(e, R);
303
+ let t = U(e, L);
303
304
  t && !t.startsWith(".") && (t = "." + t);
304
- let n = U(e, V);
305
+ let n = U(e, B);
305
306
  return {
306
- docSubType: U(e, ke),
307
+ docSubType: U(e, V),
307
308
  docType: U(e, "CoreField.DocType") || "",
308
309
  extension: t,
309
310
  id: n,
310
- identifier: U(e, B),
311
+ identifier: U(e, z),
311
312
  name: U(e, H),
312
313
  recordId: n,
313
314
  size: U(e, "CoreField.FileSize") || "0 MB",
@@ -319,7 +320,7 @@ async function Xe({ consistency: e, countPerPage: t, directParentFolderIdentifie
319
320
  }
320
321
  async function Ze({ autoCropMode: e, cropHeight: t, cropWidth: n, imageUrl: r, useSession: i }) {
321
322
  try {
322
- return (await j.request({
323
+ return (await A.request({
323
324
  method: "GET",
324
325
  params: {
325
326
  AutoCropMode: e,
@@ -330,13 +331,13 @@ async function Ze({ autoCropMode: e, cropHeight: t, cropWidth: n, imageUrl: r, u
330
331
  },
331
332
  responseType: "json",
332
333
  timeout: 3e5,
333
- transformResponse: [...Array.isArray(j.defaults.transformResponse) ? j.defaults.transformResponse : [], (e) => ({
334
+ transformResponse: [...Array.isArray(A.defaults.transformResponse) ? A.defaults.transformResponse : [], (e) => ({
334
335
  height: e.cropHeight,
335
336
  width: e.cropWidth,
336
337
  x: e.cropX,
337
338
  y: e.cropY
338
339
  })],
339
- url: me.GET_CROP_ZONE_SUGGESTION
340
+ url: he.GET_CROP_ZONE_SUGGESTION
340
341
  })).data;
341
342
  } catch {
342
343
  return null;
@@ -344,7 +345,7 @@ async function Ze({ autoCropMode: e, cropHeight: t, cropWidth: n, imageUrl: r, u
344
345
  }
345
346
  async function Qe({ assetRecordId: e, isSiteBuilder: t, siteUrl: n, token: r, useSession: i }) {
346
347
  try {
347
- return (await j.request({
348
+ return (await A.request({
348
349
  baseURL: n,
349
350
  method: "GET",
350
351
  params: {
@@ -353,7 +354,7 @@ async function Qe({ assetRecordId: e, isSiteBuilder: t, siteUrl: n, token: r, us
353
354
  UseSession: i || void 0
354
355
  },
355
356
  responseType: "json",
356
- transformResponse: [...Array.isArray(j.defaults.transformResponse) ? j.defaults.transformResponse : [], (e) => !e || typeof e != "object" ? [] : e.proxies?.map((e) => ({
357
+ transformResponse: [...Array.isArray(A.defaults.transformResponse) ? A.defaults.transformResponse : [], (e) => !e || typeof e != "object" ? [] : e.proxies?.map((e) => ({
357
358
  cdnName: e.cdnName,
358
359
  extension: e.extension,
359
360
  formatHeight: e.formatHeight,
@@ -364,7 +365,7 @@ async function Qe({ assetRecordId: e, isSiteBuilder: t, siteUrl: n, token: r, us
364
365
  proxyName: e.proxyName,
365
366
  width: e.width
366
367
  })) ?? []],
367
- url: t ? he.GET_AVAILABLE_PROXIES : pe
368
+ url: t ? ge.GET_AVAILABLE_PROXIES : me
368
369
  })).data;
369
370
  } catch {
370
371
  return [];
@@ -372,17 +373,17 @@ async function Qe({ assetRecordId: e, isSiteBuilder: t, siteUrl: n, token: r, us
372
373
  }
373
374
  async function $e({ siteUrl: e } = {}) {
374
375
  try {
375
- return (await j.request({
376
+ return (await A.request({
376
377
  baseURL: e,
377
378
  method: "GET",
378
379
  responseType: "json",
379
- transformResponse: [...Array.isArray(j.defaults.transformResponse) ? j.defaults.transformResponse : [], (e) => !e || typeof e != "object" ? { formatsByDocType: {
380
+ transformResponse: [...Array.isArray(A.defaults.transformResponse) ? A.defaults.transformResponse : [], (e) => !e || typeof e != "object" ? { formatsByDocType: {
380
381
  Audio: {},
381
382
  Image: {},
382
383
  Multimedia: {},
383
384
  Video: {}
384
385
  } } : { formatsByDocType: e.formatsByDocType ?? {} }],
385
- url: _e
386
+ url: ve
386
387
  })).data;
387
388
  } catch {
388
389
  return { formatsByDocType: {} };
@@ -396,7 +397,7 @@ async function et({ recordIds: e, rightsToCheck: t }) {
396
397
  invalidObjects: []
397
398
  };
398
399
  try {
399
- let { data: n } = await j.request({
400
+ let { data: n } = await A.request({
400
401
  method: "GET",
401
402
  params: {
402
403
  RecordIDs: e,
@@ -404,7 +405,7 @@ async function et({ recordIds: e, rightsToCheck: t }) {
404
405
  },
405
406
  paramsSerializer: { indexes: null },
406
407
  responseType: "json",
407
- url: ge.GET_AUTHORIZED_OBJECTS
408
+ url: _e.GET_AUTHORIZED_OBJECTS
408
409
  });
409
410
  return n;
410
411
  } catch {
@@ -435,7 +436,7 @@ function ot({ autoFormat: e, buildSrcset: t, docType: n, extension: r, format: i
435
436
  let c = r?.toLowerCase() ?? "", l = c.startsWith(".") ? c : `.${c}`, u = `path_${W}`, d = (n, r) => {
436
437
  let i = a[n];
437
438
  if (!i) return;
438
- let s = a[`${n}${je}`], l = a[`${n}${Me}`], u = e ? k(i, [], {
439
+ let s = a[`${n}${je}`], l = a[`${n}${Me}`], u = e ? ce(i, [], {
439
440
  autoFormat: !o,
440
441
  extension: c,
441
442
  format: r
@@ -444,15 +445,15 @@ function ot({ autoFormat: e, buildSrcset: t, docType: n, extension: r, format: i
444
445
  maxHeight: l,
445
446
  maxWidth: s,
446
447
  src: u,
447
- srcset: t ? ce(u, {
448
+ srcset: t ? le(u, {
448
449
  extension: c,
449
450
  format: r,
450
- maxWidth: ue(o, s)
451
+ maxWidth: de(o, s)
451
452
  }) : ""
452
453
  };
453
454
  };
454
455
  if (!o) {
455
- let e = le(c, s);
456
+ let e = ue(c, s);
456
457
  return d(`path_${e}`, e) ?? d(u, W) ?? {};
457
458
  }
458
459
  let f = i ? `path_${i}` : void 0;
@@ -513,7 +514,7 @@ var st = class {
513
514
  let e = Math.min(this.maxEnd, i.totalCount);
514
515
  this.totalCount = e, this.data = Array.from({ length: e }, () => ({
515
516
  alt: "",
516
- id: `temp-${de()}`,
517
+ id: `temp-${fe()}`,
517
518
  name: "",
518
519
  src: ""
519
520
  }));
@@ -532,7 +533,7 @@ var st = class {
532
533
  manualFormat: r,
533
534
  size: s.size
534
535
  }), f = u, p = d;
535
- f && a && a.length > 0 && (f = k(f, a), p = ""), this.data[o] = {
536
+ f && a && a.length > 0 && (f = ce(f, a), p = ""), this.data[o] = {
536
537
  alt: s.name,
537
538
  docType: s.docType,
538
539
  extension: s.extension,
@@ -577,7 +578,7 @@ var st = class {
577
578
  a,
578
579
  `path_${W}`,
579
580
  `path_${G}`
580
- ].filter((e) => !!e))], s = [R, z], c = [...e, I];
581
+ ].filter((e) => !!e))], s = [L, R], c = [...e, F];
581
582
  return (await Ye({
582
583
  consistency: this.consistency,
583
584
  extraFields: [
@@ -594,16 +595,16 @@ var st = class {
594
595
  let { maxHeight: r, maxWidth: a, src: o, srcset: s } = ot({
595
596
  autoFormat: this.autoFormat,
596
597
  buildSrcset: this.buildSrcset,
597
- docType: e[I],
598
- extension: e[R],
598
+ docType: e[F],
599
+ extension: e[L],
599
600
  format: t,
600
601
  item: e,
601
602
  manualFormat: n,
602
- size: e[z]
603
+ size: e[R]
603
604
  }), l = o, u = s;
604
- return l && i && i.length > 0 && (l = k(l, i), u = ""), {
605
+ return l && i && i.length > 0 && (l = ce(l, i), u = ""), {
605
606
  alt: e.name,
606
- docType: e[I],
607
+ docType: e[F],
607
608
  extension: e["Document.FileExtension"] || "",
608
609
  id: e.recordId,
609
610
  maxHeight: r,
@@ -699,7 +700,7 @@ var st = class {
699
700
  "cx-icon-button": p,
700
701
  "cx-input": oe,
701
702
  "cx-option": S,
702
- "cx-position-picker": M,
703
+ "cx-position-picker": j,
703
704
  "cx-select": w,
704
705
  "cx-space": C,
705
706
  "cx-typography": b
@@ -867,7 +868,7 @@ var st = class {
867
868
  ${m(this.showPositionPicker && this.focusMode === "manual", () => e`<cx-position-picker data-testid="cx-asset-link-format-crop-position" value=${this.position} @cx-change=${this.onPositionChange}></cx-position-picker>`)}<cx-button data-testid="cx-asset-link-format-crop-apply" variant="primary" ?disabled=${this.disabledApply || this.invalidHeight || this.invalidWidth} ?loading=${this.loading} style=${g({ marginLeft: "auto" })} @click=${this.handleApply}>${this.localize.term("apply")}</cx-button></cx-space></cx-details>`;
868
869
  }
869
870
  };
870
- a([c(".details"), o("design:type", T === void 0 ? Object : T)], K.prototype, "base", void 0), a([c("cx-position-picker"), o("design:type", M === void 0 ? Object : M)], K.prototype, "positionPicker", void 0), a([r({
871
+ a([c(".details"), o("design:type", T === void 0 ? Object : T)], K.prototype, "base", void 0), a([c("cx-position-picker"), o("design:type", j === void 0 ? Object : j)], K.prototype, "positionPicker", void 0), a([r({
871
872
  reflect: !0,
872
873
  type: Boolean
873
874
  }), o("design:type", Boolean)], K.prototype, "open", void 0), a([r({
@@ -1602,7 +1603,7 @@ var Ct = Q, wt, $ = class extends s {
1602
1603
  return this.asset ? 0 : this.transformations.findLast((e) => e.key === O.Rotate)?.value.rotation ?? 0;
1603
1604
  }
1604
1605
  get transformationString() {
1605
- return A({
1606
+ return k({
1606
1607
  asset: this.asset,
1607
1608
  baseUrl: "",
1608
1609
  parameters: this.parameters,
@@ -1723,7 +1724,7 @@ var Ct = Q, wt, $ = class extends s {
1723
1724
  width: e.width
1724
1725
  });
1725
1726
  });
1726
- let t = A({
1727
+ let t = k({
1727
1728
  asset: this.asset,
1728
1729
  baseUrl: "",
1729
1730
  extension: this.selectedFormat.extension,
@@ -1785,7 +1786,7 @@ var Ct = Q, wt, $ = class extends s {
1785
1786
  }
1786
1787
  async handleTransformationsChange() {
1787
1788
  if (await this.updateComplete, !this.asset) {
1788
- this.emit("cx-asset-link-format-change", { detail: A({
1789
+ this.emit("cx-asset-link-format-change", { detail: k({
1789
1790
  asset: this.asset,
1790
1791
  baseUrl: "",
1791
1792
  options: { omitZeroXY: !0 },
@@ -1916,7 +1917,7 @@ var Ct = Q, wt, $ = class extends s {
1916
1917
  url: this.baseUrl && this.baseUrl.length > 0 ? `${this.baseUrl}/${e.relativePath}` : e.relativePath,
1917
1918
  width: e.width
1918
1919
  };
1919
- let r = A({
1920
+ let r = k({
1920
1921
  asset: this.asset,
1921
1922
  baseUrl: "",
1922
1923
  extension: this.selectedFormat.extension,
@@ -2134,7 +2135,7 @@ var Ct = Q, wt, $ = class extends s {
2134
2135
  this.activeSetting === e.target.localName && (this.activeSetting = "");
2135
2136
  }
2136
2137
  get autoResolvedProxyId() {
2137
- let e = le(this.asset?.extension, this.asset?.size);
2138
+ let e = ue(this.asset?.extension, this.asset?.size);
2138
2139
  return this.proxies?.find((t) => t.proxyName === e)?.id ?? "";
2139
2140
  }
2140
2141
  onProxyChange(e) {
@@ -2554,4 +2555,4 @@ a([r({
2554
2555
  ], $.prototype, "handleLoadingChange", null), $ = wt = a([u("cx-asset-link-format"), o("design:paramtypes", [])], $);
2555
2556
  var Tt = $;
2556
2557
  //#endregion
2557
- export { Ge as C, Qe as S, ye as T, Ae as _, Pe as a, Ye as b, R as c, Fe as d, De as f, ke as g, V as h, it as i, z as l, Ie as m, st as n, L as o, Oe as p, at as r, I as s, Tt as t, B as u, je as v, N as w, et as x, $e as y };
2558
+ export { Ge as C, Qe as S, be as T, Ae as _, Pe as a, Ye as b, L as c, Fe as d, Oe as f, V as g, B as h, it as i, R as l, Ie as m, st as n, I as o, ke as p, at as r, F as s, Tt as t, z as u, je as v, M as w, et as x, $e as y };
@@ -71,16 +71,16 @@ import { n as gt, t as _t } from "./confirm-popover.DYtD5qtp.js";
71
71
  import { t as vt } from "./corner-position-input-group.lsTSrT61.js";
72
72
  import { t as yt } from "./cropper.D5Vh9xD_.js";
73
73
  import { t as bt } from "./dynamic-select.BLoP9tvq.js";
74
- import { i as xt, n as M, r as St, t as N } from "./folder-select.2sj5IssM.js";
74
+ import { i as xt, n as M, r as St, t as N } from "./folder-select.Cc9PkoVE.js";
75
75
  import { t as Ct } from "./choose.C2vpqhLc.js";
76
76
  import { t as wt } from "./masonry.BnIxslnb.js";
77
77
  import { t as Tt } from "./padding-input-group.BTjH4scb.js";
78
78
  import { t as Et } from "./position-picker.DwDC9gDl.js";
79
79
  import { t as Dt } from "./shadow-input-group.kaLCMX3c.js";
80
80
  import { t as Ot } from "./size-input-group.CFgOvLnO.js";
81
- import { C as kt, S as At, T as jt, _ as Mt, b as Nt, c as Pt, f as Ft, g as It, h as Lt, i as Rt, l as zt, n as Bt, o as Vt, p as Ht, r as Ut, s as Wt, t as Gt, u as Kt, v as qt, w as Jt, x as Yt, y as Xt } from "./asset-link-format.H-8Ub7b2.js";
81
+ import { C as kt, S as At, T as jt, _ as Mt, b as Nt, c as Pt, f as Ft, g as It, h as Lt, i as Rt, l as zt, n as Bt, o as Vt, p as Ht, r as Ut, s as Wt, t as Gt, u as Kt, v as qt, w as Jt, x as Yt, y as Xt } from "./asset-link-format.PQt5Mb9Q.js";
82
82
  import { c as Zt, d as Qt, f as $t, n as en, u as tn } from "./color-swatch-group.CefCwg8T.js";
83
- import { C as nn, E as rn, H as an, J as on, K as sn, L as P, M as cn, S as ln, X as un, Y as dn, Z as fn, _ as pn, at as F, b as mn, g as hn, it as gn, nt as _n, ot as vn, q as yn, rt as I } from "./configs-controller.DIDTvuY-.js";
83
+ import { C as nn, E as rn, H as an, J as on, K as sn, L as P, M as cn, S as ln, X as un, Y as dn, Z as fn, _ as pn, at as F, b as mn, g as hn, it as gn, nt as _n, ot as vn, q as yn, rt as I } from "./configs-controller.C8ccAQpx.js";
84
84
  import { a as bn } from "./cloneDeep.C6x5LNv3.js";
85
85
  //#region ../../packages/types/src/icon-picker.ts
86
86
  var xn = /* @__PURE__ */ function(e) {
@@ -14,7 +14,7 @@ import { t as b } from "./style-map.DPGQIxip.js";
14
14
  import { t as x } from "./button.DeRJNqpr.js";
15
15
  import { t as ee } from "./tooltip.fZNjia6Z.js";
16
16
  import { t as te } from "./line-clamp.DAhcB8_D.js";
17
- import { S as ne, _ as re, a as ie, b as ae, c as oe, d as se, f as ce, g as le, h as ue, i as de, l as fe, m as pe, n as me, o as he, p as ge, s as S, t as C, u as w, v as T, x as E, y as D } from "./block-width.CKhcYAsL.js";
17
+ import { S as ne, _ as re, a as ie, b as ae, c as oe, d as se, f as ce, g as le, h as ue, i as de, l as fe, m as pe, n as me, o as he, p as ge, s as S, t as C, u as w, v as T, x as E, y as D } from "./block-width.D5YVV7XM.js";
18
18
  import { t as O } from "./typography.B0mkhqTB.js";
19
19
  import { t as k } from "./button-group.CPfXrqyq.js";
20
20
  import { t as A } from "./card.3c-X4hqR.js";
@@ -53,17 +53,17 @@ import { n as We, t as U } from "./confirm-popover.DYtD5qtp.js";
53
53
  import { t as Ge } from "./corner-position-input-group.lsTSrT61.js";
54
54
  import { t as W } from "./_baseIteratee.DWc2-Bvm.js";
55
55
  import { t as Ke } from "./dynamic-select.BLoP9tvq.js";
56
- import { r as G } from "./folder-select.2sj5IssM.js";
56
+ import { r as G } from "./folder-select.Cc9PkoVE.js";
57
57
  import { t as qe } from "./choose.C2vpqhLc.js";
58
58
  import { t as Je } from "./padding-input-group.BTjH4scb.js";
59
59
  import { t as Ye } from "./position-picker.DwDC9gDl.js";
60
60
  import { t as Xe } from "./shadow-input-group.kaLCMX3c.js";
61
61
  import { t as Ze } from "./size-input-group.CFgOvLnO.js";
62
- import { T as K } from "./asset-link-format.H-8Ub7b2.js";
62
+ import { T as K } from "./asset-link-format.PQt5Mb9Q.js";
63
63
  import { n as Qe } from "./_baseXor.Ca5K0ORC.js";
64
64
  import { n as $e, s as et, t as q } from "./isArrayLikeObject.Da3IzQeH.js";
65
65
  import { i as tt } from "./_baseClone.CnI5Vpqn.js";
66
- import { M as nt, l as J, s as rt, t as it } from "./configs-controller.DIDTvuY-.js";
66
+ import { M as nt, l as J, s as rt, t as it } from "./configs-controller.C8ccAQpx.js";
67
67
  import { t as at } from "./isEmpty.D3QQduJ5.js";
68
68
  import { i as ot } from "./cloneDeep.C6x5LNv3.js";
69
69
  //#region ../../node_modules/lodash-es/difference.js
@@ -15,8 +15,8 @@ import { _ as pe, g as me, p as he, v as ge } from "./color.CIOzHtLK.js";
15
15
  import { _ as _e, g as ve, h as ye, m as be, p as xe, s as b } from "./responsive.L9Csz2w2.js";
16
16
  import { getFontFamilyOptionValue as Se, getTypefaceOptionValue as Ce, quoteFontFamily as we, unquoteFontFamily as Te } from "../utils.js";
17
17
  import { n as Ee, r as De } from "./header.Dz7W1DJC.js";
18
- import { d as Oe, f as x, l as S, o as C, s as ke } from "./endpoints.jOHOmF_t.js";
19
- import { n as Ae } from "./folder-select.2sj5IssM.js";
18
+ import { d as Oe, f as x, l as S, o as C, s as ke } from "./endpoints.CqXqfyiN.js";
19
+ import { n as Ae } from "./folder-select.Cc9PkoVE.js";
20
20
  import { a as w, i as T, o as E, r as D, s as je } from "./color-swatch-group.CefCwg8T.js";
21
21
  import { n as Me } from "./isEmpty.D3QQduJ5.js";
22
22
  import { a as O } from "./cloneDeep.C6x5LNv3.js";
@@ -1948,7 +1948,7 @@ var jn = On(An), Mn = "webapi/extensibility/integrations/gab/assetbrowser/gethie
1948
1948
  }({}), Bn = /* @__PURE__ */ function(e) {
1949
1949
  return e["4.0"] = "API/Search/v4.0/Search", e;
1950
1950
  }({}), Vn = /* @__PURE__ */ function(e) {
1951
- return e.BLOCK_TEMPLATE = "webapi/cms/cms5/blocktemplate/418g_v1", e.GET_ADHOC_PROPERTIES = "webapi/cms/cms5/blocktemplate/getadhocpropertieslist_419s_v1", e.GET_AVAILABLE_PROXIES = "webapi/cms/cms5/availableproxies_42YX_v1", e.GET_BLOCK_TEMPLATES = "webapi/cms/cms5/blocktemplate/getblocktemplates_419y_v1", e.GET_BLOCK_TYPES = "webapi/cms/cms5/blocktemplate/getblocktypes_419z_v1", e.GET_CAN_CREATE_BLOCK_TEMPLATE = "webapi/cms/cms5/blocktemplate/cancreatenewblocktemplate_41cs_v1", e.GET_DAM_VIEW_ASSET_STATUSES = "webapi/cms/cms5/damview/getassetstatuses_42JQ_v1", e.GET_DAM_VIEW_ASSET_TYPES = "webapi/cms/cms5/damview/getassettypes_42JP_v1", e.GET_DAM_VIEW_AVAILABLE_BUTTONS = "webapi/cms/cms5/damview/getavailablebuttons_42JU_v1", e.GET_DAM_VIEW_AVAILABLE_FORMS = "webapi/cms/cms5/damview/getavailableforms_42JR_v1", e.GET_DAM_VIEW_AVAILABLE_LEVELS_OF_ACCESS = "webapi/cms/cms5/damview/getavailablelevelsofaccess_42JX_v1", e.GET_DAM_VIEW_AVAILABLE_PAGES = "webapi/cms/cms5/damview/getavailablepages_42JV_v1", e.GET_DAM_VIEW_AVAILABLE_PANELS = "webapi/cms/cms5/damview/getavailablepanels_42JT_v1", e.GET_DAM_VIEW_AVAILABLE_SPACES = "webapi/cms/cms5/damview/getavailablespaces_42JW_v1", e.GET_DAM_VIEW_AVAILABLE_TEMPLATES = "webapi/cms/cms5/damview/getavailabletemplates_42JN_v1", e.GET_DAM_VIEW_CUSTOM_BUTTON_DETAIL = "webapi/cms/cms5/damview/getcustombuttondetail_444N_v1", e.GET_DAM_VIEW_DISPLAY_MODE_OPTIONS = "webapi/cms/cms5/damview/getdisplaymodeoptions_42JS_v1", e.GET_PAGES_FOR_BLOCK_TEMPLATE = "webapi/cms/cms5/blocktemplate/getpagesforblocktemplate_41ig_v1", e.GET_PERMISSION = "webapi/cms/cms5/blocktemplate/getpermission_419r_v1", e.LIST_BLOCK_TEMPLATES = "webapi/cms/cms5/blocktemplate/getlisttemplates_428o_v1", e.SEARCH_ASSETS = "webapi/cms/cms5/search_42QJ_v1", e;
1951
+ return e.BLOCK_TEMPLATE = "webapi/cms/cms5/blocktemplate/418g_v1", e.GET_ADHOC_PROPERTIES = "webapi/cms/cms5/blocktemplate/getadhocpropertieslist_419s_v1", e.GET_AVAILABLE_PROXIES = "webapi/cms/cms5/availableproxies_42YX_v1", e.GET_BLOCK_TEMPLATES = "webapi/cms/cms5/blocktemplate/getblocktemplates_419y_v1", e.GET_BLOCK_TYPES = "webapi/cms/cms5/blocktemplate/getblocktypes_419z_v1", e.GET_CAN_CREATE_BLOCK_TEMPLATE = "webapi/cms/cms5/blocktemplate/cancreatenewblocktemplate_41cs_v1", e.GET_DAM_VIEW_ASSET_STATUSES = "webapi/cms/cms5/damview/getassetstatuses_42JQ_v1", e.GET_DAM_VIEW_ASSET_TYPES = "webapi/cms/cms5/damview/getassettypes_42JP_v1", e.GET_DAM_VIEW_AVAILABLE_BUTTONS = "webapi/cms/cms5/damview/getavailablebuttons_42JU_v1", e.GET_DAM_VIEW_AVAILABLE_FORMS = "webapi/cms/cms5/damview/getavailableforms_42JR_v1", e.GET_DAM_VIEW_AVAILABLE_LEVELS_OF_ACCESS = "webapi/cms/cms5/damview/getavailablelevelsofaccess_42JX_v1", e.GET_DAM_VIEW_AVAILABLE_PAGES = "webapi/cms/cms5/damview/getavailablepages_42JV_v1", e.GET_DAM_VIEW_AVAILABLE_PANELS = "webapi/cms/cms5/damview/getavailablepanels_42JT_v1", e.GET_DAM_VIEW_AVAILABLE_SPACES = "webapi/cms/cms5/damview/getavailablespaces_42JW_v1", e.GET_DAM_VIEW_AVAILABLE_TEMPLATES = "webapi/cms/cms5/damview/getavailabletemplates_42JN_v1", e.GET_DAM_VIEW_CUSTOM_BUTTON_DETAIL = "webapi/cms/cms5/damview/getcustombuttondetail_444N_v1", e.GET_DAM_VIEW_DISPLAY_MODE_OPTIONS = "webapi/cms/cms5/damview/getdisplaymodeoptions_42JS_v1", e.GET_PAGES_FOR_BLOCK_TEMPLATE = "webapi/cms/cms5/blocktemplate/getpagesforblocktemplate_41ig_v1", e.GET_PERMISSION = "webapi/cms/cms5/blocktemplate/getpermission_419r_v1", e.LIST_BLOCK_TEMPLATES = "webapi/cms/cms5/blocktemplate/getlisttemplates_428o_v1", e.SEARCH_ASSETS = "webapi/cms/cms5/search_42QJ_v1", e.SEARCH_ASSETS_POST = "webapi/cms/cms5/search_42QJ_v2", e;
1952
1952
  }({}), Hn = /* @__PURE__ */ function(e) {
1953
1953
  return e.GET_AUTHORIZED_OBJECTS = "webapi/objectmanagement/authorization/getauthorizedobjects_44H_v1", e;
1954
1954
  }({});
@@ -22,7 +22,7 @@ import { t as D } from "./select.BivTPBtv.js";
22
22
  import { t as O } from "./template.Cyvih0XQ.js";
23
23
  import { n as k } from "./asset-link-format.DhdgEsA0.js";
24
24
  import { a as A, i as j } from "./tree.B9-viK2b.js";
25
- import { c as M, f as N, p as P } from "./endpoints.jOHOmF_t.js";
25
+ import { c as M, f as N, p as P } from "./endpoints.CqXqfyiN.js";
26
26
  import { t as F } from "./choose.C2vpqhLc.js";
27
27
  //#region ../../node_modules/axios/index.js
28
28
  var { Axios: I, AxiosError: L, CanceledError: R, isCancel: z, CancelToken: B, VERSION: V, all: H, Cancel: ee, isAxiosError: te, spread: ne, toFormData: re, AxiosHeaders: ie, HttpStatusCode: ae, formToJSON: oe, getAdapter: se, mergeConfig: ce } = P, U = /* @__PURE__ */ function(e) {
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/asset-link-format.H-8Ub7b2.js";
1
+ import { t as e } from "../chunks/asset-link-format.PQt5Mb9Q.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/folder-select.2sj5IssM.js";
1
+ import { t as e } from "../chunks/folder-select.Cc9PkoVE.js";
2
2
  export { e as default };
@@ -5,7 +5,7 @@ import { t as r } from "../chunks/confirm-popover.DYtD5qtp.js";
5
5
  import { t as i } from "../chunks/corner-position-input-group.lsTSrT61.js";
6
6
  import { t as a } from "../chunks/cropper.D5Vh9xD_.js";
7
7
  import { t as o } from "../chunks/dynamic-select.BLoP9tvq.js";
8
- import { t as s } from "../chunks/folder-select.2sj5IssM.js";
8
+ import { t as s } from "../chunks/folder-select.Cc9PkoVE.js";
9
9
  import { t as c } from "../chunks/masonry.BnIxslnb.js";
10
10
  import { t as l } from "../chunks/padding-input-group.BTjH4scb.js";
11
11
  import { t as u } from "../chunks/position-picker.DwDC9gDl.js";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../chunks/asset-link-format.H-8Ub7b2.js";
1
+ import { t as e } from "../chunks/asset-link-format.PQt5Mb9Q.js";
2
2
  import { t } from "../chunks/color-swatch-group.CefCwg8T.js";
3
3
  import { t as n } from "../chunks/file-on-demand.CjKvqQXz.js";
4
4
  export { e as CxAssetLinkFormat, t as CxColorSwatchGroup, n as CxFileOnDemand };
@@ -38,7 +38,7 @@ import { t as kt } from "../chunks/resize-observer.D9EHlnZI.js";
38
38
  import { t as At } from "../chunks/line-clamp.DAhcB8_D.js";
39
39
  import { t as jt } from "../chunks/tag.B6BfN7x-.js";
40
40
  import { t as Mt } from "../chunks/array-line-clamp.B1e77kEp.js";
41
- import { C as Nt, S as Pt, _ as Ft, b as It, g as Lt, h as Rt, o as zt, r as Bt, s as Vt, t as Ht, v as Ut, w as Wt, x as Gt, y as Kt } from "../chunks/block-width.CKhcYAsL.js";
41
+ import { C as Nt, S as Pt, _ as Ft, b as It, g as Lt, h as Rt, o as zt, r as Bt, s as Vt, t as Ht, v as Ut, w as Wt, x as Gt, y as Kt } from "../chunks/block-width.D5YVV7XM.js";
42
42
  import { n as qt, t as Jt } from "../chunks/position-picker.dY_vgF_H.js";
43
43
  import { a as Yt, i as Xt, n as Zt, o as Qt, r as $t, s as en, t as tn } from "../chunks/src.BJhIYoMP.js";
44
44
  import { a as nn, c as rn, i as an, n as on, o as sn, r as cn, t as ln, u as un } from "../chunks/time.p1t0NCwj.js";
@@ -153,8 +153,8 @@ import { t as Ds } from "../chunks/cropper.D5Vh9xD_.js";
153
153
  import { t as Os } from "../chunks/toNumber.BBjIwSoo.js";
154
154
  import { t as ks } from "../chunks/debounce.DrhImrNP.js";
155
155
  import { t as As } from "../chunks/dynamic-select.BLoP9tvq.js";
156
- import { f as js, i as Ms } from "../chunks/endpoints.jOHOmF_t.js";
157
- import { r as Ns, t as Ps } from "../chunks/folder-select.2sj5IssM.js";
156
+ import { f as js, i as Ms } from "../chunks/endpoints.CqXqfyiN.js";
157
+ import { r as Ns, t as Ps } from "../chunks/folder-select.Cc9PkoVE.js";
158
158
  import { t as Fs } from "../chunks/choose.C2vpqhLc.js";
159
159
  import { t as Is } from "../chunks/masonry.BnIxslnb.js";
160
160
  import { t as Ls } from "../chunks/padding-input-group.BTjH4scb.js";
@@ -165,12 +165,12 @@ import { t as Vs } from "../chunks/sidebar.B1MjUxBY.js";
165
165
  import { t as Hs } from "../chunks/size-input-group.CFgOvLnO.js";
166
166
  import { t as Us } from "../chunks/stepper-wizard.BCmR5WiA.js";
167
167
  import { t as Ws } from "../chunks/typeface.BHErcYfd.js";
168
- import { T as Gs, _ as Ks, a as qs, b as Js, c as Ys, d as Xs, l as Zs, m as Qs, n as $s, o as ec, s as tc, t as nc, v as rc } from "../chunks/asset-link-format.H-8Ub7b2.js";
168
+ import { T as Gs, _ as Ks, a as qs, b as Js, c as Ys, d as Xs, l as Zs, m as Qs, n as $s, o as ec, s as tc, t as nc, v as rc } from "../chunks/asset-link-format.PQt5Mb9Q.js";
169
169
  import { c as ic, h as ac, l as oc, m as sc, p as cc, t as lc, u as uc } from "../chunks/color-swatch-group.CefCwg8T.js";
170
170
  import { n as dc } from "../chunks/isArrayLikeObject.Da3IzQeH.js";
171
171
  import { t as fc } from "../chunks/file-on-demand.CjKvqQXz.js";
172
172
  import "../events.js";
173
- import { $ as pc, A as mc, B as hc, D as gc, F as _c, G as vc, H as yc, I as bc, L as xc, N as Sc, O as Cc, P as eee, Q as tee, R as nee, T as wc, U as Tc, V as Ec, W as ree, a as Dc, c as iee, ct as aee, d as oee, dt as Oc, et as kc, f as Ac, h as see, i as jc, j as Mc, k as cee, lt as Nc, m as lee, o as Pc, ot as Fc, p as Ic, r as Lc, s as Rc, st as zc, t as Bc, tt as Vc, u as Hc, ut as Uc, v as Wc, w as Gc, x as Kc, y as qc, z as Jc } from "../chunks/configs-controller.DIDTvuY-.js";
173
+ import { $ as pc, A as mc, B as hc, D as gc, F as _c, G as vc, H as yc, I as bc, L as xc, N as Sc, O as Cc, P as eee, Q as tee, R as nee, T as wc, U as Tc, V as Ec, W as ree, a as Dc, c as iee, ct as aee, d as oee, dt as Oc, et as kc, f as Ac, h as see, i as jc, j as Mc, k as cee, lt as Nc, m as lee, o as Pc, ot as Fc, p as Ic, r as Lc, s as Rc, st as zc, t as Bc, tt as Vc, u as Hc, ut as Uc, v as Wc, w as Gc, x as Kc, y as qc, z as Jc } from "../chunks/configs-controller.C8ccAQpx.js";
174
174
  import { i as Yc } from "../chunks/timer.M6Aa3L_j.js";
175
175
  import { a as Xc, c as Zc, d as Qc, f as $c, i as el, l as tl, n as nl, o as rl, r as il, s as al, t as ol, u as sl } from "../chunks/src.CLGAM3OO.js";
176
176
  import { t as cl } from "../chunks/value.C4_tUrAq.js";
@@ -1323,6 +1323,13 @@ var Tl = wl, _ee = class {
1323
1323
  handleKeydown(e) {
1324
1324
  e.composedPath().includes(this) && (e.key === "f" || e.key === "F" ? (e.stopPropagation(), e.stopImmediatePropagation(), this.isFullscreen = !this.isFullscreen) : e.key === "Escape" && (e.stopPropagation(), e.stopImmediatePropagation(), this.isFullscreen = !1));
1325
1325
  }
1326
+ handleClick(e) {
1327
+ let t = e.target;
1328
+ if (t.classList.contains("color-picker-cover")) {
1329
+ let e = t.querySelector(".color-picker-float");
1330
+ Object.defineProperty(e, "ownerDocument", { value: this.shadowRoot });
1331
+ }
1332
+ }
1326
1333
  handleFullscreenChange() {
1327
1334
  this.isFullscreen ? Sr(this) : xr(this), !this.isFullscreen && this.showInspector && (this.showInspector = !1, window.INSPECTOR.Inspector.Hide()), requestAnimationFrame(() => {
1328
1335
  this.viewer.focus(), this.sceneController?.resize();
@@ -1337,7 +1344,7 @@ var Tl = wl, _ee = class {
1337
1344
  return r`<div class=${j({
1338
1345
  viewer: !0,
1339
1346
  "viewer--fullscreen": this.isFullscreen
1340
- })} tabindex="0" @keydown=${this.handleKeydown}><canvas id="renderCanvas" class="viewer__canvas" @dblclick=${this.handleFullScreen} @pointerdown=${this.handleMouseDown} @pointerup=${this.handleMouseUp}></canvas><!-- Loading Spinner -->${P(!this.isModelLoaded, () => r`<div class="viewer__spinner-container"><cx-spinner class="viewer__spinner"></cx-spinner></div>`)}<!-- Floating Menu (only show when model is loaded) -->${P(this.isModelLoaded, () => r`<cx-3d-viewer-control .animationProgress=${this.animationProgress} .currentTime=${this.currentTime} total-time=${this.totalTime} available-speed-ratios=${this.availableSpeedRatios} available-environments=${this.availableEnvironments} available-variants=${this.availableVariants} available-animations=${this.availableAnimations} selected-animation=${this.selectedAnimation} selected-speed=${this.selectedSpeed} active-environment=${this.activeEnvironment} active-variant=${this.activeVariant} blob-url=${this.blobUrl} ?can-view-ar=${this.canViewAR} ?can-use-inspector=${this.canUseInspector} ?is-animation-playing=${this.isAnimationPlaying} ?is-fullscreen=${this.isFullscreen} ?show-wireframe=${this.showWireframe} ?show-textures=${this.showTextures} ?show-shadows=${this.showShadows} ?show-grid=${this.showGrid} ?has-animation=${this.hasAnimation} ?show-inspector=${this.showInspector} ?grid-loading=${this.gridLoading} ?inspector-loading=${this.inspectorLoading} @cx-3d-viewer-select=${this.handleSelectEvent} @cx-3d-viewer-config-switch-toggle=${this.handleSwitchToggle} @cx-3d-viewer-control-play-button-toggle=${this.handlePlayButtonToggle} @cx-3d-viewer-control-animation-seek=${this.handleAnimationSeek} @cx-3d-viewer-control-replay-click=${this.handleReplayClick} @cx-3d-viewer-fullscreen-request=${this.handleFullScreen} @cx-3d-viewer-control-reset-position-click=${this.handleResetPositionClick}></cx-3d-viewer-control>`)}</div>`;
1347
+ })} tabindex="0" @keydown=${this.handleKeydown} @click=${this.handleClick}><canvas id="renderCanvas" class="viewer__canvas" @dblclick=${this.handleFullScreen} @pointerdown=${this.handleMouseDown} @pointerup=${this.handleMouseUp}></canvas><!-- Loading Spinner -->${P(!this.isModelLoaded, () => r`<div class="viewer__spinner-container"><cx-spinner class="viewer__spinner"></cx-spinner></div>`)}<!-- Floating Menu (only show when model is loaded) -->${P(this.isModelLoaded, () => r`<cx-3d-viewer-control .animationProgress=${this.animationProgress} .currentTime=${this.currentTime} total-time=${this.totalTime} available-speed-ratios=${this.availableSpeedRatios} available-environments=${this.availableEnvironments} available-variants=${this.availableVariants} available-animations=${this.availableAnimations} selected-animation=${this.selectedAnimation} selected-speed=${this.selectedSpeed} active-environment=${this.activeEnvironment} active-variant=${this.activeVariant} blob-url=${this.blobUrl} ?can-view-ar=${this.canViewAR} ?can-use-inspector=${this.canUseInspector} ?is-animation-playing=${this.isAnimationPlaying} ?is-fullscreen=${this.isFullscreen} ?show-wireframe=${this.showWireframe} ?show-textures=${this.showTextures} ?show-shadows=${this.showShadows} ?show-grid=${this.showGrid} ?has-animation=${this.hasAnimation} ?show-inspector=${this.showInspector} ?grid-loading=${this.gridLoading} ?inspector-loading=${this.inspectorLoading} @cx-3d-viewer-select=${this.handleSelectEvent} @cx-3d-viewer-config-switch-toggle=${this.handleSwitchToggle} @cx-3d-viewer-control-play-button-toggle=${this.handlePlayButtonToggle} @cx-3d-viewer-control-animation-seek=${this.handleAnimationSeek} @cx-3d-viewer-control-replay-click=${this.handleReplayClick} @cx-3d-viewer-fullscreen-request=${this.handleFullScreen} @cx-3d-viewer-control-reset-position-click=${this.handleResetPositionClick}></cx-3d-viewer-control>`)}</div>`;
1341
1348
  }
1342
1349
  };
1343
1350
  l([p("#renderCanvas"), u("design:type", typeof HTMLCanvasElement > "u" ? Object : HTMLCanvasElement)], Dl.prototype, "renderCanvas", void 0), l([p("cx-3d-viewer-control"), u("design:type", Tl === void 0 ? Object : Tl)], Dl.prototype, "controlComponent", void 0), l([p(".viewer"), u("design:type", typeof HTMLDivElement > "u" ? Object : HTMLDivElement)], Dl.prototype, "viewer", void 0), l([s({
@@ -1370,6 +1377,11 @@ l([p("#renderCanvas"), u("design:type", typeof HTMLCanvasElement > "u" ? Object
1370
1377
  reflect: !0,
1371
1378
  type: Boolean
1372
1379
  }), u("design:type", Boolean)], Dl.prototype, "canUseInspector", void 0), l([c(), u("design:type", Boolean)], Dl.prototype, "showHotspotsMenu", void 0), l([c(), u("design:type", Boolean)], Dl.prototype, "showGrid", void 0), l([c(), u("design:type", Boolean)], Dl.prototype, "showShadows", void 0), l([c(), u("design:type", Boolean)], Dl.prototype, "showTextures", void 0), l([c(), u("design:type", Boolean)], Dl.prototype, "showWireframe", void 0), l([c(), u("design:type", String)], Dl.prototype, "selectedSpeed", void 0), l([c(), u("design:type", Boolean)], Dl.prototype, "isAnimationPlaying", void 0), l([c(), u("design:type", Number)], Dl.prototype, "animationProgress", void 0), l([c(), u("design:type", String)], Dl.prototype, "currentTime", void 0), l([c(), u("design:type", String)], Dl.prototype, "totalTime", void 0), l([c(), u("design:type", Boolean)], Dl.prototype, "isModelLoaded", void 0), l([c(), u("design:type", Boolean)], Dl.prototype, "isFullscreen", void 0), l([c(), u("design:type", Object)], Dl.prototype, "inspectorInitialized", void 0), l([c(), u("design:type", Object)], Dl.prototype, "mouseDownPosition", void 0), l([c(), u("design:type", String)], Dl.prototype, "activeEnvironment", void 0), l([c(), u("design:type", String)], Dl.prototype, "activeVariant", void 0), l([c(), u("design:type", String)], Dl.prototype, "selectedAnimation", void 0), l([c(), u("design:type", Boolean)], Dl.prototype, "gridLoading", void 0), l([c(), u("design:type", Boolean)], Dl.prototype, "inspectorLoading", void 0), l([c(), u("design:type", String)], Dl.prototype, "blobUrl", void 0), l([
1380
+ f({ capture: !0 }),
1381
+ u("design:type", Function),
1382
+ u("design:paramtypes", [typeof MouseEvent > "u" ? Object : MouseEvent]),
1383
+ u("design:returntype", void 0)
1384
+ ], Dl.prototype, "handleClick", null), l([
1373
1385
  A("isFullscreen", { waitUntilFirstUpdate: !0 }),
1374
1386
  u("design:type", Function),
1375
1387
  u("design:paramtypes", []),
@@ -95188,7 +95200,7 @@ var sEe = [
95188
95200
  return this.mappedSupportedLanguages.length > 1;
95189
95201
  }
95190
95202
  ensureConfigUi() {
95191
- return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.CwTukKbk.js"), import("../chunks/configs-controller.DIDTvuY-.js").then((e) => e.n)]).then(async ([, e]) => {
95203
+ return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.BzGNvNSt.js"), import("../chunks/configs-controller.C8ccAQpx.js").then((e) => e.n)]).then(async ([, e]) => {
95192
95204
  this.configsController ??= new e.default(this.localize), await customElements.whenDefined("cx-config-manager"), await this.configManager?.updateComplete;
95193
95205
  });
95194
95206
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "3.75.0",
4
+ "version": "3.77.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -188,6 +188,7 @@ export default class Cx3dViewer extends CortexElement {
188
188
  private handleMouseDown;
189
189
  private handleMouseUp;
190
190
  private handleKeydown;
191
+ private handleClick;
191
192
  handleFullscreenChange(): void;
192
193
  handleShowInspectorChange(): void;
193
194
  /**
@@ -60,7 +60,8 @@ export declare enum CMS5_API_ENDPOINT {
60
60
  GET_PAGES_FOR_BLOCK_TEMPLATE = "webapi/cms/cms5/blocktemplate/getpagesforblocktemplate_41ig_v1",
61
61
  GET_PERMISSION = "webapi/cms/cms5/blocktemplate/getpermission_419r_v1",
62
62
  LIST_BLOCK_TEMPLATES = "webapi/cms/cms5/blocktemplate/getlisttemplates_428o_v1",
63
- SEARCH_ASSETS = "webapi/cms/cms5/search_42QJ_v1"
63
+ SEARCH_ASSETS = "webapi/cms/cms5/search_42QJ_v1",
64
+ SEARCH_ASSETS_POST = "webapi/cms/cms5/search_42QJ_v2"
64
65
  }
65
66
  export declare enum AUTHORIZATION_API_ENDPOINT {
66
67
  GET_AUTHORIZED_OBJECTS = "webapi/objectmanagement/authorization/getauthorizedobjects_44H_v1"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "3.75.0",
4
+ "version": "3.77.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {