zova-ui-vuetify 5.0.342 → 5.1.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 (335) hide show
  1. package/.gitignore +14 -8
  2. package/.vscode/extensions.json +1 -1
  3. package/.vscode/settings.json +18 -40
  4. package/.vscode/zova.code-snippets +198 -0
  5. package/README.md +4 -4
  6. package/env/.env +40 -10
  7. package/env/.env.spa.cabloyStartAdmin +15 -0
  8. package/env/.env.spa.cabloyStartWeb +16 -0
  9. package/env/.env.ssr.admin +5 -3
  10. package/env/.env.ssr.cabloyStartAdmin +17 -0
  11. package/env/.env.ssr.cabloyStartAdmin.production +6 -0
  12. package/env/.env.ssr.cabloyStartWeb +18 -0
  13. package/env/.env.ssr.cabloyStartWeb.production +6 -0
  14. package/env/.env.ssr.production +0 -4
  15. package/env/.env.ssr.web +7 -0
  16. package/oxfmt.config.ts +28 -0
  17. package/oxlint.config.ts +62 -0
  18. package/package.json +160 -56
  19. package/package.original.json +55 -36
  20. package/pnpm-workspace.yaml +42 -0
  21. package/quasar.config.ts +20 -0
  22. package/src/boot/app/index.ts +6 -0
  23. package/src/boot/main.ts +4 -6
  24. package/src/boot/vuetify.ts +18 -7
  25. package/src/boot/zova.ts +9 -5
  26. package/src/css/settings.scss +7 -3
  27. package/src/front/config/config/config.admin.ts +3 -10
  28. package/src/front/config/config/config.ts +87 -3
  29. package/src/front/config/config/config.web.ts +10 -0
  30. package/src/front/config/locale/en-us.ts +1 -1
  31. package/src/front/config/locale/zh-cn.ts +1 -1
  32. package/src/front/typing/quasar.d.ts +9 -8
  33. package/src/suite/a-demo/modules/demo-basic/package.json +34 -12
  34. package/src/suite/a-demo/modules/demo-basic/rest/component/card.ts +8 -0
  35. package/src/suite/a-demo/modules/demo-basic/rest/components.ts +1 -0
  36. package/src/suite/a-demo/modules/demo-basic/rest/index.ts +1 -0
  37. package/src/suite/a-demo/modules/demo-basic/rest/pagesImport.txt +0 -0
  38. package/src/suite/a-demo/modules/demo-basic/rest/pagesRecord.txt +3 -0
  39. package/src/suite/a-demo/modules/demo-basic/src/.metadata/component/card.ts +23 -0
  40. package/src/suite/a-demo/modules/demo-basic/src/.metadata/index.ts +125 -35
  41. package/src/suite/a-demo/modules/demo-basic/src/.metadata/page/component.ts +5 -0
  42. package/src/suite/a-demo/modules/demo-basic/src/.metadata/page/state.ts +5 -0
  43. package/src/suite/a-demo/modules/demo-basic/src/.metadata/page/style.ts +5 -0
  44. package/src/suite/a-demo/modules/demo-basic/src/bean/theme.orange.ts +27 -24
  45. package/src/suite/a-demo/modules/demo-basic/src/component/card/{render.tsx → controller.tsx} +24 -11
  46. package/src/suite/a-demo/modules/demo-basic/src/page/component/controller.tsx +52 -0
  47. package/src/suite/a-demo/modules/demo-basic/src/page/state/controller.tsx +54 -0
  48. package/src/suite/a-demo/modules/demo-basic/src/page/style/controller.tsx +66 -0
  49. package/src/suite/a-demo/modules/demo-basic/src/routes.ts +8 -7
  50. package/src/suite/a-demo/modules/demo-basic/tsconfig.build.json +13 -0
  51. package/src/suite/a-demo/modules/demo-basic/tsconfig.json +1 -1
  52. package/src/suite/a-demo/package.json +3 -3
  53. package/src/suite/a-home/modules/home-api/cli/openapi.config.ts +9 -0
  54. package/src/suite/a-home/modules/home-api/mock/captcha.fake.ts +21 -0
  55. package/src/suite/a-home/modules/home-api/mock/menu.fake.ts +50 -0
  56. package/src/suite/a-home/modules/home-api/mock/passport.fake.ts +469 -0
  57. package/src/suite/a-home/modules/home-api/package.json +51 -0
  58. package/src/suite/a-home/modules/home-api/src/.metadata/index.ts +260 -0
  59. package/src/suite/a-home/modules/home-api/src/.metadata/this.ts +2 -0
  60. package/src/suite/a-home/modules/home-api/src/api/captcha.ts +64 -0
  61. package/src/suite/a-home/modules/home-api/src/api/home.ts +20 -0
  62. package/src/suite/a-home/modules/home-api/src/api/homeBaseMenu.ts +28 -0
  63. package/src/suite/a-home/modules/home-api/src/api/homeBasePermission.ts +28 -0
  64. package/src/suite/a-home/modules/home-api/src/api/homeUserPassport.ts +196 -0
  65. package/src/suite/a-home/modules/home-api/src/api/openapi/baseURL.ts +5 -0
  66. package/src/suite/a-home/modules/home-api/src/api/openapi/index.ts +3 -0
  67. package/src/suite/a-home/modules/home-api/src/api/openapi/schemas.ts +200 -0
  68. package/src/suite/a-home/modules/home-api/src/api/openapi/types.ts +5294 -0
  69. package/src/suite/a-home/modules/home-api/src/apiSchema/captcha.ts +19 -0
  70. package/src/suite/a-home/modules/home-api/src/apiSchema/home.ts +11 -0
  71. package/src/suite/a-home/modules/home-api/src/apiSchema/homeBaseMenu.ts +11 -0
  72. package/src/suite/a-home/modules/home-api/src/apiSchema/homeBasePermission.ts +11 -0
  73. package/src/suite/a-home/modules/home-api/src/apiSchema/homeUserPassport.ts +58 -0
  74. package/src/suite/a-home/modules/home-api/src/index.ts +2 -0
  75. package/src/suite/a-home/modules/home-api/src/service/jwtAdapter.ts +17 -0
  76. package/src/suite/a-home/modules/home-api/src/types/api.ts +8 -0
  77. package/src/suite/a-home/modules/home-api/src/types/index.ts +1 -0
  78. package/src/suite/a-home/modules/home-api/tsconfig.build.json +13 -0
  79. package/src/suite/a-home/modules/home-api/tsconfig.json +9 -0
  80. package/src/suite/a-home/modules/home-base/package.json +41 -31
  81. package/src/suite/a-home/modules/home-base/rest/component/itemLink.ts +8 -0
  82. package/src/suite/a-home/modules/home-base/rest/component/page.ts +8 -0
  83. package/src/suite/a-home/modules/home-base/rest/components.ts +2 -0
  84. package/src/suite/a-home/modules/home-base/rest/index.ts +1 -0
  85. package/src/suite/a-home/modules/home-base/rest/pagesImport.txt +2 -0
  86. package/src/suite/a-home/modules/home-base/rest/pagesRecord.txt +3 -0
  87. package/src/suite/a-home/modules/home-base/src/.metadata/component/itemLink.ts +23 -0
  88. package/src/suite/a-home/modules/home-base/src/.metadata/component/page.ts +23 -0
  89. package/src/suite/a-home/modules/home-base/src/.metadata/index.ts +286 -32
  90. package/src/suite/a-home/modules/home-base/src/.metadata/locales.ts +19 -0
  91. package/src/suite/a-home/modules/home-base/src/.metadata/page/authCallback.ts +12 -0
  92. package/src/suite/a-home/modules/home-base/src/.metadata/page/errorExpired.ts +12 -0
  93. package/src/suite/a-home/modules/home-base/src/.metadata/page/errorNotFound.ts +5 -0
  94. package/src/suite/a-home/modules/home-base/src/bean/css.default.ts +15 -0
  95. package/src/suite/a-home/modules/home-base/src/bean/theme.default.ts +27 -24
  96. package/src/suite/a-home/modules/home-base/src/component/itemLink/controller.tsx +38 -0
  97. package/src/suite/a-home/modules/home-base/src/component/page/controller.tsx +21 -0
  98. package/src/suite/a-home/modules/home-base/src/config/config.ts +14 -0
  99. package/src/suite/a-home/modules/home-base/src/config/locale/en-us.ts +5 -0
  100. package/src/suite/a-home/modules/home-base/src/config/locale/zh-cn.ts +5 -0
  101. package/src/suite/a-home/modules/home-base/src/index.ts +3 -2
  102. package/src/suite/a-home/modules/home-base/src/lib/index.ts +1 -0
  103. package/src/suite/a-home/modules/home-base/src/lib/utils.ts +14 -0
  104. package/src/suite/a-home/modules/home-base/src/main.ts +18 -0
  105. package/src/suite/a-home/modules/home-base/src/monkey.ts +21 -32
  106. package/src/suite/a-home/modules/home-base/src/monkeySys.ts +11 -0
  107. package/src/suite/a-home/modules/home-base/src/page/authCallback/controller.tsx +27 -0
  108. package/src/suite/a-home/modules/home-base/src/page/errorExpired/controller.tsx +37 -0
  109. package/src/suite/a-home/modules/home-base/src/page/errorNotFound/controller.tsx +34 -0
  110. package/src/suite/a-home/modules/home-base/src/routes.ts +30 -4
  111. package/src/suite/a-home/modules/home-base/src/service/locale.ts +30 -0
  112. package/src/suite/a-home/modules/home-base/src/service/routerGuards.ts +39 -0
  113. package/src/suite/a-home/modules/home-base/src/service/ssr.ts +39 -0
  114. package/src/suite/a-home/modules/home-base/src/service/ssrLayout.ts +86 -0
  115. package/src/suite/a-home/modules/home-base/src/types/index.ts +2 -0
  116. package/src/suite/a-home/modules/home-base/src/types/style.ts +10 -0
  117. package/src/suite/a-home/modules/home-base/src/{themeToken.ts → types/themeToken.ts} +15 -9
  118. package/src/suite/a-home/modules/home-base/tsconfig.build.json +13 -0
  119. package/src/suite/a-home/modules/home-base/tsconfig.json +1 -1
  120. package/src/suite/a-home/modules/home-icon/icons/business/paypal.svg +1 -0
  121. package/src/suite/a-home/modules/home-icon/icons/daisy/lock.svg +11 -0
  122. package/src/suite/a-home/modules/home-icon/icons/daisy/person.svg +7 -0
  123. package/src/suite/a-home/modules/home-icon/icons/default/dark-theme.svg +1 -0
  124. package/src/suite/a-home/modules/home-icon/icons/default/none.svg +1 -0
  125. package/src/suite/a-home/modules/home-icon/icons/emoji/flower.svg +1 -0
  126. package/src/suite/a-home/modules/home-icon/icons/outline/help-outline.svg +1 -0
  127. package/src/suite/a-home/modules/home-icon/icons/social/cabloy.svg +3 -0
  128. package/src/suite/a-home/modules/home-icon/icons/social/vona.svg +3 -0
  129. package/src/suite/a-home/modules/home-icon/icons/social/zova.svg +3 -0
  130. package/src/suite/a-home/modules/home-icon/package.json +39 -17
  131. package/src/suite/a-home/modules/home-icon/rest/icons.txt +239 -0
  132. package/src/suite/a-home/modules/home-icon/src/.metadata/icons/groups/auth.svg +6 -6
  133. package/src/suite/a-home/modules/home-icon/src/.metadata/icons/groups/business.svg +11 -10
  134. package/src/suite/a-home/modules/home-icon/src/.metadata/icons/groups/daisy.svg +4 -0
  135. package/src/suite/a-home/modules/home-icon/src/.metadata/icons/groups/default.svg +113 -112
  136. package/src/suite/a-home/modules/home-icon/src/.metadata/icons/groups/editor.svg +30 -30
  137. package/src/suite/a-home/modules/home-icon/src/.metadata/icons/groups/emoji.svg +3 -0
  138. package/src/suite/a-home/modules/home-icon/src/.metadata/icons/groups/flow.svg +11 -11
  139. package/src/suite/a-home/modules/home-icon/src/.metadata/icons/groups/login.svg +5 -5
  140. package/src/suite/a-home/modules/home-icon/src/.metadata/icons/groups/outline.svg +40 -39
  141. package/src/suite/a-home/modules/home-icon/src/.metadata/icons/groups/role.svg +8 -8
  142. package/src/suite/a-home/modules/home-icon/src/.metadata/icons/groups/social.svg +10 -7
  143. package/src/suite/a-home/modules/home-icon/src/.metadata/icons/groups/tools.svg +2 -2
  144. package/src/suite/a-home/modules/home-icon/src/.metadata/index.ts +32 -8
  145. package/src/suite/a-home/modules/home-icon/tsconfig.build.json +13 -0
  146. package/src/suite/a-home/modules/home-icon/tsconfig.json +1 -1
  147. package/src/suite/a-home/modules/home-index/package.json +33 -11
  148. package/src/suite/a-home/modules/home-index/rest/pagesImport.txt +0 -0
  149. package/src/suite/a-home/modules/home-index/rest/pagesRecord.txt +1 -0
  150. package/src/suite/a-home/modules/home-index/src/.metadata/index.ts +56 -11
  151. package/src/suite/a-home/modules/home-index/src/.metadata/page/home.ts +5 -0
  152. package/src/suite/a-home/modules/home-index/src/page/home/controller.tsx +22 -0
  153. package/src/suite/a-home/modules/home-index/src/routes.ts +4 -3
  154. package/src/suite/a-home/modules/home-index/tsconfig.build.json +13 -0
  155. package/src/suite/a-home/modules/home-index/tsconfig.json +1 -1
  156. package/src/suite/a-home/modules/home-layoutempty/package.json +50 -0
  157. package/src/suite/a-home/modules/home-layoutempty/rest/component/layoutEmpty.ts +8 -0
  158. package/src/suite/a-home/modules/home-layoutempty/rest/components.ts +1 -0
  159. package/src/suite/a-home/modules/home-layoutempty/rest/index.ts +1 -0
  160. package/src/suite/a-home/modules/home-layoutempty/src/.metadata/component/layoutEmpty.ts +23 -0
  161. package/src/suite/a-home/modules/home-layoutempty/src/.metadata/index.ts +68 -0
  162. package/src/suite/a-home/modules/home-layoutempty/src/.metadata/this.ts +2 -0
  163. package/src/suite/a-home/modules/home-layoutempty/src/component/layoutEmpty/controller.tsx +26 -0
  164. package/src/suite/a-home/modules/home-layoutempty/tsconfig.build.json +13 -0
  165. package/src/suite/a-home/modules/home-layoutempty/tsconfig.json +9 -0
  166. package/src/suite/a-home/modules/home-layouttabs/package.json +50 -0
  167. package/src/suite/a-home/modules/home-layouttabs/rest/component/layoutTabs.ts +8 -0
  168. package/src/suite/a-home/modules/home-layouttabs/rest/components.ts +1 -0
  169. package/src/suite/a-home/modules/home-layouttabs/rest/index.ts +1 -0
  170. package/src/suite/a-home/modules/home-layouttabs/src/.metadata/component/layoutTabs.ts +36 -0
  171. package/src/suite/a-home/modules/home-layouttabs/src/.metadata/index.ts +249 -0
  172. package/src/suite/a-home/modules/home-layouttabs/src/.metadata/locales.ts +19 -0
  173. package/src/suite/a-home/modules/home-layouttabs/src/.metadata/this.ts +2 -0
  174. package/src/suite/a-home/modules/home-layouttabs/src/component/layoutTabs/controller.tsx +132 -0
  175. package/src/suite/a-home/modules/home-layouttabs/src/component/layoutTabs/render.content.tsx +14 -0
  176. package/src/suite/a-home/modules/home-layouttabs/src/component/layoutTabs/render.header.tsx +31 -0
  177. package/src/suite/a-home/modules/home-layouttabs/src/component/layoutTabs/render.locale.tsx +39 -0
  178. package/src/suite/a-home/modules/home-layouttabs/src/component/layoutTabs/render.menu.tsx +72 -0
  179. package/src/suite/a-home/modules/home-layouttabs/src/component/layoutTabs/render.sidebar.tsx +23 -0
  180. package/src/suite/a-home/modules/home-layouttabs/src/component/layoutTabs/render.tabs.tsx +72 -0
  181. package/src/suite/a-home/modules/home-layouttabs/src/component/layoutTabs/render.theme.tsx +97 -0
  182. package/src/suite/a-home/modules/home-layouttabs/src/component/layoutTabs/render.tsx +50 -0
  183. package/src/suite/a-home/modules/home-layouttabs/src/component/layoutTabs/render.user.tsx +32 -0
  184. package/src/suite/a-home/modules/home-layouttabs/src/component/layoutTabs/style.ts +23 -0
  185. package/src/suite/a-home/modules/home-layouttabs/src/config/config.ts +12 -0
  186. package/src/suite/a-home/modules/home-layouttabs/src/config/locale/en-us.ts +21 -0
  187. package/src/suite/a-home/modules/home-layouttabs/src/config/locale/zh-cn.ts +21 -0
  188. package/src/suite/a-home/modules/home-layouttabs/src/index.ts +2 -0
  189. package/src/suite/a-home/modules/home-layouttabs/src/model/layout.ts +27 -0
  190. package/src/suite/a-home/modules/home-layouttabs/src/model/menu.ts +96 -0
  191. package/src/suite/a-home/modules/home-layouttabs/tsconfig.build.json +13 -0
  192. package/src/suite/a-home/modules/home-layouttabs/tsconfig.json +9 -0
  193. package/src/suite/a-home/modules/home-login/package.json +50 -0
  194. package/src/suite/a-home/modules/home-login/rest/pagesImport.txt +0 -0
  195. package/src/suite/a-home/modules/home-login/rest/pagesRecord.txt +1 -0
  196. package/src/suite/a-home/modules/home-login/src/.metadata/index.ts +109 -0
  197. package/src/suite/a-home/modules/home-login/src/.metadata/locales.ts +19 -0
  198. package/src/suite/a-home/modules/home-login/src/.metadata/page/login.ts +8 -0
  199. package/src/suite/a-home/modules/home-login/src/.metadata/this.ts +2 -0
  200. package/src/suite/a-home/modules/home-login/src/config/locale/en-us.ts +6 -0
  201. package/src/suite/a-home/modules/home-login/src/config/locale/zh-cn.ts +6 -0
  202. package/src/suite/a-home/modules/home-login/src/index.ts +2 -0
  203. package/src/suite/a-home/modules/home-login/src/page/login/controller.tsx +34 -0
  204. package/src/suite/a-home/modules/home-login/src/page/login/render.tsx +103 -0
  205. package/src/suite/a-home/modules/home-login/src/routes.ts +15 -0
  206. package/src/suite/a-home/modules/home-login/tsconfig.build.json +13 -0
  207. package/src/suite/a-home/modules/home-login/tsconfig.json +9 -0
  208. package/src/suite/a-home/modules/home-passport/package.json +58 -0
  209. package/src/suite/a-home/modules/home-passport/src/.metadata/index.ts +71 -0
  210. package/src/suite/a-home/modules/home-passport/src/.metadata/this.ts +2 -0
  211. package/src/suite/a-home/modules/home-passport/src/config/config.ts +9 -0
  212. package/src/suite/a-home/modules/home-passport/src/index.ts +2 -0
  213. package/src/suite/a-home/modules/home-passport/src/model/passport.ts +203 -0
  214. package/src/suite/a-home/modules/home-passport/src/monkey.ts +42 -0
  215. package/src/suite/a-home/modules/home-passport/src/types/index.ts +1 -0
  216. package/src/suite/a-home/modules/home-passport/src/types/passport.ts +8 -0
  217. package/src/suite/a-home/modules/home-passport/tsconfig.build.json +13 -0
  218. package/src/suite/a-home/modules/home-passport/tsconfig.json +9 -0
  219. package/src/suite/a-home/package.json +10 -6
  220. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/package.json +59 -24
  221. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/.metadata/index.ts +155 -8
  222. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/bean/meta.themeHandler.ts +39 -0
  223. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/bean/sys.appBar.tsx +185 -0
  224. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/bean/sys.icon.ts +119 -0
  225. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/bean/sys.main.tsx +61 -0
  226. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/bean/sys.navigationDrawer.tsx +266 -0
  227. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/index.ts +2 -2
  228. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/lib/index.ts +1 -0
  229. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/{component → lib}/svg.ts +4 -4
  230. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/monkey.ts +15 -15
  231. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/monkeySys.ts +59 -0
  232. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/service/locale.ts +13 -0
  233. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/types/index.ts +2 -0
  234. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/types/layoutConfig.ts +9 -0
  235. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/types/vuetify.ts +40 -0
  236. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/tsconfig.build.json +13 -0
  237. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/tsconfig.json +1 -1
  238. package/src/suite-vendor/a-vuetify/modules/vuetify-form/package.json +50 -0
  239. package/src/suite-vendor/a-vuetify/modules/vuetify-form/rest/component/formFieldCaptcha.ts +8 -0
  240. package/src/suite-vendor/a-vuetify/modules/vuetify-form/rest/components.ts +1 -0
  241. package/src/suite-vendor/a-vuetify/modules/vuetify-form/rest/index.ts +1 -0
  242. package/src/suite-vendor/a-vuetify/modules/vuetify-form/src/.metadata/component/formFieldCaptcha.ts +23 -0
  243. package/src/suite-vendor/a-vuetify/modules/vuetify-form/src/.metadata/index.ts +149 -0
  244. package/src/suite-vendor/a-vuetify/modules/vuetify-form/src/.metadata/locales.ts +19 -0
  245. package/src/suite-vendor/a-vuetify/modules/vuetify-form/src/.metadata/this.ts +2 -0
  246. package/src/suite-vendor/a-vuetify/modules/vuetify-form/src/bean/behavior.formField.tsx +90 -0
  247. package/src/suite-vendor/a-vuetify/modules/vuetify-form/src/bean/behavior.formFieldLayout.ts +21 -0
  248. package/src/suite-vendor/a-vuetify/modules/vuetify-form/src/component/formFieldCaptcha/controller.tsx +127 -0
  249. package/src/suite-vendor/a-vuetify/modules/vuetify-form/src/config/locale/en-us.ts +3 -0
  250. package/src/suite-vendor/a-vuetify/modules/vuetify-form/src/config/locale/zh-cn.ts +3 -0
  251. package/src/suite-vendor/a-vuetify/modules/vuetify-form/src/index.ts +3 -0
  252. package/src/suite-vendor/a-vuetify/modules/vuetify-form/src/types/formField.ts +17 -0
  253. package/src/suite-vendor/a-vuetify/modules/vuetify-form/src/types/index.ts +1 -0
  254. package/src/suite-vendor/a-vuetify/modules/vuetify-form/tsconfig.build.json +13 -0
  255. package/src/{suite/a-home/modules/home-layout → suite-vendor/a-vuetify/modules/vuetify-form}/tsconfig.json +1 -1
  256. package/src/suite-vendor/a-vuetify/package.json +5 -4
  257. package/src-ssr/middlewares/render.ts +12 -9
  258. package/src-ssr/server.ts +13 -18
  259. package/src-ssr/ssr-flag.d.ts +2 -2
  260. package/tsconfig.base.esm.json +6 -3
  261. package/tsconfig.base.json +5 -2
  262. package/tsconfig.json +14 -4
  263. package/tsconfig.rest.json +13 -0
  264. package/tsconfig.vue-tsc.json +8 -2
  265. package/.eslintignore +0 -8
  266. package/.eslintrc.cjs +0 -4
  267. package/.npmrc +0 -30
  268. package/env/.env.ssr.front +0 -3
  269. package/prettier.config.cjs +0 -2
  270. package/src/boot/app/index.vue +0 -10
  271. package/src/front/config/config/config.front.ts +0 -17
  272. package/src/suite/a-demo/modules/demo-basic/src/component/card/controller.ts +0 -30
  273. package/src/suite/a-demo/modules/demo-basic/src/component/card/index.vue +0 -12
  274. package/src/suite/a-demo/modules/demo-basic/src/page/component/controller.ts +0 -9
  275. package/src/suite/a-demo/modules/demo-basic/src/page/component/index.vue +0 -10
  276. package/src/suite/a-demo/modules/demo-basic/src/page/component/render.tsx +0 -38
  277. package/src/suite/a-demo/modules/demo-basic/src/page/state/controller.ts +0 -21
  278. package/src/suite/a-demo/modules/demo-basic/src/page/state/index.vue +0 -10
  279. package/src/suite/a-demo/modules/demo-basic/src/page/state/render.tsx +0 -23
  280. package/src/suite/a-demo/modules/demo-basic/src/page/style/controller.ts +0 -17
  281. package/src/suite/a-demo/modules/demo-basic/src/page/style/index.vue +0 -11
  282. package/src/suite/a-demo/modules/demo-basic/src/page/style/render.tsx +0 -40
  283. package/src/suite/a-demo/modules/demo-basic/src/page/style/style.ts +0 -16
  284. package/src/suite/a-home/modules/home-base/src/bean/bean.api.ts +0 -59
  285. package/src/suite/a-home/modules/home-base/src/bean/local.router.ts +0 -12
  286. package/src/suite/a-home/modules/home-base/src/bean/local.ssr.ts +0 -56
  287. package/src/suite/a-home/modules/home-base/src/bean/style.default.ts +0 -11
  288. package/src/suite/a-home/modules/home-base/src/component/page/controller.ts +0 -23
  289. package/src/suite/a-home/modules/home-base/src/component/page/index.vue +0 -13
  290. package/src/suite/a-home/modules/home-base/src/component/page/render.tsx +0 -12
  291. package/src/suite/a-home/modules/home-base/src/component/page/style.ts +0 -16
  292. package/src/suite/a-home/modules/home-base/src/page/errorNotFound/controller.ts +0 -7
  293. package/src/suite/a-home/modules/home-base/src/page/errorNotFound/index.vue +0 -11
  294. package/src/suite/a-home/modules/home-base/src/page/errorNotFound/render.tsx +0 -23
  295. package/src/suite/a-home/modules/home-base/src/page/errorNotFound/style.ts +0 -10
  296. package/src/suite/a-home/modules/home-base/src/types.ts +0 -30
  297. package/src/suite/a-home/modules/home-icon/icons/default/zova.svg +0 -3
  298. package/src/suite/a-home/modules/home-icon/src/assets/icons/groups/auth.svg +0 -8
  299. package/src/suite/a-home/modules/home-icon/src/assets/icons/groups/business.svg +0 -12
  300. package/src/suite/a-home/modules/home-icon/src/assets/icons/groups/default.svg +0 -114
  301. package/src/suite/a-home/modules/home-icon/src/assets/icons/groups/editor.svg +0 -32
  302. package/src/suite/a-home/modules/home-icon/src/assets/icons/groups/flow.svg +0 -13
  303. package/src/suite/a-home/modules/home-icon/src/assets/icons/groups/login.svg +0 -7
  304. package/src/suite/a-home/modules/home-icon/src/assets/icons/groups/outline.svg +0 -41
  305. package/src/suite/a-home/modules/home-icon/src/assets/icons/groups/role.svg +0 -10
  306. package/src/suite/a-home/modules/home-icon/src/assets/icons/groups/social.svg +0 -9
  307. package/src/suite/a-home/modules/home-icon/src/assets/icons/groups/tools.svg +0 -4
  308. package/src/suite/a-home/modules/home-icon/src/config/icons.ts +0 -23
  309. package/src/suite/a-home/modules/home-index/src/page/index/controller.ts +0 -7
  310. package/src/suite/a-home/modules/home-index/src/page/index/index.vue +0 -11
  311. package/src/suite/a-home/modules/home-index/src/page/index/render.tsx +0 -19
  312. package/src/suite/a-home/modules/home-index/src/page/index/style.ts +0 -10
  313. package/src/suite/a-home/modules/home-layout/mock/menu.fake.ts +0 -72
  314. package/src/suite/a-home/modules/home-layout/package.json +0 -28
  315. package/src/suite/a-home/modules/home-layout/src/.metadata/index.ts +0 -64
  316. package/src/suite/a-home/modules/home-layout/src/.metadata/this.ts +0 -2
  317. package/src/suite/a-home/modules/home-layout/src/bean/model.layout.ts +0 -20
  318. package/src/suite/a-home/modules/home-layout/src/bean/model.menu.ts +0 -18
  319. package/src/suite/a-home/modules/home-layout/src/component/essentialLink/controller.ts +0 -26
  320. package/src/suite/a-home/modules/home-layout/src/component/essentialLink/index.vue +0 -12
  321. package/src/suite/a-home/modules/home-layout/src/component/essentialLink/render.tsx +0 -21
  322. package/src/suite/a-home/modules/home-layout/src/component/layoutDefault/controller.ts +0 -61
  323. package/src/suite/a-home/modules/home-layout/src/component/layoutDefault/index.vue +0 -12
  324. package/src/suite/a-home/modules/home-layout/src/component/layoutDefault/render.tsx +0 -76
  325. package/src/suite/a-home/modules/home-layout/src/component/layoutEmpty/controller.ts +0 -17
  326. package/src/suite/a-home/modules/home-layout/src/component/layoutEmpty/index.vue +0 -12
  327. package/src/suite/a-home/modules/home-layout/src/component/layoutEmpty/render.tsx +0 -19
  328. package/src/suite/a-home/modules/home-layout/src/service/menu.ts +0 -17
  329. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/bean/local.icon.tsx +0 -109
  330. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/bean/tool.themeHandler.ts +0 -18
  331. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/types.ts +0 -18
  332. package/src/suite-vendor/a-vuetify/modules/vuetify-adapter/src/typings.ts +0 -9
  333. package/src-ssr/middlewares/env.ts +0 -21
  334. package/tsconfig.base.cjs.json +0 -3
  335. /package/src/suite/a-home/modules/{home-layout → home-layoutempty}/src/index.ts +0 -0
