cabloy 5.1.10 → 5.1.11

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 +11 -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,1227 +0,0 @@
1
- import { t as __commonJSMin } from "./rolldown-runtime-lkMnaVCm.js";
2
- //#region node_modules/.pnpm/reflect-metadata@0.2.2/node_modules/reflect-metadata/Reflect.js
3
- var require_Reflect = /* @__PURE__ */ __commonJSMin((() => {
4
- /*! *****************************************************************************
5
- Copyright (C) Microsoft. All rights reserved.
6
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7
- this file except in compliance with the License. You may obtain a copy of the
8
- License at http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13
- MERCHANTABLITY OR NON-INFRINGEMENT.
14
-
15
- See the Apache Version 2.0 License for specific language governing permissions
16
- and limitations under the License.
17
- ***************************************************************************** */
18
- var Reflect;
19
- (function(Reflect) {
20
- (function(factory) {
21
- var root = typeof globalThis === "object" ? globalThis : typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : sloppyModeThis();
22
- var exporter = makeExporter(Reflect);
23
- if (typeof root.Reflect !== "undefined") exporter = makeExporter(root.Reflect, exporter);
24
- factory(exporter, root);
25
- if (typeof root.Reflect === "undefined") root.Reflect = Reflect;
26
- function makeExporter(target, previous) {
27
- return function(key, value) {
28
- Object.defineProperty(target, key, {
29
- configurable: true,
30
- writable: true,
31
- value
32
- });
33
- if (previous) previous(key, value);
34
- };
35
- }
36
- function functionThis() {
37
- try {
38
- return Function("return this;")();
39
- } catch (_) {}
40
- }
41
- function indirectEvalThis() {
42
- try {
43
- return (0, eval)("(function() { return this; })()");
44
- } catch (_) {}
45
- }
46
- function sloppyModeThis() {
47
- return functionThis() || indirectEvalThis();
48
- }
49
- })(function(exporter, root) {
50
- var hasOwn = Object.prototype.hasOwnProperty;
51
- var supportsSymbol = typeof Symbol === "function";
52
- var toPrimitiveSymbol = supportsSymbol && typeof Symbol.toPrimitive !== "undefined" ? Symbol.toPrimitive : "@@toPrimitive";
53
- var iteratorSymbol = supportsSymbol && typeof Symbol.iterator !== "undefined" ? Symbol.iterator : "@@iterator";
54
- var supportsCreate = typeof Object.create === "function";
55
- var supportsProto = { __proto__: [] } instanceof Array;
56
- var downLevel = !supportsCreate && !supportsProto;
57
- var HashMap = {
58
- create: supportsCreate ? function() {
59
- return MakeDictionary(Object.create(null));
60
- } : supportsProto ? function() {
61
- return MakeDictionary({ __proto__: null });
62
- } : function() {
63
- return MakeDictionary({});
64
- },
65
- has: downLevel ? function(map, key) {
66
- return hasOwn.call(map, key);
67
- } : function(map, key) {
68
- return key in map;
69
- },
70
- get: downLevel ? function(map, key) {
71
- return hasOwn.call(map, key) ? map[key] : void 0;
72
- } : function(map, key) {
73
- return map[key];
74
- }
75
- };
76
- var functionPrototype = Object.getPrototypeOf(Function);
77
- var _Map = typeof Map === "function" && typeof Map.prototype.entries === "function" ? Map : CreateMapPolyfill();
78
- var _Set = typeof Set === "function" && typeof Set.prototype.entries === "function" ? Set : CreateSetPolyfill();
79
- var _WeakMap = typeof WeakMap === "function" ? WeakMap : CreateWeakMapPolyfill();
80
- var registrySymbol = supportsSymbol ? Symbol.for("@reflect-metadata:registry") : void 0;
81
- var metadataRegistry = GetOrCreateMetadataRegistry();
82
- var metadataProvider = CreateMetadataProvider(metadataRegistry);
83
- /**
84
- * Applies a set of decorators to a property of a target object.
85
- * @param decorators An array of decorators.
86
- * @param target The target object.
87
- * @param propertyKey (Optional) The property key to decorate.
88
- * @param attributes (Optional) The property descriptor for the target key.
89
- * @remarks Decorators are applied in reverse order.
90
- * @example
91
- *
92
- * class Example {
93
- * // property declarations are not part of ES6, though they are valid in TypeScript:
94
- * // static staticProperty;
95
- * // property;
96
- *
97
- * constructor(p) { }
98
- * static staticMethod(p) { }
99
- * method(p) { }
100
- * }
101
- *
102
- * // constructor
103
- * Example = Reflect.decorate(decoratorsArray, Example);
104
- *
105
- * // property (on constructor)
106
- * Reflect.decorate(decoratorsArray, Example, "staticProperty");
107
- *
108
- * // property (on prototype)
109
- * Reflect.decorate(decoratorsArray, Example.prototype, "property");
110
- *
111
- * // method (on constructor)
112
- * Object.defineProperty(Example, "staticMethod",
113
- * Reflect.decorate(decoratorsArray, Example, "staticMethod",
114
- * Object.getOwnPropertyDescriptor(Example, "staticMethod")));
115
- *
116
- * // method (on prototype)
117
- * Object.defineProperty(Example.prototype, "method",
118
- * Reflect.decorate(decoratorsArray, Example.prototype, "method",
119
- * Object.getOwnPropertyDescriptor(Example.prototype, "method")));
120
- *
121
- */
122
- function decorate(decorators, target, propertyKey, attributes) {
123
- if (!IsUndefined(propertyKey)) {
124
- if (!IsArray(decorators)) throw new TypeError();
125
- if (!IsObject(target)) throw new TypeError();
126
- if (!IsObject(attributes) && !IsUndefined(attributes) && !IsNull(attributes)) throw new TypeError();
127
- if (IsNull(attributes)) attributes = void 0;
128
- propertyKey = ToPropertyKey(propertyKey);
129
- return DecorateProperty(decorators, target, propertyKey, attributes);
130
- } else {
131
- if (!IsArray(decorators)) throw new TypeError();
132
- if (!IsConstructor(target)) throw new TypeError();
133
- return DecorateConstructor(decorators, target);
134
- }
135
- }
136
- exporter("decorate", decorate);
137
- /**
138
- * A default metadata decorator factory that can be used on a class, class member, or parameter.
139
- * @param metadataKey The key for the metadata entry.
140
- * @param metadataValue The value for the metadata entry.
141
- * @returns A decorator function.
142
- * @remarks
143
- * If `metadataKey` is already defined for the target and target key, the
144
- * metadataValue for that key will be overwritten.
145
- * @example
146
- *
147
- * // constructor
148
- * @Reflect.metadata(key, value)
149
- * class Example {
150
- * }
151
- *
152
- * // property (on constructor, TypeScript only)
153
- * class Example {
154
- * @Reflect.metadata(key, value)
155
- * static staticProperty;
156
- * }
157
- *
158
- * // property (on prototype, TypeScript only)
159
- * class Example {
160
- * @Reflect.metadata(key, value)
161
- * property;
162
- * }
163
- *
164
- * // method (on constructor)
165
- * class Example {
166
- * @Reflect.metadata(key, value)
167
- * static staticMethod() { }
168
- * }
169
- *
170
- * // method (on prototype)
171
- * class Example {
172
- * @Reflect.metadata(key, value)
173
- * method() { }
174
- * }
175
- *
176
- */
177
- function metadata(metadataKey, metadataValue) {
178
- function decorator(target, propertyKey) {
179
- if (!IsObject(target)) throw new TypeError();
180
- if (!IsUndefined(propertyKey) && !IsPropertyKey(propertyKey)) throw new TypeError();
181
- OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);
182
- }
183
- return decorator;
184
- }
185
- exporter("metadata", metadata);
186
- /**
187
- * Define a unique metadata entry on the target.
188
- * @param metadataKey A key used to store and retrieve metadata.
189
- * @param metadataValue A value that contains attached metadata.
190
- * @param target The target object on which to define metadata.
191
- * @param propertyKey (Optional) The property key for the target.
192
- * @example
193
- *
194
- * class Example {
195
- * // property declarations are not part of ES6, though they are valid in TypeScript:
196
- * // static staticProperty;
197
- * // property;
198
- *
199
- * constructor(p) { }
200
- * static staticMethod(p) { }
201
- * method(p) { }
202
- * }
203
- *
204
- * // constructor
205
- * Reflect.defineMetadata("custom:annotation", options, Example);
206
- *
207
- * // property (on constructor)
208
- * Reflect.defineMetadata("custom:annotation", options, Example, "staticProperty");
209
- *
210
- * // property (on prototype)
211
- * Reflect.defineMetadata("custom:annotation", options, Example.prototype, "property");
212
- *
213
- * // method (on constructor)
214
- * Reflect.defineMetadata("custom:annotation", options, Example, "staticMethod");
215
- *
216
- * // method (on prototype)
217
- * Reflect.defineMetadata("custom:annotation", options, Example.prototype, "method");
218
- *
219
- * // decorator factory as metadata-producing annotation.
220
- * function MyAnnotation(options): Decorator {
221
- * return (target, key?) => Reflect.defineMetadata("custom:annotation", options, target, key);
222
- * }
223
- *
224
- */
225
- function defineMetadata(metadataKey, metadataValue, target, propertyKey) {
226
- if (!IsObject(target)) throw new TypeError();
227
- if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
228
- return OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);
229
- }
230
- exporter("defineMetadata", defineMetadata);
231
- /**
232
- * Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.
233
- * @param metadataKey A key used to store and retrieve metadata.
234
- * @param target The target object on which the metadata is defined.
235
- * @param propertyKey (Optional) The property key for the target.
236
- * @returns `true` if the metadata key was defined on the target object or its prototype chain; otherwise, `false`.
237
- * @example
238
- *
239
- * class Example {
240
- * // property declarations are not part of ES6, though they are valid in TypeScript:
241
- * // static staticProperty;
242
- * // property;
243
- *
244
- * constructor(p) { }
245
- * static staticMethod(p) { }
246
- * method(p) { }
247
- * }
248
- *
249
- * // constructor
250
- * result = Reflect.hasMetadata("custom:annotation", Example);
251
- *
252
- * // property (on constructor)
253
- * result = Reflect.hasMetadata("custom:annotation", Example, "staticProperty");
254
- *
255
- * // property (on prototype)
256
- * result = Reflect.hasMetadata("custom:annotation", Example.prototype, "property");
257
- *
258
- * // method (on constructor)
259
- * result = Reflect.hasMetadata("custom:annotation", Example, "staticMethod");
260
- *
261
- * // method (on prototype)
262
- * result = Reflect.hasMetadata("custom:annotation", Example.prototype, "method");
263
- *
264
- */
265
- function hasMetadata(metadataKey, target, propertyKey) {
266
- if (!IsObject(target)) throw new TypeError();
267
- if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
268
- return OrdinaryHasMetadata(metadataKey, target, propertyKey);
269
- }
270
- exporter("hasMetadata", hasMetadata);
271
- /**
272
- * Gets a value indicating whether the target object has the provided metadata key defined.
273
- * @param metadataKey A key used to store and retrieve metadata.
274
- * @param target The target object on which the metadata is defined.
275
- * @param propertyKey (Optional) The property key for the target.
276
- * @returns `true` if the metadata key was defined on the target object; otherwise, `false`.
277
- * @example
278
- *
279
- * class Example {
280
- * // property declarations are not part of ES6, though they are valid in TypeScript:
281
- * // static staticProperty;
282
- * // property;
283
- *
284
- * constructor(p) { }
285
- * static staticMethod(p) { }
286
- * method(p) { }
287
- * }
288
- *
289
- * // constructor
290
- * result = Reflect.hasOwnMetadata("custom:annotation", Example);
291
- *
292
- * // property (on constructor)
293
- * result = Reflect.hasOwnMetadata("custom:annotation", Example, "staticProperty");
294
- *
295
- * // property (on prototype)
296
- * result = Reflect.hasOwnMetadata("custom:annotation", Example.prototype, "property");
297
- *
298
- * // method (on constructor)
299
- * result = Reflect.hasOwnMetadata("custom:annotation", Example, "staticMethod");
300
- *
301
- * // method (on prototype)
302
- * result = Reflect.hasOwnMetadata("custom:annotation", Example.prototype, "method");
303
- *
304
- */
305
- function hasOwnMetadata(metadataKey, target, propertyKey) {
306
- if (!IsObject(target)) throw new TypeError();
307
- if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
308
- return OrdinaryHasOwnMetadata(metadataKey, target, propertyKey);
309
- }
310
- exporter("hasOwnMetadata", hasOwnMetadata);
311
- /**
312
- * Gets the metadata value for the provided metadata key on the target object or its prototype chain.
313
- * @param metadataKey A key used to store and retrieve metadata.
314
- * @param target The target object on which the metadata is defined.
315
- * @param propertyKey (Optional) The property key for the target.
316
- * @returns The metadata value for the metadata key if found; otherwise, `undefined`.
317
- * @example
318
- *
319
- * class Example {
320
- * // property declarations are not part of ES6, though they are valid in TypeScript:
321
- * // static staticProperty;
322
- * // property;
323
- *
324
- * constructor(p) { }
325
- * static staticMethod(p) { }
326
- * method(p) { }
327
- * }
328
- *
329
- * // constructor
330
- * result = Reflect.getMetadata("custom:annotation", Example);
331
- *
332
- * // property (on constructor)
333
- * result = Reflect.getMetadata("custom:annotation", Example, "staticProperty");
334
- *
335
- * // property (on prototype)
336
- * result = Reflect.getMetadata("custom:annotation", Example.prototype, "property");
337
- *
338
- * // method (on constructor)
339
- * result = Reflect.getMetadata("custom:annotation", Example, "staticMethod");
340
- *
341
- * // method (on prototype)
342
- * result = Reflect.getMetadata("custom:annotation", Example.prototype, "method");
343
- *
344
- */
345
- function getMetadata(metadataKey, target, propertyKey) {
346
- if (!IsObject(target)) throw new TypeError();
347
- if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
348
- return OrdinaryGetMetadata(metadataKey, target, propertyKey);
349
- }
350
- exporter("getMetadata", getMetadata);
351
- /**
352
- * Gets the metadata value for the provided metadata key on the target object.
353
- * @param metadataKey A key used to store and retrieve metadata.
354
- * @param target The target object on which the metadata is defined.
355
- * @param propertyKey (Optional) The property key for the target.
356
- * @returns The metadata value for the metadata key if found; otherwise, `undefined`.
357
- * @example
358
- *
359
- * class Example {
360
- * // property declarations are not part of ES6, though they are valid in TypeScript:
361
- * // static staticProperty;
362
- * // property;
363
- *
364
- * constructor(p) { }
365
- * static staticMethod(p) { }
366
- * method(p) { }
367
- * }
368
- *
369
- * // constructor
370
- * result = Reflect.getOwnMetadata("custom:annotation", Example);
371
- *
372
- * // property (on constructor)
373
- * result = Reflect.getOwnMetadata("custom:annotation", Example, "staticProperty");
374
- *
375
- * // property (on prototype)
376
- * result = Reflect.getOwnMetadata("custom:annotation", Example.prototype, "property");
377
- *
378
- * // method (on constructor)
379
- * result = Reflect.getOwnMetadata("custom:annotation", Example, "staticMethod");
380
- *
381
- * // method (on prototype)
382
- * result = Reflect.getOwnMetadata("custom:annotation", Example.prototype, "method");
383
- *
384
- */
385
- function getOwnMetadata(metadataKey, target, propertyKey) {
386
- if (!IsObject(target)) throw new TypeError();
387
- if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
388
- return OrdinaryGetOwnMetadata(metadataKey, target, propertyKey);
389
- }
390
- exporter("getOwnMetadata", getOwnMetadata);
391
- /**
392
- * Gets the metadata keys defined on the target object or its prototype chain.
393
- * @param target The target object on which the metadata is defined.
394
- * @param propertyKey (Optional) The property key for the target.
395
- * @returns An array of unique metadata keys.
396
- * @example
397
- *
398
- * class Example {
399
- * // property declarations are not part of ES6, though they are valid in TypeScript:
400
- * // static staticProperty;
401
- * // property;
402
- *
403
- * constructor(p) { }
404
- * static staticMethod(p) { }
405
- * method(p) { }
406
- * }
407
- *
408
- * // constructor
409
- * result = Reflect.getMetadataKeys(Example);
410
- *
411
- * // property (on constructor)
412
- * result = Reflect.getMetadataKeys(Example, "staticProperty");
413
- *
414
- * // property (on prototype)
415
- * result = Reflect.getMetadataKeys(Example.prototype, "property");
416
- *
417
- * // method (on constructor)
418
- * result = Reflect.getMetadataKeys(Example, "staticMethod");
419
- *
420
- * // method (on prototype)
421
- * result = Reflect.getMetadataKeys(Example.prototype, "method");
422
- *
423
- */
424
- function getMetadataKeys(target, propertyKey) {
425
- if (!IsObject(target)) throw new TypeError();
426
- if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
427
- return OrdinaryMetadataKeys(target, propertyKey);
428
- }
429
- exporter("getMetadataKeys", getMetadataKeys);
430
- /**
431
- * Gets the unique metadata keys defined on the target object.
432
- * @param target The target object on which the metadata is defined.
433
- * @param propertyKey (Optional) The property key for the target.
434
- * @returns An array of unique metadata keys.
435
- * @example
436
- *
437
- * class Example {
438
- * // property declarations are not part of ES6, though they are valid in TypeScript:
439
- * // static staticProperty;
440
- * // property;
441
- *
442
- * constructor(p) { }
443
- * static staticMethod(p) { }
444
- * method(p) { }
445
- * }
446
- *
447
- * // constructor
448
- * result = Reflect.getOwnMetadataKeys(Example);
449
- *
450
- * // property (on constructor)
451
- * result = Reflect.getOwnMetadataKeys(Example, "staticProperty");
452
- *
453
- * // property (on prototype)
454
- * result = Reflect.getOwnMetadataKeys(Example.prototype, "property");
455
- *
456
- * // method (on constructor)
457
- * result = Reflect.getOwnMetadataKeys(Example, "staticMethod");
458
- *
459
- * // method (on prototype)
460
- * result = Reflect.getOwnMetadataKeys(Example.prototype, "method");
461
- *
462
- */
463
- function getOwnMetadataKeys(target, propertyKey) {
464
- if (!IsObject(target)) throw new TypeError();
465
- if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
466
- return OrdinaryOwnMetadataKeys(target, propertyKey);
467
- }
468
- exporter("getOwnMetadataKeys", getOwnMetadataKeys);
469
- /**
470
- * Deletes the metadata entry from the target object with the provided key.
471
- * @param metadataKey A key used to store and retrieve metadata.
472
- * @param target The target object on which the metadata is defined.
473
- * @param propertyKey (Optional) The property key for the target.
474
- * @returns `true` if the metadata entry was found and deleted; otherwise, false.
475
- * @example
476
- *
477
- * class Example {
478
- * // property declarations are not part of ES6, though they are valid in TypeScript:
479
- * // static staticProperty;
480
- * // property;
481
- *
482
- * constructor(p) { }
483
- * static staticMethod(p) { }
484
- * method(p) { }
485
- * }
486
- *
487
- * // constructor
488
- * result = Reflect.deleteMetadata("custom:annotation", Example);
489
- *
490
- * // property (on constructor)
491
- * result = Reflect.deleteMetadata("custom:annotation", Example, "staticProperty");
492
- *
493
- * // property (on prototype)
494
- * result = Reflect.deleteMetadata("custom:annotation", Example.prototype, "property");
495
- *
496
- * // method (on constructor)
497
- * result = Reflect.deleteMetadata("custom:annotation", Example, "staticMethod");
498
- *
499
- * // method (on prototype)
500
- * result = Reflect.deleteMetadata("custom:annotation", Example.prototype, "method");
501
- *
502
- */
503
- function deleteMetadata(metadataKey, target, propertyKey) {
504
- if (!IsObject(target)) throw new TypeError();
505
- if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
506
- if (!IsObject(target)) throw new TypeError();
507
- if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
508
- var provider = GetMetadataProvider(target, propertyKey, false);
509
- if (IsUndefined(provider)) return false;
510
- return provider.OrdinaryDeleteMetadata(metadataKey, target, propertyKey);
511
- }
512
- exporter("deleteMetadata", deleteMetadata);
513
- function DecorateConstructor(decorators, target) {
514
- for (var i = decorators.length - 1; i >= 0; --i) {
515
- var decorator = decorators[i];
516
- var decorated = decorator(target);
517
- if (!IsUndefined(decorated) && !IsNull(decorated)) {
518
- if (!IsConstructor(decorated)) throw new TypeError();
519
- target = decorated;
520
- }
521
- }
522
- return target;
523
- }
524
- function DecorateProperty(decorators, target, propertyKey, descriptor) {
525
- for (var i = decorators.length - 1; i >= 0; --i) {
526
- var decorator = decorators[i];
527
- var decorated = decorator(target, propertyKey, descriptor);
528
- if (!IsUndefined(decorated) && !IsNull(decorated)) {
529
- if (!IsObject(decorated)) throw new TypeError();
530
- descriptor = decorated;
531
- }
532
- }
533
- return descriptor;
534
- }
535
- function OrdinaryHasMetadata(MetadataKey, O, P) {
536
- if (OrdinaryHasOwnMetadata(MetadataKey, O, P)) return true;
537
- var parent = OrdinaryGetPrototypeOf(O);
538
- if (!IsNull(parent)) return OrdinaryHasMetadata(MetadataKey, parent, P);
539
- return false;
540
- }
541
- function OrdinaryHasOwnMetadata(MetadataKey, O, P) {
542
- var provider = GetMetadataProvider(O, P, false);
543
- if (IsUndefined(provider)) return false;
544
- return ToBoolean(provider.OrdinaryHasOwnMetadata(MetadataKey, O, P));
545
- }
546
- function OrdinaryGetMetadata(MetadataKey, O, P) {
547
- if (OrdinaryHasOwnMetadata(MetadataKey, O, P)) return OrdinaryGetOwnMetadata(MetadataKey, O, P);
548
- var parent = OrdinaryGetPrototypeOf(O);
549
- if (!IsNull(parent)) return OrdinaryGetMetadata(MetadataKey, parent, P);
550
- }
551
- function OrdinaryGetOwnMetadata(MetadataKey, O, P) {
552
- var provider = GetMetadataProvider(O, P, false);
553
- if (IsUndefined(provider)) return;
554
- return provider.OrdinaryGetOwnMetadata(MetadataKey, O, P);
555
- }
556
- function OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) {
557
- GetMetadataProvider(O, P, true).OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P);
558
- }
559
- function OrdinaryMetadataKeys(O, P) {
560
- var ownKeys = OrdinaryOwnMetadataKeys(O, P);
561
- var parent = OrdinaryGetPrototypeOf(O);
562
- if (parent === null) return ownKeys;
563
- var parentKeys = OrdinaryMetadataKeys(parent, P);
564
- if (parentKeys.length <= 0) return ownKeys;
565
- if (ownKeys.length <= 0) return parentKeys;
566
- var set = new _Set();
567
- var keys = [];
568
- for (var _i = 0, ownKeys_1 = ownKeys; _i < ownKeys_1.length; _i++) {
569
- var key = ownKeys_1[_i];
570
- var hasKey = set.has(key);
571
- if (!hasKey) {
572
- set.add(key);
573
- keys.push(key);
574
- }
575
- }
576
- for (var _a = 0, parentKeys_1 = parentKeys; _a < parentKeys_1.length; _a++) {
577
- var key = parentKeys_1[_a];
578
- var hasKey = set.has(key);
579
- if (!hasKey) {
580
- set.add(key);
581
- keys.push(key);
582
- }
583
- }
584
- return keys;
585
- }
586
- function OrdinaryOwnMetadataKeys(O, P) {
587
- var provider = GetMetadataProvider(O, P, false);
588
- if (!provider) return [];
589
- return provider.OrdinaryOwnMetadataKeys(O, P);
590
- }
591
- function Type(x) {
592
- if (x === null) return 1;
593
- switch (typeof x) {
594
- case "undefined": return 0;
595
- case "boolean": return 2;
596
- case "string": return 3;
597
- case "symbol": return 4;
598
- case "number": return 5;
599
- case "object": return x === null ? 1 : 6;
600
- default: return 6;
601
- }
602
- }
603
- function IsUndefined(x) {
604
- return x === void 0;
605
- }
606
- function IsNull(x) {
607
- return x === null;
608
- }
609
- function IsSymbol(x) {
610
- return typeof x === "symbol";
611
- }
612
- function IsObject(x) {
613
- return typeof x === "object" ? x !== null : typeof x === "function";
614
- }
615
- function ToPrimitive(input, PreferredType) {
616
- switch (Type(input)) {
617
- case 0: return input;
618
- case 1: return input;
619
- case 2: return input;
620
- case 3: return input;
621
- case 4: return input;
622
- case 5: return input;
623
- }
624
- var hint = PreferredType === 3 ? "string" : PreferredType === 5 ? "number" : "default";
625
- var exoticToPrim = GetMethod(input, toPrimitiveSymbol);
626
- if (exoticToPrim !== void 0) {
627
- var result = exoticToPrim.call(input, hint);
628
- if (IsObject(result)) throw new TypeError();
629
- return result;
630
- }
631
- return OrdinaryToPrimitive(input, hint === "default" ? "number" : hint);
632
- }
633
- function OrdinaryToPrimitive(O, hint) {
634
- if (hint === "string") {
635
- var toString_1 = O.toString;
636
- if (IsCallable(toString_1)) {
637
- var result = toString_1.call(O);
638
- if (!IsObject(result)) return result;
639
- }
640
- var valueOf = O.valueOf;
641
- if (IsCallable(valueOf)) {
642
- var result = valueOf.call(O);
643
- if (!IsObject(result)) return result;
644
- }
645
- } else {
646
- var valueOf = O.valueOf;
647
- if (IsCallable(valueOf)) {
648
- var result = valueOf.call(O);
649
- if (!IsObject(result)) return result;
650
- }
651
- var toString_2 = O.toString;
652
- if (IsCallable(toString_2)) {
653
- var result = toString_2.call(O);
654
- if (!IsObject(result)) return result;
655
- }
656
- }
657
- throw new TypeError();
658
- }
659
- function ToBoolean(argument) {
660
- return !!argument;
661
- }
662
- function ToString(argument) {
663
- return "" + argument;
664
- }
665
- function ToPropertyKey(argument) {
666
- var key = ToPrimitive(argument, 3);
667
- if (IsSymbol(key)) return key;
668
- return ToString(key);
669
- }
670
- function IsArray(argument) {
671
- return Array.isArray ? Array.isArray(argument) : argument instanceof Object ? argument instanceof Array : Object.prototype.toString.call(argument) === "[object Array]";
672
- }
673
- function IsCallable(argument) {
674
- return typeof argument === "function";
675
- }
676
- function IsConstructor(argument) {
677
- return typeof argument === "function";
678
- }
679
- function IsPropertyKey(argument) {
680
- switch (Type(argument)) {
681
- case 3: return true;
682
- case 4: return true;
683
- default: return false;
684
- }
685
- }
686
- function SameValueZero(x, y) {
687
- return x === y || x !== x && y !== y;
688
- }
689
- function GetMethod(V, P) {
690
- var func = V[P];
691
- if (func === void 0 || func === null) return void 0;
692
- if (!IsCallable(func)) throw new TypeError();
693
- return func;
694
- }
695
- function GetIterator(obj) {
696
- var method = GetMethod(obj, iteratorSymbol);
697
- if (!IsCallable(method)) throw new TypeError();
698
- var iterator = method.call(obj);
699
- if (!IsObject(iterator)) throw new TypeError();
700
- return iterator;
701
- }
702
- function IteratorValue(iterResult) {
703
- return iterResult.value;
704
- }
705
- function IteratorStep(iterator) {
706
- var result = iterator.next();
707
- return result.done ? false : result;
708
- }
709
- function IteratorClose(iterator) {
710
- var f = iterator["return"];
711
- if (f) f.call(iterator);
712
- }
713
- function OrdinaryGetPrototypeOf(O) {
714
- var proto = Object.getPrototypeOf(O);
715
- if (typeof O !== "function" || O === functionPrototype) return proto;
716
- if (proto !== functionPrototype) return proto;
717
- var prototype = O.prototype;
718
- var prototypeProto = prototype && Object.getPrototypeOf(prototype);
719
- if (prototypeProto == null || prototypeProto === Object.prototype) return proto;
720
- var constructor = prototypeProto.constructor;
721
- if (typeof constructor !== "function") return proto;
722
- if (constructor === O) return proto;
723
- return constructor;
724
- }
725
- /**
726
- * Creates a registry used to allow multiple `reflect-metadata` providers.
727
- */
728
- function CreateMetadataRegistry() {
729
- var fallback;
730
- if (!IsUndefined(registrySymbol) && typeof root.Reflect !== "undefined" && !(registrySymbol in root.Reflect) && typeof root.Reflect.defineMetadata === "function") fallback = CreateFallbackProvider(root.Reflect);
731
- var first;
732
- var second;
733
- var rest;
734
- var targetProviderMap = new _WeakMap();
735
- var registry = {
736
- registerProvider,
737
- getProvider,
738
- setProvider
739
- };
740
- return registry;
741
- function registerProvider(provider) {
742
- if (!Object.isExtensible(registry)) throw new Error("Cannot add provider to a frozen registry.");
743
- switch (true) {
744
- case fallback === provider: break;
745
- case IsUndefined(first):
746
- first = provider;
747
- break;
748
- case first === provider: break;
749
- case IsUndefined(second):
750
- second = provider;
751
- break;
752
- case second === provider: break;
753
- default:
754
- if (rest === void 0) rest = new _Set();
755
- rest.add(provider);
756
- break;
757
- }
758
- }
759
- function getProviderNoCache(O, P) {
760
- if (!IsUndefined(first)) {
761
- if (first.isProviderFor(O, P)) return first;
762
- if (!IsUndefined(second)) {
763
- if (second.isProviderFor(O, P)) return first;
764
- if (!IsUndefined(rest)) {
765
- var iterator = GetIterator(rest);
766
- while (true) {
767
- var next = IteratorStep(iterator);
768
- if (!next) return;
769
- var provider = IteratorValue(next);
770
- if (provider.isProviderFor(O, P)) {
771
- IteratorClose(iterator);
772
- return provider;
773
- }
774
- }
775
- }
776
- }
777
- }
778
- if (!IsUndefined(fallback) && fallback.isProviderFor(O, P)) return fallback;
779
- }
780
- function getProvider(O, P) {
781
- var providerMap = targetProviderMap.get(O);
782
- var provider;
783
- if (!IsUndefined(providerMap)) provider = providerMap.get(P);
784
- if (!IsUndefined(provider)) return provider;
785
- provider = getProviderNoCache(O, P);
786
- if (!IsUndefined(provider)) {
787
- if (IsUndefined(providerMap)) {
788
- providerMap = new _Map();
789
- targetProviderMap.set(O, providerMap);
790
- }
791
- providerMap.set(P, provider);
792
- }
793
- return provider;
794
- }
795
- function hasProvider(provider) {
796
- if (IsUndefined(provider)) throw new TypeError();
797
- return first === provider || second === provider || !IsUndefined(rest) && rest.has(provider);
798
- }
799
- function setProvider(O, P, provider) {
800
- if (!hasProvider(provider)) throw new Error("Metadata provider not registered.");
801
- var existingProvider = getProvider(O, P);
802
- if (existingProvider !== provider) {
803
- if (!IsUndefined(existingProvider)) return false;
804
- var providerMap = targetProviderMap.get(O);
805
- if (IsUndefined(providerMap)) {
806
- providerMap = new _Map();
807
- targetProviderMap.set(O, providerMap);
808
- }
809
- providerMap.set(P, provider);
810
- }
811
- return true;
812
- }
813
- }
814
- /**
815
- * Gets or creates the shared registry of metadata providers.
816
- */
817
- function GetOrCreateMetadataRegistry() {
818
- var metadataRegistry;
819
- if (!IsUndefined(registrySymbol) && IsObject(root.Reflect) && Object.isExtensible(root.Reflect)) metadataRegistry = root.Reflect[registrySymbol];
820
- if (IsUndefined(metadataRegistry)) metadataRegistry = CreateMetadataRegistry();
821
- if (!IsUndefined(registrySymbol) && IsObject(root.Reflect) && Object.isExtensible(root.Reflect)) Object.defineProperty(root.Reflect, registrySymbol, {
822
- enumerable: false,
823
- configurable: false,
824
- writable: false,
825
- value: metadataRegistry
826
- });
827
- return metadataRegistry;
828
- }
829
- function CreateMetadataProvider(registry) {
830
- var metadata = new _WeakMap();
831
- var provider = {
832
- isProviderFor: function(O, P) {
833
- var targetMetadata = metadata.get(O);
834
- if (IsUndefined(targetMetadata)) return false;
835
- return targetMetadata.has(P);
836
- },
837
- OrdinaryDefineOwnMetadata,
838
- OrdinaryHasOwnMetadata,
839
- OrdinaryGetOwnMetadata,
840
- OrdinaryOwnMetadataKeys,
841
- OrdinaryDeleteMetadata
842
- };
843
- metadataRegistry.registerProvider(provider);
844
- return provider;
845
- function GetOrCreateMetadataMap(O, P, Create) {
846
- var targetMetadata = metadata.get(O);
847
- var createdTargetMetadata = false;
848
- if (IsUndefined(targetMetadata)) {
849
- if (!Create) return void 0;
850
- targetMetadata = new _Map();
851
- metadata.set(O, targetMetadata);
852
- createdTargetMetadata = true;
853
- }
854
- var metadataMap = targetMetadata.get(P);
855
- if (IsUndefined(metadataMap)) {
856
- if (!Create) return void 0;
857
- metadataMap = new _Map();
858
- targetMetadata.set(P, metadataMap);
859
- if (!registry.setProvider(O, P, provider)) {
860
- targetMetadata.delete(P);
861
- if (createdTargetMetadata) metadata.delete(O);
862
- throw new Error("Wrong provider for target.");
863
- }
864
- }
865
- return metadataMap;
866
- }
867
- function OrdinaryHasOwnMetadata(MetadataKey, O, P) {
868
- var metadataMap = GetOrCreateMetadataMap(O, P, false);
869
- if (IsUndefined(metadataMap)) return false;
870
- return ToBoolean(metadataMap.has(MetadataKey));
871
- }
872
- function OrdinaryGetOwnMetadata(MetadataKey, O, P) {
873
- var metadataMap = GetOrCreateMetadataMap(O, P, false);
874
- if (IsUndefined(metadataMap)) return void 0;
875
- return metadataMap.get(MetadataKey);
876
- }
877
- function OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) {
878
- GetOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);
879
- }
880
- function OrdinaryOwnMetadataKeys(O, P) {
881
- var keys = [];
882
- var metadataMap = GetOrCreateMetadataMap(O, P, false);
883
- if (IsUndefined(metadataMap)) return keys;
884
- var iterator = GetIterator(metadataMap.keys());
885
- var k = 0;
886
- while (true) {
887
- var next = IteratorStep(iterator);
888
- if (!next) {
889
- keys.length = k;
890
- return keys;
891
- }
892
- var nextValue = IteratorValue(next);
893
- try {
894
- keys[k] = nextValue;
895
- } catch (e) {
896
- try {
897
- IteratorClose(iterator);
898
- } finally {
899
- throw e;
900
- }
901
- }
902
- k++;
903
- }
904
- }
905
- function OrdinaryDeleteMetadata(MetadataKey, O, P) {
906
- var metadataMap = GetOrCreateMetadataMap(O, P, false);
907
- if (IsUndefined(metadataMap)) return false;
908
- if (!metadataMap.delete(MetadataKey)) return false;
909
- if (metadataMap.size === 0) {
910
- var targetMetadata = metadata.get(O);
911
- if (!IsUndefined(targetMetadata)) {
912
- targetMetadata.delete(P);
913
- if (targetMetadata.size === 0) metadata.delete(targetMetadata);
914
- }
915
- }
916
- return true;
917
- }
918
- }
919
- function CreateFallbackProvider(reflect) {
920
- var defineMetadata = reflect.defineMetadata, hasOwnMetadata = reflect.hasOwnMetadata, getOwnMetadata = reflect.getOwnMetadata, getOwnMetadataKeys = reflect.getOwnMetadataKeys, deleteMetadata = reflect.deleteMetadata;
921
- var metadataOwner = new _WeakMap();
922
- return {
923
- isProviderFor: function(O, P) {
924
- var metadataPropertySet = metadataOwner.get(O);
925
- if (!IsUndefined(metadataPropertySet) && metadataPropertySet.has(P)) return true;
926
- if (getOwnMetadataKeys(O, P).length) {
927
- if (IsUndefined(metadataPropertySet)) {
928
- metadataPropertySet = new _Set();
929
- metadataOwner.set(O, metadataPropertySet);
930
- }
931
- metadataPropertySet.add(P);
932
- return true;
933
- }
934
- return false;
935
- },
936
- OrdinaryDefineOwnMetadata: defineMetadata,
937
- OrdinaryHasOwnMetadata: hasOwnMetadata,
938
- OrdinaryGetOwnMetadata: getOwnMetadata,
939
- OrdinaryOwnMetadataKeys: getOwnMetadataKeys,
940
- OrdinaryDeleteMetadata: deleteMetadata
941
- };
942
- }
943
- /**
944
- * Gets the metadata provider for an object. If the object has no metadata provider and this is for a create operation,
945
- * then this module's metadata provider is assigned to the object.
946
- */
947
- function GetMetadataProvider(O, P, Create) {
948
- var registeredProvider = metadataRegistry.getProvider(O, P);
949
- if (!IsUndefined(registeredProvider)) return registeredProvider;
950
- if (Create) {
951
- if (metadataRegistry.setProvider(O, P, metadataProvider)) return metadataProvider;
952
- throw new Error("Illegal state.");
953
- }
954
- }
955
- function CreateMapPolyfill() {
956
- var cacheSentinel = {};
957
- var arraySentinel = [];
958
- var MapIterator = function() {
959
- function MapIterator(keys, values, selector) {
960
- this._index = 0;
961
- this._keys = keys;
962
- this._values = values;
963
- this._selector = selector;
964
- }
965
- MapIterator.prototype["@@iterator"] = function() {
966
- return this;
967
- };
968
- MapIterator.prototype[iteratorSymbol] = function() {
969
- return this;
970
- };
971
- MapIterator.prototype.next = function() {
972
- var index = this._index;
973
- if (index >= 0 && index < this._keys.length) {
974
- var result = this._selector(this._keys[index], this._values[index]);
975
- if (index + 1 >= this._keys.length) {
976
- this._index = -1;
977
- this._keys = arraySentinel;
978
- this._values = arraySentinel;
979
- } else this._index++;
980
- return {
981
- value: result,
982
- done: false
983
- };
984
- }
985
- return {
986
- value: void 0,
987
- done: true
988
- };
989
- };
990
- MapIterator.prototype.throw = function(error) {
991
- if (this._index >= 0) {
992
- this._index = -1;
993
- this._keys = arraySentinel;
994
- this._values = arraySentinel;
995
- }
996
- throw error;
997
- };
998
- MapIterator.prototype.return = function(value) {
999
- if (this._index >= 0) {
1000
- this._index = -1;
1001
- this._keys = arraySentinel;
1002
- this._values = arraySentinel;
1003
- }
1004
- return {
1005
- value,
1006
- done: true
1007
- };
1008
- };
1009
- return MapIterator;
1010
- }();
1011
- return function() {
1012
- function Map() {
1013
- this._keys = [];
1014
- this._values = [];
1015
- this._cacheKey = cacheSentinel;
1016
- this._cacheIndex = -2;
1017
- }
1018
- Object.defineProperty(Map.prototype, "size", {
1019
- get: function() {
1020
- return this._keys.length;
1021
- },
1022
- enumerable: true,
1023
- configurable: true
1024
- });
1025
- Map.prototype.has = function(key) {
1026
- return this._find(key, false) >= 0;
1027
- };
1028
- Map.prototype.get = function(key) {
1029
- var index = this._find(key, false);
1030
- return index >= 0 ? this._values[index] : void 0;
1031
- };
1032
- Map.prototype.set = function(key, value) {
1033
- var index = this._find(key, true);
1034
- this._values[index] = value;
1035
- return this;
1036
- };
1037
- Map.prototype.delete = function(key) {
1038
- var index = this._find(key, false);
1039
- if (index >= 0) {
1040
- var size = this._keys.length;
1041
- for (var i = index + 1; i < size; i++) {
1042
- this._keys[i - 1] = this._keys[i];
1043
- this._values[i - 1] = this._values[i];
1044
- }
1045
- this._keys.length--;
1046
- this._values.length--;
1047
- if (SameValueZero(key, this._cacheKey)) {
1048
- this._cacheKey = cacheSentinel;
1049
- this._cacheIndex = -2;
1050
- }
1051
- return true;
1052
- }
1053
- return false;
1054
- };
1055
- Map.prototype.clear = function() {
1056
- this._keys.length = 0;
1057
- this._values.length = 0;
1058
- this._cacheKey = cacheSentinel;
1059
- this._cacheIndex = -2;
1060
- };
1061
- Map.prototype.keys = function() {
1062
- return new MapIterator(this._keys, this._values, getKey);
1063
- };
1064
- Map.prototype.values = function() {
1065
- return new MapIterator(this._keys, this._values, getValue);
1066
- };
1067
- Map.prototype.entries = function() {
1068
- return new MapIterator(this._keys, this._values, getEntry);
1069
- };
1070
- Map.prototype["@@iterator"] = function() {
1071
- return this.entries();
1072
- };
1073
- Map.prototype[iteratorSymbol] = function() {
1074
- return this.entries();
1075
- };
1076
- Map.prototype._find = function(key, insert) {
1077
- if (!SameValueZero(this._cacheKey, key)) {
1078
- this._cacheIndex = -1;
1079
- for (var i = 0; i < this._keys.length; i++) if (SameValueZero(this._keys[i], key)) {
1080
- this._cacheIndex = i;
1081
- break;
1082
- }
1083
- }
1084
- if (this._cacheIndex < 0 && insert) {
1085
- this._cacheIndex = this._keys.length;
1086
- this._keys.push(key);
1087
- this._values.push(void 0);
1088
- }
1089
- return this._cacheIndex;
1090
- };
1091
- return Map;
1092
- }();
1093
- function getKey(key, _) {
1094
- return key;
1095
- }
1096
- function getValue(_, value) {
1097
- return value;
1098
- }
1099
- function getEntry(key, value) {
1100
- return [key, value];
1101
- }
1102
- }
1103
- function CreateSetPolyfill() {
1104
- return function() {
1105
- function Set() {
1106
- this._map = new _Map();
1107
- }
1108
- Object.defineProperty(Set.prototype, "size", {
1109
- get: function() {
1110
- return this._map.size;
1111
- },
1112
- enumerable: true,
1113
- configurable: true
1114
- });
1115
- Set.prototype.has = function(value) {
1116
- return this._map.has(value);
1117
- };
1118
- Set.prototype.add = function(value) {
1119
- return this._map.set(value, value), this;
1120
- };
1121
- Set.prototype.delete = function(value) {
1122
- return this._map.delete(value);
1123
- };
1124
- Set.prototype.clear = function() {
1125
- this._map.clear();
1126
- };
1127
- Set.prototype.keys = function() {
1128
- return this._map.keys();
1129
- };
1130
- Set.prototype.values = function() {
1131
- return this._map.keys();
1132
- };
1133
- Set.prototype.entries = function() {
1134
- return this._map.entries();
1135
- };
1136
- Set.prototype["@@iterator"] = function() {
1137
- return this.keys();
1138
- };
1139
- Set.prototype[iteratorSymbol] = function() {
1140
- return this.keys();
1141
- };
1142
- return Set;
1143
- }();
1144
- }
1145
- function CreateWeakMapPolyfill() {
1146
- var UUID_SIZE = 16;
1147
- var keys = HashMap.create();
1148
- var rootKey = CreateUniqueKey();
1149
- return function() {
1150
- function WeakMap() {
1151
- this._key = CreateUniqueKey();
1152
- }
1153
- WeakMap.prototype.has = function(target) {
1154
- var table = GetOrCreateWeakMapTable(target, false);
1155
- return table !== void 0 ? HashMap.has(table, this._key) : false;
1156
- };
1157
- WeakMap.prototype.get = function(target) {
1158
- var table = GetOrCreateWeakMapTable(target, false);
1159
- return table !== void 0 ? HashMap.get(table, this._key) : void 0;
1160
- };
1161
- WeakMap.prototype.set = function(target, value) {
1162
- var table = GetOrCreateWeakMapTable(target, true);
1163
- table[this._key] = value;
1164
- return this;
1165
- };
1166
- WeakMap.prototype.delete = function(target) {
1167
- var table = GetOrCreateWeakMapTable(target, false);
1168
- return table !== void 0 ? delete table[this._key] : false;
1169
- };
1170
- WeakMap.prototype.clear = function() {
1171
- this._key = CreateUniqueKey();
1172
- };
1173
- return WeakMap;
1174
- }();
1175
- function CreateUniqueKey() {
1176
- var key;
1177
- do
1178
- key = "@@WeakMap@@" + CreateUUID();
1179
- while (HashMap.has(keys, key));
1180
- keys[key] = true;
1181
- return key;
1182
- }
1183
- function GetOrCreateWeakMapTable(target, create) {
1184
- if (!hasOwn.call(target, rootKey)) {
1185
- if (!create) return void 0;
1186
- Object.defineProperty(target, rootKey, { value: HashMap.create() });
1187
- }
1188
- return target[rootKey];
1189
- }
1190
- function FillRandomBytes(buffer, size) {
1191
- for (var i = 0; i < size; ++i) buffer[i] = Math.random() * 255 | 0;
1192
- return buffer;
1193
- }
1194
- function GenRandomBytes(size) {
1195
- if (typeof Uint8Array === "function") {
1196
- var array = new Uint8Array(size);
1197
- if (typeof crypto !== "undefined") crypto.getRandomValues(array);
1198
- else if (typeof msCrypto !== "undefined") msCrypto.getRandomValues(array);
1199
- else FillRandomBytes(array, size);
1200
- return array;
1201
- }
1202
- return FillRandomBytes(new Array(size), size);
1203
- }
1204
- function CreateUUID() {
1205
- var data = GenRandomBytes(UUID_SIZE);
1206
- data[6] = data[6] & 79 | 64;
1207
- data[8] = data[8] & 191 | 128;
1208
- var result = "";
1209
- for (var offset = 0; offset < UUID_SIZE; ++offset) {
1210
- var byte = data[offset];
1211
- if (offset === 4 || offset === 6 || offset === 8) result += "-";
1212
- if (byte < 16) result += "0";
1213
- result += byte.toString(16).toLowerCase();
1214
- }
1215
- return result;
1216
- }
1217
- }
1218
- function MakeDictionary(obj) {
1219
- obj.__ = void 0;
1220
- delete obj.__;
1221
- return obj;
1222
- }
1223
- });
1224
- })(Reflect || (Reflect = {}));
1225
- }));
1226
- //#endregion
1227
- export { require_Reflect as t };