@orangelogic/design-system 4.46.0 → 4.47.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.
@@ -7,21 +7,22 @@ import { n as g } from "./position-picker.dY_vgF_H.js";
7
7
  import { a as _, n as v, o as ee, s as y } from "./src.BJhIYoMP.js";
8
8
  import { a as te, i as ne, r as re } from "./tab-group.Ib4bahXC.js";
9
9
  import { t as ie } from "./parse.CDrJ-NY7.js";
10
- import { t as ae } from "./toString.r2ImdBrm.js";
11
- import { t as oe } from "./capitalize.BT_EavGy.js";
12
- import { a as se, i as ce, n as le, r as ue } from "./document-viewer.BtB-RTvP.js";
13
- import { l as de, p as fe } from "./url.BCc06dE7.js";
14
- import { _ as pe, g as me, p as he, v as ge } from "./color.CIOzHtLK.js";
15
- import { g as _e, m as ve, p as ye, s as b } from "./responsive.L9Csz2w2.js";
10
+ import { G as ae, J as oe, U as se, V as ce } from "./src.QIRlv8bQ.js";
11
+ import { t as le } from "./toString.r2ImdBrm.js";
12
+ import { t as ue } from "./capitalize.BT_EavGy.js";
13
+ import { a as de, i as fe, n as pe, r as me } from "./document-viewer.BtB-RTvP.js";
14
+ import { l as he, p as ge } from "./url.BCc06dE7.js";
15
+ import { _ as _e, g as ve, p as ye, v as be } from "./color.CIOzHtLK.js";
16
+ import { _ as xe, g as Se, h as Ce, m as we, p as Te, s as b } from "./responsive.L9Csz2w2.js";
16
17
  import { r as x } from "./asset-link-format.COPyGdND.js";
17
- import { n as be, r as xe } from "./header.NoiopyyV.js";
18
- import { c as Se, f as Ce, p as S, s as C, u as w } from "./string-array.Dstcqyjm.js";
19
- import { n as we } from "./folder-select.B02Mdr8b.js";
20
- import { a as T, i as E, o as D, r as O, s as Te } from "./color-swatch-group.ujgqmTBa.js";
21
- import { n as Ee } from "./isEmpty.D3QQduJ5.js";
18
+ import { n as Ee, r as De } from "./header.NoiopyyV.js";
19
+ import { c as Oe, f as ke, p as S, s as C, u as w } from "./string-array.Dstcqyjm.js";
20
+ import { n as Ae } from "./folder-select.B02Mdr8b.js";
21
+ import { a as T, i as E, o as D, r as O, s as je } from "./color-swatch-group.ujgqmTBa.js";
22
+ import { n as Me } from "./isEmpty.D3QQduJ5.js";
22
23
  import { a as k } from "./cloneDeep.C6x5LNv3.js";
23
24
  //#region ../../packages/services/src/api/dashboard/dashboard.ts
24
- async function De() {
25
+ async function Ne() {
25
26
  try {
26
27
  return (await S.request({
27
28
  method: "GET",
@@ -35,13 +36,13 @@ async function De() {
35
36
  hasMore: !1
36
37
  };
37
38
  }],
38
- url: Se.GET_DASHBOARD_LIST
39
+ url: Oe.GET_DASHBOARD_LIST
39
40
  })).data;
40
41
  } catch {
41
42
  return [];
42
43
  }
43
44
  }
