@almadar/std 16.188.0 → 16.189.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/.hand-authored.json +0 -4
- package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +20 -8
- package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +428 -26
- package/behaviors/lolo/ui/core/atoms/std-related.lolo +5 -1
- package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +80 -0
- package/behaviors/lolo/ui/core/molecules/ui-document-panel.lolo +213 -0
- package/behaviors/lolo/ui/core/molecules/{ui-rich-block-editor.lolo → ui-rich-text-editor.lolo} +25 -25
- package/behaviors/lolo/ui/game/atoms/std-choice-gate.lolo +100 -0
- package/behaviors/lolo/ui/game/atoms/std-coef-pad.lolo +114 -0
- package/behaviors/lolo/ui/game/atoms/std-curve-fog.lolo +50 -0
- package/behaviors/lolo/ui/game/atoms/std-pad-lock.lolo +5 -1
- package/behaviors/lolo/ui/game/atoms/std-platformer-body.lolo +29 -3
- package/behaviors/lolo/ui/game/atoms/std-zone-card.lolo +95 -0
- package/behaviors/lolo/ui/game/organisms/std-platformer-board-2d.lolo +9 -0
- package/behaviors/registry/ui/core/atoms/std-calendar.orb +51 -27
- package/behaviors/registry/ui/core/atoms/std-record-detail.orb +2399 -180
- package/behaviors/registry/ui/core/atoms/std-related.orb +23 -1
- package/behaviors/registry/ui/core/atoms/std-version-history.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-document-details.orb +342 -0
- package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +655 -0
- package/behaviors/registry/ui/core/molecules/{ui-rich-block-editor.orb → ui-rich-text-editor.orb} +84 -97
- package/behaviors/registry/ui/game/atoms/std-choice-gate.orb +855 -0
- package/behaviors/registry/ui/game/atoms/std-coef-pad.orb +928 -0
- package/behaviors/registry/ui/game/atoms/std-curve-fog.orb +337 -0
- package/behaviors/registry/ui/game/atoms/std-pad-lock.orb +31 -1
- package/behaviors/registry/ui/game/atoms/std-platformer-body.orb +847 -401
- package/behaviors/registry/ui/game/atoms/std-zone-card.orb +642 -0
- package/behaviors/registry/ui/game/organisms/std-platformer-board-2d.orb +38 -6
- package/dist/behaviors/exports-reader.js +6491 -6163
- package/dist/behaviors/functions/index.d.ts +669 -300
- package/dist/behaviors/functions/index.js +6469 -6152
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +6492 -6164
- package/dist/behaviors/query.js +6491 -6163
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +367 -375
- package/dist/behaviors-registry.json +4104 -2597
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6492 -6164
- 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 +4 -4
- package/behaviors/lolo/ui/core/atoms/std-rich-editor.lolo +0 -790
- package/behaviors/registry/ui/core/atoms/std-rich-editor.orb +0 -2225
|
@@ -111,10 +111,6 @@
|
|
|
111
111
|
"signature": "d11c4e5a26b3779d",
|
|
112
112
|
"board": "packages/almadar-std/behaviors/lolo/ui/core/atoms/std-related.lolo"
|
|
113
113
|
},
|
|
114
|
-
"std-rich-editor": {
|
|
115
|
-
"signature": "2ff1a9ef3cc7e487",
|
|
116
|
-
"board": "packages/almadar-std/behaviors/lolo/ui/core/atoms/std-rich-editor.lolo"
|
|
117
|
-
},
|
|
118
114
|
"std-saved-search": {
|
|
119
115
|
"signature": "e687e5294aaae0cc",
|
|
120
116
|
"board": "packages/almadar-std/behaviors/lolo/ui/core/atoms/std-saved-search.lolo"
|
|
@@ -28,6 +28,7 @@ orbital CalendarEventOrbital {
|
|
|
28
28
|
(set @entity.weekAnchor (time/now))
|
|
29
29
|
(fetch CalendarEvent {
|
|
30
30
|
emit: { failure: CalendarEventLoadFailed, success: CalendarEventLoaded }
|
|
31
|
+
include: @config.include
|
|
31
32
|
})
|
|
32
33
|
(render-ui main {
|
|
33
34
|
align: center
|
|
@@ -82,6 +83,7 @@ orbital CalendarEventOrbital {
|
|
|
82
83
|
INIT -> loading
|
|
83
84
|
(fetch CalendarEvent {
|
|
84
85
|
emit: { failure: CalendarEventLoadFailed, success: CalendarEventLoaded }
|
|
86
|
+
include: @config.include
|
|
85
87
|
})
|
|
86
88
|
(render-ui main { type: spinner })
|
|
87
89
|
SELECT_DAY -> loading
|
|
@@ -90,17 +92,20 @@ orbital CalendarEventOrbital {
|
|
|
90
92
|
;; hardcoded `date`, which retargeted consumers (startField=startTime) lack
|
|
91
93
|
(fetch CalendarEvent {
|
|
92
94
|
emit: { failure: CalendarEventLoadFailed, success: CalendarEventLoaded }
|
|
95
|
+
include: @config.include
|
|
93
96
|
filter: (time/isAfter (time/parse (object/get @entity @config.startField)) (if ["=", ?value, week] (time/subtract (time/now) 1 week) (if ["=", ?value, "3months"] (time/subtract (time/now) 3 month) (if ["=", ?value, year] (time/subtract (time/now) 1 year) (time/subtract (time/now) 1 month)))))
|
|
94
97
|
})
|
|
95
98
|
CALENDAR_PREV_WEEK -> loading
|
|
96
99
|
(set @entity.weekAnchor (time/subtract @entity.weekAnchor 1 week))
|
|
97
100
|
(fetch CalendarEvent {
|
|
98
101
|
emit: { failure: CalendarEventLoadFailed, success: CalendarEventLoaded }
|
|
102
|
+
include: @config.include
|
|
99
103
|
})
|
|
100
104
|
CALENDAR_NEXT_WEEK -> loading
|
|
101
105
|
(set @entity.weekAnchor (time/add @entity.weekAnchor 1 week))
|
|
102
106
|
(fetch CalendarEvent {
|
|
103
107
|
emit: { failure: CalendarEventLoadFailed, success: CalendarEventLoaded }
|
|
108
|
+
include: @config.include
|
|
104
109
|
})
|
|
105
110
|
;; Same no-render-ui shape as SELECT_DAY/CALENDAR_*_WEEK above: transition
|
|
106
111
|
;; to `loading` without repainting, so the current grid/agenda/timeline
|
|
@@ -109,11 +114,13 @@ orbital CalendarEventOrbital {
|
|
|
109
114
|
REFETCH_QUERY -> loading
|
|
110
115
|
(fetch CalendarEvent {
|
|
111
116
|
emit: { failure: CalendarEventLoadFailed, success: CalendarEventLoaded }
|
|
117
|
+
include: @config.include
|
|
112
118
|
filter: (or ["=", ?searchTerm, ""] (str/includes (object/get @entity name) ?searchTerm))
|
|
113
119
|
})
|
|
114
120
|
REFETCH_FILTER -> loading
|
|
115
121
|
(fetch CalendarEvent {
|
|
116
122
|
emit: { failure: CalendarEventLoadFailed, success: CalendarEventLoaded }
|
|
123
|
+
include: @config.include
|
|
117
124
|
filter: (or ["=", ?value, ""] ["=", (object/get @entity ?field), ?value])
|
|
118
125
|
})
|
|
119
126
|
}
|
|
@@ -122,6 +129,7 @@ orbital CalendarEventOrbital {
|
|
|
122
129
|
INIT -> loading
|
|
123
130
|
(fetch CalendarEvent {
|
|
124
131
|
emit: { failure: CalendarEventLoadFailed, success: CalendarEventLoaded }
|
|
132
|
+
include: @config.include
|
|
125
133
|
})
|
|
126
134
|
(render-ui main { type: spinner })
|
|
127
135
|
;; the error screen's Retry button: INIT is lifecycle-only and the bus never
|
|
@@ -129,6 +137,7 @@ orbital CalendarEventOrbital {
|
|
|
129
137
|
RETRY -> loading
|
|
130
138
|
(fetch CalendarEvent {
|
|
131
139
|
emit: { failure: CalendarEventLoadFailed, success: CalendarEventLoaded }
|
|
140
|
+
include: @config.include
|
|
132
141
|
})
|
|
133
142
|
(render-ui main { type: spinner })
|
|
134
143
|
}
|
|
@@ -143,9 +152,11 @@ orbital CalendarEventOrbital {
|
|
|
143
152
|
@synonyms "error, failed, problem, loading issue"
|
|
144
153
|
@tier "internal"
|
|
145
154
|
@config.onEventClick -> external {
|
|
146
|
-
event :
|
|
155
|
+
event : @entity
|
|
156
|
+
id : string
|
|
157
|
+
row : @entity
|
|
147
158
|
}
|
|
148
|
-
@description "Emitted when a calendar chip is clicked
|
|
159
|
+
@description "Emitted when a calendar chip is clicked ({ event } carries the clicked row) or an agenda/upcoming row action fires ({ id, row }). Consumers routing it should read the row from ?event or ?row, whichever the payload carries."
|
|
149
160
|
@tier "presentation"
|
|
150
161
|
}
|
|
151
162
|
|
|
@@ -213,6 +224,11 @@ orbital CalendarEventOrbital {
|
|
|
213
224
|
@label "Description binding"
|
|
214
225
|
@description "Per-row binding for the event description slot."
|
|
215
226
|
@tier "presentation"
|
|
227
|
+
include : [string] = []
|
|
228
|
+
@label "Which relation fields to hydrate?"
|
|
229
|
+
@description "Entity relation field names to hydrate on fetch (e.g. a `category : Category` field named `category`), so chip bindings can use dot-paths like @item.category.name. Empty = no hydration, the default."
|
|
230
|
+
@synonyms "relation hydration, populate relations, joined fields, hydrate relations"
|
|
231
|
+
@tier "internal"
|
|
216
232
|
startField : string = "date"
|
|
217
233
|
@label "Start field"
|
|
218
234
|
@description "Row column holding the timestamp the calendar grid places each chip by. Rebound hosts point this at their own column (e.g. startTime, startsAt, dueAt); the chip's LABEL comes from titleBinding, not from here."
|
|
@@ -231,7 +247,7 @@ orbital CalendarEventOrbital {
|
|
|
231
247
|
@label "Title"
|
|
232
248
|
@description "Header text shown above the calendar body."
|
|
233
249
|
@tier "presentation"
|
|
234
|
-
agendaItemActions : [ItemAction] = [
|
|
250
|
+
agendaItemActions : [ItemAction] = []
|
|
235
251
|
@label "Agenda item actions"
|
|
236
252
|
@description "Per-item action buttons on agenda-list rows — data-list itemActions descriptors (label/event/icon/variant). Consumers override to wire their own row actions (View/Edit/Delete) so agenda hosts never need a second table for actions."
|
|
237
253
|
@synonyms "agenda actions, row actions, event actions, list actions"
|
|
@@ -348,11 +364,7 @@ orbital CalendarEventOrbital {
|
|
|
348
364
|
name: status
|
|
349
365
|
variant: badge
|
|
350
366
|
}]
|
|
351
|
-
itemActions:
|
|
352
|
-
event: SELECT_DAY
|
|
353
|
-
icon: eye
|
|
354
|
-
label: View
|
|
355
|
-
}]
|
|
367
|
+
itemActions: @config.agendaItemActions
|
|
356
368
|
look: @config.tableLook
|
|
357
369
|
type: data-list
|
|
358
370
|
}]
|