@yahoo/uds-create-config 5.59.0 → 5.59.1
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/entities/system/LinkedSystem.js +3 -3
- package/dist/entities/system/link-plan.d.ts +12 -1
- package/dist/entities/system/link-plan.js +75 -2
- package/dist/framework/Config.js +78 -8
- package/dist/framework/source-integrity.d.ts +13 -4
- package/dist/framework/source-integrity.js +40 -3
- package/dist/index.d.ts +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -303,8 +303,8 @@ const LinkedSystemDefinition = defineEntity({
|
|
|
303
303
|
* Draw entities from a linked system: the pin's `link` declaration grows to cover them and the
|
|
304
304
|
* build mints a pointer row per entity, in this one op. A row of this config's own at a covered
|
|
305
305
|
* path is deleted so theirs shows through; a row held through another pin becomes an extension
|
|
306
|
-
* through this one when `onLinked` is `'take'
|
|
307
|
-
* is written.
|
|
306
|
+
* through this one when `onLinked` is `'take'`, and the other pin's `options` entry there goes with
|
|
307
|
+
* it. `link-plan` says what that replaces before anything is written.
|
|
308
308
|
*/
|
|
309
309
|
link: {
|
|
310
310
|
input: linkInput,
|
|
@@ -332,7 +332,7 @@ const LinkedSystemDefinition = defineEntity({
|
|
|
332
332
|
input: linkInput,
|
|
333
333
|
readOnly: true,
|
|
334
334
|
label: "Plan a link",
|
|
335
|
-
description: "What `link` with the same input replaces — rows of yours deleted so the source shows through, every path another linked system provides (`linked`, turned into extensions when `onLinked` says take), members left alone because they are already here from the same origin, paths another linked system declares that the link reaches as a different entity (`settled`), whose row stays, and why the config would refuse the link (`blocked`), a collision it would leave among them. Writes nothing.",
|
|
335
|
+
description: "What `link` with the same input replaces — rows of yours deleted so the source shows through, every path another linked system provides (`linked`, turned into extensions when `onLinked` says take), the `options` entries another linked system holds at what a take moves, which it removes since they would apply to nothing (`dropped`), members left alone because they are already here from the same origin, paths another linked system declares that the link reaches as a different entity (`settled`), whose row stays, and why the config would refuse the link (`blocked`), a collision it would leave among them. Writes nothing.",
|
|
336
336
|
scope: "item",
|
|
337
337
|
title: (entity) => `Plan a link from ${entity}`,
|
|
338
338
|
example: linkExample,
|
|
@@ -22,6 +22,13 @@ interface LinkedElsewhere extends EntityAddress {
|
|
|
22
22
|
/** The slug of the pin it comes through. */
|
|
23
23
|
readonly from: string;
|
|
24
24
|
}
|
|
25
|
+
/** An entry in another pin's `options` that a take leaves applying to nothing, and removes. */
|
|
26
|
+
interface DroppedDirective extends EntityAddress {
|
|
27
|
+
/** The slug of the pin whose entry it was. */
|
|
28
|
+
readonly from: string;
|
|
29
|
+
/** The accessor the entry sits under in that pin's `options`. */
|
|
30
|
+
readonly accessor: string;
|
|
31
|
+
}
|
|
25
32
|
/** One row a link mints. `named` when a path the call named covers it; otherwise it comes along
|
|
26
33
|
* because something linked points at it. */
|
|
27
34
|
interface LinkArrival extends EntityAddress {
|
|
@@ -40,6 +47,10 @@ interface LinkPlan {
|
|
|
40
47
|
readonly linked: readonly LinkedElsewhere[];
|
|
41
48
|
/** Rows held through another pin, turned into extensions through this one. */
|
|
42
49
|
readonly extended: readonly EntityAddress[];
|
|
50
|
+
/** The other pins' `options` entries at what the take moves, removed with it: they adjust only the
|
|
51
|
+
* rows their pin derives, and the row there follows this one now. Not carried onto the taken row,
|
|
52
|
+
* since an entry corrects what that pin brings rather than stating a value of this config's own. */
|
|
53
|
+
readonly dropped: readonly DroppedDirective[];
|
|
43
54
|
/** Members already here from the source's own origin, left alone and kept out of the declaration. */
|
|
44
55
|
readonly shared: readonly EntityAddress[];
|
|
45
56
|
/** Paths another pin offers that a `hybrid` link reaches as a different entity. The other pin's
|
|
@@ -193,4 +204,4 @@ declare function sourceRowStates({
|
|
|
193
204
|
readonly slug: string;
|
|
194
205
|
}): SourceRowState[];
|
|
195
206
|
//#endregion
|
|
196
|
-
export { BreakOutcome, BreakPlan, BreakPlanInput, BreakPlanRow, BreakReach, LinkArrival, LinkPaths, LinkPlan, LinkPlanInput, LinkedElsewhere, OnLinked, SourceRowState, UnlinkPlan, UnlinkPlanInput, planBreak, planLink, planUnlink, sourceRowStates };
|
|
207
|
+
export { BreakOutcome, BreakPlan, BreakPlanInput, BreakPlanRow, BreakReach, DroppedDirective, LinkArrival, LinkPaths, LinkPlan, LinkPlanInput, LinkedElsewhere, OnLinked, SourceRowState, UnlinkPlan, UnlinkPlanInput, planBreak, planLink, planUnlink, sourceRowStates };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { collectRefs, isMintedRow, ref, sourceOf, splitRef } from "../../framework/utils/refs.js";
|
|
2
2
|
import { isConfigRejection, rejectData } from "../../framework/rejection.js";
|
|
3
3
|
import { blockedBy } from "../../framework/plan.js";
|
|
4
|
-
import { excludedCondition } from "../../framework/source-integrity.js";
|
|
4
|
+
import { danglingDirectives, excludedCondition } from "../../framework/source-integrity.js";
|
|
5
5
|
import { sameOrigin } from "../../framework/Config.js";
|
|
6
6
|
import { PIN_KIND, covers, declarationOf, entriesFor, excludePaths, excludes, includePaths, narrowDeclaration } from "./link-declaration.js";
|
|
7
7
|
import { planCopy, sourceEntries } from "./copy-plan.js";
|
|
@@ -238,11 +238,20 @@ function planLink({ config, input }) {
|
|
|
238
238
|
}
|
|
239
239
|
declared = Object.keys(next).length === 0 ? current : next;
|
|
240
240
|
}
|
|
241
|
-
const
|
|
241
|
+
const planned = [
|
|
242
242
|
...takes,
|
|
243
243
|
...declares,
|
|
244
244
|
...shadows
|
|
245
245
|
];
|
|
246
|
+
const { dropped, patches: drops } = takes.length > 0 ? directivesTakenFrom({
|
|
247
|
+
config,
|
|
248
|
+
slug,
|
|
249
|
+
patches: planned
|
|
250
|
+
}) : {
|
|
251
|
+
dropped: [],
|
|
252
|
+
patches: []
|
|
253
|
+
};
|
|
254
|
+
const patches = [...planned, ...drops];
|
|
246
255
|
return {
|
|
247
256
|
declared,
|
|
248
257
|
...outcome({
|
|
@@ -255,10 +264,74 @@ function planLink({ config, input }) {
|
|
|
255
264
|
addresses,
|
|
256
265
|
linked,
|
|
257
266
|
extended,
|
|
267
|
+
dropped,
|
|
258
268
|
shared,
|
|
259
269
|
patches
|
|
260
270
|
};
|
|
261
271
|
}
|
|
272
|
+
/**
|
|
273
|
+
* The other pins' `options` entries a take leaves applying to nothing, and the pin edits that remove
|
|
274
|
+
* them.
|
|
275
|
+
*
|
|
276
|
+
* An entry adjusts the rows its pin derives. A take writes this config's own row at the path, one that
|
|
277
|
+
* follows `slug`, so the other pin's entry stays in its `options` reading as though it still applied,
|
|
278
|
+
* and the build refuses it ({@link danglingDirectives}). Read off the config the take leaves, so a
|
|
279
|
+
* folder whose members all moved counts the way the build will count it, and only what the take
|
|
280
|
+
* itself left behind: an entry that already applied to nothing is the build's to report, not this
|
|
281
|
+
* take's to remove.
|
|
282
|
+
*
|
|
283
|
+
* Nothing when the take is refused; `outcome` says why.
|
|
284
|
+
*/
|
|
285
|
+
function directivesTakenFrom({ config, slug, patches }) {
|
|
286
|
+
let after;
|
|
287
|
+
try {
|
|
288
|
+
after = config.applyAll(patches).withDerivedRows();
|
|
289
|
+
} catch (error) {
|
|
290
|
+
if (!isConfigRejection(error)) throw error;
|
|
291
|
+
return {
|
|
292
|
+
dropped: [],
|
|
293
|
+
patches: []
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
const key = (at) => `${at.slug}\u0000${at.accessor}\u0000${at.path}`;
|
|
297
|
+
const already = new Set(danglingDirectives(config).map(key));
|
|
298
|
+
const dropped = [];
|
|
299
|
+
for (const at of danglingDirectives(after)) {
|
|
300
|
+
if (at.missing !== "row" || at.heldBy !== slug || already.has(key(at))) continue;
|
|
301
|
+
dropped.push({
|
|
302
|
+
kind: config.accessors()[at.accessor]?.kind ?? at.accessor,
|
|
303
|
+
path: at.path,
|
|
304
|
+
from: at.slug,
|
|
305
|
+
accessor: at.accessor
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
const edits = [];
|
|
309
|
+
for (const pin of new Set(dropped.map((at) => at.from))) {
|
|
310
|
+
const options = config.storedBody("linked-system", pin).options ?? {};
|
|
311
|
+
const data = {};
|
|
312
|
+
let emptied = 0;
|
|
313
|
+
for (const [accessor, entries] of Object.entries(options)) {
|
|
314
|
+
const going = dropped.filter((at) => at.from === pin && at.accessor === accessor).map((at) => at.path);
|
|
315
|
+
if (going.length === 0) continue;
|
|
316
|
+
if (Object.keys(entries ?? {}).filter((path) => !going.includes(path)).length > 0) {
|
|
317
|
+
for (const path of going) data[`options.${accessor}.${path}`] = null;
|
|
318
|
+
continue;
|
|
319
|
+
}
|
|
320
|
+
data[`options.${accessor}`] = null;
|
|
321
|
+
emptied += 1;
|
|
322
|
+
}
|
|
323
|
+
edits.push({
|
|
324
|
+
kind: PIN_KIND,
|
|
325
|
+
operation: "update",
|
|
326
|
+
path: pin,
|
|
327
|
+
data: emptied === Object.keys(options).length ? { options: null } : data
|
|
328
|
+
});
|
|
329
|
+
}
|
|
330
|
+
return {
|
|
331
|
+
dropped,
|
|
332
|
+
patches: edits
|
|
333
|
+
};
|
|
334
|
+
}
|
|
262
335
|
/** What a plan reports of a refusal: its message, and the collisions when that's what it names. */
|
|
263
336
|
function refusal(error) {
|
|
264
337
|
const collisions = error.issues.flatMap((issue) => issue.collisions ?? []);
|
package/dist/framework/Config.js
CHANGED
|
@@ -5138,6 +5138,40 @@ var Config = class Config {
|
|
|
5138
5138
|
const folders = [];
|
|
5139
5139
|
/** Folders this pass leaves as they stand — already held, over rows it still claims. */
|
|
5140
5140
|
const standing = /* @__PURE__ */ new Set();
|
|
5141
|
+
const taken = [];
|
|
5142
|
+
for (const kind of this.ownedKinds()) for (const [path, stored] of this.state.snapshot.slice(kind).items) {
|
|
5143
|
+
const body = stored.toJSON();
|
|
5144
|
+
if (!isExtendedRef(body) || isMintedRow(body)) continue;
|
|
5145
|
+
if (pathOf(body) !== path) continue;
|
|
5146
|
+
const slug = sourceOf(body);
|
|
5147
|
+
if (slug !== void 0) taken.push({
|
|
5148
|
+
kind,
|
|
5149
|
+
path,
|
|
5150
|
+
slug
|
|
5151
|
+
});
|
|
5152
|
+
}
|
|
5153
|
+
/** Every folder a pin has a member under this pass, claimed or taken, as `slug kind path`. */
|
|
5154
|
+
const occupied = /* @__PURE__ */ new Set();
|
|
5155
|
+
const occupy = (slug, kind, path) => {
|
|
5156
|
+
const segments = path.split("/");
|
|
5157
|
+
for (let depth = 1; depth < segments.length; depth++) occupied.add(`${slug}\u0000${kind}\u0000${segments.slice(0, depth).join("/")}`);
|
|
5158
|
+
};
|
|
5159
|
+
for (const [target, slug] of claimedFrom) occupy(slug, kindOf(target), pathOf(target));
|
|
5160
|
+
for (const { kind, path, slug } of taken) occupy(slug, kind, path);
|
|
5161
|
+
/**
|
|
5162
|
+
* Whether a folder already here stays as it is. One this config authored does, and so does one
|
|
5163
|
+
* minted through a pin that still has a member under it. One minted through a pin that has none
|
|
5164
|
+
* left there goes to the pin its members follow now: after a take, a `colorMode` whose modes all
|
|
5165
|
+
* follow Yahoo OS kept pointing at the Bridge's, its fields read from a system none of it follows.
|
|
5166
|
+
*/
|
|
5167
|
+
const stands = (kind, path) => {
|
|
5168
|
+
const held = this.state.snapshot.group(kind, path)?.toJSON();
|
|
5169
|
+
if (held === void 0) return false;
|
|
5170
|
+
if (!isMintedRow(held)) return true;
|
|
5171
|
+
const pointer = held.ref;
|
|
5172
|
+
const through = isRef(pointer) ? sourceOf(pointer) : void 0;
|
|
5173
|
+
return through !== void 0 && occupied.has(`${through}\u0000${kind}\u0000${path}`);
|
|
5174
|
+
};
|
|
5141
5175
|
for (const [slug, paths] of offeredBy) {
|
|
5142
5176
|
const source = this.sourceFor(slug);
|
|
5143
5177
|
if (!source) continue;
|
|
@@ -5149,7 +5183,7 @@ var Config = class Config {
|
|
|
5149
5183
|
for (const group of source.groups(kind)) {
|
|
5150
5184
|
const prefix = `${group.path}/`;
|
|
5151
5185
|
if (!under.some((path) => path.startsWith(prefix))) continue;
|
|
5152
|
-
if (
|
|
5186
|
+
if (stands(kind, group.path)) {
|
|
5153
5187
|
standing.add(`group:${kind}:${group.path}`);
|
|
5154
5188
|
continue;
|
|
5155
5189
|
}
|
|
@@ -5162,6 +5196,27 @@ var Config = class Config {
|
|
|
5162
5196
|
}
|
|
5163
5197
|
}
|
|
5164
5198
|
}
|
|
5199
|
+
const derivedFolders = new Set(folders.map(({ kind, path }) => `${kind}:${path}`));
|
|
5200
|
+
for (const { kind, path, slug } of taken) {
|
|
5201
|
+
const source = this.sourceFor(slug);
|
|
5202
|
+
if (!source || !this.entityOf(kind)) continue;
|
|
5203
|
+
for (const group of source.groups(kind)) {
|
|
5204
|
+
if (!path.startsWith(`${group.path}/`)) continue;
|
|
5205
|
+
const target = `${kind}:${group.path}`;
|
|
5206
|
+
if (derivedFolders.has(target) || standing.has(`group:${target}`)) continue;
|
|
5207
|
+
if (stands(kind, group.path)) {
|
|
5208
|
+
standing.add(`group:${target}`);
|
|
5209
|
+
continue;
|
|
5210
|
+
}
|
|
5211
|
+
derivedFolders.add(target);
|
|
5212
|
+
folders.push({
|
|
5213
|
+
kind,
|
|
5214
|
+
path: group.path,
|
|
5215
|
+
slug
|
|
5216
|
+
});
|
|
5217
|
+
claimedFrom.set(target, slug);
|
|
5218
|
+
}
|
|
5219
|
+
}
|
|
5165
5220
|
for (const [target, slug] of claimedFrom) {
|
|
5166
5221
|
if (folders.some(({ kind, path }) => `${kind}:${path}` === target)) continue;
|
|
5167
5222
|
changes.push(derivedItemChange(kindOf(target), pathOf(target), ref(kindOf(target), pathOf(target), slug).__ref, overlayBody({
|
|
@@ -5324,7 +5379,22 @@ var Config = class Config {
|
|
|
5324
5379
|
const source = this.sourceFor(slug);
|
|
5325
5380
|
if (!source) return [];
|
|
5326
5381
|
const members = /* @__PURE__ */ new Set();
|
|
5327
|
-
|
|
5382
|
+
/**
|
|
5383
|
+
* Every entity or folder visited, and whether a linked row reached it.
|
|
5384
|
+
*
|
|
5385
|
+
* A taken row is visited twice — first as an authored row, then as one its pin adopts — and only a
|
|
5386
|
+
* linked visit lands the items a body points at. Remembering only THAT a target was visited let the
|
|
5387
|
+
* unlinked pass claim the style properties and token folders it found, so the linked pass skipped
|
|
5388
|
+
* them and a mode their tokens vary under never got a row. A target reached unlinked is visited
|
|
5389
|
+
* again when a linked row reaches it; one reached linked is done.
|
|
5390
|
+
*/
|
|
5391
|
+
const reached = /* @__PURE__ */ new Map();
|
|
5392
|
+
const reaching = (target, linked) => {
|
|
5393
|
+
const prior = reached.get(target);
|
|
5394
|
+
if (prior === true || prior === false && !linked) return false;
|
|
5395
|
+
reached.set(target, linked);
|
|
5396
|
+
return true;
|
|
5397
|
+
};
|
|
5328
5398
|
/**
|
|
5329
5399
|
* A style bag's KEYS name style properties, and a borrowed bag's name the SOURCE's.
|
|
5330
5400
|
*
|
|
@@ -5342,11 +5412,11 @@ var Config = class Config {
|
|
|
5342
5412
|
if (!sites) return;
|
|
5343
5413
|
for (const { bag } of sites(body)) for (const prop of Object.keys(bag)) {
|
|
5344
5414
|
const target = `style-property:${prop}`;
|
|
5345
|
-
if (members.has(target)) continue;
|
|
5346
5415
|
const local = this.storedBody("style-property", prop);
|
|
5347
5416
|
if (local && !isMintedRow(local)) continue;
|
|
5348
5417
|
const declared = source.resolve("style-property", prop);
|
|
5349
5418
|
if (!declared) continue;
|
|
5419
|
+
if (!reaching(target, linked)) continue;
|
|
5350
5420
|
members.add(target);
|
|
5351
5421
|
visitEntity("style-property", declared.toJSON(), true, linked);
|
|
5352
5422
|
}
|
|
@@ -5377,19 +5447,19 @@ var Config = class Config {
|
|
|
5377
5447
|
const target = `${kind}:${path}`;
|
|
5378
5448
|
const item = source.resolve(kind, path);
|
|
5379
5449
|
if (item) {
|
|
5380
|
-
if (!linked ||
|
|
5450
|
+
if (!linked || !reaching(target, true)) continue;
|
|
5381
5451
|
members.add(target);
|
|
5382
5452
|
visitEntity(kind, item.toJSON(), true, true);
|
|
5383
5453
|
continue;
|
|
5384
5454
|
}
|
|
5385
|
-
if (
|
|
5386
|
-
walked.add(target);
|
|
5455
|
+
if (!reaching(target, linked)) continue;
|
|
5387
5456
|
if (!source.groups(kind).some((node) => node.path === path)) continue;
|
|
5388
5457
|
const prefix = `${path}/`;
|
|
5389
5458
|
for (const member of source.list(kind)) {
|
|
5390
5459
|
if (!member.path.startsWith(prefix)) continue;
|
|
5391
|
-
|
|
5392
|
-
|
|
5460
|
+
const at = `${kind}:${member.path}`;
|
|
5461
|
+
members.add(at);
|
|
5462
|
+
if (reaching(at, linked)) visitEntity(kind, member.toJSON(), true, linked);
|
|
5393
5463
|
}
|
|
5394
5464
|
}
|
|
5395
5465
|
};
|
|
@@ -239,12 +239,17 @@ interface DanglingDirective {
|
|
|
239
239
|
/** The accessor as written — this config may have no kind under it. */
|
|
240
240
|
accessor: string;
|
|
241
241
|
path: string;
|
|
242
|
-
/**
|
|
243
|
-
|
|
242
|
+
/**
|
|
243
|
+
* `accessor` when no kind is registered under that name, `path` when the source has no such entity,
|
|
244
|
+
* `row` when the source has it but the row here isn't one the pin derives.
|
|
245
|
+
*/
|
|
246
|
+
missing: 'accessor' | 'path' | 'row';
|
|
247
|
+
/** With `row`: the pin the row there follows instead, absent when it is this config's own. */
|
|
248
|
+
heldBy?: string;
|
|
244
249
|
}
|
|
245
250
|
/**
|
|
246
|
-
* Every directive aimed at nothing — an accessor this config has no kind for,
|
|
247
|
-
* does not have.
|
|
251
|
+
* Every directive aimed at nothing — an accessor this config has no kind for, a path the source
|
|
252
|
+
* does not have, or a path where the row here isn't one the pin derives.
|
|
248
253
|
*
|
|
249
254
|
* The one mistake the other checks structurally cannot see. Each of them answers for a path it is
|
|
250
255
|
* already holding, so it asks "does the declaration mention this one" — and a name nobody has is
|
|
@@ -254,6 +259,10 @@ interface DanglingDirective {
|
|
|
254
259
|
* Also what notices the source dropping a path. A directive written against an entity a later version
|
|
255
260
|
* removed keeps parsing and keeps doing nothing, which is the same failure the declared verb exists to
|
|
256
261
|
* catch one level down.
|
|
262
|
+
*
|
|
263
|
+
* And what notices a path leaving the pin. A row taken through another pin (`linked-system/link` with
|
|
264
|
+
* `onLinked: 'take'`), or authored here, stands where the pin's row stood, and the entry the pin
|
|
265
|
+
* still carries for it applies to nothing.
|
|
257
266
|
*/
|
|
258
267
|
declare function danglingDirectives(config: Config): DanglingDirective[];
|
|
259
268
|
/** A borrowed token whose condition is missing or has a different category here. */
|
|
@@ -489,8 +489,25 @@ function unadoptedDirectives(config) {
|
|
|
489
489
|
return found;
|
|
490
490
|
}
|
|
491
491
|
/**
|
|
492
|
-
*
|
|
493
|
-
*
|
|
492
|
+
* Who holds the row at a path a directive names, when it isn't the directive's own pin: the slug of
|
|
493
|
+
* the pin the row follows instead, `null` for a row of this config's own, `undefined` when the pin's
|
|
494
|
+
* row is there or nothing is.
|
|
495
|
+
*
|
|
496
|
+
* A pin's `options` lay over the rows its declaration derives, and nothing else. A row taken through
|
|
497
|
+
* another pin, or authored here, stands at the path in its place, so the entry applies to nothing.
|
|
498
|
+
*/
|
|
499
|
+
function heldElsewhere(config, { slug, kind, path }) {
|
|
500
|
+
const item = config.storedBody(kind, path);
|
|
501
|
+
const group = item === void 0 ? config.groupMeta(kind, path) : void 0;
|
|
502
|
+
if (item === void 0 && group === void 0) return void 0;
|
|
503
|
+
const pointer = item ?? group?.ref;
|
|
504
|
+
const through = isRef(pointer) ? sourceOf(pointer) : void 0;
|
|
505
|
+
if (through === slug) return void 0;
|
|
506
|
+
return through ?? null;
|
|
507
|
+
}
|
|
508
|
+
/**
|
|
509
|
+
* Every directive aimed at nothing — an accessor this config has no kind for, a path the source
|
|
510
|
+
* does not have, or a path where the row here isn't one the pin derives.
|
|
494
511
|
*
|
|
495
512
|
* The one mistake the other checks structurally cannot see. Each of them answers for a path it is
|
|
496
513
|
* already holding, so it asks "does the declaration mention this one" — and a name nobody has is
|
|
@@ -500,6 +517,10 @@ function unadoptedDirectives(config) {
|
|
|
500
517
|
* Also what notices the source dropping a path. A directive written against an entity a later version
|
|
501
518
|
* removed keeps parsing and keeps doing nothing, which is the same failure the declared verb exists to
|
|
502
519
|
* catch one level down.
|
|
520
|
+
*
|
|
521
|
+
* And what notices a path leaving the pin. A row taken through another pin (`linked-system/link` with
|
|
522
|
+
* `onLinked: 'take'`), or authored here, stands where the pin's row stood, and the entry the pin
|
|
523
|
+
* still carries for it applies to nothing.
|
|
503
524
|
*/
|
|
504
525
|
function danglingDirectives(config) {
|
|
505
526
|
const found = [];
|
|
@@ -516,7 +537,23 @@ function danglingDirectives(config) {
|
|
|
516
537
|
});
|
|
517
538
|
continue;
|
|
518
539
|
}
|
|
519
|
-
if (source.resolve(kind, path) || source.members(kind, path).length > 0)
|
|
540
|
+
if (source.resolve(kind, path) || source.members(kind, path).length > 0) {
|
|
541
|
+
if (config.sourceOverlay(slug, kind, path)?.hidden === true) continue;
|
|
542
|
+
const heldBy = heldElsewhere(config, {
|
|
543
|
+
slug,
|
|
544
|
+
kind,
|
|
545
|
+
path
|
|
546
|
+
});
|
|
547
|
+
if (heldBy === void 0) continue;
|
|
548
|
+
found.push({
|
|
549
|
+
slug,
|
|
550
|
+
accessor,
|
|
551
|
+
path,
|
|
552
|
+
missing: "row",
|
|
553
|
+
...heldBy === null ? {} : { heldBy }
|
|
554
|
+
});
|
|
555
|
+
continue;
|
|
556
|
+
}
|
|
520
557
|
found.push({
|
|
521
558
|
slug,
|
|
522
559
|
accessor,
|
package/dist/index.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ import { Instance, InstanceSlot, InstanceSpec, instanceHolding } from "./spec/in
|
|
|
51
51
|
import { ForwardBlockedReason, ForwardOption, ForwardOptions, ForwardRequest } from "./entities/system/component-forwards.js";
|
|
52
52
|
import { AuthoredPropBody, Component, ComponentBody, ComponentClass, ComponentCreateInput, ComponentElementBody, ComponentItemInput, ComponentPropBody, ComponentReference, ComponentStyleBody, ElementVisibility, ElementVisibilityInput, ElementVisibilitySchema, ExtendedComponentRef, ProjectedVisibility, PropShapeSchema, SLOT_CODE_FORMS, VariantValueBody, VariantValues, blankComponentBody, canonicalWhen, forwardedNames, layerRef, ownValues, ownsItsValues, valueRef } from "./entities/system/Component.js";
|
|
53
53
|
import { LINK_SLUG, LINK_SLUG_MESSAGE, LinkDeclaration, LinkedSystem, LinkedSystemClass, LinkedSystemCreateInput, LinkedSystemItemInput, LinkedSystemResolver, LinkedSystemState, PinDirective, PinOptions, PinOptionsField, PinOptionsInput, ResolvedSource, Source, SourceUnavailable, borrowedGroup, borrowedItem, isLinkSlug, resolvedSource, sourceOfGroup, sourceOfItem, sourceSlugFor, sourceUnavailable, suggestLinkSlug } from "./entities/system/LinkedSystem.js";
|
|
54
|
-
import { BreakOutcome, BreakPlan, BreakPlanInput, BreakPlanRow, BreakReach, LinkArrival, LinkPaths, LinkPlan, LinkPlanInput, LinkedElsewhere, OnLinked, SourceRowState, UnlinkPlan, UnlinkPlanInput, planBreak, planLink, planUnlink, sourceRowStates } from "./entities/system/link-plan.js";
|
|
54
|
+
import { BreakOutcome, BreakPlan, BreakPlanInput, BreakPlanRow, BreakReach, DroppedDirective, LinkArrival, LinkPaths, LinkPlan, LinkPlanInput, LinkedElsewhere, OnLinked, SourceRowState, UnlinkPlan, UnlinkPlanInput, planBreak, planLink, planUnlink, sourceRowStates } from "./entities/system/link-plan.js";
|
|
55
55
|
import { EntityChange, KindSlice, Snapshot } from "./framework/snapshot.js";
|
|
56
56
|
import { AppliedOp, AttachedSources, BatchReceipt, Config, CssGrammar, Edition, HydrationOptions, ListOptions, LiveConfig, Origin, Patch, RecordedSource, SERIALIZED_CONFIG_VERSION, SerializedConfig, SkippedOp, SourcesBySlug, StoredConfig, SubPatch, TreeNode, sameOrigin } from "./framework/Config.js";
|
|
57
57
|
import { CapturedChild, CapturedElement, CapturedNode, CapturedNodeJson, CapturedText, DomLikeElement, capturedFromDom, elementFromCaptured } from "./capture/captured-tree.js";
|
|
@@ -131,4 +131,4 @@ import { valueLeavesOf, valueSchemaOf } from "./framework/value-domain.js";
|
|
|
131
131
|
import { views } from "./framework/views-facade.js";
|
|
132
132
|
import { RN_STYLE_KEYS } from "./react-native/style-keys.generated.js";
|
|
133
133
|
import { EditedCellContent, cellSeedSpec, editedCellContent, followCellContent, followingContent, resetCellContent, withCellValues } from "./spec/bake.js";
|
|
134
|
-
export { AI_LANES, ANATOMY_MARKER, type Add, AiChat, type AiChatClass, AiFlow, type AiFlowClass, type AiFlowOrigin, AiGeneration, type AiGenerationClass, type AiLane, AiMessage, type AiMessageClass, type AiMultiAgentMode, type AnatomyIssue, type AnatomyIssueKind, type AnatomyReport, Annotation, type AnnotationClass, AnnotationFields, type AnnotationSegment, type AnySystemConfig, type AppliedOp, type AsInput, type AttachedSources, type Authored, type AuthoredComponent, type AuthoredDefaultsOf, type AuthoredProp, type AuthoredPropBody, type AuthoredStyleBag, type AuthoredStyleField, type AuthoringSignatureOptions, BUILD_DEFAULTS, type BatchReceipt, type BindingKind, type BreakOutcome, type BreakPlan, type BreakPlanInput, type BreakPlanRow, type BreakReach, BuildSection, type BuildSectionClass, CANVAS_ROLES, COMPONENT_ENTRY_STATIC, CONFIG_OPERATION_KIND, CREATED_COMPONENT_DIRECTORY, CSS_DEFAULTS, CSS_PROPERTY_NAMES, CSS_WIDE_KEYWORDS, CURRENT_SCHEMA_VERSION, type Calc, type CalcOperand, Canvas, type CanvasClass, CanvasConfig, type CanvasConfigClass, CanvasRole, type CanvasRoleClass, type CanvasRoleName, CanvasSection, type CanvasSectionClass, type CaptureToSpecOptions, type CaptureToSpecResult, type CapturedChild, type CapturedElement, CapturedNode, type CapturedNodeJson, type Spec as CapturedSpec, type SpecElement as CapturedSpecElement, type CapturedText, type Cell, type CellSlot, type Change, type ChangeHook, type ChangeTarget, type CheckedTokenRefPath, type ChildrenPolicy, type ClassGrammar, type CodeSlot, type Collection, type ColorValue, Component, type ComponentBody, type ComponentBuilder, type ComponentClass, type ComponentContractOf, type ComponentCreateInput, type ComponentElementBody, type ComponentInteraction, type ComponentItemInput, type ComponentModuleSource, type ComponentPropBody, type ComponentPropsOf, type ComponentReference, type ComponentRegistryImport, type ComponentRegistryImportBinding, type ComponentRuleClass, type ComponentSpec, type ComponentSpecs, type ComponentState, type ComponentStyleBody, type ComposedValue, type ComposedValueAuthoring, type ComposedValueForm, Composite, type CompositeClass, type ComputedFields, type ComputedFunctions, type ComputedInput, type ComputedMap, type ComputedValue, Config, type ConfigClass, type ConfigEdit, ConfigFormatError, type ConfigInstance, type ConfigIssue, type ConfigIssueCode, type ConfigKind, type ConfigOp, ConfigRejection, ConfigSession, type ConfigSessionOptions, type ConfigSink, type ConfigSource, type CopyPlan, type CopyPlanInput, type CopyPlanRow, type CreateInput, type CssGrammar, type CssPrefix, type CssPropertyEntry, CssSection, type CssSectionClass, DERIVED_COLOR_DEFAULT_SPACE, DERIVED_COLOR_SPACE, DERIVED_MUTATIONS, type DanglingDirective, type DanglingLocalRef, type DanglingRef, type DeclaredRuntimeModule, type DeletePlan, type DeriveMembers, type DerivedColor, type DerivedEntityClass, type DerivedOp, Device, type DeviceClass, type DiffOptions, type Divide, Documentation, type DocumentationClass, DocumentationLibrary, type DocumentationLibraryClass, type DomLikeElement, type DraftSource, ENTITY_PATH_MESSAGE, EXPORT_MEMBER, type EditedCellContent, type Edition, type ElementVisibility, type ElementVisibilityInput, type ElementVisibilitySchema, Entity, type EntityAddress, type EntityChange, type EntityClass, type EntityKind, type EntityMap, type EntryGroup, type ExpandOptions, type ExpansionResult, type ExtendedComponentRef, type ExtendedRef, type FieldsSchema, File, type FileClass, Font, type FontClass, FontFile, type FontFileClass, type ForwardBlockedReason, type ForwardClaims, type ForwardOption, type ForwardOptions, type ForwardRequest, GROUP, GUIDANCE_LANES, GlobalStyle, type GlobalStyleClass, type GlyphComponent, type GlyphExportRule, type GlyphSource, type GlyphValue, type GoverningCondition, type Gradient, type GroupBody, type GroupComputedInput, Guidance, type GuidanceClass, type GuidanceLane, type GuidanceScope, type GuidanceSegment, GuidanceStyle, type GuidanceStyleBody, type GuidanceStyleClass, type HasSnapshot, type HydrationOptions, ICON_METADATA_FORMATS, Icon, type IconAnswer, type IconClass, type IconGlyph, type IconHook, type IconLibrary, type IconMemberMetadata, type IconMetadataAdapter, type IconMetadataDeclaration, type IconMetadataFile, type IconMetadataFormat, type IconTool, type IconVariantAs, type IdentifiedOp, type InferredRename, type InlineMotion, type Instance, type InstanceSlot, type InstanceSpec, type InteractionCondition, type ItemOf, type KindRef, type KindSignature, type KindSlice, LINK_SLUG, LINK_SLUG_MESSAGE, type LayerElement, type LayerMap, type LayerPropDriver, type LayerStyleOptions, type LeafAddress, type LinkArrival, type LinkDeclaration, type LinkPaths, type LinkPlan, type LinkPlanInput, type LinkedDraw, type LinkedElsewhere, type LinkedHandle, LinkedSystem, type LinkedSystemClass, type LinkedSystemCreateInput, type LinkedSystemItemInput, type LinkedSystemResolver, type LinkedSystemState, LintSection, type LintSectionClass, type ListOptions, type LiveConfig, type LocalOverlay, MINTED, MODIFIER_CATEGORIES, MOTION_FACTORY, MOTION_VARIANT_STATES, type MarkerKind, type Max, type Min, type MisdeclaredOverlay, Modifier, type ModifierCategory, type ModifierClass, type ModifierGroupMeta, type ModifierProps, type ModuleViewLink, Motion, type MotionClass, type MotionPresetToken, type Multiply, NATIVE_ACTIVATIONS, type NativeActivation, type NativeFlexValue, NativeModifier, type NativeModifierClass, NativeSettings, NativeStyleProperty, NativeToken, Node, type NodeClass, type OklchColor, type OnLinked, type OpHandler, type OpInput, Operation, type OperationClass, type Origin, type OrphanedMotionVariant, type OverlayVerb, type OverrideCondition, type OverrideCopyingSource, type OwnedRecords, PLACED_NODE_KEY, PLAYGROUND_DEFAULTS, Package, type PackageClass, Page, type PageClass, type Patch, type PathOf, type PickedComposite, type PinDirective, type PinOptions, type PinOptionsField, type PinOptionsInput, type PlacedMotion, type Plan, type PlanImpact, type PlanOp, PlaygroundSection, type PlaygroundSectionClass, Presence, type PresenceProps, type PreviewElement, type PreviewMatrix, type ProjectedVisibility, type PropCondition, type PropDecl, type PropDeclaration, type PropDefaultCondition, type PropMap, type PropRoute, type PropRule, type PropShapeSchema, type PropsOrRules, RN_STYLE_KEYS, ReactNativeSystem, type ReactNativeSystemClass, type ReactNativeSystemConfig, type RebaseConflict, type RebaseOrigin, type RebaseResult, type RecordedSource, type RedundantQualifier, type Ref, type RefGraph, type RefGraphEntry, type RefIndex, type RefIndexChange, type RefMember, type RefTarget, type RegisteredComponentContracts, type RegisteredComponentHandles, type RegisteredEntities, type RegisteredGroupPaths, type RegisteredMembers, type RegisteredModifiers, type RegisteredPaths, type RegisteredStyleBag, type RegisteredStyleProps, type RegisteredTokenValues, type RelativeLineHeightValue, type RenamePlan, type RenderArgs, type RenderElement, type RenderSpec, type RenderedNode, type RenderedTarget, type RepeatRow, type RepeatSpec, type RequiredContent, type RequiredPropUnforwarded, type ResolveContext, type ResolveValueTypeInput, type ResolvedBinding, type ResolvedSource, type RootFontSize, SCRIPT_EXTENSIONS, SERIALIZED_CONFIG_VERSION, SIZE_TOLERANCE_PX, SLOT_CODE_FORMS, STYLE_PROPERTIES, STYLE_PROP_NUMBER_UNITS, STYLE_PROP_VALUE_FORMS, STYLE_PROP_VALUE_LEAVES, type SafelistEntry, type SchemaEntry, type SchemaMigration, SchemaVersionTooNew, type SerializedConfig, type SerializedSourceAnswer, Settings, type SettingsClass, type Shadow, type ShadowColor, type ShadowLayer, type ShadowParts, type ShipGraphFile, type ShipRuleOptions, type SignatureOptions, type SkippedOp, type Slot, type SlotCell, type SlotCodeForm, type SlotDecl, type SlotHost, type SlotTarget, Snapshot, type Source, type SourceAnswer, type SourceChange, type SourceMap, type SourceResolution, type SourceResolutionSchemas, type SourceResolver, type SourceRowState, type SourceState, type SourceType, type SourceUnavailable, type SourcesBySlug, type SourcesOf, type SpecNode, type SplitStyleProps, type StampedPatch, type StoredConfig, type StoredDefaultCondition, type StoredPreviewCondition, type StyleClass, type StyleDeclarationGroup, type StylePropEntry, type StylePropLeaf, type StylePropNumberUnit, type StylePropValue, type StylePropValueCtx, type StylePropValueKind, StyleProperty, type StylePropertyClass, type StylePropertyItem, type StyleProps, type StyleRuleInput, type StyleSetChange, type StyleValue, type SubEntityClass, type SubPatch, type Subtract, type SurfaceCompositeProp, type SurfaceProp, type SurfacePropCondition, type SurfacePropKind, type SurfaceScalarProp, type SurfaceSlotProp, type SurfaceStylePropertyProp, type SurfaceVariantProp, System, type SystemClass, type SystemConfig, SystemSection, type SystemSectionClass, SystemSource, type SystemSourceClass, TOKEN_READERS, type Timing, type TimingParts, type TimingValue, Token, type TokenBinding, type TokenBody, type TokenClass, type TokenGroupReader, type TokenGroupVariableReader, type TokenMatch, type TokenReader, type TokenReaders, type TokenRefPath, type TokenReference, type TokenValueEntry, type TokenValueRow, type TokenValueState, type TokenVariableAsText, type TokenVariableReaders, Tool, type ToolClass, type Transition, type TransitionSegment, type TraverseOptions, type TreeNode, UDS_FORCE_STATES, UNCONDITIONAL_PREVIEW_KEY, UNREACHABLE, type UnadoptedDirective, type UnconditionalDefaults, type UnknownStyleLeaf, type UnlinkPlan, type UnlinkPlanInput, type UnreadableBorrow, type UnstatableCondition, type UnstatableOverride, type UpgradedDraft, type UserSchemas, VOID_ELEMENTS, type ValueOf, type ValueRefs, type ValueType, type VarNaming, type VariantValueBody, type VariantValues, type VisibilityOperator, type VisibilityTerm, WEB_ACTIVATIONS, type WalkOptions, type WebActivation, add, addressOf, adoptLinkedModule, alpha, anatomyElementComponent, anatomyIssueKey, anatomyTextProp, applyPathDelta, arbitraryClassName, arbitraryNeedsClass, authoredBag, authoredValue, authoringSignatures, baseOf, bindStateRef, bindingPath, blankComponentBody, bodyNumberLeaves, bodyNumberUnit, borrowedGroup, borrowedItem, boundElementType, brandGroup, buildRefGraph, buildRefIndex, calcFunction, calcOperands, calcOperator, canonicalWhen, canvasCellAt, canvasDefaultCoordinate, capturedFromDom, cellAxes, cellSeedSpec, changeOf, changeValueAt, changesOf, childrenPolicy, classGrammar, classLeaf, className, classPrefixOf, classSelector, classifyOverlay, classifyStylePropValue, clearsCompositeDefault, codeSlotsOf, collectRefs, compareComponentRules, componentClassBase, componentCompositeClasses, componentInteractions, componentLayerClass, componentModuleFilePaths, componentModuleKey, componentModuleSource, componentMotionClasses, componentPropClasses, componentPropComposites, componentRegistryImports, componentRuleClasses, componentSourceDerivedFields, componentSpec, componentStateAttribute, componentStateAttributes, componentStateDefaults, componentStates, composedValueAuthoring, composedValueFormOf, composedValueForms, composedValueSchemas, compositeMemberBag, condArms, condValue, containsMarker, convertLinkedTokenValue, createCanvasConfig, createSliceMemo, createdComponentFilePath, createdComponentPathOf, createdModuleKey, cssPrefixes, cssPropValue, cssProperty, cssPropertyNames, cssString, cssValueIssue, cssVar, cssVarRef, danglingDirectives, danglingLocalRefs, danglingSourcedRefs, darken, declarationKeyName, declarationText, declaredField, declaredPropDefaults, declaredPropRouting, declaredRuntimeModules, declaredVariants, declaresCssVariable, defaultsFor, defineComponent, defineConfig, defineDerivedEntity, defineEntity, defineOverride, defineSubEntity, deriveCreateSchema, deriveInputDir, deriveSpec, deriveUpdateSchema, describeBody, describePatch, detectedWireVersion, diffRendered, divide, editOp, editedCellContent, elementFromCaptured, entityPathProblem, entityRefOf, entryKeyOf, evaluateCalc, excludedCondition, expandComponent, expandSpec, fieldKeys, followCellContent, followingContent, fontFamilyStack, fontFileDescriptors, forceModeAttribute, forceModeAttributeOf, forceModeProp, forceModePropGroup, forceModePropValue, forceModeProps, forceStateAttribute, forceStateSelector, forwardClaims, forwardRoutes, forwardedCompositeClears, forwardedLayers, forwardedNames, forwardsOf, globalStyleName, glyphComponentOf, glyphExportNames, glyphExportRule, glyphLibrariesOf, glyphPropsOf, glyphSourcesOf, glyphType, glyphVariantProp, graftPreviewElements, guidanceReaches, guidanceScopeOf, guidanceTextOf, hasInteraction, hasJsMotion, heldLinked, iconCategories, iconLibraries, iconLibrary, iconMemberMetadata, iconMetadata, iconMetadataDeclaration, iconMetadataFile, iconMetadataFileJsonSchema, iconMetadataFormat, iconMetadataSourceFile, iconResolver, iconToolAxisOptions, iconToolFor, iconToolLibraries, iconToolOf, iconToolsOf, iconVariantAs, inferredRenames, inlineJsMotion, inlineMotionId, inlineMotionProps, inlineMotions, inlineRuleComposites, inputOf, instanceHolding, instanceSpec, interactionKey, interactionModifiers, intoName, isAdd, isAuthored, isBinaryAsset, isCalc, isComposedValue, isConfigFormatError, isConfigRejection, isCreatedComponent, isCssProperty, isCustomPropertyKey, isDeclaredElementProp, isDerivedColor, isDivide, isEntityPath, isExtendedRef, isFontFaceStyle, isFontFaceWeight, isForceModeProp, isGradient, isGroupBody, isIdentifier, isInlineMotion, isInteractionModifier, isLinkSlug, isMax, isMin, isMintedRow, isMultiply, isNativeConfig, isNativeFlexValue, isOklchColor, isPlainObject, isPreviewElement, isRef, isRelativeLineHeightValue, isReservedWord, isShadow, isSubtract, isSystemConfig, isTiming, isTokenReader, isTransition, isValueSlot, jsMotionBody, jsMotionPresets, jsMotionPropFields, kebabComponent, keyedPreviewConditions, kindOf, kindsOf, layerJsMotionPresets, layerPropDrivers, layerPropRoutes, layerRef, layerRoutedProps, layerStyles, layerTextProp, leafAddresses, leafVerb, leavesOfStylePropValue, librariesBoundBy, libraryHolding, lighten, linearGradient, linkedComponentModule, linkedDraw, linkedLocalRow, linkedModuleView, linkedVarNaming, literalValueOf, liveStateProps, markerKind, matchEntities, matchTokens, matchesExclude, max, memberFromLeaf, memberLeaves, memberOf, memberRef, memberVariantOptions, memoryConfigSource, min, misdeclaredOverlays, mix, modeAxes, modifierAxes, modifierAxis, modifierCategory, modifierGroupFields, modifierInvariants, modifierLeaf, modifierUtilitiesUsed, moduleViewOf, motionClassName, motionKeyframesName, motionPresetTokens, motionVariantGroups, multiply, nameIconsInTree, nameStyleNumbers, namedFields, nativeFlexToWeb, nativeTokenValue, negatedCssValue, normalizeName, normalizeStyleValue, oklch, opOf, opVerb, opacityPercentage, opsForKind, orList, orRef, orphanedMotionVariants, overlayVerb, overrideCondition, overrideKey, overrideKeyModifiers, overrideModifiers, overridesCopyingSource, ownTextProp, ownValues, ownerOf, ownsItsValues, packageKey, packageName, parseRootFontSize, parseTokenValue, partsOf, pathDelta, pathOf, pathSegments, pinStyleNumbers, placedGlyphElement, placedMotions, planBreak, planCopy, planLink, planUnlink, prefixed, prepareLinkedTokenBody, previewConditionalProps, previewConditions, previewDefaults, previewMatrix, previewSpec, propApplies, propDefaultConditions, propInto, propOwner, propRegistryRef, propValueDomain, propValueFromAxis, propsIntoLayer, readStatePointer, readsState, redundantQualifiers, ref, refGraphOf, refKey, refLeaf, refListOf, refOfKey, refSchema, refTo, registerSchemaMigrations, renderBindingsOf, renderComposedValue, renderDerivedColor, renderGradient, renderInterpolated, renderOklch, renderShadow, renderSignature, renderStyleValue, renderTiming, renderTransition, renderValue, renderedElement, renderedSignatureOf, renderedTarget, replaceRefMarkers, requiredContentCondition, requiredContentLayers, requiredPropsUnforwarded, resetCellContent, resolutionSchema, resolveAppliedComposites, resolveBinding, resolveComponentProps, resolveFieldValue, resolveIconLibraries, resolveInputDir, resolveLinkedAlias, resolveLinkedDir, resolveOutDir, resolveOutputAlias, resolveRetiredLinkedDir, resolveSourceAlias, resolveTokenValue, resolveTokenValueUnder, resolveValue, resolveValueType, resolveVisibility, resolvedSource, rewriteRefNamespace, rewriteRefSource, rewriteRefs, rewriteStyleNumbers, rnStyleKey, rootFontSize, rootLayerOf, routeOf, routedBag, routedProp, routedPropIn, routedSource, routesContent, routesOf, ruleApplies, ruleCondition, runChangeHooks, safelistEntrySchema, sameOrigin, schemaVersionOf, searchEntities, searchTokens, setAtPath, shadow, shippedModuleRoots, shippedModules, shipsByDefault, signatureOf, slotCodeForms, slotTargetsOf, snapshotHtml, sniffValueType, sourceEntries, sourceHops, sourceOf, sourceOfGroup, sourceOfItem, sourceRowStates, sourceSlugFor, sourceUnavailable, sourceUnreachable, sourceVarPrefix, specFromCapture, specToNodePatches, specWithResolvedVisibility, spellTokenRead, splitRef, splitRefMarkers, splitRuleComposites, splitStyleProps, splitVariants, stamp, standsInForCode, statePointerProp, stateRef, stateTest, stateVariantNames, storedDefaultConditions, storedPreview, styleAliasesOf, styleDeclarationGroups, styleDeclarations, styleNumberAsPainted, styleNumberReadingChanges, stylePropClassBase, stylePropClassName, stylePropClasses, stylePropEntries, stylePropLeafForToken, stylePropNegates, stylePropNumberCss, stylePropNumberLeaf, stylePropNumberLeaves, stylePropNumberName, stylePropNumberNamedLeaves, stylePropNumberUnit, stylePropNumberUnitRefusal, stylePropOffScaleLiteral, stylePropOwnClasses, stylePropTokenGroup, stylePropTokenPath, stylePropTokenValues, stylePropValueFormOf, stylePropValueFromLeaf, stylePropValueLeaves, stylePropValueSchema, stylePropValues, stylePropertiesWriting, stylePropertyAccepts, stylePropertyFor, stylePropertyPathFor, styleRuleMotionClasses, styleSetEdits, subtract, suggestLinkSlug, summarizeChanges, surfaceProp, surfaceProps, tablerExportName, tablerStyledExportName, timing, toCssPropertyName, tokenBinding, tokenExists, tokenReference, tokenValueRow, tokenValueRows, tokenVariablesAsText, touchedFields, transition, unadoptedDirectives, unconditionalPreviewProps, unknownStyleLeaves, unreadableBorrows, unstatableConditions, unstatableOverrides, updateRefIndex, upgradeDraftEntries, upgradePatch, upgradeSerializedConfig, validateComponentProps, validateSpec, valueAt, valueForwardsOf, valueLeavesOf, valueRef, valueSchemaOf, valueTypeOf, varPrefixOf, views, visibilityStateProps, visibilityTerms, webFlexToNative, whenParts, withCellValues, withPropDefaultConditions, withRequiredContentHidden, withoutTruthyTerm, wrappedElementKey };
|
|
134
|
+
export { AI_LANES, ANATOMY_MARKER, type Add, AiChat, type AiChatClass, AiFlow, type AiFlowClass, type AiFlowOrigin, AiGeneration, type AiGenerationClass, type AiLane, AiMessage, type AiMessageClass, type AiMultiAgentMode, type AnatomyIssue, type AnatomyIssueKind, type AnatomyReport, Annotation, type AnnotationClass, AnnotationFields, type AnnotationSegment, type AnySystemConfig, type AppliedOp, type AsInput, type AttachedSources, type Authored, type AuthoredComponent, type AuthoredDefaultsOf, type AuthoredProp, type AuthoredPropBody, type AuthoredStyleBag, type AuthoredStyleField, type AuthoringSignatureOptions, BUILD_DEFAULTS, type BatchReceipt, type BindingKind, type BreakOutcome, type BreakPlan, type BreakPlanInput, type BreakPlanRow, type BreakReach, BuildSection, type BuildSectionClass, CANVAS_ROLES, COMPONENT_ENTRY_STATIC, CONFIG_OPERATION_KIND, CREATED_COMPONENT_DIRECTORY, CSS_DEFAULTS, CSS_PROPERTY_NAMES, CSS_WIDE_KEYWORDS, CURRENT_SCHEMA_VERSION, type Calc, type CalcOperand, Canvas, type CanvasClass, CanvasConfig, type CanvasConfigClass, CanvasRole, type CanvasRoleClass, type CanvasRoleName, CanvasSection, type CanvasSectionClass, type CaptureToSpecOptions, type CaptureToSpecResult, type CapturedChild, type CapturedElement, CapturedNode, type CapturedNodeJson, type Spec as CapturedSpec, type SpecElement as CapturedSpecElement, type CapturedText, type Cell, type CellSlot, type Change, type ChangeHook, type ChangeTarget, type CheckedTokenRefPath, type ChildrenPolicy, type ClassGrammar, type CodeSlot, type Collection, type ColorValue, Component, type ComponentBody, type ComponentBuilder, type ComponentClass, type ComponentContractOf, type ComponentCreateInput, type ComponentElementBody, type ComponentInteraction, type ComponentItemInput, type ComponentModuleSource, type ComponentPropBody, type ComponentPropsOf, type ComponentReference, type ComponentRegistryImport, type ComponentRegistryImportBinding, type ComponentRuleClass, type ComponentSpec, type ComponentSpecs, type ComponentState, type ComponentStyleBody, type ComposedValue, type ComposedValueAuthoring, type ComposedValueForm, Composite, type CompositeClass, type ComputedFields, type ComputedFunctions, type ComputedInput, type ComputedMap, type ComputedValue, Config, type ConfigClass, type ConfigEdit, ConfigFormatError, type ConfigInstance, type ConfigIssue, type ConfigIssueCode, type ConfigKind, type ConfigOp, ConfigRejection, ConfigSession, type ConfigSessionOptions, type ConfigSink, type ConfigSource, type CopyPlan, type CopyPlanInput, type CopyPlanRow, type CreateInput, type CssGrammar, type CssPrefix, type CssPropertyEntry, CssSection, type CssSectionClass, DERIVED_COLOR_DEFAULT_SPACE, DERIVED_COLOR_SPACE, DERIVED_MUTATIONS, type DanglingDirective, type DanglingLocalRef, type DanglingRef, type DeclaredRuntimeModule, type DeletePlan, type DeriveMembers, type DerivedColor, type DerivedEntityClass, type DerivedOp, Device, type DeviceClass, type DiffOptions, type Divide, Documentation, type DocumentationClass, DocumentationLibrary, type DocumentationLibraryClass, type DomLikeElement, type DraftSource, type DroppedDirective, ENTITY_PATH_MESSAGE, EXPORT_MEMBER, type EditedCellContent, type Edition, type ElementVisibility, type ElementVisibilityInput, type ElementVisibilitySchema, Entity, type EntityAddress, type EntityChange, type EntityClass, type EntityKind, type EntityMap, type EntryGroup, type ExpandOptions, type ExpansionResult, type ExtendedComponentRef, type ExtendedRef, type FieldsSchema, File, type FileClass, Font, type FontClass, FontFile, type FontFileClass, type ForwardBlockedReason, type ForwardClaims, type ForwardOption, type ForwardOptions, type ForwardRequest, GROUP, GUIDANCE_LANES, GlobalStyle, type GlobalStyleClass, type GlyphComponent, type GlyphExportRule, type GlyphSource, type GlyphValue, type GoverningCondition, type Gradient, type GroupBody, type GroupComputedInput, Guidance, type GuidanceClass, type GuidanceLane, type GuidanceScope, type GuidanceSegment, GuidanceStyle, type GuidanceStyleBody, type GuidanceStyleClass, type HasSnapshot, type HydrationOptions, ICON_METADATA_FORMATS, Icon, type IconAnswer, type IconClass, type IconGlyph, type IconHook, type IconLibrary, type IconMemberMetadata, type IconMetadataAdapter, type IconMetadataDeclaration, type IconMetadataFile, type IconMetadataFormat, type IconTool, type IconVariantAs, type IdentifiedOp, type InferredRename, type InlineMotion, type Instance, type InstanceSlot, type InstanceSpec, type InteractionCondition, type ItemOf, type KindRef, type KindSignature, type KindSlice, LINK_SLUG, LINK_SLUG_MESSAGE, type LayerElement, type LayerMap, type LayerPropDriver, type LayerStyleOptions, type LeafAddress, type LinkArrival, type LinkDeclaration, type LinkPaths, type LinkPlan, type LinkPlanInput, type LinkedDraw, type LinkedElsewhere, type LinkedHandle, LinkedSystem, type LinkedSystemClass, type LinkedSystemCreateInput, type LinkedSystemItemInput, type LinkedSystemResolver, type LinkedSystemState, LintSection, type LintSectionClass, type ListOptions, type LiveConfig, type LocalOverlay, MINTED, MODIFIER_CATEGORIES, MOTION_FACTORY, MOTION_VARIANT_STATES, type MarkerKind, type Max, type Min, type MisdeclaredOverlay, Modifier, type ModifierCategory, type ModifierClass, type ModifierGroupMeta, type ModifierProps, type ModuleViewLink, Motion, type MotionClass, type MotionPresetToken, type Multiply, NATIVE_ACTIVATIONS, type NativeActivation, type NativeFlexValue, NativeModifier, type NativeModifierClass, NativeSettings, NativeStyleProperty, NativeToken, Node, type NodeClass, type OklchColor, type OnLinked, type OpHandler, type OpInput, Operation, type OperationClass, type Origin, type OrphanedMotionVariant, type OverlayVerb, type OverrideCondition, type OverrideCopyingSource, type OwnedRecords, PLACED_NODE_KEY, PLAYGROUND_DEFAULTS, Package, type PackageClass, Page, type PageClass, type Patch, type PathOf, type PickedComposite, type PinDirective, type PinOptions, type PinOptionsField, type PinOptionsInput, type PlacedMotion, type Plan, type PlanImpact, type PlanOp, PlaygroundSection, type PlaygroundSectionClass, Presence, type PresenceProps, type PreviewElement, type PreviewMatrix, type ProjectedVisibility, type PropCondition, type PropDecl, type PropDeclaration, type PropDefaultCondition, type PropMap, type PropRoute, type PropRule, type PropShapeSchema, type PropsOrRules, RN_STYLE_KEYS, ReactNativeSystem, type ReactNativeSystemClass, type ReactNativeSystemConfig, type RebaseConflict, type RebaseOrigin, type RebaseResult, type RecordedSource, type RedundantQualifier, type Ref, type RefGraph, type RefGraphEntry, type RefIndex, type RefIndexChange, type RefMember, type RefTarget, type RegisteredComponentContracts, type RegisteredComponentHandles, type RegisteredEntities, type RegisteredGroupPaths, type RegisteredMembers, type RegisteredModifiers, type RegisteredPaths, type RegisteredStyleBag, type RegisteredStyleProps, type RegisteredTokenValues, type RelativeLineHeightValue, type RenamePlan, type RenderArgs, type RenderElement, type RenderSpec, type RenderedNode, type RenderedTarget, type RepeatRow, type RepeatSpec, type RequiredContent, type RequiredPropUnforwarded, type ResolveContext, type ResolveValueTypeInput, type ResolvedBinding, type ResolvedSource, type RootFontSize, SCRIPT_EXTENSIONS, SERIALIZED_CONFIG_VERSION, SIZE_TOLERANCE_PX, SLOT_CODE_FORMS, STYLE_PROPERTIES, STYLE_PROP_NUMBER_UNITS, STYLE_PROP_VALUE_FORMS, STYLE_PROP_VALUE_LEAVES, type SafelistEntry, type SchemaEntry, type SchemaMigration, SchemaVersionTooNew, type SerializedConfig, type SerializedSourceAnswer, Settings, type SettingsClass, type Shadow, type ShadowColor, type ShadowLayer, type ShadowParts, type ShipGraphFile, type ShipRuleOptions, type SignatureOptions, type SkippedOp, type Slot, type SlotCell, type SlotCodeForm, type SlotDecl, type SlotHost, type SlotTarget, Snapshot, type Source, type SourceAnswer, type SourceChange, type SourceMap, type SourceResolution, type SourceResolutionSchemas, type SourceResolver, type SourceRowState, type SourceState, type SourceType, type SourceUnavailable, type SourcesBySlug, type SourcesOf, type SpecNode, type SplitStyleProps, type StampedPatch, type StoredConfig, type StoredDefaultCondition, type StoredPreviewCondition, type StyleClass, type StyleDeclarationGroup, type StylePropEntry, type StylePropLeaf, type StylePropNumberUnit, type StylePropValue, type StylePropValueCtx, type StylePropValueKind, StyleProperty, type StylePropertyClass, type StylePropertyItem, type StyleProps, type StyleRuleInput, type StyleSetChange, type StyleValue, type SubEntityClass, type SubPatch, type Subtract, type SurfaceCompositeProp, type SurfaceProp, type SurfacePropCondition, type SurfacePropKind, type SurfaceScalarProp, type SurfaceSlotProp, type SurfaceStylePropertyProp, type SurfaceVariantProp, System, type SystemClass, type SystemConfig, SystemSection, type SystemSectionClass, SystemSource, type SystemSourceClass, TOKEN_READERS, type Timing, type TimingParts, type TimingValue, Token, type TokenBinding, type TokenBody, type TokenClass, type TokenGroupReader, type TokenGroupVariableReader, type TokenMatch, type TokenReader, type TokenReaders, type TokenRefPath, type TokenReference, type TokenValueEntry, type TokenValueRow, type TokenValueState, type TokenVariableAsText, type TokenVariableReaders, Tool, type ToolClass, type Transition, type TransitionSegment, type TraverseOptions, type TreeNode, UDS_FORCE_STATES, UNCONDITIONAL_PREVIEW_KEY, UNREACHABLE, type UnadoptedDirective, type UnconditionalDefaults, type UnknownStyleLeaf, type UnlinkPlan, type UnlinkPlanInput, type UnreadableBorrow, type UnstatableCondition, type UnstatableOverride, type UpgradedDraft, type UserSchemas, VOID_ELEMENTS, type ValueOf, type ValueRefs, type ValueType, type VarNaming, type VariantValueBody, type VariantValues, type VisibilityOperator, type VisibilityTerm, WEB_ACTIVATIONS, type WalkOptions, type WebActivation, add, addressOf, adoptLinkedModule, alpha, anatomyElementComponent, anatomyIssueKey, anatomyTextProp, applyPathDelta, arbitraryClassName, arbitraryNeedsClass, authoredBag, authoredValue, authoringSignatures, baseOf, bindStateRef, bindingPath, blankComponentBody, bodyNumberLeaves, bodyNumberUnit, borrowedGroup, borrowedItem, boundElementType, brandGroup, buildRefGraph, buildRefIndex, calcFunction, calcOperands, calcOperator, canonicalWhen, canvasCellAt, canvasDefaultCoordinate, capturedFromDom, cellAxes, cellSeedSpec, changeOf, changeValueAt, changesOf, childrenPolicy, classGrammar, classLeaf, className, classPrefixOf, classSelector, classifyOverlay, classifyStylePropValue, clearsCompositeDefault, codeSlotsOf, collectRefs, compareComponentRules, componentClassBase, componentCompositeClasses, componentInteractions, componentLayerClass, componentModuleFilePaths, componentModuleKey, componentModuleSource, componentMotionClasses, componentPropClasses, componentPropComposites, componentRegistryImports, componentRuleClasses, componentSourceDerivedFields, componentSpec, componentStateAttribute, componentStateAttributes, componentStateDefaults, componentStates, composedValueAuthoring, composedValueFormOf, composedValueForms, composedValueSchemas, compositeMemberBag, condArms, condValue, containsMarker, convertLinkedTokenValue, createCanvasConfig, createSliceMemo, createdComponentFilePath, createdComponentPathOf, createdModuleKey, cssPrefixes, cssPropValue, cssProperty, cssPropertyNames, cssString, cssValueIssue, cssVar, cssVarRef, danglingDirectives, danglingLocalRefs, danglingSourcedRefs, darken, declarationKeyName, declarationText, declaredField, declaredPropDefaults, declaredPropRouting, declaredRuntimeModules, declaredVariants, declaresCssVariable, defaultsFor, defineComponent, defineConfig, defineDerivedEntity, defineEntity, defineOverride, defineSubEntity, deriveCreateSchema, deriveInputDir, deriveSpec, deriveUpdateSchema, describeBody, describePatch, detectedWireVersion, diffRendered, divide, editOp, editedCellContent, elementFromCaptured, entityPathProblem, entityRefOf, entryKeyOf, evaluateCalc, excludedCondition, expandComponent, expandSpec, fieldKeys, followCellContent, followingContent, fontFamilyStack, fontFileDescriptors, forceModeAttribute, forceModeAttributeOf, forceModeProp, forceModePropGroup, forceModePropValue, forceModeProps, forceStateAttribute, forceStateSelector, forwardClaims, forwardRoutes, forwardedCompositeClears, forwardedLayers, forwardedNames, forwardsOf, globalStyleName, glyphComponentOf, glyphExportNames, glyphExportRule, glyphLibrariesOf, glyphPropsOf, glyphSourcesOf, glyphType, glyphVariantProp, graftPreviewElements, guidanceReaches, guidanceScopeOf, guidanceTextOf, hasInteraction, hasJsMotion, heldLinked, iconCategories, iconLibraries, iconLibrary, iconMemberMetadata, iconMetadata, iconMetadataDeclaration, iconMetadataFile, iconMetadataFileJsonSchema, iconMetadataFormat, iconMetadataSourceFile, iconResolver, iconToolAxisOptions, iconToolFor, iconToolLibraries, iconToolOf, iconToolsOf, iconVariantAs, inferredRenames, inlineJsMotion, inlineMotionId, inlineMotionProps, inlineMotions, inlineRuleComposites, inputOf, instanceHolding, instanceSpec, interactionKey, interactionModifiers, intoName, isAdd, isAuthored, isBinaryAsset, isCalc, isComposedValue, isConfigFormatError, isConfigRejection, isCreatedComponent, isCssProperty, isCustomPropertyKey, isDeclaredElementProp, isDerivedColor, isDivide, isEntityPath, isExtendedRef, isFontFaceStyle, isFontFaceWeight, isForceModeProp, isGradient, isGroupBody, isIdentifier, isInlineMotion, isInteractionModifier, isLinkSlug, isMax, isMin, isMintedRow, isMultiply, isNativeConfig, isNativeFlexValue, isOklchColor, isPlainObject, isPreviewElement, isRef, isRelativeLineHeightValue, isReservedWord, isShadow, isSubtract, isSystemConfig, isTiming, isTokenReader, isTransition, isValueSlot, jsMotionBody, jsMotionPresets, jsMotionPropFields, kebabComponent, keyedPreviewConditions, kindOf, kindsOf, layerJsMotionPresets, layerPropDrivers, layerPropRoutes, layerRef, layerRoutedProps, layerStyles, layerTextProp, leafAddresses, leafVerb, leavesOfStylePropValue, librariesBoundBy, libraryHolding, lighten, linearGradient, linkedComponentModule, linkedDraw, linkedLocalRow, linkedModuleView, linkedVarNaming, literalValueOf, liveStateProps, markerKind, matchEntities, matchTokens, matchesExclude, max, memberFromLeaf, memberLeaves, memberOf, memberRef, memberVariantOptions, memoryConfigSource, min, misdeclaredOverlays, mix, modeAxes, modifierAxes, modifierAxis, modifierCategory, modifierGroupFields, modifierInvariants, modifierLeaf, modifierUtilitiesUsed, moduleViewOf, motionClassName, motionKeyframesName, motionPresetTokens, motionVariantGroups, multiply, nameIconsInTree, nameStyleNumbers, namedFields, nativeFlexToWeb, nativeTokenValue, negatedCssValue, normalizeName, normalizeStyleValue, oklch, opOf, opVerb, opacityPercentage, opsForKind, orList, orRef, orphanedMotionVariants, overlayVerb, overrideCondition, overrideKey, overrideKeyModifiers, overrideModifiers, overridesCopyingSource, ownTextProp, ownValues, ownerOf, ownsItsValues, packageKey, packageName, parseRootFontSize, parseTokenValue, partsOf, pathDelta, pathOf, pathSegments, pinStyleNumbers, placedGlyphElement, placedMotions, planBreak, planCopy, planLink, planUnlink, prefixed, prepareLinkedTokenBody, previewConditionalProps, previewConditions, previewDefaults, previewMatrix, previewSpec, propApplies, propDefaultConditions, propInto, propOwner, propRegistryRef, propValueDomain, propValueFromAxis, propsIntoLayer, readStatePointer, readsState, redundantQualifiers, ref, refGraphOf, refKey, refLeaf, refListOf, refOfKey, refSchema, refTo, registerSchemaMigrations, renderBindingsOf, renderComposedValue, renderDerivedColor, renderGradient, renderInterpolated, renderOklch, renderShadow, renderSignature, renderStyleValue, renderTiming, renderTransition, renderValue, renderedElement, renderedSignatureOf, renderedTarget, replaceRefMarkers, requiredContentCondition, requiredContentLayers, requiredPropsUnforwarded, resetCellContent, resolutionSchema, resolveAppliedComposites, resolveBinding, resolveComponentProps, resolveFieldValue, resolveIconLibraries, resolveInputDir, resolveLinkedAlias, resolveLinkedDir, resolveOutDir, resolveOutputAlias, resolveRetiredLinkedDir, resolveSourceAlias, resolveTokenValue, resolveTokenValueUnder, resolveValue, resolveValueType, resolveVisibility, resolvedSource, rewriteRefNamespace, rewriteRefSource, rewriteRefs, rewriteStyleNumbers, rnStyleKey, rootFontSize, rootLayerOf, routeOf, routedBag, routedProp, routedPropIn, routedSource, routesContent, routesOf, ruleApplies, ruleCondition, runChangeHooks, safelistEntrySchema, sameOrigin, schemaVersionOf, searchEntities, searchTokens, setAtPath, shadow, shippedModuleRoots, shippedModules, shipsByDefault, signatureOf, slotCodeForms, slotTargetsOf, snapshotHtml, sniffValueType, sourceEntries, sourceHops, sourceOf, sourceOfGroup, sourceOfItem, sourceRowStates, sourceSlugFor, sourceUnavailable, sourceUnreachable, sourceVarPrefix, specFromCapture, specToNodePatches, specWithResolvedVisibility, spellTokenRead, splitRef, splitRefMarkers, splitRuleComposites, splitStyleProps, splitVariants, stamp, standsInForCode, statePointerProp, stateRef, stateTest, stateVariantNames, storedDefaultConditions, storedPreview, styleAliasesOf, styleDeclarationGroups, styleDeclarations, styleNumberAsPainted, styleNumberReadingChanges, stylePropClassBase, stylePropClassName, stylePropClasses, stylePropEntries, stylePropLeafForToken, stylePropNegates, stylePropNumberCss, stylePropNumberLeaf, stylePropNumberLeaves, stylePropNumberName, stylePropNumberNamedLeaves, stylePropNumberUnit, stylePropNumberUnitRefusal, stylePropOffScaleLiteral, stylePropOwnClasses, stylePropTokenGroup, stylePropTokenPath, stylePropTokenValues, stylePropValueFormOf, stylePropValueFromLeaf, stylePropValueLeaves, stylePropValueSchema, stylePropValues, stylePropertiesWriting, stylePropertyAccepts, stylePropertyFor, stylePropertyPathFor, styleRuleMotionClasses, styleSetEdits, subtract, suggestLinkSlug, summarizeChanges, surfaceProp, surfaceProps, tablerExportName, tablerStyledExportName, timing, toCssPropertyName, tokenBinding, tokenExists, tokenReference, tokenValueRow, tokenValueRows, tokenVariablesAsText, touchedFields, transition, unadoptedDirectives, unconditionalPreviewProps, unknownStyleLeaves, unreadableBorrows, unstatableConditions, unstatableOverrides, updateRefIndex, upgradeDraftEntries, upgradePatch, upgradeSerializedConfig, validateComponentProps, validateSpec, valueAt, valueForwardsOf, valueLeavesOf, valueRef, valueSchemaOf, valueTypeOf, varPrefixOf, views, visibilityStateProps, visibilityTerms, webFlexToNative, whenParts, withCellValues, withPropDefaultConditions, withRequiredContentHidden, withoutTruthyTerm, wrappedElementKey };
|