@almadar/std 3.2.1 → 3.2.3

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 (295) hide show
  1. package/behaviors/exports/atoms/std-async.orb +41 -24
  2. package/behaviors/exports/atoms/std-browse.orb +44 -44
  3. package/behaviors/exports/atoms/std-cache-aside.orb +256 -42
  4. package/behaviors/exports/atoms/std-calendar.orb +770 -0
  5. package/behaviors/exports/atoms/std-circuit-breaker.orb +577 -97
  6. package/behaviors/exports/atoms/std-collision.orb +278 -206
  7. package/behaviors/exports/atoms/std-combat-log.orb +6 -1
  8. package/behaviors/exports/atoms/std-combat.orb +6 -1
  9. package/behaviors/exports/atoms/std-confirmation.orb +212 -7
  10. package/behaviors/exports/atoms/std-dialogue-box.orb +6 -1
  11. package/behaviors/exports/atoms/std-display.orb +1186 -376
  12. package/behaviors/exports/atoms/std-drawer.orb +307 -101
  13. package/behaviors/exports/atoms/std-filter.orb +211 -18
  14. package/behaviors/exports/atoms/std-flip-card.orb +596 -0
  15. package/behaviors/exports/atoms/std-gallery.orb +382 -0
  16. package/behaviors/exports/atoms/std-game-audio.orb +6 -1
  17. package/behaviors/exports/atoms/std-game-canvas2d.orb +6 -1
  18. package/behaviors/exports/atoms/std-game-canvas3d.orb +6 -1
  19. package/behaviors/exports/atoms/std-game-hud.orb +6 -1
  20. package/behaviors/exports/atoms/std-game-menu.orb +6 -1
  21. package/behaviors/exports/atoms/std-game-over-screen.orb +6 -1
  22. package/behaviors/exports/atoms/std-gameflow.orb +100 -5
  23. package/behaviors/exports/atoms/std-input.orb +142 -137
  24. package/behaviors/exports/atoms/std-inventory-panel.orb +6 -1
  25. package/behaviors/exports/atoms/std-isometric-canvas.orb +6 -1
  26. package/behaviors/exports/atoms/std-loading.orb +149 -170
  27. package/behaviors/exports/atoms/std-modal.orb +159 -94
  28. package/behaviors/exports/atoms/std-movement.orb +401 -31
  29. package/behaviors/exports/atoms/std-notification.orb +117 -95
  30. package/behaviors/exports/atoms/std-overworld.orb +44 -16
  31. package/behaviors/exports/atoms/std-pagination.orb +44 -115
  32. package/behaviors/exports/atoms/std-physics2d.orb +6 -1
  33. package/behaviors/exports/atoms/std-platformer-canvas.orb +6 -1
  34. package/behaviors/exports/atoms/std-quest.orb +309 -34
  35. package/behaviors/exports/atoms/std-rate-limiter.orb +410 -157
  36. package/behaviors/exports/atoms/std-rating.orb +328 -0
  37. package/behaviors/exports/atoms/std-score-board.orb +6 -1
  38. package/behaviors/exports/atoms/std-score.orb +252 -11
  39. package/behaviors/exports/atoms/std-search.orb +62 -47
  40. package/behaviors/exports/atoms/std-selection.orb +180 -149
  41. package/behaviors/exports/atoms/std-simulation-canvas.orb +6 -1
  42. package/behaviors/exports/atoms/std-sort.orb +192 -60
  43. package/behaviors/exports/atoms/std-sprite.orb +6 -1
  44. package/behaviors/exports/atoms/std-tabs.orb +25 -15
  45. package/behaviors/exports/atoms/std-text-effects.orb +658 -0
  46. package/behaviors/exports/atoms/std-theme.orb +573 -0
  47. package/behaviors/exports/atoms/std-timer.orb +483 -91
  48. package/behaviors/exports/atoms/std-undo.orb +211 -81
  49. package/behaviors/exports/atoms/std-upload.orb +535 -0
  50. package/behaviors/exports/atoms/std-wizard.orb +677 -240
  51. package/behaviors/exports/molecules/std-builder-game.orb +49 -4
  52. package/behaviors/exports/molecules/std-cart.orb +325 -102
  53. package/behaviors/exports/molecules/std-classifier-game.orb +49 -4
  54. package/behaviors/exports/molecules/std-debugger-game.orb +49 -4
  55. package/behaviors/exports/molecules/std-detail.orb +52 -48
  56. package/behaviors/exports/molecules/std-event-handler-game.orb +49 -4
  57. package/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  58. package/behaviors/exports/molecules/std-geospatial.orb +70 -51
  59. package/behaviors/exports/molecules/std-inventory.orb +92 -53
  60. package/behaviors/exports/molecules/std-list.orb +416 -52
  61. package/behaviors/exports/molecules/std-messaging.orb +41 -49
  62. package/behaviors/exports/molecules/std-negotiator-game.orb +49 -4
  63. package/behaviors/exports/molecules/std-platformer-game.orb +58 -3
  64. package/behaviors/exports/molecules/std-puzzle-game.orb +58 -7
  65. package/behaviors/exports/molecules/std-quiz.orb +1045 -0
  66. package/behaviors/exports/molecules/std-sequencer-game.orb +49 -4
  67. package/behaviors/exports/molecules/std-simulator-game.orb +49 -4
  68. package/behaviors/exports/molecules/std-turn-based-battle.orb +66 -1
  69. package/behaviors/exports/organisms/std-api-gateway.orb +2615 -867
  70. package/behaviors/exports/organisms/std-arcade-game.orb +399 -197
  71. package/behaviors/exports/organisms/std-booking-system.orb +3154 -1305
  72. package/behaviors/exports/organisms/std-cicd-pipeline.orb +2298 -779
  73. package/behaviors/exports/organisms/std-cms.orb +1150 -277
  74. package/behaviors/exports/organisms/std-coding-academy.orb +1222 -533
  75. package/behaviors/exports/organisms/std-crm.orb +2357 -821
  76. package/behaviors/exports/organisms/std-devops-dashboard.orb +4230 -1281
  77. package/behaviors/exports/organisms/std-ecommerce.orb +2660 -1098
  78. package/behaviors/exports/organisms/std-finance-tracker.orb +1749 -737
  79. package/behaviors/exports/organisms/std-healthcare.orb +3593 -1478
  80. package/behaviors/exports/organisms/std-helpdesk.orb +1870 -738
  81. package/behaviors/exports/organisms/std-hr-portal.orb +3290 -1385
  82. package/behaviors/exports/organisms/std-iot-dashboard.orb +2704 -788
  83. package/behaviors/exports/organisms/std-lms.orb +2548 -1192
  84. package/behaviors/exports/organisms/std-logic-training.orb +220 -66
  85. package/behaviors/exports/organisms/std-platformer-app.orb +373 -194
  86. package/behaviors/exports/organisms/std-project-manager.orb +2347 -806
  87. package/behaviors/exports/organisms/std-puzzle-app.orb +240 -95
  88. package/behaviors/exports/organisms/std-realtime-chat.orb +2020 -660
  89. package/behaviors/exports/organisms/std-rpg-game.orb +1303 -740
  90. package/behaviors/exports/organisms/std-social-feed.orb +184 -168
  91. package/behaviors/exports/organisms/std-stem-lab.orb +1223 -512
  92. package/behaviors/exports/organisms/std-strategy-game.orb +1412 -731
  93. package/behaviors/exports/organisms/std-trading-dashboard.orb +1869 -695
  94. package/behaviors/exports/validation-report.json +3 -750
  95. package/behaviors/exports/verify-results.json +13 -0
  96. package/dist/behaviors/exports/atoms/std-async.orb +41 -24
  97. package/dist/behaviors/exports/atoms/std-browse.orb +44 -44
  98. package/dist/behaviors/exports/atoms/std-cache-aside.orb +256 -42
  99. package/dist/behaviors/exports/atoms/std-calendar.orb +770 -0
  100. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +577 -97
  101. package/dist/behaviors/exports/atoms/std-collision.orb +278 -206
  102. package/dist/behaviors/exports/atoms/std-combat-log.orb +6 -1
  103. package/dist/behaviors/exports/atoms/std-combat.orb +6 -1
  104. package/dist/behaviors/exports/atoms/std-confirmation.orb +212 -7
  105. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +6 -1
  106. package/dist/behaviors/exports/atoms/std-display.orb +1186 -376
  107. package/dist/behaviors/exports/atoms/std-drawer.orb +307 -101
  108. package/dist/behaviors/exports/atoms/std-filter.orb +211 -18
  109. package/dist/behaviors/exports/atoms/std-flip-card.orb +596 -0
  110. package/dist/behaviors/exports/atoms/std-gallery.orb +382 -0
  111. package/dist/behaviors/exports/atoms/std-game-audio.orb +6 -1
  112. package/dist/behaviors/exports/atoms/std-game-canvas2d.orb +6 -1
  113. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +6 -1
  114. package/dist/behaviors/exports/atoms/std-game-hud.orb +6 -1
  115. package/dist/behaviors/exports/atoms/std-game-menu.orb +6 -1
  116. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +6 -1
  117. package/dist/behaviors/exports/atoms/std-gameflow.orb +100 -5
  118. package/dist/behaviors/exports/atoms/std-input.orb +142 -137
  119. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +6 -1
  120. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +6 -1
  121. package/dist/behaviors/exports/atoms/std-loading.orb +149 -170
  122. package/dist/behaviors/exports/atoms/std-modal.orb +159 -94
  123. package/dist/behaviors/exports/atoms/std-movement.orb +401 -31
  124. package/dist/behaviors/exports/atoms/std-notification.orb +117 -95
  125. package/dist/behaviors/exports/atoms/std-overworld.orb +44 -16
  126. package/dist/behaviors/exports/atoms/std-pagination.orb +44 -115
  127. package/dist/behaviors/exports/atoms/std-physics2d.orb +6 -1
  128. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +6 -1
  129. package/dist/behaviors/exports/atoms/std-quest.orb +309 -34
  130. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +410 -157
  131. package/dist/behaviors/exports/atoms/std-rating.orb +328 -0
  132. package/dist/behaviors/exports/atoms/std-score-board.orb +6 -1
  133. package/dist/behaviors/exports/atoms/std-score.orb +252 -11
  134. package/dist/behaviors/exports/atoms/std-search.orb +62 -47
  135. package/dist/behaviors/exports/atoms/std-selection.orb +180 -149
  136. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +6 -1
  137. package/dist/behaviors/exports/atoms/std-sort.orb +192 -60
  138. package/dist/behaviors/exports/atoms/std-sprite.orb +6 -1
  139. package/dist/behaviors/exports/atoms/std-tabs.orb +25 -15
  140. package/dist/behaviors/exports/atoms/std-text-effects.orb +658 -0
  141. package/dist/behaviors/exports/atoms/std-theme.orb +573 -0
  142. package/dist/behaviors/exports/atoms/std-timer.orb +483 -91
  143. package/dist/behaviors/exports/atoms/std-undo.orb +211 -81
  144. package/dist/behaviors/exports/atoms/std-upload.orb +535 -0
  145. package/dist/behaviors/exports/atoms/std-wizard.orb +677 -240
  146. package/dist/behaviors/exports/molecules/std-builder-game.orb +49 -4
  147. package/dist/behaviors/exports/molecules/std-cart.orb +325 -102
  148. package/dist/behaviors/exports/molecules/std-classifier-game.orb +49 -4
  149. package/dist/behaviors/exports/molecules/std-debugger-game.orb +49 -4
  150. package/dist/behaviors/exports/molecules/std-detail.orb +52 -48
  151. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +49 -4
  152. package/dist/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  153. package/dist/behaviors/exports/molecules/std-geospatial.orb +70 -51
  154. package/dist/behaviors/exports/molecules/std-inventory.orb +92 -53
  155. package/dist/behaviors/exports/molecules/std-list.orb +416 -52
  156. package/dist/behaviors/exports/molecules/std-messaging.orb +41 -49
  157. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +49 -4
  158. package/dist/behaviors/exports/molecules/std-platformer-game.orb +58 -3
  159. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +58 -7
  160. package/dist/behaviors/exports/molecules/std-quiz.orb +1045 -0
  161. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +49 -4
  162. package/dist/behaviors/exports/molecules/std-simulator-game.orb +49 -4
  163. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +66 -1
  164. package/dist/behaviors/exports/organisms/std-api-gateway.orb +2615 -867
  165. package/dist/behaviors/exports/organisms/std-arcade-game.orb +399 -197
  166. package/dist/behaviors/exports/organisms/std-booking-system.orb +3154 -1305
  167. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +2298 -779
  168. package/dist/behaviors/exports/organisms/std-cms.orb +1150 -277
  169. package/dist/behaviors/exports/organisms/std-coding-academy.orb +1222 -533
  170. package/dist/behaviors/exports/organisms/std-crm.orb +2357 -821
  171. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +4230 -1281
  172. package/dist/behaviors/exports/organisms/std-ecommerce.orb +2660 -1098
  173. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +1749 -737
  174. package/dist/behaviors/exports/organisms/std-healthcare.orb +3593 -1478
  175. package/dist/behaviors/exports/organisms/std-helpdesk.orb +1870 -738
  176. package/dist/behaviors/exports/organisms/std-hr-portal.orb +3290 -1385
  177. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +2704 -788
  178. package/dist/behaviors/exports/organisms/std-lms.orb +2548 -1192
  179. package/dist/behaviors/exports/organisms/std-logic-training.orb +220 -66
  180. package/dist/behaviors/exports/organisms/std-platformer-app.orb +373 -194
  181. package/dist/behaviors/exports/organisms/std-project-manager.orb +2347 -806
  182. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +240 -95
  183. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +2020 -660
  184. package/dist/behaviors/exports/organisms/std-rpg-game.orb +1303 -740
  185. package/dist/behaviors/exports/organisms/std-social-feed.orb +184 -168
  186. package/dist/behaviors/exports/organisms/std-stem-lab.orb +1223 -512
  187. package/dist/behaviors/exports/organisms/std-strategy-game.orb +1412 -731
  188. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +1869 -695
  189. package/dist/behaviors/exports/validation-report.json +3 -750
  190. package/dist/behaviors/exports/verify-results.json +13 -0
  191. package/dist/behaviors/functions/index.d.ts +270 -1
  192. package/dist/behaviors/functions/index.js +3811 -1333
  193. package/dist/behaviors/functions/index.js.map +1 -1
  194. package/dist/behaviors/index.d.ts +1 -1
  195. package/dist/behaviors/index.js +3811 -1333
  196. package/dist/behaviors/index.js.map +1 -1
  197. package/dist/exports/atoms/std-async.orb +41 -24
  198. package/dist/exports/atoms/std-browse.orb +44 -44
  199. package/dist/exports/atoms/std-cache-aside.orb +256 -42
  200. package/dist/exports/atoms/std-calendar.orb +770 -0
  201. package/dist/exports/atoms/std-circuit-breaker.orb +577 -97
  202. package/dist/exports/atoms/std-collision.orb +278 -206
  203. package/dist/exports/atoms/std-combat-log.orb +6 -1
  204. package/dist/exports/atoms/std-combat.orb +6 -1
  205. package/dist/exports/atoms/std-confirmation.orb +212 -7
  206. package/dist/exports/atoms/std-dialogue-box.orb +6 -1
  207. package/dist/exports/atoms/std-display.orb +1186 -376
  208. package/dist/exports/atoms/std-drawer.orb +307 -101
  209. package/dist/exports/atoms/std-filter.orb +211 -18
  210. package/dist/exports/atoms/std-flip-card.orb +596 -0
  211. package/dist/exports/atoms/std-gallery.orb +382 -0
  212. package/dist/exports/atoms/std-game-audio.orb +6 -1
  213. package/dist/exports/atoms/std-game-canvas2d.orb +6 -1
  214. package/dist/exports/atoms/std-game-canvas3d.orb +6 -1
  215. package/dist/exports/atoms/std-game-hud.orb +6 -1
  216. package/dist/exports/atoms/std-game-menu.orb +6 -1
  217. package/dist/exports/atoms/std-game-over-screen.orb +6 -1
  218. package/dist/exports/atoms/std-gameflow.orb +100 -5
  219. package/dist/exports/atoms/std-input.orb +142 -137
  220. package/dist/exports/atoms/std-inventory-panel.orb +6 -1
  221. package/dist/exports/atoms/std-isometric-canvas.orb +6 -1
  222. package/dist/exports/atoms/std-loading.orb +149 -170
  223. package/dist/exports/atoms/std-modal.orb +159 -94
  224. package/dist/exports/atoms/std-movement.orb +401 -31
  225. package/dist/exports/atoms/std-notification.orb +117 -95
  226. package/dist/exports/atoms/std-overworld.orb +44 -16
  227. package/dist/exports/atoms/std-pagination.orb +44 -115
  228. package/dist/exports/atoms/std-physics2d.orb +6 -1
  229. package/dist/exports/atoms/std-platformer-canvas.orb +6 -1
  230. package/dist/exports/atoms/std-quest.orb +309 -34
  231. package/dist/exports/atoms/std-rate-limiter.orb +410 -157
  232. package/dist/exports/atoms/std-rating.orb +328 -0
  233. package/dist/exports/atoms/std-score-board.orb +6 -1
  234. package/dist/exports/atoms/std-score.orb +252 -11
  235. package/dist/exports/atoms/std-search.orb +62 -47
  236. package/dist/exports/atoms/std-selection.orb +180 -149
  237. package/dist/exports/atoms/std-simulation-canvas.orb +6 -1
  238. package/dist/exports/atoms/std-sort.orb +192 -60
  239. package/dist/exports/atoms/std-sprite.orb +6 -1
  240. package/dist/exports/atoms/std-tabs.orb +25 -15
  241. package/dist/exports/atoms/std-text-effects.orb +658 -0
  242. package/dist/exports/atoms/std-theme.orb +573 -0
  243. package/dist/exports/atoms/std-timer.orb +483 -91
  244. package/dist/exports/atoms/std-undo.orb +211 -81
  245. package/dist/exports/atoms/std-upload.orb +535 -0
  246. package/dist/exports/atoms/std-wizard.orb +677 -240
  247. package/dist/exports/molecules/std-builder-game.orb +49 -4
  248. package/dist/exports/molecules/std-cart.orb +325 -102
  249. package/dist/exports/molecules/std-classifier-game.orb +49 -4
  250. package/dist/exports/molecules/std-debugger-game.orb +49 -4
  251. package/dist/exports/molecules/std-detail.orb +52 -48
  252. package/dist/exports/molecules/std-event-handler-game.orb +49 -4
  253. package/dist/exports/molecules/std-form-advanced.orb +654 -0
  254. package/dist/exports/molecules/std-geospatial.orb +70 -51
  255. package/dist/exports/molecules/std-inventory.orb +92 -53
  256. package/dist/exports/molecules/std-list.orb +416 -52
  257. package/dist/exports/molecules/std-messaging.orb +41 -49
  258. package/dist/exports/molecules/std-negotiator-game.orb +49 -4
  259. package/dist/exports/molecules/std-platformer-game.orb +58 -3
  260. package/dist/exports/molecules/std-puzzle-game.orb +58 -7
  261. package/dist/exports/molecules/std-quiz.orb +1045 -0
  262. package/dist/exports/molecules/std-sequencer-game.orb +49 -4
  263. package/dist/exports/molecules/std-simulator-game.orb +49 -4
  264. package/dist/exports/molecules/std-turn-based-battle.orb +66 -1
  265. package/dist/exports/organisms/std-api-gateway.orb +2615 -867
  266. package/dist/exports/organisms/std-arcade-game.orb +399 -197
  267. package/dist/exports/organisms/std-booking-system.orb +3154 -1305
  268. package/dist/exports/organisms/std-cicd-pipeline.orb +2298 -779
  269. package/dist/exports/organisms/std-cms.orb +1150 -277
  270. package/dist/exports/organisms/std-coding-academy.orb +1222 -533
  271. package/dist/exports/organisms/std-crm.orb +2357 -821
  272. package/dist/exports/organisms/std-devops-dashboard.orb +4230 -1281
  273. package/dist/exports/organisms/std-ecommerce.orb +2660 -1098
  274. package/dist/exports/organisms/std-finance-tracker.orb +1749 -737
  275. package/dist/exports/organisms/std-healthcare.orb +3593 -1478
  276. package/dist/exports/organisms/std-helpdesk.orb +1870 -738
  277. package/dist/exports/organisms/std-hr-portal.orb +3290 -1385
  278. package/dist/exports/organisms/std-iot-dashboard.orb +2704 -788
  279. package/dist/exports/organisms/std-lms.orb +2548 -1192
  280. package/dist/exports/organisms/std-logic-training.orb +220 -66
  281. package/dist/exports/organisms/std-platformer-app.orb +373 -194
  282. package/dist/exports/organisms/std-project-manager.orb +2347 -806
  283. package/dist/exports/organisms/std-puzzle-app.orb +240 -95
  284. package/dist/exports/organisms/std-realtime-chat.orb +2020 -660
  285. package/dist/exports/organisms/std-rpg-game.orb +1303 -740
  286. package/dist/exports/organisms/std-social-feed.orb +184 -168
  287. package/dist/exports/organisms/std-stem-lab.orb +1223 -512
  288. package/dist/exports/organisms/std-strategy-game.orb +1412 -731
  289. package/dist/exports/organisms/std-trading-dashboard.orb +1869 -695
  290. package/dist/exports/validation-report.json +3 -750
  291. package/dist/exports/verify-results.json +13 -0
  292. package/dist/index.d.ts +1 -1
  293. package/dist/index.js +3808 -1330
  294. package/dist/index.js.map +1 -1
  295. package/package.json +1 -1
