web-core-tcm 0.0.66 → 0.0.71

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 (82) hide show
  1. package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +6 -10
  2. package/dist/src/api/algorithm/pulsationsAlgorithm.js +1 -1
  3. package/dist/src/api/authorization/alova/index.d.ts +3 -2
  4. package/dist/src/api/authorization/alova/index.js +16 -13
  5. package/dist/src/api/authorization/authorization.d.ts +1 -1
  6. package/dist/src/api/authorization/index.js +9 -6
  7. package/dist/src/api/check/alova/index.d.ts +1 -2
  8. package/dist/src/api/check/alova/index.js +10 -11
  9. package/dist/src/api/check/check.d.ts +1 -1
  10. package/dist/src/api/check/index.js +9 -10
  11. package/dist/src/api/config/alova/index.js +10 -10
  12. package/dist/src/api/config/index.d.ts +0 -1
  13. package/dist/src/api/config/index.js +9 -15
  14. package/dist/src/api/core/core.d.ts +1 -1
  15. package/dist/src/api/doctor/alova/index.d.ts +1 -2
  16. package/dist/src/api/doctor/alova/index.js +7 -8
  17. package/dist/src/api/doctor/doctor.d.ts +1 -1
  18. package/dist/src/api/doctor/index.js +6 -7
  19. package/dist/src/api/index.d.ts +0 -1
  20. package/dist/src/api/index.js +0 -2
  21. package/dist/src/api/metric/alova/implement/metric.d.ts +1 -1
  22. package/dist/src/api/metric/metric.d.ts +2 -2
  23. package/dist/src/api/oauth/alova/index.d.ts +1 -2
  24. package/dist/src/api/oauth/alova/index.js +11 -12
  25. package/dist/src/api/oauth/index.js +5 -6
  26. package/dist/src/api/outpatient/alova/index.d.ts +1 -2
  27. package/dist/src/api/outpatient/alova/index.js +10 -11
  28. package/dist/src/api/outpatient/index.js +9 -10
  29. package/dist/src/api/outpatient/outpatient.d.ts +1 -1
  30. package/dist/src/api/patient/alova/implement/meta.d.ts +1 -1
  31. package/dist/src/api/patient/alova/index.d.ts +1 -2
  32. package/dist/src/api/patient/alova/index.js +10 -11
  33. package/dist/src/api/patient/index.js +26 -27
  34. package/dist/src/api/patient/meta.d.ts +1 -1
  35. package/dist/src/api/patient/patient.d.ts +1 -1
  36. package/dist/src/api/prescription/alova/implement/prescription.d.ts +1 -0
  37. package/dist/src/api/prescription/alova/implement/prescription.js +17 -9
  38. package/dist/src/api/prescription/alova/index.d.ts +1 -2
  39. package/dist/src/api/prescription/alova/index.js +1 -2
  40. package/dist/src/api/prescription/herbal.d.ts +1 -1
  41. package/dist/src/api/prescription/index.js +11 -12
  42. package/dist/src/api/prescription/prescription.d.ts +2 -1
  43. package/dist/src/api/prescription/prescription.js +12 -9
  44. package/dist/src/api/scientist/alova/index.d.ts +1 -2
  45. package/dist/src/api/scientist/alova/index.js +5 -6
  46. package/dist/src/api/scientist/index.js +7 -8
  47. package/dist/src/api/scientist/scientist.d.ts +1 -1
  48. package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.d.ts +3 -14
  49. package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +2 -2
  50. package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +129 -117
  51. package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.d.ts +3 -14
  52. package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +2 -2
  53. package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +139 -123
  54. package/dist/src/components/tcm/lisems/EPPCollected.vue.js +1 -1
  55. package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +2 -2
  56. package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +54 -51
  57. package/dist/src/index.js +40 -42
  58. package/dist/web-core-tcm.css +1 -1
  59. package/package.json +1 -6
  60. package/dist/src/api/manager/alova/apiDefinitions.d.ts +0 -62
  61. package/dist/src/api/manager/alova/apiDefinitions.js +0 -50
  62. package/dist/src/api/manager/alova/createApis.d.ts +0 -10
  63. package/dist/src/api/manager/alova/createApis.js +0 -49
  64. package/dist/src/api/manager/alova/globals.d.ts +0 -4890
  65. package/dist/src/api/manager/alova/implement/department.d.ts +0 -7
  66. package/dist/src/api/manager/alova/implement/department.js +0 -44
  67. package/dist/src/api/manager/alova/implement/division.d.ts +0 -7
  68. package/dist/src/api/manager/alova/implement/division.js +0 -44
  69. package/dist/src/api/manager/alova/implement/hospital.d.ts +0 -7
  70. package/dist/src/api/manager/alova/implement/hospital.js +0 -44
  71. package/dist/src/api/manager/alova/implement/index.d.ts +0 -3
  72. package/dist/src/api/manager/alova/implement/index.js +0 -8
  73. package/dist/src/api/manager/alova/index.d.ts +0 -7
  74. package/dist/src/api/manager/alova/index.js +0 -20
  75. package/dist/src/api/manager/department.d.ts +0 -30
  76. package/dist/src/api/manager/department.js +0 -35
  77. package/dist/src/api/manager/division.d.ts +0 -30
  78. package/dist/src/api/manager/division.js +0 -34
  79. package/dist/src/api/manager/hospital.d.ts +0 -32
  80. package/dist/src/api/manager/hospital.js +0 -36
  81. package/dist/src/api/manager/index.d.ts +0 -4
  82. package/dist/src/api/manager/index.js +0 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-core-tcm",
