@almadar/std 16.9.1 → 16.10.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.
Files changed (252) hide show
  1. package/behaviors/registry/core/atoms/std-app-layout.orb +81 -78
  2. package/behaviors/registry/core/atoms/std-approval-gate.orb +84 -83
  3. package/behaviors/registry/core/atoms/std-audit-capture.orb +16 -15
  4. package/behaviors/registry/core/atoms/std-billable-hour.orb +125 -125
  5. package/behaviors/registry/core/atoms/std-board.orb +289 -288
  6. package/behaviors/registry/core/atoms/std-branching-logic.orb +118 -118
  7. package/behaviors/registry/core/atoms/std-browse.orb +118 -115
  8. package/behaviors/registry/core/atoms/std-cache-aside.orb +120 -120
  9. package/behaviors/registry/core/atoms/std-calendar.orb +119 -60
  10. package/behaviors/registry/core/atoms/std-cascade-on-delete.orb +7 -7
  11. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +210 -210
  12. package/behaviors/registry/core/atoms/std-confirmation.orb +33 -32
  13. package/behaviors/registry/core/atoms/std-cross-reference.orb +19 -19
  14. package/behaviors/registry/core/atoms/std-dashboard-grid-embedded.orb +81 -81
  15. package/behaviors/registry/core/atoms/std-dashboard-grid-layout.orb +84 -84
  16. package/behaviors/registry/core/atoms/std-dashboard-summary.orb +84 -84
  17. package/behaviors/registry/core/atoms/std-data-erasure.orb +71 -71
  18. package/behaviors/registry/core/atoms/std-date-range.orb +24 -24
  19. package/behaviors/registry/core/atoms/std-drawer.orb +12 -9
  20. package/behaviors/registry/core/atoms/std-esign-request.orb +32 -32
  21. package/behaviors/registry/core/atoms/std-event-log.orb +170 -170
  22. package/behaviors/registry/core/atoms/std-export.orb +63 -63
  23. package/behaviors/registry/core/atoms/std-file-store.orb +157 -157
  24. package/behaviors/registry/core/atoms/std-filter.orb +36 -36
  25. package/behaviors/registry/core/atoms/std-flag.orb +92 -92
  26. package/behaviors/registry/core/atoms/std-form-advanced.orb +66 -66
  27. package/behaviors/registry/core/atoms/std-gallery.orb +30 -29
  28. package/behaviors/registry/core/atoms/std-geosearch.orb +27 -27
  29. package/behaviors/registry/core/atoms/std-graphs.orb +180 -180
  30. package/behaviors/registry/core/atoms/std-hero-banner.orb +22 -22
  31. package/behaviors/registry/core/atoms/std-image-upload-multi.orb +63 -63
  32. package/behaviors/registry/core/atoms/std-lifecycle.orb +28 -28
  33. package/behaviors/registry/core/atoms/std-mod-queue.orb +53 -53
  34. package/behaviors/registry/core/atoms/std-modal.orb +39 -36
  35. package/behaviors/registry/core/atoms/std-multi-party-flow.orb +598 -597
  36. package/behaviors/registry/core/atoms/std-notify-on-event.orb +37 -31
  37. package/behaviors/registry/core/atoms/std-page-tree.orb +132 -132
  38. package/behaviors/registry/core/atoms/std-pagination.orb +11 -11
  39. package/behaviors/registry/core/atoms/std-push.orb +43 -43
  40. package/behaviors/registry/core/atoms/std-rate-limiter.orb +216 -216
  41. package/behaviors/registry/core/atoms/std-rating-review.orb +647 -647
  42. package/behaviors/registry/core/atoms/std-recurrence.orb +169 -169
  43. package/behaviors/registry/core/atoms/std-related.orb +34 -31
  44. package/behaviors/registry/core/atoms/std-reminder-scheduler.orb +9 -9
  45. package/behaviors/registry/core/atoms/std-rich-editor.orb +113 -113
  46. package/behaviors/registry/core/atoms/std-row-access-control.orb +21 -20
  47. package/behaviors/registry/core/atoms/std-saved-search.orb +89 -89
  48. package/behaviors/registry/core/atoms/std-scatter.orb +85 -85
  49. package/behaviors/registry/core/atoms/std-search.orb +11 -11
  50. package/behaviors/registry/core/atoms/std-selection.orb +103 -100
  51. package/behaviors/registry/core/atoms/std-sidebar-meta.orb +77 -77
  52. package/behaviors/registry/core/atoms/std-signature-capture.orb +85 -85
  53. package/behaviors/registry/core/atoms/std-stack-layout.orb +17 -17
  54. package/behaviors/registry/core/atoms/std-stats.orb +326 -325
  55. package/behaviors/registry/core/atoms/std-step-flow.orb +150 -149
  56. package/behaviors/registry/core/atoms/std-tabs.orb +47 -46
  57. package/behaviors/registry/core/atoms/std-tag-taxonomy.orb +63 -63
  58. package/behaviors/registry/core/atoms/std-thread.orb +64 -63
  59. package/behaviors/registry/core/atoms/std-version-history.orb +155 -155
  60. package/behaviors/registry/core/atoms/std-vote.orb +39 -39
  61. package/behaviors/registry/core/atoms/std-wizard-form.orb +177 -177
  62. package/behaviors/registry/core/atoms/std-wizard.orb +183 -183
  63. package/behaviors/registry/core-variations/atoms/std-board-kanban-classic.orb +65 -65
  64. package/behaviors/registry/core-variations/atoms/std-board-swim-lanes.orb +65 -65
  65. package/behaviors/registry/core-variations/atoms/std-board-timeline-roadmap.orb +79 -73
  66. package/behaviors/registry/core-variations/atoms/std-browse-command-palette.orb +61 -61
  67. package/behaviors/registry/core-variations/atoms/std-browse-dense.orb +52 -58
  68. package/behaviors/registry/core-variations/atoms/std-browse-feed.orb +48 -47
  69. package/behaviors/registry/core-variations/atoms/std-browse-gallery.orb +38 -38
  70. package/behaviors/registry/core-variations/atoms/std-browse-triage.orb +64 -84
  71. package/behaviors/registry/core-variations/atoms/std-calendar-agenda-list.orb +46 -46
  72. package/behaviors/registry/core-variations/atoms/std-calendar-week-timeline.orb +40 -40
  73. package/behaviors/registry/core-variations/atoms/std-stats-hero-metric.orb +30 -30
  74. package/behaviors/registry/core-variations/atoms/std-stats-kpi-tiles.orb +91 -91
  75. package/behaviors/registry/core-variations/atoms/std-stats-sparkline-row.orb +83 -83
  76. package/behaviors/registry/core-variations/atoms/std-step-flow-cards-deck.orb +42 -42
  77. package/behaviors/registry/core-variations/atoms/std-step-flow-progress-vertical.orb +56 -56
  78. package/behaviors/registry/core-variations/atoms/std-step-flow-stepper-horizontal.orb +28 -28
  79. package/behaviors/registry/core-variations/atoms/std-tabs-segmented-pills.orb +21 -21
  80. package/behaviors/registry/core-variations/atoms/std-tabs-sidebar-rail.orb +22 -22
  81. package/behaviors/registry/core-variations/atoms/std-thread-chat-bubbles.orb +50 -50
  82. package/behaviors/registry/core-variations/atoms/std-thread-comments-linear.orb +114 -114
  83. package/behaviors/registry/core-variations/atoms/std-thread-email-threaded.orb +101 -101
  84. package/dist/behaviors/behaviors-registry.json +3 -3
  85. package/dist/behaviors/registry/core/atoms/std-app-layout.orb +81 -78
  86. package/dist/behaviors/registry/core/atoms/std-approval-gate.orb +84 -83
  87. package/dist/behaviors/registry/core/atoms/std-audit-capture.orb +16 -15
  88. package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +125 -125
  89. package/dist/behaviors/registry/core/atoms/std-board.orb +289 -288
  90. package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +118 -118
  91. package/dist/behaviors/registry/core/atoms/std-browse.orb +118 -115
  92. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +120 -120
  93. package/dist/behaviors/registry/core/atoms/std-calendar.orb +119 -60
  94. package/dist/behaviors/registry/core/atoms/std-cascade-on-delete.orb +7 -7
  95. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +210 -210
  96. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +33 -32
  97. package/dist/behaviors/registry/core/atoms/std-cross-reference.orb +19 -19
  98. package/dist/behaviors/registry/core/atoms/std-dashboard-grid-embedded.orb +81 -81
  99. package/dist/behaviors/registry/core/atoms/std-dashboard-grid-layout.orb +84 -84
  100. package/dist/behaviors/registry/core/atoms/std-dashboard-summary.orb +84 -84
  101. package/dist/behaviors/registry/core/atoms/std-data-erasure.orb +71 -71
  102. package/dist/behaviors/registry/core/atoms/std-date-range.orb +24 -24
  103. package/dist/behaviors/registry/core/atoms/std-drawer.orb +12 -9
  104. package/dist/behaviors/registry/core/atoms/std-esign-request.orb +32 -32
  105. package/dist/behaviors/registry/core/atoms/std-event-log.orb +170 -170
  106. package/dist/behaviors/registry/core/atoms/std-export.orb +63 -63
  107. package/dist/behaviors/registry/core/atoms/std-file-store.orb +157 -157
  108. package/dist/behaviors/registry/core/atoms/std-filter.orb +36 -36
  109. package/dist/behaviors/registry/core/atoms/std-flag.orb +92 -92
  110. package/dist/behaviors/registry/core/atoms/std-form-advanced.orb +66 -66
  111. package/dist/behaviors/registry/core/atoms/std-gallery.orb +30 -29
  112. package/dist/behaviors/registry/core/atoms/std-geosearch.orb +27 -27
  113. package/dist/behaviors/registry/core/atoms/std-graphs.orb +180 -180
  114. package/dist/behaviors/registry/core/atoms/std-hero-banner.orb +22 -22
  115. package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +63 -63
  116. package/dist/behaviors/registry/core/atoms/std-lifecycle.orb +28 -28
  117. package/dist/behaviors/registry/core/atoms/std-mod-queue.orb +53 -53
  118. package/dist/behaviors/registry/core/atoms/std-modal.orb +39 -36
  119. package/dist/behaviors/registry/core/atoms/std-multi-party-flow.orb +598 -597
  120. package/dist/behaviors/registry/core/atoms/std-notify-on-event.orb +37 -31
  121. package/dist/behaviors/registry/core/atoms/std-page-tree.orb +132 -132
  122. package/dist/behaviors/registry/core/atoms/std-pagination.orb +11 -11
  123. package/dist/behaviors/registry/core/atoms/std-push.orb +43 -43
  124. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +216 -216
  125. package/dist/behaviors/registry/core/atoms/std-rating-review.orb +647 -647
  126. package/dist/behaviors/registry/core/atoms/std-recurrence.orb +169 -169
  127. package/dist/behaviors/registry/core/atoms/std-related.orb +34 -31
  128. package/dist/behaviors/registry/core/atoms/std-reminder-scheduler.orb +9 -9
  129. package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +113 -113
  130. package/dist/behaviors/registry/core/atoms/std-row-access-control.orb +21 -20
  131. package/dist/behaviors/registry/core/atoms/std-saved-search.orb +89 -89
  132. package/dist/behaviors/registry/core/atoms/std-scatter.orb +85 -85
  133. package/dist/behaviors/registry/core/atoms/std-search.orb +11 -11
  134. package/dist/behaviors/registry/core/atoms/std-selection.orb +103 -100
  135. package/dist/behaviors/registry/core/atoms/std-sidebar-meta.orb +77 -77
  136. package/dist/behaviors/registry/core/atoms/std-signature-capture.orb +85 -85
  137. package/dist/behaviors/registry/core/atoms/std-stack-layout.orb +17 -17
  138. package/dist/behaviors/registry/core/atoms/std-stats.orb +326 -325
  139. package/dist/behaviors/registry/core/atoms/std-step-flow.orb +150 -149
  140. package/dist/behaviors/registry/core/atoms/std-tabs.orb +47 -46
  141. package/dist/behaviors/registry/core/atoms/std-tag-taxonomy.orb +63 -63
  142. package/dist/behaviors/registry/core/atoms/std-thread.orb +64 -63
  143. package/dist/behaviors/registry/core/atoms/std-version-history.orb +155 -155
  144. package/dist/behaviors/registry/core/atoms/std-vote.orb +39 -39
  145. package/dist/behaviors/registry/core/atoms/std-wizard-form.orb +177 -177
  146. package/dist/behaviors/registry/core/atoms/std-wizard.orb +183 -183
  147. package/dist/behaviors/registry/core-variations/atoms/std-board-kanban-classic.orb +65 -65
  148. package/dist/behaviors/registry/core-variations/atoms/std-board-swim-lanes.orb +65 -65
  149. package/dist/behaviors/registry/core-variations/atoms/std-board-timeline-roadmap.orb +79 -73
  150. package/dist/behaviors/registry/core-variations/atoms/std-browse-command-palette.orb +61 -61
  151. package/dist/behaviors/registry/core-variations/atoms/std-browse-dense.orb +52 -58
  152. package/dist/behaviors/registry/core-variations/atoms/std-browse-feed.orb +48 -47
  153. package/dist/behaviors/registry/core-variations/atoms/std-browse-gallery.orb +38 -38
  154. package/dist/behaviors/registry/core-variations/atoms/std-browse-triage.orb +64 -84
  155. package/dist/behaviors/registry/core-variations/atoms/std-calendar-agenda-list.orb +46 -46
  156. package/dist/behaviors/registry/core-variations/atoms/std-calendar-week-timeline.orb +40 -40
  157. package/dist/behaviors/registry/core-variations/atoms/std-stats-hero-metric.orb +30 -30
  158. package/dist/behaviors/registry/core-variations/atoms/std-stats-kpi-tiles.orb +91 -91
  159. package/dist/behaviors/registry/core-variations/atoms/std-stats-sparkline-row.orb +83 -83
  160. package/dist/behaviors/registry/core-variations/atoms/std-step-flow-cards-deck.orb +42 -42
  161. package/dist/behaviors/registry/core-variations/atoms/std-step-flow-progress-vertical.orb +56 -56
  162. package/dist/behaviors/registry/core-variations/atoms/std-step-flow-stepper-horizontal.orb +28 -28
  163. package/dist/behaviors/registry/core-variations/atoms/std-tabs-segmented-pills.orb +21 -21
  164. package/dist/behaviors/registry/core-variations/atoms/std-tabs-sidebar-rail.orb +22 -22
  165. package/dist/behaviors/registry/core-variations/atoms/std-thread-chat-bubbles.orb +50 -50
  166. package/dist/behaviors/registry/core-variations/atoms/std-thread-comments-linear.orb +114 -114
  167. package/dist/behaviors/registry/core-variations/atoms/std-thread-email-threaded.orb +101 -101
  168. package/dist/behaviors-registry.json +3 -3
  169. package/dist/registry/core/atoms/std-app-layout.orb +81 -78
  170. package/dist/registry/core/atoms/std-approval-gate.orb +84 -83
  171. package/dist/registry/core/atoms/std-audit-capture.orb +16 -15
  172. package/dist/registry/core/atoms/std-billable-hour.orb +125 -125
  173. package/dist/registry/core/atoms/std-board.orb +289 -288
  174. package/dist/registry/core/atoms/std-branching-logic.orb +118 -118
  175. package/dist/registry/core/atoms/std-browse.orb +118 -115
  176. package/dist/registry/core/atoms/std-cache-aside.orb +120 -120
  177. package/dist/registry/core/atoms/std-calendar.orb +119 -60
  178. package/dist/registry/core/atoms/std-cascade-on-delete.orb +7 -7
  179. package/dist/registry/core/atoms/std-circuit-breaker.orb +210 -210
  180. package/dist/registry/core/atoms/std-confirmation.orb +33 -32
  181. package/dist/registry/core/atoms/std-cross-reference.orb +19 -19
  182. package/dist/registry/core/atoms/std-dashboard-grid-embedded.orb +81 -81
  183. package/dist/registry/core/atoms/std-dashboard-grid-layout.orb +84 -84
  184. package/dist/registry/core/atoms/std-dashboard-summary.orb +84 -84
  185. package/dist/registry/core/atoms/std-data-erasure.orb +71 -71
  186. package/dist/registry/core/atoms/std-date-range.orb +24 -24
  187. package/dist/registry/core/atoms/std-drawer.orb +12 -9
  188. package/dist/registry/core/atoms/std-esign-request.orb +32 -32
  189. package/dist/registry/core/atoms/std-event-log.orb +170 -170
  190. package/dist/registry/core/atoms/std-export.orb +63 -63
  191. package/dist/registry/core/atoms/std-file-store.orb +157 -157
  192. package/dist/registry/core/atoms/std-filter.orb +36 -36
  193. package/dist/registry/core/atoms/std-flag.orb +92 -92
  194. package/dist/registry/core/atoms/std-form-advanced.orb +66 -66
  195. package/dist/registry/core/atoms/std-gallery.orb +30 -29
  196. package/dist/registry/core/atoms/std-geosearch.orb +27 -27
  197. package/dist/registry/core/atoms/std-graphs.orb +180 -180
  198. package/dist/registry/core/atoms/std-hero-banner.orb +22 -22
  199. package/dist/registry/core/atoms/std-image-upload-multi.orb +63 -63
  200. package/dist/registry/core/atoms/std-lifecycle.orb +28 -28
  201. package/dist/registry/core/atoms/std-mod-queue.orb +53 -53
  202. package/dist/registry/core/atoms/std-modal.orb +39 -36
  203. package/dist/registry/core/atoms/std-multi-party-flow.orb +598 -597
  204. package/dist/registry/core/atoms/std-notify-on-event.orb +37 -31
  205. package/dist/registry/core/atoms/std-page-tree.orb +132 -132
  206. package/dist/registry/core/atoms/std-pagination.orb +11 -11
  207. package/dist/registry/core/atoms/std-push.orb +43 -43
  208. package/dist/registry/core/atoms/std-rate-limiter.orb +216 -216
  209. package/dist/registry/core/atoms/std-rating-review.orb +647 -647
  210. package/dist/registry/core/atoms/std-recurrence.orb +169 -169
  211. package/dist/registry/core/atoms/std-related.orb +34 -31
  212. package/dist/registry/core/atoms/std-reminder-scheduler.orb +9 -9
  213. package/dist/registry/core/atoms/std-rich-editor.orb +113 -113
  214. package/dist/registry/core/atoms/std-row-access-control.orb +21 -20
  215. package/dist/registry/core/atoms/std-saved-search.orb +89 -89
  216. package/dist/registry/core/atoms/std-scatter.orb +85 -85
  217. package/dist/registry/core/atoms/std-search.orb +11 -11
  218. package/dist/registry/core/atoms/std-selection.orb +103 -100
  219. package/dist/registry/core/atoms/std-sidebar-meta.orb +77 -77
  220. package/dist/registry/core/atoms/std-signature-capture.orb +85 -85
  221. package/dist/registry/core/atoms/std-stack-layout.orb +17 -17
  222. package/dist/registry/core/atoms/std-stats.orb +326 -325
  223. package/dist/registry/core/atoms/std-step-flow.orb +150 -149
  224. package/dist/registry/core/atoms/std-tabs.orb +47 -46
  225. package/dist/registry/core/atoms/std-tag-taxonomy.orb +63 -63
  226. package/dist/registry/core/atoms/std-thread.orb +64 -63
  227. package/dist/registry/core/atoms/std-version-history.orb +155 -155
  228. package/dist/registry/core/atoms/std-vote.orb +39 -39
  229. package/dist/registry/core/atoms/std-wizard-form.orb +177 -177
  230. package/dist/registry/core/atoms/std-wizard.orb +183 -183
  231. package/dist/registry/core-variations/atoms/std-board-kanban-classic.orb +65 -65
  232. package/dist/registry/core-variations/atoms/std-board-swim-lanes.orb +65 -65
  233. package/dist/registry/core-variations/atoms/std-board-timeline-roadmap.orb +79 -73
  234. package/dist/registry/core-variations/atoms/std-browse-command-palette.orb +61 -61
  235. package/dist/registry/core-variations/atoms/std-browse-dense.orb +52 -58
  236. package/dist/registry/core-variations/atoms/std-browse-feed.orb +48 -47
  237. package/dist/registry/core-variations/atoms/std-browse-gallery.orb +38 -38
  238. package/dist/registry/core-variations/atoms/std-browse-triage.orb +64 -84
  239. package/dist/registry/core-variations/atoms/std-calendar-agenda-list.orb +46 -46
  240. package/dist/registry/core-variations/atoms/std-calendar-week-timeline.orb +40 -40
  241. package/dist/registry/core-variations/atoms/std-stats-hero-metric.orb +30 -30
  242. package/dist/registry/core-variations/atoms/std-stats-kpi-tiles.orb +91 -91
  243. package/dist/registry/core-variations/atoms/std-stats-sparkline-row.orb +83 -83
  244. package/dist/registry/core-variations/atoms/std-step-flow-cards-deck.orb +42 -42
  245. package/dist/registry/core-variations/atoms/std-step-flow-progress-vertical.orb +56 -56
  246. package/dist/registry/core-variations/atoms/std-step-flow-stepper-horizontal.orb +28 -28
  247. package/dist/registry/core-variations/atoms/std-tabs-segmented-pills.orb +21 -21
  248. package/dist/registry/core-variations/atoms/std-tabs-sidebar-rail.orb +22 -22
  249. package/dist/registry/core-variations/atoms/std-thread-chat-bubbles.orb +50 -50
  250. package/dist/registry/core-variations/atoms/std-thread-comments-linear.orb +114 -114
  251. package/dist/registry/core-variations/atoms/std-thread-email-threaded.orb +101 -101
  252. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "std-calendar",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "std-calendar as a Function — owns the fetch + SELECT_DAY state machine; default bodyContent renders the month-grid + upcoming-events tree. Layer 3 variants override bodyContent to deliver agenda, week-timeline, etc. while inheriting the same trait, state machine, emits, and listens.",
