@almadar/std 16.220.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/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 +959 -470
- 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 +1 -1
|
@@ -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"
|