web-core-tcm 0.0.54 → 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.
@@ -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 | undefined;
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 | undefined;
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, {}, HTMLDivElement>;
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,4 @@
1
+ export * from './inquirise';
2
+ export * from './inspections';
3
+ export * from './lisems';
4
+ export * from './palpations';
@@ -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,2 @@
1
+ export * from './FaceMetaCollected.vue';
2
+ export * from './TongueMetaCollected.vue';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/dist/src/env.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  declare namespace NodeJS {
2
2
  interface ProcessEnv {
3
3
  NODE_ENV: string;
4
- VUE_ROUTER_MODE: 'hash' | 'history' | 'abstract' | undefined;
5
- VUE_ROUTER_BASE: string | undefined;
4
+ VUE_ROUTER_MODE: 'hash' | 'history' | 'abstract' ;
5
+ VUE_ROUTER_BASE: string ;
6
6
  }
7
7
  }
@@ -10,7 +10,7 @@ export declare const tokenHelper: {
10
10
  /** 设置 token */
11
11
  set: (val: string) => StorageResult;
12
12
  /** 获取 token */
13
- get: () => string | null;
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 | null;
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 | null;
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 | null;
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 | null;
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 | null): string;
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.54",
3
+ "version": "0.0.59",
4
4
  "description": "Core",
5
5
  "productName": "Core",
6
6
  "author": "wywywywywywywywywy <qa123456_0714@qq.com>",
@@ -133,6 +133,11 @@
133
133
  "types": "./dist/src/api/core/index.d.ts",
134
134
  "import": "./dist/src/api/core/index.js",
135
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"
136
141
  }
137
142
  },
138
143
  "repository": {
@@ -1,7 +0,0 @@
1
- export interface Todo {
2
- id: number;
3
- content: string;
4
- }
5
- export interface Meta {
6
- totalCount: number;
7
- }