web-core-tcm 0.0.25 → 0.0.26

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 (308) hide show
  1. package/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +134 -0
  2. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/boot.js +70 -0
  3. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +14 -0
  4. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/message.js +6 -0
  5. package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/restore-json-names.js +10 -0
  6. package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +136 -0
  7. package/dist/node_modules/@bufbuild/protobuf/dist/esm/descriptors.js +7 -0
  8. package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +164 -0
  9. package/dist/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +6 -0
  10. package/dist/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +75 -0
  11. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +8 -0
  12. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +35 -0
  13. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +42 -0
  14. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +17 -0
  15. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.js +156 -0
  16. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +349 -0
  17. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +39 -0
  18. package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +72 -0
  19. package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +551 -0
  20. package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-binary.js +159 -0
  21. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +58 -0
  22. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js +350 -0
  23. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +25 -0
  24. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.js +145 -0
  25. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js +110 -0
  26. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +107 -0
  27. package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.js +24 -0
  28. package/dist/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +556 -0
  29. package/dist/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +36 -0
  30. package/dist/node_modules/@vue/shared/dist/shared.esm-bundler.js +26 -0
  31. package/dist/node_modules/alova/dist/adapter/fetch.esm.js +55 -0
  32. package/dist/node_modules/alova/dist/alova.esm.js +414 -0
  33. package/dist/node_modules/alova/dist/clienthook/index.esm.js +89 -0
  34. package/dist/node_modules/builder-pattern/dist/index.js +22 -0
  35. package/dist/node_modules/jwt-decode/build/esm/index.js +52 -0
  36. package/dist/node_modules/pinyin/lib/esm/pinyin.js +242260 -0
  37. package/dist/node_modules/punycode/punycode.es6.js +139 -0
  38. package/dist/node_modules/quasar/src/composables/use-quasar/use-quasar.js +8 -0
  39. package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +4 -0
  40. package/dist/src/api/algorithm/comprehensiveAlgorithm.d.ts +4 -0
  41. package/dist/src/api/algorithm/comprehensiveAlgorithm.js +16 -0
  42. package/dist/src/api/algorithm/index.d.ts +10 -0
  43. package/dist/src/api/algorithm/index.js +62 -0
  44. package/dist/src/api/algorithm/inquiriesAlgorithm.d.ts +13 -0
  45. package/dist/src/api/algorithm/inquiriesAlgorithm.js +9 -0
  46. package/dist/src/api/algorithm/inspectionsAlgorithm.d.ts +2 -0
  47. package/dist/src/api/algorithm/inspectionsAlgorithm.js +10 -0
  48. package/dist/src/api/algorithm/lisemsAlgorithm.d.ts +2 -0
  49. package/dist/src/api/algorithm/lisemsAlgorithm.js +15 -0
  50. package/dist/src/api/algorithm/pulsationsAlgorithm.d.ts +4 -0
  51. package/dist/src/api/algorithm/pulsationsAlgorithm.js +8 -0
  52. package/dist/src/api/authorization/alova/apiDefinitions.d.ts +21 -0
  53. package/dist/src/api/authorization/alova/apiDefinitions.js +9 -0
  54. package/dist/src/api/authorization/alova/createApis.d.ts +10 -0
  55. package/dist/src/api/authorization/alova/createApis.js +51 -0
  56. package/dist/src/api/authorization/alova/implement/authorization.d.ts +4 -0
  57. package/dist/src/api/authorization/alova/implement/authorization.js +15 -0
  58. package/dist/src/api/authorization/alova/index.d.ts +5 -0
  59. package/dist/src/api/authorization/alova/index.js +18 -0
  60. package/dist/src/api/authorization/authorization.d.ts +8 -0
  61. package/dist/src/api/authorization/authorization.js +16 -0
  62. package/dist/src/api/authorization/index.js +9 -0
  63. package/dist/src/api/check/alova/apiDefinitions.d.ts +28 -0
  64. package/dist/src/api/check/alova/apiDefinitions.js +16 -0
  65. package/dist/src/api/check/alova/createApis.d.ts +10 -0
  66. package/dist/src/api/check/alova/createApis.js +51 -0
  67. package/dist/src/api/check/alova/implement/check.d.ts +27 -0
  68. package/dist/src/api/check/alova/implement/check.js +119 -0
  69. package/dist/src/api/check/alova/index.d.ts +5 -0
  70. package/dist/src/api/check/alova/index.js +21 -0
  71. package/dist/src/api/check/check.d.ts +54 -0
  72. package/dist/src/api/check/check.js +131 -0
  73. package/dist/src/api/check/index.js +11 -0
  74. package/dist/src/api/config/alova/index.d.ts +5 -0
  75. package/dist/src/api/config/alova/index.js +55 -0
  76. package/dist/src/api/config/index.d.ts +23 -0
  77. package/dist/src/api/config/index.js +106 -0
  78. package/dist/src/api/device/device.d.ts +5 -0
  79. package/dist/src/api/device/device.js +46 -0
  80. package/dist/src/api/doctor/alova/apiDefinitions.d.ts +26 -0
  81. package/dist/src/api/doctor/alova/apiDefinitions.js +14 -0
  82. package/dist/src/api/doctor/alova/createApis.d.ts +10 -0
  83. package/dist/src/api/doctor/alova/createApis.js +51 -0
  84. package/dist/src/api/doctor/alova/implement/doctor.d.ts +7 -0
  85. package/dist/src/api/doctor/alova/implement/doctor.js +42 -0
  86. package/dist/src/api/doctor/alova/index.d.ts +5 -0
  87. package/dist/src/api/doctor/alova/index.js +20 -0
  88. package/dist/src/api/doctor/doctor.d.ts +22 -0
  89. package/dist/src/api/doctor/doctor.js +29 -0
  90. package/dist/src/api/doctor/index.js +9 -0
  91. package/dist/src/api/metric/implement/metric.d.ts +24 -0
  92. package/dist/src/api/metric/implement/metric.js +80 -0
  93. package/dist/src/api/metric/index.js +6 -0
  94. package/dist/src/api/metric/metric.d.ts +28 -0
  95. package/dist/src/api/metric/metric.js +75 -0
  96. package/dist/src/api/oauth/alova/apiDefinitions.d.ts +24 -0
  97. package/dist/src/api/oauth/alova/apiDefinitions.js +12 -0
  98. package/dist/src/api/oauth/alova/createApis.d.ts +10 -0
  99. package/dist/src/api/oauth/alova/createApis.js +51 -0
  100. package/dist/src/api/oauth/alova/implement/oauth.d.ts +4 -0
  101. package/dist/src/api/oauth/alova/implement/oauth.js +15 -0
  102. package/dist/src/api/oauth/alova/index.d.ts +5 -0
  103. package/dist/src/api/oauth/alova/index.js +17 -0
  104. package/dist/src/api/oauth/index.js +9 -0
  105. package/dist/src/api/oauth/oauth.d.ts +7 -0
  106. package/dist/src/api/oauth/oauth.js +16 -0
  107. package/dist/src/api/outpatient/alova/apiDefinitions.d.ts +25 -0
  108. package/dist/src/api/outpatient/alova/apiDefinitions.js +13 -0
  109. package/dist/src/api/outpatient/alova/createApis.d.ts +10 -0
  110. package/dist/src/api/outpatient/alova/createApis.js +51 -0
  111. package/dist/src/api/outpatient/alova/implement/outpatient.d.ts +10 -0
  112. package/dist/src/api/outpatient/alova/implement/outpatient.js +71 -0
  113. package/dist/src/api/outpatient/alova/index.d.ts +5 -0
  114. package/dist/src/api/outpatient/alova/index.js +21 -0
  115. package/dist/src/api/outpatient/index.js +11 -0
  116. package/dist/src/api/outpatient/outpatient.d.ts +39 -0
  117. package/dist/src/api/outpatient/outpatient.js +45 -0
  118. package/dist/src/api/patient/alova/apiDefinitions.d.ts +39 -0
  119. package/dist/src/api/patient/alova/apiDefinitions.js +27 -0
  120. package/dist/src/api/patient/alova/createApis.d.ts +10 -0
  121. package/dist/src/api/patient/alova/createApis.js +51 -0
  122. package/dist/src/api/patient/alova/implement/meta.d.ts +113 -0
  123. package/dist/src/api/patient/alova/implement/meta.js +404 -0
  124. package/dist/src/api/patient/alova/implement/patient.d.ts +22 -0
  125. package/dist/src/api/patient/alova/implement/patient.js +72 -0
  126. package/dist/src/api/patient/alova/index.d.ts +5 -0
  127. package/dist/src/api/patient/alova/index.js +22 -0
  128. package/dist/src/api/patient/core.d.ts +50 -0
  129. package/dist/src/api/patient/core.js +109 -0
  130. package/dist/src/api/patient/index.js +46 -0
  131. package/dist/src/api/patient/meta.d.ts +238 -0
  132. package/dist/src/api/patient/meta.js +454 -0
  133. package/dist/src/api/patient/patient.d.ts +43 -0
  134. package/dist/src/api/patient/patient.js +42 -0
  135. package/dist/src/api/prescription/alova/apiDefinitions.d.ts +27 -0
  136. package/dist/src/api/prescription/alova/apiDefinitions.js +15 -0
  137. package/dist/src/api/prescription/alova/createApis.d.ts +10 -0
  138. package/dist/src/api/prescription/alova/createApis.js +51 -0
  139. package/dist/src/api/prescription/alova/implement/herbal.d.ts +15 -0
  140. package/dist/src/api/prescription/alova/implement/herbal.js +54 -0
  141. package/dist/src/api/prescription/alova/implement/prescription.d.ts +15 -0
  142. package/dist/src/api/prescription/alova/implement/prescription.js +49 -0
  143. package/dist/src/api/prescription/alova/index.d.ts +5 -0
  144. package/dist/src/api/prescription/alova/index.js +20 -0
  145. package/dist/src/api/prescription/herbal.d.ts +19 -0
  146. package/dist/src/api/prescription/herbal.js +34 -0
  147. package/dist/src/api/prescription/index.js +13 -0
  148. package/dist/src/api/prescription/prescription.d.ts +26 -0
  149. package/dist/src/api/prescription/prescription.js +49 -0
  150. package/dist/src/api/scientist/alova/apiDefinitions.d.ts +25 -0
  151. package/dist/src/api/scientist/alova/apiDefinitions.js +13 -0
  152. package/dist/src/api/scientist/alova/createApis.d.ts +10 -0
  153. package/dist/src/api/scientist/alova/createApis.js +51 -0
  154. package/dist/src/api/scientist/alova/implement/scientist.d.ts +6 -0
  155. package/dist/src/api/scientist/alova/implement/scientist.js +35 -0
  156. package/dist/src/api/scientist/alova/index.d.ts +6 -0
  157. package/dist/src/api/scientist/alova/index.js +21 -0
  158. package/dist/src/api/scientist/index.js +9 -0
  159. package/dist/src/api/scientist/scientist.d.ts +20 -0
  160. package/dist/src/api/scientist/scientist.js +37 -0
  161. package/dist/src/components/models.d.ts +7 -0
  162. package/dist/src/index.js +36 -0
  163. package/dist/src/pages/LoginPage.vue.d.ts +2 -0
  164. package/dist/src/proto/types/Images_pb.d.ts +34 -0
  165. package/dist/src/proto/types/Images_pb.js +10 -0
  166. package/dist/src/proto/types/WaveMap_pb.d.ts +48 -0
  167. package/dist/src/proto/types/WaveMap_pb.js +10 -0
  168. package/dist/src/router/index.d.ts +2 -0
  169. package/dist/src/router/routes.d.ts +3 -0
  170. package/dist/src/util/RichTextUtil.d.ts +1 -0
  171. package/dist/src/util/RichTextUtil.js +6 -0
  172. package/dist/src/util/datetime.d.ts +5 -0
  173. package/dist/src/util/export.d.ts +4 -0
  174. package/dist/src/util/helper.d.ts +65 -0
  175. package/dist/src/util/helper.js +46 -0
  176. package/dist/src/util/image.d.ts +2 -0
  177. package/dist/src/util/image.js +17 -0
  178. package/dist/src/util/number.d.ts +12 -0
  179. package/dist/src/util/s256.d.ts +2 -0
  180. package/dist/src/util/secret.d.ts +10 -0
  181. package/dist/src/util/string.d.ts +21 -0
  182. package/dist/src/util/string.js +10 -0
  183. package/package.json +4 -1
  184. package/.editorconfig +0 -7
  185. package/.github/workflows/test.yml +0 -29
  186. package/.prettierrc.json +0 -5
  187. package/.vscode/extensions.json +0 -15
  188. package/.vscode/settings.json +0 -9
  189. package/eslint.config.js +0 -83
  190. package/index.html +0 -24
  191. package/postcss.config.js +0 -29
  192. package/quasar.config.ts +0 -233
  193. package/src/App.vue +0 -7
  194. package/src/api/algorithm/comprehensiveAlgorithm.ts +0 -20
  195. package/src/api/algorithm/index.ts +0 -50
  196. package/src/api/algorithm/inquiriesAlgorithm.ts +0 -16
  197. package/src/api/algorithm/inspectionsAlgorithm.ts +0 -11
  198. package/src/api/algorithm/lisemsAlgorithm.ts +0 -16
  199. package/src/api/algorithm/pulsationsAlgorithm.ts +0 -8
  200. package/src/api/authorization/alova/apiDefinitions.ts +0 -23
  201. package/src/api/authorization/alova/createApis.ts +0 -114
  202. package/src/api/authorization/alova/globals.d.ts +0 -394
  203. package/src/api/authorization/alova/implement/authorization.ts +0 -14
  204. package/src/api/authorization/alova/index.ts +0 -22
  205. package/src/api/authorization/authorization.ts +0 -16
  206. package/src/api/check/alova/apiDefinitions.ts +0 -30
  207. package/src/api/check/alova/createApis.ts +0 -114
  208. package/src/api/check/alova/globals.d.ts +0 -1257
  209. package/src/api/check/alova/implement/check.ts +0 -165
  210. package/src/api/check/alova/index.ts +0 -22
  211. package/src/api/check/check.ts +0 -217
  212. package/src/api/config/alova/index.ts +0 -71
  213. package/src/api/config/index.ts +0 -132
  214. package/src/api/device/device.js +0 -58
  215. package/src/api/doctor/alova/apiDefinitions.ts +0 -28
  216. package/src/api/doctor/alova/createApis.ts +0 -114
  217. package/src/api/doctor/alova/globals.d.ts +0 -559
  218. package/src/api/doctor/alova/implement/doctor.ts +0 -51
  219. package/src/api/doctor/alova/index.ts +0 -23
  220. package/src/api/doctor/doctor.ts +0 -53
  221. package/src/api/metric/implement/metric.ts +0 -108
  222. package/src/api/metric/metric.ts +0 -114
  223. package/src/api/oauth/alova/apiDefinitions.ts +0 -26
  224. package/src/api/oauth/alova/createApis.ts +0 -114
  225. package/src/api/oauth/alova/globals.d.ts +0 -460
  226. package/src/api/oauth/alova/implement/oauth.ts +0 -24
  227. package/src/api/oauth/alova/index.ts +0 -21
  228. package/src/api/oauth/oauth.ts +0 -19
  229. package/src/api/outpatient/alova/apiDefinitions.ts +0 -27
  230. package/src/api/outpatient/alova/createApis.ts +0 -114
  231. package/src/api/outpatient/alova/globals.d.ts +0 -685
  232. package/src/api/outpatient/alova/implement/outpatient.ts +0 -91
  233. package/src/api/outpatient/alova/index.ts +0 -22
  234. package/src/api/outpatient/outpatient.ts +0 -67
  235. package/src/api/patient/alova/apiDefinitions.ts +0 -41
  236. package/src/api/patient/alova/createApis.ts +0 -114
  237. package/src/api/patient/alova/globals.d.ts +0 -1690
  238. package/src/api/patient/alova/implement/meta.ts +0 -517
  239. package/src/api/patient/alova/implement/patient.ts +0 -99
  240. package/src/api/patient/alova/index.ts +0 -22
  241. package/src/api/patient/core.ts +0 -133
  242. package/src/api/patient/meta.ts +0 -570
  243. package/src/api/patient/patient.ts +0 -98
  244. package/src/api/prescription/alova/apiDefinitions.ts +0 -29
  245. package/src/api/prescription/alova/createApis.ts +0 -114
  246. package/src/api/prescription/alova/globals.d.ts +0 -968
  247. package/src/api/prescription/alova/implement/herbal.ts +0 -68
  248. package/src/api/prescription/alova/implement/prescription.ts +0 -62
  249. package/src/api/prescription/alova/index.ts +0 -22
  250. package/src/api/prescription/herbal.ts +0 -51
  251. package/src/api/prescription/prescription.ts +0 -76
  252. package/src/api/scientist/alova/apiDefinitions.ts +0 -27
  253. package/src/api/scientist/alova/createApis.ts +0 -114
  254. package/src/api/scientist/alova/globals.d.ts +0 -447
  255. package/src/api/scientist/alova/implement/scientist.ts +0 -40
  256. package/src/api/scientist/alova/index.ts +0 -24
  257. package/src/api/scientist/scientist.ts +0 -49
  258. package/src/assets/quasar-logo-vertical.svg +0 -15
  259. package/src/boot/.gitkeep +0 -0
  260. package/src/components/ExampleComponent.vue +0 -37
  261. package/src/components/models.ts +0 -8
  262. package/src/css/app.scss +0 -1
  263. package/src/css/quasar.variables.scss +0 -25
  264. package/src/env.d.ts +0 -7
  265. package/src/layouts/UserLayout.vue +0 -108
  266. package/src/pages/LoginPage.vue +0 -29
  267. package/src/proto/Images.proto +0 -7
  268. package/src/proto/WaveMap.proto +0 -10
  269. package/src/proto/types/Images_pb.ts +0 -48
  270. package/src/proto/types/WaveMap_pb.ts +0 -59
  271. package/src/router/index.ts +0 -37
  272. package/src/router/routes.ts +0 -14
  273. package/src/util/RichTextUtil.ts +0 -5
  274. package/src/util/datetime.ts +0 -43
  275. package/src/util/export.ts +0 -46
  276. package/src/util/helper.ts +0 -159
  277. package/src/util/image.ts +0 -28
  278. package/src/util/number.ts +0 -146
  279. package/src/util/s256.js +0 -27
  280. package/src/util/secret.ts +0 -60
  281. package/src/util/string.ts +0 -121
  282. package/tsconfig.json +0 -7
  283. /package/{public → dist}/favicon.ico +0 -0
  284. /package/{public → dist}/icons/favicon-128x128.png +0 -0
  285. /package/{public → dist}/icons/favicon-16x16.png +0 -0
  286. /package/{public → dist}/icons/favicon-32x32.png +0 -0
  287. /package/{public → dist}/icons/favicon-96x96.png +0 -0
  288. /package/{src/api/authorization/alova/implement/index.ts → dist/src/api/authorization/alova/implement/index.d.ts} +0 -0
  289. /package/{src/api/authorization/index.ts → dist/src/api/authorization/index.d.ts} +0 -0
  290. /package/{src/api/check/alova/implement/index.ts → dist/src/api/check/alova/implement/index.d.ts} +0 -0
  291. /package/{src/api/check/index.ts → dist/src/api/check/index.d.ts} +0 -0
  292. /package/{src/api/doctor/alova/implement/index.ts → dist/src/api/doctor/alova/implement/index.d.ts} +0 -0
  293. /package/{src/api/doctor/index.ts → dist/src/api/doctor/index.d.ts} +0 -0
  294. /package/{src/api/index.ts → dist/src/api/index.d.ts} +0 -0
  295. /package/{src/api/metric/implement/index.ts → dist/src/api/metric/implement/index.d.ts} +0 -0
  296. /package/{src/api/metric/index.ts → dist/src/api/metric/index.d.ts} +0 -0
  297. /package/{src/api/oauth/alova/implement/index.ts → dist/src/api/oauth/alova/implement/index.d.ts} +0 -0
  298. /package/{src/api/oauth/index.ts → dist/src/api/oauth/index.d.ts} +0 -0
  299. /package/{src/api/outpatient/alova/implement/index.ts → dist/src/api/outpatient/alova/implement/index.d.ts} +0 -0
  300. /package/{src/api/outpatient/index.ts → dist/src/api/outpatient/index.d.ts} +0 -0
  301. /package/{src/api/patient/alova/implement/index.ts → dist/src/api/patient/alova/implement/index.d.ts} +0 -0
  302. /package/{src/api/patient/index.ts → dist/src/api/patient/index.d.ts} +0 -0
  303. /package/{src/api/prescription/alova/implement/index.ts → dist/src/api/prescription/alova/implement/index.d.ts} +0 -0
  304. /package/{src/api/prescription/index.ts → dist/src/api/prescription/index.d.ts} +0 -0
  305. /package/{src/api/scientist/alova/implement/index.ts → dist/src/api/scientist/alova/implement/index.d.ts} +0 -0
  306. /package/{src/api/scientist/index.ts → dist/src/api/scientist/index.d.ts} +0 -0
  307. /package/{src/index.ts → dist/src/index.d.ts} +0 -0
  308. /package/{src/proto/index.ts → dist/src/proto/index.d.ts} +0 -0
