@wireweave/core 4.0.0-beta.12 → 4.0.0-beta.14
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/dist/app.cjs +51 -31
- package/dist/app.d.cts +5 -145
- package/dist/app.d.ts +5 -145
- package/dist/app.js +2 -31
- package/dist/{chunk-QOS4IC75.js → chunk-2Y3GKARZ.js} +16 -1354
- package/dist/chunk-3RWGG5EC.js +296 -342
- package/dist/chunk-4DDV6Z2X.js +389 -0
- package/dist/chunk-ETV4XYOV.cjs +4 -6
- package/dist/chunk-IMUVIIJR.cjs +317 -354
- package/dist/chunk-LA5LKIEL.cjs +396 -0
- package/dist/chunk-MD6MNOEQ.cjs +121 -142
- package/dist/chunk-NV6UV5ID.cjs +2145 -0
- package/dist/chunk-PKBMQBKP.js +1 -3
- package/dist/{chunk-7VTK6LHL.cjs → chunk-SAN6CJEE.cjs} +96 -1421
- package/dist/chunk-TQSOLTMZ.js +2132 -0
- package/dist/chunk-V3HVWC7C.js +1 -32
- package/dist/chunk-XYACLXXF.js +4 -132
- package/dist/chunk-ZPHNXJRY.cjs +158 -180
- package/dist/index-BD_4rXH-.d.cts +1031 -0
- package/dist/{index-Br7pNaf3.d.cts → index-BEnsO2kE.d.ts} +144 -2
- package/dist/{index-G906GEtg.d.cts → index-BlNYFaZd.d.cts} +2 -2
- package/dist/{index-CghCKUPx.d.ts → index-Cx4-VXVS.d.ts} +2 -2
- package/dist/{index-Da_B3eoM.d.ts → index-YSIzfhOd.d.cts} +144 -2
- package/dist/index-g9yV20xb.d.ts +1031 -0
- package/dist/index.cjs +939 -429
- package/dist/index.d.cts +16 -193
- package/dist/index.d.ts +16 -193
- package/dist/index.js +210 -396
- package/dist/interaction.cjs +26 -17
- package/dist/interaction.d.cts +2 -2
- package/dist/interaction.d.ts +2 -2
- package/dist/interaction.js +1 -17
- package/dist/parser.cjs +38 -21
- package/dist/parser.d.cts +3 -3
- package/dist/parser.d.ts +3 -3
- package/dist/parser.js +1 -21
- package/dist/renderer.cjs +124 -68
- package/dist/renderer.d.cts +4 -756
- package/dist/renderer.d.ts +4 -756
- package/dist/renderer.js +3 -68
- package/dist/spec.cjs +94 -49
- package/dist/spec.js +1 -49
- package/dist/{types-vhPCZpAW.d.cts → types-CGRi1k2N.d.cts} +1 -1
- package/dist/{types-vhPCZpAW.d.ts → types-CGRi1k2N.d.ts} +1 -1
- package/dist/{v4-types-Baz9yqAS.d.cts → v4-types-2ORUg6To.d.cts} +1 -1
- package/dist/{v4-types-Baz9yqAS.d.ts → v4-types-2ORUg6To.d.ts} +1 -1
- package/package.json +21 -23
- package/dist/chunk-4TMDPWPR.cjs +0 -196
- package/dist/chunk-5DGRIQDU.cjs +0 -842
- package/dist/chunk-JJWAFHSV.js +0 -842
- package/dist/chunk-R5WBZWBC.js +0 -196
- package/dist/chunk-WV724EAW.js +0 -0
- package/dist/chunk-XENFKHRC.cjs +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,199 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
var _chunk7VTK6LHLcjs = require('./chunk-7VTK6LHL.cjs');
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
var _chunkIMUVIIJRcjs = require('./chunk-IMUVIIJR.cjs');
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
var _chunk5DGRIQDUcjs = require('./chunk-5DGRIQDU.cjs');
|
|
37
|
-
require('./chunk-XENFKHRC.cjs');
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
var _chunkZPHNXJRYcjs = require('./chunk-ZPHNXJRY.cjs');
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
var _chunkMD6MNOEQcjs = require('./chunk-MD6MNOEQ.cjs');
|
|
191
|
-
require('./chunk-ETV4XYOV.cjs');
|
|
3
|
+
var chunkLA5LKIEL_cjs = require('./chunk-LA5LKIEL.cjs');
|
|
4
|
+
var chunkSAN6CJEE_cjs = require('./chunk-SAN6CJEE.cjs');
|
|
5
|
+
var chunkNV6UV5ID_cjs = require('./chunk-NV6UV5ID.cjs');
|
|
6
|
+
var chunkIMUVIIJR_cjs = require('./chunk-IMUVIIJR.cjs');
|
|
7
|
+
var chunkZPHNXJRY_cjs = require('./chunk-ZPHNXJRY.cjs');
|
|
8
|
+
var chunkMD6MNOEQ_cjs = require('./chunk-MD6MNOEQ.cjs');
|
|
192
9
|
|
|
193
10
|
// src/printer/values.ts
|
|
194
11
|
var IDENTIFIER_RE = /^[a-zA-Z_][a-zA-Z0-9_-]*$/;
|
|
195
12
|
var UNITS = /* @__PURE__ */ new Set(["px", "%", "em", "rem", "vh", "vw"]);
|
|
196
|
-
var CHILD_KEYWORDS = new Set(
|
|
13
|
+
var CHILD_KEYWORDS = new Set(chunkMD6MNOEQ_cjs.GRAMMAR_CHILD_KEYWORDS);
|
|
197
14
|
function printError(context, message) {
|
|
198
15
|
throw new Error(`[wf-printer] ${context}: ${message}`);
|
|
199
16
|
}
|
|
@@ -699,7 +516,7 @@ function printWireframe(doc) {
|
|
|
699
516
|
`;
|
|
700
517
|
}
|
|
701
518
|
function formatWireframeCode(source) {
|
|
702
|
-
return printWireframe(
|
|
519
|
+
return printWireframe(chunkIMUVIIJR_cjs.parse(source));
|
|
703
520
|
}
|
|
704
521
|
|
|
705
522
|
// src/validation/index.ts
|
|
@@ -774,7 +591,7 @@ function checkVariantScopes(ast, addError) {
|
|
|
774
591
|
(Array.isArray(page.variants) ? page.variants : []).filter((name) => typeof name === "string").map((name) => name.trim()).filter((name) => name.length > 0)
|
|
775
592
|
);
|
|
776
593
|
const visit = (node, path, inherited) => {
|
|
777
|
-
const scope =
|
|
594
|
+
const scope = chunkZPHNXJRY_cjs.variantScope(node);
|
|
778
595
|
let reachable = inherited;
|
|
779
596
|
if (scope !== void 0) {
|
|
780
597
|
const unknown = scope.filter((name) => !declared.has(name));
|
|
@@ -938,7 +755,7 @@ function checkComponentContracts(ast, addError) {
|
|
|
938
755
|
const child = definition.children[childIndex];
|
|
939
756
|
if (child && !inspect(child, `pages[${index}].children[${childIndex}]`)) return false;
|
|
940
757
|
}
|
|
941
|
-
for (const reference of
|
|
758
|
+
for (const reference of chunkSAN6CJEE_cjs.collectParameterReferences(definition.children)) {
|
|
942
759
|
if (parameters.has(reference.name)) continue;
|
|
943
760
|
if (!report(
|
|
944
761
|
reference.node,
|
|
@@ -1044,7 +861,7 @@ function validate(ast, options = {}) {
|
|
|
1044
861
|
}
|
|
1045
862
|
function validateNode(node, path) {
|
|
1046
863
|
const nodeType = node.type;
|
|
1047
|
-
const spec =
|
|
864
|
+
const spec = chunkMD6MNOEQ_cjs.NODE_TYPE_MAP.get(nodeType);
|
|
1048
865
|
if (!spec) {
|
|
1049
866
|
return addError({
|
|
1050
867
|
message: `Unknown component type: ${nodeType}`,
|
|
@@ -1059,7 +876,7 @@ function validate(ast, options = {}) {
|
|
|
1059
876
|
if (META_ATTRIBUTES.has(key)) continue;
|
|
1060
877
|
if (positional == null ? void 0 : positional.includes(key)) continue;
|
|
1061
878
|
if (!validAttrs.has(key)) {
|
|
1062
|
-
const isKnownAttr =
|
|
879
|
+
const isKnownAttr = chunkMD6MNOEQ_cjs.VALID_ATTRIBUTE_NAMES.has(key);
|
|
1063
880
|
const message = isKnownAttr ? `Attribute "${key}" is not valid on ${spec.name}. Valid attributes: ${spec.attributes.slice(0, 10).join(", ")}${spec.attributes.length > 10 ? "..." : ""}` : `Unknown attribute "${key}" on ${spec.name}`;
|
|
1064
881
|
const shouldContinue2 = addError({
|
|
1065
882
|
message,
|
|
@@ -1363,8 +1180,8 @@ function generateDescription(changes) {
|
|
|
1363
1180
|
|
|
1364
1181
|
// src/diff/index.ts
|
|
1365
1182
|
function diff(oldDoc, newDoc, options = {}) {
|
|
1366
|
-
const oldPages =
|
|
1367
|
-
const newPages =
|
|
1183
|
+
const oldPages = chunkZPHNXJRY_cjs.documentPages(oldDoc);
|
|
1184
|
+
const newPages = chunkZPHNXJRY_cjs.documentPages(newDoc);
|
|
1368
1185
|
const allChanges = [];
|
|
1369
1186
|
const maxPages = Math.max(oldPages.length, newPages.length);
|
|
1370
1187
|
for (let i = 0; i < maxPages; i++) {
|
|
@@ -1456,7 +1273,7 @@ function countNodes3(doc) {
|
|
|
1456
1273
|
}
|
|
1457
1274
|
}
|
|
1458
1275
|
}
|
|
1459
|
-
for (const page of
|
|
1276
|
+
for (const page of chunkZPHNXJRY_cjs.documentPages(doc)) {
|
|
1460
1277
|
walk2(page);
|
|
1461
1278
|
}
|
|
1462
1279
|
return count;
|
|
@@ -1473,7 +1290,7 @@ function getComponentTypes(doc) {
|
|
|
1473
1290
|
}
|
|
1474
1291
|
}
|
|
1475
1292
|
}
|
|
1476
|
-
for (const page of
|
|
1293
|
+
for (const page of chunkZPHNXJRY_cjs.documentPages(doc)) {
|
|
1477
1294
|
walk2(page);
|
|
1478
1295
|
}
|
|
1479
1296
|
return Array.from(types).sort();
|
|
@@ -1507,7 +1324,7 @@ function nodeToJson(node, options) {
|
|
|
1507
1324
|
}
|
|
1508
1325
|
function exportToJson(doc, options = {}) {
|
|
1509
1326
|
const pages = [];
|
|
1510
|
-
for (const page of
|
|
1327
|
+
for (const page of chunkZPHNXJRY_cjs.documentPages(doc)) {
|
|
1511
1328
|
pages.push(nodeToJson(page, options));
|
|
1512
1329
|
}
|
|
1513
1330
|
return {
|
|
@@ -1530,6 +1347,189 @@ function importFromJson(json) {
|
|
|
1530
1347
|
return json.pages;
|
|
1531
1348
|
}
|
|
1532
1349
|
|
|
1350
|
+
// src/export/v4-figma.ts
|
|
1351
|
+
function routeKey(route) {
|
|
1352
|
+
var _a;
|
|
1353
|
+
return `${route.namespace}/${route.id}/${(_a = route.variant) != null ? _a : ""}`;
|
|
1354
|
+
}
|
|
1355
|
+
function scalar(value) {
|
|
1356
|
+
if (typeof value === "string" || typeof value === "number" || typeof value === "boolean")
|
|
1357
|
+
return String(value);
|
|
1358
|
+
return "";
|
|
1359
|
+
}
|
|
1360
|
+
function validateProfile(profile) {
|
|
1361
|
+
if (profile === null || typeof profile !== "object") return null;
|
|
1362
|
+
const value = profile;
|
|
1363
|
+
if (value.id !== "wireweave-figma-mapping-v1" || value.target !== "figma-plugin-json-v1")
|
|
1364
|
+
return null;
|
|
1365
|
+
const screens = value.screens === void 0 ? "selected" : value.screens;
|
|
1366
|
+
if (screens !== "selected" && screens !== "all") return null;
|
|
1367
|
+
const board = value.board;
|
|
1368
|
+
if (board !== void 0 && (board === null || typeof board !== "object" || typeof board.namespace !== "string" || typeof board.id !== "string" || board.variant !== void 0 && typeof board.variant !== "string"))
|
|
1369
|
+
return null;
|
|
1370
|
+
return {
|
|
1371
|
+
id: "wireweave-figma-mapping-v1",
|
|
1372
|
+
target: "figma-plugin-json-v1",
|
|
1373
|
+
...board === void 0 ? {} : { board },
|
|
1374
|
+
screens
|
|
1375
|
+
};
|
|
1376
|
+
}
|
|
1377
|
+
function figmaType(kind) {
|
|
1378
|
+
if (["text", "title", "link", "badge", "marker"].includes(kind)) return "TEXT";
|
|
1379
|
+
if (["image", "placeholder", "divider", "icon", "avatar"].includes(kind)) return "RECTANGLE";
|
|
1380
|
+
return "FRAME";
|
|
1381
|
+
}
|
|
1382
|
+
function metadata(source) {
|
|
1383
|
+
return {
|
|
1384
|
+
identity: source.identity,
|
|
1385
|
+
moduleId: source.moduleId,
|
|
1386
|
+
source: source.source,
|
|
1387
|
+
invocationSources: source.invocationSources,
|
|
1388
|
+
requirementRefs: source.requirementRefs,
|
|
1389
|
+
obligationRefs: source.obligationRefs,
|
|
1390
|
+
operationIds: source.operationIds
|
|
1391
|
+
};
|
|
1392
|
+
}
|
|
1393
|
+
function semanticId(renderedId) {
|
|
1394
|
+
return `wf-${chunkIMUVIIJR_cjs.digestV4(renderedId).slice("sha256:".length)}`;
|
|
1395
|
+
}
|
|
1396
|
+
function nodeLabel(node) {
|
|
1397
|
+
var _a, _b;
|
|
1398
|
+
return scalar((_b = (_a = node.node.label) != null ? _a : node.node.attributes.label) != null ? _b : node.node.attributes.aria) || node.node.kind;
|
|
1399
|
+
}
|
|
1400
|
+
function nodeToFigma(node, sources, mappings) {
|
|
1401
|
+
const source = sources.get(node.renderedId);
|
|
1402
|
+
if (source === void 0) throw new TypeError(`Missing linked source map for ${node.renderedId}`);
|
|
1403
|
+
const id = semanticId(node.renderedId);
|
|
1404
|
+
mappings.push({ renderedId: node.renderedId, figmaId: id, identity: source.identity, source });
|
|
1405
|
+
const type = figmaType(node.node.kind);
|
|
1406
|
+
const attributes = node.node.attributes;
|
|
1407
|
+
const result = {
|
|
1408
|
+
id,
|
|
1409
|
+
name: nodeLabel(node),
|
|
1410
|
+
type,
|
|
1411
|
+
visible: true,
|
|
1412
|
+
wireweaveType: node.node.kind,
|
|
1413
|
+
wireweaveMetadata: metadata(source),
|
|
1414
|
+
...Object.keys(attributes).length === 0 ? {} : { wireweaveAttributes: attributes }
|
|
1415
|
+
};
|
|
1416
|
+
if (type === "TEXT") {
|
|
1417
|
+
result.textStyle = {
|
|
1418
|
+
fontSize: 16,
|
|
1419
|
+
fontWeight: node.node.kind === "title" ? 600 : 400,
|
|
1420
|
+
textAlignHorizontal: "LEFT",
|
|
1421
|
+
characters: nodeLabel(node)
|
|
1422
|
+
};
|
|
1423
|
+
} else if (type === "RECTANGLE") {
|
|
1424
|
+
result.size = { width: 200, height: node.node.kind === "divider" ? 1 : 120 };
|
|
1425
|
+
result.fills = [{ type: "SOLID", color: { r: 0.96, g: 0.96, b: 0.96, a: 1 } }];
|
|
1426
|
+
} else {
|
|
1427
|
+
result.autoLayout = {
|
|
1428
|
+
layoutMode: node.node.kind === "row" ? "HORIZONTAL" : "VERTICAL",
|
|
1429
|
+
layoutSizingHorizontal: "FILL",
|
|
1430
|
+
layoutSizingVertical: "HUG",
|
|
1431
|
+
primaryAxisAlignItems: "MIN",
|
|
1432
|
+
counterAxisAlignItems: "STRETCH",
|
|
1433
|
+
paddingTop: 8,
|
|
1434
|
+
paddingRight: 8,
|
|
1435
|
+
paddingBottom: 8,
|
|
1436
|
+
paddingLeft: 8,
|
|
1437
|
+
itemSpacing: 8,
|
|
1438
|
+
layoutWrap: "NO_WRAP"
|
|
1439
|
+
};
|
|
1440
|
+
result.size = { width: 1440, height: 1 };
|
|
1441
|
+
}
|
|
1442
|
+
if (node.children.length > 0)
|
|
1443
|
+
result.children = node.children.map((child) => nodeToFigma(child, sources, mappings));
|
|
1444
|
+
return result;
|
|
1445
|
+
}
|
|
1446
|
+
function screenRoots(data, screen) {
|
|
1447
|
+
var _a;
|
|
1448
|
+
const shell = screen.shell === void 0 ? void 0 : data.shells.find((item) => item.owner.key === screen.shell);
|
|
1449
|
+
return [...(_a = shell == null ? void 0 : shell.children) != null ? _a : [], ...screen.children];
|
|
1450
|
+
}
|
|
1451
|
+
function interactionLosses(sources) {
|
|
1452
|
+
return sources.flatMap(
|
|
1453
|
+
(source) => source.operationIds.map((operationId) => ({
|
|
1454
|
+
code: "WW_EXPORT_FIGMA_INTERACTION",
|
|
1455
|
+
kind: "interaction",
|
|
1456
|
+
message: "Figma mapping preserves operation identity but cannot execute runtime semantics.",
|
|
1457
|
+
renderedId: source.renderedId,
|
|
1458
|
+
operationId,
|
|
1459
|
+
source,
|
|
1460
|
+
details: { target: "figma-plugin-json-v1" }
|
|
1461
|
+
}))
|
|
1462
|
+
);
|
|
1463
|
+
}
|
|
1464
|
+
function exportLinkedAppToFigma(linked, profile) {
|
|
1465
|
+
var _a;
|
|
1466
|
+
const data = chunkNV6UV5ID_cjs.getLinkedAppData(linked);
|
|
1467
|
+
if (data === void 0)
|
|
1468
|
+
return chunkNV6UV5ID_cjs.failed([chunkNV6UV5ID_cjs.diagnostic("WW_SCHEMA", "app.untrusted-linked-model", void 0, {}, "compile")]);
|
|
1469
|
+
const valid = validateProfile(profile);
|
|
1470
|
+
if (valid === null)
|
|
1471
|
+
return chunkNV6UV5ID_cjs.failed([
|
|
1472
|
+
chunkNV6UV5ID_cjs.diagnostic("WW_EXPORT_PROFILE", "export.invalid-figma-profile", void 0, {}, "compile")
|
|
1473
|
+
]);
|
|
1474
|
+
const screens = data.screens.slice().sort((a, b) => routeKey(a.route).localeCompare(routeKey(b.route)));
|
|
1475
|
+
const target = (_a = valid.board) != null ? _a : data.bundle.entry;
|
|
1476
|
+
const selected = valid.screens === "all" ? screens : screens.filter((screen) => routeKey(screen.route) === routeKey(target));
|
|
1477
|
+
if (selected.length === 0)
|
|
1478
|
+
return chunkNV6UV5ID_cjs.failed([
|
|
1479
|
+
chunkNV6UV5ID_cjs.diagnostic("WW_EXPORT_BOARD", "export.board-not-found", void 0, {}, "compile")
|
|
1480
|
+
]);
|
|
1481
|
+
const renderedIds = /* @__PURE__ */ new Set();
|
|
1482
|
+
for (const screen of selected) {
|
|
1483
|
+
const pending = screenRoots(data, screen);
|
|
1484
|
+
while (pending.length > 0) {
|
|
1485
|
+
const node = pending.shift();
|
|
1486
|
+
renderedIds.add(node.renderedId);
|
|
1487
|
+
pending.unshift(...node.children);
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
const sourceMap = data.sourceMap.filter((entry) => renderedIds.has(entry.renderedId)).slice().sort((a, b) => a.renderedId.localeCompare(b.renderedId));
|
|
1491
|
+
const sourceById = new Map(sourceMap.map((entry) => [entry.renderedId, entry]));
|
|
1492
|
+
const mappings = [];
|
|
1493
|
+
const document = {
|
|
1494
|
+
id: `document-${chunkIMUVIIJR_cjs.digestV4(linked.digest).slice("sha256:".length)}`,
|
|
1495
|
+
name: data.bundle.id,
|
|
1496
|
+
type: "DOCUMENT",
|
|
1497
|
+
visible: true,
|
|
1498
|
+
children: selected.map((screen) => ({
|
|
1499
|
+
id: `canvas-${chunkIMUVIIJR_cjs.digestV4(routeKey(screen.route)).slice("sha256:".length)}`,
|
|
1500
|
+
name: routeKey(screen.route),
|
|
1501
|
+
type: "CANVAS",
|
|
1502
|
+
visible: true,
|
|
1503
|
+
children: screenRoots(data, screen).map((node) => nodeToFigma(node, sourceById, mappings))
|
|
1504
|
+
}))
|
|
1505
|
+
};
|
|
1506
|
+
mappings.sort((a, b) => a.renderedId.localeCompare(b.renderedId));
|
|
1507
|
+
const lossReport = interactionLosses(sourceMap);
|
|
1508
|
+
const diagnostics = lossReport.length ? [
|
|
1509
|
+
{
|
|
1510
|
+
severity: "warning",
|
|
1511
|
+
code: "WW_EXPORT_FIGMA_INTERACTION",
|
|
1512
|
+
message: "Runtime operations are preserved as metadata and recorded in lossReport.",
|
|
1513
|
+
details: { count: lossReport.length }
|
|
1514
|
+
}
|
|
1515
|
+
] : [];
|
|
1516
|
+
const artifact = chunkNV6UV5ID_cjs.freeze({
|
|
1517
|
+
kind: "FigmaMappingArtifact",
|
|
1518
|
+
version: "4.0.0",
|
|
1519
|
+
format: "figma",
|
|
1520
|
+
target: valid.target,
|
|
1521
|
+
appId: data.bundle.id,
|
|
1522
|
+
linkedDigest: linked.digest,
|
|
1523
|
+
profileDigest: chunkIMUVIIJR_cjs.digestV4(chunkNV6UV5ID_cjs.jcs(valid)),
|
|
1524
|
+
document,
|
|
1525
|
+
mappings,
|
|
1526
|
+
sourceMap,
|
|
1527
|
+
lossReport,
|
|
1528
|
+
diagnostics
|
|
1529
|
+
});
|
|
1530
|
+
return { ok: true, value: artifact, diagnostics: [] };
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
1533
|
// src/export/figma.ts
|
|
1534
1534
|
var SPACING_SCALE = {
|
|
1535
1535
|
0: 0,
|
|
@@ -1753,13 +1753,13 @@ function extractStrokes(node) {
|
|
|
1753
1753
|
strokeWeight: 1
|
|
1754
1754
|
};
|
|
1755
1755
|
}
|
|
1756
|
-
function
|
|
1757
|
-
const
|
|
1756
|
+
function nodeToFigma2(node) {
|
|
1757
|
+
const figmaType2 = mapToFigmaType(node.type);
|
|
1758
1758
|
const content = getNodeContent(node);
|
|
1759
1759
|
const figmaNode = {
|
|
1760
1760
|
id: generateFigmaId(),
|
|
1761
1761
|
name: content || node.type,
|
|
1762
|
-
type:
|
|
1762
|
+
type: figmaType2,
|
|
1763
1763
|
visible: true,
|
|
1764
1764
|
wireweaveType: node.type.toLowerCase()
|
|
1765
1765
|
};
|
|
@@ -1767,7 +1767,7 @@ function nodeToFigma(node) {
|
|
|
1767
1767
|
if (Object.keys(attrs).length > 0) {
|
|
1768
1768
|
figmaNode.wireweaveAttributes = attrs;
|
|
1769
1769
|
}
|
|
1770
|
-
if (
|
|
1770
|
+
if (figmaType2 === "FRAME") {
|
|
1771
1771
|
figmaNode.autoLayout = extractAutoLayout(node);
|
|
1772
1772
|
figmaNode.size = extractSize(node);
|
|
1773
1773
|
const fills = extractFills(node);
|
|
@@ -1780,12 +1780,12 @@ function nodeToFigma(node) {
|
|
|
1780
1780
|
if (node.type.toLowerCase() === "card") {
|
|
1781
1781
|
figmaNode.cornerRadius = 8;
|
|
1782
1782
|
}
|
|
1783
|
-
} else if (
|
|
1783
|
+
} else if (figmaType2 === "TEXT") {
|
|
1784
1784
|
figmaNode.textStyle = extractTextStyle(node);
|
|
1785
1785
|
if (getAttr(node, "muted")) {
|
|
1786
1786
|
figmaNode.fills = [{ type: "SOLID", color: COLORS.textMuted }];
|
|
1787
1787
|
}
|
|
1788
|
-
} else if (
|
|
1788
|
+
} else if (figmaType2 === "RECTANGLE") {
|
|
1789
1789
|
figmaNode.size = extractSize(node, 200, 150);
|
|
1790
1790
|
const fills = extractFills(node);
|
|
1791
1791
|
if (fills) {
|
|
@@ -1798,7 +1798,7 @@ function nodeToFigma(node) {
|
|
|
1798
1798
|
const children = [];
|
|
1799
1799
|
for (const child of node.children) {
|
|
1800
1800
|
if (child && typeof child === "object" && "type" in child) {
|
|
1801
|
-
children.push(
|
|
1801
|
+
children.push(nodeToFigma2(child));
|
|
1802
1802
|
}
|
|
1803
1803
|
}
|
|
1804
1804
|
if (children.length > 0) {
|
|
@@ -1807,7 +1807,10 @@ function nodeToFigma(node) {
|
|
|
1807
1807
|
}
|
|
1808
1808
|
return figmaNode;
|
|
1809
1809
|
}
|
|
1810
|
-
function exportToFigma(doc) {
|
|
1810
|
+
function exportToFigma(doc, profile) {
|
|
1811
|
+
if ("kind" in doc && doc.kind === "LinkedApp")
|
|
1812
|
+
return exportLinkedAppToFigma(doc, profile);
|
|
1813
|
+
const legacyDocument = doc;
|
|
1811
1814
|
resetFigmaIdCounter();
|
|
1812
1815
|
const documentNode = {
|
|
1813
1816
|
id: generateFigmaId(),
|
|
@@ -1816,12 +1819,11 @@ function exportToFigma(doc) {
|
|
|
1816
1819
|
visible: true,
|
|
1817
1820
|
children: []
|
|
1818
1821
|
};
|
|
1819
|
-
for (const page of
|
|
1820
|
-
;
|
|
1821
|
-
documentNode.children.push(nodeToFigma(page));
|
|
1822
|
+
for (const page of chunkZPHNXJRY_cjs.documentPages(legacyDocument)) {
|
|
1823
|
+
documentNode.children.push(nodeToFigma2(page));
|
|
1822
1824
|
}
|
|
1823
1825
|
const componentMappings = {};
|
|
1824
|
-
const types = getComponentTypes(
|
|
1826
|
+
const types = getComponentTypes(legacyDocument);
|
|
1825
1827
|
for (const type of types) {
|
|
1826
1828
|
componentMappings[type] = mapToFigmaType(type);
|
|
1827
1829
|
}
|
|
@@ -1839,7 +1841,7 @@ function exportToFigmaString(doc, prettyPrint = true) {
|
|
|
1839
1841
|
|
|
1840
1842
|
// src/analyze/utils.ts
|
|
1841
1843
|
function collectNodes(doc, nodes) {
|
|
1842
|
-
for (const page of
|
|
1844
|
+
for (const page of chunkZPHNXJRY_cjs.documentPages(doc)) {
|
|
1843
1845
|
collectNodeRecursive(page, nodes);
|
|
1844
1846
|
}
|
|
1845
1847
|
}
|
|
@@ -1869,7 +1871,7 @@ function calculateTreeMetrics(doc, allNodes) {
|
|
|
1869
1871
|
let totalDepth = 0;
|
|
1870
1872
|
let leafNodes = 0;
|
|
1871
1873
|
let containerNodes = 0;
|
|
1872
|
-
for (const page of
|
|
1874
|
+
for (const page of chunkZPHNXJRY_cjs.documentPages(doc)) {
|
|
1873
1875
|
calculateDepthRecursive(page, 1, (depth, hasChildren2) => {
|
|
1874
1876
|
totalDepth += depth;
|
|
1875
1877
|
if (depth > maxDepth) maxDepth = depth;
|
|
@@ -2258,7 +2260,7 @@ function normaliseOptions(options) {
|
|
|
2258
2260
|
}
|
|
2259
2261
|
function toInput(node) {
|
|
2260
2262
|
const input = { nodeType: node.type };
|
|
2261
|
-
const label =
|
|
2263
|
+
const label = chunkZPHNXJRY_cjs.getLabel(node);
|
|
2262
2264
|
if (label !== void 0) input.label = label;
|
|
2263
2265
|
if (node.type === "Input" && typeof node.inputType === "string") {
|
|
2264
2266
|
input.inputType = node.inputType;
|
|
@@ -2281,20 +2283,20 @@ function extractScreenFields(page) {
|
|
|
2281
2283
|
let hasNavigation = false;
|
|
2282
2284
|
let hasOverlay = false;
|
|
2283
2285
|
for (const child of page.children) {
|
|
2284
|
-
|
|
2285
|
-
const category =
|
|
2286
|
+
chunkZPHNXJRY_cjs.walk(child, (node) => {
|
|
2287
|
+
const category = chunkZPHNXJRY_cjs.categoryOf(node);
|
|
2286
2288
|
if (category === void 0) return;
|
|
2287
2289
|
byCategory[category] += 1;
|
|
2288
2290
|
if (category === "navigation") hasNavigation = true;
|
|
2289
2291
|
if (OVERLAY_TYPES.has(node.type)) hasOverlay = true;
|
|
2290
|
-
const label =
|
|
2291
|
-
const content =
|
|
2292
|
+
const label = chunkZPHNXJRY_cjs.getLabel(node);
|
|
2293
|
+
const content = chunkZPHNXJRY_cjs.getContent(node);
|
|
2292
2294
|
const element = { nodeType: node.type, category };
|
|
2293
2295
|
if (label !== void 0) element.label = label;
|
|
2294
2296
|
if (content !== void 0) element.content = content;
|
|
2295
2297
|
if (node.loc) element.loc = node.loc;
|
|
2296
2298
|
elements.push(element);
|
|
2297
|
-
if (
|
|
2299
|
+
if (chunkZPHNXJRY_cjs.isInputComponentNode(node)) {
|
|
2298
2300
|
inputs.push(toInput(node));
|
|
2299
2301
|
}
|
|
2300
2302
|
if (DISPLAY_CATEGORIES.has(category)) {
|
|
@@ -2304,14 +2306,14 @@ function extractScreenFields(page) {
|
|
|
2304
2306
|
if (node.loc) display.loc = node.loc;
|
|
2305
2307
|
displayData.push(display);
|
|
2306
2308
|
}
|
|
2307
|
-
const interactiveLabel =
|
|
2308
|
-
for (const { kind, target } of
|
|
2309
|
+
const interactiveLabel = chunkZPHNXJRY_cjs.getInteractiveLabel(node);
|
|
2310
|
+
for (const { kind, target } of chunkZPHNXJRY_cjs.getInteractions(node)) {
|
|
2309
2311
|
const action = { nodeType: node.type, kind, target };
|
|
2310
2312
|
if (interactiveLabel !== void 0) action.label = interactiveLabel;
|
|
2311
2313
|
if (node.loc) action.loc = node.loc;
|
|
2312
2314
|
actions.push(action);
|
|
2313
2315
|
}
|
|
2314
|
-
for (const item of
|
|
2316
|
+
for (const item of chunkZPHNXJRY_cjs.getItemInteractions(node)) {
|
|
2315
2317
|
const action = {
|
|
2316
2318
|
nodeType: item.container,
|
|
2317
2319
|
kind: item.kind,
|
|
@@ -2342,7 +2344,7 @@ function extractScreenFields(page) {
|
|
|
2342
2344
|
return fields;
|
|
2343
2345
|
}
|
|
2344
2346
|
function extractAllScreenFields(doc) {
|
|
2345
|
-
return
|
|
2347
|
+
return chunkZPHNXJRY_cjs.documentPages(doc).map((page) => extractScreenFields(page));
|
|
2346
2348
|
}
|
|
2347
2349
|
|
|
2348
2350
|
// src/extract/transitions.ts
|
|
@@ -2357,7 +2359,7 @@ function collectOverlayIds(page) {
|
|
|
2357
2359
|
function collectOverlayIdsFrom(children) {
|
|
2358
2360
|
const ids = /* @__PURE__ */ new Set();
|
|
2359
2361
|
for (const child of children) {
|
|
2360
|
-
|
|
2362
|
+
chunkZPHNXJRY_cjs.walk(child, (node) => {
|
|
2361
2363
|
if (node.type === "Modal" || node.type === "Drawer") {
|
|
2362
2364
|
const id = node.id;
|
|
2363
2365
|
if (typeof id === "string" && id.length > 0) ids.add(id);
|
|
@@ -2377,7 +2379,7 @@ function resolveEdge(from, kind, target, trigger, idToIndex, titleToIndex, overl
|
|
|
2377
2379
|
edge.resolved = true;
|
|
2378
2380
|
return { edge, isDangling: false };
|
|
2379
2381
|
}
|
|
2380
|
-
if (
|
|
2382
|
+
if (chunkZPHNXJRY_cjs.isUrlTarget(target)) {
|
|
2381
2383
|
edge.external = true;
|
|
2382
2384
|
edge.resolved = true;
|
|
2383
2385
|
return { edge, isDangling: false };
|
|
@@ -2391,7 +2393,7 @@ function resolveEdge(from, kind, target, trigger, idToIndex, titleToIndex, overl
|
|
|
2391
2393
|
}
|
|
2392
2394
|
function extractScreenTransitions(doc) {
|
|
2393
2395
|
var _a;
|
|
2394
|
-
const pages =
|
|
2396
|
+
const pages = chunkZPHNXJRY_cjs.documentPages(doc);
|
|
2395
2397
|
const screens = pages.map((page, index) => {
|
|
2396
2398
|
const screen = { index };
|
|
2397
2399
|
const id = pageId(page);
|
|
@@ -2413,7 +2415,7 @@ function extractScreenTransitions(doc) {
|
|
|
2413
2415
|
const edges = [];
|
|
2414
2416
|
const dangling = [];
|
|
2415
2417
|
const external = [];
|
|
2416
|
-
const site =
|
|
2418
|
+
const site = chunkZPHNXJRY_cjs.buildSiteModel(doc);
|
|
2417
2419
|
const shellLayouts = new Map(site.shells.map((shell) => [shell.name, shell.layout]));
|
|
2418
2420
|
const overlayIds = pages.map((page, pageIndex) => {
|
|
2419
2421
|
var _a2;
|
|
@@ -2425,7 +2427,7 @@ function extractScreenTransitions(doc) {
|
|
|
2425
2427
|
}
|
|
2426
2428
|
return ids;
|
|
2427
2429
|
});
|
|
2428
|
-
const normalized =
|
|
2430
|
+
const normalized = chunkZPHNXJRY_cjs.collectInteractions(doc);
|
|
2429
2431
|
for (const interaction of normalized.interactions) {
|
|
2430
2432
|
const page = pages[interaction.screenIndex];
|
|
2431
2433
|
if (page === void 0) continue;
|
|
@@ -2497,7 +2499,7 @@ function pageDescriptor(pageIndex, page) {
|
|
|
2497
2499
|
// src/extract/dom-map.ts
|
|
2498
2500
|
function buildAnchorIndex(doc, pageIndexBase = 0) {
|
|
2499
2501
|
const index = /* @__PURE__ */ new Map();
|
|
2500
|
-
|
|
2502
|
+
chunkZPHNXJRY_cjs.walkAnchorPaths(
|
|
2501
2503
|
doc,
|
|
2502
2504
|
(node, path) => {
|
|
2503
2505
|
const entry = { path, node };
|
|
@@ -2509,14 +2511,14 @@ function buildAnchorIndex(doc, pageIndexBase = 0) {
|
|
|
2509
2511
|
return index;
|
|
2510
2512
|
}
|
|
2511
2513
|
function resolveAnchor(doc, path, pageIndexBase = 0) {
|
|
2512
|
-
return
|
|
2514
|
+
return chunkZPHNXJRY_cjs.resolveAnchorPath(doc, path, pageIndexBase);
|
|
2513
2515
|
}
|
|
2514
2516
|
function sliceSource(source, loc) {
|
|
2515
2517
|
const text = source.slice(loc.start.offset, loc.end.offset);
|
|
2516
2518
|
return { text, trimmed: text.trim(), loc };
|
|
2517
2519
|
}
|
|
2518
2520
|
function getPageSource(source, doc, pageIndex) {
|
|
2519
|
-
const page =
|
|
2521
|
+
const page = chunkZPHNXJRY_cjs.documentPages(doc)[pageIndex];
|
|
2520
2522
|
if (!(page == null ? void 0 : page.loc)) return void 0;
|
|
2521
2523
|
return sliceSource(source, page.loc);
|
|
2522
2524
|
}
|
|
@@ -2526,210 +2528,718 @@ function getNodeSource(source, doc, path, pageIndexBase = 0) {
|
|
|
2526
2528
|
return sliceSource(source, node.loc);
|
|
2527
2529
|
}
|
|
2528
2530
|
function buildDomTree(doc, pageIndexBase = 0) {
|
|
2529
|
-
return
|
|
2531
|
+
return chunkZPHNXJRY_cjs.documentPages(doc).map((page, i) => buildDomTreeNode(page, String(pageIndexBase + i)));
|
|
2530
2532
|
}
|
|
2531
2533
|
function buildDomTreeNode(node, path) {
|
|
2532
2534
|
const treeNode = {
|
|
2533
2535
|
path,
|
|
2534
2536
|
nodeType: node.type,
|
|
2535
|
-
children:
|
|
2537
|
+
children: chunkZPHNXJRY_cjs.anchorChildNodes(node).map((child, i) => buildDomTreeNode(child, `${path}.${i}`))
|
|
2536
2538
|
};
|
|
2537
|
-
const category =
|
|
2539
|
+
const category = chunkZPHNXJRY_cjs.categoryOf(node);
|
|
2538
2540
|
if (category) treeNode.category = category;
|
|
2539
|
-
const label =
|
|
2541
|
+
const label = chunkZPHNXJRY_cjs.getLabel(node);
|
|
2540
2542
|
if (label !== void 0) treeNode.label = label;
|
|
2541
2543
|
return treeNode;
|
|
2542
2544
|
}
|
|
2543
2545
|
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
exports.ANCHOR_LOC_ATTR = _chunkZPHNXJRYcjs.ANCHOR_LOC_ATTR; exports.ANCHOR_PATH_ATTR = _chunkZPHNXJRYcjs.ANCHOR_PATH_ATTR; exports.ATTRIBUTE_MAP = _chunkMD6MNOEQcjs.ATTRIBUTE_MAP; exports.ATTRIBUTE_OVERRIDES = _chunkMD6MNOEQcjs.ATTRIBUTE_OVERRIDES; exports.ATTRIBUTE_SPECS = _chunkMD6MNOEQcjs.ATTRIBUTE_SPECS; exports.BLOCK_NODE_SPECS = _chunkMD6MNOEQcjs.BLOCK_NODE_SPECS; exports.BOX_ATTRIBUTES = _chunkMD6MNOEQcjs.BOX_ATTRIBUTES; exports.COMPONENT_MAP = _chunkMD6MNOEQcjs.COMPONENT_MAP; exports.COMPONENT_NAMES = _chunkMD6MNOEQcjs.COMPONENT_NAMES; exports.COMPONENT_SPECS = _chunkMD6MNOEQcjs.COMPONENT_SPECS; exports.COMPONENT_SPEC_BY_NAME = _chunkMD6MNOEQcjs.COMPONENT_SPEC_BY_NAME; exports.CONTAINER_ATTRIBUTES = _chunkMD6MNOEQcjs.CONTAINER_ATTRIBUTES; exports.DEFAULT_VIEWPORT = _chunkMD6MNOEQcjs.DEFAULT_VIEWPORT; exports.DEVICE_PRESETS = _chunkMD6MNOEQcjs.DEVICE_PRESETS; exports.ELEMENT_NODE_TYPE_MAP = _chunkMD6MNOEQcjs.ELEMENT_NODE_TYPE_MAP; exports.ENABLED_GUARD_ATTR = _chunkZPHNXJRYcjs.ENABLED_GUARD_ATTR; exports.EXTERNAL_NAVIGATE_ATTR = _chunkZPHNXJRYcjs.EXTERNAL_NAVIGATE_ATTR; exports.GRAMMAR_BLOCK_NODE_TYPES = _chunkMD6MNOEQcjs.GRAMMAR_BLOCK_NODE_TYPES; exports.GRAMMAR_CHILD_KEYWORDS = _chunkMD6MNOEQcjs.GRAMMAR_CHILD_KEYWORDS; exports.GRAMMAR_ELEMENTS = _chunkMD6MNOEQcjs.GRAMMAR_ELEMENTS; exports.HtmlRenderer = _chunkZPHNXJRYcjs.HtmlRenderer; exports.INERT_HREF = _chunkZPHNXJRYcjs.INERT_HREF; exports.INTERACTIVE_ATTRIBUTES = _chunkMD6MNOEQcjs.INTERACTIVE_ATTRIBUTES; exports.INTERACTIVE_ATTR_NAMES = _chunkZPHNXJRYcjs.INTERACTIVE_ATTR_NAMES; exports.LUCIDE_ICON_NAMES = _chunkMD6MNOEQcjs.LUCIDE_ICON_NAMES; exports.NODE_TYPE_MAP = _chunkMD6MNOEQcjs.NODE_TYPE_MAP; exports.REPEAT_EXPANSION_BUDGET = _chunkZPHNXJRYcjs.REPEAT_EXPANSION_BUDGET; exports.RepeatBudgetError = _chunkZPHNXJRYcjs.RepeatBudgetError; exports.TYPED_INTERACTION_ATTR = _chunkZPHNXJRYcjs.TYPED_INTERACTION_ATTR; exports.V4ParseError = _chunkIMUVIIJRcjs.V4ParseError; exports.VALID_ATTRIBUTE_NAMES = _chunkMD6MNOEQcjs.VALID_ATTRIBUTE_NAMES; exports.VALID_COMPONENT_NAMES = _chunkMD6MNOEQcjs.VALID_COMPONENT_NAMES; exports.VISIBLE_GUARD_ATTR = _chunkZPHNXJRYcjs.VISIBLE_GUARD_ATTR; exports.advanceClock = _chunk7VTK6LHLcjs.advanceClock; exports.analyze = analyze; exports.anchorIntent = _chunkZPHNXJRYcjs.anchorIntent; exports.areIdentical = areIdentical; exports.attributeFor = _chunkMD6MNOEQcjs.attributeFor; exports.buildAnchorIndex = buildAnchorIndex; exports.buildDomTree = buildDomTree; exports.buildSiteModel = _chunkZPHNXJRYcjs.buildSiteModel; exports.calculateViewportScale = _chunkMD6MNOEQcjs.calculateViewportScale; exports.cloneNode = _chunkZPHNXJRYcjs.cloneNode; exports.collectInteractions = _chunkZPHNXJRYcjs.collectInteractions; exports.collectParameterReferences = _chunk7VTK6LHLcjs.collectParameterReferences; exports.compileApp = _chunk7VTK6LHLcjs.compileApp; exports.contains = _chunkZPHNXJRYcjs.contains; exports.countNodes = _chunkZPHNXJRYcjs.countNodes; exports.createAppBundle = _chunk7VTK6LHLcjs.createAppBundle; exports.createAppComponentInstanceId = _chunk7VTK6LHLcjs.createAppComponentInstanceId; exports.createAppNodeId = _chunk7VTK6LHLcjs.createAppNodeId; exports.createHtmlRenderer = _chunkZPHNXJRYcjs.createHtmlRenderer; exports.createRuntime = _chunk7VTK6LHLcjs.createRuntime; exports.darkTheme = _chunkZPHNXJRYcjs.darkTheme; exports.defaultTheme = _chunkZPHNXJRYcjs.defaultTheme; exports.diff = diff; exports.documentDefinitions = _chunkZPHNXJRYcjs.documentDefinitions; exports.documentPages = _chunkZPHNXJRYcjs.documentPages; exports.expandRepeats = _chunkZPHNXJRYcjs.expandRepeats; exports.expandVariants = _chunk5DGRIQDUcjs.expandVariants; exports.exportToFigma = exportToFigma; exports.exportToFigmaString = exportToFigmaString; exports.exportToJson = exportToJson; exports.exportToJsonString = exportToJsonString; exports.extractAllScreenFields = extractAllScreenFields; exports.extractScreenFields = extractScreenFields; exports.extractScreenTransitions = extractScreenTransitions; exports.filterUnscopedPages = _chunkZPHNXJRYcjs.filterUnscopedPages; exports.filterVariantScope = _chunkZPHNXJRYcjs.filterVariantScope; exports.find = _chunkZPHNXJRYcjs.find; exports.findAll = _chunkZPHNXJRYcjs.findAll; exports.findByType = _chunkZPHNXJRYcjs.findByType; exports.formatWireframeCode = formatWireframeCode; exports.generateComponentStyles = _chunkZPHNXJRYcjs.generateComponentStyles; exports.generateStyles = _chunkZPHNXJRYcjs.generateStyles; exports.getAncestors = _chunkZPHNXJRYcjs.getAncestors; exports.getChangeSummary = getChangeSummary; exports.getDevicePresets = _chunkMD6MNOEQcjs.getDevicePresets; exports.getErrors = _chunkIMUVIIJRcjs.getErrors; exports.getIconData = _chunkZPHNXJRYcjs.getIconData; exports.getMaxDepth = _chunkZPHNXJRYcjs.getMaxDepth; exports.getNodeSource = getNodeSource; exports.getNodeTypes = _chunkZPHNXJRYcjs.getNodeTypes; exports.getPageSource = getPageSource; exports.getTheme = _chunkZPHNXJRYcjs.getTheme; exports.getV4SourceSpan = _chunkIMUVIIJRcjs.getV4SourceSpan; exports.getValidAttributes = _chunkMD6MNOEQcjs.getValidAttributes; exports.getValidationErrors = getValidationErrors; exports.guardedOutcomeAttrs = _chunkZPHNXJRYcjs.guardedOutcomeAttrs; exports.hasChildren = _chunkZPHNXJRYcjs.hasChildren; exports.importFromJson = importFromJson; exports.interactionSignature = _chunkZPHNXJRYcjs.interactionSignature; exports.interactiveAttrs = _chunkZPHNXJRYcjs.interactiveAttrs; exports.isAccordionNode = _chunkZPHNXJRYcjs.isAccordionNode; exports.isAlertNode = _chunkZPHNXJRYcjs.isAlertNode; exports.isAvatarNode = _chunkZPHNXJRYcjs.isAvatarNode; exports.isBadgeNode = _chunkZPHNXJRYcjs.isBadgeNode; exports.isBreadcrumbNode = _chunkZPHNXJRYcjs.isBreadcrumbNode; exports.isButtonNode = _chunkZPHNXJRYcjs.isButtonNode; exports.isCardNode = _chunkZPHNXJRYcjs.isCardNode; exports.isCheckboxNode = _chunkZPHNXJRYcjs.isCheckboxNode; exports.isColNode = _chunkZPHNXJRYcjs.isColNode; exports.isComponentDefinitionNode = _chunkZPHNXJRYcjs.isComponentDefinitionNode; exports.isComponentUseNode = _chunkZPHNXJRYcjs.isComponentUseNode; exports.isContainerComponentNode = _chunkZPHNXJRYcjs.isContainerComponentNode; exports.isContainerNode = _chunkZPHNXJRYcjs.isContainerNode; exports.isDataNode = _chunkZPHNXJRYcjs.isDataNode; exports.isDefinitionNode = _chunkZPHNXJRYcjs.isDefinitionNode; exports.isDisplayNode = _chunkZPHNXJRYcjs.isDisplayNode; exports.isDividerNode = _chunkZPHNXJRYcjs.isDividerNode; exports.isDrawerNode = _chunkZPHNXJRYcjs.isDrawerNode; exports.isDropdownNode = _chunkZPHNXJRYcjs.isDropdownNode; exports.isFeedbackNode = _chunkZPHNXJRYcjs.isFeedbackNode; exports.isFooterNode = _chunkZPHNXJRYcjs.isFooterNode; exports.isGridNode = _chunkZPHNXJRYcjs.isGridNode; exports.isHeaderNode = _chunkZPHNXJRYcjs.isHeaderNode; exports.isIconNode = _chunkZPHNXJRYcjs.isIconNode; exports.isImageNode = _chunkZPHNXJRYcjs.isImageNode; exports.isInputComponentNode = _chunkZPHNXJRYcjs.isInputComponentNode; exports.isInputNode = _chunkZPHNXJRYcjs.isInputNode; exports.isLayoutDefinitionNode = _chunkZPHNXJRYcjs.isLayoutDefinitionNode; exports.isLayoutNode = _chunkZPHNXJRYcjs.isLayoutNode; exports.isLeafNode = _chunkZPHNXJRYcjs.isLeafNode; exports.isLinkNode = _chunkZPHNXJRYcjs.isLinkNode; exports.isListNode = _chunkZPHNXJRYcjs.isListNode; exports.isMainNode = _chunkZPHNXJRYcjs.isMainNode; exports.isModalNode = _chunkZPHNXJRYcjs.isModalNode; exports.isNavNode = _chunkZPHNXJRYcjs.isNavNode; exports.isNavigationNode = _chunkZPHNXJRYcjs.isNavigationNode; exports.isNodeType = _chunkZPHNXJRYcjs.isNodeType; exports.isOverlayNode = _chunkZPHNXJRYcjs.isOverlayNode; exports.isPageNode = _chunkZPHNXJRYcjs.isPageNode; exports.isPlaceholderNode = _chunkZPHNXJRYcjs.isPlaceholderNode; exports.isPopoverNode = _chunkZPHNXJRYcjs.isPopoverNode; exports.isProgressNode = _chunkZPHNXJRYcjs.isProgressNode; exports.isRadioNode = _chunkZPHNXJRYcjs.isRadioNode; exports.isRowNode = _chunkZPHNXJRYcjs.isRowNode; exports.isSectionNode = _chunkZPHNXJRYcjs.isSectionNode; exports.isSelectNode = _chunkZPHNXJRYcjs.isSelectNode; exports.isSidebarNode = _chunkZPHNXJRYcjs.isSidebarNode; exports.isSliderNode = _chunkZPHNXJRYcjs.isSliderNode; exports.isSlotNode = _chunkZPHNXJRYcjs.isSlotNode; exports.isSpinnerNode = _chunkZPHNXJRYcjs.isSpinnerNode; exports.isSwitchNode = _chunkZPHNXJRYcjs.isSwitchNode; exports.isTableNode = _chunkZPHNXJRYcjs.isTableNode; exports.isTabsNode = _chunkZPHNXJRYcjs.isTabsNode; exports.isTextContentNode = _chunkZPHNXJRYcjs.isTextContentNode; exports.isTextNode = _chunkZPHNXJRYcjs.isTextNode; exports.isTextareaNode = _chunkZPHNXJRYcjs.isTextareaNode; exports.isTitleNode = _chunkZPHNXJRYcjs.isTitleNode; exports.isToastNode = _chunkZPHNXJRYcjs.isToastNode; exports.isTooltipNode = _chunkZPHNXJRYcjs.isTooltipNode; exports.isUrlTarget = _chunkZPHNXJRYcjs.isUrlTarget; exports.isValid = _chunkIMUVIIJRcjs.isValid; exports.isValidAst = isValidAst; exports.isValidAttribute = _chunkMD6MNOEQcjs.isValidAttribute; exports.isValidDevicePreset = _chunkMD6MNOEQcjs.isValidDevicePreset; exports.layoutCanvas = _chunk4TMDPWPRcjs.layoutCanvas; exports.linkAndCompileApp = _chunk7VTK6LHLcjs.linkAndCompileApp; exports.linkApp = _chunk7VTK6LHLcjs.linkApp; exports.lucideIcons = _chunkZPHNXJRYcjs.lucideIcons; exports.mapNodes = _chunkZPHNXJRYcjs.mapNodes; exports.normalizeInteractionHandlers = _chunkZPHNXJRYcjs.normalizeInteractionHandlers; exports.normalizeStateGuard = _chunkZPHNXJRYcjs.normalizeStateGuard; exports.parameterReferenceName = _chunk7VTK6LHLcjs.parameterReferenceName; exports.parse = _chunkIMUVIIJRcjs.parse; exports.parseV4 = _chunkIMUVIIJRcjs.parseV4; exports.parseViewportString = _chunkMD6MNOEQcjs.parseViewportString; exports.printWireframe = printWireframe; exports.reduceEvent = _chunk7VTK6LHLcjs.reduceEvent; exports.render = _chunk4TMDPWPRcjs.render; exports.renderAppSite = _chunk7VTK6LHLcjs.renderSite; exports.renderCanvas = _chunk4TMDPWPRcjs.renderCanvas; exports.renderIconSvg = _chunkZPHNXJRYcjs.renderIconSvg; exports.renderPage = _chunkZPHNXJRYcjs.renderPage; exports.renderSite = _chunk5DGRIQDUcjs.renderSite; exports.renderToHtml = _chunk4TMDPWPRcjs.renderToHtml; exports.renderToSvg = _chunk4TMDPWPRcjs.renderToSvg; exports.renderUnknownIconSvg = _chunkZPHNXJRYcjs.renderUnknownIconSvg; exports.resetFigmaIdCounter = resetFigmaIdCounter; exports.resetRuntime = _chunk7VTK6LHLcjs.resetRuntime; exports.resolveAnchor = resolveAnchor; exports.resolvePageDimensions = _chunkZPHNXJRYcjs.resolvePageDimensions; exports.resolveViewport = _chunkMD6MNOEQcjs.resolveViewport; exports.tryParse = _chunkIMUVIIJRcjs.tryParse; exports.tryParseV4 = _chunkIMUVIIJRcjs.tryParseV4; exports.validate = validate; exports.variantScope = _chunkZPHNXJRYcjs.variantScope; exports.walk = _chunkZPHNXJRYcjs.walk; exports.walkDocument = _chunkZPHNXJRYcjs.walkDocument; exports.wrapInPreviewContainer = _chunkMD6MNOEQcjs.wrapInPreviewContainer;
|
|
2546
|
+
Object.defineProperty(exports, "exportLinkedAppToSvg", {
|
|
2547
|
+
enumerable: true,
|
|
2548
|
+
get: function () { return chunkLA5LKIEL_cjs.exportLinkedAppToSvg; }
|
|
2549
|
+
});
|
|
2550
|
+
Object.defineProperty(exports, "layoutCanvas", {
|
|
2551
|
+
enumerable: true,
|
|
2552
|
+
get: function () { return chunkLA5LKIEL_cjs.layoutCanvas; }
|
|
2553
|
+
});
|
|
2554
|
+
Object.defineProperty(exports, "render", {
|
|
2555
|
+
enumerable: true,
|
|
2556
|
+
get: function () { return chunkLA5LKIEL_cjs.render; }
|
|
2557
|
+
});
|
|
2558
|
+
Object.defineProperty(exports, "renderCanvas", {
|
|
2559
|
+
enumerable: true,
|
|
2560
|
+
get: function () { return chunkLA5LKIEL_cjs.renderCanvas; }
|
|
2561
|
+
});
|
|
2562
|
+
Object.defineProperty(exports, "renderToHtml", {
|
|
2563
|
+
enumerable: true,
|
|
2564
|
+
get: function () { return chunkLA5LKIEL_cjs.renderToHtml; }
|
|
2565
|
+
});
|
|
2566
|
+
Object.defineProperty(exports, "renderToSvg", {
|
|
2567
|
+
enumerable: true,
|
|
2568
|
+
get: function () { return chunkLA5LKIEL_cjs.renderToSvg; }
|
|
2569
|
+
});
|
|
2570
|
+
Object.defineProperty(exports, "advanceClock", {
|
|
2571
|
+
enumerable: true,
|
|
2572
|
+
get: function () { return chunkSAN6CJEE_cjs.advanceClock; }
|
|
2573
|
+
});
|
|
2574
|
+
Object.defineProperty(exports, "collectParameterReferences", {
|
|
2575
|
+
enumerable: true,
|
|
2576
|
+
get: function () { return chunkSAN6CJEE_cjs.collectParameterReferences; }
|
|
2577
|
+
});
|
|
2578
|
+
Object.defineProperty(exports, "compileApp", {
|
|
2579
|
+
enumerable: true,
|
|
2580
|
+
get: function () { return chunkSAN6CJEE_cjs.compileApp; }
|
|
2581
|
+
});
|
|
2582
|
+
Object.defineProperty(exports, "createAppComponentInstanceId", {
|
|
2583
|
+
enumerable: true,
|
|
2584
|
+
get: function () { return chunkSAN6CJEE_cjs.createAppComponentInstanceId; }
|
|
2585
|
+
});
|
|
2586
|
+
Object.defineProperty(exports, "createAppNodeId", {
|
|
2587
|
+
enumerable: true,
|
|
2588
|
+
get: function () { return chunkSAN6CJEE_cjs.createAppNodeId; }
|
|
2589
|
+
});
|
|
2590
|
+
Object.defineProperty(exports, "createRuntime", {
|
|
2591
|
+
enumerable: true,
|
|
2592
|
+
get: function () { return chunkSAN6CJEE_cjs.createRuntime; }
|
|
2593
|
+
});
|
|
2594
|
+
Object.defineProperty(exports, "linkAndCompileApp", {
|
|
2595
|
+
enumerable: true,
|
|
2596
|
+
get: function () { return chunkSAN6CJEE_cjs.linkAndCompileApp; }
|
|
2597
|
+
});
|
|
2598
|
+
Object.defineProperty(exports, "linkApp", {
|
|
2599
|
+
enumerable: true,
|
|
2600
|
+
get: function () { return chunkSAN6CJEE_cjs.linkApp; }
|
|
2601
|
+
});
|
|
2602
|
+
Object.defineProperty(exports, "parameterReferenceName", {
|
|
2603
|
+
enumerable: true,
|
|
2604
|
+
get: function () { return chunkSAN6CJEE_cjs.parameterReferenceName; }
|
|
2605
|
+
});
|
|
2606
|
+
Object.defineProperty(exports, "reduceEvent", {
|
|
2607
|
+
enumerable: true,
|
|
2608
|
+
get: function () { return chunkSAN6CJEE_cjs.reduceEvent; }
|
|
2609
|
+
});
|
|
2610
|
+
Object.defineProperty(exports, "renderAppSite", {
|
|
2611
|
+
enumerable: true,
|
|
2612
|
+
get: function () { return chunkSAN6CJEE_cjs.renderSite; }
|
|
2613
|
+
});
|
|
2614
|
+
Object.defineProperty(exports, "resetRuntime", {
|
|
2615
|
+
enumerable: true,
|
|
2616
|
+
get: function () { return chunkSAN6CJEE_cjs.resetRuntime; }
|
|
2617
|
+
});
|
|
2618
|
+
Object.defineProperty(exports, "createAppBundle", {
|
|
2619
|
+
enumerable: true,
|
|
2620
|
+
get: function () { return chunkNV6UV5ID_cjs.createAppBundle; }
|
|
2621
|
+
});
|
|
2622
|
+
Object.defineProperty(exports, "expandVariants", {
|
|
2623
|
+
enumerable: true,
|
|
2624
|
+
get: function () { return chunkNV6UV5ID_cjs.expandVariants; }
|
|
2625
|
+
});
|
|
2626
|
+
Object.defineProperty(exports, "renderSite", {
|
|
2627
|
+
enumerable: true,
|
|
2628
|
+
get: function () { return chunkNV6UV5ID_cjs.renderSite; }
|
|
2629
|
+
});
|
|
2630
|
+
Object.defineProperty(exports, "V4ParseError", {
|
|
2631
|
+
enumerable: true,
|
|
2632
|
+
get: function () { return chunkIMUVIIJR_cjs.V4ParseError; }
|
|
2633
|
+
});
|
|
2634
|
+
Object.defineProperty(exports, "getErrors", {
|
|
2635
|
+
enumerable: true,
|
|
2636
|
+
get: function () { return chunkIMUVIIJR_cjs.getErrors; }
|
|
2637
|
+
});
|
|
2638
|
+
Object.defineProperty(exports, "getV4SourceSpan", {
|
|
2639
|
+
enumerable: true,
|
|
2640
|
+
get: function () { return chunkIMUVIIJR_cjs.getV4SourceSpan; }
|
|
2641
|
+
});
|
|
2642
|
+
Object.defineProperty(exports, "isValid", {
|
|
2643
|
+
enumerable: true,
|
|
2644
|
+
get: function () { return chunkIMUVIIJR_cjs.isValid; }
|
|
2645
|
+
});
|
|
2646
|
+
Object.defineProperty(exports, "parse", {
|
|
2647
|
+
enumerable: true,
|
|
2648
|
+
get: function () { return chunkIMUVIIJR_cjs.parse; }
|
|
2649
|
+
});
|
|
2650
|
+
Object.defineProperty(exports, "parseV4", {
|
|
2651
|
+
enumerable: true,
|
|
2652
|
+
get: function () { return chunkIMUVIIJR_cjs.parseV4; }
|
|
2653
|
+
});
|
|
2654
|
+
Object.defineProperty(exports, "tryParse", {
|
|
2655
|
+
enumerable: true,
|
|
2656
|
+
get: function () { return chunkIMUVIIJR_cjs.tryParse; }
|
|
2657
|
+
});
|
|
2658
|
+
Object.defineProperty(exports, "tryParseV4", {
|
|
2659
|
+
enumerable: true,
|
|
2660
|
+
get: function () { return chunkIMUVIIJR_cjs.tryParseV4; }
|
|
2661
|
+
});
|
|
2662
|
+
Object.defineProperty(exports, "ANCHOR_LOC_ATTR", {
|
|
2663
|
+
enumerable: true,
|
|
2664
|
+
get: function () { return chunkZPHNXJRY_cjs.ANCHOR_LOC_ATTR; }
|
|
2665
|
+
});
|
|
2666
|
+
Object.defineProperty(exports, "ANCHOR_PATH_ATTR", {
|
|
2667
|
+
enumerable: true,
|
|
2668
|
+
get: function () { return chunkZPHNXJRY_cjs.ANCHOR_PATH_ATTR; }
|
|
2669
|
+
});
|
|
2670
|
+
Object.defineProperty(exports, "ENABLED_GUARD_ATTR", {
|
|
2671
|
+
enumerable: true,
|
|
2672
|
+
get: function () { return chunkZPHNXJRY_cjs.ENABLED_GUARD_ATTR; }
|
|
2673
|
+
});
|
|
2674
|
+
Object.defineProperty(exports, "EXTERNAL_NAVIGATE_ATTR", {
|
|
2675
|
+
enumerable: true,
|
|
2676
|
+
get: function () { return chunkZPHNXJRY_cjs.EXTERNAL_NAVIGATE_ATTR; }
|
|
2677
|
+
});
|
|
2678
|
+
Object.defineProperty(exports, "HtmlRenderer", {
|
|
2679
|
+
enumerable: true,
|
|
2680
|
+
get: function () { return chunkZPHNXJRY_cjs.HtmlRenderer; }
|
|
2681
|
+
});
|
|
2682
|
+
Object.defineProperty(exports, "INERT_HREF", {
|
|
2683
|
+
enumerable: true,
|
|
2684
|
+
get: function () { return chunkZPHNXJRY_cjs.INERT_HREF; }
|
|
2685
|
+
});
|
|
2686
|
+
Object.defineProperty(exports, "INTERACTIVE_ATTR_NAMES", {
|
|
2687
|
+
enumerable: true,
|
|
2688
|
+
get: function () { return chunkZPHNXJRY_cjs.INTERACTIVE_ATTR_NAMES; }
|
|
2689
|
+
});
|
|
2690
|
+
Object.defineProperty(exports, "REPEAT_EXPANSION_BUDGET", {
|
|
2691
|
+
enumerable: true,
|
|
2692
|
+
get: function () { return chunkZPHNXJRY_cjs.REPEAT_EXPANSION_BUDGET; }
|
|
2693
|
+
});
|
|
2694
|
+
Object.defineProperty(exports, "RepeatBudgetError", {
|
|
2695
|
+
enumerable: true,
|
|
2696
|
+
get: function () { return chunkZPHNXJRY_cjs.RepeatBudgetError; }
|
|
2697
|
+
});
|
|
2698
|
+
Object.defineProperty(exports, "TYPED_INTERACTION_ATTR", {
|
|
2699
|
+
enumerable: true,
|
|
2700
|
+
get: function () { return chunkZPHNXJRY_cjs.TYPED_INTERACTION_ATTR; }
|
|
2701
|
+
});
|
|
2702
|
+
Object.defineProperty(exports, "VISIBLE_GUARD_ATTR", {
|
|
2703
|
+
enumerable: true,
|
|
2704
|
+
get: function () { return chunkZPHNXJRY_cjs.VISIBLE_GUARD_ATTR; }
|
|
2705
|
+
});
|
|
2706
|
+
Object.defineProperty(exports, "anchorIntent", {
|
|
2707
|
+
enumerable: true,
|
|
2708
|
+
get: function () { return chunkZPHNXJRY_cjs.anchorIntent; }
|
|
2709
|
+
});
|
|
2710
|
+
Object.defineProperty(exports, "buildSiteModel", {
|
|
2711
|
+
enumerable: true,
|
|
2712
|
+
get: function () { return chunkZPHNXJRY_cjs.buildSiteModel; }
|
|
2713
|
+
});
|
|
2714
|
+
Object.defineProperty(exports, "cloneNode", {
|
|
2715
|
+
enumerable: true,
|
|
2716
|
+
get: function () { return chunkZPHNXJRY_cjs.cloneNode; }
|
|
2717
|
+
});
|
|
2718
|
+
Object.defineProperty(exports, "collectInteractions", {
|
|
2719
|
+
enumerable: true,
|
|
2720
|
+
get: function () { return chunkZPHNXJRY_cjs.collectInteractions; }
|
|
2721
|
+
});
|
|
2722
|
+
Object.defineProperty(exports, "contains", {
|
|
2723
|
+
enumerable: true,
|
|
2724
|
+
get: function () { return chunkZPHNXJRY_cjs.contains; }
|
|
2725
|
+
});
|
|
2726
|
+
Object.defineProperty(exports, "countNodes", {
|
|
2727
|
+
enumerable: true,
|
|
2728
|
+
get: function () { return chunkZPHNXJRY_cjs.countNodes; }
|
|
2729
|
+
});
|
|
2730
|
+
Object.defineProperty(exports, "createHtmlRenderer", {
|
|
2731
|
+
enumerable: true,
|
|
2732
|
+
get: function () { return chunkZPHNXJRY_cjs.createHtmlRenderer; }
|
|
2733
|
+
});
|
|
2734
|
+
Object.defineProperty(exports, "darkTheme", {
|
|
2735
|
+
enumerable: true,
|
|
2736
|
+
get: function () { return chunkZPHNXJRY_cjs.darkTheme; }
|
|
2737
|
+
});
|
|
2738
|
+
Object.defineProperty(exports, "defaultTheme", {
|
|
2739
|
+
enumerable: true,
|
|
2740
|
+
get: function () { return chunkZPHNXJRY_cjs.defaultTheme; }
|
|
2741
|
+
});
|
|
2742
|
+
Object.defineProperty(exports, "documentDefinitions", {
|
|
2743
|
+
enumerable: true,
|
|
2744
|
+
get: function () { return chunkZPHNXJRY_cjs.documentDefinitions; }
|
|
2745
|
+
});
|
|
2746
|
+
Object.defineProperty(exports, "documentPages", {
|
|
2747
|
+
enumerable: true,
|
|
2748
|
+
get: function () { return chunkZPHNXJRY_cjs.documentPages; }
|
|
2749
|
+
});
|
|
2750
|
+
Object.defineProperty(exports, "expandRepeats", {
|
|
2751
|
+
enumerable: true,
|
|
2752
|
+
get: function () { return chunkZPHNXJRY_cjs.expandRepeats; }
|
|
2753
|
+
});
|
|
2754
|
+
Object.defineProperty(exports, "filterUnscopedPages", {
|
|
2755
|
+
enumerable: true,
|
|
2756
|
+
get: function () { return chunkZPHNXJRY_cjs.filterUnscopedPages; }
|
|
2757
|
+
});
|
|
2758
|
+
Object.defineProperty(exports, "filterVariantScope", {
|
|
2759
|
+
enumerable: true,
|
|
2760
|
+
get: function () { return chunkZPHNXJRY_cjs.filterVariantScope; }
|
|
2761
|
+
});
|
|
2762
|
+
Object.defineProperty(exports, "find", {
|
|
2763
|
+
enumerable: true,
|
|
2764
|
+
get: function () { return chunkZPHNXJRY_cjs.find; }
|
|
2765
|
+
});
|
|
2766
|
+
Object.defineProperty(exports, "findAll", {
|
|
2767
|
+
enumerable: true,
|
|
2768
|
+
get: function () { return chunkZPHNXJRY_cjs.findAll; }
|
|
2769
|
+
});
|
|
2770
|
+
Object.defineProperty(exports, "findByType", {
|
|
2771
|
+
enumerable: true,
|
|
2772
|
+
get: function () { return chunkZPHNXJRY_cjs.findByType; }
|
|
2773
|
+
});
|
|
2774
|
+
Object.defineProperty(exports, "generateComponentStyles", {
|
|
2775
|
+
enumerable: true,
|
|
2776
|
+
get: function () { return chunkZPHNXJRY_cjs.generateComponentStyles; }
|
|
2777
|
+
});
|
|
2778
|
+
Object.defineProperty(exports, "generateStyles", {
|
|
2779
|
+
enumerable: true,
|
|
2780
|
+
get: function () { return chunkZPHNXJRY_cjs.generateStyles; }
|
|
2781
|
+
});
|
|
2782
|
+
Object.defineProperty(exports, "getAncestors", {
|
|
2783
|
+
enumerable: true,
|
|
2784
|
+
get: function () { return chunkZPHNXJRY_cjs.getAncestors; }
|
|
2785
|
+
});
|
|
2786
|
+
Object.defineProperty(exports, "getIconData", {
|
|
2787
|
+
enumerable: true,
|
|
2788
|
+
get: function () { return chunkZPHNXJRY_cjs.getIconData; }
|
|
2789
|
+
});
|
|
2790
|
+
Object.defineProperty(exports, "getMaxDepth", {
|
|
2791
|
+
enumerable: true,
|
|
2792
|
+
get: function () { return chunkZPHNXJRY_cjs.getMaxDepth; }
|
|
2793
|
+
});
|
|
2794
|
+
Object.defineProperty(exports, "getNodeTypes", {
|
|
2795
|
+
enumerable: true,
|
|
2796
|
+
get: function () { return chunkZPHNXJRY_cjs.getNodeTypes; }
|
|
2797
|
+
});
|
|
2798
|
+
Object.defineProperty(exports, "getTheme", {
|
|
2799
|
+
enumerable: true,
|
|
2800
|
+
get: function () { return chunkZPHNXJRY_cjs.getTheme; }
|
|
2801
|
+
});
|
|
2802
|
+
Object.defineProperty(exports, "guardedOutcomeAttrs", {
|
|
2803
|
+
enumerable: true,
|
|
2804
|
+
get: function () { return chunkZPHNXJRY_cjs.guardedOutcomeAttrs; }
|
|
2805
|
+
});
|
|
2806
|
+
Object.defineProperty(exports, "hasChildren", {
|
|
2807
|
+
enumerable: true,
|
|
2808
|
+
get: function () { return chunkZPHNXJRY_cjs.hasChildren; }
|
|
2809
|
+
});
|
|
2810
|
+
Object.defineProperty(exports, "interactionSignature", {
|
|
2811
|
+
enumerable: true,
|
|
2812
|
+
get: function () { return chunkZPHNXJRY_cjs.interactionSignature; }
|
|
2813
|
+
});
|
|
2814
|
+
Object.defineProperty(exports, "interactiveAttrs", {
|
|
2815
|
+
enumerable: true,
|
|
2816
|
+
get: function () { return chunkZPHNXJRY_cjs.interactiveAttrs; }
|
|
2817
|
+
});
|
|
2818
|
+
Object.defineProperty(exports, "isAccordionNode", {
|
|
2819
|
+
enumerable: true,
|
|
2820
|
+
get: function () { return chunkZPHNXJRY_cjs.isAccordionNode; }
|
|
2821
|
+
});
|
|
2822
|
+
Object.defineProperty(exports, "isAlertNode", {
|
|
2823
|
+
enumerable: true,
|
|
2824
|
+
get: function () { return chunkZPHNXJRY_cjs.isAlertNode; }
|
|
2825
|
+
});
|
|
2826
|
+
Object.defineProperty(exports, "isAvatarNode", {
|
|
2827
|
+
enumerable: true,
|
|
2828
|
+
get: function () { return chunkZPHNXJRY_cjs.isAvatarNode; }
|
|
2829
|
+
});
|
|
2830
|
+
Object.defineProperty(exports, "isBadgeNode", {
|
|
2831
|
+
enumerable: true,
|
|
2832
|
+
get: function () { return chunkZPHNXJRY_cjs.isBadgeNode; }
|
|
2833
|
+
});
|
|
2834
|
+
Object.defineProperty(exports, "isBreadcrumbNode", {
|
|
2835
|
+
enumerable: true,
|
|
2836
|
+
get: function () { return chunkZPHNXJRY_cjs.isBreadcrumbNode; }
|
|
2837
|
+
});
|
|
2838
|
+
Object.defineProperty(exports, "isButtonNode", {
|
|
2839
|
+
enumerable: true,
|
|
2840
|
+
get: function () { return chunkZPHNXJRY_cjs.isButtonNode; }
|
|
2841
|
+
});
|
|
2842
|
+
Object.defineProperty(exports, "isCardNode", {
|
|
2843
|
+
enumerable: true,
|
|
2844
|
+
get: function () { return chunkZPHNXJRY_cjs.isCardNode; }
|
|
2845
|
+
});
|
|
2846
|
+
Object.defineProperty(exports, "isCheckboxNode", {
|
|
2847
|
+
enumerable: true,
|
|
2848
|
+
get: function () { return chunkZPHNXJRY_cjs.isCheckboxNode; }
|
|
2849
|
+
});
|
|
2850
|
+
Object.defineProperty(exports, "isColNode", {
|
|
2851
|
+
enumerable: true,
|
|
2852
|
+
get: function () { return chunkZPHNXJRY_cjs.isColNode; }
|
|
2853
|
+
});
|
|
2854
|
+
Object.defineProperty(exports, "isComponentDefinitionNode", {
|
|
2855
|
+
enumerable: true,
|
|
2856
|
+
get: function () { return chunkZPHNXJRY_cjs.isComponentDefinitionNode; }
|
|
2857
|
+
});
|
|
2858
|
+
Object.defineProperty(exports, "isComponentUseNode", {
|
|
2859
|
+
enumerable: true,
|
|
2860
|
+
get: function () { return chunkZPHNXJRY_cjs.isComponentUseNode; }
|
|
2861
|
+
});
|
|
2862
|
+
Object.defineProperty(exports, "isContainerComponentNode", {
|
|
2863
|
+
enumerable: true,
|
|
2864
|
+
get: function () { return chunkZPHNXJRY_cjs.isContainerComponentNode; }
|
|
2865
|
+
});
|
|
2866
|
+
Object.defineProperty(exports, "isContainerNode", {
|
|
2867
|
+
enumerable: true,
|
|
2868
|
+
get: function () { return chunkZPHNXJRY_cjs.isContainerNode; }
|
|
2869
|
+
});
|
|
2870
|
+
Object.defineProperty(exports, "isDataNode", {
|
|
2871
|
+
enumerable: true,
|
|
2872
|
+
get: function () { return chunkZPHNXJRY_cjs.isDataNode; }
|
|
2873
|
+
});
|
|
2874
|
+
Object.defineProperty(exports, "isDefinitionNode", {
|
|
2875
|
+
enumerable: true,
|
|
2876
|
+
get: function () { return chunkZPHNXJRY_cjs.isDefinitionNode; }
|
|
2877
|
+
});
|
|
2878
|
+
Object.defineProperty(exports, "isDisplayNode", {
|
|
2879
|
+
enumerable: true,
|
|
2880
|
+
get: function () { return chunkZPHNXJRY_cjs.isDisplayNode; }
|
|
2881
|
+
});
|
|
2882
|
+
Object.defineProperty(exports, "isDividerNode", {
|
|
2883
|
+
enumerable: true,
|
|
2884
|
+
get: function () { return chunkZPHNXJRY_cjs.isDividerNode; }
|
|
2885
|
+
});
|
|
2886
|
+
Object.defineProperty(exports, "isDrawerNode", {
|
|
2887
|
+
enumerable: true,
|
|
2888
|
+
get: function () { return chunkZPHNXJRY_cjs.isDrawerNode; }
|
|
2889
|
+
});
|
|
2890
|
+
Object.defineProperty(exports, "isDropdownNode", {
|
|
2891
|
+
enumerable: true,
|
|
2892
|
+
get: function () { return chunkZPHNXJRY_cjs.isDropdownNode; }
|
|
2893
|
+
});
|
|
2894
|
+
Object.defineProperty(exports, "isFeedbackNode", {
|
|
2895
|
+
enumerable: true,
|
|
2896
|
+
get: function () { return chunkZPHNXJRY_cjs.isFeedbackNode; }
|
|
2897
|
+
});
|
|
2898
|
+
Object.defineProperty(exports, "isFooterNode", {
|
|
2899
|
+
enumerable: true,
|
|
2900
|
+
get: function () { return chunkZPHNXJRY_cjs.isFooterNode; }
|
|
2901
|
+
});
|
|
2902
|
+
Object.defineProperty(exports, "isGridNode", {
|
|
2903
|
+
enumerable: true,
|
|
2904
|
+
get: function () { return chunkZPHNXJRY_cjs.isGridNode; }
|
|
2905
|
+
});
|
|
2906
|
+
Object.defineProperty(exports, "isHeaderNode", {
|
|
2907
|
+
enumerable: true,
|
|
2908
|
+
get: function () { return chunkZPHNXJRY_cjs.isHeaderNode; }
|
|
2909
|
+
});
|
|
2910
|
+
Object.defineProperty(exports, "isIconNode", {
|
|
2911
|
+
enumerable: true,
|
|
2912
|
+
get: function () { return chunkZPHNXJRY_cjs.isIconNode; }
|
|
2913
|
+
});
|
|
2914
|
+
Object.defineProperty(exports, "isImageNode", {
|
|
2915
|
+
enumerable: true,
|
|
2916
|
+
get: function () { return chunkZPHNXJRY_cjs.isImageNode; }
|
|
2917
|
+
});
|
|
2918
|
+
Object.defineProperty(exports, "isInputComponentNode", {
|
|
2919
|
+
enumerable: true,
|
|
2920
|
+
get: function () { return chunkZPHNXJRY_cjs.isInputComponentNode; }
|
|
2921
|
+
});
|
|
2922
|
+
Object.defineProperty(exports, "isInputNode", {
|
|
2923
|
+
enumerable: true,
|
|
2924
|
+
get: function () { return chunkZPHNXJRY_cjs.isInputNode; }
|
|
2925
|
+
});
|
|
2926
|
+
Object.defineProperty(exports, "isLayoutDefinitionNode", {
|
|
2927
|
+
enumerable: true,
|
|
2928
|
+
get: function () { return chunkZPHNXJRY_cjs.isLayoutDefinitionNode; }
|
|
2929
|
+
});
|
|
2930
|
+
Object.defineProperty(exports, "isLayoutNode", {
|
|
2931
|
+
enumerable: true,
|
|
2932
|
+
get: function () { return chunkZPHNXJRY_cjs.isLayoutNode; }
|
|
2933
|
+
});
|
|
2934
|
+
Object.defineProperty(exports, "isLeafNode", {
|
|
2935
|
+
enumerable: true,
|
|
2936
|
+
get: function () { return chunkZPHNXJRY_cjs.isLeafNode; }
|
|
2937
|
+
});
|
|
2938
|
+
Object.defineProperty(exports, "isLinkNode", {
|
|
2939
|
+
enumerable: true,
|
|
2940
|
+
get: function () { return chunkZPHNXJRY_cjs.isLinkNode; }
|
|
2941
|
+
});
|
|
2942
|
+
Object.defineProperty(exports, "isListNode", {
|
|
2943
|
+
enumerable: true,
|
|
2944
|
+
get: function () { return chunkZPHNXJRY_cjs.isListNode; }
|
|
2945
|
+
});
|
|
2946
|
+
Object.defineProperty(exports, "isMainNode", {
|
|
2947
|
+
enumerable: true,
|
|
2948
|
+
get: function () { return chunkZPHNXJRY_cjs.isMainNode; }
|
|
2949
|
+
});
|
|
2950
|
+
Object.defineProperty(exports, "isModalNode", {
|
|
2951
|
+
enumerable: true,
|
|
2952
|
+
get: function () { return chunkZPHNXJRY_cjs.isModalNode; }
|
|
2953
|
+
});
|
|
2954
|
+
Object.defineProperty(exports, "isNavNode", {
|
|
2955
|
+
enumerable: true,
|
|
2956
|
+
get: function () { return chunkZPHNXJRY_cjs.isNavNode; }
|
|
2957
|
+
});
|
|
2958
|
+
Object.defineProperty(exports, "isNavigationNode", {
|
|
2959
|
+
enumerable: true,
|
|
2960
|
+
get: function () { return chunkZPHNXJRY_cjs.isNavigationNode; }
|
|
2961
|
+
});
|
|
2962
|
+
Object.defineProperty(exports, "isNodeType", {
|
|
2963
|
+
enumerable: true,
|
|
2964
|
+
get: function () { return chunkZPHNXJRY_cjs.isNodeType; }
|
|
2965
|
+
});
|
|
2966
|
+
Object.defineProperty(exports, "isOverlayNode", {
|
|
2967
|
+
enumerable: true,
|
|
2968
|
+
get: function () { return chunkZPHNXJRY_cjs.isOverlayNode; }
|
|
2969
|
+
});
|
|
2970
|
+
Object.defineProperty(exports, "isPageNode", {
|
|
2971
|
+
enumerable: true,
|
|
2972
|
+
get: function () { return chunkZPHNXJRY_cjs.isPageNode; }
|
|
2973
|
+
});
|
|
2974
|
+
Object.defineProperty(exports, "isPlaceholderNode", {
|
|
2975
|
+
enumerable: true,
|
|
2976
|
+
get: function () { return chunkZPHNXJRY_cjs.isPlaceholderNode; }
|
|
2977
|
+
});
|
|
2978
|
+
Object.defineProperty(exports, "isPopoverNode", {
|
|
2979
|
+
enumerable: true,
|
|
2980
|
+
get: function () { return chunkZPHNXJRY_cjs.isPopoverNode; }
|
|
2981
|
+
});
|
|
2982
|
+
Object.defineProperty(exports, "isProgressNode", {
|
|
2983
|
+
enumerable: true,
|
|
2984
|
+
get: function () { return chunkZPHNXJRY_cjs.isProgressNode; }
|
|
2985
|
+
});
|
|
2986
|
+
Object.defineProperty(exports, "isRadioNode", {
|
|
2987
|
+
enumerable: true,
|
|
2988
|
+
get: function () { return chunkZPHNXJRY_cjs.isRadioNode; }
|
|
2989
|
+
});
|
|
2990
|
+
Object.defineProperty(exports, "isRowNode", {
|
|
2991
|
+
enumerable: true,
|
|
2992
|
+
get: function () { return chunkZPHNXJRY_cjs.isRowNode; }
|
|
2993
|
+
});
|
|
2994
|
+
Object.defineProperty(exports, "isSectionNode", {
|
|
2995
|
+
enumerable: true,
|
|
2996
|
+
get: function () { return chunkZPHNXJRY_cjs.isSectionNode; }
|
|
2997
|
+
});
|
|
2998
|
+
Object.defineProperty(exports, "isSelectNode", {
|
|
2999
|
+
enumerable: true,
|
|
3000
|
+
get: function () { return chunkZPHNXJRY_cjs.isSelectNode; }
|
|
3001
|
+
});
|
|
3002
|
+
Object.defineProperty(exports, "isSidebarNode", {
|
|
3003
|
+
enumerable: true,
|
|
3004
|
+
get: function () { return chunkZPHNXJRY_cjs.isSidebarNode; }
|
|
3005
|
+
});
|
|
3006
|
+
Object.defineProperty(exports, "isSliderNode", {
|
|
3007
|
+
enumerable: true,
|
|
3008
|
+
get: function () { return chunkZPHNXJRY_cjs.isSliderNode; }
|
|
3009
|
+
});
|
|
3010
|
+
Object.defineProperty(exports, "isSlotNode", {
|
|
3011
|
+
enumerable: true,
|
|
3012
|
+
get: function () { return chunkZPHNXJRY_cjs.isSlotNode; }
|
|
3013
|
+
});
|
|
3014
|
+
Object.defineProperty(exports, "isSpinnerNode", {
|
|
3015
|
+
enumerable: true,
|
|
3016
|
+
get: function () { return chunkZPHNXJRY_cjs.isSpinnerNode; }
|
|
3017
|
+
});
|
|
3018
|
+
Object.defineProperty(exports, "isSwitchNode", {
|
|
3019
|
+
enumerable: true,
|
|
3020
|
+
get: function () { return chunkZPHNXJRY_cjs.isSwitchNode; }
|
|
3021
|
+
});
|
|
3022
|
+
Object.defineProperty(exports, "isTableNode", {
|
|
3023
|
+
enumerable: true,
|
|
3024
|
+
get: function () { return chunkZPHNXJRY_cjs.isTableNode; }
|
|
3025
|
+
});
|
|
3026
|
+
Object.defineProperty(exports, "isTabsNode", {
|
|
3027
|
+
enumerable: true,
|
|
3028
|
+
get: function () { return chunkZPHNXJRY_cjs.isTabsNode; }
|
|
3029
|
+
});
|
|
3030
|
+
Object.defineProperty(exports, "isTextContentNode", {
|
|
3031
|
+
enumerable: true,
|
|
3032
|
+
get: function () { return chunkZPHNXJRY_cjs.isTextContentNode; }
|
|
3033
|
+
});
|
|
3034
|
+
Object.defineProperty(exports, "isTextNode", {
|
|
3035
|
+
enumerable: true,
|
|
3036
|
+
get: function () { return chunkZPHNXJRY_cjs.isTextNode; }
|
|
3037
|
+
});
|
|
3038
|
+
Object.defineProperty(exports, "isTextareaNode", {
|
|
3039
|
+
enumerable: true,
|
|
3040
|
+
get: function () { return chunkZPHNXJRY_cjs.isTextareaNode; }
|
|
3041
|
+
});
|
|
3042
|
+
Object.defineProperty(exports, "isTitleNode", {
|
|
3043
|
+
enumerable: true,
|
|
3044
|
+
get: function () { return chunkZPHNXJRY_cjs.isTitleNode; }
|
|
3045
|
+
});
|
|
3046
|
+
Object.defineProperty(exports, "isToastNode", {
|
|
3047
|
+
enumerable: true,
|
|
3048
|
+
get: function () { return chunkZPHNXJRY_cjs.isToastNode; }
|
|
3049
|
+
});
|
|
3050
|
+
Object.defineProperty(exports, "isTooltipNode", {
|
|
3051
|
+
enumerable: true,
|
|
3052
|
+
get: function () { return chunkZPHNXJRY_cjs.isTooltipNode; }
|
|
3053
|
+
});
|
|
3054
|
+
Object.defineProperty(exports, "isUrlTarget", {
|
|
3055
|
+
enumerable: true,
|
|
3056
|
+
get: function () { return chunkZPHNXJRY_cjs.isUrlTarget; }
|
|
3057
|
+
});
|
|
3058
|
+
Object.defineProperty(exports, "lucideIcons", {
|
|
3059
|
+
enumerable: true,
|
|
3060
|
+
get: function () { return chunkZPHNXJRY_cjs.lucideIcons; }
|
|
3061
|
+
});
|
|
3062
|
+
Object.defineProperty(exports, "mapNodes", {
|
|
3063
|
+
enumerable: true,
|
|
3064
|
+
get: function () { return chunkZPHNXJRY_cjs.mapNodes; }
|
|
3065
|
+
});
|
|
3066
|
+
Object.defineProperty(exports, "normalizeInteractionHandlers", {
|
|
3067
|
+
enumerable: true,
|
|
3068
|
+
get: function () { return chunkZPHNXJRY_cjs.normalizeInteractionHandlers; }
|
|
3069
|
+
});
|
|
3070
|
+
Object.defineProperty(exports, "normalizeStateGuard", {
|
|
3071
|
+
enumerable: true,
|
|
3072
|
+
get: function () { return chunkZPHNXJRY_cjs.normalizeStateGuard; }
|
|
3073
|
+
});
|
|
3074
|
+
Object.defineProperty(exports, "renderIconSvg", {
|
|
3075
|
+
enumerable: true,
|
|
3076
|
+
get: function () { return chunkZPHNXJRY_cjs.renderIconSvg; }
|
|
3077
|
+
});
|
|
3078
|
+
Object.defineProperty(exports, "renderPage", {
|
|
3079
|
+
enumerable: true,
|
|
3080
|
+
get: function () { return chunkZPHNXJRY_cjs.renderPage; }
|
|
3081
|
+
});
|
|
3082
|
+
Object.defineProperty(exports, "renderUnknownIconSvg", {
|
|
3083
|
+
enumerable: true,
|
|
3084
|
+
get: function () { return chunkZPHNXJRY_cjs.renderUnknownIconSvg; }
|
|
3085
|
+
});
|
|
3086
|
+
Object.defineProperty(exports, "resolvePageDimensions", {
|
|
3087
|
+
enumerable: true,
|
|
3088
|
+
get: function () { return chunkZPHNXJRY_cjs.resolvePageDimensions; }
|
|
3089
|
+
});
|
|
3090
|
+
Object.defineProperty(exports, "variantScope", {
|
|
3091
|
+
enumerable: true,
|
|
3092
|
+
get: function () { return chunkZPHNXJRY_cjs.variantScope; }
|
|
3093
|
+
});
|
|
3094
|
+
Object.defineProperty(exports, "walk", {
|
|
3095
|
+
enumerable: true,
|
|
3096
|
+
get: function () { return chunkZPHNXJRY_cjs.walk; }
|
|
3097
|
+
});
|
|
3098
|
+
Object.defineProperty(exports, "walkDocument", {
|
|
3099
|
+
enumerable: true,
|
|
3100
|
+
get: function () { return chunkZPHNXJRY_cjs.walkDocument; }
|
|
3101
|
+
});
|
|
3102
|
+
Object.defineProperty(exports, "ATTRIBUTE_MAP", {
|
|
3103
|
+
enumerable: true,
|
|
3104
|
+
get: function () { return chunkMD6MNOEQ_cjs.ATTRIBUTE_MAP; }
|
|
3105
|
+
});
|
|
3106
|
+
Object.defineProperty(exports, "ATTRIBUTE_OVERRIDES", {
|
|
3107
|
+
enumerable: true,
|
|
3108
|
+
get: function () { return chunkMD6MNOEQ_cjs.ATTRIBUTE_OVERRIDES; }
|
|
3109
|
+
});
|
|
3110
|
+
Object.defineProperty(exports, "ATTRIBUTE_SPECS", {
|
|
3111
|
+
enumerable: true,
|
|
3112
|
+
get: function () { return chunkMD6MNOEQ_cjs.ATTRIBUTE_SPECS; }
|
|
3113
|
+
});
|
|
3114
|
+
Object.defineProperty(exports, "BLOCK_NODE_SPECS", {
|
|
3115
|
+
enumerable: true,
|
|
3116
|
+
get: function () { return chunkMD6MNOEQ_cjs.BLOCK_NODE_SPECS; }
|
|
3117
|
+
});
|
|
3118
|
+
Object.defineProperty(exports, "BOX_ATTRIBUTES", {
|
|
3119
|
+
enumerable: true,
|
|
3120
|
+
get: function () { return chunkMD6MNOEQ_cjs.BOX_ATTRIBUTES; }
|
|
3121
|
+
});
|
|
3122
|
+
Object.defineProperty(exports, "COMPONENT_MAP", {
|
|
3123
|
+
enumerable: true,
|
|
3124
|
+
get: function () { return chunkMD6MNOEQ_cjs.COMPONENT_MAP; }
|
|
3125
|
+
});
|
|
3126
|
+
Object.defineProperty(exports, "COMPONENT_NAMES", {
|
|
3127
|
+
enumerable: true,
|
|
3128
|
+
get: function () { return chunkMD6MNOEQ_cjs.COMPONENT_NAMES; }
|
|
3129
|
+
});
|
|
3130
|
+
Object.defineProperty(exports, "COMPONENT_SPECS", {
|
|
3131
|
+
enumerable: true,
|
|
3132
|
+
get: function () { return chunkMD6MNOEQ_cjs.COMPONENT_SPECS; }
|
|
3133
|
+
});
|
|
3134
|
+
Object.defineProperty(exports, "COMPONENT_SPEC_BY_NAME", {
|
|
3135
|
+
enumerable: true,
|
|
3136
|
+
get: function () { return chunkMD6MNOEQ_cjs.COMPONENT_SPEC_BY_NAME; }
|
|
3137
|
+
});
|
|
3138
|
+
Object.defineProperty(exports, "CONTAINER_ATTRIBUTES", {
|
|
3139
|
+
enumerable: true,
|
|
3140
|
+
get: function () { return chunkMD6MNOEQ_cjs.CONTAINER_ATTRIBUTES; }
|
|
3141
|
+
});
|
|
3142
|
+
Object.defineProperty(exports, "DEFAULT_VIEWPORT", {
|
|
3143
|
+
enumerable: true,
|
|
3144
|
+
get: function () { return chunkMD6MNOEQ_cjs.DEFAULT_VIEWPORT; }
|
|
3145
|
+
});
|
|
3146
|
+
Object.defineProperty(exports, "DEVICE_PRESETS", {
|
|
3147
|
+
enumerable: true,
|
|
3148
|
+
get: function () { return chunkMD6MNOEQ_cjs.DEVICE_PRESETS; }
|
|
3149
|
+
});
|
|
3150
|
+
Object.defineProperty(exports, "ELEMENT_NODE_TYPE_MAP", {
|
|
3151
|
+
enumerable: true,
|
|
3152
|
+
get: function () { return chunkMD6MNOEQ_cjs.ELEMENT_NODE_TYPE_MAP; }
|
|
3153
|
+
});
|
|
3154
|
+
Object.defineProperty(exports, "GRAMMAR_BLOCK_NODE_TYPES", {
|
|
3155
|
+
enumerable: true,
|
|
3156
|
+
get: function () { return chunkMD6MNOEQ_cjs.GRAMMAR_BLOCK_NODE_TYPES; }
|
|
3157
|
+
});
|
|
3158
|
+
Object.defineProperty(exports, "GRAMMAR_CHILD_KEYWORDS", {
|
|
3159
|
+
enumerable: true,
|
|
3160
|
+
get: function () { return chunkMD6MNOEQ_cjs.GRAMMAR_CHILD_KEYWORDS; }
|
|
3161
|
+
});
|
|
3162
|
+
Object.defineProperty(exports, "GRAMMAR_ELEMENTS", {
|
|
3163
|
+
enumerable: true,
|
|
3164
|
+
get: function () { return chunkMD6MNOEQ_cjs.GRAMMAR_ELEMENTS; }
|
|
3165
|
+
});
|
|
3166
|
+
Object.defineProperty(exports, "INTERACTIVE_ATTRIBUTES", {
|
|
3167
|
+
enumerable: true,
|
|
3168
|
+
get: function () { return chunkMD6MNOEQ_cjs.INTERACTIVE_ATTRIBUTES; }
|
|
3169
|
+
});
|
|
3170
|
+
Object.defineProperty(exports, "LUCIDE_ICON_NAMES", {
|
|
3171
|
+
enumerable: true,
|
|
3172
|
+
get: function () { return chunkMD6MNOEQ_cjs.LUCIDE_ICON_NAMES; }
|
|
3173
|
+
});
|
|
3174
|
+
Object.defineProperty(exports, "NODE_TYPE_MAP", {
|
|
3175
|
+
enumerable: true,
|
|
3176
|
+
get: function () { return chunkMD6MNOEQ_cjs.NODE_TYPE_MAP; }
|
|
3177
|
+
});
|
|
3178
|
+
Object.defineProperty(exports, "VALID_ATTRIBUTE_NAMES", {
|
|
3179
|
+
enumerable: true,
|
|
3180
|
+
get: function () { return chunkMD6MNOEQ_cjs.VALID_ATTRIBUTE_NAMES; }
|
|
3181
|
+
});
|
|
3182
|
+
Object.defineProperty(exports, "VALID_COMPONENT_NAMES", {
|
|
3183
|
+
enumerable: true,
|
|
3184
|
+
get: function () { return chunkMD6MNOEQ_cjs.VALID_COMPONENT_NAMES; }
|
|
3185
|
+
});
|
|
3186
|
+
Object.defineProperty(exports, "attributeFor", {
|
|
3187
|
+
enumerable: true,
|
|
3188
|
+
get: function () { return chunkMD6MNOEQ_cjs.attributeFor; }
|
|
3189
|
+
});
|
|
3190
|
+
Object.defineProperty(exports, "calculateViewportScale", {
|
|
3191
|
+
enumerable: true,
|
|
3192
|
+
get: function () { return chunkMD6MNOEQ_cjs.calculateViewportScale; }
|
|
3193
|
+
});
|
|
3194
|
+
Object.defineProperty(exports, "getDevicePresets", {
|
|
3195
|
+
enumerable: true,
|
|
3196
|
+
get: function () { return chunkMD6MNOEQ_cjs.getDevicePresets; }
|
|
3197
|
+
});
|
|
3198
|
+
Object.defineProperty(exports, "getValidAttributes", {
|
|
3199
|
+
enumerable: true,
|
|
3200
|
+
get: function () { return chunkMD6MNOEQ_cjs.getValidAttributes; }
|
|
3201
|
+
});
|
|
3202
|
+
Object.defineProperty(exports, "isValidAttribute", {
|
|
3203
|
+
enumerable: true,
|
|
3204
|
+
get: function () { return chunkMD6MNOEQ_cjs.isValidAttribute; }
|
|
3205
|
+
});
|
|
3206
|
+
Object.defineProperty(exports, "isValidDevicePreset", {
|
|
3207
|
+
enumerable: true,
|
|
3208
|
+
get: function () { return chunkMD6MNOEQ_cjs.isValidDevicePreset; }
|
|
3209
|
+
});
|
|
3210
|
+
Object.defineProperty(exports, "parseViewportString", {
|
|
3211
|
+
enumerable: true,
|
|
3212
|
+
get: function () { return chunkMD6MNOEQ_cjs.parseViewportString; }
|
|
3213
|
+
});
|
|
3214
|
+
Object.defineProperty(exports, "resolveViewport", {
|
|
3215
|
+
enumerable: true,
|
|
3216
|
+
get: function () { return chunkMD6MNOEQ_cjs.resolveViewport; }
|
|
3217
|
+
});
|
|
3218
|
+
Object.defineProperty(exports, "wrapInPreviewContainer", {
|
|
3219
|
+
enumerable: true,
|
|
3220
|
+
get: function () { return chunkMD6MNOEQ_cjs.wrapInPreviewContainer; }
|
|
3221
|
+
});
|
|
3222
|
+
exports.analyze = analyze;
|
|
3223
|
+
exports.areIdentical = areIdentical;
|
|
3224
|
+
exports.buildAnchorIndex = buildAnchorIndex;
|
|
3225
|
+
exports.buildDomTree = buildDomTree;
|
|
3226
|
+
exports.diff = diff;
|
|
3227
|
+
exports.exportLinkedAppToFigma = exportLinkedAppToFigma;
|
|
3228
|
+
exports.exportToFigma = exportToFigma;
|
|
3229
|
+
exports.exportToFigmaString = exportToFigmaString;
|
|
3230
|
+
exports.exportToJson = exportToJson;
|
|
3231
|
+
exports.exportToJsonString = exportToJsonString;
|
|
3232
|
+
exports.extractAllScreenFields = extractAllScreenFields;
|
|
3233
|
+
exports.extractScreenFields = extractScreenFields;
|
|
3234
|
+
exports.extractScreenTransitions = extractScreenTransitions;
|
|
3235
|
+
exports.formatWireframeCode = formatWireframeCode;
|
|
3236
|
+
exports.getChangeSummary = getChangeSummary;
|
|
3237
|
+
exports.getNodeSource = getNodeSource;
|
|
3238
|
+
exports.getPageSource = getPageSource;
|
|
3239
|
+
exports.getValidationErrors = getValidationErrors;
|
|
3240
|
+
exports.importFromJson = importFromJson;
|
|
3241
|
+
exports.isValidAst = isValidAst;
|
|
3242
|
+
exports.printWireframe = printWireframe;
|
|
3243
|
+
exports.resetFigmaIdCounter = resetFigmaIdCounter;
|
|
3244
|
+
exports.resolveAnchor = resolveAnchor;
|
|
3245
|
+
exports.validate = validate;
|