@almadar/std 3.2.2 → 3.3.4

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 (343) hide show
  1. package/LICENSE +72 -21
  2. package/README.md +1 -1
  3. package/behaviors/exports/atoms/std-browse.orb +38 -45
  4. package/behaviors/exports/atoms/std-calendar.orb +770 -0
  5. package/behaviors/exports/atoms/std-combat-log.orb +12 -12
  6. package/behaviors/exports/atoms/std-dialogue-box.orb +11 -11
  7. package/behaviors/exports/atoms/std-display.orb +1175 -510
  8. package/behaviors/exports/atoms/std-drawer.orb +235 -133
  9. package/behaviors/exports/atoms/std-flip-card.orb +596 -0
  10. package/behaviors/exports/atoms/std-gallery.orb +382 -0
  11. package/behaviors/exports/atoms/std-game-audio.orb +9 -9
  12. package/behaviors/exports/atoms/std-game-canvas3d.orb +24 -24
  13. package/behaviors/exports/atoms/std-game-hud.orb +10 -10
  14. package/behaviors/exports/atoms/std-game-menu.orb +12 -12
  15. package/behaviors/exports/atoms/std-game-over-screen.orb +9 -9
  16. package/behaviors/exports/atoms/std-inventory-panel.orb +13 -13
  17. package/behaviors/exports/atoms/std-isometric-canvas.orb +9 -9
  18. package/behaviors/exports/atoms/std-loading.orb +131 -103
  19. package/behaviors/exports/atoms/std-modal.orb +5 -24
  20. package/behaviors/exports/atoms/std-notification.orb +71 -0
  21. package/behaviors/exports/atoms/std-pagination.orb +32 -40
  22. package/behaviors/exports/atoms/std-platformer-canvas.orb +9 -9
  23. package/behaviors/exports/atoms/std-rating.orb +328 -0
  24. package/behaviors/exports/atoms/std-score-board.orb +9 -9
  25. package/behaviors/exports/atoms/std-score.orb +41 -0
  26. package/behaviors/exports/atoms/std-search.orb +44 -30
  27. package/behaviors/exports/atoms/std-selection.orb +30 -24
  28. package/behaviors/exports/atoms/std-service-custom-bearer.orb +557 -0
  29. package/behaviors/exports/atoms/std-service-custom-header.orb +559 -0
  30. package/behaviors/exports/atoms/std-service-custom-noauth.orb +553 -0
  31. package/behaviors/exports/atoms/std-service-custom-query.orb +559 -0
  32. package/behaviors/exports/atoms/std-service-email.orb +540 -0
  33. package/behaviors/exports/atoms/std-service-github.orb +586 -0
  34. package/behaviors/exports/atoms/std-service-llm.orb +671 -0
  35. package/behaviors/exports/atoms/std-service-oauth.orb +764 -0
  36. package/behaviors/exports/atoms/std-service-redis.orb +580 -0
  37. package/behaviors/exports/atoms/std-service-storage.orb +664 -0
  38. package/behaviors/exports/atoms/std-service-stripe.orb +639 -0
  39. package/behaviors/exports/atoms/std-service-twilio.orb +611 -0
  40. package/behaviors/exports/atoms/std-service-youtube.orb +696 -0
  41. package/behaviors/exports/atoms/std-simulation-canvas.orb +9 -9
  42. package/behaviors/exports/atoms/std-sort.orb +82 -60
  43. package/behaviors/exports/atoms/std-sprite.orb +17 -17
  44. package/behaviors/exports/atoms/std-text-effects.orb +658 -0
  45. package/behaviors/exports/atoms/std-theme.orb +573 -0
  46. package/behaviors/exports/atoms/std-upload.orb +535 -0
  47. package/behaviors/exports/atoms/std-validate-on-save.orb +623 -0
  48. package/behaviors/exports/atoms/std-wizard.orb +664 -224
  49. package/behaviors/exports/molecules/std-builder-game.orb +43 -3
  50. package/behaviors/exports/molecules/std-cart.orb +319 -101
  51. package/behaviors/exports/molecules/std-classifier-game.orb +43 -3
  52. package/behaviors/exports/molecules/std-debugger-game.orb +43 -3
  53. package/behaviors/exports/molecules/std-detail.orb +46 -49
  54. package/behaviors/exports/molecules/std-event-handler-game.orb +43 -3
  55. package/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  56. package/behaviors/exports/molecules/std-geospatial.orb +48 -48
  57. package/behaviors/exports/molecules/std-inventory.orb +70 -50
  58. package/behaviors/exports/molecules/std-list.orb +174 -197
  59. package/behaviors/exports/molecules/std-messaging.orb +35 -50
  60. package/behaviors/exports/molecules/std-negotiator-game.orb +43 -3
  61. package/behaviors/exports/molecules/std-platformer-game.orb +18 -2
  62. package/behaviors/exports/molecules/std-puzzle-game.orb +32 -6
  63. package/behaviors/exports/molecules/std-quiz.orb +1069 -0
  64. package/behaviors/exports/molecules/std-sequencer-game.orb +43 -3
  65. package/behaviors/exports/molecules/std-service-content-pipeline.orb +915 -0
  66. package/behaviors/exports/molecules/std-service-custom-api-tester.orb +860 -0
  67. package/behaviors/exports/molecules/std-service-devops-toolkit.orb +1526 -0
  68. package/behaviors/exports/molecules/std-service-notification-hub.orb +696 -0
  69. package/behaviors/exports/molecules/std-service-payment-flow.orb +873 -0
  70. package/behaviors/exports/molecules/std-simulator-game.orb +43 -3
  71. package/behaviors/exports/molecules/std-turn-based-battle.orb +26 -0
  72. package/behaviors/exports/organisms/std-api-gateway.orb +2326 -1320
  73. package/behaviors/exports/organisms/std-arcade-game.orb +377 -265
  74. package/behaviors/exports/organisms/std-booking-system.orb +3144 -1855
  75. package/behaviors/exports/organisms/std-cicd-pipeline.orb +2107 -1122
  76. package/behaviors/exports/organisms/std-cms.orb +929 -822
  77. package/behaviors/exports/organisms/std-coding-academy.orb +1347 -458
  78. package/behaviors/exports/organisms/std-crm.orb +2302 -1282
  79. package/behaviors/exports/organisms/std-devops-dashboard.orb +3902 -2005
  80. package/behaviors/exports/organisms/std-ecommerce.orb +2432 -1630
  81. package/behaviors/exports/organisms/std-finance-tracker.orb +1674 -846
  82. package/behaviors/exports/organisms/std-healthcare.orb +3545 -1992
  83. package/behaviors/exports/organisms/std-helpdesk.orb +1853 -940
  84. package/behaviors/exports/organisms/std-hr-portal.orb +3249 -1939
  85. package/behaviors/exports/organisms/std-iot-dashboard.orb +2422 -1418
  86. package/behaviors/exports/organisms/std-lms.orb +2495 -1435
  87. package/behaviors/exports/organisms/std-logic-training.orb +220 -66
  88. package/behaviors/exports/organisms/std-platformer-app.orb +345 -214
  89. package/behaviors/exports/organisms/std-project-manager.orb +2217 -1190
  90. package/behaviors/exports/organisms/std-puzzle-app.orb +228 -103
  91. package/behaviors/exports/organisms/std-realtime-chat.orb +1887 -1051
  92. package/behaviors/exports/organisms/std-rpg-game.orb +1170 -948
  93. package/behaviors/exports/organisms/std-service-marketplace.orb +5191 -0
  94. package/behaviors/exports/organisms/std-service-research-assistant.orb +3568 -0
  95. package/behaviors/exports/organisms/std-social-feed.orb +184 -172
  96. package/behaviors/exports/organisms/std-stem-lab.orb +1308 -482
  97. package/behaviors/exports/organisms/std-strategy-game.orb +1520 -696
  98. package/behaviors/exports/organisms/std-trading-dashboard.orb +1884 -904
  99. package/behaviors/exports/test-schemas/os-trigger-simulation.orb +202 -0
  100. package/behaviors/exports/validation-report.json +0 -747
  101. package/dist/behaviors/exports/atoms/std-browse.orb +38 -45
  102. package/dist/behaviors/exports/atoms/std-calendar.orb +770 -0
  103. package/dist/behaviors/exports/atoms/std-combat-log.orb +12 -12
  104. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +11 -11
  105. package/dist/behaviors/exports/atoms/std-display.orb +1175 -510
  106. package/dist/behaviors/exports/atoms/std-drawer.orb +235 -133
  107. package/dist/behaviors/exports/atoms/std-flip-card.orb +596 -0
  108. package/dist/behaviors/exports/atoms/std-gallery.orb +382 -0
  109. package/dist/behaviors/exports/atoms/std-game-audio.orb +9 -9
  110. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +24 -24
  111. package/dist/behaviors/exports/atoms/std-game-hud.orb +10 -10
  112. package/dist/behaviors/exports/atoms/std-game-menu.orb +12 -12
  113. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +9 -9
  114. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +13 -13
  115. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +9 -9
  116. package/dist/behaviors/exports/atoms/std-loading.orb +131 -103
  117. package/dist/behaviors/exports/atoms/std-modal.orb +5 -24
  118. package/dist/behaviors/exports/atoms/std-notification.orb +71 -0
  119. package/dist/behaviors/exports/atoms/std-pagination.orb +32 -40
  120. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +9 -9
  121. package/dist/behaviors/exports/atoms/std-rating.orb +328 -0
  122. package/dist/behaviors/exports/atoms/std-score-board.orb +9 -9
  123. package/dist/behaviors/exports/atoms/std-score.orb +41 -0
  124. package/dist/behaviors/exports/atoms/std-search.orb +44 -30
  125. package/dist/behaviors/exports/atoms/std-selection.orb +30 -24
  126. package/dist/behaviors/exports/atoms/std-service-custom-bearer.orb +557 -0
  127. package/dist/behaviors/exports/atoms/std-service-custom-header.orb +559 -0
  128. package/dist/behaviors/exports/atoms/std-service-custom-noauth.orb +553 -0
  129. package/dist/behaviors/exports/atoms/std-service-custom-query.orb +559 -0
  130. package/dist/behaviors/exports/atoms/std-service-email.orb +540 -0
  131. package/dist/behaviors/exports/atoms/std-service-github.orb +586 -0
  132. package/dist/behaviors/exports/atoms/std-service-llm.orb +671 -0
  133. package/dist/behaviors/exports/atoms/std-service-oauth.orb +764 -0
  134. package/dist/behaviors/exports/atoms/std-service-redis.orb +580 -0
  135. package/dist/behaviors/exports/atoms/std-service-storage.orb +664 -0
  136. package/dist/behaviors/exports/atoms/std-service-stripe.orb +639 -0
  137. package/dist/behaviors/exports/atoms/std-service-twilio.orb +611 -0
  138. package/dist/behaviors/exports/atoms/std-service-youtube.orb +696 -0
  139. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +9 -9
  140. package/dist/behaviors/exports/atoms/std-sort.orb +82 -60
  141. package/dist/behaviors/exports/atoms/std-sprite.orb +17 -17
  142. package/dist/behaviors/exports/atoms/std-text-effects.orb +658 -0
  143. package/dist/behaviors/exports/atoms/std-theme.orb +573 -0
  144. package/dist/behaviors/exports/atoms/std-upload.orb +535 -0
  145. package/dist/behaviors/exports/atoms/std-validate-on-save.orb +623 -0
  146. package/dist/behaviors/exports/atoms/std-wizard.orb +664 -224
  147. package/dist/behaviors/exports/molecules/std-builder-game.orb +43 -3
  148. package/dist/behaviors/exports/molecules/std-cart.orb +319 -101
  149. package/dist/behaviors/exports/molecules/std-classifier-game.orb +43 -3
  150. package/dist/behaviors/exports/molecules/std-debugger-game.orb +43 -3
  151. package/dist/behaviors/exports/molecules/std-detail.orb +46 -49
  152. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +43 -3
  153. package/dist/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  154. package/dist/behaviors/exports/molecules/std-geospatial.orb +48 -48
  155. package/dist/behaviors/exports/molecules/std-inventory.orb +70 -50
  156. package/dist/behaviors/exports/molecules/std-list.orb +174 -197
  157. package/dist/behaviors/exports/molecules/std-messaging.orb +35 -50
  158. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +43 -3
  159. package/dist/behaviors/exports/molecules/std-platformer-game.orb +18 -2
  160. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +32 -6
  161. package/dist/behaviors/exports/molecules/std-quiz.orb +1069 -0
  162. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +43 -3
  163. package/dist/behaviors/exports/molecules/std-service-content-pipeline.orb +915 -0
  164. package/dist/behaviors/exports/molecules/std-service-custom-api-tester.orb +860 -0
  165. package/dist/behaviors/exports/molecules/std-service-devops-toolkit.orb +1526 -0
  166. package/dist/behaviors/exports/molecules/std-service-notification-hub.orb +696 -0
  167. package/dist/behaviors/exports/molecules/std-service-payment-flow.orb +873 -0
  168. package/dist/behaviors/exports/molecules/std-simulator-game.orb +43 -3
  169. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +26 -0
  170. package/dist/behaviors/exports/organisms/std-api-gateway.orb +2326 -1320
  171. package/dist/behaviors/exports/organisms/std-arcade-game.orb +377 -265
  172. package/dist/behaviors/exports/organisms/std-booking-system.orb +3144 -1855
  173. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +2107 -1122
  174. package/dist/behaviors/exports/organisms/std-cms.orb +929 -822
  175. package/dist/behaviors/exports/organisms/std-coding-academy.orb +1347 -458
  176. package/dist/behaviors/exports/organisms/std-crm.orb +2302 -1282
  177. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +3902 -2005
  178. package/dist/behaviors/exports/organisms/std-ecommerce.orb +2432 -1630
  179. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +1674 -846
  180. package/dist/behaviors/exports/organisms/std-healthcare.orb +3545 -1992
  181. package/dist/behaviors/exports/organisms/std-helpdesk.orb +1853 -940
  182. package/dist/behaviors/exports/organisms/std-hr-portal.orb +3249 -1939
  183. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +2422 -1418
  184. package/dist/behaviors/exports/organisms/std-lms.orb +2495 -1435
  185. package/dist/behaviors/exports/organisms/std-logic-training.orb +220 -66
  186. package/dist/behaviors/exports/organisms/std-platformer-app.orb +345 -214
  187. package/dist/behaviors/exports/organisms/std-project-manager.orb +2217 -1190
  188. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +228 -103
  189. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +1887 -1051
  190. package/dist/behaviors/exports/organisms/std-rpg-game.orb +1170 -948
  191. package/dist/behaviors/exports/organisms/std-service-marketplace.orb +5191 -0
  192. package/dist/behaviors/exports/organisms/std-service-research-assistant.orb +3568 -0
  193. package/dist/behaviors/exports/organisms/std-social-feed.orb +184 -172
  194. package/dist/behaviors/exports/organisms/std-stem-lab.orb +1308 -482
  195. package/dist/behaviors/exports/organisms/std-strategy-game.orb +1520 -696
  196. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +1884 -904
  197. package/dist/behaviors/exports/test-schemas/os-trigger-simulation.orb +202 -0
  198. package/dist/behaviors/exports/validation-report.json +0 -747
  199. package/dist/behaviors/functions/index.d.ts +931 -1
  200. package/dist/behaviors/functions/index.js +12511 -4634
  201. package/dist/behaviors/functions/index.js.map +1 -1
  202. package/dist/behaviors/index.d.ts +1 -1
  203. package/dist/behaviors/index.js +12434 -4557
  204. package/dist/behaviors/index.js.map +1 -1
  205. package/dist/exports/atoms/std-browse.orb +38 -45
  206. package/dist/exports/atoms/std-calendar.orb +770 -0
  207. package/dist/exports/atoms/std-combat-log.orb +12 -12
  208. package/dist/exports/atoms/std-dialogue-box.orb +11 -11
  209. package/dist/exports/atoms/std-display.orb +1175 -510
  210. package/dist/exports/atoms/std-drawer.orb +235 -133
  211. package/dist/exports/atoms/std-flip-card.orb +596 -0
  212. package/dist/exports/atoms/std-gallery.orb +382 -0
  213. package/dist/exports/atoms/std-game-audio.orb +9 -9
  214. package/dist/exports/atoms/std-game-canvas3d.orb +24 -24
  215. package/dist/exports/atoms/std-game-hud.orb +10 -10
  216. package/dist/exports/atoms/std-game-menu.orb +12 -12
  217. package/dist/exports/atoms/std-game-over-screen.orb +9 -9
  218. package/dist/exports/atoms/std-inventory-panel.orb +13 -13
  219. package/dist/exports/atoms/std-isometric-canvas.orb +9 -9
  220. package/dist/exports/atoms/std-loading.orb +131 -103
  221. package/dist/exports/atoms/std-modal.orb +5 -24
  222. package/dist/exports/atoms/std-notification.orb +71 -0
  223. package/dist/exports/atoms/std-pagination.orb +32 -40
  224. package/dist/exports/atoms/std-platformer-canvas.orb +9 -9
  225. package/dist/exports/atoms/std-rating.orb +328 -0
  226. package/dist/exports/atoms/std-score-board.orb +9 -9
  227. package/dist/exports/atoms/std-score.orb +41 -0
  228. package/dist/exports/atoms/std-search.orb +44 -30
  229. package/dist/exports/atoms/std-selection.orb +30 -24
  230. package/dist/exports/atoms/std-service-custom-bearer.orb +557 -0
  231. package/dist/exports/atoms/std-service-custom-header.orb +559 -0
  232. package/dist/exports/atoms/std-service-custom-noauth.orb +553 -0
  233. package/dist/exports/atoms/std-service-custom-query.orb +559 -0
  234. package/dist/exports/atoms/std-service-email.orb +540 -0
  235. package/dist/exports/atoms/std-service-github.orb +586 -0
  236. package/dist/exports/atoms/std-service-llm.orb +671 -0
  237. package/dist/exports/atoms/std-service-oauth.orb +764 -0
  238. package/dist/exports/atoms/std-service-redis.orb +580 -0
  239. package/dist/exports/atoms/std-service-storage.orb +664 -0
  240. package/dist/exports/atoms/std-service-stripe.orb +639 -0
  241. package/dist/exports/atoms/std-service-twilio.orb +611 -0
  242. package/dist/exports/atoms/std-service-youtube.orb +696 -0
  243. package/dist/exports/atoms/std-simulation-canvas.orb +9 -9
  244. package/dist/exports/atoms/std-sort.orb +82 -60
  245. package/dist/exports/atoms/std-sprite.orb +17 -17
  246. package/dist/exports/atoms/std-text-effects.orb +658 -0
  247. package/dist/exports/atoms/std-theme.orb +573 -0
  248. package/dist/exports/atoms/std-upload.orb +535 -0
  249. package/dist/exports/atoms/std-validate-on-save.orb +623 -0
  250. package/dist/exports/atoms/std-wizard.orb +664 -224
  251. package/dist/exports/molecules/std-builder-game.orb +43 -3
  252. package/dist/exports/molecules/std-cart.orb +319 -101
  253. package/dist/exports/molecules/std-classifier-game.orb +43 -3
  254. package/dist/exports/molecules/std-debugger-game.orb +43 -3
  255. package/dist/exports/molecules/std-detail.orb +46 -49
  256. package/dist/exports/molecules/std-event-handler-game.orb +43 -3
  257. package/dist/exports/molecules/std-form-advanced.orb +654 -0
  258. package/dist/exports/molecules/std-geospatial.orb +48 -48
  259. package/dist/exports/molecules/std-inventory.orb +70 -50
  260. package/dist/exports/molecules/std-list.orb +174 -197
  261. package/dist/exports/molecules/std-messaging.orb +35 -50
  262. package/dist/exports/molecules/std-negotiator-game.orb +43 -3
  263. package/dist/exports/molecules/std-platformer-game.orb +18 -2
  264. package/dist/exports/molecules/std-puzzle-game.orb +32 -6
  265. package/dist/exports/molecules/std-quiz.orb +1069 -0
  266. package/dist/exports/molecules/std-sequencer-game.orb +43 -3
  267. package/dist/exports/molecules/std-service-content-pipeline.orb +915 -0
  268. package/dist/exports/molecules/std-service-custom-api-tester.orb +860 -0
  269. package/dist/exports/molecules/std-service-devops-toolkit.orb +1526 -0
  270. package/dist/exports/molecules/std-service-notification-hub.orb +696 -0
  271. package/dist/exports/molecules/std-service-payment-flow.orb +873 -0
  272. package/dist/exports/molecules/std-simulator-game.orb +43 -3
  273. package/dist/exports/molecules/std-turn-based-battle.orb +26 -0
  274. package/dist/exports/organisms/std-api-gateway.orb +2326 -1320
  275. package/dist/exports/organisms/std-arcade-game.orb +377 -265
  276. package/dist/exports/organisms/std-booking-system.orb +3144 -1855
  277. package/dist/exports/organisms/std-cicd-pipeline.orb +2107 -1122
  278. package/dist/exports/organisms/std-cms.orb +929 -822
  279. package/dist/exports/organisms/std-coding-academy.orb +1347 -458
  280. package/dist/exports/organisms/std-crm.orb +2302 -1282
  281. package/dist/exports/organisms/std-devops-dashboard.orb +3902 -2005
  282. package/dist/exports/organisms/std-ecommerce.orb +2432 -1630
  283. package/dist/exports/organisms/std-finance-tracker.orb +1674 -846
  284. package/dist/exports/organisms/std-healthcare.orb +3545 -1992
  285. package/dist/exports/organisms/std-helpdesk.orb +1853 -940
  286. package/dist/exports/organisms/std-hr-portal.orb +3249 -1939
  287. package/dist/exports/organisms/std-iot-dashboard.orb +2422 -1418
  288. package/dist/exports/organisms/std-lms.orb +2495 -1435
  289. package/dist/exports/organisms/std-logic-training.orb +220 -66
  290. package/dist/exports/organisms/std-platformer-app.orb +345 -214
  291. package/dist/exports/organisms/std-project-manager.orb +2217 -1190
  292. package/dist/exports/organisms/std-puzzle-app.orb +228 -103
  293. package/dist/exports/organisms/std-realtime-chat.orb +1887 -1051
  294. package/dist/exports/organisms/std-rpg-game.orb +1170 -948
  295. package/dist/exports/organisms/std-service-marketplace.orb +5191 -0
  296. package/dist/exports/organisms/std-service-research-assistant.orb +3568 -0
  297. package/dist/exports/organisms/std-social-feed.orb +184 -172
  298. package/dist/exports/organisms/std-stem-lab.orb +1308 -482
  299. package/dist/exports/organisms/std-strategy-game.orb +1520 -696
  300. package/dist/exports/organisms/std-trading-dashboard.orb +1884 -904
  301. package/dist/exports/test-schemas/os-trigger-simulation.orb +202 -0
  302. package/dist/exports/validation-report.json +0 -747
  303. package/dist/index.d.ts +3 -3
  304. package/dist/index.js +12826 -4799
  305. package/dist/index.js.map +1 -1
  306. package/dist/modules/array.d.ts +1 -1
  307. package/dist/modules/async.d.ts +1 -1
  308. package/dist/modules/contract.d.ts +22 -0
  309. package/dist/modules/contract.js +100 -0
  310. package/dist/modules/contract.js.map +1 -0
  311. package/dist/modules/data.d.ts +22 -0
  312. package/dist/modules/data.js +117 -0
  313. package/dist/modules/data.js.map +1 -0
  314. package/dist/modules/format.d.ts +1 -1
  315. package/dist/modules/graph.d.ts +23 -0
  316. package/dist/modules/graph.js +209 -0
  317. package/dist/modules/graph.js.map +1 -0
  318. package/dist/modules/index.d.ts +5 -1
  319. package/dist/modules/index.js +593 -63
  320. package/dist/modules/index.js.map +1 -1
  321. package/dist/modules/math.d.ts +1 -1
  322. package/dist/modules/nn.d.ts +1 -1
  323. package/dist/modules/nn.js +14 -14
  324. package/dist/modules/nn.js.map +1 -1
  325. package/dist/modules/object.d.ts +1 -1
  326. package/dist/modules/os.d.ts +19 -0
  327. package/dist/modules/os.js +116 -0
  328. package/dist/modules/os.js.map +1 -0
  329. package/dist/modules/prob.d.ts +1 -1
  330. package/dist/modules/str.d.ts +1 -1
  331. package/dist/modules/tensor.d.ts +1 -1
  332. package/dist/modules/tensor.js +29 -29
  333. package/dist/modules/tensor.js.map +1 -1
  334. package/dist/modules/time.d.ts +1 -1
  335. package/dist/modules/train.d.ts +1 -1
  336. package/dist/modules/train.js +19 -19
  337. package/dist/modules/train.js.map +1 -1
  338. package/dist/modules/validate.d.ts +1 -1
  339. package/dist/registry.d.ts +2 -2
  340. package/dist/registry.js +184 -65
  341. package/dist/registry.js.map +1 -1
  342. package/dist/{types-CmNM_IbV.d.ts → types-DOeGXRCm.d.ts} +3 -3
  343. package/package.json +2 -2
