@almadar/std 16.190.0 → 16.191.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/behaviors/lolo/ui/core/atoms/std-modal.lolo +20 -6
- package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +3 -3
- package/behaviors/lolo/ui/core/molecules/ui-document-panel.lolo +0 -29
- package/behaviors/lolo/ui/game/atoms/std-platformer-body.lolo +7 -2
- package/behaviors/registry/ui/core/atoms/std-modal.orb +95 -3
- package/behaviors/registry/ui/core/atoms/std-record-detail.orb +3 -3
- package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +0 -80
- package/behaviors/registry/ui/game/atoms/std-platformer-body.orb +543 -496
- package/dist/behaviors/exports-reader.js +85 -6
- package/dist/behaviors/functions/index.d.ts +7 -11
- package/dist/behaviors/functions/index.js +85 -6
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +85 -6
- package/dist/behaviors/query.js +85 -6
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +961 -929
- package/dist/behaviors-registry.json +11 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.js +85 -6
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +1 -1
- package/dist/registry/factory-signatures.json +1 -1
- package/package.json +3 -3
|
@@ -51210,6 +51210,17 @@ function stdModalModalRecordOrbital(params = {}) {
|
|
|
51210
51210
|
"pending"
|
|
51211
51211
|
]
|
|
51212
51212
|
},
|
|
51213
|
+
{
|
|
51214
|
+
"default": {},
|
|
51215
|
+
"description": "The row an edit-mode OPEN pre-fills from when its payload carries no row. Stashed by SEED \u2014 hosts route the surface's loaded event here (e.g. a document look's RecordItemLoaded) so scalar-only action events ({ id }) can still open a fully seeded settings form.",
|
|
51216
|
+
"intrinsic": true,
|
|
51217
|
+
"name": "seedRow",
|
|
51218
|
+
"relation": {
|
|
51219
|
+
"cardinality": "one",
|
|
51220
|
+
"entity": "ModalRecord"
|
|
51221
|
+
},
|
|
51222
|
+
"type": "relation"
|
|
51223
|
+
},
|
|
51213
51224
|
{
|
|
51214
51225
|
"name": "createdAt",
|
|
51215
51226
|
"type": "string"
|
|
@@ -51360,7 +51371,9 @@ function stdModalModalRecordOrbital(params = {}) {
|
|
|
51360
51371
|
}
|
|
51361
51372
|
],
|
|
51362
51373
|
"entityContract": {
|
|
51363
|
-
"provides": [
|
|
51374
|
+
"provides": [
|
|
51375
|
+
"seedRow"
|
|
51376
|
+
],
|
|
51364
51377
|
"requires": []
|
|
51365
51378
|
},
|
|
51366
51379
|
"entityRebindable": true,
|
|
@@ -51373,6 +51386,19 @@ function stdModalModalRecordOrbital(params = {}) {
|
|
|
51373
51386
|
"key": "INIT",
|
|
51374
51387
|
"name": "Initialize"
|
|
51375
51388
|
},
|
|
51389
|
+
{
|
|
51390
|
+
"description": "Stash the row an edit-mode OPEN will pre-fill from. Hosts route the owning surface's loaded event here (e.g. RecordItemLoaded from a document look) so an OPEN carrying only { id } still opens a fully seeded form.",
|
|
51391
|
+
"key": "SEED",
|
|
51392
|
+
"name": "Seed",
|
|
51393
|
+
"payloadSchema": [
|
|
51394
|
+
{
|
|
51395
|
+
"name": "row",
|
|
51396
|
+
"type": "ModalRecord"
|
|
51397
|
+
}
|
|
51398
|
+
],
|
|
51399
|
+
"synonyms": "preload row, stash record, seed form, prefill",
|
|
51400
|
+
"tier": "domain"
|
|
51401
|
+
},
|
|
51376
51402
|
{
|
|
51377
51403
|
"description": "A request to display the modal window.",
|
|
51378
51404
|
"key": "OPEN",
|
|
@@ -51469,6 +51495,22 @@ function stdModalModalRecordOrbital(params = {}) {
|
|
|
51469
51495
|
"from": "closed",
|
|
51470
51496
|
"to": "closed"
|
|
51471
51497
|
},
|
|
51498
|
+
{
|
|
51499
|
+
"effects": [
|
|
51500
|
+
[
|
|
51501
|
+
"set",
|
|
51502
|
+
"@entity.seedRow",
|
|
51503
|
+
[
|
|
51504
|
+
"object/merge",
|
|
51505
|
+
"@payload.row",
|
|
51506
|
+
{}
|
|
51507
|
+
]
|
|
51508
|
+
]
|
|
51509
|
+
],
|
|
51510
|
+
"event": "SEED",
|
|
51511
|
+
"from": "closed",
|
|
51512
|
+
"to": "closed"
|
|
51513
|
+
},
|
|
51472
51514
|
{
|
|
51473
51515
|
"effects": [
|
|
51474
51516
|
[
|
|
@@ -51502,7 +51544,15 @@ function stdModalModalRecordOrbital(params = {}) {
|
|
|
51502
51544
|
},
|
|
51503
51545
|
{
|
|
51504
51546
|
"cancelEvent": "CLOSE",
|
|
51505
|
-
"entity":
|
|
51547
|
+
"entity": [
|
|
51548
|
+
"object/merge",
|
|
51549
|
+
"@entity.seedRow",
|
|
51550
|
+
[
|
|
51551
|
+
"object/merge",
|
|
51552
|
+
"@payload.row",
|
|
51553
|
+
{}
|
|
51554
|
+
]
|
|
51555
|
+
],
|
|
51506
51556
|
"fieldOverrides": "@config.fieldOverrides",
|
|
51507
51557
|
"fields": "@config.fields",
|
|
51508
51558
|
"mode": "@config.mode",
|
|
@@ -51525,10 +51575,39 @@ function stdModalModalRecordOrbital(params = {}) {
|
|
|
51525
51575
|
"@config.mode",
|
|
51526
51576
|
"create"
|
|
51527
51577
|
],
|
|
51528
|
-
"@payload.row"
|
|
51578
|
+
"@payload.row",
|
|
51579
|
+
[
|
|
51580
|
+
"!=",
|
|
51581
|
+
[
|
|
51582
|
+
"str/default",
|
|
51583
|
+
[
|
|
51584
|
+
"object/get",
|
|
51585
|
+
"@entity.seedRow",
|
|
51586
|
+
"id"
|
|
51587
|
+
],
|
|
51588
|
+
""
|
|
51589
|
+
],
|
|
51590
|
+
""
|
|
51591
|
+
]
|
|
51529
51592
|
],
|
|
51530
51593
|
"to": "open"
|
|
51531
51594
|
},
|
|
51595
|
+
{
|
|
51596
|
+
"effects": [
|
|
51597
|
+
[
|
|
51598
|
+
"set",
|
|
51599
|
+
"@entity.seedRow",
|
|
51600
|
+
[
|
|
51601
|
+
"object/merge",
|
|
51602
|
+
"@payload.row",
|
|
51603
|
+
{}
|
|
51604
|
+
]
|
|
51605
|
+
]
|
|
51606
|
+
],
|
|
51607
|
+
"event": "SEED",
|
|
51608
|
+
"from": "open",
|
|
51609
|
+
"to": "open"
|
|
51610
|
+
},
|
|
51532
51611
|
{
|
|
51533
51612
|
"effects": [
|
|
51534
51613
|
[
|
|
@@ -63631,7 +63710,7 @@ function stdRecordDetailRecordItemOrbital(params = {}) {
|
|
|
63631
63710
|
},
|
|
63632
63711
|
{
|
|
63633
63712
|
"default": {},
|
|
63634
|
-
"description": "The full row exactly as last fetched (relations hydrated when config.include asks). The
|
|
63713
|
+
"description": "The full row exactly as last fetched (relations hydrated when config.include asks). The details drawer binds it, and hosts that need it (e.g. a settings modal) stash it from RecordItemLoaded \u2014 the document panel itself takes only scalar props and emits scalar payloads ({ id, title }).",
|
|
63635
63714
|
"intrinsic": true,
|
|
63636
63715
|
"name": "loadedRow",
|
|
63637
63716
|
"type": "object"
|
|
@@ -63769,7 +63848,7 @@ function stdRecordDetailRecordItemOrbital(params = {}) {
|
|
|
63769
63848
|
"className": "w-full",
|
|
63770
63849
|
"editEvent": "EDIT_CONTENT",
|
|
63771
63850
|
"editLabel": "@config.editLabel",
|
|
63772
|
-
"
|
|
63851
|
+
"id": "@entity.id",
|
|
63773
63852
|
"maxInlineActions": "@config.maxInlineActions",
|
|
63774
63853
|
"placeholder": "@config.placeholder",
|
|
63775
63854
|
"subtitle": "@entity.description",
|
|
@@ -63792,7 +63871,7 @@ function stdRecordDetailRecordItemOrbital(params = {}) {
|
|
|
63792
63871
|
"doneEvent": "DONE_EDITING",
|
|
63793
63872
|
"doneLabel": "@config.doneLabel",
|
|
63794
63873
|
"editing": true,
|
|
63795
|
-
"
|
|
63874
|
+
"id": "@entity.id",
|
|
63796
63875
|
"maxInlineActions": "@config.maxInlineActions",
|
|
63797
63876
|
"placeholder": "@config.placeholder",
|
|
63798
63877
|
"subtitle": "@entity.description",
|