5
5
  "orbitals": [
6
6
  {
@@ -39,7 +39,7 @@
39
39
  },
40
40
  {
41
41
  "name": "date",
42
- "type": "string",
42
+ "type": "datetime",
43
43
  "default": ""
44
44
  },
45
45
  {
@@ -59,6 +59,7 @@
59
59
  "name": "CalendarEventCalendar",
60
60
  "entityRebindable": true,
61
61
  "entityContract": {
62
+ "requires": [],
62
63
  "provides": [
63
64
  "date"
64
65
  ]
@@ -169,8 +170,8 @@
169
170
  "CalendarEvent",
170
171
  {
171
172
  "emit": {
172
- "success": "CalendarEventLoaded",
173
- "failure": "CalendarEventLoadFailed"
173
+ "failure": "CalendarEventLoadFailed",
174
+ "success": "CalendarEventLoaded"
174
175
  }
175
176
  }
176
177
  ],
@@ -178,22 +179,22 @@
178
179
  "render-ui",
179
180
  "main",
180
181
  {
181
- "align": "center",
182
- "className": "py-12",
183
182
  "children": [
184
183
  {
185
184
  "type": "spinner"
186
185
  },
187
186
  {
188
- "content": "Loading calendar…",
189
187
  "type": "typography",
188
+ "content": "Loading calendar…",
190
189
  "variant": "caption",
191
190
  "color": "muted"
192
191
  }
193
192
  ],
194
- "type": "stack",
193
+ "align": "center",
194
+ "className": "py-12",
195
+ "gap": "md",
195
196
  "direction": "vertical",
196
- "gap": "md"
197
+ "type": "stack"
197
198
  }
198
199
  ]
199
200
  ]
