@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.
Files changed (34) hide show
  1. package/dist/builders.d.ts +3 -3
  2. package/dist/builders.js +28 -0
  3. package/dist/builders.js.map +1 -1
  4. package/dist/{effect-C4uehm-r.d.ts → effect-BHoSW19_.d.ts} +259 -4
  5. package/dist/{entityAccess-BMKFgmsc.d.ts → entityAccess-0POr1WuY.d.ts} +1 -1
  6. package/dist/factory/index.d.ts +4 -4
  7. package/dist/factory/index.js +400 -0
  8. package/dist/factory/index.js.map +1 -1
  9. package/dist/factory-runtime/index.d.ts +3 -3
  10. package/dist/factory-runtime/index.js +28 -0
  11. package/dist/factory-runtime/index.js.map +1 -1
  12. package/dist/{index-DqUnw2Oo.d.ts → index-rVlLkZJu.d.ts} +4 -4
  13. package/dist/index.d.ts +10 -10
  14. package/dist/index.js +1553 -406
  15. package/dist/index.js.map +1 -1
  16. package/dist/mock/index.d.ts +4 -4
  17. package/dist/mock/index.js +28 -0
  18. package/dist/mock/index.js.map +1 -1
  19. package/dist/patterns/component-mapping.json +11 -1
  20. package/dist/patterns/event-contracts.json +1 -1
  21. package/dist/patterns/index.d.ts +2611 -438
  22. package/dist/patterns/index.js +1391 -405
  23. package/dist/patterns/index.js.map +1 -1
  24. package/dist/patterns/integrators-registry.json +1004 -402
  25. package/dist/patterns/patterns-registry.json +373 -1
  26. package/dist/patterns/registry.json +373 -1
  27. package/dist/patterns/services-registry.json +1171 -424
  28. package/dist/{schema-Cma07_18.d.ts → schema-CkTTGH6l.d.ts} +2 -2
  29. package/dist/{trait-BXkQKZbO.d.ts → trait-D269f6pt.d.ts} +1 -1
  30. package/dist/types/index.d.ts +5 -5
  31. package/dist/types/index.js +164 -1
  32. package/dist/types/index.js.map +1 -1
  33. package/dist/{types-DoAKLgCZ.d.ts → types-7PHjoE7m.d.ts} +2 -2
  34. package/package.json +1 -1
@@ -27048,6 +27048,28 @@ var patterns_registry_default = {
27048
27048
  ],
27049
27049
  description: "Accessible label/tooltip for the row hover action."
27050
27050
  },
27051
+ onNodeReorder: {
27052
+ types: [
27053
+ "function"
27054
+ ],
27055
+ description: "Called when a row is dropped onto another, in flat `items` mode; carries the moved node's id, its new parent id (`null` for a root drop), and its index within the new parent's children. Presence-gated: binding this prop is what turns on row dragging.",
27056
+ kind: "callback",
27057
+ callbackArgs: [
27058
+ {
27059
+ name: "id",
27060
+ type: "string"
27061
+ },
27062
+ {
27063
+ name: "newParentId",
27064
+ type: "string"
27065
+ },
27066
+ {
27067
+ name: "index",
27068
+ type: "number"
27069
+ }
27070
+ ],
27071
+ default: ""
27072
+ },
27051
27073
  className: {
27052
27074
  types: [
27053
27075
  "string"
@@ -36067,6 +36089,19 @@ var patterns_registry_default = {
36067
36089
  "string"
36068
36090
  ],
36069
36091
  description: "Class for right/bottom pane"
36092
+ },
36093
+ onRatioChange: {
36094
+ types: [
36095
+ "function"
36096
+ ],
36097
+ description: "Called with the new ratio while dragging. Providing this makes `ratio` controlled \u2014 the rendered split always tracks the prop instead of internal state, mirroring a controlled input. Omit for uncontrolled (self-tracked) behavior.",
36098
+ kind: "callback",
36099
+ callbackArgs: [
36100
+ {
36101
+ name: "ratio",
36102
+ type: "number"
36103
+ }
36104
+ ]
36070
36105
  }
36071
36106
  }
36072
36107
  },
@@ -43093,6 +43128,20 @@ var patterns_registry_default = {
43093
43128
  description: "Draw numeric labels on grid lines (default false).",
43094
43129
  default: false
43095
43130
  },