@@ -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,120 +165,129 @@
159
165
  "render-ui",
160
166
  "main",
161
167
  {
162
- "type": "stack",
163
- "direction": "vertical",
164
- "gap": "lg",
168
+ "type": "dashboard-layout",
169
+ "appName": "CmsApp",
170
+ "navItems": [
171
+ {
172
+ "label": "Articles",
173
+ "href": "/articles",
174
+ "icon": "file-text"
175
+ },
176
+ {
177
+ "label": "Media",
178
+ "href": "/media",
179
+ "icon": "image"
180
+ },
181
+ {
182
+ "label": "Categories",
183
+ "href": "/categories",
184
+ "icon": "folder"
185
+ }
186
+ ],
165
187
  "children": [
166
188
  {
167
189
  "type": "stack",
168
- "direction": "horizontal",
169
- "gap": "md",
170
- "justify": "space-between",
190
+ "direction": "vertical",
191
+ "gap": "lg",
192
+ "className": "max-w-5xl mx-auto w-full",
171
193
  "children": [
172
194
  {
173
195
  "type": "stack",
174
196
  "direction": "horizontal",
175
- "gap": "sm",
197
+ "gap": "md",
198
+ "justify": "space-between",
176
199
  "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
- ]
205
- },
206
- {
207
- "type": "divider"
208
- },
209
- {
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",
231
- "renderItem": [
232
- "fn",
233
- "item",
234
- {
235
- "type": "stack",
236
- "direction": "vertical",
237
- "gap": "sm",
238
200
  "children": [
239
201
  {
240
202
  "type": "stack",
241
203
  "direction": "horizontal",
242
- "justify": "space-between",
204
+ "gap": "sm",
243
205
  "align": "center",
244
206
  "children": [
245
207
  {
246
- "type": "stack",
247
- "direction": "horizontal",
248
- "gap": "sm",
249
- "align": "center",
250
- "children": [
251
- {
252
- "type": "icon",
253
- "name": "file-text",
254
- "size": "sm"
255
- },
256
- {
257
- "type": "typography",
258
- "variant": "h4",
259
- "content": "@item.title"
260
- }
261
- ]
208
+ "type": "icon",
209
+ "name": "file-text",
210
+ "size": "lg"
262
211
  },
263
212
  {
264
- "type": "badge",
265
- "label": "@item.slug"
213
+ "type": "typography",
214
+ "content": "Articles",
215
+ "variant": "h2"
266
216
  }
267
217
  ]
268
218
  },
269
219
  {
270
- "type": "typography",
271
- "variant": "caption",
272
- "color": "muted",
273
- "content": "@item.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
+ ]
274
232
  }
275
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"
276
291
  }
277
292
  ]
278
293
  }
@@ -396,120 +411,129 @@
396
411
  "render-ui",
397
412
  "main",
398
413
  {
399
- "type": "stack",
400
- "direction": "vertical",
401
- "gap": "lg",
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
+ ],
402
433
  "children": [
403
434
  {
404
435
  "type": "stack",
405
- "direction": "horizontal",
406
- "gap": "md",
407
- "justify": "space-between",
436
+ "direction": "vertical",
437
+ "gap": "lg",
438
+ "className": "max-w-5xl mx-auto w-full",
408
439
  "children": [
409
440
  {
410
441
  "type": "stack",
411
442
  "direction": "horizontal",
412
- "gap": "sm",
443
+ "gap": "md",
444
+ "justify": "space-between",
413
445
  "align": "center",
414
- "children": [
415
- {
416
- "type": "icon",
417
- "name": "file-text",
418
- "size": "lg"
419
- },
420
- {
421
- "type": "typography",
422
- "content": "Articles",
423
- "variant": "h2"
424
- }
425
- ]
426
- },
427
- {
428
- "type": "stack",
429
- "direction": "horizontal",
430
- "gap": "sm",
431
- "children": [
432
- {
433
- "type": "button",
434
- "label": "Create Article",
435
- "event": "CREATE",
436
- "variant": "primary",
437
- "icon": "plus"
438
- }
439
- ]
440
- }
441
- ]
442
- },
443
- {
444
- "type": "divider"
445
- },
446
- {
447
- "type": "data-grid",
448
- "entity": "Article",
449
- "emptyIcon": "inbox",
450
- "emptyTitle": "No articles yet",
451
- "emptyDescription": "Create your first article to get started.",
452
- "itemActions": [
453
- {
454
- "label": "View",
455
- "event": "VIEW"
456
- },
457
- {
458
- "label": "Edit",
459
- "event": "EDIT"
460
- },
461
- {
462
- "label": "Delete",
463
- "event": "DELETE",
464
- "variant": "danger"
465
- }
466
- ],
467
- "className": "transition-shadow hover:shadow-md cursor-pointer",
468
- "renderItem": [
469
- "fn",
470
- "item",
471
- {
472
- "type": "stack",
473
- "direction": "vertical",
474
- "gap": "sm",
475
446
  "children": [
476
447
  {
477
448
  "type": "stack",
478
449
  "direction": "horizontal",
479
- "justify": "space-between",
450
+ "gap": "sm",
480
451
  "align": "center",
481
452
  "children": [
482
453
  {
483
- "type": "stack",
484
- "direction": "horizontal",
485
- "gap": "sm",
486
- "align": "center",
487
- "children": [
488
- {
489
- "type": "icon",
490
- "name": "file-text",
491
- "size": "sm"
492
- },
493
- {
494
- "type": "typography",
495
- "variant": "h4",
496
- "content": "@item.title"
497
- }
498
- ]
454
+ "type": "icon",
455
+ "name": "file-text",
456
+ "size": "lg"
499
457
  },
500
458
  {
501
- "type": "badge",
502
- "label": "@item.slug"
459
+ "type": "typography",
460
+ "content": "Articles",
461
+ "variant": "h2"
503
462
  }
504
463
  ]
505
464
  },
506
465
  {
507
- "type": "typography",
508
- "variant": "caption",
509
- "color": "muted",
510
- "content": "@item.content"
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
+ ]
511
478
  }
512
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"
513
537
  }
514
538
  ]
515
539
  }
@@ -540,120 +564,129 @@
540
564
  "render-ui",
541
565
  "main",
542
566
  {
543
- "type": "stack",
544
- "direction": "vertical",
545
- "gap": "lg",
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
+ ],
546
586
  "children": [
547
587
  {
548
588
  "type": "stack",
549
- "direction": "horizontal",
550
- "gap": "md",
551
- "justify": "space-between",
589
+ "direction": "vertical",
590
+ "gap": "lg",
591
+ "className": "max-w-5xl mx-auto w-full",
552
592
  "children": [
553
593
  {
554
594
  "type": "stack",
555
595
  "direction": "horizontal",
556
- "gap": "sm",
596
+ "gap": "md",
597
+ "justify": "space-between",
557
598
  "align": "center",
558
- "children": [
559
- {
560
- "type": "icon",
561
- "name": "file-text",
562
- "size": "lg"
563
- },
564
- {
565
- "type": "typography",
566
- "content": "Articles",
567
- "variant": "h2"
568
- }
569
- ]
570
- },
571
- {
572
- "type": "stack",
573
- "direction": "horizontal",
574
- "gap": "sm",
575
- "children": [
576
- {
577
- "type": "button",
578
- "label": "Create Article",
579
- "event": "CREATE",
580
- "variant": "primary",
581
- "icon": "plus"
582
- }
583
- ]
584
- }
585
- ]
586
- },
587
- {
588
- "type": "divider"
589
- },
590
- {
591
- "type": "data-grid",
592
- "entity": "Article",
593
- "emptyIcon": "inbox",
594
- "emptyTitle": "No articles yet",
595
- "emptyDescription": "Create your first article to get started.",
596
- "itemActions": [
597
- {
598
- "label": "View",
599
- "event": "VIEW"
600
- },
601
- {
602
- "label": "Edit",
603
- "event": "EDIT"
604
- },
605
- {
606
- "label": "Delete",
607
- "event": "DELETE",
608
- "variant": "danger"
609
- }
610
- ],
611
- "className": "transition-shadow hover:shadow-md cursor-pointer",
612
- "renderItem": [
613
- "fn",
614
- "item",
615
- {
616
- "type": "stack",
617
- "direction": "vertical",
618
- "gap": "sm",
619
599
  "children": [
620
600
  {
621
601
  "type": "stack",
622
602
  "direction": "horizontal",
623
- "justify": "space-between",
603
+ "gap": "sm",
624
604
  "align": "center",
625
605
  "children": [
626
606
  {
627
- "type": "stack",
628
- "direction": "horizontal",
629
- "gap": "sm",
630
- "align": "center",
631
- "children": [
632
- {
633
- "type": "icon",
634
- "name": "file-text",
635
- "size": "sm"
636
- },
637
- {
638
- "type": "typography",
639
- "variant": "h4",
640
- "content": "@item.title"
641
- }
642
- ]
607
+ "type": "icon",
608
+ "name": "file-text",
609
+ "size": "lg"
643
610
  },
644
611
  {
645
- "type": "badge",
646
- "label": "@item.slug"
612
+ "type": "typography",
613
+ "content": "Articles",
614
+ "variant": "h2"
647
615
  }
648
616
  ]
649
617
  },
650
618
  {
651
- "type": "typography",
652
- "variant": "caption",
653
- "color": "muted",
654
- "content": "@item.content"
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
+ ]
655
631
  }
656
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"
657
690
  }
658
691
  ]
659
692
  }
@@ -680,120 +713,129 @@
680
713
  "render-ui",
681
714
  "main",
682
715
  {
683
- "type": "stack",
684
- "direction": "vertical",
685
- "gap": "lg",
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
+ ],
686
735
  "children": [
687
736
  {
688
737
  "type": "stack",
689
- "direction": "horizontal",
690
- "gap": "md",
691
- "justify": "space-between",
738
+ "direction": "vertical",
739
+ "gap": "lg",
740
+ "className": "max-w-5xl mx-auto w-full",
692
741
  "children": [
693
742
  {
694
743
  "type": "stack",
695
744
  "direction": "horizontal",
696
- "gap": "sm",
745
+ "gap": "md",
746
+ "justify": "space-between",
697
747
  "align": "center",
698
- "children": [
699
- {
700
- "type": "icon",
701
- "name": "file-text",
702
- "size": "lg"
703
- },
704
- {
705
- "type": "typography",
706
- "content": "Articles",
707
- "variant": "h2"
708
- }
709
- ]
710
- },
711
- {
712
- "type": "stack",
713
- "direction": "horizontal",
714
- "gap": "sm",
715
- "children": [
716
- {
717
- "type": "button",
718
- "label": "Create Article",
719
- "event": "CREATE",
720
- "variant": "primary",
721
- "icon": "plus"
722
- }
723
- ]
724
- }
725
- ]
726
- },
727
- {
728
- "type": "divider"
729
- },
730
- {
731
- "type": "data-grid",
732
- "entity": "Article",
733
- "emptyIcon": "inbox",
734
- "emptyTitle": "No articles yet",
735
- "emptyDescription": "Create your first article to get started.",
736
- "itemActions": [
737
- {
738
- "label": "View",
739
- "event": "VIEW"
740
- },
741
- {
742
- "label": "Edit",
743
- "event": "EDIT"
744
- },
745
- {
746
- "label": "Delete",
747
- "event": "DELETE",
748
- "variant": "danger"
749
- }
750
- ],
751
- "className": "transition-shadow hover:shadow-md cursor-pointer",
752
- "renderItem": [
753
- "fn",
754
- "item",
755
- {
756
- "type": "stack",
757
- "direction": "vertical",
758
- "gap": "sm",
759
748
  "children": [
760
749
  {
761
750
  "type": "stack",
762
751
  "direction": "horizontal",
763
- "justify": "space-between",
752
+ "gap": "sm",
764
753
  "align": "center",
765
754
  "children": [
766
755
  {
767
- "type": "stack",
768
- "direction": "horizontal",
769
- "gap": "sm",
770
- "align": "center",
771
- "children": [
772
- {
773
- "type": "icon",
774
- "name": "file-text",
775
- "size": "sm"
776
- },
777
- {
778
- "type": "typography",
779
- "variant": "h4",
780
- "content": "@item.title"
781
- }
782
- ]
756
+ "type": "icon",
757
+ "name": "file-text",
758
+ "size": "lg"
783
759
  },
784
760
  {
785
- "type": "badge",
786
- "label": "@item.slug"
761
+ "type": "typography",
762
+ "content": "Articles",
763
+ "variant": "h2"
787
764
  }
788
765
  ]
789
766
  },
790
767
  {
791
- "type": "typography",
792
- "variant": "caption",
793
- "color": "muted",
794
- "content": "@item.content"
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
+ ]
795
780
  }
796
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"
797
839
  }
798
840
  ]
799
841
  }
@@ -951,6 +993,11 @@
951
993
  "render-ui",
952
994
  "modal",
953
995
  null
996
+ ],
997
+ [
998
+ "notify",
999
+ "Cancelled",
1000
+ "info"
954
1001
  ]
955
1002
  ]
956
1003
  },
@@ -1118,6 +1165,11 @@
1118
1165
  "render-ui",
1119
1166
  "modal",
1120
1167
  null
1168
+ ],
1169
+ [
1170
+ "notify",
1171
+ "Cancelled",
1172
+ "info"
1121
1173
  ]
1122
1174
  ]
1123
1175
  },