44
- async function Oe({ dashboardId: e, pageId: t }) {
45
+ async function Pe({ dashboardId: e, pageId: t }) {
45
46
  try {
46
47
  return (await S.request({
47
48
  method: "GET",
@@ -53,7 +54,7 @@ async function Oe({ dashboardId: e, pageId: t }) {
53
54
  if (!e || typeof e != "object") throw Error("Invalid response format");
54
55
  return e.embedUrl || "";
55
56
  }],
56
- url: Se.GET_DASHBOARD_EMBEDDED_URL
57
+ url: Oe.GET_DASHBOARD_EMBEDDED_URL
57
58
  })).data;
58
59
  } catch {
59
60
  return "";
@@ -61,23 +62,23 @@ async function Oe({ dashboardId: e, pageId: t }) {
61
62
  }
62
63
  //#endregion
63
64
  //#region ../../packages/types/src/details-group.ts
64
- var ke = {
65
+ var Fe = {
65
66
  name: "keyboard_arrow_right",
66
67
  src: ""
67
- }, Ae = {
68
+ }, Ie = {
68
69
  name: "keyboard_arrow_down",
69
70
  src: ""
70
71
  };
71
72
  //#endregion
72
73
  //#region ../../node_modules/lodash-es/_basePropertyOf.js
73
- function je(e) {
74
+ function Le(e) {
74
75
  return function(t) {
75
76
  return e?.[t];
76
77
  };
77
78
  }
78
79
  //#endregion
79
80
  //#region ../../node_modules/lodash-es/_deburrLetter.js
80
- var Me = je({
81
+ var Re = Le({
81
82
  À: "A",
82
83
  Á: "A",
83
84
  Â: "A",
@@ -268,125 +269,125 @@ var Me = je({
268
269
  œ: "oe",
269
270
  ʼn: "'n",
270
271
  ſ: "s"
271
- }), Ne = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Pe = RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]", "g");
272
- function Fe(e) {
273
- return e = ae(e), e && e.replace(Ne, Me).replace(Pe, "");
272
+ }), ze = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Be = RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]", "g");
273
+ function Ve(e) {
274
+ return e = le(e), e && e.replace(ze, Re).replace(Be, "");
274
275
  }
275
276
  //#endregion
276
277
  //#region ../../node_modules/lodash-es/_asciiWords.js
277
- var Ie = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
278
- function Le(e) {
279
- return e.match(Ie) || [];
278
+ var He = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
279
+ function Ue(e) {
280
+ return e.match(He) || [];
280
281
  }
281
282
  //#endregion
282
283
  //#region ../../node_modules/lodash-es/_hasUnicodeWord.js
283
- var Re = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
284
- function ze(e) {
285
- return Re.test(e);
284
+ var We = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
285
+ function Ge(e) {
286
+ return We.test(e);
286
287
  }
287
288
  //#endregion
288
289
  //#region ../../node_modules/lodash-es/_unicodeWords.js
289
- var Be = "\\ud800-\\udfff", Ve = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff", He = "\\u2700-\\u27bf", Ue = "a-z\\xdf-\\xf6\\xf8-\\xff", We = "\\xac\\xb1\\xd7\\xf7", Ge = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Ke = "\\u2000-\\u206f", qe = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Je = "A-Z\\xc0-\\xd6\\xd8-\\xde", Ye = "\\ufe0e\\ufe0f", Xe = We + Ge + Ke + qe, Ze = "['’]", Qe = "[" + Xe + "]", $e = "[" + Ve + "]", et = "\\d+", tt = "[" + He + "]", nt = "[" + Ue + "]", rt = "[^" + Be + Xe + et + He + Ue + Je + "]", it = "(?:" + $e + "|\\ud83c[\\udffb-\\udfff])", at = "[^" + Be + "]", ot = "(?:\\ud83c[\\udde6-\\uddff]){2}", st = "[\\ud800-\\udbff][\\udc00-\\udfff]", A = "[" + Je + "]", ct = "\\u200d", lt = "(?:" + nt + "|" + rt + ")", ut = "(?:" + A + "|" + rt + ")", dt = "(?:" + Ze + "(?:d|ll|m|re|s|t|ve))?", ft = "(?:" + Ze + "(?:D|LL|M|RE|S|T|VE))?", pt = it + "?", mt = "[" + Ye + "]?", ht = "(?:" + ct + "(?:" + [
290
- at,
291
- ot,
292
- st
293
- ].join("|") + ")" + mt + pt + ")*", gt = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", _t = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", vt = mt + pt + ht, yt = "(?:" + [
294
- tt,
295
- ot,
296
- st
297
- ].join("|") + ")" + vt, bt = RegExp([
298
- A + "?" + nt + "+" + dt + "(?=" + [
299
- Qe,
290
+ var Ke = "\\ud800-\\udfff", qe = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff", Je = "\\u2700-\\u27bf", Ye = "a-z\\xdf-\\xf6\\xf8-\\xff", Xe = "\\xac\\xb1\\xd7\\xf7", Ze = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Qe = "\\u2000-\\u206f", $e = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", et = "A-Z\\xc0-\\xd6\\xd8-\\xde", tt = "\\ufe0e\\ufe0f", nt = Xe + Ze + Qe + $e, rt = "['’]", it = "[" + nt + "]", at = "[" + qe + "]", ot = "\\d+", st = "[" + Je + "]", ct = "[" + Ye + "]", lt = "[^" + Ke + nt + ot + Je + Ye + et + "]", ut = "(?:" + at + "|\\ud83c[\\udffb-\\udfff])", dt = "[^" + Ke + "]", ft = "(?:\\ud83c[\\udde6-\\uddff]){2}", pt = "[\\ud800-\\udbff][\\udc00-\\udfff]", A = "[" + et + "]", mt = "\\u200d", ht = "(?:" + ct + "|" + lt + ")", gt = "(?:" + A + "|" + lt + ")", _t = "(?:" + rt + "(?:d|ll|m|re|s|t|ve))?", vt = "(?:" + rt + "(?:D|LL|M|RE|S|T|VE))?", yt = ut + "?", bt = "[" + tt + "]?", xt = "(?:" + mt + "(?:" + [
291
+ dt,
292
+ ft,
293
+ pt
294
+ ].join("|") + ")" + bt + yt + ")*", St = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ct = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", wt = bt + yt + xt, Tt = "(?:" + [
295
+ st,
296
+ ft,
297
+ pt
298
+ ].join("|") + ")" + wt, Et = RegExp([
299
+ A + "?" + ct + "+" + _t + "(?=" + [
300
+ it,
300
301
  A,
301
302
  "$"
302
303
  ].join("|") + ")",
303
- ut + "+" + ft + "(?=" + [
304
- Qe,
305
- A + lt,
304
+ gt + "+" + vt + "(?=" + [
305
+ it,
306
+ A + ht,
306
307
  "$"
307
308
  ].join("|") + ")",
308
- A + "?" + lt + "+" + dt,
309
- A + "+" + ft,
310
- _t,
311
- gt,
312
- et,
313
- yt
309
+ A + "?" + ht + "+" + _t,
310
+ A + "+" + vt,
311
+ Ct,
312
+ St,
313
+ ot,
314
+ Tt
314
315
  ].join("|"), "g");
315
- function xt(e) {
316
- return e.match(bt) || [];
316
+ function Dt(e) {
317
+ return e.match(Et) || [];
317
318
  }
318
319
  //#endregion
319
320
  //#region ../../node_modules/lodash-es/words.js
320
- function St(e, t, n) {
321
- return e = ae(e), t = n ? void 0 : t, t === void 0 ? ze(e) ? xt(e) : Le(e) : e.match(t) || [];
321
+ function Ot(e, t, n) {
322
+ return e = le(e), t = n ? void 0 : t, t === void 0 ? Ge(e) ? Dt(e) : Ue(e) : e.match(t) || [];
322
323
  }
323
324
  //#endregion
324
325
  //#region ../../node_modules/lodash-es/_createCompounder.js
325
- var Ct = RegExp("['’]", "g");
326
- function wt(e) {
326
+ var kt = RegExp("['’]", "g");
327
+ function At(e) {
327
328
  return function(t) {
328
- return Ee(St(Fe(t).replace(Ct, "")), e, "");
329
+ return Me(Ot(Ve(t).replace(kt, "")), e, "");
329
330
  };
330
331
  }
331
332
  //#endregion
332
333
  //#region ../../node_modules/lodash-es/camelCase.js
333
- var Tt = wt(function(e, t, n) {
334
- return t = t.toLowerCase(), e + (n ? oe(t) : t);
335
- }), Et = /* @__PURE__ */ function(e) {
334
+ var jt = At(function(e, t, n) {
335
+ return t = t.toLowerCase(), e + (n ? ue(t) : t);
336
+ }), Mt = /* @__PURE__ */ function(e) {
336
337
  return e.Current = "current", e.Latest = "latest", e;
337
- }({}), Dt = /* @__PURE__ */ function(e) {
338
+ }({}), Nt = /* @__PURE__ */ function(e) {
338
339
  return e.Primary = "primary", e.Secondary = "secondary", e;
339
340
  }({}), j = /* @__PURE__ */ function(e) {
340
341
  return e.IconAndLabel = "icon-and-label", e.IconOnly = "icon-only", e.LabelOnly = "label-only", e;
341
342
  }({}), M = /* @__PURE__ */ function(e) {
342
343
  return e.CreateRecord = "create-record", e.ExecuteWorkflow = "execute-workflow", e.OpenForm = "open-form", e.OpenLink = "open-link", e.OpenPage = "open-page", e.OpenSpace = "open-space", e;
343
- }({}), Ot = /* @__PURE__ */ function(e) {
344
+ }({}), Pt = /* @__PURE__ */ function(e) {
344
345
  return e.AdditionalAIAssistant = "AdditionalAIAssistant", e.AdditionalBatchEdit = "AdditionalBatchEdit", e.AdditionalFilter = "AdditionalFilter", e.None = "None", e;
345
- }({}), kt = /* @__PURE__ */ n(((e, t) => {
346
+ }({}), Ft = /* @__PURE__ */ n(((e, t) => {
346
347
  function n(e, t, n, r) {
347
348
  for (var i = e.length, a = n + (r ? 1 : -1); r ? a-- : ++a < i;) if (t(e[a], a, e)) return a;
348
349
  return -1;
349
350
  }
350
351
  t.exports = n;
351
- })), At = /* @__PURE__ */ n(((e, t) => {
352
+ })), It = /* @__PURE__ */ n(((e, t) => {
352
353
  function n(e) {
353
354
  return e !== e;
354
355
  }
355
356
  t.exports = n;
356
- })), jt = /* @__PURE__ */ n(((e, t) => {
357
+ })), Lt = /* @__PURE__ */ n(((e, t) => {
357
358
  function n(e, t, n) {
358
359
  for (var r = n - 1, i = e.length; ++r < i;) if (e[r] === t) return r;
359
360
  return -1;
360
361
  }
361
362
  t.exports = n;
362
- })), Mt = /* @__PURE__ */ n(((e, t) => {
363
- var n = kt(), r = At(), i = jt();
363
+ })), Rt = /* @__PURE__ */ n(((e, t) => {
364
+ var n = Ft(), r = It(), i = Lt();
364
365
  function a(e, t, a) {
365
366
  return t === t ? i(e, t, a) : n(e, r, a);
366
367
  }
367
368
  t.exports = a;
368
- })), Nt = /* @__PURE__ */ n(((e, t) => {
369
- var n = Mt();
369
+ })), zt = /* @__PURE__ */ n(((e, t) => {
370
+ var n = Rt();
370
371
  function r(e, t) {
371
372
  return !!(e != null && e.length) && n(e, t, 0) > -1;
372
373
  }
373
374
  t.exports = r;
374
- })), Pt = /* @__PURE__ */ n(((e, t) => {
375
+ })), Bt = /* @__PURE__ */ n(((e, t) => {
375
376
  function n(e, t, n) {
376
377
  for (var r = -1, i = e == null ? 0 : e.length; ++r < i;) if (n(t, e[r])) return !0;
377
378
  return !1;
378
379
  }
379
380
  t.exports = n;
380
- })), Ft = /* @__PURE__ */ n(((e, t) => {
381
+ })), Vt = /* @__PURE__ */ n(((e, t) => {
381
382
  function n() {}
382
383
  t.exports = n;
383
- })), It = /* @__PURE__ */ n(((e, t) => {
384
- var n = le(), r = Ft(), i = ue();
384
+ })), Ht = /* @__PURE__ */ n(((e, t) => {
385
+ var n = pe(), r = Vt(), i = me();
385
386
  t.exports = n && 1 / i(new n([, -0]))[1] == 1 / 0 ? function(e) {
386
387
  return new n(e);
387
388
  } : r;
388
- })), Lt = /* @__PURE__ */ n(((e, t) => {
389
- var n = se(), r = Nt(), i = Pt(), a = ce(), o = It(), s = ue(), c = 200;
389
+ })), Ut = /* @__PURE__ */ n(((e, t) => {
390
+ var n = de(), r = zt(), i = Bt(), a = fe(), o = Ht(), s = me(), c = 200;
390
391
  function l(e, t, l) {
391
392
  var u = -1, d = r, f = e.length, p = !0, m = [], h = m;
392
393
  if (l) p = !1, d = i;
@@ -405,25 +406,25 @@ var Tt = wt(function(e, t, n) {
405
406
  return m;
406
407
  }
407
408
  t.exports = l;
408
- })), Rt = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
409
- var n = Lt();
409
+ })), Wt = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
410
+ var n = Ut();
410
411
  function r(e) {
411
412
  return e && e.length ? n(e) : [];
412
413
  }
413
414
  t.exports = r;
414
- })))(), 1), zt = [
415
- _e.All,
416
- _e.CanReadAndWrite,
417
- _e.CanWrite
418
- ], Bt = "Block", Vt = (e) => e.startsWith(Bt) ? e : Bt + e, Ht = (e) => e.startsWith(Bt) ? e.substring(5) : e;
419
- async function Ut({ blockType: e, description: t, name: n, settings: r }) {
415
+ })))(), 1), Gt = [
416
+ Se.All,
417
+ Se.CanReadAndWrite,
418
+ Se.CanWrite
419
+ ], Kt = "Block", qt = (e) => e.startsWith(Kt) ? e : Kt + e, Jt = (e) => e.startsWith(Kt) ? e.substring(5) : e;
420
+ async function Yt({ blockType: e, description: t, name: n, settings: r }) {
420
421
  try {
421
422
  return (await S.request({
422
423
  data: {
423
424
  BlockDescription: t,
424
425
  BlockName: n,
425
426
  BlockSettings: JSON.stringify(r),
426
- BlockType: Vt(e)
427
+ BlockType: qt(e)
427
428
  },
428
429
  method: "POST",
429
430
  url: C.BLOCK_TEMPLATE
@@ -432,10 +433,10 @@ async function Ut({ blockType: e, description: t, name: n, settings: r }) {
432
433
  return null;
433
434
  }
434
435
  }
435
- async function Wt({ ids: e }) {
436
+ async function Xt({ ids: e }) {
436
437
  try {
437
438
  return (await S.request({
438
- data: { BlockClientIds: (0, Rt.default)(e) },
439
+ data: { BlockClientIds: (0, Wt.default)(e) },
439
440
  method: "POST",
440
441
  transformResponse: [...Array.isArray(S.defaults.transformResponse) ? S.defaults.transformResponse : [], (e) => {
441
442
  if (!e || typeof e != "object") throw Error("Invalid response format");
@@ -462,7 +463,7 @@ async function Wt({ ids: e }) {
462
463
  return {};
463
464
  }
464
465
  }
465
- async function Gt({ description: e, id: t, name: n, settings: r }) {
466
+ async function Zt({ description: e, id: t, name: n, settings: r }) {
466
467
  try {
467
468
  return (await S.request({
468
469
  data: {
@@ -478,7 +479,7 @@ async function Gt({ description: e, id: t, name: n, settings: r }) {
478
479
  return null;
479
480
  }
480
481
  }
481
- async function Kt({ id: e }) {
482
+ async function Qt({ id: e }) {
482
483
  try {
483
484
  return (await S.request({
484
485
  method: "GET",
@@ -493,11 +494,11 @@ async function Kt({ id: e }) {
493
494
  return "";
494
495
  }
495
496
  }
496
- async function qt(e) {
497
+ async function $t(e) {
497
498
  try {
498
499
  return (await S.request({
499
500
  method: "GET",
500
- params: { BlockType: e ? Vt(e.type) : void 0 },
501
+ params: { BlockType: e ? qt(e.type) : void 0 },
501
502
  transformResponse: [...Array.isArray(S.defaults.transformResponse) ? S.defaults.transformResponse : [], (e) => {
502
503
  if (!e || typeof e != "object") throw Error("Invalid response format");
503
504
  return e.blockTemplates?.map((e) => ({
@@ -505,7 +506,7 @@ async function qt(e) {
505
506
  id: e.blockTemplateClientID,
506
507
  name: e.blockName,
507
508
  representative: e.representative,
508
- type: Ht(e.blockType)
509
+ type: Jt(e.blockType)
509
510
  })) ?? [];
510
511
  }],
511
512
  url: C.GET_BLOCK_TEMPLATES
@@ -514,7 +515,7 @@ async function qt(e) {
514
515
  return [];
515
516
  }
516
517
  }
517
- async function Jt({ excludeBlocksWithNoTemplates: e }) {
518
+ async function en({ excludeBlocksWithNoTemplates: e }) {
518
519
  try {
519
520
  return (await S.request({
520
521
  method: "GET",
@@ -525,7 +526,7 @@ async function Jt({ excludeBlocksWithNoTemplates: e }) {
525
526
  description: e.blockTypeDescription,
526
527
  displayName: e.blockTypeName,
527
528
  id: e.blockType,
528
- name: Ht(e.blockType),
529
+ name: Jt(e.blockType),
529
530
  representative: e.representative
530
531
  })).filter((e) => e.id !== b.Column && Object.values(b).includes(e.id));
531
532
  }],
@@ -535,25 +536,25 @@ async function Jt({ excludeBlocksWithNoTemplates: e }) {
535
536
  return [];
536
537
  }
537
538
  }
538
- async function Yt({ id: e }) {
539
+ async function tn({ id: e }) {
539
540
  try {
540
541
  if (e) {
541
- let t = await Kt({ id: e });
542
- return t && zt.some((e) => t.includes(e)) ? ve.Template : ve.Content;
542
+ let t = await Qt({ id: e });
543
+ return t && Gt.some((e) => t.includes(e)) ? we.Template : we.Content;
543
544
  }
544
545
  return (await S.request({
545
546
  method: "GET",
546
547
  url: C.GET_CAN_CREATE_BLOCK_TEMPLATE
547
- })).data.canCreate ? ve.Template : ve.Content;
548
+ })).data.canCreate ? we.Template : we.Content;
548
549
  } catch {
549
- return ve.Content;
550
+ return we.Content;
550
551
  }
551
552
  }
552
- async function Xt({ type: e }) {
553
+ async function nn({ type: e }) {
553
554
  try {
554
555
  return (await S.request({
555
556
  method: "GET",
556
- params: { BlockType: Vt(e) },
557
+ params: { BlockType: qt(e) },
557
558
  transformResponse: [...Array.isArray(S.defaults.transformResponse) ? S.defaults.transformResponse : [], (t) => {
558
559
  if (!t || typeof t != "object") throw Error("Invalid response format");
559
560
  return t.properties[e] ?? [];
@@ -564,7 +565,7 @@ async function Xt({ type: e }) {
564
565
  return [];
565
566
  }
566
567
  }
567
- async function Zt() {
568
+ async function rn() {
568
569
  try {
569
570
  return (await S.request({
570
571
  method: "GET",
@@ -578,7 +579,7 @@ async function Zt() {
578
579
  return [];
579
580
  }
580
581
  }
581
- async function Qt(e) {
582
+ async function an(e) {
582
583
  try {
583
584
  return (await S.request({
584
585
  method: "GET",
@@ -599,7 +600,7 @@ async function Qt(e) {
599
600
  };
600
601
  }
601
602
  }
602
- async function $t(e) {
603
+ async function on(e) {
603
604
  try {
604
605
  return (await S.request({
605
606
  method: "GET",
@@ -614,7 +615,7 @@ async function $t(e) {
614
615
  return [];
615
616
  }
616
617
  }
617
- async function en(e) {
618
+ async function sn(e) {
618
619
  try {
619
620
  return (await S.request({
620
621
  method: "GET",
@@ -632,23 +633,23 @@ async function en(e) {
632
633
  return null;
633
634
  }
634
635
  }
635
- var tn = {
636
+ var cn = {
636
637
  CreateRecord: M.CreateRecord,
637
638
  ExecuteWorkflow: M.ExecuteWorkflow,
638
639
  OpenForm: M.OpenForm,
639
640
  OpenLink: M.OpenLink,
640
641
  OpenPage: M.OpenPage,
641
642
  OpenSpace: M.OpenSpace
642
- }, nn = {
643
+ }, ln = {
643
644
  IconAndLabel: j.IconAndLabel,
644
645
  IconOnly: j.IconOnly,
645
646
  LabelOnly: j.LabelOnly
646
647
  };
647
- function rn(e) {
648
+ function un(e) {
648
649
  return e ? {
649
650
  accessLevel: e.levelOfAccess || "",
650
- action: tn[e.actionOnClick] ?? M.OpenForm,
651
- appearance: nn[e.buttonAppearanceType] ?? j.LabelOnly,
651
+ action: cn[e.actionOnClick] ?? M.OpenForm,
652
+ appearance: ln[e.buttonAppearanceType] ?? j.LabelOnly,
652
653
  completionMessage: e.completionMessage || "",
653
654
  formId: e.formToOpen || "",
654
655
  icon: e.icon || "",
@@ -662,7 +663,7 @@ function rn(e) {
662
663
  workflowId: e.buttonActionID || ""
663
664
  } : {};
664
665
  }
665
- async function an() {
666
+ async function dn() {
666
667
  try {
667
668
  return (await S.request({
668
669
  method: "GET",
@@ -676,7 +677,7 @@ async function an() {
676
677
  return [];
677
678
  }
678
679
  }
679
- async function on(e) {
680
+ async function fn(e) {
680
681
  try {
681
682
  return (await S.request({
682
683
  method: "GET",
@@ -694,7 +695,7 @@ async function on(e) {
694
695
  return [];
695
696
  }
696
697
  }
697
- async function sn() {
698
+ async function pn() {
698
699
  try {
699
700
  return (await S.request({
700
701
  method: "GET",
@@ -708,7 +709,7 @@ async function sn() {
708
709
  return [];
709
710
  }
710
711
  }
711
- async function cn() {
712
+ async function mn() {
712
713
  try {
713
714
  return (await S.request({
714
715
  method: "GET",
@@ -722,7 +723,7 @@ async function cn() {
722
723
  return [];
723
724
  }
724
725
  }
725
- async function ln() {
726
+ async function hn() {
726
727
  try {
727
728
  return (await S.request({
728
729
  method: "GET",
@@ -736,7 +737,7 @@ async function ln() {
736
737
  return [];
737
738
  }
738
739
  }
739
- async function un() {
740
+ async function gn() {
740
741
  try {
741
742
  return (await S.request({
742
743
  method: "GET",
@@ -779,7 +780,7 @@ async function N() {
779
780
  return [];
780
781
  }
781
782
  }
782
- async function dn() {
783
+ async function _n() {
783
784
  try {
784
785
  return (await S.request({
785
786
  method: "GET",
@@ -790,10 +791,10 @@ async function dn() {
790
791
  return [];
791
792
  }
792
793
  }
793
- function fn(e, t) {
794
+ function vn(e, t) {
794
795
  return e === "DO_DOCUMENTS.*" ? `DO_DOCUMENTS.${t}.*` : e.endsWith("*") ? e : `DO_DOCUMENTS.${t}.${e}`;
795
796
  }
796
- async function pn() {
797
+ async function yn() {
797
798
  try {
798
799
  return (await S.request({
799
800
  method: "GET",
@@ -808,7 +809,7 @@ async function pn() {
808
809
  typeDbBOName: t.typeDbBOName
809
810
  }, e.flat.push({
810
811
  ...t,
811
- subTypeValue: fn(t.subTypeValue, t.typeDbBOName)
812
+ subTypeValue: vn(t.subTypeValue, t.typeDbBOName)
812
813
  }), e;
813
814
  }, {
814
815
  flat: [],
@@ -823,7 +824,7 @@ async function pn() {
823
824
  };
824
825
  }
825
826
  }
826
- async function mn() {
827
+ async function bn() {
827
828
  try {
828
829
  return (await S.request({
829
830
  method: "GET",
@@ -835,7 +836,7 @@ async function mn() {
835
836
  return [];
836
837
  }
837
838
  }
838
- async function hn() {
839
+ async function xn() {
839
840
  try {
840
841
  return (await S.request({
841
842
  method: "GET",
@@ -851,7 +852,7 @@ async function hn() {
851
852
  return [];
852
853
  }
853
854
  }
854
- async function gn() {
855
+ async function Sn() {
855
856
  try {
856
857
  return (await S.request({
857
858
  method: "GET",
@@ -887,7 +888,7 @@ var P = /* @__PURE__ */ function(e) {
887
888
  }, z = {
888
889
  ...R,
889
890
  mask: "numpx"
890
- }, _n = {
891
+ }, Cn = {
891
892
  "--align-items": {
892
893
  controlType: "button-group",
893
894
  id: "--align-items",
@@ -1271,21 +1272,21 @@ var P = /* @__PURE__ */ function(e) {
1271
1272
  name: "width",
1272
1273
  type: "style"
1273
1274
  }
1274
- }, vn = [
1275
+ }, wn = [
1275
1276
  b.Header,
1276
1277
  b.RichText,
1277
1278
  b.Text
1278
- ], yn = [...vn], bn = ["id"], xn = [
1279
- ...vn,
1279
+ ], Tn = [...wn], En = ["id"], Dn = [
1280
+ ...wn,
1280
1281
  b.ColumnGroup,
1281
1282
  b.Divider,
1282
1283
  b.Button,
1283
1284
  b.SearchBox
1284
- ], Sn = { [b.FontKitAdvanced]: b.FontKit }, Cn = {
1285
+ ], On = { [b.FontKitAdvanced]: b.FontKit }, kn = {
1285
1286
  divider: "show-dividers",
1286
1287
  download: "show-download-button",
1287
1288
  image: "show-title-image"
1288
- }, wn = "font-kit-remove-element", Tn = 5e3, En = /* @__PURE__ */ new Set([
1289
+ }, An = "font-kit-remove-element", jn = 5e3, Mn = /* @__PURE__ */ new Set([
1289
1290
  b.Audio,
1290
1291
  b.Carousel,
1291
1292
  b.DamView,
@@ -1293,13 +1294,13 @@ var P = /* @__PURE__ */ function(e) {
1293
1294
  b.Gallery,
1294
1295
  b.Image,
1295
1296
  b.Video
1296
- ]), Dn = /* @__PURE__ */ new Set([
1297
+ ]), Nn = /* @__PURE__ */ new Set([
1297
1298
  b.Accordion,
1298
1299
  b.ColorSwatches,
1299
1300
  b.TabGroup,
1300
1301
  b.Timeline
1301
- ]), On = 10;
1302
- async function kn() {
1302
+ ]), Pn = 10;
1303
+ async function Fn() {
1303
1304
  try {
1304
1305
  return (await S.request({
1305
1306
  method: "GET",
@@ -1308,18 +1309,18 @@ async function kn() {
1308
1309
  if (!e || typeof e != "object") throw Error("Invalid response format");
1309
1310
  return e.roles;
1310
1311
  }],
1311
- url: Ce.GET_USER_ROLE
1312
+ url: ke.GET_USER_ROLE
1312
1313
  })).data;
1313
1314
  } catch {
1314
1315
  return [];
1315
1316
  }
1316
1317
  }
1317
- async function An() {
1318
+ async function In() {
1318
1319
  try {
1319
1320
  return (await S.request({
1320
1321
  method: "GET",
1321
1322
  responseType: "json",
1322
- url: Ce.GET_SPACE_FONT_FAMILY
1323
+ url: ke.GET_SPACE_FONT_FAMILY
1323
1324
  })).data;
1324
1325
  } catch {
1325
1326
  return;
@@ -1331,31 +1332,31 @@ async function B() {
1331
1332
  method: "GET",
1332
1333
  responseType: "json",
1333
1334
  transformResponse: [...Array.isArray(S.defaults.transformResponse) ? S.defaults.transformResponse : [], (e) => e.fontFamilies],
1334
- url: Ce.GET_FONT_FAMILIES
1335
+ url: ke.GET_FONT_FAMILIES
1335
1336
  })).data;
1336
1337
  } catch {
1337
1338
  return [];
1338
1339
  }
1339
1340
  }
1340
- async function jn({ searchTerm: e = "" }) {
1341
+ async function Ln({ searchTerm: e = "" }) {
1341
1342
  try {
1342
1343
  return (await S.request({
1343
1344
  method: "GET",
1344
1345
  params: { SearchTerm: e || void 0 },
1345
1346
  responseType: "json",
1346
1347
  transformResponse: [...Array.isArray(S.defaults.transformResponse) ? S.defaults.transformResponse : [], (e) => e.teamspaces],
1347
- url: Ce.GET_SPACE_LIST
1348
+ url: ke.GET_SPACE_LIST
1348
1349
  })).data;
1349
1350
  } catch {
1350
1351
  return [];
1351
1352
  }
1352
1353
  }
1353
- async function Mn({ searchTerm: e = "" }) {
1354
+ async function Rn({ searchTerm: e = "" }) {
1354
1355
  try {
1355
1356
  return {
1356
- data: (await jn({ searchTerm: e })).map((e) => ({
1357
+ data: (await Ln({ searchTerm: e })).map((e) => ({
1357
1358
  label: e.name,
1358
- value: fe(e.absoluteURL) ?? ""
1359
+ value: ge(e.absoluteURL) ?? ""
1359
1360
  })),
1360
1361
  hasMore: !1
1361
1362
  };
@@ -1366,7 +1367,7 @@ async function Mn({ searchTerm: e = "" }) {
1366
1367
  };
1367
1368
  }
1368
1369
  }
1369
- async function Nn({ forcedPageId: e = "", limit: t = On, parentId: n = "", searchTerm: r = "", seeThru: i, start: a }) {
1370
+ async function zn({ forcedPageId: e = "", limit: t = Pn, parentId: n = "", searchTerm: r = "", seeThru: i, start: a }) {
1370
1371
  try {
1371
1372
  return (await S.request({
1372
1373
  method: "GET",
@@ -1393,7 +1394,7 @@ async function Nn({ forcedPageId: e = "", limit: t = On, parentId: n = "", searc
1393
1394
  hasMore: e.hasMore
1394
1395
  };
1395
1396
  }],
1396
- url: Ce.GET_PAGES_AND_LINKS
1397
+ url: ke.GET_PAGES_AND_LINKS
1397
1398
  })).data;
1398
1399
  } catch {
1399
1400
  return {
@@ -1402,8 +1403,8 @@ async function Nn({ forcedPageId: e = "", limit: t = On, parentId: n = "", searc
1402
1403
  };
1403
1404
  }
1404
1405
  }
1405
- async function Pn() {
1406
- let { data: e } = await Nn({
1406
+ async function Bn() {
1407
+ let { data: e } = await zn({
1407
1408
  limit: null,
1408
1409
  parentId: "",
1409
1410
  searchTerm: "",
@@ -1413,17 +1414,110 @@ async function Pn() {
1413
1414
  return e;
1414
1415
  }
1415
1416
  //#endregion
1417
+ //#region ../../packages/organisms/src/content-builder/content-builder.utils.ts
1418
+ function Vn(e, t, n) {
1419
+ return e.value === "space-default" ? n ? ae(t?.value ?? n) : xe : ae(t?.value ?? e.typeface);
1420
+ }
1421
+ function Hn(e, t) {
1422
+ return e.find((e) => e.typeface === t || e.value === t || se(e) === t || e.families.some((e) => e.value === t));
1423
+ }
1424
+ function Un(e, t, n) {
1425
+ return e ? e.families.find((e) => String(e.fontStyle ?? "") === t && String(e.fontWeight ?? "") === n) || e.families.find((e) => ce(e) === t || e.value === t) : void 0;
1426
+ }
1427
+ function Wn(e, t) {
1428
+ return {
1429
+ family: oe(String(e[t.familyKey] ?? "")),
1430
+ style: String(e[t.styleKey] ?? ""),
1431
+ weight: String(t.weightKey ? e[t.weightKey] ?? "" : "")
1432
+ };
1433
+ }
1434
+ var Gn = /^(\/(?![/\\])|\.{1,2}\/|[#?])\S*$/;
1435
+ function Kn(e) {
1436
+ return Gn.test(e) || he(e);
1437
+ }
1438
+ function qn(e) {
1439
+ return `cls-${e}`;
1440
+ }
1441
+ function Jn(e) {
1442
+ return e.flatMap((e) => e.children?.length ? [e, ...Jn(e.children)] : [e]);
1443
+ }
1444
+ function Yn(e, t) {
1445
+ return Jn(e).filter((e) => e.id && e.name && t.includes(e.name)).map((e) => e.id);
1446
+ }
1447
+ function Xn(e) {
1448
+ return e === b.Carousel ? Dn : e === b.FontKitAdvanced ? [b.Text] : [];
1449
+ }
1450
+ var Zn = new Set(Object.values(b).filter((e) => e !== b.Column && e !== b.ColumnGroup));
1451
+ function Qn(e) {
1452
+ return !!e && Zn.has(e);
1453
+ }
1454
+ function $n(e) {
1455
+ return !e || typeof e == "string" ? 0 : Array.isArray(e) ? e.reduce((e, t) => e + $n(t), 0) : +!!Qn(e.type) + $n(e.components);
1456
+ }
1457
+ function er(e, t) {
1458
+ if (!t) return e;
1459
+ let n = e.find((e) => e.value !== "space-default" && (e.typeface === t || e.value === t || e.families.some((e) => e.value === t)));
1460
+ return !n || n.families.length === 0 ? e : e.map((e) => e.value === "space-default" ? {
1461
+ ...e,
1462
+ families: n.families
1463
+ } : e);
1464
+ }
1465
+ function tr({ blockAttributes: e, keys: t, typefaces: n }) {
1466
+ let r = Wn(e, t), i = n.some((e) => e.value === "inherited-font") ? Ce : xe, a = Hn(n, r.family) ?? (r.family ? void 0 : n.find((e) => e.value === i)), o = Un(a, r.style, r.weight);
1467
+ return {
1468
+ familyValue: a ? se(a) : r.family,
1469
+ styleValue: a && o ? ce(o) : r.style
1470
+ };
1471
+ }
1472
+ function nr({ clearDefaultFamily: e = !1, familyValue: t, spaceFontFamily: n, styleValue: r, typefaces: i }) {
1473
+ let a = t === Ce, o = i.find((e) => se(e) === t), s = (o?.families ?? []).find((e) => ce(e) === r), c = o?.value === xe, l = a || e && c && !n, u = t;
1474
+ l ? u = "" : o && (u = Vn(o, s, n));
1475
+ let d = String(s?.fontStyle ?? ""), f = s?.fontWeight === void 0 ? "" : String(s.fontWeight);
1476
+ return {
1477
+ family: u,
1478
+ style: d,
1479
+ weight: f
1480
+ };
1481
+ }
1482
+ var rr = [
1483
+ {
1484
+ flag: "removable",
1485
+ itemIds: ["remove"]
1486
+ },
1487
+ {
1488
+ flag: "copyable",
1489
+ itemIds: ["duplicate"]
1490
+ },
1491
+ {
1492
+ flag: "draggable",
1493
+ itemIds: ["previous", "next"]
1494
+ }
1495
+ ], ir = (e) => e.id.startsWith("divider");
1496
+ function ar(e) {
1497
+ let t = [];
1498
+ for (let n of e) {
1499
+ let e = t[t.length - 1];
1500
+ (!ir(n) || e && !ir(e)) && t.push(n);
1501
+ }
1502
+ for (; t.length && ir(t[t.length - 1]);) t.pop();
1503
+ return t;
1504
+ }
1505
+ function or(e, t) {
1506
+ let n = new Set(rr.filter(({ flag: e }) => t[e] === !1).flatMap(({ itemIds: e }) => e));
1507
+ return ar(e.filter((e) => !n.has(e.id)));
1508
+ }
1509
+ //#endregion
1416
1510
  //#region ../../packages/organisms/src/content-builder/styleController.ts
1417
1511
  var V = class {
1418
1512
  constructor(e) {
1419
1513
  this.localize = e, this.localize = e;
1420
1514
  }
1421
1515
  getStyleControl(e) {
1422
- let t = this.localize.term(Tt(e));
1516
+ let t = this.localize.term(jt(e));
1423
1517
  return e === "--margin" && (t = this.localize.term("margins")), {
1424
- ..._n[e],
1518
+ ...Cn[e],
1425
1519
  label: t,
1426
- ..._n[e]?.options?.some((e) => "name" in e) && { options: _n[e].options?.map((e) => ({
1520
+ ...Cn[e]?.options?.some((e) => "name" in e) && { options: Cn[e].options?.map((e) => ({
1427
1521
  ...e,
1428
1522
  ...e.name && e.name in this.localize.term && { name: this.localize.term(e.name) }
1429
1523
  })) }
@@ -1455,8 +1549,8 @@ var V = class {
1455
1549
  type: a
1456
1550
  }];
1457
1551
  }
1458
- }, Fn = JSON.stringify(ke), In = {
1459
- "collapse-icon": JSON.stringify(Ae),
1552
+ }, sr = JSON.stringify(Fe), cr = {
1553
+ "collapse-icon": JSON.stringify(Ie),
1460
1554
  data: JSON.stringify([
1461
1555
  {
1462
1556
  id: k(`${Date.now()}-`),
@@ -1475,12 +1569,12 @@ var V = class {
1475
1569
  "data-content-width-percent": "100%",
1476
1570
  "data-content-width-pixel": "",
1477
1571
  "default-open-indexes": "0",
1478
- "expand-icon": Fn,
1572
+ "expand-icon": sr,
1479
1573
  "full-bleed": !1,
1480
- "hover-icon": Fn,
1574
+ "hover-icon": sr,
1481
1575
  "multi-language": !1,
1482
1576
  "section-body-max-width": "100%"
1483
- }, Ln = [
1577
+ }, lr = [
1484
1578
  {
1485
1579
  backgroundColorField: "--header-background-color",
1486
1580
  borderField: "--header-border",
@@ -1508,7 +1602,7 @@ var V = class {
1508
1602
  iconField: "collapse-icon",
1509
1603
  iconWidthField: "--collapse-icon-width"
1510
1604
  }
1511
- ], H = (e) => !!e.customStyle, Rn = (e, t) => {
1605
+ ], H = (e) => !!e.customStyle, ur = (e, t) => {
1512
1606
  let n = [
1513
1607
  {
1514
1608
  configOrder: 1,
@@ -1575,7 +1669,7 @@ var V = class {
1575
1669
  show: H,
1576
1670
  title: e.term("cropFocus")
1577
1671
  }
1578
- ], r = Ln.flatMap((t, r) => {
1672
+ ], r = lr.flatMap((t, r) => {
1579
1673
  let i = n.length + 1 + r * 6;
1580
1674
  return [
1581
1675
  {
@@ -1630,7 +1724,7 @@ var V = class {
1630
1724
  ];
1631
1725
  });
1632
1726
  return [...n, ...r];
1633
- }, zn = {
1727
+ }, dr = {
1634
1728
  configs: (e, t = {}) => {
1635
1729
  let n = new V(e), { enableAssetFormatControls: r = !1, enableFontFamilyControls: i = !1 } = t;
1636
1730
  return [
@@ -1659,7 +1753,7 @@ var V = class {
1659
1753
  listEditorConfigs: {
1660
1754
  addDialogLabel: e.term("addSection"),
1661
1755
  addItemText: e.term("addSection"),
1662
- columns: Rn(e, r),
1756
+ columns: ur(e, r),
1663
1757
  displayField: "label",
1664
1758
  editDialogLabel: e.term("editSection"),
1665
1759
  noHeader: !0,
@@ -1908,9 +2002,9 @@ var V = class {
1908
2002
  }
1909
2003
  ];
1910
2004
  },
1911
- defaultValue: In,
2005
+ defaultValue: cr,
1912
2006
  stylable: /* @__PURE__ */ "--header-background-color.--header-color.--header-border.--header-hover-background-color.--header-hover-color.--header-hover-border.--header-active-background-color.--header-active-color.--header-active-border.--header-border-radius.--header-padding.--expand-icon-width.--hover-icon-width.--collapse-icon-width.--header-font-family.--header-font-style.--header-font-weight.--header-font-size.--content-padding.--margin.--margin-bottom.--margin-left.--margin-right.--margin-top.--row-gap.--min-block-height.--max-block-height".split(".")
1913
- }, Bn = {
2007
+ }, fr = {
1914
2008
  configs: (e, t = {}) => {
1915
2009
  let n = new V(e), { enableAssetFormatControls: r = !1 } = t;
1916
2010
  return [
@@ -1944,7 +2038,7 @@ var V = class {
1944
2038
  callback: ({ extraValue: e, record: t }) => ({
1945
2039
  ...t,
1946
2040
  ...r ? {
1947
- "asset-version": Et.Latest,
2041
+ "asset-version": Mt.Latest,
1948
2042
  format: "Web",
1949
2043
  "format-src": "",
1950
2044
  "version-label": ""
@@ -2036,7 +2130,7 @@ var V = class {
2036
2130
  ];
2037
2131
  },
2038
2132
  defaultValue: {
2039
- "asset-version": Et.Latest,
2133
+ "asset-version": Mt.Latest,
2040
2134
  "data-width-percent": "100%",
2041
2135
  "data-width-pixel": "",
2042
2136
  format: "Web",
@@ -2067,9 +2161,9 @@ var V = class {
2067
2161
  return e.DoNothing = "do-nothing", e.DownloadAsset = "download-asset", e.ExpandAssetInFullScreen = "expand-asset-in-full-screen", e.OpenAssetInLibrary = "open-asset-in-library", e.OpenAssetOverview = "open-asset-overview", e.OpenLink = "open-link", e.OpenPage = "open-page", e.OpenSpace = "open-space", e.ShareAsset = "share-asset", e.ShowAssetInLibrary = "show-asset-in-library", e.Zoom = "zoom", e;
2068
2162
  }({}), W = /* @__PURE__ */ function(e) {
2069
2163
  return e.Custom = "custom", e.Outline = "outline", e.Primary = "primary", e.Secondary = "default", e.Text = "text", e;
2070
- }({}), Vn = /* @__PURE__ */ function(e) {
2164
+ }({}), pr = /* @__PURE__ */ function(e) {
2071
2165
  return e.Image = "image", e.Other = "other", e.Unknown = "unknown", e.Video = "video", e;
2072
- }({}), Hn = {
2166
+ }({}), mr = {
2073
2167
  configs: (e, t = {}) => {
2074
2168
  let n = new V(e), { enableFontFamilyControls: r = !1 } = t;
2075
2169
  return [
@@ -2163,7 +2257,7 @@ var V = class {
2163
2257
  id: "click-link",
2164
2258
  inputConfigs: { validation: (t) => {
2165
2259
  let n = t["click-link"];
2166
- return de(n) ? "" : e.term("urlValidationMessage");
2260
+ return Kn(n) ? "" : e.term("urlValidationMessage");
2167
2261
  } },
2168
2262
  label: e.term("link"),
2169
2263
  name: "click-link",
@@ -2187,9 +2281,9 @@ var V = class {
2187
2281
  type: "attribute"
2188
2282
  },
2189
2283
  {
2190
- api: Mn,
2284
+ api: Rn,
2191
2285
  controlType: "select",
2192
- folderPickerConfigs: { variant: we.Select },
2286
+ folderPickerConfigs: { variant: Ae.Select },
2193
2287
  id: "click-space",
2194
2288
  label: e.term("space"),
2195
2289
  name: "click-space",
@@ -2211,7 +2305,7 @@ var V = class {
2211
2305
  {
2212
2306
  callback: ({ extraValue: e, record: t }) => ({
2213
2307
  ...t,
2214
- "asset-type": e?.type ?? Vn.Unknown,
2308
+ "asset-type": e?.type ?? pr.Unknown,
2215
2309
  "record-id": e?.id ?? "",
2216
2310
  "record-name": e?.name ?? ""
2217
2311
  }),
@@ -2463,7 +2557,7 @@ var V = class {
2463
2557
  "--margin-right",
2464
2558
  "--margin-top"
2465
2559
  ]
2466
- }, Un = {
2560
+ }, hr = {
2467
2561
  configs: (e, t = {}) => {
2468
2562
  let n = new V(e), { enableAssetFormatControls: r = !1, enableFontFamilyControls: i = !1 } = t;
2469
2563
  return [
@@ -2516,7 +2610,7 @@ var V = class {
2516
2610
  controlType: "select",
2517
2611
  helpText: (t) => {
2518
2612
  let n = t["card-type"];
2519
- return h(n) ? e.term(`cardTypeHelpText${oe(n)}`) : "";
2613
+ return h(n) ? e.term(`cardTypeHelpText${ue(n)}`) : "";
2520
2614
  },
2521
2615
  id: "card-type",
2522
2616
  label: e.term("cardType"),
@@ -2856,7 +2950,7 @@ var V = class {
2856
2950
  controlType: "gallery-picker",
2857
2951
  direction: "vertical",
2858
2952
  galleryPickerConfigs: {
2859
- dialog: ye.Carousel,
2953
+ dialog: Te.Carousel,
2860
2954
  ...r ? {
2861
2955
  formatKey: "format",
2862
2956
  manualFormatKey: "manual-format",
@@ -2951,7 +3045,7 @@ var V = class {
2951
3045
  ...n.getStyleControl("--border"),
2952
3046
  callback: ({ record: e, value: t }) => {
2953
3047
  if (typeof t != "string") return e;
2954
- let n = he(t);
3048
+ let n = ye(t);
2955
3049
  if (!n) return e;
2956
3050
  let r = n.split(" ")[2];
2957
3051
  return r ? {
@@ -3614,17 +3708,17 @@ var V = class {
3614
3708
  "zoom-style": l.WithinBorders
3615
3709
  },
3616
3710
  stylable: /* @__PURE__ */ "--content-background-color.--content-border.--content-border-radius.--content-margin.--content-margin-bottom.--content-margin-left.--content-margin-right.--content-margin-top.--content-min-height.--content-padding.--content-width.--details-color.--details-font-size.--details-font-family.--details-font-style.--details-font-weight.--details-letter-spacing.--details-line-height.--details-text-align.--highlightable-item-effect-jump-distance.--highlightable-item-effect-text-reveal-distance.--highlightable-item-effect-zoom-scale.--carousel-highlight-border-color.--carousel-highlight-drop-shadow.--highlightable-item-highlight-color-overlay-color.--header-color.--header-font-size.--header-font-family.--header-font-style.--header-font-weight.--header-letter-spacing.--header-line-height.--header-text-align.--margin.--margin-bottom.--margin-left.--margin-right.--margin-top.--gallery-max-height.--gallery-min-height.--scroll-container-border.--scroll-container-border-radius.--scroll-container-border-width.--scroll-hint.--slide-transition-duration.--transition-duration.--transition-transform-duration".split(".")
3617
- }, Wn = r`<svg width="180" height="67" viewBox="0 0 188 70" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect width="188" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="188" height="70" fill="white"/><rect opacity="0.5" x="9.16211" y="11" width="19.343" height="13" rx="2" fill="white"/><rect opacity="0.5" x="30.541" y="11" width="37.6679" height="13" rx="2" fill="white"/><rect opacity="0.5" x="70.2461" y="11" width="68.2094" height="13" rx="2" fill="white"/><rect opacity="0.5" x="140.49" y="11" width="37.6679" height="13" rx="2" fill="white"/><rect opacity="0.5" x="9.16211" y="28" width="19.343" height="13" rx="2" fill="white"/><rect opacity="0.5" x="30.541" y="28" width="37.6679" height="13" rx="2" fill="white"/><rect opacity="0.5" x="70.2461" y="28" width="68.2094" height="13" rx="2" fill="white"/><rect opacity="0.5" x="140.49" y="28" width="37.6679" height="13" rx="2" fill="white"/><rect opacity="0.5" x="9.16211" y="45" width="19.343" height="13" rx="2" fill="white"/><rect opacity="0.5" x="30.541" y="45" width="37.6679" height="13" rx="2" fill="white"/><rect opacity="0.5" x="70.2461" y="45" width="68.2094" height="13" rx="2" fill="white"/><rect opacity="0.5" x="140.49" y="45" width="37.6679" height="13" rx="2" fill="white"/></svg>`, Gn = r`<svg xmlns="http://www.w3.org/2000/svg" width="180" height="67" viewBox="0 0 188 70" fill="none" aria-hidden="true"><rect width="188" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="188" height="70" fill="white"/><rect opacity="0.5" x="30" y="8" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="30" y="36" width="40" height="26" rx="4" fill="white"/><rect opacity="0.5" x="74" y="8" width="38" height="24" rx="4" fill="white"/><rect opacity="0.5" x="74" y="36" width="38" height="26" rx="4" fill="white"/><rect opacity="0.5" x="116" y="8" width="42" height="24" rx="4" fill="white"/><rect opacity="0.5" x="116" y="36" width="42" height="26" rx="4" fill="white"/></svg>`, Kn = r`<svg xmlns="http://www.w3.org/2000/svg" width="180" height="68" viewBox="0 0 185 70" fill="none" aria-hidden="true"><rect width="184.667" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="184.667" height="70" fill="white"/><rect opacity="0.5" x="24.668" y="12" width="46" height="46" rx="23" fill="white"/><rect opacity="0.5" x="54.668" y="12" width="46" height="46" rx="23" fill="white"/><rect opacity="0.5" x="84.668" y="12" width="46" height="46" rx="23" fill="white"/><rect opacity="0.5" x="114.668" y="12" width="46" height="46" rx="23" fill="white"/></svg>`, qn = {
3711
+ }, gr = r`<svg width="180" height="67" viewBox="0 0 188 70" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect width="188" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="188" height="70" fill="white"/><rect opacity="0.5" x="9.16211" y="11" width="19.343" height="13" rx="2" fill="white"/><rect opacity="0.5" x="30.541" y="11" width="37.6679" height="13" rx="2" fill="white"/><rect opacity="0.5" x="70.2461" y="11" width="68.2094" height="13" rx="2" fill="white"/><rect opacity="0.5" x="140.49" y="11" width="37.6679" height="13" rx="2" fill="white"/><rect opacity="0.5" x="9.16211" y="28" width="19.343" height="13" rx="2" fill="white"/><rect opacity="0.5" x="30.541" y="28" width="37.6679" height="13" rx="2" fill="white"/><rect opacity="0.5" x="70.2461" y="28" width="68.2094" height="13" rx="2" fill="white"/><rect opacity="0.5" x="140.49" y="28" width="37.6679" height="13" rx="2" fill="white"/><rect opacity="0.5" x="9.16211" y="45" width="19.343" height="13" rx="2" fill="white"/><rect opacity="0.5" x="30.541" y="45" width="37.6679" height="13" rx="2" fill="white"/><rect opacity="0.5" x="70.2461" y="45" width="68.2094" height="13" rx="2" fill="white"/><rect opacity="0.5" x="140.49" y="45" width="37.6679" height="13" rx="2" fill="white"/></svg>`, _r = r`<svg xmlns="http://www.w3.org/2000/svg" width="180" height="67" viewBox="0 0 188 70" fill="none" aria-hidden="true"><rect width="188" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="188" height="70" fill="white"/><rect opacity="0.5" x="30" y="8" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="30" y="36" width="40" height="26" rx="4" fill="white"/><rect opacity="0.5" x="74" y="8" width="38" height="24" rx="4" fill="white"/><rect opacity="0.5" x="74" y="36" width="38" height="26" rx="4" fill="white"/><rect opacity="0.5" x="116" y="8" width="42" height="24" rx="4" fill="white"/><rect opacity="0.5" x="116" y="36" width="42" height="26" rx="4" fill="white"/></svg>`, vr = r`<svg xmlns="http://www.w3.org/2000/svg" width="180" height="68" viewBox="0 0 185 70" fill="none" aria-hidden="true"><rect width="184.667" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="184.667" height="70" fill="white"/><rect opacity="0.5" x="24.668" y="12" width="46" height="46" rx="23" fill="white"/><rect opacity="0.5" x="54.668" y="12" width="46" height="46" rx="23" fill="white"/><rect opacity="0.5" x="84.668" y="12" width="46" height="46" rx="23" fill="white"/><rect opacity="0.5" x="114.668" y="12" width="46" height="46" rx="23" fill="white"/></svg>`, yr = {
3618
3712
  "can-copy": !0,
3619
3713
  "can-custom-shadow-and-border-radius": !1,
3620
- "code-alignment": me.SameLine,
3714
+ "code-alignment": ve.SameLine,
3621
3715
  "code-column-alignment": O.Left,
3622
3716
  "code-column-constraints": !1,
3623
3717
  "code-column-max-width": "",
3624
3718
  "code-column-min-width": "",
3625
3719
  "code-column-width": "",
3626
3720
  "code-column-width-mode": E.HugContents,
3627
- "code-separator": pe.Comma,
3721
+ "code-separator": _e.Comma,
3628
3722
  "custom-columns": "[]",
3629
3723
  data: JSON.stringify([{
3630
3724
  cmyk: "0, 9, 16, 82",
@@ -3645,7 +3739,7 @@ var V = class {
3645
3739
  }]),
3646
3740
  "full-bleed": !1,
3647
3741
  "gradient-effect": !1,
3648
- "hex-format": ge.LeadingHash,
3742
+ "hex-format": be.LeadingHash,
3649
3743
  "max-col": "3",
3650
3744
  "multi-language": !1,
3651
3745
  "name-column-alignment": O.Left,
@@ -3666,7 +3760,7 @@ var V = class {
3666
3760
  T.SeparatorLine
3667
3761
  ].join(" "),
3668
3762
  variant: D.Circles
3669
- }, Jn = (e) => ({ record: t, value: n }) => {
3763
+ }, br = (e) => ({ record: t, value: n }) => {
3670
3764
  if (typeof n != "string") return t;
3671
3765
  let r = n.trim().split(/\s+/), i, a, o, s;
3672
3766
  switch (r.length) {
@@ -3688,7 +3782,7 @@ var V = class {
3688
3782
  [`${e}-right`]: a,
3689
3783
  [`${e}-top`]: i
3690
3784
  };
3691
- }, Yn = {
3785
+ }, xr = {
3692
3786
  configs: (e, t = {}) => {
3693
3787
  let n = new V(e), { enableFontFamilyControls: r = !1 } = t, i = (e) => e.variant === D.Grid, a = (e) => e.variant === D.Circles, o = (e) => e.variant === D.Table, s = (e) => i(e) && (e["can-custom-shadow-and-border-radius"] ?? !1), c = (t, n) => [{
3694
3788
  clearable: !1,
@@ -4019,19 +4113,19 @@ var V = class {
4019
4113
  name: "variant",
4020
4114
  options: [
4021
4115
  {
4022
- children: Wn,
4116
+ children: gr,
4023
4117
  id: "table",
4024
4118
  name: e.term("table"),
4025
4119
  value: D.Table
4026
4120
  },
4027
4121
  {
4028
- children: Gn,
4122
+ children: _r,
4029
4123
  id: "grid",
4030
4124
  name: e.term("grid"),
4031
4125
  value: D.Grid
4032
4126
  },
4033
4127
  {
4034
- children: Kn,
4128
+ children: vr,
4035
4129
  id: "circles",
4036
4130
  name: e.term("circles"),
4037
4131
  value: D.Circles
@@ -4123,7 +4217,7 @@ var V = class {
4123
4217
  },
4124
4218
  {
4125
4219
  ...n.getStyleControl("--padding"),
4126
- callback: Jn("--row-padding"),
4220
+ callback: br("--row-padding"),
4127
4221
  id: "--row-padding",
4128
4222
  label: e.term("rowsPaddings"),
4129
4223
  name: "row-padding",
@@ -4199,7 +4293,7 @@ var V = class {
4199
4293
  editDialogLabel: e.term("editCustomColumn"),
4200
4294
  noHeader: !0,
4201
4295
  sampleItem: {
4202
- ...Te,
4296
+ ...je,
4203
4297
  name: ""
4204
4298
  }
4205
4299
  },
@@ -4418,10 +4512,10 @@ var V = class {
4418
4512
  name: "code-alignment",
4419
4513
  options: [{
4420
4514
  name: e.term("sameLine"),
4421
- value: me.SameLine
4515
+ value: ve.SameLine
4422
4516
  }, {
4423
4517
  name: e.term("separateLine"),
4424
- value: me.SeparateLine
4518
+ value: ve.SeparateLine
4425
4519
  }],
4426
4520
  radioGroupConfigs: { horizontal: !0 },
4427
4521
  show: (e) => !o(e),
@@ -4435,10 +4529,10 @@ var V = class {
4435
4529
  name: "code-separator",
4436
4530
  options: [{
4437
4531
  name: e.term("commaSeparated"),
4438
- value: pe.Comma
4532
+ value: _e.Comma
4439
4533
  }, {
4440
4534
  name: e.term("slashSeparated"),
4441
- value: pe.Slash
4535
+ value: _e.Slash
4442
4536
  }],
4443
4537
  type: "attribute"
4444
4538
  },
@@ -4451,28 +4545,28 @@ var V = class {
4451
4545
  options: [
4452
4546
  {
4453
4547
  name: e.term("leadingHash"),
4454
- value: ge.LeadingHash
4548
+ value: be.LeadingHash
4455
4549
  },
4456
4550
  {
4457
4551
  name: e.term("leadingHex"),
4458
- value: ge.LeadingHex
4552
+ value: be.LeadingHex
4459
4553
  },
4460
4554
  {
4461
4555
  name: e.term("codeOnly"),
4462
- value: ge.None
4556
+ value: be.None
4463
4557
  }
4464
4558
  ],
4465
4559
  type: "attribute"
4466
4560
  }
4467
4561
  ];
4468
4562
  },
4469
- defaultValue: qn,
4563
+ defaultValue: yr,
4470
4564
  stylable: /* @__PURE__ */ "--width.--color.--dash-width.--dash-spacing.--max-width.--grid-gap.--grid-column-gap.--grid-row-gap.--swatch-font-family.--swatch-font-style.--swatch-font-weight.--swatch-font-size.--swatch-text-color.--swatch-min-height.--swatch-border.--swatch-box-shadow.--swatch-border-radius.--swatch-content-justify.--swatch-content-margin.--swatch-circle-size.--swatch-circle-border-radius.--swatch-circle-content-align.--swatch-circle-content-justify.--swatch-circle-content-margin.--swatch-group-horizontal-gap.--table-width.--table-row-gap.--table-column-gap.--row-padding.--row-padding-bottom.--row-padding-left.--row-padding-right.--row-padding-top.--name-swatch-width.--name-swatch-height.--name-swatch-border-radius.--palette-title-font-family.--palette-title-font-style.--palette-title-font-weight.--palette-title-font-size.--palette-title-color.--column-title-font-family.--column-title-font-style.--column-title-font-weight.--column-title-font-size.--column-title-color.--margin.--margin-bottom.--margin-left.--margin-right.--margin-top".split(".")
4471
4565
  }, G = /* @__PURE__ */ function(e) {
4472
4566
  return e.Adaptive = "adaptive", e.Default = "default", e.Fill = "fill", e.Fit = "fit", e.Fixed = "fixed", e.PageWidth = "page-width", e;
4473
4567
  }({}), K = /* @__PURE__ */ function(e) {
4474
4568
  return e.Fill = "fill", e.Fit = "fit", e.Fixed = "fixed", e.PageWidth = "page-width", e.Relative = "relative", e;
4475
- }({}), Xn = {
4569
+ }({}), Sr = {
4476
4570
  configs: (e, t = {}) => {
4477
4571
  let n = new V(e), { enableAssetFormatControls: r = !1 } = t;
4478
4572
  return [
@@ -4672,7 +4766,7 @@ var V = class {
4672
4766
  "--border-radius",
4673
4767
  "--custom-width"
4674
4768
  ]
4675
- }, Zn = {
4769
+ }, Cr = {
4676
4770
  configs: (e, t = {}) => {
4677
4771
  let n = new V(e), { enableAssetFormatControls: r = !1 } = t;
4678
4772
  return [
@@ -4926,8 +5020,8 @@ var V = class {
4926
5020
  "--column-max-width",
4927
5021
  "--column-min-width"
4928
5022
  ]
4929
- }, Qn = "OR1ND000001072386";
4930
- function $n(e) {
5023
+ }, wr = "OR1ND000001072386";
5024
+ function Tr(e) {
4931
5025
  return {
4932
5026
  extra: {
4933
5027
  description: e.description,
@@ -4940,7 +5034,7 @@ function $n(e) {
4940
5034
  }
4941
5035
  //#endregion
4942
5036
  //#region ../../packages/organisms/src/content-builder/configs/dam-view.ts
4943
- var er = {
5037
+ var Er = {
4944
5038
  "allow-asset-selection": !1,
4945
5039
  "apply-border-radius-to-panels": !0,
4946
5040
  "asset-statuses": "",
@@ -4956,7 +5050,7 @@ var er = {
4956
5050
  "deploy-stacks": !0,
4957
5051
  "enable-asset-actions": !0,
4958
5052
  "expanded-folders": "",
4959
- "filter-button-action": Qn,
5053
+ "filter-button-action": wr,
4960
5054
  "folder-hierarchy": "",
4961
5055
  "full-bleed": !1,
4962
5056
  "highlight-representative-asset": !0,
@@ -4975,7 +5069,7 @@ var er = {
4975
5069
  "retain-filters-in-containers": !1,
4976
5070
  "right-additional-filters": "",
4977
5071
  "right-available-panels": "",
4978
- "right-default-panel": Qn,
5072
+ "right-default-panel": wr,
4979
5073
  "right-panel-collapsed-by-default": !0,
4980
5074
  "right-panel-collapsible": !0,
4981
5075
  "right-panel-default-width": "260px",
@@ -4991,41 +5085,41 @@ var er = {
4991
5085
  "show-top-pagination": !1,
4992
5086
  "show-view-and-sort": !1
4993
5087
  };
4994
- async function tr() {
4995
- return { data: (await dn()).map((e) => ({
5088
+ async function Dr() {
5089
+ return { data: (await _n()).map((e) => ({
4996
5090
  label: e.name,
4997
5091
  value: e.id
4998
5092
  })) };
4999
5093
  }
5000
- async function nr() {
5001
- return { data: (await cn()).map((e) => ({
5094
+ async function Or() {
5095
+ return { data: (await mn()).map((e) => ({
5002
5096
  label: e.name,
5003
5097
  value: e.id
5004
5098
  })) };
5005
5099
  }
5006
- async function rr() {
5007
- return { data: (await sn()).map((e) => ({
5100
+ async function kr() {
5101
+ return { data: (await pn()).map((e) => ({
5008
5102
  label: e.label,
5009
5103
  value: e.value
5010
5104
  })) };
5011
5105
  }
5012
- async function ir() {
5013
- return { data: (await on()).map($n) };
5106
+ async function Ar() {
5107
+ return { data: (await fn()).map(Tr) };
5014
5108
  }
5015
- async function ar() {
5016
- return { data: (await on()).filter((e) => e.type !== Ot.AdditionalFilter).map($n) };
5109
+ async function jr() {
5110
+ return { data: (await fn()).filter((e) => e.type !== Pt.AdditionalFilter).map(Tr) };
5017
5111
  }
5018
- async function or() {
5019
- return { data: (await on({ additionalFilterOnly: !0 })).map($n) };
5112
+ async function Mr() {
5113
+ return { data: (await fn({ additionalFilterOnly: !0 })).map(Tr) };
5020
5114
  }
5021
- async function sr() {
5022
- return { data: (await on({
5115
+ async function Nr() {
5116
+ return { data: (await fn({
5023
5117
  additionalFilterOnly: !0,
5024
5118
  includeStandardFilters: !0
5025
- })).map($n) };
5119
+ })).map(Tr) };
5026
5120
  }
5027
- async function cr() {
5028
- let { grouped: e } = await pn();
5121
+ async function Pr() {
5122
+ let { grouped: e } = await yn();
5029
5123
  return Object.entries(e).map(([e, t]) => ({
5030
5124
  label: e.replaceAll("_", " "),
5031
5125
  subOptions: Object.entries(t).map(([e, t]) => ({
@@ -5035,13 +5129,13 @@ async function cr() {
5035
5129
  value: Object.values(t)[0]?.typeDbBOName ?? ""
5036
5130
  }));
5037
5131
  }
5038
- async function lr() {
5039
- return { data: (await an()).map((e) => ({
5132
+ async function Fr() {
5133
+ return { data: (await dn()).map((e) => ({
5040
5134
  label: e.name,
5041
5135
  value: e.id
5042
5136
  })) };
5043
5137
  }
5044
- var ur = {
5138
+ var Ir = {
5045
5139
  configs: (e) => {
5046
5140
  let t = new V(e);
5047
5141
  return [
@@ -5050,7 +5144,7 @@ var ur = {
5050
5144
  folderPickerConfigs: {
5051
5145
  useAllowedFolders: !0,
5052
5146
  useFullPath: !0,
5053
- variant: we.Select
5147
+ variant: Ae.Select
5054
5148
  },
5055
5149
  id: "default-folders",
5056
5150
  label: e.term("defaultFolders"),
@@ -5097,7 +5191,7 @@ var ur = {
5097
5191
  type: "attribute"
5098
5192
  },
5099
5193
  {
5100
- api: ir,
5194
+ api: Ar,
5101
5195
  clearable: !1,
5102
5196
  controlType: "select",
5103
5197
  id: "left-default-panel",
@@ -5126,7 +5220,7 @@ var ur = {
5126
5220
  type: "attribute"
5127
5221
  },
5128
5222
  {
5129
- api: ar,
5223
+ api: jr,
5130
5224
  controlType: "select",
5131
5225
  id: "left-available-panels",
5132
5226
  label: e.term("availablePanels"),
@@ -5155,7 +5249,7 @@ var ur = {
5155
5249
  type: "attribute"
5156
5250
  },
5157
5251
  {
5158
- api: or,
5252
+ api: Mr,
5159
5253
  controlType: "select",
5160
5254
  id: "left-additional-filters",
5161
5255
  label: e.term("additionalFilters"),
@@ -5227,7 +5321,7 @@ var ur = {
5227
5321
  type: "attribute"
5228
5322
  },
5229
5323
  {
5230
- api: ir,
5324
+ api: Ar,
5231
5325
  clearable: !1,
5232
5326
  controlType: "select",
5233
5327
  id: "right-default-panel",
@@ -5256,7 +5350,7 @@ var ur = {
5256
5350
  type: "attribute"
5257
5351
  },
5258
5352
  {
5259
- api: ar,
5353
+ api: jr,
5260
5354
  controlType: "select",
5261
5355
  id: "right-available-panels",
5262
5356
  label: e.term("availablePanels"),
@@ -5285,7 +5379,7 @@ var ur = {
5285
5379
  type: "attribute"
5286
5380
  },
5287
5381
  {
5288
- api: or,
5382
+ api: Mr,
5289
5383
  controlType: "select",
5290
5384
  id: "right-additional-filters",
5291
5385
  label: e.term("additionalFilters"),
@@ -5349,7 +5443,7 @@ var ur = {
5349
5443
  type: "decorative"
5350
5444
  },
5351
5445
  {
5352
- api: rr,
5446
+ api: kr,
5353
5447
  clearable: !1,
5354
5448
  controlType: "select",
5355
5449
  id: "folder-hierarchy",
@@ -5364,7 +5458,7 @@ var ur = {
5364
5458
  folderPickerConfigs: {
5365
5459
  useAllowedFolders: !0,
5366
5460
  useFullPath: !0,
5367
- variant: we.Select
5461
+ variant: Ae.Select
5368
5462
  },
5369
5463
  id: "expanded-folders",
5370
5464
  label: e.term("expandedFolders"),
@@ -5530,7 +5624,7 @@ var ur = {
5530
5624
  type: "decorative"
5531
5625
  },
5532
5626
  {
5533
- api: sr,
5627
+ api: Nr,
5534
5628
  clearable: !1,
5535
5629
  controlType: "select",
5536
5630
  id: "filter-button-action",
@@ -5601,7 +5695,7 @@ var ur = {
5601
5695
  recordType: "",
5602
5696
  spaceId: "",
5603
5697
  tooltip: "",
5604
- type: Dt.Secondary,
5698
+ type: Nt.Secondary,
5605
5699
  workflowId: ""
5606
5700
  }
5607
5701
  },
@@ -5618,7 +5712,7 @@ var ur = {
5618
5712
  type: "decorative"
5619
5713
  },
5620
5714
  {
5621
- api: nr,
5715
+ api: Or,
5622
5716
  controlType: "select",
5623
5717
  id: "available-views",
5624
5718
  label: e.term("availableViews"),
@@ -5629,7 +5723,7 @@ var ur = {
5629
5723
  type: "attribute"
5630
5724
  },
5631
5725
  {
5632
- api: nr,
5726
+ api: Or,
5633
5727
  clearable: !1,
5634
5728
  controlType: "select",
5635
5729
  id: "default-view",
@@ -5649,7 +5743,7 @@ var ur = {
5649
5743
  type: "decorative"
5650
5744
  },
5651
5745
  {
5652
- api: tr,
5746
+ api: Dr,
5653
5747
  controlType: "select",
5654
5748
  id: "available-sort-orders",
5655
5749
  label: e.term("availableSortOrders"),
@@ -5660,7 +5754,7 @@ var ur = {
5660
5754
  type: "attribute"
5661
5755
  },
5662
5756
  {
5663
- api: tr,
5757
+ api: Dr,
5664
5758
  clearable: !1,
5665
5759
  controlType: "select",
5666
5760
  id: "default-sort-order",
@@ -5687,12 +5781,12 @@ var ur = {
5687
5781
  tab: "appearance",
5688
5782
  type: "attribute",
5689
5783
  typeSubtypeSelectConfigs: {
5690
- api: cr,
5784
+ api: Pr,
5691
5785
  multiple: !0
5692
5786
  }
5693
5787
  },
5694
5788
  {
5695
- api: lr,
5789
+ api: Fr,
5696
5790
  controlType: "select",
5697
5791
  id: "asset-statuses",
5698
5792
  label: e.term("assetStatuses"),
@@ -5831,7 +5925,7 @@ var ur = {
5831
5925
  t.getStyleControl("--border")
5832
5926
  ];
5833
5927
  },
5834
- defaultValue: er,
5928
+ defaultValue: Er,
5835
5929
  stylable: [
5836
5930
  "--background-color",
5837
5931
  "--border",
@@ -5848,7 +5942,7 @@ var ur = {
5848
5942
  "--padding-right",
5849
5943
  "--padding-top"
5850
5944
  ]
5851
- }, dr = {
5945
+ }, Lr = {
5852
5946
  configs: (e) => {
5853
5947
  let t = new V(e);
5854
5948
  return [
@@ -5910,7 +6004,7 @@ var ur = {
5910
6004
  "--margin-right",
5911
6005
  "--margin-top"
5912
6006
  ]
5913
- }, fr = {
6007
+ }, Rr = {
5914
6008
  "can-open-asset": !1,
5915
6009
  "data-width-percent": "100%",
5916
6010
  "data-width-pixel": "",
@@ -5924,7 +6018,7 @@ var ur = {
5924
6018
  representative: "",
5925
6019
  src: "",
5926
6020
  width: ""
5927
- }, pr = /* @__PURE__ */ new Set([".pdf", ".pptx"]), mr = {
6021
+ }, zr = /* @__PURE__ */ new Set([".pdf", ".pptx"]), Br = {
5928
6022
  configs: (e) => {
5929
6023
  let t = new V(e);
5930
6024
  return [
@@ -5946,7 +6040,7 @@ var ur = {
5946
6040
  callback: ({ extraValue: e, record: t }) => ({
5947
6041
  ...t,
5948
6042
  extension: e?.extension ?? "",
5949
- "height-mode": typeof e?.extension == "string" && pr.has(e.extension) ? c.Fixed : t["height-mode"],
6043
+ "height-mode": typeof e?.extension == "string" && zr.has(e.extension) ? c.Fixed : t["height-mode"],
5950
6044
  identifier: e?.identifier ?? "",
5951
6045
  name: e?.name ?? "",
5952
6046
  "record-id": e?.id ?? "",
@@ -6022,7 +6116,7 @@ var ur = {
6022
6116
  name: e.term("custom"),
6023
6117
  value: c.Fixed
6024
6118
  }],
6025
- show: (e) => !(typeof e.extension == "string" && pr.has(e.extension)),
6119
+ show: (e) => !(typeof e.extension == "string" && zr.has(e.extension)),
6026
6120
  type: "attribute",
6027
6121
  width: (e) => {
6028
6122
  let t = e["height-mode"] === c.Fixed;
@@ -6038,7 +6132,7 @@ var ur = {
6038
6132
  skipShowCheck: !0,
6039
6133
  type: "attribute",
6040
6134
  width: (e) => {
6041
- let t = typeof e.extension == "string" && pr.has(e.extension);
6135
+ let t = typeof e.extension == "string" && zr.has(e.extension);
6042
6136
  return e["full-bleed"] ? t ? "100%" : "50%" : t ? "55%" : "25%";
6043
6137
  }
6044
6138
  }
@@ -6064,7 +6158,7 @@ var ur = {
6064
6158
  t.getStyleControl("--margin")
6065
6159
  ];
6066
6160
  },
6067
- defaultValue: fr,
6161
+ defaultValue: Rr,
6068
6162
  stylable: [
6069
6163
  "--border",
6070
6164
  "--border-radius",
@@ -6075,7 +6169,7 @@ var ur = {
6075
6169
  "--margin-top",
6076
6170
  "--width"
6077
6171
  ]
6078
- }, hr = /* @__PURE__ */ function(e) {
6172
+ }, Vr = /* @__PURE__ */ function(e) {
6079
6173
  return e.Cff = "cff", e.TrueType = "truetype", e;
6080
6174
  }({}), q = /* @__PURE__ */ function(e) {
6081
6175
  return e.Hidden = "hidden", e.WholeKit = "whole-kit", e.WholeKitAndIndividual = "whole-kit-and-individual", e;
@@ -6083,7 +6177,7 @@ var ur = {
6083
6177
  return e.Custom = "custom", e.Primary = "primary", e.Secondary = "secondary", e;
6084
6178
  }({}), Y = /* @__PURE__ */ function(e) {
6085
6179
  return e.Custom = "custom", e.Large = "large", e.Medium = "medium", e.Small = "small", e;
6086
- }({}), gr = {
6180
+ }({}), Hr = {
6087
6181
  "download-appearance": J.Primary,
6088
6182
  "download-icon": JSON.stringify({
6089
6183
  name: "cloud_download",
@@ -6103,7 +6197,7 @@ var ur = {
6103
6197
  "preview-text": "Deliciously",
6104
6198
  typefaces: "",
6105
6199
  variant: "detailed"
6106
- }, _r = r`<svg width="152" height="70" viewBox="0 0 152 70" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect width="152" height="70" rx="6" fill="#DCEFFD"/><rect opacity="0.5" x="9" y="17" width="16" height="13" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="117" y="17" width="26" height="13" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="9" y="11" width="48" height="4" rx="2" fill="#3A80F7"/><rect opacity="0.5" x="27" y="17" width="88" height="13" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="9" y="46" width="16" height="13" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="117" y="46" width="26" height="13" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="9" y="40" width="48" height="4" rx="2" fill="#3A80F7"/><rect opacity="0.5" x="27" y="46" width="88" height="13" rx="4" fill="#3A80F7"/></svg>`, vr = r`<svg width="152" height="70" viewBox="0 0 152 70" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect width="152" height="70" rx="6" fill="#DCEFFD"/><rect opacity="0.5" x="86" y="11" width="48" height="12" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="9" y="11" width="72" height="12" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="86" y="29" width="48" height="12" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="9" y="29" width="72" height="12" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="86" y="47" width="48" height="12" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="9" y="47" width="72" height="12" rx="4" fill="#3A80F7"/></svg>`, yr = {
6200
+ }, Ur = r`<svg width="152" height="70" viewBox="0 0 152 70" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect width="152" height="70" rx="6" fill="#DCEFFD"/><rect opacity="0.5" x="9" y="17" width="16" height="13" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="117" y="17" width="26" height="13" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="9" y="11" width="48" height="4" rx="2" fill="#3A80F7"/><rect opacity="0.5" x="27" y="17" width="88" height="13" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="9" y="46" width="16" height="13" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="117" y="46" width="26" height="13" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="9" y="40" width="48" height="4" rx="2" fill="#3A80F7"/><rect opacity="0.5" x="27" y="46" width="88" height="13" rx="4" fill="#3A80F7"/></svg>`, Wr = r`<svg width="152" height="70" viewBox="0 0 152 70" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect width="152" height="70" rx="6" fill="#DCEFFD"/><rect opacity="0.5" x="86" y="11" width="48" height="12" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="9" y="11" width="72" height="12" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="86" y="29" width="48" height="12" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="9" y="29" width="72" height="12" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="86" y="47" width="48" height="12" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="9" y="47" width="72" height="12" rx="4" fill="#3A80F7"/></svg>`, Gr = {
6107
6201
  configs: (e, t = {}) => {
6108
6202
  let n = new V(e), { enableFontFamilyControls: r = !1 } = t;
6109
6203
  return [
@@ -6317,12 +6411,12 @@ var ur = {
6317
6411
  id: "variant",
6318
6412
  name: "variant",
6319
6413
  options: [{
6320
- children: _r,
6414
+ children: Ur,
6321
6415
  id: "detailed",
6322
6416
  name: e.term("detailed"),
6323
6417
  value: "detailed"
6324
6418
  }, {
6325
- children: vr,
6419
+ children: Wr,
6326
6420
  id: "compact",
6327
6421
  name: e.term("compact"),
6328
6422
  value: "compact"
@@ -6563,7 +6657,7 @@ var ur = {
6563
6657
  }
6564
6658
  ];
6565
6659
  },
6566
- defaultValue: gr,
6660
+ defaultValue: Hr,
6567
6661
  stylable: [
6568
6662
  "--color",
6569
6663
  "--download-alignment",
@@ -6590,9 +6684,9 @@ var ur = {
6590
6684
  ]
6591
6685
  }, X = /* @__PURE__ */ function(e) {
6592
6686
  return e.Custom = "custom", e.Default = "default", e;
6593
- }({}), br = /* @__PURE__ */ function(e) {
6687
+ }({}), Kr = /* @__PURE__ */ function(e) {
6594
6688
  return e.FileFormat = "format", e.FontFamily = "family", e.Style = "style", e.Weight = "weight", e.WeightNumber = "weight_n", e.Width = "width", e;
6595
- }({}), xr = {
6689
+ }({}), qr = {
6596
6690
  configs: (e) => {
6597
6691
  let t = new V(e);
6598
6692
  return [
@@ -6708,7 +6802,7 @@ var ur = {
6708
6802
  "--margin-top",
6709
6803
  "--padding"
6710
6804
  ]
6711
- }, Sr = {
6805
+ }, Jr = {
6712
6806
  "additional-fields": "",
6713
6807
  autoplay: !1,
6714
6808
  "can-custom-shadow-and-border-radius": !1,
@@ -6757,13 +6851,13 @@ var ur = {
6757
6851
  variant: P.Grid,
6758
6852
  width: "",
6759
6853
  "zoom-style": l.WithinBorders
6760
- }, Cr = r`<svg width="188" height="70" viewBox="0 0 188 70" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect width="188" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="188" height="70" fill="white"/><rect opacity="0.5" x="30" y="8" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="30" y="36" width="40" height="26" rx="4" fill="white"/><rect opacity="0.5" x="74" y="8" width="38" height="24" rx="4" fill="white"/><rect opacity="0.5" x="74" y="36" width="38" height="26" rx="4" fill="white"/><rect opacity="0.5" x="116" y="8" width="42" height="24" rx="4" fill="white"/><rect opacity="0.5" x="116" y="36" width="42" height="26" rx="4" fill="white"/></svg>`, wr = r`<svg width="188" height="70" viewBox="0 0 188 70" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect width="188" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="188" height="70" fill="white"/><rect opacity="0.5" x="7" y="23" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="51" y="23" width="38" height="24" rx="4" fill="white"/><rect opacity="0.5" x="93" y="23" width="42" height="24" rx="4" fill="white"/><rect opacity="0.5" x="139" y="23" width="42" height="24" rx="4" fill="white"/></svg>`, Tr = r`<svg width="188" height="70" viewBox="0 0 188 70" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect width="188" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="188" height="70" fill="white"/><rect opacity="0.5" x="20" y="8" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="84" y="36" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="64" y="8" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="128" y="36" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="108" y="8" width="60" height="24" rx="4" fill="white"/><rect opacity="0.5" x="20" y="36" width="60" height="24" rx="4" fill="white"/></svg>`, Er = ({ record: e, value: t }) => {
6854
+ }, Yr = r`<svg width="188" height="70" viewBox="0 0 188 70" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect width="188" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="188" height="70" fill="white"/><rect opacity="0.5" x="30" y="8" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="30" y="36" width="40" height="26" rx="4" fill="white"/><rect opacity="0.5" x="74" y="8" width="38" height="24" rx="4" fill="white"/><rect opacity="0.5" x="74" y="36" width="38" height="26" rx="4" fill="white"/><rect opacity="0.5" x="116" y="8" width="42" height="24" rx="4" fill="white"/><rect opacity="0.5" x="116" y="36" width="42" height="26" rx="4" fill="white"/></svg>`, Xr = r`<svg width="188" height="70" viewBox="0 0 188 70" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect width="188" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="188" height="70" fill="white"/><rect opacity="0.5" x="7" y="23" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="51" y="23" width="38" height="24" rx="4" fill="white"/><rect opacity="0.5" x="93" y="23" width="42" height="24" rx="4" fill="white"/><rect opacity="0.5" x="139" y="23" width="42" height="24" rx="4" fill="white"/></svg>`, Zr = r`<svg width="188" height="70" viewBox="0 0 188 70" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect width="188" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="188" height="70" fill="white"/><rect opacity="0.5" x="20" y="8" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="84" y="36" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="64" y="8" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="128" y="36" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="108" y="8" width="60" height="24" rx="4" fill="white"/><rect opacity="0.5" x="20" y="36" width="60" height="24" rx="4" fill="white"/></svg>`, Qr = ({ record: e, value: t }) => {
6761
6855
  let n = Number.parseInt(String(t), 10);
6762
6856
  return Number.isSafeInteger(n) && n <= 1 ? {
6763
6857
  ...e,
6764
6858
  "can-pin-first-card": !1
6765
6859
  } : e;
6766
- }, Dr = {
6860
+ }, $r = {
6767
6861
  configs: (e, t = {}) => {
6768
6862
  let n = new V(e), { enableAssetFormatControls: r = !1, enableFontFamilyControls: i = !1 } = t;
6769
6863
  return [
@@ -6814,7 +6908,7 @@ var ur = {
6814
6908
  controlType: "select",
6815
6909
  helpText: (t) => {
6816
6910
  let n = t["card-type"];
6817
- return h(n) ? e.term(`cardTypeHelpText${oe(n)}`) : "";
6911
+ return h(n) ? e.term(`cardTypeHelpText${ue(n)}`) : "";
6818
6912
  },
6819
6913
  id: "card-type",
6820
6914
  label: e.term("cardType"),
@@ -7106,7 +7200,7 @@ var ur = {
7106
7200
  controlType: "gallery-picker",
7107
7201
  direction: "vertical",
7108
7202
  galleryPickerConfigs: {
7109
- dialog: ye.Gallery,
7203
+ dialog: Te.Gallery,
7110
7204
  ...r ? {
7111
7205
  formatKey: "format",
7112
7206
  manualFormatKey: "manual-format",
@@ -7160,19 +7254,19 @@ var ur = {
7160
7254
  name: "variant",
7161
7255
  options: [
7162
7256
  {
7163
- children: Cr,
7257
+ children: Yr,
7164
7258
  id: P.Grid,
7165
7259
  name: e.term("grid"),
7166
7260
  value: P.Grid
7167
7261
  },
7168
7262
  {
7169
- children: wr,
7263
+ children: Xr,
7170
7264
  id: P.Ribbon,
7171
7265
  name: e.term("ribbon"),
7172
7266
  value: P.Ribbon
7173
7267
  },
7174
7268
  {
7175
- children: Tr,
7269
+ children: Zr,
7176
7270
  id: P.Bento,
7177
7271
  name: e.term("bento"),
7178
7272
  value: P.Bento
@@ -7233,7 +7327,7 @@ var ur = {
7233
7327
  },
7234
7328
  {
7235
7329
  children: [{
7236
- callback: Er,
7330
+ callback: Qr,
7237
7331
  controlType: "input",
7238
7332
  id: "max-rows",
7239
7333
  inputConfigs: { label: e.term("desktopAndTablet") },
@@ -7243,7 +7337,7 @@ var ur = {
7243
7337
  type: "attribute",
7244
7338
  width: "50%"
7245
7339
  }, {
7246
- callback: Er,
7340
+ callback: Qr,
7247
7341
  controlType: "input",
7248
7342
  id: "max-rows-mobile",
7249
7343
  inputConfigs: { label: e.term("mobile") },
@@ -7921,25 +8015,25 @@ var ur = {
7921
8015
  }
7922
8016
  ];
7923
8017
  },
7924
- defaultValue: Sr,
8018
+ defaultValue: Jr,
7925
8019
  stylable: /* @__PURE__ */ "--border.--content-background-color.--content-border.--content-border-radius.--content-padding.--content-width.--details-color.--details-font-size.--details-font-family.--details-font-style.--details-font-weight.--details-letter-spacing.--details-line-height.--details-text-align.--gallery-item-border.--highlightable-item-effect-jump-distance.--highlightable-item-effect-text-reveal-distance.--highlightable-item-effect-zoom-scale.--highlightable-item-highlight-background.--highlightable-item-highlight-border-color.--highlightable-item-highlight-color-overlay-color.--highlightable-item-highlight-drop-shadow.--highlightable-item-highlight-siblings-fade-out-opacity.--header-color.--header-font-size.--header-font-family.--header-font-style.--header-font-weight.--header-letter-spacing.--header-line-height.--header-text-align.--item-border-radius.--item-box-shadow.--margin.--margin-bottom.--margin-left.--margin-right.--margin-top.--scroll-hint.--transition-duration.--transition-transform-duration".split(".")
7926
- }, Or = {
7927
- alignment: be.Left,
8020
+ }, ei = {
8021
+ alignment: Ee.Left,
7928
8022
  "custom-line-height": !0,
7929
8023
  "data-constraints": !1,
7930
8024
  "disabled-copy-button": !0,
7931
8025
  "font-size": "28px",
7932
8026
  "has-anchor-link": !0,
7933
8027
  role: "heading",
7934
- variant: xe.H2
7935
- }, kr = {
8028
+ variant: De.H2
8029
+ }, ti = {
7936
8030
  h1: "32px",
7937
8031
  h2: "28px",
7938
8032
  h3: "24px",
7939
8033
  h4: "20px",
7940
8034
  h5: "16px",
7941
8035
  h6: "14px"
7942
- }, Ar = {
8036
+ }, ni = {
7943
8037
  configs: (e, t = {}) => {
7944
8038
  let n = new V(e), { enableFontFamilyControls: r = !1 } = t;
7945
8039
  return [
@@ -7955,7 +8049,7 @@ var ur = {
7955
8049
  })),
7956
8050
  {
7957
8051
  callback: ({ record: e, value: t }) => {
7958
- let n = kr[t];
8052
+ let n = ti[t];
7959
8053
  return {
7960
8054
  ...e,
7961
8055
  "font-size": n,
@@ -8117,7 +8211,7 @@ var ur = {
8117
8211
  }
8118
8212
  ];
8119
8213
  },
8120
- defaultValue: Or,
8214
+ defaultValue: ei,
8121
8215
  stylable: [
8122
8216
  "--border-radius",
8123
8217
  "--color",
@@ -8133,7 +8227,7 @@ var ur = {
8133
8227
  "--min-block-width",
8134
8228
  "--max-block-width"
8135
8229
  ]
8136
- }, jr = {
8230
+ }, ri = {
8137
8231
  configs: (e) => {
8138
8232
  let t = new V(e);
8139
8233
  return [
@@ -8144,7 +8238,7 @@ var ur = {
8144
8238
  type: "attribute"
8145
8239
  })),
8146
8240
  {
8147
- api: De,
8241
+ api: Ne,
8148
8242
  controlType: "select",
8149
8243
  id: "src",
8150
8244
  label: e.term("source"),
@@ -8164,10 +8258,10 @@ var ur = {
8164
8258
  };
8165
8259
  //#endregion
8166
8260
  //#region ../../packages/organisms/src/content-builder/configs/image.ts
8167
- function Mr(e) {
8261
+ function ii(e) {
8168
8262
  return e["height-mode"] === c.Fixed;
8169
8263
  }
8170
- var Nr = {
8264
+ var ai = {
8171
8265
  configs: (e, t = {}) => {
8172
8266
  let n = new V(e), { enableAssetFormatControls: r = !1, enableFontFamilyControls: i = !1 } = t;
8173
8267
  return [
@@ -8379,7 +8473,7 @@ var Nr = {
8379
8473
  value: c.Fixed
8380
8474
  }],
8381
8475
  type: "attribute",
8382
- width: (e) => e["full-bleed"] ? Mr(e) ? "50%" : "100%" : Mr(e) ? "30%" : "55%"
8476
+ width: (e) => e["full-bleed"] ? ii(e) ? "50%" : "100%" : ii(e) ? "30%" : "55%"
8383
8477
  },
8384
8478
  {
8385
8479
  ...n.getStyleControl("--height"),
@@ -8416,7 +8510,7 @@ var Nr = {
8416
8510
  value: _.Cover
8417
8511
  }],
8418
8512
  radioGroupConfigs: { horizontal: !0 },
8419
- show: Mr,
8513
+ show: ii,
8420
8514
  type: "attribute"
8421
8515
  },
8422
8516
  {
@@ -8424,7 +8518,7 @@ var Nr = {
8424
8518
  id: "crop-focus",
8425
8519
  label: e.term("cropFocus"),
8426
8520
  name: "crop-focus",
8427
- show: Mr,
8521
+ show: ii,
8428
8522
  type: "attribute"
8429
8523
  },
8430
8524
  {
@@ -8601,7 +8695,7 @@ var Nr = {
8601
8695
  id: "click-link",
8602
8696
  inputConfigs: { validation: (t) => {
8603
8697
  let n = t["click-link"];
8604
- return de(n) ? "" : e.term("urlValidationMessage");
8698
+ return Kn(n) ? "" : e.term("urlValidationMessage");
8605
8699
  } },
8606
8700
  label: e.term("link"),
8607
8701
  name: "click-link",
@@ -8625,9 +8719,9 @@ var Nr = {
8625
8719
  type: "attribute"
8626
8720
  },
8627
8721
  {
8628
- api: Mn,
8722
+ api: Rn,
8629
8723
  controlType: "select",
8630
- folderPickerConfigs: { variant: we.Select },
8724
+ folderPickerConfigs: { variant: Ae.Select },
8631
8725
  id: "click-space",
8632
8726
  label: e.term("space"),
8633
8727
  name: "click-space",
@@ -9232,7 +9326,7 @@ var Nr = {
9232
9326
  "zoom-style": l.WithinBorders
9233
9327
  },
9234
9328
  stylable: /* @__PURE__ */ "--border.--border-radius.--content-background-color.--content-border.--content-border-radius.--content-margin.--content-margin-bottom.--content-margin-left.--content-margin-right.--content-margin-top.--content-min-height.--content-padding.--content-width.--details-color.--details-font-size.--details-font-family.--details-font-style.--details-font-weight.--details-letter-spacing.--details-line-height.--details-text-align.--header-color.--header-font-size.--header-font-family.--header-font-style.--header-font-weight.--header-letter-spacing.--header-line-height.--header-text-align.--highlightable-item-effect-jump-distance.--highlightable-item-effect-text-reveal-distance.--highlightable-item-effect-zoom-scale.--highlightable-item-highlight-background.--highlightable-item-highlight-border-color.--highlightable-item-highlight-color-overlay-color.--highlightable-item-highlight-drop-shadow.--highlightable-item-highlight-opacity.--image-max-height.--image-max-width.--image-min-height.--image-min-width.--justify-content.--margin.--margin-bottom.--margin-left.--margin-right.--margin-top.--transition-duration.--transition-transform-duration".split(".")
9235
- }, Pr = {
9329
+ }, oi = {
9236
9330
  configs: (e) => {
9237
9331
  let t = new V(e);
9238
9332
  return [...[].map((e) => ({
@@ -9255,19 +9349,19 @@ var Nr = {
9255
9349
  return e.Custom = "custom", e.Large = "large", e.Medium = "medium", e.Small = "small", e;
9256
9350
  }({}), $ = /* @__PURE__ */ function(e) {
9257
9351
  return e.Adaptive = "adaptive", e.Fill = "fill", e.Fixed = "fixed", e;
9258
- }({}), Fr = JSON.stringify({
9352
+ }({}), si = JSON.stringify({
9259
9353
  name: "search",
9260
9354
  src: ""
9261
- }), Ir = {
9355
+ }), ci = {
9262
9356
  appearance: Z.Default,
9263
9357
  "can-search-by-icon": !0,
9264
- "data-icon-name": Fr,
9358
+ "data-icon-name": si,
9265
9359
  label: "",
9266
9360
  placeholder: "Search",
9267
9361
  size: Q.Medium,
9268
9362
  "width-type": $.Adaptive
9269
9363
  };
9270
- function Lr(e) {
9364
+ function li(e) {
9271
9365
  if (typeof e != "string" || !e) return null;
9272
9366
  try {
9273
9367
  let t = JSON.parse(e);
@@ -9279,18 +9373,18 @@ function Lr(e) {
9279
9373
  return null;
9280
9374
  }
9281
9375
  }
9282
- var Rr = "custom";
9283
- function zr(e) {
9284
- let t = Lr(e);
9376
+ var ui = "custom";
9377
+ function di(e) {
9378
+ let t = li(e);
9285
9379
  if (!t) return !1;
9286
9380
  let n = t.name.trim();
9287
- return !!(n && n !== Rr || t.src.trim());
9381
+ return !!(n && n !== ui || t.src.trim());
9288
9382
  }
9289
- function Br(e) {
9290
- let t = Lr(e);
9291
- return t ? !!(t.src.trim() || t.name.trim() === Rr) : !1;
9383
+ function fi(e) {
9384
+ let t = li(e);
9385
+ return t ? !!(t.src.trim() || t.name.trim() === ui) : !1;
9292
9386
  }
9293
- var Vr = {
9387
+ var pi = {
9294
9388
  configs: (e, t = {}) => {
9295
9389
  let n = new V(e), { enableFontFamilyControls: r = !1 } = t;
9296
9390
  return [
@@ -9473,14 +9567,14 @@ var Vr = {
9473
9567
  id: "--icon-size",
9474
9568
  label: e.term("iconWidth"),
9475
9569
  name: "icon-size",
9476
- show: (e) => e.appearance === Z.Custom && zr(e["data-icon-name"])
9570
+ show: (e) => e.appearance === Z.Custom && di(e["data-icon-name"])
9477
9571
  },
9478
9572
  {
9479
9573
  ...n.getStyleControl("--color"),
9480
9574
  id: "--icon-color",
9481
9575
  label: e.term("iconColor"),
9482
9576
  name: "icon-color",
9483
- show: (e) => e.appearance === Z.Custom && zr(e["data-icon-name"]) && !Br(e["data-icon-name"])
9577
+ show: (e) => e.appearance === Z.Custom && di(e["data-icon-name"]) && !fi(e["data-icon-name"])
9484
9578
  },
9485
9579
  {
9486
9580
  ...n.getStyleControl("--box-shadow"),
@@ -9489,7 +9583,7 @@ var Vr = {
9489
9583
  }
9490
9584
  ];
9491
9585
  },
9492
- defaultValue: Ir,
9586
+ defaultValue: ci,
9493
9587
  stylable: [
9494
9588
  "--background-color",
9495
9589
  "--border",
@@ -9513,7 +9607,7 @@ var Vr = {
9513
9607
  "--search-box-custom-padding",
9514
9608
  "--width"
9515
9609
  ]
9516
- }, Hr = {
9610
+ }, mi = {
9517
9611
  configs: (e, t = {}) => {
9518
9612
  let n = new V(e), { enableFontFamilyControls: r = !1 } = t;
9519
9613
  return [
@@ -9816,7 +9910,7 @@ var Vr = {
9816
9910
  "--tab-padding",
9817
9911
  "--tab-panel-padding"
9818
9912
  ]
9819
- }, Ur = {
9913
+ }, hi = {
9820
9914
  configs: (e, t = {}) => {
9821
9915
  let n = new V(e), { containerFontVariants: r, enableFontFamilyControls: i = !1 } = t;
9822
9916
  return [
@@ -9899,7 +9993,7 @@ var Vr = {
9899
9993
  "--min-block-width",
9900
9994
  "--max-block-width"
9901
9995
  ]
9902
- }, Wr = {
9996
+ }, gi = {
9903
9997
  configs: (e, t = {}) => {
9904
9998
  let n = new V(e), { enableAssetFormatControls: r = !1, enableFontFamilyControls: i = !1 } = t;
9905
9999
  return [
@@ -10164,11 +10258,11 @@ var Vr = {
10164
10258
  "--marker-image-height",
10165
10259
  "--marker-image-border-radius"
10166
10260
  ]
10167
- }, Gr = "300px", Kr = "100%";
10168
- function qr(e) {
10261
+ }, _i = "300px", vi = "100%";
10262
+ function yi(e) {
10169
10263
  return e["height-mode"] === c.Fixed;
10170
10264
  }
10171
- var Jr = {
10265
+ var bi = {
10172
10266
  configs: (e, t = {}) => {
10173
10267
  let n = new V(e), { enableAssetFormatControls: r = !1, enableFontFamilyControls: i = !1 } = t;
10174
10268
  return [
@@ -10215,7 +10309,7 @@ var Jr = {
10215
10309
  callback: ({ extraValue: e, record: t }) => ({
10216
10310
  ...t,
10217
10311
  ...r ? {
10218
- "asset-version": Et.Latest,
10312
+ "asset-version": Mt.Latest,
10219
10313
  format: "WebHigh",
10220
10314
  "format-src": "",
10221
10315
  "version-label": ""
@@ -10336,14 +10430,14 @@ var Jr = {
10336
10430
  value: c.Fixed
10337
10431
  }],
10338
10432
  type: "attribute",
10339
- width: (e) => e["full-bleed"] ? qr(e) ? "50%" : "100%" : qr(e) ? "30%" : "55%"
10433
+ width: (e) => e["full-bleed"] ? yi(e) ? "50%" : "100%" : yi(e) ? "30%" : "55%"
10340
10434
  },
10341
10435
  {
10342
10436
  ...n.getStyleControl("--height"),
10343
10437
  id: "height",
10344
10438
  inputConfigs: { label: e.term("height") },
10345
10439
  name: "height",
10346
- show: qr,
10440
+ show: yi,
10347
10441
  type: "attribute",
10348
10442
  width: (e) => e["full-bleed"] ? "50%" : "25%"
10349
10443
  }
@@ -10372,7 +10466,7 @@ var Jr = {
10372
10466
  value: _.Cover
10373
10467
  }],
10374
10468
  radioGroupConfigs: { horizontal: !0 },
10375
- show: qr,
10469
+ show: yi,
10376
10470
  type: "attribute"
10377
10471
  },
10378
10472
  {
@@ -10380,7 +10474,7 @@ var Jr = {
10380
10474
  id: "crop-focus",
10381
10475
  label: e.term("cropFocus"),
10382
10476
  name: "crop-focus",
10383
- show: qr,
10477
+ show: yi,
10384
10478
  type: "attribute"
10385
10479
  },
10386
10480
  {
@@ -10525,7 +10619,7 @@ var Jr = {
10525
10619
  id: "click-link",
10526
10620
  inputConfigs: { validation: (t) => {
10527
10621
  let n = t["click-link"];
10528
- return de(n) ? "" : e.term("urlValidationMessage");
10622
+ return Kn(n) ? "" : e.term("urlValidationMessage");
10529
10623
  } },
10530
10624
  label: e.term("link"),
10531
10625
  name: "click-link",
@@ -10547,9 +10641,9 @@ var Jr = {
10547
10641
  type: "attribute"
10548
10642
  },
10549
10643
  {
10550
- api: Mn,
10644
+ api: Rn,
10551
10645
  controlType: "select",
10552
- folderPickerConfigs: { variant: we.Select },
10646
+ folderPickerConfigs: { variant: Ae.Select },
10553
10647
  id: "click-space",
10554
10648
  label: e.term("space"),
10555
10649
  name: "click-space",
@@ -10890,7 +10984,7 @@ var Jr = {
10890
10984
  },
10891
10985
  defaultValue: {
10892
10986
  "additional-fields": "",
10893
- "asset-version": Et.Latest,
10987
+ "asset-version": Mt.Latest,
10894
10988
  autoplay: !1,
10895
10989
  "click-action": U.DoNothing,
10896
10990
  "click-link": "",
@@ -10909,7 +11003,7 @@ var Jr = {
10909
11003
  "format-src": "",
10910
11004
  "full-bleed": !1,
10911
11005
  "header-source-field": "",
10912
- height: Gr,
11006
+ height: _i,
10913
11007
  "height-mode": c.Auto,
10914
11008
  loop: !1,
10915
11009
  "manual-thumbnail-format": !1,
@@ -10924,37 +11018,37 @@ var Jr = {
10924
11018
  "thumbnail-record-id": "",
10925
11019
  "thumbnail-transformations": "[]",
10926
11020
  "version-label": "",
10927
- width: Kr
11021
+ width: vi
10928
11022
  },
10929
11023
  stylable: /* @__PURE__ */ "--border.--border-radius.--content-background-color.--content-border.--content-border-radius.--content-margin.--content-margin-bottom.--content-margin-left.--content-margin-right.--content-margin-top.--content-min-height.--content-padding.--content-width.--details-color.--details-font-size.--details-font-family.--details-font-style.--details-font-weight.--details-letter-spacing.--details-line-height.--details-text-align.--header-color.--header-font-size.--header-font-family.--header-font-style.--header-font-weight.--header-letter-spacing.--header-line-height.--header-text-align.--margin.--margin-bottom.--margin-left.--margin-right.--margin-top.--video-max-height.--video-max-width.--video-min-height.--video-min-width".split(".")
10930
- }, Yr = /* @__PURE__ */ t({ default: () => Xr }), Xr = class {
11024
+ }, xi = /* @__PURE__ */ t({ default: () => Si }), Si = class {
10931
11025
  constructor(e) {
10932
11026
  this.localize = e, this.localize = e;
10933
11027
  }
10934
11028
  getConfigs(e, t = {}) {
10935
11029
  switch (e) {
10936
- case b.Accordion: return zn.configs(this.localize, t);
10937
- case b.Analytics: return jr.configs(this.localize);
10938
- case b.Audio: return Bn.configs(this.localize, t);
10939
- case b.Button: return Hn.configs(this.localize, t);
10940
- case b.Carousel: return Un.configs(this.localize, t);
10941
- case b.ColorSwatches: return Yn.configs(this.localize, t);
10942
- case b.Column: return Xn.configs(this.localize, t);
10943
- case b.ColumnGroup: return Zn.configs(this.localize, t);
10944
- case b.DamView: return ur.configs(this.localize);
10945
- case b.Divider: return dr.configs(this.localize);
10946
- case b.DocumentViewer: return mr.configs(this.localize);
10947
- case b.FontKit: return yr.configs(this.localize, t);
10948
- case b.FontKitAdvanced: return xr.configs(this.localize);
10949
- case b.Gallery: return Dr.configs(this.localize, t);
10950
- case b.Header: return Ar.configs(this.localize, t);
10951
- case b.Image: return Nr.configs(this.localize, t);
10952
- case b.RichText: return Pr.configs(this.localize);
10953
- case b.SearchBox: return Vr.configs(this.localize, t);
10954
- case b.TabGroup: return Hr.configs(this.localize, t);
10955
- case b.Text: return Ur.configs(this.localize, t);
10956
- case b.Timeline: return Wr.configs(this.localize, t);
10957
- case b.Video: return Jr.configs(this.localize, t);
11030
+ case b.Accordion: return dr.configs(this.localize, t);
11031
+ case b.Analytics: return ri.configs(this.localize);
11032
+ case b.Audio: return fr.configs(this.localize, t);
11033
+ case b.Button: return mr.configs(this.localize, t);
11034
+ case b.Carousel: return hr.configs(this.localize, t);
11035
+ case b.ColorSwatches: return xr.configs(this.localize, t);
11036
+ case b.Column: return Sr.configs(this.localize, t);
11037
+ case b.ColumnGroup: return Cr.configs(this.localize, t);
11038
+ case b.DamView: return Ir.configs(this.localize);
11039
+ case b.Divider: return Lr.configs(this.localize);
11040
+ case b.DocumentViewer: return Br.configs(this.localize);
11041
+ case b.FontKit: return Gr.configs(this.localize, t);
11042
+ case b.FontKitAdvanced: return qr.configs(this.localize);
11043
+ case b.Gallery: return $r.configs(this.localize, t);
11044
+ case b.Header: return ni.configs(this.localize, t);
11045
+ case b.Image: return ai.configs(this.localize, t);
11046
+ case b.RichText: return oi.configs(this.localize);
11047
+ case b.SearchBox: return pi.configs(this.localize, t);
11048
+ case b.TabGroup: return mi.configs(this.localize, t);
11049
+ case b.Text: return hi.configs(this.localize, t);
11050
+ case b.Timeline: return gi.configs(this.localize, t);
11051
+ case b.Video: return bi.configs(this.localize, t);
10958
11052
  default: return [];
10959
11053
  }
10960
11054
  }
@@ -10987,57 +11081,57 @@ var Jr = {
10987
11081
  }
10988
11082
  getDefaultValue(e) {
10989
11083
  switch (e) {
10990
- case b.Accordion: return zn.defaultValue;
10991
- case b.Analytics: return jr.defaultValue;
10992
- case b.Audio: return Bn.defaultValue;
10993
- case b.Button: return Hn.defaultValue;
10994
- case b.Carousel: return Un.defaultValue;
10995
- case b.ColorSwatches: return Yn.defaultValue;
10996
- case b.Column: return Xn.defaultValue;
10997
- case b.ColumnGroup: return Zn.defaultValue;
10998
- case b.DamView: return ur.defaultValue;
10999
- case b.Divider: return dr.defaultValue;
11000
- case b.DocumentViewer: return mr.defaultValue;
11001
- case b.FontKit: return yr.defaultValue;
11002
- case b.FontKitAdvanced: return xr.defaultValue;
11003
- case b.Gallery: return Dr.defaultValue;
11004
- case b.Header: return Ar.defaultValue;
11005
- case b.Image: return Nr.defaultValue;
11006
- case b.SearchBox: return Vr.defaultValue;
11007
- case b.TabGroup: return Hr.defaultValue;
11008
- case b.Text: return Ur.defaultValue;
11009
- case b.Timeline: return Wr.defaultValue;
11010
- case b.Video: return Jr.defaultValue;
11084
+ case b.Accordion: return dr.defaultValue;
11085
+ case b.Analytics: return ri.defaultValue;
11086
+ case b.Audio: return fr.defaultValue;
11087
+ case b.Button: return mr.defaultValue;
11088
+ case b.Carousel: return hr.defaultValue;
11089
+ case b.ColorSwatches: return xr.defaultValue;
11090
+ case b.Column: return Sr.defaultValue;
11091
+ case b.ColumnGroup: return Cr.defaultValue;
11092
+ case b.DamView: return Ir.defaultValue;
11093
+ case b.Divider: return Lr.defaultValue;
11094
+ case b.DocumentViewer: return Br.defaultValue;
11095
+ case b.FontKit: return Gr.defaultValue;
11096
+ case b.FontKitAdvanced: return qr.defaultValue;
11097
+ case b.Gallery: return $r.defaultValue;
11098
+ case b.Header: return ni.defaultValue;
11099
+ case b.Image: return ai.defaultValue;
11100
+ case b.SearchBox: return pi.defaultValue;
11101
+ case b.TabGroup: return mi.defaultValue;
11102
+ case b.Text: return hi.defaultValue;
11103
+ case b.Timeline: return gi.defaultValue;
11104
+ case b.Video: return bi.defaultValue;
11011
11105
  default: return {};
11012
11106
  }
11013
11107
  }
11014
11108
  getStylable(e) {
11015
11109
  switch (e) {
11016
- case b.Accordion: return zn.stylable;
11017
- case b.Analytics: return jr.stylable;
11018
- case b.Audio: return Bn.stylable;
11019
- case b.Button: return Hn.stylable;
11020
- case b.Carousel: return Un.stylable;
11021
- case b.ColorSwatches: return Yn.stylable;
11022
- case b.Column: return Xn.stylable;
11023
- case b.ColumnGroup: return Zn.stylable;
11024
- case b.DamView: return ur.stylable;
11025
- case b.Divider: return dr.stylable;
11026
- case b.DocumentViewer: return mr.stylable;
11027
- case b.FontKit: return yr.stylable;
11028
- case b.FontKitAdvanced: return xr.stylable;
11029
- case b.Gallery: return Dr.stylable;
11030
- case b.Header: return Ar.stylable;
11031
- case b.Image: return Nr.stylable;
11032
- case b.RichText: return Pr.stylable;
11033
- case b.SearchBox: return Vr.stylable;
11034
- case b.TabGroup: return Hr.stylable;
11035
- case b.Text: return Ur.stylable;
11036
- case b.Timeline: return Wr.stylable;
11037
- case b.Video: return Jr.stylable;
11110
+ case b.Accordion: return dr.stylable;
11111
+ case b.Analytics: return ri.stylable;
11112
+ case b.Audio: return fr.stylable;
11113
+ case b.Button: return mr.stylable;
11114
+ case b.Carousel: return hr.stylable;
11115
+ case b.ColorSwatches: return xr.stylable;
11116
+ case b.Column: return Sr.stylable;
11117
+ case b.ColumnGroup: return Cr.stylable;
11118
+ case b.DamView: return Ir.stylable;
11119
+ case b.Divider: return Lr.stylable;
11120
+ case b.DocumentViewer: return Br.stylable;
11121
+ case b.FontKit: return Gr.stylable;
11122
+ case b.FontKitAdvanced: return qr.stylable;
11123
+ case b.Gallery: return $r.stylable;
11124
+ case b.Header: return ni.stylable;
11125
+ case b.Image: return ai.stylable;
11126
+ case b.RichText: return oi.stylable;
11127
+ case b.SearchBox: return pi.stylable;
11128
+ case b.TabGroup: return mi.stylable;
11129
+ case b.Text: return hi.stylable;
11130
+ case b.Timeline: return gi.stylable;
11131
+ case b.Video: return bi.stylable;
11038
11132
  default: return [];
11039
11133
  }
11040
11134
  }
11041
11135
  };
11042
11136
  //#endregion
11043
- export { j as $, L as A, Jt as B, Cn as C, En as D, bn as E, gn as F, ln as G, Qt as H, dn as I, Wt as J, en as K, pn as L, I as M, mn as N, vn as O, hn as P, M as Q, Ut as R, xn as S, Dn as T, Zt as U, $t as V, un as W, Gt as X, qt as Y, rn as Z, kn as _, Q as a, ke as at, Sn as b, q as c, W as d, Dt as et, Vn as f, An as g, Nn as h, Z as i, Ae as it, P as j, Tn as k, hr as l, Pn as m, Yr as n, Tt as nt, $ as o, Oe as ot, U as p, Yt as q, Fr as r, wt as rt, br as s, Xr as t, Et as tt, G as u, jn as v, wn as w, yn as x, Mn as y, Xt as z };
11137
+ export { hn as $, Tn as A, I as B, Bn as C, Ln as D, Fn as E, Mn as F, yn as G, xn as H, wn as I, en as J, Yt as K, jn as L, An as M, Nn as N, Rn as O, En as P, gn as Q, L as R, Qn as S, In as T, Sn as U, bn as V, _n as W, an as X, on as Y, rn as Z, nr as _, Q as a, un as at, qn as b, q as c, Nt as ct, W as d, At as dt, sn as et, pr as f, Ie as ft, Yn as g, $n as h, Z as i, Zt as it, kn as j, On as k, Vr as l, Mt as lt, or as m, Pe as mt, xi as n, Xt as nt, $ as o, M as ot, U as p, Fe as pt, nn as q, si as r, $t as rt, Kr as s, j as st, Si as t, tn as tt, G as u, jt as ut, tr as v, zn as w, er as x, Xn as y, P as z };