@@ -35,11 +35,17 @@
35
35
  {
36
36
  "name": "status",
37
37
  "type": "string",
38
- "default": "draft"
38
+ "default": "draft",
39
+ "values": [
40
+ "draft",
41
+ "review",
42
+ "published",
43
+ "archived"
44
+ ]
39
45
  },
40
46
  {
41
47
  "name": "publishedAt",
42
- "type": "string"
48
+ "type": "date"
43
49
  }
44
50
  ]
45
51
  },
@@ -159,118 +165,129 @@
159
165
  "render-ui",
160
166
  "main",
161
167
  {
162
- "type": "stack",
163
- "direction": "vertical",
164
- "gap": "lg",
165
- "children": [
168
+ "type": "dashboard-layout",
169
+ "appName": "CmsApp",
170
+ "navItems": [
166
171
  {
167
- "type": "stack",
168
- "direction": "horizontal",
169
- "gap": "md",
170
- "justify": "space-between",
171
- "children": [
172
- {
173
- "type": "stack",
174
- "direction": "horizontal",
175
- "gap": "sm",
176
- "align": "center",
177
- "children": [
178
- {
179
- "type": "icon",
180
- "name": "file-text",
181
- "size": "lg"
182
- },
183
- {
184
- "type": "typography",
185
- "content": "Articles",
186
- "variant": "h2"
187
- }
188
- ]
189
- },
190
- {
191
- "type": "stack",
192
- "direction": "horizontal",
193
- "gap": "sm",
194
- "children": [
195
- {
196
- "type": "button",
197
- "label": "Create Article",
198
- "event": "CREATE",
199
- "variant": "primary",
200
- "icon": "plus"
201
- }
202
- ]
203
- }
204
- ]
172
+ "label": "Articles",
173
+ "href": "/articles",
174
+ "icon": "file-text"
205
175
  },
206
176
  {
207
- "type": "divider"
177
+ "label": "Media",
178
+ "href": "/media",
179
+ "icon": "image"
208
180
  },
209
181
  {
210
- "type": "data-grid",
211
- "entity": "Article",
212
- "emptyIcon": "inbox",
213
- "emptyTitle": "No articles yet",
214
- "emptyDescription": "Create your first article to get started.",
215
- "itemActions": [
216
- {
217
- "label": "View",
218
- "event": "VIEW"
219
- },
220
- {
221
- "label": "Edit",
222
- "event": "EDIT"
223
- },
224
- {
225
- "label": "Delete",
226
- "event": "DELETE",
227
- "variant": "danger"
228
- }
229
- ],
230
- "className": "transition-shadow hover:shadow-md cursor-pointer",
182
+ "label": "Categories",
183
+ "href": "/categories",
184
+ "icon": "folder"
185
+ }
186
+ ],
187
+ "children": [
188
+ {
189
+ "type": "stack",
190
+ "direction": "vertical",
191
+ "gap": "lg",
192
+ "className": "max-w-5xl mx-auto w-full",
231
193
  "children": [
232
194
  {
233
195
  "type": "stack",
234
- "direction": "vertical",
235
- "gap": "sm",
196
+ "direction": "horizontal",
197
+ "gap": "md",
198
+ "justify": "space-between",
199
+ "align": "center",
236
200
  "children": [
237
201
  {
238
202
  "type": "stack",
239
203
  "direction": "horizontal",
240
- "justify": "space-between",
204
+ "gap": "sm",
241
205
  "align": "center",
242
206
  "children": [
243
207
  {
244
- "type": "stack",
245
- "direction": "horizontal",
246
- "gap": "sm",
247
- "align": "center",
248
- "children": [
249
- {
250
- "type": "icon",
251
- "name": "file-text",
252
- "size": "sm"
253
- },
254
- {
255
- "type": "typography",
256
- "variant": "h4",
257
- "content": "@entity.title"
258
- }
259
- ]
208
+ "type": "icon",
209
+ "name": "file-text",
210
+ "size": "lg"
260
211
  },
261
212
  {
262
- "type": "badge",
263
- "label": "@entity.slug"
213
+ "type": "typography",
214
+ "content": "Articles",
215
+ "variant": "h2"
264
216
  }
265
217
  ]
266
218
  },
267
219
  {
268
- "type": "typography",
269
- "variant": "caption",
270
- "color": "muted",
271
- "content": "@entity.content"
220
+ "type": "stack",
221
+ "direction": "horizontal",
222
+ "gap": "sm",
223
+ "children": [
224
+ {
225
+ "type": "button",
226
+ "label": "Create Article",
227
+ "event": "CREATE",
228
+ "variant": "primary",
229
+ "icon": "plus"
230
+ }
231
+ ]
272
232
  }
273
233
  ]
234
+ },
235
+ {
236
+ "type": "divider"
237
+ },
238
+ {
239
+ "type": "data-list",
240
+ "entity": "Article",
241
+ "emptyIcon": "inbox",
242
+ "emptyTitle": "No articles yet",
243
+ "emptyDescription": "Write your first article.",
244
+ "itemActions": [
245
+ {
246
+ "label": "View",
247
+ "event": "VIEW",
248
+ "variant": "ghost",
249
+ "size": "sm"
250
+ },
251
+ {
252
+ "label": "Edit",
253
+ "event": "EDIT",
254
+ "variant": "ghost",
255
+ "size": "sm"
256
+ },
257
+ {
258
+ "label": "Delete",
259
+ "event": "DELETE",
260
+ "variant": "danger",
261
+ "size": "sm"
262
+ }
263
+ ],
264
+ "columns": [
265
+ {
266
+ "name": "title",
267
+ "variant": "h3",
268
+ "icon": "file-text"
269
+ },
270
+ {
271
+ "name": "status",
272
+ "variant": "badge"
273
+ },
274
+ {
275
+ "name": "author",
276
+ "variant": "body"
277
+ },
278
+ {
279
+ "name": "slug",
280
+ "variant": "caption"
281
+ },
282
+ {
283
+ "name": "publishedAt",
284
+ "label": "Published",
285
+ "variant": "caption",
286
+ "format": "date"
287
+ }
288
+ ],
289
+ "variant": "card",
290
+ "gap": "sm"
274
291
  }
275
292
  ]
276
293
  }
@@ -390,6 +407,139 @@
390
407
  "fetch",
391
408
  "Article"
392
409
  ],
410
+ [
411
+ "render-ui",
412
+ "main",
413
+ {
414
+ "type": "dashboard-layout",
415
+ "appName": "CmsApp",
416
+ "navItems": [
417
+ {
418
+ "label": "Articles",
419
+ "href": "/articles",
420
+ "icon": "file-text"
421
+ },
422
+ {
423
+ "label": "Media",
424
+ "href": "/media",
425
+ "icon": "image"
426
+ },
427
+ {
428
+ "label": "Categories",
429
+ "href": "/categories",
430
+ "icon": "folder"
431
+ }
432
+ ],
433
+ "children": [
434
+ {
435
+ "type": "stack",
436
+ "direction": "vertical",
437
+ "gap": "lg",
438
+ "className": "max-w-5xl mx-auto w-full",
439
+ "children": [
440
+ {
441
+ "type": "stack",
442
+ "direction": "horizontal",
443
+ "gap": "md",
444
+ "justify": "space-between",
445
+ "align": "center",
446
+ "children": [
447
+ {
448
+ "type": "stack",
449
+ "direction": "horizontal",
450
+ "gap": "sm",
451
+ "align": "center",
452
+ "children": [
453
+ {
454
+ "type": "icon",
455
+ "name": "file-text",
456
+ "size": "lg"
457
+ },
458
+ {
459
+ "type": "typography",
460
+ "content": "Articles",
461
+ "variant": "h2"
462
+ }
463
+ ]
464
+ },
465
+ {
466
+ "type": "stack",
467
+ "direction": "horizontal",
468
+ "gap": "sm",
469
+ "children": [
470
+ {
471
+ "type": "button",
472
+ "label": "Create Article",
473
+ "event": "CREATE",
474
+ "variant": "primary",
475
+ "icon": "plus"
476
+ }
477
+ ]
478
+ }
479
+ ]
480
+ },
481
+ {
482
+ "type": "divider"
483
+ },
484
+ {
485
+ "type": "data-list",
486
+ "entity": "Article",
487
+ "emptyIcon": "inbox",
488
+ "emptyTitle": "No articles yet",
489
+ "emptyDescription": "Write your first article.",
490
+ "itemActions": [
491
+ {
492
+ "label": "View",
493
+ "event": "VIEW",
494
+ "variant": "ghost",
495
+ "size": "sm"
496
+ },
497
+ {
498
+ "label": "Edit",
499
+ "event": "EDIT",
500
+ "variant": "ghost",
501
+ "size": "sm"
502
+ },
503
+ {
504
+ "label": "Delete",
505
+ "event": "DELETE",
506
+ "variant": "danger",
507
+ "size": "sm"
508
+ }
509
+ ],
510
+ "columns": [
511
+ {
512
+ "name": "title",
513
+ "variant": "h3",
514
+ "icon": "file-text"
515
+ },
516
+ {
517
+ "name": "status",
518
+ "variant": "badge"
519
+ },
520
+ {
521
+ "name": "author",
522
+ "variant": "body"
523
+ },
524
+ {
525
+ "name": "slug",
526
+ "variant": "caption"
527
+ },
528
+ {
529
+ "name": "publishedAt",
530
+ "label": "Published",
531
+ "variant": "caption",
532
+ "format": "date"
533
+ }
534
+ ],
535
+ "variant": "card",
536
+ "gap": "sm"
537
+ }
538
+ ]
539
+ }
540
+ ]
541
+ }
542
+ ],
393
543
  [
394
544
  "notify",
395
545
  "Article deleted successfully"
@@ -405,6 +555,143 @@
405
555
  "render-ui",
406
556
  "modal",
407
557
  null
558
+ ],
559
+ [
560
+ "fetch",
561
+ "Article"
562
+ ],
563
+ [
564
+ "render-ui",
565
+ "main",
566
+ {
567
+ "type": "dashboard-layout",
568
+ "appName": "CmsApp",
569
+ "navItems": [
570
+ {
571
+ "label": "Articles",
572
+ "href": "/articles",
573
+ "icon": "file-text"
574
+ },
575
+ {
576
+ "label": "Media",
577
+ "href": "/media",
578
+ "icon": "image"
579
+ },
580
+ {
581
+ "label": "Categories",
582
+ "href": "/categories",
583
+ "icon": "folder"
584
+ }
585
+ ],
586
+ "children": [
587
+ {
588
+ "type": "stack",
589
+ "direction": "vertical",
590
+ "gap": "lg",
591
+ "className": "max-w-5xl mx-auto w-full",
592
+ "children": [
593
+ {
594
+ "type": "stack",
595
+ "direction": "horizontal",
596
+ "gap": "md",
597
+ "justify": "space-between",
598
+ "align": "center",
599
+ "children": [
600
+ {
601
+ "type": "stack",
602
+ "direction": "horizontal",
603
+ "gap": "sm",
604
+ "align": "center",
605
+ "children": [
606
+ {
607
+ "type": "icon",
608
+ "name": "file-text",
609
+ "size": "lg"
610
+ },
611
+ {
612
+ "type": "typography",
613
+ "content": "Articles",
614
+ "variant": "h2"
615
+ }
616
+ ]
617
+ },
618
+ {
619
+ "type": "stack",
620
+ "direction": "horizontal",
621
+ "gap": "sm",
622
+ "children": [
623
+ {
624
+ "type": "button",
625
+ "label": "Create Article",
626
+ "event": "CREATE",
627
+ "variant": "primary",
628
+ "icon": "plus"
629
+ }
630
+ ]
631
+ }
632
+ ]
633
+ },
634
+ {
635
+ "type": "divider"
636
+ },
637
+ {
638
+ "type": "data-list",
639
+ "entity": "Article",
640
+ "emptyIcon": "inbox",
641
+ "emptyTitle": "No articles yet",
642
+ "emptyDescription": "Write your first article.",
643
+ "itemActions": [
644
+ {
645
+ "label": "View",
646
+ "event": "VIEW",
647
+ "variant": "ghost",
648
+ "size": "sm"
649
+ },
650
+ {
651
+ "label": "Edit",
652
+ "event": "EDIT",
653
+ "variant": "ghost",
654
+ "size": "sm"
655
+ },
656
+ {
657
+ "label": "Delete",
658
+ "event": "DELETE",
659
+ "variant": "danger",
660
+ "size": "sm"
661
+ }
662
+ ],
663
+ "columns": [
664
+ {
665
+ "name": "title",
666
+ "variant": "h3",
667
+ "icon": "file-text"
668
+ },
669
+ {
670
+ "name": "status",
671
+ "variant": "badge"
672
+ },
673
+ {
674
+ "name": "author",
675
+ "variant": "body"
676
+ },
677
+ {
678
+ "name": "slug",
679
+ "variant": "caption"
680
+ },
681
+ {
682
+ "name": "publishedAt",
683
+ "label": "Published",
684
+ "variant": "caption",
685
+ "format": "date"
686
+ }
687
+ ],
688
+ "variant": "card",
689
+ "gap": "sm"
690
+ }
691
+ ]
692
+ }
693
+ ]
694
+ }
408
695
  ]
409
696
  ]
410
697
  },
