cabloy 5.1.10 → 5.1.12

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 (210) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/lint-staged.config.mjs +92 -0
  3. package/oxfmt.config.ts +4 -1
  4. package/package.json +2 -11
  5. package/vona/packages-utils/lint/api/tsconfig.base.esm.json +30 -2
  6. package/vona/packages-utils/lint/package.json +40 -5
  7. package/vona/packages-utils/lint/src/index.ts +3 -0
  8. package/vona/packages-utils/lint/{oxc/format.js → src/oxc/format.ts} +4 -2
  9. package/vona/packages-utils/lint/{oxc/lint.js → src/oxc/lint.ts} +7 -7
  10. package/vona/packages-utils/lint/{oxc/lintVue.js → src/oxc/lintVue.ts} +4 -6
  11. package/vona/packages-utils/lint/tsconfig.json +14 -0
  12. package/vona/pnpm-lock.yaml +338 -17
  13. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/src/.metadata/index.ts +0 -78
  14. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/src/controller/toolOne.ts +3 -1
  15. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/src/controller/toolTwo.ts +3 -1
  16. package/zova/env/.env.ssr.cabloyBasicAdmin +0 -2
  17. package/zova/package.original.json +2 -8
  18. package/zova/packages-cli/cli/package.json +2 -2
  19. package/zova/packages-cli/cli-set-front/package.json +8 -8
  20. package/zova/packages-utils/babel-plugin-zova-bean-module/package.json +3 -3
  21. package/zova/packages-utils/babel-plugin-zova-bean-use/package.json +2 -2
  22. package/zova/packages-utils/babel-plugin-zova-behavior/package.json +2 -2
  23. package/zova/packages-utils/babel-plugin-zova-component/package.json +2 -2
  24. package/zova/packages-utils/logger/package.json +2 -2
  25. package/zova/packages-utils/mutate-on-copy/package.json +2 -2
  26. package/zova/packages-utils/quasar-app-extension-zova/package.json +3 -3
  27. package/zova/packages-utils/word-utils/package.json +2 -2
  28. package/zova/packages-utils/zova-jsx/package.json +4 -4
  29. package/zova/packages-utils/zova-openapi/package.json +2 -2
  30. package/zova/packages-utils/zova-vite/package.json +6 -6
  31. package/zova/packages-zova/zova/package.json +4 -4
  32. package/zova/packages-zova/zova-core/package.json +4 -4
  33. package/zova/pnpm-lock.yaml +67 -63
  34. package/zova/src/suite/a-demo/modules/demo-basic/package.json +1 -1
  35. package/zova/src/suite/a-demo/modules/demo-todo/package.json +1 -1
  36. package/zova/src/suite/a-demo/package.json +1 -1
  37. package/zova/src/suite/a-devui/modules/devui-adapter/package.json +1 -1
  38. package/zova/src/suite/a-devui/package.json +1 -1
  39. package/zova/src/suite/a-home/modules/home-api/package.json +1 -1
  40. package/zova/src/suite/a-home/modules/home-base/package.json +1 -1
  41. package/zova/src/suite/a-home/modules/home-icon/package.json +1 -1
  42. package/zova/src/suite/a-home/modules/home-index/package.json +1 -1
  43. package/zova/src/suite/a-home/modules/home-layoutempty/package.json +1 -1
  44. package/zova/src/suite/a-home/modules/home-layouttabs/package.json +1 -1
  45. package/zova/src/suite/a-home/modules/home-login/package.json +1 -1
  46. package/zova/src/suite/a-home/modules/home-passport/package.json +1 -1
  47. package/zova/src/suite/a-home/modules/home-theme/package.json +1 -1
  48. package/zova/src/suite/a-home/package.json +1 -1
  49. package/zova/src/suite/cabloy-basic/modules/basic-adapter/package.json +1 -1
  50. package/zova/src/suite/cabloy-basic/modules/basic-captcha/package.json +1 -1
  51. package/zova/src/suite/cabloy-basic/modules/basic-commands/package.json +1 -1
  52. package/zova/src/suite/cabloy-basic/modules/basic-commandssync/package.json +1 -1
  53. package/zova/src/suite/cabloy-basic/modules/basic-currency/package.json +1 -1
  54. package/zova/src/suite/cabloy-basic/modules/basic-date/package.json +1 -1
  55. package/zova/src/suite/cabloy-basic/modules/basic-form/package.json +1 -1
  56. package/zova/src/suite/cabloy-basic/modules/basic-input/package.json +1 -1
  57. package/zova/src/suite/cabloy-basic/modules/basic-page/package.json +1 -1
  58. package/zova/src/suite/cabloy-basic/modules/basic-pageentry/package.json +1 -1
  59. package/zova/src/suite/cabloy-basic/modules/basic-select/package.json +1 -0
  60. package/zova/src/suite/cabloy-basic/modules/basic-table/package.json +1 -1
  61. package/zova/src/suite/cabloy-basic/modules/basic-text/package.json +1 -0
  62. package/zova/src/suite-vendor/a-zova/modules/a-api/package.json +2 -2
  63. package/zova/src/suite-vendor/a-zova/modules/a-app/package.json +2 -2
  64. package/zova/src/suite-vendor/a-zova/modules/a-bean/package.json +2 -2
  65. package/zova/src/suite-vendor/a-zova/modules/a-behavior/package.json +2 -2
  66. package/zova/src/suite-vendor/a-zova/modules/a-behaviors/package.json +2 -2
  67. package/zova/src/suite-vendor/a-zova/modules/a-boundary/package.json +2 -2
  68. package/zova/src/suite-vendor/a-zova/modules/a-command/package.json +2 -2
  69. package/zova/src/suite-vendor/a-zova/modules/a-fetch/package.json +2 -2
  70. package/zova/src/suite-vendor/a-zova/modules/a-form/package.json +2 -2
  71. package/zova/src/suite-vendor/a-zova/modules/a-icon/package.json +2 -2
  72. package/zova/src/suite-vendor/a-zova/modules/a-interceptor/package.json +2 -2
  73. package/zova/src/suite-vendor/a-zova/modules/a-logger/package.json +3 -3
  74. package/zova/src/suite-vendor/a-zova/modules/a-meta/package.json +2 -2
  75. package/zova/src/suite-vendor/a-zova/modules/a-model/package.json +3 -3
  76. package/zova/src/suite-vendor/a-zova/modules/a-openapi/package.json +2 -2
  77. package/zova/src/suite-vendor/a-zova/modules/a-router/package.json +2 -2
  78. package/zova/src/suite-vendor/a-zova/modules/a-routerstack/package.json +2 -2
  79. package/zova/src/suite-vendor/a-zova/modules/a-routertabs/package.json +2 -2
  80. package/zova/src/suite-vendor/a-zova/modules/a-ssr/package.json +2 -2
  81. package/zova/src/suite-vendor/a-zova/modules/a-ssrhmr/package.json +2 -2
  82. package/zova/src/suite-vendor/a-zova/modules/a-ssrserver/package.json +2 -2
  83. package/zova/src/suite-vendor/a-zova/modules/a-style/package.json +2 -2
  84. package/zova/src/suite-vendor/a-zova/modules/a-table/package.json +2 -2
  85. package/zova/src/suite-vendor/a-zova/modules/a-zod/package.json +2 -2
  86. package/zova/src/suite-vendor/a-zova/modules/a-zova/package.json +5 -5
  87. package/zova/src/suite-vendor/a-zova/package.json +27 -27
  88. package/vona/packages-utils/lint/api/eslint.js +0 -41
  89. package/vona/packages-utils/lint/api/prettier.js +0 -8
  90. package/vona/packages-utils/lint/api/tsconfig.base.cjs.json +0 -32
  91. package/vona/packages-utils/lint/common/rules.js +0 -155
  92. package/vona/packages-utils/lint/common/rulesVue.js +0 -5
  93. package/vona/packages-utils/lint/front/eslint.js +0 -59
  94. package/vona/packages-utils/lint/front/prettier.js +0 -3
  95. package/vona/packages-utils/lint/front/tsconfig.base.cjs.json +0 -4
  96. package/vona/packages-utils/lint/front/tsconfig.base.esm.json +0 -9
  97. package/vona/packages-utils/lint/index.js +0 -3
  98. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/-zova-config-CoKN49wO.js +0 -11
  99. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-api-DmsK4zNw.js +0 -178
  100. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-app-C7cTDV9C.js +0 -138
  101. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-bean-qjOwLLml.js +0 -408
  102. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-behavior-I9evY2QT.js +0 -454
  103. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-behaviors-Dh8sE2AX.js +0 -58
  104. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-boundary-DxeJURnH.js +0 -21
  105. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-command-Duq9OGnp.js +0 -165
  106. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-fetch-BsiDc5MA.js +0 -317
  107. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-form-BSfvKLPu.js +0 -947
  108. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-icon-Bx0yNmUB.js +0 -460
  109. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-interceptor-CtK-mG6U.js +0 -256
  110. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-logger-D6FVEo-2.js +0 -143
  111. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-meta-DLAWtBzn.js +0 -47
  112. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-model-Ds17NAa5.js +0 -887
  113. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-openapi-Cu42a7Tj.js +0 -677
  114. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-router-BEKs1P3y.js +0 -1009
  115. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-routerstack-CNda3TvU.js +0 -239
  116. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-routertabs-CA8KhmHx.js +0 -519
  117. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-ssr-WZQfI3lD.js +0 -711
  118. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-ssrhmr-DiG_2CbH.js +0 -97
  119. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-style-Dcrophdv.js +0 -408
  120. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-table-Cr0qHPMV.js +0 -464
  121. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-zod-B5ZzHMKp.js +0 -87
  122. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-zova-WAWkGLRj.js +0 -21
  123. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/auth-Bjup4K84.svg +0 -8
  124. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/axios-jFGAltpb.js +0 -3152
  125. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-adapter-BzdgS83E.js +0 -68
  126. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-captcha-gmlRJxbp.js +0 -209
  127. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-commands-CmuoODyc.js +0 -179
  128. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-commandssync-4uJoTYWO.js +0 -62
  129. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-currency-ljdT_mJv.js +0 -159
  130. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-date-CJtZtM5q.js +0 -251
  131. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-form-Bi-Dm8Pp.js +0 -376
  132. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-input-DugSctyu.js +0 -83
  133. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-page-C0Mpx24A.js +0 -610
  134. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-pageentry-De7Zvv7J.js +0 -443
  135. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-select-WKCF4vyo.js +0 -186
  136. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-table-B4Eyf7EC.js +0 -368
  137. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-text-CRqjMEyr.js +0 -118
  138. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/browser-C8cI94Tr.js +0 -2409
  139. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/business-DQeTVrBD.svg +0 -12
  140. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/daisy-BZm4lJOy.svg +0 -4
  141. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/default-DxTAw1iv.svg +0 -118
  142. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/demo-basic-CiW_uKMD.js +0 -1419
  143. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/demo-student-DpiY4dnt.js +0 -69
  144. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/demo-todo-CM3XdLlo.js +0 -427
  145. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/devui-adapter-B2uiKP95.js +0 -95
  146. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/dist.es2015-BMNhwNBy.js +0 -343
  147. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/editor-CmZexDJp.svg +0 -32
  148. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/emoji-CLaR2GZg.svg +0 -3
  149. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/esm-Z9BncIrt.js +0 -2574
  150. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/extends-BSP9iXrM.js +0 -27
  151. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/fecha-DvkbkxAQ.js +0 -9849
  152. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/flow-DCn4s91p.svg +0 -13
  153. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/home-api-B1NjQp7i.js +0 -374
  154. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/home-base-DRJdeGsg.js +0 -654
  155. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/home-icon-65b9tDB5.js +0 -125
  156. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/home-index-KrvUKcFR.js +0 -79
  157. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/home-layoutempty-DP2peKfC.js +0 -87
  158. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/home-layouttabs-CRIoszHS.js +0 -980
  159. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/home-login-z4Url6WO.js +0 -302
  160. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/home-passport-OqpwAU0M.js +0 -293
  161. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/home-theme-BSua63Y_.js +0 -131
  162. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/index-B5HTgis_.css +0 -26
  163. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/index-Cd4EYYtZ.js +0 -1331
  164. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/localforage-e6vl49GD.js +0 -1798
  165. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/login-Qly1YUqs.svg +0 -7
  166. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/openapi3-jIye4jNw.js +0 -23
  167. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/outline-C6s9io8r.svg +0 -41
  168. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/rest-resource-CN0Ontwm.js +0 -552
  169. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/role-fXTNmWmb.svg +0 -10
  170. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/rolldown-runtime-lkMnaVCm.js +0 -38
  171. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/social-DosI14Uo.svg +0 -12
  172. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/src-BRq8dtuS.js +0 -44
  173. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/src-CBGuKzpF.js +0 -5996
  174. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/src-CzJSxlnS.js +0 -496
  175. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/src-YVxhoO6F.js +0 -65
  176. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/tanstack-form-CBq6dr_k.js +0 -122
  177. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/tanstack-query-BJk2jOuy.js +0 -2377
  178. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/tanstack-query-CBWe1LsT.js +0 -365
  179. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/tanstack-query-Ch18aWTP.js +0 -212
  180. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/tanstack-table-BvC3VgJj.js +0 -2241
  181. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/tanstack-table-D85qomSu.js +0 -123
  182. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/tools-Wk7SnIwE.svg +0 -4
  183. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/typestyle-C2zp2284.js +0 -281
  184. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/vue-1Y5FbPzj.js +0 -3221
  185. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/vue-C-LVj1DU.js +0 -18
  186. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/vue-ChEE2n-Y.js +0 -598
  187. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/vue-CvF_GLFp.js +0 -190
  188. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/vue-DHzalQTI.js +0 -1308
  189. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/vue-router-COfHCB5q.js +0 -1775
  190. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/wrapAsyncGenerator-zA6hqk-P.js +0 -155
  191. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/zova-6Abekb1F.js +0 -83
  192. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/zova-BHaXQJg22.js +0 -11
  193. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/zova-BYPEGx1T.js +0 -15586
  194. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/zova-BuxXrZHs.js +0 -24
  195. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/zova-C4pGJxwQ.js +0 -1227
  196. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/zova-CoRfsquu.js +0 -8
  197. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/zova-CzTANp3C.js +0 -380
  198. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/zova-DQbBsEtS.js +0 -4130
  199. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/zova-hmnYQoyt.js +0 -374
  200. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/favicon.ico +0 -0
  201. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/handler.js +0 -164729
  202. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/index.js +0 -26236
  203. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/quasar.manifest.json +0 -1
  204. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/src/bean/ssrMenu.tools.ts +0 -32
  205. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/src/bean/ssrMenuGroup.tools.ts +0 -18
  206. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/src/bean/ssrSite.second.ts +0 -31
  207. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/test/ssr.test.ts +0 -44
  208. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/zovaRest/test-second/index.d.mts +0 -9107
  209. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/zovaRest/test-second/index.mjs +0 -234
  210. package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/zovaRest/test-second/package.json +0 -40