@@ -219,36 +220,36 @@
219
220
  "render-ui",
220
221
  "main",
221
222
  {
222
- "type": "stack",
223
- "direction": "vertical",
224
- "align": "center",
225
223
  "children": [
226
224
  {
227
- "name": "alert-triangle",
225
+ "type": "icon",
228
226
  "color": "destructive",
229
- "type": "icon"
227
+ "name": "alert-triangle"
230
228
  },
231
229
  {
232
- "content": "Failed to load",
233
230
  "type": "typography",
231
+ "content": "Failed to load",
234
232
  "variant": "h3"
235
233
  },
236
234
  {
237
235
  "color": "muted",
236
+ "type": "typography",
238
237
  "variant": "body",
239
- "content": "@payload.error",
240
- "type": "typography"
238
+ "content": "@payload.error"
241
239
  },
242
240
  {
243
- "action": "INIT",
244
- "icon": "rotate-ccw",
241
+ "variant": "primary",
245
242
  "type": "button",
243
+ "action": "INIT",
246
244
  "label": "Retry",
247
- "variant": "primary"
245
+ "icon": "rotate-ccw"
248
246
  }
249
247
  ],
248
+ "align": "center",
249
+ "direction": "vertical",
250
250
  "className": "py-12",
251
- "gap": "md"
251
+ "gap": "md",
252
+ "type": "stack"
252
253
  }
