@almadar/core 10.67.0 → 10.68.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,7 +1,7 @@
1
- import { O as OrbitalSchema } from '../schema-BRAEV9eY.js';
2
- export { E as EntityAccessPolicies, e as entityAccessPolicies, a as entityAccessTable } from '../entityAccess-BeN_FNtm.js';
3
- import { a as EntityPersistence, E as EntityField, F as FieldValue, f as EntityRow } from '../effect-1QxaoQFj.js';
4
- import '../trait-BkpkZfRN.js';
1
+ import { O as OrbitalSchema } from '../schema-CUBQXBqc.js';
2
+ export { E as EntityAccessPolicies, e as entityAccessPolicies, a as entityAccessTable } from '../entityAccess-BgJpQUj8.js';
3
+ import { a as EntityPersistence, E as EntityField, F as FieldValue, f as EntityRow } from '../effect-Jn7yEAFH.js';
4
+ import '../trait-unQtwJp-.js';
5
5
  import '../expression-Fk8bQWef.js';
6
6
  import 'zod';
7
7
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-08-23T03:36:02.671Z",
3
+ "exportedAt": "2026-08-24T09:35:40.638Z",
4
4
  "mappings": {
5
5
  "page-header": {
6
6
  "component": "PageHeader",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-08-23T03:36:02.671Z",
3
+ "exportedAt": "2026-08-24T09:35:40.638Z",
4
4
  "contracts": {
5
5
  "form": {
6
6
  "emits": [
@@ -1,10 +1,10 @@
1
- import { A as AnyPatternConfig, h as RenderBinding, F as FieldValue, b0 as PatternType } from '../effect-1QxaoQFj.js';
2
- export { aV as PATTERN_TYPES, aZ as PatternConfig, a_ as PatternProps, a$ as PatternPropsMap, cT as isValidPatternType } from '../effect-1QxaoQFj.js';
1
+ import { A as AnyPatternConfig, h as RenderBinding, F as FieldValue, b0 as PatternType } from '../effect-Jn7yEAFH.js';
2
+ export { aV as PATTERN_TYPES, aZ as PatternConfig, a_ as PatternProps, a$ as PatternPropsMap, cT as isValidPatternType } from '../effect-Jn7yEAFH.js';
3
3
  import { d as EventPayloadValue, a as EventPayload, J as JsonValue } from '../expression-Fk8bQWef.js';
4
4
  import 'zod';
5
5
 
6
6
  var version$3 = "1.0.0";
7
- var exportedAt$3 = "2026-08-23T03:36:02.671Z";
7
+ var exportedAt$3 = "2026-08-24T09:35:40.638Z";
8
8
  var patterns = {
9
9
  "entity-table": {
10
10
  type: "entity-table",
@@ -1631,7 +1631,29 @@ var patterns = {
1631
1631
  },
1632
1632
  relation: {
1633
1633
  types: [
1634
- "string"
1634
+ "object"
1635
+ ],
1636
+ properties: {
1637
+ entity: {
1638
+ types: [
1639
+ "string"
1640
+ ]
1641
+ },
1642
+ cardinality: {
1643
+ types: [
1644
+ "string"
1645
+ ],
1646
+ enumValues: [
1647
+ "one",
1648
+ "many",
1649
+ "one-to-many",
1650
+ "many-to-one",
1651
+ "many-to-many"
1652
+ ]
1653
+ }
1654
+ },
1655
+ required: [
1656
+ "entity"
1635
1657
  ]
1636
1658
  }
1637
1659
  },
@@ -2197,7 +2219,10 @@ var patterns = {
2197
2219
  ],
2198
2220
  enumValues: [
2199
2221
  "one",
2200
- "many"
2222
+ "many",
2223
+ "one-to-many",
2224
+ "many-to-one",
2225
+ "many-to-many"
2201
2226
  ]
2202
2227
  }
2203
2228
  },
@@ -2744,7 +2769,10 @@ var patterns = {
2744
2769
  ],
2745
2770
  enumValues: [
2746
2771
  "one",
2747
- "many"
2772
+ "many",
2773
+ "one-to-many",
2774
+ "many-to-one",
2775
+ "many-to-many"
2748
2776
  ]
2749
2777
  }
2750
2778
  },
@@ -3066,7 +3094,10 @@ var patterns = {
3066
3094
  ],
3067
3095
  enumValues: [
3068
3096
  "one",
3069
- "many"
3097
+ "many",
3098
+ "one-to-many",
3099
+ "many-to-one",
3100
+ "many-to-many"
3070
3101
  ]
3071
3102
  }
3072
3103
  },
