@ditari/bsui 5.1.16 → 5.1.18

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.
Files changed (94) hide show
  1. package/dist/cjs/components/card/Card.cjs.map +1 -1
  2. package/dist/cjs/components/card/Card.d.ts +6 -0
  3. package/dist/cjs/components/card/index.d.ts +3 -0
  4. package/dist/cjs/components/card/style.d.ts +9 -0
  5. package/dist/cjs/components/date/RangePicker.vue.d.ts +64 -0
  6. package/dist/cjs/components/date/index.d.ts +3 -0
  7. package/dist/cjs/components/dic/DicReplace.d.ts +24 -0
  8. package/dist/cjs/components/dic/index.d.ts +3 -0
  9. package/dist/cjs/components/form/FormLayout.d.ts +49 -0
  10. package/dist/cjs/components/form/index.d.ts +3 -0
  11. package/dist/cjs/components/icon/index.d.ts +4 -0
  12. package/dist/cjs/components/index.d.ts +11 -0
  13. package/dist/cjs/components/layout/AppContext.d.ts +16 -0
  14. package/dist/cjs/components/layout/AppLayout.d.ts +3 -0
  15. package/dist/cjs/components/layout/Layout.vue.d.ts +269 -0
  16. package/dist/cjs/components/layout/List.d.ts +5 -0
  17. package/dist/cjs/components/layout/Show.d.ts +33 -0
  18. package/dist/cjs/components/layout/components/index.d.ts +5 -0
  19. package/dist/cjs/components/layout/components/layout/HeaderLayout.vue.d.ts +106 -0
  20. package/dist/cjs/components/layout/components/layout/RouterContent.vue.d.ts +11 -0
  21. package/dist/cjs/components/layout/components/layout/RouterContentName.vue.d.ts +19 -0
  22. package/dist/cjs/components/layout/components/layout/ThemeApp.vue.d.ts +24 -0
  23. package/dist/cjs/components/layout/components/menu/Menu.d.ts +5 -0
  24. package/dist/cjs/components/layout/components/mobile/MobileList.d.ts +3 -0
  25. package/dist/cjs/components/layout/components/settings/BlockCheckbox.vue.d.ts +47 -0
  26. package/dist/cjs/components/layout/components/settings/SettingDrawer.d.ts +50 -0
  27. package/dist/cjs/components/layout/index.d.ts +8 -0
  28. package/dist/cjs/components/layout/style.d.ts +5 -0
  29. package/dist/cjs/components/select/Select.vue.d.ts +98 -0
  30. package/dist/cjs/components/select/index.d.ts +3 -0
  31. package/dist/cjs/components/tab/Search.d.ts +3 -0
  32. package/dist/cjs/components/tab/Tab.vue.d.ts +78 -0
  33. package/dist/cjs/components/tab/index.d.ts +3 -0
  34. package/dist/cjs/components/table/Table.d.ts +137 -0
  35. package/dist/cjs/components/table/index.d.ts +4 -0
  36. package/dist/cjs/components/table/interface.d.ts +46 -0
  37. package/dist/cjs/components/table-form/TableForm.d.ts +46 -0
  38. package/dist/cjs/components/table-form/TableFormItem.d.ts +32 -0
  39. package/dist/cjs/components/table-form/index.d.ts +9 -0
  40. package/dist/cjs/components/table-form/interface.d.ts +56 -0
  41. package/dist/cjs/components/table-form/style.d.ts +12 -0
  42. package/dist/cjs/hooks/useDesign.d.ts +8 -0
  43. package/dist/cjs/index.d.ts +8 -0
  44. package/dist/cjs/utils/useMenuCore.d.ts +9 -0
  45. package/dist/cjs/utils/useTheme.d.ts +9 -0
  46. package/dist/cjs/utils/withInstall.d.ts +12 -0
  47. package/dist/esm/components/card/Card.d.ts +6 -0
  48. package/dist/esm/components/card/Card.mjs.map +1 -1
  49. package/dist/esm/components/card/index.d.ts +3 -0
  50. package/dist/esm/components/card/style.d.ts +9 -0
  51. package/dist/esm/components/date/RangePicker.vue.d.ts +64 -0
  52. package/dist/esm/components/date/index.d.ts +3 -0
  53. package/dist/esm/components/dic/DicReplace.d.ts +24 -0
  54. package/dist/esm/components/dic/index.d.ts +3 -0
  55. package/dist/esm/components/form/FormLayout.d.ts +49 -0
  56. package/dist/esm/components/form/index.d.ts +3 -0
  57. package/dist/esm/components/icon/index.d.ts +4 -0
  58. package/dist/esm/components/index.d.ts +11 -0
  59. package/dist/esm/components/layout/AppContext.d.ts +16 -0
  60. package/dist/esm/components/layout/AppLayout.d.ts +3 -0
  61. package/dist/esm/components/layout/Layout.vue.d.ts +269 -0
  62. package/dist/esm/components/layout/List.d.ts +5 -0
  63. package/dist/esm/components/layout/Show.d.ts +33 -0
  64. package/dist/esm/components/layout/components/index.d.ts +5 -0
  65. package/dist/esm/components/layout/components/layout/HeaderLayout.vue.d.ts +106 -0
  66. package/dist/esm/components/layout/components/layout/RouterContent.vue.d.ts +11 -0
  67. package/dist/esm/components/layout/components/layout/RouterContentName.vue.d.ts +19 -0
  68. package/dist/esm/components/layout/components/layout/ThemeApp.vue.d.ts +24 -0
  69. package/dist/esm/components/layout/components/menu/Menu.d.ts +5 -0
  70. package/dist/esm/components/layout/components/mobile/MobileList.d.ts +3 -0
  71. package/dist/esm/components/layout/components/settings/BlockCheckbox.vue.d.ts +47 -0
  72. package/dist/esm/components/layout/components/settings/SettingDrawer.d.ts +50 -0
  73. package/dist/esm/components/layout/index.d.ts +8 -0
  74. package/dist/esm/components/layout/style.d.ts +5 -0
  75. package/dist/esm/components/select/Select.vue.d.ts +98 -0
  76. package/dist/esm/components/select/index.d.ts +3 -0
  77. package/dist/esm/components/tab/Search.d.ts +3 -0
  78. package/dist/esm/components/tab/Tab.vue.d.ts +78 -0
  79. package/dist/esm/components/tab/index.d.ts +3 -0
  80. package/dist/esm/components/table/Table.d.ts +137 -0
  81. package/dist/esm/components/table/index.d.ts +4 -0
  82. package/dist/esm/components/table/interface.d.ts +46 -0
  83. package/dist/esm/components/table-form/TableForm.d.ts +46 -0
  84. package/dist/esm/components/table-form/TableFormItem.d.ts +32 -0
  85. package/dist/esm/components/table-form/index.d.ts +9 -0
  86. package/dist/esm/components/table-form/interface.d.ts +56 -0
  87. package/dist/esm/components/table-form/style.d.ts +12 -0
  88. package/dist/esm/hooks/useDesign.d.ts +8 -0
  89. package/dist/esm/index.d.ts +8 -0
  90. package/dist/esm/utils/useMenuCore.d.ts +9 -0
  91. package/dist/esm/utils/useTheme.d.ts +9 -0
  92. package/dist/esm/utils/withInstall.d.ts +12 -0
  93. package/dist/types/components/card/Card.d.ts.map +1 -1
  94. package/package.json +3 -3