@@ -417,6 +704,143 @@
417
704
  "render-ui",
418
705
  "modal",
419
706
  null
707
+ ],
708
+ [
709
+ "fetch",
710
+ "Article"
711
+ ],
712
+ [
713
+ "render-ui",
714
+ "main",
715
+ {
716
+ "type": "dashboard-layout",
717
+ "appName": "CmsApp",
718
+ "navItems": [
719
+ {
720
+ "label": "Articles",
721
+ "href": "/articles",
722
+ "icon": "file-text"
723
+ },
724
+ {
725
+ "label": "Media",
726
+ "href": "/media",
727
+ "icon": "image"
728
+ },
729
+ {
730
+ "label": "Categories",
731
+ "href": "/categories",
732
+ "icon": "folder"
733
+ }
734
+ ],
735
+ "children": [
736
+ {
737
+ "type": "stack",
738
+ "direction": "vertical",
739
+ "gap": "lg",
740
+ "className": "max-w-5xl mx-auto w-full",
741
+ "children": [
742
+ {
743
+ "type": "stack",
744
+ "direction": "horizontal",
745
+ "gap": "md",
746
+ "justify": "space-between",
747
+ "align": "center",
748
+ "children": [
749
+ {
750
+ "type": "stack",
751
+ "direction": "horizontal",
752
+ "gap": "sm",
753
+ "align": "center",
754
+ "children": [
755
+ {
756
+ "type": "icon",
757
+ "name": "file-text",
758
+ "size": "lg"
759
+ },
760
+ {
761
+ "type": "typography",
762
+ "content": "Articles",
763
+ "variant": "h2"
764
+ }
765
+ ]
766
+ },
767
+ {
768
+ "type": "stack",
769
+ "direction": "horizontal",
770
+ "gap": "sm",
771
+ "children": [
772
+ {
773
+ "type": "button",
774
+ "label": "Create Article",
775
+ "event": "CREATE",
776
+ "variant": "primary",
777
+ "icon": "plus"
778
+ }
779
+ ]
780
+ }
781
+ ]
782
+ },
783
+ {
784
+ "type": "divider"
785
+ },
786
+ {
787
+ "type": "data-list",
788
+ "entity": "Article",
789
+ "emptyIcon": "inbox",
790
+ "emptyTitle": "No articles yet",
791
+ "emptyDescription": "Write your first article.",
792
+ "itemActions": [
793
+ {
794
+ "label": "View",
795
+ "event": "VIEW",
796
+ "variant": "ghost",
797
+ "size": "sm"
798
+ },
799
+ {
800
+ "label": "Edit",
801
+ "event": "EDIT",
802
+ "variant": "ghost",
803
+ "size": "sm"
804
+ },
805
+ {
806
+ "label": "Delete",
807
+ "event": "DELETE",
808
+ "variant": "danger",
809
+ "size": "sm"
810
+ }
811
+ ],
812
+ "columns": [
813
+ {
814
+ "name": "title",
815
+ "variant": "h3",
816
+ "icon": "file-text"
817
+ },
818
+ {
819
+ "name": "status",
820
+ "variant": "badge"
821
+ },
822
+ {
823
+ "name": "author",
824
+ "variant": "body"
825
+ },
826
+ {
827
+ "name": "slug",
828
+ "variant": "caption"
829
+ },
830
+ {
831
+ "name": "publishedAt",
832
+ "label": "Published",
833
+ "variant": "caption",
834
+ "format": "date"
835
+ }
836
+ ],
837
+ "variant": "card",
838
+ "gap": "sm"
839
+ }
840
+ ]
841
+ }
842
+ ]
843
+ }
420
844
  ]