253
254
  ]
254
255
  ]
@@ -267,15 +268,73 @@
267
268
  "fetch",
268
269
  "CalendarEvent",
269
270
  {
270
- "filter": [
271
- "=",
272
- "@entity.date",
273
- "@payload.value"
274
- ],
275
271
  "emit": {
276
272
  "failure": "CalendarEventLoadFailed",
277
273
  "success": "CalendarEventLoaded"
278
- }
274
+ },
275
+ "filter": [
276
+ "time/isAfter",
277
+ [
278
+ "time/parse",
279
+ "@entity.date"
280
+ ],
281
+ [
282
+ "if",
283
+ [
284
+ "=",
285
+ "@payload.value",
286
+ "week"
287
+ ],
288
+ [
289
+ "time/subtract",
290
+ [
291
+ "time/now"
292
+ ],
293
+ 1.0,
294
+ "week"
295
+ ],
296
+ [
297
+ "if",
298
+ [
299
+ "=",
300
+ "@payload.value",
301
+ "3months"
302
+ ],
303
+ [
304
+ "time/subtract",
305
+ [
306
+ "time/now"
307
+ ],
308
+ 3.0,
309
+ "month"
310
+ ],
311
+ [
312
+ "if",
313
+ [
314
+ "=",
315
+ "@payload.value",
316
+ "year"
317
+ ],
318
+ [
319
+ "time/subtract",
320
+ [
321
+ "time/now"
322
+ ],
323
+ 1.0,
324
+ "year"
325
+ ],
326
+ [
327
+ "time/subtract",
328
+ [
329
+ "time/now"
330
+ ],
331
+ 1.0,
332
+ "month"
333
+ ]
334
+ ]
335
+ ]
336
+ ]
337
+ ]
279
338
  }