43131
+ tickLabelFontSize: {
43132
+ types: [
43133
+ "number"
43134
+ ],
43135
+ description: "Font size in px for axis tick labels (default 10).",
43136
+ default: 10
43137
+ },
43138
+ labelFontSize: {
43139
+ types: [
43140
+ "number"
43141
+ ],
43142
+ description: "Base font size in px for all other canvas annotations (points, vectors, guides, curves, regions, angles, hops; default 12).",
43143
+ default: 12
43144
+ },
43096
43145
  showCurveLabels: {
43097
43146
  types: [
43098
43147
  "boolean"
@@ -52473,6 +52522,329 @@ var patterns_registry_default = {
52473
52522
  description: "className prop"
52474
52523
  }
52475
52524
  }
52525
+ },
52526
+ "floating-toolbar": {
52527
+ type: "floating-toolbar",
52528
+ category: "component",
52529
+ tier: "molecules",
52530
+ family: "core",
52531
+ description: "FloatingToolbar component",
52532
+ suggestedFor: [
52533
+ "floating",
52534
+ "toolbar",
52535
+ "floating toolbar"
52536
+ ],
52537
+ typicalSize: "medium",
52538
+ propsSchema: {
52539
+ items: {
52540
+ types: [
52541
+ "array"
52542
+ ],
52543
+ description: "Tool items rendered as icon buttons",
52544
+ required: true,
52545
+ items: {
52546
+ types: [
52547
+ "object"
52548
+ ],
52549
+ properties: {
52550
+ id: {
52551
+ types: [
52552
+ "string"
52553
+ ]
52554
+ },
52555
+ icon: {
52556
+ types: [
52557
+ "icon",
52558
+ "string"
52559
+ ]
52560
+ },
52561
+ label: {
52562
+ types: [
52563
+ "string"
52564
+ ]
52565
+ },
52566
+ event: {
52567
+ types: [
52568
+ "string"
52569
+ ]
52570
+ },
52571
+ action: {
52572
+ types: [
52573
+ "string"
52574
+ ]
52575
+ },
52576
+ actionPayload: {
52577
+ types: [
52578
+ "object"
52579
+ ],
52580
+ freeform: true,
52581
+ eventPayloadBrand: true
52582
+ },
52583
+ active: {
52584
+ types: [
52585
+ "boolean"
52586
+ ]
52587
+ },
52588
+ disabled: {
52589
+ types: [
52590
+ "boolean"
52591
+ ]
52592
+ }
52593
+ },
52594
+ required: [
52595
+ "id",
52596
+ "icon",
52597
+ "label"
52598
+ ]
52599
+ }
52600
+ },
52601
+ position: {
52602
+ types: [
52603
+ "string"
52604
+ ],
52605
+ description: "Strip position within the app frame.",
52606
+ enumValues: [
52607
+ "bottom-center",
52608
+ "bottom-left",
52609
+ "bottom-right"
52610
+ ],
52611
+ default: "bottom-center"
52612
+ },
52613
+ children: {
52614
+ types: [
52615
+ "node"
52616
+ ],
52617
+ description: "Custom cells appended after the items, separated by a divider"
52618
+ },
52619
+ className: {
52620
+ types: [
52621
+ "string"
52622
+ ],
52623
+ description: "Additional CSS classes on the positioned root"
52624
+ }
52625
+ }
52626
+ },
52627
+ "dock-layout": {
52628
+ type: "dock-layout",
52629
+ category: "layout",
52630
+ tier: "organisms",
52631
+ family: "core",
52632
+ description: "DockLayout component",
52633
+ suggestedFor: [
52634
+ "dock",
52635
+ "layout",
52636
+ "dock layout"
52637
+ ],
52638
+ typicalSize: "large",
52639
+ propsSchema: {
52640
+ rail: {
52641
+ types: [
52642
+ "node"
52643
+ ],
52644
+ description: "Fixed-width far-left vertical strip (e.g. an icon nav rail)."
52645
+ },
52646
+ sidebar: {
52647
+ types: [
52648
+ "node"
52649
+ ],
52650
+ description: "Collapsible, resizable left sidebar."
52651
+ },
52652
+ main: {
52653
+ types: [
52654
+ "node"
52655
+ ],
52656
+ description: "Required center region.",
52657
+ required: true
52658
+ },
52659
+ bottomPanel: {
52660
+ types: [
52661
+ "node"
52662
+ ],
52663
+ description: "Collapsible, resizable-height bottom panel."
52664
+ },
52665
+ statusBar: {
52666
+ types: [
52667
+ "node"
52668
+ ],
52669
+ description: "Slim strip pinned to the bottom of the frame, below the bottom panel."
52670
+ },
52671
+ secondarySidebar: {
52672
+ types: [
52673
+ "node"
52674
+ ],
52675
+ description: "Collapsible right sidebar."
52676
+ },
52677
+ railWidth: {
52678
+ types: [
52679
+ "number"
52680
+ ],
52681
+ description: "Width of `rail` in pixels. @default 56",
52682
+ default: 56
52683
+ },
52684
+ secondarySidebarWidth: {
52685
+ types: [
52686
+ "number"
52687
+ ],
52688
+ description: "Width of `secondarySidebar` in pixels (fixed \u2014 not resizable). @default 280",
52689
+ default: 280
52690
+ },
52691
+ sidebarCollapsed: {
52692
+ types: [
52693
+ "boolean"
52694
+ ],
52695
+ description: "Whether `sidebar` is collapsed. @default false",
52696
+ default: false
52697
+ },
52698
+ onSidebarCollapsedChange: {
52699
+ types: [
52700
+ "function"
52701
+ ],
52702
+ description: "onSidebarCollapsedChange prop",
52703
+ kind: "callback",
52704
+ callbackArgs: [
52705
+ {
52706
+ name: "collapsed",
52707
+ type: "boolean"
52708
+ }
52709
+ ]
52710
+ },
52711
+ sidebarWidth: {
52712
+ types: [
52713
+ "number"
52714
+ ],
52715
+ description: "Sidebar size as a SplitPane ratio (0-100, percentage of the sidebar/main split). @default 20",
52716
+ default: 20
52717
+ },
52718
+ onSidebarWidthChange: {
52719
+ types: [
52720
+ "function"
52721
+ ],
52722
+ description: "onSidebarWidthChange prop",
52723
+ kind: "callback",
52724
+ callbackArgs: [
52725
+ {
52726
+ name: "width",
52727
+ type: "number"
52728
+ }
52729
+ ]
52730
+ },
52731
+ sidebarMinSize: {
52732
+ types: [
52733
+ "number"
52734
+ ],
52735
+ description: "Minimum sidebar size in pixels, forwarded to SplitPane's `minSize`. @default 160",
52736
+ default: 160
52737
+ },
52738
+ bottomPanelCollapsed: {
52739
+ types: [
52740
+ "boolean"
52741
+ ],
52742
+ description: "Whether `bottomPanel` is collapsed. @default false",
52743
+ default: false
52744
+ },
52745
+ onBottomPanelCollapsedChange: {
52746
+ types: [
52747
+ "function"
52748
+ ],
52749
+ description: "onBottomPanelCollapsedChange prop",
52750
+ kind: "callback",
52751
+ callbackArgs: [
52752
+ {
52753
+ name: "collapsed",
52754
+ type: "boolean"
52755
+ }
52756
+ ]
52757
+ },
52758
+ bottomPanelHeight: {
52759
+ types: [
52760
+ "number"
52761
+ ],
52762
+ description: "Bottom panel size as a SplitPane ratio (0-100, percentage given to the panel). @default 30",
52763
+ default: 30
52764
+ },
52765
+ onBottomPanelHeightChange: {
52766
+ types: [
52767
+ "function"
52768
+ ],
52769
+ description: "onBottomPanelHeightChange prop",
52770
+ kind: "callback",
52771
+ callbackArgs: [
52772
+ {
52773
+ name: "height",
52774
+ type: "number"
52775
+ }
52776
+ ]
52777
+ },
52778
+ bottomPanelMinSize: {
52779
+ types: [
52780
+ "number"
52781
+ ],
52782
+ description: "Minimum bottom panel size in pixels, forwarded to SplitPane's `minSize`. @default 120",
52783
+ default: 120
52784
+ },
52785
+ secondarySidebarCollapsed: {
52786
+ types: [
52787
+ "boolean"
52788
+ ],
52789
+ description: "Whether `secondarySidebar` is collapsed. @default false",
52790
+ default: false
52791
+ },
52792
+ onSecondarySidebarCollapsedChange: {
52793
+ types: [
52794
+ "function"
52795
+ ],
52796
+ description: "onSecondarySidebarCollapsedChange prop",
52797
+ kind: "callback",
52798
+ callbackArgs: [
52799
+ {
52800
+ name: "collapsed",
52801
+ type: "boolean"
52802
+ }
52803
+ ]
52804
+ },
52805
+ className: {
52806
+ types: [
52807
+ "string"
52808
+ ],
52809
+ description: "Additional CSS classes on the root frame."
52810
+ },
52811
+ railClassName: {
52812
+ types: [
52813
+ "string"
52814
+ ],
52815
+ description: "railClassName prop"
52816
+ },
52817
+ sidebarClassName: {
52818
+ types: [
52819
+ "string"
52820
+ ],
52821
+ description: "sidebarClassName prop"
52822
+ },
52823
+ mainClassName: {
52824
+ types: [
52825
+ "string"
52826
+ ],
52827
+ description: "mainClassName prop"
52828
+ },
52829
+ bottomPanelClassName: {
52830
+ types: [
52831
+ "string"
52832
+ ],
52833
+ description: "bottomPanelClassName prop"
52834
+ },
52835
+ statusBarClassName: {
52836
+ types: [
52837
+ "string"
52838
+ ],
52839
+ description: "statusBarClassName prop"
52840
+ },
52841
+ secondarySidebarClassName: {
52842
+ types: [
52843
+ "string"
52844
+ ],
52845
+ description: "secondarySidebarClassName prop"
52846
+ }
52847
+ }
52476
52848
  }