421
845
  ]
422
846
  }
@@ -569,6 +993,11 @@
569
993
  "render-ui",
570
994
  "modal",
571
995
  null
996
+ ],
997
+ [
998
+ "notify",
999
+ "Cancelled",
1000
+ "info"
572
1001
  ]
573
1002
  ]
574
1003
  },
@@ -736,6 +1165,11 @@
736
1165
  "render-ui",
737
1166
  "modal",
738
1167
  null
1168
+ ],
1169
+ [
1170
+ "notify",
1171
+ "Cancelled",
1172
+ "info"
739
1173
  ]
740
1174
  ]
741
1175
  },
@@ -951,7 +1385,7 @@
951
1385
  {
952
1386
  "type": "typography",
953
1387
  "variant": "caption",
954
- "content": "PublishedAt"
1388
+ "content": "Published At"
955
1389
  },
956
1390
  {
957
1391
  "type": "typography",
@@ -998,6 +1432,11 @@
998
1432
  "render-ui",
999
1433
  "modal",
1000
1434
  null
1435
+ ],
1436
+ [
1437
+ "notify",
1438
+ "Cancelled",
1439
+ "info"
1001
1440
  ]
1002
1441
  ]
1003
1442
  }
@@ -1063,7 +1502,7 @@
1063
1502
  },