@@ -1,519 +0,0 @@
1
- import { n as __esmMin, r as __exportAll } from "./rolldown-runtime-lkMnaVCm.js";
2
- import { d as defineComponent } from "./vue-1Y5FbPzj.js";
3
- import { n as init_vue_runtime_esm_bundler } from "./vue-C-LVj1DU.js";
4
- import { d as _objectSpread2, f as init_objectSpread2, m as init_asyncToGenerator, p as _asyncToGenerator } from "./fecha-DvkbkxAQ.js";
5
- import { B as deepExtend, c as prepareComponentOptions, k as BeanInfo, l as useController, m as BeanScopeBase, w as Use, z as deepEqual } from "./zova-DQbBsEtS.js";
6
- import { t as init_src$1 } from "./zova-CoRfsquu.js";
7
- import { c as Controller, i as Scope, t as init_src$2 } from "./a-bean-qjOwLLml.js";
8
- import { a as Model, o as BeanModelBase, t as init_src$3 } from "./a-model-Ds17NAa5.js";
9
- import { r as BeanRouterViewBase, t as init_src$4 } from "./a-router-BEKs1P3y.js";
10
- import { n as mutate, t as init_src$5 } from "./zova-BHaXQJg22.js";
11
- //#region src/suite-vendor/a-zova/modules/a-routertabs/src/model/tabs.ts
12
- var _dec$2, _dec2$2, _class$2, ModelTabs$1;
13
- var init_tabs$1 = __esmMin((() => {
14
- init_asyncToGenerator();
15
- init_objectSpread2();
16
- init_src$1();
17
- init_src$5();
18
- init_src$3();
19
- ModelTabs$1 = (_dec$2 = Model({
20
- enableSelector: true,
21
- max: -1,
22
- maxItems: -1,
23
- cache: false
24
- }), _dec2$2 = BeanInfo({ module: "a-routertabs" }), _dec$2(_class$2 = _dec2$2(_class$2 = class ModelTabs extends BeanModelBase {
25
- constructor(...args) {
26
- super(...args);
27
- this.tabsOptions = void 0;
28
- this.tabs = void 0;
29
- this.componentKeyCurrent = void 0;
30
- this.tabKeyCurrent = void 0;
31
- this.tabCurrentIndex = void 0;
32
- this.tabCurrent = void 0;
33
- this.keepAliveInclude = void 0;
34
- this._eventSsrHmrReload = void 0;
35
- }
36
- __init__(scene, options) {
37
- var _superprop_get__init__ = () => super.__init__, _this = this;
38
- return _asyncToGenerator(function* () {
39
- yield _superprop_get__init__().call(_this, scene);
40
- _this.bean._setBean("$$modelTabs", _this);
41
- _this.tabsOptions = deepExtend({}, _this.$onionOptions, options);
42
- _this.tabCurrentIndex = _this.$computed(() => {
43
- const [index] = _this.findTab(_this.tabKeyCurrent);
44
- return index;
45
- });
46
- _this.tabCurrent = _this.$computed(() => {
47
- const [, tab] = _this.findTab(_this.tabKeyCurrent);
48
- return tab;
49
- });
50
- _this.keepAliveInclude = _this.$computed(() => {
51
- return _this._getKeepAliveInclude();
52
- });
53
- _this.componentKeyCurrent = _this.$useStateMem({ queryKey: ["componentKeyCurrent"] });
54
- _this.tabKeyCurrent = _this.$useStateMem({ queryKey: ["tabKeyCurrent"] });
55
- const queryOptionsTabs = {
56
- queryKey: ["tabs"],
57
- meta: { defaultData: _this._getInitialTabs() }
58
- };
59
- if (_this.tabsOptions.cache) _this.tabs = _this.$useStateDb(queryOptionsTabs);
60
- else _this.tabs = _this.$useStateMem(queryOptionsTabs);
61
- if (_this.tabsOptions.cache) yield _this.$loadStateDb(_this.tabs);
62
- _this._resetAllPageDirty();
63
- if (_this.$currentRoute) _this.forwardRoute(_this.$currentRoute);
64
- if (_this.sys.config.ssr.hmr) _this._eventSsrHmrReload = _this.sys.meta.event.on("a-ssrhmr:reload", function() {
65
- var _ref = _asyncToGenerator(function* (_data, next) {
66
- _this.updateAllTabInfos();
67
- return next();
68
- });
69
- return function(_x, _x2) {
70
- return _ref.apply(this, arguments);
71
- };
72
- }());
73
- _this.$watch(() => {
74
- return _this.app.meta.locale.current;
75
- }, () => {
76
- _this.updateAllTabInfos();
77
- });
78
- })();
79
- }
80
- __dispose__() {
81
- if (this._eventSsrHmrReload) this._eventSsrHmrReload();
82
- }
83
- get cache() {
84
- return this.tabsOptions.cache;
85
- }
86
- addTab(tab, affix) {
87
- const res = this._addTab(tab, affix);
88
- this.tabKeyCurrent = res ? tab.tabKey : void 0;
89
- this.componentKeyCurrent = res ? tab.componentKey : void 0;
90
- return res;
91
- }
92
- _addTab(tab, affix) {
93
- var _this$tabsOptions$get, _this$tabsOptions$get2, _this$tabsOptions;
94
- const tabKey = tab.tabKey;
95
- if (!tabKey) return false;
96
- const [index, tabOld] = this.findTab(tabKey);
97
- const tabInfo = (_this$tabsOptions$get = (_this$tabsOptions$get2 = (_this$tabsOptions = this.tabsOptions).getTabInfo) === null || _this$tabsOptions$get2 === void 0 ? void 0 : _this$tabsOptions$get2.call(_this$tabsOptions, tabKey)) !== null && _this$tabsOptions$get !== void 0 ? _this$tabsOptions$get : tabOld === null || tabOld === void 0 ? void 0 : tabOld.info;
98
- if (!tabInfo) return false;
99
- if (index === -1) {
100
- const tabNew = {
101
- tabKey,
102
- affix,
103
- items: tab.componentKey ? [{
104
- componentKey: tab.componentKey,
105
- fullPath: tab.fullPath,
106
- keepAlive: tab.keepAlive,
107
- updatedAt: Date.now()
108
- }] : [],
109
- updatedAt: Date.now(),
110
- info: tabInfo
111
- };
112
- if (this.tabCurrentIndex === -1) this.tabs = mutate(this.tabs, (copyState) => {
113
- copyState.push(tabNew);
114
- });
115
- else this.tabs = mutate(this.tabs, (copyState) => {
116
- copyState.splice(this.tabCurrentIndex + 1, 0, tabNew);
117
- });
118
- this.pruneTabs();
119
- } else {
120
- if (!deepEqual(tabInfo, tabOld === null || tabOld === void 0 ? void 0 : tabOld.info)) this.updateTabInfo(tabKey);
121
- if (!this._checkIfTabNeedUpdate(tabOld, tab)) return true;
122
- this.updateTab(tab);
123
- this.pruneTabItems(tabKey);
124
- }
125
- return true;
126
- }
127
- updateAllTabInfos(tabInitials) {
128
- for (const tab of this.tabs) {
129
- const tabInitial = tabInitials === null || tabInitials === void 0 ? void 0 : tabInitials.find((item) => item.tabKey === tab.tabKey);
130
- this.updateTabInfo(tab.tabKey, tabInitial);
131
- }
132
- }
133
- updateTabInfo(tabKey, tabInitial) {
134
- var _tabInitial$info;
135
- if (!tabKey) return;
136
- const [index, tabOld] = this.findTab(tabKey);
137
- if (index === -1) return;
138
- const tabInfo = this.tabsOptions.getTabInfo ? this.tabsOptions.getTabInfo(tabKey) : (_tabInitial$info = tabInitial === null || tabInitial === void 0 ? void 0 : tabInitial.info) !== null && _tabInitial$info !== void 0 ? _tabInitial$info : tabOld === null || tabOld === void 0 ? void 0 : tabOld.info;
139
- if (!tabInfo) return;
140
- const tabNew = _objectSpread2(_objectSpread2({}, tabOld), {}, { info: tabInfo });
141
- this.updateTab(tabNew);
142
- }
143
- updateTabItemPageMeta(tabKey, componentKey, pageMeta) {
144
- if (!tabKey || !componentKey) return false;
145
- const [index, tab] = this.findTab(tabKey);
146
- if (index === -1 || !tab) return false;
147
- if (!tab.items) return false;
148
- const indexItem = tab.items.findIndex((item) => item.componentKey === componentKey);
149
- if (indexItem === -1) return false;
150
- const tabItem = tab.items[indexItem];
151
- const pageMetaNew = _objectSpread2(_objectSpread2({}, tabItem.pageMeta), pageMeta);
152
- const tabItemNew = _objectSpread2(_objectSpread2({}, tabItem), {}, { pageMeta: pageMetaNew });
153
- const items = mutate(tab.items, (copyState) => {
154
- copyState.splice(indexItem, 1, tabItemNew);
155
- });
156
- const tabNew = _objectSpread2(_objectSpread2({}, tab), {}, { items });
157
- this.tabs = mutate(this.tabs, (copyState) => {
158
- copyState.splice(index, 1, tabNew);
159
- });
160
- return true;
161
- }
162
- deleteTab(tabKey, noActiveNext) {
163
- var _this2 = this;
164
- return _asyncToGenerator(function* () {
165
- if (!tabKey) return;
166
- const [index] = _this2.findTab(tabKey);
167
- if (index === -1) return;
168
- let tabKeyActiveNext;
169
- if (!noActiveNext && index === _this2.tabCurrentIndex) {
170
- const tabCurrentIndex = index + 1 < _this2.tabs.length ? index + 1 : index - 1 > -1 ? index - 1 : -1;
171
- if (tabCurrentIndex > -1) {
172
- var _this$tabs$tabCurrent;
173
- tabKeyActiveNext = (_this$tabs$tabCurrent = _this2.tabs[tabCurrentIndex]) === null || _this$tabs$tabCurrent === void 0 ? void 0 : _this$tabs$tabCurrent.tabKey;
174
- }
175
- }
176
- _this2.tabs = mutate(_this2.tabs, (copyState) => {
177
- copyState.splice(index, 1);
178
- });
179
- if (tabKeyActiveNext) yield _this2.activeTab(tabKeyActiveNext);
180
- })();
181
- }
182
- deleteTabItem(tabKey, componentKey, noActiveNext) {
183
- var _this3 = this;
184
- return _asyncToGenerator(function* () {
185
- if (!tabKey || !componentKey) return false;
186
- if (tabKey === componentKey) return false;
187
- const [index, tab] = _this3.findTab(tabKey);
188
- if (index === -1 || !tab) return false;
189
- if (!tab.items) return false;
190
- const indexItem = tab.items.findIndex((item) => item.componentKey === componentKey);
191
- if (indexItem === -1) return false;
192
- if (tab.items.length === 1 && !tab.affix) {
193
- yield _this3.deleteTab(tabKey, noActiveNext);
194
- return true;
195
- }
196
- let componentKeyActiveNext;
197
- if (!noActiveNext && componentKey === _this3.componentKeyCurrent) {
198
- const tabItemCurrentIndex = indexItem + 1 < tab.items.length ? indexItem + 1 : indexItem - 1 > -1 ? indexItem - 1 : -1;
199
- if (tabItemCurrentIndex > -1) {
200
- var _tab$items$tabItemCur;
201
- componentKeyActiveNext = (_tab$items$tabItemCur = tab.items[tabItemCurrentIndex]) === null || _tab$items$tabItemCur === void 0 ? void 0 : _tab$items$tabItemCur.componentKey;
202
- }
203
- }
204
- const items = mutate(tab.items, (copyState) => {
205
- copyState.splice(indexItem, 1);
206
- });
207
- const tabNew = _objectSpread2(_objectSpread2({}, tab), {}, { items });
208
- _this3.tabs = mutate(_this3.tabs, (copyState) => {
209
- copyState.splice(index, 1, tabNew);
210
- });
211
- if (componentKeyActiveNext) yield _this3.activeTabItem(tabKey, componentKeyActiveNext);
212
- return true;
213
- })();
214
- }
215
- findTabItemByFullPath(fullPath) {
216
- for (const tab of this.tabs) {
217
- if (!tab.items) continue;
218
- for (const item of tab.items) if (item.fullPath === fullPath) return [tab.tabKey, item.componentKey];
219
- }
220
- return [];
221
- }
222
- updateTab(tab) {
223
- const tabKey = tab.tabKey;
224
- const [index, tabOld] = this.findTab(tabKey);
225
- if (index === -1 || !tabOld) return;
226
- const items = tabOld.items ? [].concat(tabOld.items) : [];
227
- if (tab.componentKey) {
228
- const tabItem = {
229
- componentKey: tab.componentKey,
230
- fullPath: tab.fullPath,
231
- keepAlive: tab.keepAlive,
232
- updatedAt: Date.now()
233
- };
234
- const index = items.findIndex((item) => item.componentKey === tab.componentKey);
235
- if (index === -1) items.push(tabItem);
236
- else {
237
- const tabItemNew = _objectSpread2(_objectSpread2({}, items[index]), tabItem);
238
- items.splice(index, 1, tabItemNew);
239
- }
240
- items.sort((a, b) => (a.componentKey === tabKey ? 0 : 1) - (b.componentKey === tabKey ? 0 : 1));
241
- }
242
- const tabNew = _objectSpread2(_objectSpread2(_objectSpread2({}, tabOld), tab), {}, {
243
- tabKey,
244
- items,
245
- updatedAt: Date.now()
246
- });
247
- this.tabs = mutate(this.tabs, (copyState) => {
248
- copyState.splice(index, 1, tabNew);
249
- });
250
- }
251
- activeTab(tabKey) {
252
- var _this4 = this;
253
- return _asyncToGenerator(function* () {
254
- var _tab$items;
255
- if (!tabKey) return;
256
- const [_, tab] = _this4.findTab(tabKey);
257
- if (!tab) return;
258
- const tabItemFirst = (_tab$items = tab.items) === null || _tab$items === void 0 ? void 0 : _tab$items[0];
259
- const path = (tabItemFirst === null || tabItemFirst === void 0 ? void 0 : tabItemFirst.componentKey) === tabKey ? tabItemFirst.fullPath : tabKey;
260
- yield _this4.$router.push(path);
261
- })();
262
- }
263
- activeTabItem(tabKey, componentKey) {
264
- var _this5 = this;
265
- return _asyncToGenerator(function* () {
266
- var _tab$items2;
267
- if (!tabKey || !componentKey) return;
268
- const [_, tab] = _this5.findTab(tabKey);
269
- if (!tab) return;
270
- const tabItem = (_tab$items2 = tab.items) === null || _tab$items2 === void 0 ? void 0 : _tab$items2.find((item) => item.componentKey === componentKey);
271
- if (!tabItem) return;
272
- const path = tabItem.fullPath;
273
- yield _this5.$router.push(path);
274
- })();
275
- }
276
- findTab(tabKey) {
277
- if (!tabKey) return [-1, void 0];
278
- const index = this.tabs.findIndex((item) => item.tabKey === tabKey);
279
- if (index === -1) return [index, void 0];
280
- return [index, this.tabs[index]];
281
- }
282
- pruneTabs() {
283
- var _this6 = this;
284
- return _asyncToGenerator(function* () {
285
- let max = _this6.tabsOptions.max;
286
- if (max === void 0 || max === -1) return;
287
- if (max < 1) max = 1;
288
- while (true) {
289
- const affixCount = _this6.tabs.filter((item) => item.affix).length;
290
- if (_this6.tabs.length - affixCount <= max) break;
291
- let tabKey;
292
- let updatedAt = Date.now();
293
- for (const tab of _this6.tabs) if (!tab.affix && tab.updatedAt < updatedAt) {
294
- tabKey = tab.tabKey;
295
- updatedAt = tab.updatedAt;
296
- }
297
- if (!tabKey) break;
298
- yield _this6.deleteTab(tabKey, true);
299
- }
300
- })();
301
- }
302
- pruneTabItems(tabKey) {
303
- var _this7 = this;
304
- return _asyncToGenerator(function* () {
305
- if (!tabKey) return;
306
- let maxItems = _this7.tabsOptions.maxItems;
307
- if (maxItems === void 0 || maxItems === -1) return;
308
- if (maxItems < 1) maxItems = 1;
309
- while (true) {
310
- const [_, tab] = _this7.findTab(tabKey);
311
- if (!tab || !tab.items) break;
312
- const ignoreCount = tab.items.filter((item) => item.componentKey === tabKey).length;
313
- if (tab.items.length - ignoreCount <= maxItems) break;
314
- let componentKey;
315
- let updatedAt = Date.now();
316
- for (const tabItem of tab.items) if (tabItem.componentKey !== tabKey && tabItem.updatedAt < updatedAt) {
317
- componentKey = tabItem.componentKey;
318
- updatedAt = tabItem.updatedAt;
319
- }
320
- if (!componentKey) break;
321
- yield _this7.deleteTabItem(tabKey, componentKey, true);
322
- }
323
- })();
324
- }
325
- _checkIfTabNeedUpdate(tabOld, tabNew) {
326
- for (const key in tabNew) {
327
- if ([
328
- "fullPath",
329
- "keepAlive",
330
- "updatedAt"
331
- ].includes(key)) continue;
332
- if (["componentKey"].includes(key)) {
333
- if (!tabOld.items) return true;
334
- const tabItemOld = tabOld.items.find((item) => item[key] === tabNew[key]);
335
- if (!tabItemOld) return true;
336
- for (const key2 of ["fullPath", "keepAlive"]) if (tabItemOld[key2] !== tabNew[key2]) return true;
337
- if (tabOld.items.findIndex((item) => {
338
- var _item$updatedAt, _tabItemOld$updatedAt;
339
- return item[key] !== tabItemOld[key] && ((_item$updatedAt = item.updatedAt) !== null && _item$updatedAt !== void 0 ? _item$updatedAt : 0) >= ((_tabItemOld$updatedAt = tabItemOld.updatedAt) !== null && _tabItemOld$updatedAt !== void 0 ? _tabItemOld$updatedAt : 0);
340
- }) > -1) return true;
341
- } else if (tabNew[key] !== tabOld[key]) return true;
342
- }
343
- if (this.tabs.findIndex((item) => {
344
- var _item$updatedAt2, _tabOld$updatedAt;
345
- return item.tabKey !== tabOld.tabKey && ((_item$updatedAt2 = item.updatedAt) !== null && _item$updatedAt2 !== void 0 ? _item$updatedAt2 : 0) >= ((_tabOld$updatedAt = tabOld.updatedAt) !== null && _tabOld$updatedAt !== void 0 ? _tabOld$updatedAt : 0);
346
- }) > -1) return true;
347
- return false;
348
- }
349
- _getKeepAliveInclude() {
350
- const include = [];
351
- for (const tab of this.tabs) {
352
- if (!tab.items) continue;
353
- for (const item of tab.items) if (item.keepAlive !== false && item.componentKey) {
354
- if (!include.includes(item.componentKey)) include.push(item.componentKey);
355
- }
356
- }
357
- return include;
358
- }
359
- _getInitialTabs() {
360
- var _this$tabsOptions$get3, _this$tabsOptions$get4, _this$tabsOptions2;
361
- const tabs = (_this$tabsOptions$get3 = (_this$tabsOptions$get4 = (_this$tabsOptions2 = this.tabsOptions).getInitialTabs) === null || _this$tabsOptions$get4 === void 0 ? void 0 : _this$tabsOptions$get4.call(_this$tabsOptions2)) !== null && _this$tabsOptions$get3 !== void 0 ? _this$tabsOptions$get3 : [];
362
- if (!this.tabsOptions.getTabInfo) return tabs;
363
- return tabs.map((tab) => {
364
- var _this$tabsOptions$get5, _this$tabsOptions$get6, _this$tabsOptions3;
365
- return _objectSpread2(_objectSpread2({}, tab), {}, { info: (_this$tabsOptions$get5 = (_this$tabsOptions$get6 = (_this$tabsOptions3 = this.tabsOptions).getTabInfo) === null || _this$tabsOptions$get6 === void 0 ? void 0 : _this$tabsOptions$get6.call(_this$tabsOptions3, tab.tabKey)) !== null && _this$tabsOptions$get5 !== void 0 ? _this$tabsOptions$get5 : tab.info });
366
- });
367
- }
368
- backRoute(route) {
369
- const [tabKey, componentKey] = this.findTabItemByFullPath(route.fullPath);
370
- this.deleteTabItem(tabKey, componentKey, true);
371
- }
372
- forwardRoute(route) {
373
- const routeMeta = this.prepareRouteMeta(route);
374
- this.addTab(routeMeta);
375
- }
376
- setPageMeta(route, pageMeta) {
377
- const [tabKey, componentKey] = this.findTabItemByFullPath(route.fullPath);
378
- this.updateTabItemPageMeta(tabKey, componentKey, pageMeta);
379
- }
380
- prepareRouteMeta(route) {
381
- const fullPath = route.fullPath;
382
- const componentKey = this.__handleRoutePropComponentKey(route);
383
- return {
384
- tabKey: this._handleRouteProp(route, "tabKey") || componentKey,
385
- componentKey,
386
- fullPath,
387
- keepAlive: this._handleRouteProp(route, "keepAlive")
388
- };
389
- }
390
- _handleRouteProp(route, prop) {
391
- let value = route.meta[prop];
392
- if (typeof value === "function") value = value.call(this.app, route);
393
- return value;
394
- }
395
- __handleRoutePropComponentKey(route) {
396
- const componentKey = this._handleRouteProp(route, "componentKey");
397
- if (componentKey) return componentKey;
398
- const name = this.$router.getRealRouteName(route.name);
399
- if (!name) return route.path;
400
- if (route.meta.componentKeyMode === "nameOnly") return name;
401
- return route.path;
402
- }
403
- _resetAllPageDirty() {
404
- const tabItems = [];
405
- for (const tab of this.tabs) {
406
- if (!tab.items) continue;
407
- for (const tabItem of tab.items) {
408
- var _tabItem$pageMeta;
409
- if ((_tabItem$pageMeta = tabItem.pageMeta) === null || _tabItem$pageMeta === void 0 ? void 0 : _tabItem$pageMeta.pageDirty) tabItems.push([tab.tabKey, tabItem.componentKey]);
410
- }
411
- }
412
- for (const [tabKey, componentKey] of tabItems) this.updateTabItemPageMeta(tabKey, componentKey, { pageDirty: false });
413
- }
414
- }) || _class$2) || _class$2);
415
- }));
416
- //#endregion
417
- //#region src/suite-vendor/a-zova/modules/a-routertabs/src/component/routerViewTabs/controller.tsx
418
- function _initializerDefineProperty(e, i, r, l) {
419
- r && Object.defineProperty(e, i, {
420
- enumerable: r.enumerable,
421
- configurable: r.configurable,
422
- writable: r.writable,
423
- value: r.initializer ? r.initializer.call(l) : void 0
424
- });
425
- }
426
- function _applyDecoratedDescriptor(i, e, r, n, l) {
427
- var a = {};
428
- return Object.keys(n).forEach(function(i) {
429
- a[i] = n[i];
430
- }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function(r, n) {
431
- return n(i, e, r) || r;
432
- }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a;
433
- }
434
- var _dec$1, _dec2$1, _dec3, _dec4, _class$1, _class2, _descriptor, _ControllerRouterViewTabs, ControllerRouterViewTabs;
435
- var init_controller = __esmMin((() => {
436
- init_src$1();
437
- init_src$2();
438
- init_src$4();
439
- ControllerRouterViewTabs = (_dec$1 = Controller(), _dec2$1 = BeanInfo({ module: "a-routertabs" }), _dec3 = Use({ injectionScope: "skipSelf" }), _dec4 = Reflect.metadata("design:type", typeof ModelTabs === "undefined" ? Object : ModelTabs), _dec$1(_class$1 = _dec2$1(_class$1 = (_class2 = (_ControllerRouterViewTabs = class ControllerRouterViewTabs extends BeanRouterViewBase {
440
- constructor(...args) {
441
- super(...args);
442
- _initializerDefineProperty(this, "$$modelTabs", _descriptor, this);
443
- }
444
- backRoute(route) {
445
- this.$$modelTabs.backRoute(route);
446
- return true;
447
- }
448
- forwardRoute(route) {
449
- this.$$modelTabs.forwardRoute(route);
450
- return true;
451
- }
452
- setPageMeta(route, pageMeta) {
453
- this.$$modelTabs.setPageMeta(route, pageMeta);
454
- }
455
- prepareRouteMeta(route) {
456
- return this.$$modelTabs.prepareRouteMeta(route);
457
- }
458
- getKeepAliveInclude() {
459
- return this.$$modelTabs.keepAliveInclude;
460
- }
461
- }, _ControllerRouterViewTabs.$propsDefault = {}, _ControllerRouterViewTabs), _descriptor = _applyDecoratedDescriptor(_class2.prototype, "$$modelTabs", [_dec3, _dec4], {
462
- configurable: true,
463
- enumerable: true,
464
- writable: true,
465
- initializer: null
466
- }), _class2)) || _class$1) || _class$1);
467
- }));
468
- //#endregion
469
- //#region src/suite-vendor/a-zova/modules/a-routertabs/src/.metadata/component/routerViewTabs.ts
470
- var ZRouterViewTabs;
471
- var init_routerViewTabs = __esmMin((() => {
472
- init_vue_runtime_esm_bundler();
473
- init_src$1();
474
- init_controller();
475
- ZRouterViewTabs = defineComponent((_props) => {
476
- useController(ControllerRouterViewTabs, void 0, void 0);
477
- return () => {};
478
- }, prepareComponentOptions());
479
- }));
480
- //#endregion
481
- //#region src/suite-vendor/a-zova/modules/a-routertabs/src/.metadata/index.ts
482
- /** components: end */
483
- /** scope: begin */
484
- var _dec, _dec2, _class, components, ScopeModuleARoutertabs;
485
- var init__metadata = __esmMin((() => {
486
- init_src$1();
487
- init_tabs$1();
488
- init_src$3();
489
- init_controller();
490
- init_routerViewTabs();
491
- init_routerViewTabs();
492
- init_src$2();
493
- components = { "routerViewTabs": ZRouterViewTabs };
494
- ScopeModuleARoutertabs = (_dec = Scope(), _dec2 = BeanInfo({ module: "a-routertabs" }), _dec(_class = _dec2(_class = class ScopeModuleARoutertabs extends BeanScopeBase {}) || _class) || _class);
495
- }));
496
- /** scope: end */
497
- //#endregion
498
- //#region src/suite-vendor/a-zova/modules/a-routertabs/src/types/tabs.ts
499
- var init_tabs = __esmMin((() => {}));
500
- //#endregion
501
- //#region src/suite-vendor/a-zova/modules/a-routertabs/src/types/index.ts
502
- var init_types = __esmMin((() => {
503
- init_tabs();
504
- }));
505
- //#endregion
506
- //#region src/suite-vendor/a-zova/modules/a-routertabs/src/index.ts
507
- var src_exports = /* @__PURE__ */ __exportAll({
508
- ControllerRouterViewTabs: () => ControllerRouterViewTabs,
509
- ModelTabs: () => ModelTabs$1,
510
- ScopeModuleARoutertabs: () => ScopeModuleARoutertabs,
511
- ZRouterViewTabs: () => ZRouterViewTabs,
512
- components: () => components
513
- });
514
- var init_src = __esmMin((() => {
515
- init__metadata();
516
- init_types();
517
- }));
518
- //#endregion
519
- export { src_exports as n, init_src as t };