web-core-tcm 0.0.53 → 0.0.59
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.
- package/dist/src/api/patient/meta.d.ts +2 -2
- package/dist/src/components/core/TakeImageCollected.vue.d.ts +19 -0
- package/dist/src/{pages/LoginPage.vue.d.ts → components/core/TestFather.vue.d.ts} +1 -1
- package/dist/src/components/tcm/index.d.ts +4 -0
- package/dist/src/components/tcm/inquirise/index.d.ts +1 -0
- package/dist/src/components/tcm/inspections/FaceMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/TongueMetaCollected.vue.d.ts +7 -0
- package/dist/src/components/tcm/inspections/index.d.ts +2 -0
- package/dist/src/components/tcm/lisems/index.d.ts +1 -0
- package/dist/src/components/tcm/palpations/index.d.ts +1 -0
- package/dist/src/env.d.ts +2 -2
- package/dist/src/util/helper.d.ts +5 -5
- package/dist/src/util/number.d.ts +1 -1
- package/package.json +71 -14
- package/dist/src/components/models.d.ts +0 -7
|
@@ -28,7 +28,7 @@ export declare abstract class Meta extends NetworkObject {
|
|
|
28
28
|
isSelected: boolean;
|
|
29
29
|
of(json: MetaState): Promise<this>;
|
|
30
30
|
state(): MetaState;
|
|
31
|
-
getTagValue(key: string): string
|
|
31
|
+
getTagValue(key: string): string;
|
|
32
32
|
putTags(): import('alova').Method<import('alova').AlovaGenerics<MetaState, any, import('alova/fetch').FetchRequestInit, Response, Headers, any, any, any>>;
|
|
33
33
|
addTag(tag: Tag): import('alova').Method<import('alova').AlovaGenerics<MetaState, any, import('alova/fetch').FetchRequestInit, Response, Headers, any, any, any>>;
|
|
34
34
|
removeTag(tag: Tag): import('alova').Method<import('alova').AlovaGenerics<MetaState, any, import('alova/fetch').FetchRequestInit, Response, Headers, any, any, any>>;
|
|
@@ -70,7 +70,7 @@ export declare abstract class TextMeta extends Meta {
|
|
|
70
70
|
abstract getObject(): Promise<string>;
|
|
71
71
|
}
|
|
72
72
|
export declare abstract class WavesMeta extends Meta {
|
|
73
|
-
waves: WaveMap
|
|
73
|
+
waves: WaveMap;
|
|
74
74
|
serialize(): ArrayBuffer;
|
|
75
75
|
deserialize(buffer: ArrayBuffer): WaveMap;
|
|
76
76
|
abstract preprocess(origins: {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface Photo {
|
|
2
|
+
url: string;
|
|
3
|
+
blob: Blob | File;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import('vue').DefineComponent<{
|
|
6
|
+
file?: any;
|
|
7
|
+
multiple?: any;
|
|
8
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
9
|
+
collected: (photo: Photo[]) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
11
|
+
file?: any;
|
|
12
|
+
multiple?: any;
|
|
13
|
+
}> & Readonly<{
|
|
14
|
+
onCollected?: (photo: Photo[]) => any;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
16
|
+
video: HTMLVideoElement;
|
|
17
|
+
fileInput: HTMLInputElement;
|
|
18
|
+
}, HTMLDivElement>;
|
|
19
|
+
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Photo } from '../../core/TakeImageCollected.vue';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
faceMeta: (photos: Photo[]) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
5
|
+
onFaceMeta?: (photos: Photo[]) => any;
|
|
6
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Photo } from '../../core/TakeImageCollected.vue';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
tongueMeta: (photos: Photo[]) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
5
|
+
onTongueMeta?: (photos: Photo[]) => any;
|
|
6
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/src/env.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare const tokenHelper: {
|
|
|
10
10
|
/** 设置 token */
|
|
11
11
|
set: (val: string) => StorageResult;
|
|
12
12
|
/** 获取 token */
|
|
13
|
-
get: () => string
|
|
13
|
+
get: () => string;
|
|
14
14
|
/** 移除 token */
|
|
15
15
|
remove: () => StorageResult;
|
|
16
16
|
/** 检查是否存在 token */
|
|
@@ -21,7 +21,7 @@ export declare const storageHelper: {
|
|
|
21
21
|
/** 设置存储项 */
|
|
22
22
|
setItem: (key: string, val: string) => StorageResult;
|
|
23
23
|
/** 获取存储项 */
|
|
24
|
-
getItem: (key: string) => string
|
|
24
|
+
getItem: (key: string) => string;
|
|
25
25
|
/** 移除存储项 */
|
|
26
26
|
removeItem: (key: string) => StorageResult;
|
|
27
27
|
/** 清空所有存储 */
|
|
@@ -34,7 +34,7 @@ declare global {
|
|
|
34
34
|
electronAPI?: {
|
|
35
35
|
available: () => boolean;
|
|
36
36
|
setStoreItem: (key: string, value: string) => void;
|
|
37
|
-
getStoreItem: (key: string) => string
|
|
37
|
+
getStoreItem: (key: string) => string;
|
|
38
38
|
removeStoreItem: (key: string) => void;
|
|
39
39
|
};
|
|
40
40
|
}
|
|
@@ -44,7 +44,7 @@ declare const _default: {
|
|
|
44
44
|
/** 设置 token */
|
|
45
45
|
set: (val: string) => StorageResult;
|
|
46
46
|
/** 获取 token */
|
|
47
|
-
get: () => string
|
|
47
|
+
get: () => string;
|
|
48
48
|
/** 移除 token */
|
|
49
49
|
remove: () => StorageResult;
|
|
50
50
|
/** 检查是否存在 token */
|
|
@@ -54,7 +54,7 @@ declare const _default: {
|
|
|
54
54
|
/** 设置存储项 */
|
|
55
55
|
setItem: (key: string, val: string) => StorageResult;
|
|
56
56
|
/** 获取存储项 */
|
|
57
|
-
getItem: (key: string) => string
|
|
57
|
+
getItem: (key: string) => string;
|
|
58
58
|
/** 移除存储项 */
|
|
59
59
|
removeItem: (key: string) => StorageResult;
|
|
60
60
|
/** 清空所有存储 */
|
|
@@ -8,5 +8,5 @@ declare function hex2int(hex: string): any;
|
|
|
8
8
|
*/
|
|
9
9
|
declare function chunk(arr: number[], size: number): any[];
|
|
10
10
|
declare function stringToBytes(str: string): ArrayBuffer;
|
|
11
|
-
declare function numberToChinese(num: number
|
|
11
|
+
declare function numberToChinese(num: number): string;
|
|
12
12
|
export { buf2hex, hex2int, chunk, stringToBytes, numberToChinese };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "web-core-tcm",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.59",
|
|
4
4
|
"description": "Core",
|
|
5
5
|
"productName": "Core",
|
|
6
6
|
"author": "wywywywywywywywywy <qa123456_0714@qq.com>",
|
|
@@ -69,19 +69,76 @@
|
|
|
69
69
|
"dist"
|
|
70
70
|
],
|
|
71
71
|
"exports": {
|
|
72
|
-
"./api/algorithm":
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"./api/
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
"./api/
|
|
83
|
-
|
|
84
|
-
|
|
72
|
+
"./api/algorithm": {
|
|
73
|
+
"types": "./dist/src/api/algorithm/index.d.ts",
|
|
74
|
+
"import": "./dist/src/api/algorithm/index.js",
|
|
75
|
+
"require": "./dist/src/api/algorithm/index.cjs"
|
|
76
|
+
},
|
|
77
|
+
"./api/authorization": {
|
|
78
|
+
"types": "./dist/src/api/authorization/index.d.ts",
|
|
79
|
+
"import": "./dist/src/api/authorization/index.js",
|
|
80
|
+
"require": "./dist/src/api/authorization/index.cjs"
|
|
81
|
+
},
|
|
82
|
+
"./api/check": {
|
|
83
|
+
"types": "./dist/src/api/check/index.d.ts",
|
|
84
|
+
"import": "./dist/src/api/check/index.js",
|
|
85
|
+
"require": "./dist/src/api/check/index.cjs"
|
|
86
|
+
},
|
|
87
|
+
"./api/config": {
|
|
88
|
+
"types": "./dist/src/api/config/index.d.ts",
|
|
89
|
+
"import": "./dist/src/api/config/index.js",
|
|
90
|
+
"require": "./dist/src/api/config/index.cjs"
|
|
91
|
+
},
|
|
92
|
+
"./api/device": {
|
|
93
|
+
"types": "./dist/src/api/device/device.d.ts",
|
|
94
|
+
"import": "./dist/src/api/device/device.js",
|
|
95
|
+
"require": "./dist/src/api/device/device.cjs"
|
|
96
|
+
},
|
|
97
|
+
"./api/doctor": {
|
|
98
|
+
"types": "./dist/src/api/doctor/index.d.ts",
|
|
99
|
+
"import": "./dist/src/api/doctor/index.js",
|
|
100
|
+
"require": "./dist/src/api/doctor/index.cjs"
|
|
101
|
+
},
|
|
102
|
+
"./api/metric": {
|
|
103
|
+
"types": "./dist/src/api/metric/index.d.ts",
|
|
104
|
+
"import": "./dist/src/api/metric/index.js",
|
|
105
|
+
"require": "./dist/src/api/metric/index.cjs"
|
|
106
|
+
},
|
|
107
|
+
"./api/oauth": {
|
|
108
|
+
"types": "./dist/src/api/oauth/index.d.ts",
|
|
109
|
+
"import": "./dist/src/api/oauth/index.js",
|
|
110
|
+
"require": "./dist/src/api/oauth/index.cjs"
|
|
111
|
+
},
|
|
112
|
+
"./api/outpatient": {
|
|
113
|
+
"types": "./dist/src/api/outpatient/index.d.ts",
|
|
114
|
+
"import": "./dist/src/api/outpatient/index.js",
|
|
115
|
+
"require": "./dist/src/api/outpatient/index.cjs"
|
|
116
|
+
},
|
|
117
|
+
"./api/patient": {
|
|
118
|
+
"types": "./dist/src/api/patient/index.d.ts",
|
|
119
|
+
"import": "./dist/src/api/patient/index.js",
|
|
120
|
+
"require": "./dist/src/api/patient/index.cjs"
|
|
121
|
+
},
|
|
122
|
+
"./api/prescription": {
|
|
123
|
+
"types": "./dist/src/api/prescription/index.d.ts",
|
|
124
|
+
"import": "./dist/src/api/prescription/index.js",
|
|
125
|
+
"require": "./dist/src/api/prescription/index.cjs"
|
|
126
|
+
},
|
|
127
|
+
"./api/scientist": {
|
|
128
|
+
"types": "./dist/src/api/scientist/index.d.ts",
|
|
129
|
+
"import": "./dist/src/api/scientist/index.js",
|
|
130
|
+
"require": "./dist/src/api/scientist/index.cjs"
|
|
131
|
+
},
|
|
132
|
+
"./api/core": {
|
|
133
|
+
"types": "./dist/src/api/core/index.d.ts",
|
|
134
|
+
"import": "./dist/src/api/core/index.js",
|
|
135
|
+
"require": "./dist/src/api/core/index.cjs"
|
|
136
|
+
},
|
|
137
|
+
"./ui/tcm": {
|
|
138
|
+
"types": "./dist/src/components/tcm/index.d.ts",
|
|
139
|
+
"import": "./dist/src/components/tcm/index.js",
|
|
140
|
+
"require": "./dist/src/components/tcm/index.cjs"
|
|
141
|
+
}
|
|
85
142
|
},
|
|
86
143
|
"repository": {
|
|
87
144
|
"type": "git",
|