package/.gitignore CHANGED
@@ -3,19 +3,25 @@
3
3
 
4
4
  .DS_Store
5
5
  .thumbs.db
6
- # pnpm-lock.yaml
6
+ pnpm-lock.yaml
7
7
  # package-lock.json
8
8
  node_modules
9
9
  miniprogram_npm
10
10
  vite.config.ts.timestamp-*
11
11
 
12
- **/dist
13
- distMockServer
12
+ **/dist/
13
+ **/dist-toolsIsolate/
14
+ **/dist-cli/
15
+ dist-releases
16
+ dist-mock
14
17
 
15
18
  # zova core related directories
19
+ .temp-dynamic-*
16
20
  .zova
21
+ .zova-rest
17
22
  .quasar
18
23
  /quasar.config.*.temporary.compiled*
24
+ /openapi.config.ts
19
25
 
20
26
  # Cordova related directories and files
21
27
  /src-cordova/node_modules
@@ -45,22 +51,22 @@ env/.env*.mine
45
51
  /src/front/config/config/config*.mine.ts
46
52
  /src/front/typing/modules.d.ts
47
53
  **/.metadata/modules.d.ts
54
+ # /package.json
48
55
 
49
56
  **/*.tsbuildinfo
50
57
 
51
58
  /src/suite/*
52
59
  !/src/suite/.gitkeep
53
- !/src/suite/a-base
54
- !/src/suite/a-cms
55
- !/src/suite/a-zova
56
60
  !/src/suite/a-demo
57
- !/src/suite/a-flow
58
61
  !/src/suite/a-home
59
- !/src/suite/test-party
62
+ !/src/suite/a-paypal
60
63
 
61
64
  /src/suite-vendor/*
62
65
  !/src/suite-vendor/.gitkeep
66
+ !/src/suite-vendor/a-cabloy
63
67
  !/src/suite-vendor/a-vuetify
68
+ !/src/suite-vendor/a-zova
69
+
64
70
 
65
71
  /src/module/*
66
72
  !/src/module/.gitkeep
@@ -1,5 +1,5 @@
1
1
  {
2
- "recommendations": ["cabloy.zova-vscode", "dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "Vue.volar"],
2
+ "recommendations": ["cabloy.zova-vscode", "oxc.oxc-vscode", "Vue.volar"],
3
3
  "unwantedRecommendations": [
4
4
  "Vue.vscode-typescript-vue-plugin",
5
5
  "octref.vetur",
@@ -1,53 +1,31 @@
1
1
  {
2
2
  "editor.bracketPairColorization.enabled": true,
3
3
  "editor.guides.bracketPairs": true,
4
+ // typescript
5
+ "js/ts.tsserver.automaticTypeAcquisition.enabled": true,
6
+ "js/ts.format.enabled": true,
7
+ "js/ts.implementationsCodeLens.enabled": true,
8
+ "js/ts.tsserver.useSyntaxServer": "auto",
9
+ "js/ts.validate.enabled": true,
10
+ "js/ts.suggest.autoImports": true,
11
+ "js/ts.suggest.includeCompletionsForImportStatements": true,
12
+ "js/ts.preferences.importModuleSpecifier": "shortest",
13
+ "js/ts.preferences.importModuleSpecifierEnding": "js",
14
+ "js/ts.preferences.includePackageJsonAutoImports": "on",
15
+ // oxfmt
16
+ "oxc.fmt.configPath": "oxfmt.config.ts",
17
+ "editor.defaultFormatter": "oxc.oxc-vscode",
4
18
  "editor.formatOnSave": true,
5
- "editor.defaultFormatter": "esbenp.prettier-vscode",
19
+ // oxlint
6
20
  "editor.codeActionsOnSave": {
7
- "source.fixAll.eslint": "explicit"
8
- },
9
- "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"],
10
- "prettier.singleQuote": true,
11
- "prettier.jsxSingleQuote": false,
12
- "[html]": {
13
- "editor.defaultFormatter": "esbenp.prettier-vscode"
14
- },
15
- "[css]": {
16
- "editor.defaultFormatter": "esbenp.prettier-vscode"
17
- },
18
- "[less]": {
19
- "editor.defaultFormatter": "esbenp.prettier-vscode"
20
- },
21
- "[vue]": {
22
- "editor.defaultFormatter": "esbenp.prettier-vscode"
23
- },
24
- "[javascript]": {
25
- "editor.defaultFormatter": "esbenp.prettier-vscode"
21
+ "source.fixAll.oxc": "always"
26
22
  },
27
23
  "[typescriptreact]": {
28
- "editor.defaultFormatter": "esbenp.prettier-vscode"
29
- },
30
- "[jsonc]": {
31
- "editor.defaultFormatter": "esbenp.prettier-vscode"
24
+ "editor.defaultFormatter": "oxc.oxc-vscode"
32
25
  },
33
26
  "[typescript]": {
34
- "editor.defaultFormatter": "esbenp.prettier-vscode"
35
- },
36
- "[json]": {
37
- "editor.defaultFormatter": "esbenp.prettier-vscode"
27
+ "editor.defaultFormatter": "oxc.oxc-vscode"
38
28
  },
39
- "files.eol": "\n",
40
- "typescript.tsdk": "node_modules/typescript/lib",
41
- "typescript.disableAutomaticTypeAcquisition": false,
42
- "typescript.format.enable": true,
43
- "typescript.implementationsCodeLens.enabled": true,
44
- "typescript.tsserver.useSyntaxServer": "auto",
45
- "typescript.validate.enable": true,
46
- "typescript.suggest.autoImports": true,
47
- "typescript.suggest.includeCompletionsForImportStatements": true,
48
- "typescript.preferences.importModuleSpecifier": "shortest",
49
- "typescript.preferences.importModuleSpecifierEnding": "js",
50
- "typescript.preferences.includePackageJsonAutoImports": "on",
51
29
  // associations
52
30
  "files.associations": {
53
31
  "*.ejs": "html",
@@ -15,4 +15,202 @@
15
15
  "body": ["protected __dispose__() {", " $0", "}"],
16
16
  "description": "__dispose__",
17
17
  },
18
+ "aop.__init__": {
19
+ "scope": "typescript,typescriptreact",
20
+ "prefix": "aopinit",
21
+ "body": [
22
+ "protected __init__: AopActionInit<ClassSome> = async (_args, next, _receiver) => {",
23
+ " await next();",
24
+ " $0",
25
+ "}"
26
+ ],
27
+ "description": "aop.__init__"
28
+ },
29
+ "aop.__dispose__": {
30
+ "scope": "typescript,typescriptreact",
31
+ "prefix": "aopdispose",
32
+ "body": [
33
+ "protected __dispose__: AopActionDispose<ClassSome> = (_args, next, _receiver) => {",
34
+ " $0",
35
+ " next();",
36
+ "}"
37
+ ],
38
+ "description": "aop.__dispose__"
39
+ },
40
+ "aop.__get__": {
41
+ "scope": "typescript,typescriptreact",
42
+ "prefix": "aopget",
43
+ "body": [
44
+ "protected __get__: AopActionGet<ClassSome> = (_prop, next, _receiver) => {",
45
+ " const value = next();",
46
+ " return value;",
47
+ "}"
48
+ ],
49
+ "description": "aop.__get__"
50
+ },
51
+ "aop.__set__": {
52
+ "scope": "typescript,typescriptreact",
53
+ "prefix": "aopset",
54
+ "body": [
55
+ "protected __set__: AopActionSet<ClassSome> = (_prop, value, next, _receiver) => {",
56
+ " return next(value);",
57
+ "}"
58
+ ],
59
+ "description": "aop.__set__"
60
+ },
61
+ "aop.__method__": {
62
+ "scope": "typescript,typescriptreact",
63
+ "prefix": "aopmethod",
64
+ "body": [
65
+ "protected __method__: AopActionMethod<ClassSome> = (_method, _args, next, _receiver) => {",
66
+ " $0",
67
+ " return next();",
68
+ "}"
69
+ ],
70
+ "description": "aop.__method__"
71
+ },
72
+ "aop.getter": {
73
+ "scope": "typescript,typescriptreact",
74
+ "prefix": "aopgetter",
75
+ "body": [
76
+ "protected __get_xxx__: AopActionGetter<ClassSome, 'xxx'> = function (next, _receiver) {",
77
+ " const value = next();",
78
+ " return value;",
79
+ "}"
80
+ ],
81
+ "description": "aop.getter"
82
+ },
83
+ "aop.setter": {
84
+ "scope": "typescript,typescriptreact",
85
+ "prefix": "aopsetter",
86
+ "body": [
87
+ "protected __set_xxx__: AopActionSetter<ClassSome, 'xxx'> = function (value, next, _receiver) {",
88
+ " return next(value);",
89
+ "}"
90
+ ],
91
+ "description": "aop.setter"
92
+ },
93
+ "aop.action": {
94
+ "scope": "typescript,typescriptreact",
95
+ "prefix": "aopaction",
96
+ "body": [
97
+ "action: AopAction<ClassSome, 'action'> = async (_args, next, _receiver) => {",
98
+ " $0",
99
+ " return await next();",
100
+ "}"
101
+ ],
102
+ "description": "aop.action"
103
+ },
104
+ "aop.actionsync": {
105
+ "scope": "typescript,typescriptreact",
106
+ "prefix": "aopactionsync",
107
+ "body": [
108
+ "action: AopAction<ClassSome, 'action'> = (_args, next, _receiver) => {",
109
+ " $0",
110
+ " return next();",
111
+ "}"
112
+ ],
113
+ "description": "aop.actionsync"
114
+ },
115
+ "aopmethod.get": {
116
+ "scope": "typescript,typescriptreact",
117
+ "prefix": "aopmethodget",
118
+ "body": [
119
+ "get(_options: IDecoratorAopMethodOptions, next: NextSync, _receiver: any, _prop: string) {",
120
+ " return next();",
121
+ "}"
122
+ ],
123
+ "description": "aopmethod.get"
124
+ },
125
+ "aopmethod.set": {
126
+ "scope": "typescript,typescriptreact",
127
+ "prefix": "aopmethodset",
128
+ "body": [
129
+ "set(_options: IDecoratorAopMethodOptions, value: any, next: NextSync, _receiver: any, _prop: string): boolean {",
130
+ " return next(value);",
131
+ "}"
132
+ ],
133
+ "description": "aopmethod.set"
134
+ },
135
+ "aopmagic.get": {
136
+ "scope": "typescript,typescriptreact",
137
+ "prefix": "aopmagicget",
138
+ "body": [
139
+ "protected __get__(prop: string) {",
140
+ " $0",
141
+ "}"
142
+ ],
143
+ "description": "aopmagic.get"
144
+ },
145
+ "aopmagic.set": {
146
+ "scope": "typescript,typescriptreact",
147
+ "prefix": "aopmagicset",
148
+ "body": [
149
+ "protected __set__(prop: string, value: any): boolean {",
150
+ " $0",
151
+ " return false;",
152
+ "}"
153
+ ],
154
+ "description": "aopmagic.set"
155
+ },
156
+ "record.flavor": {
157
+ "scope": "typescript,typescriptreact",
158
+ "prefix": "recordflavor",
159
+ "body": [
160
+ "declare module '@cabloy/module-info' {",
161
+ " export interface ZovaMetaFlavorExtend {",
162
+ " $0: never;",
163
+ " }",
164
+ "}"
165
+ ],
166
+ "description": "record.flavor"
167
+ },
168
+ "record.appmode": {
169
+ "scope": "typescript,typescriptreact",
170
+ "prefix": "recordappmode",
171
+ "body": [
172
+ "declare module '@cabloy/module-info' {",
173
+ " export interface ZovaMetaAppModeExtend {",
174
+ " $0: never;",
175
+ " }",
176
+ "}"
177
+ ],
178
+ "description": "record.appmode"
179
+ },
180
+ "record.loggerclient": {
181
+ "scope": "typescript,typescriptreact",
182
+ "prefix": "recordloggerclient",
183
+ "body": [
184
+ "declare module 'zova' {",
185
+ " export interface ILoggerClientRecord {",
186
+ " $0: never;",
187
+ " }",
188
+ "}"
189
+ ],
190
+ "description": "record.loggerclient"
191
+ },
192
+ "record.loggerchild": {
193
+ "scope": "typescript,typescriptreact",
194
+ "prefix": "recordloggerchild",
195
+ "body": [
196
+ "declare module 'zova' {",
197
+ " export interface ILoggerChildRecord {",
198
+ " $0: never;",
199
+ " }",
200
+ "}"
201
+ ],
202
+ "description": "record.loggerchild"
203
+ },
204
+ "record.locale": {
205
+ "scope": "typescript,typescriptreact",
206
+ "prefix": "recordlocale",
207
+ "body": [
208
+ "declare module 'zova' {",
209
+ " export interface ILocaleRecord {",
210
+ " $0: never;",
211
+ " }",
212
+ "}"
213
+ ],
214
+ "description": "record.locale"
215
+ },
18
216
  }
package/README.md CHANGED
@@ -72,11 +72,11 @@ export class RenderCounter {
72
72
 
73
73
  ### 1. Logic Reuse
74
74
 
75
- Create a `Counter` Bean to implement the logic of `count`
75
+ Create a `Service` Bean to implement the logic of `count`
76
76
 
77
77
  ```typescript
78
- @Local()
79
- export class Counter {
78
+ @Service()
79
+ export class ServiceCounter {
80
80
  count: number = 0;
81
81
 
82
82
  increment() {
@@ -94,7 +94,7 @@ export class Counter {
94
94
  ```typescript
95
95
  export class ControllerPageCounter {
96
96
  @Use()
97
- $$counter: Counter;
97
+ $$counter: ServiceCounter;
98
98
  }
99
99
  ```
100
100
 
package/env/.env CHANGED
@@ -1,42 +1,72 @@
1
- APP_ROUTER_MODE = history
2
- APP_ROUTER_BASE =
3
- APP_PUBLIC_PATH =
4
1
  APP_NAME = Zova
5
2
  APP_TITLE = Zova
3
+ APP_DESCRIPTION = A vue3 framework with ioc
6
4
  APP_VERSION = 1.0.0
7
5
 
8
- DEV_SERVER_HOST =
6
+ APP_META_VIEWPORT = 'user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width'
7
+
8
+ APP_PUBLIC_PATH =
9
+ APP_LOCALE_DEFAULT = en-us
10
+ APP_LOCALE_HEADER_KEY = x-vona-locale
11
+ APP_TZ_HEADER_KEY = x-vona-tz
12
+
13
+ ROUTER_MODE = history
14
+ ROUTER_PAGE_HOME = /
15
+ ROUTER_PAGE_LOGIN = /login
16
+ ROUTER_KEY_RETURNTO = returnTo
17
+
18
+ DEV_SERVER_HOSTNAME =
9
19
  DEV_SERVER_PORT = 9000
10
20
 
11
21
  PROJECT_DISABLED_MODULES =
12
22
  PROJECT_DISABLED_SUITES =
13
23
 
24
+ LAYOUT_COMPONENT_EMPTY = home-layoutempty:layoutEmpty
25
+ LAYOUT_COMPONENT_DEFAULT = home-layouttabs:layoutTabs
26
+ LAYOUT_SIDEBAR_LEFTOPENPC = true
27
+
28
+ STYLE_DEFAULT_THEME = home-base:default
29
+
30
+ LOGGER_CLIENT_DEFAULT =
31
+
14
32
  BUILD_OUTDIR =
15
33
  BUILD_MINIFY = true
34
+ BUILD_SOURCEMAP = true
35
+ BUILD_TARGET_BROWSER = es2015,firefox115,chrome115,safari16.4
36
+ BUILD_TARGET_NODE = node24
16
37
  BUILD_ANALYZE = false
38
+ BUILD_COPY_DIST =
39
+ BUILD_COPY_RELEASE =
40
+ BUILD_REST_COPY_DIST =
17
41
 
18
- API_BASE_URL=
42
+ API_BASE_URL = http://localhost:7102 # first api, then mock
19
43
  API_PREFIX = /api
20
44
  API_JWT = true
21
45
 
46
+ OPENAPI_BASE_URL_DEFAULT =
47
+
22
48
  PINIA_ENABLED = false
23
49
 
24
50
  PROXY_API_ENABLED = true
25
51
  PROXY_API_BASE_URL = http://localhost:$MOCK_BUILD_PORT
26
52
  PROXY_API_PREFIX = $API_PREFIX
27
53
 
28
- SSR_COOKIE_THEMENAME = false
29
- SSR_COOKIE_THEMEDARK = false
54
+ SSR_COOKIE_LOCALE = false
55
+ SSR_COOKIE_THEME = false
30
56
  SSR_COOKIE_THEMEDARK_DEFAULT = true
31
57
  SSR_BODYREADYOBSERVER = false
32
- SSR_API_BASE_URL = http://localhost:$DEV_SERVER_PORT
58
+ SSR_API_BASE_URL = $API_BASE_URL
33
59
  SSR_PROD_PORT = 3000
34
- SSR_VITE_NODE = true
60
+ SSR_PROD_PROTOCOL = http
61
+ SSR_PROD_HOST = localhost:3000
62
+ SSR_HMR = false
63
+ SSR_TRANSFERCACHE = false
64
+ SSR_TRANSFERCACHE_EXPIRES = 0
35
65
 
36
66
  MOCK_ENABLED = true
37
67
  MOCK_LOGGER = false
38
68
  MOCK_BASE_NAME = $API_PREFIX
39
69
  MOCK_BUILD = false
40
70
  MOCK_BUILD_PORT = 8888
41
- MOCK_BUILD_OUTPUT = distMockServer
71
+ MOCK_BUILD_OUTPUT = dist-mock
42
72
  MOCK_BUILD_CORS = true
@@ -0,0 +1,15 @@
1
+ APP_NAME = CabloyStartAdmin
2
+ APP_TITLE = Cabloy Start
3
+ APP_DESCRIPTION = Cabloy Start
4
+ APP_VERSION = 5.0.0
5
+
6
+ APP_PUBLIC_PATH = admin
7
+
8
+ PROJECT_DISABLED_SUITES = a-demo
9
+
10
+ STYLE_DEFAULT_THEME = start-theme:orange
11
+
12
+ SSR_COOKIE_LOCALE = true
13
+ SSR_COOKIE_THEME = true
14
+ SSR_BODYREADYOBSERVER = true
15
+ SSR_HMR = true
@@ -0,0 +1,16 @@
1
+ APP_NAME = CabloyStartWeb
2
+ APP_TITLE = Cabloy Start
3
+ APP_DESCRIPTION = Cabloy Start
4
+ APP_VERSION = 5.0.0
5
+
6
+ PROJECT_DISABLED_SUITES = a-demo
7
+
8
+ LAYOUT_COMPONENT_DEFAULT = start-layoutweb:layoutWeb
9
+ LAYOUT_SIDEBAR_LEFTOPENPC = false
10
+
11
+ STYLE_DEFAULT_THEME = start-theme:orange
12
+
13
+ SSR_COOKIE_LOCALE = false
14
+ SSR_COOKIE_THEME = false
15
+ SSR_BODYREADYOBSERVER = false
16
+ SSR_HMR = true
@@ -1,3 +1,5 @@
1
- SSR_COOKIE_THEMENAME = true
2
- SSR_COOKIE_THEMEDARK = true
3
- SSR_BODYREADYOBSERVER = true
1
+ SSR_COOKIE_LOCALE = true
2
+ SSR_COOKIE_THEME = true
3
+ SSR_BODYREADYOBSERVER = true
4
+ SSR_TRANSFERCACHE = true
5
+ SSR_TRANSFERCACHE_EXPIRES = 0
@@ -0,0 +1,17 @@
1
+ APP_NAME = CabloyStartAdmin
2
+ APP_TITLE = Cabloy Start
3
+ APP_DESCRIPTION = Cabloy Start
4
+ APP_VERSION = 5.0.0
5
+
6
+ APP_PUBLIC_PATH = admin
7
+
8
+ PROJECT_DISABLED_SUITES = a-demo
9
+
10
+ STYLE_DEFAULT_THEME = start-theme:orange
11
+
12
+ SSR_COOKIE_LOCALE = true
13
+ SSR_COOKIE_THEME = true
14
+ SSR_BODYREADYOBSERVER = true
15
+ SSR_HMR = true
16
+ SSR_TRANSFERCACHE = true
17
+ SSR_TRANSFERCACHE_EXPIRES = 0
@@ -0,0 +1,6 @@
1
+ SSR_HMR = false
2
+
3
+ BUILD_MINIFY = true
4
+ BUILD_SOURCEMAP = false
5
+
6
+ MOCK_ENABLED = false
@@ -0,0 +1,18 @@
1
+ APP_NAME = CabloyStartWeb
2
+ APP_TITLE = Cabloy Start
3
+ APP_DESCRIPTION = Cabloy Start
4
+ APP_VERSION = 5.0.0
5
+
6
+ PROJECT_DISABLED_SUITES = a-demo
7
+
8
+ LAYOUT_COMPONENT_DEFAULT = start-layoutweb:layoutWeb
9
+ LAYOUT_SIDEBAR_LEFTOPENPC = false
10
+
11
+ STYLE_DEFAULT_THEME = start-theme:orange
12
+
13
+ SSR_COOKIE_LOCALE = false
14
+ SSR_COOKIE_THEME = false
15
+ SSR_BODYREADYOBSERVER = false
16
+ SSR_HMR = true
17
+ SSR_TRANSFERCACHE = true
18
+ SSR_TRANSFERCACHE_EXPIRES = 10m
@@ -0,0 +1,6 @@
1
+ SSR_HMR = false
2
+
3
+ BUILD_MINIFY = true
4
+ BUILD_SOURCEMAP = false
5
+
6
+ MOCK_ENABLED = false
@@ -1,5 +1 @@
1
- API_BASE_URL = http://localhost:$MOCK_BUILD_PORT
2
-
3
- SSR_API_BASE_URL = $API_BASE_URL
4
-
5
1
  MOCK_BUILD =true
@@ -0,0 +1,7 @@
1
+ LAYOUT_SIDEBAR_LEFTOPENPC = false
2
+
3
+ SSR_COOKIE_LOCALE = false
4
+ SSR_COOKIE_THEME = false
5
+ SSR_BODYREADYOBSERVER = false
6
+ SSR_TRANSFERCACHE = true
7
+ SSR_TRANSFERCACHE_EXPIRES = 10m
@@ -0,0 +1,28 @@
1
+ import { oxcFormatConfig } from '@cabloy/lint';
2
+ import { defineConfig } from 'oxfmt';
3
+
4
+ export default defineConfig(
5
+ oxcFormatConfig({
6
+ ignorePatterns: [
7
+ '*.min.js',
8
+ '*.code-snippets',
9
+ '**/dist/**',
10
+ '**/static/**',
11
+ '**/.rollup.cache/**',
12
+ '**/.metadata/index.ts',
13
+ '.vona',
14
+ '.assets',
15
+ 'coverage',
16
+ 'docker-compose',
17
+ 'scripts',
18
+ 'zovaRest',
19
+ 'assets',
20
+ 'vite.config.ts.timestamp-*',
21
+ 'dist-releases',
22
+ 'dist-mock',
23
+ 'src-capacitor',
24
+ 'src-cordova',
25
+ '.zova',
26
+ ],
27
+ }),
28
+ );
@@ -0,0 +1,62 @@
1
+ import { oxcLintConfigVue } from '@cabloy/lint';
2
+ import { defineConfig } from 'oxlint';
3
+
4
+ export default defineConfig(
5
+ oxcLintConfigVue({
6
+ ignorePatterns: [
7
+ '**/node_modules',
8
+ '**/dist',
9
+ '**/package-lock.json',
10
+ '**/yarn.lock',
11
+ '**/pnpm-lock.yaml',
12
+ '**/bun.lockb',
13
+ '**/output',
14
+ '**/coverage',
15
+ '**/temp',
16
+ '**/.temp',
17
+ '**/tmp',
18
+ '**/.tmp',
19
+ '**/.history',
20
+ '**/.vitepress/cache',
21
+ '**/.nuxt',
22
+ '**/.next',
23
+ '**/.svelte-kit',
24
+ '**/.vercel',
25
+ '**/.changeset',
26
+ '**/.idea',
27
+ '**/.cache',
28
+ '**/.output',
29
+ '**/.vite-inspect',
30
+ '**/.yarn',
31
+ '**/vite.config.*.timestamp-*',
32
+ '**/CHANGELOG*.md',
33
+ '**/*.min.*',
34
+ '**/LICENSE*',
35
+ '**/__snapshots__',
36
+ '**/auto-import?(s).d.ts',
37
+ '**/components.d.ts',
38
+ '**/*.md',
39
+ '**/*.d.ts',
40
+ '**/node_modules/**',
41
+ '**/dist/**',
42
+ '**/static/**',
43
+ '**/.rollup.cache/**',
44
+ 'postcss.config.cjs',
45
+ '**/.metadata/index.ts',
46
+ '.vona',
47
+ '.assets',
48
+ 'coverage',
49
+ 'docker-compose',
50
+ 'package.json',
51
+ 'scripts',
52
+ 'zovaRest',
53
+ 'assets',
54
+ 'vite.config.ts.timestamp-*',
55
+ 'dist-releases',
56
+ 'dist-mock',
57
+ 'src-capacitor',
58
+ 'src-cordova',
59
+ '.zova',
60
+ ],
61
+ }),
62
+ );