@almadar/core 10.47.0 → 10.48.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,10 +1,10 @@
1
- import { A as AnyPatternConfig, h as RenderBinding, F as FieldValue, aY as PatternType } from '../effect-BZDXo4bV.js';
2
- export { aR as PATTERN_TYPES, aV as PatternConfig, aW as PatternProps, aX as PatternPropsMap, cL as isValidPatternType } from '../effect-BZDXo4bV.js';
1
+ import { A as AnyPatternConfig, h as RenderBinding, F as FieldValue, aY as PatternType } from '../effect-DiHGegt9.js';
2
+ export { aR as PATTERN_TYPES, aV as PatternConfig, aW as PatternProps, aX as PatternPropsMap, cL as isValidPatternType } from '../effect-DiHGegt9.js';
3
3
  import { d as EventPayloadValue, a as EventPayload, J as JsonValue } from '../expression-Yf7qvvOs.js';
4
4
  import 'zod';
5
5
 
6
6
  var version$3 = "1.0.0";
7
- var exportedAt$3 = "2026-07-31T07:15:07.239Z";
7
+ var exportedAt$3 = "2026-07-31T10:02:24.207Z";
8
8
  var patterns = {
9
9
  "entity-table": {
10
10
  type: "entity-table",
@@ -41300,6 +41300,18 @@ var patterns = {
41300
41300
  }
41301
41301
  }
41302
41302
  },