@@ -1333,7 +1385,7 @@
1333
1385
  {
1334
1386
  "type": "typography",
1335
1387
  "variant": "caption",
1336
- "content": "PublishedAt"
1388
+ "content": "Published At"
1337
1389
  },
1338
1390
  {
1339
1391
  "type": "typography",
@@ -1380,6 +1432,11 @@
1380
1432
  "render-ui",
1381
1433
  "modal",
1382
1434
  null
1435
+ ],
1436
+ [
1437
+ "notify",
1438
+ "Cancelled",
1439
+ "info"
1383
1440
  ]
1384
1441
  ]
1385
1442
  }
@@ -1445,7 +1502,7 @@
1445
1502
  },
1446
1503
  {
1447
1504
  "name": "uploadedAt",
1448
- "type": "string"
1505
+ "type": "date"
1449
1506
  }
1450
1507
  ]
1451
1508
  },
@@ -1518,111 +1575,116 @@
1518
1575
  "render-ui",
1519
1576
  "main",
1520
1577
  {
1521
- "type": "stack",
1522
- "direction": "vertical",
1523
- "gap": "lg",
1578
+ "type": "dashboard-layout",
1579
+ "appName": "CmsApp",
1580
+ "navItems": [
1581
+ {
1582
+ "label": "Articles",
1583
+ "href": "/articles",
1584
+ "icon": "file-text"
1585
+ },
1586
+ {
1587
+ "label": "Media",
1588
+ "href": "/media",
1589
+ "icon": "image"
1590
+ },
1591
+ {
1592
+ "label": "Categories",
1593
+ "href": "/categories",
1594
+ "icon": "folder"
1595
+ }
1596
+ ],
1524
1597
  "children": [
1525
1598
  {
1526
1599
  "type": "stack",
1527
- "direction": "horizontal",
1528
- "gap": "md",
1529
- "justify": "space-between",
1600
+ "direction": "vertical",
1601
+ "gap": "lg",
1602
+ "className": "max-w-5xl mx-auto w-full",
1530
1603
  "children": [
1531
1604
  {
1532
1605
  "type": "stack",
1533
1606
  "direction": "horizontal",
1534
- "gap": "sm",
1607
+ "gap": "md",
1608
+ "justify": "space-between",
1535
1609
  "align": "center",
1536
- "children": [
1537
- {
1538
- "type": "icon",
1539
- "name": "image",
1540
- "size": "lg"
1541
- },
1542
- {
1543
- "type": "typography",
1544
- "content": "Media Library",
1545
- "variant": "h2"
1546
- }
1547
- ]
1548
- },
1549
- {
1550
- "type": "stack",
1551
- "direction": "horizontal",
1552
- "gap": "sm",
1553
- "children": [
1554
- {
1555
- "type": "button",
1556
- "label": "Create MediaAsset",
1557
- "event": "CREATE",
1558
- "variant": "primary",
1559
- "icon": "plus"
1560
- }
1561
- ]
1562
- }
1563
- ]
1564
- },
1565
- {
1566
- "type": "divider"
1567
- },
1568
- {
1569
- "type": "data-grid",
1570
- "entity": "MediaAsset",
1571
- "emptyIcon": "inbox",
1572
- "emptyTitle": "No mediaassets yet",
1573
- "emptyDescription": "Create your first mediaasset to get started.",
1574
- "itemActions": [
1575
- {
1576
- "label": "View",
1577
- "event": "VIEW"
1578
- }
1579
- ],
1580
- "className": "transition-shadow hover:shadow-md cursor-pointer",
1581
- "renderItem": [
1582
- "fn",
1583
- "item",
1584
- {
1585
- "type": "stack",
1586
- "direction": "vertical",
1587
- "gap": "sm",
1588
1610
  "children": [
1589
1611
  {
1590
1612
  "type": "stack",
1591
1613
  "direction": "horizontal",
1592
- "justify": "space-between",
1614
+ "gap": "sm",
1593
1615
  "align": "center",
1594
1616
  "children": [
1595
1617
  {
1596
- "type": "stack",
1597
- "direction": "horizontal",
1598
- "gap": "sm",
1599
- "align": "center",
1600
- "children": [
1601
- {
1602
- "type": "icon",
1603
- "name": "image",
1604
- "size": "sm"
1605
- },
1606
- {
1607
- "type": "typography",
1608
- "variant": "h4",
1609
- "content": "@item.fileName"
1610
- }
1611
- ]
1618
+ "type": "icon",
1619
+ "name": "image",
1620
+ "size": "lg"
1612
1621
  },
1613
1622
  {
1614
- "type": "badge",
1615
- "label": "@item.fileType"
1623
+ "type": "typography",
1624
+ "content": "Media Library",
1625
+ "variant": "h2"
1616
1626
  }
1617
1627
  ]
1618
1628
  },
1619
1629
  {
1620
- "type": "typography",
1621
- "variant": "caption",
1622
- "color": "muted",
1623
- "content": "@item.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
+ ]
1624
1642
  }
1625
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"
1626
1688
  }
1627
1689
  ]
1628
1690
  }
@@ -1767,6 +1829,11 @@
1767
1829
  "render-ui",
1768
1830
  "modal",
1769
1831
  null
1832
+ ],
1833
+ [
1834
+ "notify",
1835
+ "Cancelled",
1836
+ "info"
1770
1837
  ]
1771
1838
  ]
