@orangelogic/design-system 3.58.0 → 3.63.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.
- package/library/chunks/{block-width.DO9qMNf6.js → block-width.fhdy5WRS.js} +361 -446
- package/library/chunks/{config-manager.BKmXLHaH.js → config-manager.Dr_5Nx4Q.js} +20 -20
- package/library/chunks/{configs-controller.CrajsBAF.js → configs-controller.CM0Jf3I2.js} +918 -831
- package/library/chunks/{src.qAKiRBjl.js → src.C34JrW8T.js} +2 -2
- package/library/chunks/{step.DbfZAAd2.js → step._Tv5amzP.js} +10 -3
- package/library/chunks/{stepper-wizard.lIqA749z.js → stepper-wizard.C6TrheIf.js} +3 -3
- package/library/chunks/{stepper.BdIYewYh.js → stepper.CRlduUfA.js} +1 -1
- package/library/components/atoms.js +3 -3
- package/library/components/molecules.js +1 -1
- package/library/components/step.js +1 -1
- package/library/components/stepper-wizard.js +1 -1
- package/library/components/stepper.js +1 -1
- package/library/components/types.js +13516 -13426
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/step/step.d.ts +4 -0
- package/library/packages/organisms/src/capacity-planner/components/capacity-week-bar/capacity-week-bar.d.ts +60 -8
- package/library/packages/organisms/src/content-builder/content-builder.utils.d.ts +5 -0
- package/library/packages/organisms/src/space-selector/space-selector.d.ts +4 -1
- package/library/packages/tools/src/tiptap/extensions/subscript/index.d.ts +2 -0
- package/library/packages/tools/src/tiptap/extensions/superscript/index.d.ts +2 -0
- package/library/packages/types/src/stepper-wizard.d.ts +1 -0
- package/library/react-web-component.d.ts +6 -2
- package/package.json +1 -1
|
@@ -12,15 +12,16 @@ import { t as oe } from "./capitalize.BT_EavGy.js";
|
|
|
12
12
|
import { a as se, i as ce, n as le, r as ue } from "./document-viewer.Co4qVIOL.js";
|
|
13
13
|
import { f as de, l as fe } from "./url.CZO_DV8Y.js";
|
|
14
14
|
import { _ as pe, g as me, p as he, v as ge } from "./color.CIOzHtLK.js";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
15
|
+
import { _ as _e, g as ve, h as ye, m as be, p as xe, s as b } from "./responsive.L9Csz2w2.js";
|
|
16
|
+
import { getFontFamilyOptionValue as Se, getTypefaceOptionValue as Ce, quoteFontFamily as we, unquoteFontFamily as Te } from "../utils.js";
|
|
17
|
+
import { n as Ee, r as De } from "./header.BDEqW3TI.js";
|
|
18
|
+
import { d as Oe, f as x, l as S, o as C, s as ke } from "./endpoints.jOHOmF_t.js";
|
|
19
|
+
import { n as Ae } from "./folder-select.OpTigUmf.js";
|
|
20
|
+
import { a as w, i as T, o as E, r as D, s as je } from "./color-swatch-group.DUbPuxjC.js";
|
|
21
|
+
import { n as Me } from "./isEmpty.D3QQduJ5.js";
|
|
22
|
+
import { a as O } from "./cloneDeep.C6x5LNv3.js";
|
|
22
23
|
//#region ../../packages/services/src/api/dashboard/dashboard.ts
|
|
23
|
-
async function
|
|
24
|
+
async function Ne() {
|
|
24
25
|
try {
|
|
25
26
|
return (await x.request({
|
|
26
27
|
method: "GET",
|
|
@@ -34,13 +35,13 @@ async function Ee() {
|
|
|
34
35
|
hasMore: !1
|
|
35
36
|
};
|
|
36
37
|
}],
|
|
37
|
-
url:
|
|
38
|
+
url: ke.GET_DASHBOARD_LIST
|
|
38
39
|
})).data;
|
|
39
40
|
} catch {
|
|
40
41
|
return [];
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
|
-
async function
|
|
44
|
+
async function Pe({ dashboardId: e, pageId: t }) {
|
|
44
45
|
try {
|
|
45
46
|
return (await x.request({
|
|
46
47
|
method: "GET",
|
|
@@ -52,7 +53,7 @@ async function De({ dashboardId: e, pageId: t }) {
|
|
|
52
53
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
53
54
|
return e.embedUrl || "";
|
|
54
55
|
}],
|
|
55
|
-
url:
|
|
56
|
+
url: ke.GET_DASHBOARD_EMBEDDED_URL
|
|
56
57
|
})).data;
|
|
57
58
|
} catch {
|
|
58
59
|
return "";
|
|
@@ -60,23 +61,23 @@ async function De({ dashboardId: e, pageId: t }) {
|
|
|
60
61
|
}
|
|
61
62
|
//#endregion
|
|
62
63
|
//#region ../../packages/types/src/details-group.ts
|
|
63
|
-
var
|
|
64
|
+
var Fe = {
|
|
64
65
|
name: "keyboard_arrow_right",
|
|
65
66
|
src: ""
|
|
66
|
-
},
|
|
67
|
+
}, Ie = {
|
|
67
68
|
name: "keyboard_arrow_down",
|
|
68
69
|
src: ""
|
|
69
70
|
};
|
|
70
71
|
//#endregion
|
|
71
72
|
//#region ../../node_modules/lodash-es/_basePropertyOf.js
|
|
72
|
-
function
|
|
73
|
+
function Le(e) {
|
|
73
74
|
return function(t) {
|
|
74
75
|
return e?.[t];
|
|
75
76
|
};
|
|
76
77
|
}
|
|
77
78
|
//#endregion
|
|
78
79
|
//#region ../../node_modules/lodash-es/_deburrLetter.js
|
|
79
|
-
var
|
|
80
|
+
var Re = Le({
|
|
80
81
|
À: "A",
|
|
81
82
|
Á: "A",
|
|
82
83
|
Â: "A",
|
|
@@ -267,125 +268,125 @@ var je = Ae({
|
|
|
267
268
|
œ: "oe",
|
|
268
269
|
ʼn: "'n",
|
|
269
270
|
ſ: "s"
|
|
270
|
-
}),
|
|
271
|
-
function
|
|
272
|
-
return e = ae(e), e && e.replace(
|
|
271
|
+
}), ze = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Be = RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]", "g");
|
|
272
|
+
function Ve(e) {
|
|
273
|
+
return e = ae(e), e && e.replace(ze, Re).replace(Be, "");
|
|
273
274
|
}
|
|
274
275
|
//#endregion
|
|
275
276
|
//#region ../../node_modules/lodash-es/_asciiWords.js
|
|
276
|
-
var
|
|
277
|
-
function
|
|
278
|
-
return e.match(
|
|
277
|
+
var He = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
278
|
+
function Ue(e) {
|
|
279
|
+
return e.match(He) || [];
|
|
279
280
|
}
|
|
280
281
|
//#endregion
|
|
281
282
|
//#region ../../node_modules/lodash-es/_hasUnicodeWord.js
|
|
282
|
-
var
|
|
283
|
-
function
|
|
284
|
-
return
|
|
283
|
+
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 ]/;
|
|
284
|
+
function Ge(e) {
|
|
285
|
+
return We.test(e);
|
|
285
286
|
}
|
|
286
287
|
//#endregion
|
|
287
288
|
//#region ../../node_modules/lodash-es/_unicodeWords.js
|
|
288
|
-
var
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
].join("|") + ")" +
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
].join("|") + ")" +
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
289
|
+
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]", k = "[" + et + "]", mt = "\\u200d", ht = "(?:" + ct + "|" + lt + ")", gt = "(?:" + k + "|" + 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 + "(?:" + [
|
|
290
|
+
dt,
|
|
291
|
+
ft,
|
|
292
|
+
pt
|
|
293
|
+
].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 = "(?:" + [
|
|
294
|
+
st,
|
|
295
|
+
ft,
|
|
296
|
+
pt
|
|
297
|
+
].join("|") + ")" + wt, Et = RegExp([
|
|
298
|
+
k + "?" + ct + "+" + _t + "(?=" + [
|
|
299
|
+
it,
|
|
300
|
+
k,
|
|
300
301
|
"$"
|
|
301
302
|
].join("|") + ")",
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
gt + "+" + vt + "(?=" + [
|
|
304
|
+
it,
|
|
305
|
+
k + ht,
|
|
305
306
|
"$"
|
|
306
307
|
].join("|") + ")",
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
308
|
+
k + "?" + ht + "+" + _t,
|
|
309
|
+
k + "+" + vt,
|
|
310
|
+
Ct,
|
|
311
|
+
St,
|
|
312
|
+
ot,
|
|
313
|
+
Tt
|
|
313
314
|
].join("|"), "g");
|
|
314
|
-
function
|
|
315
|
-
return e.match(
|
|
315
|
+
function Dt(e) {
|
|
316
|
+
return e.match(Et) || [];
|
|
316
317
|
}
|
|
317
318
|
//#endregion
|
|
318
319
|
//#region ../../node_modules/lodash-es/words.js
|
|
319
|
-
function
|
|
320
|
-
return e = ae(e), t = n ? void 0 : t, t === void 0 ?
|
|
320
|
+
function Ot(e, t, n) {
|
|
321
|
+
return e = ae(e), t = n ? void 0 : t, t === void 0 ? Ge(e) ? Dt(e) : Ue(e) : e.match(t) || [];
|
|
321
322
|
}
|
|
322
323
|
//#endregion
|
|
323
324
|
//#region ../../node_modules/lodash-es/_createCompounder.js
|
|
324
|
-
var
|
|
325
|
-
function
|
|
325
|
+
var kt = RegExp("['’]", "g");
|
|
326
|
+
function At(e) {
|
|
326
327
|
return function(t) {
|
|
327
|
-
return
|
|
328
|
+
return Me(Ot(Ve(t).replace(kt, "")), e, "");
|
|
328
329
|
};
|
|
329
330
|
}
|
|
330
331
|
//#endregion
|
|
331
332
|
//#region ../../node_modules/lodash-es/camelCase.js
|
|
332
|
-
var
|
|
333
|
+
var jt = At(function(e, t, n) {
|
|
333
334
|
return t = t.toLowerCase(), e + (n ? oe(t) : t);
|
|
334
|
-
}),
|
|
335
|
+
}), Mt = /* @__PURE__ */ function(e) {
|
|
335
336
|
return e.Current = "current", e.Latest = "latest", e;
|
|
336
|
-
}({}),
|
|
337
|
+
}({}), Nt = /* @__PURE__ */ function(e) {
|
|
337
338
|
return e.Primary = "primary", e.Secondary = "secondary", e;
|
|
338
|
-
}({}),
|
|
339
|
+
}({}), A = /* @__PURE__ */ function(e) {
|
|
339
340
|
return e.IconAndLabel = "icon-and-label", e.IconOnly = "icon-only", e.LabelOnly = "label-only", e;
|
|
340
|
-
}({}),
|
|
341
|
+
}({}), j = /* @__PURE__ */ function(e) {
|
|
341
342
|
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;
|
|
342
|
-
}({}),
|
|
343
|
+
}({}), Pt = /* @__PURE__ */ function(e) {
|
|
343
344
|
return e.AdditionalAIAssistant = "AdditionalAIAssistant", e.AdditionalBatchEdit = "AdditionalBatchEdit", e.AdditionalFilter = "AdditionalFilter", e.None = "None", e;
|
|
344
|
-
}({}),
|
|
345
|
+
}({}), Ft = /* @__PURE__ */ n(((e, t) => {
|
|
345
346
|
function n(e, t, n, r) {
|
|
346
347
|
for (var i = e.length, a = n + (r ? 1 : -1); r ? a-- : ++a < i;) if (t(e[a], a, e)) return a;
|
|
347
348
|
return -1;
|
|
348
349
|
}
|
|
349
350
|
t.exports = n;
|
|
350
|
-
})),
|
|
351
|
+
})), It = /* @__PURE__ */ n(((e, t) => {
|
|
351
352
|
function n(e) {
|
|
352
353
|
return e !== e;
|
|
353
354
|
}
|
|
354
355
|
t.exports = n;
|
|
355
|
-
})),
|
|
356
|
+
})), Lt = /* @__PURE__ */ n(((e, t) => {
|
|
356
357
|
function n(e, t, n) {
|
|
357
358
|
for (var r = n - 1, i = e.length; ++r < i;) if (e[r] === t) return r;
|
|
358
359
|
return -1;
|
|
359
360
|
}
|
|
360
361
|
t.exports = n;
|
|
361
|
-
})),
|
|
362
|
-
var n =
|
|
362
|
+
})), Rt = /* @__PURE__ */ n(((e, t) => {
|
|
363
|
+
var n = Ft(), r = It(), i = Lt();
|
|
363
364
|
function a(e, t, a) {
|
|
364
365
|
return t === t ? i(e, t, a) : n(e, r, a);
|
|
365
366
|
}
|
|
366
367
|
t.exports = a;
|
|
367
|
-
})),
|
|
368
|
-
var n =
|
|
368
|
+
})), zt = /* @__PURE__ */ n(((e, t) => {
|
|
369
|
+
var n = Rt();
|
|
369
370
|
function r(e, t) {
|
|
370
371
|
return !!(e != null && e.length) && n(e, t, 0) > -1;
|
|
371
372
|
}
|
|
372
373
|
t.exports = r;
|
|
373
|
-
})),
|
|
374
|
+
})), Bt = /* @__PURE__ */ n(((e, t) => {
|
|
374
375
|
function n(e, t, n) {
|
|
375
376
|
for (var r = -1, i = e == null ? 0 : e.length; ++r < i;) if (n(t, e[r])) return !0;
|
|
376
377
|
return !1;
|
|
377
378
|
}
|
|
378
379
|
t.exports = n;
|
|
379
|
-
})),
|
|
380
|
+
})), Vt = /* @__PURE__ */ n(((e, t) => {
|
|
380
381
|
function n() {}
|
|
381
382
|
t.exports = n;
|
|
382
|
-
})),
|
|
383
|
-
var n = le(), r =
|
|
383
|
+
})), Ht = /* @__PURE__ */ n(((e, t) => {
|
|
384
|
+
var n = le(), r = Vt(), i = ue();
|
|
384
385
|
t.exports = n && 1 / i(new n([, -0]))[1] == 1 / 0 ? function(e) {
|
|
385
386
|
return new n(e);
|
|
386
387
|
} : r;
|
|
387
|
-
})),
|
|
388
|
-
var n = se(), r =
|
|
388
|
+
})), Ut = /* @__PURE__ */ n(((e, t) => {
|
|
389
|
+
var n = se(), r = zt(), i = Bt(), a = ce(), o = Ht(), s = ue(), c = 200;
|
|
389
390
|
function l(e, t, l) {
|
|
390
391
|
var u = -1, d = r, f = e.length, p = !0, m = [], h = m;
|
|
391
392
|
if (l) p = !1, d = i;
|
|
@@ -404,25 +405,25 @@ var wt = Ct(function(e, t, n) {
|
|
|
404
405
|
return m;
|
|
405
406
|
}
|
|
406
407
|
t.exports = l;
|
|
407
|
-
})),
|
|
408
|
-
var n =
|
|
408
|
+
})), Wt = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
|
|
409
|
+
var n = Ut();
|
|
409
410
|
function r(e) {
|
|
410
411
|
return e && e.length ? n(e) : [];
|
|
411
412
|
}
|
|
412
413
|
t.exports = r;
|
|
413
|
-
})))(), 1),
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
],
|
|
418
|
-
async function
|
|
414
|
+
})))(), 1), Gt = [
|
|
415
|
+
ve.All,
|
|
416
|
+
ve.CanReadAndWrite,
|
|
417
|
+
ve.CanWrite
|
|
418
|
+
], Kt = "Block", qt = (e) => e.startsWith(Kt) ? e : Kt + e, Jt = (e) => e.startsWith(Kt) ? e.substring(5) : e;
|
|
419
|
+
async function Yt({ blockType: e, description: t, name: n, settings: r }) {
|
|
419
420
|
try {
|
|
420
421
|
return (await x.request({
|
|
421
422
|
data: {
|
|
422
423
|
BlockDescription: t,
|
|
423
424
|
BlockName: n,
|
|
424
425
|
BlockSettings: JSON.stringify(r),
|
|
425
|
-
BlockType:
|
|
426
|
+
BlockType: qt(e)
|
|
426
427
|
},
|
|
427
428
|
method: "POST",
|
|
428
429
|
url: C.BLOCK_TEMPLATE
|
|
@@ -431,10 +432,10 @@ async function Ht({ blockType: e, description: t, name: n, settings: r }) {
|
|
|
431
432
|
return null;
|
|
432
433
|
}
|
|
433
434
|
}
|
|
434
|
-
async function
|
|
435
|
+
async function Xt({ ids: e }) {
|
|
435
436
|
try {
|
|
436
437
|
return (await x.request({
|
|
437
|
-
data: { BlockClientIds: (0,
|
|
438
|
+
data: { BlockClientIds: (0, Wt.default)(e) },
|
|
438
439
|
method: "POST",
|
|
439
440
|
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
440
441
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
@@ -461,7 +462,7 @@ async function Ut({ ids: e }) {
|
|
|
461
462
|
return {};
|
|
462
463
|
}
|
|
463
464
|
}
|
|
464
|
-
async function
|
|
465
|
+
async function Zt({ description: e, id: t, name: n, settings: r }) {
|
|
465
466
|
try {
|
|
466
467
|
return (await x.request({
|
|
467
468
|
data: {
|
|
@@ -477,7 +478,7 @@ async function Wt({ description: e, id: t, name: n, settings: r }) {
|
|
|
477
478
|
return null;
|
|
478
479
|
}
|
|
479
480
|
}
|
|
480
|
-
async function
|
|
481
|
+
async function Qt({ id: e }) {
|
|
481
482
|
try {
|
|
482
483
|
return (await x.request({
|
|
483
484
|
method: "GET",
|
|
@@ -492,11 +493,11 @@ async function Gt({ id: e }) {
|
|
|
492
493
|
return "";
|
|
493
494
|
}
|
|
494
495
|
}
|
|
495
|
-
async function
|
|
496
|
+
async function $t(e) {
|
|
496
497
|
try {
|
|
497
498
|
return (await x.request({
|
|
498
499
|
method: "GET",
|
|
499
|
-
params: { BlockType: e ?
|
|
500
|
+
params: { BlockType: e ? qt(e.type) : void 0 },
|
|
500
501
|
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
501
502
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
502
503
|
return e.blockTemplates?.map((e) => ({
|
|
@@ -504,7 +505,7 @@ async function Kt(e) {
|
|
|
504
505
|
id: e.blockTemplateClientID,
|
|
505
506
|
name: e.blockName,
|
|
506
507
|
representative: e.representative,
|
|
507
|
-
type:
|
|
508
|
+
type: Jt(e.blockType)
|
|
508
509
|
})) ?? [];
|
|
509
510
|
}],
|
|
510
511
|
url: C.GET_BLOCK_TEMPLATES
|
|
@@ -513,7 +514,7 @@ async function Kt(e) {
|
|
|
513
514
|
return [];
|
|
514
515
|
}
|
|
515
516
|
}
|
|
516
|
-
async function
|
|
517
|
+
async function en({ excludeBlocksWithNoTemplates: e }) {
|
|
517
518
|
try {
|
|
518
519
|
return (await x.request({
|
|
519
520
|
method: "GET",
|
|
@@ -524,7 +525,7 @@ async function qt({ excludeBlocksWithNoTemplates: e }) {
|
|
|
524
525
|
description: e.blockTypeDescription,
|
|
525
526
|
displayName: e.blockTypeName,
|
|
526
527
|
id: e.blockType,
|
|
527
|
-
name:
|
|
528
|
+
name: Jt(e.blockType),
|
|
528
529
|
representative: e.representative
|
|
529
530
|
})).filter((e) => e.id !== b.Column && Object.values(b).includes(e.id));
|
|
530
531
|
}],
|
|
@@ -534,25 +535,25 @@ async function qt({ excludeBlocksWithNoTemplates: e }) {
|
|
|
534
535
|
return [];
|
|
535
536
|
}
|
|
536
537
|
}
|
|
537
|
-
async function
|
|
538
|
+
async function tn({ id: e }) {
|
|
538
539
|
try {
|
|
539
540
|
if (e) {
|
|
540
|
-
let t = await
|
|
541
|
-
return t &&
|
|
541
|
+
let t = await Qt({ id: e });
|
|
542
|
+
return t && Gt.some((e) => t.includes(e)) ? be.Template : be.Content;
|
|
542
543
|
}
|
|
543
544
|
return (await x.request({
|
|
544
545
|
method: "GET",
|
|
545
546
|
url: C.GET_CAN_CREATE_BLOCK_TEMPLATE
|
|
546
|
-
})).data.canCreate ?
|
|
547
|
+
})).data.canCreate ? be.Template : be.Content;
|
|
547
548
|
} catch {
|
|
548
|
-
return
|
|
549
|
+
return be.Content;
|
|
549
550
|
}
|
|
550
551
|
}
|
|
551
|
-
async function
|
|
552
|
+
async function nn({ type: e }) {
|
|
552
553
|
try {
|
|
553
554
|
return (await x.request({
|
|
554
555
|
method: "GET",
|
|
555
|
-
params: { BlockType:
|
|
556
|
+
params: { BlockType: qt(e) },
|
|
556
557
|
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (t) => {
|
|
557
558
|
if (!t || typeof t != "object") throw Error("Invalid response format");
|
|
558
559
|
return t.properties[e] ?? [];
|
|
@@ -563,7 +564,7 @@ async function Yt({ type: e }) {
|
|
|
563
564
|
return [];
|
|
564
565
|
}
|
|
565
566
|
}
|
|
566
|
-
async function
|
|
567
|
+
async function rn() {
|
|
567
568
|
try {
|
|
568
569
|
return (await x.request({
|
|
569
570
|
method: "GET",
|
|
@@ -577,7 +578,7 @@ async function Xt() {
|
|
|
577
578
|
return [];
|
|
578
579
|
}
|
|
579
580
|
}
|
|
580
|
-
async function
|
|
581
|
+
async function an(e) {
|
|
581
582
|
try {
|
|
582
583
|
return (await x.request({
|
|
583
584
|
method: "GET",
|
|
@@ -598,7 +599,7 @@ async function Zt(e) {
|
|
|
598
599
|
};
|
|
599
600
|
}
|
|
600
601
|
}
|
|
601
|
-
async function
|
|
602
|
+
async function on(e) {
|
|
602
603
|
try {
|
|
603
604
|
return (await x.request({
|
|
604
605
|
method: "GET",
|
|
@@ -613,7 +614,7 @@ async function Qt(e) {
|
|
|
613
614
|
return [];
|
|
614
615
|
}
|
|
615
616
|
}
|
|
616
|
-
async function
|
|
617
|
+
async function sn(e) {
|
|
617
618
|
try {
|
|
618
619
|
return (await x.request({
|
|
619
620
|
method: "GET",
|
|
@@ -631,23 +632,23 @@ async function $t(e) {
|
|
|
631
632
|
return null;
|
|
632
633
|
}
|
|
633
634
|
}
|
|
634
|
-
var
|
|
635
|
-
CreateRecord:
|
|
636
|
-
ExecuteWorkflow:
|
|
637
|
-
OpenForm:
|
|
638
|
-
OpenLink:
|
|
639
|
-
OpenPage:
|
|
640
|
-
OpenSpace:
|
|
641
|
-
},
|
|
642
|
-
IconAndLabel:
|
|
643
|
-
IconOnly:
|
|
644
|
-
LabelOnly:
|
|
635
|
+
var cn = {
|
|
636
|
+
CreateRecord: j.CreateRecord,
|
|
637
|
+
ExecuteWorkflow: j.ExecuteWorkflow,
|
|
638
|
+
OpenForm: j.OpenForm,
|
|
639
|
+
OpenLink: j.OpenLink,
|
|
640
|
+
OpenPage: j.OpenPage,
|
|
641
|
+
OpenSpace: j.OpenSpace
|
|
642
|
+
}, ln = {
|
|
643
|
+
IconAndLabel: A.IconAndLabel,
|
|
644
|
+
IconOnly: A.IconOnly,
|
|
645
|
+
LabelOnly: A.LabelOnly
|
|
645
646
|
};
|
|
646
|
-
function
|
|
647
|
+
function un(e) {
|
|
647
648
|
return e ? {
|
|
648
649
|
accessLevel: e.levelOfAccess || "",
|
|
649
|
-
action:
|
|
650
|
-
appearance:
|
|
650
|
+
action: cn[e.actionOnClick] ?? j.OpenForm,
|
|
651
|
+
appearance: ln[e.buttonAppearanceType] ?? A.LabelOnly,
|
|
651
652
|
completionMessage: e.completionMessage || "",
|
|
652
653
|
formId: e.formToOpen || "",
|
|
653
654
|
icon: e.icon || "",
|
|
@@ -661,7 +662,7 @@ function nn(e) {
|
|
|
661
662
|
workflowId: e.buttonActionID || ""
|
|
662
663
|
} : {};
|
|
663
664
|
}
|
|
664
|
-
async function
|
|
665
|
+
async function dn() {
|
|
665
666
|
try {
|
|
666
667
|
return (await x.request({
|
|
667
668
|
method: "GET",
|
|
@@ -675,7 +676,7 @@ async function rn() {
|
|
|
675
676
|
return [];
|
|
676
677
|
}
|
|
677
678
|
}
|
|
678
|
-
async function
|
|
679
|
+
async function fn(e) {
|
|
679
680
|
try {
|
|
680
681
|
return (await x.request({
|
|
681
682
|
method: "GET",
|
|
@@ -690,7 +691,7 @@ async function an(e) {
|
|
|
690
691
|
return [];
|
|
691
692
|
}
|
|
692
693
|
}
|
|
693
|
-
async function
|
|
694
|
+
async function pn() {
|
|
694
695
|
try {
|
|
695
696
|
return (await x.request({
|
|
696
697
|
method: "GET",
|
|
@@ -704,7 +705,7 @@ async function on() {
|
|
|
704
705
|
return [];
|
|
705
706
|
}
|
|
706
707
|
}
|
|
707
|
-
async function
|
|
708
|
+
async function mn() {
|
|
708
709
|
try {
|
|
709
710
|
return (await x.request({
|
|
710
711
|
method: "GET",
|
|
@@ -718,7 +719,7 @@ async function sn() {
|
|
|
718
719
|
return [];
|
|
719
720
|
}
|
|
720
721
|
}
|
|
721
|
-
async function
|
|
722
|
+
async function hn() {
|
|
722
723
|
try {
|
|
723
724
|
return (await x.request({
|
|
724
725
|
method: "GET",
|
|
@@ -732,7 +733,7 @@ async function cn() {
|
|
|
732
733
|
return [];
|
|
733
734
|
}
|
|
734
735
|
}
|
|
735
|
-
async function
|
|
736
|
+
async function gn() {
|
|
736
737
|
try {
|
|
737
738
|
return (await x.request({
|
|
738
739
|
method: "GET",
|
|
@@ -754,7 +755,7 @@ async function ln() {
|
|
|
754
755
|
}
|
|
755
756
|
//#endregion
|
|
756
757
|
//#region ../../packages/services/src/api/metadata/metadata.ts
|
|
757
|
-
async function
|
|
758
|
+
async function M() {
|
|
758
759
|
try {
|
|
759
760
|
return (await x.request({
|
|
760
761
|
method: "GET",
|
|
@@ -775,7 +776,7 @@ async function N() {
|
|
|
775
776
|
return [];
|
|
776
777
|
}
|
|
777
778
|
}
|
|
778
|
-
async function
|
|
779
|
+
async function _n() {
|
|
779
780
|
try {
|
|
780
781
|
return (await x.request({
|
|
781
782
|
method: "GET",
|
|
@@ -786,10 +787,10 @@ async function un() {
|
|
|
786
787
|
return [];
|
|
787
788
|
}
|
|
788
789
|
}
|
|
789
|
-
function
|
|
790
|
+
function vn(e, t) {
|
|
790
791
|
return e === "DO_DOCUMENTS.*" ? `DO_DOCUMENTS.${t}.*` : e.endsWith("*") ? e : `DO_DOCUMENTS.${t}.${e}`;
|
|
791
792
|
}
|
|
792
|
-
async function
|
|
793
|
+
async function yn() {
|
|
793
794
|
try {
|
|
794
795
|
return (await x.request({
|
|
795
796
|
method: "GET",
|
|
@@ -804,7 +805,7 @@ async function fn() {
|
|
|
804
805
|
typeDbBOName: t.typeDbBOName
|
|
805
806
|
}, e.flat.push({
|
|
806
807
|
...t,
|
|
807
|
-
subTypeValue:
|
|
808
|
+
subTypeValue: vn(t.subTypeValue, t.typeDbBOName)
|
|
808
809
|
}), e;
|
|
809
810
|
}, {
|
|
810
811
|
flat: [],
|
|
@@ -819,7 +820,7 @@ async function fn() {
|
|
|
819
820
|
};
|
|
820
821
|
}
|
|
821
822
|
}
|
|
822
|
-
async function
|
|
823
|
+
async function bn() {
|
|
823
824
|
try {
|
|
824
825
|
return (await x.request({
|
|
825
826
|
method: "GET",
|
|
@@ -831,7 +832,7 @@ async function pn() {
|
|
|
831
832
|
return [];
|
|
832
833
|
}
|
|
833
834
|
}
|
|
834
|
-
async function
|
|
835
|
+
async function xn() {
|
|
835
836
|
try {
|
|
836
837
|
return (await x.request({
|
|
837
838
|
method: "GET",
|
|
@@ -847,7 +848,7 @@ async function mn() {
|
|
|
847
848
|
return [];
|
|
848
849
|
}
|
|
849
850
|
}
|
|
850
|
-
async function
|
|
851
|
+
async function Sn() {
|
|
851
852
|
try {
|
|
852
853
|
return (await x.request({
|
|
853
854
|
method: "GET",
|
|
@@ -861,15 +862,15 @@ async function hn() {
|
|
|
861
862
|
}
|
|
862
863
|
//#endregion
|
|
863
864
|
//#region ../../packages/types/src/gallery.ts
|
|
864
|
-
var
|
|
865
|
+
var N = /* @__PURE__ */ function(e) {
|
|
865
866
|
return e.Bento = "bento", e.Carousel = "carousel", e.Grid = "grid", e.Ribbon = "ribbon", e;
|
|
866
|
-
}({}),
|
|
867
|
+
}({}), P = /* @__PURE__ */ function(e) {
|
|
867
868
|
return e.Expand = "expand", e.Split = "split", e;
|
|
868
|
-
}({}),
|
|
869
|
+
}({}), F = /* @__PURE__ */ function(e) {
|
|
869
870
|
return e.Api = "api", e.Manual = "manual", e;
|
|
870
|
-
}({}),
|
|
871
|
+
}({}), I = /* @__PURE__ */ function(e) {
|
|
871
872
|
return e.Automatic = "automatic", e.Custom = "custom", e;
|
|
872
|
-
}({}),
|
|
873
|
+
}({}), L = {
|
|
873
874
|
mask: "num",
|
|
874
875
|
maskBlocks: { num: {
|
|
875
876
|
commit: (e, t) => {
|
|
@@ -880,14 +881,14 @@ var P = /* @__PURE__ */ function(e) {
|
|
|
880
881
|
scale: 0,
|
|
881
882
|
thousandsSeparator: ""
|
|
882
883
|
} }
|
|
883
|
-
},
|
|
884
|
-
...
|
|
884
|
+
}, R = {
|
|
885
|
+
...L,
|
|
885
886
|
mask: "numpx"
|
|
886
|
-
},
|
|
887
|
+
}, Cn = {
|
|
887
888
|
"--align-items": {
|
|
888
889
|
controlType: "button-group",
|
|
889
890
|
id: "--align-items",
|
|
890
|
-
...
|
|
891
|
+
...R,
|
|
891
892
|
name: "align-items",
|
|
892
893
|
options: [
|
|
893
894
|
{
|
|
@@ -953,7 +954,7 @@ var P = /* @__PURE__ */ function(e) {
|
|
|
953
954
|
"--border-radius": {
|
|
954
955
|
controlType: "input",
|
|
955
956
|
id: "--border-radius",
|
|
956
|
-
...
|
|
957
|
+
...R,
|
|
957
958
|
name: "border-radius",
|
|
958
959
|
type: "style"
|
|
959
960
|
},
|
|
@@ -985,14 +986,14 @@ var P = /* @__PURE__ */ function(e) {
|
|
|
985
986
|
"--dash-width": {
|
|
986
987
|
controlType: "input",
|
|
987
988
|
id: "--dash-width",
|
|
988
|
-
...
|
|
989
|
+
...R,
|
|
989
990
|
name: "dash-width",
|
|
990
991
|
type: "style"
|
|
991
992
|
},
|
|
992
993
|
"--first-line-indent": {
|
|
993
994
|
controlType: "input",
|
|
994
995
|
id: "--first-line-indent",
|
|
995
|
-
...
|
|
996
|
+
...R,
|
|
996
997
|
name: "first-line-indent",
|
|
997
998
|
type: "style"
|
|
998
999
|
},
|
|
@@ -1012,9 +1013,9 @@ var P = /* @__PURE__ */ function(e) {
|
|
|
1012
1013
|
"--font-size": {
|
|
1013
1014
|
controlType: "input",
|
|
1014
1015
|
id: "--font-size",
|
|
1015
|
-
...
|
|
1016
|
+
...R,
|
|
1016
1017
|
maskBlocks: { num: {
|
|
1017
|
-
...
|
|
1018
|
+
...R.maskBlocks.num,
|
|
1018
1019
|
min: 1
|
|
1019
1020
|
} },
|
|
1020
1021
|
name: "font-size",
|
|
@@ -1075,14 +1076,14 @@ var P = /* @__PURE__ */ function(e) {
|
|
|
1075
1076
|
"--height": {
|
|
1076
1077
|
controlType: "input",
|
|
1077
1078
|
id: "--height",
|
|
1078
|
-
...
|
|
1079
|
+
...R,
|
|
1079
1080
|
name: "height",
|
|
1080
1081
|
type: "style"
|
|
1081
1082
|
},
|
|
1082
1083
|
"--items-gap": {
|
|
1083
1084
|
controlType: "input",
|
|
1084
1085
|
id: "--items-gap",
|
|
1085
|
-
...
|
|
1086
|
+
...R,
|
|
1086
1087
|
name: "items-gap",
|
|
1087
1088
|
type: "style"
|
|
1088
1089
|
},
|
|
@@ -1109,7 +1110,7 @@ var P = /* @__PURE__ */ function(e) {
|
|
|
1109
1110
|
"--letter-spacing": {
|
|
1110
1111
|
controlType: "input",
|
|
1111
1112
|
id: "--letter-spacing",
|
|
1112
|
-
...
|
|
1113
|
+
...R,
|
|
1113
1114
|
name: "letter-spacing",
|
|
1114
1115
|
type: "style"
|
|
1115
1116
|
},
|
|
@@ -1167,28 +1168,28 @@ var P = /* @__PURE__ */ function(e) {
|
|
|
1167
1168
|
"--max-height": {
|
|
1168
1169
|
controlType: "input",
|
|
1169
1170
|
id: "--max-height",
|
|
1170
|
-
...
|
|
1171
|
+
...R,
|
|
1171
1172
|
name: "max-height",
|
|
1172
1173
|
type: "style"
|
|
1173
1174
|
},
|
|
1174
1175
|
"--max-width": {
|
|
1175
1176
|
controlType: "input",
|
|
1176
1177
|
id: "--max-width",
|
|
1177
|
-
...
|
|
1178
|
+
...R,
|
|
1178
1179
|
name: "max-width",
|
|
1179
1180
|
type: "style"
|
|
1180
1181
|
},
|
|
1181
1182
|
"--min-height": {
|
|
1182
1183
|
controlType: "input",
|
|
1183
1184
|
id: "--min-height",
|
|
1184
|
-
...
|
|
1185
|
+
...R,
|
|
1185
1186
|
name: "min-height",
|
|
1186
1187
|
type: "style"
|
|
1187
1188
|
},
|
|
1188
1189
|
"--min-width": {
|
|
1189
1190
|
controlType: "input",
|
|
1190
1191
|
id: "--min-width",
|
|
1191
|
-
...
|
|
1192
|
+
...R,
|
|
1192
1193
|
name: "min-width",
|
|
1193
1194
|
type: "style"
|
|
1194
1195
|
},
|
|
@@ -1208,14 +1209,14 @@ var P = /* @__PURE__ */ function(e) {
|
|
|
1208
1209
|
"--paragraph-spacing": {
|
|
1209
1210
|
controlType: "input",
|
|
1210
1211
|
id: "--paragraph-spacing",
|
|
1211
|
-
...
|
|
1212
|
+
...R,
|
|
1212
1213
|
name: "paragraph-spacing",
|
|
1213
1214
|
type: "style"
|
|
1214
1215
|
},
|
|
1215
1216
|
"--scroll-hint": {
|
|
1216
1217
|
controlType: "input",
|
|
1217
1218
|
id: "--scroll-hint",
|
|
1218
|
-
...
|
|
1219
|
+
...R,
|
|
1219
1220
|
name: "scroll-hint",
|
|
1220
1221
|
type: "style"
|
|
1221
1222
|
},
|
|
@@ -1263,25 +1264,25 @@ var P = /* @__PURE__ */ function(e) {
|
|
|
1263
1264
|
"--width": {
|
|
1264
1265
|
controlType: "input",
|
|
1265
1266
|
id: "--width",
|
|
1266
|
-
...
|
|
1267
|
+
...R,
|
|
1267
1268
|
name: "width",
|
|
1268
1269
|
type: "style"
|
|
1269
1270
|
}
|
|
1270
|
-
},
|
|
1271
|
+
}, wn = [
|
|
1271
1272
|
b.Header,
|
|
1272
1273
|
b.RichText,
|
|
1273
1274
|
b.Text
|
|
1274
|
-
],
|
|
1275
|
-
...
|
|
1275
|
+
], Tn = [...wn], En = ["id"], Dn = [
|
|
1276
|
+
...wn,
|
|
1276
1277
|
b.ColumnGroup,
|
|
1277
1278
|
b.Divider,
|
|
1278
1279
|
b.Button,
|
|
1279
1280
|
b.SearchBox
|
|
1280
|
-
],
|
|
1281
|
+
], On = { [b.FontKitAdvanced]: b.FontKit }, kn = {
|
|
1281
1282
|
divider: "show-dividers",
|
|
1282
1283
|
download: "show-download-button",
|
|
1283
1284
|
image: "show-title-image"
|
|
1284
|
-
},
|
|
1285
|
+
}, An = "font-kit-remove-element", jn = /* @__PURE__ */ new Set([
|
|
1285
1286
|
b.Audio,
|
|
1286
1287
|
b.Carousel,
|
|
1287
1288
|
b.DamView,
|
|
@@ -1289,13 +1290,13 @@ var P = /* @__PURE__ */ function(e) {
|
|
|
1289
1290
|
b.Gallery,
|
|
1290
1291
|
b.Image,
|
|
1291
1292
|
b.Video
|
|
1292
|
-
]),
|
|
1293
|
+
]), Mn = /* @__PURE__ */ new Set([
|
|
1293
1294
|
b.Accordion,
|
|
1294
1295
|
b.ColorSwatches,
|
|
1295
1296
|
b.TabGroup,
|
|
1296
1297
|
b.Timeline
|
|
1297
|
-
]),
|
|
1298
|
-
async function
|
|
1298
|
+
]), Nn = 10;
|
|
1299
|
+
async function Pn() {
|
|
1299
1300
|
try {
|
|
1300
1301
|
return (await x.request({
|
|
1301
1302
|
method: "GET",
|
|
@@ -1304,52 +1305,52 @@ async function Dn() {
|
|
|
1304
1305
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
1305
1306
|
return e.roles;
|
|
1306
1307
|
}],
|
|
1307
|
-
url:
|
|
1308
|
+
url: Oe.GET_USER_ROLE
|
|
1308
1309
|
})).data;
|
|
1309
1310
|
} catch {
|
|
1310
1311
|
return [];
|
|
1311
1312
|
}
|
|
1312
1313
|
}
|
|
1313
|
-
async function
|
|
1314
|
+
async function Fn() {
|
|
1314
1315
|
try {
|
|
1315
1316
|
return (await x.request({
|
|
1316
1317
|
method: "GET",
|
|
1317
1318
|
responseType: "json",
|
|
1318
|
-
url:
|
|
1319
|
+
url: Oe.GET_SPACE_FONT_FAMILY
|
|
1319
1320
|
})).data;
|
|
1320
1321
|
} catch {
|
|
1321
1322
|
return;
|
|
1322
1323
|
}
|
|
1323
1324
|
}
|
|
1324
|
-
async function
|
|
1325
|
+
async function z() {
|
|
1325
1326
|
try {
|
|
1326
1327
|
return (await x.request({
|
|
1327
1328
|
method: "GET",
|
|
1328
1329
|
responseType: "json",
|
|
1329
1330
|
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => e.fontFamilies],
|
|
1330
|
-
url:
|
|
1331
|
+
url: Oe.GET_FONT_FAMILIES
|
|
1331
1332
|
})).data;
|
|
1332
1333
|
} catch {
|
|
1333
1334
|
return [];
|
|
1334
1335
|
}
|
|
1335
1336
|
}
|
|
1336
|
-
async function
|
|
1337
|
+
async function In({ searchTerm: e = "" }) {
|
|
1337
1338
|
try {
|
|
1338
1339
|
return (await x.request({
|
|
1339
1340
|
method: "GET",
|
|
1340
1341
|
params: { SearchTerm: e || void 0 },
|
|
1341
1342
|
responseType: "json",
|
|
1342
1343
|
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => e.teamspaces],
|
|
1343
|
-
url:
|
|
1344
|
+
url: Oe.GET_SPACE_LIST
|
|
1344
1345
|
})).data;
|
|
1345
1346
|
} catch {
|
|
1346
1347
|
return [];
|
|
1347
1348
|
}
|
|
1348
1349
|
}
|
|
1349
|
-
async function
|
|
1350
|
+
async function Ln({ searchTerm: e = "" }) {
|
|
1350
1351
|
try {
|
|
1351
1352
|
return {
|
|
1352
|
-
data: (await
|
|
1353
|
+
data: (await In({ searchTerm: e })).map((e) => ({
|
|
1353
1354
|
label: e.name,
|
|
1354
1355
|
value: de(e.absoluteURL) ?? ""
|
|
1355
1356
|
})),
|
|
@@ -1362,7 +1363,7 @@ async function An({ searchTerm: e = "" }) {
|
|
|
1362
1363
|
};
|
|
1363
1364
|
}
|
|
1364
1365
|
}
|
|
1365
|
-
async function
|
|
1366
|
+
async function Rn({ forcedPageId: e = "", limit: t = Nn, parentId: n = "", searchTerm: r = "", seeThru: i, start: a }) {
|
|
1366
1367
|
try {
|
|
1367
1368
|
return (await x.request({
|
|
1368
1369
|
method: "GET",
|
|
@@ -1389,7 +1390,7 @@ async function jn({ forcedPageId: e = "", limit: t = En, parentId: n = "", searc
|
|
|
1389
1390
|
hasMore: e.hasMore
|
|
1390
1391
|
};
|
|
1391
1392
|
}],
|
|
1392
|
-
url:
|
|
1393
|
+
url: Oe.GET_PAGES_AND_LINKS
|
|
1393
1394
|
})).data;
|
|
1394
1395
|
} catch {
|
|
1395
1396
|
return {
|
|
@@ -1398,8 +1399,8 @@ async function jn({ forcedPageId: e = "", limit: t = En, parentId: n = "", searc
|
|
|
1398
1399
|
};
|
|
1399
1400
|
}
|
|
1400
1401
|
}
|
|
1401
|
-
async function
|
|
1402
|
-
let { data: e } = await
|
|
1402
|
+
async function zn() {
|
|
1403
|
+
let { data: e } = await Rn({
|
|
1403
1404
|
limit: null,
|
|
1404
1405
|
parentId: "",
|
|
1405
1406
|
searchTerm: "",
|
|
@@ -1409,17 +1410,103 @@ async function Mn() {
|
|
|
1409
1410
|
return e;
|
|
1410
1411
|
}
|
|
1411
1412
|
//#endregion
|
|
1413
|
+
//#region ../../packages/organisms/src/content-builder/content-builder.utils.ts
|
|
1414
|
+
function Bn(e, t, n) {
|
|
1415
|
+
return e.value === "space-default" ? n ? we(t?.value ?? n) : _e : we(t?.value ?? e.typeface);
|
|
1416
|
+
}
|
|
1417
|
+
function Vn(e, t) {
|
|
1418
|
+
return e.find((e) => e.typeface === t || e.value === t || Ce(e) === t || e.families.some((e) => e.value === t));
|
|
1419
|
+
}
|
|
1420
|
+
function Hn(e, t, n) {
|
|
1421
|
+
return e ? e.families.find((e) => String(e.fontStyle ?? "") === t && String(e.fontWeight ?? "") === n) || e.families.find((e) => Se(e) === t || e.value === t) : void 0;
|
|
1422
|
+
}
|
|
1423
|
+
function Un(e, t) {
|
|
1424
|
+
return {
|
|
1425
|
+
family: Te(String(e[t.familyKey] ?? "")),
|
|
1426
|
+
style: String(e[t.styleKey] ?? ""),
|
|
1427
|
+
weight: String(t.weightKey ? e[t.weightKey] ?? "" : "")
|
|
1428
|
+
};
|
|
1429
|
+
}
|
|
1430
|
+
var Wn = /^(\/(?![/\\])|\.{1,2}\/|[#?])\S*$/;
|
|
1431
|
+
function Gn(e) {
|
|
1432
|
+
return Wn.test(e) || fe(e);
|
|
1433
|
+
}
|
|
1434
|
+
function Kn(e) {
|
|
1435
|
+
return `cls-${e}`;
|
|
1436
|
+
}
|
|
1437
|
+
function qn(e) {
|
|
1438
|
+
return e.flatMap((e) => e.children?.length ? [e, ...qn(e.children)] : [e]);
|
|
1439
|
+
}
|
|
1440
|
+
function Jn(e, t) {
|
|
1441
|
+
return qn(e).filter((e) => e.id && e.name && t.includes(e.name)).map((e) => e.id);
|
|
1442
|
+
}
|
|
1443
|
+
function Yn(e) {
|
|
1444
|
+
return e === b.Carousel ? Dn : e === b.FontKitAdvanced ? [b.Text] : [];
|
|
1445
|
+
}
|
|
1446
|
+
function Xn(e, t) {
|
|
1447
|
+
if (!t) return e;
|
|
1448
|
+
let n = e.find((e) => e.value !== "space-default" && (e.typeface === t || e.value === t || e.families.some((e) => e.value === t)));
|
|
1449
|
+
return !n || n.families.length === 0 ? e : e.map((e) => e.value === "space-default" ? {
|
|
1450
|
+
...e,
|
|
1451
|
+
families: n.families
|
|
1452
|
+
} : e);
|
|
1453
|
+
}
|
|
1454
|
+
function Zn({ blockAttributes: e, keys: t, typefaces: n }) {
|
|
1455
|
+
let r = Un(e, t), i = n.some((e) => e.value === "inherited-font") ? ye : _e, a = Vn(n, r.family) ?? (r.family ? void 0 : n.find((e) => e.value === i)), o = Hn(a, r.style, r.weight);
|
|
1456
|
+
return {
|
|
1457
|
+
familyValue: a ? Ce(a) : r.family,
|
|
1458
|
+
styleValue: a && o ? Se(o) : r.style
|
|
1459
|
+
};
|
|
1460
|
+
}
|
|
1461
|
+
function Qn({ clearDefaultFamily: e = !1, familyValue: t, spaceFontFamily: n, styleValue: r, typefaces: i }) {
|
|
1462
|
+
let a = t === ye, o = i.find((e) => Ce(e) === t), s = (o?.families ?? []).find((e) => Se(e) === r), c = o?.value === _e, l = a || e && c && !n, u = t;
|
|
1463
|
+
l ? u = "" : o && (u = Bn(o, s, n));
|
|
1464
|
+
let d = String(s?.fontStyle ?? ""), f = s?.fontWeight === void 0 ? "" : String(s.fontWeight);
|
|
1465
|
+
return {
|
|
1466
|
+
family: u,
|
|
1467
|
+
style: d,
|
|
1468
|
+
weight: f
|
|
1469
|
+
};
|
|
1470
|
+
}
|
|
1471
|
+
var $n = [
|
|
1472
|
+
{
|
|
1473
|
+
flag: "removable",
|
|
1474
|
+
itemIds: ["remove"]
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
flag: "copyable",
|
|
1478
|
+
itemIds: ["duplicate"]
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
flag: "draggable",
|
|
1482
|
+
itemIds: ["previous", "next"]
|
|
1483
|
+
}
|
|
1484
|
+
], er = (e) => e.id.startsWith("divider");
|
|
1485
|
+
function tr(e) {
|
|
1486
|
+
let t = [];
|
|
1487
|
+
for (let n of e) {
|
|
1488
|
+
let e = t[t.length - 1];
|
|
1489
|
+
(!er(n) || e && !er(e)) && t.push(n);
|
|
1490
|
+
}
|
|
1491
|
+
for (; t.length && er(t[t.length - 1]);) t.pop();
|
|
1492
|
+
return t;
|
|
1493
|
+
}
|
|
1494
|
+
function nr(e, t) {
|
|
1495
|
+
let n = new Set($n.filter(({ flag: e }) => t[e] === !1).flatMap(({ itemIds: e }) => e));
|
|
1496
|
+
return tr(e.filter((e) => !n.has(e.id)));
|
|
1497
|
+
}
|
|
1498
|
+
//#endregion
|
|
1412
1499
|
//#region ../../packages/organisms/src/content-builder/styleController.ts
|
|
1413
|
-
var
|
|
1500
|
+
var B = class {
|
|
1414
1501
|
constructor(e) {
|
|
1415
1502
|
this.localize = e, this.localize = e;
|
|
1416
1503
|
}
|
|
1417
1504
|
getStyleControl(e) {
|
|
1418
|
-
let t = this.localize.term(
|
|
1505
|
+
let t = this.localize.term(jt(e));
|
|
1419
1506
|
return e === "--margin" && (t = this.localize.term("margins")), {
|
|
1420
|
-
...
|
|
1507
|
+
...Cn[e],
|
|
1421
1508
|
label: t,
|
|
1422
|
-
...
|
|
1509
|
+
...Cn[e]?.options?.some((e) => "name" in e) && { options: Cn[e].options?.map((e) => ({
|
|
1423
1510
|
...e,
|
|
1424
1511
|
...e.name && e.name in this.localize.term && { name: this.localize.term(e.name) }
|
|
1425
1512
|
})) }
|
|
@@ -1451,19 +1538,19 @@ var V = class {
|
|
|
1451
1538
|
type: a
|
|
1452
1539
|
}];
|
|
1453
1540
|
}
|
|
1454
|
-
},
|
|
1455
|
-
"collapse-icon": JSON.stringify(
|
|
1541
|
+
}, rr = JSON.stringify(Fe), ir = {
|
|
1542
|
+
"collapse-icon": JSON.stringify(Ie),
|
|
1456
1543
|
data: JSON.stringify([
|
|
1457
1544
|
{
|
|
1458
|
-
id:
|
|
1545
|
+
id: O(`${Date.now()}-`),
|
|
1459
1546
|
label: "Section 1"
|
|
1460
1547
|
},
|
|
1461
1548
|
{
|
|
1462
|
-
id:
|
|
1549
|
+
id: O(`${Date.now()}-`),
|
|
1463
1550
|
label: "Section 2"
|
|
1464
1551
|
},
|
|
1465
1552
|
{
|
|
1466
|
-
id:
|
|
1553
|
+
id: O(`${Date.now()}-`),
|
|
1467
1554
|
label: "Section 3"
|
|
1468
1555
|
}
|
|
1469
1556
|
]),
|
|
@@ -1471,12 +1558,12 @@ var V = class {
|
|
|
1471
1558
|
"data-content-width-percent": "100%",
|
|
1472
1559
|
"data-content-width-pixel": "",
|
|
1473
1560
|
"default-open-indexes": "0",
|
|
1474
|
-
"expand-icon":
|
|
1561
|
+
"expand-icon": rr,
|
|
1475
1562
|
"full-bleed": !1,
|
|
1476
|
-
"hover-icon":
|
|
1563
|
+
"hover-icon": rr,
|
|
1477
1564
|
"multi-language": !1,
|
|
1478
1565
|
"section-body-max-width": "100%"
|
|
1479
|
-
},
|
|
1566
|
+
}, ar = [
|
|
1480
1567
|
{
|
|
1481
1568
|
backgroundColorField: "--header-background-color",
|
|
1482
1569
|
borderField: "--header-border",
|
|
@@ -1504,7 +1591,7 @@ var V = class {
|
|
|
1504
1591
|
iconField: "collapse-icon",
|
|
1505
1592
|
iconWidthField: "--collapse-icon-width"
|
|
1506
1593
|
}
|
|
1507
|
-
],
|
|
1594
|
+
], V = (e) => !!e.customStyle, or = (e) => {
|
|
1508
1595
|
let t = [
|
|
1509
1596
|
{
|
|
1510
1597
|
configOrder: 1,
|
|
@@ -1529,7 +1616,7 @@ var V = class {
|
|
|
1529
1616
|
field: "background",
|
|
1530
1617
|
hidden: !0,
|
|
1531
1618
|
pickerConfigs: { recordIdKey: "backgroundRecordId" },
|
|
1532
|
-
show:
|
|
1619
|
+
show: V,
|
|
1533
1620
|
title: e.term("background")
|
|
1534
1621
|
},
|
|
1535
1622
|
{
|
|
@@ -1543,7 +1630,7 @@ var V = class {
|
|
|
1543
1630
|
controlType: "asset-transformation",
|
|
1544
1631
|
field: "backgroundTransformations",
|
|
1545
1632
|
hidden: !0,
|
|
1546
|
-
show: (e) =>
|
|
1633
|
+
show: (e) => V(e) && !!e.backgroundRecordId,
|
|
1547
1634
|
title: e.term("backgroundFormat")
|
|
1548
1635
|
},
|
|
1549
1636
|
{
|
|
@@ -1559,7 +1646,7 @@ var V = class {
|
|
|
1559
1646
|
name: e.term("fill"),
|
|
1560
1647
|
value: _.Cover
|
|
1561
1648
|
}],
|
|
1562
|
-
show:
|
|
1649
|
+
show: V,
|
|
1563
1650
|
title: e.term("cropStyle")
|
|
1564
1651
|
},
|
|
1565
1652
|
{
|
|
@@ -1568,10 +1655,10 @@ var V = class {
|
|
|
1568
1655
|
defaultValue: g.TopCenter,
|
|
1569
1656
|
field: "backgroundCropFocus",
|
|
1570
1657
|
hidden: !0,
|
|
1571
|
-
show:
|
|
1658
|
+
show: V,
|
|
1572
1659
|
title: e.term("cropFocus")
|
|
1573
1660
|
}
|
|
1574
|
-
], n =
|
|
1661
|
+
], n = ar.flatMap((n, r) => {
|
|
1575
1662
|
let i = t.length + 1 + r * 6;
|
|
1576
1663
|
return [
|
|
1577
1664
|
{
|
|
@@ -1579,7 +1666,7 @@ var V = class {
|
|
|
1579
1666
|
controlType: "group-heading",
|
|
1580
1667
|
field: n.headingField,
|
|
1581
1668
|
hidden: !0,
|
|
1582
|
-
show:
|
|
1669
|
+
show: V,
|
|
1583
1670
|
title: e.term(n.headingTerm)
|
|
1584
1671
|
},
|
|
1585
1672
|
{
|
|
@@ -1587,7 +1674,7 @@ var V = class {
|
|
|
1587
1674
|
controlType: "bicolor-picker",
|
|
1588
1675
|
field: n.backgroundColorField,
|
|
1589
1676
|
hidden: !0,
|
|
1590
|
-
show:
|
|
1677
|
+
show: V,
|
|
1591
1678
|
title: e.term("backgroundColor")
|
|
1592
1679
|
},
|
|
1593
1680
|
{
|
|
@@ -1595,7 +1682,7 @@ var V = class {
|
|
|
1595
1682
|
controlType: "bicolor-picker",
|
|
1596
1683
|
field: n.colorField,
|
|
1597
1684
|
hidden: !0,
|
|
1598
|
-
show:
|
|
1685
|
+
show: V,
|
|
1599
1686
|
title: e.term("textAndIconsColor")
|
|
1600
1687
|
},
|
|
1601
1688
|
{
|
|
@@ -1603,7 +1690,7 @@ var V = class {
|
|
|
1603
1690
|
controlType: "border-input-group",
|
|
1604
1691
|
field: n.borderField,
|
|
1605
1692
|
hidden: !0,
|
|
1606
|
-
show:
|
|
1693
|
+
show: V,
|
|
1607
1694
|
title: e.term("border")
|
|
1608
1695
|
},
|
|
1609
1696
|
{
|
|
@@ -1611,7 +1698,7 @@ var V = class {
|
|
|
1611
1698
|
controlType: "icon-picker",
|
|
1612
1699
|
field: n.iconField,
|
|
1613
1700
|
hidden: !0,
|
|
1614
|
-
show:
|
|
1701
|
+
show: V,
|
|
1615
1702
|
title: e.term("icon")
|
|
1616
1703
|
},
|
|
1617
1704
|
{
|
|
@@ -1619,16 +1706,16 @@ var V = class {
|
|
|
1619
1706
|
controlType: "input",
|
|
1620
1707
|
field: n.iconWidthField,
|
|
1621
1708
|
hidden: !0,
|
|
1622
|
-
...
|
|
1623
|
-
show:
|
|
1709
|
+
...R,
|
|
1710
|
+
show: V,
|
|
1624
1711
|
title: e.term("iconWidth")
|
|
1625
1712
|
}
|
|
1626
1713
|
];
|
|
1627
1714
|
});
|
|
1628
1715
|
return [...t, ...n];
|
|
1629
|
-
},
|
|
1716
|
+
}, sr = {
|
|
1630
1717
|
configs: (e, t = {}) => {
|
|
1631
|
-
let n = new
|
|
1718
|
+
let n = new B(e), { enableFontFamilyControls: r = !1 } = t;
|
|
1632
1719
|
return [
|
|
1633
1720
|
...[
|
|
1634
1721
|
"data-content-width-percent",
|
|
@@ -1655,7 +1742,7 @@ var V = class {
|
|
|
1655
1742
|
listEditorConfigs: {
|
|
1656
1743
|
addDialogLabel: e.term("addSection"),
|
|
1657
1744
|
addItemText: e.term("addSection"),
|
|
1658
|
-
columns:
|
|
1745
|
+
columns: or(e),
|
|
1659
1746
|
displayField: "label",
|
|
1660
1747
|
editDialogLabel: e.term("editSection"),
|
|
1661
1748
|
noHeader: !0,
|
|
@@ -1783,7 +1870,7 @@ var V = class {
|
|
|
1783
1870
|
label: e.term("fontSize"),
|
|
1784
1871
|
name: "header-font-size"
|
|
1785
1872
|
}, ...n.getFontPickerControls({
|
|
1786
|
-
api:
|
|
1873
|
+
api: z,
|
|
1787
1874
|
direction: "vertical",
|
|
1788
1875
|
familyKey: "--header-font-family",
|
|
1789
1876
|
id: "--header-font-family",
|
|
@@ -1904,11 +1991,11 @@ var V = class {
|
|
|
1904
1991
|
}
|
|
1905
1992
|
];
|
|
1906
1993
|
},
|
|
1907
|
-
defaultValue:
|
|
1994
|
+
defaultValue: ir,
|
|
1908
1995
|
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(".")
|
|
1909
|
-
},
|
|
1996
|
+
}, cr = {
|
|
1910
1997
|
configs: (e, t = {}) => {
|
|
1911
|
-
let n = new
|
|
1998
|
+
let n = new B(e), { enableAssetFormatControls: r = !1 } = t;
|
|
1912
1999
|
return [
|
|
1913
2000
|
...[
|
|
1914
2001
|
"data-width-percent",
|
|
@@ -1940,7 +2027,7 @@ var V = class {
|
|
|
1940
2027
|
callback: ({ extraValue: e, record: t }) => ({
|
|
1941
2028
|
...t,
|
|
1942
2029
|
...r ? {
|
|
1943
|
-
"asset-version":
|
|
2030
|
+
"asset-version": Mt.Latest,
|
|
1944
2031
|
format: "Web",
|
|
1945
2032
|
"format-src": "",
|
|
1946
2033
|
"version-label": ""
|
|
@@ -2032,7 +2119,7 @@ var V = class {
|
|
|
2032
2119
|
];
|
|
2033
2120
|
},
|
|
2034
2121
|
defaultValue: {
|
|
2035
|
-
"asset-version":
|
|
2122
|
+
"asset-version": Mt.Latest,
|
|
2036
2123
|
"data-width-percent": "100%",
|
|
2037
2124
|
"data-width-pixel": "",
|
|
2038
2125
|
format: "Web",
|
|
@@ -2059,15 +2146,15 @@ var V = class {
|
|
|
2059
2146
|
"--waves-color",
|
|
2060
2147
|
"--width"
|
|
2061
2148
|
]
|
|
2062
|
-
},
|
|
2149
|
+
}, H = /* @__PURE__ */ function(e) {
|
|
2063
2150
|
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;
|
|
2064
|
-
}({}),
|
|
2151
|
+
}({}), U = /* @__PURE__ */ function(e) {
|
|
2065
2152
|
return e.Custom = "custom", e.Outline = "outline", e.Primary = "primary", e.Secondary = "default", e.Text = "text", e;
|
|
2066
|
-
}({}),
|
|
2153
|
+
}({}), lr = /* @__PURE__ */ function(e) {
|
|
2067
2154
|
return e.Image = "image", e.Other = "other", e.Unknown = "unknown", e.Video = "video", e;
|
|
2068
|
-
}({}),
|
|
2155
|
+
}({}), ur = {
|
|
2069
2156
|
configs: (e, t = {}) => {
|
|
2070
|
-
let n = new
|
|
2157
|
+
let n = new B(e), { enableFontFamilyControls: r = !1 } = t;
|
|
2071
2158
|
return [
|
|
2072
2159
|
...[
|
|
2073
2160
|
"asset-type",
|
|
@@ -2109,47 +2196,47 @@ var V = class {
|
|
|
2109
2196
|
{
|
|
2110
2197
|
id: "open-asset-overview",
|
|
2111
2198
|
name: e.term("openAssetOverview"),
|
|
2112
|
-
value:
|
|
2199
|
+
value: H.OpenAssetOverview
|
|
2113
2200
|
},
|
|
2114
2201
|
{
|
|
2115
2202
|
id: "show-asset-in-library",
|
|
2116
2203
|
name: e.term("showAssetInLibrary"),
|
|
2117
|
-
value:
|
|
2204
|
+
value: H.ShowAssetInLibrary
|
|
2118
2205
|
},
|
|
2119
2206
|
{
|
|
2120
2207
|
id: "expand-asset-in-full-screen",
|
|
2121
2208
|
name: e.term("expandAssetInFullScreen"),
|
|
2122
|
-
value:
|
|
2209
|
+
value: H.ExpandAssetInFullScreen
|
|
2123
2210
|
},
|
|
2124
2211
|
{
|
|
2125
2212
|
id: "download-asset",
|
|
2126
2213
|
name: e.term("downloadAssets"),
|
|
2127
|
-
value:
|
|
2214
|
+
value: H.DownloadAsset
|
|
2128
2215
|
},
|
|
2129
2216
|
{
|
|
2130
2217
|
id: "share-asset",
|
|
2131
2218
|
name: e.term("shareAsset"),
|
|
2132
|
-
value:
|
|
2219
|
+
value: H.ShareAsset
|
|
2133
2220
|
},
|
|
2134
2221
|
{
|
|
2135
2222
|
id: "open-link",
|
|
2136
2223
|
name: e.term("openLink"),
|
|
2137
|
-
value:
|
|
2224
|
+
value: H.OpenLink
|
|
2138
2225
|
},
|
|
2139
2226
|
{
|
|
2140
2227
|
id: "open-page",
|
|
2141
2228
|
name: e.term("openPage"),
|
|
2142
|
-
value:
|
|
2229
|
+
value: H.OpenPage
|
|
2143
2230
|
},
|
|
2144
2231
|
{
|
|
2145
2232
|
id: "open-space",
|
|
2146
2233
|
name: e.term("openSpace"),
|
|
2147
|
-
value:
|
|
2234
|
+
value: H.OpenSpace
|
|
2148
2235
|
},
|
|
2149
2236
|
{
|
|
2150
2237
|
id: "do-nothing",
|
|
2151
2238
|
name: e.term("doNothing"),
|
|
2152
|
-
value:
|
|
2239
|
+
value: H.DoNothing
|
|
2153
2240
|
}
|
|
2154
2241
|
],
|
|
2155
2242
|
type: "attribute"
|
|
@@ -2159,12 +2246,12 @@ var V = class {
|
|
|
2159
2246
|
id: "click-link",
|
|
2160
2247
|
inputConfigs: { validation: (t) => {
|
|
2161
2248
|
let n = t["click-link"];
|
|
2162
|
-
return
|
|
2249
|
+
return Gn(n) ? "" : e.term("urlValidationMessage");
|
|
2163
2250
|
} },
|
|
2164
2251
|
label: e.term("link"),
|
|
2165
2252
|
name: "click-link",
|
|
2166
2253
|
required: !0,
|
|
2167
|
-
show: (e) => e["click-action"] ===
|
|
2254
|
+
show: (e) => e["click-action"] === H.OpenLink,
|
|
2168
2255
|
skipShowCheck: !0,
|
|
2169
2256
|
type: "attribute"
|
|
2170
2257
|
},
|
|
@@ -2178,20 +2265,20 @@ var V = class {
|
|
|
2178
2265
|
label: e.term("page"),
|
|
2179
2266
|
name: "click-page",
|
|
2180
2267
|
required: !0,
|
|
2181
|
-
show: (e) => e["click-action"] ===
|
|
2268
|
+
show: (e) => e["click-action"] === H.OpenPage,
|
|
2182
2269
|
skipShowCheck: !0,
|
|
2183
2270
|
type: "attribute"
|
|
2184
2271
|
},
|
|
2185
2272
|
{
|
|
2186
|
-
api:
|
|
2273
|
+
api: Ln,
|
|
2187
2274
|
controlType: "select",
|
|
2188
|
-
folderPickerConfigs: { variant:
|
|
2275
|
+
folderPickerConfigs: { variant: Ae.Select },
|
|
2189
2276
|
id: "click-space",
|
|
2190
2277
|
label: e.term("space"),
|
|
2191
2278
|
name: "click-space",
|
|
2192
2279
|
options: [],
|
|
2193
2280
|
required: !0,
|
|
2194
|
-
show: (e) => e["click-action"] ===
|
|
2281
|
+
show: (e) => e["click-action"] === H.OpenSpace,
|
|
2195
2282
|
skipShowCheck: !0,
|
|
2196
2283
|
type: "attribute"
|
|
2197
2284
|
},
|
|
@@ -2200,14 +2287,14 @@ var V = class {
|
|
|
2200
2287
|
id: "open-in-new-tab",
|
|
2201
2288
|
label: e.term("openInNewTab"),
|
|
2202
2289
|
name: "open-in-new-tab",
|
|
2203
|
-
show: (e) => e["click-action"] ===
|
|
2290
|
+
show: (e) => e["click-action"] === H.OpenLink || e["click-action"] === H.OpenPage || e["click-action"] === H.OpenSpace,
|
|
2204
2291
|
skipShowCheck: !0,
|
|
2205
2292
|
type: "attribute"
|
|
2206
2293
|
},
|
|
2207
2294
|
{
|
|
2208
2295
|
callback: ({ extraValue: e, record: t }) => ({
|
|
2209
2296
|
...t,
|
|
2210
|
-
"asset-type": e?.type ??
|
|
2297
|
+
"asset-type": e?.type ?? lr.Unknown,
|
|
2211
2298
|
"record-id": e?.id ?? "",
|
|
2212
2299
|
"record-name": e?.name ?? ""
|
|
2213
2300
|
}),
|
|
@@ -2220,10 +2307,10 @@ var V = class {
|
|
|
2220
2307
|
show: (e) => {
|
|
2221
2308
|
let t = e["click-action"];
|
|
2222
2309
|
return [
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2310
|
+
H.ShareAsset,
|
|
2311
|
+
H.OpenAssetOverview,
|
|
2312
|
+
H.ShowAssetInLibrary,
|
|
2313
|
+
H.ExpandAssetInFullScreen
|
|
2227
2314
|
].includes(t);
|
|
2228
2315
|
},
|
|
2229
2316
|
type: "attribute"
|
|
@@ -2245,7 +2332,7 @@ var V = class {
|
|
|
2245
2332
|
recordIdKey: "download-id"
|
|
2246
2333
|
},
|
|
2247
2334
|
required: !0,
|
|
2248
|
-
show: (e) => e["click-action"] ===
|
|
2335
|
+
show: (e) => e["click-action"] === H.DownloadAsset,
|
|
2249
2336
|
type: "attribute"
|
|
2250
2337
|
},
|
|
2251
2338
|
{
|
|
@@ -2254,7 +2341,7 @@ var V = class {
|
|
|
2254
2341
|
id: "download-format",
|
|
2255
2342
|
label: e.term("format"),
|
|
2256
2343
|
name: "download-format",
|
|
2257
|
-
show: (e) => e["click-action"] ===
|
|
2344
|
+
show: (e) => e["click-action"] === H.DownloadAsset,
|
|
2258
2345
|
type: "attribute"
|
|
2259
2346
|
},
|
|
2260
2347
|
{
|
|
@@ -2289,40 +2376,40 @@ var V = class {
|
|
|
2289
2376
|
{
|
|
2290
2377
|
clearable: !1,
|
|
2291
2378
|
controlType: "select",
|
|
2292
|
-
default:
|
|
2379
|
+
default: U.Secondary,
|
|
2293
2380
|
id: "variant",
|
|
2294
2381
|
label: e.term("appearance"),
|
|
2295
2382
|
name: "variant",
|
|
2296
2383
|
options: [
|
|
2297
2384
|
{
|
|
2298
2385
|
helpText: e.term("filledBodyPrimaryColorAsBackground"),
|
|
2299
|
-
id:
|
|
2386
|
+
id: U.Primary,
|
|
2300
2387
|
name: e.term("primary"),
|
|
2301
|
-
value:
|
|
2388
|
+
value: U.Primary
|
|
2302
2389
|
},
|
|
2303
2390
|
{
|
|
2304
2391
|
helpText: e.term("filledBodySecondaryColorAsBackground"),
|
|
2305
|
-
id:
|
|
2392
|
+
id: U.Secondary,
|
|
2306
2393
|
name: e.term("secondary"),
|
|
2307
|
-
value:
|
|
2394
|
+
value: U.Secondary
|
|
2308
2395
|
},
|
|
2309
2396
|
{
|
|
2310
2397
|
helpText: e.term("transparentBodyBorderOutline"),
|
|
2311
|
-
id:
|
|
2398
|
+
id: U.Outline,
|
|
2312
2399
|
name: e.term("outline"),
|
|
2313
|
-
value:
|
|
2400
|
+
value: U.Outline
|
|
2314
2401
|
},
|
|
2315
2402
|
{
|
|
2316
2403
|
helpText: e.term("transparentBodyNoBorder"),
|
|
2317
|
-
id:
|
|
2404
|
+
id: U.Text,
|
|
2318
2405
|
name: e.term("text"),
|
|
2319
|
-
value:
|
|
2406
|
+
value: U.Text
|
|
2320
2407
|
},
|
|
2321
2408
|
{
|
|
2322
2409
|
helpText: e.term("flexibleConfiguration"),
|
|
2323
|
-
id:
|
|
2410
|
+
id: U.Custom,
|
|
2324
2411
|
name: e.term("custom"),
|
|
2325
|
-
value:
|
|
2412
|
+
value: U.Custom
|
|
2326
2413
|
}
|
|
2327
2414
|
],
|
|
2328
2415
|
type: "attribute"
|
|
@@ -2384,7 +2471,7 @@ var V = class {
|
|
|
2384
2471
|
name: "font-size"
|
|
2385
2472
|
},
|
|
2386
2473
|
...r ? [...n.getFontPickerControls({
|
|
2387
|
-
api:
|
|
2474
|
+
api: z,
|
|
2388
2475
|
direction: "vertical",
|
|
2389
2476
|
familyKey: "--button-custom-font-family",
|
|
2390
2477
|
id: "--button-custom-font-family",
|
|
@@ -2394,22 +2481,22 @@ var V = class {
|
|
|
2394
2481
|
})] : [],
|
|
2395
2482
|
{
|
|
2396
2483
|
...n.getStyleControl("--border-radius"),
|
|
2397
|
-
show: (e) => e.variant !==
|
|
2484
|
+
show: (e) => e.variant !== U.Text
|
|
2398
2485
|
},
|
|
2399
2486
|
{
|
|
2400
2487
|
...n.getStyleControl("--background-color"),
|
|
2401
|
-
show: (e) => e.variant ===
|
|
2488
|
+
show: (e) => e.variant === U.Custom
|
|
2402
2489
|
},
|
|
2403
2490
|
{
|
|
2404
2491
|
...n.getStyleControl("--color"),
|
|
2405
2492
|
label: e.term("labelAndIconColor"),
|
|
2406
|
-
show: (e) => e.variant ===
|
|
2493
|
+
show: (e) => e.variant === U.Custom
|
|
2407
2494
|
},
|
|
2408
2495
|
{
|
|
2409
2496
|
...n.getStyleControl("--border"),
|
|
2410
2497
|
id: "--button-custom-border",
|
|
2411
2498
|
name: "border",
|
|
2412
|
-
show: (e) => e.variant ===
|
|
2499
|
+
show: (e) => e.variant === U.Custom
|
|
2413
2500
|
},
|
|
2414
2501
|
{
|
|
2415
2502
|
controlType: "icon-picker",
|
|
@@ -2423,12 +2510,12 @@ var V = class {
|
|
|
2423
2510
|
id: "--button-custom-icon-width",
|
|
2424
2511
|
label: e.term("iconWidth"),
|
|
2425
2512
|
name: "icon-width",
|
|
2426
|
-
show: (e) => e.variant ===
|
|
2513
|
+
show: (e) => e.variant === U.Custom
|
|
2427
2514
|
}
|
|
2428
2515
|
];
|
|
2429
2516
|
},
|
|
2430
2517
|
defaultValue: {
|
|
2431
|
-
"click-action":
|
|
2518
|
+
"click-action": H.OpenLink,
|
|
2432
2519
|
"click-link": "",
|
|
2433
2520
|
"click-page": "",
|
|
2434
2521
|
"click-space": "",
|
|
@@ -2438,7 +2525,7 @@ var V = class {
|
|
|
2438
2525
|
"open-in-new-tab": !0,
|
|
2439
2526
|
size: i.Medium,
|
|
2440
2527
|
type: "link",
|
|
2441
|
-
variant:
|
|
2528
|
+
variant: U.Secondary,
|
|
2442
2529
|
"width-type": a.Hug
|
|
2443
2530
|
},
|
|
2444
2531
|
stylable: [
|
|
@@ -2459,9 +2546,9 @@ var V = class {
|
|
|
2459
2546
|
"--margin-right",
|
|
2460
2547
|
"--margin-top"
|
|
2461
2548
|
]
|
|
2462
|
-
},
|
|
2549
|
+
}, dr = {
|
|
2463
2550
|
configs: (e, t = {}) => {
|
|
2464
|
-
let n = new
|
|
2551
|
+
let n = new B(e), { enableAssetFormatControls: r = !1, enableFontFamilyControls: i = !1 } = t;
|
|
2465
2552
|
return [
|
|
2466
2553
|
...[
|
|
2467
2554
|
"can-custom-shadow-and-border-radius",
|
|
@@ -2497,9 +2584,9 @@ var V = class {
|
|
|
2497
2584
|
let i = {
|
|
2498
2585
|
...e,
|
|
2499
2586
|
"click-event": "",
|
|
2500
|
-
"content-type": t === p.Link ?
|
|
2587
|
+
"content-type": t === p.Link ? I.Custom : I.Automatic,
|
|
2501
2588
|
records: r,
|
|
2502
|
-
"source-variant":
|
|
2589
|
+
"source-variant": F.Manual,
|
|
2503
2590
|
src: ""
|
|
2504
2591
|
};
|
|
2505
2592
|
return t === p.Asset ? i : {
|
|
@@ -2542,9 +2629,9 @@ var V = class {
|
|
|
2542
2629
|
type: "attribute"
|
|
2543
2630
|
},
|
|
2544
2631
|
{
|
|
2545
|
-
callback: ({ record: e, value: t }) => t ===
|
|
2632
|
+
callback: ({ record: e, value: t }) => t === F.Api ? {
|
|
2546
2633
|
...e,
|
|
2547
|
-
"content-type":
|
|
2634
|
+
"content-type": I.Automatic,
|
|
2548
2635
|
"download-format": "",
|
|
2549
2636
|
format: "",
|
|
2550
2637
|
"manual-format": !1,
|
|
@@ -2570,14 +2657,14 @@ var V = class {
|
|
|
2570
2657
|
name: "source-variant",
|
|
2571
2658
|
options: [{
|
|
2572
2659
|
helpText: e.term("individualAssetsHelpText"),
|
|
2573
|
-
id:
|
|
2660
|
+
id: F.Manual,
|
|
2574
2661
|
name: e.term("individualAssets"),
|
|
2575
|
-
value:
|
|
2662
|
+
value: F.Manual
|
|
2576
2663
|
}, {
|
|
2577
2664
|
helpText: e.term("virtualFolderHelpText"),
|
|
2578
|
-
id:
|
|
2665
|
+
id: F.Api,
|
|
2579
2666
|
name: e.term("virtualFolder"),
|
|
2580
|
-
value:
|
|
2667
|
+
value: F.Api
|
|
2581
2668
|
}],
|
|
2582
2669
|
show: (e) => e["card-type"] === p.Asset,
|
|
2583
2670
|
type: "attribute"
|
|
@@ -2593,36 +2680,36 @@ var V = class {
|
|
|
2593
2680
|
id: "src",
|
|
2594
2681
|
label: "",
|
|
2595
2682
|
name: "source",
|
|
2596
|
-
show: (e) => e["source-variant"] ===
|
|
2683
|
+
show: (e) => e["source-variant"] === F.Api,
|
|
2597
2684
|
type: "attribute"
|
|
2598
2685
|
},
|
|
2599
2686
|
{
|
|
2600
2687
|
clearable: !1,
|
|
2601
2688
|
controlType: "select",
|
|
2602
|
-
disabled: (e) => e["source-variant"] ===
|
|
2689
|
+
disabled: (e) => e["source-variant"] === F.Api || e["card-type"] === p.Link,
|
|
2603
2690
|
helpText: e.term("contentHelpText"),
|
|
2604
2691
|
id: "content-type",
|
|
2605
2692
|
label: e.term("content"),
|
|
2606
2693
|
name: "content-type",
|
|
2607
2694
|
options: [{
|
|
2608
|
-
id:
|
|
2695
|
+
id: I.Automatic,
|
|
2609
2696
|
name: e.term("automatic"),
|
|
2610
|
-
value:
|
|
2697
|
+
value: I.Automatic
|
|
2611
2698
|
}, {
|
|
2612
|
-
id:
|
|
2699
|
+
id: I.Custom,
|
|
2613
2700
|
name: e.term("custom"),
|
|
2614
|
-
value:
|
|
2701
|
+
value: I.Custom
|
|
2615
2702
|
}],
|
|
2616
2703
|
type: "attribute"
|
|
2617
2704
|
},
|
|
2618
2705
|
{
|
|
2619
|
-
api:
|
|
2706
|
+
api: M,
|
|
2620
2707
|
controlType: "select",
|
|
2621
2708
|
id: "header-source-field",
|
|
2622
2709
|
label: e.term("headerSourceField"),
|
|
2623
2710
|
name: "header-source-field",
|
|
2624
2711
|
options: [],
|
|
2625
|
-
show: (e) => e["content-type"] ===
|
|
2712
|
+
show: (e) => e["content-type"] === I.Automatic && e["card-type"] !== p.Space && e["card-type"] !== p.Page,
|
|
2626
2713
|
type: "attribute"
|
|
2627
2714
|
},
|
|
2628
2715
|
{
|
|
@@ -2639,21 +2726,21 @@ var V = class {
|
|
|
2639
2726
|
name: e.term("description"),
|
|
2640
2727
|
value: "Document.CaptionLong"
|
|
2641
2728
|
}],
|
|
2642
|
-
show: (e) => e["content-type"] ===
|
|
2729
|
+
show: (e) => e["content-type"] === I.Automatic && (e["card-type"] === p.Space || e["card-type"] === p.Page),
|
|
2643
2730
|
type: "attribute"
|
|
2644
2731
|
},
|
|
2645
2732
|
{
|
|
2646
|
-
api:
|
|
2733
|
+
api: M,
|
|
2647
2734
|
controlType: "select",
|
|
2648
2735
|
id: "details-source-field",
|
|
2649
2736
|
label: e.term("detailsSourceField"),
|
|
2650
2737
|
name: "details-source-field",
|
|
2651
2738
|
options: [],
|
|
2652
|
-
show: (e) => e["content-type"] ===
|
|
2739
|
+
show: (e) => e["content-type"] === I.Automatic && e["card-type"] !== p.Space && e["card-type"] !== p.Page,
|
|
2653
2740
|
type: "attribute"
|
|
2654
2741
|
},
|
|
2655
2742
|
{
|
|
2656
|
-
api:
|
|
2743
|
+
api: M,
|
|
2657
2744
|
controlType: "select",
|
|
2658
2745
|
helpText: e.term("additionalFieldsHelpText"),
|
|
2659
2746
|
id: "additional-fields",
|
|
@@ -2661,7 +2748,7 @@ var V = class {
|
|
|
2661
2748
|
multiple: !0,
|
|
2662
2749
|
name: "additional-fields",
|
|
2663
2750
|
options: [],
|
|
2664
|
-
show: (e) => e["content-type"] ===
|
|
2751
|
+
show: (e) => e["content-type"] === I.Automatic && e["card-type"] !== p.Space && e["card-type"] !== p.Page,
|
|
2665
2752
|
type: "attribute"
|
|
2666
2753
|
},
|
|
2667
2754
|
{
|
|
@@ -2678,7 +2765,7 @@ var V = class {
|
|
|
2678
2765
|
name: e.term("description"),
|
|
2679
2766
|
value: "Document.CaptionLong"
|
|
2680
2767
|
}],
|
|
2681
|
-
show: (e) => e["content-type"] ===
|
|
2768
|
+
show: (e) => e["content-type"] === I.Automatic && (e["card-type"] === p.Space || e["card-type"] === p.Page),
|
|
2682
2769
|
type: "attribute"
|
|
2683
2770
|
},
|
|
2684
2771
|
{
|
|
@@ -2689,24 +2776,24 @@ var V = class {
|
|
|
2689
2776
|
name: "click-event",
|
|
2690
2777
|
options: [
|
|
2691
2778
|
{
|
|
2692
|
-
id:
|
|
2779
|
+
id: H.OpenAssetOverview,
|
|
2693
2780
|
name: e.term("openAssetOverview"),
|
|
2694
|
-
value:
|
|
2781
|
+
value: H.OpenAssetOverview
|
|
2695
2782
|
},
|
|
2696
2783
|
{
|
|
2697
|
-
id:
|
|
2784
|
+
id: H.OpenAssetInLibrary,
|
|
2698
2785
|
name: e.term("openAssetInLibrary"),
|
|
2699
|
-
value:
|
|
2786
|
+
value: H.OpenAssetInLibrary
|
|
2700
2787
|
},
|
|
2701
2788
|
{
|
|
2702
|
-
id:
|
|
2789
|
+
id: H.DownloadAsset,
|
|
2703
2790
|
name: e.term("downloadAssets"),
|
|
2704
|
-
value:
|
|
2791
|
+
value: H.DownloadAsset
|
|
2705
2792
|
},
|
|
2706
2793
|
{
|
|
2707
|
-
id:
|
|
2794
|
+
id: H.Zoom,
|
|
2708
2795
|
name: e.term("zoomInAsset"),
|
|
2709
|
-
value:
|
|
2796
|
+
value: H.Zoom
|
|
2710
2797
|
},
|
|
2711
2798
|
{
|
|
2712
2799
|
id: "none",
|
|
@@ -2744,7 +2831,7 @@ var V = class {
|
|
|
2744
2831
|
name: "download-format",
|
|
2745
2832
|
show: (e) => {
|
|
2746
2833
|
let t = e["click-event"];
|
|
2747
|
-
return e["card-type"] === p.Asset && (t ===
|
|
2834
|
+
return e["card-type"] === p.Asset && (t === H.DownloadAsset || t === H.Zoom);
|
|
2748
2835
|
},
|
|
2749
2836
|
type: "attribute"
|
|
2750
2837
|
}] : [],
|
|
@@ -2847,7 +2934,7 @@ var V = class {
|
|
|
2847
2934
|
controlType: "gallery-picker",
|
|
2848
2935
|
direction: "vertical",
|
|
2849
2936
|
galleryPickerConfigs: {
|
|
2850
|
-
dialog:
|
|
2937
|
+
dialog: xe.Carousel,
|
|
2851
2938
|
...r ? {
|
|
2852
2939
|
formatKey: "format",
|
|
2853
2940
|
manualFormatKey: "manual-format",
|
|
@@ -2873,7 +2960,7 @@ var V = class {
|
|
|
2873
2960
|
name: e.term("fill"),
|
|
2874
2961
|
value: _.Cover
|
|
2875
2962
|
}],
|
|
2876
|
-
show: (e) => e["source-variant"] ===
|
|
2963
|
+
show: (e) => e["source-variant"] === F.Api,
|
|
2877
2964
|
type: "attribute"
|
|
2878
2965
|
},
|
|
2879
2966
|
{
|
|
@@ -2881,7 +2968,7 @@ var V = class {
|
|
|
2881
2968
|
id: "default-crop-focus",
|
|
2882
2969
|
label: e.term("cropFocus"),
|
|
2883
2970
|
name: "default-crop-focus",
|
|
2884
|
-
show: (e) => e["source-variant"] ===
|
|
2971
|
+
show: (e) => e["source-variant"] === F.Api,
|
|
2885
2972
|
type: "attribute"
|
|
2886
2973
|
},
|
|
2887
2974
|
{
|
|
@@ -3202,7 +3289,7 @@ var V = class {
|
|
|
3202
3289
|
id: "header-options",
|
|
3203
3290
|
label: e.term("header"),
|
|
3204
3291
|
name: "header-options",
|
|
3205
|
-
show: (e) => e["content-type"] ===
|
|
3292
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
3206
3293
|
skipShowCheck: !0,
|
|
3207
3294
|
type: "decorative"
|
|
3208
3295
|
},
|
|
@@ -3224,16 +3311,16 @@ var V = class {
|
|
|
3224
3311
|
value: "right"
|
|
3225
3312
|
}
|
|
3226
3313
|
],
|
|
3227
|
-
show: (e) => e["content-type"] ===
|
|
3314
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
3228
3315
|
skipShowCheck: !0
|
|
3229
3316
|
},
|
|
3230
3317
|
...i ? [...n.getFontPickerControls({
|
|
3231
|
-
api:
|
|
3318
|
+
api: z,
|
|
3232
3319
|
direction: "vertical",
|
|
3233
3320
|
familyKey: "--header-font-family",
|
|
3234
3321
|
id: "--header-font-family",
|
|
3235
3322
|
name: "header-font-family",
|
|
3236
|
-
show: (e) => e["content-type"] ===
|
|
3323
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
3237
3324
|
skipShowCheck: !0,
|
|
3238
3325
|
styleKey: "--header-font-style",
|
|
3239
3326
|
weightKey: "--header-font-weight"
|
|
@@ -3247,7 +3334,7 @@ var V = class {
|
|
|
3247
3334
|
...n.getStyleControl(e),
|
|
3248
3335
|
id: `--header-${e.replace("--", "")}`,
|
|
3249
3336
|
name: `header-${e.replace("--", "")}`,
|
|
3250
|
-
show: (e) => e["content-type"] ===
|
|
3337
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
3251
3338
|
skipShowCheck: !0
|
|
3252
3339
|
})),
|
|
3253
3340
|
{
|
|
@@ -3255,7 +3342,7 @@ var V = class {
|
|
|
3255
3342
|
id: "details-options",
|
|
3256
3343
|
label: e.term("details"),
|
|
3257
3344
|
name: "details-options",
|
|
3258
|
-
show: (e) => e["content-type"] ===
|
|
3345
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
3259
3346
|
skipShowCheck: !0,
|
|
3260
3347
|
type: "decorative"
|
|
3261
3348
|
},
|
|
@@ -3277,16 +3364,16 @@ var V = class {
|
|
|
3277
3364
|
value: "right"
|
|
3278
3365
|
}
|
|
3279
3366
|
],
|
|
3280
|
-
show: (e) => e["content-type"] ===
|
|
3367
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
3281
3368
|
skipShowCheck: !0
|
|
3282
3369
|
},
|
|
3283
3370
|
...i ? [...n.getFontPickerControls({
|
|
3284
|
-
api:
|
|
3371
|
+
api: z,
|
|
3285
3372
|
direction: "vertical",
|
|
3286
3373
|
familyKey: "--details-font-family",
|
|
3287
3374
|
id: "--details-font-family",
|
|
3288
3375
|
name: "details-font-family",
|
|
3289
|
-
show: (e) => e["content-type"] ===
|
|
3376
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
3290
3377
|
skipShowCheck: !0,
|
|
3291
3378
|
styleKey: "--details-font-style",
|
|
3292
3379
|
weightKey: "--details-font-weight"
|
|
@@ -3300,7 +3387,7 @@ var V = class {
|
|
|
3300
3387
|
...n.getStyleControl(e),
|
|
3301
3388
|
id: `--details-${e.replace("--", "")}`,
|
|
3302
3389
|
name: `details-${e.replace("--", "")}`,
|
|
3303
|
-
show: (e) => e["content-type"] ===
|
|
3390
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
3304
3391
|
skipShowCheck: !0
|
|
3305
3392
|
})),
|
|
3306
3393
|
{
|
|
@@ -3463,7 +3550,7 @@ var V = class {
|
|
|
3463
3550
|
controlType: "input",
|
|
3464
3551
|
id: "--highlightable-item-effect-jump-distance",
|
|
3465
3552
|
inputConfigs: { label: e.term("distance") },
|
|
3466
|
-
...
|
|
3553
|
+
...R,
|
|
3467
3554
|
name: "gallery-item-effect-jump-distance",
|
|
3468
3555
|
show: (e) => e.effect === d.Jump,
|
|
3469
3556
|
type: "style",
|
|
@@ -3473,7 +3560,7 @@ var V = class {
|
|
|
3473
3560
|
controlType: "input",
|
|
3474
3561
|
id: "--highlightable-item-effect-text-reveal-distance",
|
|
3475
3562
|
inputConfigs: { label: e.term("distance") },
|
|
3476
|
-
...
|
|
3563
|
+
...R,
|
|
3477
3564
|
name: "gallery-item-effect-text-reveal-distance",
|
|
3478
3565
|
show: (e) => e.effect === d.TextReveal,
|
|
3479
3566
|
type: "style",
|
|
@@ -3566,7 +3653,7 @@ var V = class {
|
|
|
3566
3653
|
"click-event": "",
|
|
3567
3654
|
"column-gap": "0px",
|
|
3568
3655
|
"content-position": u.TopLeft,
|
|
3569
|
-
"content-type":
|
|
3656
|
+
"content-type": I.Automatic,
|
|
3570
3657
|
"content-variant": f.Overlay,
|
|
3571
3658
|
"data-constraints": !1,
|
|
3572
3659
|
"data-width-percent": "100%",
|
|
@@ -3594,27 +3681,27 @@ var V = class {
|
|
|
3594
3681
|
records: "",
|
|
3595
3682
|
"slide-easing": v.Linear,
|
|
3596
3683
|
"slides-per-page": "1",
|
|
3597
|
-
"source-variant":
|
|
3684
|
+
"source-variant": F.Manual,
|
|
3598
3685
|
src: "",
|
|
3599
3686
|
"text-reveal-style": s.Slide,
|
|
3600
3687
|
"transformation-record-id": "",
|
|
3601
3688
|
transformations: "[]",
|
|
3602
3689
|
"transition-type": y.Slide,
|
|
3603
|
-
variant:
|
|
3690
|
+
variant: N.Carousel,
|
|
3604
3691
|
width: "",
|
|
3605
3692
|
"zoom-style": l.WithinBorders
|
|
3606
3693
|
},
|
|
3607
3694
|
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(".")
|
|
3608
|
-
},
|
|
3695
|
+
}, fr = 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>`, pr = 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>`, mr = 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>`, hr = {
|
|
3609
3696
|
"can-copy": !0,
|
|
3610
3697
|
"can-custom-shadow-and-border-radius": !1,
|
|
3611
3698
|
"code-alignment": me.SameLine,
|
|
3612
|
-
"code-column-alignment":
|
|
3699
|
+
"code-column-alignment": D.Left,
|
|
3613
3700
|
"code-column-constraints": !1,
|
|
3614
3701
|
"code-column-max-width": "",
|
|
3615
3702
|
"code-column-min-width": "",
|
|
3616
3703
|
"code-column-width": "",
|
|
3617
|
-
"code-column-width-mode":
|
|
3704
|
+
"code-column-width-mode": T.HugContents,
|
|
3618
3705
|
"code-separator": pe.Comma,
|
|
3619
3706
|
"custom-columns": "[]",
|
|
3620
3707
|
data: JSON.stringify([{
|
|
@@ -3639,12 +3726,12 @@ var V = class {
|
|
|
3639
3726
|
"hex-format": ge.LeadingHash,
|
|
3640
3727
|
"max-col": "3",
|
|
3641
3728
|
"multi-language": !1,
|
|
3642
|
-
"name-column-alignment":
|
|
3729
|
+
"name-column-alignment": D.Left,
|
|
3643
3730
|
"name-column-constraints": !1,
|
|
3644
3731
|
"name-column-max-width": "",
|
|
3645
3732
|
"name-column-min-width": "",
|
|
3646
3733
|
"name-column-width": "",
|
|
3647
|
-
"name-column-width-mode":
|
|
3734
|
+
"name-column-width-mode": T.HugContents,
|
|
3648
3735
|
"show-codes": [
|
|
3649
3736
|
"HEX",
|
|
3650
3737
|
"RGB",
|
|
@@ -3652,12 +3739,12 @@ var V = class {
|
|
|
3652
3739
|
"PMS"
|
|
3653
3740
|
].join(" "),
|
|
3654
3741
|
"show-elements": [
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3742
|
+
w.PaletteName,
|
|
3743
|
+
w.ColumnTitles,
|
|
3744
|
+
w.SeparatorLine
|
|
3658
3745
|
].join(" "),
|
|
3659
|
-
variant:
|
|
3660
|
-
},
|
|
3746
|
+
variant: E.Circles
|
|
3747
|
+
}, gr = (e) => ({ record: t, value: n }) => {
|
|
3661
3748
|
if (typeof n != "string") return t;
|
|
3662
3749
|
let r = n.trim().split(/\s+/), i, a, o, s;
|
|
3663
3750
|
switch (r.length) {
|
|
@@ -3679,9 +3766,9 @@ var V = class {
|
|
|
3679
3766
|
[`${e}-right`]: a,
|
|
3680
3767
|
[`${e}-top`]: i
|
|
3681
3768
|
};
|
|
3682
|
-
},
|
|
3769
|
+
}, _r = {
|
|
3683
3770
|
configs: (e, t = {}) => {
|
|
3684
|
-
let n = new
|
|
3771
|
+
let n = new B(e), { enableFontFamilyControls: r = !1 } = t, i = (e) => e.variant === E.Grid, a = (e) => e.variant === E.Circles, o = (e) => e.variant === E.Table, s = (e) => i(e) && (e["can-custom-shadow-and-border-radius"] ?? !1), c = (t, n) => [{
|
|
3685
3772
|
clearable: !1,
|
|
3686
3773
|
controlType: "select",
|
|
3687
3774
|
id: t,
|
|
@@ -3689,21 +3776,21 @@ var V = class {
|
|
|
3689
3776
|
options: [
|
|
3690
3777
|
{
|
|
3691
3778
|
name: e.term("fillContainer"),
|
|
3692
|
-
value:
|
|
3779
|
+
value: T.FillContainer
|
|
3693
3780
|
},
|
|
3694
3781
|
{
|
|
3695
3782
|
name: e.term("hugContent"),
|
|
3696
|
-
value:
|
|
3783
|
+
value: T.HugContents
|
|
3697
3784
|
},
|
|
3698
3785
|
{
|
|
3699
3786
|
name: e.term("custom"),
|
|
3700
|
-
value:
|
|
3787
|
+
value: T.Custom
|
|
3701
3788
|
}
|
|
3702
3789
|
],
|
|
3703
3790
|
type: "attribute",
|
|
3704
|
-
width: (e) => e[t] ===
|
|
3791
|
+
width: (e) => e[t] === T.Custom ? "50%" : "100%"
|
|
3705
3792
|
}, {
|
|
3706
|
-
...
|
|
3793
|
+
...R,
|
|
3707
3794
|
controlType: "input",
|
|
3708
3795
|
id: n,
|
|
3709
3796
|
inputConfigs: { suffix: {
|
|
@@ -3729,7 +3816,7 @@ var V = class {
|
|
|
3729
3816
|
} },
|
|
3730
3817
|
mask: "num",
|
|
3731
3818
|
name: n,
|
|
3732
|
-
show: (e) => e[t] ===
|
|
3819
|
+
show: (e) => e[t] === T.Custom,
|
|
3733
3820
|
type: "attribute",
|
|
3734
3821
|
width: "50%"
|
|
3735
3822
|
}], l = {
|
|
@@ -3796,15 +3883,15 @@ var V = class {
|
|
|
3796
3883
|
options: [
|
|
3797
3884
|
{
|
|
3798
3885
|
icon: "format_align_left",
|
|
3799
|
-
value:
|
|
3886
|
+
value: D.Left
|
|
3800
3887
|
},
|
|
3801
3888
|
{
|
|
3802
3889
|
icon: "format_align_center",
|
|
3803
|
-
value:
|
|
3890
|
+
value: D.Center
|
|
3804
3891
|
},
|
|
3805
3892
|
{
|
|
3806
3893
|
icon: "format_align_right",
|
|
3807
|
-
value:
|
|
3894
|
+
value: D.Right
|
|
3808
3895
|
}
|
|
3809
3896
|
],
|
|
3810
3897
|
show: o,
|
|
@@ -3833,7 +3920,7 @@ var V = class {
|
|
|
3833
3920
|
direction: "vertical",
|
|
3834
3921
|
field: "fontFamily",
|
|
3835
3922
|
fontPickerConfigs: {
|
|
3836
|
-
api:
|
|
3923
|
+
api: z,
|
|
3837
3924
|
familyKey: "fontFamily",
|
|
3838
3925
|
styleKey: "fontStyle",
|
|
3839
3926
|
weightKey: "fontWeight"
|
|
@@ -3841,7 +3928,7 @@ var V = class {
|
|
|
3841
3928
|
hidden: !0
|
|
3842
3929
|
}] : [],
|
|
3843
3930
|
{
|
|
3844
|
-
...
|
|
3931
|
+
...R,
|
|
3845
3932
|
configOrder: 3,
|
|
3846
3933
|
controlType: "input",
|
|
3847
3934
|
field: "fontSize",
|
|
@@ -3873,14 +3960,14 @@ var V = class {
|
|
|
3873
3960
|
},
|
|
3874
3961
|
{
|
|
3875
3962
|
children: [{
|
|
3876
|
-
...
|
|
3963
|
+
...R,
|
|
3877
3964
|
controlType: "input",
|
|
3878
3965
|
id: "minWidth",
|
|
3879
3966
|
inputConfigs: { label: e.term("minWidth") },
|
|
3880
3967
|
name: "minWidth",
|
|
3881
3968
|
width: "50%"
|
|
3882
3969
|
}, {
|
|
3883
|
-
...
|
|
3970
|
+
...R,
|
|
3884
3971
|
controlType: "input",
|
|
3885
3972
|
id: "maxWidth",
|
|
3886
3973
|
inputConfigs: { label: e.term("maxWidth") },
|
|
@@ -3907,15 +3994,15 @@ var V = class {
|
|
|
3907
3994
|
options: [
|
|
3908
3995
|
{
|
|
3909
3996
|
icon: "format_align_left",
|
|
3910
|
-
value:
|
|
3997
|
+
value: D.Left
|
|
3911
3998
|
},
|
|
3912
3999
|
{
|
|
3913
4000
|
icon: "format_align_center",
|
|
3914
|
-
value:
|
|
4001
|
+
value: D.Center
|
|
3915
4002
|
},
|
|
3916
4003
|
{
|
|
3917
4004
|
icon: "format_align_right",
|
|
3918
|
-
value:
|
|
4005
|
+
value: D.Right
|
|
3919
4006
|
}
|
|
3920
4007
|
],
|
|
3921
4008
|
title: e.term("alignment")
|
|
@@ -3932,7 +4019,7 @@ var V = class {
|
|
|
3932
4019
|
type: "decorative"
|
|
3933
4020
|
},
|
|
3934
4021
|
...r ? n.getFontPickerControls({
|
|
3935
|
-
api:
|
|
4022
|
+
api: z,
|
|
3936
4023
|
direction: "vertical",
|
|
3937
4024
|
familyKey: i,
|
|
3938
4025
|
id: i,
|
|
@@ -4010,22 +4097,22 @@ var V = class {
|
|
|
4010
4097
|
name: "variant",
|
|
4011
4098
|
options: [
|
|
4012
4099
|
{
|
|
4013
|
-
children:
|
|
4100
|
+
children: fr,
|
|
4014
4101
|
id: "table",
|
|
4015
4102
|
name: e.term("table"),
|
|
4016
|
-
value:
|
|
4103
|
+
value: E.Table
|
|
4017
4104
|
},
|
|
4018
4105
|
{
|
|
4019
|
-
children:
|
|
4106
|
+
children: pr,
|
|
4020
4107
|
id: "grid",
|
|
4021
4108
|
name: e.term("grid"),
|
|
4022
|
-
value:
|
|
4109
|
+
value: E.Grid
|
|
4023
4110
|
},
|
|
4024
4111
|
{
|
|
4025
|
-
children:
|
|
4112
|
+
children: mr,
|
|
4026
4113
|
id: "circles",
|
|
4027
4114
|
name: e.term("circles"),
|
|
4028
|
-
value:
|
|
4115
|
+
value: E.Circles
|
|
4029
4116
|
}
|
|
4030
4117
|
],
|
|
4031
4118
|
type: "attribute"
|
|
@@ -4114,7 +4201,7 @@ var V = class {
|
|
|
4114
4201
|
},
|
|
4115
4202
|
{
|
|
4116
4203
|
...n.getStyleControl("--padding"),
|
|
4117
|
-
callback:
|
|
4204
|
+
callback: gr("--row-padding"),
|
|
4118
4205
|
id: "--row-padding",
|
|
4119
4206
|
label: e.term("rowsPaddings"),
|
|
4120
4207
|
name: "row-padding",
|
|
@@ -4146,15 +4233,15 @@ var V = class {
|
|
|
4146
4233
|
options: [
|
|
4147
4234
|
{
|
|
4148
4235
|
name: e.term("paletteTitle"),
|
|
4149
|
-
value:
|
|
4236
|
+
value: w.PaletteName
|
|
4150
4237
|
},
|
|
4151
4238
|
{
|
|
4152
4239
|
name: e.term("columnTitles"),
|
|
4153
|
-
value:
|
|
4240
|
+
value: w.ColumnTitles
|
|
4154
4241
|
},
|
|
4155
4242
|
{
|
|
4156
4243
|
name: e.term("separatorLine"),
|
|
4157
|
-
value:
|
|
4244
|
+
value: w.SeparatorLine
|
|
4158
4245
|
}
|
|
4159
4246
|
],
|
|
4160
4247
|
show: o,
|
|
@@ -4190,7 +4277,7 @@ var V = class {
|
|
|
4190
4277
|
editDialogLabel: e.term("editCustomColumn"),
|
|
4191
4278
|
noHeader: !0,
|
|
4192
4279
|
sampleItem: {
|
|
4193
|
-
...
|
|
4280
|
+
...je,
|
|
4194
4281
|
name: ""
|
|
4195
4282
|
}
|
|
4196
4283
|
},
|
|
@@ -4457,15 +4544,15 @@ var V = class {
|
|
|
4457
4544
|
}
|
|
4458
4545
|
];
|
|
4459
4546
|
},
|
|
4460
|
-
defaultValue:
|
|
4547
|
+
defaultValue: hr,
|
|
4461
4548
|
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(".")
|
|
4462
|
-
},
|
|
4549
|
+
}, W = /* @__PURE__ */ function(e) {
|
|
4463
4550
|
return e.Adaptive = "adaptive", e.Default = "default", e.Fill = "fill", e.Fit = "fit", e.Fixed = "fixed", e.PageWidth = "page-width", e;
|
|
4464
|
-
}({}),
|
|
4551
|
+
}({}), G = /* @__PURE__ */ function(e) {
|
|
4465
4552
|
return e.Fill = "fill", e.Fit = "fit", e.Fixed = "fixed", e.PageWidth = "page-width", e.Relative = "relative", e;
|
|
4466
|
-
}({}),
|
|
4553
|
+
}({}), vr = {
|
|
4467
4554
|
configs: (e, t = {}) => {
|
|
4468
|
-
let n = new
|
|
4555
|
+
let n = new B(e), { enableAssetFormatControls: r = !1 } = t;
|
|
4469
4556
|
return [
|
|
4470
4557
|
...[
|
|
4471
4558
|
"background-record-id",
|
|
@@ -4490,7 +4577,7 @@ var V = class {
|
|
|
4490
4577
|
children: [{
|
|
4491
4578
|
callback: ({ record: e, value: t }) => ({
|
|
4492
4579
|
...e,
|
|
4493
|
-
"custom-width": t ===
|
|
4580
|
+
"custom-width": t === W.Fixed
|
|
4494
4581
|
}),
|
|
4495
4582
|
clearable: !1,
|
|
4496
4583
|
controlType: "select",
|
|
@@ -4499,39 +4586,39 @@ var V = class {
|
|
|
4499
4586
|
options: [
|
|
4500
4587
|
{
|
|
4501
4588
|
helpText: e.term("inheritsWidthSettingFromContainer"),
|
|
4502
|
-
id:
|
|
4589
|
+
id: W.Default,
|
|
4503
4590
|
name: e.term("default"),
|
|
4504
|
-
value:
|
|
4591
|
+
value: W.Default
|
|
4505
4592
|
},
|
|
4506
4593
|
{
|
|
4507
4594
|
helpText: e.term("adjustSizeToHugTheContent"),
|
|
4508
|
-
id:
|
|
4595
|
+
id: W.Fit,
|
|
4509
4596
|
name: e.term("hugContent"),
|
|
4510
|
-
value:
|
|
4597
|
+
value: W.Fit
|
|
4511
4598
|
},
|
|
4512
4599
|
{
|
|
4513
4600
|
helpText: e.term("stretchesToFillTheContainer"),
|
|
4514
|
-
id:
|
|
4601
|
+
id: W.Fill,
|
|
4515
4602
|
name: e.term("fillContainer"),
|
|
4516
|
-
value:
|
|
4603
|
+
value: W.Fill
|
|
4517
4604
|
},
|
|
4518
4605
|
{
|
|
4519
4606
|
helpText: e.term("hugContentOnDesktopAndStretchesToFullWidthOnMobile"),
|
|
4520
|
-
id:
|
|
4607
|
+
id: W.Adaptive,
|
|
4521
4608
|
name: e.term("adaptive"),
|
|
4522
|
-
value:
|
|
4609
|
+
value: W.Adaptive
|
|
4523
4610
|
},
|
|
4524
4611
|
{
|
|
4525
4612
|
helpText: e.term("specificWidthInPixelsOrPercentage"),
|
|
4526
|
-
id:
|
|
4613
|
+
id: W.Fixed,
|
|
4527
4614
|
name: e.term("fixed"),
|
|
4528
|
-
value:
|
|
4615
|
+
value: W.Fixed
|
|
4529
4616
|
},
|
|
4530
4617
|
{
|
|
4531
4618
|
helpText: e.term("staysAsWideAsThePageInsideAFullBleedBlock"),
|
|
4532
|
-
id:
|
|
4619
|
+
id: W.PageWidth,
|
|
4533
4620
|
name: e.term("matchPageWidth"),
|
|
4534
|
-
value:
|
|
4621
|
+
value: W.PageWidth
|
|
4535
4622
|
}
|
|
4536
4623
|
],
|
|
4537
4624
|
selectConfigs: {
|
|
@@ -4539,7 +4626,7 @@ var V = class {
|
|
|
4539
4626
|
placement: "bottom-start"
|
|
4540
4627
|
},
|
|
4541
4628
|
type: "attribute",
|
|
4542
|
-
width: (e) => e["width-mode"] ===
|
|
4629
|
+
width: (e) => e["width-mode"] === W.Fixed ? "50%" : "100%"
|
|
4543
4630
|
}, {
|
|
4544
4631
|
...n.getStyleControl("--width"),
|
|
4545
4632
|
id: "--custom-width",
|
|
@@ -4557,7 +4644,7 @@ var V = class {
|
|
|
4557
4644
|
} },
|
|
4558
4645
|
mask: "num",
|
|
4559
4646
|
name: "custom-width",
|
|
4560
|
-
show: (e) => e["width-mode"] ===
|
|
4647
|
+
show: (e) => e["width-mode"] === W.Fixed,
|
|
4561
4648
|
type: "style",
|
|
4562
4649
|
width: "50%"
|
|
4563
4650
|
}],
|
|
@@ -4650,8 +4737,8 @@ var V = class {
|
|
|
4650
4737
|
"background-transformations": "[]",
|
|
4651
4738
|
"custom-width": !1,
|
|
4652
4739
|
trigger: "manual",
|
|
4653
|
-
"width-mode":
|
|
4654
|
-
"width-type":
|
|
4740
|
+
"width-mode": W.Default,
|
|
4741
|
+
"width-type": G.Fill
|
|
4655
4742
|
},
|
|
4656
4743
|
stylable: [
|
|
4657
4744
|
"--align-items",
|
|
@@ -4663,9 +4750,9 @@ var V = class {
|
|
|
4663
4750
|
"--border-radius",
|
|
4664
4751
|
"--custom-width"
|
|
4665
4752
|
]
|
|
4666
|
-
},
|
|
4753
|
+
}, yr = {
|
|
4667
4754
|
configs: (e, t = {}) => {
|
|
4668
|
-
let n = new
|
|
4755
|
+
let n = new B(e), { enableAssetFormatControls: r = !1 } = t;
|
|
4669
4756
|
return [
|
|
4670
4757
|
...[...r ? ["background-format", "background-manual-format"] : []].map((e) => ({
|
|
4671
4758
|
controlType: "placeholder",
|
|
@@ -4690,33 +4777,33 @@ var V = class {
|
|
|
4690
4777
|
options: [
|
|
4691
4778
|
{
|
|
4692
4779
|
helpText: e.term("stretchesToFillTheContainer"),
|
|
4693
|
-
id:
|
|
4780
|
+
id: G.Fill,
|
|
4694
4781
|
name: e.term("fillContainer"),
|
|
4695
|
-
value:
|
|
4782
|
+
value: G.Fill
|
|
4696
4783
|
},
|
|
4697
4784
|
{
|
|
4698
4785
|
helpText: e.term("adjustSizeToHugTheContent"),
|
|
4699
|
-
id:
|
|
4786
|
+
id: G.Fit,
|
|
4700
4787
|
name: e.term("hugContent"),
|
|
4701
|
-
value:
|
|
4788
|
+
value: G.Fit
|
|
4702
4789
|
},
|
|
4703
4790
|
{
|
|
4704
4791
|
helpText: e.term("specifiedWidthInPixels"),
|
|
4705
|
-
id:
|
|
4792
|
+
id: G.Fixed,
|
|
4706
4793
|
name: e.term("fixed"),
|
|
4707
|
-
value:
|
|
4794
|
+
value: G.Fixed
|
|
4708
4795
|
},
|
|
4709
4796
|
{
|
|
4710
4797
|
helpText: e.term("specifiedWidthAsPercentageOfContainer"),
|
|
4711
|
-
id:
|
|
4798
|
+
id: G.Relative,
|
|
4712
4799
|
name: e.term("relative"),
|
|
4713
|
-
value:
|
|
4800
|
+
value: G.Relative
|
|
4714
4801
|
},
|
|
4715
4802
|
{
|
|
4716
4803
|
helpText: e.term("staysAsWideAsThePageInsideAFullBleedBlock"),
|
|
4717
|
-
id:
|
|
4804
|
+
id: G.PageWidth,
|
|
4718
4805
|
name: e.term("matchPageWidth"),
|
|
4719
|
-
value:
|
|
4806
|
+
value: G.PageWidth
|
|
4720
4807
|
}
|
|
4721
4808
|
],
|
|
4722
4809
|
selectConfigs: {
|
|
@@ -4724,13 +4811,13 @@ var V = class {
|
|
|
4724
4811
|
placement: "bottom-start"
|
|
4725
4812
|
},
|
|
4726
4813
|
type: "attribute",
|
|
4727
|
-
width: (e) => e["width-type"] ===
|
|
4814
|
+
width: (e) => e["width-type"] === G.Fill || e["width-type"] === G.Fit || e["width-type"] === G.PageWidth ? "100%" : "50%"
|
|
4728
4815
|
},
|
|
4729
4816
|
{
|
|
4730
4817
|
...n.getStyleControl("--width"),
|
|
4731
4818
|
id: "--column-width-fixed",
|
|
4732
4819
|
name: "column-width-fixed",
|
|
4733
|
-
show: (e) => e["width-type"] ===
|
|
4820
|
+
show: (e) => e["width-type"] === G.Fixed,
|
|
4734
4821
|
width: "50%"
|
|
4735
4822
|
},
|
|
4736
4823
|
{
|
|
@@ -4745,7 +4832,7 @@ var V = class {
|
|
|
4745
4832
|
thousandsSeparator: ""
|
|
4746
4833
|
} },
|
|
4747
4834
|
name: "column-width-relative",
|
|
4748
|
-
show: (e) => e["width-type"] ===
|
|
4835
|
+
show: (e) => e["width-type"] === G.Relative,
|
|
4749
4836
|
width: "50%"
|
|
4750
4837
|
}
|
|
4751
4838
|
],
|
|
@@ -4768,7 +4855,7 @@ var V = class {
|
|
|
4768
4855
|
id: "data-constraints",
|
|
4769
4856
|
label: e.term("constraints"),
|
|
4770
4857
|
name: "data-constraints",
|
|
4771
|
-
show: (e) => e["width-type"] !==
|
|
4858
|
+
show: (e) => e["width-type"] !== G.PageWidth,
|
|
4772
4859
|
type: "attribute"
|
|
4773
4860
|
},
|
|
4774
4861
|
{
|
|
@@ -4794,7 +4881,7 @@ var V = class {
|
|
|
4794
4881
|
id: "constraints",
|
|
4795
4882
|
label: "",
|
|
4796
4883
|
name: "constraints",
|
|
4797
|
-
show: (e) => e["data-constraints"] && e["width-type"] !==
|
|
4884
|
+
show: (e) => e["data-constraints"] && e["width-type"] !== G.PageWidth
|
|
4798
4885
|
},
|
|
4799
4886
|
{
|
|
4800
4887
|
...n.getStyleControl("--flex-wrap"),
|
|
@@ -4896,7 +4983,7 @@ var V = class {
|
|
|
4896
4983
|
"background-transformations": "[]",
|
|
4897
4984
|
"data-constraints": !1,
|
|
4898
4985
|
"full-bleed": !1,
|
|
4899
|
-
"width-type":
|
|
4986
|
+
"width-type": G.Fill
|
|
4900
4987
|
},
|
|
4901
4988
|
stylable: [
|
|
4902
4989
|
"--background-color",
|
|
@@ -4917,7 +5004,7 @@ var V = class {
|
|
|
4917
5004
|
"--column-max-width",
|
|
4918
5005
|
"--column-min-width"
|
|
4919
5006
|
]
|
|
4920
|
-
},
|
|
5007
|
+
}, br = {
|
|
4921
5008
|
"allow-asset-selection": !1,
|
|
4922
5009
|
"apply-border-radius-to-panels": !0,
|
|
4923
5010
|
"asset-statuses": "",
|
|
@@ -4968,26 +5055,26 @@ var V = class {
|
|
|
4968
5055
|
"show-top-pagination": !1,
|
|
4969
5056
|
"show-view-and-sort": !1
|
|
4970
5057
|
};
|
|
4971
|
-
async function
|
|
4972
|
-
return { data: (await
|
|
5058
|
+
async function xr() {
|
|
5059
|
+
return { data: (await _n()).map((e) => ({
|
|
4973
5060
|
label: e.name,
|
|
4974
5061
|
value: e.id
|
|
4975
5062
|
})) };
|
|
4976
5063
|
}
|
|
4977
|
-
async function
|
|
4978
|
-
return { data: (await
|
|
5064
|
+
async function Sr() {
|
|
5065
|
+
return { data: (await mn()).map((e) => ({
|
|
4979
5066
|
label: e.name,
|
|
4980
5067
|
value: e.id
|
|
4981
5068
|
})) };
|
|
4982
5069
|
}
|
|
4983
|
-
async function
|
|
4984
|
-
return { data: (await
|
|
5070
|
+
async function Cr() {
|
|
5071
|
+
return { data: (await pn()).map((e) => ({
|
|
4985
5072
|
label: e.label,
|
|
4986
5073
|
value: e.value
|
|
4987
5074
|
})) };
|
|
4988
5075
|
}
|
|
4989
|
-
async function
|
|
4990
|
-
return { data: (await
|
|
5076
|
+
async function wr() {
|
|
5077
|
+
return { data: (await fn()).map((e) => ({
|
|
4991
5078
|
extra: {
|
|
4992
5079
|
description: e.description,
|
|
4993
5080
|
securityPoint: e.securityPoint
|
|
@@ -4997,8 +5084,8 @@ async function er() {
|
|
|
4997
5084
|
value: e.name
|
|
4998
5085
|
})) };
|
|
4999
5086
|
}
|
|
5000
|
-
async function
|
|
5001
|
-
return { data: (await
|
|
5087
|
+
async function Tr() {
|
|
5088
|
+
return { data: (await fn()).filter((e) => e.type !== Pt.AdditionalFilter).map((e) => ({
|
|
5002
5089
|
extra: {
|
|
5003
5090
|
description: e.description,
|
|
5004
5091
|
securityPoint: e.securityPoint
|
|
@@ -5008,8 +5095,8 @@ async function tr() {
|
|
|
5008
5095
|
value: e.name
|
|
5009
5096
|
})) };
|
|
5010
5097
|
}
|
|
5011
|
-
async function
|
|
5012
|
-
return { data: (await
|
|
5098
|
+
async function Er() {
|
|
5099
|
+
return { data: (await fn({ additionalFilterOnly: !0 })).map((e) => ({
|
|
5013
5100
|
extra: {
|
|
5014
5101
|
description: e.description,
|
|
5015
5102
|
securityPoint: e.securityPoint
|
|
@@ -5019,8 +5106,8 @@ async function nr() {
|
|
|
5019
5106
|
value: e.name
|
|
5020
5107
|
})) };
|
|
5021
5108
|
}
|
|
5022
|
-
async function
|
|
5023
|
-
let { grouped: e } = await
|
|
5109
|
+
async function Dr() {
|
|
5110
|
+
let { grouped: e } = await yn();
|
|
5024
5111
|
return Object.entries(e).map(([e, t]) => ({
|
|
5025
5112
|
label: e.replaceAll("_", " "),
|
|
5026
5113
|
subOptions: Object.entries(t).map(([e, t]) => ({
|
|
@@ -5030,22 +5117,22 @@ async function rr() {
|
|
|
5030
5117
|
value: Object.values(t)[0]?.typeDbBOName ?? ""
|
|
5031
5118
|
}));
|
|
5032
5119
|
}
|
|
5033
|
-
async function
|
|
5034
|
-
return { data: (await
|
|
5120
|
+
async function Or() {
|
|
5121
|
+
return { data: (await dn()).map((e) => ({
|
|
5035
5122
|
label: e.name,
|
|
5036
5123
|
value: e.id
|
|
5037
5124
|
})) };
|
|
5038
5125
|
}
|
|
5039
|
-
var
|
|
5126
|
+
var kr = {
|
|
5040
5127
|
configs: (e) => {
|
|
5041
|
-
let t = new
|
|
5128
|
+
let t = new B(e);
|
|
5042
5129
|
return [
|
|
5043
5130
|
{
|
|
5044
5131
|
controlType: "folder-picker",
|
|
5045
5132
|
folderPickerConfigs: {
|
|
5046
5133
|
useAllowedFolders: !0,
|
|
5047
5134
|
useFullPath: !0,
|
|
5048
|
-
variant:
|
|
5135
|
+
variant: Ae.Select
|
|
5049
5136
|
},
|
|
5050
5137
|
id: "default-folders",
|
|
5051
5138
|
label: e.term("defaultFolders"),
|
|
@@ -5092,7 +5179,7 @@ var ar = {
|
|
|
5092
5179
|
type: "attribute"
|
|
5093
5180
|
},
|
|
5094
5181
|
{
|
|
5095
|
-
api:
|
|
5182
|
+
api: wr,
|
|
5096
5183
|
clearable: !1,
|
|
5097
5184
|
controlType: "select",
|
|
5098
5185
|
id: "left-default-panel",
|
|
@@ -5121,7 +5208,7 @@ var ar = {
|
|
|
5121
5208
|
type: "attribute"
|
|
5122
5209
|
},
|
|
5123
5210
|
{
|
|
5124
|
-
api:
|
|
5211
|
+
api: Tr,
|
|
5125
5212
|
controlType: "select",
|
|
5126
5213
|
id: "left-available-panels",
|
|
5127
5214
|
label: e.term("availablePanels"),
|
|
@@ -5150,7 +5237,7 @@ var ar = {
|
|
|
5150
5237
|
type: "attribute"
|
|
5151
5238
|
},
|
|
5152
5239
|
{
|
|
5153
|
-
api:
|
|
5240
|
+
api: Er,
|
|
5154
5241
|
controlType: "select",
|
|
5155
5242
|
id: "left-additional-filters",
|
|
5156
5243
|
label: e.term("additionalFilters"),
|
|
@@ -5199,7 +5286,7 @@ var ar = {
|
|
|
5199
5286
|
controlType: "input",
|
|
5200
5287
|
id: "left-panel-default-width",
|
|
5201
5288
|
label: e.term("defaultWidth"),
|
|
5202
|
-
...
|
|
5289
|
+
...R,
|
|
5203
5290
|
name: "left-panel-default-width",
|
|
5204
5291
|
show: (e) => !!e["show-left-panel"],
|
|
5205
5292
|
tab: "sidePanels",
|
|
@@ -5222,7 +5309,7 @@ var ar = {
|
|
|
5222
5309
|
type: "attribute"
|
|
5223
5310
|
},
|
|
5224
5311
|
{
|
|
5225
|
-
api:
|
|
5312
|
+
api: wr,
|
|
5226
5313
|
clearable: !1,
|
|
5227
5314
|
controlType: "select",
|
|
5228
5315
|
id: "right-default-panel",
|
|
@@ -5251,7 +5338,7 @@ var ar = {
|
|
|
5251
5338
|
type: "attribute"
|
|
5252
5339
|
},
|
|
5253
5340
|
{
|
|
5254
|
-
api:
|
|
5341
|
+
api: Tr,
|
|
5255
5342
|
controlType: "select",
|
|
5256
5343
|
id: "right-available-panels",
|
|
5257
5344
|
label: e.term("availablePanels"),
|
|
@@ -5280,7 +5367,7 @@ var ar = {
|
|
|
5280
5367
|
type: "attribute"
|
|
5281
5368
|
},
|
|
5282
5369
|
{
|
|
5283
|
-
api:
|
|
5370
|
+
api: Er,
|
|
5284
5371
|
controlType: "select",
|
|
5285
5372
|
id: "right-additional-filters",
|
|
5286
5373
|
label: e.term("additionalFilters"),
|
|
@@ -5329,7 +5416,7 @@ var ar = {
|
|
|
5329
5416
|
controlType: "input",
|
|
5330
5417
|
id: "right-panel-default-width",
|
|
5331
5418
|
label: e.term("defaultWidth"),
|
|
5332
|
-
...
|
|
5419
|
+
...R,
|
|
5333
5420
|
name: "right-panel-default-width",
|
|
5334
5421
|
show: (e) => !!e["show-right-panel"],
|
|
5335
5422
|
tab: "sidePanels",
|
|
@@ -5344,7 +5431,7 @@ var ar = {
|
|
|
5344
5431
|
type: "decorative"
|
|
5345
5432
|
},
|
|
5346
5433
|
{
|
|
5347
|
-
api:
|
|
5434
|
+
api: Cr,
|
|
5348
5435
|
clearable: !1,
|
|
5349
5436
|
controlType: "select",
|
|
5350
5437
|
id: "folder-hierarchy",
|
|
@@ -5359,7 +5446,7 @@ var ar = {
|
|
|
5359
5446
|
folderPickerConfigs: {
|
|
5360
5447
|
useAllowedFolders: !0,
|
|
5361
5448
|
useFullPath: !0,
|
|
5362
|
-
variant:
|
|
5449
|
+
variant: Ae.Select
|
|
5363
5450
|
},
|
|
5364
5451
|
id: "expanded-folders",
|
|
5365
5452
|
label: e.term("expandedFolders"),
|
|
@@ -5525,7 +5612,7 @@ var ar = {
|
|
|
5525
5612
|
type: "decorative"
|
|
5526
5613
|
},
|
|
5527
5614
|
{
|
|
5528
|
-
api:
|
|
5615
|
+
api: Er,
|
|
5529
5616
|
controlType: "select",
|
|
5530
5617
|
id: "filter-button-action",
|
|
5531
5618
|
label: e.term("filterButtonOpens"),
|
|
@@ -5580,8 +5667,8 @@ var ar = {
|
|
|
5580
5667
|
editDialogLabel: e.term("editCustomButton"),
|
|
5581
5668
|
sampleItem: {
|
|
5582
5669
|
accessLevel: "",
|
|
5583
|
-
action:
|
|
5584
|
-
appearance:
|
|
5670
|
+
action: j.OpenForm,
|
|
5671
|
+
appearance: A.LabelOnly,
|
|
5585
5672
|
formId: "",
|
|
5586
5673
|
icon: "",
|
|
5587
5674
|
label: "",
|
|
@@ -5594,7 +5681,7 @@ var ar = {
|
|
|
5594
5681
|
recordType: "",
|
|
5595
5682
|
spaceId: "",
|
|
5596
5683
|
tooltip: "",
|
|
5597
|
-
type:
|
|
5684
|
+
type: Nt.Secondary,
|
|
5598
5685
|
workflowId: ""
|
|
5599
5686
|
}
|
|
5600
5687
|
},
|
|
@@ -5611,7 +5698,7 @@ var ar = {
|
|
|
5611
5698
|
type: "decorative"
|
|
5612
5699
|
},
|
|
5613
5700
|
{
|
|
5614
|
-
api:
|
|
5701
|
+
api: Sr,
|
|
5615
5702
|
controlType: "select",
|
|
5616
5703
|
id: "available-views",
|
|
5617
5704
|
label: e.term("availableViews"),
|
|
@@ -5622,7 +5709,7 @@ var ar = {
|
|
|
5622
5709
|
type: "attribute"
|
|
5623
5710
|
},
|
|
5624
5711
|
{
|
|
5625
|
-
api:
|
|
5712
|
+
api: Sr,
|
|
5626
5713
|
clearable: !1,
|
|
5627
5714
|
controlType: "select",
|
|
5628
5715
|
id: "default-view",
|
|
@@ -5642,7 +5729,7 @@ var ar = {
|
|
|
5642
5729
|
type: "decorative"
|
|
5643
5730
|
},
|
|
5644
5731
|
{
|
|
5645
|
-
api:
|
|
5732
|
+
api: xr,
|
|
5646
5733
|
controlType: "select",
|
|
5647
5734
|
id: "available-sort-orders",
|
|
5648
5735
|
label: e.term("availableSortOrders"),
|
|
@@ -5653,7 +5740,7 @@ var ar = {
|
|
|
5653
5740
|
type: "attribute"
|
|
5654
5741
|
},
|
|
5655
5742
|
{
|
|
5656
|
-
api:
|
|
5743
|
+
api: xr,
|
|
5657
5744
|
clearable: !1,
|
|
5658
5745
|
controlType: "select",
|
|
5659
5746
|
id: "default-sort-order",
|
|
@@ -5680,12 +5767,12 @@ var ar = {
|
|
|
5680
5767
|
tab: "appearance",
|
|
5681
5768
|
type: "attribute",
|
|
5682
5769
|
typeSubtypeSelectConfigs: {
|
|
5683
|
-
api:
|
|
5770
|
+
api: Dr,
|
|
5684
5771
|
multiple: !0
|
|
5685
5772
|
}
|
|
5686
5773
|
},
|
|
5687
5774
|
{
|
|
5688
|
-
api:
|
|
5775
|
+
api: Or,
|
|
5689
5776
|
controlType: "select",
|
|
5690
5777
|
id: "asset-statuses",
|
|
5691
5778
|
label: e.term("assetStatuses"),
|
|
@@ -5751,7 +5838,7 @@ var ar = {
|
|
|
5751
5838
|
controlType: "input",
|
|
5752
5839
|
id: "data-grid-rows-desktop",
|
|
5753
5840
|
inputConfigs: { label: e.term("desktopAndTablet") },
|
|
5754
|
-
...
|
|
5841
|
+
...L,
|
|
5755
5842
|
name: "data-grid-rows-desktop",
|
|
5756
5843
|
tab: "styling",
|
|
5757
5844
|
type: "attribute",
|
|
@@ -5760,7 +5847,7 @@ var ar = {
|
|
|
5760
5847
|
controlType: "input",
|
|
5761
5848
|
id: "data-grid-rows-mobile",
|
|
5762
5849
|
inputConfigs: { label: e.term("mobile") },
|
|
5763
|
-
...
|
|
5850
|
+
...L,
|
|
5764
5851
|
name: "data-grid-rows-mobile",
|
|
5765
5852
|
tab: "styling",
|
|
5766
5853
|
type: "attribute",
|
|
@@ -5824,7 +5911,7 @@ var ar = {
|
|
|
5824
5911
|
t.getStyleControl("--border")
|
|
5825
5912
|
];
|
|
5826
5913
|
},
|
|
5827
|
-
defaultValue:
|
|
5914
|
+
defaultValue: br,
|
|
5828
5915
|
stylable: [
|
|
5829
5916
|
"--background-color",
|
|
5830
5917
|
"--border",
|
|
@@ -5841,9 +5928,9 @@ var ar = {
|
|
|
5841
5928
|
"--padding-right",
|
|
5842
5929
|
"--padding-top"
|
|
5843
5930
|
]
|
|
5844
|
-
},
|
|
5931
|
+
}, Ar = {
|
|
5845
5932
|
configs: (e) => {
|
|
5846
|
-
let t = new
|
|
5933
|
+
let t = new B(e);
|
|
5847
5934
|
return [
|
|
5848
5935
|
...["use-padding"].map((e) => ({
|
|
5849
5936
|
controlType: "placeholder",
|
|
@@ -5903,7 +5990,7 @@ var ar = {
|
|
|
5903
5990
|
"--margin-right",
|
|
5904
5991
|
"--margin-top"
|
|
5905
5992
|
]
|
|
5906
|
-
},
|
|
5993
|
+
}, jr = {
|
|
5907
5994
|
"can-open-asset": !1,
|
|
5908
5995
|
"data-width-percent": "100%",
|
|
5909
5996
|
"data-width-pixel": "",
|
|
@@ -5917,9 +6004,9 @@ var ar = {
|
|
|
5917
6004
|
representative: "",
|
|
5918
6005
|
src: "",
|
|
5919
6006
|
width: ""
|
|
5920
|
-
},
|
|
6007
|
+
}, Mr = /* @__PURE__ */ new Set([".pdf", ".pptx"]), Nr = {
|
|
5921
6008
|
configs: (e) => {
|
|
5922
|
-
let t = new
|
|
6009
|
+
let t = new B(e);
|
|
5923
6010
|
return [
|
|
5924
6011
|
...[
|
|
5925
6012
|
"data-width-percent",
|
|
@@ -5939,7 +6026,7 @@ var ar = {
|
|
|
5939
6026
|
callback: ({ extraValue: e, record: t }) => ({
|
|
5940
6027
|
...t,
|
|
5941
6028
|
extension: e?.extension ?? "",
|
|
5942
|
-
"height-mode": typeof e?.extension == "string" &&
|
|
6029
|
+
"height-mode": typeof e?.extension == "string" && Mr.has(e.extension) ? c.Fixed : t["height-mode"],
|
|
5943
6030
|
identifier: e?.identifier ?? "",
|
|
5944
6031
|
name: e?.name ?? "",
|
|
5945
6032
|
"record-id": e?.id ?? "",
|
|
@@ -6015,7 +6102,7 @@ var ar = {
|
|
|
6015
6102
|
name: e.term("custom"),
|
|
6016
6103
|
value: c.Fixed
|
|
6017
6104
|
}],
|
|
6018
|
-
show: (e) => !(typeof e.extension == "string" &&
|
|
6105
|
+
show: (e) => !(typeof e.extension == "string" && Mr.has(e.extension)),
|
|
6019
6106
|
type: "attribute",
|
|
6020
6107
|
width: (e) => {
|
|
6021
6108
|
let t = e["height-mode"] === c.Fixed;
|
|
@@ -6031,7 +6118,7 @@ var ar = {
|
|
|
6031
6118
|
skipShowCheck: !0,
|
|
6032
6119
|
type: "attribute",
|
|
6033
6120
|
width: (e) => {
|
|
6034
|
-
let t = typeof e.extension == "string" &&
|
|
6121
|
+
let t = typeof e.extension == "string" && Mr.has(e.extension);
|
|
6035
6122
|
return e["full-bleed"] ? t ? "100%" : "50%" : t ? "55%" : "25%";
|
|
6036
6123
|
}
|
|
6037
6124
|
}
|
|
@@ -6057,7 +6144,7 @@ var ar = {
|
|
|
6057
6144
|
t.getStyleControl("--margin")
|
|
6058
6145
|
];
|
|
6059
6146
|
},
|
|
6060
|
-
defaultValue:
|
|
6147
|
+
defaultValue: jr,
|
|
6061
6148
|
stylable: [
|
|
6062
6149
|
"--border",
|
|
6063
6150
|
"--border-radius",
|
|
@@ -6068,22 +6155,22 @@ var ar = {
|
|
|
6068
6155
|
"--margin-top",
|
|
6069
6156
|
"--width"
|
|
6070
6157
|
]
|
|
6071
|
-
},
|
|
6158
|
+
}, Pr = /* @__PURE__ */ function(e) {
|
|
6072
6159
|
return e.Cff = "cff", e.TrueType = "truetype", e;
|
|
6073
|
-
}({}),
|
|
6160
|
+
}({}), K = /* @__PURE__ */ function(e) {
|
|
6074
6161
|
return e.Hidden = "hidden", e.WholeKit = "whole-kit", e.WholeKitAndIndividual = "whole-kit-and-individual", e;
|
|
6075
|
-
}({}),
|
|
6162
|
+
}({}), q = /* @__PURE__ */ function(e) {
|
|
6076
6163
|
return e.Custom = "custom", e.Primary = "primary", e.Secondary = "secondary", e;
|
|
6077
|
-
}({}),
|
|
6164
|
+
}({}), J = /* @__PURE__ */ function(e) {
|
|
6078
6165
|
return e.Custom = "custom", e.Large = "large", e.Medium = "medium", e.Small = "small", e;
|
|
6079
|
-
}({}),
|
|
6080
|
-
"download-appearance":
|
|
6166
|
+
}({}), Fr = {
|
|
6167
|
+
"download-appearance": q.Primary,
|
|
6081
6168
|
"download-icon": JSON.stringify({
|
|
6082
6169
|
name: "cloud_download",
|
|
6083
6170
|
src: ""
|
|
6084
6171
|
}),
|
|
6085
|
-
"download-mode":
|
|
6086
|
-
"download-size":
|
|
6172
|
+
"download-mode": K.Hidden,
|
|
6173
|
+
"download-size": J.Medium,
|
|
6087
6174
|
"download-text": "Download font kit",
|
|
6088
6175
|
"download-width-type": a.Hug,
|
|
6089
6176
|
"full-bleed": !1,
|
|
@@ -6096,9 +6183,9 @@ var ar = {
|
|
|
6096
6183
|
"preview-text": "Deliciously",
|
|
6097
6184
|
typefaces: "",
|
|
6098
6185
|
variant: "detailed"
|
|
6099
|
-
},
|
|
6186
|
+
}, Ir = 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>`, Lr = 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>`, Rr = {
|
|
6100
6187
|
configs: (e, t = {}) => {
|
|
6101
|
-
let n = new
|
|
6188
|
+
let n = new B(e), { enableFontFamilyControls: r = !1 } = t;
|
|
6102
6189
|
return [
|
|
6103
6190
|
...["name"].map((e) => ({
|
|
6104
6191
|
controlType: "placeholder",
|
|
@@ -6118,7 +6205,7 @@ var ar = {
|
|
|
6118
6205
|
...e,
|
|
6119
6206
|
"can-download": !1,
|
|
6120
6207
|
"can-separate-download": !1,
|
|
6121
|
-
"download-mode":
|
|
6208
|
+
"download-mode": K.Hidden,
|
|
6122
6209
|
name: "",
|
|
6123
6210
|
typefaces: ""
|
|
6124
6211
|
} : {
|
|
@@ -6310,12 +6397,12 @@ var ar = {
|
|
|
6310
6397
|
id: "variant",
|
|
6311
6398
|
name: "variant",
|
|
6312
6399
|
options: [{
|
|
6313
|
-
children:
|
|
6400
|
+
children: Ir,
|
|
6314
6401
|
id: "detailed",
|
|
6315
6402
|
name: e.term("detailed"),
|
|
6316
6403
|
value: "detailed"
|
|
6317
6404
|
}, {
|
|
6318
|
-
children:
|
|
6405
|
+
children: Lr,
|
|
6319
6406
|
id: "compact",
|
|
6320
6407
|
name: e.term("compact"),
|
|
6321
6408
|
value: "compact"
|
|
@@ -6337,19 +6424,19 @@ var ar = {
|
|
|
6337
6424
|
name: "download-mode",
|
|
6338
6425
|
options: [
|
|
6339
6426
|
{
|
|
6340
|
-
id:
|
|
6427
|
+
id: K.Hidden,
|
|
6341
6428
|
name: e.term("doNotShow"),
|
|
6342
|
-
value:
|
|
6429
|
+
value: K.Hidden
|
|
6343
6430
|
},
|
|
6344
6431
|
{
|
|
6345
|
-
id:
|
|
6432
|
+
id: K.WholeKit,
|
|
6346
6433
|
name: e.term("wholeKitOnly"),
|
|
6347
|
-
value:
|
|
6434
|
+
value: K.WholeKit
|
|
6348
6435
|
},
|
|
6349
6436
|
{
|
|
6350
|
-
id:
|
|
6437
|
+
id: K.WholeKitAndIndividual,
|
|
6351
6438
|
name: e.term("wholeKitAndIndividualFonts"),
|
|
6352
|
-
value:
|
|
6439
|
+
value: K.WholeKitAndIndividual
|
|
6353
6440
|
}
|
|
6354
6441
|
],
|
|
6355
6442
|
type: "attribute"
|
|
@@ -6359,7 +6446,7 @@ var ar = {
|
|
|
6359
6446
|
id: "download-appearance",
|
|
6360
6447
|
label: e.term("downloadButton"),
|
|
6361
6448
|
name: "download-appearance",
|
|
6362
|
-
show: (e) => e["download-mode"] ===
|
|
6449
|
+
show: (e) => e["download-mode"] === K.WholeKit || e["download-mode"] === K.WholeKitAndIndividual,
|
|
6363
6450
|
skipShowCheck: !0,
|
|
6364
6451
|
type: "decorative"
|
|
6365
6452
|
},
|
|
@@ -6368,7 +6455,7 @@ var ar = {
|
|
|
6368
6455
|
id: "--download-alignment",
|
|
6369
6456
|
label: e.term("alignment"),
|
|
6370
6457
|
name: "download-alignment",
|
|
6371
|
-
show: (e) => e["download-mode"] ===
|
|
6458
|
+
show: (e) => e["download-mode"] === K.WholeKit || e["download-mode"] === K.WholeKitAndIndividual,
|
|
6372
6459
|
skipShowCheck: !0
|
|
6373
6460
|
},
|
|
6374
6461
|
{
|
|
@@ -6376,7 +6463,7 @@ var ar = {
|
|
|
6376
6463
|
id: "download-text",
|
|
6377
6464
|
label: e.term("text"),
|
|
6378
6465
|
name: "download-text",
|
|
6379
|
-
show: (e) => e["download-mode"] ===
|
|
6466
|
+
show: (e) => e["download-mode"] === K.WholeKit || e["download-mode"] === K.WholeKitAndIndividual,
|
|
6380
6467
|
skipShowCheck: !0,
|
|
6381
6468
|
translatable: !0,
|
|
6382
6469
|
translateGroup: e.term("downloadButton"),
|
|
@@ -6408,7 +6495,7 @@ var ar = {
|
|
|
6408
6495
|
value: a.Adaptive
|
|
6409
6496
|
}
|
|
6410
6497
|
],
|
|
6411
|
-
show: (e) => e["download-mode"] ===
|
|
6498
|
+
show: (e) => e["download-mode"] === K.WholeKit || e["download-mode"] === K.WholeKitAndIndividual,
|
|
6412
6499
|
skipShowCheck: !0,
|
|
6413
6500
|
type: "attribute"
|
|
6414
6501
|
},
|
|
@@ -6421,27 +6508,27 @@ var ar = {
|
|
|
6421
6508
|
name: "download-size",
|
|
6422
6509
|
options: [
|
|
6423
6510
|
{
|
|
6424
|
-
id:
|
|
6511
|
+
id: J.Small,
|
|
6425
6512
|
name: e.term("small"),
|
|
6426
|
-
value:
|
|
6513
|
+
value: J.Small
|
|
6427
6514
|
},
|
|
6428
6515
|
{
|
|
6429
|
-
id:
|
|
6516
|
+
id: J.Medium,
|
|
6430
6517
|
name: e.term("medium"),
|
|
6431
|
-
value:
|
|
6518
|
+
value: J.Medium
|
|
6432
6519
|
},
|
|
6433
6520
|
{
|
|
6434
|
-
id:
|
|
6521
|
+
id: J.Large,
|
|
6435
6522
|
name: e.term("large"),
|
|
6436
|
-
value:
|
|
6523
|
+
value: J.Large
|
|
6437
6524
|
},
|
|
6438
6525
|
{
|
|
6439
|
-
id:
|
|
6526
|
+
id: J.Custom,
|
|
6440
6527
|
name: e.term("custom"),
|
|
6441
|
-
value:
|
|
6528
|
+
value: J.Custom
|
|
6442
6529
|
}
|
|
6443
6530
|
],
|
|
6444
|
-
show: (e) => e["download-mode"] ===
|
|
6531
|
+
show: (e) => e["download-mode"] === K.WholeKit || e["download-mode"] === K.WholeKitAndIndividual,
|
|
6445
6532
|
skipShowCheck: !0,
|
|
6446
6533
|
type: "attribute"
|
|
6447
6534
|
},
|
|
@@ -6450,19 +6537,19 @@ var ar = {
|
|
|
6450
6537
|
id: "--download-font-size",
|
|
6451
6538
|
name: "download-font-size",
|
|
6452
6539
|
show: (e) => {
|
|
6453
|
-
let t = e["download-mode"] ===
|
|
6540
|
+
let t = e["download-mode"] === K.WholeKit || e["download-mode"] === K.WholeKitAndIndividual, n = e["download-size"] === J.Custom;
|
|
6454
6541
|
return t && n;
|
|
6455
6542
|
},
|
|
6456
6543
|
skipShowCheck: !0
|
|
6457
6544
|
},
|
|
6458
6545
|
...r ? [...n.getFontPickerControls({
|
|
6459
|
-
api:
|
|
6546
|
+
api: z,
|
|
6460
6547
|
direction: "vertical",
|
|
6461
6548
|
familyKey: "--download-font-family",
|
|
6462
6549
|
id: "--download-font-family",
|
|
6463
6550
|
name: "download-font-family",
|
|
6464
6551
|
show: (e) => {
|
|
6465
|
-
let t = e["download-mode"] ===
|
|
6552
|
+
let t = e["download-mode"] === K.WholeKit || e["download-mode"] === K.WholeKitAndIndividual, n = e["download-size"] === J.Custom;
|
|
6466
6553
|
return t && n;
|
|
6467
6554
|
},
|
|
6468
6555
|
skipShowCheck: !0,
|
|
@@ -6474,7 +6561,7 @@ var ar = {
|
|
|
6474
6561
|
id: "--download-height",
|
|
6475
6562
|
name: "download-height",
|
|
6476
6563
|
show: (e) => {
|
|
6477
|
-
let t = e["download-mode"] ===
|
|
6564
|
+
let t = e["download-mode"] === K.WholeKit || e["download-mode"] === K.WholeKitAndIndividual, n = e["download-size"] === J.Custom;
|
|
6478
6565
|
return t && n;
|
|
6479
6566
|
},
|
|
6480
6567
|
skipShowCheck: !0
|
|
@@ -6485,7 +6572,7 @@ var ar = {
|
|
|
6485
6572
|
label: e.term("paddings"),
|
|
6486
6573
|
name: "download-padding",
|
|
6487
6574
|
show: (e) => {
|
|
6488
|
-
let t = e["download-mode"] ===
|
|
6575
|
+
let t = e["download-mode"] === K.WholeKit || e["download-mode"] === K.WholeKitAndIndividual, n = e["download-size"] === J.Custom;
|
|
6489
6576
|
return t && n;
|
|
6490
6577
|
}
|
|
6491
6578
|
},
|
|
@@ -6494,7 +6581,7 @@ var ar = {
|
|
|
6494
6581
|
id: "--download-margin",
|
|
6495
6582
|
label: e.term("margins"),
|
|
6496
6583
|
name: "download-margin",
|
|
6497
|
-
show: (e) => e["download-mode"] ===
|
|
6584
|
+
show: (e) => e["download-mode"] === K.WholeKit || e["download-mode"] === K.WholeKitAndIndividual,
|
|
6498
6585
|
skipShowCheck: !0
|
|
6499
6586
|
},
|
|
6500
6587
|
{
|
|
@@ -6504,22 +6591,22 @@ var ar = {
|
|
|
6504
6591
|
name: "download-appearance",
|
|
6505
6592
|
options: [
|
|
6506
6593
|
{
|
|
6507
|
-
id:
|
|
6594
|
+
id: q.Primary,
|
|
6508
6595
|
name: e.term("primary"),
|
|
6509
|
-
value:
|
|
6596
|
+
value: q.Primary
|
|
6510
6597
|
},
|
|
6511
6598
|
{
|
|
6512
|
-
id:
|
|
6599
|
+
id: q.Secondary,
|
|
6513
6600
|
name: e.term("secondary"),
|
|
6514
|
-
value:
|
|
6601
|
+
value: q.Secondary
|
|
6515
6602
|
},
|
|
6516
6603
|
{
|
|
6517
|
-
id:
|
|
6604
|
+
id: q.Custom,
|
|
6518
6605
|
name: e.term("custom"),
|
|
6519
|
-
value:
|
|
6606
|
+
value: q.Custom
|
|
6520
6607
|
}
|
|
6521
6608
|
],
|
|
6522
|
-
show: (e) => e["download-mode"] ===
|
|
6609
|
+
show: (e) => e["download-mode"] === K.WholeKit || e["download-mode"] === K.WholeKitAndIndividual,
|
|
6523
6610
|
skipShowCheck: !0,
|
|
6524
6611
|
type: "attribute"
|
|
6525
6612
|
},
|
|
@@ -6529,7 +6616,7 @@ var ar = {
|
|
|
6529
6616
|
id: "download-icon",
|
|
6530
6617
|
label: e.term("icon"),
|
|
6531
6618
|
name: "download-icon",
|
|
6532
|
-
show: (e) => e["download-mode"] ===
|
|
6619
|
+
show: (e) => e["download-mode"] === K.WholeKit || e["download-mode"] === K.WholeKitAndIndividual,
|
|
6533
6620
|
skipShowCheck: !0,
|
|
6534
6621
|
type: "attribute"
|
|
6535
6622
|
},
|
|
@@ -6538,7 +6625,7 @@ var ar = {
|
|
|
6538
6625
|
id: "--download-background-color",
|
|
6539
6626
|
name: "download-background-color",
|
|
6540
6627
|
show: (e) => {
|
|
6541
|
-
let t = e["download-mode"] ===
|
|
6628
|
+
let t = e["download-mode"] === K.WholeKit || e["download-mode"] === K.WholeKitAndIndividual, n = e["download-appearance"] === q.Custom;
|
|
6542
6629
|
return t && n;
|
|
6543
6630
|
},
|
|
6544
6631
|
skipShowCheck: !0
|
|
@@ -6549,14 +6636,14 @@ var ar = {
|
|
|
6549
6636
|
label: e.term("labelAndIconColor"),
|
|
6550
6637
|
name: "download-color",
|
|
6551
6638
|
show: (e) => {
|
|
6552
|
-
let t = e["download-mode"] ===
|
|
6639
|
+
let t = e["download-mode"] === K.WholeKit || e["download-mode"] === K.WholeKitAndIndividual, n = e["download-appearance"] === q.Custom;
|
|
6553
6640
|
return t && n;
|
|
6554
6641
|
},
|
|
6555
6642
|
skipShowCheck: !0
|
|
6556
6643
|
}
|
|
6557
6644
|
];
|
|
6558
6645
|
},
|
|
6559
|
-
defaultValue:
|
|
6646
|
+
defaultValue: Fr,
|
|
6560
6647
|
stylable: [
|
|
6561
6648
|
"--color",
|
|
6562
6649
|
"--download-alignment",
|
|
@@ -6581,13 +6668,13 @@ var ar = {
|
|
|
6581
6668
|
"--padding",
|
|
6582
6669
|
"--text-align"
|
|
6583
6670
|
]
|
|
6584
|
-
},
|
|
6671
|
+
}, Y = /* @__PURE__ */ function(e) {
|
|
6585
6672
|
return e.Custom = "custom", e.Default = "default", e;
|
|
6586
|
-
}({}),
|
|
6673
|
+
}({}), zr = /* @__PURE__ */ function(e) {
|
|
6587
6674
|
return e.FileFormat = "format", e.FontFamily = "family", e.Style = "style", e.Weight = "weight", e.WeightNumber = "weight_n", e.Width = "width", e;
|
|
6588
|
-
}({}),
|
|
6675
|
+
}({}), Br = {
|
|
6589
6676
|
configs: (e) => {
|
|
6590
|
-
let t = new
|
|
6677
|
+
let t = new B(e);
|
|
6591
6678
|
return [
|
|
6592
6679
|
...["name"].map((e) => ({
|
|
6593
6680
|
controlType: "placeholder",
|
|
@@ -6596,7 +6683,7 @@ var ar = {
|
|
|
6596
6683
|
type: "attribute"
|
|
6597
6684
|
})),
|
|
6598
6685
|
{
|
|
6599
|
-
callback: ({ record: e, value: t }) => t ===
|
|
6686
|
+
callback: ({ record: e, value: t }) => t === Y.Default ? {
|
|
6600
6687
|
...e,
|
|
6601
6688
|
name: "",
|
|
6602
6689
|
typefaces: ""
|
|
@@ -6610,13 +6697,13 @@ var ar = {
|
|
|
6610
6697
|
label: e.term("typeface"),
|
|
6611
6698
|
name: "origin",
|
|
6612
6699
|
options: [{
|
|
6613
|
-
id:
|
|
6700
|
+
id: Y.Default,
|
|
6614
6701
|
name: e.term("spaceDefault"),
|
|
6615
|
-
value:
|
|
6702
|
+
value: Y.Default
|
|
6616
6703
|
}, {
|
|
6617
|
-
id:
|
|
6704
|
+
id: Y.Custom,
|
|
6618
6705
|
name: e.term("custom"),
|
|
6619
|
-
value:
|
|
6706
|
+
value: Y.Custom
|
|
6620
6707
|
}],
|
|
6621
6708
|
type: "attribute"
|
|
6622
6709
|
},
|
|
@@ -6635,7 +6722,7 @@ var ar = {
|
|
|
6635
6722
|
nameKey: "name"
|
|
6636
6723
|
},
|
|
6637
6724
|
required: !0,
|
|
6638
|
-
show: (e) => (e.origin ??
|
|
6725
|
+
show: (e) => (e.origin ?? Y.Default) === Y.Custom,
|
|
6639
6726
|
type: "attribute"
|
|
6640
6727
|
},
|
|
6641
6728
|
{
|
|
@@ -6686,7 +6773,7 @@ var ar = {
|
|
|
6686
6773
|
defaultValue: {
|
|
6687
6774
|
"full-bleed": !1,
|
|
6688
6775
|
name: "",
|
|
6689
|
-
origin:
|
|
6776
|
+
origin: Y.Default,
|
|
6690
6777
|
"show-dividers": !0,
|
|
6691
6778
|
"show-download-button": !0,
|
|
6692
6779
|
"show-title-image": !0,
|
|
@@ -6701,7 +6788,7 @@ var ar = {
|
|
|
6701
6788
|
"--margin-top",
|
|
6702
6789
|
"--padding"
|
|
6703
6790
|
]
|
|
6704
|
-
},
|
|
6791
|
+
}, Vr = {
|
|
6705
6792
|
"additional-fields": "",
|
|
6706
6793
|
autoplay: !1,
|
|
6707
6794
|
"can-custom-shadow-and-border-radius": !1,
|
|
@@ -6710,7 +6797,7 @@ var ar = {
|
|
|
6710
6797
|
"click-event": "",
|
|
6711
6798
|
"column-gap": "16px",
|
|
6712
6799
|
"content-position": u.Top,
|
|
6713
|
-
"content-type":
|
|
6800
|
+
"content-type": I.Automatic,
|
|
6714
6801
|
"content-variant": f.Overlay,
|
|
6715
6802
|
"data-width-percent": "100%",
|
|
6716
6803
|
"data-width-pixel": "",
|
|
@@ -6735,30 +6822,30 @@ var ar = {
|
|
|
6735
6822
|
"max-rows-mobile": "5",
|
|
6736
6823
|
navigation: "arrows",
|
|
6737
6824
|
orientation: ee.Horizontal,
|
|
6738
|
-
"overflow-behavior":
|
|
6825
|
+
"overflow-behavior": P.Split,
|
|
6739
6826
|
records: "",
|
|
6740
6827
|
"row-gap": "16px",
|
|
6741
6828
|
"show-all-label": "Show all",
|
|
6742
6829
|
"show-content-type": m.Always,
|
|
6743
6830
|
"show-less-label": "Show less",
|
|
6744
6831
|
"slides-per-page": "4",
|
|
6745
|
-
"source-variant":
|
|
6832
|
+
"source-variant": F.Manual,
|
|
6746
6833
|
src: "",
|
|
6747
6834
|
"text-reveal-style": s.Slide,
|
|
6748
6835
|
"transformation-record-id": "",
|
|
6749
6836
|
transformations: "[]",
|
|
6750
|
-
variant:
|
|
6837
|
+
variant: N.Grid,
|
|
6751
6838
|
width: "",
|
|
6752
6839
|
"zoom-style": l.WithinBorders
|
|
6753
|
-
},
|
|
6840
|
+
}, Hr = 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>`, Ur = 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>`, 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="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>`, Gr = ({ record: e, value: t }) => {
|
|
6754
6841
|
let n = Number.parseInt(String(t), 10);
|
|
6755
6842
|
return Number.isSafeInteger(n) && n <= 1 ? {
|
|
6756
6843
|
...e,
|
|
6757
6844
|
"can-pin-first-card": !1
|
|
6758
6845
|
} : e;
|
|
6759
|
-
},
|
|
6846
|
+
}, Kr = {
|
|
6760
6847
|
configs: (e, t = {}) => {
|
|
6761
|
-
let n = new
|
|
6848
|
+
let n = new B(e), { enableAssetFormatControls: r = !1, enableFontFamilyControls: i = !1 } = t;
|
|
6762
6849
|
return [
|
|
6763
6850
|
...[
|
|
6764
6851
|
"content-variant",
|
|
@@ -6790,11 +6877,11 @@ var ar = {
|
|
|
6790
6877
|
let i = {
|
|
6791
6878
|
...e,
|
|
6792
6879
|
"click-event": "",
|
|
6793
|
-
"content-type":
|
|
6880
|
+
"content-type": I.Automatic,
|
|
6794
6881
|
format: "",
|
|
6795
6882
|
"manual-format": !1,
|
|
6796
6883
|
records: r,
|
|
6797
|
-
"source-variant":
|
|
6884
|
+
"source-variant": F.Manual,
|
|
6798
6885
|
src: ""
|
|
6799
6886
|
};
|
|
6800
6887
|
return t === p.Asset ? i : {
|
|
@@ -6837,9 +6924,9 @@ var ar = {
|
|
|
6837
6924
|
type: "attribute"
|
|
6838
6925
|
},
|
|
6839
6926
|
{
|
|
6840
|
-
callback: ({ record: e, value: t }) => t ===
|
|
6927
|
+
callback: ({ record: e, value: t }) => t === F.Api ? {
|
|
6841
6928
|
...e,
|
|
6842
|
-
"content-type":
|
|
6929
|
+
"content-type": I.Automatic,
|
|
6843
6930
|
"download-format": "",
|
|
6844
6931
|
format: "",
|
|
6845
6932
|
"manual-format": !1,
|
|
@@ -6865,14 +6952,14 @@ var ar = {
|
|
|
6865
6952
|
name: "source-variant",
|
|
6866
6953
|
options: [{
|
|
6867
6954
|
helpText: e.term("individualAssetsHelpText"),
|
|
6868
|
-
id:
|
|
6955
|
+
id: F.Manual,
|
|
6869
6956
|
name: e.term("individualAssets"),
|
|
6870
|
-
value:
|
|
6957
|
+
value: F.Manual
|
|
6871
6958
|
}, {
|
|
6872
6959
|
helpText: e.term("virtualFolderHelpText"),
|
|
6873
|
-
id:
|
|
6960
|
+
id: F.Api,
|
|
6874
6961
|
name: e.term("virtualFolder"),
|
|
6875
|
-
value:
|
|
6962
|
+
value: F.Api
|
|
6876
6963
|
}],
|
|
6877
6964
|
show: (e) => e["card-type"] === p.Asset,
|
|
6878
6965
|
type: "attribute"
|
|
@@ -6888,36 +6975,36 @@ var ar = {
|
|
|
6888
6975
|
id: "src",
|
|
6889
6976
|
label: "",
|
|
6890
6977
|
name: "source",
|
|
6891
|
-
show: (e) => e["source-variant"] ===
|
|
6978
|
+
show: (e) => e["source-variant"] === F.Api,
|
|
6892
6979
|
type: "attribute"
|
|
6893
6980
|
},
|
|
6894
6981
|
{
|
|
6895
6982
|
clearable: !1,
|
|
6896
6983
|
controlType: "select",
|
|
6897
|
-
disabled: (e) => e["source-variant"] ===
|
|
6984
|
+
disabled: (e) => e["source-variant"] === F.Api,
|
|
6898
6985
|
helpText: e.term("contentHelpText"),
|
|
6899
6986
|
id: "content-type",
|
|
6900
6987
|
label: e.term("content"),
|
|
6901
6988
|
name: "content-type",
|
|
6902
6989
|
options: [{
|
|
6903
|
-
id:
|
|
6990
|
+
id: I.Automatic,
|
|
6904
6991
|
name: e.term("automatic"),
|
|
6905
|
-
value:
|
|
6992
|
+
value: I.Automatic
|
|
6906
6993
|
}, {
|
|
6907
|
-
id:
|
|
6994
|
+
id: I.Custom,
|
|
6908
6995
|
name: e.term("custom"),
|
|
6909
|
-
value:
|
|
6996
|
+
value: I.Custom
|
|
6910
6997
|
}],
|
|
6911
6998
|
type: "attribute"
|
|
6912
6999
|
},
|
|
6913
7000
|
{
|
|
6914
|
-
api:
|
|
7001
|
+
api: M,
|
|
6915
7002
|
controlType: "select",
|
|
6916
7003
|
id: "header-source-field",
|
|
6917
7004
|
label: e.term("headerSourceField"),
|
|
6918
7005
|
name: "header-source-field",
|
|
6919
7006
|
options: [],
|
|
6920
|
-
show: (e) => e["content-type"] ===
|
|
7007
|
+
show: (e) => e["content-type"] === I.Automatic && e["card-type"] !== p.Space && e["card-type"] !== p.Page,
|
|
6921
7008
|
type: "attribute"
|
|
6922
7009
|
},
|
|
6923
7010
|
{
|
|
@@ -6934,17 +7021,17 @@ var ar = {
|
|
|
6934
7021
|
name: e.term("description"),
|
|
6935
7022
|
value: "Document.CaptionLong"
|
|
6936
7023
|
}],
|
|
6937
|
-
show: (e) => e["content-type"] ===
|
|
7024
|
+
show: (e) => e["content-type"] === I.Automatic && (e["card-type"] === p.Space || e["card-type"] === p.Page),
|
|
6938
7025
|
type: "attribute"
|
|
6939
7026
|
},
|
|
6940
7027
|
{
|
|
6941
|
-
api:
|
|
7028
|
+
api: M,
|
|
6942
7029
|
controlType: "select",
|
|
6943
7030
|
id: "details-source-field",
|
|
6944
7031
|
label: e.term("detailsSourceField"),
|
|
6945
7032
|
name: "details-source-field",
|
|
6946
7033
|
options: [],
|
|
6947
|
-
show: (e) => e["content-type"] ===
|
|
7034
|
+
show: (e) => e["content-type"] === I.Automatic && e["card-type"] !== p.Space && e["card-type"] !== p.Page,
|
|
6948
7035
|
type: "attribute"
|
|
6949
7036
|
},
|
|
6950
7037
|
{
|
|
@@ -6961,11 +7048,11 @@ var ar = {
|
|
|
6961
7048
|
name: e.term("description"),
|
|
6962
7049
|
value: "Document.CaptionLong"
|
|
6963
7050
|
}],
|
|
6964
|
-
show: (e) => e["content-type"] ===
|
|
7051
|
+
show: (e) => e["content-type"] === I.Automatic && (e["card-type"] === p.Space || e["card-type"] === p.Page),
|
|
6965
7052
|
type: "attribute"
|
|
6966
7053
|
},
|
|
6967
7054
|
{
|
|
6968
|
-
api:
|
|
7055
|
+
api: M,
|
|
6969
7056
|
controlType: "select",
|
|
6970
7057
|
helpText: e.term("additionalFieldsHelpText"),
|
|
6971
7058
|
id: "additional-fields",
|
|
@@ -6973,7 +7060,7 @@ var ar = {
|
|
|
6973
7060
|
multiple: !0,
|
|
6974
7061
|
name: "additional-fields",
|
|
6975
7062
|
options: [],
|
|
6976
|
-
show: (e) => e["content-type"] ===
|
|
7063
|
+
show: (e) => e["content-type"] === I.Automatic && e["card-type"] !== p.Space && e["card-type"] !== p.Page,
|
|
6977
7064
|
type: "attribute"
|
|
6978
7065
|
},
|
|
6979
7066
|
{
|
|
@@ -6984,24 +7071,24 @@ var ar = {
|
|
|
6984
7071
|
name: "click-event",
|
|
6985
7072
|
options: [
|
|
6986
7073
|
{
|
|
6987
|
-
id:
|
|
7074
|
+
id: H.OpenAssetOverview,
|
|
6988
7075
|
name: e.term("openAssetOverview"),
|
|
6989
|
-
value:
|
|
7076
|
+
value: H.OpenAssetOverview
|
|
6990
7077
|
},
|
|
6991
7078
|
{
|
|
6992
|
-
id:
|
|
7079
|
+
id: H.OpenAssetInLibrary,
|
|
6993
7080
|
name: e.term("openAssetInLibrary"),
|
|
6994
|
-
value:
|
|
7081
|
+
value: H.OpenAssetInLibrary
|
|
6995
7082
|
},
|
|
6996
7083
|
{
|
|
6997
|
-
id:
|
|
7084
|
+
id: H.DownloadAsset,
|
|
6998
7085
|
name: e.term("downloadAssets"),
|
|
6999
|
-
value:
|
|
7086
|
+
value: H.DownloadAsset
|
|
7000
7087
|
},
|
|
7001
7088
|
{
|
|
7002
|
-
id:
|
|
7089
|
+
id: H.Zoom,
|
|
7003
7090
|
name: e.term("zoomInAsset"),
|
|
7004
|
-
value:
|
|
7091
|
+
value: H.Zoom
|
|
7005
7092
|
},
|
|
7006
7093
|
{
|
|
7007
7094
|
id: "none",
|
|
@@ -7039,7 +7126,7 @@ var ar = {
|
|
|
7039
7126
|
name: "download-format",
|
|
7040
7127
|
show: (e) => {
|
|
7041
7128
|
let t = e["click-event"];
|
|
7042
|
-
return e["card-type"] === p.Asset && (t ===
|
|
7129
|
+
return e["card-type"] === p.Asset && (t === H.DownloadAsset || t === H.Zoom);
|
|
7043
7130
|
},
|
|
7044
7131
|
type: "attribute"
|
|
7045
7132
|
}] : [],
|
|
@@ -7094,7 +7181,7 @@ var ar = {
|
|
|
7094
7181
|
controlType: "gallery-picker",
|
|
7095
7182
|
direction: "vertical",
|
|
7096
7183
|
galleryPickerConfigs: {
|
|
7097
|
-
dialog:
|
|
7184
|
+
dialog: xe.Gallery,
|
|
7098
7185
|
...r ? {
|
|
7099
7186
|
formatKey: "format",
|
|
7100
7187
|
manualFormatKey: "manual-format",
|
|
@@ -7120,7 +7207,7 @@ var ar = {
|
|
|
7120
7207
|
name: e.term("fill"),
|
|
7121
7208
|
value: _.Cover
|
|
7122
7209
|
}],
|
|
7123
|
-
show: (e) => e["source-variant"] ===
|
|
7210
|
+
show: (e) => e["source-variant"] === F.Api,
|
|
7124
7211
|
type: "attribute"
|
|
7125
7212
|
},
|
|
7126
7213
|
{
|
|
@@ -7128,11 +7215,11 @@ var ar = {
|
|
|
7128
7215
|
id: "default-crop-focus",
|
|
7129
7216
|
label: e.term("cropFocus"),
|
|
7130
7217
|
name: "default-crop-focus",
|
|
7131
|
-
show: (e) => e["source-variant"] ===
|
|
7218
|
+
show: (e) => e["source-variant"] === F.Api,
|
|
7132
7219
|
type: "attribute"
|
|
7133
7220
|
},
|
|
7134
7221
|
{
|
|
7135
|
-
callback: ({ record: e, value: t }) => t ===
|
|
7222
|
+
callback: ({ record: e, value: t }) => t === N.Bento ? {
|
|
7136
7223
|
...e,
|
|
7137
7224
|
"can-pin-first-card": !1,
|
|
7138
7225
|
"content-position": u.Bottom,
|
|
@@ -7148,22 +7235,22 @@ var ar = {
|
|
|
7148
7235
|
name: "variant",
|
|
7149
7236
|
options: [
|
|
7150
7237
|
{
|
|
7151
|
-
children:
|
|
7152
|
-
id:
|
|
7238
|
+
children: Hr,
|
|
7239
|
+
id: N.Grid,
|
|
7153
7240
|
name: e.term("grid"),
|
|
7154
|
-
value:
|
|
7241
|
+
value: N.Grid
|
|
7155
7242
|
},
|
|
7156
7243
|
{
|
|
7157
|
-
children:
|
|
7158
|
-
id:
|
|
7244
|
+
children: Ur,
|
|
7245
|
+
id: N.Ribbon,
|
|
7159
7246
|
name: e.term("ribbon"),
|
|
7160
|
-
value:
|
|
7247
|
+
value: N.Ribbon
|
|
7161
7248
|
},
|
|
7162
7249
|
{
|
|
7163
|
-
children:
|
|
7164
|
-
id:
|
|
7250
|
+
children: Wr,
|
|
7251
|
+
id: N.Bento,
|
|
7165
7252
|
name: e.term("bento"),
|
|
7166
|
-
value:
|
|
7253
|
+
value: N.Bento
|
|
7167
7254
|
}
|
|
7168
7255
|
],
|
|
7169
7256
|
type: "attribute"
|
|
@@ -7200,7 +7287,7 @@ var ar = {
|
|
|
7200
7287
|
value: "6"
|
|
7201
7288
|
}
|
|
7202
7289
|
],
|
|
7203
|
-
show: (e) => e.variant ===
|
|
7290
|
+
show: (e) => e.variant === N.Grid || e.variant === N.Ribbon,
|
|
7204
7291
|
type: "attribute"
|
|
7205
7292
|
},
|
|
7206
7293
|
n.getStyleControl("--margin"),
|
|
@@ -7209,7 +7296,7 @@ var ar = {
|
|
|
7209
7296
|
...n.getStyleControl("--gap"),
|
|
7210
7297
|
id: "row-gap",
|
|
7211
7298
|
label: e.term("verticalGap"),
|
|
7212
|
-
show: (e) => e.variant ===
|
|
7299
|
+
show: (e) => e.variant === N.Grid || e.variant === N.Bento || e.variant === N.Ribbon && e["overflow-behavior"] === P.Expand,
|
|
7213
7300
|
type: "attribute"
|
|
7214
7301
|
},
|
|
7215
7302
|
{
|
|
@@ -7221,21 +7308,21 @@ var ar = {
|
|
|
7221
7308
|
},
|
|
7222
7309
|
{
|
|
7223
7310
|
children: [{
|
|
7224
|
-
callback:
|
|
7311
|
+
callback: Gr,
|
|
7225
7312
|
controlType: "input",
|
|
7226
7313
|
id: "max-rows",
|
|
7227
7314
|
inputConfigs: { label: e.term("desktopAndTablet") },
|
|
7228
|
-
...
|
|
7315
|
+
...L,
|
|
7229
7316
|
name: "max-rows",
|
|
7230
7317
|
required: !0,
|
|
7231
7318
|
type: "attribute",
|
|
7232
7319
|
width: "50%"
|
|
7233
7320
|
}, {
|
|
7234
|
-
callback:
|
|
7321
|
+
callback: Gr,
|
|
7235
7322
|
controlType: "input",
|
|
7236
7323
|
id: "max-rows-mobile",
|
|
7237
7324
|
inputConfigs: { label: e.term("mobile") },
|
|
7238
|
-
...
|
|
7325
|
+
...L,
|
|
7239
7326
|
name: "max-rows-mobile",
|
|
7240
7327
|
required: !0,
|
|
7241
7328
|
type: "attribute",
|
|
@@ -7249,7 +7336,7 @@ var ar = {
|
|
|
7249
7336
|
id: "max-rows-group",
|
|
7250
7337
|
label: e.term("maximumRows"),
|
|
7251
7338
|
name: "max-rows-group",
|
|
7252
|
-
show: (e) => e.variant ===
|
|
7339
|
+
show: (e) => e.variant === N.Grid
|
|
7253
7340
|
},
|
|
7254
7341
|
{
|
|
7255
7342
|
children: [{
|
|
@@ -7278,7 +7365,7 @@ var ar = {
|
|
|
7278
7365
|
id: "options",
|
|
7279
7366
|
label: "",
|
|
7280
7367
|
name: "options",
|
|
7281
|
-
show: (e) => e.variant ===
|
|
7368
|
+
show: (e) => e.variant === N.Grid
|
|
7282
7369
|
},
|
|
7283
7370
|
{
|
|
7284
7371
|
controlType: "radio-group",
|
|
@@ -7287,16 +7374,16 @@ var ar = {
|
|
|
7287
7374
|
name: "overflow-behavior",
|
|
7288
7375
|
options: [{
|
|
7289
7376
|
helpText: e.term("splitIntoMultipleScreensHelpText"),
|
|
7290
|
-
id:
|
|
7377
|
+
id: P.Split,
|
|
7291
7378
|
name: e.term("splitIntoMultipleScreens"),
|
|
7292
|
-
value:
|
|
7379
|
+
value: P.Split
|
|
7293
7380
|
}, {
|
|
7294
7381
|
helpText: e.term("displayExpandButtonHelpText"),
|
|
7295
|
-
id:
|
|
7382
|
+
id: P.Expand,
|
|
7296
7383
|
name: e.term("displayExpandButton"),
|
|
7297
|
-
value:
|
|
7384
|
+
value: P.Expand
|
|
7298
7385
|
}],
|
|
7299
|
-
show: (e) => e.variant ===
|
|
7386
|
+
show: (e) => e.variant === N.Ribbon,
|
|
7300
7387
|
type: "attribute"
|
|
7301
7388
|
},
|
|
7302
7389
|
{
|
|
@@ -7304,7 +7391,7 @@ var ar = {
|
|
|
7304
7391
|
id: "show-all-label",
|
|
7305
7392
|
label: e.term("expandButtonText"),
|
|
7306
7393
|
name: "show-all-label",
|
|
7307
|
-
show: (e) => e.variant ===
|
|
7394
|
+
show: (e) => e.variant === N.Ribbon ? e["overflow-behavior"] === P.Expand : e.variant === N.Grid ? e["can-show-more"] ?? !1 : !1,
|
|
7308
7395
|
translatable: !0,
|
|
7309
7396
|
type: "attribute"
|
|
7310
7397
|
},
|
|
@@ -7313,7 +7400,7 @@ var ar = {
|
|
|
7313
7400
|
id: "show-less-label",
|
|
7314
7401
|
label: e.term("collapseButtonText"),
|
|
7315
7402
|
name: "show-less-label",
|
|
7316
|
-
show: (e) => e.variant ===
|
|
7403
|
+
show: (e) => e.variant === N.Ribbon ? e["overflow-behavior"] === P.Expand : e.variant === N.Grid ? e["can-show-more"] ?? !1 : !1,
|
|
7317
7404
|
translatable: !0,
|
|
7318
7405
|
type: "attribute"
|
|
7319
7406
|
},
|
|
@@ -7340,7 +7427,7 @@ var ar = {
|
|
|
7340
7427
|
value: ""
|
|
7341
7428
|
}
|
|
7342
7429
|
],
|
|
7343
|
-
show: (e) => e.variant ===
|
|
7430
|
+
show: (e) => e.variant === N.Ribbon && e["overflow-behavior"] === P.Split,
|
|
7344
7431
|
type: "attribute"
|
|
7345
7432
|
},
|
|
7346
7433
|
{
|
|
@@ -7415,7 +7502,7 @@ var ar = {
|
|
|
7415
7502
|
value: "below-image"
|
|
7416
7503
|
}
|
|
7417
7504
|
],
|
|
7418
|
-
show: (e) => e.variant !==
|
|
7505
|
+
show: (e) => e.variant !== N.Bento,
|
|
7419
7506
|
type: "attribute"
|
|
7420
7507
|
},
|
|
7421
7508
|
{
|
|
@@ -7433,7 +7520,7 @@ var ar = {
|
|
|
7433
7520
|
name: e.term("bottom"),
|
|
7434
7521
|
value: u.Bottom
|
|
7435
7522
|
}],
|
|
7436
|
-
show: (e) => e.variant ===
|
|
7523
|
+
show: (e) => e.variant === N.Bento,
|
|
7437
7524
|
type: "attribute"
|
|
7438
7525
|
},
|
|
7439
7526
|
{
|
|
@@ -7464,7 +7551,7 @@ var ar = {
|
|
|
7464
7551
|
value: u.Right
|
|
7465
7552
|
}
|
|
7466
7553
|
],
|
|
7467
|
-
show: (e) => e.variant ===
|
|
7554
|
+
show: (e) => e.variant === N.Bento,
|
|
7468
7555
|
type: "attribute"
|
|
7469
7556
|
},
|
|
7470
7557
|
{
|
|
@@ -7481,7 +7568,7 @@ var ar = {
|
|
|
7481
7568
|
name: e.term("onHover"),
|
|
7482
7569
|
value: m.OnHover
|
|
7483
7570
|
}],
|
|
7484
|
-
show: (e) => e.variant !==
|
|
7571
|
+
show: (e) => e.variant !== N.Bento && e["content-position"] !== "below-image",
|
|
7485
7572
|
type: "attribute"
|
|
7486
7573
|
},
|
|
7487
7574
|
{
|
|
@@ -7509,7 +7596,7 @@ var ar = {
|
|
|
7509
7596
|
id: "header-options",
|
|
7510
7597
|
label: e.term("header"),
|
|
7511
7598
|
name: "header-options",
|
|
7512
|
-
show: (e) => e["content-type"] ===
|
|
7599
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
7513
7600
|
skipShowCheck: !0,
|
|
7514
7601
|
type: "decorative"
|
|
7515
7602
|
},
|
|
@@ -7531,16 +7618,16 @@ var ar = {
|
|
|
7531
7618
|
value: "right"
|
|
7532
7619
|
}
|
|
7533
7620
|
],
|
|
7534
|
-
show: (e) => e["content-type"] ===
|
|
7621
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
7535
7622
|
skipShowCheck: !0
|
|
7536
7623
|
},
|
|
7537
7624
|
...i ? [...n.getFontPickerControls({
|
|
7538
|
-
api:
|
|
7625
|
+
api: z,
|
|
7539
7626
|
direction: "vertical",
|
|
7540
7627
|
familyKey: "--header-font-family",
|
|
7541
7628
|
id: "--header-font-family",
|
|
7542
7629
|
name: "header-font-family",
|
|
7543
|
-
show: (e) => e["content-type"] ===
|
|
7630
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
7544
7631
|
skipShowCheck: !0,
|
|
7545
7632
|
styleKey: "--header-font-style",
|
|
7546
7633
|
weightKey: "--header-font-weight"
|
|
@@ -7554,7 +7641,7 @@ var ar = {
|
|
|
7554
7641
|
...n.getStyleControl(e),
|
|
7555
7642
|
id: `--header-${e.replace("--", "")}`,
|
|
7556
7643
|
name: `header-${e.replace("--", "")}`,
|
|
7557
|
-
show: (e) => e["content-type"] ===
|
|
7644
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
7558
7645
|
skipShowCheck: !0
|
|
7559
7646
|
})),
|
|
7560
7647
|
{
|
|
@@ -7562,7 +7649,7 @@ var ar = {
|
|
|
7562
7649
|
id: "details-options",
|
|
7563
7650
|
label: e.term("details"),
|
|
7564
7651
|
name: "details-options",
|
|
7565
|
-
show: (e) => e["content-type"] ===
|
|
7652
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
7566
7653
|
skipShowCheck: !0,
|
|
7567
7654
|
type: "decorative"
|
|
7568
7655
|
},
|
|
@@ -7584,16 +7671,16 @@ var ar = {
|
|
|
7584
7671
|
value: "right"
|
|
7585
7672
|
}
|
|
7586
7673
|
],
|
|
7587
|
-
show: (e) => e["content-type"] ===
|
|
7674
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
7588
7675
|
skipShowCheck: !0
|
|
7589
7676
|
},
|
|
7590
7677
|
...i ? [...n.getFontPickerControls({
|
|
7591
|
-
api:
|
|
7678
|
+
api: z,
|
|
7592
7679
|
direction: "vertical",
|
|
7593
7680
|
familyKey: "--details-font-family",
|
|
7594
7681
|
id: "--details-font-family",
|
|
7595
7682
|
name: "details-font-family",
|
|
7596
|
-
show: (e) => e["content-type"] ===
|
|
7683
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
7597
7684
|
skipShowCheck: !0,
|
|
7598
7685
|
styleKey: "--details-font-style",
|
|
7599
7686
|
weightKey: "--details-font-weight"
|
|
@@ -7607,7 +7694,7 @@ var ar = {
|
|
|
7607
7694
|
...n.getStyleControl(e),
|
|
7608
7695
|
id: `--details-${e.replace("--", "")}`,
|
|
7609
7696
|
name: `details-${e.replace("--", "")}`,
|
|
7610
|
-
show: (e) => e["content-type"] ===
|
|
7697
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
7611
7698
|
skipShowCheck: !0
|
|
7612
7699
|
})),
|
|
7613
7700
|
{
|
|
@@ -7815,7 +7902,7 @@ var ar = {
|
|
|
7815
7902
|
controlType: "input",
|
|
7816
7903
|
id: "--highlightable-item-effect-jump-distance",
|
|
7817
7904
|
inputConfigs: { label: e.term("distance") },
|
|
7818
|
-
...
|
|
7905
|
+
...R,
|
|
7819
7906
|
name: "gallery-item-effect-jump-distance",
|
|
7820
7907
|
show: (e) => e.effect === d.Jump,
|
|
7821
7908
|
type: "style",
|
|
@@ -7825,7 +7912,7 @@ var ar = {
|
|
|
7825
7912
|
controlType: "input",
|
|
7826
7913
|
id: "--highlightable-item-effect-text-reveal-distance",
|
|
7827
7914
|
inputConfigs: { label: e.term("distance") },
|
|
7828
|
-
...
|
|
7915
|
+
...R,
|
|
7829
7916
|
name: "gallery-item-effect-text-reveal-distance",
|
|
7830
7917
|
show: (e) => e.effect === d.TextReveal,
|
|
7831
7918
|
type: "style",
|
|
@@ -7909,27 +7996,27 @@ var ar = {
|
|
|
7909
7996
|
}
|
|
7910
7997
|
];
|
|
7911
7998
|
},
|
|
7912
|
-
defaultValue:
|
|
7999
|
+
defaultValue: Vr,
|
|
7913
8000
|
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(".")
|
|
7914
|
-
},
|
|
7915
|
-
alignment:
|
|
8001
|
+
}, qr = {
|
|
8002
|
+
alignment: Ee.Left,
|
|
7916
8003
|
"custom-line-height": !0,
|
|
7917
8004
|
"data-constraints": !1,
|
|
7918
8005
|
"disabled-copy-button": !0,
|
|
7919
8006
|
"font-size": "28px",
|
|
7920
8007
|
"has-anchor-link": !0,
|
|
7921
8008
|
role: "heading",
|
|
7922
|
-
variant:
|
|
7923
|
-
},
|
|
8009
|
+
variant: De.H2
|
|
8010
|
+
}, Jr = {
|
|
7924
8011
|
h1: "32px",
|
|
7925
8012
|
h2: "28px",
|
|
7926
8013
|
h3: "24px",
|
|
7927
8014
|
h4: "20px",
|
|
7928
8015
|
h5: "16px",
|
|
7929
8016
|
h6: "14px"
|
|
7930
|
-
},
|
|
8017
|
+
}, Yr = {
|
|
7931
8018
|
configs: (e, t = {}) => {
|
|
7932
|
-
let n = new
|
|
8019
|
+
let n = new B(e), { enableFontFamilyControls: r = !1 } = t;
|
|
7933
8020
|
return [
|
|
7934
8021
|
...[
|
|
7935
8022
|
"has-anchor-link",
|
|
@@ -7943,7 +8030,7 @@ var ar = {
|
|
|
7943
8030
|
})),
|
|
7944
8031
|
{
|
|
7945
8032
|
callback: ({ record: e, value: t }) => {
|
|
7946
|
-
let n =
|
|
8033
|
+
let n = Jr[t];
|
|
7947
8034
|
return {
|
|
7948
8035
|
...e,
|
|
7949
8036
|
"font-size": n,
|
|
@@ -7986,7 +8073,7 @@ var ar = {
|
|
|
7986
8073
|
type: "attribute"
|
|
7987
8074
|
},
|
|
7988
8075
|
...r ? [...n.getFontPickerControls({
|
|
7989
|
-
api:
|
|
8076
|
+
api: z,
|
|
7990
8077
|
direction: "vertical",
|
|
7991
8078
|
familyKey: "--font-family",
|
|
7992
8079
|
id: "--font-family",
|
|
@@ -8105,7 +8192,7 @@ var ar = {
|
|
|
8105
8192
|
}
|
|
8106
8193
|
];
|
|
8107
8194
|
},
|
|
8108
|
-
defaultValue:
|
|
8195
|
+
defaultValue: qr,
|
|
8109
8196
|
stylable: [
|
|
8110
8197
|
"--border-radius",
|
|
8111
8198
|
"--color",
|
|
@@ -8121,9 +8208,9 @@ var ar = {
|
|
|
8121
8208
|
"--min-block-width",
|
|
8122
8209
|
"--max-block-width"
|
|
8123
8210
|
]
|
|
8124
|
-
},
|
|
8211
|
+
}, Xr = {
|
|
8125
8212
|
configs: (e) => {
|
|
8126
|
-
let t = new
|
|
8213
|
+
let t = new B(e);
|
|
8127
8214
|
return [
|
|
8128
8215
|
...["name", "page-id"].map((e) => ({
|
|
8129
8216
|
controlType: "placeholder",
|
|
@@ -8132,7 +8219,7 @@ var ar = {
|
|
|
8132
8219
|
type: "attribute"
|
|
8133
8220
|
})),
|
|
8134
8221
|
{
|
|
8135
|
-
api:
|
|
8222
|
+
api: Ne,
|
|
8136
8223
|
controlType: "select",
|
|
8137
8224
|
id: "src",
|
|
8138
8225
|
label: e.term("source"),
|
|
@@ -8152,12 +8239,12 @@ var ar = {
|
|
|
8152
8239
|
};
|
|
8153
8240
|
//#endregion
|
|
8154
8241
|
//#region ../../packages/organisms/src/content-builder/configs/image.ts
|
|
8155
|
-
function
|
|
8242
|
+
function Zr(e) {
|
|
8156
8243
|
return e["height-mode"] === c.Fixed;
|
|
8157
8244
|
}
|
|
8158
|
-
var
|
|
8245
|
+
var Qr = {
|
|
8159
8246
|
configs: (e, t = {}) => {
|
|
8160
|
-
let n = new
|
|
8247
|
+
let n = new B(e), { enableAssetFormatControls: r = !1, enableFontFamilyControls: i = !1 } = t;
|
|
8161
8248
|
return [
|
|
8162
8249
|
...[
|
|
8163
8250
|
"alt-source-field",
|
|
@@ -8367,7 +8454,7 @@ var Or = {
|
|
|
8367
8454
|
value: c.Fixed
|
|
8368
8455
|
}],
|
|
8369
8456
|
type: "attribute",
|
|
8370
|
-
width: (e) => e["full-bleed"] ?
|
|
8457
|
+
width: (e) => e["full-bleed"] ? Zr(e) ? "50%" : "100%" : Zr(e) ? "30%" : "55%"
|
|
8371
8458
|
},
|
|
8372
8459
|
{
|
|
8373
8460
|
...n.getStyleControl("--height"),
|
|
@@ -8404,7 +8491,7 @@ var Or = {
|
|
|
8404
8491
|
value: _.Cover
|
|
8405
8492
|
}],
|
|
8406
8493
|
radioGroupConfigs: { horizontal: !0 },
|
|
8407
|
-
show:
|
|
8494
|
+
show: Zr,
|
|
8408
8495
|
type: "attribute"
|
|
8409
8496
|
},
|
|
8410
8497
|
{
|
|
@@ -8412,7 +8499,7 @@ var Or = {
|
|
|
8412
8499
|
id: "crop-focus",
|
|
8413
8500
|
label: e.term("cropFocus"),
|
|
8414
8501
|
name: "crop-focus",
|
|
8415
|
-
show:
|
|
8502
|
+
show: Zr,
|
|
8416
8503
|
type: "attribute"
|
|
8417
8504
|
},
|
|
8418
8505
|
{
|
|
@@ -8478,46 +8565,46 @@ var Or = {
|
|
|
8478
8565
|
{
|
|
8479
8566
|
clearable: !1,
|
|
8480
8567
|
controlType: "select",
|
|
8481
|
-
disabled: (e) => e["source-variant"] ===
|
|
8568
|
+
disabled: (e) => e["source-variant"] === F.Api,
|
|
8482
8569
|
helpText: e.term("contentHelpText"),
|
|
8483
8570
|
id: "content-type",
|
|
8484
8571
|
label: e.term("content"),
|
|
8485
8572
|
name: "content-type",
|
|
8486
8573
|
options: [{
|
|
8487
|
-
id:
|
|
8574
|
+
id: I.Automatic,
|
|
8488
8575
|
name: e.term("automatic"),
|
|
8489
|
-
value:
|
|
8576
|
+
value: I.Automatic
|
|
8490
8577
|
}, {
|
|
8491
|
-
id:
|
|
8578
|
+
id: I.Custom,
|
|
8492
8579
|
name: e.term("custom"),
|
|
8493
|
-
value:
|
|
8580
|
+
value: I.Custom
|
|
8494
8581
|
}],
|
|
8495
8582
|
type: "attribute"
|
|
8496
8583
|
},
|
|
8497
8584
|
{
|
|
8498
|
-
api:
|
|
8585
|
+
api: M,
|
|
8499
8586
|
controlType: "select",
|
|
8500
8587
|
id: "header-source-field",
|
|
8501
8588
|
label: e.term("headerSourceField"),
|
|
8502
8589
|
name: "header-source-field",
|
|
8503
8590
|
options: [],
|
|
8504
|
-
show: (e) => e["content-type"] ===
|
|
8591
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
8505
8592
|
skipShowCheck: !0,
|
|
8506
8593
|
type: "attribute"
|
|
8507
8594
|
},
|
|
8508
8595
|
{
|
|
8509
|
-
api:
|
|
8596
|
+
api: M,
|
|
8510
8597
|
controlType: "select",
|
|
8511
8598
|
id: "details-source-field",
|
|
8512
8599
|
label: e.term("detailsSourceField"),
|
|
8513
8600
|
name: "details-source-field",
|
|
8514
8601
|
options: [],
|
|
8515
|
-
show: (e) => e["content-type"] ===
|
|
8602
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
8516
8603
|
skipShowCheck: !0,
|
|
8517
8604
|
type: "attribute"
|
|
8518
8605
|
},
|
|
8519
8606
|
{
|
|
8520
|
-
api:
|
|
8607
|
+
api: M,
|
|
8521
8608
|
controlType: "select",
|
|
8522
8609
|
helpText: e.term("additionalFieldsHelpText"),
|
|
8523
8610
|
id: "additional-fields",
|
|
@@ -8525,7 +8612,7 @@ var Or = {
|
|
|
8525
8612
|
multiple: !0,
|
|
8526
8613
|
name: "additional-fields",
|
|
8527
8614
|
options: [],
|
|
8528
|
-
show: (e) => e["content-type"] ===
|
|
8615
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
8529
8616
|
skipShowCheck: !0,
|
|
8530
8617
|
type: "attribute"
|
|
8531
8618
|
},
|
|
@@ -8539,47 +8626,47 @@ var Or = {
|
|
|
8539
8626
|
{
|
|
8540
8627
|
id: "open-asset-overview",
|
|
8541
8628
|
name: e.term("openAssetOverview"),
|
|
8542
|
-
value:
|
|
8629
|
+
value: H.OpenAssetOverview
|
|
8543
8630
|
},
|
|
8544
8631
|
{
|
|
8545
8632
|
id: "show-asset-in-library",
|
|
8546
8633
|
name: e.term("showAssetInLibrary"),
|
|
8547
|
-
value:
|
|
8634
|
+
value: H.ShowAssetInLibrary
|
|
8548
8635
|
},
|
|
8549
8636
|
{
|
|
8550
8637
|
id: "expand-asset-in-full-screen",
|
|
8551
8638
|
name: e.term("expandAssetInFullScreen"),
|
|
8552
|
-
value:
|
|
8639
|
+
value: H.ExpandAssetInFullScreen
|
|
8553
8640
|
},
|
|
8554
8641
|
{
|
|
8555
8642
|
id: "download-asset",
|
|
8556
8643
|
name: e.term("downloadAssets"),
|
|
8557
|
-
value:
|
|
8644
|
+
value: H.DownloadAsset
|
|
8558
8645
|
},
|
|
8559
8646
|
{
|
|
8560
8647
|
id: "share-asset",
|
|
8561
8648
|
name: e.term("shareAsset"),
|
|
8562
|
-
value:
|
|
8649
|
+
value: H.ShareAsset
|
|
8563
8650
|
},
|
|
8564
8651
|
{
|
|
8565
8652
|
id: "open-link",
|
|
8566
8653
|
name: e.term("openLink"),
|
|
8567
|
-
value:
|
|
8654
|
+
value: H.OpenLink
|
|
8568
8655
|
},
|
|
8569
8656
|
{
|
|
8570
8657
|
id: "open-page",
|
|
8571
8658
|
name: e.term("openPage"),
|
|
8572
|
-
value:
|
|
8659
|
+
value: H.OpenPage
|
|
8573
8660
|
},
|
|
8574
8661
|
{
|
|
8575
8662
|
id: "open-space",
|
|
8576
8663
|
name: e.term("openSpace"),
|
|
8577
|
-
value:
|
|
8664
|
+
value: H.OpenSpace
|
|
8578
8665
|
},
|
|
8579
8666
|
{
|
|
8580
8667
|
id: "do-nothing",
|
|
8581
8668
|
name: e.term("doNothing"),
|
|
8582
|
-
value:
|
|
8669
|
+
value: H.DoNothing
|
|
8583
8670
|
}
|
|
8584
8671
|
],
|
|
8585
8672
|
type: "attribute"
|
|
@@ -8589,12 +8676,12 @@ var Or = {
|
|
|
8589
8676
|
id: "click-link",
|
|
8590
8677
|
inputConfigs: { validation: (t) => {
|
|
8591
8678
|
let n = t["click-link"];
|
|
8592
|
-
return
|
|
8679
|
+
return Gn(n) ? "" : e.term("urlValidationMessage");
|
|
8593
8680
|
} },
|
|
8594
8681
|
label: e.term("link"),
|
|
8595
8682
|
name: "click-link",
|
|
8596
8683
|
required: !0,
|
|
8597
|
-
show: (e) => e["click-action"] ===
|
|
8684
|
+
show: (e) => e["click-action"] === H.OpenLink,
|
|
8598
8685
|
skipShowCheck: !0,
|
|
8599
8686
|
type: "attribute"
|
|
8600
8687
|
},
|
|
@@ -8608,20 +8695,20 @@ var Or = {
|
|
|
8608
8695
|
label: e.term("page"),
|
|
8609
8696
|
name: "click-page",
|
|
8610
8697
|
required: !0,
|
|
8611
|
-
show: (e) => e["click-action"] ===
|
|
8698
|
+
show: (e) => e["click-action"] === H.OpenPage,
|
|
8612
8699
|
skipShowCheck: !0,
|
|
8613
8700
|
type: "attribute"
|
|
8614
8701
|
},
|
|
8615
8702
|
{
|
|
8616
|
-
api:
|
|
8703
|
+
api: Ln,
|
|
8617
8704
|
controlType: "select",
|
|
8618
|
-
folderPickerConfigs: { variant:
|
|
8705
|
+
folderPickerConfigs: { variant: Ae.Select },
|
|
8619
8706
|
id: "click-space",
|
|
8620
8707
|
label: e.term("space"),
|
|
8621
8708
|
name: "click-space",
|
|
8622
8709
|
options: [],
|
|
8623
8710
|
required: !0,
|
|
8624
|
-
show: (e) => e["click-action"] ===
|
|
8711
|
+
show: (e) => e["click-action"] === H.OpenSpace,
|
|
8625
8712
|
skipShowCheck: !0,
|
|
8626
8713
|
type: "attribute"
|
|
8627
8714
|
},
|
|
@@ -8630,7 +8717,7 @@ var Or = {
|
|
|
8630
8717
|
id: "open-in-new-tab",
|
|
8631
8718
|
label: e.term("openInNewTab"),
|
|
8632
8719
|
name: "open-in-new-tab",
|
|
8633
|
-
show: (e) => e["click-action"] ===
|
|
8720
|
+
show: (e) => e["click-action"] === H.OpenLink || e["click-action"] === H.OpenPage || e["click-action"] === H.OpenSpace,
|
|
8634
8721
|
skipShowCheck: !0,
|
|
8635
8722
|
type: "attribute"
|
|
8636
8723
|
},
|
|
@@ -8649,7 +8736,7 @@ var Or = {
|
|
|
8649
8736
|
recordIdKey: "share-id"
|
|
8650
8737
|
},
|
|
8651
8738
|
required: !0,
|
|
8652
|
-
show: (e) => e["click-action"] ===
|
|
8739
|
+
show: (e) => e["click-action"] === H.ShareAsset,
|
|
8653
8740
|
type: "attribute"
|
|
8654
8741
|
},
|
|
8655
8742
|
{
|
|
@@ -8669,7 +8756,7 @@ var Or = {
|
|
|
8669
8756
|
recordIdKey: "download-id"
|
|
8670
8757
|
},
|
|
8671
8758
|
required: !0,
|
|
8672
|
-
show: (e) => e["click-action"] ===
|
|
8759
|
+
show: (e) => e["click-action"] === H.DownloadAsset,
|
|
8673
8760
|
type: "attribute"
|
|
8674
8761
|
},
|
|
8675
8762
|
{
|
|
@@ -8678,7 +8765,7 @@ var Or = {
|
|
|
8678
8765
|
id: "download-format",
|
|
8679
8766
|
label: e.term("format"),
|
|
8680
8767
|
name: "download-format",
|
|
8681
|
-
show: (e) => e["click-action"] ===
|
|
8768
|
+
show: (e) => e["click-action"] === H.DownloadAsset,
|
|
8682
8769
|
type: "attribute"
|
|
8683
8770
|
},
|
|
8684
8771
|
{
|
|
@@ -8797,7 +8884,7 @@ var Or = {
|
|
|
8797
8884
|
id: "header-options",
|
|
8798
8885
|
label: e.term("header"),
|
|
8799
8886
|
name: "header-options",
|
|
8800
|
-
show: (e) => e["content-type"] ===
|
|
8887
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
8801
8888
|
skipShowCheck: !0,
|
|
8802
8889
|
type: "decorative"
|
|
8803
8890
|
},
|
|
@@ -8820,16 +8907,16 @@ var Or = {
|
|
|
8820
8907
|
value: "right"
|
|
8821
8908
|
}
|
|
8822
8909
|
],
|
|
8823
|
-
show: (e) => e["content-type"] ===
|
|
8910
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
8824
8911
|
skipShowCheck: !0
|
|
8825
8912
|
},
|
|
8826
8913
|
...i ? [...n.getFontPickerControls({
|
|
8827
|
-
api:
|
|
8914
|
+
api: z,
|
|
8828
8915
|
direction: "vertical",
|
|
8829
8916
|
familyKey: "--header-font-family",
|
|
8830
8917
|
id: "--header-font-family",
|
|
8831
8918
|
name: "header-font-family",
|
|
8832
|
-
show: (e) => e["content-type"] ===
|
|
8919
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
8833
8920
|
skipShowCheck: !0,
|
|
8834
8921
|
styleKey: "--header-font-style",
|
|
8835
8922
|
weightKey: "--header-font-weight"
|
|
@@ -8843,7 +8930,7 @@ var Or = {
|
|
|
8843
8930
|
...n.getStyleControl(e),
|
|
8844
8931
|
id: `--header-${e.replace("--", "")}`,
|
|
8845
8932
|
name: `header-${e.replace("--", "")}`,
|
|
8846
|
-
show: (e) => e["content-type"] ===
|
|
8933
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
8847
8934
|
skipShowCheck: !0
|
|
8848
8935
|
})),
|
|
8849
8936
|
{
|
|
@@ -8851,7 +8938,7 @@ var Or = {
|
|
|
8851
8938
|
id: "details-options",
|
|
8852
8939
|
label: e.term("details"),
|
|
8853
8940
|
name: "details-options",
|
|
8854
|
-
show: (e) => e["content-type"] ===
|
|
8941
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
8855
8942
|
skipShowCheck: !0,
|
|
8856
8943
|
type: "decorative"
|
|
8857
8944
|
},
|
|
@@ -8874,16 +8961,16 @@ var Or = {
|
|
|
8874
8961
|
value: "right"
|
|
8875
8962
|
}
|
|
8876
8963
|
],
|
|
8877
|
-
show: (e) => e["content-type"] ===
|
|
8964
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
8878
8965
|
skipShowCheck: !0
|
|
8879
8966
|
},
|
|
8880
8967
|
...i ? [...n.getFontPickerControls({
|
|
8881
|
-
api:
|
|
8968
|
+
api: z,
|
|
8882
8969
|
direction: "vertical",
|
|
8883
8970
|
familyKey: "--details-font-family",
|
|
8884
8971
|
id: "--details-font-family",
|
|
8885
8972
|
name: "details-font-family",
|
|
8886
|
-
show: (e) => e["content-type"] ===
|
|
8973
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
8887
8974
|
skipShowCheck: !0,
|
|
8888
8975
|
styleKey: "--details-font-style",
|
|
8889
8976
|
weightKey: "--details-font-weight"
|
|
@@ -8897,7 +8984,7 @@ var Or = {
|
|
|
8897
8984
|
...n.getStyleControl(e),
|
|
8898
8985
|
id: `--details-${e.replace("--", "")}`,
|
|
8899
8986
|
name: `details-${e.replace("--", "")}`,
|
|
8900
|
-
show: (e) => e["content-type"] ===
|
|
8987
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
8901
8988
|
skipShowCheck: !0
|
|
8902
8989
|
})),
|
|
8903
8990
|
{
|
|
@@ -9077,7 +9164,7 @@ var Or = {
|
|
|
9077
9164
|
controlType: "input",
|
|
9078
9165
|
id: "--highlightable-item-effect-jump-distance",
|
|
9079
9166
|
inputConfigs: { label: e.term("distance") },
|
|
9080
|
-
...
|
|
9167
|
+
...R,
|
|
9081
9168
|
name: "image-effect-jump-distance",
|
|
9082
9169
|
show: (e) => e.effect === d.Jump,
|
|
9083
9170
|
type: "style",
|
|
@@ -9087,7 +9174,7 @@ var Or = {
|
|
|
9087
9174
|
controlType: "input",
|
|
9088
9175
|
id: "--highlightable-item-effect-text-reveal-distance",
|
|
9089
9176
|
inputConfigs: { label: e.term("distance") },
|
|
9090
|
-
...
|
|
9177
|
+
...R,
|
|
9091
9178
|
name: "image-effect-text-reveal-distance",
|
|
9092
9179
|
show: (e) => e.effect === d.TextReveal,
|
|
9093
9180
|
type: "style",
|
|
@@ -9179,12 +9266,12 @@ var Or = {
|
|
|
9179
9266
|
"alt-source-field": "CoreField.TitleWithFallback",
|
|
9180
9267
|
"aspect-ratio": 0,
|
|
9181
9268
|
"aspect-ratio-dark-mode": 0,
|
|
9182
|
-
"click-action":
|
|
9269
|
+
"click-action": H.DoNothing,
|
|
9183
9270
|
"click-link": "",
|
|
9184
9271
|
"click-page": "",
|
|
9185
9272
|
"click-space": "",
|
|
9186
9273
|
"content-position": u.TopLeft,
|
|
9187
|
-
"content-type":
|
|
9274
|
+
"content-type": I.Automatic,
|
|
9188
9275
|
"crop-focus": g.CenterCenter,
|
|
9189
9276
|
"data-constraints": !1,
|
|
9190
9277
|
"data-content-width-percent": "100%",
|
|
@@ -9220,9 +9307,9 @@ var Or = {
|
|
|
9220
9307
|
"zoom-style": l.WithinBorders
|
|
9221
9308
|
},
|
|
9222
9309
|
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(".")
|
|
9223
|
-
},
|
|
9310
|
+
}, $r = {
|
|
9224
9311
|
configs: (e) => {
|
|
9225
|
-
let t = new
|
|
9312
|
+
let t = new B(e);
|
|
9226
9313
|
return [...[].map((e) => ({
|
|
9227
9314
|
controlType: "placeholder",
|
|
9228
9315
|
id: e,
|
|
@@ -9237,25 +9324,25 @@ var Or = {
|
|
|
9237
9324
|
"--margin-top",
|
|
9238
9325
|
"--margin-bottom"
|
|
9239
9326
|
]
|
|
9240
|
-
},
|
|
9327
|
+
}, X = /* @__PURE__ */ function(e) {
|
|
9241
9328
|
return e.Custom = "custom", e.Default = "default", e;
|
|
9242
|
-
}({}),
|
|
9329
|
+
}({}), Z = /* @__PURE__ */ function(e) {
|
|
9243
9330
|
return e.Custom = "custom", e.Large = "large", e.Medium = "medium", e.Small = "small", e;
|
|
9244
|
-
}({}),
|
|
9331
|
+
}({}), Q = /* @__PURE__ */ function(e) {
|
|
9245
9332
|
return e.Adaptive = "adaptive", e.Fill = "fill", e.Fixed = "fixed", e;
|
|
9246
|
-
}({}),
|
|
9333
|
+
}({}), ei = JSON.stringify({
|
|
9247
9334
|
name: "search",
|
|
9248
9335
|
src: ""
|
|
9249
|
-
}),
|
|
9250
|
-
appearance:
|
|
9336
|
+
}), ti = {
|
|
9337
|
+
appearance: X.Default,
|
|
9251
9338
|
"can-search-by-icon": !0,
|
|
9252
|
-
"data-icon-name":
|
|
9339
|
+
"data-icon-name": ei,
|
|
9253
9340
|
label: "",
|
|
9254
9341
|
placeholder: "Search",
|
|
9255
|
-
size:
|
|
9256
|
-
"width-type":
|
|
9342
|
+
size: Z.Medium,
|
|
9343
|
+
"width-type": Q.Adaptive
|
|
9257
9344
|
};
|
|
9258
|
-
function
|
|
9345
|
+
function ni(e) {
|
|
9259
9346
|
if (typeof e != "string" || !e) return null;
|
|
9260
9347
|
try {
|
|
9261
9348
|
let t = JSON.parse(e);
|
|
@@ -9267,20 +9354,20 @@ function Mr(e) {
|
|
|
9267
9354
|
return null;
|
|
9268
9355
|
}
|
|
9269
9356
|
}
|
|
9270
|
-
var
|
|
9271
|
-
function
|
|
9272
|
-
let t =
|
|
9357
|
+
var ri = "custom";
|
|
9358
|
+
function ii(e) {
|
|
9359
|
+
let t = ni(e);
|
|
9273
9360
|
if (!t) return !1;
|
|
9274
9361
|
let n = t.name.trim();
|
|
9275
|
-
return !!(n && n !==
|
|
9362
|
+
return !!(n && n !== ri || t.src.trim());
|
|
9276
9363
|
}
|
|
9277
|
-
function
|
|
9278
|
-
let t =
|
|
9279
|
-
return t ? !!(t.src.trim() || t.name.trim() ===
|
|
9364
|
+
function ai(e) {
|
|
9365
|
+
let t = ni(e);
|
|
9366
|
+
return t ? !!(t.src.trim() || t.name.trim() === ri) : !1;
|
|
9280
9367
|
}
|
|
9281
|
-
var
|
|
9368
|
+
var oi = {
|
|
9282
9369
|
configs: (e, t = {}) => {
|
|
9283
|
-
let n = new
|
|
9370
|
+
let n = new B(e), { enableFontFamilyControls: r = !1 } = t;
|
|
9284
9371
|
return [
|
|
9285
9372
|
...["label"].map((e) => ({
|
|
9286
9373
|
controlType: "placeholder",
|
|
@@ -9305,21 +9392,21 @@ var Ir = {
|
|
|
9305
9392
|
options: [
|
|
9306
9393
|
{
|
|
9307
9394
|
helpText: e.term("specifiedWidthInPixels"),
|
|
9308
|
-
id:
|
|
9395
|
+
id: Q.Fixed,
|
|
9309
9396
|
name: e.term("fixed"),
|
|
9310
|
-
value:
|
|
9397
|
+
value: Q.Fixed
|
|
9311
9398
|
},
|
|
9312
9399
|
{
|
|
9313
9400
|
helpText: e.term("stretchesToFillTheContainer"),
|
|
9314
|
-
id:
|
|
9401
|
+
id: Q.Fill,
|
|
9315
9402
|
name: e.term("fillContainer"),
|
|
9316
|
-
value:
|
|
9403
|
+
value: Q.Fill
|
|
9317
9404
|
},
|
|
9318
9405
|
{
|
|
9319
9406
|
helpText: e.term("fixedWidthOnDesktopAndStretchesToFullWidthOnMobile"),
|
|
9320
|
-
id:
|
|
9407
|
+
id: Q.Adaptive,
|
|
9321
9408
|
name: e.term("adaptive"),
|
|
9322
|
-
value:
|
|
9409
|
+
value: Q.Adaptive
|
|
9323
9410
|
}
|
|
9324
9411
|
],
|
|
9325
9412
|
selectConfigs: {
|
|
@@ -9327,12 +9414,12 @@ var Ir = {
|
|
|
9327
9414
|
placement: "bottom-start"
|
|
9328
9415
|
},
|
|
9329
9416
|
type: "attribute",
|
|
9330
|
-
width: (e) => e["width-type"] ===
|
|
9417
|
+
width: (e) => e["width-type"] === Q.Fill ? "100%" : "50%"
|
|
9331
9418
|
}, {
|
|
9332
9419
|
...n.getStyleControl("--width"),
|
|
9333
9420
|
id: "--width",
|
|
9334
9421
|
name: "width",
|
|
9335
|
-
show: (e) => e["width-type"] !==
|
|
9422
|
+
show: (e) => e["width-type"] !== Q.Fill,
|
|
9336
9423
|
width: "50%"
|
|
9337
9424
|
}],
|
|
9338
9425
|
controlType: "group",
|
|
@@ -9348,18 +9435,18 @@ var Ir = {
|
|
|
9348
9435
|
{
|
|
9349
9436
|
clearable: !1,
|
|
9350
9437
|
controlType: "select",
|
|
9351
|
-
default:
|
|
9438
|
+
default: X.Default,
|
|
9352
9439
|
id: "appearance",
|
|
9353
9440
|
label: e.term("appearance"),
|
|
9354
9441
|
name: "appearance",
|
|
9355
9442
|
options: [{
|
|
9356
|
-
id:
|
|
9443
|
+
id: X.Default,
|
|
9357
9444
|
name: e.term("default"),
|
|
9358
|
-
value:
|
|
9445
|
+
value: X.Default
|
|
9359
9446
|
}, {
|
|
9360
|
-
id:
|
|
9447
|
+
id: X.Custom,
|
|
9361
9448
|
name: e.term("custom"),
|
|
9362
|
-
value:
|
|
9449
|
+
value: X.Custom
|
|
9363
9450
|
}],
|
|
9364
9451
|
type: "attribute"
|
|
9365
9452
|
},
|
|
@@ -9373,7 +9460,7 @@ var Ir = {
|
|
|
9373
9460
|
{
|
|
9374
9461
|
clearable: !1,
|
|
9375
9462
|
controlType: "select",
|
|
9376
|
-
default:
|
|
9463
|
+
default: Z.Medium,
|
|
9377
9464
|
id: "size",
|
|
9378
9465
|
label: e.term("size"),
|
|
9379
9466
|
name: "size",
|
|
@@ -9381,22 +9468,22 @@ var Ir = {
|
|
|
9381
9468
|
{
|
|
9382
9469
|
id: "small",
|
|
9383
9470
|
name: e.term("small"),
|
|
9384
|
-
value:
|
|
9471
|
+
value: Z.Small
|
|
9385
9472
|
},
|
|
9386
9473
|
{
|
|
9387
9474
|
id: "medium",
|
|
9388
9475
|
name: e.term("medium"),
|
|
9389
|
-
value:
|
|
9476
|
+
value: Z.Medium
|
|
9390
9477
|
},
|
|
9391
9478
|
{
|
|
9392
9479
|
id: "large",
|
|
9393
9480
|
name: e.term("large"),
|
|
9394
|
-
value:
|
|
9481
|
+
value: Z.Large
|
|
9395
9482
|
},
|
|
9396
9483
|
{
|
|
9397
9484
|
id: "custom",
|
|
9398
9485
|
name: e.term("custom"),
|
|
9399
|
-
value:
|
|
9486
|
+
value: Z.Custom
|
|
9400
9487
|
}
|
|
9401
9488
|
],
|
|
9402
9489
|
type: "attribute"
|
|
@@ -9405,14 +9492,14 @@ var Ir = {
|
|
|
9405
9492
|
...n.getStyleControl("--height"),
|
|
9406
9493
|
id: "--search-box-custom-height",
|
|
9407
9494
|
name: "height",
|
|
9408
|
-
show: (e) => e.size ===
|
|
9495
|
+
show: (e) => e.size === Z.Custom
|
|
9409
9496
|
},
|
|
9410
9497
|
{
|
|
9411
9498
|
...n.getStyleControl("--padding"),
|
|
9412
9499
|
id: "--search-box-custom-padding",
|
|
9413
9500
|
label: e.term("paddings"),
|
|
9414
9501
|
name: "padding",
|
|
9415
|
-
show: (e) => e.size ===
|
|
9502
|
+
show: (e) => e.size === Z.Custom
|
|
9416
9503
|
},
|
|
9417
9504
|
{
|
|
9418
9505
|
...n.getStyleControl("--font-size"),
|
|
@@ -9420,7 +9507,7 @@ var Ir = {
|
|
|
9420
9507
|
name: "font-size"
|
|
9421
9508
|
},
|
|
9422
9509
|
...r ? [...n.getFontPickerControls({
|
|
9423
|
-
api:
|
|
9510
|
+
api: z,
|
|
9424
9511
|
direction: "vertical",
|
|
9425
9512
|
familyKey: "--search-box-custom-font-family",
|
|
9426
9513
|
id: "--search-box-custom-font-family",
|
|
@@ -9431,23 +9518,23 @@ var Ir = {
|
|
|
9431
9518
|
n.getStyleControl("--border-radius"),
|
|
9432
9519
|
{
|
|
9433
9520
|
...n.getStyleControl("--background-color"),
|
|
9434
|
-
show: (e) => e.appearance ===
|
|
9521
|
+
show: (e) => e.appearance === X.Custom
|
|
9435
9522
|
},
|
|
9436
9523
|
{
|
|
9437
9524
|
...n.getStyleControl("--border"),
|
|
9438
|
-
show: (e) => e.appearance ===
|
|
9525
|
+
show: (e) => e.appearance === X.Custom
|
|
9439
9526
|
},
|
|
9440
9527
|
{
|
|
9441
9528
|
...n.getStyleControl("--color"),
|
|
9442
9529
|
label: e.term("textColor"),
|
|
9443
|
-
show: (e) => e.appearance ===
|
|
9530
|
+
show: (e) => e.appearance === X.Custom
|
|
9444
9531
|
},
|
|
9445
9532
|
{
|
|
9446
9533
|
...n.getStyleControl("--color"),
|
|
9447
9534
|
id: "--placeholder-color",
|
|
9448
9535
|
label: e.term("placeholderTextColor"),
|
|
9449
9536
|
name: "placeholder-color",
|
|
9450
|
-
show: (e) => e.appearance ===
|
|
9537
|
+
show: (e) => e.appearance === X.Custom
|
|
9451
9538
|
},
|
|
9452
9539
|
{
|
|
9453
9540
|
controlType: "icon-picker",
|
|
@@ -9461,23 +9548,23 @@ var Ir = {
|
|
|
9461
9548
|
id: "--icon-size",
|
|
9462
9549
|
label: e.term("iconWidth"),
|
|
9463
9550
|
name: "icon-size",
|
|
9464
|
-
show: (e) => e.appearance ===
|
|
9551
|
+
show: (e) => e.appearance === X.Custom && ii(e["data-icon-name"])
|
|
9465
9552
|
},
|
|
9466
9553
|
{
|
|
9467
9554
|
...n.getStyleControl("--color"),
|
|
9468
9555
|
id: "--icon-color",
|
|
9469
9556
|
label: e.term("iconColor"),
|
|
9470
9557
|
name: "icon-color",
|
|
9471
|
-
show: (e) => e.appearance ===
|
|
9558
|
+
show: (e) => e.appearance === X.Custom && ii(e["data-icon-name"]) && !ai(e["data-icon-name"])
|
|
9472
9559
|
},
|
|
9473
9560
|
{
|
|
9474
9561
|
...n.getStyleControl("--box-shadow"),
|
|
9475
9562
|
label: e.term("shadow"),
|
|
9476
|
-
show: (e) => e.appearance ===
|
|
9563
|
+
show: (e) => e.appearance === X.Custom
|
|
9477
9564
|
}
|
|
9478
9565
|
];
|
|
9479
9566
|
},
|
|
9480
|
-
defaultValue:
|
|
9567
|
+
defaultValue: ti,
|
|
9481
9568
|
stylable: [
|
|
9482
9569
|
"--background-color",
|
|
9483
9570
|
"--border",
|
|
@@ -9501,9 +9588,9 @@ var Ir = {
|
|
|
9501
9588
|
"--search-box-custom-padding",
|
|
9502
9589
|
"--width"
|
|
9503
9590
|
]
|
|
9504
|
-
},
|
|
9591
|
+
}, si = {
|
|
9505
9592
|
configs: (e, t = {}) => {
|
|
9506
|
-
let n = new
|
|
9593
|
+
let n = new B(e), { enableFontFamilyControls: r = !1 } = t;
|
|
9507
9594
|
return [
|
|
9508
9595
|
...[
|
|
9509
9596
|
"hide-panel-variant",
|
|
@@ -9719,7 +9806,7 @@ var Ir = {
|
|
|
9719
9806
|
type: "decorative"
|
|
9720
9807
|
},
|
|
9721
9808
|
...r ? [...n.getFontPickerControls({
|
|
9722
|
-
api:
|
|
9809
|
+
api: z,
|
|
9723
9810
|
direction: "vertical",
|
|
9724
9811
|
familyKey: "--tab-label-font-family",
|
|
9725
9812
|
id: "--tab-label-font-family",
|
|
@@ -9755,15 +9842,15 @@ var Ir = {
|
|
|
9755
9842
|
defaultValue: {
|
|
9756
9843
|
data: JSON.stringify([
|
|
9757
9844
|
{
|
|
9758
|
-
id:
|
|
9845
|
+
id: O(`${Date.now()}-`),
|
|
9759
9846
|
label: "Tab 1"
|
|
9760
9847
|
},
|
|
9761
9848
|
{
|
|
9762
|
-
id:
|
|
9849
|
+
id: O(`${Date.now()}-`),
|
|
9763
9850
|
label: "Tab 2"
|
|
9764
9851
|
},
|
|
9765
9852
|
{
|
|
9766
|
-
id:
|
|
9853
|
+
id: O(`${Date.now()}-`),
|
|
9767
9854
|
label: "Tab 3"
|
|
9768
9855
|
}
|
|
9769
9856
|
]),
|
|
@@ -9804,9 +9891,9 @@ var Ir = {
|
|
|
9804
9891
|
"--tab-padding",
|
|
9805
9892
|
"--tab-panel-padding"
|
|
9806
9893
|
]
|
|
9807
|
-
},
|
|
9894
|
+
}, ci = {
|
|
9808
9895
|
configs: (e, t = {}) => {
|
|
9809
|
-
let n = new
|
|
9896
|
+
let n = new B(e), { containerFontVariants: r, enableFontFamilyControls: i = !1 } = t;
|
|
9810
9897
|
return [
|
|
9811
9898
|
...[].map((e) => ({
|
|
9812
9899
|
controlType: "placeholder",
|
|
@@ -9815,7 +9902,7 @@ var Ir = {
|
|
|
9815
9902
|
type: "attribute"
|
|
9816
9903
|
})),
|
|
9817
9904
|
...i ? [...n.getFontPickerControls({
|
|
9818
|
-
api:
|
|
9905
|
+
api: z,
|
|
9819
9906
|
direction: "vertical",
|
|
9820
9907
|
familyKey: "--font-family",
|
|
9821
9908
|
id: "--font-family",
|
|
@@ -9887,9 +9974,9 @@ var Ir = {
|
|
|
9887
9974
|
"--min-block-width",
|
|
9888
9975
|
"--max-block-width"
|
|
9889
9976
|
]
|
|
9890
|
-
},
|
|
9977
|
+
}, li = {
|
|
9891
9978
|
configs: (e, t = {}) => {
|
|
9892
|
-
let n = new
|
|
9979
|
+
let n = new B(e), { enableAssetFormatControls: r = !1, enableFontFamilyControls: i = !1 } = t;
|
|
9893
9980
|
return [
|
|
9894
9981
|
...[
|
|
9895
9982
|
...r ? ["format", "manual-format"] : [],
|
|
@@ -10014,7 +10101,7 @@ var Ir = {
|
|
|
10014
10101
|
controlType: "input",
|
|
10015
10102
|
id: "tabs-per-page",
|
|
10016
10103
|
label: e.term("markersPerScreen"),
|
|
10017
|
-
...
|
|
10104
|
+
...L,
|
|
10018
10105
|
name: "tabs-per-page",
|
|
10019
10106
|
type: "attribute"
|
|
10020
10107
|
},
|
|
@@ -10030,7 +10117,7 @@ var Ir = {
|
|
|
10030
10117
|
id: "--marker-font-size",
|
|
10031
10118
|
name: "marker-font-size"
|
|
10032
10119
|
}, ...n.getFontPickerControls({
|
|
10033
|
-
api:
|
|
10120
|
+
api: z,
|
|
10034
10121
|
direction: "vertical",
|
|
10035
10122
|
familyKey: "--marker-font-family",
|
|
10036
10123
|
id: "--marker-font-family",
|
|
@@ -10120,15 +10207,15 @@ var Ir = {
|
|
|
10120
10207
|
defaultValue: {
|
|
10121
10208
|
data: JSON.stringify([
|
|
10122
10209
|
{
|
|
10123
|
-
id:
|
|
10210
|
+
id: O(`${Date.now()}-`),
|
|
10124
10211
|
label: "Marker 1"
|
|
10125
10212
|
},
|
|
10126
10213
|
{
|
|
10127
|
-
id:
|
|
10214
|
+
id: O(`${Date.now()}-`),
|
|
10128
10215
|
label: "Marker 2"
|
|
10129
10216
|
},
|
|
10130
10217
|
{
|
|
10131
|
-
id:
|
|
10218
|
+
id: O(`${Date.now()}-`),
|
|
10132
10219
|
label: "Marker 3"
|
|
10133
10220
|
}
|
|
10134
10221
|
]),
|
|
@@ -10154,13 +10241,13 @@ var Ir = {
|
|
|
10154
10241
|
"--marker-image-height",
|
|
10155
10242
|
"--marker-image-border-radius"
|
|
10156
10243
|
]
|
|
10157
|
-
},
|
|
10158
|
-
function
|
|
10244
|
+
}, ui = "300px", di = "100%";
|
|
10245
|
+
function $(e) {
|
|
10159
10246
|
return e["height-mode"] === c.Fixed;
|
|
10160
10247
|
}
|
|
10161
|
-
var
|
|
10248
|
+
var fi = {
|
|
10162
10249
|
configs: (e, t = {}) => {
|
|
10163
|
-
let n = new
|
|
10250
|
+
let n = new B(e), { enableAssetFormatControls: r = !1, enableFontFamilyControls: i = !1 } = t;
|
|
10164
10251
|
return [
|
|
10165
10252
|
...[
|
|
10166
10253
|
"data-content-width-percent",
|
|
@@ -10205,7 +10292,7 @@ var Ur = {
|
|
|
10205
10292
|
callback: ({ extraValue: e, record: t }) => ({
|
|
10206
10293
|
...t,
|
|
10207
10294
|
...r ? {
|
|
10208
|
-
"asset-version":
|
|
10295
|
+
"asset-version": Mt.Latest,
|
|
10209
10296
|
format: "WebHigh",
|
|
10210
10297
|
"format-src": "",
|
|
10211
10298
|
"version-label": ""
|
|
@@ -10326,14 +10413,14 @@ var Ur = {
|
|
|
10326
10413
|
value: c.Fixed
|
|
10327
10414
|
}],
|
|
10328
10415
|
type: "attribute",
|
|
10329
|
-
width: (e) => e["full-bleed"] ?
|
|
10416
|
+
width: (e) => e["full-bleed"] ? $(e) ? "50%" : "100%" : $(e) ? "30%" : "55%"
|
|
10330
10417
|
},
|
|
10331
10418
|
{
|
|
10332
10419
|
...n.getStyleControl("--height"),
|
|
10333
10420
|
id: "height",
|
|
10334
10421
|
inputConfigs: { label: e.term("height") },
|
|
10335
10422
|
name: "height",
|
|
10336
|
-
show:
|
|
10423
|
+
show: $,
|
|
10337
10424
|
type: "attribute",
|
|
10338
10425
|
width: (e) => e["full-bleed"] ? "50%" : "25%"
|
|
10339
10426
|
}
|
|
@@ -10362,7 +10449,7 @@ var Ur = {
|
|
|
10362
10449
|
value: _.Cover
|
|
10363
10450
|
}],
|
|
10364
10451
|
radioGroupConfigs: { horizontal: !0 },
|
|
10365
|
-
show:
|
|
10452
|
+
show: $,
|
|
10366
10453
|
type: "attribute"
|
|
10367
10454
|
},
|
|
10368
10455
|
{
|
|
@@ -10370,7 +10457,7 @@ var Ur = {
|
|
|
10370
10457
|
id: "crop-focus",
|
|
10371
10458
|
label: e.term("cropFocus"),
|
|
10372
10459
|
name: "crop-focus",
|
|
10373
|
-
show:
|
|
10460
|
+
show: $,
|
|
10374
10461
|
type: "attribute"
|
|
10375
10462
|
},
|
|
10376
10463
|
{
|
|
@@ -10407,44 +10494,44 @@ var Ur = {
|
|
|
10407
10494
|
{
|
|
10408
10495
|
clearable: !1,
|
|
10409
10496
|
controlType: "select",
|
|
10410
|
-
disabled: (e) => e["source-variant"] ===
|
|
10497
|
+
disabled: (e) => e["source-variant"] === F.Api,
|
|
10411
10498
|
helpText: e.term("contentHelpText"),
|
|
10412
10499
|
id: "content-type",
|
|
10413
10500
|
label: e.term("content"),
|
|
10414
10501
|
name: "content-type",
|
|
10415
10502
|
options: [{
|
|
10416
|
-
id:
|
|
10503
|
+
id: I.Automatic,
|
|
10417
10504
|
name: e.term("automatic"),
|
|
10418
|
-
value:
|
|
10505
|
+
value: I.Automatic
|
|
10419
10506
|
}, {
|
|
10420
|
-
id:
|
|
10507
|
+
id: I.Custom,
|
|
10421
10508
|
name: e.term("custom"),
|
|
10422
|
-
value:
|
|
10509
|
+
value: I.Custom
|
|
10423
10510
|
}],
|
|
10424
10511
|
type: "attribute"
|
|
10425
10512
|
},
|
|
10426
10513
|
{
|
|
10427
|
-
api:
|
|
10514
|
+
api: M,
|
|
10428
10515
|
controlType: "select",
|
|
10429
10516
|
id: "header-source-field",
|
|
10430
10517
|
label: e.term("headerSourceField"),
|
|
10431
10518
|
name: "header-source-field",
|
|
10432
10519
|
options: [],
|
|
10433
|
-
show: (e) => e["content-type"] ===
|
|
10520
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
10434
10521
|
type: "attribute"
|
|
10435
10522
|
},
|
|
10436
10523
|
{
|
|
10437
|
-
api:
|
|
10524
|
+
api: M,
|
|
10438
10525
|
controlType: "select",
|
|
10439
10526
|
id: "details-source-field",
|
|
10440
10527
|
label: e.term("detailsSourceField"),
|
|
10441
10528
|
name: "details-source-field",
|
|
10442
10529
|
options: [],
|
|
10443
|
-
show: (e) => e["content-type"] ===
|
|
10530
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
10444
10531
|
type: "attribute"
|
|
10445
10532
|
},
|
|
10446
10533
|
{
|
|
10447
|
-
api:
|
|
10534
|
+
api: M,
|
|
10448
10535
|
controlType: "select",
|
|
10449
10536
|
helpText: e.term("additionalFieldsHelpText"),
|
|
10450
10537
|
id: "additional-fields",
|
|
@@ -10452,7 +10539,7 @@ var Ur = {
|
|
|
10452
10539
|
multiple: !0,
|
|
10453
10540
|
name: "additional-fields",
|
|
10454
10541
|
options: [],
|
|
10455
|
-
show: (e) => e["content-type"] ===
|
|
10542
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
10456
10543
|
type: "attribute"
|
|
10457
10544
|
},
|
|
10458
10545
|
{
|
|
@@ -10465,47 +10552,47 @@ var Ur = {
|
|
|
10465
10552
|
{
|
|
10466
10553
|
id: "open-asset-overview",
|
|
10467
10554
|
name: e.term("openAssetOverview"),
|
|
10468
|
-
value:
|
|
10555
|
+
value: H.OpenAssetOverview
|
|
10469
10556
|
},
|
|
10470
10557
|
{
|
|
10471
10558
|
id: "show-asset-in-library",
|
|
10472
10559
|
name: e.term("showAssetInLibrary"),
|
|
10473
|
-
value:
|
|
10560
|
+
value: H.ShowAssetInLibrary
|
|
10474
10561
|
},
|
|
10475
10562
|
{
|
|
10476
10563
|
id: "expand-asset-in-full-screen",
|
|
10477
10564
|
name: e.term("expandAssetInFullScreen"),
|
|
10478
|
-
value:
|
|
10565
|
+
value: H.ExpandAssetInFullScreen
|
|
10479
10566
|
},
|
|
10480
10567
|
{
|
|
10481
10568
|
id: "download-asset",
|
|
10482
10569
|
name: e.term("downloadAssets"),
|
|
10483
|
-
value:
|
|
10570
|
+
value: H.DownloadAsset
|
|
10484
10571
|
},
|
|
10485
10572
|
{
|
|
10486
10573
|
id: "share-asset",
|
|
10487
10574
|
name: e.term("shareAsset"),
|
|
10488
|
-
value:
|
|
10575
|
+
value: H.ShareAsset
|
|
10489
10576
|
},
|
|
10490
10577
|
{
|
|
10491
10578
|
id: "open-link",
|
|
10492
10579
|
name: e.term("openLink"),
|
|
10493
|
-
value:
|
|
10580
|
+
value: H.OpenLink
|
|
10494
10581
|
},
|
|
10495
10582
|
{
|
|
10496
10583
|
id: "open-page",
|
|
10497
10584
|
name: e.term("openPage"),
|
|
10498
|
-
value:
|
|
10585
|
+
value: H.OpenPage
|
|
10499
10586
|
},
|
|
10500
10587
|
{
|
|
10501
10588
|
id: "open-space",
|
|
10502
10589
|
name: e.term("openSpace"),
|
|
10503
|
-
value:
|
|
10590
|
+
value: H.OpenSpace
|
|
10504
10591
|
},
|
|
10505
10592
|
{
|
|
10506
10593
|
id: "do-nothing",
|
|
10507
10594
|
name: e.term("doNothing"),
|
|
10508
|
-
value:
|
|
10595
|
+
value: H.DoNothing
|
|
10509
10596
|
}
|
|
10510
10597
|
],
|
|
10511
10598
|
type: "attribute"
|
|
@@ -10515,12 +10602,12 @@ var Ur = {
|
|
|
10515
10602
|
id: "click-link",
|
|
10516
10603
|
inputConfigs: { validation: (t) => {
|
|
10517
10604
|
let n = t["click-link"];
|
|
10518
|
-
return
|
|
10605
|
+
return Gn(n) ? "" : e.term("urlValidationMessage");
|
|
10519
10606
|
} },
|
|
10520
10607
|
label: e.term("link"),
|
|
10521
10608
|
name: "click-link",
|
|
10522
10609
|
required: !0,
|
|
10523
|
-
show: (e) => e["click-action"] ===
|
|
10610
|
+
show: (e) => e["click-action"] === H.OpenLink,
|
|
10524
10611
|
type: "attribute"
|
|
10525
10612
|
},
|
|
10526
10613
|
{
|
|
@@ -10533,19 +10620,19 @@ var Ur = {
|
|
|
10533
10620
|
label: e.term("page"),
|
|
10534
10621
|
name: "click-page",
|
|
10535
10622
|
required: !0,
|
|
10536
|
-
show: (e) => e["click-action"] ===
|
|
10623
|
+
show: (e) => e["click-action"] === H.OpenPage,
|
|
10537
10624
|
type: "attribute"
|
|
10538
10625
|
},
|
|
10539
10626
|
{
|
|
10540
|
-
api:
|
|
10627
|
+
api: Ln,
|
|
10541
10628
|
controlType: "select",
|
|
10542
|
-
folderPickerConfigs: { variant:
|
|
10629
|
+
folderPickerConfigs: { variant: Ae.Select },
|
|
10543
10630
|
id: "click-space",
|
|
10544
10631
|
label: e.term("space"),
|
|
10545
10632
|
name: "click-space",
|
|
10546
10633
|
options: [],
|
|
10547
10634
|
required: !0,
|
|
10548
|
-
show: (e) => e["click-action"] ===
|
|
10635
|
+
show: (e) => e["click-action"] === H.OpenSpace,
|
|
10549
10636
|
type: "attribute"
|
|
10550
10637
|
},
|
|
10551
10638
|
{
|
|
@@ -10553,7 +10640,7 @@ var Ur = {
|
|
|
10553
10640
|
id: "open-in-new-tab",
|
|
10554
10641
|
label: e.term("openInNewTab"),
|
|
10555
10642
|
name: "open-in-new-tab",
|
|
10556
|
-
show: (e) => e["click-action"] ===
|
|
10643
|
+
show: (e) => e["click-action"] === H.OpenLink || e["click-action"] === H.OpenPage || e["click-action"] === H.OpenSpace,
|
|
10557
10644
|
type: "attribute"
|
|
10558
10645
|
},
|
|
10559
10646
|
{
|
|
@@ -10571,7 +10658,7 @@ var Ur = {
|
|
|
10571
10658
|
recordIdKey: "share-id"
|
|
10572
10659
|
},
|
|
10573
10660
|
required: !0,
|
|
10574
|
-
show: (e) => e["click-action"] ===
|
|
10661
|
+
show: (e) => e["click-action"] === H.ShareAsset,
|
|
10575
10662
|
type: "attribute"
|
|
10576
10663
|
},
|
|
10577
10664
|
{
|
|
@@ -10591,7 +10678,7 @@ var Ur = {
|
|
|
10591
10678
|
recordIdKey: "download-id"
|
|
10592
10679
|
},
|
|
10593
10680
|
required: !0,
|
|
10594
|
-
show: (e) => e["click-action"] ===
|
|
10681
|
+
show: (e) => e["click-action"] === H.DownloadAsset,
|
|
10595
10682
|
type: "attribute"
|
|
10596
10683
|
},
|
|
10597
10684
|
{
|
|
@@ -10600,7 +10687,7 @@ var Ur = {
|
|
|
10600
10687
|
id: "download-format",
|
|
10601
10688
|
label: e.term("format"),
|
|
10602
10689
|
name: "download-format",
|
|
10603
|
-
show: (e) => e["click-action"] ===
|
|
10690
|
+
show: (e) => e["click-action"] === H.DownloadAsset,
|
|
10604
10691
|
type: "attribute"
|
|
10605
10692
|
},
|
|
10606
10693
|
{
|
|
@@ -10773,7 +10860,7 @@ var Ur = {
|
|
|
10773
10860
|
id: "header-options",
|
|
10774
10861
|
label: e.term("header"),
|
|
10775
10862
|
name: "header-options",
|
|
10776
|
-
show: (e) => e["content-type"] ===
|
|
10863
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
10777
10864
|
skipShowCheck: !0,
|
|
10778
10865
|
type: "decorative"
|
|
10779
10866
|
},
|
|
@@ -10796,16 +10883,16 @@ var Ur = {
|
|
|
10796
10883
|
value: "right"
|
|
10797
10884
|
}
|
|
10798
10885
|
],
|
|
10799
|
-
show: (e) => e["content-type"] ===
|
|
10886
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
10800
10887
|
skipShowCheck: !0
|
|
10801
10888
|
},
|
|
10802
10889
|
...i ? [...n.getFontPickerControls({
|
|
10803
|
-
api:
|
|
10890
|
+
api: z,
|
|
10804
10891
|
direction: "vertical",
|
|
10805
10892
|
familyKey: "--header-font-family",
|
|
10806
10893
|
id: "--header-font-family",
|
|
10807
10894
|
name: "header-font-family",
|
|
10808
|
-
show: (e) => e["content-type"] ===
|
|
10895
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
10809
10896
|
skipShowCheck: !0,
|
|
10810
10897
|
styleKey: "--header-font-style",
|
|
10811
10898
|
weightKey: "--header-font-weight"
|
|
@@ -10819,7 +10906,7 @@ var Ur = {
|
|
|
10819
10906
|
...n.getStyleControl(e),
|
|
10820
10907
|
id: `--header-${e.replace("--", "")}`,
|
|
10821
10908
|
name: `header-${e.replace("--", "")}`,
|
|
10822
|
-
show: (e) => e["content-type"] ===
|
|
10909
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
10823
10910
|
skipShowCheck: !0
|
|
10824
10911
|
})),
|
|
10825
10912
|
{
|
|
@@ -10827,7 +10914,7 @@ var Ur = {
|
|
|
10827
10914
|
id: "details-options",
|
|
10828
10915
|
label: e.term("details"),
|
|
10829
10916
|
name: "details-options",
|
|
10830
|
-
show: (e) => e["content-type"] ===
|
|
10917
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
10831
10918
|
skipShowCheck: !0,
|
|
10832
10919
|
type: "decorative"
|
|
10833
10920
|
},
|
|
@@ -10850,16 +10937,16 @@ var Ur = {
|
|
|
10850
10937
|
value: "right"
|
|
10851
10938
|
}
|
|
10852
10939
|
],
|
|
10853
|
-
show: (e) => e["content-type"] ===
|
|
10940
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
10854
10941
|
skipShowCheck: !0
|
|
10855
10942
|
},
|
|
10856
10943
|
...i ? [...n.getFontPickerControls({
|
|
10857
|
-
api:
|
|
10944
|
+
api: z,
|
|
10858
10945
|
direction: "vertical",
|
|
10859
10946
|
familyKey: "--details-font-family",
|
|
10860
10947
|
id: "--details-font-family",
|
|
10861
10948
|
name: "details-font-family",
|
|
10862
|
-
show: (e) => e["content-type"] ===
|
|
10949
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
10863
10950
|
skipShowCheck: !0,
|
|
10864
10951
|
styleKey: "--details-font-style",
|
|
10865
10952
|
weightKey: "--details-font-weight"
|
|
@@ -10873,21 +10960,21 @@ var Ur = {
|
|
|
10873
10960
|
...n.getStyleControl(e),
|
|
10874
10961
|
id: `--details-${e.replace("--", "")}`,
|
|
10875
10962
|
name: `details-${e.replace("--", "")}`,
|
|
10876
|
-
show: (e) => e["content-type"] ===
|
|
10963
|
+
show: (e) => e["content-type"] === I.Automatic,
|
|
10877
10964
|
skipShowCheck: !0
|
|
10878
10965
|
}))
|
|
10879
10966
|
];
|
|
10880
10967
|
},
|
|
10881
10968
|
defaultValue: {
|
|
10882
10969
|
"additional-fields": "",
|
|
10883
|
-
"asset-version":
|
|
10970
|
+
"asset-version": Mt.Latest,
|
|
10884
10971
|
autoplay: !1,
|
|
10885
|
-
"click-action":
|
|
10972
|
+
"click-action": H.DoNothing,
|
|
10886
10973
|
"click-link": "",
|
|
10887
10974
|
"click-page": "",
|
|
10888
10975
|
"click-space": "",
|
|
10889
10976
|
"content-position": u.TopLeft,
|
|
10890
|
-
"content-type":
|
|
10977
|
+
"content-type": I.Automatic,
|
|
10891
10978
|
"crop-focus": g.CenterCenter,
|
|
10892
10979
|
"data-constraints": !1,
|
|
10893
10980
|
"data-content-width-percent": "100%",
|
|
@@ -10899,7 +10986,7 @@ var Ur = {
|
|
|
10899
10986
|
"format-src": "",
|
|
10900
10987
|
"full-bleed": !1,
|
|
10901
10988
|
"header-source-field": "",
|
|
10902
|
-
height:
|
|
10989
|
+
height: ui,
|
|
10903
10990
|
"height-mode": c.Auto,
|
|
10904
10991
|
loop: !1,
|
|
10905
10992
|
"manual-thumbnail-format": !1,
|
|
@@ -10914,37 +11001,37 @@ var Ur = {
|
|
|
10914
11001
|
"thumbnail-record-id": "",
|
|
10915
11002
|
"thumbnail-transformations": "[]",
|
|
10916
11003
|
"version-label": "",
|
|
10917
|
-
width:
|
|
11004
|
+
width: di
|
|
10918
11005
|
},
|
|
10919
11006
|
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(".")
|
|
10920
|
-
},
|
|
11007
|
+
}, pi = /* @__PURE__ */ t({ default: () => mi }), mi = class {
|
|
10921
11008
|
constructor(e) {
|
|
10922
11009
|
this.localize = e, this.localize = e;
|
|
10923
11010
|
}
|
|
10924
11011
|
getConfigs(e, t = {}) {
|
|
10925
11012
|
switch (e) {
|
|
10926
|
-
case b.Accordion: return
|
|
10927
|
-
case b.Analytics: return
|
|
10928
|
-
case b.Audio: return
|
|
10929
|
-
case b.Button: return
|
|
10930
|
-
case b.Carousel: return
|
|
10931
|
-
case b.ColorSwatches: return
|
|
10932
|
-
case b.Column: return
|
|
10933
|
-
case b.ColumnGroup: return
|
|
10934
|
-
case b.DamView: return
|
|
10935
|
-
case b.Divider: return
|
|
10936
|
-
case b.DocumentViewer: return
|
|
10937
|
-
case b.FontKit: return
|
|
10938
|
-
case b.FontKitAdvanced: return
|
|
10939
|
-
case b.Gallery: return
|
|
10940
|
-
case b.Header: return
|
|
10941
|
-
case b.Image: return
|
|
10942
|
-
case b.RichText: return
|
|
10943
|
-
case b.SearchBox: return
|
|
10944
|
-
case b.TabGroup: return
|
|
10945
|
-
case b.Text: return
|
|
10946
|
-
case b.Timeline: return
|
|
10947
|
-
case b.Video: return
|
|
11013
|
+
case b.Accordion: return sr.configs(this.localize, t);
|
|
11014
|
+
case b.Analytics: return Xr.configs(this.localize);
|
|
11015
|
+
case b.Audio: return cr.configs(this.localize, t);
|
|
11016
|
+
case b.Button: return ur.configs(this.localize, t);
|
|
11017
|
+
case b.Carousel: return dr.configs(this.localize, t);
|
|
11018
|
+
case b.ColorSwatches: return _r.configs(this.localize, t);
|
|
11019
|
+
case b.Column: return vr.configs(this.localize, t);
|
|
11020
|
+
case b.ColumnGroup: return yr.configs(this.localize, t);
|
|
11021
|
+
case b.DamView: return kr.configs(this.localize);
|
|
11022
|
+
case b.Divider: return Ar.configs(this.localize);
|
|
11023
|
+
case b.DocumentViewer: return Nr.configs(this.localize);
|
|
11024
|
+
case b.FontKit: return Rr.configs(this.localize, t);
|
|
11025
|
+
case b.FontKitAdvanced: return Br.configs(this.localize);
|
|
11026
|
+
case b.Gallery: return Kr.configs(this.localize, t);
|
|
11027
|
+
case b.Header: return Yr.configs(this.localize, t);
|
|
11028
|
+
case b.Image: return Qr.configs(this.localize, t);
|
|
11029
|
+
case b.RichText: return $r.configs(this.localize);
|
|
11030
|
+
case b.SearchBox: return oi.configs(this.localize, t);
|
|
11031
|
+
case b.TabGroup: return si.configs(this.localize, t);
|
|
11032
|
+
case b.Text: return ci.configs(this.localize, t);
|
|
11033
|
+
case b.Timeline: return li.configs(this.localize, t);
|
|
11034
|
+
case b.Video: return fi.configs(this.localize, t);
|
|
10948
11035
|
default: return [];
|
|
10949
11036
|
}
|
|
10950
11037
|
}
|
|
@@ -10977,57 +11064,57 @@ var Ur = {
|
|
|
10977
11064
|
}
|
|
10978
11065
|
getDefaultValue(e) {
|
|
10979
11066
|
switch (e) {
|
|
10980
|
-
case b.Accordion: return
|
|
10981
|
-
case b.Analytics: return
|
|
10982
|
-
case b.Audio: return
|
|
10983
|
-
case b.Button: return
|
|
10984
|
-
case b.Carousel: return
|
|
10985
|
-
case b.ColorSwatches: return
|
|
10986
|
-
case b.Column: return
|
|
10987
|
-
case b.ColumnGroup: return
|
|
10988
|
-
case b.DamView: return
|
|
10989
|
-
case b.Divider: return
|
|
10990
|
-
case b.DocumentViewer: return
|
|
10991
|
-
case b.FontKit: return
|
|
10992
|
-
case b.FontKitAdvanced: return
|
|
10993
|
-
case b.Gallery: return
|
|
10994
|
-
case b.Header: return
|
|
10995
|
-
case b.Image: return
|
|
10996
|
-
case b.SearchBox: return
|
|
10997
|
-
case b.TabGroup: return
|
|
10998
|
-
case b.Text: return
|
|
10999
|
-
case b.Timeline: return
|
|
11000
|
-
case b.Video: return
|
|
11067
|
+
case b.Accordion: return sr.defaultValue;
|
|
11068
|
+
case b.Analytics: return Xr.defaultValue;
|
|
11069
|
+
case b.Audio: return cr.defaultValue;
|
|
11070
|
+
case b.Button: return ur.defaultValue;
|
|
11071
|
+
case b.Carousel: return dr.defaultValue;
|
|
11072
|
+
case b.ColorSwatches: return _r.defaultValue;
|
|
11073
|
+
case b.Column: return vr.defaultValue;
|
|
11074
|
+
case b.ColumnGroup: return yr.defaultValue;
|
|
11075
|
+
case b.DamView: return kr.defaultValue;
|
|
11076
|
+
case b.Divider: return Ar.defaultValue;
|
|
11077
|
+
case b.DocumentViewer: return Nr.defaultValue;
|
|
11078
|
+
case b.FontKit: return Rr.defaultValue;
|
|
11079
|
+
case b.FontKitAdvanced: return Br.defaultValue;
|
|
11080
|
+
case b.Gallery: return Kr.defaultValue;
|
|
11081
|
+
case b.Header: return Yr.defaultValue;
|
|
11082
|
+
case b.Image: return Qr.defaultValue;
|
|
11083
|
+
case b.SearchBox: return oi.defaultValue;
|
|
11084
|
+
case b.TabGroup: return si.defaultValue;
|
|
11085
|
+
case b.Text: return ci.defaultValue;
|
|
11086
|
+
case b.Timeline: return li.defaultValue;
|
|
11087
|
+
case b.Video: return fi.defaultValue;
|
|
11001
11088
|
default: return {};
|
|
11002
11089
|
}
|
|
11003
11090
|
}
|
|
11004
11091
|
getStylable(e) {
|
|
11005
11092
|
switch (e) {
|
|
11006
|
-
case b.Accordion: return
|
|
11007
|
-
case b.Analytics: return
|
|
11008
|
-
case b.Audio: return
|
|
11009
|
-
case b.Button: return
|
|
11010
|
-
case b.Carousel: return
|
|
11011
|
-
case b.ColorSwatches: return
|
|
11012
|
-
case b.Column: return
|
|
11013
|
-
case b.ColumnGroup: return
|
|
11014
|
-
case b.DamView: return
|
|
11015
|
-
case b.Divider: return
|
|
11016
|
-
case b.DocumentViewer: return
|
|
11017
|
-
case b.FontKit: return
|
|
11018
|
-
case b.FontKitAdvanced: return
|
|
11019
|
-
case b.Gallery: return
|
|
11020
|
-
case b.Header: return
|
|
11021
|
-
case b.Image: return
|
|
11022
|
-
case b.RichText: return
|
|
11023
|
-
case b.SearchBox: return
|
|
11024
|
-
case b.TabGroup: return
|
|
11025
|
-
case b.Text: return
|
|
11026
|
-
case b.Timeline: return
|
|
11027
|
-
case b.Video: return
|
|
11093
|
+
case b.Accordion: return sr.stylable;
|
|
11094
|
+
case b.Analytics: return Xr.stylable;
|
|
11095
|
+
case b.Audio: return cr.stylable;
|
|
11096
|
+
case b.Button: return ur.stylable;
|
|
11097
|
+
case b.Carousel: return dr.stylable;
|
|
11098
|
+
case b.ColorSwatches: return _r.stylable;
|
|
11099
|
+
case b.Column: return vr.stylable;
|
|
11100
|
+
case b.ColumnGroup: return yr.stylable;
|
|
11101
|
+
case b.DamView: return kr.stylable;
|
|
11102
|
+
case b.Divider: return Ar.stylable;
|
|
11103
|
+
case b.DocumentViewer: return Nr.stylable;
|
|
11104
|
+
case b.FontKit: return Rr.stylable;
|
|
11105
|
+
case b.FontKitAdvanced: return Br.stylable;
|
|
11106
|
+
case b.Gallery: return Kr.stylable;
|
|
11107
|
+
case b.Header: return Yr.stylable;
|
|
11108
|
+
case b.Image: return Qr.stylable;
|
|
11109
|
+
case b.RichText: return $r.stylable;
|
|
11110
|
+
case b.SearchBox: return oi.stylable;
|
|
11111
|
+
case b.TabGroup: return si.stylable;
|
|
11112
|
+
case b.Text: return ci.stylable;
|
|
11113
|
+
case b.Timeline: return li.stylable;
|
|
11114
|
+
case b.Video: return fi.stylable;
|
|
11028
11115
|
default: return [];
|
|
11029
11116
|
}
|
|
11030
11117
|
}
|
|
11031
11118
|
};
|
|
11032
11119
|
//#endregion
|
|
11033
|
-
export {
|
|
11120
|
+
export { Xt as $, An as A, Sn as B, Fn as C, On as D, Ln as E, I as F, en as G, yn as H, N as I, rn as J, on as K, F as L, En as M, jn as N, Tn as O, wn as P, tn as Q, bn as R, Rn as S, In as T, Yt as U, _n as V, nn as W, hn as X, gn as Y, sn as Z, Zn as _, Z as a, Nt as at, Xn as b, K as c, At as ct, U as d, Pe as dt, $t as et, lr as f, Qn as g, Jn as h, X as i, A as it, Mn as j, kn as k, Pr as l, Ie as lt, nr as m, pi as n, un as nt, Q as o, Mt as ot, H as p, an as q, ei as r, j as rt, zr as s, jt as st, mi as t, Zt as tt, W as u, Fe as ut, Yn as v, Pn as w, zn as x, Kn as y, xn as z };
|