41303
+ lighting: {
41304
+ types: [
41305
+ "object"
41306
+ ],
41307
+ description: "3D scene light rig as data — ambient/directional/hemisphere/point lights + optional 'room' environment for PBR reflections. Omitted → the standard fixed rig."
41308
+ },
41309
+ post: {
41310
+ types: [
41311
+ "object"
41312
+ ],
41313
+ description: "3D post-processing stack — bloom (emissive glow / neon) and vignette. Omitted → no post pass."
41314
+ },
41303
41315
  tileClickEvent: {
41304
41316
  types: [
41305
41317
  "string"
@@ -41990,6 +42002,357 @@ var patterns = {
41990
42002
  description: "Additional CSS classes applied to the trigger button"
41991
42003
  }
41992
42004
  }
42005
+ },
42006
+ "draw-mesh": {
42007
+ type: "draw-mesh",
42008
+ category: "game",
42009
+ tier: "atoms",
42010
+ family: "game",
42011
+ description: "DrawMesh component",
42012
+ suggestedFor: [
42013
+ "draw",
42014
+ "mesh",
42015
+ "draw mesh"
42016
+ ],
42017
+ typicalSize: "small",
42018
+ propsSchema: {
42019
+ id: {
42020
+ types: [
42021
+ "string"
42022
+ ],
42023
+ description: "Optional source-tagged hit-test handle — the host indexes the drawable's ScenePos→id so a pointer/raycast at that cell resolves to this id (unit/entity click). No id → the host emits only the coordinate (tile click)."
42024
+ },
42025
+ type: {
42026
+ types: [
42027
+ "unknown"
42028
+ ],
42029
+ description: "type prop",
42030
+ required: true
42031
+ },
42032
+ shape: {
42033
+ types: [
42034
+ "string"
42035
+ ],
42036
+ description: "shape prop",
42037
+ required: true,
42038
+ enumValues: [
42039
+ "box",
42040
+ "sphere",
42041
+ "capsule",
42042
+ "cylinder",
42043
+ "cone",
42044
+ "torus",
42045
+ "plane",
42046
+ "circle"
42047
+ ]
42048
+ },
42049
+ position: {
42050
+ types: [
42051
+ "object"
42052
+ ],
42053
+ description: "Logical scene position; `z` is height in cells (projected to world Y).",
42054
+ required: true,
42055
+ properties: {
42056
+ x: {
42057
+ types: [
42058
+ "number"
42059
+ ]
42060
+ },
42061
+ y: {
42062
+ types: [
42063
+ "number"
42064
+ ]
42065
+ },
42066
+ z: {
42067
+ types: [
42068
+ "number"
42069
+ ]
42070
+ }
42071
+ },
42072
+ propertyRequired: [
42073
+ "x",
42074
+ "y"
42075
+ ],
42076
+ scenePos: true
42077
+ },
42078
+ width: {
42079
+ types: [
42080
+ "number"
42081
+ ],
42082
+ description: "Box/plane X extent in cells (default 1)."
42083
+ },
42084
+ height: {
42085
+ types: [
42086
+ "number"
42087
+ ],
42088
+ description: "Box Y (height) extent / capsule-cylinder-cone length in cells (default 1)."
42089
+ },
42090
+ depth: {
42091
+ types: [
42092
+ "number"
42093
+ ],
42094
+ description: "Box/plane Z extent in cells (default `width`)."
42095
+ },
42096
+ radius: {
42097
+ types: [
42098
+ "number"
42099
+ ],
42100
+ description: "Sphere/capsule/cone/torus/circle radius in cells (default 0.4)."
42101
+ },
42102
+ radiusTop: {
42103
+ types: [
42104
+ "number"
42105
+ ],
42106
+ description: "Cylinder top radius (default `radius`)."
42107
+ },
42108
+ radiusBottom: {
42109
+ types: [
42110
+ "number"
42111
+ ],
42112
+ description: "Cylinder bottom radius (default `radius`)."
42113
+ },
42114
+ tube: {
42115
+ types: [
42116
+ "number"
42117
+ ],
42118
+ description: "Torus tube radius in cells (default `radius` / 3)."
42119
+ },
42120
+ segments: {
42121
+ types: [
42122
+ "number"
42123
+ ],
42124
+ description: "Curved-surface tessellation, clamped 3..64 (default 24). 4–8 + `flatShading` = low-poly."
42125
+ },
42126
+ rotation: {
42127
+ types: [
42128
+ "array"
42129
+ ],
42130
+ description: "Euler rotation `[x, y, z]` in radians.",
42131
+ items: {
42132
+ types: [
42133
+ "number"
42134
+ ]
42135
+ }
42136
+ },
42137
+ pivot: {
42138
+ types: [
42139
+ "string"
42140
+ ],
42141
+ description: "`bottom` (default) rests the mesh on its position's ground plane; `center` centers it there.",
42142
+ enumValues: [
42143
+ "bottom",
42144
+ "center"
42145
+ ]
42146
+ },
42147
+ material: {
42148
+ types: [
42149
+ "object"
42150
+ ],
42151
+ description: "material prop",
42152
+ properties: {
42153
+ kind: {
42154
+ types: [
42155
+ "string"
42156
+ ],
42157
+ enumValues: [
42158
+ "standard",
42159
+ "physical",
42160
+ "toon",
42161
+ "basic"
42162
+ ]
42163
+ },
42164
+ color: {
42165
+ types: [
42166
+ "string"
42167
+ ]
42168
+ },
42169
+ metalness: {
42170
+ types: [
42171
+ "number"
42172
+ ]
42173
+ },
42174
+ roughness: {
42175
+ types: [
42176
+ "number"
42177
+ ]
42178
+ },
42179
+ emissive: {
42180
+ types: [
42181
+ "string"
42182
+ ]
42183
+ },
42184
+ emissiveIntensity: {
42185
+ types: [
42186
+ "number"
42187
+ ]
42188
+ },
42189
+ opacity: {
42190
+ types: [
42191
+ "number"
42192
+ ]
42193
+ },
42194
+ transmission: {
42195
+ types: [
42196
+ "number"
42197
+ ]
42198
+ },
42199
+ ior: {
42200
+ types: [
42201
+ "number"
42202
+ ]
42203
+ },
42204
+ flatShading: {
42205
+ types: [
42206
+ "boolean"
42207
+ ]
42208
+ },
42209
+ side: {
42210
+ types: [
42211
+ "string"
42212
+ ],
42213
+ enumValues: [
42214
+ "front",
42215
+ "back",
42216
+ "double"
42217
+ ]
42218
+ }
42219
+ }
42220
+ },
42221
+ outline: {
42222
+ types: [
42223
+ "object"
42224
+ ],
42225
+ description: "outline prop",
42226
+ properties: {
42227
+ color: {
42228
+ types: [
42229
+ "string"
42230
+ ]
42231
+ },
42232
+ width: {
42233
+ types: [
42234
+ "number"
42235
+ ]
42236
+ }
42237
+ }
42238
+ },
42239
+ castShadow: {
42240
+ types: [
42241
+ "boolean"
42242
+ ],
42243
+ description: "castShadow prop"
42244
+ },
42245
+ receiveShadow: {
42246
+ types: [
42247
+ "boolean"
42248
+ ],
42249
+ description: "receiveShadow prop"
42250
+ },
42251
+ animation: {
42252
+ types: [
42253
+ "object"
42254
+ ],
42255
+ description: "Keyframe animation over transform/material tracks; the 3D host runs it per frame.",
42256
+ properties: {
42257
+ durationMs: {
42258
+ types: [
42259
+ "number"
42260
+ ]
42261
+ },
42262
+ loop: {
42263
+ types: [
42264
+ "boolean"
42265
+ ]
42266
+ },
42267
+ keyframes: {
42268
+ types: [
42269
+ "array"
42270
+ ],
42271
+ items: {
42272
+ types: [
42273
+ "object"
42274
+ ],
42275
+ properties: {
42276
+ at: {
42277
+ types: [
42278
+ "number"
42279
+ ]
42280
+ },
42281
+ offsetX: {
42282
+ types: [
42283
+ "number"
42284
+ ]
42285
+ },
42286
+ offsetY: {
42287
+ types: [
42288
+ "number"
42289
+ ]
42290
+ },
42291
+ offsetZ: {
42292
+ types: [
42293
+ "number"
42294
+ ]
42295
+ },
42296
+ rotateX: {
42297
+ types: [
42298
+ "number"
42299
+ ]
42300
+ },
42301
+ rotateY: {
42302
+ types: [
42303
+ "number"
42304
+ ]
42305
+ },
42306
+ rotateZ: {
42307
+ types: [
42308
+ "number"
42309
+ ]
42310
+ },
42311
+ scale: {
42312
+ types: [
42313
+ "number"
42314
+ ]
42315
+ },
42316
+ opacity: {
42317
+ types: [
42318
+ "number"
42319
+ ]
42320
+ },
42321
+ emissiveIntensity: {
42322
+ types: [
42323
+ "number"
42324
+ ]
42325
+ },
42326
+ color: {
42327
+ types: [
42328
+ "string"
42329
+ ]
42330
+ },
42331
+ emissive: {
42332
+ types: [
42333
+ "string"
42334
+ ]
42335
+ }
42336
+ },
42337
+ required: [
42338
+ "at"
42339
+ ]
42340
+ }
42341
+ }
42342
+ },
42343
+ propertyRequired: [
42344
+ "durationMs",
42345
+ "keyframes"
42346
+ ]
42347
+ },
42348
+ opacity: {
42349
+ types: [
42350
+ "number"
42351
+ ],
42352
+ description: "0..1 opacity; multiplies the material and enclosing group opacity."
42353
+ }
42354
+ },
42355
+ drawable: true
41993
42356
  }
