@almadar/core 10.80.0 → 10.81.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builders.d.ts +3 -3
- package/dist/builders.js +28 -0
- package/dist/builders.js.map +1 -1
- package/dist/{effect-C4uehm-r.d.ts → effect-BHoSW19_.d.ts} +259 -4
- package/dist/{entityAccess-BMKFgmsc.d.ts → entityAccess-0POr1WuY.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +400 -0
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +28 -0
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/{index-DqUnw2Oo.d.ts → index-rVlLkZJu.d.ts} +4 -4
- package/dist/index.d.ts +10 -10
- package/dist/index.js +1553 -406
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/mock/index.js +28 -0
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +11 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +2611 -438
- package/dist/patterns/index.js +1391 -405
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +1004 -402
- package/dist/patterns/patterns-registry.json +373 -1
- package/dist/patterns/registry.json +373 -1
- package/dist/patterns/services-registry.json +1171 -424
- package/dist/{schema-Cma07_18.d.ts → schema-CkTTGH6l.d.ts} +2 -2
- package/dist/{trait-BXkQKZbO.d.ts → trait-D269f6pt.d.ts} +1 -1
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +164 -1
- package/dist/types/index.js.map +1 -1
- package/dist/{types-DoAKLgCZ.d.ts → types-7PHjoE7m.d.ts} +2 -2
- package/package.json +1 -1
|
@@ -2043,6 +2043,220 @@ declare function validateAssetAnimations(assetRef: SemanticAssetRef, requiredAni
|
|
|
2043
2043
|
valid: boolean;
|
|
2044
2044
|
missing: string[];
|
|
2045
2045
|
};
|
|
2046
|
+
declare const SPRITE_SHEET_LAYOUT: {
|
|
2047
|
+
readonly frameWidth: 256;
|
|
2048
|
+
readonly frameHeight: 256;
|
|
2049
|
+
readonly columns: 8;
|
|
2050
|
+
readonly rows: 5;
|
|
2051
|
+
readonly background: "#20202E";
|
|
2052
|
+
};
|
|
2053
|
+
type SpriteSheetLayout = typeof SPRITE_SHEET_LAYOUT;
|
|
2054
|
+
/**
|
|
2055
|
+
* The canonical unit animation row table (idle/walk/attack/hit/death), one
|
|
2056
|
+
* row per `AnimationName`, in sheet-row order. Mirrors
|
|
2057
|
+
* `tools/asset-workflow/src/spritesheet-bake.ts`'s `SPRITE_LAYOUT`.
|
|
2058
|
+
*/
|
|
2059
|
+
declare const DEFAULT_UNIT_ANIMATION_ROWS: ReadonlyArray<{
|
|
2060
|
+
name: AnimationName;
|
|
2061
|
+
} & AnimationDef>;
|
|
2062
|
+
/**
|
|
2063
|
+
* Builds the canonical unit `SpriteSheetAtlas` from `SPRITE_SHEET_LAYOUT` +
|
|
2064
|
+
* `DEFAULT_UNIT_ANIMATION_ROWS` for a given set of direction sheets. Directions
|
|
2065
|
+
* default to whichever keys `sheets` actually carries (legacy se/sw-only packs
|
|
2066
|
+
* included), or the caller can force a specific set via `opts.directions`.
|
|
2067
|
+
*/
|
|
2068
|
+
declare function defaultUnitAtlas(sheets: SpriteSheetAtlas['sheets'], opts?: {
|
|
2069
|
+
directions?: SpriteDirection[];
|
|
2070
|
+
}): SpriteSheetAtlas;
|
|
2071
|
+
declare const MANIFEST_ENTRY_KINDS: readonly ["model", "image", "spritesheet", "audio", "json"];
|
|
2072
|
+
type ManifestEntryKind = (typeof MANIFEST_ENTRY_KINDS)[number];
|
|
2073
|
+
declare const ManifestEntryKindSchema: z.ZodEnum<["model", "image", "spritesheet", "audio", "json"]>;
|
|
2074
|
+
declare const MANIFEST_CANVAS_AFFINITIES: readonly ["isometric", "hex", "flat", "side", "3d", "none"];
|
|
2075
|
+
type ManifestCanvasAffinity = (typeof MANIFEST_CANVAS_AFFINITIES)[number];
|
|
2076
|
+
declare const ManifestCanvasAffinitySchema: z.ZodEnum<["isometric", "hex", "flat", "side", "3d", "none"]>;
|
|
2077
|
+
declare const MANIFEST_SOURCE_CATALOGS: readonly ["kenny", "kekec-assets", "iram-assets", "trait-wars-assets", "kflow-assets"];
|
|
2078
|
+
type ManifestSourceCatalog = (typeof MANIFEST_SOURCE_CATALOGS)[number];
|
|
2079
|
+
declare const ManifestSourceCatalogSchema: z.ZodEnum<["kenny", "kekec-assets", "iram-assets", "trait-wars-assets", "kflow-assets"]>;
|
|
2080
|
+
declare const MANIFEST_ASSET_LICENSES: readonly ["CC0", "proprietary"];
|
|
2081
|
+
type ManifestAssetLicense = (typeof MANIFEST_ASSET_LICENSES)[number];
|
|
2082
|
+
declare const ManifestAssetLicenseSchema: z.ZodEnum<["CC0", "proprietary"]>;
|
|
2083
|
+
/**
|
|
2084
|
+
* Path of the sheet's `atlas.json` relative to the pack's `shared/` root
|
|
2085
|
+
* (`riya-platformer/units/riya/atlas.json`) — the executable frame truth for
|
|
2086
|
+
* unit sheets whose rows are not uniform.
|
|
2087
|
+
*/
|
|
2088
|
+
type ManifestAtlasRef = string;
|
|
2089
|
+
/** Tile/sprite-sheet frame layout for a manifest row, an atlas reference, else `null`. */
|
|
2090
|
+
type ManifestFrameSpec = {
|
|
2091
|
+
kind: 'iso-tile';
|
|
2092
|
+
w: number;
|
|
2093
|
+
h: number;
|
|
2094
|
+
} | {
|
|
2095
|
+
kind: 'sprite-sheet';
|
|
2096
|
+
frame: number;
|
|
2097
|
+
cols: number;
|
|
2098
|
+
rows: number;
|
|
2099
|
+
} | ManifestAtlasRef | null;
|
|
2100
|
+
declare const ManifestFrameSpecSchema: z.ZodUnion<[z.ZodObject<{
|
|
2101
|
+
kind: z.ZodLiteral<"iso-tile">;
|
|
2102
|
+
w: z.ZodNumber;
|
|
2103
|
+
h: z.ZodNumber;
|
|
2104
|
+
}, "strip", z.ZodTypeAny, {
|
|
2105
|
+
kind: "iso-tile";
|
|
2106
|
+
w: number;
|
|
2107
|
+
h: number;
|
|
2108
|
+
}, {
|
|
2109
|
+
kind: "iso-tile";
|
|
2110
|
+
w: number;
|
|
2111
|
+
h: number;
|
|
2112
|
+
}>, z.ZodObject<{
|
|
2113
|
+
kind: z.ZodLiteral<"sprite-sheet">;
|
|
2114
|
+
frame: z.ZodNumber;
|
|
2115
|
+
cols: z.ZodNumber;
|
|
2116
|
+
rows: z.ZodNumber;
|
|
2117
|
+
}, "strip", z.ZodTypeAny, {
|
|
2118
|
+
kind: "sprite-sheet";
|
|
2119
|
+
rows: number;
|
|
2120
|
+
frame: number;
|
|
2121
|
+
cols: number;
|
|
2122
|
+
}, {
|
|
2123
|
+
kind: "sprite-sheet";
|
|
2124
|
+
rows: number;
|
|
2125
|
+
frame: number;
|
|
2126
|
+
cols: number;
|
|
2127
|
+
}>, z.ZodString, z.ZodNull]>;
|
|
2128
|
+
/**
|
|
2129
|
+
* One row of `almadar-assets/kflow-assets/manifest.json`. Core owns this
|
|
2130
|
+
* shape; `tools/asset-workflow`'s `ExtendedManifestEntry` converges onto it.
|
|
2131
|
+
*/
|
|
2132
|
+
interface ManifestEntry {
|
|
2133
|
+
url: string;
|
|
2134
|
+
name: string;
|
|
2135
|
+
category: string;
|
|
2136
|
+
kind: ManifestEntryKind;
|
|
2137
|
+
width: number;
|
|
2138
|
+
height: number;
|
|
2139
|
+
canvasAffinity: ManifestCanvasAffinity;
|
|
2140
|
+
genreAffinity: string[];
|
|
2141
|
+
swapClass: string;
|
|
2142
|
+
sourceCatalog: ManifestSourceCatalog;
|
|
2143
|
+
frameSpec: ManifestFrameSpec;
|
|
2144
|
+
/** Provenance-extended field: present on the promote/register path only. */
|
|
2145
|
+
license?: ManifestAssetLicense;
|
|
2146
|
+
}
|
|
2147
|
+
declare const ManifestEntrySchema: z.ZodObject<{
|
|
2148
|
+
url: z.ZodString;
|
|
2149
|
+
name: z.ZodString;
|
|
2150
|
+
category: z.ZodString;
|
|
2151
|
+
kind: z.ZodEnum<["model", "image", "spritesheet", "audio", "json"]>;
|
|
2152
|
+
width: z.ZodNumber;
|
|
2153
|
+
height: z.ZodNumber;
|
|
2154
|
+
canvasAffinity: z.ZodEnum<["isometric", "hex", "flat", "side", "3d", "none"]>;
|
|
2155
|
+
genreAffinity: z.ZodArray<z.ZodString, "many">;
|
|
2156
|
+
swapClass: z.ZodString;
|
|
2157
|
+
sourceCatalog: z.ZodEnum<["kenny", "kekec-assets", "iram-assets", "trait-wars-assets", "kflow-assets"]>;
|
|
2158
|
+
frameSpec: z.ZodUnion<[z.ZodObject<{
|
|
2159
|
+
kind: z.ZodLiteral<"iso-tile">;
|
|
2160
|
+
w: z.ZodNumber;
|
|
2161
|
+
h: z.ZodNumber;
|
|
2162
|
+
}, "strip", z.ZodTypeAny, {
|
|
2163
|
+
kind: "iso-tile";
|
|
2164
|
+
w: number;
|
|
2165
|
+
h: number;
|
|
2166
|
+
}, {
|
|
2167
|
+
kind: "iso-tile";
|
|
2168
|
+
w: number;
|
|
2169
|
+
h: number;
|
|
2170
|
+
}>, z.ZodObject<{
|
|
2171
|
+
kind: z.ZodLiteral<"sprite-sheet">;
|
|
2172
|
+
frame: z.ZodNumber;
|
|
2173
|
+
cols: z.ZodNumber;
|
|
2174
|
+
rows: z.ZodNumber;
|
|
2175
|
+
}, "strip", z.ZodTypeAny, {
|
|
2176
|
+
kind: "sprite-sheet";
|
|
2177
|
+
rows: number;
|
|
2178
|
+
frame: number;
|
|
2179
|
+
cols: number;
|
|
2180
|
+
}, {
|
|
2181
|
+
kind: "sprite-sheet";
|
|
2182
|
+
rows: number;
|
|
2183
|
+
frame: number;
|
|
2184
|
+
cols: number;
|
|
2185
|
+
}>, z.ZodString, z.ZodNull]>;
|
|
2186
|
+
license: z.ZodOptional<z.ZodEnum<["CC0", "proprietary"]>>;
|
|
2187
|
+
}, "strip", z.ZodTypeAny, {
|
|
2188
|
+
kind: "image" | "spritesheet" | "audio" | "model" | "json";
|
|
2189
|
+
url: string;
|
|
2190
|
+
name: string;
|
|
2191
|
+
width: number;
|
|
2192
|
+
height: number;
|
|
2193
|
+
category: string;
|
|
2194
|
+
canvasAffinity: "flat" | "isometric" | "3d" | "hex" | "side" | "none";
|
|
2195
|
+
genreAffinity: string[];
|
|
2196
|
+
swapClass: string;
|
|
2197
|
+
sourceCatalog: "kenny" | "kekec-assets" | "iram-assets" | "trait-wars-assets" | "kflow-assets";
|
|
2198
|
+
frameSpec: string | {
|
|
2199
|
+
kind: "iso-tile";
|
|
2200
|
+
w: number;
|
|
2201
|
+
h: number;
|
|
2202
|
+
} | {
|
|
2203
|
+
kind: "sprite-sheet";
|
|
2204
|
+
rows: number;
|
|
2205
|
+
frame: number;
|
|
2206
|
+
cols: number;
|
|
2207
|
+
} | null;
|
|
2208
|
+
license?: "CC0" | "proprietary" | undefined;
|
|
2209
|
+
}, {
|
|
2210
|
+
kind: "image" | "spritesheet" | "audio" | "model" | "json";
|
|
2211
|
+
url: string;
|
|
2212
|
+
name: string;
|
|
2213
|
+
width: number;
|
|
2214
|
+
height: number;
|
|
2215
|
+
category: string;
|
|
2216
|
+
canvasAffinity: "flat" | "isometric" | "3d" | "hex" | "side" | "none";
|
|
2217
|
+
genreAffinity: string[];
|
|
2218
|
+
swapClass: string;
|
|
2219
|
+
sourceCatalog: "kenny" | "kekec-assets" | "iram-assets" | "trait-wars-assets" | "kflow-assets";
|
|
2220
|
+
frameSpec: string | {
|
|
2221
|
+
kind: "iso-tile";
|
|
2222
|
+
w: number;
|
|
2223
|
+
h: number;
|
|
2224
|
+
} | {
|
|
2225
|
+
kind: "sprite-sheet";
|
|
2226
|
+
rows: number;
|
|
2227
|
+
frame: number;
|
|
2228
|
+
cols: number;
|
|
2229
|
+
} | null;
|
|
2230
|
+
license?: "CC0" | "proprietary" | undefined;
|
|
2231
|
+
}>;
|
|
2232
|
+
type ManifestEntryInput = z.input<typeof ManifestEntrySchema>;
|
|
2233
|
+
/**
|
|
2234
|
+
* Adapts kflow-assets manifest rows into the inspector picker's
|
|
2235
|
+
* `AssetCatalog`. The ONE deterministic derivation the Kura assets server
|
|
2236
|
+
* route (`GET /api/assets/catalog`) and any other manifest consumer share.
|
|
2237
|
+
*/
|
|
2238
|
+
declare function manifestToAssetCatalog(entries: ReadonlyArray<ManifestEntry>, opts?: {
|
|
2239
|
+
cdnPrefix?: string;
|
|
2240
|
+
}): AssetCatalog;
|
|
2241
|
+
/**
|
|
2242
|
+
* Parses a `t:<kind>` / `l:<label>` / free-text asset search query. An
|
|
2243
|
+
* unrecognized `t:` value is dropped from the returned `kind` (there is no
|
|
2244
|
+
* value of `AssetCatalogEntry['kind']` to report) — `matchAssetQuery`, which
|
|
2245
|
+
* shares this same tokenizer internally, is the authority that turns it into
|
|
2246
|
+
* "matches nothing".
|
|
2247
|
+
*/
|
|
2248
|
+
declare function parseAssetQuery(q: string): {
|
|
2249
|
+
text: string;
|
|
2250
|
+
kind?: AssetCatalogEntry['kind'];
|
|
2251
|
+
labels: string[];
|
|
2252
|
+
};
|
|
2253
|
+
/**
|
|
2254
|
+
* Matches one catalog entry against a `t:`/`l:`/free-text query. `l:` labels
|
|
2255
|
+
* are ANDed against `entry.category` (exact, case-insensitive); free text is
|
|
2256
|
+
* an ANDed case-insensitive substring over `name`+`category`. An unrecognized
|
|
2257
|
+
* `t:` kind matches nothing.
|
|
2258
|
+
*/
|
|
2259
|
+
declare function matchAssetQuery(entry: AssetCatalogEntry, q: string): boolean;
|
|
2046
2260
|
|
|
2047
2261
|
/**
|
|
2048
2262
|
* Entity persistence types.
|
|
@@ -2501,8 +2715,8 @@ type EntityData = Record<string, EntityRow[]>;
|
|
|
2501
2715
|
*
|
|
2502
2716
|
* DO NOT EDIT MANUALLY — regenerated by almadar-pattern-sync `patterns` command.
|
|
2503
2717
|
*
|
|
2504
|
-
* Generated: 2026-09-
|
|
2505
|
-
* Pattern count:
|
|
2718
|
+
* Generated: 2026-09-03T03:26:05.352Z
|
|
2719
|
+
* Pattern count: 276
|
|
2506
2720
|
*/
|
|
2507
2721
|
|
|
2508
2722
|
/**
|
|
@@ -2514,7 +2728,7 @@ type PatternPropValue = Record<string, FieldValue | undefined>;
|
|
|
2514
2728
|
* All valid pattern type names from @almadar/core/patterns registry.
|
|
2515
2729
|
* Use this type in render-ui effects for compile-time validation.
|
|
2516
2730
|
*/
|
|
2517
|
-
type PatternType = 'about-page-template' | 'accordion' | 'action-palette' | 'action-tile' | 'activation-block' | 'alert' | 'algo-graph-canvas' | 'algorithm-canvas' | 'animated-counter' | 'animated-graphic' | 'animated-reveal' | 'article-section' | 'aside' | 'atlas-image' | 'atlas-panel' | 'auth-layout' | 'avatar' | 'badge' | 'behavior-view' | 'biology-canvas' | 'bloom-quiz-block' | 'book-chapter-view' | 'book-cover-page' | 'book-nav-bar' | 'book-table-of-contents' | 'book-viewer' | 'box' | 'branching-logic-builder' | 'breadcrumb' | 'button' | 'calendar-grid' | 'canvas' | 'canvas-2d' | 'card' | 'carousel' | 'case-study-card' | 'case-study-organism' | 'center' | 'chart' | 'chart-legend' | 'chat-bar' | 'checkbox' | 'chemistry-canvas' | 'choice-button' | 'code-block' | 'code-runner-panel' | 'community-links' | 'conditional-wrapper' | 'confetti-effect' | 'confirm-dialog' | 'connection-block' | 'container' | 'content-renderer' | 'content-section' | 'control-button' | 'control-grid' | 'counter-template' | 'cta-banner' | 'dashboard-grid' | 'dashboard-layout' | 'data-grid' | 'data-list' | 'date-range-picker' | 'date-range-selector' | 'day-cell' | 'detail-panel' | 'dialog' | 'dialogue-bubble' | 'divider' | 'doc-breadcrumb' | 'doc-pagination' | 'doc-search' | 'doc-sidebar' | 'doc-toc' | 'document-details' | 'document-panel' | 'document-viewer' | 'draw-fx-layer' | 'draw-group' | 'draw-mesh' | 'draw-shape' | 'draw-shape-layer' | 'draw-sprite' | 'draw-sprite-layer' | 'draw-text' | 'draw-text-layer' | 'drawer' | 'drawer-slot' | 'edge-decoration' | 'emoji-picker' | 'empty-state' | 'entity-cards' | 'entity-list' | 'entity-table' | 'error-boundary' | 'error-state' | 'feature-card' | 'feature-detail-page-template' | 'feature-grid' | 'feature-grid-organism' | 'file-tree' | 'filter-group' | 'filter-pill' | 'flex' | 'flip-card' | 'flip-container' | 'floating-action-button' | 'form' | 'form-actions' | 'form-field' | 'form-layout' | 'form-section' | 'form-section-header' | 'fx-overlay' | 'game-audio-toggle' | 'game-hud' | 'game-icon' | 'game-menu' | 'game-shell' | 'generic-app-template' | 'geometric-pattern' | 'gradient-divider' | 'graph-canvas' | 'graph-view' | 'grid' | 'header' | 'health-bar' | 'hero-organism' | 'hero-section' | 'hstack' | 'icon' | 'import-preview-tree' | 'import-progress' | 'import-source-picker' | 'infinite-scroll-sentinel' | 'input' | 'input-group' | 'install-box' | 'jazari-state-machine' | 'label' | 'landing-page-template' | 'law-reference-tooltip' | 'learning-canvas' | 'lightbox' | 'likert-scale' | 'line-chart' | 'loading-state' | 'map-view' | 'markdown-content' | 'marketing-footer' | 'marketing-stat-card' | 'master-detail' | 'master-detail-layout' | 'math-canvas' | 'matrix-question' | 'media-gallery' | 'menu' | 'meter' | 'modal' | 'modal-slot' | 'module-card' | 'navigation' | 'notification' | 'number-stepper' | 'option-constraint-group' | 'orbital-visualization' | 'overlay' | 'page-header' | 'page-transition' | 'pagination' | 'pattern-tile' | 'physics-canvas' | 'popover' | 'positioned-canvas' | 'presence' | 'pricing-card' | 'pricing-grid' | 'pricing-organism' | 'pricing-page-template' | 'progress-bar' | 'progress-dots' | 'pull-quote' | 'pull-to-refresh' | 'qr-scanner' | 'quiz-block' | 'radio' | 'range-slider' | 'reflection-block' | 'relation-select' | 'repeatable-form-section' | 'reply-tree' | 'rich-text-editor' | 'runtime-debugger' | 'scaled-diagram' | 'score-display' | 'search-input' | 'section' | 'section-header' | 'segment-renderer' | 'select' | 'sequence-bar' | 'service-catalog' | 'showcase-card' | 'showcase-organism' | 'side-panel' | 'sidebar' | 'signature-pad' | 'simple-grid' | 'skeleton' | 'social-proof' | 'sortable-list' | 'spacer' | 'sparkline' | 'spinner' | 'split' | 'split-pane' | 'split-section' | 'stack' | 'star-rating' | 'stat-badge' | 'stat-card' | 'stat-display' | 'state-graph' | 'state-json-view' | 'state-machine-view' | 'stats-grid' | 'stats-organism' | 'status-dot' | 'step-flow' | 'step-flow-organism' | 'subagent-trace-panel' | 'svg-branch' | 'svg-connection' | 'svg-flow' | 'svg-grid' | 'svg-lobe' | 'svg-mesh' | 'svg-morph' | 'svg-node' | 'svg-pulse' | 'svg-ring' | 'svg-shield' | 'svg-stack' | 'swipeable-row' | 'switch' | 'tabbed-container' | 'table-view' | 'tabs' | 'tag-cloud' | 'tag-input' | 'team-card' | 'team-organism' | 'text-highlight' | 'textarea' | 'theme-toggle' | 'time-slot-cell' | 'timeline' | 'timer-display' | 'toast-slot' | 'tooltip' | 'trait-frame' | 'trait-slot' | 'trend-indicator' | 'typewriter-text' | 'typography' | 'ui-slot-renderer' | 'upload-drop-zone' | 'version-diff' | 'violation-alert' | 'vote-stack' | 'vstack' | 'wizard-container' | 'wizard-navigation' | 'wizard-progress';
|
|
2731
|
+
type PatternType = 'about-page-template' | 'accordion' | 'action-palette' | 'action-tile' | 'activation-block' | 'alert' | 'algo-graph-canvas' | 'algorithm-canvas' | 'animated-counter' | 'animated-graphic' | 'animated-reveal' | 'article-section' | 'aside' | 'atlas-image' | 'atlas-panel' | 'auth-layout' | 'avatar' | 'badge' | 'behavior-view' | 'biology-canvas' | 'bloom-quiz-block' | 'book-chapter-view' | 'book-cover-page' | 'book-nav-bar' | 'book-table-of-contents' | 'book-viewer' | 'box' | 'branching-logic-builder' | 'breadcrumb' | 'button' | 'calendar-grid' | 'canvas' | 'canvas-2d' | 'card' | 'carousel' | 'case-study-card' | 'case-study-organism' | 'center' | 'chart' | 'chart-legend' | 'chat-bar' | 'checkbox' | 'chemistry-canvas' | 'choice-button' | 'code-block' | 'code-runner-panel' | 'community-links' | 'conditional-wrapper' | 'confetti-effect' | 'confirm-dialog' | 'connection-block' | 'container' | 'content-renderer' | 'content-section' | 'control-button' | 'control-grid' | 'counter-template' | 'cta-banner' | 'dashboard-grid' | 'dashboard-layout' | 'data-grid' | 'data-list' | 'date-range-picker' | 'date-range-selector' | 'day-cell' | 'detail-panel' | 'dialog' | 'dialogue-bubble' | 'divider' | 'doc-breadcrumb' | 'doc-pagination' | 'doc-search' | 'doc-sidebar' | 'doc-toc' | 'dock-layout' | 'document-details' | 'document-panel' | 'document-viewer' | 'draw-fx-layer' | 'draw-group' | 'draw-mesh' | 'draw-shape' | 'draw-shape-layer' | 'draw-sprite' | 'draw-sprite-layer' | 'draw-text' | 'draw-text-layer' | 'drawer' | 'drawer-slot' | 'edge-decoration' | 'emoji-picker' | 'empty-state' | 'entity-cards' | 'entity-list' | 'entity-table' | 'error-boundary' | 'error-state' | 'feature-card' | 'feature-detail-page-template' | 'feature-grid' | 'feature-grid-organism' | 'file-tree' | 'filter-group' | 'filter-pill' | 'flex' | 'flip-card' | 'flip-container' | 'floating-action-button' | 'floating-toolbar' | 'form' | 'form-actions' | 'form-field' | 'form-layout' | 'form-section' | 'form-section-header' | 'fx-overlay' | 'game-audio-toggle' | 'game-hud' | 'game-icon' | 'game-menu' | 'game-shell' | 'generic-app-template' | 'geometric-pattern' | 'gradient-divider' | 'graph-canvas' | 'graph-view' | 'grid' | 'header' | 'health-bar' | 'hero-organism' | 'hero-section' | 'hstack' | 'icon' | 'import-preview-tree' | 'import-progress' | 'import-source-picker' | 'infinite-scroll-sentinel' | 'input' | 'input-group' | 'install-box' | 'jazari-state-machine' | 'label' | 'landing-page-template' | 'law-reference-tooltip' | 'learning-canvas' | 'lightbox' | 'likert-scale' | 'line-chart' | 'loading-state' | 'map-view' | 'markdown-content' | 'marketing-footer' | 'marketing-stat-card' | 'master-detail' | 'master-detail-layout' | 'math-canvas' | 'matrix-question' | 'media-gallery' | 'menu' | 'meter' | 'modal' | 'modal-slot' | 'module-card' | 'navigation' | 'notification' | 'number-stepper' | 'option-constraint-group' | 'orbital-visualization' | 'overlay' | 'page-header' | 'page-transition' | 'pagination' | 'pattern-tile' | 'physics-canvas' | 'popover' | 'positioned-canvas' | 'presence' | 'pricing-card' | 'pricing-grid' | 'pricing-organism' | 'pricing-page-template' | 'progress-bar' | 'progress-dots' | 'pull-quote' | 'pull-to-refresh' | 'qr-scanner' | 'quiz-block' | 'radio' | 'range-slider' | 'reflection-block' | 'relation-select' | 'repeatable-form-section' | 'reply-tree' | 'rich-text-editor' | 'runtime-debugger' | 'scaled-diagram' | 'score-display' | 'search-input' | 'section' | 'section-header' | 'segment-renderer' | 'select' | 'sequence-bar' | 'service-catalog' | 'showcase-card' | 'showcase-organism' | 'side-panel' | 'sidebar' | 'signature-pad' | 'simple-grid' | 'skeleton' | 'social-proof' | 'sortable-list' | 'spacer' | 'sparkline' | 'spinner' | 'split' | 'split-pane' | 'split-section' | 'stack' | 'star-rating' | 'stat-badge' | 'stat-card' | 'stat-display' | 'state-graph' | 'state-json-view' | 'state-machine-view' | 'stats-grid' | 'stats-organism' | 'status-dot' | 'step-flow' | 'step-flow-organism' | 'subagent-trace-panel' | 'svg-branch' | 'svg-connection' | 'svg-flow' | 'svg-grid' | 'svg-lobe' | 'svg-mesh' | 'svg-morph' | 'svg-node' | 'svg-pulse' | 'svg-ring' | 'svg-shield' | 'svg-stack' | 'swipeable-row' | 'switch' | 'tabbed-container' | 'table-view' | 'tabs' | 'tag-cloud' | 'tag-input' | 'team-card' | 'team-organism' | 'text-highlight' | 'textarea' | 'theme-toggle' | 'time-slot-cell' | 'timeline' | 'timer-display' | 'toast-slot' | 'tooltip' | 'trait-frame' | 'trait-slot' | 'trend-indicator' | 'typewriter-text' | 'typography' | 'ui-slot-renderer' | 'upload-drop-zone' | 'version-diff' | 'violation-alert' | 'vote-stack' | 'vstack' | 'wizard-container' | 'wizard-navigation' | 'wizard-progress';
|
|
2518
2732
|
/**
|
|
2519
2733
|
* Pattern props map — each pattern type maps to its valid props interface.
|
|
2520
2734
|
*/
|
|
@@ -3530,6 +3744,36 @@ interface PatternPropsMap {
|
|
|
3530
3744
|
activeId?: string | SExpr;
|
|
3531
3745
|
className?: string | SExpr;
|
|
3532
3746
|
};
|
|
3747
|
+
'dock-layout': {
|
|
3748
|
+
type: 'dock-layout';
|
|
3749
|
+
rail?: unknown | string | SExpr;
|
|
3750
|
+
sidebar?: unknown | string | SExpr;
|
|
3751
|
+
main: unknown | string | SExpr;
|
|
3752
|
+
bottomPanel?: unknown | string | SExpr;
|
|
3753
|
+
statusBar?: unknown | string | SExpr;
|
|
3754
|
+
secondarySidebar?: unknown | string | SExpr;
|
|
3755
|
+
railWidth?: number | string | SExpr;
|
|
3756
|
+
secondarySidebarWidth?: number | string | SExpr;
|
|
3757
|
+
sidebarCollapsed?: boolean | string | SExpr;
|
|
3758
|
+
onSidebarCollapsedChange?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
3759
|
+
sidebarWidth?: number | string | SExpr;
|
|
3760
|
+
onSidebarWidthChange?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
3761
|
+
sidebarMinSize?: number | string | SExpr;
|
|
3762
|
+
bottomPanelCollapsed?: boolean | string | SExpr;
|
|
3763
|
+
onBottomPanelCollapsedChange?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
3764
|
+
bottomPanelHeight?: number | string | SExpr;
|
|
3765
|
+
onBottomPanelHeightChange?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
3766
|
+
bottomPanelMinSize?: number | string | SExpr;
|
|
3767
|
+
secondarySidebarCollapsed?: boolean | string | SExpr;
|
|
3768
|
+
onSecondarySidebarCollapsedChange?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
3769
|
+
className?: string | SExpr;
|
|
3770
|
+
railClassName?: string | SExpr;
|
|
3771
|
+
sidebarClassName?: string | SExpr;
|
|
3772
|
+
mainClassName?: string | SExpr;
|
|
3773
|
+
bottomPanelClassName?: string | SExpr;
|
|
3774
|
+
statusBarClassName?: string | SExpr;
|
|
3775
|
+
secondarySidebarClassName?: string | SExpr;
|
|
3776
|
+
};
|
|
3533
3777
|
'document-details': {
|
|
3534
3778
|
type: 'document-details';
|
|
3535
3779
|
entity?: PatternPropValue | string | SExpr;
|
|
@@ -3915,6 +4159,7 @@ interface PatternPropsMap {
|
|
|
3915
4159
|
onNodeAction?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
3916
4160
|
nodeActionIcon?: string | SExpr;
|
|
3917
4161
|
nodeActionLabel?: string | SExpr;
|
|
4162
|
+
onNodeReorder?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
3918
4163
|
className?: string | SExpr;
|
|
3919
4164
|
indent?: number | string | SExpr;
|
|
3920
4165
|
};
|
|
@@ -3989,6 +4234,13 @@ interface PatternPropsMap {
|
|
|
3989
4234
|
position?: string | SExpr;
|
|
3990
4235
|
className?: string | SExpr;
|
|
3991
4236
|
};
|
|
4237
|
+
'floating-toolbar': {
|
|
4238
|
+
type: 'floating-toolbar';
|
|
4239
|
+
items: unknown[] | string | SExpr;
|
|
4240
|
+
position?: string | SExpr;
|
|
4241
|
+
children?: unknown | string | SExpr;
|
|
4242
|
+
className?: string | SExpr;
|
|
4243
|
+
};
|
|
3992
4244
|
'form': {
|
|
3993
4245
|
type: 'form';
|
|
3994
4246
|
children?: unknown | string | SExpr;
|
|
@@ -4608,6 +4860,8 @@ interface PatternPropsMap {
|
|
|
4608
4860
|
gridColor?: string | SExpr;
|
|
4609
4861
|
axisColor?: string | SExpr;
|
|
4610
4862
|
showTickLabels?: boolean | string | SExpr;
|
|
4863
|
+
tickLabelFontSize?: number | string | SExpr;
|
|
4864
|
+
labelFontSize?: number | string | SExpr;
|
|
4611
4865
|
showCurveLabels?: boolean | string | SExpr;
|
|
4612
4866
|
curves?: unknown[] | string | SExpr;
|
|
4613
4867
|
points?: unknown[] | string | SExpr;
|
|
@@ -5358,6 +5612,7 @@ interface PatternPropsMap {
|
|
|
5358
5612
|
className?: string | SExpr;
|
|
5359
5613
|
leftClassName?: string | SExpr;
|
|
5360
5614
|
rightClassName?: string | SExpr;
|
|
5615
|
+
onRatioChange?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
5361
5616
|
};
|
|
5362
5617
|
'split-section': {
|
|
5363
5618
|
type: 'split-section';
|
|
@@ -6938,4 +7193,4 @@ interface RenderUINode {
|
|
|
6938
7193
|
renderItem?: RenderUINode;
|
|
6939
7194
|
}
|
|
6940
7195
|
|
|
6941
|
-
export { type ComposeEffect as $, type AnyPatternConfig as A, AssetCatalogEntrySchema as B, AssetCatalogSchema as C, type AssetDimension as D, type EntityField as E, type FieldValue as F, AssetDimensionSchema as G, AssetSchema as H, type IdentityLedger as I, type AssetUrl as J, type AtomicEffect as K, type BehaviorEffect as L, CAMERA_MODES as M, type CallServiceConfig as N, type OrbitalId as O, type PageId as P, type CallServiceEffect as Q, type RelationConfig as R, type ServiceRef as S, type TraitId as T, type UISlot as U, type Camera as V, type CameraMode as W, CameraModeSchema as X, CameraSchema as Y, type CheckpointLoadEffect as Z, type CheckpointSaveEffect as _, type EntityPersistence as a, type
|
|
7196
|
+
export { type ComposeEffect as $, type AnyPatternConfig as A, AssetCatalogEntrySchema as B, AssetCatalogSchema as C, type AssetDimension as D, type EntityField as E, type FieldValue as F, AssetDimensionSchema as G, AssetSchema as H, type IdentityLedger as I, type AssetUrl as J, type AtomicEffect as K, type BehaviorEffect as L, CAMERA_MODES as M, type CallServiceConfig as N, type OrbitalId as O, type PageId as P, type CallServiceEffect as Q, type RelationConfig as R, type ServiceRef as S, type TraitId as T, type UISlot as U, type Camera as V, type CameraMode as W, CameraModeSchema as X, CameraSchema as Y, type CheckpointLoadEffect as Z, type CheckpointSaveEffect as _, type EntityPersistence as a, type MemoryEffect as a$, type ControlValue as a0, DEFAULT_UNIT_ANIMATION_ROWS as a1, type DerefEffect as a2, type DespawnEffect as a3, type DoEffect as a4, ENTITY_ROLES as a5, type EffectInput as a6, EffectSchema as a7, type EmitConfig as a8, type EmitEffect as a9, type IdKind as aA, IdentityLedgerSchema as aB, type LedgerEntry as aC, LedgerEntrySchema as aD, type LedgerKind as aE, LedgerKindSchema as aF, type LlmEffect as aG, type LogEffect as aH, MANIFEST_ASSET_LICENSES as aI, MANIFEST_CANVAS_AFFINITIES as aJ, MANIFEST_ENTRY_KINDS as aK, MANIFEST_SOURCE_CATALOGS as aL, type ManifestAssetLicense as aM, ManifestAssetLicenseSchema as aN, type ManifestCanvasAffinity as aO, ManifestCanvasAffinitySchema as aP, type ManifestEntry as aQ, type ManifestEntryInput as aR, type ManifestEntryKind as aS, ManifestEntryKindSchema as aT, ManifestEntrySchema as aU, type ManifestFrameSpec as aV, ManifestFrameSpecSchema as aW, type ManifestSourceCatalog as aX, ManifestSourceCatalogSchema as aY, type McpServiceDef as aZ, McpServiceDefSchema as a_, type EntityData as aa, type EntityFieldInput as ab, EntityFieldSchema as ac, EntityIdSchema as ad, EntityPersistenceSchema as ae, type EntityRole as af, EntityRoleSchema as ag, EntitySchema as ah, type EntityWith as ai, type EnumEntityField as aj, type EvaluateConfig as ak, type EvaluateEffect as al, EventIdSchema as am, FIELD_TYPES as an, type FetchEffect as ao, type FetchOptions as ap, type FetchResult as aq, type Field as ar, FieldSchema as as, type FieldType as at, FieldTypeSchema as au, type FileValue as av, FileValueSchema as aw, type ForwardConfig as ax, type ForwardEffect as ay, type IdForKind as az, type EventId as b, type SocketServiceDef as b$, type NavigateBackEffect as b0, type NavigateEffect as b1, type NavigateOptions as b2, type NnConfig as b3, type NnLayer as b4, type NotifyEffect as b5, type ObjectEntityField as b6, type OrbitalEntity as b7, type OrbitalEntityInput as b8, OrbitalEntitySchema as b9, SHEET_PROJECTIONS as bA, SPRITE_DIRECTIONS as bB, SPRITE_SHEET_LAYOUT as bC, type ScalarEntityField as bD, type ScenePos as bE, ScenePosSchema as bF, type SemanticAssetRef as bG, type SemanticAssetRefInput as bH, SemanticAssetRefSchema as bI, type SemanticStringType as bJ, ServiceDefinitionSchema as bK, type ServiceId as bL, ServiceIdSchema as bM, type ServiceParams as bN, type ServiceParamsValue as bO, type ServiceRefObject as bP, ServiceRefObjectSchema as bQ, ServiceRefSchema as bR, ServiceRefStringSchema as bS, type ServiceType as bT, ServiceTypeSchema as bU, type SessionEffect as bV, type SetEffect as bW, type SheetProjection as bX, SheetProjectionSchema as bY, type SocketEvents as bZ, SocketEventsSchema as b_, OrbitalIdSchema as ba, type OsEffect as bb, PATTERN_TYPES as bc, PageIdSchema as bd, type PaletteEntryId as be, PaletteEntryIdSchema as bf, type PatternConfig as bg, type PatternProps as bh, type PatternPropsMap as bi, type PatternType as bj, type PersistData as bk, type PersistEffect as bl, type PersistEmitConfig as bm, type RefEffect as bn, RelationConfigSchema as bo, type RelationEntityField as bp, type RenderChildrenMap as bq, type RenderItemLambda as br, type RenderUINode as bs, type ResolvedPatternProps as bt, type RestAuthConfig as bu, RestAuthConfigSchema as bv, type RestServiceDef as bw, RestServiceDefSchema as bx, SEMANTIC_STRING_TYPES as by, SERVICE_TYPES as bz, type Effect as c, isPaletteEntryId as c$, SocketServiceDefSchema as c0, type SpawnEffect as c1, type SpriteDirection as c2, SpriteDirectionSchema as c3, type SpriteSheetAtlas as c4, type SpriteSheetAtlasInput as c5, SpriteSheetAtlasSchema as c6, type SpriteSheetLayout as c7, type SubTexture as c8, SubTextureSchema as c9, asServiceId as cA, asThemeId as cB, asTraitId as cC, atomic as cD, callService as cE, createAssetKey as cF, defaultUnitAtlas as cG, deref as cH, deriveCollection as cI, despawn as cJ, doEffects as cK, emit as cL, findService as cM, getDefaultAnimationsForRole as cN, getServiceNames as cO, hasService as cP, idKindOf as cQ, idPrefix as cR, isEffect as cS, isEmailValue as cT, isEntityId as cU, isEventId as cV, isFieldValue as cW, isFileValue as cX, isMcpService as cY, isOrbitalId as cZ, isPageId as c_, type SwapEffect as ca, type TemplatePatternConfig as cb, type TextureAtlas as cc, TextureAtlasSchema as cd, type ThemeId as ce, ThemeIdSchema as cf, type Tilesheet as cg, TilesheetSchema as ch, type TraceEffect as ci, type TrainConfig as cj, type TrainEffect as ck, TraitIdSchema as cl, type TypedEffect as cm, UISlotSchema as cn, UI_SLOTS as co, VISUAL_STYLES as cp, type ValidateEffect as cq, type VisualStyle as cr, VisualStyleSchema as cs, type WatchEffect as ct, type WatchOptions as cu, asEntityId as cv, asEventId as cw, asOrbitalId as cx, asPageId as cy, asPaletteEntryId as cz, type EntityId as d, isPhoneValue as d0, isRestService as d1, isRuntimeEntity as d2, isSExprEffect as d3, isSemanticStringType as d4, isSemanticStringValue as d5, isServiceId as d6, isServiceReference as d7, isServiceReferenceObject as d8, isSocketService as d9, watch as dA, isThemeId as da, isTraitId as db, isUrlValue as dc, isUuidValue as dd, isValidPatternType as de, ledgerCurName as df, ledgerRename as dg, ledgerResolveName as dh, manifestToAssetCatalog as di, matchAssetQuery as dj, mintId as dk, navigate as dl, navigateBack as dm, notify as dn, parseAssetKey as dp, parseAssetQuery as dq, parseServiceRef as dr, persist as ds, persistenceModeAllowsOverrides as dt, ref as du, renderUI as dv, set as dw, spawn as dx, swap as dy, validateAssetAnimations as dz, type Entity as e, type EntityRow as f, type ServiceDefinition as g, type RenderBinding as h, type RenderUIEffect as i, ANIMATION_NAMES as j, ASSET_ASPECTS as k, ASSET_DIMENSIONS as l, type AgentEffect as m, type AnimationDef as n, type AnimationDefInput as o, AnimationDefSchema as p, type AnimationName as q, AnimationNameSchema as r, type ApplicationEffect as s, type ArrayEntityField as t, type Asset as u, type AssetAspect as v, AssetAspectSchema as w, type AssetCatalog as x, type AssetCatalogEntry as y, type AssetCatalogEntryInput as z };
|
package/dist/factory/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as FactorySignatureCatalog, h as FactoryParamValue, c as FactoryConfigTier, b as FactoryConfigParam, F as FactoryCallSite, j as FactorySignature, R as RuleOverlay, p as RuleOverlayEntry, o as PresentationOverlay, T as TraitOverlay, J as JsonSchema } from '../types-
|
|
2
|
-
export { a as FactoryCallSiteParams, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, i as FactoryProvenance, l as FactorySignatureEntityField, m as FactoryTraitSignature, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, S as SchemaFieldType, q as TraitOverlayEntry, r as TraitOverlayListener } from '../types-
|
|
3
|
-
import { a as EntityPersistence, E as EntityField } from '../effect-
|
|
4
|
-
import { a as TraitReference } from '../trait-
|
|
1
|
+
import { k as FactorySignatureCatalog, h as FactoryParamValue, c as FactoryConfigTier, b as FactoryConfigParam, F as FactoryCallSite, j as FactorySignature, R as RuleOverlay, p as RuleOverlayEntry, o as PresentationOverlay, T as TraitOverlay, J as JsonSchema } from '../types-7PHjoE7m.js';
|
|
2
|
+
export { a as FactoryCallSiteParams, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, i as FactoryProvenance, l as FactorySignatureEntityField, m as FactoryTraitSignature, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, S as SchemaFieldType, q as TraitOverlayEntry, r as TraitOverlayListener } from '../types-7PHjoE7m.js';
|
|
3
|
+
import { a as EntityPersistence, E as EntityField } from '../effect-BHoSW19_.js';
|
|
4
|
+
import { a as TraitReference } from '../trait-D269f6pt.js';
|
|
5
5
|
export { J as JsonValue } from '../expression-Fk8bQWef.js';
|
|
6
6
|
import 'zod';
|
|
7
7
|
|