@almadar/core 10.92.0 → 10.93.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.
@@ -1,6 +1,6 @@
1
- import { I as IdentityLedger, A as AnyPatternConfig, U as UISlot, c as Effect, i as RenderBinding, j as RenderUIEffect, d as EntityId, e as Entity, E as EntityField, a as EntityPersistence, g as EntityRow } from './effect-DGa2ixo7.js';
2
- import { a as OrbitalDefinition, O as OrbitalSchema, U as UseDeclaration, E as EntityRef, b as ExpectDeclaration, P as PageRef, c as Page, d as PageRefObject } from './schema-DIL07Bmv.js';
3
- import { b as TraitConfig, h as Trait, T as TraitEventListener, i as CallSiteConfig, k as TraitEventContract, d as TraitRef, a as TraitReference } from './trait-DHb48lyx.js';
1
+ import { I as IdentityLedger, A as AnyPatternConfig, U as UISlot, c as Effect, i as RenderBinding, j as RenderUIEffect, d as EntityId, e as Entity, E as EntityField, a as EntityPersistence, g as EntityRow } from './effect-BnSE0gKt.js';
2
+ import { a as OrbitalDefinition, O as OrbitalSchema, U as UseDeclaration, E as EntityRef, b as ExpectDeclaration, P as PageRef, c as Page, d as PageRefObject } from './schema-DFmFFcLs.js';
3
+ import { b as TraitConfig, h as Trait, T as TraitEventListener, i as CallSiteConfig, k as TraitEventContract, d as TraitRef, a as TraitReference } from './trait-DSMzclmJ.js';
4
4
  import { S as SExpr } from './expression-WfTp2arD.js';
5
5
  import 'zod';
6
6
  import './json-D8gmyK3l.js';
@@ -2825,8 +2825,8 @@ type EntityData = Record<string, EntityRow[]>;
2825
2825
  *
2826
2826
  * DO NOT EDIT MANUALLY — regenerated by almadar-pattern-sync `patterns` command.
2827
2827
  *
2828
- * Generated: 2026-09-12T18:14:02.464Z
2829
- * Pattern count: 280
2828
+ * Generated: 2026-09-16T03:44:41.528Z
2829
+ * Pattern count: 281
2830
2830
  */
2831
2831
 
2832
2832
  /**
@@ -2838,7 +2838,7 @@ type PatternPropValue = Record<string, FieldValue | undefined>;
2838
2838
  * All valid pattern type names from @almadar/core/patterns registry.
2839
2839
  * Use this type in render-ui effects for compile-time validation.
2840
2840
  */
2841
- 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' | 'command-palette' | '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-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-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-cue' | '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-component' | 'ui-slot-renderer' | 'upload-drop-zone' | 'version-diff' | 'violation-alert' | 'vote-stack' | 'vstack' | 'wizard-container' | 'wizard-navigation' | 'wizard-progress';
2841
+ 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' | 'command-palette' | '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-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-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-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' | '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-component' | 'ui-slot-renderer' | 'upload-drop-zone' | 'version-diff' | 'violation-alert' | 'vote-stack' | 'vstack' | 'wizard-container' | 'wizard-navigation' | 'wizard-progress';
2842
2842
  /**
2843
2843
  * Pattern props map — each pattern type maps to its valid props interface.
2844
2844
  */
@@ -4590,6 +4590,25 @@ interface PatternPropsMap {
4590
4590
  fontFamily?: string | SExpr;
4591
4591
  'data-theme'?: string | SExpr;
4592
4592
  };