41994
42357
  };
41995
42358
  var categories$1 = [
@@ -42917,7 +43280,7 @@ var integratorsRegistry = {
42917
43280
  };
42918
43281
 
42919
43282
  var version$1 = "1.0.0";
42920
- var exportedAt$1 = "2026-07-31T07:15:07.239Z";
43283
+ var exportedAt$1 = "2026-07-31T10:02:24.207Z";
42921
43284
  var mappings = {
42922
43285
  "page-header": {
42923
43286
  component: "PageHeader",
@@ -44300,6 +44663,11 @@ var mappings = {
44300
44663
  component: "EmojiPicker",
44301
44664
  importPath: "@/components/core/molecules/EmojiPicker",
44302
44665
  category: "component"
44666
+ },
44667
+ "draw-mesh": {
44668
+ component: "DrawMesh",
44669
+ importPath: "@/components/game/atoms/DrawMesh",
44670
+ category: "game"
44303
44671
  }
44304
44672
  };
44305
44673
  var componentMapping = {
@@ -44309,7 +44677,7 @@ var componentMapping = {
44309
44677
  };
44310
44678
 
44311
44679
  var version = "1.0.0";
44312
- var exportedAt = "2026-07-31T07:15:07.239Z";
44680
+ var exportedAt = "2026-07-31T10:02:24.207Z";
44313
44681
  var contracts = {
44314
44682
  form: {
44315
44683
  emits: [
@@ -71214,6 +71582,14 @@ declare const registry: {
71214
71582
  };
71215
71583
  };
71216
71584
  };
71585
+ lighting: {
71586
+ types: string[];
71587
+ description: string;
71588
+ };
71589
+ post: {
71590
+ types: string[];
71591
+ description: string;
71592
+ };
71217
71593
  tileClickEvent: {
71218
71594
  types: string[];
71219
71595
  description: string;
@@ -71656,6 +72032,218 @@ declare const registry: {
71656
72032
  };
71657
72033
  };
71658
72034
  };
72035
+ "draw-mesh": {
72036
+ type: string;
72037
+ category: string;
72038
+ tier: string;
72039
+ family: string;
72040
+ description: string;
72041
+ suggestedFor: string[];
72042
+ typicalSize: string;
72043
+ propsSchema: {
72044
+ id: {
72045
+ types: string[];
72046
+ description: string;
72047
+ };
72048
+ type: {
72049
+ types: string[];
72050
+ description: string;
72051
+ required: boolean;
72052
+ };
72053
+ shape: {
72054
+ types: string[];
72055
+ description: string;
72056
+ required: boolean;
72057
+ enumValues: string[];
72058
+ };
72059
+ position: {
72060
+ types: string[];
72061
+ description: string;
72062
+ required: boolean;
72063
+ properties: {
72064
+ x: {
72065
+ types: string[];
72066
+ };
72067
+ y: {
72068
+ types: string[];
72069
+ };
72070
+ z: {
72071
+ types: string[];
72072
+ };
72073
+ };
72074
+ propertyRequired: string[];
72075
+ scenePos: boolean;
72076
+ };
72077
+ width: {
72078
+ types: string[];
72079
+ description: string;
72080
+ };
72081
+ height: {
72082
+ types: string[];
72083
+ description: string;
72084
+ };
72085
+ depth: {
72086
+ types: string[];
72087
+ description: string;
72088
+ };
72089
+ radius: {
72090
+ types: string[];
72091
+ description: string;
72092
+ };
72093
+ radiusTop: {
72094
+ types: string[];
72095
+ description: string;
72096
+ };
72097
+ radiusBottom: {
72098
+ types: string[];
72099
+ description: string;
72100
+ };
72101
+ tube: {
72102
+ types: string[];
72103
+ description: string;
72104
+ };
72105
+ segments: {
72106
+ types: string[];
72107
+ description: string;
72108
+ };
72109
+ rotation: {
72110
+ types: string[];
72111
+ description: string;
72112
+ items: {
72113
+ types: string[];
72114
+ };
72115
+ };
72116
+ pivot: {
72117
+ types: string[];
72118
+ description: string;
72119
+ enumValues: string[];
72120
+ };
72121
+ material: {
72122
+ types: string[];
72123
+ description: string;
72124
+ properties: {
72125
+ kind: {
72126
+ types: string[];
72127
+ enumValues: string[];
72128
+ };
72129
+ color: {
72130
+ types: string[];
72131
+ };
72132
+ metalness: {
72133
+ types: string[];
72134
+ };
72135
+ roughness: {
72136
+ types: string[];
72137
+ };
72138
+ emissive: {
72139
+ types: string[];
72140
+ };
72141
+ emissiveIntensity: {
72142
+ types: string[];
72143
+ };
72144
+ opacity: {
72145
+ types: string[];
72146
+ };
72147
+ transmission: {
72148
+ types: string[];
72149
+ };
72150
+ ior: {
72151
+ types: string[];
72152
+ };
72153
+ flatShading: {
72154
+ types: string[];
72155
+ };
72156
+ side: {
72157
+ types: string[];
72158
+ enumValues: string[];
72159
+ };
72160
+ };
72161
+ };
72162
+ outline: {
72163
+ types: string[];
72164
+ description: string;
72165
+ properties: {
72166
+ color: {
72167
+ types: string[];
72168
+ };
72169
+ width: {
72170
+ types: string[];
72171
+ };
72172
+ };
72173
+ };
72174
+ castShadow: {
72175
+ types: string[];
72176
+ description: string;
72177
+ };
72178
+ receiveShadow: {
72179
+ types: string[];
72180
+ description: string;
72181
+ };
72182
+ animation: {
72183
+ types: string[];
72184
+ description: string;
72185
+ properties: {
72186
+ durationMs: {
72187
+ types: string[];
72188
+ };
72189
+ loop: {
72190
+ types: string[];
72191
+ };
72192
+ keyframes: {
72193
+ types: string[];
72194
+ items: {
72195
+ types: string[];
72196
+ properties: {
72197
+ at: {
72198
+ types: string[];
72199
+ };
72200
+ offsetX: {
72201
+ types: string[];
72202
+ };
72203
+ offsetY: {
72204
+ types: string[];
72205
+ };
72206
+ offsetZ: {
72207
+ types: string[];
72208
+ };
72209
+ rotateX: {
72210
+ types: string[];
72211
+ };
72212
+ rotateY: {
72213
+ types: string[];
72214
+ };
72215
+ rotateZ: {
72216
+ types: string[];
72217
+ };
72218
+ scale: {
72219
+ types: string[];
72220
+ };
72221
+ opacity: {
72222
+ types: string[];
72223
+ };
72224
+ emissiveIntensity: {
72225
+ types: string[];
72226
+ };
72227
+ color: {
72228
+ types: string[];
72229
+ };
72230
+ emissive: {
72231
+ types: string[];
72232
+ };
72233
+ };
72234
+ required: string[];
72235
+ };
72236
+ };
72237
+ };
72238
+ propertyRequired: string[];
72239
+ };
72240
+ opacity: {
72241
+ types: string[];
72242
+ description: string;
72243
+ };
72244
+ };
72245
+ drawable: boolean;
72246
+ };
71659
72247
  };
71660
72248
  categories: string[];
71661
72249
  };
@@ -96834,6 +97422,14 @@ declare const PATTERN_REGISTRY: {
96834
97422
  };
96835
97423
  };
