@almadar/std 16.219.0 → 16.221.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/infra/atoms/std-global-search.lolo +9 -1
- package/behaviors/registry/infra/atoms/std-global-search.orb +86 -4
- package/behaviors/registry/ui/core/atoms/ui-textarea.orb +3 -3
- package/behaviors/registry/ui/game/atoms/ui-canvas-2d.orb +2 -2
- package/behaviors/registry/ui/game/atoms/ui-canvas.orb +2 -2
- package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +2 -2
- package/dist/behaviors/exports-reader.js +91 -5
- package/dist/behaviors/functions/index.d.ts +5 -3
- package/dist/behaviors/functions/index.js +91 -6
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +92 -6
- package/dist/behaviors/query.js +91 -5
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +1 -1
- package/dist/behaviors-registry.json +41 -18
- package/dist/index.d.ts +1 -1
- package/dist/index.js +92 -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 +2 -2
|
@@ -146,7 +146,15 @@ orbital GlobalSearchOrbital {
|
|
|
146
146
|
event: SEARCH
|
|
147
147
|
placeholder: @config.placeholder
|
|
148
148
|
type: search-input
|
|
149
|
-
},
|
|
149
|
+
}, (array/map (array/filter @entity.results (fn g (!= @g.resultsJson ""))) (fn g {
|
|
150
|
+
type: stack
|
|
151
|
+
direction: vertical
|
|
152
|
+
gap: sm
|
|
153
|
+
children: [
|
|
154
|
+
<Typography.traits.TypographyRender content={@g.moduleKey} linkedEntity={SearchQuery} variant={h4} />,
|
|
155
|
+
(array/map (array/filter (str/split @g.resultsJson ", ") (fn item (!= @item ""))) (fn item <Typography.traits.TypographyRender content={@item} linkedEntity={SearchQuery} variant={body} />))
|
|
156
|
+
]
|
|
157
|
+
}))]
|
|
150
158
|
direction: vertical
|
|
151
159
|
gap: md
|
|
152
160
|
type: stack
|
|
@@ -137,6 +137,14 @@
|
|
|
137
137
|
"kind": "trait",
|
|
138
138
|
"owner": "workspace",
|
|
139
139
|
"renames": []
|
|
140
|
+
},
|
|
141
|
+
"trt_01M2RAZG5FVSE7MW01G6BQGQE1": {
|
|
142
|
+
"bakedName": "InlineTypographyRender5",
|
|
143
|
+
"curName": "InlineTypographyRender5",
|
|
144
|
+
"id": "trt_01M2RAZG5FVSE7MW01G6BQGQE1",
|
|
145
|
+
"kind": "trait",
|
|
146
|
+
"owner": "workspace",
|
|
147
|
+
"renames": []
|
|
140
148
|
}
|
|
141
149
|
},
|
|
142
150
|
"schemaVersion": 1
|
|
@@ -305,6 +313,10 @@
|
|
|
305
313
|
{
|
|
306
314
|
"ref": "InlineTypographyRender4",
|
|
307
315
|
"refId": "trt_01M2HF5GMNH5WR6RWC7C05RFQT"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"ref": "InlineTypographyRender5",
|
|
319
|
+
"refId": "trt_01M2RAZG5FVSE7MW01G6BQGQE1"
|
|
308
320
|
}
|
|
309
321
|
]
|
|
310
322
|
}
|
|
@@ -1230,7 +1242,59 @@
|
|
|
1230
1242
|
"placeholder": "@config.placeholder",
|
|
1231
1243
|
"type": "search-input"
|
|
1232
1244
|
},
|
|
1233
|
-
|
|
1245
|
+
[
|
|
1246
|
+
"array/map",
|
|
1247
|
+
[
|
|
1248
|
+
"array/filter",
|
|
1249
|
+
"@entity.results",
|
|
1250
|
+
[
|
|
1251
|
+
"fn",
|
|
1252
|
+
"g",
|
|
1253
|
+
[
|
|
1254
|
+
"!=",
|
|
1255
|
+
"@g.resultsJson",
|
|
1256
|
+
""
|
|
1257
|
+
]
|
|
1258
|
+
]
|
|
1259
|
+
],
|
|
1260
|
+
[
|
|
1261
|
+
"fn",
|
|
1262
|
+
"g",
|
|
1263
|
+
{
|
|
1264
|
+
"children": [
|
|
1265
|
+
"@trait.InlineTypographyRender4",
|
|
1266
|
+
[
|
|
1267
|
+
"array/map",
|
|
1268
|
+
[
|
|
1269
|
+
"array/filter",
|
|
1270
|
+
[
|
|
1271
|
+
"str/split",
|
|
1272
|
+
"@g.resultsJson",
|
|
1273
|
+
", "
|
|
1274
|
+
],
|
|
1275
|
+
[
|
|
1276
|
+
"fn",
|
|
1277
|
+
"item",
|
|
1278
|
+
[
|
|
1279
|
+
"!=",
|
|
1280
|
+
"@item",
|
|
1281
|
+
""
|
|
1282
|
+
]
|
|
1283
|
+
]
|
|
1284
|
+
],
|
|
1285
|
+
[
|
|
1286
|
+
"fn",
|
|
1287
|
+
"item",
|
|
1288
|
+
"@trait.InlineTypographyRender5"
|
|
1289
|
+
]
|
|
1290
|
+
]
|
|
1291
|
+
],
|
|
1292
|
+
"direction": "vertical",
|
|
1293
|
+
"gap": "sm",
|
|
1294
|
+
"type": "stack"
|
|
1295
|
+
}
|
|
1296
|
+
]
|
|
1297
|
+
]
|
|
1234
1298
|
],
|
|
1235
1299
|
"direction": "vertical",
|
|
1236
1300
|
"gap": "md",
|
|
@@ -1314,7 +1378,8 @@
|
|
|
1314
1378
|
"InlineSpinnerRender2": "trt_01M2HF5GMNQ98TN6V15AA4B52H",
|
|
1315
1379
|
"InlineTypographyRender1": "trt_01M2HF5GMNZQ67R15B1XS75064",
|
|
1316
1380
|
"InlineTypographyRender3": "trt_01M2HF5GMN2FE93FP2KKCTC5FB",
|
|
1317
|
-
"InlineTypographyRender4": "trt_01M2HF5GMNH5WR6RWC7C05RFQT"
|
|
1381
|
+
"InlineTypographyRender4": "trt_01M2HF5GMNH5WR6RWC7C05RFQT",
|
|
1382
|
+
"InlineTypographyRender5": "trt_01M2RAZG5FVSE7MW01G6BQGQE1"
|
|
1318
1383
|
}
|
|
1319
1384
|
},
|
|
1320
1385
|
{
|
|
@@ -1369,11 +1434,11 @@
|
|
|
1369
1434
|
{
|
|
1370
1435
|
"config": {
|
|
1371
1436
|
"content": {
|
|
1372
|
-
"default": "@
|
|
1437
|
+
"default": "@g.moduleKey",
|
|
1373
1438
|
"type": "unknown"
|
|
1374
1439
|
},
|
|
1375
1440
|
"variant": {
|
|
1376
|
-
"default": "
|
|
1441
|
+
"default": "h4",
|
|
1377
1442
|
"type": "unknown"
|
|
1378
1443
|
}
|
|
1379
1444
|
},
|
|
@@ -1382,6 +1447,23 @@
|
|
|
1382
1447
|
"linkedEntityId": "ent_01M2HF5GMNGVKWFSM4E6WE1SAY",
|
|
1383
1448
|
"name": "InlineTypographyRender4",
|
|
1384
1449
|
"ref": "Typography.traits.TypographyRender"
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"config": {
|
|
1453
|
+
"content": {
|
|
1454
|
+
"default": "@item",
|
|
1455
|
+
"type": "unknown"
|
|
1456
|
+
},
|
|
1457
|
+
"variant": {
|
|
1458
|
+
"default": "body",
|
|
1459
|
+
"type": "unknown"
|
|
1460
|
+
}
|
|
1461
|
+
},
|
|
1462
|
+
"id": "trt_01M2RAZG5FVSE7MW01G6BQGQE1",
|
|
1463
|
+
"linkedEntity": "SearchQuery",
|
|
1464
|
+
"linkedEntityId": "ent_01M2HF5GMNGVKWFSM4E6WE1SAY",
|
|
1465
|
+
"name": "InlineTypographyRender5",
|
|
1466
|
+
"ref": "Typography.traits.TypographyRender"
|
|
1385
1467
|
}
|
|
1386
1468
|
],
|
|
1387
1469
|
"types": {
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"config": {
|
|
101
101
|
"action": {
|
|
102
102
|
"default": "ACTION",
|
|
103
|
-
"description": "Declarative event
|
|
103
|
+
"description": "Declarative event: fires on ⌘/Ctrl+Enter with `{ value }`.",
|
|
104
104
|
"label": "Action",
|
|
105
105
|
"tier": "presentation",
|
|
106
106
|
"type": "event"
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"emits": [
|
|
147
147
|
{
|
|
148
148
|
"definerKnob": "action",
|
|
149
|
-
"description": "Declarative event
|
|
149
|
+
"description": "Declarative event: fires on ⌘/Ctrl+Enter with `{ value }`.",
|
|
150
150
|
"event": "@config.action",
|
|
151
151
|
"eventId": "evt_01KXG04MCN5MVPZH4K7YHGNYS0",
|
|
152
152
|
"scope": "external",
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
"name": "Initialize"
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
|
-
"description": "Declarative event
|
|
192
|
+
"description": "Declarative event: fires on ⌘/Ctrl+Enter with `{ value }`.",
|
|
193
193
|
"id": "evt_01KXG04MCN5MVPZH4K7YHGNYS0",
|
|
194
194
|
"key": "@config.action",
|
|
195
195
|
"name": "@config.action",
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
"default": {
|
|
280
280
|
"item": "INIT"
|
|
281
281
|
},
|
|
282
|
-
"description": "Maps a keydown `e.code`
|
|
282
|
+
"description": "Maps a keydown `e.code` — optionally prefixed `Mod+` (⌘/Ctrl), `Shift+`, `Alt+` in that order — to the board's SEMANTIC event (device-agnostic input), emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
|
|
283
283
|
"items": {
|
|
284
284
|
"type": "string"
|
|
285
285
|
},
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
"default": {
|
|
292
292
|
"item": "INIT"
|
|
293
293
|
},
|
|
294
|
-
"description": "Maps a keyup `e.code`
|
|
294
|
+
"description": "Maps a keyup `e.code` — optionally prefixed `Mod+` (⌘/Ctrl), `Shift+`, `Alt+` in that order — to the board's SEMANTIC event, emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
|
|
295
295
|
"items": {
|
|
296
296
|
"type": "string"
|
|
297
297
|
},
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
"default": {
|
|
305
305
|
"item": "INIT"
|
|
306
306
|
},
|
|
307
|
-
"description": "
|
|
307
|
+
"description": "Maps a keydown `e.code` — optionally prefixed `Mod+` (⌘/Ctrl), `Shift+`, `Alt+` in that order — to the board's SEMANTIC event (device-agnostic input), emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
|
|
308
308
|
"items": {
|
|
309
309
|
"type": "string"
|
|
310
310
|
},
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
"default": {
|
|
317
317
|
"item": "INIT"
|
|
318
318
|
},
|
|
319
|
-
"description": "
|
|
319
|
+
"description": "Maps a keyup `e.code` — optionally prefixed `Mod+` (⌘/Ctrl), `Shift+`, `Alt+` in that order — to the board's SEMANTIC event, emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
|
|
320
320
|
"items": {
|
|
321
321
|
"type": "string"
|
|
322
322
|
},
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
"default": {
|
|
426
426
|
"item": "INIT"
|
|
427
427
|
},
|
|
428
|
-
"description": "Maps a keydown `e.code`
|
|
428
|
+
"description": "Maps a keydown `e.code` — optionally prefixed `Mod+` (⌘/Ctrl), `Shift+`, `Alt+` in that order — to the board's SEMANTIC event (device-agnostic input), emitted as `UI:{event}` — same contract as the game canvas keyMap; keystrokes inside inputs/textareas never route.",
|
|
429
429
|
"items": {
|
|
430
430
|
"type": "string"
|
|
431
431
|
},
|
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
"default": {
|
|
438
438
|
"item": "INIT"
|
|
439
439
|
},
|
|
440
|
-
"description": "Maps a keyup `e.code`
|
|
440
|
+
"description": "Maps a keyup `e.code` — optionally prefixed `Mod+` (⌘/Ctrl), `Shift+`, `Alt+` in that order — to the board's SEMANTIC event, emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
|
|
441
441
|
"items": {
|
|
442
442
|
"type": "string"
|
|
443
443
|
},
|
|
@@ -637,6 +637,7 @@ __export(functions_exports, {
|
|
|
637
637
|
stdGlobalSearchInlineTypographyRender1Trait: () => stdGlobalSearchInlineTypographyRender1Trait,
|
|
638
638
|
stdGlobalSearchInlineTypographyRender3Trait: () => stdGlobalSearchInlineTypographyRender3Trait,
|
|
639
639
|
stdGlobalSearchInlineTypographyRender4Trait: () => stdGlobalSearchInlineTypographyRender4Trait,
|
|
640
|
+
stdGlobalSearchInlineTypographyRender5Trait: () => stdGlobalSearchInlineTypographyRender5Trait,
|
|
640
641
|
stdGlobalSearchPage: () => stdGlobalSearchPage,
|
|
641
642
|
stdGold: () => stdGold,
|
|
642
643
|
stdGoldPage: () => stdGoldPage,
|
|
@@ -44912,6 +44913,19 @@ function stdGlobalSearchInlineTypographyRender4Trait(params) {
|
|
|
44912
44913
|
...params.config !== void 0 ? { config: params.config } : {}
|
|
44913
44914
|
});
|
|
44914
44915
|
}
|
|
44916
|
+
function stdGlobalSearchInlineTypographyRender5Trait(params) {
|
|
44917
|
+
return makeTraitRef({
|
|
44918
|
+
from: BEHAVIOR_PATH58,
|
|
44919
|
+
ref: `${ALIAS58}.traits.InlineTypographyRender5`,
|
|
44920
|
+
linkedEntity: params.entityName,
|
|
44921
|
+
...params.traitName !== void 0 ? { name: params.traitName } : {},
|
|
44922
|
+
...params.events !== void 0 ? { events: params.events } : {},
|
|
44923
|
+
...params.effects !== void 0 ? { effects: params.effects } : {},
|
|
44924
|
+
...params.listens !== void 0 ? { listens: params.listens } : {},
|
|
44925
|
+
...params.emitsScope !== void 0 ? { emitsScope: params.emitsScope } : {},
|
|
44926
|
+
...params.config !== void 0 ? { config: params.config } : {}
|
|
44927
|
+
});
|
|
44928
|
+
}
|
|
44915
44929
|
function stdGlobalSearchPage(params) {
|
|
44916
44930
|
return makePageRef({
|
|
44917
44931
|
from: BEHAVIOR_PATH58,
|
|
@@ -44935,7 +44949,8 @@ function stdGlobalSearch(params) {
|
|
|
44935
44949
|
stdGlobalSearchInlineTypographyRender1Trait(params),
|
|
44936
44950
|
stdGlobalSearchInlineSpinnerRender2Trait(params),
|
|
44937
44951
|
stdGlobalSearchInlineTypographyRender3Trait(params),
|
|
44938
|
-
stdGlobalSearchInlineTypographyRender4Trait(params)
|
|
44952
|
+
stdGlobalSearchInlineTypographyRender4Trait(params),
|
|
44953
|
+
stdGlobalSearchInlineTypographyRender5Trait(params)
|
|
44939
44954
|
],
|
|
44940
44955
|
pages: [
|
|
44941
44956
|
stdGlobalSearchPage(params)
|
|
@@ -45998,7 +46013,59 @@ function stdGlobalSearchGlobalSearchOrbital(params = {}) {
|
|
|
45998
46013
|
"placeholder": "@config.placeholder",
|
|
45999
46014
|
"type": "search-input"
|
|
46000
46015
|
},
|
|
46001
|
-
|
|
46016
|
+
[
|
|
46017
|
+
"array/map",
|
|
46018
|
+
[
|
|
46019
|
+
"array/filter",
|
|
46020
|
+
"@entity.results",
|
|
46021
|
+
[
|
|
46022
|
+
"fn",
|
|
46023
|
+
"g",
|
|
46024
|
+
[
|
|
46025
|
+
"!=",
|
|
46026
|
+
"@g.resultsJson",
|
|
46027
|
+
""
|
|
46028
|
+
]
|
|
46029
|
+
]
|
|
46030
|
+
],
|
|
46031
|
+
[
|
|
46032
|
+
"fn",
|
|
46033
|
+
"g",
|
|
46034
|
+
{
|
|
46035
|
+
"children": [
|
|
46036
|
+
"@trait.InlineTypographyRender4",
|
|
46037
|
+
[
|
|
46038
|
+
"array/map",
|
|
46039
|
+
[
|
|
46040
|
+
"array/filter",
|
|
46041
|
+
[
|
|
46042
|
+
"str/split",
|
|
46043
|
+
"@g.resultsJson",
|
|
46044
|
+
", "
|
|
46045
|
+
],
|
|
46046
|
+
[
|
|
46047
|
+
"fn",
|
|
46048
|
+
"item",
|
|
46049
|
+
[
|
|
46050
|
+
"!=",
|
|
46051
|
+
"@item",
|
|
46052
|
+
""
|
|
46053
|
+
]
|
|
46054
|
+
]
|
|
46055
|
+
],
|
|
46056
|
+
[
|
|
46057
|
+
"fn",
|
|
46058
|
+
"item",
|
|
46059
|
+
"@trait.InlineTypographyRender5"
|
|
46060
|
+
]
|
|
46061
|
+
]
|
|
46062
|
+
],
|
|
46063
|
+
"direction": "vertical",
|
|
46064
|
+
"gap": "sm",
|
|
46065
|
+
"type": "stack"
|
|
46066
|
+
}
|
|
46067
|
+
]
|
|
46068
|
+
]
|
|
46002
46069
|
],
|
|
46003
46070
|
"direction": "vertical",
|
|
46004
46071
|
"gap": "md",
|
|
@@ -46122,17 +46189,32 @@ function stdGlobalSearchGlobalSearchOrbital(params = {}) {
|
|
|
46122
46189
|
makeTraitRef({
|
|
46123
46190
|
"config": {
|
|
46124
46191
|
"content": {
|
|
46125
|
-
"default": "@
|
|
46192
|
+
"default": "@g.moduleKey",
|
|
46126
46193
|
"type": "unknown"
|
|
46127
46194
|
},
|
|
46128
46195
|
"variant": {
|
|
46129
|
-
"default": "
|
|
46196
|
+
"default": "h4",
|
|
46130
46197
|
"type": "unknown"
|
|
46131
46198
|
}
|
|
46132
46199
|
},
|
|
46133
46200
|
"linkedEntity": "SearchQuery",
|
|
46134
46201
|
"name": "InlineTypographyRender4",
|
|
46135
46202
|
"ref": "Typography.traits.TypographyRender"
|
|
46203
|
+
}),
|
|
46204
|
+
makeTraitRef({
|
|
46205
|
+
"config": {
|
|
46206
|
+
"content": {
|
|
46207
|
+
"default": "@item",
|
|
46208
|
+
"type": "unknown"
|
|
46209
|
+
},
|
|
46210
|
+
"variant": {
|
|
46211
|
+
"default": "body",
|
|
46212
|
+
"type": "unknown"
|
|
46213
|
+
}
|
|
46214
|
+
},
|
|
46215
|
+
"linkedEntity": "SearchQuery",
|
|
46216
|
+
"name": "InlineTypographyRender5",
|
|
46217
|
+
"ref": "Typography.traits.TypographyRender"
|
|
46136
46218
|
})
|
|
46137
46219
|
],
|
|
46138
46220
|
pages: [
|
|
@@ -46154,6 +46236,9 @@ function stdGlobalSearchGlobalSearchOrbital(params = {}) {
|
|
|
46154
46236
|
},
|
|
46155
46237
|
{
|
|
46156
46238
|
"ref": "InlineTypographyRender4"
|
|
46239
|
+
},
|
|
46240
|
+
{
|
|
46241
|
+
"ref": "InlineTypographyRender5"
|
|
46157
46242
|
}
|
|
46158
46243
|
]
|
|
46159
46244
|
}
|
|
@@ -46228,7 +46313,8 @@ var StdGlobalSearchGlobalSearchOrbitalManifest = {
|
|
|
46228
46313
|
"InlineTypographyRender1",
|
|
46229
46314
|
"InlineSpinnerRender2",
|
|
46230
46315
|
"InlineTypographyRender3",
|
|
46231
|
-
"InlineTypographyRender4"
|
|
46316
|
+
"InlineTypographyRender4",
|
|
46317
|
+
"InlineTypographyRender5"
|
|
46232
46318
|
],
|
|
46233
46319
|
inlineTraitNames: [
|
|
46234
46320
|
"GlobalSearch"
|