@@ -0,0 +1,106 @@
1
+ import { type ComputedRef } from "vue";
2
+ declare const _default: import("vue").DefineComponent<{}, {
3
+ appStore: import("pinia").Store<"_STORE_APP_ID", import("@ditari/store").App, {}, {}>;
4
+ layout: import("vue").Ref<{
5
+ sideWidth: number;
6
+ headerHeight: number;
7
+ collapsedWidth: number;
8
+ collapsed: boolean;
9
+ }, {
10
+ sideWidth: number;
11
+ headerHeight: number;
12
+ collapsedWidth: number;
13
+ collapsed: boolean;
14
+ }>;
15
+ modeConfig: import("vue").Ref<import("@ditari/store/dist/types/modules/useAppStore").Mode, import("@ditari/store/dist/types/modules/useAppStore").Mode>;
16
+ headerTokenStyle: import("vue").Ref<import("@ditari/store/dist/types/modules/useAppStore").HeaderStyle, import("@ditari/store/dist/types/modules/useAppStore").HeaderStyle>;
17
+ headerStyle: ComputedRef<string>;
18
+ headerTabStyle: ComputedRef<string>;
19
+ collapsedStyle: ComputedRef<string>;
20
+ rightStyle: ComputedRef<string>;
21
+ useStyle: () => {
22
+ headerStyle: ComputedRef<string>;
23
+ headerTabStyle: ComputedRef<string>;
24
+ collapsedStyle: ComputedRef<string>;
25
+ rightStyle: ComputedRef<string>;
26
+ };
27
+ readonly MenuFoldOutlined: import("@ant-design/icons-vue/lib/icons/MenuFoldOutlined").MenuFoldOutlinedIconType;
28
+ readonly MenuUnfoldOutlined: import("@ant-design/icons-vue/lib/icons/MenuUnfoldOutlined").MenuUnfoldOutlinedIconType;
29
+ Tab: import("vue").DefineComponent<{}, {
30
+ useStyle: () => {
31
+ tabsNavStyle: ComputedRef<string>;
32
+ tabHoverBgStyle: ComputedRef<string>;
33
+ closeBtnStyle: ComputedRef<string>;
34
+ dynamicVars: ComputedRef<{
35
+ "--active-tab-color": string | undefined;
36
+ "--splitColor": string | undefined;
37
+ "--active-text-color": string | undefined;
38
+ "--active-shadow-color": string | undefined;
39
+ "--tabs-text-color": string | undefined;
40
+ }>;
41
+ };
42
+ useTabAndMenu: () => {
43
+ activeKey: import("vue").Ref<string, string>;
44
+ list: ComputedRef<{
45
+ closeBtnVisible: boolean;
46
+ menus: {
47
+ key: string;
48
+ title: string;
49
+ icon: import("@ant-design/icons-vue/lib/icons/ReloadOutlined").ReloadOutlinedIconType;
50
+ disabled: boolean;
51
+ }[];
52
+ path?: string;
53
+ fullPath?: string;
54
+ query?: import("vue-router").LocationQuery;
55
+ params?: import("vue-router").RouteParams;
56
+ meta?: import("vue-router").RouteMeta;
57
+ name?: string;
58
+ openTime?: number | undefined;
59
+ }[]>;
60
+ enableTabContextMenu: boolean;
61
+ onChange: (key: string | number) => void;
62
+ onClose: ($event: Event, key: string | undefined) => void;
63
+ onContextMenuClick: ({ key }: {
64
+ key: string | number;
65
+ }, item: any) => void;
66
+ };
67
+ tabsNavStyle: ComputedRef<string>;
68
+ tabHoverBgStyle: ComputedRef<string>;
69
+ closeBtnStyle: ComputedRef<string>;
70
+ dynamicVars: ComputedRef<{
71
+ "--active-tab-color": string | undefined;
72
+ "--splitColor": string | undefined;
73
+ "--active-text-color": string | undefined;
74
+ "--active-shadow-color": string | undefined;
75
+ "--tabs-text-color": string | undefined;
76
+ }>;
77
+ activeKey: import("vue").Ref<string, string>;
78
+ list: ComputedRef<{
79
+ closeBtnVisible: boolean;
80
+ menus: {
81
+ key: string;
82
+ title: string;
83
+ icon: import("@ant-design/icons-vue/lib/icons/ReloadOutlined").ReloadOutlinedIconType;
84
+ disabled: boolean;
85
+ }[];
86
+ path?: string;
87
+ fullPath?: string;
88
+ query?: import("vue-router").LocationQuery;
89
+ params?: import("vue-router").RouteParams;
90
+ meta?: import("vue-router").RouteMeta;
91
+ name?: string;
92
+ openTime?: number | undefined;
93
+ }[]>;
94
+ enableTabContextMenu: boolean;
95
+ onChange: (key: string | number) => void;
96
+ onClose: ($event: Event, key: string | undefined) => void;
97
+ onContextMenuClick: ({ key }: {
98
+ key: string | number;
99
+ }, item: any) => void;
100
+ readonly Search: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
101
+ readonly CloseOutlined: import("@ant-design/icons-vue/lib/icons/CloseOutlined").CloseOutlinedIconType;
102
+ readonly cx: (...classNames: import("@emotion/css/dist/declarations/src/create-instance").ClassNamesArg[]) => string;
103
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
104
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
105
+ export default _default;
106
+ //# sourceMappingURL=HeaderLayout.vue.d.ts.map
@@ -0,0 +1,11 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ list: import("vue").Ref<import("@ditari/store").NavTabsState[], import("@ditari/store").NavTabsState[]>;
3
+ toPascalCase: (str: string) => string;
4
+ refreshingPath: import("vue").Ref<string | null, string | null>;
5
+ wrapperMap: Map<any, any>;
6
+ cachedViews: import("vue").ComputedRef<string[]>;
7
+ getWrapper: (Component: any, route: any) => any;
8
+ reloadPage: (fullPath: string) => Promise<void>;
9
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ export default _default;
11
+ //# sourceMappingURL=RouterContent.vue.d.ts.map
@@ -0,0 +1,19 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ keepAliveStore: import("pinia").Store<"_STORE_KEEP_ALIVE_ID", {
3
+ list: string[];
4
+ }, {
5
+ get: (state: {
6
+ list: string[];
7
+ } & import("pinia").PiniaCustomStateProperties<{
8
+ list: string[];
9
+ }>) => string[];
10
+ }, {
11
+ deleteKeepAlive(name: string): void;
12
+ save(route: import("vue-router").RouteLocationNormalized): void;
13
+ }>;
14
+ get: import("vue").ComputedRef<string[]>;
15
+ keepAliveNames: import("vue").ComputedRef<string[]>;
16
+ route: import("vue-router").RouteLocationNormalizedLoadedGeneric;
17
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
+ export default _default;
19
+ //# sourceMappingURL=RouterContentName.vue.d.ts.map
@@ -0,0 +1,24 @@
1
+ import { Ref } from "vue";
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ themeJson: {
4
+ type: ObjectConstructor;
5
+ required: false;
6
+ default: () => {};
7
+ };
8
+ }>, {
9
+ props: any;
10
+ appTheme: Ref<unknown, unknown>;
11
+ useTheme: () => {
12
+ appTheme: Ref<unknown>;
13
+ };
14
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ themeJson: {
16
+ type: ObjectConstructor;
17
+ required: false;
18
+ default: () => {};
19
+ };
20
+ }>> & Readonly<{}>, {
21
+ themeJson: Record<string, any>;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
23
+ export default _default;
24
+ //# sourceMappingURL=ThemeApp.vue.d.ts.map
@@ -0,0 +1,5 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onMenuClick"[], "onMenuClick", import("vue").PublicProps, Readonly<{}> & Readonly<{
2
+ onOnMenuClick?: ((...args: any[]) => any) | undefined;
3
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4
+ export default _default;
5
+ //# sourceMappingURL=Menu.d.ts.map
@@ -0,0 +1,3 @@
1
+ declare const DMobileList: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default DMobileList;
3
+ //# sourceMappingURL=MobileList.d.ts.map
@@ -0,0 +1,47 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ themes: {
3
+ type: StringConstructor;
4
+ required: false;
5
+ };
6
+ isDark: {
7
+ type: BooleanConstructor;
8
+ required: false;
9
+ };
10
+ checked: {
11
+ type: BooleanConstructor;
12
+ required: false;
13
+ };
14
+ t: {
15
+ type: FunctionConstructor;
16
+ required: false;
17
+ };
18
+ }>, {
19
+ props: any;
20
+ prefixCls: import("vue").ShallowRef<string, string>;
21
+ cls: import("vue").ComputedRef<{
22
+ [x: string]: any;
23
+ }>;
24
+ readonly CheckOutlined: import("@ant-design/icons-vue/lib/icons/CheckOutlined").CheckOutlinedIconType;
25
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
26
+ themes: {
27
+ type: StringConstructor;
28
+ required: false;
29
+ };
30
+ isDark: {
31
+ type: BooleanConstructor;
32
+ required: false;
33
+ };
34
+ checked: {
35
+ type: BooleanConstructor;
36
+ required: false;
37
+ };
38
+ t: {
39
+ type: FunctionConstructor;
40
+ required: false;
41
+ };
42
+ }>> & Readonly<{}>, {
43
+ isDark: boolean;
44
+ checked: boolean;
45
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
46
+ export default _default;
47
+ //# sourceMappingURL=BlockCheckbox.vue.d.ts.map
@@ -0,0 +1,50 @@
1
+ import { type ComputedRef } from "vue";
2
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
3
+ BlockCheckbox: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ themes: {
5
+ type: StringConstructor;
6
+ required: false;
7
+ };
8
+ isDark: {
9
+ type: BooleanConstructor;
10
+ required: false;
11
+ };
12
+ checked: {
13
+ type: BooleanConstructor;
14
+ required: false;
15
+ };
16
+ t: {
17
+ type: FunctionConstructor;
18
+ required: false;
19
+ };
20
+ }>, {
21
+ props: any;
22
+ prefixCls: import("vue").ShallowRef<string, string>;
23
+ cls: ComputedRef<{
24
+ [x: string]: any;
25
+ }>;
26
+ readonly CheckOutlined: import("@ant-design/icons-vue/lib/icons/CheckOutlined").CheckOutlinedIconType;
27
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28
+ themes: {
29
+ type: StringConstructor;
30
+ required: false;
31
+ };
32
+ isDark: {
33
+ type: BooleanConstructor;
34
+ required: false;
35
+ };
36
+ checked: {
37
+ type: BooleanConstructor;
38
+ required: false;
39
+ };
40
+ t: {
41
+ type: FunctionConstructor;
42
+ required: false;
43
+ };
44
+ }>> & Readonly<{}>, {
45
+ isDark: boolean;
46
+ checked: boolean;
47
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
48
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
49
+ export default _default;
50
+ //# sourceMappingURL=SettingDrawer.d.ts.map
@@ -0,0 +1,8 @@
1
+ import AppLayout from "./AppLayout";
2
+ import List from "./List";
3
+ import Show from "./Show";
4
+ import Layout from "./Layout.vue";
5
+ export * from "./AppContext";
6
+ export * from "./components";
7
+ export { AppLayout, Layout, List, Show };
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,5 @@
1
+ export declare const useAppLayoutStyle: () => {
2
+ appLayout: string;
3
+ mobile: string;
4
+ };
5
+ //# sourceMappingURL=style.d.ts.map
@@ -0,0 +1,98 @@
1
+ interface DicItem {
2
+ value: string | number;
3
+ label: string;
4
+ }
5
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
+ value: {
7
+ type: null;
8
+ required: true;
9
+ default: undefined;
10
+ };
11
+ name: {
12
+ type: StringConstructor;
13
+ required: true;
14
+ default: string;
15
+ };
16
+ disabled: {
17
+ type: BooleanConstructor;
18
+ required: false;
19
+ default: boolean;
20
+ };
21
+ placeholder: {
22
+ type: StringConstructor;
23
+ required: false;
24
+ default: string;
25
+ };
26
+ include: {
27
+ type: ArrayConstructor;
28
+ required: false;
29
+ default: () => never[];
30
+ };
31
+ }>, {
32
+ props: any;
33
+ emits: (event: "update:value" | "change" | "select", ...args: any[]) => void;
34
+ getDicByKey: (key: string) => import("@ditari/store/dist/types/modules/useDicStore").DictionaryItem[];
35
+ keepNames: string[];
36
+ modelValue: import("vue").Ref<string | number | undefined, string | number | undefined>;
37
+ data: import("vue").Ref<{
38
+ value: string | number;
39
+ label: string;
40
+ }[], DicItem[] | {
41
+ value: string | number;
42
+ label: string;
43
+ }[]>;
44
+ onSelect: (value: string | number) => void;
45
+ onChange: () => void;
46
+ useSelect: () => {
47
+ data: import("vue").Ref<{
48
+ value: string | number;
49
+ label: string;
50
+ }[], DicItem[] | {
51
+ value: string | number;
52
+ label: string;
53
+ }[]>;
54
+ modelValue: import("vue").Ref<string | number | undefined, string | number | undefined>;
55
+ onSearch: (keywords: string) => void;
56
+ onSelect: (value: string | number) => void;
57
+ onChange: () => void;
58
+ };
59
+ onFilterOption: (inputValue: string, options: DicItem) => boolean;
60
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "change" | "select")[], "update:value" | "change" | "select", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
61
+ value: {
62
+ type: null;
63
+ required: true;
64
+ default: undefined;
65
+ };
66
+ name: {
67
+ type: StringConstructor;
68
+ required: true;
69
+ default: string;
70
+ };
71
+ disabled: {
72
+ type: BooleanConstructor;
73
+ required: false;
74
+ default: boolean;
75
+ };
76
+ placeholder: {
77
+ type: StringConstructor;
78
+ required: false;
79
+ default: string;
80
+ };
81
+ include: {
82
+ type: ArrayConstructor;
83
+ required: false;
84
+ default: () => never[];
85
+ };
86
+ }>> & Readonly<{
87
+ onSelect?: ((...args: any[]) => any) | undefined;
88
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
89
+ onChange?: ((...args: any[]) => any) | undefined;
90
+ }>, {
91
+ name: string;
92
+ value: any;
93
+ disabled: boolean;
94
+ placeholder: string;
95
+ include: unknown[];
96
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
97
+ export default _default;
98
+ //# sourceMappingURL=Select.vue.d.ts.map
@@ -0,0 +1,3 @@
1
+ import Select from "./Select.vue";
2
+ export default Select;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,3 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
3
+ //# sourceMappingURL=Search.d.ts.map
@@ -0,0 +1,78 @@
1
+ import { type ComputedRef } from "vue";
2
+ declare const _default: import("vue").DefineComponent<{}, {
3
+ useStyle: () => {
4
+ tabsNavStyle: ComputedRef<string>;
5
+ tabHoverBgStyle: ComputedRef<string>;
6
+ closeBtnStyle: ComputedRef<string>;
7
+ dynamicVars: ComputedRef<{
8
+ "--active-tab-color": string | undefined;
9
+ "--splitColor": string | undefined;
10
+ "--active-text-color": string | undefined;
11
+ "--active-shadow-color": string | undefined;
12
+ "--tabs-text-color": string | undefined;
13
+ }>;
14
+ };
15
+ useTabAndMenu: () => {
16
+ activeKey: import("vue").Ref<string, string>;
17
+ list: ComputedRef<{
18
+ closeBtnVisible: boolean;
19
+ menus: {
20
+ key: string;
21
+ title: string;
22
+ icon: import("@ant-design/icons-vue/lib/icons/ReloadOutlined").ReloadOutlinedIconType;
23
+ disabled: boolean;
24
+ }[];
25
+ path?: string;
26
+ fullPath?: string;
27
+ query?: import("vue-router").LocationQuery;
28
+ params?: import("vue-router").RouteParams;
29
+ meta?: import("vue-router").RouteMeta;
30
+ name?: string;
31
+ openTime?: number | undefined;
32
+ }[]>;
33
+ enableTabContextMenu: boolean;
34
+ onChange: (key: string | number) => void;
35
+ onClose: ($event: Event, key: string | undefined) => void;
36
+ onContextMenuClick: ({ key }: {
37
+ key: string | number;
38
+ }, item: any) => void;
39
+ };
40
+ tabsNavStyle: ComputedRef<string>;
41
+ tabHoverBgStyle: ComputedRef<string>;
42
+ closeBtnStyle: ComputedRef<string>;
43
+ dynamicVars: ComputedRef<{
44
+ "--active-tab-color": string | undefined;
45
+ "--splitColor": string | undefined;
46
+ "--active-text-color": string | undefined;
47
+ "--active-shadow-color": string | undefined;
48
+ "--tabs-text-color": string | undefined;
49
+ }>;
50
+ activeKey: import("vue").Ref<string, string>;
51
+ list: ComputedRef<{
52
+ closeBtnVisible: boolean;
53
+ menus: {
54
+ key: string;
55
+ title: string;
56
+ icon: import("@ant-design/icons-vue/lib/icons/ReloadOutlined").ReloadOutlinedIconType;
57
+ disabled: boolean;
58
+ }[];
59
+ path?: string;
60
+ fullPath?: string;
61
+ query?: import("vue-router").LocationQuery;
62
+ params?: import("vue-router").RouteParams;
63
+ meta?: import("vue-router").RouteMeta;
64
+ name?: string;
65
+ openTime?: number | undefined;
66
+ }[]>;
67
+ enableTabContextMenu: boolean;
68
+ onChange: (key: string | number) => void;
69
+ onClose: ($event: Event, key: string | undefined) => void;
70
+ onContextMenuClick: ({ key }: {
71
+ key: string | number;
72
+ }, item: any) => void;
73
+ readonly Search: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
74
+ readonly CloseOutlined: import("@ant-design/icons-vue/lib/icons/CloseOutlined").CloseOutlinedIconType;
75
+ readonly cx: (...classNames: import("@emotion/css/dist/declarations/src/create-instance").ClassNamesArg[]) => string;
76
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
77
+ export default _default;
78
+ //# sourceMappingURL=Tab.vue.d.ts.map
@@ -0,0 +1,3 @@
1
+ import Tab from "./Tab.vue";
2
+ export default Tab;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,137 @@
1
+ import { type ExtractPropTypes, type PropType } from "vue";
2
+ import { type PaginationProps } from "./interface";
3
+ import type { ColumnsType } from "ant-design-vue/es/table";
4
+ export type Key = string | number;
5
+ export type SizeType = "small" | "middle" | "large" | undefined;
6
+ interface Page {
7
+ total: number;
8
+ current: number;
9
+ pageSize: number;
10
+ }
11
+ interface Config<T = unknown> {
12
+ columns: ColumnsType<T>;
13
+ pagination?: Page | undefined;
14
+ paginationConfig?: PaginationProps;
15
+ changePagination?: (current: number, size: number) => void;
16
+ click?: (record: Record<string, unknown>, index: number) => void;
17
+ dbClick?: (record: Record<string, unknown>, index: number) => void;
18
+ getCheckboxProps?: (record: unknown) => Record<string, unknown> | undefined;
19
+ activeRowClass?: string;
20
+ selection?: string;
21
+ keepSelected?: boolean;
22
+ }
23
+ export declare const tableProps: <T = unknown>() => {
24
+ height: {
25
+ type: NumberConstructor;
26
+ default: number;
27
+ };
28
+ data: {
29
+ type: PropType<T[]>;
30
+ default: () => never[];
31
+ };
32
+ loading: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ rowKey: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ bordered: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ size: {
45
+ type: PropType<SizeType>;
46
+ default: string;
47
+ };
48
+ keys: {
49
+ type: PropType<Key[]>;
50
+ default: () => never[];
51
+ };
52
+ config: {
53
+ type: PropType<Config<T>>;
54
+ required: boolean;
55
+ };
56
+ };
57
+ export type TableProps = Partial<ExtractPropTypes<ReturnType<typeof tableProps>>>;
58
+ declare const DTable: import("vue").DefineComponent<ExtractPropTypes<{
59
+ height: {
60
+ type: NumberConstructor;
61
+ default: number;
62
+ };
63
+ data: {
64
+ type: PropType<unknown[]>;
65
+ default: () => never[];
66
+ };
67
+ loading: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
71
+ rowKey: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
75
+ bordered: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
79
+ size: {
80
+ type: PropType<SizeType>;
81
+ default: string;
82
+ };
83
+ keys: {
84
+ type: PropType<Key[]>;
85
+ default: () => never[];
86
+ };
87
+ config: {
88
+ type: PropType<Config<unknown>>;
89
+ required: boolean;
90
+ };
91
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:keys"[], "update:keys", import("vue").PublicProps, Readonly<ExtractPropTypes<{
92
+ height: {
93
+ type: NumberConstructor;
94
+ default: number;
95
+ };
96
+ data: {
97
+ type: PropType<unknown[]>;
98
+ default: () => never[];
99
+ };
100
+ loading: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ };
104
+ rowKey: {
105
+ type: StringConstructor;
106
+ default: string;
107
+ };
108
+ bordered: {
109
+ type: BooleanConstructor;
110
+ default: boolean;
111
+ };
112
+ size: {
113
+ type: PropType<SizeType>;
114
+ default: string;
115
+ };
116
+ keys: {
117
+ type: PropType<Key[]>;
118
+ default: () => never[];
119
+ };
120
+ config: {
121
+ type: PropType<Config<unknown>>;
122
+ required: boolean;
123
+ };
124
+ }>> & Readonly<{
125
+ "onUpdate:keys"?: ((...args: any[]) => any) | undefined;
126
+ }>, {
127
+ keys: Key[];
128
+ data: unknown[];
129
+ size: SizeType;
130
+ height: number;
131
+ loading: boolean;
132
+ rowKey: string;
133
+ bordered: boolean;
134
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
135
+ export declare const useEleHeight: (node: Element) => number;
136
+ export default DTable;
137
+ //# sourceMappingURL=Table.d.ts.map
@@ -0,0 +1,4 @@
1
+ import Table from "./Table";
2
+ export * from "./Table";
3
+ export default Table;
4
+ //# sourceMappingURL=index.d.ts.map