@partex/one-core 2.0.14 → 2.0.16
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/README.md +1 -1
- package/lib/components/actionButton/function.d.ts +1 -1
- package/lib/components/actionButton/interface.d.ts +1 -1
- package/lib/components/circle/index.d.ts +1 -0
- package/lib/components/circle/index.vue.d.ts +72 -0
- package/lib/components/common.d.ts +1 -59
- package/lib/components/components.d.ts +5 -4
- package/lib/components/create.d.ts +2 -1
- package/lib/components/error/index.d.ts +1 -0
- package/lib/components/error/index.vue.d.ts +23 -0
- package/lib/components/fetch.d.ts +7 -0
- package/lib/components/form/index.vue.d.ts +13 -13
- package/lib/components/form/interface.d.ts +1 -1
- package/lib/components/header/index.d.ts +0 -2
- package/lib/components/header/index.vue.d.ts +7 -15
- package/lib/components/icon/Add.vue.d.ts +3 -0
- package/lib/components/icon/Alert.vue.d.ts +3 -0
- package/lib/components/icon/ArrowClockwise.vue.d.ts +3 -0
- package/lib/components/icon/ArrowDown.vue.d.ts +3 -0
- package/lib/components/icon/ArrowSquareDown.vue.d.ts +3 -0
- package/lib/components/icon/ArrowUp.vue.d.ts +3 -0
- package/lib/components/icon/Bar.vue.d.ts +3 -0
- package/lib/components/icon/CalendarArrowDown.vue.d.ts +3 -0
- package/lib/components/icon/ChevronLeft.vue.d.ts +3 -0
- package/lib/components/icon/Clear.vue.d.ts +3 -0
- package/lib/components/icon/CloudArrowDown.vue.d.ts +3 -0
- package/lib/components/icon/Delete.vue.d.ts +3 -0
- package/lib/components/icon/Dismiss.vue.d.ts +3 -0
- package/lib/components/icon/Drafts.vue.d.ts +3 -0
- package/lib/components/icon/Eye.vue.d.ts +3 -0
- package/lib/components/icon/Filter.vue.d.ts +3 -0
- package/lib/components/icon/FullScreenMaximize.vue.d.ts +3 -0
- package/lib/components/icon/GridDots.vue.d.ts +3 -0
- package/lib/components/icon/MailInboxAdd.vue.d.ts +3 -0
- package/lib/components/icon/Navigation.vue.d.ts +3 -0
- package/lib/components/icon/Pin.vue.d.ts +3 -0
- package/lib/components/icon/Reset.vue.d.ts +3 -0
- package/lib/components/icon/Search.vue.d.ts +3 -0
- package/lib/components/icon/WeatherMoon.vue.d.ts +3 -0
- package/lib/components/icon/WeatherSunny.vue.d.ts +3 -0
- package/lib/components/icon/index.d.ts +25 -0
- package/lib/components/importer/api.d.ts +1 -1
- package/lib/components/importer/index.vue.d.ts +1 -1
- package/lib/components/index.d.ts +5 -0
- package/lib/components/interface.d.ts +45 -0
- package/lib/components/local/index.d.ts +181 -177
- package/lib/components/login/index.d.ts +0 -2
- package/lib/components/login/index.vue.d.ts +14 -0
- package/lib/components/main/index.d.ts +1 -0
- package/lib/components/main/index.vue.d.ts +157 -0
- package/lib/components/numberRoll/index.vue.d.ts +1 -1
- package/lib/components/role.d.ts +5 -0
- package/lib/components/searchBar/index.vue.d.ts +3 -2
- package/lib/components/{header → store}/api.d.ts +8 -1
- package/lib/components/{header/store.d.ts → store/common.d.ts} +7 -4
- package/lib/components/store/index.d.ts +4 -0
- package/lib/components/{login/store.d.ts → store/user.d.ts} +1 -1
- package/lib/components/table/index.d.ts +1 -1
- package/lib/components/table/index.vue.d.ts +1 -1
- package/lib/components/table/interface.d.ts +25 -1
- package/lib/components/theme.d.ts +4 -0
- package/lib/components/utils/fetch.d.ts +4 -0
- package/lib/components/utils/localStorage.d.ts +15 -0
- package/lib/components/utils/router.d.ts +3 -0
- package/lib/one-core.cjs +1 -98
- package/lib/one-core.js +4084 -6698
- package/lib/one-core.umd.cjs +1 -98
- package/lib/style.css +1 -1
- package/package.json +4 -1
- package/volar.d.ts +56 -18
- package/lib/components/dashboard/index.d.ts +0 -1
- package/lib/components/error404/index.d.ts +0 -1
- package/lib/components/error404/index.vue.d.ts +0 -5
- package/lib/components/error500/index.d.ts +0 -1
- package/lib/components/error500/index.vue.d.ts +0 -5
- package/lib/components/icon.d.ts +0 -25
- package/lib/components/login/api.d.ts +0 -7
- package/lib/components/tableEdit/common.d.ts +0 -1
- package/lib/components/tableEdit/components/action.vue.d.ts +0 -79
- package/lib/components/tableEdit/components/code.vue.d.ts +0 -42
- package/lib/components/tableEdit/components/form.vue.d.ts +0 -254
- package/lib/components/tableEdit/components/header.vue.d.ts +0 -270
- package/lib/components/tableEdit/index.d.ts +0 -2
- package/lib/components/tableEdit/index.vue.d.ts +0 -610
- package/lib/components/tableEdit/interface.d.ts +0 -25
- package/lib/src/monaco.d.ts +0 -2
- /package/lib/components/{dashboard/store.d.ts → scale.d.ts} +0 -0
- /package/lib/components/{login → store}/interface.d.ts +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ObjectKey } from '../
|
|
1
|
+
import type { ObjectKey } from '../interface';
|
|
2
2
|
import type { IActionButton } from './interface';
|
|
3
3
|
import { VNodeChild } from 'vue';
|
|
4
4
|
export declare const fnRenderAction: (buttons: IActionButton[], rowData?: ObjectKey, rowIndex?: number) => VNodeChild;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as OcCircle } from './index.vue';
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
type ICircle = {
|
|
3
|
+
backgroundBg: string;
|
|
4
|
+
processBg: string;
|
|
5
|
+
pointABg: string;
|
|
6
|
+
pointBBg: string;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: DefineComponent<{
|
|
9
|
+
circle: {
|
|
10
|
+
required: true;
|
|
11
|
+
type: PropType<number>;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
pointA: {
|
|
15
|
+
type: PropType<number>;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
pointB: {
|
|
19
|
+
type: PropType<number>;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
styles: {
|
|
23
|
+
type: PropType<ICircle>;
|
|
24
|
+
default: () => {
|
|
25
|
+
backgroundBg: string;
|
|
26
|
+
processBg: string;
|
|
27
|
+
pointABg: string;
|
|
28
|
+
pointBBg: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
}, {
|
|
32
|
+
popover: Ref<{
|
|
33
|
+
show: boolean;
|
|
34
|
+
text: string;
|
|
35
|
+
x: number;
|
|
36
|
+
y: number;
|
|
37
|
+
}>;
|
|
38
|
+
calculateCircle: () => string;
|
|
39
|
+
calculatePointA: () => string;
|
|
40
|
+
calculatePointB: () => string;
|
|
41
|
+
mouseOver: (e: MouseEvent, type: 'a' | 'b') => void;
|
|
42
|
+
mouseOut: () => void;
|
|
43
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
44
|
+
circle: {
|
|
45
|
+
required: true;
|
|
46
|
+
type: PropType<number>;
|
|
47
|
+
default: number;
|
|
48
|
+
};
|
|
49
|
+
pointA: {
|
|
50
|
+
type: PropType<number>;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
pointB: {
|
|
54
|
+
type: PropType<number>;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
styles: {
|
|
58
|
+
type: PropType<ICircle>;
|
|
59
|
+
default: () => {
|
|
60
|
+
backgroundBg: string;
|
|
61
|
+
processBg: string;
|
|
62
|
+
pointABg: string;
|
|
63
|
+
pointBBg: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
}>>, {
|
|
67
|
+
circle: number;
|
|
68
|
+
pointA: number;
|
|
69
|
+
pointB: number;
|
|
70
|
+
styles: ICircle;
|
|
71
|
+
}, {}>;
|
|
72
|
+
export default _default;
|
|
@@ -1,53 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { GlobalThemeOverrides, PaginationInfo } from 'naive-ui';
|
|
3
|
-
import { AxiosResponse, AxiosRequestConfig } from 'axios';
|
|
4
|
-
import { VNodeChild } from 'vue';
|
|
5
|
-
export { fnCancelFetch } from '../utils/fetch';
|
|
6
|
-
export interface Query {
|
|
7
|
-
page: number;
|
|
8
|
-
pageSize?: number;
|
|
9
|
-
pageCount?: number;
|
|
10
|
-
itemCount?: number;
|
|
11
|
-
pageSizes?: number[];
|
|
12
|
-
isGetAll?: 0 | 1;
|
|
13
|
-
keyword?: string;
|
|
14
|
-
columnKey?: string | null;
|
|
15
|
-
order?: string | null;
|
|
16
|
-
showQuickJumper?: boolean;
|
|
17
|
-
showSizePicker?: boolean;
|
|
18
|
-
pageSlot?: number;
|
|
19
|
-
prefix?: (info: PaginationInfo) => VNodeChild;
|
|
20
|
-
suffix?: (info: PaginationInfo) => VNodeChild;
|
|
21
|
-
}
|
|
22
|
-
export interface PageModel<T> {
|
|
23
|
-
current: string;
|
|
24
|
-
size: string;
|
|
25
|
-
pages: string;
|
|
26
|
-
total: string;
|
|
27
|
-
records: T;
|
|
28
|
-
}
|
|
29
|
-
export interface PageRecords<T> {
|
|
30
|
-
query: Query;
|
|
31
|
-
records: T;
|
|
32
|
-
}
|
|
33
|
-
export interface Fetch<T = any> {
|
|
34
|
-
(url: string, data?: any, responseType?: 'arraybuffer' | 'blob' | 'document' | 'json' | 'stream' | 'text', timeout?: number): Promise<T>;
|
|
35
|
-
}
|
|
36
|
-
export interface Fn<T = any, R = T> {
|
|
37
|
-
(...arg: T[]): R;
|
|
38
|
-
}
|
|
39
|
-
export type ObjectKey<T = any> = {
|
|
40
|
-
[x in string | number]: T;
|
|
41
|
-
};
|
|
42
|
-
export type Recordable<T = any> = Record<string, T>;
|
|
43
|
-
export type Nullable<T> = T | null;
|
|
44
|
-
export type Mapped<Type> = {
|
|
45
|
-
[Properties in keyof Type as KeyType]: Type[Properties];
|
|
46
|
-
};
|
|
47
|
-
export type TimeoutHandle = ReturnType<typeof setTimeout> | undefined;
|
|
48
|
-
export type IntervalHandle = ReturnType<typeof setInterval> | undefined;
|
|
49
|
-
export declare const lightTheme: GlobalThemeOverrides;
|
|
50
|
-
export declare const darkTheme: BuiltInGlobalTheme;
|
|
1
|
+
import type { ObjectKey, PageModel, PageRecords, Query, Fn } from './interface';
|
|
51
2
|
export declare function fnSetStorage(key: string, value: string | ObjectKey | boolean, expired?: number | string): void;
|
|
52
3
|
export declare function fnGetStorage(key: string, defaultValue: any): any;
|
|
53
4
|
export declare const fnDelStorage: (key: string) => void;
|
|
@@ -64,12 +15,3 @@ export declare const fnDecodeCursor: (data: string) => ObjectKey | string;
|
|
|
64
15
|
export declare const fnThrottle: (fn: Fn, wait?: number) => Fn;
|
|
65
16
|
export declare function fnFullScreen(element: any, callback?: Fn): void;
|
|
66
17
|
export declare function fnFormatUnits(number: number, precision?: number): string;
|
|
67
|
-
export declare const GET: Fetch;
|
|
68
|
-
export declare const POST: Fetch;
|
|
69
|
-
export declare const CUSTOM: (options: AxiosRequestConfig) => Promise<AxiosResponse<any, any>>;
|
|
70
|
-
export declare const FILE: Fetch;
|
|
71
|
-
export declare const fnCheckIoTRole: (role: string) => boolean;
|
|
72
|
-
export declare const fnCheckTDMRole: (role: string) => boolean;
|
|
73
|
-
export declare const fnCheckQMSRole: (role: string) => boolean;
|
|
74
|
-
export declare const fnCheckDashRole: (role: string) => boolean;
|
|
75
|
-
export declare const fnCheckMaintainRole: (role: string) => boolean;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
export * from './actionButton';
|
|
2
2
|
export * from './auth';
|
|
3
3
|
export * from './back';
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './error500';
|
|
4
|
+
export * from './circle';
|
|
5
|
+
export * from './error';
|
|
7
6
|
export * from './footer';
|
|
8
7
|
export * from './form';
|
|
9
8
|
export * from './header';
|
|
@@ -11,6 +10,7 @@ export * from './importer';
|
|
|
11
10
|
export * from './local';
|
|
12
11
|
export * from './login';
|
|
13
12
|
export * from './logo';
|
|
13
|
+
export * from './main';
|
|
14
14
|
export * from './my';
|
|
15
15
|
export * from './numberRoll';
|
|
16
16
|
export * from './report';
|
|
@@ -18,4 +18,5 @@ export * from './scan';
|
|
|
18
18
|
export * from './searchBar';
|
|
19
19
|
export * from './skeleton';
|
|
20
20
|
export * from './table';
|
|
21
|
-
export * from './
|
|
21
|
+
export * from './store';
|
|
22
|
+
export * from './icon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as OcError } from './index.vue';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{
|
|
3
|
+
type: {
|
|
4
|
+
type: PropType<"404" | "505">;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
}, {
|
|
8
|
+
goBack: () => void;
|
|
9
|
+
content: Ref<{
|
|
10
|
+
img: string;
|
|
11
|
+
txt: string;
|
|
12
|
+
title: string;
|
|
13
|
+
title2: string;
|
|
14
|
+
}>;
|
|
15
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
16
|
+
type: {
|
|
17
|
+
type: PropType<"404" | "505">;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
}>>, {
|
|
21
|
+
type: "404" | "505";
|
|
22
|
+
}, {}>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AxiosResponse, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { Fetch } from './interface';
|
|
3
|
+
export { fnCancelFetch } from './utils/fetch';
|
|
4
|
+
export declare const GET: Fetch;
|
|
5
|
+
export declare const POST: Fetch;
|
|
6
|
+
export declare const CUSTOM: (options: AxiosRequestConfig) => Promise<AxiosResponse<any, any>>;
|
|
7
|
+
export declare const FILE: Fetch;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import type { UploadFileInfo } from 'naive-ui';
|
|
3
3
|
import type { IFormItem, IFormItems } from './interface';
|
|
4
|
-
import { Fn, ObjectKey } from '../
|
|
4
|
+
import { Fn, ObjectKey } from '../interface';
|
|
5
5
|
declare const _default: DefineComponent<{
|
|
6
6
|
items: {
|
|
7
7
|
required: true;
|
|
@@ -34,7 +34,7 @@ declare const _default: DefineComponent<{
|
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
36
|
labelPlacement: {
|
|
37
|
-
type: PropType<"
|
|
37
|
+
type: PropType<"top" | "left">;
|
|
38
38
|
default: string;
|
|
39
39
|
};
|
|
40
40
|
}, {
|
|
@@ -42,7 +42,7 @@ declare const _default: DefineComponent<{
|
|
|
42
42
|
formValue: Ref<ObjectKey>;
|
|
43
43
|
formItems: Ref<({
|
|
44
44
|
input: "input";
|
|
45
|
-
type: "
|
|
45
|
+
type: "text" | "textarea" | "password";
|
|
46
46
|
minlength?: number | null | undefined;
|
|
47
47
|
maxlength?: number | null | undefined;
|
|
48
48
|
rows?: number | null | undefined;
|
|
@@ -55,7 +55,7 @@ declare const _default: DefineComponent<{
|
|
|
55
55
|
clearable?: boolean | undefined;
|
|
56
56
|
rule?: {
|
|
57
57
|
required: boolean;
|
|
58
|
-
type?: ("string" | "number" | "boolean" | "object" | "
|
|
58
|
+
type?: ("string" | "number" | "boolean" | "object" | "pattern" | "method" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "url" | "hex" | "email" | "any") | undefined;
|
|
59
59
|
message: string;
|
|
60
60
|
trigger: ("input" | "blur" | "change" | "focus") | ("input" | "blur" | "change" | "focus")[];
|
|
61
61
|
validator?: string | Fn<any, any> | undefined;
|
|
@@ -81,7 +81,7 @@ declare const _default: DefineComponent<{
|
|
|
81
81
|
clearable?: boolean | undefined;
|
|
82
82
|
rule?: {
|
|
83
83
|
required: boolean;
|
|
84
|
-
type?: ("string" | "number" | "boolean" | "object" | "
|
|
84
|
+
type?: ("string" | "number" | "boolean" | "object" | "pattern" | "method" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "url" | "hex" | "email" | "any") | undefined;
|
|
85
85
|
message: string;
|
|
86
86
|
trigger: ("input" | "blur" | "change" | "focus") | ("input" | "blur" | "change" | "focus")[];
|
|
87
87
|
validator?: string | Fn<any, any> | undefined;
|
|
@@ -103,7 +103,7 @@ declare const _default: DefineComponent<{
|
|
|
103
103
|
clearable?: boolean | undefined;
|
|
104
104
|
rule?: {
|
|
105
105
|
required: boolean;
|
|
106
|
-
type?: ("string" | "number" | "boolean" | "object" | "
|
|
106
|
+
type?: ("string" | "number" | "boolean" | "object" | "pattern" | "method" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "url" | "hex" | "email" | "any") | undefined;
|
|
107
107
|
message: string;
|
|
108
108
|
trigger: ("input" | "blur" | "change" | "focus") | ("input" | "blur" | "change" | "focus")[];
|
|
109
109
|
validator?: string | Fn<any, any> | undefined;
|
|
@@ -128,7 +128,7 @@ declare const _default: DefineComponent<{
|
|
|
128
128
|
clearable?: boolean | undefined;
|
|
129
129
|
rule?: {
|
|
130
130
|
required: boolean;
|
|
131
|
-
type?: ("string" | "number" | "boolean" | "object" | "
|
|
131
|
+
type?: ("string" | "number" | "boolean" | "object" | "pattern" | "method" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "url" | "hex" | "email" | "any") | undefined;
|
|
132
132
|
message: string;
|
|
133
133
|
trigger: ("input" | "blur" | "change" | "focus") | ("input" | "blur" | "change" | "focus")[];
|
|
134
134
|
validator?: string | Fn<any, any> | undefined;
|
|
@@ -149,7 +149,7 @@ declare const _default: DefineComponent<{
|
|
|
149
149
|
clearable?: boolean | undefined;
|
|
150
150
|
rule?: {
|
|
151
151
|
required: boolean;
|
|
152
|
-
type?: ("string" | "number" | "boolean" | "object" | "
|
|
152
|
+
type?: ("string" | "number" | "boolean" | "object" | "pattern" | "method" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "url" | "hex" | "email" | "any") | undefined;
|
|
153
153
|
message: string;
|
|
154
154
|
trigger: ("input" | "blur" | "change" | "focus") | ("input" | "blur" | "change" | "focus")[];
|
|
155
155
|
validator?: string | Fn<any, any> | undefined;
|
|
@@ -172,7 +172,7 @@ declare const _default: DefineComponent<{
|
|
|
172
172
|
clearable?: boolean | undefined;
|
|
173
173
|
rule?: {
|
|
174
174
|
required: boolean;
|
|
175
|
-
type?: ("string" | "number" | "boolean" | "object" | "
|
|
175
|
+
type?: ("string" | "number" | "boolean" | "object" | "pattern" | "method" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "url" | "hex" | "email" | "any") | undefined;
|
|
176
176
|
message: string;
|
|
177
177
|
trigger: ("input" | "blur" | "change" | "focus") | ("input" | "blur" | "change" | "focus")[];
|
|
178
178
|
validator?: string | Fn<any, any> | undefined;
|
|
@@ -193,7 +193,7 @@ declare const _default: DefineComponent<{
|
|
|
193
193
|
clearable?: boolean | undefined;
|
|
194
194
|
rule?: {
|
|
195
195
|
required: boolean;
|
|
196
|
-
type?: ("string" | "number" | "boolean" | "object" | "
|
|
196
|
+
type?: ("string" | "number" | "boolean" | "object" | "pattern" | "method" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "url" | "hex" | "email" | "any") | undefined;
|
|
197
197
|
message: string;
|
|
198
198
|
trigger: ("input" | "blur" | "change" | "focus") | ("input" | "blur" | "change" | "focus")[];
|
|
199
199
|
validator?: string | Fn<any, any> | undefined;
|
|
@@ -242,17 +242,17 @@ declare const _default: DefineComponent<{
|
|
|
242
242
|
default: string;
|
|
243
243
|
};
|
|
244
244
|
labelPlacement: {
|
|
245
|
-
type: PropType<"
|
|
245
|
+
type: PropType<"top" | "left">;
|
|
246
246
|
default: string;
|
|
247
247
|
};
|
|
248
248
|
}>>, {
|
|
249
|
-
data: ObjectKey;
|
|
250
249
|
edit: boolean;
|
|
250
|
+
data: ObjectKey;
|
|
251
251
|
disabled: boolean;
|
|
252
252
|
inline: boolean;
|
|
253
253
|
labelWidth: string | number;
|
|
254
254
|
labelAlign: "left" | "right";
|
|
255
|
-
labelPlacement: "
|
|
255
|
+
labelPlacement: "top" | "left";
|
|
256
256
|
items: IFormItems;
|
|
257
257
|
}, {}>;
|
|
258
258
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Fn, ObjectKey } from '../
|
|
1
|
+
import type { Fn, ObjectKey } from '../interface';
|
|
2
2
|
type RuleType = 'string' | 'number' | 'boolean' | 'method' | 'regexp' | 'integer' | 'float' | 'array' | 'object' | 'enum' | 'date' | 'url' | 'hex' | 'email' | 'pattern' | 'any';
|
|
3
3
|
type RuleTrigger = 'input' | 'change' | 'blur' | 'focus';
|
|
4
4
|
interface IFormItemBase {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, VNodeChild } from 'vue';
|
|
2
2
|
import type { IHeaderMenu } from './interface';
|
|
3
|
+
import { fnSetLang } from '../store/common';
|
|
3
4
|
declare const _default: DefineComponent<{
|
|
4
5
|
menuOptions: {
|
|
5
6
|
required: true;
|
|
@@ -14,10 +15,6 @@ declare const _default: DefineComponent<{
|
|
|
14
15
|
type: PropType<string>;
|
|
15
16
|
default: string;
|
|
16
17
|
};
|
|
17
|
-
language: {
|
|
18
|
-
type: PropType<boolean>;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
18
|
report: {
|
|
22
19
|
type: PropType<boolean>;
|
|
23
20
|
default: boolean;
|
|
@@ -66,19 +63,20 @@ declare const _default: DefineComponent<{
|
|
|
66
63
|
id: string | string[];
|
|
67
64
|
interval: number;
|
|
68
65
|
viewType: 1 | 2;
|
|
69
|
-
theme: "
|
|
66
|
+
theme: "dark" | "light";
|
|
70
67
|
};
|
|
71
68
|
endTime: number;
|
|
72
69
|
tenantStatus: 0 | 1 | 2;
|
|
73
70
|
renewalStatus: 0 | 1;
|
|
74
71
|
industryCategory: "0" | "1";
|
|
75
72
|
};
|
|
76
|
-
|
|
73
|
+
commonStore: {
|
|
77
74
|
needUpdate: boolean;
|
|
78
75
|
download: boolean;
|
|
79
76
|
theme: boolean;
|
|
80
77
|
isMobile: boolean;
|
|
81
|
-
|
|
78
|
+
language: boolean;
|
|
79
|
+
lang: "zh-CN" | "en-US" | "fr-FR";
|
|
82
80
|
platformName: string;
|
|
83
81
|
platformType: string;
|
|
84
82
|
platformUrl: string;
|
|
@@ -86,12 +84,11 @@ declare const _default: DefineComponent<{
|
|
|
86
84
|
};
|
|
87
85
|
theme: Ref<boolean>;
|
|
88
86
|
activeMenu: Ref<string>;
|
|
89
|
-
lang: Ref<"en-US" | "zh-CN">;
|
|
90
87
|
platformName: Ref<string>;
|
|
91
88
|
platformOption: Ref<any>;
|
|
89
|
+
fnSetLang: typeof fnSetLang;
|
|
92
90
|
showMenu: Ref<boolean>;
|
|
93
91
|
menuType: Ref<string>;
|
|
94
|
-
changeLang: () => void;
|
|
95
92
|
setDropdownMenu: () => any[];
|
|
96
93
|
renderMenuLabel: (option: any) => VNodeChild;
|
|
97
94
|
renderMenuLabel2: (option: any) => VNodeChild;
|
|
@@ -115,10 +112,6 @@ declare const _default: DefineComponent<{
|
|
|
115
112
|
type: PropType<string>;
|
|
116
113
|
default: string;
|
|
117
114
|
};
|
|
118
|
-
language: {
|
|
119
|
-
type: PropType<boolean>;
|
|
120
|
-
default: boolean;
|
|
121
|
-
};
|
|
122
115
|
report: {
|
|
123
116
|
type: PropType<boolean>;
|
|
124
117
|
default: boolean;
|
|
@@ -132,12 +125,11 @@ declare const _default: DefineComponent<{
|
|
|
132
125
|
default: boolean;
|
|
133
126
|
};
|
|
134
127
|
}>>, {
|
|
135
|
-
message: boolean;
|
|
136
128
|
download: boolean;
|
|
129
|
+
message: boolean;
|
|
137
130
|
menuOptions: IHeaderMenu;
|
|
138
131
|
qiankun: boolean;
|
|
139
132
|
mainUrl: string;
|
|
140
|
-
language: boolean;
|
|
141
133
|
report: boolean;
|
|
142
134
|
}, {}>;
|
|
143
135
|
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export { default as IconAdd } from './Add.vue';
|
|
2
|
+
export { default as IconAlert } from './Alert.vue';
|
|
3
|
+
export { default as IconClear } from './Clear.vue';
|
|
4
|
+
export { default as IconChevronLeft } from './ChevronLeft.vue';
|
|
5
|
+
export { default as IconArrowSquareDown } from './ArrowSquareDown.vue';
|
|
6
|
+
export { default as IconWeatherMoon } from './WeatherMoon.vue';
|
|
7
|
+
export { default as IconWeatherSunny } from './WeatherSunny.vue';
|
|
8
|
+
export { default as IconGridDots } from './GridDots.vue';
|
|
9
|
+
export { default as IconSearch } from './Search.vue';
|
|
10
|
+
export { default as IconArrowClockwise } from './ArrowClockwise.vue';
|
|
11
|
+
export { default as IconCalendarArrowDown } from './CalendarArrowDown.vue';
|
|
12
|
+
export { default as IconFilter } from './Filter.vue';
|
|
13
|
+
export { default as IconFullScreenMaximize } from './FullScreenMaximize.vue';
|
|
14
|
+
export { default as IconDelete } from './Delete.vue';
|
|
15
|
+
export { default as IconEye } from './Eye.vue';
|
|
16
|
+
export { default as IconDrafts } from './Drafts.vue';
|
|
17
|
+
export { default as IconDismiss } from './Dismiss.vue';
|
|
18
|
+
export { default as IconMailInboxAdd } from './MailInboxAdd.vue';
|
|
19
|
+
export { default as IconCloudArrowDown } from './CloudArrowDown.vue';
|
|
20
|
+
export { default as IconNavigation } from './Navigation.vue';
|
|
21
|
+
export { default as IconPin } from './Pin.vue';
|
|
22
|
+
export { default as IconArrowDown } from './ArrowDown.vue';
|
|
23
|
+
export { default as IconArrowUp } from './ArrowUp.vue';
|
|
24
|
+
export { default as IconReset } from './Reset.vue';
|
|
25
|
+
export { default as IconBar } from './Bar.vue';
|
|
@@ -104,10 +104,10 @@ declare const _default: DefineComponent<{
|
|
|
104
104
|
}>> & {
|
|
105
105
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
106
106
|
}, {
|
|
107
|
+
show: boolean;
|
|
107
108
|
type: string;
|
|
108
109
|
params: string;
|
|
109
110
|
file: string;
|
|
110
|
-
show: boolean;
|
|
111
111
|
steam: boolean;
|
|
112
112
|
}, {}>;
|
|
113
113
|
export default _default;
|