@origen-ui/admin-cli 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (430) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +17 -0
  3. package/bin/og-admin.mjs +131 -0
  4. package/package.json +28 -0
  5. package/templates/current/clean/.codebuddy/AGENTS.md +18 -0
  6. package/templates/current/clean/.codebuddy/rules/01-feature-architecture.md +12 -0
  7. package/templates/current/clean/.codebuddy/rules/02-vue-typescript.md +12 -0
  8. package/templates/current/clean/.codebuddy/rules/03-component-policy.md +30 -0
  9. package/templates/current/clean/.codebuddy/rules/04-api-auth-router.md +12 -0
  10. package/templates/current/clean/.codebuddy/rules/05-style.md +12 -0
  11. package/templates/current/clean/.codebuddy/rules/06-quality.md +12 -0
  12. package/templates/current/clean/.codebuddy/skills/build-admin-feature/SKILL.md +17 -0
  13. package/templates/current/clean/.codebuddy/skills/style-og-origen-ui/SKILL.md +14 -0
  14. package/templates/current/clean/.codebuddy/skills/use-og-dialog/SKILL.md +15 -0
  15. package/templates/current/clean/.codebuddy/skills/use-og-editor/SKILL.md +28 -0
  16. package/templates/current/clean/.codebuddy/skills/use-og-form/SKILL.md +15 -0
  17. package/templates/current/clean/.codebuddy/skills/use-og-form-table/SKILL.md +28 -0
  18. package/templates/current/clean/.codebuddy/skills/use-og-http/SKILL.md +16 -0
  19. package/templates/current/clean/.codebuddy/skills/use-og-router-tabs/SKILL.md +14 -0
  20. package/templates/current/clean/.codebuddy/skills/use-og-search/SKILL.md +17 -0
  21. package/templates/current/clean/.codebuddy/skills/use-og-table/SKILL.md +19 -0
  22. package/templates/current/clean/.codebuddy/skills/use-og-upload/SKILL.md +28 -0
  23. package/templates/current/clean/.codex/AGENTS.md +15 -0
  24. package/templates/current/clean/.codex/rules/01-feature-architecture.md +6 -0
  25. package/templates/current/clean/.codex/rules/02-vue-typescript.md +6 -0
  26. package/templates/current/clean/.codex/rules/03-component-policy.md +24 -0
  27. package/templates/current/clean/.codex/rules/04-api-auth-router.md +6 -0
  28. package/templates/current/clean/.codex/rules/05-style.md +6 -0
  29. package/templates/current/clean/.codex/rules/06-quality.md +6 -0
  30. package/templates/current/clean/.codex/skills/build-admin-feature/SKILL.md +14 -0
  31. package/templates/current/clean/.codex/skills/build-admin-feature/references/component-selection.md +25 -0
  32. package/templates/current/clean/.codex/skills/style-og-origen-ui/SKILL.md +11 -0
  33. package/templates/current/clean/.codex/skills/style-og-origen-ui/agents/openai.yaml +4 -0
  34. package/templates/current/clean/.codex/skills/use-og-dialog/SKILL.md +12 -0
  35. package/templates/current/clean/.codex/skills/use-og-dialog/agents/openai.yaml +4 -0
  36. package/templates/current/clean/.codex/skills/use-og-editor/SKILL.md +25 -0
  37. package/templates/current/clean/.codex/skills/use-og-form/SKILL.md +12 -0
  38. package/templates/current/clean/.codex/skills/use-og-form-table/SKILL.md +25 -0
  39. package/templates/current/clean/.codex/skills/use-og-http/SKILL.md +13 -0
  40. package/templates/current/clean/.codex/skills/use-og-http/agents/openai.yaml +4 -0
  41. package/templates/current/clean/.codex/skills/use-og-router-tabs/SKILL.md +11 -0
  42. package/templates/current/clean/.codex/skills/use-og-search/SKILL.md +14 -0
  43. package/templates/current/clean/.codex/skills/use-og-table/SKILL.md +16 -0
  44. package/templates/current/clean/.codex/skills/use-og-upload/SKILL.md +25 -0
  45. package/templates/current/clean/.cursor/AGENTS.md +18 -0
  46. package/templates/current/clean/.cursor/rules/01-feature-architecture.mdc +12 -0
  47. package/templates/current/clean/.cursor/rules/02-vue-typescript.mdc +12 -0
  48. package/templates/current/clean/.cursor/rules/03-component-policy.mdc +30 -0
  49. package/templates/current/clean/.cursor/rules/04-api-auth-router.mdc +12 -0
  50. package/templates/current/clean/.cursor/rules/05-style.mdc +12 -0
  51. package/templates/current/clean/.cursor/rules/06-quality.mdc +12 -0
  52. package/templates/current/clean/.cursor/skills/build-admin-feature/SKILL.md +14 -0
  53. package/templates/current/clean/.cursor/skills/style-og-origen-ui/SKILL.md +11 -0
  54. package/templates/current/clean/.cursor/skills/use-og-dialog/SKILL.md +12 -0
  55. package/templates/current/clean/.cursor/skills/use-og-editor/SKILL.md +25 -0
  56. package/templates/current/clean/.cursor/skills/use-og-form/SKILL.md +12 -0
  57. package/templates/current/clean/.cursor/skills/use-og-form-table/SKILL.md +25 -0
  58. package/templates/current/clean/.cursor/skills/use-og-http/SKILL.md +13 -0
  59. package/templates/current/clean/.cursor/skills/use-og-router-tabs/SKILL.md +11 -0
  60. package/templates/current/clean/.cursor/skills/use-og-search/SKILL.md +14 -0
  61. package/templates/current/clean/.cursor/skills/use-og-table/SKILL.md +16 -0
  62. package/templates/current/clean/.cursor/skills/use-og-upload/SKILL.md +25 -0
  63. package/templates/current/clean/.env.example +7 -0
  64. package/templates/current/clean/.env.production.example +31 -0
  65. package/templates/current/clean/.qoder/AGENTS.md +15 -0
  66. package/templates/current/clean/.qoder/rules/01-feature-architecture.md +12 -0
  67. package/templates/current/clean/.qoder/rules/02-vue-typescript.md +12 -0
  68. package/templates/current/clean/.qoder/rules/03-component-policy.md +30 -0
  69. package/templates/current/clean/.qoder/rules/04-api-auth-router.md +12 -0
  70. package/templates/current/clean/.qoder/rules/05-style.md +12 -0
  71. package/templates/current/clean/.qoder/rules/06-quality.md +12 -0
  72. package/templates/current/clean/.qoder/skills/build-admin-feature/SKILL.md +14 -0
  73. package/templates/current/clean/.qoder/skills/style-og-origen-ui/SKILL.md +11 -0
  74. package/templates/current/clean/.qoder/skills/use-og-dialog/SKILL.md +12 -0
  75. package/templates/current/clean/.qoder/skills/use-og-editor/SKILL.md +25 -0
  76. package/templates/current/clean/.qoder/skills/use-og-form/SKILL.md +12 -0
  77. package/templates/current/clean/.qoder/skills/use-og-form-table/SKILL.md +25 -0
  78. package/templates/current/clean/.qoder/skills/use-og-http/SKILL.md +13 -0
  79. package/templates/current/clean/.qoder/skills/use-og-router-tabs/SKILL.md +11 -0
  80. package/templates/current/clean/.qoder/skills/use-og-search/SKILL.md +14 -0
  81. package/templates/current/clean/.qoder/skills/use-og-table/SKILL.md +16 -0
  82. package/templates/current/clean/.qoder/skills/use-og-upload/SKILL.md +25 -0
  83. package/templates/current/clean/AGENTS.md +16 -0
  84. package/templates/current/clean/README.md +116 -0
  85. package/templates/current/clean/component-catalog.json +765 -0
  86. package/templates/current/clean/e2e/admin-shell.spec.ts +150 -0
  87. package/templates/current/clean/e2e/demo-shell.spec.ts +328 -0
  88. package/templates/current/clean/evals/component-selection.json +29 -0
  89. package/templates/current/clean/gitignore +3 -0
  90. package/templates/current/clean/index.html +13 -0
  91. package/templates/current/clean/openapi.json +1623 -0
  92. package/templates/current/clean/package.json +65 -0
  93. package/templates/current/clean/playwright.config.ts +31 -0
  94. package/templates/current/clean/playwright.demo.config.ts +25 -0
  95. package/templates/current/clean/recipes/README.md +7 -0
  96. package/templates/current/clean/recipes/remote-crud-dialog-form.json +15 -0
  97. package/templates/current/clean/recipes/remote-crud-dialog-form.vue +66 -0
  98. package/templates/current/clean/scaffold.lock.json +12 -0
  99. package/templates/current/clean/scripts/check-admin-bundle.mjs +214 -0
  100. package/templates/current/clean/scripts/check-admin-scaffold.mjs +168 -0
  101. package/templates/current/clean/scripts/clean-overlay/src/features/errors/pages/Forbidden.vue +26 -0
  102. package/templates/current/clean/scripts/clean-overlay/src/features/errors/pages/NotFound.vue +26 -0
  103. package/templates/current/clean/scripts/clean-overlay/src/features/errors/pages/ServerError.vue +26 -0
  104. package/templates/current/clean/scripts/clean-overlay/src/features/errors/pages/error-pages.spec.ts +32 -0
  105. package/templates/current/clean/scripts/clean-overlay/src/main.ts +91 -0
  106. package/templates/current/clean/scripts/clean-overlay/src/router/componentRegistry.ts +25 -0
  107. package/templates/current/clean/scripts/clean-overlay/src/router/dynamicRoutes.spec.ts +47 -0
  108. package/templates/current/clean/scripts/clean-overlay/src/router/staticRoutes.ts +63 -0
  109. package/templates/current/clean/scripts/demo-api.ts +797 -0
  110. package/templates/current/clean/scripts/generate-api.ts +27 -0
  111. package/templates/current/clean/scripts/performance/baselines/bundle-gzip-v2-pre-entry-unification.json +38 -0
  112. package/templates/current/clean/scripts/remove-examples.mjs +54 -0
  113. package/templates/current/clean/src/App.vue +67 -0
  114. package/templates/current/clean/src/api/client.spec.ts +66 -0
  115. package/templates/current/clean/src/api/client.ts +72 -0
  116. package/templates/current/clean/src/api/generated/data-contracts.ts +268 -0
  117. package/templates/current/clean/src/api/generated/http-client.ts +266 -0
  118. package/templates/current/clean/src/api/generated//347/263/273/347/273/237/347/256/241/347/220/206/345/206/205/345/256/271/346/226/207/347/253/240.ts +147 -0
  119. package/templates/current/clean/src/api/generated//347/263/273/347/273/237/347/256/241/347/220/206/345/256/241/350/256/241.ts +53 -0
  120. package/templates/current/clean/src/api/generated//347/263/273/347/273/237/347/256/241/347/220/206/346/226/207/344/273/266/344/270/212/344/274/240.ts +66 -0
  121. package/templates/current/clean/src/api/generated//347/263/273/347/273/237/347/256/241/347/220/206/347/224/250/346/210/267.ts +171 -0
  122. package/templates/current/clean/src/api/generated//347/263/273/347/273/237/347/256/241/347/220/206/350/217/234/345/215/225.ts +181 -0
  123. package/templates/current/clean/src/api/generated//347/263/273/347/273/237/347/256/241/347/220/206/350/247/222/350/211/262.ts +169 -0
  124. package/templates/current/clean/src/api/generated//347/263/273/347/273/237/347/256/241/347/220/206/350/256/242/345/215/225/350/215/211/347/250/277.ts +170 -0
  125. package/templates/current/clean/src/api/generated//350/256/244/350/257/201.ts +98 -0
  126. package/templates/current/clean/src/api/http-adapter.spec.ts +33 -0
  127. package/templates/current/clean/src/api/http-adapter.ts +83 -0
  128. package/templates/current/clean/src/api/index.ts +41 -0
  129. package/templates/current/clean/src/app/createAdminUi.spec.ts +110 -0
  130. package/templates/current/clean/src/app/createAdminUi.ts +78 -0
  131. package/templates/current/clean/src/app/menu.spec.ts +255 -0
  132. package/templates/current/clean/src/app/menu.ts +268 -0
  133. package/templates/current/clean/src/app/menuTypes.ts +17 -0
  134. package/templates/current/clean/src/app/origenUiLocale.spec.ts +14 -0
  135. package/templates/current/clean/src/app/origenUiLocale.ts +65 -0
  136. package/templates/current/clean/src/app/permission.ts +9 -0
  137. package/templates/current/clean/src/app/runtimeConfig.ts +77 -0
  138. package/templates/current/clean/src/demo-api.spec.ts +167 -0
  139. package/templates/current/clean/src/env.d.ts +14 -0
  140. package/templates/current/clean/src/features/appearance/components/ThemePanel.vue +200 -0
  141. package/templates/current/clean/src/features/appearance/composables/useTheme.ts +17 -0
  142. package/templates/current/clean/src/features/appearance/store/theme.ts +140 -0
  143. package/templates/current/clean/src/features/auth/pages/Login.vue +159 -0
  144. package/templates/current/clean/src/features/auth/store/auth.spec.ts +131 -0
  145. package/templates/current/clean/src/features/auth/store/auth.ts +210 -0
  146. package/templates/current/clean/src/features/errors/pages/Forbidden.vue +26 -0
  147. package/templates/current/clean/src/features/errors/pages/NotFound.vue +26 -0
  148. package/templates/current/clean/src/features/errors/pages/ServerError.vue +26 -0
  149. package/templates/current/clean/src/features/errors/pages/error-pages.spec.ts +32 -0
  150. package/templates/current/clean/src/features/security/components/DevtoolsProtectionOverlay.vue +56 -0
  151. package/templates/current/clean/src/features/security/devtoolsProtection.spec.ts +211 -0
  152. package/templates/current/clean/src/features/security/devtoolsProtection.ts +242 -0
  153. package/templates/current/clean/src/features/shell/components/AdminWatermark.spec.ts +90 -0
  154. package/templates/current/clean/src/features/shell/components/AdminWatermark.vue +47 -0
  155. package/templates/current/clean/src/features/shell/components/RouteProgress.vue +68 -0
  156. package/templates/current/clean/src/features/shell/composables/useRouteProgress.spec.ts +95 -0
  157. package/templates/current/clean/src/features/shell/composables/useRouteProgress.ts +52 -0
  158. package/templates/current/clean/src/features/shell/store/sidebar.ts +55 -0
  159. package/templates/current/clean/src/features/system/access/api/admin-repository.ts +279 -0
  160. package/templates/current/clean/src/features/system/access/api/rbac.spec.ts +72 -0
  161. package/templates/current/clean/src/features/system/access/api/rbac.ts +272 -0
  162. package/templates/current/clean/src/features/system/access/composables/useAuthorizationRefresh.ts +15 -0
  163. package/templates/current/clean/src/features/workspace/pages/Empty.vue +18 -0
  164. package/templates/current/clean/src/features/workspace/pages/Profile.vue +183 -0
  165. package/templates/current/clean/src/layouts/AdminLayout.vue +61 -0
  166. package/templates/current/clean/src/layouts/BreadcrumbBar.vue +27 -0
  167. package/templates/current/clean/src/layouts/SideMenu.vue +119 -0
  168. package/templates/current/clean/src/layouts/TopBar.vue +301 -0
  169. package/templates/current/clean/src/layouts/WorkspaceTabs.vue +44 -0
  170. package/templates/current/clean/src/layouts/topBarMenuSearch.spec.ts +31 -0
  171. package/templates/current/clean/src/layouts/topBarMenuSearch.ts +21 -0
  172. package/templates/current/clean/src/locales/en-US.ts +55 -0
  173. package/templates/current/clean/src/locales/index.ts +119 -0
  174. package/templates/current/clean/src/locales/messages.spec.ts +23 -0
  175. package/templates/current/clean/src/locales/zh-CN.ts +55 -0
  176. package/templates/current/clean/src/locales/zh-TW.ts +44 -0
  177. package/templates/current/clean/src/main.ts +91 -0
  178. package/templates/current/clean/src/router/bootstrap.ts +76 -0
  179. package/templates/current/clean/src/router/componentRegistry.ts +25 -0
  180. package/templates/current/clean/src/router/dynamicRoutes.spec.ts +47 -0
  181. package/templates/current/clean/src/router/dynamicRoutes.ts +162 -0
  182. package/templates/current/clean/src/router/guards.ts +5 -0
  183. package/templates/current/clean/src/router/queryEncryption.spec.ts +82 -0
  184. package/templates/current/clean/src/router/queryEncryption.ts +133 -0
  185. package/templates/current/clean/src/router/routeQuery.spec.ts +11 -0
  186. package/templates/current/clean/src/router/routeQuery.ts +3 -0
  187. package/templates/current/clean/src/router/runtimeErrorRecovery.spec.ts +161 -0
  188. package/templates/current/clean/src/router/runtimeErrorRecovery.ts +108 -0
  189. package/templates/current/clean/src/router/staticRoutes.ts +63 -0
  190. package/templates/current/clean/src/router/useRouteQueryDefaults.spec.ts +90 -0
  191. package/templates/current/clean/src/router/useRouteQueryDefaults.ts +51 -0
  192. package/templates/current/clean/src/router/useRouteQueryDefaults.types.ts +19 -0
  193. package/templates/current/clean/src/store/index.ts +3 -0
  194. package/templates/current/clean/src/styles/element/index.scss +33 -0
  195. package/templates/current/clean/src/styles/index.css +39 -0
  196. package/templates/current/clean/src/styles/layout.css +115 -0
  197. package/templates/current/clean/src/styles/shell.css +196 -0
  198. package/templates/current/clean/src/styles/source-package-style-compat.css +1 -0
  199. package/templates/current/clean/src/templates/og-form.ts +48 -0
  200. package/templates/current/clean/src/templates/og-table.ts +212 -0
  201. package/templates/current/clean/src/templates/router.ts +51 -0
  202. package/templates/current/clean/src/templates/templates.spec.ts +90 -0
  203. package/templates/current/clean/src/theme/index.ts +7 -0
  204. package/templates/current/clean/src/utils/__tests__/color-mix.spec.ts +39 -0
  205. package/templates/current/clean/src/utils/color-mix.ts +76 -0
  206. package/templates/current/clean/src/utils/permissions.ts +6 -0
  207. package/templates/current/clean/tsconfig.json +40 -0
  208. package/templates/current/clean/tsconfig.node.json +9 -0
  209. package/templates/current/clean/vite.build-policy.ts +405 -0
  210. package/templates/current/clean/vite.config.ts +37 -0
  211. package/templates/current/examples/.codebuddy/AGENTS.md +18 -0
  212. package/templates/current/examples/.codebuddy/rules/01-feature-architecture.md +12 -0
  213. package/templates/current/examples/.codebuddy/rules/02-vue-typescript.md +12 -0
  214. package/templates/current/examples/.codebuddy/rules/03-component-policy.md +30 -0
  215. package/templates/current/examples/.codebuddy/rules/04-api-auth-router.md +12 -0
  216. package/templates/current/examples/.codebuddy/rules/05-style.md +12 -0
  217. package/templates/current/examples/.codebuddy/rules/06-quality.md +12 -0
  218. package/templates/current/examples/.codebuddy/skills/build-admin-feature/SKILL.md +17 -0
  219. package/templates/current/examples/.codebuddy/skills/style-og-origen-ui/SKILL.md +14 -0
  220. package/templates/current/examples/.codebuddy/skills/use-og-dialog/SKILL.md +15 -0
  221. package/templates/current/examples/.codebuddy/skills/use-og-editor/SKILL.md +28 -0
  222. package/templates/current/examples/.codebuddy/skills/use-og-form/SKILL.md +15 -0
  223. package/templates/current/examples/.codebuddy/skills/use-og-form-table/SKILL.md +28 -0
  224. package/templates/current/examples/.codebuddy/skills/use-og-http/SKILL.md +16 -0
  225. package/templates/current/examples/.codebuddy/skills/use-og-router-tabs/SKILL.md +14 -0
  226. package/templates/current/examples/.codebuddy/skills/use-og-search/SKILL.md +17 -0
  227. package/templates/current/examples/.codebuddy/skills/use-og-table/SKILL.md +19 -0
  228. package/templates/current/examples/.codebuddy/skills/use-og-upload/SKILL.md +28 -0
  229. package/templates/current/examples/.codex/AGENTS.md +15 -0
  230. package/templates/current/examples/.codex/rules/01-feature-architecture.md +6 -0
  231. package/templates/current/examples/.codex/rules/02-vue-typescript.md +6 -0
  232. package/templates/current/examples/.codex/rules/03-component-policy.md +24 -0
  233. package/templates/current/examples/.codex/rules/04-api-auth-router.md +6 -0
  234. package/templates/current/examples/.codex/rules/05-style.md +6 -0
  235. package/templates/current/examples/.codex/rules/06-quality.md +6 -0
  236. package/templates/current/examples/.codex/skills/build-admin-feature/SKILL.md +14 -0
  237. package/templates/current/examples/.codex/skills/build-admin-feature/references/component-selection.md +25 -0
  238. package/templates/current/examples/.codex/skills/style-og-origen-ui/SKILL.md +11 -0
  239. package/templates/current/examples/.codex/skills/style-og-origen-ui/agents/openai.yaml +4 -0
  240. package/templates/current/examples/.codex/skills/use-og-dialog/SKILL.md +12 -0
  241. package/templates/current/examples/.codex/skills/use-og-dialog/agents/openai.yaml +4 -0
  242. package/templates/current/examples/.codex/skills/use-og-editor/SKILL.md +25 -0
  243. package/templates/current/examples/.codex/skills/use-og-form/SKILL.md +12 -0
  244. package/templates/current/examples/.codex/skills/use-og-form-table/SKILL.md +25 -0
  245. package/templates/current/examples/.codex/skills/use-og-http/SKILL.md +13 -0
  246. package/templates/current/examples/.codex/skills/use-og-http/agents/openai.yaml +4 -0
  247. package/templates/current/examples/.codex/skills/use-og-router-tabs/SKILL.md +11 -0
  248. package/templates/current/examples/.codex/skills/use-og-search/SKILL.md +14 -0
  249. package/templates/current/examples/.codex/skills/use-og-table/SKILL.md +16 -0
  250. package/templates/current/examples/.codex/skills/use-og-upload/SKILL.md +25 -0
  251. package/templates/current/examples/.cursor/AGENTS.md +18 -0
  252. package/templates/current/examples/.cursor/rules/01-feature-architecture.mdc +12 -0
  253. package/templates/current/examples/.cursor/rules/02-vue-typescript.mdc +12 -0
  254. package/templates/current/examples/.cursor/rules/03-component-policy.mdc +30 -0
  255. package/templates/current/examples/.cursor/rules/04-api-auth-router.mdc +12 -0
  256. package/templates/current/examples/.cursor/rules/05-style.mdc +12 -0
  257. package/templates/current/examples/.cursor/rules/06-quality.mdc +12 -0
  258. package/templates/current/examples/.cursor/skills/build-admin-feature/SKILL.md +14 -0
  259. package/templates/current/examples/.cursor/skills/style-og-origen-ui/SKILL.md +11 -0
  260. package/templates/current/examples/.cursor/skills/use-og-dialog/SKILL.md +12 -0
  261. package/templates/current/examples/.cursor/skills/use-og-editor/SKILL.md +25 -0
  262. package/templates/current/examples/.cursor/skills/use-og-form/SKILL.md +12 -0
  263. package/templates/current/examples/.cursor/skills/use-og-form-table/SKILL.md +25 -0
  264. package/templates/current/examples/.cursor/skills/use-og-http/SKILL.md +13 -0
  265. package/templates/current/examples/.cursor/skills/use-og-router-tabs/SKILL.md +11 -0
  266. package/templates/current/examples/.cursor/skills/use-og-search/SKILL.md +14 -0
  267. package/templates/current/examples/.cursor/skills/use-og-table/SKILL.md +16 -0
  268. package/templates/current/examples/.cursor/skills/use-og-upload/SKILL.md +25 -0
  269. package/templates/current/examples/.env.example +7 -0
  270. package/templates/current/examples/.env.production.example +31 -0
  271. package/templates/current/examples/.qoder/AGENTS.md +15 -0
  272. package/templates/current/examples/.qoder/rules/01-feature-architecture.md +12 -0
  273. package/templates/current/examples/.qoder/rules/02-vue-typescript.md +12 -0
  274. package/templates/current/examples/.qoder/rules/03-component-policy.md +30 -0
  275. package/templates/current/examples/.qoder/rules/04-api-auth-router.md +12 -0
  276. package/templates/current/examples/.qoder/rules/05-style.md +12 -0
  277. package/templates/current/examples/.qoder/rules/06-quality.md +12 -0
  278. package/templates/current/examples/.qoder/skills/build-admin-feature/SKILL.md +14 -0
  279. package/templates/current/examples/.qoder/skills/style-og-origen-ui/SKILL.md +11 -0
  280. package/templates/current/examples/.qoder/skills/use-og-dialog/SKILL.md +12 -0
  281. package/templates/current/examples/.qoder/skills/use-og-editor/SKILL.md +25 -0
  282. package/templates/current/examples/.qoder/skills/use-og-form/SKILL.md +12 -0
  283. package/templates/current/examples/.qoder/skills/use-og-form-table/SKILL.md +25 -0
  284. package/templates/current/examples/.qoder/skills/use-og-http/SKILL.md +13 -0
  285. package/templates/current/examples/.qoder/skills/use-og-router-tabs/SKILL.md +11 -0
  286. package/templates/current/examples/.qoder/skills/use-og-search/SKILL.md +14 -0
  287. package/templates/current/examples/.qoder/skills/use-og-table/SKILL.md +16 -0
  288. package/templates/current/examples/.qoder/skills/use-og-upload/SKILL.md +25 -0
  289. package/templates/current/examples/AGENTS.md +16 -0
  290. package/templates/current/examples/README.md +116 -0
  291. package/templates/current/examples/component-catalog.json +765 -0
  292. package/templates/current/examples/e2e/admin-shell.spec.ts +150 -0
  293. package/templates/current/examples/e2e/demo-shell.spec.ts +328 -0
  294. package/templates/current/examples/evals/component-selection.json +29 -0
  295. package/templates/current/examples/gitignore +3 -0
  296. package/templates/current/examples/index.html +13 -0
  297. package/templates/current/examples/openapi.json +1623 -0
  298. package/templates/current/examples/package.json +65 -0
  299. package/templates/current/examples/playwright.config.ts +31 -0
  300. package/templates/current/examples/playwright.demo.config.ts +25 -0
  301. package/templates/current/examples/recipes/README.md +7 -0
  302. package/templates/current/examples/recipes/remote-crud-dialog-form.json +15 -0
  303. package/templates/current/examples/recipes/remote-crud-dialog-form.vue +66 -0
  304. package/templates/current/examples/scaffold.lock.json +12 -0
  305. package/templates/current/examples/scripts/check-admin-bundle.mjs +214 -0
  306. package/templates/current/examples/scripts/check-admin-scaffold.mjs +168 -0
  307. package/templates/current/examples/scripts/clean-overlay/src/features/errors/pages/Forbidden.vue +26 -0
  308. package/templates/current/examples/scripts/clean-overlay/src/features/errors/pages/NotFound.vue +26 -0
  309. package/templates/current/examples/scripts/clean-overlay/src/features/errors/pages/ServerError.vue +26 -0
  310. package/templates/current/examples/scripts/clean-overlay/src/features/errors/pages/error-pages.spec.ts +32 -0
  311. package/templates/current/examples/scripts/clean-overlay/src/main.ts +91 -0
  312. package/templates/current/examples/scripts/clean-overlay/src/router/componentRegistry.ts +25 -0
  313. package/templates/current/examples/scripts/clean-overlay/src/router/dynamicRoutes.spec.ts +47 -0
  314. package/templates/current/examples/scripts/clean-overlay/src/router/staticRoutes.ts +63 -0
  315. package/templates/current/examples/scripts/demo-api.ts +797 -0
  316. package/templates/current/examples/scripts/generate-api.ts +27 -0
  317. package/templates/current/examples/scripts/performance/baselines/bundle-gzip-v2-pre-entry-unification.json +38 -0
  318. package/templates/current/examples/scripts/remove-examples.mjs +54 -0
  319. package/templates/current/examples/src/App.vue +67 -0
  320. package/templates/current/examples/src/api/client.spec.ts +66 -0
  321. package/templates/current/examples/src/api/client.ts +72 -0
  322. package/templates/current/examples/src/api/generated/data-contracts.ts +268 -0
  323. package/templates/current/examples/src/api/generated/http-client.ts +266 -0
  324. package/templates/current/examples/src/api/generated//347/263/273/347/273/237/347/256/241/347/220/206/345/206/205/345/256/271/346/226/207/347/253/240.ts +147 -0
  325. package/templates/current/examples/src/api/generated//347/263/273/347/273/237/347/256/241/347/220/206/345/256/241/350/256/241.ts +53 -0
  326. package/templates/current/examples/src/api/generated//347/263/273/347/273/237/347/256/241/347/220/206/346/226/207/344/273/266/344/270/212/344/274/240.ts +66 -0
  327. package/templates/current/examples/src/api/generated//347/263/273/347/273/237/347/256/241/347/220/206/347/224/250/346/210/267.ts +171 -0
  328. package/templates/current/examples/src/api/generated//347/263/273/347/273/237/347/256/241/347/220/206/350/217/234/345/215/225.ts +181 -0
  329. package/templates/current/examples/src/api/generated//347/263/273/347/273/237/347/256/241/347/220/206/350/247/222/350/211/262.ts +169 -0
  330. package/templates/current/examples/src/api/generated//347/263/273/347/273/237/347/256/241/347/220/206/350/256/242/345/215/225/350/215/211/347/250/277.ts +170 -0
  331. package/templates/current/examples/src/api/generated//350/256/244/350/257/201.ts +98 -0
  332. package/templates/current/examples/src/api/http-adapter.spec.ts +33 -0
  333. package/templates/current/examples/src/api/http-adapter.ts +83 -0
  334. package/templates/current/examples/src/api/index.ts +41 -0
  335. package/templates/current/examples/src/app/createAdminUi.spec.ts +110 -0
  336. package/templates/current/examples/src/app/createAdminUi.ts +78 -0
  337. package/templates/current/examples/src/app/menu.spec.ts +255 -0
  338. package/templates/current/examples/src/app/menu.ts +268 -0
  339. package/templates/current/examples/src/app/menuTypes.ts +17 -0
  340. package/templates/current/examples/src/app/origenUiLocale.spec.ts +14 -0
  341. package/templates/current/examples/src/app/origenUiLocale.ts +65 -0
  342. package/templates/current/examples/src/app/permission.ts +9 -0
  343. package/templates/current/examples/src/app/runtimeConfig.ts +77 -0
  344. package/templates/current/examples/src/demo-api.spec.ts +167 -0
  345. package/templates/current/examples/src/env.d.ts +14 -0
  346. package/templates/current/examples/src/features/appearance/components/ThemePanel.vue +200 -0
  347. package/templates/current/examples/src/features/appearance/composables/useTheme.ts +17 -0
  348. package/templates/current/examples/src/features/appearance/store/theme.ts +140 -0
  349. package/templates/current/examples/src/features/auth/pages/Login.vue +159 -0
  350. package/templates/current/examples/src/features/auth/store/auth.spec.ts +131 -0
  351. package/templates/current/examples/src/features/auth/store/auth.ts +210 -0
  352. package/templates/current/examples/src/features/errors/pages/Forbidden.vue +26 -0
  353. package/templates/current/examples/src/features/errors/pages/NotFound.vue +26 -0
  354. package/templates/current/examples/src/features/errors/pages/ServerError.vue +26 -0
  355. package/templates/current/examples/src/features/errors/pages/error-pages.spec.ts +32 -0
  356. package/templates/current/examples/src/features/feature-composables.spec.ts +208 -0
  357. package/templates/current/examples/src/features/security/components/DevtoolsProtectionOverlay.vue +56 -0
  358. package/templates/current/examples/src/features/security/devtoolsProtection.spec.ts +211 -0
  359. package/templates/current/examples/src/features/security/devtoolsProtection.ts +242 -0
  360. package/templates/current/examples/src/features/shell/components/AdminWatermark.spec.ts +90 -0
  361. package/templates/current/examples/src/features/shell/components/AdminWatermark.vue +47 -0
  362. package/templates/current/examples/src/features/shell/components/RouteProgress.vue +68 -0
  363. package/templates/current/examples/src/features/shell/composables/useRouteProgress.spec.ts +95 -0
  364. package/templates/current/examples/src/features/shell/composables/useRouteProgress.ts +52 -0
  365. package/templates/current/examples/src/features/shell/store/sidebar.ts +55 -0
  366. package/templates/current/examples/src/features/system/access/api/admin-repository.ts +279 -0
  367. package/templates/current/examples/src/features/system/access/api/rbac.spec.ts +72 -0
  368. package/templates/current/examples/src/features/system/access/api/rbac.ts +272 -0
  369. package/templates/current/examples/src/features/system/access/composables/useAuthorizationRefresh.ts +15 -0
  370. package/templates/current/examples/src/features/system/audit/composables/useAuditManagement.ts +117 -0
  371. package/templates/current/examples/src/features/system/audit/pages/AuditList.vue +20 -0
  372. package/templates/current/examples/src/features/system/menus/components/MenuEditorForm.vue +189 -0
  373. package/templates/current/examples/src/features/system/menus/composables/useMenuManagement.ts +327 -0
  374. package/templates/current/examples/src/features/system/menus/pages/MenuList.vue +49 -0
  375. package/templates/current/examples/src/features/system/roles/components/RoleEditorForm.vue +112 -0
  376. package/templates/current/examples/src/features/system/roles/composables/useRoleManagement.ts +198 -0
  377. package/templates/current/examples/src/features/system/roles/pages/RoleList.vue +45 -0
  378. package/templates/current/examples/src/features/system/users/components/UserEditorForm.vue +101 -0
  379. package/templates/current/examples/src/features/system/users/composables/useUserManagement.ts +233 -0
  380. package/templates/current/examples/src/features/system/users/pages/UserList.vue +49 -0
  381. package/templates/current/examples/src/features/workspace/pages/Dashboard.spec.ts +32 -0
  382. package/templates/current/examples/src/features/workspace/pages/Dashboard.vue +297 -0
  383. package/templates/current/examples/src/features/workspace/pages/Empty.vue +18 -0
  384. package/templates/current/examples/src/features/workspace/pages/Profile.vue +183 -0
  385. package/templates/current/examples/src/layouts/AdminLayout.vue +61 -0
  386. package/templates/current/examples/src/layouts/BreadcrumbBar.vue +27 -0
  387. package/templates/current/examples/src/layouts/SideMenu.vue +119 -0
  388. package/templates/current/examples/src/layouts/TopBar.vue +301 -0
  389. package/templates/current/examples/src/layouts/WorkspaceTabs.vue +44 -0
  390. package/templates/current/examples/src/layouts/topBarMenuSearch.spec.ts +31 -0
  391. package/templates/current/examples/src/layouts/topBarMenuSearch.ts +21 -0
  392. package/templates/current/examples/src/locales/en-US.ts +55 -0
  393. package/templates/current/examples/src/locales/index.ts +119 -0
  394. package/templates/current/examples/src/locales/messages.spec.ts +23 -0
  395. package/templates/current/examples/src/locales/zh-CN.ts +55 -0
  396. package/templates/current/examples/src/locales/zh-TW.ts +44 -0
  397. package/templates/current/examples/src/main.ts +91 -0
  398. package/templates/current/examples/src/router/bootstrap.ts +76 -0
  399. package/templates/current/examples/src/router/componentRegistry.ts +83 -0
  400. package/templates/current/examples/src/router/dynamicRoutes.spec.ts +109 -0
  401. package/templates/current/examples/src/router/dynamicRoutes.ts +162 -0
  402. package/templates/current/examples/src/router/guards.ts +5 -0
  403. package/templates/current/examples/src/router/queryEncryption.spec.ts +82 -0
  404. package/templates/current/examples/src/router/queryEncryption.ts +133 -0
  405. package/templates/current/examples/src/router/routeQuery.spec.ts +11 -0
  406. package/templates/current/examples/src/router/routeQuery.ts +3 -0
  407. package/templates/current/examples/src/router/runtimeErrorRecovery.spec.ts +161 -0
  408. package/templates/current/examples/src/router/runtimeErrorRecovery.ts +108 -0
  409. package/templates/current/examples/src/router/staticRoutes.ts +63 -0
  410. package/templates/current/examples/src/router/useRouteQueryDefaults.spec.ts +90 -0
  411. package/templates/current/examples/src/router/useRouteQueryDefaults.ts +51 -0
  412. package/templates/current/examples/src/router/useRouteQueryDefaults.types.ts +19 -0
  413. package/templates/current/examples/src/store/index.ts +3 -0
  414. package/templates/current/examples/src/styles/element/index.scss +33 -0
  415. package/templates/current/examples/src/styles/index.css +39 -0
  416. package/templates/current/examples/src/styles/layout.css +115 -0
  417. package/templates/current/examples/src/styles/shell.css +196 -0
  418. package/templates/current/examples/src/styles/source-package-style-compat.css +1 -0
  419. package/templates/current/examples/src/templates/og-form.ts +48 -0
  420. package/templates/current/examples/src/templates/og-table.ts +212 -0
  421. package/templates/current/examples/src/templates/router.ts +51 -0
  422. package/templates/current/examples/src/templates/templates.spec.ts +90 -0
  423. package/templates/current/examples/src/theme/index.ts +7 -0
  424. package/templates/current/examples/src/utils/__tests__/color-mix.spec.ts +39 -0
  425. package/templates/current/examples/src/utils/color-mix.ts +76 -0
  426. package/templates/current/examples/src/utils/permissions.ts +6 -0
  427. package/templates/current/examples/tsconfig.json +40 -0
  428. package/templates/current/examples/tsconfig.node.json +9 -0
  429. package/templates/current/examples/vite.build-policy.ts +405 -0
  430. package/templates/current/examples/vite.config.ts +37 -0
