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,1308 +0,0 @@
1
- import { n as __esmMin } from "./rolldown-runtime-lkMnaVCm.js";
2
- import { A as isObject, C as init_shared_esm_bundler, D as isIntegerKey, E as isFunction, I as isSet, M as isPlainObject, O as isMap, T as isArray, V as makeMap, W as remove, _ as extend, b as hasOwn, d as EMPTY_OBJ, g as def, p as NOOP, q as toRawType, y as hasChanged, z as isSymbol } from "./vue-CvF_GLFp.js";
3
- //#region node_modules/.pnpm/@cabloy+vue-reactivity@3.5.16/node_modules/@cabloy/vue-reactivity/dist/reactivity.esm-bundler.js
4
- /**
5
- * @cabloy/vue-reactivity v3.5.13
6
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
7
- * @license MIT
8
- **/
9
- function getCurrentScope() {
10
- return activeEffectScope;
11
- }
12
- function onScopeDispose(fn, failSilently = false) {
13
- if (activeEffectScope) activeEffectScope.cleanups.push(fn);
14
- }
15
- function batch(sub, isComputed = false) {
16
- sub.flags |= 8;
17
- if (isComputed) {
18
- sub.next = batchedComputed;
19
- batchedComputed = sub;
20
- return;
21
- }
22
- sub.next = batchedSub;
23
- batchedSub = sub;
24
- }
25
- function startBatch() {
26
- batchDepth++;
27
- }
28
- function endBatch() {
29
- if (--batchDepth > 0) return;
30
- if (batchedComputed) {
31
- let e = batchedComputed;
32
- batchedComputed = void 0;
33
- while (e) {
34
- const next = e.next;
35
- e.next = void 0;
36
- e.flags &= -9;
37
- e = next;
38
- }
39
- }
40
- let error;
41
- while (batchedSub) {
42
- let e = batchedSub;
43
- batchedSub = void 0;
44
- while (e) {
45
- const next = e.next;
46
- e.next = void 0;
47
- e.flags &= -9;
48
- if (e.flags & 1) try {
49
- e.trigger();
50
- } catch (err) {
51
- if (!error) error = err;
52
- }
53
- e = next;
54
- }
55
- }
56
- if (error) throw error;
57
- }
58
- function prepareDeps(sub) {
59
- for (let link = sub.deps; link; link = link.nextDep) {
60
- link.version = -1;
61
- link.prevActiveLink = link.dep.activeLink;
62
- link.dep.activeLink = link;
63
- }
64
- }
65
- function cleanupDeps(sub) {
66
- let head;
67
- let tail = sub.depsTail;
68
- let link = tail;
69
- while (link) {
70
- const prev = link.prevDep;
71
- if (link.version === -1) {
72
- if (link === tail) tail = prev;
73
- removeSub(link);
74
- removeDep(link);
75
- } else head = link;
76
- link.dep.activeLink = link.prevActiveLink;
77
- link.prevActiveLink = void 0;
78
- link = prev;
79
- }
80
- sub.deps = head;
81
- sub.depsTail = tail;
82
- }
83
- function isDirty(sub) {
84
- for (let link = sub.deps; link; link = link.nextDep) if (link.dep.version !== link.version || link.dep.computed && (refreshComputed(link.dep.computed) || link.dep.version !== link.version)) return true;
85
- if (sub._dirty) return true;
86
- return false;
87
- }
88
- function refreshComputed(computed) {
89
- if (computed.flags & 4 && !(computed.flags & 16)) return;
90
- computed.flags &= -17;
91
- if (computed.globalVersion === globalVersion) return;
92
- computed.globalVersion = globalVersion;
93
- const dep = computed.dep;
94
- computed.flags |= 2;
95
- if (dep.version > 0 && !computed.isSSR && computed.deps && !isDirty(computed)) {
96
- computed.flags &= -3;
97
- return;
98
- }
99
- const prevSub = activeSub;
100
- const prevShouldTrack = shouldTrack;
101
- activeSub = computed;
102
- shouldTrack = true;
103
- try {
104
- prepareDeps(computed);
105
- const value = computed.fn(computed._value);
106
- if (dep.version === 0 || hasChanged(value, computed._value)) {
107
- computed._value = value;
108
- dep.version++;
109
- }
110
- } catch (err) {
111
- dep.version++;
112
- throw err;
113
- } finally {
114
- activeSub = prevSub;
115
- shouldTrack = prevShouldTrack;
116
- cleanupDeps(computed);
117
- computed.flags &= -3;
118
- }
119
- }
120
- function removeSub(link, soft = false) {
121
- const { dep, prevSub, nextSub } = link;
122
- if (prevSub) {
123
- prevSub.nextSub = nextSub;
124
- link.prevSub = void 0;
125
- }
126
- if (nextSub) {
127
- nextSub.prevSub = prevSub;
128
- link.nextSub = void 0;
129
- }
130
- if (dep.subs === link) {
131
- dep.subs = prevSub;
132
- if (!prevSub && dep.computed) {
133
- dep.computed.flags &= -5;
134
- for (let l = dep.computed.deps; l; l = l.nextDep) removeSub(l, true);
135
- }
136
- }
137
- if (!soft && !--dep.sc && dep.map) dep.map.delete(dep.key);
138
- }
139
- function removeDep(link) {
140
- const { prevDep, nextDep } = link;
141
- if (prevDep) {
142
- prevDep.nextDep = nextDep;
143
- link.prevDep = void 0;
144
- }
145
- if (nextDep) {
146
- nextDep.prevDep = prevDep;
147
- link.nextDep = void 0;
148
- }
149
- }
150
- function pauseTracking() {
151
- trackStack.push(shouldTrack);
152
- shouldTrack = false;
153
- }
154
- function resetTracking() {
155
- const last = trackStack.pop();
156
- shouldTrack = last === void 0 ? true : last;
157
- }
158
- function cleanupEffect(e) {
159
- const { cleanup } = e;
160
- e.cleanup = void 0;
161
- if (cleanup) {
162
- const prevSub = activeSub;
163
- activeSub = void 0;
164
- try {
165
- cleanup();
166
- } finally {
167
- activeSub = prevSub;
168
- }
169
- }
170
- }
171
- function addSub(link) {
172
- link.dep.sc++;
173
- if (link.sub.flags & 4) {
174
- const computed = link.dep.computed;
175
- if (computed && !link.dep.subs) {
176
- computed.flags |= 20;
177
- for (let l = computed.deps; l; l = l.nextDep) addSub(l);
178
- }
179
- const currentTail = link.dep.subs;
180
- if (currentTail !== link) {
181
- link.prevSub = currentTail;
182
- if (currentTail) currentTail.nextSub = link;
183
- }
184
- link.dep.subs = link;
185
- }
186
- }
187
- function track(target, type, key) {
188
- if (shouldTrack && activeSub) {
189
- let depsMap = targetMap.get(target);
190
- if (!depsMap) targetMap.set(target, depsMap = /* @__PURE__ */ new Map());
191
- let dep = depsMap.get(key);
192
- if (!dep) {
193
- depsMap.set(key, dep = new Dep());
194
- dep.map = depsMap;
195
- dep.key = key;
196
- }
197
- dep.track();
198
- }
199
- }
200
- function trigger(target, type, key, newValue, oldValue, oldTarget) {
201
- const depsMap = targetMap.get(target);
202
- if (!depsMap) {
203
- globalVersion++;
204
- return;
205
- }
206
- const run = (dep) => {
207
- if (dep) dep.trigger();
208
- };
209
- startBatch();
210
- if (type === "clear") depsMap.forEach(run);
211
- else {
212
- const targetIsArray = isArray(target);
213
- const isArrayIndex = targetIsArray && isIntegerKey(key);
214
- if (targetIsArray && key === "length") {
215
- const newLength = Number(newValue);
216
- depsMap.forEach((dep, key2) => {
217
- if (key2 === "length" || key2 === ARRAY_ITERATE_KEY || !isSymbol(key2) && key2 >= newLength) run(dep);
218
- });
219
- } else {
220
- if (key !== void 0 || depsMap.has(void 0)) run(depsMap.get(key));
221
- if (isArrayIndex) run(depsMap.get(ARRAY_ITERATE_KEY));
222
- switch (type) {
223
- case "add":
224
- if (!targetIsArray) {
225
- run(depsMap.get(ITERATE_KEY));
226
- if (isMap(target)) run(depsMap.get(MAP_KEY_ITERATE_KEY));
227
- } else if (isArrayIndex) run(depsMap.get("length"));
228
- break;
229
- case "delete":
230
- if (!targetIsArray) {
231
- run(depsMap.get(ITERATE_KEY));
232
- if (isMap(target)) run(depsMap.get(MAP_KEY_ITERATE_KEY));
233
- }
234
- break;
235
- case "set":
236
- if (isMap(target)) run(depsMap.get(ITERATE_KEY));
237
- break;
238
- }
239
- }
240
- }
241
- endBatch();
242
- }
243
- function getDepFromReactive(object, key) {
244
- const depMap = targetMap.get(object);
245
- return depMap && depMap.get(key);
246
- }
247
- function reactiveReadArray(array) {
248
- const raw = toRaw(array);
249
- if (raw === array) return raw;
250
- track(raw, "iterate", ARRAY_ITERATE_KEY);
251
- return isShallow(array) ? raw : raw.map(toReactive);
252
- }
253
- function shallowReadArray(arr) {
254
- track(arr = toRaw(arr), "iterate", ARRAY_ITERATE_KEY);
255
- return arr;
256
- }
257
- function iterator(self, method, wrapValue) {
258
- const arr = shallowReadArray(self);
259
- const iter = arr[method]();
260
- if (arr !== self && !isShallow(self)) {
261
- iter._next = iter.next;
262
- iter.next = () => {
263
- const result = iter._next();
264
- if (result.value) result.value = wrapValue(result.value);
265
- return result;
266
- };
267
- }
268
- return iter;
269
- }
270
- function apply(self, method, fn, thisArg, wrappedRetFn, args) {
271
- const arr = shallowReadArray(self);
272
- const needsWrap = arr !== self && !isShallow(self);
273
- const methodFn = arr[method];
274
- if (methodFn !== arrayProto[method]) {
275
- const result2 = methodFn.apply(self, args);
276
- return needsWrap ? toReactive(result2) : result2;
277
- }
278
- let wrappedFn = fn;
279
- if (arr !== self) {
280
- if (needsWrap) wrappedFn = function(item, index) {
281
- return fn.call(this, toReactive(item), index, self);
282
- };
283
- else if (fn.length > 2) wrappedFn = function(item, index) {
284
- return fn.call(this, item, index, self);
285
- };
286
- }
287
- const result = methodFn.call(arr, wrappedFn, thisArg);
288
- return needsWrap && wrappedRetFn ? wrappedRetFn(result) : result;
289
- }
290
- function reduce(self, method, fn, args) {
291
- const arr = shallowReadArray(self);
292
- let wrappedFn = fn;
293
- if (arr !== self) {
294
- if (!isShallow(self)) wrappedFn = function(acc, item, index) {
295
- return fn.call(this, acc, toReactive(item), index, self);
296
- };
297
- else if (fn.length > 3) wrappedFn = function(acc, item, index) {
298
- return fn.call(this, acc, item, index, self);
299
- };
300
- }
301
- return arr[method](wrappedFn, ...args);
302
- }
303
- function searchProxy(self, method, args) {
304
- const arr = toRaw(self);
305
- track(arr, "iterate", ARRAY_ITERATE_KEY);
306
- const res = arr[method](...args);
307
- if ((res === -1 || res === false) && isProxy(args[0])) {
308
- args[0] = toRaw(args[0]);
309
- return arr[method](...args);
310
- }
311
- return res;
312
- }
313
- function noTracking(self, method, args = []) {
314
- pauseTracking();
315
- startBatch();
316
- const res = toRaw(self)[method].apply(self, args);
317
- endBatch();
318
- resetTracking();
319
- return res;
320
- }
321
- function hasOwnProperty(key) {
322
- if (!isSymbol(key)) key = String(key);
323
- const obj = toRaw(this);
324
- track(obj, "has", key);
325
- return obj.hasOwnProperty(key);
326
- }
327
- function unrefNested(ref) {
328
- return isRef(ref) ? unrefNested(ref.value) : ref;
329
- }
330
- function createIterableMethod(method, isReadonly2, isShallow2) {
331
- return function(...args) {
332
- const target = this["__v_raw"];
333
- const rawTarget = toRaw(target);
334
- const targetIsMap = isMap(rawTarget);
335
- const isPair = method === "entries" || method === Symbol.iterator && targetIsMap;
336
- const isKeyOnly = method === "keys" && targetIsMap;
337
- const innerIterator = target[method](...args);
338
- const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive;
339
- !isReadonly2 && track(rawTarget, "iterate", isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY);
340
- return {
341
- next() {
342
- const { value, done } = innerIterator.next();
343
- return done ? {
344
- value,
345
- done
346
- } : {
347
- value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),
348
- done
349
- };
350
- },
351
- [Symbol.iterator]() {
352
- return this;
353
- }
354
- };
355
- };
356
- }
357
- function createReadonlyMethod(type) {
358
- return function(...args) {
359
- return type === "delete" ? false : type === "clear" ? void 0 : this;
360
- };
361
- }
362
- function createInstrumentations(readonly, shallow) {
363
- const instrumentations = {
364
- get(key) {
365
- const target = this["__v_raw"];
366
- const rawTarget = toRaw(target);
367
- const rawKey = toRaw(key);
368
- if (!readonly) {
369
- if (hasChanged(key, rawKey)) track(rawTarget, "get", key);
370
- track(rawTarget, "get", rawKey);
371
- }
372
- const { has } = getProto(rawTarget);
373
- const wrap = shallow ? toShallow : readonly ? toReadonly : toReactive;
374
- if (has.call(rawTarget, key)) return wrap(target.get(key));
375
- else if (has.call(rawTarget, rawKey)) return wrap(target.get(rawKey));
376
- else if (target !== rawTarget) target.get(key);
377
- },
378
- get size() {
379
- const target = this["__v_raw"];
380
- !readonly && track(toRaw(target), "iterate", ITERATE_KEY);
381
- return Reflect.get(target, "size", target);
382
- },
383
- has(key) {
384
- const target = this["__v_raw"];
385
- const rawTarget = toRaw(target);
386
- const rawKey = toRaw(key);
387
- if (!readonly) {
388
- if (hasChanged(key, rawKey)) track(rawTarget, "has", key);
389
- track(rawTarget, "has", rawKey);
390
- }
391
- return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);
392
- },
393
- forEach(callback, thisArg) {
394
- const observed = this;
395
- const target = observed["__v_raw"];
396
- const rawTarget = toRaw(target);
397
- const wrap = shallow ? toShallow : readonly ? toReadonly : toReactive;
398
- !readonly && track(rawTarget, "iterate", ITERATE_KEY);
399
- return target.forEach((value, key) => {
400
- return callback.call(thisArg, wrap(value), wrap(key), observed);
401
- });
402
- }
403
- };
404
- extend(instrumentations, readonly ? {
405
- add: createReadonlyMethod("add"),
406
- set: createReadonlyMethod("set"),
407
- delete: createReadonlyMethod("delete"),
408
- clear: createReadonlyMethod("clear")
409
- } : {
410
- add(value) {
411
- if (!shallow && !isShallow(value) && !isReadonly(value)) value = toRaw(value);
412
- const target = toRaw(this);
413
- if (!getProto(target).has.call(target, value)) {
414
- target.add(value);
415
- trigger(target, "add", value, value);
416
- }
417
- return this;
418
- },
419
- set(key, value) {
420
- if (!shallow && !isShallow(value) && !isReadonly(value)) value = toRaw(value);
421
- const target = toRaw(this);
422
- const { has, get } = getProto(target);
423
- let hadKey = has.call(target, key);
424
- if (!hadKey) {
425
- key = toRaw(key);
426
- hadKey = has.call(target, key);
427
- }
428
- const oldValue = get.call(target, key);
429
- target.set(key, value);
430
- if (!hadKey) trigger(target, "add", key, value);
431
- else if (hasChanged(value, oldValue)) trigger(target, "set", key, value, oldValue);
432
- return this;
433
- },
434
- delete(key) {
435
- const target = toRaw(this);
436
- const { has, get } = getProto(target);
437
- let hadKey = has.call(target, key);
438
- if (!hadKey) {
439
- key = toRaw(key);
440
- hadKey = has.call(target, key);
441
- }
442
- const oldValue = get ? get.call(target, key) : void 0;
443
- const result = target.delete(key);
444
- if (hadKey) trigger(target, "delete", key, void 0, oldValue);
445
- return result;
446
- },
447
- clear() {
448
- const target = toRaw(this);
449
- const hadItems = target.size !== 0;
450
- const oldTarget = void 0;
451
- const result = target.clear();
452
- if (hadItems) trigger(target, "clear", void 0, void 0, oldTarget);
453
- return result;
454
- }
455
- });
456
- [
457
- "keys",
458
- "values",
459
- "entries",
460
- Symbol.iterator
461
- ].forEach((method) => {
462
- instrumentations[method] = createIterableMethod(method, readonly, shallow);
463
- });
464
- return instrumentations;
465
- }
466
- function createInstrumentationGetter(isReadonly2, shallow) {
467
- const instrumentations = createInstrumentations(isReadonly2, shallow);
468
- return (target, key, receiver) => {
469
- if (key === "__v_isReactive") return !isReadonly2;
470
- else if (key === "__v_isReadonly") return isReadonly2;
471
- else if (key === "__v_raw") return target;
472
- return Reflect.get(hasOwn(instrumentations, key) && key in target ? instrumentations : target, key, receiver);
473
- };
474
- }
475
- function targetTypeMap(rawType) {
476
- switch (rawType) {
477
- case "Object":
478
- case "Array": return 1;
479
- case "Map":
480
- case "Set":
481
- case "WeakMap":
482
- case "WeakSet": return 2;
483
- default: return 0;
484
- }
485
- }
486
- function getTargetType(value) {
487
- return value["__v_skip"] || !Object.isExtensible(value) ? 0 : targetTypeMap(toRawType(value));
488
- }
489
- function reactive(target) {
490
- if (isReadonly(target)) return target;
491
- return createReactiveObject(target, false, mutableHandlers, mutableCollectionHandlers, reactiveMap);
492
- }
493
- function shallowReactive(target) {
494
- return createReactiveObject(target, false, shallowReactiveHandlers, shallowCollectionHandlers, shallowReactiveMap);
495
- }
496
- function readonly(target) {
497
- return createReactiveObject(target, true, readonlyHandlers, readonlyCollectionHandlers, readonlyMap);
498
- }
499
- function shallowReadonly(target) {
500
- return createReactiveObject(target, true, shallowReadonlyHandlers, shallowReadonlyCollectionHandlers, shallowReadonlyMap);
501
- }
502
- function createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {
503
- if (!isObject(target)) return target;
504
- if (target["__v_raw"] && !(isReadonly2 && target["__v_isReactive"])) return target;
505
- const existingProxy = proxyMap.get(target);
506
- if (existingProxy) return existingProxy;
507
- const targetType = getTargetType(target);
508
- if (targetType === 0) return target;
509
- const proxy = new Proxy(target, targetType === 2 ? collectionHandlers : baseHandlers);
510
- proxyMap.set(target, proxy);
511
- return proxy;
512
- }
513
- function isReactive(value) {
514
- if (isReadonly(value)) return isReactive(value["__v_raw"]);
515
- return !!(value && value["__v_isReactive"]);
516
- }
517
- function isReadonly(value) {
518
- return !!(value && value["__v_isReadonly"]);
519
- }
520
- function isShallow(value) {
521
- return !!(value && value["__v_isShallow"]);
522
- }
523
- function isProxy(value) {
524
- return value ? !!value["__v_raw"] : false;
525
- }
526
- function toRaw(observed) {
527
- const raw = observed && observed["__v_raw"];
528
- return raw ? toRaw(raw) : observed;
529
- }
530
- function markRaw(value) {
531
- if (!hasOwn(value, "__v_skip") && Object.isExtensible(value)) def(value, "__v_skip", true);
532
- return value;
533
- }
534
- function isRef(r) {
535
- return r ? r["__v_isRef"] === true : false;
536
- }
537
- function ref(value) {
538
- return createRef(value, false);
539
- }
540
- function shallowRef(value) {
541
- return createRef(value, true);
542
- }
543
- function createRef(rawValue, shallow) {
544
- if (isRef(rawValue)) return rawValue;
545
- return new RefImpl(rawValue, shallow);
546
- }
547
- function unref(ref2) {
548
- return isRef(ref2) ? ref2.value : ref2;
549
- }
550
- function proxyRefs(objectWithRefs) {
551
- return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);
552
- }
553
- function customRef(factory) {
554
- return new CustomRefImpl(factory);
555
- }
556
- function toRefs(object) {
557
- const ret = isArray(object) ? new Array(object.length) : {};
558
- for (const key in object) ret[key] = propertyToRef(object, key);
559
- return ret;
560
- }
561
- function toRef(source, key, defaultValue) {
562
- if (isRef(source)) return source;
563
- else if (isFunction(source)) return new GetterRefImpl(source);
564
- else if (isObject(source) && arguments.length > 1) return propertyToRef(source, key, defaultValue);
565
- else return ref(source);
566
- }
567
- function propertyToRef(source, key, defaultValue) {
568
- const val = source[key];
569
- return isRef(val) ? val : new ObjectRefImpl(source, key, defaultValue);
570
- }
571
- function computed(getterOrOptions, debugOptions, isSSR = false) {
572
- let getter;
573
- let setter;
574
- if (isFunction(getterOrOptions)) getter = getterOrOptions;
575
- else {
576
- getter = getterOrOptions.get;
577
- setter = getterOrOptions.set;
578
- }
579
- return new ComputedRefImpl(getter, setter, isSSR);
580
- }
581
- function onWatcherCleanup(cleanupFn, failSilently = false, owner = activeWatcher) {
582
- if (owner) {
583
- let cleanups = cleanupMap.get(owner);
584
- if (!cleanups) cleanupMap.set(owner, cleanups = []);
585
- cleanups.push(cleanupFn);
586
- }
587
- }
588
- function watch(source, cb, options = EMPTY_OBJ) {
589
- const { immediate, deep, once, scheduler, augmentJob, call } = options;
590
- const reactiveGetter = (source2) => {
591
- if (deep) return source2;
592
- if (isShallow(source2) || deep === false || deep === 0) return traverse(source2, 1);
593
- return traverse(source2);
594
- };
595
- let effect;
596
- let getter;
597
- let cleanup;
598
- let boundCleanup;
599
- let forceTrigger = false;
600
- let isMultiSource = false;
601
- if (isRef(source)) {
602
- getter = () => source.value;
603
- forceTrigger = isShallow(source);
604
- } else if (isReactive(source)) {
605
- getter = () => reactiveGetter(source);
606
- forceTrigger = true;
607
- } else if (isArray(source)) {
608
- isMultiSource = true;
609
- forceTrigger = source.some((s) => isReactive(s) || isShallow(s));
610
- getter = () => source.map((s) => {
611
- if (isRef(s)) return s.value;
612
- else if (isReactive(s)) return reactiveGetter(s);
613
- else if (isFunction(s)) return call ? call(s, 2) : s();
614
- });
615
- } else if (isFunction(source)) if (cb) getter = call ? () => call(source, 2) : source;
616
- else getter = () => {
617
- if (cleanup) {
618
- pauseTracking();
619
- try {
620
- cleanup();
621
- } finally {
622
- resetTracking();
623
- }
624
- }
625
- const currentEffect = activeWatcher;
626
- activeWatcher = effect;
627
- try {
628
- return call ? call(source, 3, [boundCleanup]) : source(boundCleanup);
629
- } finally {
630
- activeWatcher = currentEffect;
631
- }
632
- };
633
- else getter = NOOP;
634
- if (cb && deep) {
635
- const baseGetter = getter;
636
- const depth = deep === true ? Infinity : deep;
637
- getter = () => traverse(baseGetter(), depth);
638
- }
639
- const scope = getCurrentScope();
640
- const watchHandle = () => {
641
- effect.stop();
642
- if (scope && scope.active) remove(scope.effects, effect);
643
- };
644
- if (once && cb) {
645
- const _cb = cb;
646
- cb = (...args) => {
647
- _cb(...args);
648
- watchHandle();
649
- };
650
- }
651
- let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;
652
- const job = (immediateFirstRun) => {
653
- if (!(effect.flags & 1) || !effect.dirty && !immediateFirstRun) return;
654
- if (cb) {
655
- const newValue = effect.run();
656
- if (deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => hasChanged(v, oldValue[i])) : hasChanged(newValue, oldValue))) {
657
- if (cleanup) cleanup();
658
- const currentWatcher = activeWatcher;
659
- activeWatcher = effect;
660
- try {
661
- const args = [
662
- newValue,
663
- oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue,
664
- boundCleanup
665
- ];
666
- call ? call(cb, 3, args) : cb(...args);
667
- oldValue = newValue;
668
- } finally {
669
- activeWatcher = currentWatcher;
670
- }
671
- }
672
- } else effect.run();
673
- };
674
- if (augmentJob) augmentJob(job);
675
- effect = new ReactiveEffect(getter);
676
- effect.scheduler = scheduler ? () => scheduler(job, false) : job;
677
- boundCleanup = (fn) => onWatcherCleanup(fn, false, effect);
678
- cleanup = effect.onStop = () => {
679
- const cleanups = cleanupMap.get(effect);
680
- if (cleanups) {
681
- if (call) call(cleanups, 4);
682
- else for (const cleanup2 of cleanups) cleanup2();
683
- cleanupMap.delete(effect);
684
- }
685
- };
686
- if (cb) if (immediate) job(true);
687
- else oldValue = effect.run();
688
- else if (scheduler) scheduler(job.bind(null, true), true);
689
- else effect.run();
690
- watchHandle.pause = effect.pause.bind(effect);
691
- watchHandle.resume = effect.resume.bind(effect);
692
- watchHandle.stop = watchHandle;
693
- return watchHandle;
694
- }
695
- function traverse(value, depth = Infinity, seen) {
696
- if (depth <= 0 || !isObject(value) || value["__v_skip"]) return value;
697
- seen = seen || /* @__PURE__ */ new Set();
698
- if (seen.has(value)) return value;
699
- seen.add(value);
700
- depth--;
701
- if (isRef(value)) traverse(value.value, depth, seen);
702
- else if (isArray(value)) for (let i = 0; i < value.length; i++) traverse(value[i], depth, seen);
703
- else if (isSet(value) || isMap(value)) value.forEach((v) => {
704
- traverse(v, depth, seen);
705
- });
706
- else if (isPlainObject(value)) {
707
- for (const key in value) traverse(value[key], depth, seen);
708
- for (const key of Object.getOwnPropertySymbols(value)) if (Object.prototype.propertyIsEnumerable.call(value, key)) traverse(value[key], depth, seen);
709
- }
710
- return value;
711
- }
712
- var activeEffectScope, EffectScope, activeSub, pausedQueueEffects, ReactiveEffect, batchDepth, batchedSub, batchedComputed, shouldTrack, trackStack, globalVersion, Link, Dep, targetMap, ITERATE_KEY, MAP_KEY_ITERATE_KEY, ARRAY_ITERATE_KEY, arrayInstrumentations, arrayProto, isNonTrackableKeys, builtInSymbols, BaseReactiveHandler, MutableReactiveHandler, ReadonlyReactiveHandler, mutableHandlers, readonlyHandlers, shallowReactiveHandlers, shallowReadonlyHandlers, toShallow, getProto, mutableCollectionHandlers, shallowCollectionHandlers, readonlyCollectionHandlers, shallowReadonlyCollectionHandlers, reactiveMap, shallowReactiveMap, readonlyMap, shallowReadonlyMap, toReactive, toReadonly, RefImpl, shallowUnwrapHandlers, CustomRefImpl, ObjectRefImpl, GetterRefImpl, ComputedRefImpl, INITIAL_WATCHER_VALUE, cleanupMap, activeWatcher;
713
- var init_reactivity_esm_bundler = __esmMin((() => {
714
- init_shared_esm_bundler();
715
- EffectScope = class {
716
- constructor(detached = false) {
717
- this.detached = detached;
718
- /**
719
- * @internal
720
- */
721
- this._active = true;
722
- /**
723
- * @internal
724
- */
725
- this.effects = [];
726
- /**
727
- * @internal
728
- */
729
- this.cleanups = [];
730
- this._isPaused = false;
731
- this.parent = activeEffectScope;
732
- if (!detached && activeEffectScope) this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;
733
- }
734
- get active() {
735
- return this._active;
736
- }
737
- pause() {
738
- if (this._active) {
739
- this._isPaused = true;
740
- let i, l;
741
- if (this.scopes) for (i = 0, l = this.scopes.length; i < l; i++) this.scopes[i].pause();
742
- for (i = 0, l = this.effects.length; i < l; i++) this.effects[i].pause();
743
- }
744
- }
745
- /**
746
- * Resumes the effect scope, including all child scopes and effects.
747
- */
748
- resume() {
749
- if (this._active) {
750
- if (this._isPaused) {
751
- this._isPaused = false;
752
- let i, l;
753
- if (this.scopes) for (i = 0, l = this.scopes.length; i < l; i++) this.scopes[i].resume();
754
- for (i = 0, l = this.effects.length; i < l; i++) this.effects[i].resume();
755
- }
756
- }
757
- }
758
- run(fn) {
759
- if (this._active) {
760
- const currentEffectScope = activeEffectScope;
761
- try {
762
- activeEffectScope = this;
763
- return fn();
764
- } finally {
765
- activeEffectScope = currentEffectScope;
766
- }
767
- }
768
- }
769
- /**
770
- * This should only be called on non-detached scopes
771
- * @internal
772
- */
773
- on() {
774
- activeEffectScope = this;
775
- }
776
- /**
777
- * This should only be called on non-detached scopes
778
- * @internal
779
- */
780
- off() {
781
- activeEffectScope = this.parent;
782
- }
783
- stop(fromParent) {
784
- if (this._active) {
785
- this._active = false;
786
- let i, l;
787
- for (i = 0, l = this.effects.length; i < l; i++) this.effects[i].stop();
788
- this.effects.length = 0;
789
- for (i = 0, l = this.cleanups.length; i < l; i++) this.cleanups[i]();
790
- this.cleanups.length = 0;
791
- if (this.scopes) {
792
- for (i = 0, l = this.scopes.length; i < l; i++) this.scopes[i].stop(true);
793
- this.scopes.length = 0;
794
- }
795
- if (!this.detached && this.parent && !fromParent) {
796
- const last = this.parent.scopes.pop();
797
- if (last && last !== this) {
798
- this.parent.scopes[this.index] = last;
799
- last.index = this.index;
800
- }
801
- }
802
- this.parent = void 0;
803
- }
804
- }
805
- };
806
- pausedQueueEffects = /* @__PURE__ */ new WeakSet();
807
- ReactiveEffect = class {
808
- constructor(fn) {
809
- this.fn = fn;
810
- /**
811
- * @internal
812
- */
813
- this.deps = void 0;
814
- /**
815
- * @internal
816
- */
817
- this.depsTail = void 0;
818
- /**
819
- * @internal
820
- */
821
- this.flags = 5;
822
- /**
823
- * @internal
824
- */
825
- this.next = void 0;
826
- /**
827
- * @internal
828
- */
829
- this.cleanup = void 0;
830
- this.scheduler = void 0;
831
- if (activeEffectScope && activeEffectScope.active) activeEffectScope.effects.push(this);
832
- }
833
- pause() {
834
- this.flags |= 64;
835
- }
836
- resume() {
837
- if (this.flags & 64) {
838
- this.flags &= -65;
839
- if (pausedQueueEffects.has(this)) {
840
- pausedQueueEffects.delete(this);
841
- this.trigger();
842
- }
843
- }
844
- }
845
- /**
846
- * @internal
847
- */
848
- notify() {
849
- if (this.flags & 2 && !(this.flags & 32)) return;
850
- if (!(this.flags & 8)) batch(this);
851
- }
852
- run() {
853
- if (!(this.flags & 1)) return this.fn();
854
- this.flags |= 2;
855
- cleanupEffect(this);
856
- prepareDeps(this);
857
- const prevEffect = activeSub;
858
- const prevShouldTrack = shouldTrack;
859
- activeSub = this;
860
- shouldTrack = true;
861
- try {
862
- return this.fn();
863
- } finally {
864
- cleanupDeps(this);
865
- activeSub = prevEffect;
866
- shouldTrack = prevShouldTrack;
867
- this.flags &= -3;
868
- }
869
- }
870
- stop() {
871
- if (this.flags & 1) {
872
- for (let link = this.deps; link; link = link.nextDep) removeSub(link);
873
- this.deps = this.depsTail = void 0;
874
- cleanupEffect(this);
875
- this.onStop && this.onStop();
876
- this.flags &= -2;
877
- }
878
- }
879
- trigger() {
880
- if (this.flags & 64) pausedQueueEffects.add(this);
881
- else if (this.scheduler) this.scheduler();
882
- else this.runIfDirty();
883
- }
884
- /**
885
- * @internal
886
- */
887
- runIfDirty() {
888
- if (isDirty(this)) this.run();
889
- }
890
- get dirty() {
891
- return isDirty(this);
892
- }
893
- };
894
- batchDepth = 0;
895
- shouldTrack = true;
896
- trackStack = [];
897
- globalVersion = 0;
898
- Link = class {
899
- constructor(sub, dep) {
900
- this.sub = sub;
901
- this.dep = dep;
902
- this.version = dep.version;
903
- this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
904
- }
905
- };
906
- Dep = class {
907
- constructor(computed) {
908
- this.computed = computed;
909
- this.version = 0;
910
- /**
911
- * Link between this dep and the current active effect
912
- */
913
- this.activeLink = void 0;
914
- /**
915
- * Doubly linked list representing the subscribing effects (tail)
916
- */
917
- this.subs = void 0;
918
- /**
919
- * For object property deps cleanup
920
- */
921
- this.map = void 0;
922
- this.key = void 0;
923
- /**
924
- * Subscriber counter
925
- */
926
- this.sc = 0;
927
- }
928
- track(debugInfo) {
929
- if (!activeSub || !shouldTrack || activeSub === this.computed) return;
930
- let link = this.activeLink;
931
- if (link === void 0 || link.sub !== activeSub) {
932
- link = this.activeLink = new Link(activeSub, this);
933
- if (!activeSub.deps) activeSub.deps = activeSub.depsTail = link;
934
- else {
935
- link.prevDep = activeSub.depsTail;
936
- activeSub.depsTail.nextDep = link;
937
- activeSub.depsTail = link;
938
- }
939
- addSub(link);
940
- } else if (link.version === -1) {
941
- link.version = this.version;
942
- if (link.nextDep) {
943
- const next = link.nextDep;
944
- next.prevDep = link.prevDep;
945
- if (link.prevDep) link.prevDep.nextDep = next;
946
- link.prevDep = activeSub.depsTail;
947
- link.nextDep = void 0;
948
- activeSub.depsTail.nextDep = link;
949
- activeSub.depsTail = link;
950
- if (activeSub.deps === link) activeSub.deps = next;
951
- }
952
- }
953
- return link;
954
- }
955
- trigger(debugInfo) {
956
- this.version++;
957
- globalVersion++;
958
- this.notify(debugInfo);
959
- }
960
- notify(debugInfo) {
961
- startBatch();
962
- try {
963
- for (let link = this.subs; link; link = link.prevSub) if (link.sub.notify()) link.sub.dep.notify();
964
- } finally {
965
- endBatch();
966
- }
967
- }
968
- };
969
- targetMap = /* @__PURE__ */ new WeakMap();
970
- ITERATE_KEY = Symbol("");
971
- MAP_KEY_ITERATE_KEY = Symbol("");
972
- ARRAY_ITERATE_KEY = Symbol("");
973
- arrayInstrumentations = {
974
- __proto__: null,
975
- [Symbol.iterator]() {
976
- return iterator(this, Symbol.iterator, toReactive);
977
- },
978
- concat(...args) {
979
- return reactiveReadArray(this).concat(...args.map((x) => isArray(x) ? reactiveReadArray(x) : x));
980
- },
981
- entries() {
982
- return iterator(this, "entries", (value) => {
983
- value[1] = toReactive(value[1]);
984
- return value;
985
- });
986
- },
987
- every(fn, thisArg) {
988
- return apply(this, "every", fn, thisArg, void 0, arguments);
989
- },
990
- filter(fn, thisArg) {
991
- return apply(this, "filter", fn, thisArg, (v) => v.map(toReactive), arguments);
992
- },
993
- find(fn, thisArg) {
994
- return apply(this, "find", fn, thisArg, toReactive, arguments);
995
- },
996
- findIndex(fn, thisArg) {
997
- return apply(this, "findIndex", fn, thisArg, void 0, arguments);
998
- },
999
- findLast(fn, thisArg) {
1000
- return apply(this, "findLast", fn, thisArg, toReactive, arguments);
1001
- },
1002
- findLastIndex(fn, thisArg) {
1003
- return apply(this, "findLastIndex", fn, thisArg, void 0, arguments);
1004
- },
1005
- forEach(fn, thisArg) {
1006
- return apply(this, "forEach", fn, thisArg, void 0, arguments);
1007
- },
1008
- includes(...args) {
1009
- return searchProxy(this, "includes", args);
1010
- },
1011
- indexOf(...args) {
1012
- return searchProxy(this, "indexOf", args);
1013
- },
1014
- join(separator) {
1015
- return reactiveReadArray(this).join(separator);
1016
- },
1017
- lastIndexOf(...args) {
1018
- return searchProxy(this, "lastIndexOf", args);
1019
- },
1020
- map(fn, thisArg) {
1021
- return apply(this, "map", fn, thisArg, void 0, arguments);
1022
- },
1023
- pop() {
1024
- return noTracking(this, "pop");
1025
- },
1026
- push(...args) {
1027
- return noTracking(this, "push", args);
1028
- },
1029
- reduce(fn, ...args) {
1030
- return reduce(this, "reduce", fn, args);
1031
- },
1032
- reduceRight(fn, ...args) {
1033
- return reduce(this, "reduceRight", fn, args);
1034
- },
1035
- shift() {
1036
- return noTracking(this, "shift");
1037
- },
1038
- some(fn, thisArg) {
1039
- return apply(this, "some", fn, thisArg, void 0, arguments);
1040
- },
1041
- splice(...args) {
1042
- return noTracking(this, "splice", args);
1043
- },
1044
- toReversed() {
1045
- return reactiveReadArray(this).toReversed();
1046
- },
1047
- toSorted(comparer) {
1048
- return reactiveReadArray(this).toSorted(comparer);
1049
- },
1050
- toSpliced(...args) {
1051
- return reactiveReadArray(this).toSpliced(...args);
1052
- },
1053
- unshift(...args) {
1054
- return noTracking(this, "unshift", args);
1055
- },
1056
- values() {
1057
- return iterator(this, "values", toReactive);
1058
- }
1059
- };
1060
- arrayProto = Array.prototype;
1061
- isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);
1062
- builtInSymbols = new Set(/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== "arguments" && key !== "caller").map((key) => Symbol[key]).filter(isSymbol));
1063
- BaseReactiveHandler = class {
1064
- constructor(_isReadonly = false, _isShallow = false) {
1065
- this._isReadonly = _isReadonly;
1066
- this._isShallow = _isShallow;
1067
- }
1068
- get(target, key, receiver) {
1069
- if (key === "__v_skip") return target["__v_skip"];
1070
- const isReadonly2 = this._isReadonly, isShallow2 = this._isShallow;
1071
- if (key === "__v_isReactive") return !isReadonly2;
1072
- else if (key === "__v_isReadonly") return isReadonly2;
1073
- else if (key === "__v_isShallow") return isShallow2;
1074
- else if (key === "__v_raw") {
1075
- if (receiver === (isReadonly2 ? isShallow2 ? shallowReadonlyMap : readonlyMap : isShallow2 ? shallowReactiveMap : reactiveMap).get(target) || Object.getPrototypeOf(target) === Object.getPrototypeOf(receiver)) return target;
1076
- return;
1077
- }
1078
- const targetIsArray = isArray(target);
1079
- if (!isReadonly2) {
1080
- let fn;
1081
- if (targetIsArray && (fn = arrayInstrumentations[key])) return fn;
1082
- if (key === "hasOwnProperty") return hasOwnProperty;
1083
- }
1084
- const res = Reflect.get(target, key, isRef(target) ? target : receiver);
1085
- if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) return res;
1086
- if (!isReadonly2) track(target, "get", key);
1087
- if (isShallow2) return res;
1088
- if (isRef(res)) return targetIsArray && isIntegerKey(key) ? res : unrefNested(res);
1089
- if (isObject(res)) return isReadonly2 ? readonly(res) : reactive(res);
1090
- return res;
1091
- }
1092
- };
1093
- MutableReactiveHandler = class extends BaseReactiveHandler {
1094
- constructor(isShallow2 = false) {
1095
- super(false, isShallow2);
1096
- }
1097
- set(target, key, value, receiver) {
1098
- let oldValue = target[key];
1099
- if (!this._isShallow) {
1100
- const isOldValueReadonly = isReadonly(oldValue);
1101
- if (!isShallow(value) && !isReadonly(value)) {
1102
- oldValue = toRaw(oldValue);
1103
- value = toRaw(value);
1104
- }
1105
- if (!isArray(target) && isRef(oldValue) && !isRef(value)) if (isOldValueReadonly) return false;
1106
- else {
1107
- oldValue.value = value;
1108
- return true;
1109
- }
1110
- }
1111
- const hadKey = isArray(target) && isIntegerKey(key) ? Number(key) < target.length : hasOwn(target, key);
1112
- const result = Reflect.set(target, key, value, isRef(target) ? target : receiver);
1113
- if (target === toRaw(receiver)) {
1114
- if (!hadKey) trigger(target, "add", key, value);
1115
- else if (hasChanged(value, oldValue)) trigger(target, "set", key, value, oldValue);
1116
- }
1117
- return result;
1118
- }
1119
- deleteProperty(target, key) {
1120
- const hadKey = hasOwn(target, key);
1121
- const oldValue = target[key];
1122
- const result = Reflect.deleteProperty(target, key);
1123
- if (result && hadKey) trigger(target, "delete", key, void 0, oldValue);
1124
- return result;
1125
- }
1126
- has(target, key) {
1127
- const result = Reflect.has(target, key);
1128
- if (!isSymbol(key) || !builtInSymbols.has(key)) track(target, "has", key);
1129
- return result;
1130
- }
1131
- ownKeys(target) {
1132
- track(target, "iterate", isArray(target) ? "length" : ITERATE_KEY);
1133
- return Reflect.ownKeys(target);
1134
- }
1135
- };
1136
- ReadonlyReactiveHandler = class extends BaseReactiveHandler {
1137
- constructor(isShallow2 = false) {
1138
- super(true, isShallow2);
1139
- }
1140
- set(target, key) {
1141
- return true;
1142
- }
1143
- deleteProperty(target, key) {
1144
- return true;
1145
- }
1146
- };
1147
- mutableHandlers = /* @__PURE__ */ new MutableReactiveHandler();
1148
- readonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler();
1149
- shallowReactiveHandlers = /* @__PURE__ */ new MutableReactiveHandler(true);
1150
- shallowReadonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler(true);
1151
- toShallow = (value) => value;
1152
- getProto = (v) => Reflect.getPrototypeOf(v);
1153
- mutableCollectionHandlers = { get: /* @__PURE__ */ createInstrumentationGetter(false, false) };
1154
- shallowCollectionHandlers = { get: /* @__PURE__ */ createInstrumentationGetter(false, true) };
1155
- readonlyCollectionHandlers = { get: /* @__PURE__ */ createInstrumentationGetter(true, false) };
1156
- shallowReadonlyCollectionHandlers = { get: /* @__PURE__ */ createInstrumentationGetter(true, true) };
1157
- reactiveMap = /* @__PURE__ */ new WeakMap();
1158
- shallowReactiveMap = /* @__PURE__ */ new WeakMap();
1159
- readonlyMap = /* @__PURE__ */ new WeakMap();
1160
- shallowReadonlyMap = /* @__PURE__ */ new WeakMap();
1161
- toReactive = (value) => isObject(value) ? reactive(value) : value;
1162
- toReadonly = (value) => isObject(value) ? readonly(value) : value;
1163
- RefImpl = class {
1164
- constructor(value, isShallow2) {
1165
- this.dep = new Dep();
1166
- this["__v_isRef"] = true;
1167
- this["__v_isShallow"] = false;
1168
- this._rawValue = isShallow2 ? value : toRaw(value);
1169
- this._value = isShallow2 ? value : toReactive(value);
1170
- this["__v_isShallow"] = isShallow2;
1171
- }
1172
- get value() {
1173
- this.dep.track();
1174
- return this._value;
1175
- }
1176
- set value(newValue) {
1177
- const oldValue = this._rawValue;
1178
- const useDirectValue = this["__v_isShallow"] || isShallow(newValue) || isReadonly(newValue);
1179
- newValue = useDirectValue ? newValue : toRaw(newValue);
1180
- if (hasChanged(newValue, oldValue)) {
1181
- this._rawValue = newValue;
1182
- this._value = useDirectValue ? newValue : toReactive(newValue);
1183
- this.dep.trigger();
1184
- }
1185
- }
1186
- };
1187
- shallowUnwrapHandlers = {
1188
- get: (target, key, receiver) => key === "__v_raw" ? target : unref(Reflect.get(target, key, receiver)),
1189
- set: (target, key, value, receiver) => {
1190
- const oldValue = target[key];
1191
- if (isRef(oldValue) && !isRef(value)) {
1192
- oldValue.value = value;
1193
- return true;
1194
- } else return Reflect.set(target, key, value, receiver);
1195
- }
1196
- };
1197
- CustomRefImpl = class {
1198
- constructor(factory) {
1199
- this["__v_isRef"] = true;
1200
- this._value = void 0;
1201
- const dep = this.dep = new Dep();
1202
- const { get, set } = factory(dep.track.bind(dep), dep.trigger.bind(dep));
1203
- this._get = get;
1204
- this._set = set;
1205
- }
1206
- get value() {
1207
- return this._value = this._get();
1208
- }
1209
- set value(newVal) {
1210
- this._set(newVal);
1211
- }
1212
- };
1213
- ObjectRefImpl = class {
1214
- constructor(_object, _key, _defaultValue) {
1215
- this._object = _object;
1216
- this._key = _key;
1217
- this._defaultValue = _defaultValue;
1218
- this["__v_isRef"] = true;
1219
- this._value = void 0;
1220
- }
1221
- get value() {
1222
- const val = this._object[this._key];
1223
- return this._value = val === void 0 ? this._defaultValue : val;
1224
- }
1225
- set value(newVal) {
1226
- this._object[this._key] = newVal;
1227
- }
1228
- get dep() {
1229
- return getDepFromReactive(toRaw(this._object), this._key);
1230
- }
1231
- };
1232
- GetterRefImpl = class {
1233
- constructor(_getter) {
1234
- this._getter = _getter;
1235
- this["__v_isRef"] = true;
1236
- this["__v_isReadonly"] = true;
1237
- this._value = void 0;
1238
- }
1239
- get value() {
1240
- return this._value = this._getter();
1241
- }
1242
- };
1243
- ComputedRefImpl = class {
1244
- constructor(fn, setter, isSSR) {
1245
- this.fn = fn;
1246
- this.setter = setter;
1247
- /**
1248
- * @internal
1249
- */
1250
- this._value = void 0;
1251
- /**
1252
- * @internal
1253
- */
1254
- this.dep = new Dep(this);
1255
- /**
1256
- * @internal
1257
- */
1258
- this.__v_isRef = true;
1259
- /**
1260
- * @internal
1261
- */
1262
- this.deps = void 0;
1263
- /**
1264
- * @internal
1265
- */
1266
- this.depsTail = void 0;
1267
- /**
1268
- * @internal
1269
- */
1270
- this.flags = 16;
1271
- /**
1272
- * @internal
1273
- */
1274
- this.globalVersion = globalVersion - 1;
1275
- /**
1276
- * @internal
1277
- */
1278
- this.next = void 0;
1279
- this.effect = this;
1280
- this["__v_isReadonly"] = !setter;
1281
- this.isSSR = isSSR;
1282
- }
1283
- /**
1284
- * @internal
1285
- */
1286
- notify() {
1287
- this.flags |= 16;
1288
- if (!(this.flags & 8) && activeSub !== this) {
1289
- batch(this, true);
1290
- return true;
1291
- }
1292
- }
1293
- get value() {
1294
- const link = this.dep.track();
1295
- refreshComputed(this);
1296
- if (link) link.version = this.dep.version;
1297
- return this._value;
1298
- }
1299
- set value(newValue) {
1300
- if (this.setter) this.setter(newValue);
1301
- }
1302
- };
1303
- INITIAL_WATCHER_VALUE = {};
1304
- cleanupMap = /* @__PURE__ */ new WeakMap();
1305
- activeWatcher = void 0;
1306
- }));
1307
- //#endregion
1308
- export { track as C, watch as D, unref as E, toRefs as S, trigger as T, shallowReactive as _, init_reactivity_esm_bundler as a, toRaw as b, isRef as c, pauseTracking as d, proxyRefs as f, resetTracking as g, ref as h, customRef as i, markRaw as l, readonly as m, ReactiveEffect as n, isProxy as o, reactive as p, computed as r, isReactive as s, EffectScope as t, onScopeDispose as u, shallowReadonly as v, traverse as w, toRef as x, shallowRef as y };