@plitzi/sdk-authoring 0.39.15 → 0.39.16
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/CHANGELOG.md +7 -0
- package/dist/index-src.js +468 -297
- package/dist/index.d.ts +190 -20
- package/dist/index.js +2 -2
- package/dist/node.d.ts +7 -7
- package/dist/node.js +2 -2
- package/package.json +6 -6
- package/skills/plitzi-authoring/CHEATSHEET.md +46 -43
- package/skills/plitzi-authoring/SKILL.md +3 -3
- package/skills/plitzi-authoring/recipes/carousel.ts +2 -2
- package/skills/plitzi-authoring/recipes/forms-and-modals.ts +1 -1
- package/skills/plitzi-authoring/recipes/table.ts +60 -0
- package/skills/plitzi-authoring/reference/accessibility.md +6 -4
- package/skills/plitzi-authoring/reference/authoring-errors.md +5 -5
- package/skills/plitzi-authoring/reference/flows.md +1 -0
- package/skills/plitzi-authoring/reference/lists.md +8 -5
- package/skills/plitzi-authoring/reference/recipes.md +1 -0
- package/skills/plitzi-authoring/reference/rules.md +2 -1
- package/skills/plitzi-authoring/reference/typed-sources.md +1 -1
package/dist/index-src.js
CHANGED
|
@@ -21,14 +21,14 @@ var e$65 = {
|
|
|
21
21
|
json: "codemirror-json",
|
|
22
22
|
elementIds: "elements"
|
|
23
23
|
};
|
|
24
|
-
var t$
|
|
24
|
+
var t$97 = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").split(/[-_\s]+/).map((e) => `${e.charAt(0).toUpperCase()}${e.slice(1)}`).join(" ");
|
|
25
25
|
var n$75 = (n, r) => ({
|
|
26
26
|
type: r.builderType ?? e$65[r.type],
|
|
27
|
-
label: r.label ?? t$
|
|
27
|
+
label: r.label ?? t$97(n),
|
|
28
28
|
...r.default === void 0 ? {} : { defaultValue: r.default },
|
|
29
29
|
...r.options ? { options: r.options.map((e) => ({
|
|
30
30
|
value: e,
|
|
31
|
-
label: r.optionLabels?.[e] ?? t$
|
|
31
|
+
label: r.optionLabels?.[e] ?? t$97(e)
|
|
32
32
|
})) } : {},
|
|
33
33
|
...r.when ? { when: r.when } : {},
|
|
34
34
|
...r.canBind === void 0 ? {} : { canBind: r.canBind },
|
|
@@ -51,9 +51,9 @@ var a$39 = (e, t, n, r = {}) => ({
|
|
|
51
51
|
var o$40 = (e, t, n = {}) => Object.fromEntries(Object.keys(e).map((r) => [r, a$39(r, e[r], t[r], n[r] ?? {})]));
|
|
52
52
|
// ../sdk-shared/dist/helpers/twigWrapper/tokens/tokenPatterns.mjs
|
|
53
53
|
var e$64 = "[a-zA-Z_][a-zA-Z0-9_]*(?:-[a-zA-Z0-9_]+)*";
|
|
54
|
-
var t$
|
|
55
|
-
var n$74 = `\\[\\s*(?:\\d+|'[^']*'|"[^"]*"|${e$64}(?:\\.${t$
|
|
56
|
-
var r$59 = `${`${e$64}(?:${n$74})*(?:\\??\\.${t$
|
|
54
|
+
var t$96 = `(?:${e$64}|\\d+)`;
|
|
55
|
+
var n$74 = `\\[\\s*(?:\\d+|'[^']*'|"[^"]*"|${e$64}(?:\\.${t$96})*)\\s*\\]`;
|
|
56
|
+
var r$59 = `${`${e$64}(?:${n$74})*(?:\\??\\.${t$96}(?:${n$74})*)*`}(?:\\s*\\?\\?\\s*[^|{}]+?)?(?:\\s*\\|\\s*[a-zA-Z_]+(?:\\([^)]*\\))?)*`;
|
|
57
57
|
var i$50 = `\\{\\{\\s*${r$59}\\s*\\}\\}`;
|
|
58
58
|
var a$38 = `(?:${`\\{\\{\\{\\s*${r$59}\\s*\\}\\}\\}`}|${i$50})`;
|
|
59
59
|
var o$39 = new RegExp(a$38, "g");
|
|
@@ -65,7 +65,7 @@ var n$73 = (n, r = !1) => {
|
|
|
65
65
|
return i.lastIndex = 0, i.test(n.trim());
|
|
66
66
|
};
|
|
67
67
|
// ../sdk-shared/dist/authoring/paramSpec.mjs
|
|
68
|
-
var t$
|
|
68
|
+
var t$95 = [
|
|
69
69
|
"text",
|
|
70
70
|
"textarea",
|
|
71
71
|
"select",
|
|
@@ -121,7 +121,7 @@ var c$34 = (e, t, n) => {
|
|
|
121
121
|
};
|
|
122
122
|
// ../sdk-shared/dist/helpers/scroll.mjs
|
|
123
123
|
var e$63 = ["smooth", "auto"];
|
|
124
|
-
var t$
|
|
124
|
+
var t$94 = [
|
|
125
125
|
"start",
|
|
126
126
|
"center",
|
|
127
127
|
"end",
|
|
@@ -182,13 +182,13 @@ var i$48 = {
|
|
|
182
182
|
type: "select",
|
|
183
183
|
description: "Where the element lands, top to bottom.",
|
|
184
184
|
default: "start",
|
|
185
|
-
options: [...t$
|
|
185
|
+
options: [...t$94]
|
|
186
186
|
},
|
|
187
187
|
inline: {
|
|
188
188
|
type: "select",
|
|
189
189
|
description: "Where it lands, side to side.",
|
|
190
190
|
default: "nearest",
|
|
191
|
-
options: [...t$
|
|
191
|
+
options: [...t$94]
|
|
192
192
|
},
|
|
193
193
|
behavior: r$57
|
|
194
194
|
}
|
|
@@ -297,14 +297,14 @@ var e$62 = [
|
|
|
297
297
|
"bottom-center",
|
|
298
298
|
"bottom-left"
|
|
299
299
|
];
|
|
300
|
-
var t$
|
|
300
|
+
var t$93 = [
|
|
301
301
|
"success",
|
|
302
302
|
"danger",
|
|
303
303
|
"warning",
|
|
304
304
|
"info"
|
|
305
305
|
];
|
|
306
306
|
var n$71 = (n) => {
|
|
307
|
-
let r = e$62.find((e) => e === n.placement), i = t$
|
|
307
|
+
let r = e$62.find((e) => e === n.placement), i = t$93.find((e) => e === n.appearance), { autoDismiss: a, autoDismissTimeout: o } = n, s = typeof o == "number" && Number.isFinite(o) && o > 0 ? o : void 0, c = {
|
|
308
308
|
placement: r !== void 0,
|
|
309
309
|
appearance: i !== void 0,
|
|
310
310
|
autoDismiss: typeof a == "boolean",
|
|
@@ -358,7 +358,7 @@ var i$47 = {
|
|
|
358
358
|
type: "select",
|
|
359
359
|
description: "Visual style of the notification: success, danger, warning or info.",
|
|
360
360
|
default: r$56.appearance,
|
|
361
|
-
options: [...t$
|
|
361
|
+
options: [...t$93]
|
|
362
362
|
},
|
|
363
363
|
autoDismiss: {
|
|
364
364
|
type: "boolean",
|
|
@@ -504,7 +504,7 @@ var elementAttributeNames = {
|
|
|
504
504
|
"name",
|
|
505
505
|
"open"
|
|
506
506
|
],
|
|
507
|
-
disclosureSummary: ["marker"],
|
|
507
|
+
disclosureSummary: ["label", "marker"],
|
|
508
508
|
dropdown: [
|
|
509
509
|
"backgroundDisabled",
|
|
510
510
|
"closeOnClickBackground",
|
|
@@ -947,6 +947,12 @@ var elementAttributeNames = {
|
|
|
947
947
|
tabContainerBody: [],
|
|
948
948
|
tabContainerHeader: [],
|
|
949
949
|
tabContainerItem: ["hash"],
|
|
950
|
+
table: [
|
|
951
|
+
"caption",
|
|
952
|
+
"itemKey",
|
|
953
|
+
"items"
|
|
954
|
+
],
|
|
955
|
+
tableColumn: ["header", "rowHeader"],
|
|
950
956
|
text: [
|
|
951
957
|
"content",
|
|
952
958
|
"decorative",
|
|
@@ -975,7 +981,7 @@ var elementAttributeNames = {
|
|
|
975
981
|
]
|
|
976
982
|
};
|
|
977
983
|
// ../sdk-elements/dist/elements/advanced/BlockHtml/declaration.mjs
|
|
978
|
-
var t$
|
|
984
|
+
var t$92 = r$61()({
|
|
979
985
|
type: "blockHtml",
|
|
980
986
|
content: {
|
|
981
987
|
attributes: { content: "" },
|
|
@@ -991,7 +997,7 @@ var t$90 = r$61()({
|
|
|
991
997
|
}
|
|
992
998
|
});
|
|
993
999
|
// ../sdk-elements/dist/elements/advanced/BlockJsx/declaration.mjs
|
|
994
|
-
var t$
|
|
1000
|
+
var t$91 = r$61()({
|
|
995
1001
|
type: "blockJsx",
|
|
996
1002
|
content: {
|
|
997
1003
|
attributes: {
|
|
@@ -1012,7 +1018,7 @@ var t$89 = r$61()({
|
|
|
1012
1018
|
}
|
|
1013
1019
|
});
|
|
1014
1020
|
// ../sdk-elements/dist/elements/advanced/Custom/declaration.mjs
|
|
1015
|
-
var t$
|
|
1021
|
+
var t$90 = r$61()({
|
|
1016
1022
|
type: "custom",
|
|
1017
1023
|
content: {
|
|
1018
1024
|
attributes: {
|
|
@@ -1041,7 +1047,7 @@ var t$88 = r$61()({
|
|
|
1041
1047
|
}
|
|
1042
1048
|
});
|
|
1043
1049
|
// ../sdk-elements/dist/elements/advanced/NodeHtml/declaration.mjs
|
|
1044
|
-
var t$
|
|
1050
|
+
var t$89 = r$61()({
|
|
1045
1051
|
type: "nodeHtml",
|
|
1046
1052
|
content: {
|
|
1047
1053
|
attributes: { subType: "div" },
|
|
@@ -1065,7 +1071,7 @@ var t$87 = r$61()({
|
|
|
1065
1071
|
}
|
|
1066
1072
|
});
|
|
1067
1073
|
// ../sdk-elements/dist/elements/advanced/PlitziSdk/declaration.mjs
|
|
1068
|
-
var t$
|
|
1074
|
+
var t$88 = r$61()({
|
|
1069
1075
|
type: "plitziSdk",
|
|
1070
1076
|
content: {
|
|
1071
1077
|
attributes: {
|
|
@@ -1084,7 +1090,7 @@ var t$86 = r$61()({
|
|
|
1084
1090
|
}
|
|
1085
1091
|
});
|
|
1086
1092
|
// ../sdk-elements/dist/elements/advanced/Reference/declaration.mjs
|
|
1087
|
-
var t$
|
|
1093
|
+
var t$87 = r$61()({
|
|
1088
1094
|
type: "reference",
|
|
1089
1095
|
content: {
|
|
1090
1096
|
attributes: {
|
|
@@ -1175,12 +1181,12 @@ var r$55 = r$61()({
|
|
|
1175
1181
|
}
|
|
1176
1182
|
}
|
|
1177
1183
|
});
|
|
1178
|
-
var t$
|
|
1184
|
+
var t$86 = 6e4;
|
|
1179
1185
|
var n$69 = (e) => {
|
|
1180
1186
|
let n = e.time, r = typeof n == "object" && n && "now" in n ? n.now : void 0;
|
|
1181
1187
|
return typeof r == "number" ? {
|
|
1182
1188
|
now: r,
|
|
1183
|
-
grain: t$
|
|
1189
|
+
grain: t$86
|
|
1184
1190
|
} : {
|
|
1185
1191
|
now: Date.now(),
|
|
1186
1192
|
grain: 1
|
|
@@ -1226,8 +1232,8 @@ var e$60 = {
|
|
|
1226
1232
|
LowerR: 114,
|
|
1227
1233
|
LowerT: 116
|
|
1228
1234
|
};
|
|
1229
|
-
var t$
|
|
1230
|
-
var n$68 = (n) => t$
|
|
1235
|
+
var t$85 = (t) => t >= 97 && t <= 122 || t >= 65 && t <= 90 || t === e$60.Underscore;
|
|
1236
|
+
var n$68 = (n) => t$85(n) || n >= e$60.Zero && n <= e$60.Nine;
|
|
1231
1237
|
var r$53 = (t) => n$68(t) || t === e$60.Minus;
|
|
1232
1238
|
var i$45 = (t) => t >= e$60.Zero && t <= e$60.Nine;
|
|
1233
1239
|
var a$34 = (t) => t === e$60.Space || t === e$60.Tab || t === e$60.Newline || t === e$60.CarriageReturn;
|
|
@@ -1239,13 +1245,13 @@ var o$36 = /* @__PURE__ */ new Set([
|
|
|
1239
1245
|
]);
|
|
1240
1246
|
var s$31 = (e) => {
|
|
1241
1247
|
let r = e.length;
|
|
1242
|
-
if (r === 0 || !t$
|
|
1248
|
+
if (r === 0 || !t$85(e.charCodeAt(0)) || o$36.has(e)) return !1;
|
|
1243
1249
|
for (let t = 1; t < r; t++) if (!n$68(e.charCodeAt(t))) return !1;
|
|
1244
1250
|
return !0;
|
|
1245
1251
|
};
|
|
1246
1252
|
var c$31 = (r) => {
|
|
1247
1253
|
let a = r.length;
|
|
1248
|
-
if (a === 0 || !t$
|
|
1254
|
+
if (a === 0 || !t$85(r.charCodeAt(0)) || o$36.has(r)) return !1;
|
|
1249
1255
|
let s = !1, c = !1;
|
|
1250
1256
|
for (let o = 1; o < a; o++) {
|
|
1251
1257
|
let a = r.charCodeAt(o);
|
|
@@ -1253,7 +1259,7 @@ var c$31 = (r) => {
|
|
|
1253
1259
|
if (s) return !1;
|
|
1254
1260
|
s = !0, c = !1;
|
|
1255
1261
|
} else if (s) {
|
|
1256
|
-
if (c = i$45(a), !c && !t$
|
|
1262
|
+
if (c = i$45(a), !c && !t$85(a)) return !1;
|
|
1257
1263
|
s = !1;
|
|
1258
1264
|
} else if (c ? !i$45(a) : !n$68(a)) return !1;
|
|
1259
1265
|
}
|
|
@@ -1313,7 +1319,7 @@ var e$59 = (e) => {
|
|
|
1313
1319
|
};
|
|
1314
1320
|
// ../sdk-shared/dist/helpers/twigWrapper/Lexer/types.mjs
|
|
1315
1321
|
var e$58 = (e, t) => t ? `{{{${e}}}}` : `{{${e}}}`;
|
|
1316
|
-
var t$
|
|
1322
|
+
var t$84 = (t) => {
|
|
1317
1323
|
switch (t.type) {
|
|
1318
1324
|
case "text": return t.value;
|
|
1319
1325
|
case "variable": return e$58(t.content, t.raw);
|
|
@@ -1342,7 +1348,7 @@ var o$35 = class {
|
|
|
1342
1348
|
}
|
|
1343
1349
|
scanName() {
|
|
1344
1350
|
let e = this.pos;
|
|
1345
|
-
if (!this.eof() && t$
|
|
1351
|
+
if (!this.eof() && t$85(this.src.charCodeAt(this.pos))) for (this.pos++; !this.eof() && r$53(this.src.charCodeAt(this.pos));) this.pos++;
|
|
1346
1352
|
return this.src.slice(e, this.pos);
|
|
1347
1353
|
}
|
|
1348
1354
|
scanIndex() {
|
|
@@ -2036,7 +2042,7 @@ var f$21 = class {
|
|
|
2036
2042
|
}
|
|
2037
2043
|
reconstructRange(e, t) {
|
|
2038
2044
|
let n = "";
|
|
2039
|
-
for (let i = e; i < t; i++) n += t$
|
|
2045
|
+
for (let i = e; i < t; i++) n += t$84(this.tokens[i]);
|
|
2040
2046
|
return n;
|
|
2041
2047
|
}
|
|
2042
2048
|
parseSet() {
|
|
@@ -2170,15 +2176,15 @@ var o$33 = (e) => {
|
|
|
2170
2176
|
var s$29 = (e) => [...new Set(o$33(e).map((e) => e.split(".")[0]))];
|
|
2171
2177
|
// ../sdk-shared/dist/timeWindows/timeWindows.mjs
|
|
2172
2178
|
var e$57 = "timeWindow";
|
|
2173
|
-
var t$
|
|
2179
|
+
var t$83 = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(:\d{2}(\.\d+)?)?(Z|[+-]\d{2}:\d{2})$/;
|
|
2174
2180
|
var n$65 = (e) => {
|
|
2175
|
-
if (typeof e != "string" || !t$
|
|
2181
|
+
if (typeof e != "string" || !t$83.test(e)) return;
|
|
2176
2182
|
let n = Date.parse(e);
|
|
2177
2183
|
return Number.isNaN(n) ? void 0 : n;
|
|
2178
2184
|
};
|
|
2179
2185
|
var r$48 = (e) => e === void 0 || e === "" || n$65(e) !== void 0;
|
|
2180
2186
|
// ../sdk-shared/dist/timeWindows/countdown.mjs
|
|
2181
|
-
var t$
|
|
2187
|
+
var t$82 = "countdown";
|
|
2182
2188
|
var n$64 = [
|
|
2183
2189
|
"days",
|
|
2184
2190
|
"hours",
|
|
@@ -2187,7 +2193,7 @@ var n$64 = [
|
|
|
2187
2193
|
];
|
|
2188
2194
|
// ../sdk-elements/dist/elements/basic/Countdown/declaration.mjs
|
|
2189
2195
|
var a$30 = r$61()({
|
|
2190
|
-
type: t$
|
|
2196
|
+
type: t$82,
|
|
2191
2197
|
attributeValues: {
|
|
2192
2198
|
largest: e$66()(n$64),
|
|
2193
2199
|
smallest: e$66()(n$64),
|
|
@@ -2325,7 +2331,7 @@ var n$63 = r$61()({
|
|
|
2325
2331
|
initialItems: ["dropdownPopup"]
|
|
2326
2332
|
});
|
|
2327
2333
|
// ../sdk-elements/dist/elements/basic/Dropdown/DropdownPopup/declaration.mjs
|
|
2328
|
-
var t$
|
|
2334
|
+
var t$81 = r$61()({
|
|
2329
2335
|
type: "dropdownPopup",
|
|
2330
2336
|
ancestorType: "dropdown",
|
|
2331
2337
|
content: {
|
|
@@ -2530,7 +2536,7 @@ var n$61 = r$61()({
|
|
|
2530
2536
|
}
|
|
2531
2537
|
});
|
|
2532
2538
|
// ../sdk-elements/dist/elements/basic/Markdown/declaration.mjs
|
|
2533
|
-
var t$
|
|
2539
|
+
var t$80 = r$61()({
|
|
2534
2540
|
type: "markdown",
|
|
2535
2541
|
contentAttributes: ["content"],
|
|
2536
2542
|
content: {
|
|
@@ -2581,7 +2587,7 @@ var t$78 = r$61()({
|
|
|
2581
2587
|
}
|
|
2582
2588
|
});
|
|
2583
2589
|
// ../sdk-elements/dist/elements/basic/Paragraph/declaration.mjs
|
|
2584
|
-
var t$
|
|
2590
|
+
var t$79 = r$61()({
|
|
2585
2591
|
type: "paragraph",
|
|
2586
2592
|
contentAttributes: ["content"],
|
|
2587
2593
|
content: {
|
|
@@ -2661,7 +2667,7 @@ var n$60 = r$61()({
|
|
|
2661
2667
|
}
|
|
2662
2668
|
});
|
|
2663
2669
|
// ../sdk-elements/dist/elements/basic/Text/declaration.mjs
|
|
2664
|
-
var t$
|
|
2670
|
+
var t$78 = r$61()({
|
|
2665
2671
|
type: "text",
|
|
2666
2672
|
contentAttributes: ["content"],
|
|
2667
2673
|
content: {
|
|
@@ -3216,7 +3222,7 @@ var n$57 = r$61()({
|
|
|
3216
3222
|
}
|
|
3217
3223
|
});
|
|
3218
3224
|
// ../sdk-elements/dist/elements/internal/Loading/declaration.mjs
|
|
3219
|
-
var t$
|
|
3225
|
+
var t$77 = r$61()({
|
|
3220
3226
|
type: "loading",
|
|
3221
3227
|
content: {
|
|
3222
3228
|
attributes: {},
|
|
@@ -3233,7 +3239,7 @@ var t$75 = r$61()({
|
|
|
3233
3239
|
}
|
|
3234
3240
|
});
|
|
3235
3241
|
// ../sdk-elements/dist/elements/internal/NotFound/declaration.mjs
|
|
3236
|
-
var t$
|
|
3242
|
+
var t$76 = r$61()({
|
|
3237
3243
|
type: "notFound",
|
|
3238
3244
|
content: {
|
|
3239
3245
|
attributes: {},
|
|
@@ -3255,7 +3261,7 @@ var t$74 = r$61()({
|
|
|
3255
3261
|
});
|
|
3256
3262
|
// ../sdk-shared/dist/schema/anchor.mjs
|
|
3257
3263
|
var e$54 = /^[a-z][a-z0-9-]*$/;
|
|
3258
|
-
var t$
|
|
3264
|
+
var t$75 = (t) => typeof t == "string" && e$54.test(t);
|
|
3259
3265
|
var n$56 = (e) => e.normalize("NFKD").replace(/[̀-ͯ]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^[^a-z]+|-+$/g, "") || "section";
|
|
3260
3266
|
var r$44 = (e, t) => {
|
|
3261
3267
|
let r = n$56(e), i = r;
|
|
@@ -3278,7 +3284,7 @@ var e$53 = {
|
|
|
3278
3284
|
fonts: [],
|
|
3279
3285
|
cache: ""
|
|
3280
3286
|
};
|
|
3281
|
-
var t$
|
|
3287
|
+
var t$74 = {
|
|
3282
3288
|
DISPLAY: "display",
|
|
3283
3289
|
FLEX_WRAP: "flex-wrap",
|
|
3284
3290
|
FLEX_DIRECTION: "flex-direction",
|
|
@@ -3488,36 +3494,36 @@ var t$72 = {
|
|
|
3488
3494
|
STROKE_WIDTH: "stroke-width"
|
|
3489
3495
|
};
|
|
3490
3496
|
var n$55 = [
|
|
3491
|
-
t$
|
|
3492
|
-
t$
|
|
3493
|
-
t$
|
|
3494
|
-
t$
|
|
3495
|
-
t$
|
|
3496
|
-
t$
|
|
3497
|
-
t$
|
|
3498
|
-
t$
|
|
3499
|
-
t$
|
|
3500
|
-
t$
|
|
3501
|
-
t$
|
|
3502
|
-
t$
|
|
3503
|
-
t$
|
|
3504
|
-
t$
|
|
3505
|
-
t$
|
|
3506
|
-
t$
|
|
3507
|
-
t$
|
|
3508
|
-
t$
|
|
3509
|
-
t$
|
|
3510
|
-
t$
|
|
3511
|
-
t$
|
|
3512
|
-
t$
|
|
3497
|
+
t$74.FONT_FAMILY,
|
|
3498
|
+
t$74.FONT_SIZE,
|
|
3499
|
+
t$74.FONT_STYLE,
|
|
3500
|
+
t$74.FONT_VARIANT,
|
|
3501
|
+
t$74.FONT_VARIANT_NUMERIC,
|
|
3502
|
+
t$74.FONT_FEATURE_SETTINGS,
|
|
3503
|
+
t$74.FONT_WEIGHT,
|
|
3504
|
+
t$74.COLOR,
|
|
3505
|
+
t$74.LINE_HEIGHT,
|
|
3506
|
+
t$74.LETTER_SPACING,
|
|
3507
|
+
t$74.TEXT_ALIGN,
|
|
3508
|
+
t$74.TEXT_DECORATION,
|
|
3509
|
+
t$74.TEXT_INDENT,
|
|
3510
|
+
t$74.TEXT_SHADOW,
|
|
3511
|
+
t$74.TEXT_TRANSFORM,
|
|
3512
|
+
t$74.TEXT_WRAP,
|
|
3513
|
+
t$74.TEXT_OVERFLOW,
|
|
3514
|
+
t$74.WHITE_SPACE,
|
|
3515
|
+
t$74.DIRECTION,
|
|
3516
|
+
t$74.CURSOR,
|
|
3517
|
+
t$74.LIST_STYLE,
|
|
3518
|
+
t$74.LIST_STYLE_TYPE
|
|
3513
3519
|
];
|
|
3514
|
-
Object.values(t$
|
|
3520
|
+
Object.values(t$74).map((e) => ({
|
|
3515
3521
|
path: e,
|
|
3516
3522
|
label: e
|
|
3517
3523
|
}));
|
|
3518
|
-
t$
|
|
3524
|
+
t$74.DISPLAY, t$74.FLEX_WRAP, t$74.FLEX_DIRECTION, t$74.ALIGN_ITEMS, t$74.JUSTIFY_ITEMS, t$74.JUSTIFY_CONTENT, t$74.ALIGN_CONTENT, t$74.ROW_GAP, t$74.COLUMN_GAP, t$74.GRID_ROW_GAP, t$74.GRID_COLUMN_GAP, t$74.GRID_TEMPLATE_AREAS, t$74.GRID_TEMPLATE_COLUMNS, t$74.GRID_TEMPLATE_ROWS, t$74.GRID_AUTO_FLOW, t$74.GRID_AUTO_ROWS, t$74.GRID_AUTO_COLUMNS, t$74.GRID_ROW_START, t$74.GRID_COLUMN_START, t$74.GRID_ROW_END, t$74.GRID_COLUMN_END, t$74.ALIGN_SELF, t$74.JUSTIFY_SELF, t$74.ORDER, t$74.FLEX_GROW, t$74.FLEX_SHRINK, t$74.FLEX_BASIS, t$74.LIST_STYLE, t$74.LIST_STYLE_TYPE, t$74.LIST_STYLE_POSITION, t$74.LIST_STYLE_IMAGE, t$74.BACKGROUND_COLOR, t$74.BACKGROUND_IMAGE, t$74.BACKGROUND_POSITION, t$74.BACKGROUND_SIZE, t$74.BACKGROUND_CLIP, t$74.BACKGROUND_ORIGIN, t$74.BACKGROUND_REPEAT, t$74.BACKGROUND_ATTACHMENT, t$74.BACKGROUND_BLEND_MODE, t$74.MASK_IMAGE, t$74.MASK_SIZE, t$74.MASK_POSITION, t$74.MASK_REPEAT, t$74.MASK_COMPOSITE, t$74.WEBKIT_MASK_IMAGE, t$74.BORDER_TOP_STYLE, t$74.BORDER_TOP_WIDTH, t$74.BORDER_TOP_COLOR, t$74.BORDER_BOTTOM_STYLE, t$74.BORDER_BOTTOM_WIDTH, t$74.BORDER_BOTTOM_COLOR, t$74.BORDER_LEFT_STYLE, t$74.BORDER_LEFT_WIDTH, t$74.BORDER_LEFT_COLOR, t$74.BORDER_RIGHT_STYLE, t$74.BORDER_RIGHT_WIDTH, t$74.BORDER_RIGHT_COLOR, t$74.BORDER_TOP_LEFT_RADIUS, t$74.BORDER_TOP_RIGHT_RADIUS, t$74.BORDER_BOTTOM_LEFT_RADIUS, t$74.BORDER_BOTTOM_RIGHT_RADIUS, t$74.BORDER_COLLAPSE, t$74.BORDER_SPACING, t$74.BORDER_IMAGE, t$74.TABLE_LAYOUT, t$74.OPACITY, t$74.VISIBILITY, t$74.CURSOR, t$74.TRANSITION, t$74.TRANSITION_PROPERTY, t$74.TRANSITION_DURATION, t$74.TRANSITION_TIMING_FUNCTION, t$74.TRANSITION_DELAY, t$74.TRANSITION_BEHAVIOR, t$74.ANIMATION, t$74.ANIMATION_NAME, t$74.ANIMATION_DURATION, t$74.ANIMATION_TIMING_FUNCTION, t$74.ANIMATION_DELAY, t$74.ANIMATION_ITERATION_COUNT, t$74.ANIMATION_DIRECTION, t$74.ANIMATION_FILL_MODE, t$74.ANIMATION_PLAY_STATE, t$74.ANIMATION_TIMELINE, t$74.ANIMATION_RANGE, t$74.BOX_SHADOW, t$74.FILTER, t$74.BACKDROP_FILTER, t$74.MIX_BLEND_MODE, t$74.ISOLATION, t$74.CLIP_PATH, t$74.TRANSFORM, t$74.TRANSFORM_ORIGIN, t$74.TRANSLATE, t$74.ROTATE, t$74.SCALE, t$74.TRANSFORM_STYLE, t$74.PERSPECTIVE, t$74.PERSPECTIVE_ORIGIN, t$74.BACKFACE_VISIBILITY, t$74.WILL_CHANGE, t$74.VIEW_TRANSITION_NAME, t$74.OUTLINE_WIDTH, t$74.OUTLINE_STYLE, t$74.OUTLINE_COLOR, t$74.OUTLINE_OFFSET, t$74.POINTER_EVENTS, t$74.USER_SELECT, t$74.TOUCH_ACTION, t$74.RESIZE, t$74.APPEARANCE, t$74.SCROLL_BEHAVIOR, t$74.OVERSCROLL_BEHAVIOR, t$74.OVERSCROLL_BEHAVIOR_X, t$74.OVERSCROLL_BEHAVIOR_Y, t$74.SCROLL_SNAP_TYPE, t$74.SCROLL_SNAP_ALIGN, t$74.SCROLL_SNAP_STOP, t$74.SCROLL_PADDING_TOP, t$74.SCROLL_PADDING_RIGHT, t$74.SCROLL_PADDING_BOTTOM, t$74.SCROLL_PADDING_LEFT, t$74.SCROLL_MARGIN_TOP, t$74.SCROLL_MARGIN_RIGHT, t$74.SCROLL_MARGIN_BOTTOM, t$74.SCROLL_MARGIN_LEFT, t$74.ACCENT_COLOR, t$74.CARET_COLOR, t$74.COLOR_SCHEME, t$74.POSITION, t$74.FLOAT, t$74.CLEAR, t$74.Z_INDEX, t$74.TOP, t$74.BOTTOM, t$74.LEFT, t$74.RIGHT, t$74.BOX_SIZING, t$74.ASPECT_RATIO, t$74.WIDTH, t$74.HEIGHT, t$74.MIN_WIDTH, t$74.MIN_HEIGHT, t$74.MAX_WIDTH, t$74.MAX_HEIGHT, t$74.OVERFLOW, t$74.OVERFLOW_X, t$74.OVERFLOW_Y, t$74.SCROLLBAR_WIDTH, t$74.SCROLLBAR_COLOR, t$74.CONTAINER_TYPE, t$74.CONTENT, t$74.CONTAINER_NAME, t$74.OBJECT_FIT, t$74.OBJECT_POSITION, t$74.COLUMN_WIDTH, t$74.COLUMN_COUNT, t$74.MARGIN_TOP, t$74.MARGIN_BOTTOM, t$74.MARGIN_LEFT, t$74.MARGIN_RIGHT, t$74.PADDING_TOP, t$74.PADDING_BOTTOM, t$74.PADDING_LEFT, t$74.PADDING_RIGHT, t$74.FONT_FAMILY, t$74.FONT_WEIGHT, t$74.FONT_SIZE, t$74.LINE_HEIGHT, t$74.COLOR, t$74.TEXT_ALIGN, t$74.FONT_STYLE, t$74.FONT_VARIANT, t$74.FONT_VARIANT_NUMERIC, t$74.FONT_FEATURE_SETTINGS, t$74.TEXT_DECORATION, t$74.TEXT_DECORATION_LINE, t$74.TEXT_DECORATION_COLOR, t$74.TEXT_DECORATION_STYLE, t$74.TEXT_DECORATION_THICKNESS, t$74.TEXT_UNDERLINE_OFFSET, t$74.LETTER_SPACING, t$74.WORD_SPACING, t$74.TEXT_INDENT, t$74.TEXT_TRANSFORM, t$74.DIRECTION, t$74.WRITING_MODE, t$74.TEXT_ORIENTATION, t$74.WHITE_SPACE, t$74.TEXT_WRAP, t$74.WORD_BREAK, t$74.OVERFLOW_WRAP, t$74.HYPHENS, t$74.VERTICAL_ALIGN, t$74.TEXT_OVERFLOW, t$74.TEXT_SHADOW, t$74.LINE_CLAMP, t$74.WEBKIT_LINE_CLAMP, t$74.WEBKIT_BOX_ORIENT, t$74.WEBKIT_TEXT_FILL_COLOR, t$74.WEBKIT_BACKGROUND_CLIP, t$74.BOX_DECORATION_BREAK, t$74.WEBKIT_BOX_DECORATION_BREAK, t$74.FILL, t$74.STROKE, t$74.STROKE_WIDTH;
|
|
3519
3525
|
// ../sdk-shared/dist/schema/schemaConstants.mjs
|
|
3520
|
-
var t$
|
|
3526
|
+
var t$73 = /var\(\s*--([a-zA-Z0-9_-]+)\s*\)|\{\{\s*([a-zA-Z0-9_-]+)\s*\}\}/;
|
|
3521
3527
|
var n$54 = "props";
|
|
3522
3528
|
var r$42 = {
|
|
3523
3529
|
schema: {
|
|
@@ -3540,7 +3546,7 @@ var e$52 = (e, t) => {
|
|
|
3540
3546
|
let n = e?.attributes[t];
|
|
3541
3547
|
return typeof n == "string" ? n : "";
|
|
3542
3548
|
};
|
|
3543
|
-
var t$
|
|
3549
|
+
var t$72 = (t, n, r) => {
|
|
3544
3550
|
let i = [], a = /* @__PURE__ */ new Set(), o = n, s = r;
|
|
3545
3551
|
for (; o && !a.has(o) && i.length < 16;) {
|
|
3546
3552
|
let n = t(o);
|
|
@@ -3563,8 +3569,8 @@ var n$53 = (t, n) => {
|
|
|
3563
3569
|
// ../sdk-shared/dist/helpers/isRecord.mjs
|
|
3564
3570
|
var e$51 = (e) => typeof e == "object" && !!e && !Array.isArray(e);
|
|
3565
3571
|
// ../sdk-shared/dist/schema/pageAccess.mjs
|
|
3566
|
-
var t$
|
|
3567
|
-
var n$52 = (e) => e?.unauthorizedBehaviour === t$
|
|
3572
|
+
var t$71 = "notFound";
|
|
3573
|
+
var n$52 = (e) => e?.unauthorizedBehaviour === t$71;
|
|
3568
3574
|
var r$41 = (e) => {
|
|
3569
3575
|
let t = e?.access;
|
|
3570
3576
|
if (typeof t != "object" || !t || !("permissions" in t)) return;
|
|
@@ -3591,11 +3597,11 @@ var r$40 = (e, t) => {
|
|
|
3591
3597
|
};
|
|
3592
3598
|
var i$39 = (t, n) => {
|
|
3593
3599
|
let i = t[n];
|
|
3594
|
-
return i ? t$
|
|
3600
|
+
return i ? t$72((e) => t[e], r$40(i, "layout"), r$40(i, "layoutContainer")).map((e) => e.layout) : [];
|
|
3595
3601
|
};
|
|
3596
3602
|
// ../sdk-shared/dist/helpers/twigWrapper/processTwig/helpers.mjs
|
|
3597
3603
|
var e$50 = (e, t) => e[t];
|
|
3598
|
-
var t$
|
|
3604
|
+
var t$70 = (e, t) => {
|
|
3599
3605
|
let n = t.indexOf(".");
|
|
3600
3606
|
if (n === -1) return e[t];
|
|
3601
3607
|
let r = e[t.slice(0, n)], i = n + 1, a = t.length;
|
|
@@ -3626,13 +3632,13 @@ var a$28 = (r, i) => {
|
|
|
3626
3632
|
let a = "";
|
|
3627
3633
|
for (let o of r.tokens) if (o.type === "text") a += o.value;
|
|
3628
3634
|
else if (o.type === "variable") {
|
|
3629
|
-
let r = o.content.trim(), s = o.content.indexOf(".") === -1 ? e$50(i, r) : t$
|
|
3635
|
+
let r = o.content.trim(), s = o.content.indexOf(".") === -1 ? e$50(i, r) : t$70(i, r);
|
|
3630
3636
|
a += o.raw ? s == null ? "" : String(s) : n$51(s);
|
|
3631
3637
|
}
|
|
3632
3638
|
return a;
|
|
3633
3639
|
};
|
|
3634
3640
|
// ../sdk-shared/dist/helpers/twigWrapper/Evaluator/helpers.mjs
|
|
3635
|
-
var t$
|
|
3641
|
+
var t$69 = (e) => !(e == null || e === !1 || e === "" || e === 0 || Array.isArray(e) && e.length === 0);
|
|
3636
3642
|
var n$50 = (e, t) => typeof t == "string" ? t.includes(String(e)) : Array.isArray(t) ? t.includes(e) : typeof t == "object" && t ? String(e) in t : !1;
|
|
3637
3643
|
var r$38 = (e) => Array.isArray(e) ? e : typeof e == "object" && e ? Object.values(e) : null;
|
|
3638
3644
|
var i$37 = (e) => typeof e == "object" && e && !Array.isArray(e) ? Object.entries(e) : null;
|
|
@@ -3648,7 +3654,7 @@ var o$30 = (t, n) => {
|
|
|
3648
3654
|
};
|
|
3649
3655
|
// ../sdk-shared/dist/helpers/twigWrapper/filters/values.mjs
|
|
3650
3656
|
var e$49 = (e) => e == null || e === "";
|
|
3651
|
-
var t$
|
|
3657
|
+
var t$68 = (e, t) => e === t ? 0 : e == null ? -1 : t == null ? 1 : typeof e == "number" && typeof t == "number" ? e - t : String(e).localeCompare(String(t));
|
|
3652
3658
|
var n$49 = (e) => e === void 0 || typeof e == "function" || typeof e == "symbol" ? "null" : typeof e == "bigint" ? e.toString() : JSON.stringify(e);
|
|
3653
3659
|
var r$37 = (e) => e == null ? "" : String(e);
|
|
3654
3660
|
var i$36 = (e) => {
|
|
@@ -3673,9 +3679,9 @@ var o$29 = {
|
|
|
3673
3679
|
let o = [...i], s = a[0];
|
|
3674
3680
|
if (a$35(s)) {
|
|
3675
3681
|
let t = s;
|
|
3676
|
-
return (t[r$54] ?? 1) >= 2 ? o.sort((e, n) => Number(t(e, n))) : o.sort((e, n) => t$
|
|
3682
|
+
return (t[r$54] ?? 1) >= 2 ? o.sort((e, n) => Number(t(e, n))) : o.sort((e, n) => t$68(t(e), t(n)));
|
|
3677
3683
|
}
|
|
3678
|
-
return o.sort(t$
|
|
3684
|
+
return o.sort(t$68);
|
|
3679
3685
|
},
|
|
3680
3686
|
batch: (e, t) => {
|
|
3681
3687
|
if (!i$46(e) || t.length === 0) return e;
|
|
@@ -3738,10 +3744,10 @@ var e$48 = [
|
|
|
3738
3744
|
"Fri",
|
|
3739
3745
|
"Sat"
|
|
3740
3746
|
];
|
|
3741
|
-
var t$
|
|
3747
|
+
var t$67 = /* @__PURE__ */ new Map();
|
|
3742
3748
|
var n$48 = (e) => {
|
|
3743
|
-
if (!t$
|
|
3744
|
-
t$
|
|
3749
|
+
if (!t$67.has(e)) try {
|
|
3750
|
+
t$67.set(e, new Intl.DateTimeFormat("en-US", {
|
|
3745
3751
|
timeZone: e,
|
|
3746
3752
|
hourCycle: "h23",
|
|
3747
3753
|
year: "numeric",
|
|
@@ -3753,9 +3759,9 @@ var n$48 = (e) => {
|
|
|
3753
3759
|
weekday: "short"
|
|
3754
3760
|
}));
|
|
3755
3761
|
} catch {
|
|
3756
|
-
t$
|
|
3762
|
+
t$67.set(e, null);
|
|
3757
3763
|
}
|
|
3758
|
-
return t$
|
|
3764
|
+
return t$67.get(e) ?? null;
|
|
3759
3765
|
};
|
|
3760
3766
|
var r$36 = (e) => new Date(Math.abs(e) < 1e11 ? e * 1e3 : e);
|
|
3761
3767
|
var i$35 = (e) => {
|
|
@@ -3886,7 +3892,7 @@ var e$47 = (e) => {
|
|
|
3886
3892
|
for (let e = 0; e < t.length; e++) n += String.fromCharCode(t[e]);
|
|
3887
3893
|
return btoa(n);
|
|
3888
3894
|
};
|
|
3889
|
-
var t$
|
|
3895
|
+
var t$66 = (e) => {
|
|
3890
3896
|
let t = atob(e), n = new Uint8Array(t.length);
|
|
3891
3897
|
for (let e = 0; e < t.length; e++) n[e] = t.charCodeAt(e);
|
|
3892
3898
|
return new TextDecoder().decode(n);
|
|
@@ -4029,7 +4035,7 @@ var o$28 = { spaceless: (e) => typeof e == "string" ? e.replace(/>\s+</g, "><").
|
|
|
4029
4035
|
var s$26 = { random: (e) => i$46(e) ? e.length > 0 ? e[Math.floor(Math.random() * e.length)] : void 0 : typeof e == "string" ? e.length > 0 ? e[Math.floor(Math.random() * e.length)] : "" : typeof e == "number" ? Math.floor(Math.random() * e) : e };
|
|
4030
4036
|
var c$26 = {
|
|
4031
4037
|
base64_encode: (e) => typeof e == "string" ? e$47(e) : e,
|
|
4032
|
-
base64_decode: (t) => typeof t == "string" ? t$
|
|
4038
|
+
base64_decode: (t) => typeof t == "string" ? t$66(t) : t,
|
|
4033
4039
|
md5: (e) => typeof e == "string" ? n$47(e) : e
|
|
4034
4040
|
};
|
|
4035
4041
|
// ../sdk-shared/dist/helpers/twigWrapper/filters/numbers.mjs
|
|
@@ -4126,12 +4132,12 @@ var i$33 = {
|
|
|
4126
4132
|
};
|
|
4127
4133
|
// ../sdk-shared/dist/helpers/twigWrapper/filters/raw.mjs
|
|
4128
4134
|
var e$46 = "__PLITZI_RAW__";
|
|
4129
|
-
var t$
|
|
4135
|
+
var t$65 = (e) => typeof e == "object" && !!e && e.__marker === "__PLITZI_RAW__";
|
|
4130
4136
|
var n$46 = (t) => ({
|
|
4131
4137
|
__raw: t,
|
|
4132
4138
|
__marker: e$46
|
|
4133
4139
|
});
|
|
4134
|
-
var r$33 = (e) => t$
|
|
4140
|
+
var r$33 = (e) => t$65(e) ? e.__raw : e;
|
|
4135
4141
|
// ../sdk-shared/dist/helpers/twigWrapper/filters/strings.mjs
|
|
4136
4142
|
var a$23 = { raw: (t) => n$46(t) };
|
|
4137
4143
|
var o$27 = {
|
|
@@ -4294,7 +4300,7 @@ var y$5 = class f {
|
|
|
4294
4300
|
}
|
|
4295
4301
|
evalVariable(e) {
|
|
4296
4302
|
let t = this.evalExpression(e.expression);
|
|
4297
|
-
return this.keeps(e.expression) && p$14(e.expression, t) ? e.source : t$
|
|
4303
|
+
return this.keeps(e.expression) && p$14(e.expression, t) ? e.source : t$65(t) ? String(r$33(t)) : typeof t == "function" ? "" : t != null && typeof t != "object" ? String(t) : e.raw ? t == null ? "" : String(t) : typeof t == "object" && t ? JSON.stringify(t) : "";
|
|
4298
4304
|
}
|
|
4299
4305
|
followQuotes(e) {
|
|
4300
4306
|
for (let t = 0; t < e.length; t++) {
|
|
@@ -4303,8 +4309,8 @@ var y$5 = class f {
|
|
|
4303
4309
|
}
|
|
4304
4310
|
}
|
|
4305
4311
|
evalIf(t) {
|
|
4306
|
-
if (t$
|
|
4307
|
-
for (let n of t.elseifClauses) if (t$
|
|
4312
|
+
if (t$69(this.evalExpression(t.condition))) return this.evalNodes(t.body);
|
|
4313
|
+
for (let n of t.elseifClauses) if (t$69(this.evalExpression(n.condition))) return this.evalNodes(n.body);
|
|
4308
4314
|
return t.elseBody ? this.evalNodes(t.elseBody) : "";
|
|
4309
4315
|
}
|
|
4310
4316
|
evalFor(e) {
|
|
@@ -4349,7 +4355,7 @@ var y$5 = class f {
|
|
|
4349
4355
|
}
|
|
4350
4356
|
evalApply(e) {
|
|
4351
4357
|
let t = this.applyFilters(this.evalNodes(e.body), e.filters);
|
|
4352
|
-
return t$
|
|
4358
|
+
return t$65(t) ? String(r$33(t)) : typeof t == "object" && t ? JSON.stringify(t) : t == null ? "" : String(t);
|
|
4353
4359
|
}
|
|
4354
4360
|
applyFilters(e, t) {
|
|
4355
4361
|
let n = e;
|
|
@@ -4393,12 +4399,12 @@ var y$5 = class f {
|
|
|
4393
4399
|
}
|
|
4394
4400
|
return r;
|
|
4395
4401
|
}
|
|
4396
|
-
case "unary": return t.operator === "-" ? -Number(this.evalExpression(t.operand)) : !t$
|
|
4402
|
+
case "unary": return t.operator === "-" ? -Number(this.evalExpression(t.operand)) : !t$69(this.evalExpression(t.operand));
|
|
4397
4403
|
case "binary": return this.evalBinary(t.operator, t.left, t.right);
|
|
4398
4404
|
case "default": return this.evalExpression(t.value) ?? this.evalExpression(t.defaultExpr);
|
|
4399
4405
|
case "ternary": {
|
|
4400
4406
|
let n = this.evalExpression(t.condition);
|
|
4401
|
-
return t$
|
|
4407
|
+
return t$69(n) ? t.trueExpr ? this.evalExpression(t.trueExpr) : n : this.evalExpression(t.falseExpr);
|
|
4402
4408
|
}
|
|
4403
4409
|
case "arrow": return this.createArrowFunction(t.params, t.body);
|
|
4404
4410
|
}
|
|
@@ -4472,8 +4478,8 @@ var y$5 = class f {
|
|
|
4472
4478
|
return n === "is" ? t : !t;
|
|
4473
4479
|
}
|
|
4474
4480
|
}
|
|
4475
|
-
if (n === "or") return t$
|
|
4476
|
-
if (n === "and") return t$
|
|
4481
|
+
if (n === "or") return t$69(this.evalExpression(r)) || t$69(this.evalExpression(a));
|
|
4482
|
+
if (n === "and") return t$69(this.evalExpression(r)) && t$69(this.evalExpression(a));
|
|
4477
4483
|
let s = this.evalExpression(r), c = this.evalExpression(a), l = typeof s == "number" && typeof c == "number";
|
|
4478
4484
|
switch (n) {
|
|
4479
4485
|
case "+": return l ? s + c : Number(s) + Number(c);
|
|
@@ -4911,7 +4917,7 @@ var r$32 = (e) => {
|
|
|
4911
4917
|
};
|
|
4912
4918
|
// ../sdk-shared/dist/conditions/rules.mjs
|
|
4913
4919
|
var e$44 = (e) => typeof e == "number" || typeof e == "string" && !e.includes(",") && !Number.isNaN(parseFloat(e));
|
|
4914
|
-
var t$
|
|
4920
|
+
var t$64 = (e) => "rules" in e;
|
|
4915
4921
|
// ../sdk-shared/dist/helpers/lodash/shared.mjs
|
|
4916
4922
|
function e$43(e) {
|
|
4917
4923
|
if (typeof e == "string" || typeof e == "number") {
|
|
@@ -4920,7 +4926,7 @@ function e$43(e) {
|
|
|
4920
4926
|
}
|
|
4921
4927
|
return null;
|
|
4922
4928
|
}
|
|
4923
|
-
function t$
|
|
4929
|
+
function t$63(t, n) {
|
|
4924
4930
|
if (!t || t.startsWith(".") || t.endsWith(".") || /[^a-zA-Z0-9_.[\]-]/.test(t) || n && (/\.\.|(\[\])/g.test(t) || (t.match(/\[/g) || []).length !== (t.match(/\]/g) || []).length || /\][^.[]/.test(t))) return [];
|
|
4925
4931
|
let r = [], i = /([^.[\]]+)|\[(\d+)\]/g, a;
|
|
4926
4932
|
for (; a = i.exec(t);) if (a[1]) {
|
|
@@ -4946,10 +4952,10 @@ function n$44(t, n) {
|
|
|
4946
4952
|
return r;
|
|
4947
4953
|
}
|
|
4948
4954
|
function r$31(e, r = !0) {
|
|
4949
|
-
return e ? typeof e == "string" ? t$
|
|
4955
|
+
return e ? typeof e == "string" ? t$63(e, r) : Array.isArray(e) ? n$44(e, r) : [] : [];
|
|
4950
4956
|
}
|
|
4951
4957
|
// ../sdk-shared/dist/helpers/lodash/get.mjs
|
|
4952
|
-
function t$
|
|
4958
|
+
function t$62(t, n, r) {
|
|
4953
4959
|
if (t == null || !n) return r;
|
|
4954
4960
|
let i = r$31(n);
|
|
4955
4961
|
if (!i.length) return r;
|
|
@@ -4961,7 +4967,7 @@ function t$60(t, n, r) {
|
|
|
4961
4967
|
return a === void 0 ? r : a;
|
|
4962
4968
|
}
|
|
4963
4969
|
// ../sdk-shared/dist/helpers/lodash/set.mjs
|
|
4964
|
-
function t$
|
|
4970
|
+
function t$61(t, n, r) {
|
|
4965
4971
|
let i = r$31(n);
|
|
4966
4972
|
if (!i.length) return t;
|
|
4967
4973
|
let a = t;
|
|
@@ -4983,7 +4989,7 @@ var o$26 = (e) => {
|
|
|
4983
4989
|
if (!e || typeof e != "object") return;
|
|
4984
4990
|
let { combinator: t, enabled: n } = e, { rules: i } = e;
|
|
4985
4991
|
if (Array.isArray(i)) return i = i.map((e) => {
|
|
4986
|
-
if (t$
|
|
4992
|
+
if (t$64(e)) return o$26(e);
|
|
4987
4993
|
let { field: t, value: n, operator: i, enabled: a, isBinding: s } = e;
|
|
4988
4994
|
return {
|
|
4989
4995
|
field: t,
|
|
@@ -5023,8 +5029,8 @@ var v$4 = (e, t) => {
|
|
|
5023
5029
|
return typeof e == "string" && (n = e.split(",").map((e) => e.trim())), n.length < 2 ? !1 : u$22(n[0], t) && f$16(n[1], t);
|
|
5024
5030
|
};
|
|
5025
5031
|
var y$4 = (e, t) => {
|
|
5026
|
-
let { field: n, operator: r, isBinding: a } = e, { value: o } = e, s = t$
|
|
5027
|
-
switch (a && (o = t$
|
|
5032
|
+
let { field: n, operator: r, isBinding: a } = e, { value: o } = e, s = t$62(t, n);
|
|
5033
|
+
switch (a && (o = t$62(t, e.value)), r) {
|
|
5028
5034
|
case "=": return c$24(o, s);
|
|
5029
5035
|
case "!=": return !c$24(o, s);
|
|
5030
5036
|
case "<": return d$18(o, s);
|
|
@@ -5056,14 +5062,14 @@ var b$3 = (e, t = {}, n = !1, r = !1) => {
|
|
|
5056
5062
|
};
|
|
5057
5063
|
var x$3 = (e, t = {}, n = !1, r = !1) => b$3(s$23(e), t, n, r);
|
|
5058
5064
|
// ../sdk-shared/dist/conditions/evaluateRuleGroup.mjs
|
|
5059
|
-
var t$
|
|
5065
|
+
var t$60 = (t, n, { whenMissing: r = !1 } = {}) => !!x$3(t, n, !1, r);
|
|
5060
5066
|
// ../sdk-shared/dist/flags/resolveFlags.mjs
|
|
5061
5067
|
var a$22 = (e) => typeof e == "object" && !!e && "rules" in e && Array.isArray(e.rules) && e.rules.some((e) => typeof e == "object" && !!e && !("enabled" in e && e.enabled === !1));
|
|
5062
5068
|
var d$17 = (e, t) => !e || (t[e.name] ?? !1) === e.is;
|
|
5063
5069
|
// ../sdk-shared/dist/schema/serverElements.mjs
|
|
5064
5070
|
var s$22 = /* @__PURE__ */ new WeakMap();
|
|
5065
5071
|
var c$23 = (r, i) => {
|
|
5066
|
-
let a = [], o = /* @__PURE__ */ new Set(), s = r.flat[i], c = (e) => typeof e == "string" ? e : "", l = s ? t$
|
|
5072
|
+
let a = [], o = /* @__PURE__ */ new Set(), s = r.flat[i], c = (e) => typeof e == "string" ? e : "", l = s ? t$72((e) => r.flat[e], c(s.attributes.layout), c(s.attributes.layoutContainer)).map((e) => e.layout) : [], u = s$27(s?.attributes) ? c$27(r) : void 0, d = [
|
|
5067
5073
|
i,
|
|
5068
5074
|
...l,
|
|
5069
5075
|
...u === void 0 ? [] : [u]
|
|
@@ -5188,7 +5194,7 @@ var n$42 = {
|
|
|
5188
5194
|
return n.map((n) => {
|
|
5189
5195
|
let r = {};
|
|
5190
5196
|
return i.forEach((i) => {
|
|
5191
|
-
typeof i == "object" && i.from && i.to && t$
|
|
5197
|
+
typeof i == "object" && i.from && i.to && t$61(r, i.to, t$62(n, i.from, ""));
|
|
5192
5198
|
}), r;
|
|
5193
5199
|
});
|
|
5194
5200
|
}
|
|
@@ -5198,7 +5204,7 @@ function e$40(e) {
|
|
|
5198
5204
|
return e == null || typeof e != "string" || !e.trim() ? "" : e.charAt(0).toUpperCase() + e.slice(1).toLowerCase();
|
|
5199
5205
|
}
|
|
5200
5206
|
// ../sdk-shared/dist/dataSource/utility/capitalize.mjs
|
|
5201
|
-
var t$
|
|
5207
|
+
var t$58 = {
|
|
5202
5208
|
action: "capitalize",
|
|
5203
5209
|
title: "Capitalize",
|
|
5204
5210
|
type: "utility",
|
|
@@ -8721,15 +8727,15 @@ var e$39 = /* @__PURE__ */ new Set([
|
|
|
8721
8727
|
"0",
|
|
8722
8728
|
""
|
|
8723
8729
|
]);
|
|
8724
|
-
var t$
|
|
8730
|
+
var t$57 = (t) => typeof t == "string" ? !e$39.has(t.trim().toLowerCase()) : Array.isArray(t) ? t.length > 0 : !!t;
|
|
8725
8731
|
// ../sdk-shared/dist/dataSource/utility/not.mjs
|
|
8726
|
-
var t$
|
|
8732
|
+
var t$56 = {
|
|
8727
8733
|
action: "not",
|
|
8728
8734
|
title: "Not",
|
|
8729
8735
|
type: "utility",
|
|
8730
8736
|
params: {},
|
|
8731
8737
|
preview: { content: "" },
|
|
8732
|
-
callback: (t) => !t$
|
|
8738
|
+
callback: (t) => !t$57(t)
|
|
8733
8739
|
};
|
|
8734
8740
|
// ../sdk-shared/dist/dataSource/utility/staticValue.mjs
|
|
8735
8741
|
var e$38 = {
|
|
@@ -8797,7 +8803,7 @@ var e$37 = {
|
|
|
8797
8803
|
}
|
|
8798
8804
|
};
|
|
8799
8805
|
// ../sdk-shared/dist/dataSource/utility/styleSelector.mjs
|
|
8800
|
-
var t$
|
|
8806
|
+
var t$55 = {
|
|
8801
8807
|
action: "styleSelector",
|
|
8802
8808
|
title: "Style Selector",
|
|
8803
8809
|
type: "utility",
|
|
@@ -8841,7 +8847,7 @@ var t$53 = {
|
|
|
8841
8847
|
let e = typeof i.sourceTo == "string" ? i.sourceTo : "";
|
|
8842
8848
|
c.push(...e ? [e] : [], s);
|
|
8843
8849
|
} else if (a && o) {
|
|
8844
|
-
let t = t$
|
|
8850
|
+
let t = t$62(r, "definition.styleSelectors.base", "");
|
|
8845
8851
|
t ? c.push(t, s) : c.push(s);
|
|
8846
8852
|
}
|
|
8847
8853
|
return c.length ? c.length === 1 ? c[0] : c.join(" ") : "";
|
|
@@ -8853,9 +8859,9 @@ var n$41 = (n, r, i, a = {}) => {
|
|
|
8853
8859
|
if (!o) return a.sourceTo ?? {};
|
|
8854
8860
|
let l = o || "base", u = s || n;
|
|
8855
8861
|
if (typeof u == "object" && !Array.isArray(u)) return u;
|
|
8856
|
-
if (!c) return t$
|
|
8862
|
+
if (!c) return t$61({}, l, u);
|
|
8857
8863
|
let d = a.sourceTo;
|
|
8858
|
-
return t$
|
|
8864
|
+
return t$61(e$51(d) ? { ...d } : {}, l, u);
|
|
8859
8865
|
};
|
|
8860
8866
|
var r$30 = (e) => {
|
|
8861
8867
|
let t = e.reduce((e, { groupLabel: t, option: n }) => (t in e || (e[t] = []), e[t].push(n), e), {});
|
|
@@ -8904,11 +8910,11 @@ var u$18 = {
|
|
|
8904
8910
|
},
|
|
8905
8911
|
dateConverter: i$31,
|
|
8906
8912
|
staticValue: e$38,
|
|
8907
|
-
capitalize: t$
|
|
8913
|
+
capitalize: t$58,
|
|
8908
8914
|
arrayMap: n$42,
|
|
8909
8915
|
stringToArray: e$37,
|
|
8910
|
-
not: t$
|
|
8911
|
-
styleSelector: t$
|
|
8916
|
+
not: t$56,
|
|
8917
|
+
styleSelector: t$55,
|
|
8912
8918
|
styleVariant: {
|
|
8913
8919
|
action: "styleVariant",
|
|
8914
8920
|
title: "Style Variant",
|
|
@@ -9023,7 +9029,7 @@ var f$14 = (t, n, r, i) => {
|
|
|
9023
9029
|
}
|
|
9024
9030
|
a = a[e];
|
|
9025
9031
|
}
|
|
9026
|
-
t$
|
|
9032
|
+
t$61(t, n, r);
|
|
9027
9033
|
};
|
|
9028
9034
|
var p$12 = (e, c, l = {}) => {
|
|
9029
9035
|
let { attributes: u, definition: p } = c, { bindings: m } = p;
|
|
@@ -9040,7 +9046,7 @@ var p$12 = (e, c, l = {}) => {
|
|
|
9040
9046
|
return Object.keys(m).forEach((c) => {
|
|
9041
9047
|
m[c] && Array.isArray(m[c]) && m[c].length && m[c].forEach((l) => {
|
|
9042
9048
|
let { source: u, transformers: p, when: m, enabled: _ = !0 } = l, { to: v } = l;
|
|
9043
|
-
if (!v || m && !t$
|
|
9049
|
+
if (!v || m && !t$60(m, e, { whenMissing: !0 }) || !_) return;
|
|
9044
9050
|
c === "style" && !v.startsWith("--") && (v = e$41(v));
|
|
9045
9051
|
let { fromValue: y, toValue: b } = o$24(e, u, h, c, v), x = y;
|
|
9046
9052
|
p && Array.isArray(p) && p.length > 0 && p.forEach((t) => {
|
|
@@ -9051,7 +9057,7 @@ var p$12 = (e, c, l = {}) => {
|
|
|
9051
9057
|
...e,
|
|
9052
9058
|
sourceTo: b
|
|
9053
9059
|
}));
|
|
9054
|
-
}), c === "initialState" && v === "visibility" && u && d$14(e, u) !== void 0 && (x = t$
|
|
9060
|
+
}), c === "initialState" && v === "visibility" && u && d$14(e, u) !== void 0 && (x = t$57(x)), (c !== "style" || s$20(x)) && (typeof x == "boolean" || typeof x == "number" || x) && f$14(h, c === "initialState" ? `definition.${c}.${v}` : `${c}.${v}`, x, g);
|
|
9055
9061
|
});
|
|
9056
9062
|
}), h;
|
|
9057
9063
|
};
|
|
@@ -9143,7 +9149,7 @@ var m$11 = (e, n) => {
|
|
|
9143
9149
|
if (_ !== "") return p$11(_, g, c === "include");
|
|
9144
9150
|
};
|
|
9145
9151
|
// ../sdk-shared/dist/schema/pageHead.mjs
|
|
9146
|
-
var t$
|
|
9152
|
+
var t$54 = [
|
|
9147
9153
|
"website",
|
|
9148
9154
|
"article",
|
|
9149
9155
|
"profile",
|
|
@@ -9157,7 +9163,7 @@ var t$52 = [
|
|
|
9157
9163
|
"video.tv_show",
|
|
9158
9164
|
"video.other"
|
|
9159
9165
|
];
|
|
9160
|
-
var n$39 = (e) => typeof e == "string" && t$
|
|
9166
|
+
var n$39 = (e) => typeof e == "string" && t$54.includes(e);
|
|
9161
9167
|
var r$29 = /^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$/;
|
|
9162
9168
|
var i$28 = /^\/(?!\/)[^\s"'<>]*$/;
|
|
9163
9169
|
var a$19 = /^https?:\/\/[^\s"'<>]+$/;
|
|
@@ -9186,7 +9192,7 @@ var m$10 = (e) => {
|
|
|
9186
9192
|
var e$35 = /* @__PURE__ */ "keepState.stateStorage.transientState.keptState.paintedState.browserState.robotsTxt.securityTxt.llmsTxt.blockAiCrawlers.viewTransitions.siteName.language.favicon.shareImage.themeColor.customCss.withheldPage.wholeDocument.visitorRoles.userProvider.tokenStorage.loginUrl.userUrl.refreshUrl.logoutUrl.revokeUrl.detailsPath.tokenPath.refreshTokenPath.expirationTimePath.refreshExpirationTimePath.sessionHintCookie.sessionExchangeUrl.mfaUrl.sessionGate.sessionRevalidateSeconds.debugMode.computed.channels".split(".");
|
|
9187
9193
|
new Set(e$35);
|
|
9188
9194
|
// ../sdk-shared/dist/schema/motion.mjs
|
|
9189
|
-
var t$
|
|
9195
|
+
var t$52 = [
|
|
9190
9196
|
"fade",
|
|
9191
9197
|
"fade-up",
|
|
9192
9198
|
"fade-down",
|
|
@@ -9337,7 +9343,7 @@ var h$4 = {
|
|
|
9337
9343
|
rotate: "-180deg"
|
|
9338
9344
|
}]
|
|
9339
9345
|
};
|
|
9340
|
-
Object.fromEntries(t$
|
|
9346
|
+
Object.fromEntries(t$52.map((e) => {
|
|
9341
9347
|
let [{ at: t, ...n }] = h$4[e];
|
|
9342
9348
|
return [e, n];
|
|
9343
9349
|
}));
|
|
@@ -9364,7 +9370,7 @@ var S = (i) => {
|
|
|
9364
9370
|
if (!e$51(i)) return ["motion is an object: `{ enter: \"fade-up\", on: \"view\" }`"];
|
|
9365
9371
|
let a = [];
|
|
9366
9372
|
for (let e of Object.keys(i)) x$2.has(e) || a.push(`motion has no "${e}" — it takes enter, on, duration, delay, stagger, loop, easing and distance`);
|
|
9367
|
-
i.enter !== void 0 && !b$2(t$
|
|
9373
|
+
i.enter !== void 0 && !b$2(t$52, i.enter) && a.push(`motion.enter is one of ${t$52.join(", ")}`), i.on !== void 0 && !b$2(n$38, i.on) && a.push(`motion.on is ${n$38.slice(0, -1).join(", ")} or ${String(n$38.at(-1))}`), i.loop !== void 0 && !b$2(r$28, i.loop) && a.push(`motion.loop is one of ${r$28.join(", ")}`);
|
|
9368
9374
|
for (let e of [
|
|
9369
9375
|
"duration",
|
|
9370
9376
|
"delay",
|
|
@@ -9374,7 +9380,7 @@ var S = (i) => {
|
|
|
9374
9380
|
t !== void 0 && (typeof t != "number" || !Number.isFinite(t) || t < 0 || t > 1e4) && a.push(`motion.${e} is a number of ms from 0 to ${String(1e4)}`);
|
|
9375
9381
|
}
|
|
9376
9382
|
if (i.easing !== void 0 && !u$14(i.easing) && a.push(`motion.easing is a curve CSS names: ${o$21.join(", ")}, cubic-bezier(x1, y1, x2, y2) with x from 0 to 1, or steps(n)`), i.distance !== void 0) {
|
|
9377
|
-
let e = b$2(t$
|
|
9383
|
+
let e = b$2(t$52, i.enter) ? i.enter : void 0, n = Object.keys(d$12).join(", ");
|
|
9378
9384
|
typeof i.distance != "number" || !Number.isFinite(i.distance) || i.distance < 0 || i.distance > 400 ? a.push("motion.distance is how far it travels, a number of px from 0 to 400") : (e === void 0 || d$12[e] === void 0) && a.push(`motion.distance is how far an arrival travels — ${n} do; ${e ?? "an element with no enter"} does not`);
|
|
9379
9385
|
}
|
|
9380
9386
|
return i.easing !== void 0 && i.enter === void 0 && a.push("motion.easing is the curve of its `enter`: give it one"), i.enter === void 0 && i.loop === void 0 && a.push("motion says nothing to play: give it an `enter`, a `loop`, or both"), i.stagger !== void 0 && i.enter === void 0 && a.push("motion.stagger staggers the children’s `enter`: give it one"), a;
|
|
@@ -9385,13 +9391,13 @@ var S = (i) => {
|
|
|
9385
9391
|
"[data-motion-on=\"scroll\"][data-motion-enter], [data-motion-on=\"scroll\"][data-motion-stagger] > * { animation-timeline: auto, auto !important; }"
|
|
9386
9392
|
].join("\n");
|
|
9387
9393
|
// ../sdk-shared/dist/schema/markdownHeadings.mjs
|
|
9388
|
-
var t$
|
|
9394
|
+
var t$51 = /^ {0,3}(`{3,}|~{3,})/;
|
|
9389
9395
|
var n$37 = /^ {0,3}(#{1,6})[ \t]+(.*?)(?:[ \t]+#+)?[ \t]*$/;
|
|
9390
9396
|
var r$27 = (e) => e.replace(/!\[[^\]]*\]\([^)]*\)/g, "").replace(/<[^>]+>/g, "").replace(/\[([^\]]*)\]\([^)]*\)/g, "$1").replace(/`+([^`]*?)`+/g, "$1").replace(/(\*\*|~~)(.+?)\1/g, "$2").replace(/\*(.+?)\*/g, "$1").replace(/\b__(.+?)__\b/g, "$1").replace(/\b_(.+?)_\b/g, "$1").replace(/\\([\\`*_{}[\]()#+\-.!|~>])/g, "$1").trim();
|
|
9391
9397
|
var i$27 = (i) => {
|
|
9392
9398
|
let a = /* @__PURE__ */ new Set(), o = [], s;
|
|
9393
9399
|
for (let c of i.split("\n")) {
|
|
9394
|
-
let i = t$
|
|
9400
|
+
let i = t$51.exec(c)?.[1];
|
|
9395
9401
|
if (i) {
|
|
9396
9402
|
s ? i[0] === s[0] && i.length >= s.length && (s = void 0) : s = i;
|
|
9397
9403
|
continue;
|
|
@@ -9423,7 +9429,7 @@ var i$26 = r$61()({
|
|
|
9423
9429
|
],
|
|
9424
9430
|
attributeValues: {
|
|
9425
9431
|
documentScroll: n$36,
|
|
9426
|
-
seoType: t$
|
|
9432
|
+
seoType: t$54
|
|
9427
9433
|
},
|
|
9428
9434
|
triggers: { onPageLoad: {
|
|
9429
9435
|
action: "onPageLoad",
|
|
@@ -9586,7 +9592,7 @@ var r$25 = r$61()({
|
|
|
9586
9592
|
}
|
|
9587
9593
|
});
|
|
9588
9594
|
// ../sdk-elements/dist/elements/media/Embed/declaration.mjs
|
|
9589
|
-
var t$
|
|
9595
|
+
var t$50 = r$61()({
|
|
9590
9596
|
type: "embed",
|
|
9591
9597
|
contentAttributes: ["src", "title"],
|
|
9592
9598
|
content: {
|
|
@@ -9615,7 +9621,7 @@ var t$48 = r$61()({
|
|
|
9615
9621
|
}
|
|
9616
9622
|
});
|
|
9617
9623
|
// ../sdk-elements/dist/elements/media/FontAwesome/declaration.mjs
|
|
9618
|
-
var t$
|
|
9624
|
+
var t$49 = r$61()({
|
|
9619
9625
|
type: "fontAwesome",
|
|
9620
9626
|
content: {
|
|
9621
9627
|
attributes: {
|
|
@@ -9679,7 +9685,7 @@ var n$34 = r$61()({
|
|
|
9679
9685
|
}
|
|
9680
9686
|
});
|
|
9681
9687
|
// ../sdk-elements/dist/elements/media/Svg/declaration.mjs
|
|
9682
|
-
var t$
|
|
9688
|
+
var t$48 = r$61()({
|
|
9683
9689
|
type: "svg",
|
|
9684
9690
|
contentAttributes: ["label"],
|
|
9685
9691
|
content: {
|
|
@@ -9706,7 +9712,7 @@ var t$46 = r$61()({
|
|
|
9706
9712
|
}
|
|
9707
9713
|
});
|
|
9708
9714
|
// ../sdk-elements/dist/elements/media/Video/declaration.mjs
|
|
9709
|
-
var t$
|
|
9715
|
+
var t$47 = r$61()({
|
|
9710
9716
|
type: "video",
|
|
9711
9717
|
contentAttributes: ["src"],
|
|
9712
9718
|
content: {
|
|
@@ -10013,7 +10019,7 @@ var n$32 = r$61()({
|
|
|
10013
10019
|
}
|
|
10014
10020
|
});
|
|
10015
10021
|
// ../sdk-elements/dist/elements/structure/Carousel/CarouselTrack/declaration.mjs
|
|
10016
|
-
var t$
|
|
10022
|
+
var t$46 = r$61()({
|
|
10017
10023
|
type: "carouselTrack",
|
|
10018
10024
|
ancestorType: "carousel",
|
|
10019
10025
|
content: {
|
|
@@ -10035,7 +10041,7 @@ var t$44 = r$61()({
|
|
|
10035
10041
|
}
|
|
10036
10042
|
});
|
|
10037
10043
|
// ../sdk-elements/dist/elements/structure/Carousel/declaration.mjs
|
|
10038
|
-
var t$
|
|
10044
|
+
var t$45 = {
|
|
10039
10045
|
type: "select",
|
|
10040
10046
|
label: "How far",
|
|
10041
10047
|
defaultValue: "slide",
|
|
@@ -10076,14 +10082,14 @@ var n$31 = r$61()({
|
|
|
10076
10082
|
action: "next",
|
|
10077
10083
|
title: "Next Slide",
|
|
10078
10084
|
type: "callback",
|
|
10079
|
-
params: { by: t$
|
|
10085
|
+
params: { by: t$45 },
|
|
10080
10086
|
preview: {}
|
|
10081
10087
|
},
|
|
10082
10088
|
previous: {
|
|
10083
10089
|
action: "previous",
|
|
10084
10090
|
title: "Previous Slide",
|
|
10085
10091
|
type: "callback",
|
|
10086
|
-
params: { by: t$
|
|
10092
|
+
params: { by: t$45 },
|
|
10087
10093
|
preview: {}
|
|
10088
10094
|
},
|
|
10089
10095
|
goTo: {
|
|
@@ -10200,7 +10206,7 @@ var r$24 = r$61()({
|
|
|
10200
10206
|
}
|
|
10201
10207
|
});
|
|
10202
10208
|
// ../sdk-elements/dist/elements/structure/DialogContainer/declaration.mjs
|
|
10203
|
-
var t$
|
|
10209
|
+
var t$44 = { default: {
|
|
10204
10210
|
height: "28px",
|
|
10205
10211
|
width: "28px",
|
|
10206
10212
|
"padding-top": "4px",
|
|
@@ -10390,7 +10396,7 @@ var r$23 = r$61()({
|
|
|
10390
10396
|
"font-weight": "500",
|
|
10391
10397
|
"line-height": "1.2"
|
|
10392
10398
|
} },
|
|
10393
|
-
headerCloseButton: t$
|
|
10399
|
+
headerCloseButton: t$44,
|
|
10394
10400
|
bodyContainer: { default: {
|
|
10395
10401
|
display: "flex",
|
|
10396
10402
|
"flex-direction": "column",
|
|
@@ -10414,7 +10420,7 @@ var r$23 = r$61()({
|
|
|
10414
10420
|
initialItems: ["container"]
|
|
10415
10421
|
});
|
|
10416
10422
|
// ../sdk-elements/dist/elements/structure/Disclosure/declaration.mjs
|
|
10417
|
-
var t$
|
|
10423
|
+
var t$43 = r$61()({
|
|
10418
10424
|
type: "disclosure",
|
|
10419
10425
|
callbacks: {
|
|
10420
10426
|
openDisclosure: {
|
|
@@ -10467,14 +10473,17 @@ var t$41 = r$61()({
|
|
|
10467
10473
|
initialItems: ["disclosureSummary"]
|
|
10468
10474
|
});
|
|
10469
10475
|
// ../sdk-elements/dist/elements/structure/Disclosure/DisclosureSummary/declaration.mjs
|
|
10470
|
-
var t$
|
|
10476
|
+
var t$42 = r$61()({
|
|
10471
10477
|
type: "disclosureSummary",
|
|
10472
10478
|
ancestorType: "disclosure",
|
|
10473
10479
|
content: {
|
|
10474
|
-
attributes: {
|
|
10480
|
+
attributes: {
|
|
10481
|
+
marker: !0,
|
|
10482
|
+
label: ""
|
|
10483
|
+
},
|
|
10475
10484
|
definition: {
|
|
10476
10485
|
label: "Disclosure Summary",
|
|
10477
|
-
description: "What is pressed to open and close a disclosure — its first child, and its name for a screen reader: a text or a heading in it, never a button or a link (it is the control itself). Its `marker` is the sign at its end that turns as the disclosure opens (the `marker` slot styles it); off, for a sign of its own.",
|
|
10486
|
+
description: "What is pressed to open and close a disclosure — its first child, and its name for a screen reader: a text or a heading in it, never a button or a link (it is the control itself), or its `label` when it holds an icon alone (a menu’s burger). Its `marker` is the sign at its end that turns as the disclosure opens (the `marker` slot styles it); off, for a sign of its own.",
|
|
10478
10487
|
items: [],
|
|
10479
10488
|
styleSelectors: { marker: "" }
|
|
10480
10489
|
},
|
|
@@ -10599,7 +10608,7 @@ var n$27 = r$61()({
|
|
|
10599
10608
|
]
|
|
10600
10609
|
});
|
|
10601
10610
|
// ../sdk-elements/dist/elements/structure/List/ListItem/declaration.mjs
|
|
10602
|
-
var t$
|
|
10611
|
+
var t$41 = r$61()({
|
|
10603
10612
|
type: "listItem",
|
|
10604
10613
|
content: {
|
|
10605
10614
|
attributes: {},
|
|
@@ -10617,7 +10626,7 @@ var t$39 = r$61()({
|
|
|
10617
10626
|
}
|
|
10618
10627
|
});
|
|
10619
10628
|
// ../sdk-elements/dist/elements/structure/ModalContainer/declaration.mjs
|
|
10620
|
-
var t$
|
|
10629
|
+
var t$40 = r$61()({
|
|
10621
10630
|
type: "modalContainer",
|
|
10622
10631
|
contentAttributes: ["title"],
|
|
10623
10632
|
sourceType: "modalContainer",
|
|
@@ -10834,7 +10843,7 @@ var n$26 = r$61()({
|
|
|
10834
10843
|
}
|
|
10835
10844
|
});
|
|
10836
10845
|
// ../sdk-elements/dist/elements/structure/TabContainer/declaration.mjs
|
|
10837
|
-
var t$
|
|
10846
|
+
var t$39 = r$61()({
|
|
10838
10847
|
type: "tabContainer",
|
|
10839
10848
|
content: {
|
|
10840
10849
|
attributes: {},
|
|
@@ -10856,7 +10865,7 @@ var t$37 = r$61()({
|
|
|
10856
10865
|
initialItems: ["tabContainerHeader", "tabContainerBody"]
|
|
10857
10866
|
});
|
|
10858
10867
|
// ../sdk-elements/dist/elements/structure/TabContainer/TabContainerBody/declaration.mjs
|
|
10859
|
-
var t$
|
|
10868
|
+
var t$38 = r$61()({
|
|
10860
10869
|
type: "tabContainerBody",
|
|
10861
10870
|
ancestorType: "tabContainer",
|
|
10862
10871
|
content: {
|
|
@@ -10889,7 +10898,7 @@ var t$36 = r$61()({
|
|
|
10889
10898
|
]
|
|
10890
10899
|
});
|
|
10891
10900
|
// ../sdk-elements/dist/elements/structure/TabContainer/TabContainerHeader/declaration.mjs
|
|
10892
|
-
var t$
|
|
10901
|
+
var t$37 = r$61()({
|
|
10893
10902
|
type: "tabContainerHeader",
|
|
10894
10903
|
ancestorType: "tabContainer",
|
|
10895
10904
|
content: {
|
|
@@ -10922,7 +10931,7 @@ var t$35 = r$61()({
|
|
|
10922
10931
|
]
|
|
10923
10932
|
});
|
|
10924
10933
|
// ../sdk-elements/dist/elements/structure/TabContainer/TabContainerItem/declaration.mjs
|
|
10925
|
-
var t$
|
|
10934
|
+
var t$36 = r$61()({
|
|
10926
10935
|
type: "tabContainerItem",
|
|
10927
10936
|
marks: {
|
|
10928
10937
|
"role=\"tab\"": "in the header, with `aria-controls` its panel; in the body it is `role=\"tabpanel\"`, `hidden` while not on show",
|
|
@@ -10952,6 +10961,95 @@ var t$34 = r$61()({
|
|
|
10952
10961
|
}
|
|
10953
10962
|
}
|
|
10954
10963
|
});
|
|
10964
|
+
// ../sdk-elements/dist/elements/structure/Table/declaration.mjs
|
|
10965
|
+
var t$35 = r$61()({
|
|
10966
|
+
type: "table",
|
|
10967
|
+
sourceType: "table",
|
|
10968
|
+
publishes: {
|
|
10969
|
+
items: "Every row it draws, as its items give them",
|
|
10970
|
+
item: "Inside a row: that row's item",
|
|
10971
|
+
index: "Inside a row: its place, from 0"
|
|
10972
|
+
},
|
|
10973
|
+
content: {
|
|
10974
|
+
attributes: {
|
|
10975
|
+
items: [],
|
|
10976
|
+
caption: ""
|
|
10977
|
+
},
|
|
10978
|
+
definition: {
|
|
10979
|
+
label: "Table",
|
|
10980
|
+
description: "A table of data — a <table> read as one by screen readers and search engines: its children are `tableColumn`s, each a header in its head and a cell in every row, and it draws one row per entry of its items (bound to a source like a list). A column whose `visible` changes is gone from the head and every row at once. Its `caption` says what the table is.",
|
|
10981
|
+
items: [],
|
|
10982
|
+
styleSelectors: {
|
|
10983
|
+
caption: "",
|
|
10984
|
+
head: "",
|
|
10985
|
+
row: ""
|
|
10986
|
+
}
|
|
10987
|
+
},
|
|
10988
|
+
builder: { itemsAllowed: ["tableColumn"] },
|
|
10989
|
+
market: {
|
|
10990
|
+
category: "structure",
|
|
10991
|
+
icon: "fa-solid fa-table"
|
|
10992
|
+
},
|
|
10993
|
+
defaultStyle: {
|
|
10994
|
+
style: {
|
|
10995
|
+
base: { default: {
|
|
10996
|
+
width: "100%",
|
|
10997
|
+
"border-collapse": "collapse",
|
|
10998
|
+
"text-align": "left"
|
|
10999
|
+
} },
|
|
11000
|
+
caption: { default: {
|
|
11001
|
+
"text-align": "left",
|
|
11002
|
+
"padding-bottom": "8px"
|
|
11003
|
+
} },
|
|
11004
|
+
head: { default: {
|
|
11005
|
+
"border-bottom-width": "1px",
|
|
11006
|
+
"border-bottom-style": "solid",
|
|
11007
|
+
"border-bottom-color": "currentColor"
|
|
11008
|
+
} },
|
|
11009
|
+
row: { default: {
|
|
11010
|
+
"border-bottom-width": "1px",
|
|
11011
|
+
"border-bottom-style": "solid",
|
|
11012
|
+
"border-bottom-color": "rgba(127, 127, 127, 0.25)"
|
|
11013
|
+
} }
|
|
11014
|
+
},
|
|
11015
|
+
subTypes: {}
|
|
11016
|
+
}
|
|
11017
|
+
}
|
|
11018
|
+
});
|
|
11019
|
+
// ../sdk-elements/dist/elements/structure/Table/TableColumn/declaration.mjs
|
|
11020
|
+
var t$34 = r$61()({
|
|
11021
|
+
type: "tableColumn",
|
|
11022
|
+
ancestorType: "table",
|
|
11023
|
+
content: {
|
|
11024
|
+
attributes: {
|
|
11025
|
+
header: "",
|
|
11026
|
+
rowHeader: !1
|
|
11027
|
+
},
|
|
11028
|
+
definition: {
|
|
11029
|
+
label: "Table Column",
|
|
11030
|
+
description: "One column of a table: its `header` in the head (`<th scope=\"col\">`), and in each row the cell its children draw, the row in hand. `rowHeader` makes its cell name its row (`<th scope=\"row\">`). Its `visible` shows or hides the whole column; its class styles the header and the cells, the `header` slot the header alone.",
|
|
11031
|
+
items: [],
|
|
11032
|
+
styleSelectors: { header: "" }
|
|
11033
|
+
},
|
|
11034
|
+
market: {
|
|
11035
|
+
category: "structure",
|
|
11036
|
+
icon: "fa-solid fa-table-columns"
|
|
11037
|
+
},
|
|
11038
|
+
defaultStyle: {
|
|
11039
|
+
style: {
|
|
11040
|
+
base: { default: {
|
|
11041
|
+
padding: "8px 12px",
|
|
11042
|
+
"vertical-align": "top"
|
|
11043
|
+
} },
|
|
11044
|
+
header: { default: {
|
|
11045
|
+
"font-weight": "600",
|
|
11046
|
+
"white-space": "nowrap"
|
|
11047
|
+
} }
|
|
11048
|
+
},
|
|
11049
|
+
subTypes: {}
|
|
11050
|
+
}
|
|
11051
|
+
}
|
|
11052
|
+
});
|
|
10955
11053
|
// ../sdk-elements/dist/elements/structure/TimeWindow/declaration.mjs
|
|
10956
11054
|
var n$25 = r$61()({
|
|
10957
11055
|
type: e$57,
|
|
@@ -11589,25 +11687,25 @@ var t$28 = {
|
|
|
11589
11687
|
var r$20 = /^\s*(?:<!--[\s\S]*?-->\s*)*<svg\b[\s\S]*<\/svg>\s*$/i;
|
|
11590
11688
|
var i$22 = (e) => r$20.test(e);
|
|
11591
11689
|
// ../sdk-elements/dist/elements/declarations/index.mjs
|
|
11592
|
-
var
|
|
11690
|
+
var $ = {
|
|
11593
11691
|
ApiContainer: n$33,
|
|
11594
|
-
BlockHtml: t$
|
|
11595
|
-
BlockJsx: t$
|
|
11692
|
+
BlockHtml: t$92,
|
|
11693
|
+
BlockJsx: t$91,
|
|
11596
11694
|
Button: r$55,
|
|
11597
11695
|
Countdown: a$30,
|
|
11598
11696
|
Carousel: n$31,
|
|
11599
|
-
CarouselTrack: t$
|
|
11697
|
+
CarouselTrack: t$46,
|
|
11600
11698
|
Channel: n$32,
|
|
11601
11699
|
Container: r$24,
|
|
11602
|
-
Custom: t$
|
|
11700
|
+
Custom: t$90,
|
|
11603
11701
|
DialogContainer: r$23,
|
|
11604
|
-
Disclosure: t$
|
|
11605
|
-
DisclosureSummary: t$
|
|
11702
|
+
Disclosure: t$43,
|
|
11703
|
+
DisclosureSummary: t$42,
|
|
11606
11704
|
FocusGroup: n$28,
|
|
11607
11705
|
Dropdown: n$63,
|
|
11608
|
-
DropdownPopup: t$
|
|
11609
|
-
Embed: t$
|
|
11610
|
-
FontAwesome: t$
|
|
11706
|
+
DropdownPopup: t$81,
|
|
11707
|
+
Embed: t$50,
|
|
11708
|
+
FontAwesome: t$49,
|
|
11611
11709
|
Form: n$58,
|
|
11612
11710
|
FormControl: _$7,
|
|
11613
11711
|
Heading: n$62,
|
|
@@ -11615,25 +11713,27 @@ var Z = {
|
|
|
11615
11713
|
LayoutContainer: n$57,
|
|
11616
11714
|
Link: n$61,
|
|
11617
11715
|
List: n$27,
|
|
11618
|
-
ListItem: t$
|
|
11619
|
-
|
|
11620
|
-
|
|
11621
|
-
|
|
11622
|
-
|
|
11623
|
-
|
|
11716
|
+
ListItem: t$41,
|
|
11717
|
+
Table: t$35,
|
|
11718
|
+
TableColumn: t$34,
|
|
11719
|
+
Loading: t$77,
|
|
11720
|
+
Markdown: t$80,
|
|
11721
|
+
ModalContainer: t$40,
|
|
11722
|
+
NodeHtml: t$89,
|
|
11723
|
+
NotFound: t$76,
|
|
11624
11724
|
Page: i$26,
|
|
11625
11725
|
Pagination: n$26,
|
|
11626
|
-
Paragraph: t$
|
|
11627
|
-
PlitziSdk: t$
|
|
11628
|
-
Reference: t$
|
|
11726
|
+
Paragraph: t$79,
|
|
11727
|
+
PlitziSdk: t$88,
|
|
11728
|
+
Reference: t$87,
|
|
11629
11729
|
RichText: n$60,
|
|
11630
11730
|
Chart: r$25,
|
|
11631
|
-
Svg: t$
|
|
11632
|
-
TabContainer: t$
|
|
11633
|
-
TabContainerBody: t$
|
|
11634
|
-
TabContainerHeader: t$
|
|
11635
|
-
TabContainerItem: t$
|
|
11636
|
-
Text: t$
|
|
11731
|
+
Svg: t$48,
|
|
11732
|
+
TabContainer: t$39,
|
|
11733
|
+
TabContainerBody: t$38,
|
|
11734
|
+
TabContainerHeader: t$37,
|
|
11735
|
+
TabContainerItem: t$36,
|
|
11736
|
+
Text: t$78,
|
|
11637
11737
|
ThemeToggle: r$46,
|
|
11638
11738
|
TimeWindow: n$25,
|
|
11639
11739
|
Variants: a$17,
|
|
@@ -11641,14 +11741,14 @@ var Z = {
|
|
|
11641
11741
|
Account: t$31,
|
|
11642
11742
|
Avatar: t$30,
|
|
11643
11743
|
SignInForm: t$29,
|
|
11644
|
-
Video: t$
|
|
11744
|
+
Video: t$47
|
|
11645
11745
|
};
|
|
11646
|
-
var se = Object.fromEntries(Object.values(
|
|
11647
|
-
Object.fromEntries(Object.values(
|
|
11648
|
-
Object.fromEntries(Object.values(
|
|
11746
|
+
var se = Object.fromEntries(Object.values($).flatMap((e) => "serverTemplates" in e ? [[e.type, e.serverTemplates]] : []));
|
|
11747
|
+
Object.fromEntries(Object.values($).flatMap((e) => "contentAttributes" in e ? [[e.type, e.contentAttributes]] : []));
|
|
11748
|
+
Object.fromEntries(Object.values($).flatMap((e) => "ancestorType" in e ? [[e.type, e.ancestorType]] : []));
|
|
11649
11749
|
// src/elements/catalog.ts
|
|
11650
11750
|
/** Every declaration, read through the part of its shape this catalog uses. */
|
|
11651
|
-
var declarations =
|
|
11751
|
+
var declarations = $;
|
|
11652
11752
|
/** Keyed by the schema `type`, which is what a document and every catalog address a type by. */
|
|
11653
11753
|
var elementCatalog = Object.fromEntries(Object.values(declarations).map((declaration) => [declaration.type, {
|
|
11654
11754
|
label: declaration.content?.definition?.label ?? declaration.type,
|
|
@@ -11728,8 +11828,8 @@ var elementAttributeValues = Object.fromEntries(Object.values(declarations).filt
|
|
|
11728
11828
|
var ACCESSIBILITY_CODES = {
|
|
11729
11829
|
"control-without-name": {
|
|
11730
11830
|
kind: "warned",
|
|
11731
|
-
means: "a button or a
|
|
11732
|
-
fix: "`
|
|
11831
|
+
means: "a button, a link or a disclosure’s summary with no words, or a field nothing names",
|
|
11832
|
+
fix: "`label` on the control (a button’s `title` adds the tooltip), `label` (with `hideLabel: true`) on the field"
|
|
11733
11833
|
},
|
|
11734
11834
|
"embed-without-title": {
|
|
11735
11835
|
kind: "warned",
|
|
@@ -11912,7 +12012,7 @@ var BINDING_CODES = {
|
|
|
11912
12012
|
"template-short-source": {
|
|
11913
12013
|
kind: "refused",
|
|
11914
12014
|
means: "a source named without its prefix inside a template or a step",
|
|
11915
|
-
fix: "the full name: `apiContainer_stats`, `list_rows` — a list's row
|
|
12015
|
+
fix: "the full name: `apiContainer_stats`, `list_rows` — a list's row is `r.item`, completed in a template too"
|
|
11916
12016
|
},
|
|
11917
12017
|
"template-source-out-of-scope": {
|
|
11918
12018
|
kind: "refused",
|
|
@@ -12297,18 +12397,18 @@ var ELEMENT_CODES = {
|
|
|
12297
12397
|
},
|
|
12298
12398
|
"row-and-children": {
|
|
12299
12399
|
kind: "refused",
|
|
12300
|
-
means: "a list with a `row` and `children` — the row is what it renders",
|
|
12400
|
+
means: "a list or a table with a `row` and `children` — the row is what it renders, a table’s its columns",
|
|
12301
12401
|
fix: "one of the two"
|
|
12302
12402
|
},
|
|
12303
12403
|
"row-without-id": {
|
|
12304
12404
|
kind: "refused",
|
|
12305
|
-
means: "a list whose `row` is a function, with no `id` — the row's sources are named after it",
|
|
12405
|
+
means: "a list, a carousel or a table whose `row` is a function, with no `id` — the row's sources are named after it",
|
|
12306
12406
|
fix: "`list({ id: 'products', items, row: r => … })`"
|
|
12307
12407
|
},
|
|
12308
12408
|
"row-outside-list": {
|
|
12309
12409
|
kind: "refused",
|
|
12310
|
-
means: "`row` on an element that is not a list",
|
|
12311
|
-
fix: "a `list` around it"
|
|
12410
|
+
means: "`row` on an element that is not a list, a carousel or a table",
|
|
12411
|
+
fix: "a `list` (or a `table`) around it"
|
|
12312
12412
|
},
|
|
12313
12413
|
"source-name-missing": {
|
|
12314
12414
|
kind: "refused",
|
|
@@ -13381,11 +13481,7 @@ var sourceRow = (listSource, items) => {
|
|
|
13381
13481
|
const shape = Reflect.get(items, SHAPE);
|
|
13382
13482
|
return {
|
|
13383
13483
|
item: pathTo(`${listSource}.item`, Array.isArray(shape) ? itemShape(shape) : UNKNOWN),
|
|
13384
|
-
index: pathTo(`${listSource}.index`, 0)
|
|
13385
|
-
inTemplate: {
|
|
13386
|
-
item: `${listSource}.item`,
|
|
13387
|
-
index: `${listSource}.index`
|
|
13388
|
-
}
|
|
13484
|
+
index: pathTo(`${listSource}.index`, 0)
|
|
13389
13485
|
};
|
|
13390
13486
|
};
|
|
13391
13487
|
/**
|
|
@@ -14072,6 +14168,18 @@ var visibleWhen = (source, template) => ({
|
|
|
14072
14168
|
params: { template }
|
|
14073
14169
|
}] } : {}
|
|
14074
14170
|
});
|
|
14171
|
+
/** A value as a template writes it: a text quoted, its quotes escaped; a number or a yes/no as it is. */
|
|
14172
|
+
var twigLiteral = (value) => typeof value === "string" ? `'${value.replace(/\\/g, "\\\\").replace(/'/g, "\\'")}'` : String(value);
|
|
14173
|
+
/**
|
|
14174
|
+
* The visibility most conditions are: shown once a source compares so with a value — `visible: visibleIf('state.step',
|
|
14175
|
+
* '>=', 2)` — and hidden while the source has none yet. It writes the condition a `{ source, template }` is
|
|
14176
|
+
* (`{{ source is defined and source >= 2 }}`); anything more — two sources, a row and the state — is that form written
|
|
14177
|
+
* out.
|
|
14178
|
+
*/
|
|
14179
|
+
var visibleIf = (source, comparison, value) => ({
|
|
14180
|
+
source: sourceName(source),
|
|
14181
|
+
template: `{{ source is defined and source ${comparison} ${twigLiteral(value)} }}`
|
|
14182
|
+
});
|
|
14075
14183
|
/**
|
|
14076
14184
|
* An attribute computed by a template over a source — a label with units, a URL with an id in it, a filtered list.
|
|
14077
14185
|
*
|
|
@@ -14231,8 +14339,8 @@ var activeOn = (cls, pages, options = {}) => {
|
|
|
14231
14339
|
});
|
|
14232
14340
|
};
|
|
14233
14341
|
/**
|
|
14234
|
-
* The source a condition is bound through: a global it reads (a component's props among them), else the element whose
|
|
14235
|
-
* id, as a binding names one (`list_dots` is `dots`). The binding follows every name its template reads, so this
|
|
14342
|
+
* The source a condition is bound through: a global it reads (a component's props among them), else the element whose
|
|
14343
|
+
* source it reads first — by its id, as a binding names one (`list_dots` is `dots`, and a row's `dots.item` too). The binding follows every name its template reads, so this
|
|
14236
14344
|
* one only has to be one of them.
|
|
14237
14345
|
*/
|
|
14238
14346
|
var conditionSource = (template) => {
|
|
@@ -14240,7 +14348,8 @@ var conditionSource = (template) => {
|
|
|
14240
14348
|
const global = roots.find((root) => COMPONENT_SOURCES.includes(root));
|
|
14241
14349
|
if (global) return global;
|
|
14242
14350
|
const element = roots.find((root) => root.includes("_"));
|
|
14243
|
-
return element
|
|
14351
|
+
if (element) return element.slice(element.indexOf("_") + 1);
|
|
14352
|
+
return o$33(template).find((path) => /^[^.]+\.(item|index)(\.|$)/.test(path))?.split(".")[0];
|
|
14244
14353
|
};
|
|
14245
14354
|
/**
|
|
14246
14355
|
* Wears a class's variant while a condition holds — the dot of the slide on screen, the tab whose panel is open:
|
|
@@ -14412,11 +14521,7 @@ var listRow = (id, kind) => ({
|
|
|
14412
14521
|
list: id,
|
|
14413
14522
|
source: `${kind}_${id}`,
|
|
14414
14523
|
item: `${id}.item`,
|
|
14415
|
-
index: `${id}.index
|
|
14416
|
-
inTemplate: {
|
|
14417
|
-
item: `${kind}_${id}.item`,
|
|
14418
|
-
index: `${kind}_${id}.index`
|
|
14419
|
-
}
|
|
14524
|
+
index: `${id}.index`
|
|
14420
14525
|
});
|
|
14421
14526
|
/**
|
|
14422
14527
|
* A list as it reads shortest: `items` or `from` makes it controlled — an array of its own, or a source's name, bound — and a
|
|
@@ -14441,7 +14546,7 @@ var listShape = (kind, id, attributes, bind, row, children, fed) => {
|
|
|
14441
14546
|
...shaped,
|
|
14442
14547
|
...children === void 0 ? {} : { children }
|
|
14443
14548
|
};
|
|
14444
|
-
if (kind
|
|
14549
|
+
if (kind !== "carousel" && children !== void 0) throw new AuthoringError("row-and-children", `A ${kind} with a \`row\` takes no \`children\`: the row IS what it renders${kind === "table" ? " — its columns" : ""}.`);
|
|
14445
14550
|
if (typeof row === "string") return {
|
|
14446
14551
|
...shaped,
|
|
14447
14552
|
row,
|
|
@@ -14450,7 +14555,7 @@ var listShape = (kind, id, attributes, bind, row, children, fed) => {
|
|
|
14450
14555
|
if (id === void 0) throw new AuthoringError("row-without-id", `A ${kind} whose \`row\` is a function needs an \`id\`, which names the sources of its rows: give the ${kind} one.`);
|
|
14451
14556
|
const written = row(listRow(id, kind));
|
|
14452
14557
|
const rows = Array.isArray(written) ? written : [written];
|
|
14453
|
-
if (kind
|
|
14558
|
+
if (kind !== "carousel") return {
|
|
14454
14559
|
...shaped,
|
|
14455
14560
|
children: rows
|
|
14456
14561
|
};
|
|
@@ -14475,8 +14580,8 @@ var buildSpec = (type, declaration, props) => {
|
|
|
14475
14580
|
const bind = givenBind === void 0 ? void 0 : bindingsOf$3(givenBind);
|
|
14476
14581
|
const from = givenFrom === void 0 ? void 0 : sourceName(givenFrom);
|
|
14477
14582
|
const visible = givenVisible === void 0 ? void 0 : visibleOf(givenVisible);
|
|
14478
|
-
const list = type === "list" || type === "carousel" ? listShape(type, id, attributes, bind, row, children, from !== void 0) : void 0;
|
|
14479
|
-
if (row !== void 0 && !list) throw new AuthoringError("row-outside-list", `A "${type}" has no rows: \`row\` is a list's or a
|
|
14583
|
+
const list = type === "list" || type === "carousel" || type === "table" ? listShape(type, id, attributes, bind, row, children, from !== void 0) : void 0;
|
|
14584
|
+
if (row !== void 0 && !list) throw new AuthoringError("row-outside-list", `A "${type}" has no rows: \`row\` is a list's, a carousel's or a table's.`);
|
|
14480
14585
|
return markWrittenAt({
|
|
14481
14586
|
type,
|
|
14482
14587
|
...id === void 0 ? {} : { id },
|
|
@@ -14531,7 +14636,7 @@ var callFactory = (type, declaration, first, second) => {
|
|
|
14531
14636
|
* the caller says they are, and nothing is claimed that is not known.
|
|
14532
14637
|
*/
|
|
14533
14638
|
var defineElement = (declaration) => (first, second) => callFactory(declaration.type, declaration, first, second);
|
|
14534
|
-
var declarationsByType = new Map(Object.values(
|
|
14639
|
+
var declarationsByType = new Map(Object.values($).map((declaration) => [declaration.type, declaration]));
|
|
14535
14640
|
/**
|
|
14536
14641
|
* The attributes an element of this type starts with — what a factory merges under the author's own.
|
|
14537
14642
|
*
|
|
@@ -14629,6 +14734,8 @@ var elements_exports = /* @__PURE__ */ __exportAll({
|
|
|
14629
14734
|
tabContainerBody: () => tabContainerBody,
|
|
14630
14735
|
tabContainerHeader: () => tabContainerHeader,
|
|
14631
14736
|
tabContainerItem: () => tabContainerItem,
|
|
14737
|
+
table: () => table,
|
|
14738
|
+
tableColumn: () => tableColumn,
|
|
14632
14739
|
text: () => text$1,
|
|
14633
14740
|
themeToggle: () => themeToggle,
|
|
14634
14741
|
timeWindow: () => timeWindow,
|
|
@@ -14650,43 +14757,43 @@ var elements_exports = /* @__PURE__ */ __exportAll({
|
|
|
14650
14757
|
* appear in real documents, and their components are attached to their parent rather than exported on their own,
|
|
14651
14758
|
* which is why their declarations had to be written before they could be authored at all.
|
|
14652
14759
|
*/
|
|
14653
|
-
var apiContainer = defineElement(
|
|
14654
|
-
var blockHtml = defineElement(
|
|
14655
|
-
var blockJsx = defineElement(
|
|
14656
|
-
var button$1 = defineElement(
|
|
14760
|
+
var apiContainer = defineElement($.ApiContainer);
|
|
14761
|
+
var blockHtml = defineElement($.BlockHtml);
|
|
14762
|
+
var blockJsx = defineElement($.BlockJsx);
|
|
14763
|
+
var button$1 = defineElement($.Button);
|
|
14657
14764
|
/**
|
|
14658
14765
|
* A carousel's `items` may name the source its slides come from, as a list's may: `carousel({ id: 'hero', items:
|
|
14659
14766
|
* 'site.data.slides', row: r => … })` writes the slide into a `carouselTrack`, and its `children` are the controls.
|
|
14660
14767
|
*/
|
|
14661
|
-
var carousel = defineElement(
|
|
14662
|
-
var carouselTrack = defineElement(
|
|
14663
|
-
var chart = defineElement(
|
|
14664
|
-
var channel = defineElement(
|
|
14665
|
-
var container = defineElement(
|
|
14768
|
+
var carousel = defineElement($.Carousel);
|
|
14769
|
+
var carouselTrack = defineElement($.CarouselTrack);
|
|
14770
|
+
var chart = defineElement($.Chart);
|
|
14771
|
+
var channel = defineElement($.Channel);
|
|
14772
|
+
var container = defineElement($.Container);
|
|
14666
14773
|
/**
|
|
14667
14774
|
* How long is left until an instant: `countdown({ to: '2026-12-01T09:00:00Z' })`, or `countdown()` inside a `timeWindow`
|
|
14668
14775
|
* to count to its end. `onCountdownEnd` runs a flow at zero.
|
|
14669
14776
|
*/
|
|
14670
|
-
var countdown = defineElement(
|
|
14671
|
-
var custom$1 = defineElement(
|
|
14672
|
-
var dialogContainer = defineElement(
|
|
14777
|
+
var countdown = defineElement($.Countdown);
|
|
14778
|
+
var custom$1 = defineElement($.Custom);
|
|
14779
|
+
var dialogContainer = defineElement($.DialogContainer);
|
|
14673
14780
|
/**
|
|
14674
14781
|
* What a summary shows or hides — a question and its answer, a menu, "show more": `disclosure({ name: 'faq', children:
|
|
14675
14782
|
* [disclosureSummary([text({ content: 'Question?' })]), paragraph({ content: 'Answer.' })] })`. The summary comes first.
|
|
14676
14783
|
*/
|
|
14677
|
-
var disclosure = defineElement(
|
|
14678
|
-
var disclosureSummary = defineElement(
|
|
14679
|
-
var dropdown = defineElement(
|
|
14680
|
-
var dropdownPopup = defineElement(
|
|
14681
|
-
var focusGroup = defineElement(
|
|
14682
|
-
var embed = defineElement(
|
|
14683
|
-
var fontAwesome = defineElement(
|
|
14684
|
-
var form = defineElement(
|
|
14685
|
-
var formControl = defineElement(
|
|
14686
|
-
var heading = defineElement(
|
|
14687
|
-
var image = defineElement(
|
|
14688
|
-
var link = defineElement(
|
|
14689
|
-
var listFactory = defineElement(
|
|
14784
|
+
var disclosure = defineElement($.Disclosure);
|
|
14785
|
+
var disclosureSummary = defineElement($.DisclosureSummary);
|
|
14786
|
+
var dropdown = defineElement($.Dropdown);
|
|
14787
|
+
var dropdownPopup = defineElement($.DropdownPopup);
|
|
14788
|
+
var focusGroup = defineElement($.FocusGroup);
|
|
14789
|
+
var embed = defineElement($.Embed);
|
|
14790
|
+
var fontAwesome = defineElement($.FontAwesome);
|
|
14791
|
+
var form = defineElement($.Form);
|
|
14792
|
+
var formControl = defineElement($.FormControl);
|
|
14793
|
+
var heading = defineElement($.Heading);
|
|
14794
|
+
var image = defineElement($.Image);
|
|
14795
|
+
var link = defineElement($.Link);
|
|
14796
|
+
var listFactory = defineElement($.List);
|
|
14690
14797
|
var isTypedList = (props) => isSourcePath(props.items);
|
|
14691
14798
|
function list$1(first, second) {
|
|
14692
14799
|
if (Array.isArray(first)) return listFactory(first, second);
|
|
@@ -14697,16 +14804,27 @@ function list$1(first, second) {
|
|
|
14697
14804
|
row: typeof row === "function" ? (named) => row(sourceRow(named.source, items)) : row
|
|
14698
14805
|
});
|
|
14699
14806
|
}
|
|
14700
|
-
var listItem = defineElement(
|
|
14701
|
-
var
|
|
14702
|
-
var
|
|
14703
|
-
|
|
14704
|
-
|
|
14705
|
-
|
|
14807
|
+
var listItem = defineElement($.ListItem);
|
|
14808
|
+
var tableFactory = defineElement($.Table);
|
|
14809
|
+
var isTypedTable = (props) => isSourcePath(props.items);
|
|
14810
|
+
function table(props) {
|
|
14811
|
+
if (props === void 0 || !isTypedTable(props)) return tableFactory(props);
|
|
14812
|
+
const { items, row } = props;
|
|
14813
|
+
return tableFactory({
|
|
14814
|
+
...props,
|
|
14815
|
+
row: typeof row === "function" ? (named) => row(sourceRow(named.source, items)) : row
|
|
14816
|
+
});
|
|
14817
|
+
}
|
|
14818
|
+
var tableColumn = defineElement($.TableColumn);
|
|
14819
|
+
var markdown = defineElement($.Markdown);
|
|
14820
|
+
var modalContainer = defineElement($.ModalContainer);
|
|
14821
|
+
var nodeHtml = defineElement($.NodeHtml);
|
|
14822
|
+
var pagination = defineElement($.Pagination);
|
|
14823
|
+
var paragraph = defineElement($.Paragraph);
|
|
14706
14824
|
/** Another space drawn inside this one, as a widget: `plitziSdk({ id: 'card', bind: { offlineData: 'view.data' } })`. */
|
|
14707
|
-
var plitziSdk = defineElement(
|
|
14708
|
-
var reference = defineElement(
|
|
14709
|
-
var richText = defineElement(
|
|
14825
|
+
var plitziSdk = defineElement($.PlitziSdk);
|
|
14826
|
+
var reference = defineElement($.Reference);
|
|
14827
|
+
var richText = defineElement($.RichText);
|
|
14710
14828
|
/**
|
|
14711
14829
|
* Variants: each visitor sees one of its variants. By chance (an A/B test) — `variants({ children: [variantItem({ weight: 90, children: [a]
|
|
14712
14830
|
* }), variantItem({ weight: 10, children: [b] })] })`, drawn by the shares and kept when they come back, named after the
|
|
@@ -14714,27 +14832,27 @@ var richText = defineElement(Z.RichText);
|
|
|
14714
14832
|
* 'and', rules: [{ field: 'visitor.device', operator: '=', value: 'mobile' }] }, children: [phones] }),
|
|
14715
14833
|
* variantItem([everyone])] })` — the first whose rule they match; one with no `when` is for everybody else.
|
|
14716
14834
|
*/
|
|
14717
|
-
var variants = defineElement(
|
|
14718
|
-
var variantItem = defineElement(
|
|
14835
|
+
var variants = defineElement($.Variants);
|
|
14836
|
+
var variantItem = defineElement($.VariantItem);
|
|
14719
14837
|
/** A person: `avatar({ name: '{{ auth.details.username }}' })` — their picture, or their initials on a colour of their own. */
|
|
14720
|
-
var avatar = defineElement(
|
|
14838
|
+
var avatar = defineElement($.Avatar);
|
|
14721
14839
|
/**
|
|
14722
14840
|
* Who is signed in, in a top bar: `account({ signInHref: '/sign-in', children: [link({ href: '/profile', content:
|
|
14723
14841
|
* 'Profile' })] })` — "Sign in" for a guest, a menu for somebody signed in.
|
|
14724
14842
|
*/
|
|
14725
|
-
var account = defineElement(
|
|
14843
|
+
var account = defineElement($.Account);
|
|
14726
14844
|
/** The space's sign-in: `signInForm({ redirectTo: '/dashboard' })` — one button through Plitzi, a form for `basic`. */
|
|
14727
|
-
var signInForm = defineElement(
|
|
14728
|
-
var svg = defineElement(
|
|
14729
|
-
var tabContainer = defineElement(
|
|
14730
|
-
var tabContainerBody = defineElement(
|
|
14731
|
-
var tabContainerHeader = defineElement(
|
|
14732
|
-
var tabContainerItem = defineElement(
|
|
14733
|
-
var text$1 = defineElement(
|
|
14845
|
+
var signInForm = defineElement($.SignInForm);
|
|
14846
|
+
var svg = defineElement($.Svg);
|
|
14847
|
+
var tabContainer = defineElement($.TabContainer);
|
|
14848
|
+
var tabContainerBody = defineElement($.TabContainerBody);
|
|
14849
|
+
var tabContainerHeader = defineElement($.TabContainerHeader);
|
|
14850
|
+
var tabContainerItem = defineElement($.TabContainerItem);
|
|
14851
|
+
var text$1 = defineElement($.Text);
|
|
14734
14852
|
/** What shows only between two instants: `timeWindow({ startsAt: '2026-12-01T09:00:00Z', endsAt: '…', children })`. */
|
|
14735
|
-
var timeWindow = defineElement(
|
|
14736
|
-
var themeToggle = defineElement(
|
|
14737
|
-
var video = defineElement(
|
|
14853
|
+
var timeWindow = defineElement($.TimeWindow);
|
|
14854
|
+
var themeToggle = defineElement($.ThemeToggle);
|
|
14855
|
+
var video = defineElement($.Video);
|
|
14738
14856
|
// ../sdk-schema/dist/helpers/elementId.mjs
|
|
14739
14857
|
var e$29 = /^[A-Za-z](?:[A-Za-z0-9_-]*[A-Za-z0-9_])?$/;
|
|
14740
14858
|
var t$25 = (t) => e$29.test(t);
|
|
@@ -16113,7 +16231,7 @@ var d$2 = class {
|
|
|
16113
16231
|
getElementVariables = (e, t, n = this.flat, r = this.variables) => {
|
|
16114
16232
|
let i = [], a = n[t]?.definition.styleSelectors;
|
|
16115
16233
|
if (!a) return i;
|
|
16116
|
-
let o = new RegExp(t$
|
|
16234
|
+
let o = new RegExp(t$73, "g");
|
|
16117
16235
|
return Object.values(a).filter(Boolean).forEach((t) => {
|
|
16118
16236
|
Object.values(e.platform).forEach((e) => {
|
|
16119
16237
|
let n = e[t];
|
|
@@ -19391,7 +19509,9 @@ var slugify = (value, fallback) => value.toLowerCase().replace(/[^a-z0-9]+/g, "-
|
|
|
19391
19509
|
/**
|
|
19392
19510
|
* The attributes a control's name can come from, by type. What a type does not list here names nothing.
|
|
19393
19511
|
*
|
|
19394
|
-
* `
|
|
19512
|
+
* `label` names every control whose words do not say what it does — a button, a link, a disclosure's summary — and an
|
|
19513
|
+
* `svg` or an icon inside one. `content` on a button is its visible text; `title` is the tooltip the browser falls back
|
|
19514
|
+
* to when there is none.
|
|
19395
19515
|
*/
|
|
19396
19516
|
var NAMING_ATTRIBUTES = {
|
|
19397
19517
|
button: [
|
|
@@ -19400,6 +19520,8 @@ var NAMING_ATTRIBUTES = {
|
|
|
19400
19520
|
"label"
|
|
19401
19521
|
],
|
|
19402
19522
|
link: ["content", "label"],
|
|
19523
|
+
disclosureSummary: ["label"],
|
|
19524
|
+
svg: ["label"],
|
|
19403
19525
|
formControl: ["label"],
|
|
19404
19526
|
text: ["content"],
|
|
19405
19527
|
heading: ["content"],
|
|
@@ -19510,11 +19632,15 @@ var hasWordsInside = (ctx, id) => (ctx.element(id)?.definition.items ?? []).some
|
|
|
19510
19632
|
if (type === "image" && !isDecorative(child) && !says(ctx, child, "alt")) return true;
|
|
19511
19633
|
return (NAMING_ATTRIBUTES[type] ?? []).some((name) => (type !== "image" || !isDecorative(child)) && says(ctx, child, name)) || hasWordsInside(ctx, childId);
|
|
19512
19634
|
});
|
|
19635
|
+
/** What names each control whose words do not: `label`, on every one of them. */
|
|
19513
19636
|
var FIXES = {
|
|
19514
|
-
button: "Give it a `
|
|
19515
|
-
link: "Give it words of its own in `content` — `link({ content: \"Pricing\", … })` — or, where its words are an icon or a picture, a `label` saying where it goes: `link({ label: \"Your profile\", … })`."
|
|
19637
|
+
button: "Give it words of its own in `content`, or — where its words are an icon — a `label` saying what it does: `button({ label: \"Close\", … })` (a `title` adds the tooltip).",
|
|
19638
|
+
link: "Give it words of its own in `content` — `link({ content: \"Pricing\", … })` — or, where its words are an icon or a picture, a `label` saying where it goes: `link({ label: \"Your profile\", … })`.",
|
|
19639
|
+
disclosureSummary: "Give it words inside — a `text` — or, where its sign is an icon alone (a menu’s burger), a `label` saying what it opens: `disclosureSummary({ label: \"Menu\", … })`."
|
|
19516
19640
|
};
|
|
19517
|
-
|
|
19641
|
+
var NAMED_CONTROLS = new Set(Object.keys(FIXES));
|
|
19642
|
+
var isNamedControl = (type) => NAMED_CONTROLS.has(type);
|
|
19643
|
+
/** A button, a link, a disclosure's summary or a form field that nothing names. */
|
|
19518
19644
|
var warnUnnamedControl = (ctx, element, where) => {
|
|
19519
19645
|
const { type } = element.definition;
|
|
19520
19646
|
if (type === "formControl") {
|
|
@@ -19524,8 +19650,8 @@ var warnUnnamedControl = (ctx, element, where) => {
|
|
|
19524
19650
|
ctx.warn("control-without-name", `${where} is a "${subType}" field with nothing naming it, so a screen reader or a browser agent finds an unnamed box and cannot tell what it is for. Give it a \`label\` — with \`hideLabel: true\` when the design already says what it is (a swatch, a search box with a magnifier), which keeps the name and hides the words.`, element.id);
|
|
19525
19651
|
return;
|
|
19526
19652
|
}
|
|
19527
|
-
if (type
|
|
19528
|
-
if (NAMING_ATTRIBUTES[type].some((name) => says(ctx, element, name)) || hasWordsInside(ctx, element.id)) return;
|
|
19653
|
+
if (!isNamedControl(type)) return;
|
|
19654
|
+
if ((NAMING_ATTRIBUTES[type] ?? []).some((name) => says(ctx, element, name)) || hasWordsInside(ctx, element.id)) return;
|
|
19529
19655
|
const fix = FIXES[type];
|
|
19530
19656
|
ctx.warn("control-without-name", `${where} has no words: an icon, a picture without \`alt\` or nothing at all. A screen reader announces it as just "${type}", and a browser agent (Claude in Chrome) cannot tell it from the next one. ${fix}`, element.id);
|
|
19531
19657
|
};
|
|
@@ -19647,7 +19773,7 @@ var attributeText$1 = (element, key) => {
|
|
|
19647
19773
|
*/
|
|
19648
19774
|
var anchorsOfPage = (ctx, byRoot, pageId, rowAnchors) => {
|
|
19649
19775
|
const page = ctx.element(pageId);
|
|
19650
|
-
const chain = page ? t$
|
|
19776
|
+
const chain = page ? t$72((id) => ctx.element(id), attributeText$1(page, "layout"), attributeText$1(page, "layoutContainer")) : [];
|
|
19651
19777
|
const roots = /* @__PURE__ */ new Set([pageId, ...chain.map((link) => link.layout)]);
|
|
19652
19778
|
const anchors = /* @__PURE__ */ new Map();
|
|
19653
19779
|
[...roots].flatMap((root) => byRoot.get(root) ?? []).forEach((element) => {
|
|
@@ -19664,7 +19790,7 @@ var anchorsOfPage = (ctx, byRoot, pageId, rowAnchors) => {
|
|
|
19664
19790
|
/** One element's own anchor: well formed, on something that renders, and rendered once. */
|
|
19665
19791
|
var lintOwnAnchor = (ctx, element, anchor) => {
|
|
19666
19792
|
const where = ctx.describe(element.id);
|
|
19667
|
-
if (!t$
|
|
19793
|
+
if (!t$75(anchor)) ctx.error("anchor-invalid", `${where} has the anchor ${JSON.stringify(anchor)}. An anchor is the element's id in the URL (\`/page#anchor\`): ${FORMAT} — "${n$56(anchor)}".`, element.id);
|
|
19668
19794
|
if (a$2(element)) ctx.error("anchor-no-tag", `${where} has the anchor "${anchor}" but renders no element of its own (no \`subType\`), so there is nothing to scroll to. Put the anchor on the section it wraps, or give it a tag.`, element.id);
|
|
19669
19795
|
if (ctx.component) {
|
|
19670
19796
|
ctx.error("anchor-repeated", `${where} has the anchor "${anchor}", and a component renders its tree once per instance — two instances would put the same id in the page twice. Put the anchor on the element around the instance, on the page.`, element.id);
|
|
@@ -19676,7 +19802,7 @@ var lintLinkHash = (ctx, link, anchorsByPage) => {
|
|
|
19676
19802
|
const hash = attributeText$1(link, "hash");
|
|
19677
19803
|
if (!hash || attributeText$1(link, "mode") === "external") return;
|
|
19678
19804
|
const where = ctx.describe(link.id);
|
|
19679
|
-
if (!t$
|
|
19805
|
+
if (!t$75(hash)) {
|
|
19680
19806
|
ctx.error("anchor-invalid", `${where} goes to the section ${JSON.stringify(hash)}: an anchor is ${FORMAT}, written without the "#".`, link.id);
|
|
19681
19807
|
return;
|
|
19682
19808
|
}
|
|
@@ -20063,7 +20189,7 @@ var lintDisclosures = (ctx) => {
|
|
|
20063
20189
|
// src/style/properties.ts
|
|
20064
20190
|
/** Every kebab-case CSS property Plitzi's style engine understands. Values written to a definition must use these
|
|
20065
20191
|
* exact keys — camelCase or unknown keys are rejected. */
|
|
20066
|
-
var cssProperties = Array.from(new Set(Object.values(t$
|
|
20192
|
+
var cssProperties = Array.from(new Set(Object.values(t$74))).sort();
|
|
20067
20193
|
var cssPropertySet = new Set(cssProperties);
|
|
20068
20194
|
/** Whether a key is a CSS property the platform styles by — a custom property (`--x`) is none, and is written as it is. */
|
|
20069
20195
|
var isCssProperty = (key) => cssPropertySet.has(key);
|
|
@@ -22997,7 +23123,7 @@ var checkName = (ctx, name, template, where, site, scope, id) => {
|
|
|
22997
23123
|
if (site.kind === "binding" ? BINDING_NAMES.has(name) : site.kind === "attribute" && site.routeParams.includes(name)) return;
|
|
22998
23124
|
const shortPrefix = ctx.sources.get(name);
|
|
22999
23125
|
if (shortPrefix) {
|
|
23000
|
-
ctx.error("template-short-source", `${where} reads "${name}" in "${shorten$1(template)}". Inside a template a source is named in full — write "${shortPrefix}_${name}" where it says "${name}". (A binding's own \`source\` is completed for you; a template is read as written.)${shortPrefix === "list" ? " A list’s row
|
|
23126
|
+
ctx.error("template-short-source", `${where} reads "${name}" in "${shorten$1(template)}". Inside a template a source is named in full — write "${shortPrefix}_${name}" where it says "${name}". (A binding's own \`source\` is completed for you; a template is read as written.)${shortPrefix === "list" ? " A list’s row and its position are `r.item` and `r.index` — written in a template too, they are completed." : ""}`, id);
|
|
23001
23127
|
return;
|
|
23002
23128
|
}
|
|
23003
23129
|
const separator = name.indexOf("_");
|
|
@@ -24116,7 +24242,7 @@ var checkStepTemplates = (ctx, node, stepIds, where, hostId) => {
|
|
|
24116
24242
|
checkTemplate(ctx, template, `${where}: step "${node.id}"`, { kind: "step" }, /* @__PURE__ */ new Set(), hostId);
|
|
24117
24243
|
for (const [, expression = ""] of template.matchAll(/\{\{([\s\S]*?)\}\}/g)) for (const [, , root = ""] of expression.matchAll(/(^|[^\w.$-])([A-Za-z_][\w-]*)\.[A-Za-z_]/g)) {
|
|
24118
24244
|
const prefix = ctx.sources.get(root);
|
|
24119
|
-
if (prefix && !stepIds.has(root)) ctx.error("template-short-source", `${where}: step "${node.id}" reads "{{ ${expression.trim()} }}". Inside a flow a source is named in full — write "${prefix}_${root}" where it says "${root}". (A binding completes the prefix; a flow's templates are read as written.)${prefix === "list" ? " A list’s row
|
|
24245
|
+
if (prefix && !stepIds.has(root)) ctx.error("template-short-source", `${where}: step "${node.id}" reads "{{ ${expression.trim()} }}". Inside a flow a source is named in full — write "${prefix}_${root}" where it says "${root}". (A binding completes the prefix; a flow's templates are read as written.)${prefix === "list" ? " A list’s row and its position are `r.item` and `r.index` — written in a template too, they are completed." : ""}`, hostId);
|
|
24120
24246
|
}
|
|
24121
24247
|
}
|
|
24122
24248
|
};
|
|
@@ -24206,7 +24332,7 @@ var checkConditionGlobals = (ctx, node, steps, where, hostId) => {
|
|
|
24206
24332
|
}
|
|
24207
24333
|
};
|
|
24208
24334
|
/** A template's opening, `{{` or `{%`: a rule reads paths, and holds one as text. */
|
|
24209
|
-
var TEMPLATE$
|
|
24335
|
+
var TEMPLATE$3 = /\{[{%]/;
|
|
24210
24336
|
/**
|
|
24211
24337
|
* A rule written as a template. A rule reads a path — its field always, its value with `isBinding` — and a template in
|
|
24212
24338
|
* either is the text it is written as: the field names nothing, the value is compared as `{{ … }}`, and the step never
|
|
@@ -24214,8 +24340,8 @@ var TEMPLATE$2 = /\{[{%]/;
|
|
|
24214
24340
|
*/
|
|
24215
24341
|
var refuseConditionTemplate = (ctx, node, where, hostId) => {
|
|
24216
24342
|
for (const { field, value } of conditionRules(node.when)) {
|
|
24217
|
-
const inField = TEMPLATE$
|
|
24218
|
-
const inValue = typeof value === "string" && TEMPLATE$
|
|
24343
|
+
const inField = TEMPLATE$3.test(field);
|
|
24344
|
+
const inValue = typeof value === "string" && TEMPLATE$3.test(value);
|
|
24219
24345
|
if (!inField && !inValue) continue;
|
|
24220
24346
|
const path = (inField ? field : String(value)).replace(/^\s*\{[{%]\s*|\s*[}%]\}\s*$/g, "");
|
|
24221
24347
|
ctx.error("condition-template", `${where}: the condition of step "${node.id}" has a template in its ${inField ? "field" : "value"} (\`${inField ? field : String(value)}\`). A rule reads paths, never templates: the template is the text it is written as, so the rule answers the same whatever the page holds. ${inField ? `Name the path: \`field: '${path}'\`` : `Compare with another path as one: \`value: '${path}', isBinding: true\``} — or a computed value (\`computed.<name>\`) for an expression.`, hostId);
|
|
@@ -27166,7 +27292,7 @@ var textOf$2 = (value) => typeof value === "string" ? value : "";
|
|
|
27166
27292
|
var walkDrawn = (flat, pageId, initial, visit) => {
|
|
27167
27293
|
const page = flat[pageId];
|
|
27168
27294
|
if (!page) return;
|
|
27169
|
-
const shells = t$
|
|
27295
|
+
const shells = t$72((id) => flat[id], textOf$2(page.attributes.layout), textOf$2(page.attributes.layoutContainer));
|
|
27170
27296
|
const inside = /* @__PURE__ */ new Map();
|
|
27171
27297
|
shells.forEach((link, index) => inside.set(link.slot, index === 0 ? pageId : shells[index - 1].layout));
|
|
27172
27298
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -27942,13 +28068,13 @@ var LONGEST_KEPT = 80;
|
|
|
27942
28068
|
/** At least this many copies of one shape, weighing at least this much in all, before it is worth a name of its own. */
|
|
27943
28069
|
var COPIES = 8;
|
|
27944
28070
|
var BYTES = 8e3;
|
|
27945
|
-
var TEMPLATE$
|
|
28071
|
+
var TEMPLATE$2 = /\{\{|\{%/;
|
|
27946
28072
|
/** What a copy shares with the others: its numbers and its quoted words taken out. */
|
|
27947
28073
|
var shapeOf = (template) => template.replace(/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"/gu, "''").replace(/\b\d+(?:\.\d+)?\b/gu, "0").replace(/\s+/gu, " ");
|
|
27948
28074
|
/** Every text of an element that holds a template: its attributes, its bindings' transformers, its steps' params. */
|
|
27949
28075
|
var templatesOf = (value, found = []) => {
|
|
27950
28076
|
if (typeof value === "string") {
|
|
27951
|
-
if (TEMPLATE$
|
|
28077
|
+
if (TEMPLATE$2.test(value)) found.push(value);
|
|
27952
28078
|
} else if (Array.isArray(value)) for (const each of value) templatesOf(each, found);
|
|
27953
28079
|
else if (value !== null && typeof value === "object") for (const each of Object.values(value)) templatesOf(each, found);
|
|
27954
28080
|
return found;
|
|
@@ -28504,6 +28630,45 @@ var assertSpaceValid = (space, context, options = {}, allow = []) => {
|
|
|
28504
28630
|
}] : [];
|
|
28505
28631
|
}), ...result.warnings];
|
|
28506
28632
|
};
|
|
28633
|
+
// src/schema/space/rowNames.ts
|
|
28634
|
+
/** The elements that repeat their children once per item, each publishing its row under its type: `list_rows`. */
|
|
28635
|
+
var REPEATERS = /* @__PURE__ */ new Set([
|
|
28636
|
+
"list",
|
|
28637
|
+
"carousel",
|
|
28638
|
+
"table"
|
|
28639
|
+
]);
|
|
28640
|
+
var TEMPLATE$1 = /\{\{|\{%/;
|
|
28641
|
+
var escaped = (text) => text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
28642
|
+
/**
|
|
28643
|
+
* Every template of the documents reads a row by the same name a binding does: `rows.item` — `r.item` — written in a
|
|
28644
|
+
* template is completed to `list_rows.item`, as a binding's own `source` is at run time. A row had two names, one for a
|
|
28645
|
+
* binding and one for a template (`r.inTemplate.item`), and the wrong one was found only when authored (PZ-8).
|
|
28646
|
+
*
|
|
28647
|
+
* Only a repeater's own `item` and `index`, and only in text that is a template: a name that is not a list's, a carousel's
|
|
28648
|
+
* or a table's id is left as written, for the lint to say what it is. A row read outside its repeater is completed too,
|
|
28649
|
+
* and then said as out of scope.
|
|
28650
|
+
*/
|
|
28651
|
+
var completeRowNames = (flats) => {
|
|
28652
|
+
const repeaters = /* @__PURE__ */ new Map();
|
|
28653
|
+
for (const flat of flats) for (const element of Object.values(flat)) if (REPEATERS.has(element.definition.type)) repeaters.set(element.id, element.definition.type);
|
|
28654
|
+
if (repeaters.size === 0) return;
|
|
28655
|
+
const names = [...repeaters.keys()].sort((a, b) => b.length - a.length).map(escaped);
|
|
28656
|
+
const short = new RegExp(`(?<![\\w.$-])(${names.join("|")})\\.(item|index)\\b`, "g");
|
|
28657
|
+
const complete = (text) => TEMPLATE$1.test(text) ? text.replace(short, (_, id, field) => `${repeaters.get(id) ?? "list"}_${id}.${field}`) : text;
|
|
28658
|
+
const walkAny = (value) => {
|
|
28659
|
+
if (typeof value === "string") return complete(value);
|
|
28660
|
+
if (Array.isArray(value)) return value.map(walkAny);
|
|
28661
|
+
if (typeof value === "object" && value !== null) return Object.fromEntries(Object.entries(value).map(([key, inner]) => [key, walkAny(inner)]));
|
|
28662
|
+
return value;
|
|
28663
|
+
};
|
|
28664
|
+
const walk = (value) => walkAny(value);
|
|
28665
|
+
for (const flat of flats) for (const element of Object.values(flat)) {
|
|
28666
|
+
const { definition } = element;
|
|
28667
|
+
element.attributes = walk(element.attributes);
|
|
28668
|
+
if (definition.bindings !== void 0) definition.bindings = walk(definition.bindings);
|
|
28669
|
+
if (definition.interactions !== void 0) definition.interactions = walk(definition.interactions);
|
|
28670
|
+
}
|
|
28671
|
+
};
|
|
28507
28672
|
// src/schema/space/checks.ts
|
|
28508
28673
|
/**
|
|
28509
28674
|
* The flows' own shape, before they are written: a flow that has steps, and steps that are step specs. What the
|
|
@@ -28556,7 +28721,7 @@ var assertSpaceShape = (author) => {
|
|
|
28556
28721
|
for (const [name, prop] of Object.entries(component.props ?? {})) {
|
|
28557
28722
|
const problem = c$6(name);
|
|
28558
28723
|
if (problem) throw new AuthoringError("prop-name", `${where}: ${problem}.`);
|
|
28559
|
-
const types = t$
|
|
28724
|
+
const types = t$95;
|
|
28560
28725
|
const type = prop.type;
|
|
28561
28726
|
if (!types.includes(type)) throw new AuthoringError("prop-type-unknown", `${where} declares the prop "${name}" as \`${type}\`, which is no type${didYouMean(type, [...types]) || "."} A prop is one of ${types.join(", ")}: words are \`text\`.`);
|
|
28562
28727
|
}
|
|
@@ -29365,7 +29530,7 @@ var shareImageOf = (where, image) => {
|
|
|
29365
29530
|
};
|
|
29366
29531
|
/** What the page is, in Open Graph's words. */
|
|
29367
29532
|
var ogTypeOf = (where, type) => {
|
|
29368
|
-
if (!n$39(type)) throw new AuthoringError("og-type-unknown", `${where}'s seoType "${type}" is no kind Open Graph names${didYouMean(type, t$
|
|
29533
|
+
if (!n$39(type)) throw new AuthoringError("og-type-unknown", `${where}'s seoType "${type}" is no kind Open Graph names${didYouMean(type, t$54) || "."} The kinds: ${t$54.join(", ")}.`);
|
|
29369
29534
|
return type;
|
|
29370
29535
|
};
|
|
29371
29536
|
/** The page's head attributes, as the document holds them: nothing for a page that says none. */
|
|
@@ -29456,7 +29621,7 @@ var writeNotFoundWhenRefused = (author, page, id) => {
|
|
|
29456
29621
|
...element,
|
|
29457
29622
|
attributes: {
|
|
29458
29623
|
...element.attributes,
|
|
29459
|
-
unauthorizedBehaviour: t$
|
|
29624
|
+
unauthorizedBehaviour: t$71
|
|
29460
29625
|
}
|
|
29461
29626
|
});
|
|
29462
29627
|
};
|
|
@@ -29888,28 +30053,30 @@ var SpaceAuthor = class {
|
|
|
29888
30053
|
const serverResolved = [this.flatMap.flat, ...declared.map((component) => component.flat)].some((flat) => Object.values(flat).some((element) => element.definition.runtime === "server"));
|
|
29889
30054
|
const withheldPage = withheldPageId(this);
|
|
29890
30055
|
const rsc = this.spec.rsc ?? (serverResolved ? { enabled: true } : void 0);
|
|
29891
|
-
|
|
29892
|
-
|
|
29893
|
-
|
|
29894
|
-
|
|
29895
|
-
permanentUrl: this.spec.permanentUrl
|
|
29896
|
-
},
|
|
29897
|
-
flat: this.flatMap.flat,
|
|
29898
|
-
variables: this.spec.schemaVariables ?? [],
|
|
29899
|
-
...this.spec.flags ? { flags: this.spec.flags } : {},
|
|
29900
|
-
...this.spec.tests ? { tests: this.spec.tests } : {},
|
|
29901
|
-
settings: {
|
|
29902
|
-
...this.spec.settings,
|
|
29903
|
-
customCss: withKeyframesCss(withNotificationsCss(this.spec.customCss ?? "", this.spec.notifications), this.spec.keyframes),
|
|
29904
|
-
...this.spec.computed ? { computed: this.spec.computed } : {},
|
|
29905
|
-
...this.spec.channels ? { channels: this.spec.channels } : {},
|
|
29906
|
-
...withheldPage === void 0 ? {} : { withheldPage }
|
|
29907
|
-
},
|
|
29908
|
-
...rsc ? { rsc } : {},
|
|
29909
|
-
pages,
|
|
29910
|
-
pageFolders,
|
|
29911
|
-
components: Object.fromEntries(declared.map((component) => [component.id, component]))
|
|
30056
|
+
const schema = {
|
|
30057
|
+
definition: {
|
|
30058
|
+
name: this.spec.name,
|
|
30059
|
+
permanentUrl: this.spec.permanentUrl
|
|
29912
30060
|
},
|
|
30061
|
+
flat: this.flatMap.flat,
|
|
30062
|
+
variables: this.spec.schemaVariables ?? [],
|
|
30063
|
+
...this.spec.flags ? { flags: this.spec.flags } : {},
|
|
30064
|
+
...this.spec.tests ? { tests: this.spec.tests } : {},
|
|
30065
|
+
settings: {
|
|
30066
|
+
...this.spec.settings,
|
|
30067
|
+
customCss: withKeyframesCss(withNotificationsCss(this.spec.customCss ?? "", this.spec.notifications), this.spec.keyframes),
|
|
30068
|
+
...this.spec.computed ? { computed: this.spec.computed } : {},
|
|
30069
|
+
...this.spec.channels ? { channels: this.spec.channels } : {},
|
|
30070
|
+
...withheldPage === void 0 ? {} : { withheldPage }
|
|
30071
|
+
},
|
|
30072
|
+
...rsc ? { rsc } : {},
|
|
30073
|
+
pages,
|
|
30074
|
+
pageFolders,
|
|
30075
|
+
components: Object.fromEntries(declared.map((component) => [component.id, component]))
|
|
30076
|
+
};
|
|
30077
|
+
completeRowNames([schema.flat, ...declared.map((component) => component.flat)]);
|
|
30078
|
+
return {
|
|
30079
|
+
schema,
|
|
29913
30080
|
style
|
|
29914
30081
|
};
|
|
29915
30082
|
}
|
|
@@ -33131,7 +33298,7 @@ var AUTHORING_HELPERS = {
|
|
|
33131
33298
|
};
|
|
33132
33299
|
/** `motion`, an element's field: what it takes, from the presets the SDK plays. */
|
|
33133
33300
|
var MOTION_ENTRY = {
|
|
33134
|
-
signature: `motion: { enter?: ${t$
|
|
33301
|
+
signature: `motion: { enter?: ${t$52.map((name) => `'${name}'`).join(" | ")}; on?: ${n$38.map((name) => `'${name}'`).join(" | ")}; duration?; delay?; stagger?; easing?; distance?; loop?: ${r$28.map((name) => `'${name}'`).join(" | ")} }`,
|
|
33135
33302
|
summary: "How an element arrives and whether it keeps moving, played by the SDK's stylesheet and stilled for reduced motion. `on: 'view'` plays once as it comes into view; `on: 'scroll'` follows the scroll both ways. `easing` (a CSS curve) and `distance` (px, for one that travels) make it an original's, value for value.",
|
|
33136
33303
|
example: "container({ motion: { enter: 'fade-up', on: 'view', stagger: 60 }, children })"
|
|
33137
33304
|
};
|
|
@@ -35834,7 +36001,7 @@ var failureOf = (answer) => {
|
|
|
35834
36001
|
var pageElements = (schema, pageId) => {
|
|
35835
36002
|
const page = Object.hasOwn(schema.flat, pageId) ? schema.flat[pageId] : void 0;
|
|
35836
36003
|
const text = (value) => typeof value === "string" ? value : "";
|
|
35837
|
-
const shells = page ? t$
|
|
36004
|
+
const shells = page ? t$72((id) => Object.hasOwn(schema.flat, id) ? schema.flat[id] : void 0, text(page.attributes.layout), text(page.attributes.layoutContainer)).map((link) => link.layout) : [];
|
|
35838
36005
|
const roots = /* @__PURE__ */ new Set([pageId, ...shells]);
|
|
35839
36006
|
return Object.values(schema.flat).filter((element) => roots.has(element.definition.rootId));
|
|
35840
36007
|
};
|
|
@@ -35933,15 +36100,19 @@ var readDevToolsInPage = ({ state, element }) => {
|
|
|
35933
36100
|
if (typeof inspector !== "object" || inspector === null) return {
|
|
35934
36101
|
available: false,
|
|
35935
36102
|
flows: [],
|
|
36103
|
+
running: [],
|
|
35936
36104
|
serverFailures: {}
|
|
35937
36105
|
};
|
|
35938
36106
|
const isFlow = (value) => typeof value === "object" && value !== null && typeof Reflect.get(value, "trigger") === "string" && typeof Reflect.get(value, "status") === "string" && Array.isArray(Reflect.get(value, "steps"));
|
|
36107
|
+
const isRunning = (value) => typeof value === "object" && value !== null && typeof Reflect.get(value, "trigger") === "string" && typeof Reflect.get(value, "ms") === "number";
|
|
35939
36108
|
const flows = call("flows", 50);
|
|
36109
|
+
const running = call("running");
|
|
35940
36110
|
const sources = state ? call("sources") : void 0;
|
|
35941
36111
|
const failures = call("serverFailures");
|
|
35942
36112
|
return {
|
|
35943
36113
|
available: true,
|
|
35944
36114
|
flows: Array.isArray(flows) ? flows.filter(isFlow) : [],
|
|
36115
|
+
running: Array.isArray(running) ? running.filter(isRunning) : [],
|
|
35945
36116
|
serverFailures: typeof failures === "object" && failures !== null ? Object.fromEntries(Object.entries(failures).flatMap(([id, why]) => typeof why === "string" ? [[id, why]] : [])) : {},
|
|
35946
36117
|
...state ? { state: call("state") } : {},
|
|
35947
36118
|
...state && typeof sources === "object" && sources !== null ? { sources: Object.fromEntries(Object.keys(sources).map((name) => [name, Reflect.get(sources, name)])) } : {},
|
|
@@ -38827,4 +38998,4 @@ var validateSnippet = (snippet, options = {}) => validateSnippet$1(snippet, {
|
|
|
38827
38998
|
...ELEMENT_CATALOGS,
|
|
38828
38999
|
...options
|
|
38829
39000
|
});
|
|
38830
|
-
export { readDevTools as $, carouselTrack as $a, onBlur as $i, css as $n,
|
|
39001
|
+
export { readDevTools as $, carouselTrack as $a, onBlur as $i, css as $n, authorBinding as $o, SET_STATE_TYPES as $r, l$25 as $s, journeyStartWarnings as $t, withElement as A, openDialog as Aa, when as Ai, pressFailure as An, tabContainer as Ao, o$1 as Ar, elementPublishes as As, actionSpecFromEntry as At, pageDecorations as B, updateElement as Ba, carouselNext as Bi, grid as Bn, variants as Bo, instanceSelectorFor as Br, n$38 as Bs, suggestClassOverrides as Bt, stepLines as C, onPageChange as Ca, toggleState as Ci, HYDRATION_MS as Cn, pagination as Co, b as Cr, elementAttributeValues as Cs, searchScore as Ct, e2eStepProblems as D, onSubmit as Da, authorFlows as Di, hoverElement as Dn, richText as Do, g as Dr, elementLeafTypes as Ds, specToSource as Dt, unit as E, onScroll as Ea, authorFlow as Ei, fieldsOf as En, reference as Eo, f as Er, elementDefaultAttributes as Es, SPACE_FIELDS as Et, PAGE_TEXT_LIMIT as F, scrollBy as Fa, applyBuiltinCallback as Fi, STATE_PATH_PARAMS as Fn, tableColumn as Fo, v as Fr, typeCallbackDefinitions as Fs, suggestTransformer as Ft, profilePictures as G, i$13 as Ga, closeModal as Gi, isClassModifier as Gn, defaultLabel as Go, flagSpecOf as Gr, e$62 as Gs, familyOf as Gt, comparePictures as H, pluginTypesOf as Ha, carouselPlay as Hi, className as Hn, component as Ho, pathForSlug as Hr, t$52 as Hs, PAGE_SPEC_FIELDS as Ht, compareTexts as I, scrollIntoView as Ia, getGlobalCallback as Ii, tokens as In, text$1 as Io, y as Ir, typeTriggerDefinitions as Is, transformerCatalog as It, inspectDocument as J, avatar as Ja, focus as Ji, modifierClassName as Jn, inferredLinkMode as Jo, taskAction as Jr, r$56 as Js, withNotificationsCss as Jt, loadImages as K, account as Ka, declaredCallback as Ki, isClassRef as Kn, defineElement as Ko, authoringCodesTable as Kr, i$47 as Ks, pageFamily as Kt, pageTexts as L, scrollTo as La, announceOn as Li, createTw as Ln, themeToggle as Lo, digest as Lr, $ as Ls, assertSnippetValid as Lt, shortcutKey as M, publishOn as Ma, whenSucceeded as Mi, settle as Mn, tabContainerHeader as Mo, s$2 as Mr, elementSourceTypes as Ms, withNamedIds as Mt, inspectRenders as N, reloadApi as Na, whileRunning as Ni, targetId as Nn, tabContainerItem as No, t$1 as Nr, elementTriggers as Ns, BUILTIN_TRANSFORMERS as Nt, readSpaceTests as O, onThemeChange as Oa, flowStepIds as Oi, locateField as On, signInForm as Oo, l$1 as Or, elementMarks as Os, specFromSpace as Ot, summariseRenders as P, resetForm as Pa, BUILTIN_GLOBAL_CALLBACKS as Pi, targetOf$1 as Pn, table as Po, u as Pr, elementTypeNames as Ps, getTransformer as Pt, failedFlowText as Q, carousel as Qa, onApiSuccess as Qi, STYLE_STATES as Qn, activeWhen as Qo, getUtility as Qr, i$48 as Qs, e2eTestProblems as Qt, PAGE_DECORATION_LIMIT as R, setFieldValue as Ra, cancelApi as Ri, tw as Rn, timeWindow as Ro, slugify as Rr, n$36 as Rs, assertSpaceValid as Rt, parseE2eSteps as S, onMouseLeave as Sa, toggleInState as Si, FIELD as Sn, nodeHtml as So, _ as Sr, elementAncestorTypes as Ss, explanationText as St, e2e as T, onPointerDown as Ta, webHook as Ti, endlesslyMovedInPage as Tn, plitziSdk as To, d as Tr, elementCatalog as Ts, ELEMENT_FIELDS as Tt, diffPictures as U, withPluginCatalogs as Ua, carouselPrevious as Ui, classNames as Un, declaresAttribute as Uo, selectorFor as Ur, e$51 as Us, SpaceRefusedError as Ut, alignPictures as V, elementsFromManifest as Va, carouselPause as Vi, row as Vn, video as Vo, locate as Vr, r$28 as Vs, unusedDeclarations as Vt, pageRegions as W, d$6 as Wa, closeDialog as Wi, classRefs as Wn, defaultAttributes as Wo, flagGateOf as Wr, elementAttributeNames as Ws, refusalOf as Wt, onScreen as X, blockJsx as Xa, on as Xi, styles as Xn, GLOBAL_SOURCES as Xo, BUILTIN_UTILITIES as Xr, a$36 as Xs, FIXABLE_CODES as Xt, inspectPage as Y, blockHtml as Ya, fullscreen as Yi, splitClassList as Yn, COMPONENT_SOURCES as Yo, c$4 as Yr, t$93 as Ys, navOf as Yt, onScreenIfChosen as Z, button$1 as Za, onApiError as Zi, BREAKPOINTS$1 as Zn, activeOn as Zo, applyUtility as Zr, c$32 as Zs, unitTestProblems as Zt, durationMs as _, onLoad as _a, runServerAction as _i, dragElement as _n, link as _o, suggestCssProperty as _r, AUTHORING_CODES as _s, GLOBAL_CALLBACK_BUILDERS as _t, locateClasses as a, onDialogOpen as aa, r$58 as ac, authRefreshDetails as ai, playE2eStep as an, dialogContainer as ao, expandShorthand as ar, resolveSource as as, blankTemplateFiles as at, leadingTarget as b, onModalOpen as ba, share as bi, shownCopy as bn, markdown as bo, N as br, authoringCodeEntry as bs, explainList as bt, suggestSpace as c, onFlowError as ca, a$39 as cc, copyToClipboard as ci, unitReportText as cn, dropdown as co, shorthandLonghands as cr, variantFrom as cs, toPortableSource as ct, compactSvg as d, onHover as da, hostAction as di, EDGES as dn, focusGroup as do, cssNumberValue as dr, withVisibility as ds, darkScheme as dt, onChange as ea, o$37 as ec, addNotification as ei, testAccountWarnings as en, channel as eo, isRuleSetSpec as er, bindTemplate as es, readDevToolsInPage as et, e2eResultText as f, onInterval as fa, invalidateQueries as fi, parseRelation as fn, fontAwesome as fo, cssProperties as fr, actionSource as fs, importSlug as ft, MAX_WAIT_FOR_MS as g, onLeave as ga, removeState as gi, answered as gn, image as go, replacedCssProperty as gr, scope as gs, EXPLAIN_KINDS as gt, E2E_STEP_USAGE as h, onKey as ha, reachGoal as hi, sidePx as hn, heading as ho, isCustomProperty as hr, closest as hs, BUILDER_NAMES as ht, lintSpace as i, onDialogClose as ia, n$72 as ic, authLogoutEverywhere as ii, isExpectation as in, custom$1 as io, cssShorthands as ir, hiddenWhen as is, blankSpace as it, pressShortcut as j, openModal as ja, whenFailed as ji, pressOnce as jn, tabContainerBody as jo, p as jr, elementSlots as js, actionToSource as jt, singlePageSpace as k, onView as ka, named$4 as ki, locateTarget as kn, svg as ko, m as kr, elementPartTypes as ks, compareSpaces as kt, validateSnippet as l, onFlowProgress as la, i$51 as lc, cycleState as li, resolveElement as ln, dropdownPopup as lo, ambiguousShorthands as lr, visibleIf as ls, space as lt, runE2eTest as m, onJoin as ma, navigate as mi, relationHolds as mn, formControl as mo, isCssProperty as mr, twig as ms, importProbe as mt, authorSpace as n, onCountdownEnd as na, u$28 as nc, authLogin as ni, pageAt as nn, container as no, toBlocks as nr, groupBindings as ns, answerAction as nt, locateElements as o, onDialogReject as oa, s$34 as oc, cancelServerAction as oi, runUnitTest as on, disclosure as oo, expandShorthandPatch as or, scopedHint as os, catalogTemplateFiles as ot, journeyAccount as p, onInvalid as pa, moveState as pi, relationElements as pn, form as po, cssPropertyName as pr, source as ps, importedFiles as pt, unrollPage as q, apiContainer as qa, declaredTrigger as qi, isStyleDeclaration as qn, element as qo, defineAction as qr, n$71 as qs, notificationsCss as qt, fixSpace as r, onDialogAccept as ra, c$34 as rc, authLogout as ri, bridge as rn, countdown as ro, toResponsive as rr, hasVisibilityBinding as rs, CATALOG_TEMPLATE_IDENTITY as rt, planFixes as s, onFlowEnd as sa, t$95 as sc, clearState as si, runUnitTests as sn, disclosureSummary as so, expandShorthandTraced as sr, toBindingSpecs as ss, emptyTemplateFiles as st, authorSnippet as t, onClick as ta, s$32 as tc, appendState as ti, audienceAt as tn, chart as to, sameBlocks as tr, boundAttribute as ts, dataIssues as tt, validateSpace as u, onFocus as ua, o$40 as uc, delay as ui, openPage as un, embed as uo, fontUnread as ur, visibleWhen as us, space$1 as ut, e2eStepText as v, onMessage as va, runServerActionOrNotify as vi, giveValue as vn, list$1 as vo, C as vr, AUTHORING_ONLY_CODES as vs, explain as vt, unquoted as w, onPageLoad as wa, twigTemplate as wi, awaitHydration as wn, paragraph as wo, c$2 as wr, elementCallbacks as ws, searchWords as wt, parseE2eStep as x, onMouseEnter as xa, stepState as xi, valueFieldIn as xn, modalContainer as xo, P as xr, isSuggestionCode as xs, explainSearch as xt, isE2eStepWord as y, onModalClose as ya, setState as yi, hiddenAtWidth as yn, listItem as yo, M as yr, AuthoringError as ys, explainKindOf as yt, compareDecorations as z, toggleElement as za, carouselGoTo as zi, column as zn, variantItem as zo, buildHandles as zr, r$26 as zs, withoutQuieted as zt };
|