dlzn-ui 1.99.0 → 2.0.0
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/components/button/src/button.vue.d.ts +2 -3
- package/components/card/src/card.vue.d.ts +2 -3
- package/components/checkbox/src/checkbox.vue.d.ts +3 -4
- package/components/checkbox-group/src/checkbox-group.vue.d.ts +3 -4
- package/components/cron/src/Common.vue.d.ts +3 -4
- package/components/cron/src/Day.vue.d.ts +3 -4
- package/components/cron/src/Hour.vue.d.ts +3 -4
- package/components/cron/src/Minute.vue.d.ts +3 -4
- package/components/cron/src/Month.vue.d.ts +3 -4
- package/components/cron/src/Picker.vue.d.ts +3 -4
- package/components/cron/src/Second.vue.d.ts +3 -4
- package/components/cron/src/cron.vue.d.ts +3 -4
- package/components/custom-page-list/src/custom-page-list.vue.d.ts +5 -7
- package/components/custom-page-table/src/custom-page-table.vue.d.ts +4 -5
- package/components/date-picker/src/date-picker.vue.d.ts +14 -17
- package/components/form/src/form.vue.d.ts +2 -3
- package/components/gradient-text/src/gradient-text.vue.d.ts +1 -2
- package/components/icon/src/icon.vue.d.ts +2 -3
- package/components/image/src/image.vue.d.ts +2 -4
- package/components/image-viewer/src/image-viewer.vue.d.ts +4 -6
- package/components/input/src/input.vue.d.ts +3 -4
- package/components/input-number/src/input-number.vue.d.ts +5 -6
- package/components/link/src/link.vue.d.ts +2 -3
- package/components/overview/src/DicLabel/Index.vue.d.ts +3 -5
- package/components/overview/src/IndexItem.vue.d.ts +1 -2
- package/components/overview/src/OptionLabel/Index.vue.d.ts +3 -5
- package/components/overview/src/overview.vue.d.ts +2 -3
- package/components/page-list/src/page-list.d.ts +521 -529
- package/components/page-list/src/page-list.vue.d.ts +7 -10
- package/components/page-query/src/page-query.vue.d.ts +7 -8
- package/components/page-table/src/page-table.d.ts +4 -4
- package/components/page-table/src/page-table.vue.d.ts +12 -15
- package/components/pagination/src/pagination.vue.d.ts +4 -6
- package/components/popconfirm/src/popconfirm.vue.d.ts +2 -3
- package/components/popup/src/popup.vue.d.ts +2 -3
- package/components/provider/src/Provider.vue.d.ts +1 -2
- package/components/radio-group/src/radio-group.vue.d.ts +3 -4
- package/components/range-input/src/range-input.vue.d.ts +3 -4
- package/components/scrollbar/src/scrollbar.vue.d.ts +3 -4
- package/components/select/src/select.vue.d.ts +4 -6
- package/components/select-sys-user/src/Picker.vue.d.ts +2 -3
- package/components/select-sys-user/src/select-sys-user.vue.d.ts +3 -4
- package/components/slider/src/slider.vue.d.ts +3 -4
- package/components/switch/src/switch.vue.d.ts +3 -4
- package/components/tab-panel/src/tab-panel.vue.d.ts +2 -4
- package/components/table/src/table.d.ts +2 -2
- package/components/table/src/table.vue.d.ts +10 -11
- package/components/tag/src/tag.vue.d.ts +3 -5
- package/components/tag-input/src/tag-input.vue.d.ts +3 -4
- package/components/textarea/src/textarea.vue.d.ts +3 -4
- package/components/tree/src/tree.d.ts +2 -2
- package/components/tree/src/tree.vue.d.ts +6 -8
- package/components/tree-select/src/tree-select.vue.d.ts +2 -3
- package/components/upload/src/upload.vue.d.ts +2 -3
- package/hooks/useAnimateAuto/index.d.ts +1 -2
- package/hooks/useContextMenu/menu/src/MenuNode.vue.d.ts +1 -2
- package/hooks/useContextMenu/menu/src/menu.vue.d.ts +1 -2
- package/hooks/useMQ/index.d.ts +6 -7
- package/hooks/usePrimaryColor/index.d.ts +1 -2
- package/layout/Home.vue.d.ts +1 -2
- package/layout/Index.vue.d.ts +1 -2
- package/layout/Login.vue.d.ts +1 -2
- package/layout/NotFound.vue.d.ts +1 -2
- package/layout/modules/Aside.vue.d.ts +1 -2
- package/layout/modules/Breadcrumb.vue.d.ts +3 -4
- package/layout/modules/Header.vue.d.ts +1 -2
- package/layout/modules/LoginBg.vue.d.ts +1 -2
- package/layout/modules/LoginBgBak.vue.d.ts +1 -2
- package/layout/modules/MenuNode.vue.d.ts +1 -2
- package/layout/profile/Index.vue.d.ts +1 -2
- package/layout/profile/ResetPwd.vue.d.ts +2 -3
- package/layout/profile/UserInfo.vue.d.ts +3 -4
- package/layout/vueBits/LightRays.vue.d.ts +2 -3
- package/layout/vueBits/Plasma.vue.d.ts +2 -3
- package/layout/vueBits/Prism.vue.d.ts +2 -3
- package/package.json +1 -1
- package/plugins/autoImport/$alova/index.d.ts +7 -9
- package/plugins/captcha/captcha.vue.d.ts +3 -4
- package/plugins/tableRenders/Wrapper.vue.d.ts +1 -2
- package/plugins/tableRenders/cell/Avatar/Index.vue.d.ts +2 -4
- package/plugins/tableRenders/cell/Buttons/Index.vue.d.ts +1 -2
- package/plugins/tableRenders/cell/Default/Index.vue.d.ts +1 -2
- package/plugins/tableRenders/cell/DicLabel/Index.vue.d.ts +3 -5
- package/plugins/tableRenders/cell/FormatDate/Index.vue.d.ts +1 -2
- package/plugins/tableRenders/cell/FormatNumber/Index.vue.d.ts +1 -2
- package/plugins/tableRenders/cell/Icon/Index.vue.d.ts +1 -2
- package/plugins/tableRenders/cell/Image/Index.vue.d.ts +2 -4
- package/plugins/tableRenders/cell/ImageViewer/Index.vue.d.ts +4 -7
- package/plugins/tableRenders/cell/Input/Index.vue.d.ts +3 -4
- package/plugins/tableRenders/cell/InputNumber/Index.vue.d.ts +5 -6
- package/plugins/tableRenders/cell/Link/Index.vue.d.ts +2 -4
- package/plugins/tableRenders/cell/OptionLabel/Index.vue.d.ts +3 -5
- package/plugins/tableRenders/cell/Select/Index.vue.d.ts +6 -7
- package/plugins/tableRenders/cell/Switch/Index.vue.d.ts +3 -4
- package/plugins/tableRenders/cell/Tags/Index.vue.d.ts +1 -2
- package/plugins/tableRenders/cell/TypographyText/Index.vue.d.ts +3 -5
- package/plugins/tableRenders/cell/TypographyTextLink/Index.vue.d.ts +4 -7
- package/plugins/tableRenders/cell/index.d.ts +1 -2
- package/plugins/tableRenders/title/Default/Index.vue.d.ts +1 -2
- package/plugins/tableRenders/title/index.d.ts +1 -2
- package/router/index.d.ts +3 -3
- package/store/index.d.ts +1 -2
- package/store/modules/common.d.ts +5 -7
- package/store/modules/excludeKPname.d.ts +1 -2
- package/store/modules/login.d.ts +2 -4
- package/store/modules/recentRouters.d.ts +2 -4
- package/store/modules/router.d.ts +6 -9
- package/store/modules/user.d.ts +7 -10
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { SlotReturnValue } from 'tdesign-vue-next';
|
|
2
2
|
import { DefaultProps } from './Default/index.ts';
|
|
3
3
|
import { TableCol, TitleRenderContext, TitleTNodeFn } from '../../../components/table';
|
|
4
|
-
import { h } from 'vue';
|
|
5
4
|
export type TitleComponentConfig = {
|
|
6
5
|
[K in keyof ComponentPropsMap]: ComponentConfig<K>;
|
|
7
6
|
}[keyof ComponentPropsMap];
|
|
8
|
-
export type TitleConfigFn = (h: typeof h, context: TitleRenderContext) => SlotReturnValue | TitleComponentConfig;
|
|
7
|
+
export type TitleConfigFn = (h: typeof import('vue').h, context: TitleRenderContext) => SlotReturnValue | TitleComponentConfig;
|
|
9
8
|
type ComponentConfig<T extends keyof ComponentPropsMap> = ComponentPropsMap[T] & {
|
|
10
9
|
component: T;
|
|
11
10
|
};
|
package/router/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RouteRecordSingleView, RouteRecordSingleViewWithChildren
|
|
1
|
+
import { RouteRecordSingleView, RouteRecordSingleViewWithChildren } from 'vue-router';
|
|
2
2
|
export declare function getTopRoute(): RouteRecordSingleView | RouteRecordSingleViewWithChildren;
|
|
3
|
-
declare const router: _RouterClassic;
|
|
4
|
-
declare function getRoute(name: string): RouteRecordNormalized | undefined;
|
|
3
|
+
declare const router: import('vue-router')._RouterClassic;
|
|
4
|
+
declare function getRoute(name: string): import('vue-router').RouteRecordNormalized | undefined;
|
|
5
5
|
export { getRoute };
|
|
6
6
|
export default router;
|
package/store/index.d.ts
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import { SetupStoreDefinition } from 'pinia';
|
|
2
|
-
import { Ref } from 'vue';
|
|
3
1
|
interface AppInfo {
|
|
4
2
|
appName: string;
|
|
5
3
|
version: string;
|
|
6
4
|
}
|
|
7
|
-
declare const _default: SetupStoreDefinition<"common", {
|
|
8
|
-
appInfo: Ref<{
|
|
5
|
+
declare const _default: import('pinia').SetupStoreDefinition<"common", {
|
|
6
|
+
appInfo: import('vue').Ref<{
|
|
9
7
|
appName: string;
|
|
10
8
|
version: string;
|
|
11
9
|
}, AppInfo | {
|
|
12
10
|
appName: string;
|
|
13
11
|
version: string;
|
|
14
12
|
}>;
|
|
15
|
-
drawerOpen: Ref<boolean, boolean>;
|
|
16
|
-
drawerSize: Ref<number, number>;
|
|
13
|
+
drawerOpen: import('vue').Ref<boolean, boolean>;
|
|
14
|
+
drawerSize: import('vue').Ref<number, number>;
|
|
17
15
|
getAppInfo: () => void;
|
|
18
|
-
isRequestSleep: Ref<boolean, boolean>;
|
|
16
|
+
isRequestSleep: import('vue').Ref<boolean, boolean>;
|
|
19
17
|
requestActive: () => void;
|
|
20
18
|
}>;
|
|
21
19
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: SetupStoreDefinition<"excludeKPname", {
|
|
1
|
+
declare const _default: import('pinia').SetupStoreDefinition<"excludeKPname", {
|
|
3
2
|
add: (name: string) => void;
|
|
4
3
|
clear: () => void;
|
|
5
4
|
excludeKPname: string[];
|
package/store/modules/login.d.ts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { SetupStoreDefinition } from 'pinia';
|
|
2
|
-
import { Ref } from 'vue';
|
|
3
1
|
export interface LoginData {
|
|
4
2
|
code?: string;
|
|
5
3
|
password: string;
|
|
6
4
|
username: string;
|
|
7
5
|
}
|
|
8
|
-
declare const _default: SetupStoreDefinition<"login", {
|
|
6
|
+
declare const _default: import('pinia').SetupStoreDefinition<"login", {
|
|
9
7
|
login: (data: LoginData) => Promise<void>;
|
|
10
8
|
logout: () => Promise<void>;
|
|
11
|
-
token: Ref<string, string>;
|
|
9
|
+
token: import('vue').Ref<string, string>;
|
|
12
10
|
}>;
|
|
13
11
|
export default _default;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { LocationQuery, RouteRecordNameGeneric } from 'vue-router';
|
|
2
|
-
import { SetupStoreDefinition } from 'pinia';
|
|
3
|
-
import { Ref } from 'vue';
|
|
4
2
|
export interface recentRoutersConfig {
|
|
5
3
|
name: string;
|
|
6
4
|
query: LocationQuery;
|
|
7
5
|
}
|
|
8
|
-
declare const _default: SetupStoreDefinition<"recentRouters", {
|
|
6
|
+
declare const _default: import('pinia').SetupStoreDefinition<"recentRouters", {
|
|
9
7
|
add: (fromName: RouteRecordNameGeneric, options: recentRoutersConfig) => void;
|
|
10
8
|
clear: () => void;
|
|
11
9
|
close: (name: RouteRecordNameGeneric) => void;
|
|
12
10
|
init: () => void;
|
|
13
|
-
recentRouters: Ref<{
|
|
11
|
+
recentRouters: import('vue').Ref<{
|
|
14
12
|
name: string;
|
|
15
13
|
query: LocationQuery;
|
|
16
14
|
}[], recentRoutersConfig[] | {
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { Component, Ref
|
|
2
|
-
import { Method, RespondedAlovaGenerics, AlovaGenerics, AlovaDefaultCacheAdapter } from 'alova';
|
|
3
|
-
import { FetchRequestInit } from 'alova/fetch';
|
|
4
|
-
import { SetupStoreDefinition } from 'pinia';
|
|
1
|
+
import { Component, Ref } from 'vue';
|
|
5
2
|
export interface RouteRecordRaw {
|
|
6
3
|
children?: RouteRecordRaw[];
|
|
7
4
|
component?: AsyncVueComponentLoaderDefault | Component;
|
|
@@ -32,15 +29,15 @@ interface ResRouterItem extends Omit<RouteRecordRaw, 'children' | 'component' |
|
|
|
32
29
|
title: string;
|
|
33
30
|
};
|
|
34
31
|
}
|
|
35
|
-
export declare function getRoutersMethod(): Method<RespondedAlovaGenerics<AlovaGenerics<any, any, FetchRequestInit, Response, Headers, AlovaDefaultCacheAdapter, AlovaDefaultCacheAdapter, {
|
|
32
|
+
export declare function getRoutersMethod(): import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, {
|
|
36
33
|
name: "Vue";
|
|
37
34
|
State: Ref<unknown, unknown>;
|
|
38
|
-
Computed: ComputedRef<unknown>;
|
|
39
|
-
Watched: object | WatchSource<unknown>;
|
|
35
|
+
Computed: import('vue').ComputedRef<unknown>;
|
|
36
|
+
Watched: object | import('vue').WatchSource<unknown>;
|
|
40
37
|
StateExport: Ref<unknown, unknown>;
|
|
41
|
-
ComputedExport: ComputedRef<unknown>;
|
|
38
|
+
ComputedExport: import('vue').ComputedRef<unknown>;
|
|
42
39
|
}>, ResRouterItem[], unknown>>;
|
|
43
|
-
declare const _default: SetupStoreDefinition<"router", {
|
|
40
|
+
declare const _default: import('pinia').SetupStoreDefinition<"router", {
|
|
44
41
|
clear: () => void;
|
|
45
42
|
getRouters: () => Promise<void>;
|
|
46
43
|
routersRaw: Ref<RouteRecordRaw[], RouteRecordRaw[]>;
|
package/store/modules/user.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { Ref
|
|
2
|
-
import { Method, RespondedAlovaGenerics, AlovaGenerics, AlovaDefaultCacheAdapter } from 'alova';
|
|
3
|
-
import { FetchRequestInit } from 'alova/fetch';
|
|
4
|
-
import { SetupStoreDefinition } from 'pinia';
|
|
1
|
+
import { Ref } from 'vue';
|
|
5
2
|
interface UserInfo {
|
|
6
3
|
admin: boolean;
|
|
7
4
|
dept: {
|
|
@@ -12,23 +9,23 @@ interface UserInfo {
|
|
|
12
9
|
userId: string;
|
|
13
10
|
userName: string;
|
|
14
11
|
}
|
|
15
|
-
export declare function getUserInfoMethod(): Method<RespondedAlovaGenerics<AlovaGenerics<any, any, FetchRequestInit, Response, Headers, AlovaDefaultCacheAdapter, AlovaDefaultCacheAdapter, {
|
|
12
|
+
export declare function getUserInfoMethod(): import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, {
|
|
16
13
|
name: "Vue";
|
|
17
14
|
State: Ref<unknown, unknown>;
|
|
18
|
-
Computed: ComputedRef<unknown>;
|
|
19
|
-
Watched: object | WatchSource<unknown>;
|
|
15
|
+
Computed: import('vue').ComputedRef<unknown>;
|
|
16
|
+
Watched: object | import('vue').WatchSource<unknown>;
|
|
20
17
|
StateExport: Ref<unknown, unknown>;
|
|
21
|
-
ComputedExport: ComputedRef<unknown>;
|
|
18
|
+
ComputedExport: import('vue').ComputedRef<unknown>;
|
|
22
19
|
}>, {
|
|
23
20
|
permissions: string[];
|
|
24
21
|
roles: string[];
|
|
25
22
|
user: UserInfo;
|
|
26
23
|
}, unknown>>;
|
|
27
|
-
declare const _default: SetupStoreDefinition<"user", {
|
|
24
|
+
declare const _default: import('pinia').SetupStoreDefinition<"user", {
|
|
28
25
|
checkPermissions: (v?: string | string[]) => boolean;
|
|
29
26
|
clear: () => void;
|
|
30
27
|
getUserInfo: (getRouters?: boolean) => Promise<void>;
|
|
31
|
-
isAdmin: ComputedRef<boolean>;
|
|
28
|
+
isAdmin: import('vue').ComputedRef<boolean>;
|
|
32
29
|
lastUserId: Ref<string, string>;
|
|
33
30
|
permissions: Ref<string[], string[]>;
|
|
34
31
|
roles: Ref<string[], string[]>;
|