1772
1839
  },
@@ -1897,7 +1964,7 @@
1897
1964
  {
1898
1965
  "type": "typography",
1899
1966
  "variant": "caption",
1900
- "content": "FileName"
1967
+ "content": "File Name"
1901
1968
  },
1902
1969
  {
1903
1970
  "type": "typography",
@@ -1914,7 +1981,7 @@
1914
1981
  {
1915
1982
  "type": "typography",
1916
1983
  "variant": "caption",
1917
- "content": "FileType"
1984
+ "content": "File Type"
1918
1985
  },
1919
1986
  {
1920
1987
  "type": "typography",
@@ -1931,7 +1998,7 @@
1931
1998
  {
1932
1999
  "type": "typography",
1933
2000
  "variant": "caption",
1934
- "content": "FileSize"
2001
+ "content": "File Size"
1935
2002
  },
1936
2003
  {
1937
2004
  "type": "typography",
@@ -1965,7 +2032,7 @@
1965
2032
  {
1966
2033
  "type": "typography",
1967
2034
  "variant": "caption",
1968
- "content": "AltText"
2035
+ "content": "Alt Text"
1969
2036
  },
1970
2037
  {
1971
2038
  "type": "typography",
@@ -1982,7 +2049,7 @@
1982
2049
  {
1983
2050
  "type": "typography",
1984
2051
  "variant": "caption",
1985
- "content": "UploadedAt"
2052
+ "content": "Uploaded At"
1986
2053
  },
1987
2054
  {
1988
2055
  "type": "typography",
@@ -2022,6 +2089,11 @@
2022
2089
  "render-ui",
2023
2090
  "modal",
2024
2091
  null
2092
+ ],
2093
+ [
2094
+ "notify",
2095
+ "Cancelled",
2096
+ "info"
2025
2097
  ]
2026
2098
  ]
2027
2099
  }
@@ -2205,120 +2277,125 @@
2205
2277
  "render-ui",
2206
2278
  "main",
2207
2279
  {
2208
- "type": "stack",
2209
- "direction": "vertical",
2210
- "gap": "lg",
2211
- "children": [
2280
+ "type": "dashboard-layout",
2281
+ "appName": "CmsApp",
2282
+ "navItems": [
2212
2283
  {
2213
- "type": "stack",
2214
- "direction": "horizontal",
2215
- "gap": "md",
2216
- "justify": "space-between",
2217
- "children": [
2218
- {
2219
- "type": "stack",
2220
- "direction": "horizontal",
2221
- "gap": "sm",
2222
- "align": "center",
2223
- "children": [
2224
- {
2225
- "type": "icon",
2226
- "name": "folder",
2227
- "size": "lg"
2228
- },
2229
- {
2230
- "type": "typography",
2231
- "content": "Categories",
2232
- "variant": "h2"
2233
- }
2234
- ]
2235
- },
2236
- {
2237
- "type": "stack",
2238
- "direction": "horizontal",
2239
- "gap": "sm",
2240
- "children": [
2241
- {
2242
- "type": "button",
2243
- "label": "Create Category",
2244
- "event": "CREATE",
2245
- "variant": "primary",
2246
- "icon": "plus"
2247
- }
2248
- ]
2249
- }
2250
- ]
2284
+ "label": "Articles",
2285
+ "href": "/articles",
2286
+ "icon": "file-text"
2251
2287
  },
2252
2288
  {
2253
- "type": "divider"
2289
+ "label": "Media",
2290
+ "href": "/media",
2291
+ "icon": "image"
2254
2292
  },
2255
2293
  {
2256
- "type": "data-grid",
2257
- "entity": "Category",
2258
- "emptyIcon": "inbox",
2259
- "emptyTitle": "No categorys yet",
2260
- "emptyDescription": "Create your first category to get started.",
2261
- "itemActions": [
2262
- {
2263
- "label": "View",
2264
- "event": "VIEW"
2265
- },
2266
- {
2267
- "label": "Edit",
2268
- "event": "EDIT"
2269
- },
2270
- {
2271
- "label": "Delete",
2272
- "event": "DELETE",
2273
- "variant": "danger"
2274
- }
2275
- ],
2276
- "className": "transition-shadow hover:shadow-md cursor-pointer",
2277
- "renderItem": [
2278
- "fn",
2279
- "item",
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",
2305
+ "children": [
2280
2306
  {
2281
2307
  "type": "stack",
2282
- "direction": "vertical",
2283
- "gap": "sm",
2308
+ "direction": "horizontal",
2309
+ "gap": "md",
2310
+ "justify": "space-between",
2311
+ "align": "center",
2284
2312
  "children": [
2285
2313
  {
2286
2314
  "type": "stack",
2287
2315
  "direction": "horizontal",
2288
- "justify": "space-between",
2316
+ "gap": "sm",
2289
2317
  "align": "center",
2290
2318
  "children": [
2291
2319
  {
2292
- "type": "stack",
2293
- "direction": "horizontal",
2294
- "gap": "sm",
2295
- "align": "center",
2296
- "children": [
2297
- {
2298
- "type": "icon",
2299
- "name": "folder",
2300
- "size": "sm"
2301
- },
2302
- {
2303
- "type": "typography",
2304
- "variant": "h4",
2305
- "content": "@item.name"
2306
- }
2307
- ]
2320
+ "type": "icon",
2321
+ "name": "folder",
2322
+ "size": "lg"
2308
2323
  },
2309
2324
  {
2310
- "type": "badge",
2311
- "label": "@item.slug"
2325
+ "type": "typography",
2326
+ "content": "Categories",
2327
+ "variant": "h2"
2312
2328
  }
2313
2329
  ]
2314
2330
  },
2315
2331
  {
2316
- "type": "typography",
2317
- "variant": "caption",
2318
- "color": "muted",
2319
- "content": "@item.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
+ ]
2320
2344
  }
2321
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"
2322
2399
  }
2323
2400
  ]
2324
2401
  }
@@ -2442,120 +2519,125 @@
2442
2519
  "render-ui",
2443
2520
  "main",
2444
2521
  {
2445
- "type": "stack",
2446
- "direction": "vertical",
2447
- "gap": "lg",
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
+ ],
2448
2541
  "children": [
2449
2542
  {
2450
2543
  "type": "stack",
2451
- "direction": "horizontal",
2452
- "gap": "md",
2453
- "justify": "space-between",
2544
+ "direction": "vertical",
2545
+ "gap": "lg",
2546
+ "className": "max-w-5xl mx-auto w-full",
2454
2547
  "children": [
2455
2548
  {
2456
2549
  "type": "stack",
2457
2550
  "direction": "horizontal",
2458
- "gap": "sm",
2551
+ "gap": "md",
2552
+ "justify": "space-between",
2459
2553
  "align": "center",
2460
- "children": [
2461
- {
2462
- "type": "icon",
2463
- "name": "folder",
2464
- "size": "lg"
2465
- },
2466
- {
2467
- "type": "typography",
2468
- "content": "Categories",
2469
- "variant": "h2"
2470
- }
2471
- ]
2472
- },
2473
- {
2474
- "type": "stack",
2475
- "direction": "horizontal",
2476
- "gap": "sm",
2477
- "children": [
2478
- {
2479
- "type": "button",
2480
- "label": "Create Category",
2481
- "event": "CREATE",
2482
- "variant": "primary",
2483
- "icon": "plus"
2484
- }
2485
- ]
2486
- }
2487
- ]
2488
- },
2489
- {
2490
- "type": "divider"
2491
- },
2492
- {
2493
- "type": "data-grid",
2494
- "entity": "Category",
2495
- "emptyIcon": "inbox",
2496
- "emptyTitle": "No categorys yet",
2497
- "emptyDescription": "Create your first category to get started.",
2498
- "itemActions": [
2499
- {
2500
- "label": "View",
2501
- "event": "VIEW"
2502
- },
2503
- {
2504
- "label": "Edit",
2505
- "event": "EDIT"
2506
- },
2507
- {
2508
- "label": "Delete",
2509
- "event": "DELETE",
2510
- "variant": "danger"
2511
- }
2512
- ],
2513
- "className": "transition-shadow hover:shadow-md cursor-pointer",
2514
- "renderItem": [
2515
- "fn",
2516
- "item",
2517
- {
2518
- "type": "stack",
2519
- "direction": "vertical",
2520
- "gap": "sm",
2521
2554
  "children": [
2522
2555
  {
2523
2556
  "type": "stack",
2524
2557
  "direction": "horizontal",
2525
- "justify": "space-between",
2558
+ "gap": "sm",
2526
2559
  "align": "center",
2527
2560
  "children": [
2528
2561
  {
2529
- "type": "stack",
2530
- "direction": "horizontal",
2531
- "gap": "sm",
2532
- "align": "center",
2533
- "children": [
2534
- {
2535
- "type": "icon",
2536
- "name": "folder",
2537
- "size": "sm"
2538
- },
2539
- {
2540
- "type": "typography",
2541
- "variant": "h4",
2542
- "content": "@item.name"
2543
- }
2544
- ]
2562
+ "type": "icon",
2563
+ "name": "folder",
2564
+ "size": "lg"
2545
2565
  },
2546
2566
  {
2547
- "type": "badge",
2548
- "label": "@item.slug"
2567
+ "type": "typography",
2568
+ "content": "Categories",
2569
+ "variant": "h2"
2549
2570
  }
2550
2571
  ]
2551
2572
  },
2552
2573
  {
2553
- "type": "typography",
2554
- "variant": "caption",
2555
- "color": "muted",
2556
- "content": "@item.description"
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
+ ]
2557
2586
  }
2558
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"
2559
2641
  }
2560
2642
  ]
2561
2643
  }
@@ -2586,120 +2668,125 @@
2586
2668
  "render-ui",
2587
2669
  "main",
2588
2670
  {
2589
- "type": "stack",
2590
- "direction": "vertical",
2591
- "gap": "lg",
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
+ ],
2592
2690
  "children": [
2593
2691
  {
2594
2692
  "type": "stack",
2595
- "direction": "horizontal",
2596
- "gap": "md",
2597
- "justify": "space-between",
2693
+ "direction": "vertical",
2694
+ "gap": "lg",
2695
+ "className": "max-w-5xl mx-auto w-full",
2598
2696
  "children": [
2599
2697
  {
2600
2698
  "type": "stack",
2601
2699
  "direction": "horizontal",
2602
- "gap": "sm",
2700
+ "gap": "md",
2701
+ "justify": "space-between",
2603
2702
  "align": "center",
2604
- "children": [
2605
- {
2606
- "type": "icon",
2607
- "name": "folder",
2608
- "size": "lg"
2609
- },
2610
- {
2611
- "type": "typography",
2612
- "content": "Categories",
2613
- "variant": "h2"
2614
- }
2615
- ]
2616
- },
2617
- {
2618
- "type": "stack",
2619
- "direction": "horizontal",
2620
- "gap": "sm",
2621
- "children": [
2622
- {
2623
- "type": "button",
2624
- "label": "Create Category",
2625
- "event": "CREATE",
2626
- "variant": "primary",
2627
- "icon": "plus"
2628
- }
2629
- ]
2630
- }
2631
- ]
2632
- },
2633
- {
2634
- "type": "divider"
2635
- },
2636
- {
2637
- "type": "data-grid",
2638
- "entity": "Category",
2639
- "emptyIcon": "inbox",
2640
- "emptyTitle": "No categorys yet",
2641
- "emptyDescription": "Create your first category to get started.",
2642
- "itemActions": [
2643
- {
2644
- "label": "View",
2645
- "event": "VIEW"
2646
- },
2647
- {
2648
- "label": "Edit",
2649
- "event": "EDIT"
2650
- },
2651
- {
2652
- "label": "Delete",
2653
- "event": "DELETE",
2654
- "variant": "danger"
2655
- }
2656
- ],
2657
- "className": "transition-shadow hover:shadow-md cursor-pointer",
2658
- "renderItem": [
2659
- "fn",
2660
- "item",
2661
- {
2662
- "type": "stack",
2663
- "direction": "vertical",
2664
- "gap": "sm",
2665
2703
  "children": [
2666
2704
  {
2667
2705
  "type": "stack",
2668
2706
  "direction": "horizontal",
2669
- "justify": "space-between",
2707
+ "gap": "sm",
2670
2708
  "align": "center",
2671
2709
  "children": [
2672
2710
  {
2673
- "type": "stack",
2674
- "direction": "horizontal",
2675
- "gap": "sm",
2676
- "align": "center",
2677
- "children": [
2678
- {
2679
- "type": "icon",
2680
- "name": "folder",
2681
- "size": "sm"
2682
- },
2683
- {
2684
- "type": "typography",
2685
- "variant": "h4",
2686
- "content": "@item.name"
2687
- }
2688
- ]
2711
+ "type": "icon",
2712
+ "name": "folder",
2713
+ "size": "lg"
2689
2714
  },
2690
2715
  {
2691
- "type": "badge",
2692
- "label": "@item.slug"
2716
+ "type": "typography",
2717
+ "content": "Categories",
2718
+ "variant": "h2"
2693
2719
  }
2694
2720
  ]
2695
2721
  },
2696
2722
  {
2697
- "type": "typography",
2698
- "variant": "caption",
2699
- "color": "muted",
2700
- "content": "@item.description"
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
+ ]
2701
2735
  }
2702
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"
2703
2790
  }
2704
2791
  ]
2705
2792
  }
@@ -2726,120 +2813,125 @@
2726
2813
  "render-ui",
2727
2814
  "main",
2728
2815
  {
2729
- "type": "stack",
2730
- "direction": "vertical",
2731
- "gap": "lg",
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
+ ],
2732
2835
  "children": [
2733
2836
  {
2734
2837
  "type": "stack",
2735
- "direction": "horizontal",
2736
- "gap": "md",
2737
- "justify": "space-between",
2838
+ "direction": "vertical",
2839
+ "gap": "lg",
2840
+ "className": "max-w-5xl mx-auto w-full",
2738
2841
  "children": [
2739
2842
  {
2740
2843
  "type": "stack",
2741
2844
  "direction": "horizontal",
2742
- "gap": "sm",
2845
+ "gap": "md",
2846
+ "justify": "space-between",
2743
2847
  "align": "center",
2744
- "children": [
2745
- {
2746
- "type": "icon",
2747
- "name": "folder",
2748
- "size": "lg"
2749
- },
2750
- {
2751
- "type": "typography",
2752
- "content": "Categories",
2753
- "variant": "h2"
2754
- }
2755
- ]
2756
- },
2757
- {
2758
- "type": "stack",
2759
- "direction": "horizontal",
2760
- "gap": "sm",
2761
- "children": [
2762
- {
2763
- "type": "button",
2764
- "label": "Create Category",
2765
- "event": "CREATE",
2766
- "variant": "primary",
2767
- "icon": "plus"
2768
- }
2769
- ]
2770
- }
2771
- ]
2772
- },
2773
- {
2774
- "type": "divider"
2775
- },
2776
- {
2777
- "type": "data-grid",
2778
- "entity": "Category",
2779
- "emptyIcon": "inbox",
2780
- "emptyTitle": "No categorys yet",
2781
- "emptyDescription": "Create your first category to get started.",
2782
- "itemActions": [
2783
- {
2784
- "label": "View",
2785
- "event": "VIEW"
2786
- },
2787
- {
2788
- "label": "Edit",
2789
- "event": "EDIT"
2790
- },
2791
- {
2792
- "label": "Delete",
2793
- "event": "DELETE",
2794
- "variant": "danger"
2795
- }
2796
- ],
2797
- "className": "transition-shadow hover:shadow-md cursor-pointer",
2798
- "renderItem": [
2799
- "fn",
2800
- "item",
2801
- {
2802
- "type": "stack",
2803
- "direction": "vertical",
2804
- "gap": "sm",
2805
2848
  "children": [
2806
2849
  {
2807
2850
  "type": "stack",
2808
2851
  "direction": "horizontal",
2809
- "justify": "space-between",
2852
+ "gap": "sm",
2810
2853
  "align": "center",
2811
2854
  "children": [
2812
2855
  {
2813
- "type": "stack",
2814
- "direction": "horizontal",
2815
- "gap": "sm",
2816
- "align": "center",
2817
- "children": [
2818
- {
2819
- "type": "icon",
2820
- "name": "folder",
2821
- "size": "sm"
2822
- },
2823
- {
2824
- "type": "typography",
2825
- "variant": "h4",
2826
- "content": "@item.name"
2827
- }
2828
- ]
2856
+ "type": "icon",
2857
+ "name": "folder",
2858
+ "size": "lg"
2829
2859
  },
2830
2860
  {
2831
- "type": "badge",
2832
- "label": "@item.slug"
2861
+ "type": "typography",
2862
+ "content": "Categories",
2863
+ "variant": "h2"
2833
2864
  }
2834
2865
  ]
2835
2866
  },
2836
2867
  {
2837
- "type": "typography",
2838
- "variant": "caption",
2839
- "color": "muted",
2840
- "content": "@item.description"
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
+ ]
2841
2880
  }
2842
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"
2843
2935
  }
2844
2936
  ]
2845
2937
  }
@@ -2972,6 +3064,11 @@
2972
3064
  "render-ui",
2973
3065
  "modal",
2974
3066
  null
3067
+ ],
3068
+ [
3069
+ "notify",
3070
+ "Cancelled",
3071
+ "info"
2975
3072
  ]
2976
3073
  ]
2977
3074
  },
@@ -3138,6 +3235,11 @@
3138
3235
  "render-ui",
3139
3236
  "modal",
3140
3237
  null
3238
+ ],
3239
+ [
3240
+ "notify",
3241
+ "Cancelled",
3242
+ "info"
3141
3243
  ]
3142
3244
  ]
3143
3245
  },
@@ -3319,7 +3421,7 @@
3319
3421
  {
3320
3422
  "type": "typography",
3321
3423
  "variant": "caption",
3322
- "content": "ParentCategory"
3424
+ "content": "Parent Category"
3323
3425
  },
3324
3426
  {
3325
3427
  "type": "typography",
@@ -3336,7 +3438,7 @@
3336
3438
  {
3337
3439
  "type": "typography",
3338
3440
  "variant": "caption",
3339
- "content": "ArticleCount"
3441
+ "content": "Article Count"
3340
3442
  },
3341
3443
  {
3342
3444
  "type": "typography",
@@ -3383,6 +3485,11 @@
3383
3485
  "render-ui",
3384
3486
  "modal",
3385
3487
  null
3488
+ ],
3489
+ [
3490
+ "notify",
3491
+ "Cancelled",
3492
+ "info"
3386
3493
  ]
3387
3494
  ]
3388
3495
  }