1064
1503
  {
1065
1504
  "name": "uploadedAt",
1066
- "type": "string"
1505
+ "type": "date"
1067
1506
  }
1068
1507
  ]
1069
1508
  },
@@ -1136,109 +1575,116 @@
1136
1575
  "render-ui",
1137
1576
  "main",
1138
1577
  {
1139
- "type": "stack",
1140
- "direction": "vertical",
1141
- "gap": "lg",
1142
- "children": [
1578
+ "type": "dashboard-layout",
1579
+ "appName": "CmsApp",
1580
+ "navItems": [
1143
1581
  {
1144
- "type": "stack",
1145
- "direction": "horizontal",
1146
- "gap": "md",
1147
- "justify": "space-between",
1148
- "children": [
1149
- {
1150
- "type": "stack",
1151
- "direction": "horizontal",
1152
- "gap": "sm",
1153
- "align": "center",
1154
- "children": [
1155
- {
1156
- "type": "icon",
1157
- "name": "image",
1158
- "size": "lg"
1159
- },
1160
- {
1161
- "type": "typography",
1162
- "content": "Media Library",
1163
- "variant": "h2"
1164
- }
1165
- ]
1166
- },
1167
- {
1168
- "type": "stack",
1169
- "direction": "horizontal",
1170
- "gap": "sm",
1171
- "children": [
1172
- {
1173
- "type": "button",
1174
- "label": "Create MediaAsset",
1175
- "event": "CREATE",
1176
- "variant": "primary",
1177
- "icon": "plus"
1178
- }
1179
- ]
1180
- }
1181
- ]
1582
+ "label": "Articles",
1583
+ "href": "/articles",
1584
+ "icon": "file-text"
1182
1585
  },
1183
1586
  {
1184
- "type": "divider"
1587
+ "label": "Media",
1588
+ "href": "/media",
1589
+ "icon": "image"
1185
1590
  },
1186
1591
  {
1187
- "type": "data-grid",
1188
- "entity": "MediaAsset",
1189
- "emptyIcon": "inbox",
1190
- "emptyTitle": "No mediaassets yet",
1191
- "emptyDescription": "Create your first mediaasset to get started.",
1192
- "itemActions": [
1193
- {
1194
- "label": "View",
1195
- "event": "VIEW"
1196
- }
1197
- ],
1198
- "className": "transition-shadow hover:shadow-md cursor-pointer",
1592
+ "label": "Categories",
1593
+ "href": "/categories",
1594
+ "icon": "folder"
1595
+ }
1596
+ ],
1597
+ "children": [
1598
+ {
1599
+ "type": "stack",
1600
+ "direction": "vertical",
1601
+ "gap": "lg",
1602
+ "className": "max-w-5xl mx-auto w-full",
1199
1603
  "children": [
1200
1604
  {
1201
1605
  "type": "stack",
1202
- "direction": "vertical",
1203
- "gap": "sm",
1606
+ "direction": "horizontal",
1607
+ "gap": "md",
1608
+ "justify": "space-between",
1609
+ "align": "center",
1204
1610
  "children": [
1205
1611
  {
1206
1612
  "type": "stack",
1207
1613
  "direction": "horizontal",
1208
- "justify": "space-between",
1614
+ "gap": "sm",
1209
1615
  "align": "center",
1210
1616
  "children": [
1211
1617
  {
1212
- "type": "stack",
1213
- "direction": "horizontal",
1214
- "gap": "sm",
1215
- "align": "center",
1216
- "children": [
1217
- {
1218
- "type": "icon",
1219
- "name": "image",
1220
- "size": "sm"
1221
- },
1222
- {
1223
- "type": "typography",
1224
- "variant": "h4",
1225
- "content": "@entity.fileName"
1226
- }
1227
- ]
1618
+ "type": "icon",
1619
+ "name": "image",
1620
+ "size": "lg"
1228
1621
  },
1229
1622
  {
1230
- "type": "badge",
1231
- "label": "@entity.fileType"
1623
+ "type": "typography",
1624
+ "content": "Media Library",
1625
+ "variant": "h2"
1232
1626
  }
1233
1627
  ]
1234
1628
  },
1235
1629
  {
1236
- "type": "typography",
1237
- "variant": "caption",
1238
- "color": "muted",
1239
- "content": "@entity.fileSize"
1630
+ "type": "stack",
1631
+ "direction": "horizontal",
1632
+ "gap": "sm",
1633
+ "children": [
1634
+ {
1635
+ "type": "button",
1636
+ "label": "Create MediaAsset",
1637
+ "event": "CREATE",
1638
+ "variant": "primary",
1639
+ "icon": "plus"
1640
+ }
1641
+ ]
1240
1642
  }
1241
1643
  ]
1644
+ },
1645
+ {
1646
+ "type": "divider"
1647
+ },
1648
+ {
1649
+ "type": "data-grid",
1650
+ "entity": "MediaAsset",
1651
+ "emptyIcon": "inbox",
1652
+ "emptyTitle": "No media assets",
1653
+ "emptyDescription": "Upload media to build your library.",
1654
+ "itemActions": [
1655
+ {
1656
+ "label": "View",
1657
+ "event": "VIEW",
1658
+ "variant": "ghost",
1659
+ "size": "sm"
1660
+ }
1661
+ ],
1662
+ "columns": [
1663
+ {
1664
+ "name": "fileName",
1665
+ "label": "File",
1666
+ "variant": "h3",
1667
+ "icon": "image"
1668
+ },
1669
+ {
1670
+ "name": "fileType",
1671
+ "label": "Type",
1672
+ "variant": "badge"
1673
+ },
1674
+ {
1675
+ "name": "fileSize",
1676
+ "label": "Size",
1677
+ "variant": "body",
1678
+ "format": "number"
1679
+ },
1680
+ {
1681
+ "name": "altText",
1682
+ "label": "Alt Text",
1683
+ "variant": "caption"
1684
+ }
1685
+ ],
1686
+ "cols": 3,
1687
+ "gap": "md"
1242
1688
  }
1243
1689
  ]
1244
1690
  }
@@ -1383,6 +1829,11 @@
1383
1829
  "render-ui",
1384
1830
  "modal",
1385
1831
  null
1832
+ ],
1833
+ [
1834
+ "notify",
1835
+ "Cancelled",
1836
+ "info"
1386
1837
  ]
1387
1838
  ]
1388
1839
  },