@@ -0,0 +1,765 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "components": [
4
+ {
5
+ "id": "dialog",
6
+ "package": "@origen-ui/dialog",
7
+ "imports": [
8
+ "OgDialog"
9
+ ],
10
+ "useWhen": "Parent-controlled dialog UI",
11
+ "avoid": "Element Plus ElDialog in business features",
12
+ "skill": "use-og-dialog",
13
+ "style": "origen-ui/dialog.css",
14
+ "documentation": {
15
+ "guide": "apps/docs/components/dialog.md",
16
+ "readme": "packages/dialog/README.md",
17
+ "propsType": "OgDialogProps",
18
+ "primary": true
19
+ },
20
+ "wrapperContract": {
21
+ "kind": "composite",
22
+ "delegates": [
23
+ {
24
+ "package": "element-plus",
25
+ "components": [
26
+ "ElDialog",
27
+ "ElDrawer"
28
+ ]
29
+ }
30
+ ],
31
+ "owned": {
32
+ "props": [
33
+ "modelValue",
34
+ "presentation"
35
+ ],
36
+ "events": [
37
+ "confirm",
38
+ "cancel"
39
+ ],
40
+ "slots": [
41
+ "default",
42
+ "footer"
43
+ ],
44
+ "methods": [
45
+ "open",
46
+ "close",
47
+ "confirm"
48
+ ]
49
+ },
50
+ "nativeAccess": {
51
+ "mode": "prop-bag-and-expose",
52
+ "surface": "dialogProps, drawerProps, getSurfaceInstance"
53
+ },
54
+ "compatibilityVersion": "^2.14.4"
55
+ }
56
+ },
57
+ {
58
+ "id": "dialog-manager",
59
+ "package": "@origen-ui/dialog",
60
+ "imports": [
61
+ "createOgDialog",
62
+ "useDialog",
63
+ "OgDialogHost"
64
+ ],
65
+ "useWhen": "Awaitable or manager-owned dialog workflows",
66
+ "avoid": "createApp or a global fallback manager",
67
+ "skill": "use-og-dialog",
68
+ "style": "origen-ui/dialog.css",
69
+ "wrapperContract": {
70
+ "kind": "host",
71
+ "delegates": [
72
+ {
73
+ "package": "vue",
74
+ "components": [
75
+ "Teleport"
76
+ ]
77
+ }
78
+ ],
79
+ "owned": {
80
+ "props": [],
81
+ "events": [],
82
+ "slots": [],
83
+ "methods": []
84
+ },
85
+ "unsupportedRoute": [
86
+ "Use createOgDialog or useDialog for manager operations; OgDialogHost is a runtime mount point."
87
+ ]
88
+ }
89
+ },
90
+ {
91
+ "id": "editor",
92
+ "package": "@origen-ui/editor",
93
+ "imports": [
94
+ "OgEditor",
95
+ "OgEditorSetup"
96
+ ],
97
+ "useWhen": "Rich text authoring",
98
+ "avoid": "Unsanitized HTML persistence or direct DOM insertion",
99
+ "skill": "use-og-editor",
100
+ "style": "origen-ui/editor.css",
101
+ "documentation": {
102
+ "guide": "apps/docs/components/editor.md",
103
+ "readme": "packages/editor/README.md",
104
+ "propsType": "OgEditorProps",
105
+ "primary": true
106
+ },
107
+ "wrapperContract": {
108
+ "kind": "composite",
109
+ "delegates": [
110
+ {
111
+ "package": "@tiptap/vue-3",
112
+ "components": [
113
+ "EditorContent"
114
+ ]
115
+ },
116
+ {
117
+ "package": "element-plus",
118
+ "components": [
119
+ "ElButton",
120
+ "ElTooltip"
121
+ ]
122
+ }
123
+ ],
124
+ "owned": {
125
+ "props": [
126
+ "setup",
127
+ "toolbar",
128
+ "maxLength"
129
+ ],
130
+ "events": [
131
+ "update:modelValue",
132
+ "upload-error"
133
+ ],
134
+ "slots": [],
135
+ "methods": [
136
+ "focus",
137
+ "getEditor"
138
+ ]
139
+ },
140
+ "nativeAccess": {
141
+ "mode": "expose",
142
+ "surface": "OgEditorExpose.getEditor"
143
+ },
144
+ "compatibilityVersion": "^2.14.4"
145
+ }
146
+ },
147
+ {
148
+ "id": "editor-viewer",
149
+ "package": "@origen-ui/editor",
150
+ "imports": [
151
+ "OgEditorViewer"
152
+ ],
153
+ "useWhen": "Readonly rich text rendering",
154
+ "avoid": "Rendering untrusted HTML without server sanitization",
155
+ "skill": "use-og-editor",
156
+ "style": "origen-ui/editor.css",
157
+ "documentation": {
158
+ "guide": "apps/docs/components/editor-viewer.md"
159
+ },
160
+ "wrapperContract": {
161
+ "kind": "composite",
162
+ "delegates": [
163
+ {
164
+ "package": "@tiptap/core",
165
+ "components": [
166
+ "HTML renderer"
167
+ ]
168
+ }
169
+ ],
170
+ "owned": {
171
+ "props": [
172
+ "sanitize",
173
+ "emptyText"
174
+ ],
175
+ "events": [],
176
+ "slots": [],
177
+ "methods": []
178
+ },
179
+ "unsupportedRoute": [
180
+ "Use the underlying Tiptap renderer directly when DOM-level rendering control is required."
181
+ ]
182
+ }
183
+ },
184
+ {
185
+ "id": "form",
186
+ "package": "@origen-ui/form",
187
+ "imports": [
188
+ "OgForm"
189
+ ],
190
+ "useWhen": "Schema-driven create, edit, or readonly forms",
191
+ "avoid": "Element Plus ElForm or removed legacy APIs",
192
+ "skill": "use-og-form",
193
+ "style": "origen-ui/form.css",
194
+ "documentation": {
195
+ "guide": "apps/docs/components/form.md",
196
+ "readme": "packages/form/README.md",
197
+ "propsType": "OgFormProps",
198
+ "primary": true
199
+ },
200
+ "wrapperContract": {
201
+ "kind": "composite",
202
+ "delegates": [
203
+ {
204
+ "package": "element-plus",
205
+ "components": [
206
+ "ElForm",
207
+ "ElFormItem"
208
+ ]
209
+ }
210
+ ],
211
+ "owned": {
212
+ "props": [
213
+ "schema",
214
+ "readonly",
215
+ "columns"
216
+ ],
217
+ "events": [
218
+ "update:modelValue"
219
+ ],
220
+ "slots": [
221
+ "actions"
222
+ ],
223
+ "methods": [
224
+ "validate",
225
+ "reset"
226
+ ]
227
+ },
228
+ "nativeAccess": {
229
+ "mode": "prop-bag-and-expose",
230
+ "surface": "formProps, formRef"
231
+ },
232
+ "compatibilityVersion": "^2.14.4"
233
+ }
234
+ },
235
+ {
236
+ "id": "form-table",
237
+ "package": "@origen-ui/form-table",
238
+ "imports": [
239
+ "OgFormTable",
240
+ "createOgFormTableField"
241
+ ],
242
+ "useWhen": "Editable array fields and line-item forms",
243
+ "avoid": "Mutating parent form arrays or duplicate remote table fetching",
244
+ "skill": "use-og-form-table",
245
+ "style": "origen-ui/form-table.css",
246
+ "documentation": {
247
+ "guide": "apps/docs/components/form-table.md",
248
+ "readme": "packages/form-table/README.md",
249
+ "propsType": "OgFormTableProps",
250
+ "primary": true
251
+ },
252
+ "wrapperContract": {
253
+ "kind": "composite",
254
+ "delegates": [
255
+ {
256
+ "package": "@origen-ui/table",
257
+ "components": [
258
+ "OgTableLocal"
259
+ ]
260
+ },
261
+ {
262
+ "package": "@origen-ui/form",
263
+ "components": [
264
+ "OgForm"
265
+ ]
266
+ }
267
+ ],
268
+ "owned": {
269
+ "props": [
270
+ "columns",
271
+ "rowKey"
272
+ ],
273
+ "events": [
274
+ "update:modelValue"
275
+ ],
276
+ "slots": [],
277
+ "methods": [
278
+ "addRow",
279
+ "removeRow"
280
+ ]
281
+ },
282
+ "nativeAccess": {
283
+ "mode": "delegated-expose",
284
+ "surface": "getNativeTable"
285
+ }
286
+ }
287
+ },
288
+ {
289
+ "id": "search",
290
+ "package": "@origen-ui/search",
291
+ "imports": [
292
+ "OgSearch"
293
+ ],
294
+ "useWhen": "Standalone query/filter panels",
295
+ "avoid": "Owning list loading or pagination",
296
+ "skill": "use-og-search",
297
+ "style": "origen-ui/search.css",
298
+ "documentation": {
299
+ "guide": "apps/docs/components/search.md",
300
+ "readme": "packages/search/README.md",
301
+ "propsType": "OgSearchProps",
302
+ "primary": true
303
+ },
304
+ "wrapperContract": {
305
+ "kind": "composite",
306
+ "delegates": [
307
+ {
308
+ "package": "element-plus",
309
+ "components": [
310
+ "ElForm",
311
+ "ElFormItem"
312
+ ]
313
+ }
314
+ ],
315
+ "owned": {
316
+ "props": [
317
+ "config",
318
+ "expanded",
319
+ "reset"
320
+ ],
321
+ "events": [
322
+ "search",
323
+ "reset"
324
+ ],
325
+ "slots": [],
326
+ "methods": [
327
+ "submit",
328
+ "validate"
329
+ ]
330
+ },
331
+ "nativeAccess": {
332
+ "mode": "prop-bag-and-expose",
333
+ "surface": "formProps, formRef"
334
+ },
335
+ "compatibilityVersion": "^2.14.4"
336
+ },
337
+ "legacyTokens": [
338
+ "defaultExpanded",
339
+ "setExpanded",
340
+ "resetOnReset",
341
+ "clearKeywordOnReset"
342
+ ]
343
+ },
344
+ {
345
+ "id": "table",
346
+ "package": "@origen-ui/table",
347
+ "imports": [
348
+ "OgTable"
349
+ ],
350
+ "useWhen": "Typed local or remote data tables",
351
+ "avoid": "Legacy fetch/searchSchema APIs or ElTable",
352
+ "skill": "use-og-table",
353
+ "style": "origen-ui/table.css",
354
+ "documentation": {
355
+ "guide": "apps/docs/components/table.md",
356
+ "readme": "packages/table/README.md",
357
+ "propsType": "OgTableProps",
358
+ "primary": true
359
+ },
360
+ "wrapperContract": {
361
+ "kind": "composite",
362
+ "delegates": [
363
+ {
364
+ "package": "element-plus",
365
+ "components": [
366
+ "ElTable",
367
+ "ElTableV2"
368
+ ]
369
+ }
370
+ ],
371
+ "owned": {
372
+ "props": [
373
+ "columns",
374
+ "dataSource",
375
+ "rowKey",
376
+ "tableId"
377
+ ],
378
+ "events": [
379
+ "selectionChange"
380
+ ],
381
+ "slots": [],
382
+ "methods": [
383
+ "refresh",
384
+ "reset"
385
+ ]
386
+ },
387
+ "nativeAccess": {
388
+ "mode": "config-and-expose",
389
+ "surface": "config.virtual.enabled selects the surface; config.nativeTable.standard or config.nativeTable.virtual, getNativeTable"
390
+ },
391
+ "compatibilityVersion": "^2.14.4"
392
+ },
393
+ "legacyTokens": [
394
+ "config.plugins",
395
+ "config.filterMemory",
396
+ "config.urlState",
397
+ "config.views",
398
+ "OgTablePluginConfig",
399
+ "OgTablePluginApi"
400
+ ]
401
+ },
402
+ {
403
+ "id": "table-local",
404
+ "package": "@origen-ui/table",
405
+ "imports": [
406
+ "OgTableLocal"
407
+ ],
408
+ "useWhen": "Editable local tables embedded in a form or workflow",
409
+ "avoid": "Treating local rows as an implicit remote data source",
410
+ "skill": "use-og-table",
411
+ "style": "origen-ui/table.css",
412
+ "documentation": {
413
+ "guide": "apps/docs/components/table-local.md",
414
+ "propsType": "OgTableLocalProps"
415
+ },
416
+ "wrapperContract": {
417
+ "kind": "composite",
418
+ "delegates": [
419
+ {
420
+ "package": "@origen-ui/table",
421
+ "components": [
422
+ "OgTable"
423
+ ]
424
+ }
425
+ ],
426
+ "owned": {
427
+ "props": [
428
+ "modelValue",
429
+ "columns",
430
+ "rowKey"
431
+ ],
432
+ "events": [
433
+ "update:modelValue"
434
+ ],
435
+ "slots": [],
436
+ "methods": [
437
+ "addRow",
438
+ "removeRow"
439
+ ]
440
+ },
441
+ "nativeAccess": {
442
+ "mode": "delegated-expose",
443
+ "surface": "getNativeTable"
444
+ }
445
+ }
446
+ },
447
+ {
448
+ "id": "table-with-search",
449
+ "package": "@origen-ui/table-search",
450
+ "imports": [
451
+ "OgTableWithSearch"
452
+ ],
453
+ "useWhen": "Remote CRUD lists with search and paging",
454
+ "avoid": "Separate ad-hoc search and table state",
455
+ "skill": "use-og-table",
456
+ "style": "origen-ui/table-search.css",
457
+ "documentation": {
458
+ "guide": "apps/docs/components/table-with-search.md"
459
+ },
460
+ "wrapperContract": {
461
+ "kind": "composite",
462
+ "delegates": [
463
+ {
464
+ "package": "@origen-ui/table",
465
+ "components": [
466
+ "OgTable"
467
+ ]
468
+ },
469
+ {
470
+ "package": "@origen-ui/search",
471
+ "components": [
472
+ "OgSearch"
473
+ ]
474
+ }
475
+ ],
476
+ "owned": {
477
+ "props": [
478
+ "tableId",
479
+ "columns",
480
+ "dataSource",
481
+ "config"
482
+ ],
483
+ "events": [],
484
+ "slots": [
485
+ "search-*",
486
+ "beforeToolbar"
487
+ ],
488
+ "methods": [
489
+ "refresh",
490
+ "reset"
491
+ ]
492
+ },
493
+ "nativeAccess": {
494
+ "mode": "delegated-expose",
495
+ "surface": "getNativeTable, getSearchInstance"
496
+ }
497
+ }
498
+ },
499
+ {
500
+ "id": "tabs",
501
+ "package": "@origen-ui/tabs",
502
+ "imports": [
503
+ "OgTabs"
504
+ ],
505
+ "useWhen": "Page-local business tabs",
506
+ "avoid": "Using page-local tabs for route workspace state",
507
+ "skill": "use-og-router-tabs",
508
+ "style": "origen-ui/tabs.css",
509
+ "documentation": {
510
+ "guide": "apps/docs/components/tabs.md",
511
+ "readme": "packages/tabs/README.md",
512
+ "propsType": "OgTabsProps",
513
+ "primary": true
514
+ },
515
+ "wrapperContract": {
516
+ "kind": "composite",
517
+ "delegates": [
518
+ {
519
+ "package": "element-plus",
520
+ "components": [
521
+ "ElTabs",
522
+ "ElTabPane"
523
+ ]
524
+ }
525
+ ],
526
+ "owned": {
527
+ "props": [
528
+ "items",
529
+ "contextMenu",
530
+ "actionPolicy"
531
+ ],
532
+ "events": [
533
+ "update:modelValue"
534
+ ],
535
+ "slots": [],
536
+ "methods": [
537
+ "close",
538
+ "activate"
539
+ ]
540
+ },
541
+ "nativeAccess": {
542
+ "mode": "prop-bag-and-expose",
543
+ "surface": "tabsProps, getNativeTabs"
544
+ },
545
+ "compatibilityVersion": "^2.14.4"
546
+ },
547
+ "legacyTokens": [
548
+ "allowActions",
549
+ "denyActions"
550
+ ]
551
+ },
552
+ {
553
+ "id": "upload",
554
+ "package": "@origen-ui/upload",
555
+ "imports": [
556
+ "OgUpload",
557
+ "createXhrUploadAdapter"
558
+ ],
559
+ "useWhen": "Validated file uploads and URL projection",
560
+ "avoid": "Package-level transport clients or mutating internal files",
561
+ "skill": "use-og-upload",
562
+ "style": "origen-ui/upload.css",
563
+ "documentation": {
564
+ "guide": "apps/docs/components/upload.md",
565
+ "readme": "packages/upload/README.md",
566
+ "propsType": "OgUploadProps",
567
+ "primary": true
568
+ },
569
+ "wrapperContract": {
570
+ "kind": "composite",
571
+ "delegates": [
572
+ {
573
+ "package": "element-plus",
574
+ "components": [
575
+ "ElUpload"
576
+ ]
577
+ }
578
+ ],
579
+ "owned": {
580
+ "props": [
581
+ "adapter",
582
+ "valueType",
583
+ "accept",
584
+ "limit"
585
+ ],
586
+ "events": [
587
+ "operationError",
588
+ "uploadSuccess"
589
+ ],
590
+ "slots": [],
591
+ "methods": [
592
+ "submit",
593
+ "clearFiles"
594
+ ]
595
+ },
596
+ "nativeAccess": {
597
+ "mode": "prop-bag-and-expose",
598
+ "surface": "uploadProps, getNativeUpload"
599
+ },
600
+ "compatibilityVersion": "^2.14.4"
601
+ },
602
+ "legacyTokens": [
603
+ "withCredentials"
604
+ ]
605
+ },
606
+ {
607
+ "id": "form-item",
608
+ "package": "@origen-ui/form",
609
+ "imports": [
610
+ "OgFormItem"
611
+ ],
612
+ "useWhen": "A single schema-aware field needs to participate in an existing OgForm context",
613
+ "avoid": "Using it as a transparent Element Plus ElFormItem replacement",
614
+ "skill": "use-og-form",
615
+ "style": "origen-ui/form.css",
616
+ "wrapperContract": {
617
+ "kind": "composite",
618
+ "delegates": [
619
+ {
620
+ "package": "element-plus",
621
+ "components": [
622
+ "ElFormItem"
623
+ ]
624
+ }
625
+ ],
626
+ "owned": {
627
+ "props": [
628
+ "name",
629
+ "field",
630
+ "readonly"
631
+ ],
632
+ "events": [],
633
+ "slots": [
634
+ "default"
635
+ ],
636
+ "methods": []
637
+ },
638
+ "unsupportedRoute": [
639
+ "Use ElFormItem directly for raw Element Plus form-item behavior outside OgForm context."
640
+ ],
641
+ "compatibilityVersion": "^2.14.4"
642
+ }
643
+ },
644
+ {
645
+ "id": "field-renderer",
646
+ "package": "@origen-ui/form",
647
+ "imports": [
648
+ "FieldRenderer"
649
+ ],
650
+ "useWhen": "An advanced integration needs the registered OgForm control renderer",
651
+ "avoid": "Treating it as a general-purpose Element Plus control wrapper",
652
+ "skill": "use-og-form",
653
+ "style": "origen-ui/form.css",
654
+ "wrapperContract": {
655
+ "kind": "composite",
656
+ "delegates": [
657
+ {
658
+ "package": "element-plus",
659
+ "components": [
660
+ "form controls"
661
+ ]
662
+ }
663
+ ],
664
+ "owned": {
665
+ "props": [
666
+ "field",
667
+ "readonly",
668
+ "a11y"
669
+ ],
670
+ "events": [],
671
+ "slots": [],
672
+ "methods": []
673
+ },
674
+ "unsupportedRoute": [
675
+ "Use the required Element Plus control directly when the schema renderer contract is not needed."
676
+ ],
677
+ "compatibilityVersion": "^2.14.4"
678
+ }
679
+ },
680
+ {
681
+ "id": "svg-icon",
682
+ "package": "@origen-ui/icons",
683
+ "imports": [
684
+ "SvgIcon"
685
+ ],
686
+ "useWhen": "Rendering a project SVG sprite icon",
687
+ "avoid": "Passing untrusted or arbitrary symbol identifiers",
688
+ "skill": "style-og-origen-ui",
689
+ "documentation": {
690
+ "propsType": "SvgIconProps"
691
+ },
692
+ "wrapperContract": {
693
+ "kind": "transparent",
694
+ "delegates": [
695
+ {
696
+ "package": "svg",
697
+ "components": [
698
+ "svg",
699
+ "use"
700
+ ]
701
+ }
702
+ ],
703
+ "owned": {
704
+ "props": [
705
+ "name",
706
+ "size",
707
+ "color",
708
+ "label"
709
+ ],
710
+ "events": [],
711
+ "slots": [],
712
+ "methods": []
713
+ },
714
+ "parity": {
715
+ "props": [
716
+ "$attrs"
717
+ ],
718
+ "events": [
719
+ "$attrs listeners"
720
+ ],
721
+ "slots": [],
722
+ "expose": []
723
+ }
724
+ }
725
+ },
726
+ {
727
+ "id": "router-view-host",
728
+ "package": "@origen-ui/router",
729
+ "imports": [
730
+ "RouterViewHost"
731
+ ],
732
+ "useWhen": "Rendering a route workspace with keep-alive semantics",
733
+ "avoid": "Using it as a transparent vue-router RouterView replacement",
734
+ "skill": "use-og-router-tabs",
735
+ "wrapperContract": {
736
+ "kind": "host",
737
+ "delegates": [
738
+ {
739
+ "package": "vue-router",
740
+ "components": [
741
+ "RouterView"
742
+ ]
743
+ },
744
+ {
745
+ "package": "vue",
746
+ "components": [
747
+ "KeepAlive"
748
+ ]
749
+ }
750
+ ],
751
+ "owned": {
752
+ "props": [
753
+ "cacheMax"
754
+ ],
755
+ "events": [],
756
+ "slots": [],
757
+ "methods": []
758
+ },
759
+ "unsupportedRoute": [
760
+ "Use vue-router RouterView directly for route slots, props, or transition control not owned by the workspace host."
761
+ ]
762
+ }
763
+ }
764
+ ]
765
+ }