3
- "version": "0.0.66",
3
+ "version": "0.0.71",
4
4
  "description": "Core",
5
5
  "productName": "Core",
6
6
  "author": "wywywywywywywywywy <qa123456_0714@qq.com>",
@@ -133,11 +133,6 @@
133
133
  "import": "./dist/src/api/core/index.js",
134
134
  "require": "./dist/src/api/core/index.cjs"
135
135
  },
136
- "./api/manager": {
137
- "types": "./dist/src/api/manager/index.d.ts",
138
- "import": "./dist/src/api/manager/index.js",
139
- "require": "./dist/src/api/manager/index.cjs"
140
- },
141
136
  "./ui/tcm": {
142
137
  "types": "./dist/src/components/tcm/index.d.ts",
143
138
  "import": "./dist/src/components/tcm/index.js",
@@ -1,62 +0,0 @@
1
- /**
2
- * 管理服务 - version v1.0
3
- *
4
- * 支持Restful风格的患者服务
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
- 'departmentStateRestful.getDepartmentState': string[];
17
- 'departmentStateRestful.putDepartmentState': string[];
18
- 'departmentStateRestful.deleteDepartmentState': string[];
19
- 'divisionStateRestful.getDivisionState': string[];
20
- 'divisionStateRestful.putDivisionState': string[];
21
- 'divisionStateRestful.deleteDivisionState': string[];
22
- 'hospitalStateRestful.getHospitalState': string[];
23
- 'hospitalStateRestful.putHospitalState': string[];
24
- 'hospitalStateRestful.deleteHospitalState': string[];
25
- 'departmentStateRestful.getDepartmentStates': string[];
26
- 'departmentStateRestful.postDepartmentState': string[];
27
- 'divisionStateRestful.getDivisionStates': string[];
28
- 'divisionStateRestful.postDivisionState': string[];
29
- 'hospitalStateRestful.getHospitalStates': string[];
30
- 'hospitalStateRestful.postHospitalState': string[];
31
- 'general.deleteDepartmentState_POST': string[];
32
- 'general.deleteDepartmentState_GET': string[];
33
- 'general.deleteDivisionState_POST': string[];
34
- 'general.deleteDivisionState_GET': string[];
35
- 'general.deleteHospitalState_POST': string[];
36
- 'general.deleteHospitalState_GET': string[];
37
- 'general.getDepartmentState_POST': string[];
38
- 'general.getDepartmentState_GET': string[];
39
- 'general.getDivisionState_POST': string[];
40
- 'general.getDivisionState_GET': string[];
41
- 'general.getHospitalState_POST': string[];
42
- 'general.getHospitalState_GET': string[];
43
- 'general.postDepartmentState_POST': string[];
44
- 'general.postDepartmentState_GET': string[];
45
- 'general.postDivisionState_POST': string[];
46
- 'general.postDivisionState_GET': string[];
47
- 'general.postHospitalState_POST': string[];
48
- 'general.postHospitalState_GET': string[];
49
- 'general.putDepartmentState_POST': string[];
50
- 'general.putDepartmentState_GET': string[];
51
- 'general.putDivisionState_POST': string[];
52
- 'general.putDivisionState_GET': string[];
53
- 'general.putHospitalState_POST': string[];
54
- 'general.putHospitalState_GET': string[];
55
- 'general.queryDepartmentState_POST': string[];
56
- 'general.queryDepartmentState_GET': string[];
57
- 'general.queryDivisionState_POST': string[];
58
- 'general.queryDivisionState_GET': string[];
59
- 'general.queryHospitalState_POST': string[];
60
- 'general.queryHospitalState_GET': string[];
61
- };
62
- export default _default;
@@ -1,50 +0,0 @@
1
- const t = {
2
- "departmentStateRestful.getDepartmentState": ["GET", "/管理/服务/部门/{id}"],
3
- "departmentStateRestful.putDepartmentState": ["PUT", "/管理/服务/部门/{id}"],
4
- "departmentStateRestful.deleteDepartmentState": ["DELETE", "/管理/服务/部门/{id}"],
5
- "divisionStateRestful.getDivisionState": ["GET", "/管理/服务/科室/{id}"],
6
- "divisionStateRestful.putDivisionState": ["PUT", "/管理/服务/科室/{id}"],
7
- "divisionStateRestful.deleteDivisionState": ["DELETE", "/管理/服务/科室/{id}"],
8
- "hospitalStateRestful.getHospitalState": ["GET", "/管理/服务/医院/{id}"],
9
- "hospitalStateRestful.putHospitalState": ["PUT", "/管理/服务/医院/{id}"],
10
- "hospitalStateRestful.deleteHospitalState": ["DELETE", "/管理/服务/医院/{id}"],
11
- "departmentStateRestful.getDepartmentStates": ["GET", "/管理/服务/部门"],
12
- "departmentStateRestful.postDepartmentState": ["POST", "/管理/服务/部门"],
13
- "divisionStateRestful.getDivisionStates": ["GET", "/管理/服务/科室"],
14
- "divisionStateRestful.postDivisionState": ["POST", "/管理/服务/科室"],
15
- "hospitalStateRestful.getHospitalStates": ["GET", "/管理/服务/医院"],
16
- "hospitalStateRestful.postHospitalState": ["POST", "/管理/服务/医院"],
17
- "general.deleteDepartmentState_POST": ["POST", "/deleteDepartmentState"],
18
- "general.deleteDepartmentState_GET": ["GET", "/deleteDepartmentState/{deleteDepartmentState}"],
19
- "general.deleteDivisionState_POST": ["POST", "/deleteDivisionState"],
20
- "general.deleteDivisionState_GET": ["GET", "/deleteDivisionState/{deleteDivisionState}"],
21
- "general.deleteHospitalState_POST": ["POST", "/deleteHospitalState"],
22
- "general.deleteHospitalState_GET": ["GET", "/deleteHospitalState/{deleteHospitalState}"],
23
- "general.getDepartmentState_POST": ["POST", "/getDepartmentState"],
24
- "general.getDepartmentState_GET": ["GET", "/getDepartmentState/{getDepartmentState}"],
25
- "general.getDivisionState_POST": ["POST", "/getDivisionState"],
26
- "general.getDivisionState_GET": ["GET", "/getDivisionState/{getDivisionState}"],
27
- "general.getHospitalState_POST": ["POST", "/getHospitalState"],
28
- "general.getHospitalState_GET": ["GET", "/getHospitalState/{getHospitalState}"],
29
- "general.postDepartmentState_POST": ["POST", "/postDepartmentState"],
30
- "general.postDepartmentState_GET": ["GET", "/postDepartmentState/{postDepartmentState}"],
31
- "general.postDivisionState_POST": ["POST", "/postDivisionState"],
32
- "general.postDivisionState_GET": ["GET", "/postDivisionState/{postDivisionState}"],
33
- "general.postHospitalState_POST": ["POST", "/postHospitalState"],
34
- "general.postHospitalState_GET": ["GET", "/postHospitalState/{postHospitalState}"],
35
- "general.putDepartmentState_POST": ["POST", "/putDepartmentState"],
36
- "general.putDepartmentState_GET": ["GET", "/putDepartmentState/{putDepartmentState}"],
37
- "general.putDivisionState_POST": ["POST", "/putDivisionState"],
38
- "general.putDivisionState_GET": ["GET", "/putDivisionState/{putDivisionState}"],
39
- "general.putHospitalState_POST": ["POST", "/putHospitalState"],
40
- "general.putHospitalState_GET": ["GET", "/putHospitalState/{putHospitalState}"],
41
- "general.queryDepartmentState_POST": ["POST", "/queryDepartmentState"],
42
- "general.queryDepartmentState_GET": ["GET", "/queryDepartmentState/{queryDepartmentState}"],
43
- "general.queryDivisionState_POST": ["POST", "/queryDivisionState"],
44
- "general.queryDivisionState_GET": ["GET", "/queryDivisionState/{queryDivisionState}"],
45
- "general.queryHospitalState_POST": ["POST", "/queryHospitalState"],
46
- "general.queryHospitalState_GET": ["GET", "/queryHospitalState/{queryHospitalState}"]
47
- };
48
- export {
49
- t as default
50
- };
@@ -1,10 +0,0 @@
1
- import { Alova, AlovaGenerics, AlovaMethodCreateConfig } from 'alova';
2
- export declare const createApis: (alovaInstance: Alova<AlovaGenerics>, configMap: any) => managerApi;
3
- export declare const mountApis: (Apis: managerApi) => 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 managerApi ? Url extends keyof managerApi[Tag] ? managerApi[Tag][Url] extends (...args: any) => any ? Parameters<managerApi[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 {};
@@ -1,49 +0,0 @@
1
- import { Method as A } from "../../../../node_modules/alova/dist/alova.esm.js";
2
- import _ from "./apiDefinitions.js";
3
- const l = /* @__PURE__ */ Object.create(null), d = (e, a, p) => {
4
- const o = e.join(".");
5
- if (l[o])
6
- return l[o];
7
- const s = new Proxy(function() {
8
- }, {
9
- get(y, m) {
10
- const f = [...e, m];
11
- return d(f, a, p);
12
- },
13
- apply(y, m, [f]) {
14
- const u = _[o];
15
- if (!u)
16
- throw new Error(`the api path of \`${o}\` is not found`);
17
- const i = {
18
- ...p[o],
19
- ...f
20
- }, [P, b] = u, g = i.pathParams, w = b.replace(/\{([^}]+)\}/g, (c, n) => g[n]);
21
- delete i.pathParams;
22
- let t = i.data;
23
- if (Object.prototype.toString.call(t) === "[object Object]" && typeof FormData < "u") {
24
- let c = !1;
25
- const n = new FormData();
26
- for (const r in t)
27
- if (Array.isArray(t[r]))
28
- for (const h of t[r])
29
- n.append(r, h), h instanceof Blob && (c = !0);
30
- else
31
- n.append(r, t[r]), t[r] instanceof Blob && (c = !0);
32
- t = c ? n : t;
33
- }
34
- return new A(P.toUpperCase(), a, w, i, t);
35
- }
36
- });
37
- return l[o] = s, s;
38
- }, D = (e, a) => new Proxy({}, {
39
- get(o, s) {
40
- return d([s], e, a);
41
- }
42
- }), B = (e) => {
43
- globalThis.managerApi = e;
44
- }, C = (e) => e;
45
- export {
46
- D as createApis,
47
- B as mountApis,
48
- C as withConfigType
49
- };