4593
+ 'gantt': {
4594
+ type: 'gantt';
4595
+ tasks?: PatternPropValue | unknown[] | string | SExpr;
4596
+ links?: unknown[] | string | SExpr;
4597
+ titleField?: string | SExpr;
4598
+ startField?: string | SExpr;
4599
+ endField?: string | SExpr;
4600
+ durationField?: string | SExpr;
4601
+ statusField?: string | SExpr;
4602
+ groupField?: string | SExpr;
4603
+ rangeStart?: string | unknown | SExpr;
4604
+ rangeEnd?: string | unknown | SExpr;
4605
+ showToday?: boolean | string | SExpr;
4606
+ dayWidth?: number | string | SExpr;
4607
+ barClickEvent?: string | SExpr;
4608
+ className?: string | SExpr;
4609
+ isLoading?: boolean | string | SExpr;
4610
+ error?: PatternPropValue | string | SExpr;
4611
+ };
4593
4612
  'generic-app-template': {
4594
4613
  type: 'generic-app-template';
4595
4614
  entity: PatternPropValue | string | SExpr;
@@ -1,4 +1,4 @@
1
- import { O as OrbitalSchema } from './schema-DIL07Bmv.js';
1
+ import { O as OrbitalSchema } from './schema-DFmFFcLs.js';
2
2
  import { S as SExpr } from './expression-WfTp2arD.js';
3
3
 
4
4
  /**
@@ -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-F5EPwMor.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-F5EPwMor.js';
3
- import { a as EntityPersistence, E as EntityField } from '../effect-DGa2ixo7.js';
4
- import { a as TraitReference } from '../trait-DHb48lyx.js';
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-DzkFdgNJ.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-DzkFdgNJ.js';
3
+ import { a as EntityPersistence, E as EntityField } from '../effect-BnSE0gKt.js';
4
+ import { a as TraitReference } from '../trait-DSMzclmJ.js';
5
5
  export { J as JsonValue } from '../json-D8gmyK3l.js';
6
6
  import 'zod';
7
7
  import '../expression-WfTp2arD.js';
@@ -9498,6 +9498,7 @@ var patterns_registry_default = {
9498
9498
  textarea: {
9499
9499
  type: "textarea",
9500
9500
  category: "component",
9501
+ sourceFile: "components/core/atoms/Textarea.tsx",
9501
9502
  tier: "atoms",
9502
9503
  family: "core",
9503
9504
  description: "Multi-line text input",
@@ -9530,7 +9531,7 @@ var patterns_registry_default = {
9530
9531
  types: [
9531
9532
  "string"
9532
9533
  ],
9533
- description: "Declarative event name for trait dispatch",
9534
+ description: "Declarative event: fires on \u2318/Ctrl+Enter with `{ value }`.",
9534
9535
  kind: "event"
9535
9536
  },
9536
9537
  error: {
@@ -40103,7 +40104,7 @@ var patterns_registry_default = {
40103
40104
  types: [
40104
40105
  "object"
40105
40106
  ],
40106
- description: "Maps a keydown `e.code` \u2192 the board's SEMANTIC event (device-agnostic input).",
40107
+ description: "Maps a keydown `e.code` \u2014 optionally prefixed `Mod+` (\u2318/Ctrl), `Shift+`, `Alt+` in that order \u2014 to the board's SEMANTIC event (device-agnostic input), emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
40107
40108
  kind: "event-map",
40108
40109
  mapValue: {
40109
40110
  types: [
@@ -40116,7 +40117,7 @@ var patterns_registry_default = {
40116
40117
  types: [
40117
40118
  "object"
40118
40119
  ],
40119
- description: "Maps a keyup `e.code` \u2192 the board's SEMANTIC event.",
40120
+ description: "Maps a keyup `e.code` \u2014 optionally prefixed `Mod+` (\u2318/Ctrl), `Shift+`, `Alt+` in that order \u2014 to the board's SEMANTIC event, emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
40120
40121
  kind: "event-map",
40121
40122
  mapValue: {
40122
40123
  types: [
@@ -45581,7 +45582,7 @@ var patterns_registry_default = {
45581
45582
  types: [
45582
45583
  "object"
45583
45584
  ],
45584
- description: "Maps a keydown `e.code` \u2192 the board's SEMANTIC event (device-agnostic input), emitted as `UI:{event}` \u2014 same contract as the game canvas keyMap.",
45585
+ description: "Maps a keydown `e.code` \u2014 optionally prefixed `Mod+` (\u2318/Ctrl), `Shift+`, `Alt+` in that order \u2014 to the board's SEMANTIC event (device-agnostic input), emitted as `UI:{event}` \u2014 same contract as the game canvas keyMap; keystrokes inside inputs/textareas never route.",
45585
45586
  kind: "event-map",
45586
45587
  mapValue: {
45587
45588
  types: [
@@ -45594,7 +45595,7 @@ var patterns_registry_default = {
45594
45595
  types: [
45595
45596
  "object"
45596
45597
  ],
45597
- description: "Maps a keyup `e.code` \u2192 the board's SEMANTIC event.",
45598
+ description: "Maps a keyup `e.code` \u2014 optionally prefixed `Mod+` (\u2318/Ctrl), `Shift+`, `Alt+` in that order \u2014 to the board's SEMANTIC event, emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
45598
45599
  kind: "event-map",
45599
45600
  mapValue: {
45600
45601
  types: [
@@ -51349,7 +51350,7 @@ var patterns_registry_default = {
51349
51350
  types: [
51350
51351
  "object"
51351
51352
  ],
51352
- description: "keyMap prop",
51353
+ description: "Maps a keydown `e.code` \u2014 optionally prefixed `Mod+` (\u2318/Ctrl), `Shift+`, `Alt+` in that order \u2014 to the board's SEMANTIC event (device-agnostic input), emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
51353
51354
  kind: "event-map",
51354
51355
  mapValue: {
51355
51356
  types: [
@@ -51362,7 +51363,7 @@ var patterns_registry_default = {
51362
51363
  types: [
51363
51364
  "object"
51364
51365
  ],
51365
- description: "keyUpMap prop",
51366
+ description: "Maps a keyup `e.code` \u2014 optionally prefixed `Mod+` (\u2318/Ctrl), `Shift+`, `Alt+` in that order \u2014 to the board's SEMANTIC event, emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
51366
51367
  kind: "event-map",
51367
51368
  mapValue: {
51368
51369
  types: [
@@ -55433,6 +55434,188 @@ var patterns_registry_default = {
55433
55434
  }
55434
55435
  },
55435
55436
  drawable: true
55437
+ },
55438
+ gantt: {
55439
+ type: "gantt",
55440
+ category: "component",
55441
+ sourceFile: "components/core/molecules/Gantt.tsx",
55442
+ tier: "molecules",
55443
+ family: "core",
55444
+ description: "Gantt \u2014 view-only task schedule rendering rows as bars on a day axis.",
55445
+ capabilities: "gantt chart, project timeline, schedule view, task bars, dependency arrows, roadmap, milestone plan",
55446
+ fieldsContract: "display",
55447
+ suggestedFor: [
55448
+ "gantt"
55449
+ ],
55450
+ typicalSize: "medium",
55451
+ propsSchema: {
55452
+ tasks: {
55453
+ types: [
55454
+ "object",
55455
+ "array"
55456
+ ],
55457
+ description: 'Schema entity data \u2014 the task rows to place on the axis. pattern-sync tags it `kind:"entity", cardinality:"collection"` so consumers bind the domain entity without name-matching the prop.',
55458
+ kind: "entity",
55459
+ cardinality: "collection",
55460
+ default: []
55461
+ },
55462
+ links: {
55463
+ types: [
55464
+ "array"
55465
+ ],
55466
+ description: "Dependency arrows between task ids",
55467
+ items: {
55468
+ types: [
55469
+ "object"
55470
+ ],
55471
+ properties: {
55472
+ from: {
55473
+ types: [
55474
+ "string"
55475
+ ]
55476
+ },
55477
+ to: {
55478
+ types: [
55479
+ "string"
55480
+ ]
55481
+ }
55482
+ },
55483
+ required: [
55484
+ "from",
55485
+ "to"
55486
+ ]
55487
+ },
55488
+ default: []
55489
+ },
55490
+ titleField: {
55491
+ types: [
55492
+ "string"
55493
+ ],
55494
+ description: "Row field holding the bar label. Defaults to `title`.",
55495
+ default: "title"
55496
+ },
55497
+ startField: {
55498
+ types: [
55499
+ "string"
55500
+ ],
55501
+ description: "Row field holding the start timestamp (ISO or epoch). Defaults to `start`.",
55502
+ default: "start"
55503
+ },
55504
+ endField: {
55505
+ types: [
55506
+ "string"
55507
+ ],
55508
+ description: "Row field holding the end timestamp (ISO or epoch). Defaults to `end`. When absent, `durationField` (days) is used instead.",
55509
+ default: "end"
55510
+ },
55511
+ durationField: {
55512
+ types: [
55513
+ "string"
55514
+ ],
55515
+ description: "Row field holding the task length in days, used when the row has no end."
55516
+ },
55517
+ statusField: {
55518
+ types: [
55519
+ "string"
55520
+ ],
55521
+ description: "Row field holding the bar status (drives bar colour). Defaults to `status`.",
55522
+ default: "status"
55523
+ },
55524
+ groupField: {
55525
+ types: [
55526
+ "string"
55527
+ ],
55528
+ description: "Row field rows are grouped under header rows by. Empty (default) = flat list.",
55529
+ default: ""
55530
+ },
55531
+ rangeStart: {
55532
+ types: [
55533
+ "string",
55534
+ "date"
55535
+ ],
55536
+ description: "First visible day (ISO or Date). Defaults to 2 days before the earliest task."
55537
+ },
55538
+ rangeEnd: {
55539
+ types: [
55540
+ "string",
55541
+ "date"
55542
+ ],
55543
+ description: "Last visible day (ISO or Date). Defaults to 2 days after the latest task end."
55544
+ },
55545
+ showToday: {
55546
+ types: [
55547
+ "boolean"
55548
+ ],
55549
+ description: "Paint the today marker line when today falls inside the range (default true).",
55550
+ default: true
55551
+ },
55552
+ dayWidth: {
55553
+ types: [
55554
+ "number"
55555
+ ],
55556
+ description: "Pixels per day on the axis (default 28)",
55557
+ default: 28
55558
+ },
55559
+ barClickEvent: {
55560
+ types: [
55561
+ "string"
55562
+ ],
55563
+ description: "Event emitted when a bar is clicked: UI:{barClickEvent} with { id }",
55564
+ kind: "event-ref",
55565
+ emitPayloadSchema: [
55566
+ {
55567
+ name: "id",
55568
+ type: "string",
55569
+ required: true
55570
+ }
55571
+ ]
55572
+ },
55573
+ className: {
55574
+ types: [
55575
+ "string"
55576
+ ],
55577
+ description: "Additional CSS classes"
55578
+ },
55579
+ isLoading: {
55580
+ types: [
55581
+ "boolean"
55582
+ ],
55583
+ description: "Loading state",
55584
+ default: false
55585
+ },
55586
+ error: {
55587
+ types: [
55588
+ "object"
55589
+ ],
55590
+ description: "Error state",
55591
+ properties: {
55592
+ message: {
55593
+ types: [
55594
+ "string"
55595
+ ]
55596
+ },
55597
+ name: {
55598
+ types: [
55599
+ "string"
55600
+ ]
55601
+ },
55602
+ code: {
55603
+ types: [
55604
+ "string"
55605
+ ]
55606
+ },
55607
+ stack: {
55608
+ types: [
55609
+ "string"
55610
+ ]
55611
+ }
55612
+ },
55613
+ propertyRequired: [
55614
+ "message"
55615
+ ],
55616
+ default: null
55617
+ }
55618
+ }
55436
55619
  }
55437
55620
  }};
55438
55621
  var JsonValueSchema = z.lazy(