@duxweb/dvha-pro 0.0.5
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/dist/cjs/app.cjs +1 -0
- package/dist/cjs/component.cjs +1 -0
- package/dist/cjs/components/card/card.cjs +1 -0
- package/dist/cjs/components/carousel/carousel.cjs +1 -0
- package/dist/cjs/components/dashboard/hello.cjs +1 -0
- package/dist/cjs/components/dashboard/helloBig.cjs +1 -0
- package/dist/cjs/components/dashboard/quick.cjs +1 -0
- package/dist/cjs/components/dialog/dialog.cjs +1 -0
- package/dist/cjs/components/draw/drawApps.cjs +1 -0
- package/dist/cjs/components/draw/drawAuth.cjs +1 -0
- package/dist/cjs/components/draw/drawEmpty.cjs +1 -0
- package/dist/cjs/components/draw/drawEmptyForm.cjs +1 -0
- package/dist/cjs/components/draw/drawError.cjs +1 -0
- package/dist/cjs/components/drawer/drawer.cjs +1 -0
- package/dist/cjs/components/drawer/drawerPage.cjs +1 -0
- package/dist/cjs/components/form/formItem.cjs +1 -0
- package/dist/cjs/components/form/formLayout.cjs +1 -0
- package/dist/cjs/components/form/modalForm.cjs +1 -0
- package/dist/cjs/components/form/pageForm.cjs +1 -0
- package/dist/cjs/components/form/settingForm.cjs +1 -0
- package/dist/cjs/components/layout/filter.cjs +1 -0
- package/dist/cjs/components/layout/list.cjs +1 -0
- package/dist/cjs/components/layout/table.cjs +1 -0
- package/dist/cjs/components/layout/tools.cjs +1 -0
- package/dist/cjs/components/list/card.cjs +1 -0
- package/dist/cjs/components/list/list.cjs +1 -0
- package/dist/cjs/components/media/media.cjs +1 -0
- package/dist/cjs/components/modal/modal.cjs +1 -0
- package/dist/cjs/components/modal/modalPage.cjs +1 -0
- package/dist/cjs/components/modal/modalTab.cjs +1 -0
- package/dist/cjs/components/panel/alert.cjs +1 -0
- package/dist/cjs/components/panel/setting.cjs +1 -0
- package/dist/cjs/components/status/blockEmpty.cjs +1 -0
- package/dist/cjs/components/table/tablePage.cjs +1 -0
- package/dist/cjs/components/widget/connect.cjs +1 -0
- package/dist/cjs/config/uno.cjs +1 -0
- package/dist/cjs/config/validate.cjs +1 -0
- package/dist/cjs/dvha-pro.css +1 -0
- package/dist/cjs/hooks/action.cjs +1 -0
- package/dist/cjs/hooks/dialog.cjs +1 -0
- package/dist/cjs/hooks/drawer.cjs +1 -0
- package/dist/cjs/hooks/modal.cjs +1 -0
- package/dist/cjs/hooks/table/column.cjs +1 -0
- package/dist/cjs/hooks/table/copy.cjs +1 -0
- package/dist/cjs/hooks/table/hidden.cjs +1 -0
- package/dist/cjs/hooks/table/image.cjs +1 -0
- package/dist/cjs/hooks/table/input.cjs +1 -0
- package/dist/cjs/hooks/table/map.cjs +1 -0
- package/dist/cjs/hooks/table/media.cjs +1 -0
- package/dist/cjs/hooks/table/status.cjs +1 -0
- package/dist/cjs/hooks/table/switch.cjs +1 -0
- package/dist/cjs/hooks/table.cjs +1 -0
- package/dist/cjs/hooks/ui.cjs +1 -0
- package/dist/cjs/index.cjs +1 -0
- package/dist/cjs/langs/en-US.json.cjs +1 -0
- package/dist/cjs/langs/zh-CN.json.cjs +1 -0
- package/dist/cjs/main.cjs +1 -0
- package/dist/cjs/node_modules/@iconify-json/tabler/icons.json.cjs +1 -0
- package/dist/cjs/node_modules/@overlastic/core/dist/index.cjs +1 -0
- package/dist/cjs/node_modules/@overlastic/vue/dist/index.cjs +1 -0
- package/dist/cjs/node_modules/@vee-validate/i18n/dist/locale/en.json.cjs +1 -0
- package/dist/cjs/node_modules/@vee-validate/i18n/dist/locale/zh_CN.json.cjs +1 -0
- package/dist/cjs/node_modules/@vueuse/integrations/useFocusTrap.cjs +1 -0
- package/dist/cjs/node_modules/@vueuse/shared/index.cjs +1 -0
- package/dist/cjs/node_modules/colorizr/dist/index.cjs +1 -0
- package/dist/cjs/node_modules/focus-trap/dist/focus-trap.esm.cjs +5 -0
- package/dist/cjs/node_modules/lower-case/dist.es2015/index.cjs +1 -0
- package/dist/cjs/node_modules/no-case/dist.es2015/index.cjs +1 -0
- package/dist/cjs/node_modules/pascal-case/dist.es2015/index.cjs +1 -0
- package/dist/cjs/node_modules/tabbable/dist/index.esm.cjs +4 -0
- package/dist/cjs/node_modules/tslib/tslib.es6.cjs +1 -0
- package/dist/cjs/pages/authLayout.cjs +1 -0
- package/dist/cjs/pages/layout/global.cjs +1 -0
- package/dist/cjs/pages/layout/page.cjs +1 -0
- package/dist/cjs/pages/layout/tab.cjs +1 -0
- package/dist/cjs/pages/layout.cjs +1 -0
- package/dist/cjs/pages/loading.cjs +1 -0
- package/dist/cjs/pages/login.cjs +1 -0
- package/dist/cjs/pages/menu/avatar.cjs +1 -0
- package/dist/cjs/pages/menu/button.cjs +1 -0
- package/dist/cjs/pages/menu/cmd.cjs +1 -0
- package/dist/cjs/pages/menu/main.cjs +1 -0
- package/dist/cjs/pages/menu/mobile.cjs +1 -0
- package/dist/cjs/pages/page.cjs +1 -0
- package/dist/cjs/pages/page403.cjs +1 -0
- package/dist/cjs/pages/page404.cjs +1 -0
- package/dist/cjs/pages/page500.cjs +1 -0
- package/dist/cjs/pages/pageEmpty.cjs +1 -0
- package/dist/cjs/pages/pageLoading.cjs +1 -0
- package/dist/cjs/pages/pageStatus.cjs +1 -0
- package/dist/cjs/static/images/placeholder.png.cjs +1 -0
- package/dist/cjs/stores/ui.cjs +1 -0
- package/dist/cjs/theme/naiveTheme.cjs +1 -0
- package/dist/cjs/theme/presetTheme.cjs +1 -0
- package/dist/cjs/theme/uno.css.cjs +1285 -0
- package/dist/esm/app.js +20 -0
- package/dist/esm/component.js +59 -0
- package/dist/esm/components/card/card.js +114 -0
- package/dist/esm/components/carousel/carousel.js +37 -0
- package/dist/esm/components/dashboard/hello.js +40 -0
- package/dist/esm/components/dashboard/helloBig.js +344 -0
- package/dist/esm/components/dashboard/quick.js +59 -0
- package/dist/esm/components/dialog/dialog.js +118 -0
- package/dist/esm/components/draw/drawApps.js +145 -0
- package/dist/esm/components/draw/drawAuth.js +50 -0
- package/dist/esm/components/draw/drawEmpty.js +92 -0
- package/dist/esm/components/draw/drawEmptyForm.js +128 -0
- package/dist/esm/components/draw/drawError.js +242 -0
- package/dist/esm/components/drawer/drawer.js +73 -0
- package/dist/esm/components/drawer/drawerPage.js +28 -0
- package/dist/esm/components/form/formItem.js +77 -0
- package/dist/esm/components/form/formLayout.js +38 -0
- package/dist/esm/components/form/modalForm.js +108 -0
- package/dist/esm/components/form/pageForm.js +94 -0
- package/dist/esm/components/form/settingForm.js +104 -0
- package/dist/esm/components/layout/filter.js +27 -0
- package/dist/esm/components/layout/list.js +333 -0
- package/dist/esm/components/layout/table.js +292 -0
- package/dist/esm/components/layout/tools.js +78 -0
- package/dist/esm/components/list/card.js +78 -0
- package/dist/esm/components/list/list.js +38 -0
- package/dist/esm/components/media/media.js +77 -0
- package/dist/esm/components/modal/modal.js +116 -0
- package/dist/esm/components/modal/modalPage.js +56 -0
- package/dist/esm/components/modal/modalTab.js +70 -0
- package/dist/esm/components/panel/alert.js +57 -0
- package/dist/esm/components/panel/setting.js +49 -0
- package/dist/esm/components/status/blockEmpty.js +78 -0
- package/dist/esm/components/table/tablePage.js +41 -0
- package/dist/esm/components/widget/connect.js +119 -0
- package/dist/esm/config/uno.js +32 -0
- package/dist/esm/config/validate.js +15 -0
- package/dist/esm/dvha-pro.css +1 -0
- package/dist/esm/hooks/action.js +213 -0
- package/dist/esm/hooks/dialog.js +32 -0
- package/dist/esm/hooks/drawer.js +25 -0
- package/dist/esm/hooks/modal.js +14 -0
- package/dist/esm/hooks/table/column.js +31 -0
- package/dist/esm/hooks/table/copy.js +27 -0
- package/dist/esm/hooks/table/hidden.js +48 -0
- package/dist/esm/hooks/table/image.js +24 -0
- package/dist/esm/hooks/table/input.js +81 -0
- package/dist/esm/hooks/table/map.js +21 -0
- package/dist/esm/hooks/table/media.js +34 -0
- package/dist/esm/hooks/table/status.js +32 -0
- package/dist/esm/hooks/table/switch.js +33 -0
- package/dist/esm/hooks/table.js +74 -0
- package/dist/esm/hooks/ui.js +16 -0
- package/dist/esm/index.js +139 -0
- package/dist/esm/langs/en-US.json.js +11 -0
- package/dist/esm/langs/zh-CN.json.js +11 -0
- package/dist/esm/main.js +18 -0
- package/dist/esm/node_modules/@iconify-json/tabler/icons.json.js +17 -0
- package/dist/esm/node_modules/@overlastic/core/dist/index.js +76 -0
- package/dist/esm/node_modules/@overlastic/vue/dist/index.js +122 -0
- package/dist/esm/node_modules/@vee-validate/i18n/dist/locale/en.json.js +9 -0
- package/dist/esm/node_modules/@vee-validate/i18n/dist/locale/zh_CN.json.js +9 -0
- package/dist/esm/node_modules/@vueuse/integrations/useFocusTrap.js +43 -0
- package/dist/esm/node_modules/@vueuse/shared/index.js +6 -0
- package/dist/esm/node_modules/colorizr/dist/index.js +318 -0
- package/dist/esm/node_modules/focus-trap/dist/focus-trap.esm.js +473 -0
- package/dist/esm/node_modules/lower-case/dist.es2015/index.js +6 -0
- package/dist/esm/node_modules/no-case/dist.es2015/index.js +18 -0
- package/dist/esm/node_modules/pascal-case/dist.es2015/index.js +13 -0
- package/dist/esm/node_modules/tabbable/dist/index.esm.js +202 -0
- package/dist/esm/node_modules/tslib/tslib.es6.js +12 -0
- package/dist/esm/pages/authLayout.js +38 -0
- package/dist/esm/pages/layout/global.js +51 -0
- package/dist/esm/pages/layout/page.js +54 -0
- package/dist/esm/pages/layout/tab.js +110 -0
- package/dist/esm/pages/layout.js +14 -0
- package/dist/esm/pages/loading.js +14 -0
- package/dist/esm/pages/login.js +143 -0
- package/dist/esm/pages/menu/avatar.js +205 -0
- package/dist/esm/pages/menu/button.js +60 -0
- package/dist/esm/pages/menu/cmd.js +156 -0
- package/dist/esm/pages/menu/main.js +101 -0
- package/dist/esm/pages/menu/mobile.js +38 -0
- package/dist/esm/pages/page.js +47 -0
- package/dist/esm/pages/page403.js +46 -0
- package/dist/esm/pages/page404.js +57 -0
- package/dist/esm/pages/page500.js +45 -0
- package/dist/esm/pages/pageEmpty.js +25 -0
- package/dist/esm/pages/pageLoading.js +22 -0
- package/dist/esm/pages/pageStatus.js +50 -0
- package/dist/esm/static/images/placeholder.png.js +4 -0
- package/dist/esm/stores/ui.js +34 -0
- package/dist/esm/theme/naiveTheme.js +97 -0
- package/dist/esm/theme/presetTheme.js +12 -0
- package/dist/esm/theme/uno.css.js +1288 -0
- package/dist/types/app.d.ts +1 -0
- package/dist/types/component.d.ts +5 -0
- package/dist/types/components/card/card.d.ts +140 -0
- package/dist/types/components/card/index.d.ts +1 -0
- package/dist/types/components/carousel/carousel.d.ts +20 -0
- package/dist/types/components/carousel/index.d.ts +1 -0
- package/dist/types/components/dashboard/hello.d.ts +16 -0
- package/dist/types/components/dashboard/helloBig.d.ts +19 -0
- package/dist/types/components/dashboard/index.d.ts +3 -0
- package/dist/types/components/dashboard/quick.d.ts +33 -0
- package/dist/types/components/dialog/dialog.d.ts +35 -0
- package/dist/types/components/dialog/index.d.ts +1 -0
- package/dist/types/components/draw/drawApps.d.ts +1 -0
- package/dist/types/components/draw/drawAuth.d.ts +1 -0
- package/dist/types/components/draw/drawEmpty.d.ts +1 -0
- package/dist/types/components/draw/drawEmptyForm.d.ts +1 -0
- package/dist/types/components/draw/drawError.d.ts +1 -0
- package/dist/types/components/draw/index.d.ts +5 -0
- package/dist/types/components/drawer/drawer.d.ts +19 -0
- package/dist/types/components/drawer/drawerPage.d.ts +1 -0
- package/dist/types/components/drawer/index.d.ts +2 -0
- package/dist/types/components/form/formItem.d.ts +27 -0
- package/dist/types/components/form/formLayout.d.ts +38 -0
- package/dist/types/components/form/index.d.ts +5 -0
- package/dist/types/components/form/modalForm.d.ts +89 -0
- package/dist/types/components/form/pageForm.d.ts +51 -0
- package/dist/types/components/form/settingForm.d.ts +69 -0
- package/dist/types/components/index.d.ts +14 -0
- package/dist/types/components/layout/filter.d.ts +13 -0
- package/dist/types/components/layout/index.d.ts +4 -0
- package/dist/types/components/layout/list.d.ts +85 -0
- package/dist/types/components/layout/table.d.ts +72 -0
- package/dist/types/components/layout/tools.d.ts +37 -0
- package/dist/types/components/list/card.d.ts +117 -0
- package/dist/types/components/list/index.d.ts +2 -0
- package/dist/types/components/list/list.d.ts +87 -0
- package/dist/types/components/media/index.d.ts +1 -0
- package/dist/types/components/media/media.d.ts +95 -0
- package/dist/types/components/modal/index.d.ts +3 -0
- package/dist/types/components/modal/modal.d.ts +66 -0
- package/dist/types/components/modal/modalPage.d.ts +42 -0
- package/dist/types/components/modal/modalTab.d.ts +42 -0
- package/dist/types/components/panel/alert.d.ts +32 -0
- package/dist/types/components/panel/index.d.ts +2 -0
- package/dist/types/components/panel/setting.d.ts +29 -0
- package/dist/types/components/status/blockEmpty.d.ts +25 -0
- package/dist/types/components/status/index.d.ts +1 -0
- package/dist/types/components/table/index.d.ts +1 -0
- package/dist/types/components/table/tablePage.d.ts +73 -0
- package/dist/types/components/widget/connect.d.ts +11 -0
- package/dist/types/components/widget/index.d.ts +1 -0
- package/dist/types/config/index.d.ts +2 -0
- package/dist/types/config/uno.d.ts +2 -0
- package/dist/types/config/validate.d.ts +1 -0
- package/dist/types/hooks/action.d.ts +17 -0
- package/dist/types/hooks/dialog.d.ts +17 -0
- package/dist/types/hooks/drawer.d.ts +11 -0
- package/dist/types/hooks/index.d.ts +6 -0
- package/dist/types/hooks/modal.d.ts +9 -0
- package/dist/types/hooks/table/column.d.ts +14 -0
- package/dist/types/hooks/table/copy.d.ts +6 -0
- package/dist/types/hooks/table/hidden.d.ts +7 -0
- package/dist/types/hooks/table/image.d.ts +8 -0
- package/dist/types/hooks/table/index.d.ts +7 -0
- package/dist/types/hooks/table/input.d.ts +9 -0
- package/dist/types/hooks/table/map.d.ts +13 -0
- package/dist/types/hooks/table/media.d.ts +12 -0
- package/dist/types/hooks/table/status.d.ts +12 -0
- package/dist/types/hooks/table/switch.d.ts +7 -0
- package/dist/types/hooks/table/types.d.ts +74 -0
- package/dist/types/hooks/table.d.ts +2 -0
- package/dist/types/hooks/ui.d.ts +8 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/langs/index.d.ts +3 -0
- package/dist/types/main.d.ts +5 -0
- package/dist/types/pages/authLayout.d.ts +1 -0
- package/dist/types/pages/index.d.ts +12 -0
- package/dist/types/pages/layout/global.d.ts +1 -0
- package/dist/types/pages/layout/index.d.ts +3 -0
- package/dist/types/pages/layout/page.d.ts +1 -0
- package/dist/types/pages/layout/tab.d.ts +1 -0
- package/dist/types/pages/layout.d.ts +1 -0
- package/dist/types/pages/loading.d.ts +1 -0
- package/dist/types/pages/login.d.ts +1 -0
- package/dist/types/pages/menu/avatar.d.ts +14 -0
- package/dist/types/pages/menu/button.d.ts +41 -0
- package/dist/types/pages/menu/cmd.d.ts +7 -0
- package/dist/types/pages/menu/index.d.ts +4 -0
- package/dist/types/pages/menu/main.d.ts +13 -0
- package/dist/types/pages/menu/mobile.d.ts +1 -0
- package/dist/types/pages/page.d.ts +42 -0
- package/dist/types/pages/page403.d.ts +1 -0
- package/dist/types/pages/page404.d.ts +1 -0
- package/dist/types/pages/page500.d.ts +1 -0
- package/dist/types/pages/pageEmpty.d.ts +7 -0
- package/dist/types/pages/pageLoading.d.ts +1 -0
- package/dist/types/pages/pageStatus.d.ts +7 -0
- package/dist/types/stores/index.d.ts +1 -0
- package/dist/types/stores/ui.d.ts +28 -0
- package/dist/types/theme/index.d.ts +2 -0
- package/dist/types/theme/naiveTheme.d.ts +5 -0
- package/dist/types/theme/presetTheme.d.ts +7 -0
- package/package.json +73 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { JsonSchemaNode } from '@duxweb/dvha-core';
|
|
2
|
+
import type { TablePagination } from '@duxweb/dvha-naiveui';
|
|
3
|
+
import type { PropType } from 'vue';
|
|
4
|
+
import type { UseActionItem } from '../../hooks';
|
|
5
|
+
export interface ListPageTools {
|
|
6
|
+
import?: boolean;
|
|
7
|
+
export?: boolean;
|
|
8
|
+
refresh?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const DuxListLayout: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
11
|
+
rowKey: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
path: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
filter: {
|
|
20
|
+
type: PropType<Record<string, any>>;
|
|
21
|
+
};
|
|
22
|
+
filterSchema: {
|
|
23
|
+
type: PropType<JsonSchemaNode[]>;
|
|
24
|
+
};
|
|
25
|
+
pagination: {
|
|
26
|
+
type: PropType<boolean | TablePagination>;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
tabs: {
|
|
30
|
+
type: PropType<{
|
|
31
|
+
label: string;
|
|
32
|
+
value: string | number;
|
|
33
|
+
}[]>;
|
|
34
|
+
};
|
|
35
|
+
tools: {
|
|
36
|
+
type: PropType<ListPageTools>;
|
|
37
|
+
};
|
|
38
|
+
actions: {
|
|
39
|
+
type: PropType<UseActionItem[]>;
|
|
40
|
+
default: () => never[];
|
|
41
|
+
};
|
|
42
|
+
checkable: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
};
|
|
45
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
+
rowKey: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
path: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
filter: {
|
|
55
|
+
type: PropType<Record<string, any>>;
|
|
56
|
+
};
|
|
57
|
+
filterSchema: {
|
|
58
|
+
type: PropType<JsonSchemaNode[]>;
|
|
59
|
+
};
|
|
60
|
+
pagination: {
|
|
61
|
+
type: PropType<boolean | TablePagination>;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
tabs: {
|
|
65
|
+
type: PropType<{
|
|
66
|
+
label: string;
|
|
67
|
+
value: string | number;
|
|
68
|
+
}[]>;
|
|
69
|
+
};
|
|
70
|
+
tools: {
|
|
71
|
+
type: PropType<ListPageTools>;
|
|
72
|
+
};
|
|
73
|
+
actions: {
|
|
74
|
+
type: PropType<UseActionItem[]>;
|
|
75
|
+
default: () => never[];
|
|
76
|
+
};
|
|
77
|
+
checkable: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
};
|
|
80
|
+
}>> & Readonly<{}>, {
|
|
81
|
+
checkable: boolean;
|
|
82
|
+
rowKey: string;
|
|
83
|
+
pagination: boolean | TablePagination;
|
|
84
|
+
actions: UseActionItem[];
|
|
85
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { JsonSchemaNode } from '@duxweb/dvha-core';
|
|
2
|
+
import type { TableColumn, TablePagination } from '@duxweb/dvha-naiveui';
|
|
3
|
+
import type { PropType } from 'vue';
|
|
4
|
+
import type { UseActionItem } from '../../hooks';
|
|
5
|
+
export interface TablePageTools {
|
|
6
|
+
import?: boolean;
|
|
7
|
+
export?: boolean;
|
|
8
|
+
refresh?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const DuxTableLayout: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
11
|
+
path: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
filter: {
|
|
16
|
+
type: PropType<Record<string, any>>;
|
|
17
|
+
};
|
|
18
|
+
filterSchema: {
|
|
19
|
+
type: PropType<JsonSchemaNode[]>;
|
|
20
|
+
};
|
|
21
|
+
columns: {
|
|
22
|
+
type: PropType<TableColumn[]>;
|
|
23
|
+
};
|
|
24
|
+
pagination: {
|
|
25
|
+
type: PropType<boolean | TablePagination>;
|
|
26
|
+
};
|
|
27
|
+
tabs: {
|
|
28
|
+
type: PropType<{
|
|
29
|
+
label: string;
|
|
30
|
+
value: string | number;
|
|
31
|
+
}[]>;
|
|
32
|
+
};
|
|
33
|
+
actions: {
|
|
34
|
+
type: PropType<UseActionItem[]>;
|
|
35
|
+
default: () => never[];
|
|
36
|
+
};
|
|
37
|
+
tools: {
|
|
38
|
+
type: PropType<TablePageTools>;
|
|
39
|
+
};
|
|
40
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
+
path: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
filter: {
|
|
46
|
+
type: PropType<Record<string, any>>;
|
|
47
|
+
};
|
|
48
|
+
filterSchema: {
|
|
49
|
+
type: PropType<JsonSchemaNode[]>;
|
|
50
|
+
};
|
|
51
|
+
columns: {
|
|
52
|
+
type: PropType<TableColumn[]>;
|
|
53
|
+
};
|
|
54
|
+
pagination: {
|
|
55
|
+
type: PropType<boolean | TablePagination>;
|
|
56
|
+
};
|
|
57
|
+
tabs: {
|
|
58
|
+
type: PropType<{
|
|
59
|
+
label: string;
|
|
60
|
+
value: string | number;
|
|
61
|
+
}[]>;
|
|
62
|
+
};
|
|
63
|
+
actions: {
|
|
64
|
+
type: PropType<UseActionItem[]>;
|
|
65
|
+
default: () => never[];
|
|
66
|
+
};
|
|
67
|
+
tools: {
|
|
68
|
+
type: PropType<TablePageTools>;
|
|
69
|
+
};
|
|
70
|
+
}>> & Readonly<{}>, {
|
|
71
|
+
actions: UseActionItem[];
|
|
72
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { DropdownOption } from 'naive-ui';
|
|
2
|
+
import type { PropType } from 'vue';
|
|
3
|
+
export interface DuxToolOptionItem {
|
|
4
|
+
label?: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
type?: 'default' | 'error' | 'success' | 'warning';
|
|
10
|
+
}
|
|
11
|
+
export declare const DuxTableTools: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
|
+
number: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
};
|
|
15
|
+
options: {
|
|
16
|
+
type: PropType<DuxToolOptionItem[]>;
|
|
17
|
+
};
|
|
18
|
+
group: {
|
|
19
|
+
type: PropType<DuxToolOptionItem[][]>;
|
|
20
|
+
};
|
|
21
|
+
dropdown: {
|
|
22
|
+
type: PropType<DropdownOption[]>;
|
|
23
|
+
};
|
|
24
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
number: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
};
|
|
28
|
+
options: {
|
|
29
|
+
type: PropType<DuxToolOptionItem[]>;
|
|
30
|
+
};
|
|
31
|
+
group: {
|
|
32
|
+
type: PropType<DuxToolOptionItem[][]>;
|
|
33
|
+
};
|
|
34
|
+
dropdown: {
|
|
35
|
+
type: PropType<DropdownOption[]>;
|
|
36
|
+
};
|
|
37
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import type { SlotsType } from 'vue';
|
|
2
|
+
export interface CardPageSlotProps {
|
|
3
|
+
item: Record<string, any>;
|
|
4
|
+
isChecked: (id: string | number) => boolean;
|
|
5
|
+
toggleChecked: (id: string | number) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const DuxCardPage: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
colWidth: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
rows: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
maxRows: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
21
|
+
rowKey: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
path: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
filter: {
|
|
30
|
+
type: import("vue").PropType<Record<string, any>>;
|
|
31
|
+
};
|
|
32
|
+
filterSchema: {
|
|
33
|
+
type: import("vue").PropType<import("@duxweb/dvha-core").JsonSchemaNode[]>;
|
|
34
|
+
};
|
|
35
|
+
pagination: {
|
|
36
|
+
type: import("vue").PropType<boolean | import("@duxweb/dvha-naiveui").TablePagination>;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
tabs: {
|
|
40
|
+
type: import("vue").PropType<{
|
|
41
|
+
label: string;
|
|
42
|
+
value: string | number;
|
|
43
|
+
}[]>;
|
|
44
|
+
};
|
|
45
|
+
tools: {
|
|
46
|
+
type: import("vue").PropType<import("..").ListPageTools>;
|
|
47
|
+
};
|
|
48
|
+
actions: {
|
|
49
|
+
type: import("vue").PropType<import("../..").UseActionItem[]>;
|
|
50
|
+
default: () => never[];
|
|
51
|
+
};
|
|
52
|
+
checkable: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
};
|
|
55
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
56
|
+
rowKey: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
path: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
required: true;
|
|
63
|
+
};
|
|
64
|
+
filter: {
|
|
65
|
+
type: import("vue").PropType<Record<string, any>>;
|
|
66
|
+
};
|
|
67
|
+
filterSchema: {
|
|
68
|
+
type: import("vue").PropType<import("@duxweb/dvha-core").JsonSchemaNode[]>;
|
|
69
|
+
};
|
|
70
|
+
pagination: {
|
|
71
|
+
type: import("vue").PropType<boolean | import("@duxweb/dvha-naiveui").TablePagination>;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
tabs: {
|
|
75
|
+
type: import("vue").PropType<{
|
|
76
|
+
label: string;
|
|
77
|
+
value: string | number;
|
|
78
|
+
}[]>;
|
|
79
|
+
};
|
|
80
|
+
tools: {
|
|
81
|
+
type: import("vue").PropType<import("..").ListPageTools>;
|
|
82
|
+
};
|
|
83
|
+
actions: {
|
|
84
|
+
type: import("vue").PropType<import("../..").UseActionItem[]>;
|
|
85
|
+
default: () => never[];
|
|
86
|
+
};
|
|
87
|
+
checkable: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
};
|
|
90
|
+
}>> & Readonly<{}>, {
|
|
91
|
+
checkable: boolean;
|
|
92
|
+
rowKey: string;
|
|
93
|
+
pagination: boolean | import("@duxweb/dvha-naiveui").TablePagination;
|
|
94
|
+
actions: import("../..").UseActionItem[];
|
|
95
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
96
|
+
colWidth: {
|
|
97
|
+
type: NumberConstructor;
|
|
98
|
+
default: number;
|
|
99
|
+
};
|
|
100
|
+
rows: {
|
|
101
|
+
type: NumberConstructor;
|
|
102
|
+
default: number;
|
|
103
|
+
};
|
|
104
|
+
maxRows: {
|
|
105
|
+
type: NumberConstructor;
|
|
106
|
+
default: number;
|
|
107
|
+
};
|
|
108
|
+
}>> & Readonly<{}>, {
|
|
109
|
+
rows: number;
|
|
110
|
+
colWidth: number;
|
|
111
|
+
maxRows: number;
|
|
112
|
+
}, SlotsType<{
|
|
113
|
+
default: (props: CardPageSlotProps) => any;
|
|
114
|
+
bottom: () => any;
|
|
115
|
+
tools: () => any;
|
|
116
|
+
actions: () => any;
|
|
117
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { SlotsType } from 'vue';
|
|
2
|
+
export interface ListPageSlotProps {
|
|
3
|
+
item: Record<string, any>;
|
|
4
|
+
isChecked: (id: string | number) => boolean;
|
|
5
|
+
toggleChecked: (id: string | number) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const DuxListPage: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
rowKey: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
path: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
filter: {
|
|
17
|
+
type: import("vue").PropType<Record<string, any>>;
|
|
18
|
+
};
|
|
19
|
+
filterSchema: {
|
|
20
|
+
type: import("vue").PropType<import("@duxweb/dvha-core").JsonSchemaNode[]>;
|
|
21
|
+
};
|
|
22
|
+
pagination: {
|
|
23
|
+
type: import("vue").PropType<boolean | import("@duxweb/dvha-naiveui").TablePagination>;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
tabs: {
|
|
27
|
+
type: import("vue").PropType<{
|
|
28
|
+
label: string;
|
|
29
|
+
value: string | number;
|
|
30
|
+
}[]>;
|
|
31
|
+
};
|
|
32
|
+
tools: {
|
|
33
|
+
type: import("vue").PropType<import("..").ListPageTools>;
|
|
34
|
+
};
|
|
35
|
+
actions: {
|
|
36
|
+
type: import("vue").PropType<import("../..").UseActionItem[]>;
|
|
37
|
+
default: () => never[];
|
|
38
|
+
};
|
|
39
|
+
checkable: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
};
|
|
42
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
+
rowKey: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
path: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
filter: {
|
|
52
|
+
type: import("vue").PropType<Record<string, any>>;
|
|
53
|
+
};
|
|
54
|
+
filterSchema: {
|
|
55
|
+
type: import("vue").PropType<import("@duxweb/dvha-core").JsonSchemaNode[]>;
|
|
56
|
+
};
|
|
57
|
+
pagination: {
|
|
58
|
+
type: import("vue").PropType<boolean | import("@duxweb/dvha-naiveui").TablePagination>;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
tabs: {
|
|
62
|
+
type: import("vue").PropType<{
|
|
63
|
+
label: string;
|
|
64
|
+
value: string | number;
|
|
65
|
+
}[]>;
|
|
66
|
+
};
|
|
67
|
+
tools: {
|
|
68
|
+
type: import("vue").PropType<import("..").ListPageTools>;
|
|
69
|
+
};
|
|
70
|
+
actions: {
|
|
71
|
+
type: import("vue").PropType<import("../..").UseActionItem[]>;
|
|
72
|
+
default: () => never[];
|
|
73
|
+
};
|
|
74
|
+
checkable: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
};
|
|
77
|
+
}>> & Readonly<{}>, {
|
|
78
|
+
checkable: boolean;
|
|
79
|
+
rowKey: string;
|
|
80
|
+
pagination: boolean | import("@duxweb/dvha-naiveui").TablePagination;
|
|
81
|
+
actions: import("../..").UseActionItem[];
|
|
82
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, SlotsType<{
|
|
83
|
+
default: (props: ListPageSlotProps) => any;
|
|
84
|
+
bottom: () => any;
|
|
85
|
+
tools: () => any;
|
|
86
|
+
actions: () => any;
|
|
87
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './media';
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
export declare const DuxMedia: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
title: StringConstructor;
|
|
3
|
+
avatar: BooleanConstructor;
|
|
4
|
+
image: (StringConstructor | {
|
|
5
|
+
(arrayLength: number): string[];
|
|
6
|
+
(...items: string[]): string[];
|
|
7
|
+
new (arrayLength: number): string[];
|
|
8
|
+
new (...items: string[]): string[];
|
|
9
|
+
isArray(arg: any): arg is any[];
|
|
10
|
+
readonly prototype: any[];
|
|
11
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
12
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
13
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
14
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
15
|
+
of<T>(...items: T[]): T[];
|
|
16
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
17
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
18
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
19
|
+
})[];
|
|
20
|
+
desc: (StringConstructor | {
|
|
21
|
+
(arrayLength: number): string[];
|
|
22
|
+
(...items: string[]): string[];
|
|
23
|
+
new (arrayLength: number): string[];
|
|
24
|
+
new (...items: string[]): string[];
|
|
25
|
+
isArray(arg: any): arg is any[];
|
|
26
|
+
readonly prototype: any[];
|
|
27
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
28
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
29
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
30
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
31
|
+
of<T>(...items: T[]): T[];
|
|
32
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
33
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
34
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
35
|
+
})[];
|
|
36
|
+
extend: StringConstructor;
|
|
37
|
+
onClick: FunctionConstructor;
|
|
38
|
+
imageWidth: {
|
|
39
|
+
type: NumberConstructor;
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
imageHeight: {
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
+
title: StringConstructor;
|
|
48
|
+
avatar: BooleanConstructor;
|
|
49
|
+
image: (StringConstructor | {
|
|
50
|
+
(arrayLength: number): string[];
|
|
51
|
+
(...items: string[]): string[];
|
|
52
|
+
new (arrayLength: number): string[];
|
|
53
|
+
new (...items: string[]): string[];
|
|
54
|
+
isArray(arg: any): arg is any[];
|
|
55
|
+
readonly prototype: any[];
|
|
56
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
57
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
58
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
59
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
60
|
+
of<T>(...items: T[]): T[];
|
|
61
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
62
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
63
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
64
|
+
})[];
|
|
65
|
+
desc: (StringConstructor | {
|
|
66
|
+
(arrayLength: number): string[];
|
|
67
|
+
(...items: string[]): string[];
|
|
68
|
+
new (arrayLength: number): string[];
|
|
69
|
+
new (...items: string[]): string[];
|
|
70
|
+
isArray(arg: any): arg is any[];
|
|
71
|
+
readonly prototype: any[];
|
|
72
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
73
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
74
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
75
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
76
|
+
of<T>(...items: T[]): T[];
|
|
77
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
78
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
79
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
80
|
+
})[];
|
|
81
|
+
extend: StringConstructor;
|
|
82
|
+
onClick: FunctionConstructor;
|
|
83
|
+
imageWidth: {
|
|
84
|
+
type: NumberConstructor;
|
|
85
|
+
default: number;
|
|
86
|
+
};
|
|
87
|
+
imageHeight: {
|
|
88
|
+
type: NumberConstructor;
|
|
89
|
+
default: number;
|
|
90
|
+
};
|
|
91
|
+
}>> & Readonly<{}>, {
|
|
92
|
+
avatar: boolean;
|
|
93
|
+
imageWidth: number;
|
|
94
|
+
imageHeight: number;
|
|
95
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
export declare const DuxModal: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
title: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
component: {
|
|
8
|
+
type: PropType<() => any>;
|
|
9
|
+
};
|
|
10
|
+
componentProps: {
|
|
11
|
+
type: PropType<Record<string, any>>;
|
|
12
|
+
default: () => {};
|
|
13
|
+
};
|
|
14
|
+
width: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
onClose: {
|
|
19
|
+
type: PropType<() => void>;
|
|
20
|
+
default: () => void;
|
|
21
|
+
};
|
|
22
|
+
onConfirm: {
|
|
23
|
+
type: PropType<() => void>;
|
|
24
|
+
default: () => void;
|
|
25
|
+
};
|
|
26
|
+
draggable: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
title: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
component: {
|
|
36
|
+
type: PropType<() => any>;
|
|
37
|
+
};
|
|
38
|
+
componentProps: {
|
|
39
|
+
type: PropType<Record<string, any>>;
|
|
40
|
+
default: () => {};
|
|
41
|
+
};
|
|
42
|
+
width: {
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
onClose: {
|
|
47
|
+
type: PropType<() => void>;
|
|
48
|
+
default: () => void;
|
|
49
|
+
};
|
|
50
|
+
onConfirm: {
|
|
51
|
+
type: PropType<() => void>;
|
|
52
|
+
default: () => void;
|
|
53
|
+
};
|
|
54
|
+
draggable: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
}>> & Readonly<{}>, {
|
|
59
|
+
title: string;
|
|
60
|
+
draggable: boolean;
|
|
61
|
+
componentProps: Record<string, any>;
|
|
62
|
+
width: number;
|
|
63
|
+
onConfirm: () => void;
|
|
64
|
+
onClose: () => void;
|
|
65
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
66
|
+
export default DuxModal;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { PropType, Ref } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
title: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
draggable: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
handle: {
|
|
12
|
+
type: PropType<Ref<HTMLElement>>;
|
|
13
|
+
default: () => Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
14
|
+
};
|
|
15
|
+
onClose: {
|
|
16
|
+
type: PropType<() => void>;
|
|
17
|
+
default: () => void;
|
|
18
|
+
};
|
|
19
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
title: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
draggable: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
handle: {
|
|
29
|
+
type: PropType<Ref<HTMLElement>>;
|
|
30
|
+
default: () => Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
31
|
+
};
|
|
32
|
+
onClose: {
|
|
33
|
+
type: PropType<() => void>;
|
|
34
|
+
default: () => void;
|
|
35
|
+
};
|
|
36
|
+
}>> & Readonly<{}>, {
|
|
37
|
+
title: string;
|
|
38
|
+
draggable: boolean;
|
|
39
|
+
onClose: () => void;
|
|
40
|
+
handle: Ref<HTMLElement, HTMLElement>;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { PropType, Ref } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
draggable: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
defaultTab: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
handle: {
|
|
12
|
+
type: PropType<Ref<HTMLElement>>;
|
|
13
|
+
default: () => Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
14
|
+
};
|
|
15
|
+
onClose: {
|
|
16
|
+
type: PropType<() => void>;
|
|
17
|
+
default: () => void;
|
|
18
|
+
};
|
|
19
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
draggable: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
defaultTab: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
handle: {
|
|
29
|
+
type: PropType<Ref<HTMLElement>>;
|
|
30
|
+
default: () => Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
31
|
+
};
|
|
32
|
+
onClose: {
|
|
33
|
+
type: PropType<() => void>;
|
|
34
|
+
default: () => void;
|
|
35
|
+
};
|
|
36
|
+
}>> & Readonly<{}>, {
|
|
37
|
+
draggable: boolean;
|
|
38
|
+
onClose: () => void;
|
|
39
|
+
handle: Ref<HTMLElement, HTMLElement>;
|
|
40
|
+
defaultTab: string;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
|
+
export default _default;
|