@almadar/core 10.103.0 → 10.105.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 +4 -4
- package/dist/builders.js.map +1 -1
- package/dist/{bus-BGojNDOE.d.ts → bus-DCYJF88B.d.ts} +1 -1
- package/dist/{domain-OgMkN3WN.d.ts → domain-DnEv7amB.d.ts} +4 -4
- package/dist/{effect-Xn3LIyL7.d.ts → effect-DhsB3usU.d.ts} +25 -375
- package/dist/{entityAccess-z5HA0P7P.d.ts → entityAccess-CLWlioZ0.d.ts} +2 -2
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +397 -4805
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +4 -4
- package/dist/factory-runtime/index.js +1 -1
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/fixtures.d.ts +2 -2
- package/dist/fixtures.js +1 -1
- package/dist/fixtures.js.map +1 -1
- package/dist/{index-CVYZ3GcI.d.ts → index-B1az2E8z.d.ts} +6 -6
- package/dist/index.d.ts +25 -14
- package/dist/index.js +662 -5327
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +5 -5
- package/dist/patterns/component-mapping.json +17 -192
- package/dist/patterns/event-contracts.json +1 -86
- package/dist/patterns/index.d.ts +10604 -20953
- package/dist/patterns/index.js +622 -5325
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +398 -4806
- package/dist/patterns/registry.json +398 -4806
- package/dist/{schema-sHVqe8Kb.d.ts → schema-CjwAD-Y4.d.ts} +293 -293
- package/dist/themes/index.d.ts +1 -1
- package/dist/{trait-BSe6oDBd.d.ts → trait-DoFyUfui.d.ts} +17 -2
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.js +12 -39
- package/dist/types/index.js.map +1 -1
- package/dist/{types-DK29MMOQ.d.ts → types-DBAbXfRk.d.ts} +2 -2
- package/fixtures/events-wire/effect-results-every-kind/response.json +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FieldValue, S as ServerReportedEffect, N as NamespacedEffectName, g as EntityRow, d as OrbitalId, T as TraitId, b as EventId, h as PatternConfig, i as ResolvedPatternProps, A as AnyPatternConfig } from './effect-
|
|
1
|
+
import { F as FieldValue, S as ServerReportedEffect, N as NamespacedEffectName, g as EntityRow, d as OrbitalId, T as TraitId, b as EventId, h as PatternConfig, i as ResolvedPatternProps, A as AnyPatternConfig } from './effect-DhsB3usU.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { a as EventPayloadValue, b as EventPayload } from './expression-CfeHdS-f.js';
|
|
4
4
|
|
|
@@ -16181,13 +16181,13 @@ declare const CustomPatternDefinitionSchema: z.ZodObject<{
|
|
|
16181
16181
|
props: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16182
16182
|
}, "strip", z.ZodTypeAny, {
|
|
16183
16183
|
type: "custom";
|
|
16184
|
-
component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "
|
|
16184
|
+
component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "main" | "footer" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
|
|
16185
16185
|
className: string;
|
|
16186
16186
|
slots?: string[] | undefined;
|
|
16187
16187
|
props?: string[] | undefined;
|
|
16188
16188
|
}, {
|
|
16189
16189
|
type: "custom";
|
|
16190
|
-
component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "
|
|
16190
|
+
component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "main" | "footer" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
|
|
16191
16191
|
className: string;
|
|
16192
16192
|
slots?: string[] | undefined;
|
|
16193
16193
|
props?: string[] | undefined;
|
|
@@ -16204,13 +16204,13 @@ declare const CustomPatternMapSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.Z
|
|
|
16204
16204
|
props: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16205
16205
|
}, "strip", z.ZodTypeAny, {
|
|
16206
16206
|
type: "custom";
|
|
16207
|
-
component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "
|
|
16207
|
+
component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "main" | "footer" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
|
|
16208
16208
|
className: string;
|
|
16209
16209
|
slots?: string[] | undefined;
|
|
16210
16210
|
props?: string[] | undefined;
|
|
16211
16211
|
}, {
|
|
16212
16212
|
type: "custom";
|
|
16213
|
-
component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "
|
|
16213
|
+
component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "main" | "footer" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
|
|
16214
16214
|
className: string;
|
|
16215
16215
|
slots?: string[] | undefined;
|
|
16216
16216
|
props?: string[] | undefined;
|
|
@@ -2840,8 +2840,8 @@ type EntityData = Record<string, EntityRow[]>;
|
|
|
2840
2840
|
*
|
|
2841
2841
|
* DO NOT EDIT MANUALLY — regenerated by almadar-pattern-sync `patterns` command.
|
|
2842
2842
|
*
|
|
2843
|
-
* Generated: 2026-09-
|
|
2844
|
-
* Pattern count:
|
|
2843
|
+
* Generated: 2026-09-25T03:49:13.655Z
|
|
2844
|
+
* Pattern count: 246
|
|
2845
2845
|
*/
|
|
2846
2846
|
|
|
2847
2847
|
/**
|
|
@@ -2853,16 +2853,11 @@ type PatternPropValue = Record<string, FieldValue | undefined>;
|
|
|
2853
2853
|
* All valid pattern type names from @almadar/core/patterns registry.
|
|
2854
2854
|
* Use this type in render-ui effects for compile-time validation.
|
|
2855
2855
|
*/
|
|
2856
|
-
type PatternType = '
|
|
2856
|
+
type PatternType = 'accordion' | 'action-palette' | 'action-tile' | 'activation-block' | 'alert' | 'algo-graph-canvas' | 'algorithm-canvas' | 'animated-counter' | 'animated-graphic' | 'animated-reveal' | 'aside' | 'atlas-image' | 'atlas-panel' | 'auth-layout' | 'avatar' | 'badge' | 'behavior-view' | 'biology-canvas' | 'bloom-quiz-block' | 'box' | 'branching-logic-builder' | 'breadcrumb' | 'button' | 'calendar-grid' | 'canvas' | 'canvas-2d' | 'card' | 'carousel' | 'center' | 'chart' | 'chart-legend' | 'chat-bar' | 'checkbox' | 'chemistry-canvas' | 'choice-button' | 'code-block' | 'code-runner-panel' | 'command-palette' | 'conditional-wrapper' | 'confetti-effect' | 'confirm-dialog' | 'connection-block' | 'container' | 'content-renderer' | 'control-button' | 'control-grid' | 'counter-template' | '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-skinned-mesh' | '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-grid' | '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-cue' | 'game-audio-toggle' | 'game-hud' | 'game-icon' | 'game-menu' | 'game-shell' | 'gantt' | 'generic-app-template' | 'geometric-pattern' | 'gradient-divider' | 'graph-canvas' | 'graph-view' | 'grid' | 'header' | 'health-bar' | 'hstack' | 'icon' | 'image' | 'import-preview-tree' | 'import-progress' | 'import-source-picker' | 'infinite-scroll-sentinel' | 'input' | 'input-group' | 'jazari-state-machine' | 'label' | 'law-reference-tooltip' | 'learning-canvas' | 'lightbox' | 'likert-scale' | 'line-chart' | 'loading-state' | 'map-view' | 'markdown-content' | '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' | 'progress-bar' | 'progress-dots' | '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' | 'side-panel' | 'sidebar' | 'signature-pad' | 'simple-grid' | 'skeleton' | 'social-proof' | 'sortable-list' | 'spacer' | 'sparkline' | 'spinner' | 'split' | 'split-pane' | 'stack' | 'star-rating' | 'stat-badge' | 'stat-card' | 'stat-display' | 'state-graph' | 'state-json-view' | 'state-machine-view' | 'status-dot' | '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-input' | '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-component' | 'ui-slot-renderer' | 'upload-drop-zone' | 'version-diff' | 'violation-alert' | 'vote-stack' | 'vstack' | 'wizard-container' | 'wizard-navigation' | 'wizard-progress';
|
|
2857
2857
|
/**
|
|
2858
2858
|
* Pattern props map — each pattern type maps to its valid props interface.
|
|
2859
2859
|
*/
|
|
2860
2860
|
interface PatternPropsMap {
|
|
2861
|
-
'about-page-template': {
|
|
2862
|
-
type: 'about-page-template';
|
|
2863
|
-
entity: PatternPropValue | string | SExpr;
|
|
2864
|
-
className?: string | SExpr;
|
|
2865
|
-
};
|
|
2866
2861
|
'accordion': {
|
|
2867
2862
|
type: 'accordion';
|
|
2868
2863
|
items: unknown[] | string | SExpr;
|
|
@@ -2968,7 +2963,8 @@ interface PatternPropsMap {
|
|
|
2968
2963
|
};
|
|
2969
2964
|
'animated-counter': {
|
|
2970
2965
|
type: 'animated-counter';
|
|
2971
|
-
value:
|
|
2966
|
+
value: string | number | SExpr;
|
|
2967
|
+
label?: string | SExpr;
|
|
2972
2968
|
duration?: number | string | SExpr;
|
|
2973
2969
|
prefix?: string | SExpr;
|
|
2974
2970
|
suffix?: string | SExpr;
|
|
@@ -3004,13 +3000,6 @@ interface PatternPropsMap {
|
|
|
3004
3000
|
easing?: string | SExpr;
|
|
3005
3001
|
children: unknown | ((...args: unknown[]) => unknown) | string | SExpr;
|
|
3006
3002
|
};
|
|
3007
|
-
'article-section': {
|
|
3008
|
-
type: 'article-section';
|
|
3009
|
-
title: string | SExpr;
|
|
3010
|
-
children: unknown | string | SExpr;
|
|
3011
|
-
maxWidth?: string | SExpr;
|
|
3012
|
-
className?: string | SExpr;
|
|
3013
|
-
};
|
|
3014
3003
|
'aside': {
|
|
3015
3004
|
type: 'aside';
|
|
3016
3005
|
className?: string | SExpr;
|
|
@@ -3119,58 +3108,11 @@ interface PatternPropsMap {
|
|
|
3119
3108
|
answerEvent?: string | SExpr;
|
|
3120
3109
|
className?: string | SExpr;
|
|
3121
3110
|
};
|
|
3122
|
-
'book-chapter-view': {
|
|
3123
|
-
type: 'book-chapter-view';
|
|
3124
|
-
className?: string | SExpr;
|
|
3125
|
-
chapter: PatternPropValue | string | SExpr;
|
|
3126
|
-
orbitalSchema?: PatternPropValue | string | SExpr;
|
|
3127
|
-
direction?: string | SExpr;
|
|
3128
|
-
};
|
|
3129
|
-
'book-cover-page': {
|
|
3130
|
-
type: 'book-cover-page';
|
|
3131
|
-
className?: string | SExpr;
|
|
3132
|
-
title: string | SExpr;
|
|
3133
|
-
subtitle?: string | SExpr;
|
|
3134
|
-
author?: string | SExpr;
|
|
3135
|
-
coverImageUrl?: unknown | string | SExpr;
|
|
3136
|
-
direction?: string | SExpr;
|
|
3137
|
-
};
|
|
3138
|
-
'book-nav-bar': {
|
|
3139
|
-
type: 'book-nav-bar';
|
|
3140
|
-
className?: string | SExpr;
|
|
3141
|
-
currentPage: number | string | SExpr;
|
|
3142
|
-
totalPages: number | string | SExpr;
|
|
3143
|
-
chapterTitle?: string | SExpr;
|
|
3144
|
-
direction?: string | SExpr;
|
|
3145
|
-
};
|
|
3146
|
-
'book-table-of-contents': {
|
|
3147
|
-
type: 'book-table-of-contents';
|
|
3148
|
-
className?: string | SExpr;
|
|
3149
|
-
parts: PatternPropValue | unknown[] | string | SExpr;
|
|
3150
|
-
currentChapterId?: string | SExpr;
|
|
3151
|
-
direction?: string | SExpr;
|
|
3152
|
-
};
|
|
3153
|
-
'book-viewer': {
|
|
3154
|
-
type: 'book-viewer';
|
|
3155
|
-
className?: string | SExpr;
|
|
3156
|
-
isLoading?: boolean | string | SExpr;
|
|
3157
|
-
error?: PatternPropValue | string | SExpr;
|
|
3158
|
-
sortBy?: string | SExpr;
|
|
3159
|
-
sortDirection?: string | SExpr;
|
|
3160
|
-
searchValue?: string | SExpr;
|
|
3161
|
-
page?: number | string | SExpr;
|
|
3162
|
-
pageSize?: number | string | SExpr;
|
|
3163
|
-
totalCount?: number | string | SExpr;
|
|
3164
|
-
activeFilters?: PatternPropValue | string | SExpr;
|
|
3165
|
-
selectedIds?: unknown[] | string | SExpr;
|
|
3166
|
-
entity?: PatternPropValue | unknown[] | string | SExpr;
|
|
3167
|
-
initialPage?: number | string | SExpr;
|
|
3168
|
-
fieldMap?: PatternPropValue | string | SExpr;
|
|
3169
|
-
};
|
|
3170
3111
|
'box': {
|
|
3171
3112
|
type: 'box';
|
|
3172
3113
|
className?: string | SExpr;
|
|
3173
3114
|
'data-theme'?: string | SExpr;
|
|
3115
|
+
dir?: string | SExpr;
|
|
3174
3116
|
padding?: string | SExpr;
|
|
3175
3117
|
paddingX?: string | SExpr;
|
|
3176
3118
|
paddingY?: string | SExpr;
|
|
@@ -3227,6 +3169,7 @@ interface PatternPropsMap {
|
|
|
3227
3169
|
actionPayload?: PatternPropValue | string | SExpr;
|
|
3228
3170
|
label?: string | SExpr;
|
|
3229
3171
|
disabled?: boolean | string | SExpr;
|
|
3172
|
+
href?: string | SExpr;
|
|
3230
3173
|
'data-testid'?: string | SExpr;
|
|
3231
3174
|
};
|
|
3232
3175
|
'calendar-grid': {
|
|
@@ -3346,33 +3289,6 @@ interface PatternPropsMap {
|
|
|
3346
3289
|
slideChangePayload?: PatternPropValue | string | SExpr;
|
|
3347
3290
|
className?: string | SExpr;
|
|
3348
3291
|
};
|
|
3349
|
-
'case-study-card': {
|
|
3350
|
-
type: 'case-study-card';
|
|
3351
|
-
title: string | SExpr;
|
|
3352
|
-
description: string | SExpr;
|
|
3353
|
-
category: string | SExpr;
|
|
3354
|
-
categoryColor?: string | SExpr;
|
|
3355
|
-
href: string | SExpr;
|
|
3356
|
-
linkLabel?: string | SExpr;
|
|
3357
|
-
className?: string | SExpr;
|
|
3358
|
-
};
|
|
3359
|
-
'case-study-organism': {
|
|
3360
|
-
type: 'case-study-organism';
|
|
3361
|
-
className?: string | SExpr;
|
|
3362
|
-
isLoading?: boolean | string | SExpr;
|
|
3363
|
-
error?: PatternPropValue | string | SExpr;
|
|
3364
|
-
sortBy?: string | SExpr;
|
|
3365
|
-
sortDirection?: string | SExpr;
|
|
3366
|
-
searchValue?: string | SExpr;
|
|
3367
|
-
page?: number | string | SExpr;
|
|
3368
|
-
pageSize?: number | string | SExpr;
|
|
3369
|
-
totalCount?: number | string | SExpr;
|
|
3370
|
-
activeFilters?: PatternPropValue | string | SExpr;
|
|
3371
|
-
selectedIds?: unknown[] | string | SExpr;
|
|
3372
|
-
entity?: PatternPropValue | unknown[] | string | SExpr;
|
|
3373
|
-
heading?: string | SExpr;
|
|
3374
|
-
subtitle?: string | SExpr;
|
|
3375
|
-
};
|
|
3376
3292
|
'center': {
|
|
3377
3293
|
type: 'center';
|
|
3378
3294
|
inline?: boolean | string | SExpr;
|
|
@@ -3428,6 +3344,7 @@ interface PatternPropsMap {
|
|
|
3428
3344
|
status?: string | SExpr;
|
|
3429
3345
|
activeGate?: string | SExpr;
|
|
3430
3346
|
jepaValidity?: number | string | SExpr;
|
|
3347
|
+
runningIndicator?: unknown | string | SExpr;
|
|
3431
3348
|
placeholder?: string | SExpr;
|
|
3432
3349
|
context?: string | SExpr;
|
|
3433
3350
|
};
|
|
@@ -3536,15 +3453,6 @@ interface PatternPropsMap {
|
|
|
3536
3453
|
emptyLabel?: string | SExpr;
|
|
3537
3454
|
className?: string | SExpr;
|
|
3538
3455
|
};
|
|
3539
|
-
'community-links': {
|
|
3540
|
-
type: 'community-links';
|
|
3541
|
-
github?: PatternPropValue | string | SExpr;
|
|
3542
|
-
discord?: PatternPropValue | string | SExpr;
|
|
3543
|
-
twitter?: PatternPropValue | string | SExpr;
|
|
3544
|
-
heading?: string | SExpr;
|
|
3545
|
-
subtitle?: string | SExpr;
|
|
3546
|
-
className?: string | SExpr;
|
|
3547
|
-
};
|
|
3548
3456
|
'conditional-wrapper': {
|
|
3549
3457
|
type: 'conditional-wrapper';
|
|
3550
3458
|
condition?: unknown | string | SExpr;
|
|
@@ -3610,14 +3518,6 @@ interface PatternPropsMap {
|
|
|
3610
3518
|
segments?: unknown[] | string | SExpr;
|
|
3611
3519
|
direction?: string | SExpr;
|
|
3612
3520
|
};
|
|
3613
|
-
'content-section': {
|
|
3614
|
-
type: 'content-section';
|
|
3615
|
-
children: unknown | string | SExpr;
|
|
3616
|
-
background?: string | SExpr;
|
|
3617
|
-
padding?: string | SExpr;
|
|
3618
|
-
id?: string | SExpr;
|
|
3619
|
-
className?: string | SExpr;
|
|
3620
|
-
};
|
|
3621
3521
|
'control-button': {
|
|
3622
3522
|
type: 'control-button';
|
|
3623
3523
|
assetUrl?: PatternPropValue | string | SExpr;
|
|
@@ -3667,16 +3567,6 @@ interface PatternPropsMap {
|
|
|
3667
3567
|
size?: string | SExpr;
|
|
3668
3568
|
variant?: string | SExpr;
|
|
3669
3569
|
};
|
|
3670
|
-
'cta-banner': {
|
|
3671
|
-
type: 'cta-banner';
|
|
3672
|
-
title: string | SExpr;
|
|
3673
|
-
subtitle?: string | SExpr;
|
|
3674
|
-
primaryAction?: PatternPropValue | string | SExpr;
|
|
3675
|
-
secondaryAction?: PatternPropValue | string | SExpr;
|
|
3676
|
-
background?: string | SExpr;
|
|
3677
|
-
align?: string | SExpr;
|
|
3678
|
-
className?: string | SExpr;
|
|
3679
|
-
};
|
|
3680
3570
|
'dashboard-grid': {
|
|
3681
3571
|
type: 'dashboard-grid';
|
|
3682
3572
|
className?: string | SExpr;
|
|
@@ -4293,11 +4183,6 @@ interface PatternPropsMap {
|
|
|
4293
4183
|
size?: string | SExpr;
|
|
4294
4184
|
className?: string | SExpr;
|
|
4295
4185
|
};
|
|
4296
|
-
'feature-detail-page-template': {
|
|
4297
|
-
type: 'feature-detail-page-template';
|
|
4298
|
-
entity: PatternPropValue | string | SExpr;
|
|
4299
|
-
className?: string | SExpr;
|
|
4300
|
-
};
|
|
4301
4186
|
'feature-grid': {
|
|
4302
4187
|
type: 'feature-grid';
|
|
4303
4188
|
items: unknown[] | string | SExpr;
|
|
@@ -4305,24 +4190,6 @@ interface PatternPropsMap {
|
|
|
4305
4190
|
gap?: string | SExpr;
|
|
4306
4191
|
className?: string | SExpr;
|
|
4307
4192
|
};
|
|
4308
|
-
'feature-grid-organism': {
|
|
4309
|
-
type: 'feature-grid-organism';
|
|
4310
|
-
className?: string | SExpr;
|
|
4311
|
-
isLoading?: boolean | string | SExpr;
|
|
4312
|
-
error?: PatternPropValue | string | SExpr;
|
|
4313
|
-
sortBy?: string | SExpr;
|
|
4314
|
-
sortDirection?: string | SExpr;
|
|
4315
|
-
searchValue?: string | SExpr;
|
|
4316
|
-
page?: number | string | SExpr;
|
|
4317
|
-
pageSize?: number | string | SExpr;
|
|
4318
|
-
totalCount?: number | string | SExpr;
|
|
4319
|
-
activeFilters?: PatternPropValue | string | SExpr;
|
|
4320
|
-
selectedIds?: unknown[] | string | SExpr;
|
|
4321
|
-
entity?: PatternPropValue | unknown[] | string | SExpr;
|
|
4322
|
-
columns?: number | string | SExpr;
|
|
4323
|
-
heading?: string | SExpr;
|
|
4324
|
-
subtitle?: string | SExpr;
|
|
4325
|
-
};
|
|
4326
4193
|
'file-tree': {
|
|
4327
4194
|
type: 'file-tree';
|
|
4328
4195
|
tree?: unknown[] | string | SExpr;
|
|
@@ -4743,40 +4610,6 @@ interface PatternPropsMap {
|
|
|
4743
4610
|
frameAsset?: PatternPropValue | string | SExpr;
|
|
4744
4611
|
fillAsset?: PatternPropValue | string | SExpr;
|
|
4745
4612
|
};
|
|
4746
|
-
'hero-organism': {
|
|
4747
|
-
type: 'hero-organism';
|
|
4748
|
-
className?: string | SExpr;
|
|
4749
|
-
isLoading?: boolean | string | SExpr;
|
|
4750
|
-
error?: PatternPropValue | string | SExpr;
|
|
4751
|
-
sortBy?: string | SExpr;
|
|
4752
|
-
sortDirection?: string | SExpr;
|
|
4753
|
-
searchValue?: string | SExpr;
|
|
4754
|
-
page?: number | string | SExpr;
|
|
4755
|
-
pageSize?: number | string | SExpr;
|
|
4756
|
-
totalCount?: number | string | SExpr;
|
|
4757
|
-
activeFilters?: PatternPropValue | string | SExpr;
|
|
4758
|
-
selectedIds?: unknown[] | string | SExpr;
|
|
4759
|
-
entity?: PatternPropValue | string | SExpr;
|
|
4760
|
-
children?: unknown | string | SExpr;
|
|
4761
|
-
};
|
|
4762
|
-
'hero-section': {
|
|
4763
|
-
type: 'hero-section';
|
|
4764
|
-
tag?: string | SExpr;
|
|
4765
|
-
tagVariant?: string | SExpr;
|
|
4766
|
-
title: string | SExpr;
|
|
4767
|
-
titleAccent?: string | SExpr;
|
|
4768
|
-
subtitle: string | SExpr;
|
|
4769
|
-
primaryAction?: PatternPropValue | string | SExpr;
|
|
4770
|
-
secondaryAction?: PatternPropValue | string | SExpr;
|
|
4771
|
-
installCommand?: string | SExpr;
|
|
4772
|
-
image?: PatternPropValue | string | SExpr;
|
|
4773
|
-
imagePosition?: string | SExpr;
|
|
4774
|
-
background?: string | SExpr;
|
|
4775
|
-
align?: string | SExpr;
|
|
4776
|
-
backgroundElement?: unknown | string | SExpr;
|
|
4777
|
-
children?: unknown | string | SExpr;
|
|
4778
|
-
className?: string | SExpr;
|
|
4779
|
-
};
|
|
4780
4613
|
'hstack': {
|
|
4781
4614
|
type: 'hstack';
|
|
4782
4615
|
gap?: string | SExpr;
|
|
@@ -4808,6 +4641,17 @@ interface PatternPropsMap {
|
|
|
4808
4641
|
strokeWidth?: number | string | SExpr;
|
|
4809
4642
|
style?: PatternPropValue | string | SExpr;
|
|
4810
4643
|
};
|
|
4644
|
+
'image': {
|
|
4645
|
+
type: 'image';
|
|
4646
|
+
src: unknown | string | SExpr;
|
|
4647
|
+
alt: string | SExpr;
|
|
4648
|
+
fit?: string | SExpr;
|
|
4649
|
+
aspect?: string | SExpr;
|
|
4650
|
+
rounded?: string | SExpr;
|
|
4651
|
+
bordered?: boolean | string | SExpr;
|
|
4652
|
+
loading?: string | SExpr;
|
|
4653
|
+
className?: string | SExpr;
|
|
4654
|
+
};
|
|
4811
4655
|
'import-preview-tree': {
|
|
4812
4656
|
type: 'import-preview-tree';
|
|
4813
4657
|
units: unknown[] | string | SExpr;
|
|
@@ -4886,12 +4730,6 @@ interface PatternPropsMap {
|
|
|
4886
4730
|
leftAddon?: unknown | unknown | string | SExpr;
|
|
4887
4731
|
rightAddon?: unknown | unknown | string | SExpr;
|
|
4888
4732
|
};
|
|
4889
|
-
'install-box': {
|
|
4890
|
-
type: 'install-box';
|
|
4891
|
-
command: string | SExpr;
|
|
4892
|
-
label?: string | SExpr;
|
|
4893
|
-
className?: string | SExpr;
|
|
4894
|
-
};
|
|
4895
4733
|
'jazari-state-machine': {
|
|
4896
4734
|
type: 'jazari-state-machine';
|
|
4897
4735
|
className?: string | SExpr;
|
|
@@ -4910,13 +4748,6 @@ interface PatternPropsMap {
|
|
|
4910
4748
|
htmlFor?: string | SExpr;
|
|
4911
4749
|
required?: boolean | string | SExpr;
|
|
4912
4750
|
};
|
|
4913
|
-
'landing-page-template': {
|
|
4914
|
-
type: 'landing-page-template';
|
|
4915
|
-
entity: PatternPropValue | string | SExpr;
|
|
4916
|
-
className?: string | SExpr;
|
|
4917
|
-
variant?: string | SExpr;
|
|
4918
|
-
featureColumns?: number | string | SExpr;
|
|
4919
|
-
};
|
|
4920
4751
|
'law-reference-tooltip': {
|
|
4921
4752
|
type: 'law-reference-tooltip';
|
|
4922
4753
|
reference: PatternPropValue | string | SExpr;
|
|
@@ -5007,20 +4838,6 @@ interface PatternPropsMap {
|
|
|
5007
4838
|
direction?: string | SExpr;
|
|
5008
4839
|
className?: string | SExpr;
|
|
5009
4840
|
};
|
|
5010
|
-
'marketing-footer': {
|
|
5011
|
-
type: 'marketing-footer';
|
|
5012
|
-
columns: unknown[] | string | SExpr;
|
|
5013
|
-
copyright?: string | SExpr;
|
|
5014
|
-
logo?: PatternPropValue | string | SExpr;
|
|
5015
|
-
className?: string | SExpr;
|
|
5016
|
-
};
|
|
5017
|
-
'marketing-stat-card': {
|
|
5018
|
-
type: 'marketing-stat-card';
|
|
5019
|
-
value: string | SExpr;
|
|
5020
|
-
label: string | SExpr;
|
|
5021
|
-
size?: string | SExpr;
|
|
5022
|
-
className?: string | SExpr;
|
|
5023
|
-
};
|
|
5024
4841
|
'master-detail': {
|
|
5025
4842
|
type: 'master-detail';
|
|
5026
4843
|
className?: string | SExpr;
|
|
@@ -5370,44 +5187,6 @@ interface PatternPropsMap {
|
|
|
5370
5187
|
className?: string | SExpr;
|
|
5371
5188
|
children: unknown | string | SExpr;
|
|
5372
5189
|
};
|
|
5373
|
-
'pricing-card': {
|
|
5374
|
-
type: 'pricing-card';
|
|
5375
|
-
name: string | SExpr;
|
|
5376
|
-
price: string | SExpr;
|
|
5377
|
-
description?: string | SExpr;
|
|
5378
|
-
features: unknown[] | string | SExpr;
|
|
5379
|
-
action: PatternPropValue | string | SExpr;
|
|
5380
|
-
highlighted?: boolean | string | SExpr;
|
|
5381
|
-
badge?: string | SExpr;
|
|
5382
|
-
className?: string | SExpr;
|
|
5383
|
-
};
|
|
5384
|
-
'pricing-grid': {
|
|
5385
|
-
type: 'pricing-grid';
|
|
5386
|
-
plans: unknown[] | string | SExpr;
|
|
5387
|
-
className?: string | SExpr;
|
|
5388
|
-
};
|
|
5389
|
-
'pricing-organism': {
|
|
5390
|
-
type: 'pricing-organism';
|
|
5391
|
-
className?: string | SExpr;
|
|
5392
|
-
isLoading?: boolean | string | SExpr;
|
|
5393
|
-
error?: PatternPropValue | string | SExpr;
|
|
5394
|
-
sortBy?: string | SExpr;
|
|
5395
|
-
sortDirection?: string | SExpr;
|
|
5396
|
-
searchValue?: string | SExpr;
|
|
5397
|
-
page?: number | string | SExpr;
|
|
5398
|
-
pageSize?: number | string | SExpr;
|
|
5399
|
-
totalCount?: number | string | SExpr;
|
|
5400
|
-
activeFilters?: PatternPropValue | string | SExpr;
|
|
5401
|
-
selectedIds?: unknown[] | string | SExpr;
|
|
5402
|
-
entity?: PatternPropValue | unknown[] | string | SExpr;
|
|
5403
|
-
heading?: string | SExpr;
|
|
5404
|
-
subtitle?: string | SExpr;
|
|
5405
|
-
};
|
|
5406
|
-
'pricing-page-template': {
|
|
5407
|
-
type: 'pricing-page-template';
|
|
5408
|
-
entity: PatternPropValue | string | SExpr;
|
|
5409
|
-
className?: string | SExpr;
|
|
5410
|
-
};
|
|
5411
5190
|
'progress-bar': {
|
|
5412
5191
|
type: 'progress-bar';
|
|
5413
5192
|
value: number | string | SExpr;
|
|
@@ -5431,11 +5210,6 @@ interface PatternPropsMap {
|
|
|
5431
5210
|
className?: string | SExpr;
|
|
5432
5211
|
size?: string | SExpr;
|
|
5433
5212
|
};
|
|
5434
|
-
'pull-quote': {
|
|
5435
|
-
type: 'pull-quote';
|
|
5436
|
-
children: string | SExpr;
|
|
5437
|
-
className?: string | SExpr;
|
|
5438
|
-
};
|
|
5439
5213
|
'pull-to-refresh': {
|
|
5440
5214
|
type: 'pull-to-refresh';
|
|
5441
5215
|
refreshEvent: string | SExpr;
|
|
@@ -5660,39 +5434,6 @@ interface PatternPropsMap {
|
|
|
5660
5434
|
size?: string | SExpr;
|
|
5661
5435
|
className?: string | SExpr;
|
|
5662
5436
|
};
|
|
5663
|
-
'service-catalog': {
|
|
5664
|
-
type: 'service-catalog';
|
|
5665
|
-
services: unknown[] | string | SExpr;
|
|
5666
|
-
className?: string | SExpr;
|
|
5667
|
-
};
|
|
5668
|
-
'showcase-card': {
|
|
5669
|
-
type: 'showcase-card';
|
|
5670
|
-
title: string | SExpr;
|
|
5671
|
-
description?: string | SExpr;
|
|
5672
|
-
image: PatternPropValue | string | SExpr;
|
|
5673
|
-
href?: string | SExpr;
|
|
5674
|
-
badge?: string | SExpr;
|
|
5675
|
-
accentColor?: string | SExpr;
|
|
5676
|
-
className?: string | SExpr;
|
|
5677
|
-
};
|
|
5678
|
-
'showcase-organism': {
|
|
5679
|
-
type: 'showcase-organism';
|
|
5680
|
-
className?: string | SExpr;
|
|
5681
|
-
isLoading?: boolean | string | SExpr;
|
|
5682
|
-
error?: PatternPropValue | string | SExpr;
|
|
5683
|
-
sortBy?: string | SExpr;
|
|
5684
|
-
sortDirection?: string | SExpr;
|
|
5685
|
-
searchValue?: string | SExpr;
|
|
5686
|
-
page?: number | string | SExpr;
|
|
5687
|
-
pageSize?: number | string | SExpr;
|
|
5688
|
-
totalCount?: number | string | SExpr;
|
|
5689
|
-
activeFilters?: PatternPropValue | string | SExpr;
|
|
5690
|
-
selectedIds?: unknown[] | string | SExpr;
|
|
5691
|
-
entity?: PatternPropValue | unknown[] | string | SExpr;
|
|
5692
|
-
columns?: number | string | SExpr;
|
|
5693
|
-
heading?: string | SExpr;
|
|
5694
|
-
subtitle?: string | SExpr;
|
|
5695
|
-
};
|
|
5696
5437
|
'side-panel': {
|
|
5697
5438
|
type: 'side-panel';
|
|
5698
5439
|
title: string | SExpr;
|
|
@@ -5822,17 +5563,6 @@ interface PatternPropsMap {
|
|
|
5822
5563
|
rightClassName?: string | SExpr;
|
|
5823
5564
|
onRatioChange?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
5824
5565
|
};
|
|
5825
|
-
'split-section': {
|
|
5826
|
-
type: 'split-section';
|
|
5827
|
-
title: string | SExpr;
|
|
5828
|
-
description: string | unknown | SExpr;
|
|
5829
|
-
bullets?: unknown[] | string | SExpr;
|
|
5830
|
-
image?: PatternPropValue | string | SExpr;
|
|
5831
|
-
imagePosition?: string | SExpr;
|
|
5832
|
-
background?: string | SExpr;
|
|
5833
|
-
children?: unknown | string | SExpr;
|
|
5834
|
-
className?: string | SExpr;
|
|
5835
|
-
};
|
|
5836
5566
|
'stack': {
|
|
5837
5567
|
type: 'stack';
|
|
5838
5568
|
direction?: string | SExpr;
|
|
@@ -5969,28 +5699,6 @@ interface PatternPropsMap {
|
|
|
5969
5699
|
layoutData?: PatternPropValue | string | SExpr;
|
|
5970
5700
|
renderStateNode?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
5971
5701
|
};
|
|
5972
|
-
'stats-grid': {
|
|
5973
|
-
type: 'stats-grid';
|
|
5974
|
-
stats: unknown[] | string | SExpr;
|
|
5975
|
-
columns?: number | string | SExpr;
|
|
5976
|
-
className?: string | SExpr;
|
|
5977
|
-
};
|
|
5978
|
-
'stats-organism': {
|
|
5979
|
-
type: 'stats-organism';
|
|
5980
|
-
className?: string | SExpr;
|
|
5981
|
-
isLoading?: boolean | string | SExpr;
|
|
5982
|
-
error?: PatternPropValue | string | SExpr;
|
|
5983
|
-
sortBy?: string | SExpr;
|
|
5984
|
-
sortDirection?: string | SExpr;
|
|
5985
|
-
searchValue?: string | SExpr;
|
|
5986
|
-
page?: number | string | SExpr;
|
|
5987
|
-
pageSize?: number | string | SExpr;
|
|
5988
|
-
totalCount?: number | string | SExpr;
|
|
5989
|
-
activeFilters?: PatternPropValue | string | SExpr;
|
|
5990
|
-
selectedIds?: unknown[] | string | SExpr;
|
|
5991
|
-
entity?: PatternPropValue | unknown[] | string | SExpr;
|
|
5992
|
-
columns?: number | string | SExpr;
|
|
5993
|
-
};
|
|
5994
5702
|
'status-dot': {
|
|
5995
5703
|
type: 'status-dot';
|
|
5996
5704
|
className?: string | SExpr;
|
|
@@ -5999,32 +5707,6 @@ interface PatternPropsMap {
|
|
|
5999
5707
|
size?: string | SExpr;
|
|
6000
5708
|
label?: string | SExpr;
|
|
6001
5709
|
};
|
|
6002
|
-
'step-flow': {
|
|
6003
|
-
type: 'step-flow';
|
|
6004
|
-
steps: unknown[] | string | SExpr;
|
|
6005
|
-
orientation?: string | SExpr;
|
|
6006
|
-
showConnectors?: boolean | string | SExpr;
|
|
6007
|
-
className?: string | SExpr;
|
|
6008
|
-
};
|
|
6009
|
-
'step-flow-organism': {
|
|
6010
|
-
type: 'step-flow-organism';
|
|
6011
|
-
className?: string | SExpr;
|
|
6012
|
-
isLoading?: boolean | string | SExpr;
|
|
6013
|
-
error?: PatternPropValue | string | SExpr;
|
|
6014
|
-
sortBy?: string | SExpr;
|
|
6015
|
-
sortDirection?: string | SExpr;
|
|
6016
|
-
searchValue?: string | SExpr;
|
|
6017
|
-
page?: number | string | SExpr;
|
|
6018
|
-
pageSize?: number | string | SExpr;
|
|
6019
|
-
totalCount?: number | string | SExpr;
|
|
6020
|
-
activeFilters?: PatternPropValue | string | SExpr;
|
|
6021
|
-
selectedIds?: unknown[] | string | SExpr;
|
|
6022
|
-
entity?: PatternPropValue | unknown[] | string | SExpr;
|
|
6023
|
-
orientation?: string | SExpr;
|
|
6024
|
-
showConnectors?: boolean | string | SExpr;
|
|
6025
|
-
heading?: string | SExpr;
|
|
6026
|
-
subtitle?: string | SExpr;
|
|
6027
|
-
};
|
|
6028
5710
|
'subagent-trace-panel': {
|
|
6029
5711
|
type: 'subagent-trace-panel';
|
|
6030
5712
|
className?: string | SExpr;
|
|
@@ -6291,12 +5973,6 @@ interface PatternPropsMap {
|
|
|
6291
5973
|
orientation?: string | SExpr;
|
|
6292
5974
|
className?: string | SExpr;
|
|
6293
5975
|
};
|
|
6294
|
-
'tag-cloud': {
|
|
6295
|
-
type: 'tag-cloud';
|
|
6296
|
-
tags: unknown[] | string | SExpr;
|
|
6297
|
-
variant?: string | SExpr;
|
|
6298
|
-
className?: string | SExpr;
|
|
6299
|
-
};
|
|
6300
5976
|
'tag-input': {
|
|
6301
5977
|
type: 'tag-input';
|
|
6302
5978
|
value: unknown[] | string | SExpr;
|
|
@@ -6310,32 +5986,6 @@ interface PatternPropsMap {
|
|
|
6310
5986
|
addEvent?: string | SExpr;
|
|
6311
5987
|
removeEvent?: string | SExpr;
|
|
6312
5988
|
};
|
|
6313
|
-
'team-card': {
|
|
6314
|
-
type: 'team-card';
|
|
6315
|
-
name: string | SExpr;
|
|
6316
|
-
nameAr?: string | SExpr;
|
|
6317
|
-
role: string | SExpr;
|
|
6318
|
-
bio: string | SExpr;
|
|
6319
|
-
avatar?: unknown | PatternPropValue | string | SExpr;
|
|
6320
|
-
className?: string | SExpr;
|
|
6321
|
-
};
|
|
6322
|
-
'team-organism': {
|
|
6323
|
-
type: 'team-organism';
|
|
6324
|
-
className?: string | SExpr;
|
|
6325
|
-
isLoading?: boolean | string | SExpr;
|
|
6326
|
-
error?: PatternPropValue | string | SExpr;
|
|
6327
|
-
sortBy?: string | SExpr;
|
|
6328
|
-
sortDirection?: string | SExpr;
|
|
6329
|
-
searchValue?: string | SExpr;
|
|
6330
|
-
page?: number | string | SExpr;
|
|
6331
|
-
pageSize?: number | string | SExpr;
|
|
6332
|
-
totalCount?: number | string | SExpr;
|
|
6333
|
-
activeFilters?: PatternPropValue | string | SExpr;
|
|
6334
|
-
selectedIds?: unknown[] | string | SExpr;
|
|
6335
|
-
entity?: PatternPropValue | unknown[] | string | SExpr;
|
|
6336
|
-
heading?: string | SExpr;
|
|
6337
|
-
subtitle?: string | SExpr;
|
|
6338
|
-
};
|
|
6339
5989
|
'text-highlight': {
|
|
6340
5990
|
type: 'text-highlight';
|
|
6341
5991
|
highlightType: string | SExpr;
|
|
@@ -7010,10 +6660,10 @@ type DerefEffect = ['deref', string] | ['deref', string, FetchOptions];
|
|
|
7010
6660
|
/**
|
|
7011
6661
|
* Swap! effect - atomic compare-and-swap on an entity field.
|
|
7012
6662
|
* Only updates if the current value matches the expected value.
|
|
7013
|
-
* @example ['swap
|
|
7014
|
-
* @example ['swap
|
|
6663
|
+
* @example ['swap', '@entity.health', ['fn', ['old'], ['-', 'old', '@payload.damage']]]
|
|
6664
|
+
* @example ['swap', '@entity.counter', ['+', '@entity.counter', 1]]
|
|
7015
6665
|
*/
|
|
7016
|
-
type SwapEffect = ['swap
|
|
6666
|
+
type SwapEffect = ['swap', string, SExpr];
|
|
7017
6667
|
/**
|
|
7018
6668
|
* Options accepted by `watch` effects. Mirrors what the runtime reads when
|
|
7019
6669
|
* registering the change callback: `debounce` and the trailing `emit:` map.
|
|
@@ -7248,7 +6898,7 @@ type Effect = TypedEffect;
|
|
|
7248
6898
|
* effect is added HERE only — the wire type, its zod twin and the
|
|
7249
6899
|
* `events-wire` fixture case all derive from this array.
|
|
7250
6900
|
*/
|
|
7251
|
-
declare const SERVER_REPORTED_EFFECTS: readonly ["set", "persist", "call-service", "fetch", "fetch-stream", "ref", "deref", "swap
|
|
6901
|
+
declare const SERVER_REPORTED_EFFECTS: readonly ["set", "persist", "call-service", "fetch", "fetch-stream", "ref", "deref", "swap", "atomic", "emit"];
|
|
7252
6902
|
type ServerReportedEffect = (typeof SERVER_REPORTED_EFFECTS)[number];
|
|
7253
6903
|
/** A namespaced effect head (`trace/emit`, `memory/store`, `llm/…`) — what a
|
|
7254
6904
|
* `substrate` result's `name` carries. Derived from the union, never listed. */
|
|
@@ -7400,7 +7050,7 @@ declare function ref(binding: string, selector: FetchOptions): RefEffect;
|
|
|
7400
7050
|
declare function deref(binding: string): DerefEffect;
|
|
7401
7051
|
declare function deref(binding: string, selector: FetchOptions): DerefEffect;
|
|
7402
7052
|
/**
|
|
7403
|
-
* Create a swap
|
|
7053
|
+
* Create a swap effect (atomic compare-and-swap).
|
|
7404
7054
|
*
|
|
7405
7055
|
* @param {string} binding - Binding to atomically update
|
|
7406
7056
|
* @param {SExpr} transform - Transformation expression applied to the current value
|
|
@@ -7408,7 +7058,7 @@ declare function deref(binding: string, selector: FetchOptions): DerefEffect;
|
|
|
7408
7058
|
*
|
|
7409
7059
|
* @example
|
|
7410
7060
|
* swap('@entity.counter', ['+', '@entity.counter', 1]);
|
|
7411
|
-
* // returns ["swap
|
|
7061
|
+
* // returns ["swap", "@entity.counter", ["+", "@entity.counter", 1]]
|
|
7412
7062
|
*/
|
|
7413
7063
|
declare function swap(binding: string, transform: SExpr): SwapEffect;
|
|
7414
7064
|
/**
|