96836
97424
  };
97425
+ lighting: {
97426
+ types: string[];
97427
+ description: string;
97428
+ };
97429
+ post: {
97430
+ types: string[];
97431
+ description: string;
97432
+ };
96837
97433
  tileClickEvent: {
96838
97434
  types: string[];
96839
97435
  description: string;
@@ -97276,6 +97872,218 @@ declare const PATTERN_REGISTRY: {
97276
97872
  };
97277
97873
  };
97278
97874
  };
97875
+ "draw-mesh": {
97876
+ type: string;
97877
+ category: string;
97878
+ tier: string;
97879
+ family: string;
97880
+ description: string;
97881
+ suggestedFor: string[];
97882
+ typicalSize: string;
97883
+ propsSchema: {
97884
+ id: {
97885
+ types: string[];
97886
+ description: string;
97887
+ };
97888
+ type: {
97889
+ types: string[];
97890
+ description: string;
97891
+ required: boolean;
97892
+ };
97893
+ shape: {
97894
+ types: string[];
97895
+ description: string;
97896
+ required: boolean;
97897
+ enumValues: string[];
97898
+ };
97899
+ position: {
97900
+ types: string[];
97901
+ description: string;
97902
+ required: boolean;
97903
+ properties: {
97904
+ x: {
97905
+ types: string[];
97906
+ };
97907
+ y: {
97908
+ types: string[];
97909
+ };
97910
+ z: {
97911
+ types: string[];
97912
+ };
97913
+ };
97914
+ propertyRequired: string[];
97915
+ scenePos: boolean;
97916
+ };
97917
+ width: {
97918
+ types: string[];
97919
+ description: string;
97920
+ };
97921
+ height: {
97922
+ types: string[];
97923
+ description: string;
97924
+ };
97925
+ depth: {
97926
+ types: string[];
97927
+ description: string;
97928
+ };
97929
+ radius: {
97930
+ types: string[];
97931
+ description: string;
97932
+ };
97933
+ radiusTop: {
97934
+ types: string[];
97935
+ description: string;
97936
+ };
97937
+ radiusBottom: {
97938
+ types: string[];
97939
+ description: string;
97940
+ };
97941
+ tube: {
97942
+ types: string[];
97943
+ description: string;
97944
+ };
97945
+ segments: {
97946
+ types: string[];
97947
+ description: string;
97948
+ };
97949
+ rotation: {
97950
+ types: string[];
97951
+ description: string;
97952
+ items: {
97953
+ types: string[];
97954
+ };
97955
+ };
97956
+ pivot: {
97957
+ types: string[];
97958
+ description: string;
97959
+ enumValues: string[];
97960
+ };
97961
+ material: {
97962
+ types: string[];
97963
+ description: string;
97964
+ properties: {
97965
+ kind: {
97966
+ types: string[];
97967
+ enumValues: string[];
97968
+ };
97969
+ color: {
97970
+ types: string[];
97971
+ };
97972
+ metalness: {
97973
+ types: string[];
97974
+ };
97975
+ roughness: {
97976
+ types: string[];
97977
+ };
97978
+ emissive: {
97979
+ types: string[];
97980
+ };
97981
+ emissiveIntensity: {
97982
+ types: string[];
97983
+ };
97984
+ opacity: {
97985
+ types: string[];
97986
+ };
97987
+ transmission: {
97988
+ types: string[];
97989
+ };
97990
+ ior: {
97991
+ types: string[];
97992
+ };
97993
+ flatShading: {
97994
+ types: string[];
97995
+ };
97996
+ side: {
97997
+ types: string[];
97998
+ enumValues: string[];
97999
+ };
98000
+ };
98001
+ };
98002
+ outline: {
98003
+ types: string[];
98004
+ description: string;
98005
+ properties: {
98006
+ color: {
98007
+ types: string[];
98008
+ };
98009
+ width: {
98010
+ types: string[];
98011
+ };
98012
+ };
98013
+ };
98014
+ castShadow: {
98015
+ types: string[];
98016
+ description: string;
98017
+ };
98018
+ receiveShadow: {
98019
+ types: string[];
98020
+ description: string;
98021
+ };
98022
+ animation: {
98023
+ types: string[];
98024
+ description: string;
98025
+ properties: {
98026
+ durationMs: {
98027
+ types: string[];
98028
+ };
98029
+ loop: {
98030
+ types: string[];
98031
+ };
98032
+ keyframes: {
98033
+ types: string[];
98034
+ items: {
98035
+ types: string[];
98036
+ properties: {
98037
+ at: {
98038
+ types: string[];
98039
+ };
98040
+ offsetX: {
98041
+ types: string[];
98042
+ };
98043
+ offsetY: {
98044
+ types: string[];
98045
+ };
98046
+ offsetZ: {
98047
+ types: string[];
98048
+ };
98049
+ rotateX: {
98050
+ types: string[];
98051
+ };
98052
+ rotateY: {
98053
+ types: string[];
98054
+ };
98055
+ rotateZ: {
98056
+ types: string[];
98057
+ };
98058
+ scale: {
98059
+ types: string[];
98060
+ };
98061
+ opacity: {
98062
+ types: string[];
98063
+ };
98064
+ emissiveIntensity: {
98065
+ types: string[];
98066
+ };
98067
+ color: {
98068
+ types: string[];
98069
+ };
98070
+ emissive: {
98071
+ types: string[];
98072
+ };
98073
+ };
98074
+ required: string[];
98075
+ };
98076
+ };
98077
+ };
98078
+ propertyRequired: string[];
98079
+ };
98080
+ opacity: {
98081
+ types: string[];
98082
+ description: string;
98083
+ };
98084
+ };
98085
+ drawable: boolean;
98086
+ };
97279
98087
  };
97280
98088
  categories: string[];
97281
98089
  };
@@ -99359,6 +100167,11 @@ declare const COMPONENT_MAPPING: {
99359
100167
  importPath: string;
99360
100168
  category: string;
99361
100169
  };
100170
+ "draw-mesh": {
100171
+ component: string;
100172
+ importPath: string;
100173
+ category: string;
100174
+ };
99362
100175
  };
99363
100176
  };
99364
100177
  declare const EVENT_CONTRACTS: {