@wireweave/core 4.0.0-beta.12 → 4.0.0-beta.13
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 +50 -31
- package/dist/app.d.cts +3 -3
- package/dist/app.d.ts +3 -3
- package/dist/app.js +1 -31
- package/dist/chunk-3RWGG5EC.js +296 -342
- package/dist/chunk-4TMDPWPR.cjs +22 -32
- package/dist/{chunk-7VTK6LHL.cjs → chunk-4UZBGIGJ.cjs} +82 -97
- package/dist/chunk-5DGRIQDU.cjs +26 -44
- package/dist/chunk-ETV4XYOV.cjs +4 -6
- package/dist/{chunk-QOS4IC75.js → chunk-FS6A6EJ4.js} +28 -57
- package/dist/chunk-IMUVIIJR.cjs +317 -354
- package/dist/chunk-JJWAFHSV.js +2 -23
- package/dist/chunk-MD6MNOEQ.cjs +121 -142
- package/dist/chunk-PKBMQBKP.js +1 -3
- package/dist/chunk-R5WBZWBC.js +3 -19
- package/dist/chunk-V3HVWC7C.js +1 -32
- package/dist/chunk-XYACLXXF.js +4 -132
- package/dist/chunk-ZPHNXJRY.cjs +158 -180
- package/dist/{index-Da_B3eoM.d.ts → index-BGU_4N4W.d.ts} +2 -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-Br7pNaf3.d.cts → index-DyXaMSgd.d.cts} +2 -2
- package/dist/index.cjs +738 -419
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +12 -385
- 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 +104 -104
- package/dist/renderer.d.ts +104 -104
- 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-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 chunk4TMDPWPR_cjs = require('./chunk-4TMDPWPR.cjs');
|
|
4
|
+
var chunk4UZBGIGJ_cjs = require('./chunk-4UZBGIGJ.cjs');
|
|
5
|
+
var chunkIMUVIIJR_cjs = require('./chunk-IMUVIIJR.cjs');
|
|
6
|
+
var chunk5DGRIQDU_cjs = require('./chunk-5DGRIQDU.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 chunk4UZBGIGJ_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 {
|
|
@@ -1816,8 +1633,7 @@ function exportToFigma(doc) {
|
|
|
1816
1633
|
visible: true,
|
|
1817
1634
|
children: []
|
|
1818
1635
|
};
|
|
1819
|
-
for (const page of
|
|
1820
|
-
;
|
|
1636
|
+
for (const page of chunkZPHNXJRY_cjs.documentPages(doc)) {
|
|
1821
1637
|
documentNode.children.push(nodeToFigma(page));
|
|
1822
1638
|
}
|
|
1823
1639
|
const componentMappings = {};
|
|
@@ -1839,7 +1655,7 @@ function exportToFigmaString(doc, prettyPrint = true) {
|
|
|
1839
1655
|
|
|
1840
1656
|
// src/analyze/utils.ts
|
|
1841
1657
|
function collectNodes(doc, nodes) {
|
|
1842
|
-
for (const page of
|
|
1658
|
+
for (const page of chunkZPHNXJRY_cjs.documentPages(doc)) {
|
|
1843
1659
|
collectNodeRecursive(page, nodes);
|
|
1844
1660
|
}
|
|
1845
1661
|
}
|
|
@@ -1869,7 +1685,7 @@ function calculateTreeMetrics(doc, allNodes) {
|
|
|
1869
1685
|
let totalDepth = 0;
|
|
1870
1686
|
let leafNodes = 0;
|
|
1871
1687
|
let containerNodes = 0;
|
|
1872
|
-
for (const page of
|
|
1688
|
+
for (const page of chunkZPHNXJRY_cjs.documentPages(doc)) {
|
|
1873
1689
|
calculateDepthRecursive(page, 1, (depth, hasChildren2) => {
|
|
1874
1690
|
totalDepth += depth;
|
|
1875
1691
|
if (depth > maxDepth) maxDepth = depth;
|
|
@@ -2258,7 +2074,7 @@ function normaliseOptions(options) {
|
|
|
2258
2074
|
}
|
|
2259
2075
|
function toInput(node) {
|
|
2260
2076
|
const input = { nodeType: node.type };
|
|
2261
|
-
const label =
|
|
2077
|
+
const label = chunkZPHNXJRY_cjs.getLabel(node);
|
|
2262
2078
|
if (label !== void 0) input.label = label;
|
|
2263
2079
|
if (node.type === "Input" && typeof node.inputType === "string") {
|
|
2264
2080
|
input.inputType = node.inputType;
|
|
@@ -2281,20 +2097,20 @@ function extractScreenFields(page) {
|
|
|
2281
2097
|
let hasNavigation = false;
|
|
2282
2098
|
let hasOverlay = false;
|
|
2283
2099
|
for (const child of page.children) {
|
|
2284
|
-
|
|
2285
|
-
const category =
|
|
2100
|
+
chunkZPHNXJRY_cjs.walk(child, (node) => {
|
|
2101
|
+
const category = chunkZPHNXJRY_cjs.categoryOf(node);
|
|
2286
2102
|
if (category === void 0) return;
|
|
2287
2103
|
byCategory[category] += 1;
|
|
2288
2104
|
if (category === "navigation") hasNavigation = true;
|
|
2289
2105
|
if (OVERLAY_TYPES.has(node.type)) hasOverlay = true;
|
|
2290
|
-
const label =
|
|
2291
|
-
const content =
|
|
2106
|
+
const label = chunkZPHNXJRY_cjs.getLabel(node);
|
|
2107
|
+
const content = chunkZPHNXJRY_cjs.getContent(node);
|
|
2292
2108
|
const element = { nodeType: node.type, category };
|
|
2293
2109
|
if (label !== void 0) element.label = label;
|
|
2294
2110
|
if (content !== void 0) element.content = content;
|
|
2295
2111
|
if (node.loc) element.loc = node.loc;
|
|
2296
2112
|
elements.push(element);
|
|
2297
|
-
if (
|
|
2113
|
+
if (chunkZPHNXJRY_cjs.isInputComponentNode(node)) {
|
|
2298
2114
|
inputs.push(toInput(node));
|
|
2299
2115
|
}
|
|
2300
2116
|
if (DISPLAY_CATEGORIES.has(category)) {
|
|
@@ -2304,14 +2120,14 @@ function extractScreenFields(page) {
|
|
|
2304
2120
|
if (node.loc) display.loc = node.loc;
|
|
2305
2121
|
displayData.push(display);
|
|
2306
2122
|
}
|
|
2307
|
-
const interactiveLabel =
|
|
2308
|
-
for (const { kind, target } of
|
|
2123
|
+
const interactiveLabel = chunkZPHNXJRY_cjs.getInteractiveLabel(node);
|
|
2124
|
+
for (const { kind, target } of chunkZPHNXJRY_cjs.getInteractions(node)) {
|
|
2309
2125
|
const action = { nodeType: node.type, kind, target };
|
|
2310
2126
|
if (interactiveLabel !== void 0) action.label = interactiveLabel;
|
|
2311
2127
|
if (node.loc) action.loc = node.loc;
|
|
2312
2128
|
actions.push(action);
|
|
2313
2129
|
}
|
|
2314
|
-
for (const item of
|
|
2130
|
+
for (const item of chunkZPHNXJRY_cjs.getItemInteractions(node)) {
|
|
2315
2131
|
const action = {
|
|
2316
2132
|
nodeType: item.container,
|
|
2317
2133
|
kind: item.kind,
|
|
@@ -2342,7 +2158,7 @@ function extractScreenFields(page) {
|
|
|
2342
2158
|
return fields;
|
|
2343
2159
|
}
|
|
2344
2160
|
function extractAllScreenFields(doc) {
|
|
2345
|
-
return
|
|
2161
|
+
return chunkZPHNXJRY_cjs.documentPages(doc).map((page) => extractScreenFields(page));
|
|
2346
2162
|
}
|
|
2347
2163
|
|
|
2348
2164
|
// src/extract/transitions.ts
|
|
@@ -2357,7 +2173,7 @@ function collectOverlayIds(page) {
|
|
|
2357
2173
|
function collectOverlayIdsFrom(children) {
|
|
2358
2174
|
const ids = /* @__PURE__ */ new Set();
|
|
2359
2175
|
for (const child of children) {
|
|
2360
|
-
|
|
2176
|
+
chunkZPHNXJRY_cjs.walk(child, (node) => {
|
|
2361
2177
|
if (node.type === "Modal" || node.type === "Drawer") {
|
|
2362
2178
|
const id = node.id;
|
|
2363
2179
|
if (typeof id === "string" && id.length > 0) ids.add(id);
|
|
@@ -2377,7 +2193,7 @@ function resolveEdge(from, kind, target, trigger, idToIndex, titleToIndex, overl
|
|
|
2377
2193
|
edge.resolved = true;
|
|
2378
2194
|
return { edge, isDangling: false };
|
|
2379
2195
|
}
|
|
2380
|
-
if (
|
|
2196
|
+
if (chunkZPHNXJRY_cjs.isUrlTarget(target)) {
|
|
2381
2197
|
edge.external = true;
|
|
2382
2198
|
edge.resolved = true;
|
|
2383
2199
|
return { edge, isDangling: false };
|
|
@@ -2391,7 +2207,7 @@ function resolveEdge(from, kind, target, trigger, idToIndex, titleToIndex, overl
|
|
|
2391
2207
|
}
|
|
2392
2208
|
function extractScreenTransitions(doc) {
|
|
2393
2209
|
var _a;
|
|
2394
|
-
const pages =
|
|
2210
|
+
const pages = chunkZPHNXJRY_cjs.documentPages(doc);
|
|
2395
2211
|
const screens = pages.map((page, index) => {
|
|
2396
2212
|
const screen = { index };
|
|
2397
2213
|
const id = pageId(page);
|
|
@@ -2413,7 +2229,7 @@ function extractScreenTransitions(doc) {
|
|
|
2413
2229
|
const edges = [];
|
|
2414
2230
|
const dangling = [];
|
|
2415
2231
|
const external = [];
|
|
2416
|
-
const site =
|
|
2232
|
+
const site = chunkZPHNXJRY_cjs.buildSiteModel(doc);
|
|
2417
2233
|
const shellLayouts = new Map(site.shells.map((shell) => [shell.name, shell.layout]));
|
|
2418
2234
|
const overlayIds = pages.map((page, pageIndex) => {
|
|
2419
2235
|
var _a2;
|
|
@@ -2425,7 +2241,7 @@ function extractScreenTransitions(doc) {
|
|
|
2425
2241
|
}
|
|
2426
2242
|
return ids;
|
|
2427
2243
|
});
|
|
2428
|
-
const normalized =
|
|
2244
|
+
const normalized = chunkZPHNXJRY_cjs.collectInteractions(doc);
|
|
2429
2245
|
for (const interaction of normalized.interactions) {
|
|
2430
2246
|
const page = pages[interaction.screenIndex];
|
|
2431
2247
|
if (page === void 0) continue;
|
|
@@ -2497,7 +2313,7 @@ function pageDescriptor(pageIndex, page) {
|
|
|
2497
2313
|
// src/extract/dom-map.ts
|
|
2498
2314
|
function buildAnchorIndex(doc, pageIndexBase = 0) {
|
|
2499
2315
|
const index = /* @__PURE__ */ new Map();
|
|
2500
|
-
|
|
2316
|
+
chunkZPHNXJRY_cjs.walkAnchorPaths(
|
|
2501
2317
|
doc,
|
|
2502
2318
|
(node, path) => {
|
|
2503
2319
|
const entry = { path, node };
|
|
@@ -2509,14 +2325,14 @@ function buildAnchorIndex(doc, pageIndexBase = 0) {
|
|
|
2509
2325
|
return index;
|
|
2510
2326
|
}
|
|
2511
2327
|
function resolveAnchor(doc, path, pageIndexBase = 0) {
|
|
2512
|
-
return
|
|
2328
|
+
return chunkZPHNXJRY_cjs.resolveAnchorPath(doc, path, pageIndexBase);
|
|
2513
2329
|
}
|
|
2514
2330
|
function sliceSource(source, loc) {
|
|
2515
2331
|
const text = source.slice(loc.start.offset, loc.end.offset);
|
|
2516
2332
|
return { text, trimmed: text.trim(), loc };
|
|
2517
2333
|
}
|
|
2518
2334
|
function getPageSource(source, doc, pageIndex) {
|
|
2519
|
-
const page =
|
|
2335
|
+
const page = chunkZPHNXJRY_cjs.documentPages(doc)[pageIndex];
|
|
2520
2336
|
if (!(page == null ? void 0 : page.loc)) return void 0;
|
|
2521
2337
|
return sliceSource(source, page.loc);
|
|
2522
2338
|
}
|
|
@@ -2526,210 +2342,713 @@ function getNodeSource(source, doc, path, pageIndexBase = 0) {
|
|
|
2526
2342
|
return sliceSource(source, node.loc);
|
|
2527
2343
|
}
|
|
2528
2344
|
function buildDomTree(doc, pageIndexBase = 0) {
|
|
2529
|
-
return
|
|
2345
|
+
return chunkZPHNXJRY_cjs.documentPages(doc).map((page, i) => buildDomTreeNode(page, String(pageIndexBase + i)));
|
|
2530
2346
|
}
|
|
2531
2347
|
function buildDomTreeNode(node, path) {
|
|
2532
2348
|
const treeNode = {
|
|
2533
2349
|
path,
|
|
2534
2350
|
nodeType: node.type,
|
|
2535
|
-
children:
|
|
2351
|
+
children: chunkZPHNXJRY_cjs.anchorChildNodes(node).map((child, i) => buildDomTreeNode(child, `${path}.${i}`))
|
|
2536
2352
|
};
|
|
2537
|
-
const category =
|
|
2353
|
+
const category = chunkZPHNXJRY_cjs.categoryOf(node);
|
|
2538
2354
|
if (category) treeNode.category = category;
|
|
2539
|
-
const label =
|
|
2355
|
+
const label = chunkZPHNXJRY_cjs.getLabel(node);
|
|
2540
2356
|
if (label !== void 0) treeNode.label = label;
|
|
2541
2357
|
return treeNode;
|
|
2542
2358
|
}
|
|
2543
2359
|
|
|
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;
|
|
2360
|
+
Object.defineProperty(exports, "layoutCanvas", {
|
|
2361
|
+
enumerable: true,
|
|
2362
|
+
get: function () { return chunk4TMDPWPR_cjs.layoutCanvas; }
|
|
2363
|
+
});
|
|
2364
|
+
Object.defineProperty(exports, "render", {
|
|
2365
|
+
enumerable: true,
|
|
2366
|
+
get: function () { return chunk4TMDPWPR_cjs.render; }
|
|
2367
|
+
});
|
|
2368
|
+
Object.defineProperty(exports, "renderCanvas", {
|
|
2369
|
+
enumerable: true,
|
|
2370
|
+
get: function () { return chunk4TMDPWPR_cjs.renderCanvas; }
|
|
2371
|
+
});
|
|
2372
|
+
Object.defineProperty(exports, "renderToHtml", {
|
|
2373
|
+
enumerable: true,
|
|
2374
|
+
get: function () { return chunk4TMDPWPR_cjs.renderToHtml; }
|
|
2375
|
+
});
|
|
2376
|
+
Object.defineProperty(exports, "renderToSvg", {
|
|
2377
|
+
enumerable: true,
|
|
2378
|
+
get: function () { return chunk4TMDPWPR_cjs.renderToSvg; }
|
|
2379
|
+
});
|
|
2380
|
+
Object.defineProperty(exports, "advanceClock", {
|
|
2381
|
+
enumerable: true,
|
|
2382
|
+
get: function () { return chunk4UZBGIGJ_cjs.advanceClock; }
|
|
2383
|
+
});
|
|
2384
|
+
Object.defineProperty(exports, "collectParameterReferences", {
|
|
2385
|
+
enumerable: true,
|
|
2386
|
+
get: function () { return chunk4UZBGIGJ_cjs.collectParameterReferences; }
|
|
2387
|
+
});
|
|
2388
|
+
Object.defineProperty(exports, "compileApp", {
|
|
2389
|
+
enumerable: true,
|
|
2390
|
+
get: function () { return chunk4UZBGIGJ_cjs.compileApp; }
|
|
2391
|
+
});
|
|
2392
|
+
Object.defineProperty(exports, "createAppBundle", {
|
|
2393
|
+
enumerable: true,
|
|
2394
|
+
get: function () { return chunk4UZBGIGJ_cjs.createAppBundle; }
|
|
2395
|
+
});
|
|
2396
|
+
Object.defineProperty(exports, "createAppComponentInstanceId", {
|
|
2397
|
+
enumerable: true,
|
|
2398
|
+
get: function () { return chunk4UZBGIGJ_cjs.createAppComponentInstanceId; }
|
|
2399
|
+
});
|
|
2400
|
+
Object.defineProperty(exports, "createAppNodeId", {
|
|
2401
|
+
enumerable: true,
|
|
2402
|
+
get: function () { return chunk4UZBGIGJ_cjs.createAppNodeId; }
|
|
2403
|
+
});
|
|
2404
|
+
Object.defineProperty(exports, "createRuntime", {
|
|
2405
|
+
enumerable: true,
|
|
2406
|
+
get: function () { return chunk4UZBGIGJ_cjs.createRuntime; }
|
|
2407
|
+
});
|
|
2408
|
+
Object.defineProperty(exports, "linkAndCompileApp", {
|
|
2409
|
+
enumerable: true,
|
|
2410
|
+
get: function () { return chunk4UZBGIGJ_cjs.linkAndCompileApp; }
|
|
2411
|
+
});
|
|
2412
|
+
Object.defineProperty(exports, "linkApp", {
|
|
2413
|
+
enumerable: true,
|
|
2414
|
+
get: function () { return chunk4UZBGIGJ_cjs.linkApp; }
|
|
2415
|
+
});
|
|
2416
|
+
Object.defineProperty(exports, "parameterReferenceName", {
|
|
2417
|
+
enumerable: true,
|
|
2418
|
+
get: function () { return chunk4UZBGIGJ_cjs.parameterReferenceName; }
|
|
2419
|
+
});
|
|
2420
|
+
Object.defineProperty(exports, "reduceEvent", {
|
|
2421
|
+
enumerable: true,
|
|
2422
|
+
get: function () { return chunk4UZBGIGJ_cjs.reduceEvent; }
|
|
2423
|
+
});
|
|
2424
|
+
Object.defineProperty(exports, "renderAppSite", {
|
|
2425
|
+
enumerable: true,
|
|
2426
|
+
get: function () { return chunk4UZBGIGJ_cjs.renderSite; }
|
|
2427
|
+
});
|
|
2428
|
+
Object.defineProperty(exports, "resetRuntime", {
|
|
2429
|
+
enumerable: true,
|
|
2430
|
+
get: function () { return chunk4UZBGIGJ_cjs.resetRuntime; }
|
|
2431
|
+
});
|
|
2432
|
+
Object.defineProperty(exports, "V4ParseError", {
|
|
2433
|
+
enumerable: true,
|
|
2434
|
+
get: function () { return chunkIMUVIIJR_cjs.V4ParseError; }
|
|
2435
|
+
});
|
|
2436
|
+
Object.defineProperty(exports, "getErrors", {
|
|
2437
|
+
enumerable: true,
|
|
2438
|
+
get: function () { return chunkIMUVIIJR_cjs.getErrors; }
|
|
2439
|
+
});
|
|
2440
|
+
Object.defineProperty(exports, "getV4SourceSpan", {
|
|
2441
|
+
enumerable: true,
|
|
2442
|
+
get: function () { return chunkIMUVIIJR_cjs.getV4SourceSpan; }
|
|
2443
|
+
});
|
|
2444
|
+
Object.defineProperty(exports, "isValid", {
|
|
2445
|
+
enumerable: true,
|
|
2446
|
+
get: function () { return chunkIMUVIIJR_cjs.isValid; }
|
|
2447
|
+
});
|
|
2448
|
+
Object.defineProperty(exports, "parse", {
|
|
2449
|
+
enumerable: true,
|
|
2450
|
+
get: function () { return chunkIMUVIIJR_cjs.parse; }
|
|
2451
|
+
});
|
|
2452
|
+
Object.defineProperty(exports, "parseV4", {
|
|
2453
|
+
enumerable: true,
|
|
2454
|
+
get: function () { return chunkIMUVIIJR_cjs.parseV4; }
|
|
2455
|
+
});
|
|
2456
|
+
Object.defineProperty(exports, "tryParse", {
|
|
2457
|
+
enumerable: true,
|
|
2458
|
+
get: function () { return chunkIMUVIIJR_cjs.tryParse; }
|
|
2459
|
+
});
|
|
2460
|
+
Object.defineProperty(exports, "tryParseV4", {
|
|
2461
|
+
enumerable: true,
|
|
2462
|
+
get: function () { return chunkIMUVIIJR_cjs.tryParseV4; }
|
|
2463
|
+
});
|
|
2464
|
+
Object.defineProperty(exports, "expandVariants", {
|
|
2465
|
+
enumerable: true,
|
|
2466
|
+
get: function () { return chunk5DGRIQDU_cjs.expandVariants; }
|
|
2467
|
+
});
|
|
2468
|
+
Object.defineProperty(exports, "renderSite", {
|
|
2469
|
+
enumerable: true,
|
|
2470
|
+
get: function () { return chunk5DGRIQDU_cjs.renderSite; }
|
|
2471
|
+
});
|
|
2472
|
+
Object.defineProperty(exports, "ANCHOR_LOC_ATTR", {
|
|
2473
|
+
enumerable: true,
|
|
2474
|
+
get: function () { return chunkZPHNXJRY_cjs.ANCHOR_LOC_ATTR; }
|
|
2475
|
+
});
|
|
2476
|
+
Object.defineProperty(exports, "ANCHOR_PATH_ATTR", {
|
|
2477
|
+
enumerable: true,
|
|
2478
|
+
get: function () { return chunkZPHNXJRY_cjs.ANCHOR_PATH_ATTR; }
|
|
2479
|
+
});
|
|
2480
|
+
Object.defineProperty(exports, "ENABLED_GUARD_ATTR", {
|
|
2481
|
+
enumerable: true,
|
|
2482
|
+
get: function () { return chunkZPHNXJRY_cjs.ENABLED_GUARD_ATTR; }
|
|
2483
|
+
});
|
|
2484
|
+
Object.defineProperty(exports, "EXTERNAL_NAVIGATE_ATTR", {
|
|
2485
|
+
enumerable: true,
|
|
2486
|
+
get: function () { return chunkZPHNXJRY_cjs.EXTERNAL_NAVIGATE_ATTR; }
|
|
2487
|
+
});
|
|
2488
|
+
Object.defineProperty(exports, "HtmlRenderer", {
|
|
2489
|
+
enumerable: true,
|
|
2490
|
+
get: function () { return chunkZPHNXJRY_cjs.HtmlRenderer; }
|
|
2491
|
+
});
|
|
2492
|
+
Object.defineProperty(exports, "INERT_HREF", {
|
|
2493
|
+
enumerable: true,
|
|
2494
|
+
get: function () { return chunkZPHNXJRY_cjs.INERT_HREF; }
|
|
2495
|
+
});
|
|
2496
|
+
Object.defineProperty(exports, "INTERACTIVE_ATTR_NAMES", {
|
|
2497
|
+
enumerable: true,
|
|
2498
|
+
get: function () { return chunkZPHNXJRY_cjs.INTERACTIVE_ATTR_NAMES; }
|
|
2499
|
+
});
|
|
2500
|
+
Object.defineProperty(exports, "REPEAT_EXPANSION_BUDGET", {
|
|
2501
|
+
enumerable: true,
|
|
2502
|
+
get: function () { return chunkZPHNXJRY_cjs.REPEAT_EXPANSION_BUDGET; }
|
|
2503
|
+
});
|
|
2504
|
+
Object.defineProperty(exports, "RepeatBudgetError", {
|
|
2505
|
+
enumerable: true,
|
|
2506
|
+
get: function () { return chunkZPHNXJRY_cjs.RepeatBudgetError; }
|
|
2507
|
+
});
|
|
2508
|
+
Object.defineProperty(exports, "TYPED_INTERACTION_ATTR", {
|
|
2509
|
+
enumerable: true,
|
|
2510
|
+
get: function () { return chunkZPHNXJRY_cjs.TYPED_INTERACTION_ATTR; }
|
|
2511
|
+
});
|
|
2512
|
+
Object.defineProperty(exports, "VISIBLE_GUARD_ATTR", {
|
|
2513
|
+
enumerable: true,
|
|
2514
|
+
get: function () { return chunkZPHNXJRY_cjs.VISIBLE_GUARD_ATTR; }
|
|
2515
|
+
});
|
|
2516
|
+
Object.defineProperty(exports, "anchorIntent", {
|
|
2517
|
+
enumerable: true,
|
|
2518
|
+
get: function () { return chunkZPHNXJRY_cjs.anchorIntent; }
|
|
2519
|
+
});
|
|
2520
|
+
Object.defineProperty(exports, "buildSiteModel", {
|
|
2521
|
+
enumerable: true,
|
|
2522
|
+
get: function () { return chunkZPHNXJRY_cjs.buildSiteModel; }
|
|
2523
|
+
});
|
|
2524
|
+
Object.defineProperty(exports, "cloneNode", {
|
|
2525
|
+
enumerable: true,
|
|
2526
|
+
get: function () { return chunkZPHNXJRY_cjs.cloneNode; }
|
|
2527
|
+
});
|
|
2528
|
+
Object.defineProperty(exports, "collectInteractions", {
|
|
2529
|
+
enumerable: true,
|
|
2530
|
+
get: function () { return chunkZPHNXJRY_cjs.collectInteractions; }
|
|
2531
|
+
});
|
|
2532
|
+
Object.defineProperty(exports, "contains", {
|
|
2533
|
+
enumerable: true,
|
|
2534
|
+
get: function () { return chunkZPHNXJRY_cjs.contains; }
|
|
2535
|
+
});
|
|
2536
|
+
Object.defineProperty(exports, "countNodes", {
|
|
2537
|
+
enumerable: true,
|
|
2538
|
+
get: function () { return chunkZPHNXJRY_cjs.countNodes; }
|
|
2539
|
+
});
|
|
2540
|
+
Object.defineProperty(exports, "createHtmlRenderer", {
|
|
2541
|
+
enumerable: true,
|
|
2542
|
+
get: function () { return chunkZPHNXJRY_cjs.createHtmlRenderer; }
|
|
2543
|
+
});
|
|
2544
|
+
Object.defineProperty(exports, "darkTheme", {
|
|
2545
|
+
enumerable: true,
|
|
2546
|
+
get: function () { return chunkZPHNXJRY_cjs.darkTheme; }
|
|
2547
|
+
});
|
|
2548
|
+
Object.defineProperty(exports, "defaultTheme", {
|
|
2549
|
+
enumerable: true,
|
|
2550
|
+
get: function () { return chunkZPHNXJRY_cjs.defaultTheme; }
|
|
2551
|
+
});
|
|
2552
|
+
Object.defineProperty(exports, "documentDefinitions", {
|
|
2553
|
+
enumerable: true,
|
|
2554
|
+
get: function () { return chunkZPHNXJRY_cjs.documentDefinitions; }
|
|
2555
|
+
});
|
|
2556
|
+
Object.defineProperty(exports, "documentPages", {
|
|
2557
|
+
enumerable: true,
|
|
2558
|
+
get: function () { return chunkZPHNXJRY_cjs.documentPages; }
|
|
2559
|
+
});
|
|
2560
|
+
Object.defineProperty(exports, "expandRepeats", {
|
|
2561
|
+
enumerable: true,
|
|
2562
|
+
get: function () { return chunkZPHNXJRY_cjs.expandRepeats; }
|
|
2563
|
+
});
|
|
2564
|
+
Object.defineProperty(exports, "filterUnscopedPages", {
|
|
2565
|
+
enumerable: true,
|
|
2566
|
+
get: function () { return chunkZPHNXJRY_cjs.filterUnscopedPages; }
|
|
2567
|
+
});
|
|
2568
|
+
Object.defineProperty(exports, "filterVariantScope", {
|
|
2569
|
+
enumerable: true,
|
|
2570
|
+
get: function () { return chunkZPHNXJRY_cjs.filterVariantScope; }
|
|
2571
|
+
});
|
|
2572
|
+
Object.defineProperty(exports, "find", {
|
|
2573
|
+
enumerable: true,
|
|
2574
|
+
get: function () { return chunkZPHNXJRY_cjs.find; }
|
|
2575
|
+
});
|
|
2576
|
+
Object.defineProperty(exports, "findAll", {
|
|
2577
|
+
enumerable: true,
|
|
2578
|
+
get: function () { return chunkZPHNXJRY_cjs.findAll; }
|
|
2579
|
+
});
|
|
2580
|
+
Object.defineProperty(exports, "findByType", {
|
|
2581
|
+
enumerable: true,
|
|
2582
|
+
get: function () { return chunkZPHNXJRY_cjs.findByType; }
|
|
2583
|
+
});
|
|
2584
|
+
Object.defineProperty(exports, "generateComponentStyles", {
|
|
2585
|
+
enumerable: true,
|
|
2586
|
+
get: function () { return chunkZPHNXJRY_cjs.generateComponentStyles; }
|
|
2587
|
+
});
|
|
2588
|
+
Object.defineProperty(exports, "generateStyles", {
|
|
2589
|
+
enumerable: true,
|
|
2590
|
+
get: function () { return chunkZPHNXJRY_cjs.generateStyles; }
|
|
2591
|
+
});
|
|
2592
|
+
Object.defineProperty(exports, "getAncestors", {
|
|
2593
|
+
enumerable: true,
|
|
2594
|
+
get: function () { return chunkZPHNXJRY_cjs.getAncestors; }
|
|
2595
|
+
});
|
|
2596
|
+
Object.defineProperty(exports, "getIconData", {
|
|
2597
|
+
enumerable: true,
|
|
2598
|
+
get: function () { return chunkZPHNXJRY_cjs.getIconData; }
|
|
2599
|
+
});
|
|
2600
|
+
Object.defineProperty(exports, "getMaxDepth", {
|
|
2601
|
+
enumerable: true,
|
|
2602
|
+
get: function () { return chunkZPHNXJRY_cjs.getMaxDepth; }
|
|
2603
|
+
});
|
|
2604
|
+
Object.defineProperty(exports, "getNodeTypes", {
|
|
2605
|
+
enumerable: true,
|
|
2606
|
+
get: function () { return chunkZPHNXJRY_cjs.getNodeTypes; }
|
|
2607
|
+
});
|
|
2608
|
+
Object.defineProperty(exports, "getTheme", {
|
|
2609
|
+
enumerable: true,
|
|
2610
|
+
get: function () { return chunkZPHNXJRY_cjs.getTheme; }
|
|
2611
|
+
});
|
|
2612
|
+
Object.defineProperty(exports, "guardedOutcomeAttrs", {
|
|
2613
|
+
enumerable: true,
|
|
2614
|
+
get: function () { return chunkZPHNXJRY_cjs.guardedOutcomeAttrs; }
|
|
2615
|
+
});
|
|
2616
|
+
Object.defineProperty(exports, "hasChildren", {
|
|
2617
|
+
enumerable: true,
|
|
2618
|
+
get: function () { return chunkZPHNXJRY_cjs.hasChildren; }
|
|
2619
|
+
});
|
|
2620
|
+
Object.defineProperty(exports, "interactionSignature", {
|
|
2621
|
+
enumerable: true,
|
|
2622
|
+
get: function () { return chunkZPHNXJRY_cjs.interactionSignature; }
|
|
2623
|
+
});
|
|
2624
|
+
Object.defineProperty(exports, "interactiveAttrs", {
|
|
2625
|
+
enumerable: true,
|
|
2626
|
+
get: function () { return chunkZPHNXJRY_cjs.interactiveAttrs; }
|
|
2627
|
+
});
|
|
2628
|
+
Object.defineProperty(exports, "isAccordionNode", {
|
|
2629
|
+
enumerable: true,
|
|
2630
|
+
get: function () { return chunkZPHNXJRY_cjs.isAccordionNode; }
|
|
2631
|
+
});
|
|
2632
|
+
Object.defineProperty(exports, "isAlertNode", {
|
|
2633
|
+
enumerable: true,
|
|
2634
|
+
get: function () { return chunkZPHNXJRY_cjs.isAlertNode; }
|
|
2635
|
+
});
|
|
2636
|
+
Object.defineProperty(exports, "isAvatarNode", {
|
|
2637
|
+
enumerable: true,
|
|
2638
|
+
get: function () { return chunkZPHNXJRY_cjs.isAvatarNode; }
|
|
2639
|
+
});
|
|
2640
|
+
Object.defineProperty(exports, "isBadgeNode", {
|
|
2641
|
+
enumerable: true,
|
|
2642
|
+
get: function () { return chunkZPHNXJRY_cjs.isBadgeNode; }
|
|
2643
|
+
});
|
|
2644
|
+
Object.defineProperty(exports, "isBreadcrumbNode", {
|
|
2645
|
+
enumerable: true,
|
|
2646
|
+
get: function () { return chunkZPHNXJRY_cjs.isBreadcrumbNode; }
|
|
2647
|
+
});
|
|
2648
|
+
Object.defineProperty(exports, "isButtonNode", {
|
|
2649
|
+
enumerable: true,
|
|
2650
|
+
get: function () { return chunkZPHNXJRY_cjs.isButtonNode; }
|
|
2651
|
+
});
|
|
2652
|
+
Object.defineProperty(exports, "isCardNode", {
|
|
2653
|
+
enumerable: true,
|
|
2654
|
+
get: function () { return chunkZPHNXJRY_cjs.isCardNode; }
|
|
2655
|
+
});
|
|
2656
|
+
Object.defineProperty(exports, "isCheckboxNode", {
|
|
2657
|
+
enumerable: true,
|
|
2658
|
+
get: function () { return chunkZPHNXJRY_cjs.isCheckboxNode; }
|
|
2659
|
+
});
|
|
2660
|
+
Object.defineProperty(exports, "isColNode", {
|
|
2661
|
+
enumerable: true,
|
|
2662
|
+
get: function () { return chunkZPHNXJRY_cjs.isColNode; }
|
|
2663
|
+
});
|
|
2664
|
+
Object.defineProperty(exports, "isComponentDefinitionNode", {
|
|
2665
|
+
enumerable: true,
|
|
2666
|
+
get: function () { return chunkZPHNXJRY_cjs.isComponentDefinitionNode; }
|
|
2667
|
+
});
|
|
2668
|
+
Object.defineProperty(exports, "isComponentUseNode", {
|
|
2669
|
+
enumerable: true,
|
|
2670
|
+
get: function () { return chunkZPHNXJRY_cjs.isComponentUseNode; }
|
|
2671
|
+
});
|
|
2672
|
+
Object.defineProperty(exports, "isContainerComponentNode", {
|
|
2673
|
+
enumerable: true,
|
|
2674
|
+
get: function () { return chunkZPHNXJRY_cjs.isContainerComponentNode; }
|
|
2675
|
+
});
|
|
2676
|
+
Object.defineProperty(exports, "isContainerNode", {
|
|
2677
|
+
enumerable: true,
|
|
2678
|
+
get: function () { return chunkZPHNXJRY_cjs.isContainerNode; }
|
|
2679
|
+
});
|
|
2680
|
+
Object.defineProperty(exports, "isDataNode", {
|
|
2681
|
+
enumerable: true,
|
|
2682
|
+
get: function () { return chunkZPHNXJRY_cjs.isDataNode; }
|
|
2683
|
+
});
|
|
2684
|
+
Object.defineProperty(exports, "isDefinitionNode", {
|
|
2685
|
+
enumerable: true,
|
|
2686
|
+
get: function () { return chunkZPHNXJRY_cjs.isDefinitionNode; }
|
|
2687
|
+
});
|
|
2688
|
+
Object.defineProperty(exports, "isDisplayNode", {
|
|
2689
|
+
enumerable: true,
|
|
2690
|
+
get: function () { return chunkZPHNXJRY_cjs.isDisplayNode; }
|
|
2691
|
+
});
|
|
2692
|
+
Object.defineProperty(exports, "isDividerNode", {
|
|
2693
|
+
enumerable: true,
|
|
2694
|
+
get: function () { return chunkZPHNXJRY_cjs.isDividerNode; }
|
|
2695
|
+
});
|
|
2696
|
+
Object.defineProperty(exports, "isDrawerNode", {
|
|
2697
|
+
enumerable: true,
|
|
2698
|
+
get: function () { return chunkZPHNXJRY_cjs.isDrawerNode; }
|
|
2699
|
+
});
|
|
2700
|
+
Object.defineProperty(exports, "isDropdownNode", {
|
|
2701
|
+
enumerable: true,
|
|
2702
|
+
get: function () { return chunkZPHNXJRY_cjs.isDropdownNode; }
|
|
2703
|
+
});
|
|
2704
|
+
Object.defineProperty(exports, "isFeedbackNode", {
|
|
2705
|
+
enumerable: true,
|
|
2706
|
+
get: function () { return chunkZPHNXJRY_cjs.isFeedbackNode; }
|
|
2707
|
+
});
|
|
2708
|
+
Object.defineProperty(exports, "isFooterNode", {
|
|
2709
|
+
enumerable: true,
|
|
2710
|
+
get: function () { return chunkZPHNXJRY_cjs.isFooterNode; }
|
|
2711
|
+
});
|
|
2712
|
+
Object.defineProperty(exports, "isGridNode", {
|
|
2713
|
+
enumerable: true,
|
|
2714
|
+
get: function () { return chunkZPHNXJRY_cjs.isGridNode; }
|
|
2715
|
+
});
|
|
2716
|
+
Object.defineProperty(exports, "isHeaderNode", {
|
|
2717
|
+
enumerable: true,
|
|
2718
|
+
get: function () { return chunkZPHNXJRY_cjs.isHeaderNode; }
|
|
2719
|
+
});
|
|
2720
|
+
Object.defineProperty(exports, "isIconNode", {
|
|
2721
|
+
enumerable: true,
|
|
2722
|
+
get: function () { return chunkZPHNXJRY_cjs.isIconNode; }
|
|
2723
|
+
});
|
|
2724
|
+
Object.defineProperty(exports, "isImageNode", {
|
|
2725
|
+
enumerable: true,
|
|
2726
|
+
get: function () { return chunkZPHNXJRY_cjs.isImageNode; }
|
|
2727
|
+
});
|
|
2728
|
+
Object.defineProperty(exports, "isInputComponentNode", {
|
|
2729
|
+
enumerable: true,
|
|
2730
|
+
get: function () { return chunkZPHNXJRY_cjs.isInputComponentNode; }
|
|
2731
|
+
});
|
|
2732
|
+
Object.defineProperty(exports, "isInputNode", {
|
|
2733
|
+
enumerable: true,
|
|
2734
|
+
get: function () { return chunkZPHNXJRY_cjs.isInputNode; }
|
|
2735
|
+
});
|
|
2736
|
+
Object.defineProperty(exports, "isLayoutDefinitionNode", {
|
|
2737
|
+
enumerable: true,
|
|
2738
|
+
get: function () { return chunkZPHNXJRY_cjs.isLayoutDefinitionNode; }
|
|
2739
|
+
});
|
|
2740
|
+
Object.defineProperty(exports, "isLayoutNode", {
|
|
2741
|
+
enumerable: true,
|
|
2742
|
+
get: function () { return chunkZPHNXJRY_cjs.isLayoutNode; }
|
|
2743
|
+
});
|
|
2744
|
+
Object.defineProperty(exports, "isLeafNode", {
|
|
2745
|
+
enumerable: true,
|
|
2746
|
+
get: function () { return chunkZPHNXJRY_cjs.isLeafNode; }
|
|
2747
|
+
});
|
|
2748
|
+
Object.defineProperty(exports, "isLinkNode", {
|
|
2749
|
+
enumerable: true,
|
|
2750
|
+
get: function () { return chunkZPHNXJRY_cjs.isLinkNode; }
|
|
2751
|
+
});
|
|
2752
|
+
Object.defineProperty(exports, "isListNode", {
|
|
2753
|
+
enumerable: true,
|
|
2754
|
+
get: function () { return chunkZPHNXJRY_cjs.isListNode; }
|
|
2755
|
+
});
|
|
2756
|
+
Object.defineProperty(exports, "isMainNode", {
|
|
2757
|
+
enumerable: true,
|
|
2758
|
+
get: function () { return chunkZPHNXJRY_cjs.isMainNode; }
|
|
2759
|
+
});
|
|
2760
|
+
Object.defineProperty(exports, "isModalNode", {
|
|
2761
|
+
enumerable: true,
|
|
2762
|
+
get: function () { return chunkZPHNXJRY_cjs.isModalNode; }
|
|
2763
|
+
});
|
|
2764
|
+
Object.defineProperty(exports, "isNavNode", {
|
|
2765
|
+
enumerable: true,
|
|
2766
|
+
get: function () { return chunkZPHNXJRY_cjs.isNavNode; }
|
|
2767
|
+
});
|
|
2768
|
+
Object.defineProperty(exports, "isNavigationNode", {
|
|
2769
|
+
enumerable: true,
|
|
2770
|
+
get: function () { return chunkZPHNXJRY_cjs.isNavigationNode; }
|
|
2771
|
+
});
|
|
2772
|
+
Object.defineProperty(exports, "isNodeType", {
|
|
2773
|
+
enumerable: true,
|
|
2774
|
+
get: function () { return chunkZPHNXJRY_cjs.isNodeType; }
|
|
2775
|
+
});
|
|
2776
|
+
Object.defineProperty(exports, "isOverlayNode", {
|
|
2777
|
+
enumerable: true,
|
|
2778
|
+
get: function () { return chunkZPHNXJRY_cjs.isOverlayNode; }
|
|
2779
|
+
});
|
|
2780
|
+
Object.defineProperty(exports, "isPageNode", {
|
|
2781
|
+
enumerable: true,
|
|
2782
|
+
get: function () { return chunkZPHNXJRY_cjs.isPageNode; }
|
|
2783
|
+
});
|
|
2784
|
+
Object.defineProperty(exports, "isPlaceholderNode", {
|
|
2785
|
+
enumerable: true,
|
|
2786
|
+
get: function () { return chunkZPHNXJRY_cjs.isPlaceholderNode; }
|
|
2787
|
+
});
|
|
2788
|
+
Object.defineProperty(exports, "isPopoverNode", {
|
|
2789
|
+
enumerable: true,
|
|
2790
|
+
get: function () { return chunkZPHNXJRY_cjs.isPopoverNode; }
|
|
2791
|
+
});
|
|
2792
|
+
Object.defineProperty(exports, "isProgressNode", {
|
|
2793
|
+
enumerable: true,
|
|
2794
|
+
get: function () { return chunkZPHNXJRY_cjs.isProgressNode; }
|
|
2795
|
+
});
|
|
2796
|
+
Object.defineProperty(exports, "isRadioNode", {
|
|
2797
|
+
enumerable: true,
|
|
2798
|
+
get: function () { return chunkZPHNXJRY_cjs.isRadioNode; }
|
|
2799
|
+
});
|
|
2800
|
+
Object.defineProperty(exports, "isRowNode", {
|
|
2801
|
+
enumerable: true,
|
|
2802
|
+
get: function () { return chunkZPHNXJRY_cjs.isRowNode; }
|
|
2803
|
+
});
|
|
2804
|
+
Object.defineProperty(exports, "isSectionNode", {
|
|
2805
|
+
enumerable: true,
|
|
2806
|
+
get: function () { return chunkZPHNXJRY_cjs.isSectionNode; }
|
|
2807
|
+
});
|
|
2808
|
+
Object.defineProperty(exports, "isSelectNode", {
|
|
2809
|
+
enumerable: true,
|
|
2810
|
+
get: function () { return chunkZPHNXJRY_cjs.isSelectNode; }
|
|
2811
|
+
});
|
|
2812
|
+
Object.defineProperty(exports, "isSidebarNode", {
|
|
2813
|
+
enumerable: true,
|
|
2814
|
+
get: function () { return chunkZPHNXJRY_cjs.isSidebarNode; }
|
|
2815
|
+
});
|
|
2816
|
+
Object.defineProperty(exports, "isSliderNode", {
|
|
2817
|
+
enumerable: true,
|
|
2818
|
+
get: function () { return chunkZPHNXJRY_cjs.isSliderNode; }
|
|
2819
|
+
});
|
|
2820
|
+
Object.defineProperty(exports, "isSlotNode", {
|
|
2821
|
+
enumerable: true,
|
|
2822
|
+
get: function () { return chunkZPHNXJRY_cjs.isSlotNode; }
|
|
2823
|
+
});
|
|
2824
|
+
Object.defineProperty(exports, "isSpinnerNode", {
|
|
2825
|
+
enumerable: true,
|
|
2826
|
+
get: function () { return chunkZPHNXJRY_cjs.isSpinnerNode; }
|
|
2827
|
+
});
|
|
2828
|
+
Object.defineProperty(exports, "isSwitchNode", {
|
|
2829
|
+
enumerable: true,
|
|
2830
|
+
get: function () { return chunkZPHNXJRY_cjs.isSwitchNode; }
|
|
2831
|
+
});
|
|
2832
|
+
Object.defineProperty(exports, "isTableNode", {
|
|
2833
|
+
enumerable: true,
|
|
2834
|
+
get: function () { return chunkZPHNXJRY_cjs.isTableNode; }
|
|
2835
|
+
});
|
|
2836
|
+
Object.defineProperty(exports, "isTabsNode", {
|
|
2837
|
+
enumerable: true,
|
|
2838
|
+
get: function () { return chunkZPHNXJRY_cjs.isTabsNode; }
|
|
2839
|
+
});
|
|
2840
|
+
Object.defineProperty(exports, "isTextContentNode", {
|
|
2841
|
+
enumerable: true,
|
|
2842
|
+
get: function () { return chunkZPHNXJRY_cjs.isTextContentNode; }
|
|
2843
|
+
});
|
|
2844
|
+
Object.defineProperty(exports, "isTextNode", {
|
|
2845
|
+
enumerable: true,
|
|
2846
|
+
get: function () { return chunkZPHNXJRY_cjs.isTextNode; }
|
|
2847
|
+
});
|
|
2848
|
+
Object.defineProperty(exports, "isTextareaNode", {
|
|
2849
|
+
enumerable: true,
|
|
2850
|
+
get: function () { return chunkZPHNXJRY_cjs.isTextareaNode; }
|
|
2851
|
+
});
|
|
2852
|
+
Object.defineProperty(exports, "isTitleNode", {
|
|
2853
|
+
enumerable: true,
|
|
2854
|
+
get: function () { return chunkZPHNXJRY_cjs.isTitleNode; }
|
|
2855
|
+
});
|
|
2856
|
+
Object.defineProperty(exports, "isToastNode", {
|
|
2857
|
+
enumerable: true,
|
|
2858
|
+
get: function () { return chunkZPHNXJRY_cjs.isToastNode; }
|
|
2859
|
+
});
|
|
2860
|
+
Object.defineProperty(exports, "isTooltipNode", {
|
|
2861
|
+
enumerable: true,
|
|
2862
|
+
get: function () { return chunkZPHNXJRY_cjs.isTooltipNode; }
|
|
2863
|
+
});
|
|
2864
|
+
Object.defineProperty(exports, "isUrlTarget", {
|
|
2865
|
+
enumerable: true,
|
|
2866
|
+
get: function () { return chunkZPHNXJRY_cjs.isUrlTarget; }
|
|
2867
|
+
});
|
|
2868
|
+
Object.defineProperty(exports, "lucideIcons", {
|
|
2869
|
+
enumerable: true,
|
|
2870
|
+
get: function () { return chunkZPHNXJRY_cjs.lucideIcons; }
|
|
2871
|
+
});
|
|
2872
|
+
Object.defineProperty(exports, "mapNodes", {
|
|
2873
|
+
enumerable: true,
|
|
2874
|
+
get: function () { return chunkZPHNXJRY_cjs.mapNodes; }
|
|
2875
|
+
});
|
|
2876
|
+
Object.defineProperty(exports, "normalizeInteractionHandlers", {
|
|
2877
|
+
enumerable: true,
|
|
2878
|
+
get: function () { return chunkZPHNXJRY_cjs.normalizeInteractionHandlers; }
|
|
2879
|
+
});
|
|
2880
|
+
Object.defineProperty(exports, "normalizeStateGuard", {
|
|
2881
|
+
enumerable: true,
|
|
2882
|
+
get: function () { return chunkZPHNXJRY_cjs.normalizeStateGuard; }
|
|
2883
|
+
});
|
|
2884
|
+
Object.defineProperty(exports, "renderIconSvg", {
|
|
2885
|
+
enumerable: true,
|
|
2886
|
+
get: function () { return chunkZPHNXJRY_cjs.renderIconSvg; }
|
|
2887
|
+
});
|
|
2888
|
+
Object.defineProperty(exports, "renderPage", {
|
|
2889
|
+
enumerable: true,
|
|
2890
|
+
get: function () { return chunkZPHNXJRY_cjs.renderPage; }
|
|
2891
|
+
});
|
|
2892
|
+
Object.defineProperty(exports, "renderUnknownIconSvg", {
|
|
2893
|
+
enumerable: true,
|
|
2894
|
+
get: function () { return chunkZPHNXJRY_cjs.renderUnknownIconSvg; }
|
|
2895
|
+
});
|
|
2896
|
+
Object.defineProperty(exports, "resolvePageDimensions", {
|
|
2897
|
+
enumerable: true,
|
|
2898
|
+
get: function () { return chunkZPHNXJRY_cjs.resolvePageDimensions; }
|
|
2899
|
+
});
|
|
2900
|
+
Object.defineProperty(exports, "variantScope", {
|
|
2901
|
+
enumerable: true,
|
|
2902
|
+
get: function () { return chunkZPHNXJRY_cjs.variantScope; }
|
|
2903
|
+
});
|
|
2904
|
+
Object.defineProperty(exports, "walk", {
|
|
2905
|
+
enumerable: true,
|
|
2906
|
+
get: function () { return chunkZPHNXJRY_cjs.walk; }
|
|
2907
|
+
});
|
|
2908
|
+
Object.defineProperty(exports, "walkDocument", {
|
|
2909
|
+
enumerable: true,
|
|
2910
|
+
get: function () { return chunkZPHNXJRY_cjs.walkDocument; }
|
|
2911
|
+
});
|
|
2912
|
+
Object.defineProperty(exports, "ATTRIBUTE_MAP", {
|
|
2913
|
+
enumerable: true,
|
|
2914
|
+
get: function () { return chunkMD6MNOEQ_cjs.ATTRIBUTE_MAP; }
|
|
2915
|
+
});
|
|
2916
|
+
Object.defineProperty(exports, "ATTRIBUTE_OVERRIDES", {
|
|
2917
|
+
enumerable: true,
|
|
2918
|
+
get: function () { return chunkMD6MNOEQ_cjs.ATTRIBUTE_OVERRIDES; }
|
|
2919
|
+
});
|
|
2920
|
+
Object.defineProperty(exports, "ATTRIBUTE_SPECS", {
|
|
2921
|
+
enumerable: true,
|
|
2922
|
+
get: function () { return chunkMD6MNOEQ_cjs.ATTRIBUTE_SPECS; }
|
|
2923
|
+
});
|
|
2924
|
+
Object.defineProperty(exports, "BLOCK_NODE_SPECS", {
|
|
2925
|
+
enumerable: true,
|
|
2926
|
+
get: function () { return chunkMD6MNOEQ_cjs.BLOCK_NODE_SPECS; }
|
|
2927
|
+
});
|
|
2928
|
+
Object.defineProperty(exports, "BOX_ATTRIBUTES", {
|
|
2929
|
+
enumerable: true,
|
|
2930
|
+
get: function () { return chunkMD6MNOEQ_cjs.BOX_ATTRIBUTES; }
|
|
2931
|
+
});
|
|
2932
|
+
Object.defineProperty(exports, "COMPONENT_MAP", {
|
|
2933
|
+
enumerable: true,
|
|
2934
|
+
get: function () { return chunkMD6MNOEQ_cjs.COMPONENT_MAP; }
|
|
2935
|
+
});
|
|
2936
|
+
Object.defineProperty(exports, "COMPONENT_NAMES", {
|
|
2937
|
+
enumerable: true,
|
|
2938
|
+
get: function () { return chunkMD6MNOEQ_cjs.COMPONENT_NAMES; }
|
|
2939
|
+
});
|
|
2940
|
+
Object.defineProperty(exports, "COMPONENT_SPECS", {
|
|
2941
|
+
enumerable: true,
|
|
2942
|
+
get: function () { return chunkMD6MNOEQ_cjs.COMPONENT_SPECS; }
|
|
2943
|
+
});
|
|
2944
|
+
Object.defineProperty(exports, "COMPONENT_SPEC_BY_NAME", {
|
|
2945
|
+
enumerable: true,
|
|
2946
|
+
get: function () { return chunkMD6MNOEQ_cjs.COMPONENT_SPEC_BY_NAME; }
|
|
2947
|
+
});
|
|
2948
|
+
Object.defineProperty(exports, "CONTAINER_ATTRIBUTES", {
|
|
2949
|
+
enumerable: true,
|
|
2950
|
+
get: function () { return chunkMD6MNOEQ_cjs.CONTAINER_ATTRIBUTES; }
|
|
2951
|
+
});
|
|
2952
|
+
Object.defineProperty(exports, "DEFAULT_VIEWPORT", {
|
|
2953
|
+
enumerable: true,
|
|
2954
|
+
get: function () { return chunkMD6MNOEQ_cjs.DEFAULT_VIEWPORT; }
|
|
2955
|
+
});
|
|
2956
|
+
Object.defineProperty(exports, "DEVICE_PRESETS", {
|
|
2957
|
+
enumerable: true,
|
|
2958
|
+
get: function () { return chunkMD6MNOEQ_cjs.DEVICE_PRESETS; }
|
|
2959
|
+
});
|
|
2960
|
+
Object.defineProperty(exports, "ELEMENT_NODE_TYPE_MAP", {
|
|
2961
|
+
enumerable: true,
|
|
2962
|
+
get: function () { return chunkMD6MNOEQ_cjs.ELEMENT_NODE_TYPE_MAP; }
|
|
2963
|
+
});
|
|
2964
|
+
Object.defineProperty(exports, "GRAMMAR_BLOCK_NODE_TYPES", {
|
|
2965
|
+
enumerable: true,
|
|
2966
|
+
get: function () { return chunkMD6MNOEQ_cjs.GRAMMAR_BLOCK_NODE_TYPES; }
|
|
2967
|
+
});
|
|
2968
|
+
Object.defineProperty(exports, "GRAMMAR_CHILD_KEYWORDS", {
|
|
2969
|
+
enumerable: true,
|
|
2970
|
+
get: function () { return chunkMD6MNOEQ_cjs.GRAMMAR_CHILD_KEYWORDS; }
|
|
2971
|
+
});
|
|
2972
|
+
Object.defineProperty(exports, "GRAMMAR_ELEMENTS", {
|
|
2973
|
+
enumerable: true,
|
|
2974
|
+
get: function () { return chunkMD6MNOEQ_cjs.GRAMMAR_ELEMENTS; }
|
|
2975
|
+
});
|
|
2976
|
+
Object.defineProperty(exports, "INTERACTIVE_ATTRIBUTES", {
|
|
2977
|
+
enumerable: true,
|
|
2978
|
+
get: function () { return chunkMD6MNOEQ_cjs.INTERACTIVE_ATTRIBUTES; }
|
|
2979
|
+
});
|
|
2980
|
+
Object.defineProperty(exports, "LUCIDE_ICON_NAMES", {
|
|
2981
|
+
enumerable: true,
|
|
2982
|
+
get: function () { return chunkMD6MNOEQ_cjs.LUCIDE_ICON_NAMES; }
|
|
2983
|
+
});
|
|
2984
|
+
Object.defineProperty(exports, "NODE_TYPE_MAP", {
|
|
2985
|
+
enumerable: true,
|
|
2986
|
+
get: function () { return chunkMD6MNOEQ_cjs.NODE_TYPE_MAP; }
|
|
2987
|
+
});
|
|
2988
|
+
Object.defineProperty(exports, "VALID_ATTRIBUTE_NAMES", {
|
|
2989
|
+
enumerable: true,
|
|
2990
|
+
get: function () { return chunkMD6MNOEQ_cjs.VALID_ATTRIBUTE_NAMES; }
|
|
2991
|
+
});
|
|
2992
|
+
Object.defineProperty(exports, "VALID_COMPONENT_NAMES", {
|
|
2993
|
+
enumerable: true,
|
|
2994
|
+
get: function () { return chunkMD6MNOEQ_cjs.VALID_COMPONENT_NAMES; }
|
|
2995
|
+
});
|
|
2996
|
+
Object.defineProperty(exports, "attributeFor", {
|
|
2997
|
+
enumerable: true,
|
|
2998
|
+
get: function () { return chunkMD6MNOEQ_cjs.attributeFor; }
|
|
2999
|
+
});
|
|
3000
|
+
Object.defineProperty(exports, "calculateViewportScale", {
|
|
3001
|
+
enumerable: true,
|
|
3002
|
+
get: function () { return chunkMD6MNOEQ_cjs.calculateViewportScale; }
|
|
3003
|
+
});
|
|
3004
|
+
Object.defineProperty(exports, "getDevicePresets", {
|
|
3005
|
+
enumerable: true,
|
|
3006
|
+
get: function () { return chunkMD6MNOEQ_cjs.getDevicePresets; }
|
|
3007
|
+
});
|
|
3008
|
+
Object.defineProperty(exports, "getValidAttributes", {
|
|
3009
|
+
enumerable: true,
|
|
3010
|
+
get: function () { return chunkMD6MNOEQ_cjs.getValidAttributes; }
|
|
3011
|
+
});
|
|
3012
|
+
Object.defineProperty(exports, "isValidAttribute", {
|
|
3013
|
+
enumerable: true,
|
|
3014
|
+
get: function () { return chunkMD6MNOEQ_cjs.isValidAttribute; }
|
|
3015
|
+
});
|
|
3016
|
+
Object.defineProperty(exports, "isValidDevicePreset", {
|
|
3017
|
+
enumerable: true,
|
|
3018
|
+
get: function () { return chunkMD6MNOEQ_cjs.isValidDevicePreset; }
|
|
3019
|
+
});
|
|
3020
|
+
Object.defineProperty(exports, "parseViewportString", {
|
|
3021
|
+
enumerable: true,
|
|
3022
|
+
get: function () { return chunkMD6MNOEQ_cjs.parseViewportString; }
|
|
3023
|
+
});
|
|
3024
|
+
Object.defineProperty(exports, "resolveViewport", {
|
|
3025
|
+
enumerable: true,
|
|
3026
|
+
get: function () { return chunkMD6MNOEQ_cjs.resolveViewport; }
|
|
3027
|
+
});
|
|
3028
|
+
Object.defineProperty(exports, "wrapInPreviewContainer", {
|
|
3029
|
+
enumerable: true,
|
|
3030
|
+
get: function () { return chunkMD6MNOEQ_cjs.wrapInPreviewContainer; }
|
|
3031
|
+
});
|
|
3032
|
+
exports.analyze = analyze;
|
|
3033
|
+
exports.areIdentical = areIdentical;
|
|
3034
|
+
exports.buildAnchorIndex = buildAnchorIndex;
|
|
3035
|
+
exports.buildDomTree = buildDomTree;
|
|
3036
|
+
exports.diff = diff;
|
|
3037
|
+
exports.exportToFigma = exportToFigma;
|
|
3038
|
+
exports.exportToFigmaString = exportToFigmaString;
|
|
3039
|
+
exports.exportToJson = exportToJson;
|
|
3040
|
+
exports.exportToJsonString = exportToJsonString;
|
|
3041
|
+
exports.extractAllScreenFields = extractAllScreenFields;
|
|
3042
|
+
exports.extractScreenFields = extractScreenFields;
|
|
3043
|
+
exports.extractScreenTransitions = extractScreenTransitions;
|
|
3044
|
+
exports.formatWireframeCode = formatWireframeCode;
|
|
3045
|
+
exports.getChangeSummary = getChangeSummary;
|
|
3046
|
+
exports.getNodeSource = getNodeSource;
|
|
3047
|
+
exports.getPageSource = getPageSource;
|
|
3048
|
+
exports.getValidationErrors = getValidationErrors;
|
|
3049
|
+
exports.importFromJson = importFromJson;
|
|
3050
|
+
exports.isValidAst = isValidAst;
|
|
3051
|
+
exports.printWireframe = printWireframe;
|
|
3052
|
+
exports.resetFigmaIdCounter = resetFigmaIdCounter;
|
|
3053
|
+
exports.resolveAnchor = resolveAnchor;
|
|
3054
|
+
exports.validate = validate;
|