280
339
  ],
281
340
  [
@@ -297,8 +356,8 @@
297
356
  "CalendarEvent",
298
357
  {
299
358
  "emit": {
300
- "failure": "CalendarEventLoadFailed",
301
- "success": "CalendarEventLoaded"
359
+ "success": "CalendarEventLoaded",
360
+ "failure": "CalendarEventLoadFailed"
302
361
  }
303
362
  }
304
363
  ],
@@ -331,30 +390,33 @@
331
390
  "bodyContent": {
332
391
  "type": "render-ui",
333
392
  "default": {
393
+ "gap": "lg",
394
+ "direction": "vertical",
395
+ "type": "stack",
334
396
  "children": [
335
397
  {
336
- "direction": "horizontal",
337
398
  "gap": "md",
338
- "justify": "between",
339
- "align": "center",
340
399
  "type": "stack",
400
+ "direction": "horizontal",
401
+ "align": "center",
402
+ "justify": "between",
341
403
  "children": [
342
404
  {
405
+ "type": "stack",
343
406
  "direction": "horizontal",
407
+ "align": "center",
344
408
  "gap": "sm",
345
409
  "children": [
346
410
  {
347
- "type": "icon",
348
- "name": "calendar"
411
+ "name": "calendar",
412
+ "type": "icon"
349
413
  },
350
414
  {
415
+ "type": "typography",
351
416
  "content": "CalendarEvents Calendar",
352
- "variant": "h2",
353
- "type": "typography"
417
+ "variant": "h2"
354
418
  }
355
- ],
356
- "type": "stack",
357
- "align": "center"
419
+ ]
358
420
  },
359
421
  {
360
422
  "onSelect": "SELECT_DAY",
@@ -373,49 +435,46 @@
373
435
  },
374
436
  {
375
437
  "type": "typography",
376
- "content": "Upcoming Events",
377
- "variant": "h4"
438
+ "variant": "h4",
439
+ "content": "Upcoming Events"
378
440
  },
379
441
  {
380
442
  "type": "data-list",
443
+ "entity": "@payload.data",
444
+ "itemActions": [
445
+ {
446
+ "icon": "eye",
447
+ "label": "View",
448
+ "event": "SELECT_DAY"
449
+ }
450
+ ],
381
451
  "look": "@config.tableLook",
382
452
  "fields": [
383
453
  {
454
+ "icon": "calendar",
384
455
  "name": "name",
385
- "variant": "h4",
386
456
  "label": "Event",
387
- "icon": "calendar"
457
+ "variant": "h4"
388
458
  },
389
459
  {
390
- "variant": "badge",
391
460
  "label": "Time",
461
+ "variant": "badge",
392
462
  "name": "time"
393
463
  },
394
464
  {
395
465
  "label": "Date",
396
- "format": "date",
397
466
  "name": "date",
467
+ "format": "date",
398
468
  "variant": "caption"
399
469
  },
400
470
  {
401
471
  "label": "Status",
402
- "variant": "badge",
403
- "name": "status"
472
+ "name": "status",
473
+ "variant": "badge"
404
474
  }
405
- ],
406
- "itemActions": [
407
- {
408
- "event": "SELECT_DAY",
409
- "label": "View",
410
- "icon": "eye"
411
- }
412
- ],
413
- "entity": "@payload.data"
475
+ ]
414
476
  }
415
- ],
416
- "direction": "vertical",
417
- "type": "stack",
418
- "gap": "lg"
477
+ ]
419
478
  },
420
479
  "label": "Body content tree",
421
480
  "description": "Render-ui SExpr rendered after events load. Default is the month-grid + upcoming-events list. Layer 3 variants override this with their own tree (agenda list, week timeline, etc.) to deliver entirely different calendar UX while inheriting the same trait, state machine, emits, and listens.",
@@ -236,6 +236,13 @@
236
236
  ]
237
237
  },
238
238
  "config": {
239
+ "parentEntity": {
240
+ "type": "string",
241
+ "default": "",
242
+ "label": "Parent entity",
243
+ "description": "Entity whose deletion triggers the cascade",
244
+ "tier": "domain"
245
+ },
239
246
  "enabled": {
240
247
  "type": "boolean",
241
248
  "default": false,
@@ -260,13 +267,6 @@
260
267
  "items": {
261
268
  "type": "string"
262
269
  }
263
- },
264
- "parentEntity": {
265
- "type": "string",
266
- "default": "",
267
- "label": "Parent entity",
268
- "description": "Entity whose deletion triggers the cascade",
269
- "tier": "domain"
270
270
  }
271
271
  },
272
272
  "scope": "instance"