52477
52849
  }};
52478
52850
  var JsonValueSchema = z.lazy(
@@ -52832,6 +53204,34 @@ z.object({
52832
53204
  azimuth: z.number().optional(),
52833
53205
  elevation: z.number().optional()
52834
53206
  });
53207
+ var MANIFEST_ENTRY_KINDS = ["model", "image", "spritesheet", "audio", "json"];
53208
+ var ManifestEntryKindSchema = z.enum(MANIFEST_ENTRY_KINDS);
53209
+ var MANIFEST_CANVAS_AFFINITIES = ["isometric", "hex", "flat", "side", "3d", "none"];
53210
+ var ManifestCanvasAffinitySchema = z.enum(MANIFEST_CANVAS_AFFINITIES);
53211
+ var MANIFEST_SOURCE_CATALOGS = ["kenny", "kekec-assets", "iram-assets", "trait-wars-assets", "kflow-assets"];
53212
+ var ManifestSourceCatalogSchema = z.enum(MANIFEST_SOURCE_CATALOGS);
53213
+ var MANIFEST_ASSET_LICENSES = ["CC0", "proprietary"];
53214
+ var ManifestAssetLicenseSchema = z.enum(MANIFEST_ASSET_LICENSES);
53215
+ var ManifestFrameSpecSchema = z.union([
53216
+ z.object({ kind: z.literal("iso-tile"), w: z.number(), h: z.number() }),
53217
+ z.object({ kind: z.literal("sprite-sheet"), frame: z.number(), cols: z.number(), rows: z.number() }),
53218
+ z.string().min(1),
53219
+ z.null()
53220
+ ]);
53221
+ z.object({
53222
+ url: z.string(),
53223
+ name: z.string(),
53224
+ category: z.string(),
53225
+ kind: ManifestEntryKindSchema,
53226
+ width: z.number(),
53227
+ height: z.number(),
53228
+ canvasAffinity: ManifestCanvasAffinitySchema,
53229
+ genreAffinity: z.array(z.string()),
53230
+ swapClass: z.string(),
53231
+ sourceCatalog: ManifestSourceCatalogSchema,
53232
+ frameSpec: ManifestFrameSpecSchema,
53233
+ license: ManifestAssetLicenseSchema.optional()
53234
+ });
52835
53235
  var SExprDataSchema = z.lazy(
52836
53236
  () => z.union([SExprAtomSchema, z.array(SExprDataSchema)])
52837
53237
  );