@partex/one-core 2.1.19 → 2.1.22
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/lib/components/actionButton/function.d.ts +3 -2
- package/lib/components/actionButton/index.vue.d.ts +7 -6
- package/lib/components/actionButton/interface.d.ts +2 -1
- package/lib/components/auth/index.vue.d.ts +2 -2
- package/lib/components/back/index.vue.d.ts +1489 -6
- package/lib/components/circle/index.vue.d.ts +337 -7
- package/lib/components/common.d.ts +2 -1
- package/lib/components/create.d.ts +2 -1
- package/lib/components/echarts/echarts.d.ts +10 -9
- package/lib/components/error/index.vue.d.ts +1425 -6
- package/lib/components/fetch.d.ts +4 -3
- package/lib/components/footer/index.vue.d.ts +6 -5
- package/lib/components/form/interface.d.ts +3 -2
- package/lib/components/header/interface.d.ts +1 -0
- package/lib/components/hooks/memoryCache.d.ts +0 -1
- package/lib/components/hooks/useDebounceFn.d.ts +3 -2
- package/lib/components/hooks/useLocalStorage.d.ts +2 -1
- package/lib/components/hooks/useQuery.d.ts +3 -2
- package/lib/components/hooks/useThrottleFn.d.ts +3 -2
- package/lib/components/icon/Add.vue.d.ts +2 -2
- package/lib/components/icon/Alert.vue.d.ts +2 -2
- package/lib/components/icon/ArrowClockwise.vue.d.ts +2 -2
- package/lib/components/icon/ArrowDown.vue.d.ts +2 -2
- package/lib/components/icon/ArrowSquareDown.vue.d.ts +2 -2
- package/lib/components/icon/ArrowUp.vue.d.ts +2 -2
- package/lib/components/icon/CalendarArrowDown.vue.d.ts +2 -2
- package/lib/components/icon/ChevronLeft.vue.d.ts +2 -2
- package/lib/components/icon/Clear.vue.d.ts +2 -2
- package/lib/components/icon/CloudArrowDown.vue.d.ts +2 -2
- package/lib/components/icon/Delete.vue.d.ts +2 -2
- package/lib/components/icon/Dismiss.vue.d.ts +2 -2
- package/lib/components/icon/Drafts.vue.d.ts +2 -2
- package/lib/components/icon/Eye.vue.d.ts +2 -2
- package/lib/components/icon/EyeOff.vue.d.ts +2 -2
- package/lib/components/icon/Filter.vue.d.ts +2 -2
- package/lib/components/icon/FullScreenMaximize.vue.d.ts +2 -2
- package/lib/components/icon/GridDots.vue.d.ts +2 -2
- package/lib/components/icon/MailInboxAdd.vue.d.ts +2 -2
- package/lib/components/icon/Navigation.vue.d.ts +2 -2
- package/lib/components/icon/Pin.vue.d.ts +2 -2
- package/lib/components/icon/PinOff.vue.d.ts +2 -2
- package/lib/components/icon/Reset.vue.d.ts +2 -2
- package/lib/components/icon/Search.vue.d.ts +2 -2
- package/lib/components/icon/User.vue.d.ts +2 -2
- package/lib/components/icon/WeatherMoon.vue.d.ts +2 -2
- package/lib/components/icon/WeatherSunny.vue.d.ts +2 -2
- package/lib/components/index.d.ts +1 -0
- package/lib/components/interface.d.ts +2 -1
- package/lib/components/my/api.d.ts +2 -1
- package/lib/components/numberRoll/index.vue.d.ts +10 -9
- package/lib/components/preset.d.ts +2 -2
- package/lib/components/searchBar/components/timePickRange.vue.d.ts +2406 -9
- package/lib/components/searchBar/interface.d.ts +3 -2
- package/lib/components/searchBar/pop.vue.d.ts +6 -6
- package/lib/components/store/api.d.ts +7 -6
- package/lib/components/store/common.d.ts +2 -1
- package/lib/components/store/user.d.ts +4 -3
- package/lib/components/table/interface.d.ts +4 -3
- package/lib/components/theme.d.ts +2 -1
- package/lib/components/utils/fetch.d.ts +2 -1
- package/lib/components/utils/localStorage.d.ts +2 -1
- package/lib/index.d.ts +2 -0
- package/lib/one-core.js +1580 -1579
- package/lib/style.css +1 -1
- package/package.json +22 -22
- package/lib/components/form/index.vue.d.ts +0 -394
- package/lib/components/form/item.vue.d.ts +0 -48
- package/lib/components/header/index.vue.d.ts +0 -135
- package/lib/components/header/message.vue.d.ts +0 -49
- package/lib/components/header/pop.vue.d.ts +0 -51
- package/lib/components/importer/index.vue.d.ts +0 -103
- package/lib/components/login/index.vue.d.ts +0 -108
- package/lib/components/logo/index.vue.d.ts +0 -18
- package/lib/components/main/index.vue.d.ts +0 -154
- package/lib/components/my/index.vue.d.ts +0 -30
- package/lib/components/report/index.vue.d.ts +0 -9
- package/lib/components/scan/index.vue.d.ts +0 -12
- package/lib/components/searchBar/index.vue.d.ts +0 -126
- package/lib/components/searchBar/item.vue.d.ts +0 -47
- package/lib/components/skeleton/index.vue.d.ts +0 -24
- package/lib/components/table/index.vue.d.ts +0 -283
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { SelectGroupOption, CascaderOption, TreeSelectOption } from 'naive-ui';
|
|
2
|
+
import { ObjectKey } from '../interface';
|
|
3
|
+
|
|
3
4
|
type SelectOption = any;
|
|
4
5
|
interface Base {
|
|
5
6
|
title?: (() => string) | string;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
-
declare const _default: DefineComponent<{
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
3
|
value: {
|
|
4
4
|
required: true;
|
|
5
5
|
type: BooleanConstructor;
|
|
6
6
|
default: boolean;
|
|
7
7
|
};
|
|
8
|
-
}
|
|
8
|
+
}>, {
|
|
9
9
|
close: () => void;
|
|
10
|
-
},
|
|
10
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "on-update:value"[], "on-update:value", PublicProps, Readonly< ExtractPropTypes<{
|
|
11
11
|
value: {
|
|
12
12
|
required: true;
|
|
13
13
|
type: BooleanConstructor;
|
|
14
14
|
default: boolean;
|
|
15
15
|
};
|
|
16
|
-
}>> & {
|
|
16
|
+
}>> & Readonly<{
|
|
17
17
|
"onOn-update:value"?: ((...args: any[]) => any) | undefined;
|
|
18
|
-
}, {}, {}>;
|
|
18
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
19
19
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { IUserTenant } from './interface';
|
|
2
|
+
import { Query, PageRecords } from '../interface';
|
|
3
|
+
|
|
3
4
|
export declare const login: (params: {
|
|
4
5
|
type: string;
|
|
5
6
|
name: string;
|
|
@@ -37,10 +38,10 @@ export declare const downloadSubmit: (params: Params) => Promise<void>;
|
|
|
37
38
|
export declare const downloadList: (params: Params) => Promise<PageRecords<Model[]>>;
|
|
38
39
|
export declare const fnDownload: (params: {
|
|
39
40
|
[key: string]: any;
|
|
40
|
-
jobTypeName?: string
|
|
41
|
-
jobParams?: string
|
|
42
|
-
file?: File
|
|
43
|
-
query?: Query
|
|
41
|
+
jobTypeName?: string;
|
|
42
|
+
jobParams?: string;
|
|
43
|
+
file?: File;
|
|
44
|
+
query?: Query;
|
|
44
45
|
}) => Promise<void>;
|
|
45
46
|
export declare const messagePage: (params: {
|
|
46
47
|
status: number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IUserTenant } from './interface';
|
|
2
|
+
|
|
2
3
|
export declare const userStore: {
|
|
3
4
|
[x: string]: any;
|
|
4
5
|
ncFlg: 0 | 1;
|
|
@@ -37,12 +38,12 @@ export declare const userStore: {
|
|
|
37
38
|
id: string | string[];
|
|
38
39
|
interval: number;
|
|
39
40
|
viewType: 1 | 2;
|
|
40
|
-
theme: "
|
|
41
|
+
theme: "light" | "dark";
|
|
41
42
|
};
|
|
42
43
|
endTime: number;
|
|
43
44
|
tenantStatus: 0 | 1 | 2;
|
|
44
45
|
renewalStatus: 0 | 1;
|
|
45
|
-
industryCategory: "
|
|
46
|
+
industryCategory: "0" | "1";
|
|
46
47
|
};
|
|
47
48
|
export declare function setEnableRedirect(val: boolean): void;
|
|
48
49
|
export declare function fnSetUser(val: Required<IUserTenant>): void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { VNodeChild } from 'vue';
|
|
2
|
+
import { Query } from '../interface';
|
|
3
|
+
import { ISearchBarTypes } from '../searchBar/interface';
|
|
4
|
+
|
|
4
5
|
type TableColumnTitle<T = InternalRowData> = string | ((column: IOcDataTableColumns<T>) => VNodeChild);
|
|
5
6
|
type ColumnKey = string | number;
|
|
6
7
|
type InternalRowData = Record<string, unknown>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { GlobalThemeOverrides } from 'naive-ui';
|
|
1
2
|
import { BuiltInGlobalTheme } from 'naive-ui/es/themes/interface';
|
|
2
|
-
|
|
3
|
+
|
|
3
4
|
export declare const lightTheme: GlobalThemeOverrides;
|
|
4
5
|
export declare const darkTheme: BuiltInGlobalTheme;
|
package/lib/index.d.ts
CHANGED