@@ -0,0 +1,139 @@
1
+ const k = /^xn--/, B = /[^\0-\x7F]/, S = /[\x2E\u3002\uFF0E\uFF61]/g, T = {
2
+ overflow: "Overflow: input needs wider integers to process",
3
+ "not-basic": "Illegal input >= 0x80 (not a basic code point)",
4
+ "invalid-input": "Invalid input"
5
+ }, C = 35, l = Math.floor, g = String.fromCharCode;
6
+ function d(t) {
7
+ throw new RangeError(T[t]);
8
+ }
9
+ function D(t, n) {
10
+ const o = [];
11
+ let e = t.length;
12
+ for (; e--; )
13
+ o[e] = n(t[e]);
14
+ return o;
15
+ }
16
+ function I(t, n) {
17
+ const o = t.split("@");
18
+ let e = "";
19
+ o.length > 1 && (e = o[0] + "@", t = o[1]), t = t.replace(S, ".");
20
+ const s = t.split("."), i = D(s, n).join(".");
21
+ return e + i;
22
+ }
23
+ function M(t) {
24
+ const n = [];
25
+ let o = 0;
26
+ const e = t.length;
27
+ for (; o < e; ) {
28
+ const s = t.charCodeAt(o++);
29
+ if (s >= 55296 && s <= 56319 && o < e) {
30
+ const i = t.charCodeAt(o++);
31
+ (i & 64512) == 56320 ? n.push(((s & 1023) << 10) + (i & 1023) + 65536) : (n.push(s), o--);
32
+ } else
33
+ n.push(s);
34
+ }
35
+ return n;
36
+ }
37
+ const E = (t) => String.fromCodePoint(...t), L = function(t) {
38
+ return t >= 48 && t < 58 ? 26 + (t - 48) : t >= 65 && t < 91 ? t - 65 : t >= 97 && t < 123 ? t - 97 : 36;
39
+ }, m = function(t, n) {
40
+ return t + 22 + 75 * (t < 26) - ((n != 0) << 5);
41
+ }, v = function(t, n, o) {
42
+ let e = 0;
43
+ for (t = o ? l(t / 700) : t >> 1, t += l(t / n); t > C * 26 >> 1; e += 36)
44
+ t = l(t / C);
45
+ return l(e + (C + 1) * t / (t + 38));
46
+ }, F = function(t) {
47
+ const n = [], o = t.length;
48
+ let e = 0, s = 128, i = 72, u = t.lastIndexOf("-");
49
+ u < 0 && (u = 0);
50
+ for (let c = 0; c < u; ++c)
51
+ t.charCodeAt(c) >= 128 && d("not-basic"), n.push(t.charCodeAt(c));
52
+ for (let c = u > 0 ? u + 1 : 0; c < o; ) {
53
+ const r = e;
54
+ for (let a = 1, f = 36; ; f += 36) {
55
+ c >= o && d("invalid-input");
56
+ const x = L(t.charCodeAt(c++));
57
+ x >= 36 && d("invalid-input"), x > l((2147483647 - e) / a) && d("overflow"), e += x * a;
58
+ const b = f <= i ? 1 : f >= i + 26 ? 26 : f - i;
59
+ if (x < b)
60
+ break;
61
+ const p = 36 - b;
62
+ a > l(2147483647 / p) && d("overflow"), a *= p;
63
+ }
64
+ const h = n.length + 1;
65
+ i = v(e - r, h, r == 0), l(e / h) > 2147483647 - s && d("overflow"), s += l(e / h), e %= h, n.splice(e++, 0, s);
66
+ }
67
+ return String.fromCodePoint(...n);
68
+ }, A = function(t) {
69
+ const n = [];
70
+ t = M(t);
71
+ const o = t.length;
72
+ let e = 128, s = 0, i = 72;
73
+ for (const r of t)
74
+ r < 128 && n.push(g(r));
75
+ const u = n.length;
76
+ let c = u;
77
+ for (u && n.push("-"); c < o; ) {
78
+ let r = 2147483647;
79
+ for (const a of t)
80
+ a >= e && a < r && (r = a);
81
+ const h = c + 1;
82
+ r - e > l((2147483647 - s) / h) && d("overflow"), s += (r - e) * h, e = r;
83
+ for (const a of t)
84
+ if (a < e && ++s > 2147483647 && d("overflow"), a === e) {
85
+ let f = s;
86
+ for (let x = 36; ; x += 36) {
87
+ const b = x <= i ? 1 : x >= i + 26 ? 26 : x - i;
88
+ if (f < b)
89
+ break;
90
+ const p = f - b, w = 36 - b;
91
+ n.push(
92
+ g(m(b + p % w, 0))
93
+ ), f = l(p / w);
94
+ }
95
+ n.push(g(m(f, 0))), i = v(s, h, c === u), s = 0, ++c;
96
+ }
97
+ ++s, ++e;
98
+ }
99
+ return n.join("");
100
+ }, N = function(t) {
101
+ return I(t, function(n) {
102
+ return k.test(n) ? F(n.slice(4).toLowerCase()) : n;
103
+ });
104
+ }, j = function(t) {
105
+ return I(t, function(n) {
106
+ return B.test(n) ? "xn--" + A(n) : n;
107
+ });
108
+ }, O = {
109
+ /**
110
+ * A string representing the current Punycode.js version number.
111
+ * @memberOf punycode
112
+ * @type String
113
+ */
114
+ version: "2.3.1",
115
+ /**
116
+ * An object of methods to convert from JavaScript's internal character
117
+ * representation (UCS-2) to Unicode code points, and back.
118
+ * @see <https://mathiasbynens.be/notes/javascript-encoding>
119
+ * @memberOf punycode
120
+ * @type Object
121
+ */
122
+ ucs2: {
123
+ decode: M,
124
+ encode: E
125
+ },
126
+ decode: F,
127
+ encode: A,
128
+ toASCII: j,
129
+ toUnicode: N
130
+ };
131
+ export {
132
+ F as decode,
133
+ O as default,
134
+ A as encode,
135
+ j as toASCII,
136
+ N as toUnicode,
137
+ M as ucs2decode,
138
+ E as ucs2encode
139
+ };
@@ -0,0 +1,8 @@
1
+ import { quasarKey as r } from "../../utils/private.symbols/symbols.js";
2
+ import { inject as t } from "../../../../@vue/runtime-core/dist/runtime-core.esm-bundler.js";
3
+ function o() {
4
+ return t(r);
5
+ }
6
+ export {
7
+ o as default
8
+ };
@@ -0,0 +1,4 @@
1
+ const a = "_q_";
2
+ export {
3
+ a as quasarKey
4
+ };
@@ -0,0 +1,4 @@
1
+ export declare const comprehensiveQwenAlgorithm: (data: object) => import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>, Response, unknown>>;
2
+ export declare const comprehensiveDeepSeekV3Algorithm: (data: object) => import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>, Response, unknown>>;
3
+ export declare const comprehensiveDeepSeekR1Algorithm: (data: object) => import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>, Response, unknown>>;
4
+ export declare const doctorSceneTextAnalysis: (data: object) => import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>, Response, unknown>>;
@@ -0,0 +1,16 @@
1
+ import { comprehensiveAlgorithmService as o } from "./index.js";
2
+ const i = (e) => o.Post("/千问大模型分析", e, {
3
+ timeout: 3e4
4
+ }), m = (e) => o.Post("/DeepSeekV3大模型分析", e, {
5
+ timeout: 3e4
6
+ }), s = (e) => o.Post("/DeepSeekR1大模型分析", e, {
7
+ timeout: 3e5
8
+ }), r = (e) => o.Post("/医生场景文本", e, {
9
+ timeout: 3e5
10
+ });
11
+ export {
12
+ s as comprehensiveDeepSeekR1Algorithm,
13
+ m as comprehensiveDeepSeekV3Algorithm,
14
+ i as comprehensiveQwenAlgorithm,
15
+ r as doctorSceneTextAnalysis
16
+ };
@@ -0,0 +1,10 @@
1
+ export declare const inspectionAlgorithmService: import('alova').Alova<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>>;
2
+ export declare const inquiriesAlgorithmService: import('alova').Alova<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>>;
3
+ export declare const lisemsAlgorithmService: import('alova').Alova<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>>;
4
+ export declare const pulsationsAlgorithmService: import('alova').Alova<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>>;
5
+ export declare const comprehensiveAlgorithmService: import('alova').Alova<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>>;
6
+ export * from './comprehensiveAlgorithm';
7
+ export * from './inquiriesAlgorithm';
8
+ export * from './inspectionsAlgorithm';
9
+ export * from './lisemsAlgorithm';
10
+ export * from './pulsationsAlgorithm';
@@ -0,0 +1,62 @@
1
+ import { createAlova as e } from "../../../node_modules/alova/dist/alova.esm.js";
2
+ import o from "../../../node_modules/alova/dist/adapter/fetch.esm.js";
3
+ import { responded as r } from "../config/alova/index.js";
4
+ import { getServiceEndpoint as t, ServiceType as i } from "../config/index.js";
5
+ import { comprehensiveDeepSeekR1Algorithm as v, comprehensiveDeepSeekV3Algorithm as S, comprehensiveQwenAlgorithm as d, doctorSceneTextAnalysis as f } from "./comprehensiveAlgorithm.js";
6
+ import { complaintsChoose as x, complaintsDialog as y, complaintsRecognition as F, complaintsSearch as L, complaintsView as R } from "./inquiriesAlgorithm.js";
7
+ import { faceAnalyze as D, tongueAnalyze as U } from "./inspectionsAlgorithm.js";
8
+ import { analysisLisems as w, getFrequencyDomainDiagram as z } from "./lisemsAlgorithm.js";
9
+ import { pulsationAnalysis as I, pulsationPreprocessing as P } from "./pulsationsAlgorithm.js";
10
+ const a = e({
11
+ baseURL: t(i.InspectionsAlgorithm),
12
+ timeout: 3e4,
13
+ cacheFor: null,
14
+ requestAdapter: o(),
15
+ responded: r
16
+ }), l = e({
17
+ baseURL: t(i.InquiriesAlgorithm),
18
+ timeout: 3e4,
19
+ cacheFor: null,
20
+ requestAdapter: o(),
21
+ responded: r
22
+ }), p = e({
23
+ baseURL: t(i.LisemsAlgorithm),
24
+ timeout: 3e4,
25
+ cacheFor: null,
26
+ requestAdapter: o(),
27
+ responded: r
28
+ }), h = e({
29
+ baseURL: t(i.PulsationsAlgorithm),
30
+ timeout: 3e4,
31
+ cacheFor: null,
32
+ requestAdapter: o(),
33
+ responded: r
34
+ }), u = e({
35
+ baseURL: t(i.ComprehensiveAlgorithm),
36
+ timeout: 3e4,
37
+ cacheFor: null,
38
+ requestAdapter: o(),
39
+ responded: r
40
+ });
41
+ export {
42
+ w as analysisLisems,
43
+ x as complaintsChoose,
44
+ y as complaintsDialog,
45
+ F as complaintsRecognition,
46
+ L as complaintsSearch,
47
+ R as complaintsView,
48
+ u as comprehensiveAlgorithmService,
49
+ v as comprehensiveDeepSeekR1Algorithm,
50
+ S as comprehensiveDeepSeekV3Algorithm,
51
+ d as comprehensiveQwenAlgorithm,
52
+ f as doctorSceneTextAnalysis,
53
+ D as faceAnalyze,
54
+ z as getFrequencyDomainDiagram,
55
+ l as inquiriesAlgorithmService,
56
+ a as inspectionAlgorithmService,
57
+ p as lisemsAlgorithmService,
58
+ I as pulsationAnalysis,
59
+ P as pulsationPreprocessing,
60
+ h as pulsationsAlgorithmService,
61
+ U as tongueAnalyze
62
+ };
@@ -0,0 +1,13 @@
1
+ export declare const complaintsRecognition: (symptomDescription: string) => import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>, string[], unknown>>;
2
+ export declare const complaintsDialog: (body: object) => import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>, {
3
+ reply: string;
4
+ positive_symptom: string[];
5
+ }, unknown>>;
6
+ export declare const complaintsView: (params: string) => import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>, {
7
+ symptoms: string[];
8
+ }, unknown>>;
9
+ export declare const complaintsSearch: (data: string) => import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>, string[], unknown>>;
10
+ export declare const complaintsChoose: (body: object) => import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>, {
11
+ status: string;
12
+ data: [];
13
+ }, unknown>>;
@@ -0,0 +1,9 @@
1
+ import { inquiriesAlgorithmService as t } from "./index.js";
2
+ const i = (o) => t.Post("/主诉/识别", { symptomDescription: o }), c = (o) => t.Post("/主诉/对话", o), n = (o) => t.Post("/主诉/视图", { params: o }), e = (o) => t.Post("/主诉/搜索", { data: o }), m = (o) => t.Post("/主诉/选择", o);
3
+ export {
4
+ m as complaintsChoose,
5
+ c as complaintsDialog,
6
+ i as complaintsRecognition,
7
+ e as complaintsSearch,
8
+ n as complaintsView
9
+ };
@@ -0,0 +1,2 @@
1
+ export declare const tongueAnalyze: (images: FormData) => import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>, JSON, unknown>>;
2
+ export declare const faceAnalyze: (images: FormData) => import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>, JSON, unknown>>;
@@ -0,0 +1,10 @@
1
+ import { inspectionAlgorithmService as e } from "./index.js";
2
+ const i = (t) => e.Post("/舌象", t, {
3
+ timeout: 3e4
4
+ }), n = (t) => e.Post("/面象", t, {
5
+ timeout: 3e4
6
+ });
7
+ export {
8
+ n as faceAnalyze,
9
+ i as tongueAnalyze
10
+ };
@@ -0,0 +1,2 @@
1
+ export declare const analysisLisems: (body: object) => import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>, JSON, Response>>;
2
+ export declare const getFrequencyDomainDiagram: (body: number[]) => import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>, string, Response>>;
@@ -0,0 +1,15 @@
1
+ import { lisemsAlgorithmService as s } from "./index.js";
2
+ const n = (r) => s.Post("/特征参数", r, {
3
+ transform(t) {
4
+ return t.json();
5
+ }
6
+ }), a = (r) => s.Post("/频域图", JSON.stringify(r), {
7
+ async transform(t) {
8
+ const o = await t.blob();
9
+ return URL.createObjectURL(o);
10
+ }
11
+ });
12
+ export {
13
+ n as analysisLisems,
14
+ a as getFrequencyDomainDiagram
15
+ };
@@ -0,0 +1,4 @@
1
+ export declare const pulsationPreprocessing: (pulsation: object) => import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>, {
2
+ [key: string]: number[];
3
+ }, unknown>>;
4
+ export declare const pulsationAnalysis: (pulsation: object) => import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, import('alova').StatesExport<any>>, JSON, unknown>>;
@@ -0,0 +1,8 @@
1
+ import { pulsationsAlgorithmService as s } from "./index.js";
2
+ const i = (o) => s.Post("/预处理", o, {}), e = (o) => s.Post("/特征参数", o, {
3
+ timeout: 3e4
4
+ });
5
+ export {
6
+ e as pulsationAnalysis,
7
+ i as pulsationPreprocessing
8
+ };
@@ -0,0 +1,21 @@
1
+ /**
2
+ * OpenAPI definition - version v0
3
+ *
4
+ *
5
+ *
6
+ * OpenAPI version: 3.1.0
7
+ *
8
+ *
9
+ * NOTE: This file is auto generated by the alova's vscode plugin.
10
+ *
11
+ * https://alova.js.org/devtools/vscode
12
+ *
13
+ * **Do not edit the file manually.**
14
+ */
15
+ declare const _default: {
16
+ 'oAuthRestful.getToken': string[];
17
+ 'resourceAuthorizationRestful.getResourceAuthorizationState': string[];
18
+ 'roleAuthorizationRestful.getRoleAuthorizationState': string[];
19
+ 'userAuthorizationRestful.getUserAuthorizationState': string[];
20
+ };
21
+ export default _default;
@@ -0,0 +1,9 @@
1
+ const t = {
2
+ "oAuthRestful.getToken": ["POST", "/授权/服务/令牌"],
3
+ "resourceAuthorizationRestful.getResourceAuthorizationState": ["GET", "/授权/服务/资源/{id}"],
4
+ "roleAuthorizationRestful.getRoleAuthorizationState": ["GET", "/授权/服务/角色/{role}"],
5
+ "userAuthorizationRestful.getUserAuthorizationState": ["GET", "/授权/服务/用户/{userId}"]
6
+ };
7
+ export {
8
+ t as default
9
+ };
@@ -0,0 +1,10 @@
1
+ import { Alova, AlovaGenerics, AlovaMethodCreateConfig } from 'alova';
2
+ export declare const createApis: (alovaInstance: Alova<AlovaGenerics>, configMap: any) => authorizeApi;
3
+ export declare const mountApis: (Apis: authorizeApi) => void;
4
+ type MethodConfig<T> = AlovaMethodCreateConfig<(typeof import('./index'))['alovaInstance'] extends Alova<infer AG> ? AG : any, any, T>;
5
+ type APISofParameters<Tag extends string, Url extends string> = Tag extends keyof authorizeApi ? Url extends keyof authorizeApi[Tag] ? authorizeApi[Tag][Url] extends (...args: any) => any ? Parameters<authorizeApi[Tag][Url]> : any : any : any;
6
+ type MethodsConfigMap = {
7
+ [P in keyof typeof import('./apiDefinitions').default]?: MethodConfig<P extends `${infer Tag}.${infer Url}` ? Parameters<NonNullable<APISofParameters<Tag, Url>[0]>['transform']>[0] : any>;
8
+ };
9
+ export declare const withConfigType: <Config extends MethodsConfigMap>(config: Config) => Config;
10
+ export {};
@@ -0,0 +1,51 @@
1
+ import { Method as g } from "../../../../node_modules/alova/dist/alova.esm.js";
2
+ import A from "./apiDefinitions.js";
3
+ const l = /* @__PURE__ */ Object.create(null), m = (t, r, p) => {
4
+ const e = t.join(".");
5
+ if (l[e])
6
+ return l[e];
7
+ const n = new Proxy(function() {
8
+ }, {
9
+ get(d, u) {
10
+ const s = [...t, u];
11
+ return m(s, r, p);
12
+ },
13
+ apply(d, u, [s]) {
14
+ const h = A[e];
15
+ if (!h)
16
+ throw new Error(`the api path of \`${e}\` is not found`);
17
+ const a = {
18
+ ...p[e],
19
+ ...s
20
+ }, [y, P] = h, w = a.pathParams, b = P.replace(/\{([^}]+)\}/g, (f, c) => w[c]);
21
+ delete a.pathParams;
22
+ let o = a.data;
23
+ if (Object.prototype.toString.call(o) === "[object Object]" && typeof FormData < "u") {
24
+ let f = !1;
25
+ const c = new FormData();
26
+ for (const i in o)
27
+ c.append(i, o[i]), o[i] instanceof Blob && (f = !0);
28
+ o = f ? c : o;
29
+ }
30
+ return new g(
31
+ y.toUpperCase(),
32
+ r,
33
+ b,
34
+ a,
35
+ o
36
+ );
37
+ }
38
+ });
39
+ return l[e] = n, n;
40
+ }, x = (t, r) => new Proxy({}, {
41
+ get(e, n) {
42
+ return m([n], t, r);
43
+ }
44
+ }), D = (t) => {
45
+ globalThis.authorizeApi = t;
46
+ }, C = (t) => t;
47
+ export {
48
+ x as createApis,
49
+ D as mountApis,
50
+ C as withConfigType
51
+ };
@@ -0,0 +1,4 @@
1
+ import { Authorization } from '../../authorization';
2
+ export declare class AlovaAuthorization extends Authorization {
3
+ static getToken(type?: string, uid?: string, token?: string): Promise<import('../globals').GetTokenResponse>;
4
+ }
@@ -0,0 +1,15 @@
1
+ import { Authorization as a } from "../../authorization.js";
2
+ class n extends a {
3
+ static getToken(t, o, e) {
4
+ return authorizeApi.oAuthRestful.getToken({
5
+ data: {
6
+ ...t && { type: t },
7
+ ...o && { uid: o },
8
+ ...e && { token: e }
9
+ }
10
+ }).send();
11
+ }
12
+ }
13
+ export {
14
+ n as AlovaAuthorization
15
+ };
@@ -0,0 +1,5 @@
1
+ export declare const alovaInstance: import('alova').Alova<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, any, any, any>>;
2
+ export declare const $$userConfigMap: {};
3
+ declare const Apis: authorizeApi;
4
+ export default Apis;
5
+ export * from './implement';
@@ -0,0 +1,18 @@
1
+ import { createAlova as e } from "../../../../node_modules/alova/dist/alova.esm.js";
2
+ import o from "../../../../node_modules/alova/dist/adapter/fetch.esm.js";
3
+ import { createApis as t, mountApis as r, withConfigType as i } from "./createApis.js";
4
+ import { responded as p, onAuthRequired as a } from "../../config/alova/index.js";
5
+ import { getServiceEndpoint as n, ServiceType as s } from "../../config/index.js";
6
+ const c = e({
7
+ baseURL: n(s.Authorization),
8
+ requestAdapter: o(),
9
+ beforeRequest: a(),
10
+ cacheFor: null,
11
+ responded: p
12
+ }), m = i({}), f = t(c, m);
13
+ r(f);
14
+ export {
15
+ m as $$userConfigMap,
16
+ c as alovaInstance,
17
+ f as default
18
+ };
@@ -0,0 +1,8 @@
1
+ import { GetTokenResponse } from './alova/globals';
2
+ import { IBuilder } from 'builder-pattern';
3
+ export declare class Authorization {
4
+ static _default: typeof Authorization;
5
+ static builder(): IBuilder<Authorization>;
6
+ static default(): typeof Authorization;
7
+ static getToken(type?: string, uid?: string, token?: string): Promise<GetTokenResponse>;
8
+ }
@@ -0,0 +1,16 @@
1
+ import { Builder as u } from "../../../node_modules/builder-pattern/dist/index.js";
2
+ class t {
3
+ static _default;
4
+ static builder() {
5
+ return u(this._default);
6
+ }
7
+ static default() {
8
+ return this._default;
9
+ }
10
+ static getToken(e, r, a) {
11
+ return t.default().getToken(e, r, a);
12
+ }
13
+ }
14
+ export {
15
+ t as Authorization
16
+ };
@@ -0,0 +1,9 @@
1
+ import { Authorization as t } from "./authorization.js";
2
+ import { $$userConfigMap as e, alovaInstance as i } from "./alova/index.js";
3
+ import { AlovaAuthorization as f } from "./alova/implement/authorization.js";
4
+ export {
5
+ e as $$userConfigMap,
6
+ f as AlovaAuthorization,
7
+ t as Authorization,
8
+ i as alovaInstance
9
+ };
@@ -0,0 +1,28 @@
1
+ /**
2
+ * OpenAPI definition - version v0
3
+ *
4
+ *
5
+ *
6
+ * OpenAPI version: 3.1.0
7
+ *
8
+ *
9
+ * NOTE: This file is auto generated by the alova's vscode plugin.
10
+ *
11
+ * https://alova.js.org/devtools/vscode
12
+ *
13
+ * **Do not edit the file manually.**
14
+ */
15
+ declare const _default: {
16
+ 'checkStateRestful.getCheckState': string[];
17
+ 'checkStateRestful.putCheckState': string[];
18
+ 'checkStateRestful.deleteCheckState': string[];
19
+ 'checkStateRestful.queryCheckState': string[];
20
+ 'checkStateRestful.postCheckState': string[];
21
+ 'checkStateRestful.queryPaymentState': string[];
22
+ 'checkStateRestful.datesOfCheckState': string[];
23
+ 'checkStateRestful.totalOfCheckState': string[];
24
+ 'checkStateRestful.genderDistributeOfCheckState': string[];
25
+ 'checkStateRestful.ageDistributeOfCheckState': string[];
26
+ 'checkStateRestful.totalOfCheckByTodayState': string[];
27
+ };
28
+ export default _default;
@@ -0,0 +1,16 @@
1
+ const t = {
2
+ "checkStateRestful.getCheckState": ["GET", "/病历/服务/{id}"],
3
+ "checkStateRestful.putCheckState": ["PUT", "/病历/服务/{id}"],
4
+ "checkStateRestful.deleteCheckState": ["DELETE", "/病历/服务/{id}"],
5
+ "checkStateRestful.queryCheckState": ["GET", "/病历/服务"],
6
+ "checkStateRestful.postCheckState": ["POST", "/病历/服务"],
7
+ "checkStateRestful.queryPaymentState": ["GET", "/病历/服务/药方/支付信息"],
8
+ "checkStateRestful.datesOfCheckState": ["GET", "/病历/服务/统计/病历/日期"],
9
+ "checkStateRestful.totalOfCheckState": ["GET", "/病历/服务/统计/病历/总数"],
10
+ "checkStateRestful.genderDistributeOfCheckState": ["GET", "/病历/服务/统计/病历/性别/分布"],
11
+ "checkStateRestful.ageDistributeOfCheckState": ["GET", "/病历/服务/统计/病历/年龄/分布"],
12
+ "checkStateRestful.totalOfCheckByTodayState": ["GET", "/病历/服务/统计/病历/今日"]
13
+ };
14
+ export {
15
+ t as default
16
+ };
@@ -0,0 +1,10 @@
1
+ import { Alova, AlovaGenerics, AlovaMethodCreateConfig } from 'alova';
2
+ export declare const createApis: (alovaInstance: Alova<AlovaGenerics>, configMap: any) => checkApi;
3
+ export declare const mountApis: (Apis: checkApi) => void;
4
+ type MethodConfig<T> = AlovaMethodCreateConfig<(typeof import('./index'))['alovaInstance'] extends Alova<infer AG> ? AG : any, any, T>;
5
+ type APISofParameters<Tag extends string, Url extends string> = Tag extends keyof checkApi ? Url extends keyof checkApi[Tag] ? checkApi[Tag][Url] extends (...args: any) => any ? Parameters<checkApi[Tag][Url]> : any : any : any;
6
+ type MethodsConfigMap = {
7
+ [P in keyof typeof import('./apiDefinitions').default]?: MethodConfig<P extends `${infer Tag}.${infer Url}` ? Parameters<NonNullable<APISofParameters<Tag, Url>[0]>['transform']>[0] : any>;
8
+ };
9
+ export declare const withConfigType: <Config extends MethodsConfigMap>(config: Config) => Config;
10
+ export {};
@@ -0,0 +1,51 @@
1
+ import { Method as g } from "../../../../node_modules/alova/dist/alova.esm.js";
2
+ import A from "./apiDefinitions.js";
3
+ const l = /* @__PURE__ */ Object.create(null), u = (t, n, s) => {
4
+ const e = t.join(".");
5
+ if (l[e])
6
+ return l[e];
7
+ const r = new Proxy(function() {
8
+ }, {
9
+ get(d, h) {
10
+ const i = [...t, h];
11
+ return u(i, n, s);
12
+ },
13
+ apply(d, h, [i]) {
14
+ const m = A[e];
15
+ if (!m)
16
+ throw new Error(`the api path of \`${e}\` is not found`);
17
+ const a = {
18
+ ...s[e],
19
+ ...i
20
+ }, [y, P] = m, w = a.pathParams, b = P.replace(/\{([^}]+)\}/g, (f, c) => w[c]);
21
+ delete a.pathParams;
22
+ let o = a.data;
23
+ if (Object.prototype.toString.call(o) === "[object Object]" && typeof FormData < "u") {
24
+ let f = !1;
25
+ const c = new FormData();
26
+ for (const p in o)
27
+ c.append(p, o[p]), o[p] instanceof Blob && (f = !0);
28
+ o = f ? c : o;
29
+ }
30
+ return new g(
31
+ y.toUpperCase(),
32
+ n,
33
+ b,
34
+ a,
35
+ o
36
+ );
37
+ }
38
+ });
39
+ return l[e] = r, r;
40
+ }, x = (t, n) => new Proxy({}, {
41
+ get(e, r) {
42
+ return u([r], t, n);
43
+ }
44
+ }), D = (t) => {
45
+ globalThis.checkApi = t;
46
+ }, C = (t) => t;
47
+ export {
48
+ x as createApis,
49
+ D as mountApis,
50
+ C as withConfigType
51
+ };