@@ -1513,7 +1964,7 @@
1513
1964
  {
1514
1965
  "type": "typography",
1515
1966
  "variant": "caption",
1516
- "content": "FileName"
1967
+ "content": "File Name"
1517
1968
  },
1518
1969
  {
1519
1970
  "type": "typography",
@@ -1530,7 +1981,7 @@
1530
1981
  {
1531
1982
  "type": "typography",
1532
1983
  "variant": "caption",
1533
- "content": "FileType"
1984
+ "content": "File Type"
1534
1985
  },
1535
1986
  {
1536
1987
  "type": "typography",
@@ -1547,7 +1998,7 @@
1547
1998
  {
1548
1999
  "type": "typography",
1549
2000
  "variant": "caption",
1550
- "content": "FileSize"
2001
+ "content": "File Size"
1551
2002
  },
1552
2003
  {
1553
2004
  "type": "typography",
@@ -1581,7 +2032,7 @@
1581
2032
  {
1582
2033
  "type": "typography",
1583
2034
  "variant": "caption",
1584
- "content": "AltText"
2035
+ "content": "Alt Text"
1585
2036
  },
1586
2037
  {
1587
2038
  "type": "typography",
@@ -1598,7 +2049,7 @@
1598
2049
  {
1599
2050
  "type": "typography",
1600
2051
  "variant": "caption",
1601
- "content": "UploadedAt"
2052
+ "content": "Uploaded At"
1602
2053
  },
1603
2054
  {
1604
2055
  "type": "typography",
@@ -1638,6 +2089,11 @@
1638
2089
  "render-ui",
1639
2090
  "modal",
1640
2091
  null
2092
+ ],
2093
+ [
2094
+ "notify",
2095
+ "Cancelled",
2096
+ "info"
1641
2097
  ]
1642
2098
  ]
1643
2099
  }
@@ -1814,125 +2270,132 @@
1814
2270
  "event": "INIT",
1815
2271
  "effects": [
1816
2272
  [
1817
- "fetch",
1818
- "Category"
1819
- ],
1820
- [
1821
- "render-ui",
1822
- "main",
1823
- {
1824
- "type": "stack",
1825
- "direction": "vertical",
1826
- "gap": "lg",
1827
- "children": [
1828
- {
1829
- "type": "stack",
1830
- "direction": "horizontal",
1831
- "gap": "md",
1832
- "justify": "space-between",
1833
- "children": [
1834
- {
1835
- "type": "stack",
1836
- "direction": "horizontal",
1837
- "gap": "sm",
1838
- "align": "center",
1839
- "children": [
1840
- {
1841
- "type": "icon",
1842
- "name": "folder",
1843
- "size": "lg"
1844
- },
1845
- {
1846
- "type": "typography",
1847
- "content": "Categories",
1848
- "variant": "h2"
1849
- }
1850
- ]
1851
- },
1852
- {
1853
- "type": "stack",
1854
- "direction": "horizontal",
1855
- "gap": "sm",
1856
- "children": [
1857
- {
1858
- "type": "button",
1859
- "label": "Create Category",
1860
- "event": "CREATE",
1861
- "variant": "primary",
1862
- "icon": "plus"
1863
- }
1864
- ]
1865
- }
1866
- ]
2273
+ "fetch",
2274
+ "Category"
2275
+ ],
2276
+ [
2277
+ "render-ui",
2278
+ "main",
2279
+ {
2280
+ "type": "dashboard-layout",
2281
+ "appName": "CmsApp",
2282
+ "navItems": [
2283
+ {
2284
+ "label": "Articles",
2285
+ "href": "/articles",
2286
+ "icon": "file-text"
1867
2287
  },
1868
2288
  {
1869
- "type": "divider"
2289
+ "label": "Media",
2290
+ "href": "/media",
2291
+ "icon": "image"
1870
2292
  },
1871
2293
  {
1872
- "type": "data-grid",
1873
- "entity": "Category",
1874
- "emptyIcon": "inbox",
1875
- "emptyTitle": "No categorys yet",
1876
- "emptyDescription": "Create your first category to get started.",
1877
- "itemActions": [
1878
- {
1879
- "label": "View",
1880
- "event": "VIEW"
1881
- },
1882
- {
1883
- "label": "Edit",
1884
- "event": "EDIT"
1885
- },
1886
- {
1887
- "label": "Delete",
1888
- "event": "DELETE",
1889
- "variant": "danger"
1890
- }
1891
- ],
1892
- "className": "transition-shadow hover:shadow-md cursor-pointer",
2294
+ "label": "Categories",
2295
+ "href": "/categories",
2296
+ "icon": "folder"
2297
+ }
2298
+ ],
2299
+ "children": [
2300
+ {
2301
+ "type": "stack",
2302
+ "direction": "vertical",
2303
+ "gap": "lg",
2304
+ "className": "max-w-5xl mx-auto w-full",
1893
2305
  "children": [
1894
2306
  {
1895
2307
  "type": "stack",
1896
- "direction": "vertical",
1897
- "gap": "sm",
2308
+ "direction": "horizontal",
2309
+ "gap": "md",
2310
+ "justify": "space-between",
2311
+ "align": "center",
1898
2312
  "children": [
1899
2313
  {
1900
2314
  "type": "stack",
1901
2315
  "direction": "horizontal",
1902
- "justify": "space-between",
2316
+ "gap": "sm",
1903
2317
  "align": "center",
1904
2318
  "children": [
1905
2319
  {
1906
- "type": "stack",
1907
- "direction": "horizontal",
1908
- "gap": "sm",
1909
- "align": "center",
1910
- "children": [
1911
- {
1912
- "type": "icon",
1913
- "name": "folder",
1914
- "size": "sm"
1915
- },
1916
- {
1917
- "type": "typography",
1918
- "variant": "h4",
1919
- "content": "@entity.name"
1920
- }
1921
- ]
2320
+ "type": "icon",
2321
+ "name": "folder",
2322
+ "size": "lg"
1922
2323
  },
1923
2324
  {
1924
- "type": "badge",
1925
- "label": "@entity.slug"
2325
+ "type": "typography",
2326
+ "content": "Categories",
2327
+ "variant": "h2"
1926
2328
  }
1927
2329
  ]
1928
2330
  },
1929
2331
  {
1930
- "type": "typography",
1931
- "variant": "caption",
1932
- "color": "muted",
1933
- "content": "@entity.description"
2332
+ "type": "stack",
2333
+ "direction": "horizontal",
2334
+ "gap": "sm",
2335
+ "children": [
2336
+ {
2337
+ "type": "button",
2338
+ "label": "Create Category",
2339
+ "event": "CREATE",
2340
+ "variant": "primary",
2341
+ "icon": "plus"
2342
+ }
2343
+ ]
1934
2344
  }
1935
2345
  ]
2346
+ },
2347
+ {
2348
+ "type": "divider"
2349
+ },
2350
+ {
2351
+ "type": "data-list",
2352
+ "entity": "Category",
2353
+ "emptyIcon": "inbox",
2354
+ "emptyTitle": "No categories yet",
2355
+ "emptyDescription": "Create categories to organize your content.",
2356
+ "itemActions": [
2357
+ {
2358
+ "label": "View",
2359
+ "event": "VIEW",
2360
+ "variant": "ghost",
2361
+ "size": "sm"
2362
+ },
2363
+ {
2364
+ "label": "Edit",
2365
+ "event": "EDIT",
2366
+ "variant": "ghost",
2367
+ "size": "sm"
2368
+ },
2369
+ {
2370
+ "label": "Delete",
2371
+ "event": "DELETE",
2372
+ "variant": "danger",
2373
+ "size": "sm"
2374
+ }
2375
+ ],
2376
+ "columns": [
2377
+ {
2378
+ "name": "name",
2379
+ "variant": "h3",
2380
+ "icon": "folder"
2381
+ },
2382
+ {
2383
+ "name": "articleCount",
2384
+ "label": "Articles",
2385
+ "variant": "badge",
2386
+ "format": "number"
2387
+ },
2388
+ {
2389
+ "name": "description",
2390
+ "variant": "body"
2391
+ },
2392
+ {
2393
+ "name": "slug",
2394
+ "variant": "caption"
2395
+ }
2396
+ ],
2397
+ "variant": "card",
2398
+ "gap": "sm"
1936
2399
  }
1937
2400
  ]
1938
2401
  }
@@ -2052,6 +2515,135 @@
2052
2515
  "fetch",
2053
2516
  "Category"
2054
2517
  ],
2518
+ [
2519
+ "render-ui",
2520
+ "main",
2521
+ {
2522
+ "type": "dashboard-layout",
2523
+ "appName": "CmsApp",
2524
+ "navItems": [
2525
+ {
2526
+ "label": "Articles",
2527
+ "href": "/articles",
2528
+ "icon": "file-text"
2529
+ },
2530
+ {
2531
+ "label": "Media",
2532
+ "href": "/media",
2533
+ "icon": "image"
2534
+ },
2535
+ {
2536
+ "label": "Categories",
2537
+ "href": "/categories",
2538
+ "icon": "folder"
2539
+ }
2540
+ ],
2541
+ "children": [
2542
+ {
2543
+ "type": "stack",
2544
+ "direction": "vertical",
2545
+ "gap": "lg",
2546
+ "className": "max-w-5xl mx-auto w-full",
2547
+ "children": [
2548
+ {
2549
+ "type": "stack",
2550
+ "direction": "horizontal",
2551
+ "gap": "md",
2552
+ "justify": "space-between",
2553
+ "align": "center",
2554
+ "children": [
2555
+ {
2556
+ "type": "stack",
2557
+ "direction": "horizontal",
2558
+ "gap": "sm",
2559
+ "align": "center",
2560
+ "children": [
2561
+ {
2562
+ "type": "icon",
2563
+ "name": "folder",
2564
+ "size": "lg"
2565
+ },
2566
+ {
2567
+ "type": "typography",
2568
+ "content": "Categories",
2569
+ "variant": "h2"
2570
+ }
2571
+ ]
2572
+ },
2573
+ {
2574
+ "type": "stack",
2575
+ "direction": "horizontal",
2576
+ "gap": "sm",
2577
+ "children": [
2578
+ {
2579
+ "type": "button",
2580
+ "label": "Create Category",
2581
+ "event": "CREATE",
2582
+ "variant": "primary",
2583
+ "icon": "plus"
2584
+ }
2585
+ ]
2586
+ }
2587
+ ]
2588
+ },
2589
+ {
2590
+ "type": "divider"
2591
+ },
2592
+ {
2593
+ "type": "data-list",
2594
+ "entity": "Category",
2595
+ "emptyIcon": "inbox",
2596
+ "emptyTitle": "No categories yet",
2597
+ "emptyDescription": "Create categories to organize your content.",
2598
+ "itemActions": [
2599
+ {
2600
+ "label": "View",
2601
+ "event": "VIEW",
2602
+ "variant": "ghost",
2603
+ "size": "sm"
2604
+ },
2605
+ {
2606
+ "label": "Edit",
2607
+ "event": "EDIT",
2608
+ "variant": "ghost",
2609
+ "size": "sm"
2610
+ },
2611
+ {
2612
+ "label": "Delete",
2613
+ "event": "DELETE",
2614
+ "variant": "danger",
2615
+ "size": "sm"
2616
+ }
2617
+ ],
2618
+ "columns": [
2619
+ {
2620
+ "name": "name",
2621
+ "variant": "h3",
2622
+ "icon": "folder"
2623
+ },
2624
+ {
2625
+ "name": "articleCount",
2626
+ "label": "Articles",
2627
+ "variant": "badge",
2628
+ "format": "number"
2629
+ },
2630
+ {
2631
+ "name": "description",
2632
+ "variant": "body"
2633
+ },
2634
+ {
2635
+ "name": "slug",
2636
+ "variant": "caption"
2637
+ }
2638
+ ],
2639
+ "variant": "card",
2640
+ "gap": "sm"
2641
+ }
2642
+ ]
2643
+ }
2644
+ ]
2645
+ }
2646
+ ],
2055
2647
  [
2056
2648
  "notify",
2057
2649
  "Category deleted successfully"
@@ -2067,6 +2659,139 @@
2067
2659
  "render-ui",
2068
2660
  "modal",
2069
2661
  null
2662
+ ],
2663
+ [
2664
+ "fetch",
2665
+ "Category"
2666
+ ],
2667
+ [
2668
+ "render-ui",
2669
+ "main",
2670
+ {
2671
+ "type": "dashboard-layout",
2672
+ "appName": "CmsApp",
2673
+ "navItems": [
2674
+ {
2675
+ "label": "Articles",
2676
+ "href": "/articles",
2677
+ "icon": "file-text"
2678
+ },
2679
+ {
2680
+ "label": "Media",
2681
+ "href": "/media",
2682
+ "icon": "image"
2683
+ },
2684
+ {
2685
+ "label": "Categories",
2686
+ "href": "/categories",
2687
+ "icon": "folder"
2688
+ }
2689
+ ],
2690
+ "children": [
2691
+ {
2692
+ "type": "stack",
2693
+ "direction": "vertical",
2694
+ "gap": "lg",
2695
+ "className": "max-w-5xl mx-auto w-full",
2696
+ "children": [
2697
+ {
2698
+ "type": "stack",
2699
+ "direction": "horizontal",
2700
+ "gap": "md",
2701
+ "justify": "space-between",
2702
+ "align": "center",
2703
+ "children": [
2704
+ {
2705
+ "type": "stack",
2706
+ "direction": "horizontal",
2707
+ "gap": "sm",
2708
+ "align": "center",
2709
+ "children": [
2710
+ {
2711
+ "type": "icon",
2712
+ "name": "folder",
2713
+ "size": "lg"
2714
+ },
2715
+ {
2716
+ "type": "typography",
2717
+ "content": "Categories",
2718
+ "variant": "h2"
2719
+ }
2720
+ ]
2721
+ },
2722
+ {
2723
+ "type": "stack",
2724
+ "direction": "horizontal",
2725
+ "gap": "sm",
2726
+ "children": [
2727
+ {
2728
+ "type": "button",
2729
+ "label": "Create Category",
2730
+ "event": "CREATE",
2731
+ "variant": "primary",
2732
+ "icon": "plus"
2733
+ }
2734
+ ]
2735
+ }
2736
+ ]
2737
+ },
2738
+ {
2739
+ "type": "divider"
2740
+ },
2741
+ {
2742
+ "type": "data-list",
2743
+ "entity": "Category",
2744
+ "emptyIcon": "inbox",
2745
+ "emptyTitle": "No categories yet",
2746
+ "emptyDescription": "Create categories to organize your content.",
2747
+ "itemActions": [
2748
+ {
2749
+ "label": "View",
2750
+ "event": "VIEW",
2751
+ "variant": "ghost",
2752
+ "size": "sm"
2753
+ },
2754
+ {
2755
+ "label": "Edit",
2756
+ "event": "EDIT",
2757
+ "variant": "ghost",
2758
+ "size": "sm"
2759
+ },
2760
+ {
2761
+ "label": "Delete",
2762
+ "event": "DELETE",
2763
+ "variant": "danger",
2764
+ "size": "sm"
2765
+ }
2766
+ ],
2767
+ "columns": [
2768
+ {
2769
+ "name": "name",
2770
+ "variant": "h3",
2771
+ "icon": "folder"
2772
+ },
2773
+ {
2774
+ "name": "articleCount",
2775
+ "label": "Articles",
2776
+ "variant": "badge",
2777
+ "format": "number"
2778
+ },
2779
+ {
2780
+ "name": "description",
2781
+ "variant": "body"
2782
+ },
2783
+ {
2784
+ "name": "slug",
2785
+ "variant": "caption"
2786
+ }
2787
+ ],
2788
+ "variant": "card",
2789
+ "gap": "sm"
2790
+ }
2791
+ ]
2792
+ }
2793
+ ]
2794
+ }
2070
2795
  ]
2071
2796
  ]
2072
2797
  },
@@ -2079,6 +2804,139 @@
2079
2804
  "render-ui",
2080
2805
  "modal",
2081
2806
  null
2807
+ ],
2808
+ [
2809
+ "fetch",
2810
+ "Category"
2811
+ ],
2812
+ [
2813
+ "render-ui",
2814
+ "main",
2815
+ {
2816
+ "type": "dashboard-layout",
2817
+ "appName": "CmsApp",
2818
+ "navItems": [
2819
+ {
2820
+ "label": "Articles",
2821
+ "href": "/articles",
2822
+ "icon": "file-text"
2823
+ },
2824
+ {
2825
+ "label": "Media",
2826
+ "href": "/media",
2827
+ "icon": "image"
2828
+ },
2829
+ {
2830
+ "label": "Categories",
2831
+ "href": "/categories",
2832
+ "icon": "folder"
2833
+ }
2834
+ ],
2835
+ "children": [
2836
+ {
2837
+ "type": "stack",
2838
+ "direction": "vertical",
2839
+ "gap": "lg",
2840
+ "className": "max-w-5xl mx-auto w-full",
2841
+ "children": [
2842
+ {
2843
+ "type": "stack",
2844
+ "direction": "horizontal",
2845
+ "gap": "md",
2846
+ "justify": "space-between",
2847
+ "align": "center",
2848
+ "children": [
2849
+ {
2850
+ "type": "stack",
2851
+ "direction": "horizontal",
2852
+ "gap": "sm",
2853
+ "align": "center",
2854
+ "children": [
2855
+ {
2856
+ "type": "icon",
2857
+ "name": "folder",
2858
+ "size": "lg"
2859
+ },
2860
+ {
2861
+ "type": "typography",
2862
+ "content": "Categories",
2863
+ "variant": "h2"
2864
+ }
2865
+ ]
2866
+ },
2867
+ {
2868
+ "type": "stack",
2869
+ "direction": "horizontal",
2870
+ "gap": "sm",
2871
+ "children": [
2872
+ {
2873
+ "type": "button",
2874
+ "label": "Create Category",
2875
+ "event": "CREATE",
2876
+ "variant": "primary",
2877
+ "icon": "plus"
2878
+ }
2879
+ ]
2880
+ }
2881
+ ]
2882
+ },
2883
+ {
2884
+ "type": "divider"
2885
+ },
2886
+ {
2887
+ "type": "data-list",
2888
+ "entity": "Category",
2889
+ "emptyIcon": "inbox",
2890
+ "emptyTitle": "No categories yet",
2891
+ "emptyDescription": "Create categories to organize your content.",
2892
+ "itemActions": [
2893
+ {
2894
+ "label": "View",
2895
+ "event": "VIEW",
2896
+ "variant": "ghost",
2897
+ "size": "sm"
2898
+ },
2899
+ {
2900
+ "label": "Edit",
2901
+ "event": "EDIT",
2902
+ "variant": "ghost",
2903
+ "size": "sm"
2904
+ },
2905
+ {
2906
+ "label": "Delete",
2907
+ "event": "DELETE",
2908
+ "variant": "danger",
2909
+ "size": "sm"
2910
+ }
2911
+ ],
2912
+ "columns": [
2913
+ {
2914
+ "name": "name",
2915
+ "variant": "h3",
2916
+ "icon": "folder"
2917
+ },
2918
+ {
2919
+ "name": "articleCount",
2920
+ "label": "Articles",
2921
+ "variant": "badge",
2922
+ "format": "number"
2923
+ },
2924
+ {
2925
+ "name": "description",
2926
+ "variant": "body"
2927
+ },
2928
+ {
2929
+ "name": "slug",
2930
+ "variant": "caption"
2931
+ }
2932
+ ],
2933
+ "variant": "card",
2934
+ "gap": "sm"
2935
+ }
2936
+ ]
2937
+ }
2938
+ ]
2939
+ }
2082
2940
  ]
2083
2941
  ]
2084
2942
  }
@@ -2206,6 +3064,11 @@
2206
3064
  "render-ui",
2207
3065
  "modal",
2208
3066
  null
3067
+ ],
3068
+ [
3069
+ "notify",
3070
+ "Cancelled",
3071
+ "info"
2209
3072
  ]
2210
3073
  ]
2211
3074
  },
@@ -2372,6 +3235,11 @@
2372
3235
  "render-ui",
2373
3236
  "modal",
2374
3237
  null
3238
+ ],
3239
+ [
3240
+ "notify",
3241
+ "Cancelled",
3242
+ "info"
2375
3243
  ]
2376
3244
  ]
2377
3245
  },
@@ -2553,7 +3421,7 @@
2553
3421
  {
2554
3422
  "type": "typography",
2555
3423
  "variant": "caption",
2556
- "content": "ParentCategory"
3424
+ "content": "Parent Category"
2557
3425
  },
2558
3426
  {
2559
3427
  "type": "typography",
@@ -2570,7 +3438,7 @@
2570
3438
  {
2571
3439
  "type": "typography",
2572
3440
  "variant": "caption",
2573
- "content": "ArticleCount"
3441
+ "content": "Article Count"
2574
3442
  },
2575
3443
  {
2576
3444
  "type": "typography",
@@ -2617,6 +3485,11 @@
2617
3485
  "render-ui",
2618
3486
  "modal",
2619
3487
  null
3488
+ ],
3489
+ [
3490
+ "notify",
3491
+ "Cancelled",
3492
+ "info"
2620
3493
  ]
2621
3494
  ]
2622
3495
  }