@@ -3613,7 +3644,10 @@ var patterns = {
3613
3644
  ],
3614
3645
  enumValues: [
3615
3646
  "one",
3616
- "many"
3647
+ "many",
3648
+ "one-to-many",
3649
+ "many-to-one",
3650
+ "many-to-many"
3617
3651
  ]
3618
3652
  }
3619
3653
  },
@@ -25293,8 +25327,7 @@ var patterns = {
25293
25327
  types: [
25294
25328
  "array"
25295
25329
  ],
25296
- description: "The tree data",
25297
- required: true,
25330
+ description: "The tree data (pre-nested). Ignored when `items` is provided.",
25298
25331
  items: {
25299
25332
  types: [
25300
25333
  "object"
@@ -25348,6 +25381,43 @@ var patterns = {
25348
25381
  ]
25349
25382
  }
25350
25383
  },
25384
+ items: {
25385
+ types: [
25386
+ "array"
25387
+ ],
25388
+ description: "Flat node list, nested by `parentId` at render time — takes precedence over `tree` when provided. A `parentId` with no matching row renders that node as a root rather than dropping it.",
25389
+ items: {
25390
+ types: [
25391
+ "object"
25392
+ ],
25393
+ properties: {
25394
+ id: {
25395
+ types: [
25396
+ "string"
25397
+ ]
25398
+ },
25399
+ label: {
25400
+ types: [
25401
+ "string"
25402
+ ]
25403
+ },
25404
+ parentId: {
25405
+ types: [
25406
+ "string"
25407
+ ]
25408
+ },
25409
+ icon: {
25410
+ types: [
25411
+ "string"
25412
+ ]
25413
+ }
25414
+ },
25415
+ required: [
25416
+ "id",
25417
+ "label"
25418
+ ]
25419
+ }
25420
+ },
25351
25421
  selectedPath: {
25352
25422
  types: [
25353
25423
  "string"
@@ -25367,6 +25437,20 @@ var patterns = {
25367
25437
  }
25368
25438
  ]
25369
25439
  },
25440
+ onNodeSelect: {
25441
+ types: [
25442
+ "function"
25443
+ ],
25444
+ description: "Called when a node is clicked, in flat `items` mode; carries the selected node's id. Presence-gated: binding this prop is what turns on the click-to-select affordance, mirroring Badge's `onRemove`.",
25445
+ kind: "callback",
25446
+ callbackArgs: [
25447
+ {
25448
+ name: "id",
25449
+ type: "string"
25450
+ }
25451
+ ],
25452
+ "default": ""
25453
+ },
25370
25454
  className: {
25371
25455
  types: [
25372
25456
  "string"
@@ -50701,7 +50785,7 @@ var integratorsRegistry = {
50701
50785
  };
50702
50786
 
50703
50787
  var version$1 = "1.0.0";
50704
- var exportedAt$1 = "2026-08-23T03:36:02.671Z";
50788
+ var exportedAt$1 = "2026-08-24T09:35:40.638Z";
50705
50789
  var mappings = {
50706
50790
  "page-header": {
50707
50791
  component: "PageHeader",
@@ -52113,7 +52197,7 @@ var componentMapping = {
52113
52197
  };
52114
52198
 
52115
52199
  var version = "1.0.0";
52116
- var exportedAt = "2026-08-23T03:36:02.671Z";
52200
+ var exportedAt = "2026-08-24T09:35:40.638Z";
52117
52201
  var contracts = {
52118
52202
  form: {
52119
52203
  emits: [
@@ -54836,6 +54920,16 @@ declare const registry: {
54836
54920
  };
54837
54921
  relation: {
54838
54922
  types: string[];
54923
+ properties: {
54924
+ entity: {
54925
+ types: string[];
54926
+ };
54927
+ cardinality: {
54928
+ types: string[];
54929
+ enumValues: string[];
54930
+ };
54931
+ };
54932
+ required: string[];
54839
54933
  };
54840
54934
  };
54841
54935
  required: string[];
@@ -69308,7 +69402,6 @@ declare const registry: {
69308
69402
  tree: {
69309
69403
  types: string[];
69310
69404
  description: string;
69311
- required: boolean;
69312
69405
  items: {
69313
69406
  types: string[];
69314
69407
  properties: {
@@ -69339,6 +69432,28 @@ declare const registry: {
69339
69432
  required: string[];
69340
69433
  };
69341
69434
  };
69435
+ items: {
69436
+ types: string[];
69437
+ description: string;
69438
+ items: {
69439
+ types: string[];
69440
+ properties: {
69441
+ id: {
69442
+ types: string[];
69443
+ };
69444
+ label: {
69445
+ types: string[];
69446
+ };
69447
+ parentId: {
69448
+ types: string[];
69449
+ };
69450
+ icon: {
69451
+ types: string[];
69452
+ };
69453
+ };
69454
+ required: string[];
69455
+ };
69456
+ };
69342
69457
  selectedPath: {
69343
69458
  types: string[];
69344
69459
  description: string;
@@ -69352,6 +69467,16 @@ declare const registry: {
69352
69467
  type: string;
69353
69468
  }[];
69354
69469
  };
69470
+ onNodeSelect: {
69471
+ types: string[];
69472
+ description: string;
69473
+ kind: string;
69474
+ callbackArgs: {
69475
+ name: string;
69476
+ type: string;
69477
+ }[];
69478
+ default: string;
69479
+ };
69355
69480
  className: {
69356
69481
  types: string[];
69357
69482
  description: string;
@@ -83803,6 +83928,16 @@ declare const PATTERN_REGISTRY: {
83803
83928
  };
83804
83929
  relation: {
83805
83930
  types: string[];
83931
+ properties: {
83932
+ entity: {
83933
+ types: string[];
83934
+ };
83935
+ cardinality: {
83936
+ types: string[];
83937
+ enumValues: string[];
83938
+ };
83939
+ };
83940
+ required: string[];
83806
83941
  };
83807
83942
  };
83808
83943
  required: string[];
@@ -98275,7 +98410,6 @@ declare const PATTERN_REGISTRY: {
98275
98410
  tree: {
98276
98411
  types: string[];
98277
98412
  description: string;
98278
- required: boolean;
98279
98413
  items: {
98280
98414
  types: string[];
98281
98415
  properties: {
@@ -98306,6 +98440,28 @@ declare const PATTERN_REGISTRY: {
98306
98440
  required: string[];
98307
98441
  };
98308
98442
  };
98443
+ items: {
98444
+ types: string[];
98445
+ description: string;
98446
+ items: {
98447
+ types: string[];
98448
+ properties: {
98449
+ id: {
98450
+ types: string[];
98451
+ };
98452
+ label: {
98453
+ types: string[];
98454
+ };
98455
+ parentId: {
98456
+ types: string[];
98457
+ };
98458
+ icon: {
98459
+ types: string[];
98460
+ };
98461
+ };
98462
+ required: string[];
98463
+ };
98464
+ };
98309
98465
  selectedPath: {
98310
98466
  types: string[];
98311
98467
  description: string;
@@ -98319,6 +98475,16 @@ declare const PATTERN_REGISTRY: {
98319
98475
  type: string;
98320
98476
  }[];
98321
98477
  };
98478
+ onNodeSelect: {
98479
+ types: string[];
98480
+ description: string;
98481
+ kind: string;
98482
+ callbackArgs: {
98483
+ name: string;
98484
+ type: string;
98485
+ }[];
98486
+ default: string;
98487
+ };
98322
98488
  className: {
98323
98489
  types: string[];
98324
98490
  description: string;
@@ -3,7 +3,7 @@ import { z } from 'zod';
3
3
  // src/patterns/patterns-registry.json
4
4
  var patterns_registry_default = {
5
5
  version: "1.0.0",
6
- exportedAt: "2026-08-23T03:36:02.671Z",
6
+ exportedAt: "2026-08-24T09:35:40.638Z",
7
7
  patterns: {
8
8
  "entity-table": {
9
9
  type: "entity-table",
@@ -1628,7 +1628,29 @@ var patterns_registry_default = {
1628
1628
  },
1629
1629
  relation: {
1630
1630
  types: [
1631
- "string"
1631
+ "object"
1632
+ ],
1633
+ properties: {
1634
+ entity: {
1635
+ types: [
1636
+ "string"
1637
+ ]
1638
+ },
1639
+ cardinality: {
1640
+ types: [
1641
+ "string"
1642
+ ],
1643
+ enumValues: [
1644
+ "one",
1645
+ "many",
1646
+ "one-to-many",
1647
+ "many-to-one",
1648
+ "many-to-many"
1649
+ ]
1650
+ }
1651
+ },
1652
+ required: [
1653
+ "entity"
1632
1654
  ]
1633
1655
  }
1634
1656
  },
@@ -2193,7 +2215,10 @@ var patterns_registry_default = {
2193
2215
  ],
2194
2216
  enumValues: [
2195
2217
  "one",
2196
- "many"
2218
+ "many",
2219
+ "one-to-many",
2220
+ "many-to-one",
2221
+ "many-to-many"
2197
2222
  ]
2198
2223
  }
2199
2224
  },
@@ -2738,7 +2763,10 @@ var patterns_registry_default = {
2738
2763
  ],
2739
2764
  enumValues: [
2740
2765
  "one",
2741
- "many"
2766
+ "many",
2767
+ "one-to-many",
2768
+ "many-to-one",
2769
+ "many-to-many"
2742
2770
  ]
2743
2771
  }
2744
2772
  },
@@ -3059,7 +3087,10 @@ var patterns_registry_default = {
3059
3087
  ],
3060
3088
  enumValues: [
3061
3089
  "one",
3062
- "many"
3090
+ "many",
3091
+ "one-to-many",
3092
+ "many-to-one",
3093
+ "many-to-many"
3063
3094
  ]
3064
3095
  }
3065
3096
  },
@@ -3604,7 +3635,10 @@ var patterns_registry_default = {
3604
3635
  ],
3605
3636
  enumValues: [
3606
3637
  "one",
3607
- "many"
3638
+ "many",
3639
+ "one-to-many",
3640
+ "many-to-one",
3641
+ "many-to-many"
3608
3642
  ]
3609
3643
  }
3610
3644
  },
@@ -25222,8 +25256,7 @@ var patterns_registry_default = {
25222
25256
  types: [
25223
25257
  "array"
25224
25258
  ],
25225
- description: "The tree data",
25226
- required: true,
25259
+ description: "The tree data (pre-nested). Ignored when `items` is provided.",
25227
25260
  items: {
25228
25261
  types: [
25229
25262
  "object"
@@ -25277,6 +25310,43 @@ var patterns_registry_default = {
25277
25310
  ]
25278
25311
  }
25279
25312
  },
25313
+ items: {
25314
+ types: [
25315
+ "array"
25316
+ ],
25317
+ description: "Flat node list, nested by `parentId` at render time \u2014 takes precedence over `tree` when provided. A `parentId` with no matching row renders that node as a root rather than dropping it.",
25318
+ items: {
25319
+ types: [
25320
+ "object"
25321
+ ],
25322
+ properties: {
25323
+ id: {
25324
+ types: [
25325
+ "string"
25326
+ ]
25327
+ },
25328
+ label: {
25329
+ types: [
25330
+ "string"
25331
+ ]
25332
+ },
25333
+ parentId: {
25334
+ types: [
25335
+ "string"
25336
+ ]
25337
+ },
25338
+ icon: {
25339
+ types: [
25340
+ "string"
25341
+ ]
25342
+ }
25343
+ },
25344
+ required: [
25345
+ "id",
25346
+ "label"
25347
+ ]
25348
+ }
25349
+ },
25280
25350
  selectedPath: {
25281
25351
  types: [
25282
25352
  "string"
@@ -25296,6 +25366,20 @@ var patterns_registry_default = {
25296
25366
  }
25297
25367
  ]
25298
25368
  },
25369
+ onNodeSelect: {
25370
+ types: [
25371
+ "function"
25372
+ ],
25373
+ description: "Called when a node is clicked, in flat `items` mode; carries the selected node's id. Presence-gated: binding this prop is what turns on the click-to-select affordance, mirroring Badge's `onRemove`.",
25374
+ kind: "callback",
25375
+ callbackArgs: [
25376
+ {
25377
+ name: "id",
25378
+ type: "string"
25379
+ }
25380
+ ],
25381
+ default: ""
25382
+ },
25299
25383
  className: {
25300
25384
  types: [
25301
25385
  "string"
@@ -50557,7 +50641,7 @@ var integrators_registry_default = {
50557
50641
  // src/patterns/component-mapping.json
50558
50642
  var component_mapping_default = {
50559
50643
  version: "1.0.0",
50560
- exportedAt: "2026-08-23T03:36:02.671Z",
50644
+ exportedAt: "2026-08-24T09:35:40.638Z",
50561
50645
  mappings: {
50562
50646
  "page-header": {
50563
50647
  component: "PageHeader",
@@ -51967,7 +52051,7 @@ var component_mapping_default = {
51967
52051
  // src/patterns/event-contracts.json
51968
52052
  var event_contracts_default = {
51969
52053
  version: "1.0.0",
51970
- exportedAt: "2026-08-23T03:36:02.671Z",
52054
+ exportedAt: "2026-08-24T09:35:40.638Z",
51971
52055
  contracts: {
51972
52056
  form: {
51973
52057
  emits: [