@almadar/std 16.180.0 → 16.181.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/ui-badge.lolo +1 -9
- package/behaviors/lolo/ui/core/atoms/ui-filter-pill.lolo +2 -25
- package/behaviors/lolo/ui/game/atoms/ui-trait-slot.lolo +2 -36
- package/behaviors/registry/ui/core/atoms/ui-badge.orb +1 -38
- package/behaviors/registry/ui/core/atoms/ui-filter-pill.orb +2 -90
- package/behaviors/registry/ui/game/atoms/ui-trait-slot.orb +2 -101
- package/dist/behaviors/functions/index.d.ts +9 -27
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +315 -315
- package/dist/behaviors-registry.json +7 -21
- package/dist/index.d.ts +1 -1
- 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
|
@@ -39,14 +39,6 @@ orbital BadgeOrbital {
|
|
|
39
39
|
})
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
emits {
|
|
43
|
-
@config.onRemove -> external {
|
|
44
|
-
id : string
|
|
45
|
-
}
|
|
46
|
-
@description "When set, renders a small X button on the right of the badge that invokes this handler — turns the badge into a removable chip. Used by the TagInput molecule and other 'list of removable values' surfaces."
|
|
47
|
-
@tier "essential"
|
|
48
|
-
}
|
|
49
|
-
|
|
50
42
|
config {
|
|
51
43
|
className : string
|
|
52
44
|
@label "Class Name"
|
|
@@ -76,7 +68,7 @@ orbital BadgeOrbital {
|
|
|
76
68
|
@label "Icon Asset"
|
|
77
69
|
@description "Asset image rendered as the badge icon; takes precedence over icon when provided."
|
|
78
70
|
@tier "presentation"
|
|
79
|
-
onRemove : string = "
|
|
71
|
+
onRemove : string = ""
|
|
80
72
|
@label "On Remove"
|
|
81
73
|
@description "When set, renders a small X button on the right of the badge that invokes this handler — turns the badge into a removable chip. Used by the TagInput molecule and other 'list of removable values' surfaces."
|
|
82
74
|
@tier "presentation"
|
|
@@ -25,21 +25,6 @@ orbital FilterPillOrbital {
|
|
|
25
25
|
removeEvent: @config.removeEvent
|
|
26
26
|
type: filter-pill
|
|
27
27
|
})
|
|
28
|
-
REMOVE -> idle
|
|
29
|
-
(set @entity.label ?label)
|
|
30
|
-
(render-ui main {
|
|
31
|
-
className: @config.className
|
|
32
|
-
variant: @config.variant
|
|
33
|
-
size: @config.size
|
|
34
|
-
label: @entity.label
|
|
35
|
-
icon: @config.icon
|
|
36
|
-
onRemove: @config.onRemove
|
|
37
|
-
removable: @config.removable
|
|
38
|
-
onClick: @config.onClick
|
|
39
|
-
clickEvent: @config.clickEvent
|
|
40
|
-
removeEvent: @config.removeEvent
|
|
41
|
-
type: filter-pill
|
|
42
|
-
})
|
|
43
28
|
CLICK -> idle
|
|
44
29
|
(set @entity.label ?label)
|
|
45
30
|
(render-ui main {
|
|
@@ -58,11 +43,6 @@ orbital FilterPillOrbital {
|
|
|
58
43
|
}
|
|
59
44
|
|
|
60
45
|
emits {
|
|
61
|
-
@config.onRemove -> external {
|
|
62
|
-
label : string!
|
|
63
|
-
}
|
|
64
|
-
@description "Called when the user clicks the remove (×) button"
|
|
65
|
-
@tier "essential"
|
|
66
46
|
@config.onClick -> external {
|
|
67
47
|
label : string!
|
|
68
48
|
}
|
|
@@ -71,9 +51,6 @@ orbital FilterPillOrbital {
|
|
|
71
51
|
}
|
|
72
52
|
|
|
73
53
|
listens {
|
|
74
|
-
REMOVE {
|
|
75
|
-
label : string!
|
|
76
|
-
}
|
|
77
54
|
CLICK {
|
|
78
55
|
label : string!
|
|
79
56
|
}
|
|
@@ -100,7 +77,7 @@ orbital FilterPillOrbital {
|
|
|
100
77
|
@label "Icon"
|
|
101
78
|
@description "Lucide icon component or canonical kebab-case icon name string"
|
|
102
79
|
@tier "presentation"
|
|
103
|
-
onRemove : string = "
|
|
80
|
+
onRemove : string = ""
|
|
104
81
|
@label "On Remove"
|
|
105
82
|
@description "Called when the user clicks the remove (×) button"
|
|
106
83
|
@tier "presentation"
|
|
@@ -116,7 +93,7 @@ orbital FilterPillOrbital {
|
|
|
116
93
|
@label "Click Event"
|
|
117
94
|
@description "Event name dispatched via event bus when the pill body is clicked. Payload: { label }"
|
|
118
95
|
@tier "presentation"
|
|
119
|
-
removeEvent : string = "
|
|
96
|
+
removeEvent : string = ""
|
|
120
97
|
@label "Remove Event"
|
|
121
98
|
@description "Event name dispatched via event bus when the remove (×) button is clicked. Payload: { label }"
|
|
122
99
|
@tier "presentation"
|
|
@@ -156,32 +156,6 @@ orbital TraitSlotOrbital {
|
|
|
156
156
|
dropEvent: @config.dropEvent
|
|
157
157
|
type: trait-slot
|
|
158
158
|
})
|
|
159
|
-
REMOVE -> idle
|
|
160
|
-
(set @entity.slotNumber ?slotNumber)
|
|
161
|
-
(render-ui main {
|
|
162
|
-
slotNumber: @entity.slotNumber
|
|
163
|
-
equippedItem: @config.equippedItem
|
|
164
|
-
locked: @config.locked
|
|
165
|
-
lockLabel: @config.lockLabel
|
|
166
|
-
selected: @config.selected
|
|
167
|
-
size: @config.size
|
|
168
|
-
showTooltip: @config.showTooltip
|
|
169
|
-
categoryColors: @config.categoryColors
|
|
170
|
-
tooltipFrameUrl: @config.tooltipFrameUrl
|
|
171
|
-
className: @config.className
|
|
172
|
-
isLoading: @config.isLoading
|
|
173
|
-
error: @config.error
|
|
174
|
-
onItemDrop: @config.onItemDrop
|
|
175
|
-
draggable: @config.draggable
|
|
176
|
-
onDragStart: @config.onDragStart
|
|
177
|
-
feedback: @config.feedback
|
|
178
|
-
onClick: @config.onClick
|
|
179
|
-
onRemove: @config.onRemove
|
|
180
|
-
clickEvent: @config.clickEvent
|
|
181
|
-
removeEvent: @config.removeEvent
|
|
182
|
-
dropEvent: @config.dropEvent
|
|
183
|
-
type: trait-slot
|
|
184
|
-
})
|
|
185
159
|
DROP -> idle
|
|
186
160
|
(set @entity.slotNumber ?slotNumber)
|
|
187
161
|
(render-ui main {
|
|
@@ -226,11 +200,6 @@ orbital TraitSlotOrbital {
|
|
|
226
200
|
}
|
|
227
201
|
@description "-- Callbacks --"
|
|
228
202
|
@tier "essential"
|
|
229
|
-
@config.onRemove -> external {
|
|
230
|
-
slotNumber : number!
|
|
231
|
-
}
|
|
232
|
-
@description "Remove handler"
|
|
233
|
-
@tier "essential"
|
|
234
203
|
@config.dropEvent -> external {
|
|
235
204
|
slotNumber : number!
|
|
236
205
|
itemId : string!
|
|
@@ -243,9 +212,6 @@ orbital TraitSlotOrbital {
|
|
|
243
212
|
CLICK {
|
|
244
213
|
slotNumber : number!
|
|
245
214
|
}
|
|
246
|
-
REMOVE {
|
|
247
|
-
slotNumber : number!
|
|
248
|
-
}
|
|
249
215
|
DROP {
|
|
250
216
|
slotNumber : number!
|
|
251
217
|
itemId : string!
|
|
@@ -321,7 +287,7 @@ orbital TraitSlotOrbital {
|
|
|
321
287
|
@label "On Click"
|
|
322
288
|
@description "-- Callbacks --"
|
|
323
289
|
@tier "presentation"
|
|
324
|
-
onRemove : string = "
|
|
290
|
+
onRemove : string = ""
|
|
325
291
|
@label "On Remove"
|
|
326
292
|
@description "Remove handler"
|
|
327
293
|
@tier "presentation"
|
|
@@ -329,7 +295,7 @@ orbital TraitSlotOrbital {
|
|
|
329
295
|
@label "Click Event"
|
|
330
296
|
@description "-- Declarative events --"
|
|
331
297
|
@tier "presentation"
|
|
332
|
-
removeEvent : string = "
|
|
298
|
+
removeEvent : string = ""
|
|
333
299
|
@label "Remove Event"
|
|
334
300
|
@description "Emits UI:{removeEvent} with { slotNumber }"
|
|
335
301
|
@tier "presentation"
|
|
@@ -19,15 +19,6 @@
|
|
|
19
19
|
"parent": "trt_01KXG04J66F1NVJTF3ZS57P7K6",
|
|
20
20
|
"renames": []
|
|
21
21
|
},
|
|
22
|
-
"evt_01KXG04J690VY1KHNSN7EFXBQX": {
|
|
23
|
-
"bakedName": "@config.onRemove",
|
|
24
|
-
"curName": "@config.onRemove",
|
|
25
|
-
"id": "evt_01KXG04J690VY1KHNSN7EFXBQX",
|
|
26
|
-
"kind": "event",
|
|
27
|
-
"owner": "workspace",
|
|
28
|
-
"parent": "trt_01KXG04J66F1NVJTF3ZS57P7K6",
|
|
29
|
-
"renames": []
|
|
30
|
-
},
|
|
31
22
|
"orb_01KXG04J66RQ2ZKZ9VJXM9VS1C": {
|
|
32
23
|
"bakedName": "BadgeOrbital",
|
|
33
24
|
"curName": "BadgeOrbital",
|
|
@@ -202,7 +193,7 @@
|
|
|
202
193
|
"type": "string"
|
|
203
194
|
},
|
|
204
195
|
"onRemove": {
|
|
205
|
-
"default": "
|
|
196
|
+
"default": "",
|
|
206
197
|
"description": "When set, renders a small X button on the right of the badge that invokes this handler — turns the badge into a removable chip. Used by the TagInput molecule and other 'list of removable values' surfaces.",
|
|
207
198
|
"label": "On Remove",
|
|
208
199
|
"tier": "presentation",
|
|
@@ -245,21 +236,6 @@
|
|
|
245
236
|
]
|
|
246
237
|
}
|
|
247
238
|
},
|
|
248
|
-
"emits": [
|
|
249
|
-
{
|
|
250
|
-
"description": "When set, renders a small X button on the right of the badge that invokes this handler — turns the badge into a removable chip. Used by the TagInput molecule and other 'list of removable values' surfaces.",
|
|
251
|
-
"event": "@config.onRemove",
|
|
252
|
-
"eventId": "evt_01KXG04J690VY1KHNSN7EFXBQX",
|
|
253
|
-
"payloadSchema": [
|
|
254
|
-
{
|
|
255
|
-
"name": "id",
|
|
256
|
-
"type": "string"
|
|
257
|
-
}
|
|
258
|
-
],
|
|
259
|
-
"scope": "external",
|
|
260
|
-
"tier": "essential"
|
|
261
|
-
}
|
|
262
|
-
],
|
|
263
239
|
"entityContract": {
|
|
264
240
|
"provides": [],
|
|
265
241
|
"requires": []
|
|
@@ -279,19 +255,6 @@
|
|
|
279
255
|
"id": "evt_01KXG04J66HMQ87R0XX75VN72Q",
|
|
280
256
|
"key": "INIT",
|
|
281
257
|
"name": "Initialize"
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"description": "When set, renders a small X button on the right of the badge that invokes this handler — turns the badge into a removable chip. Used by the TagInput molecule and other 'list of removable values' surfaces.",
|
|
285
|
-
"id": "evt_01KXG04J690VY1KHNSN7EFXBQX",
|
|
286
|
-
"key": "@config.onRemove",
|
|
287
|
-
"name": "@config.on remove",
|
|
288
|
-
"payloadSchema": [
|
|
289
|
-
{
|
|
290
|
-
"name": "id",
|
|
291
|
-
"type": "string"
|
|
292
|
-
}
|
|
293
|
-
],
|
|
294
|
-
"tier": "essential"
|
|
295
258
|
}
|
|
296
259
|
],
|
|
297
260
|
"states": [
|
|
@@ -37,24 +37,6 @@
|
|
|
37
37
|
"parent": "trt_01KXG04JXPQ231AMD3EVKSSHJR",
|
|
38
38
|
"renames": []
|
|
39
39
|
},
|
|
40
|
-
"evt_01KXG04JXT6FZMZ9FPVEM3JED7": {
|
|
41
|
-
"bakedName": "REMOVE",
|
|
42
|
-
"curName": "REMOVE",
|
|
43
|
-
"id": "evt_01KXG04JXT6FZMZ9FPVEM3JED7",
|
|
44
|
-
"kind": "event",
|
|
45
|
-
"owner": "workspace",
|
|
46
|
-
"parent": "trt_01KXG04JXPQ231AMD3EVKSSHJR",
|
|
47
|
-
"renames": []
|
|
48
|
-
},
|
|
49
|
-
"evt_01KXG04JXTE1XAKYA826T36T27": {
|
|
50
|
-
"bakedName": "@config.onRemove",
|
|
51
|
-
"curName": "@config.onRemove",
|
|
52
|
-
"id": "evt_01KXG04JXTE1XAKYA826T36T27",
|
|
53
|
-
"kind": "event",
|
|
54
|
-
"owner": "workspace",
|
|
55
|
-
"parent": "trt_01KXG04JXPQ231AMD3EVKSSHJR",
|
|
56
|
-
"renames": []
|
|
57
|
-
},
|
|
58
40
|
"orb_01KXG04JXP8CEQBB782E2BTKKB": {
|
|
59
41
|
"bakedName": "FilterPillOrbital",
|
|
60
42
|
"curName": "FilterPillOrbital",
|
|
@@ -153,7 +135,7 @@
|
|
|
153
135
|
"type": "string"
|
|
154
136
|
},
|
|
155
137
|
"onRemove": {
|
|
156
|
-
"default": "
|
|
138
|
+
"default": "",
|
|
157
139
|
"description": "Called when the user clicks the remove (×) button",
|
|
158
140
|
"label": "On Remove",
|
|
159
141
|
"tier": "presentation",
|
|
@@ -167,7 +149,7 @@
|
|
|
167
149
|
"type": "boolean"
|
|
168
150
|
},
|
|
169
151
|
"removeEvent": {
|
|
170
|
-
"default": "
|
|
152
|
+
"default": "",
|
|
171
153
|
"description": "Event name dispatched via event bus when the remove (×) button is clicked. Payload: { label }",
|
|
172
154
|
"label": "Remove Event",
|
|
173
155
|
"tier": "presentation",
|
|
@@ -204,20 +186,6 @@
|
|
|
204
186
|
}
|
|
205
187
|
},
|
|
206
188
|
"emits": [
|
|
207
|
-
{
|
|
208
|
-
"description": "Called when the user clicks the remove (×) button",
|
|
209
|
-
"event": "@config.onRemove",
|
|
210
|
-
"eventId": "evt_01KXG04JXTE1XAKYA826T36T27",
|
|
211
|
-
"payloadSchema": [
|
|
212
|
-
{
|
|
213
|
-
"name": "label",
|
|
214
|
-
"required": true,
|
|
215
|
-
"type": "string"
|
|
216
|
-
}
|
|
217
|
-
],
|
|
218
|
-
"scope": "external",
|
|
219
|
-
"tier": "essential"
|
|
220
|
-
},
|
|
221
189
|
{
|
|
222
190
|
"description": "Click handler for the body of the pill (filter toggle)",
|
|
223
191
|
"event": "@config.onClick",
|
|
@@ -255,18 +223,6 @@
|
|
|
255
223
|
"key": "INIT",
|
|
256
224
|
"name": "Initialize"
|
|
257
225
|
},
|
|
258
|
-
{
|
|
259
|
-
"id": "evt_01KXG04JXT6FZMZ9FPVEM3JED7",
|
|
260
|
-
"key": "REMOVE",
|
|
261
|
-
"name": "Remove",
|
|
262
|
-
"payloadSchema": [
|
|
263
|
-
{
|
|
264
|
-
"name": "label",
|
|
265
|
-
"required": true,
|
|
266
|
-
"type": "string"
|
|
267
|
-
}
|
|
268
|
-
]
|
|
269
|
-
},
|
|
270
226
|
{
|
|
271
227
|
"id": "evt_01KXG04JXT46MJ76EJ607RB563",
|
|
272
228
|
"key": "CLICK",
|
|
@@ -279,20 +235,6 @@
|
|
|
279
235
|
}
|
|
280
236
|
]
|
|
281
237
|
},
|
|
282
|
-
{
|
|
283
|
-
"description": "Called when the user clicks the remove (×) button",
|
|
284
|
-
"id": "evt_01KXG04JXTE1XAKYA826T36T27",
|
|
285
|
-
"key": "@config.onRemove",
|
|
286
|
-
"name": "@config.on remove",
|
|
287
|
-
"payloadSchema": [
|
|
288
|
-
{
|
|
289
|
-
"name": "label",
|
|
290
|
-
"required": true,
|
|
291
|
-
"type": "string"
|
|
292
|
-
}
|
|
293
|
-
],
|
|
294
|
-
"tier": "essential"
|
|
295
|
-
},
|
|
296
238
|
{
|
|
297
239
|
"description": "Click handler for the body of the pill (filter toggle)",
|
|
298
240
|
"id": "evt_01KXG04JXT2CWA0Z099RECHPWV",
|
|
@@ -345,36 +287,6 @@
|
|
|
345
287
|
"from": "idle",
|
|
346
288
|
"to": "idle"
|
|
347
289
|
},
|
|
348
|
-
{
|
|
349
|
-
"effects": [
|
|
350
|
-
[
|
|
351
|
-
"set",
|
|
352
|
-
"@entity.label",
|
|
353
|
-
"@payload.label"
|
|
354
|
-
],
|
|
355
|
-
[
|
|
356
|
-
"render-ui",
|
|
357
|
-
"main",
|
|
358
|
-
{
|
|
359
|
-
"className": "@config.className",
|
|
360
|
-
"clickEvent": "@config.clickEvent",
|
|
361
|
-
"icon": "@config.icon",
|
|
362
|
-
"label": "@entity.label",
|
|
363
|
-
"onClick": "@config.onClick",
|
|
364
|
-
"onRemove": "@config.onRemove",
|
|
365
|
-
"removable": "@config.removable",
|
|
366
|
-
"removeEvent": "@config.removeEvent",
|
|
367
|
-
"size": "@config.size",
|
|
368
|
-
"type": "filter-pill",
|
|
369
|
-
"variant": "@config.variant"
|
|
370
|
-
}
|
|
371
|
-
]
|
|
372
|
-
],
|
|
373
|
-
"event": "REMOVE",
|
|
374
|
-
"eventId": "evt_01KXG04JXT6FZMZ9FPVEM3JED7",
|
|
375
|
-
"from": "idle",
|
|
376
|
-
"to": "idle"
|
|
377
|
-
},
|
|
378
290
|
{
|
|
379
291
|
"effects": [
|
|
380
292
|
[
|
|
@@ -19,24 +19,6 @@
|
|
|
19
19
|
"parent": "trt_01M055GPHABDTBHZ52E8SBD0RK",
|
|
20
20
|
"renames": []
|
|
21
21
|
},
|
|
22
|
-
"evt_01M055GPHB0ETADQFZMSVPH57Z": {
|
|
23
|
-
"bakedName": "REMOVE",
|
|
24
|
-
"curName": "REMOVE",
|
|
25
|
-
"id": "evt_01M055GPHB0ETADQFZMSVPH57Z",
|
|
26
|
-
"kind": "event",
|
|
27
|
-
"owner": "workspace",
|
|
28
|
-
"parent": "trt_01M055GPHABDTBHZ52E8SBD0RK",
|
|
29
|
-
"renames": []
|
|
30
|
-
},
|
|
31
|
-
"evt_01M055GPHB4MTS6QY6X1G67VMS": {
|
|
32
|
-
"bakedName": "@config.onRemove",
|
|
33
|
-
"curName": "@config.onRemove",
|
|
34
|
-
"id": "evt_01M055GPHB4MTS6QY6X1G67VMS",
|
|
35
|
-
"kind": "event",
|
|
36
|
-
"owner": "workspace",
|
|
37
|
-
"parent": "trt_01M055GPHABDTBHZ52E8SBD0RK",
|
|
38
|
-
"renames": []
|
|
39
|
-
},
|
|
40
22
|
"evt_01M055GPHB635J0W15V724EWKQ": {
|
|
41
23
|
"bakedName": "@config.dropEvent",
|
|
42
24
|
"curName": "@config.dropEvent",
|
|
@@ -411,14 +393,14 @@
|
|
|
411
393
|
"type": "string"
|
|
412
394
|
},
|
|
413
395
|
"onRemove": {
|
|
414
|
-
"default": "
|
|
396
|
+
"default": "",
|
|
415
397
|
"description": "Remove handler",
|
|
416
398
|
"label": "On Remove",
|
|
417
399
|
"tier": "presentation",
|
|
418
400
|
"type": "string"
|
|
419
401
|
},
|
|
420
402
|
"removeEvent": {
|
|
421
|
-
"default": "
|
|
403
|
+
"default": "",
|
|
422
404
|
"description": "Emits UI:{removeEvent} with { slotNumber }",
|
|
423
405
|
"label": "Remove Event",
|
|
424
406
|
"tier": "presentation",
|
|
@@ -759,20 +741,6 @@
|
|
|
759
741
|
"scope": "external",
|
|
760
742
|
"tier": "essential"
|
|
761
743
|
},
|
|
762
|
-
{
|
|
763
|
-
"description": "Remove handler",
|
|
764
|
-
"event": "@config.onRemove",
|
|
765
|
-
"eventId": "evt_01M055GPHB4MTS6QY6X1G67VMS",
|
|
766
|
-
"payloadSchema": [
|
|
767
|
-
{
|
|
768
|
-
"name": "slotNumber",
|
|
769
|
-
"required": true,
|
|
770
|
-
"type": "number"
|
|
771
|
-
}
|
|
772
|
-
],
|
|
773
|
-
"scope": "external",
|
|
774
|
-
"tier": "essential"
|
|
775
|
-
},
|
|
776
744
|
{
|
|
777
745
|
"description": "Emits UI:{dropEvent} with { slotNumber, itemId } when an item is dropped into this slot",
|
|
778
746
|
"event": "@config.dropEvent",
|
|
@@ -827,18 +795,6 @@
|
|
|
827
795
|
}
|
|
828
796
|
]
|
|
829
797
|
},
|
|
830
|
-
{
|
|
831
|
-
"id": "evt_01M055GPHB0ETADQFZMSVPH57Z",
|
|
832
|
-
"key": "REMOVE",
|
|
833
|
-
"name": "Remove",
|
|
834
|
-
"payloadSchema": [
|
|
835
|
-
{
|
|
836
|
-
"name": "slotNumber",
|
|
837
|
-
"required": true,
|
|
838
|
-
"type": "number"
|
|
839
|
-
}
|
|
840
|
-
]
|
|
841
|
-
},
|
|
842
798
|
{
|
|
843
799
|
"id": "evt_01M055GPHBWR5CHPCS4X7Z9JV2",
|
|
844
800
|
"key": "DROP",
|
|
@@ -1068,20 +1024,6 @@
|
|
|
1068
1024
|
],
|
|
1069
1025
|
"tier": "essential"
|
|
1070
1026
|
},
|
|
1071
|
-
{
|
|
1072
|
-
"description": "Remove handler",
|
|
1073
|
-
"id": "evt_01M055GPHB4MTS6QY6X1G67VMS",
|
|
1074
|
-
"key": "@config.onRemove",
|
|
1075
|
-
"name": "@config.on remove",
|
|
1076
|
-
"payloadSchema": [
|
|
1077
|
-
{
|
|
1078
|
-
"name": "slotNumber",
|
|
1079
|
-
"required": true,
|
|
1080
|
-
"type": "number"
|
|
1081
|
-
}
|
|
1082
|
-
],
|
|
1083
|
-
"tier": "essential"
|
|
1084
|
-
},
|
|
1085
1027
|
{
|
|
1086
1028
|
"description": "Emits UI:{dropEvent} with { slotNumber, itemId } when an item is dropped into this slot",
|
|
1087
1029
|
"id": "evt_01M055GPHB635J0W15V724EWKQ",
|
|
@@ -1191,47 +1133,6 @@
|
|
|
1191
1133
|
"from": "idle",
|
|
1192
1134
|
"to": "idle"
|
|
1193
1135
|
},
|
|
1194
|
-
{
|
|
1195
|
-
"effects": [
|
|
1196
|
-
[
|
|
1197
|
-
"set",
|
|
1198
|
-
"@entity.slotNumber",
|
|
1199
|
-
"@payload.slotNumber"
|
|
1200
|
-
],
|
|
1201
|
-
[
|
|
1202
|
-
"render-ui",
|
|
1203
|
-
"main",
|
|
1204
|
-
{
|
|
1205
|
-
"categoryColors": "@config.categoryColors",
|
|
1206
|
-
"className": "@config.className",
|
|
1207
|
-
"clickEvent": "@config.clickEvent",
|
|
1208
|
-
"draggable": "@config.draggable",
|
|
1209
|
-
"dropEvent": "@config.dropEvent",
|
|
1210
|
-
"equippedItem": "@config.equippedItem",
|
|
1211
|
-
"error": "@config.error",
|
|
1212
|
-
"feedback": "@config.feedback",
|
|
1213
|
-
"isLoading": "@config.isLoading",
|
|
1214
|
-
"lockLabel": "@config.lockLabel",
|
|
1215
|
-
"locked": "@config.locked",
|
|
1216
|
-
"onClick": "@config.onClick",
|
|
1217
|
-
"onDragStart": "@config.onDragStart",
|
|
1218
|
-
"onItemDrop": "@config.onItemDrop",
|
|
1219
|
-
"onRemove": "@config.onRemove",
|
|
1220
|
-
"removeEvent": "@config.removeEvent",
|
|
1221
|
-
"selected": "@config.selected",
|
|
1222
|
-
"showTooltip": "@config.showTooltip",
|
|
1223
|
-
"size": "@config.size",
|
|
1224
|
-
"slotNumber": "@entity.slotNumber",
|
|
1225
|
-
"tooltipFrameUrl": "@config.tooltipFrameUrl",
|
|
1226
|
-
"type": "trait-slot"
|
|
1227
|
-
}
|
|
1228
|
-
]
|
|
1229
|
-
],
|
|
1230
|
-
"event": "REMOVE",
|
|
1231
|
-
"eventId": "evt_01M055GPHB0ETADQFZMSVPH57Z",
|
|
1232
|
-
"from": "idle",
|
|
1233
|
-
"to": "idle"
|
|
1234
|
-
},
|
|
1235
1136
|
{
|
|
1236
1137
|
"effects": [
|
|
1237
1138
|
[
|