@qqt-product/ui 0.0.12 → 0.0.14
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/index.es.js +56339 -59301
- package/dist/index.umd.js +15222 -56
- package/dist/lib/components/breadcrumb/index.d.ts +10 -0
- package/dist/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -0
- package/dist/lib/components/card-list-layout/index.d.ts +147 -0
- package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +70 -0
- package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +79 -0
- package/dist/lib/components/card-list-layout/src/index.vue.d.ts +144 -0
- package/dist/lib/components/card-list-layout/src/sidebar.vue.d.ts +30 -0
- package/dist/lib/components/card-list-layout/src/types.d.ts +41 -0
- package/dist/lib/components/cascader/index.d.ts +43 -55
- package/dist/lib/components/cascader/src/cascader-types.d.ts +17 -23
- package/dist/lib/components/cascader/src/cascader.vue.d.ts +43 -55
- package/dist/lib/components/cascader/src/use-cascader.d.ts +2 -2
- package/dist/lib/components/checkbox/index.d.ts +113 -0
- package/dist/lib/components/checkbox/src/checkbox-types.d.ts +62 -0
- package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +109 -0
- package/dist/lib/components/checkbox/src/use-checkbox.d.ts +2 -0
- package/dist/lib/components/codeEditorModel/index.d.ts +93 -0
- package/dist/lib/components/codeEditorModel/src/codeEditorModel.vue.d.ts +90 -0
- package/dist/lib/components/collapse-transition/index.d.ts +16 -0
- package/dist/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +15 -0
- package/dist/lib/components/coutdown/index.d.ts +84 -0
- package/dist/lib/components/coutdown/src/coutdown.d.ts +48 -0
- package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +81 -0
- package/dist/lib/components/currency/index.d.ts +109 -0
- package/dist/lib/components/currency/src/currency-type.d.ts +47 -0
- package/dist/lib/components/currency/src/currency.vue.d.ts +105 -0
- package/dist/lib/components/currency/src/use-currency.d.ts +2 -0
- package/dist/lib/components/currency/src/use-methods.d.ts +14 -0
- package/dist/lib/components/detail-form/index.d.ts +102 -0
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +99 -0
- package/dist/lib/components/detail-form/src/use-detail-form.d.ts +2 -0
- package/dist/lib/components/detail-grid/index.d.ts +2678 -0
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +2675 -0
- package/dist/lib/components/detail-grid/src/hook/use-grid-config-hook.d.ts +10 -0
- package/dist/lib/components/detail-grid/src/use-detail-grid.d.ts +2 -0
- package/dist/lib/components/detail-page-layout/index.d.ts +186 -0
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +183 -0
- package/dist/lib/components/detail-page-layout/src/use-detail-page-layout.d.ts +2 -0
- package/dist/lib/components/edit-form/index.d.ts +104 -63
- package/dist/lib/components/edit-form/src/edit-form-types.d.ts +28 -24
- package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +105 -63
- package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +11 -0
- package/dist/lib/components/edit-form/src/hook/use-form-config-hook.d.ts +8 -0
- package/dist/lib/components/edit-form/src/use-edit-form.d.ts +1 -1
- package/dist/lib/components/edit-grid/index.d.ts +414 -343
- package/dist/lib/components/edit-grid/src/components/empty/index.d.ts +8 -0
- package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +33 -24
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +414 -343
- package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +10 -0
- package/dist/lib/components/edit-grid/src/hook/use-grid-height-hook.d.ts +4 -0
- package/dist/lib/components/edit-grid/src/use-edit-grid.d.ts +1 -1
- package/dist/lib/components/edit-page-layout/index.d.ts +67 -11
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +212 -40
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +67 -11
- package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -0
- package/dist/lib/components/editor/index.d.ts +31 -0
- package/dist/lib/components/editor/src/index.vue.d.ts +28 -0
- package/dist/lib/components/field-select-modal/index.d.ts +150 -0
- package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +85 -0
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +146 -0
- package/dist/lib/components/field-select-modal/src/use-field-select-modal.d.ts +6 -0
- package/dist/lib/components/index.d.ts +23 -3
- package/dist/lib/components/item-wrap/index.d.ts +57 -0
- package/dist/lib/components/item-wrap/src/item-wrap-types.d.ts +27 -0
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +53 -0
- package/dist/lib/components/item-wrap/src/use-item-wrap.d.ts +2 -0
- package/dist/lib/components/layout/index.d.ts +94 -13
- package/dist/lib/components/layout/src/header/index.vue.d.ts +117 -84
- package/dist/lib/components/layout/src/header/navRight/customMessage.vue.d.ts +10 -19
- package/dist/lib/components/layout/src/header/navRight/customPerson.vue.d.ts +16 -3
- package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +105 -67
- package/dist/lib/components/layout/src/header/navRight/langSwitch.vue.d.ts +27 -7
- package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +26 -43
- package/dist/lib/components/layout/src/header/navRight/settingDrawer.vue.d.ts +34 -0
- package/dist/lib/components/layout/src/index.vue.d.ts +94 -27
- package/dist/lib/components/layout/src/menu/deepCycleSubMenu.vue.d.ts +5 -2
- package/dist/lib/components/layout/src/menu/menu.vue.d.ts +57 -73
- package/dist/lib/components/layout/src/menu/secondLevelMenu.vue.d.ts +5 -23
- package/dist/lib/components/layout/src/menu/subSecondMenu.vue.d.ts +4 -22
- package/dist/lib/components/layout/src/sider/index.vue.d.ts +24 -25
- package/dist/lib/components/layout/src/sider/logo.vue.d.ts +1 -10
- package/dist/lib/components/layout/src/sider/search.vue.d.ts +78 -3
- package/dist/lib/components/layout/src/types.d.ts +68 -0
- package/dist/lib/components/{layout-auchor → layout-anchor}/index.d.ts +10 -7
- package/dist/lib/components/{layout-auchor/src/layout-auchor-types.d.ts → layout-anchor/src/layout-anchor-types.d.ts} +3 -3
- package/dist/lib/components/{layout-auchor → layout-anchor}/src/layout-auchor.vue.d.ts +7 -4
- package/dist/lib/components/layout-anchor/src/use-layout-anchor.d.ts +2 -0
- package/dist/lib/components/layout-buttons/index.d.ts +39 -2
- package/dist/lib/components/layout-buttons/src/layout-buttons-types.d.ts +16 -0
- package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +39 -2
- package/dist/lib/components/layout-buttons/src/use-layout-buttons.d.ts +1 -1
- package/dist/lib/components/layout-pattern/index.d.ts +8 -14
- package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +72 -4
- package/dist/lib/components/layout-pattern/src/layout-pattern-types.d.ts +3 -5
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +8 -14
- package/dist/lib/components/list-page-layout/index.d.ts +244 -0
- package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts +21 -0
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +293 -0
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/use-grid-slot-hook.d.ts +22 -0
- package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/edit-nav-modal.vue.d.ts +16 -0
- package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/types.d.ts +4 -0
- package/dist/lib/components/list-page-layout/src/components/common/help-text-modal/help-text-modal.vue.d.ts +8 -0
- package/dist/lib/components/list-page-layout/src/components/common/import-modal/import-modal.vue.d.ts +40 -0
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/mock.d.ts +48 -0
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +5178 -0
- package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +13 -0
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +95 -0
- package/dist/lib/components/list-page-layout/src/components/list-content-buttons/events-helper.d.ts +6 -0
- package/dist/lib/components/list-page-layout/src/components/list-content-buttons/list-content-buttons.vue.d.ts +33 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +27 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +15 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +9 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +103 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +56 -0
- package/dist/lib/components/list-page-layout/src/hooks/export-xls-hook.d.ts +4 -0
- package/dist/lib/components/list-page-layout/src/hooks/fetch-data-hook.d.ts +5 -0
- package/dist/lib/components/list-page-layout/src/hooks/fetch-head-data-hook.d.ts +6 -0
- package/dist/lib/components/list-page-layout/src/hooks/get-columns-hook.d.ts +6 -0
- package/dist/lib/components/list-page-layout/src/hooks/list-slot-hook.d.ts +9 -0
- package/dist/lib/components/list-page-layout/src/hooks/use-button-function-hook.d.ts +13 -0
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +238 -0
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +358 -0
- package/dist/lib/components/list-page-layout/src/symbol.d.ts +11 -0
- package/dist/lib/components/list-page-layout/src/tokens.d.ts +12 -0
- package/dist/lib/components/list-page-layout/src/types.d.ts +1 -0
- package/dist/lib/components/list-page-layout/src/utils/gridConfig.d.ts +174 -0
- package/dist/lib/components/page-layout/index.d.ts +12 -2
- package/dist/lib/components/page-layout/src/constant/buttons.d.ts +10 -0
- package/dist/lib/components/page-layout/src/constant/index.d.ts +3 -0
- package/dist/lib/components/page-layout/src/constant/items.d.ts +3 -0
- package/dist/lib/components/page-layout/src/constant/symbol.d.ts +15 -0
- package/dist/lib/components/page-layout/src/hook/use-merge-defaultValues-hook.d.ts +6 -0
- package/dist/lib/components/page-layout/src/hook/use-page-data-hook.d.ts +6 -0
- package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +26 -0
- package/dist/lib/components/page-layout/src/hook/use-ref-instance-hook.d.ts +7 -0
- package/dist/lib/components/page-layout/src/hook/use-remote-config-hook.d.ts +5 -2
- package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +7 -2
- package/dist/lib/components/page-layout/src/token.d.ts +7 -1
- package/dist/lib/components/page-layout/src/util.d.ts +10 -35
- package/dist/lib/components/radio/index.d.ts +104 -0
- package/dist/lib/components/radio/src/radio-types.d.ts +56 -0
- package/dist/lib/components/radio/src/radio.vue.d.ts +100 -0
- package/dist/lib/components/radio/src/use-radio.d.ts +2 -0
- package/dist/lib/components/remote-select/index.d.ts +122 -0
- package/dist/lib/components/remote-select/src/remote-select-types.d.ts +50 -0
- package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +118 -0
- package/dist/lib/components/remote-select/src/use-remote-select.d.ts +6 -0
- package/dist/lib/components/select/index.d.ts +8 -39
- package/dist/lib/components/select/src/select-types.d.ts +4 -15
- package/dist/lib/components/select/src/select.vue.d.ts +8 -39
- package/dist/lib/components/select/src/use-select.d.ts +2 -2
- package/dist/lib/components/select-modal/index.d.ts +333 -0
- package/dist/lib/components/select-modal/src/select-modal-types.d.ts +51 -0
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +329 -0
- package/dist/lib/components/select-modal/src/use-select-modal.d.ts +6 -0
- package/dist/lib/components/shared/hooks/use-namespace-last.d.ts +23 -0
- package/dist/lib/components/shared/hooks/use-namespace.d.ts +3 -3
- package/dist/lib/components/switch/index.d.ts +2 -4
- package/dist/lib/components/switch/src/switch-types.d.ts +0 -2
- package/dist/lib/components/switch/src/switch.vue.d.ts +2 -4
- package/dist/lib/components/tree-select/index.d.ts +114 -0
- package/dist/lib/components/tree-select/src/tree-select-types.d.ts +60 -0
- package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +110 -0
- package/dist/lib/components/tree-select/src/use-tree-select.d.ts +2 -0
- package/dist/lib/components/upload-file/index.d.ts +274 -0
- package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +34 -0
- package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +11 -0
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +141 -0
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +267 -0
- package/dist/lib/components/upload-image/index.d.ts +191 -0
- package/dist/lib/components/upload-image/src/upload-image-type.d.ts +53 -0
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +187 -0
- package/dist/lib/components/vxe-select/index.d.ts +116 -0
- package/dist/lib/components/vxe-select/src/use-vxe-select.d.ts +2 -0
- package/dist/lib/components/vxe-select/src/vxe-select-types.d.ts +58 -0
- package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +112 -0
- package/dist/lib/index.d.ts +15 -2
- package/dist/lib/setting/vxe-table/config.d.ts +3 -0
- package/dist/lib/utils/event.d.ts +37 -0
- package/dist/style.css +6 -8
- package/dist/vite-env.d.ts +15 -0
- package/package.json +35 -22
- package/dist/lib/components/layout/src/menu/icon.d.ts +0 -6
- package/dist/lib/components/layout-auchor/src/use-layout-auchor.d.ts +0 -2
- package/dist/lib/components/layout-header/index.d.ts +0 -17
- package/dist/lib/components/layout-header/src/layout-header-types.d.ts +0 -8
- package/dist/lib/components/layout-header/src/layout-header.vue.d.ts +0 -13
- package/dist/lib/components/layout-header/src/use-layout-header.d.ts +0 -2
- package/dist/lib/constant/constant.d.ts +0 -1
- package/dist/lib/types/ComponentCustomProperties .d.ts +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PageButton } from '../edit-page-layout';
|
|
1
|
+
import type { PageButton, RecordStringNumber } from '../edit-page-layout';
|
|
2
2
|
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
3
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
4
4
|
import QLayoutButtons from './src/layout-buttons.vue';
|
|
@@ -9,18 +9,55 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
9
9
|
type: PropType<PageButton[]>;
|
|
10
10
|
default: null;
|
|
11
11
|
};
|
|
12
|
+
groupName: {
|
|
13
|
+
type: PropType<string>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
groupNameI18nKey: {
|
|
17
|
+
type: PropType<string>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
groupCode: {
|
|
21
|
+
type: PropType<string>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
groupType: {
|
|
25
|
+
type: PropType<string>;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
12
28
|
}, {
|
|
13
29
|
classes: ComputedRef<{
|
|
14
30
|
[key: string]: string | boolean;
|
|
15
31
|
}>;
|
|
16
32
|
buttons: Ref<PageButton[]>;
|
|
33
|
+
pageData: Ref<RecordStringNumber>;
|
|
17
34
|
onClick: (btn: PageButton) => void;
|
|
18
35
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
19
36
|
buttons: {
|
|
20
37
|
type: PropType<PageButton[]>;
|
|
21
38
|
default: null;
|
|
22
39
|
};
|
|
40
|
+
groupName: {
|
|
41
|
+
type: PropType<string>;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
groupNameI18nKey: {
|
|
45
|
+
type: PropType<string>;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
groupCode: {
|
|
49
|
+
type: PropType<string>;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
groupType: {
|
|
53
|
+
type: PropType<string>;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
23
56
|
}>>, {
|
|
24
57
|
buttons: PageButton[];
|
|
25
|
-
|
|
58
|
+
groupName: string;
|
|
59
|
+
groupNameI18nKey: string;
|
|
60
|
+
groupCode: string;
|
|
61
|
+
groupType: string;
|
|
62
|
+
}, {}>>;
|
|
26
63
|
export default _default;
|
|
@@ -5,6 +5,22 @@ export declare const layoutButtonsProps: {
|
|
|
5
5
|
type: PropType<PageButton[]>;
|
|
6
6
|
default: null;
|
|
7
7
|
};
|
|
8
|
+
groupName: {
|
|
9
|
+
type: PropType<string>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
groupNameI18nKey: {
|
|
13
|
+
type: PropType<string>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
groupCode: {
|
|
17
|
+
type: PropType<string>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
groupType: {
|
|
21
|
+
type: PropType<string>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
8
24
|
};
|
|
9
25
|
export type LayoutButtonsProps = ExtractPropTypes<typeof layoutButtonsProps>;
|
|
10
26
|
export interface LayoutButtonsReturnType {
|
|
@@ -1,22 +1,59 @@
|
|
|
1
1
|
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { PageButton } from '../../edit-page-layout';
|
|
2
|
+
import type { RecordStringNumber, PageButton } from '../../edit-page-layout';
|
|
3
3
|
declare const _sfc_main: DefineComponent<{
|
|
4
4
|
buttons: {
|
|
5
5
|
type: PropType<PageButton[]>;
|
|
6
6
|
default: null;
|
|
7
7
|
};
|
|
8
|
+
groupName: {
|
|
9
|
+
type: PropType<string>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
groupNameI18nKey: {
|
|
13
|
+
type: PropType<string>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
groupCode: {
|
|
17
|
+
type: PropType<string>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
groupType: {
|
|
21
|
+
type: PropType<string>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
8
24
|
}, {
|
|
9
25
|
classes: ComputedRef<{
|
|
10
26
|
[key: string]: string | boolean;
|
|
11
27
|
}>;
|
|
12
28
|
buttons: Ref<PageButton[]>;
|
|
29
|
+
pageData: Ref<RecordStringNumber>;
|
|
13
30
|
onClick: (btn: PageButton) => void;
|
|
14
31
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
15
32
|
buttons: {
|
|
16
33
|
type: PropType<PageButton[]>;
|
|
17
34
|
default: null;
|
|
18
35
|
};
|
|
36
|
+
groupName: {
|
|
37
|
+
type: PropType<string>;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
groupNameI18nKey: {
|
|
41
|
+
type: PropType<string>;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
groupCode: {
|
|
45
|
+
type: PropType<string>;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
groupType: {
|
|
49
|
+
type: PropType<string>;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
19
52
|
}>>, {
|
|
20
53
|
buttons: PageButton[];
|
|
21
|
-
|
|
54
|
+
groupName: string;
|
|
55
|
+
groupNameI18nKey: string;
|
|
56
|
+
groupCode: string;
|
|
57
|
+
groupType: string;
|
|
58
|
+
}, {}>;
|
|
22
59
|
export default _sfc_main;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { LayoutButtonsReturnType } from './layout-buttons-types';
|
|
2
|
-
export default function
|
|
2
|
+
export default function useLayoutButtons(): LayoutButtonsReturnType;
|
|
@@ -5,11 +5,9 @@ import QPageLayoutMode from './src/layout-pattern.vue';
|
|
|
5
5
|
export * from './src/layout-pattern-types';
|
|
6
6
|
export { QPageLayoutMode };
|
|
7
7
|
declare const _default: SFCWithInstall<DefineComponent<{
|
|
8
|
-
|
|
9
|
-
type: PropType<
|
|
10
|
-
|
|
11
|
-
}>>;
|
|
12
|
-
default(): {};
|
|
8
|
+
title: {
|
|
9
|
+
type: PropType<string>;
|
|
10
|
+
default: string;
|
|
13
11
|
};
|
|
14
12
|
}, {
|
|
15
13
|
classes: ComputedRef<{
|
|
@@ -18,15 +16,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
18
16
|
pattern: Pattern;
|
|
19
17
|
componentName: ComputedRef<Pattern>;
|
|
20
18
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
21
|
-
|
|
22
|
-
type: PropType<
|
|
23
|
-
|
|
24
|
-
}>>;
|
|
25
|
-
default(): {};
|
|
19
|
+
title: {
|
|
20
|
+
type: PropType<string>;
|
|
21
|
+
default: string;
|
|
26
22
|
};
|
|
27
23
|
}>>, {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}>;
|
|
31
|
-
}>>;
|
|
24
|
+
title: string;
|
|
25
|
+
}, {}>>;
|
|
32
26
|
export default _default;
|
|
@@ -1,7 +1,75 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
declare const _sfc_main: DefineComponent<{
|
|
1
|
+
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { PageButton, LayoutConfig, Role, RecordStringNumber } from '../../../edit-page-layout';
|
|
3
|
+
declare const _sfc_main: DefineComponent<{
|
|
4
|
+
title: {
|
|
5
|
+
type: PropType<string>;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
}, {
|
|
4
9
|
pageButtons: PageButton[];
|
|
5
10
|
layoutConfig: Ref<LayoutConfig>;
|
|
6
|
-
|
|
11
|
+
title: Ref<string>;
|
|
12
|
+
isDetail: boolean;
|
|
13
|
+
fileVisible: Ref<boolean>;
|
|
14
|
+
fileProps: Ref<{
|
|
15
|
+
readonly data?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
businessType: string;
|
|
18
|
+
headId: string;
|
|
19
|
+
} | undefined;
|
|
20
|
+
readonly multiple?: boolean | undefined;
|
|
21
|
+
readonly dictCode?: string | undefined;
|
|
22
|
+
readonly property?: string | undefined;
|
|
23
|
+
readonly visible?: boolean | undefined;
|
|
24
|
+
readonly role?: Role | undefined;
|
|
25
|
+
readonly currentRow?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
templateNumber: string;
|
|
28
|
+
templateVersion: number;
|
|
29
|
+
templateAccount: string;
|
|
30
|
+
busAccount: string;
|
|
31
|
+
elsAccount: string;
|
|
32
|
+
} | undefined;
|
|
33
|
+
readonly userInfo?: {
|
|
34
|
+
[x: string]: unknown;
|
|
35
|
+
elsAccount: string;
|
|
36
|
+
subAccount: string;
|
|
37
|
+
serivceUrl: string;
|
|
38
|
+
} | undefined;
|
|
39
|
+
readonly single?: boolean | undefined;
|
|
40
|
+
readonly attrCheck?: string | undefined;
|
|
41
|
+
readonly limitSize?: number | undefined;
|
|
42
|
+
readonly accept?: string | undefined;
|
|
43
|
+
readonly acceptDictCode?: string | undefined;
|
|
44
|
+
readonly isOss?: boolean | undefined;
|
|
45
|
+
readonly isGridUpload?: boolean | undefined;
|
|
46
|
+
readonly action?: string | undefined;
|
|
47
|
+
readonly itemNumberKey?: string | undefined;
|
|
48
|
+
readonly itemNumberLabel?: string | undefined;
|
|
49
|
+
readonly itemNumbeValueProp?: string | undefined;
|
|
50
|
+
readonly itemNumberDefaultValue?: string | undefined;
|
|
51
|
+
readonly itemNumberSelectIndex?: boolean | undefined;
|
|
52
|
+
readonly disabledItemNumber?: boolean | undefined;
|
|
53
|
+
readonly itemInfo?: RecordStringNumber[] | undefined;
|
|
54
|
+
readonly fileTypeList?: {
|
|
55
|
+
[x: string]: unknown;
|
|
56
|
+
title: string;
|
|
57
|
+
value: string;
|
|
58
|
+
}[] | undefined;
|
|
59
|
+
readonly 'onUpdate:visible'?: ((value: boolean) => void) | ((value: boolean) => void)[] | undefined;
|
|
60
|
+
}>;
|
|
61
|
+
handleChangeFiles: (fileResult: RecordStringNumber[]) => void;
|
|
62
|
+
showBackIcon: boolean;
|
|
63
|
+
handleAnchorClick: (link: {
|
|
64
|
+
title: string;
|
|
65
|
+
href: string;
|
|
66
|
+
}) => void;
|
|
67
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
68
|
+
title: {
|
|
69
|
+
type: PropType<string>;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
}>>, {
|
|
73
|
+
title: string;
|
|
74
|
+
}, {}>;
|
|
7
75
|
export default _sfc_main;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import type { ComputedRef, PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
export declare const layoutPatternProps: {
|
|
3
|
-
|
|
4
|
-
type: PropType<
|
|
5
|
-
|
|
6
|
-
}>>;
|
|
7
|
-
default(): {};
|
|
3
|
+
title: {
|
|
4
|
+
type: PropType<string>;
|
|
5
|
+
default: string;
|
|
8
6
|
};
|
|
9
7
|
};
|
|
10
8
|
export type LayoutPatternProps = ExtractPropTypes<typeof layoutPatternProps>;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import type { Pattern } from '../../edit-page-layout';
|
|
2
2
|
import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
3
|
declare const _sfc_main: DefineComponent<{
|
|
4
|
-
|
|
5
|
-
type: PropType<
|
|
6
|
-
|
|
7
|
-
}>>;
|
|
8
|
-
default(): {};
|
|
4
|
+
title: {
|
|
5
|
+
type: PropType<string>;
|
|
6
|
+
default: string;
|
|
9
7
|
};
|
|
10
8
|
}, {
|
|
11
9
|
classes: ComputedRef<{
|
|
@@ -14,15 +12,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
14
12
|
pattern: Pattern;
|
|
15
13
|
componentName: ComputedRef<Pattern>;
|
|
16
14
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
17
|
-
|
|
18
|
-
type: PropType<
|
|
19
|
-
|
|
20
|
-
}>>;
|
|
21
|
-
default(): {};
|
|
15
|
+
title: {
|
|
16
|
+
type: PropType<string>;
|
|
17
|
+
default: string;
|
|
22
18
|
};
|
|
23
19
|
}>>, {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}>;
|
|
27
|
-
}>;
|
|
20
|
+
title: string;
|
|
21
|
+
}, {}>;
|
|
28
22
|
export default _sfc_main;
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import type { VxeTableInstance, VxeGridPropTypes, SizeType, VxePagerPropTypes } from 'vxe-table';
|
|
2
|
+
import type { ObjectMap, PageData, ApiUrls, ListOptionsEventParams, OptColumnListItem, ButtonItem, FetchDataOptions } from './src/list-page-layout-types';
|
|
3
|
+
import type { DefineComponent, PropType, ComputedRef, ShallowRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
4
|
+
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
5
|
+
import QListLayout from './src/layout.vue';
|
|
6
|
+
export { QListLayout };
|
|
7
|
+
export * from './src/list-page-layout-types';
|
|
8
|
+
import useButtonFunctionHook from './src/hooks/use-button-function-hook';
|
|
9
|
+
export { useButtonFunctionHook };
|
|
10
|
+
declare const _default: SFCWithInstall<DefineComponent<{
|
|
11
|
+
loading: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
extraListConfig: {
|
|
16
|
+
type: PropType<ObjectMap>;
|
|
17
|
+
default: () => {};
|
|
18
|
+
};
|
|
19
|
+
pageData: {
|
|
20
|
+
type: PropType<PageData>;
|
|
21
|
+
default: () => {};
|
|
22
|
+
};
|
|
23
|
+
apiUrls: {
|
|
24
|
+
type: PropType<ApiUrls>;
|
|
25
|
+
default: () => {};
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
ns: {
|
|
29
|
+
namespace: ComputedRef<string>;
|
|
30
|
+
b: (blockSuffix?: string) => string;
|
|
31
|
+
e: (element?: string | undefined) => string;
|
|
32
|
+
m: (modifier?: string | undefined) => string;
|
|
33
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
34
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
35
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
36
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
37
|
+
is: {
|
|
38
|
+
(name: string, state: boolean | undefined): string;
|
|
39
|
+
(name: string): string;
|
|
40
|
+
};
|
|
41
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
42
|
+
cssVarName: (name: string) => string;
|
|
43
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
44
|
+
cssVarBlockName: (name: string) => string;
|
|
45
|
+
};
|
|
46
|
+
loading: ShallowRef<boolean>;
|
|
47
|
+
gridInstance: Ref<VxeTableInstance<any> | undefined>;
|
|
48
|
+
renderComponent: Ref<boolean>;
|
|
49
|
+
listScopedSlots: {
|
|
50
|
+
loading: boolean;
|
|
51
|
+
tableColumns: any;
|
|
52
|
+
tableData: ObjectMap[];
|
|
53
|
+
pagerConfig: VxeGridPropTypes.PagerConfig;
|
|
54
|
+
queryConfig: {
|
|
55
|
+
attrs?: ObjectMap | undefined;
|
|
56
|
+
extend?: ObjectMap | undefined;
|
|
57
|
+
form: {
|
|
58
|
+
type: string;
|
|
59
|
+
label: string;
|
|
60
|
+
fieldName: string;
|
|
61
|
+
placeholder?: string | undefined;
|
|
62
|
+
options?: ObjectMap[] | undefined;
|
|
63
|
+
dictCode?: string | undefined;
|
|
64
|
+
}[];
|
|
65
|
+
formState: ObjectMap;
|
|
66
|
+
} | undefined;
|
|
67
|
+
statusData: {
|
|
68
|
+
[key: string]: unknown;
|
|
69
|
+
}[];
|
|
70
|
+
listConfig: {
|
|
71
|
+
loading: boolean;
|
|
72
|
+
extraListConfig: ObjectMap;
|
|
73
|
+
pageData: {
|
|
74
|
+
[x: string]: unknown;
|
|
75
|
+
onlyShowNav?: boolean | undefined;
|
|
76
|
+
optColumn?: {
|
|
77
|
+
attrs?: ObjectMap | undefined;
|
|
78
|
+
extend?: ObjectMap | undefined;
|
|
79
|
+
optColumnList: {
|
|
80
|
+
type?: string | undefined;
|
|
81
|
+
title: string;
|
|
82
|
+
authorityCode?: string | undefined;
|
|
83
|
+
attrs?: ObjectMap | undefined;
|
|
84
|
+
args?: {
|
|
85
|
+
[x: string]: unknown;
|
|
86
|
+
url?: string | undefined;
|
|
87
|
+
} | undefined;
|
|
88
|
+
click?: ((args: ListOptionsEventParams) => void) | undefined;
|
|
89
|
+
disabled?: boolean | (({ currentOpt, row }: {
|
|
90
|
+
currentOpt: OptColumnListItem;
|
|
91
|
+
row: ObjectMap;
|
|
92
|
+
}) => boolean | void) | undefined;
|
|
93
|
+
}[];
|
|
94
|
+
} | undefined;
|
|
95
|
+
buttonConfig?: {
|
|
96
|
+
attrs?: ObjectMap | undefined;
|
|
97
|
+
extend?: ObjectMap | undefined;
|
|
98
|
+
buttons: {
|
|
99
|
+
label?: string | undefined;
|
|
100
|
+
icon?: string | ObjectMap | undefined;
|
|
101
|
+
type?: string | undefined;
|
|
102
|
+
attrs?: ObjectMap | undefined;
|
|
103
|
+
args?: {
|
|
104
|
+
[x: string]: unknown;
|
|
105
|
+
url?: string | undefined;
|
|
106
|
+
} | undefined;
|
|
107
|
+
authorityCode?: string | undefined;
|
|
108
|
+
disabled?: boolean | (<T>(args: T) => boolean | void) | undefined;
|
|
109
|
+
click?: ((args: ButtonItem) => void) | undefined;
|
|
110
|
+
handleBefore?: (<T_1>(args: T_1) => void | Promise<T_1>) | undefined;
|
|
111
|
+
handleAfter?: (<T_2>(args: T_2) => void | Promise<T_2>) | undefined;
|
|
112
|
+
}[];
|
|
113
|
+
} | undefined;
|
|
114
|
+
toolsConfig?: {
|
|
115
|
+
attrs?: ObjectMap | undefined;
|
|
116
|
+
extend?: ObjectMap | undefined;
|
|
117
|
+
buttons: {
|
|
118
|
+
toggleIcon?: string | ObjectMap | undefined;
|
|
119
|
+
label?: string | undefined;
|
|
120
|
+
icon?: string | ObjectMap | undefined;
|
|
121
|
+
type?: string | undefined;
|
|
122
|
+
attrs?: ObjectMap | undefined;
|
|
123
|
+
args?: {
|
|
124
|
+
[x: string]: unknown;
|
|
125
|
+
url?: string | undefined;
|
|
126
|
+
} | undefined;
|
|
127
|
+
authorityCode?: string | undefined;
|
|
128
|
+
disabled?: boolean | (<T>(args: T) => boolean | void) | undefined;
|
|
129
|
+
click?: ((args: ButtonItem) => void) | undefined;
|
|
130
|
+
handleBefore?: (<T_1>(args: T_1) => void | Promise<T_1>) | undefined;
|
|
131
|
+
handleAfter?: (<T_2>(args: T_2) => void | Promise<T_2>) | undefined;
|
|
132
|
+
}[];
|
|
133
|
+
} | undefined;
|
|
134
|
+
queryConfig?: {
|
|
135
|
+
attrs?: ObjectMap | undefined;
|
|
136
|
+
extend?: ObjectMap | undefined;
|
|
137
|
+
form: {
|
|
138
|
+
type: string;
|
|
139
|
+
label: string;
|
|
140
|
+
fieldName: string;
|
|
141
|
+
placeholder?: string | undefined;
|
|
142
|
+
options?: ObjectMap[] | undefined;
|
|
143
|
+
dictCode?: string | undefined;
|
|
144
|
+
}[];
|
|
145
|
+
formState: ObjectMap;
|
|
146
|
+
} | undefined;
|
|
147
|
+
statusConfig?: {
|
|
148
|
+
show?: boolean | (() => boolean | void) | undefined;
|
|
149
|
+
filter?: ObjectMap | undefined;
|
|
150
|
+
currentValue?: {
|
|
151
|
+
[x: string]: any;
|
|
152
|
+
proName: string;
|
|
153
|
+
rejectReason: string;
|
|
154
|
+
title: string;
|
|
155
|
+
total: string | number;
|
|
156
|
+
flag?: string | undefined;
|
|
157
|
+
} | undefined;
|
|
158
|
+
} | undefined;
|
|
159
|
+
filterConfig?: {
|
|
160
|
+
show?: boolean | (() => boolean | void) | undefined;
|
|
161
|
+
filter?: ObjectMap | undefined;
|
|
162
|
+
} | undefined;
|
|
163
|
+
navConfig?: {
|
|
164
|
+
show?: boolean | (() => boolean | void) | undefined;
|
|
165
|
+
} | undefined;
|
|
166
|
+
pagerConfig?: {
|
|
167
|
+
enabled?: boolean | undefined;
|
|
168
|
+
slots?: any;
|
|
169
|
+
size?: SizeType | undefined;
|
|
170
|
+
layouts?: ("PrevJump" | "PrevPage" | "Number" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "Jump" | "FullJump" | "PageCount" | "Total")[] | undefined;
|
|
171
|
+
currentPage?: number | undefined;
|
|
172
|
+
loading?: boolean | undefined;
|
|
173
|
+
pageSize?: number | undefined;
|
|
174
|
+
total?: number | undefined;
|
|
175
|
+
pagerCount?: number | undefined;
|
|
176
|
+
pageSizes?: (number | {
|
|
177
|
+
label?: string | number | undefined;
|
|
178
|
+
value?: string | number | undefined;
|
|
179
|
+
})[] | undefined;
|
|
180
|
+
align?: string | undefined;
|
|
181
|
+
border?: boolean | undefined;
|
|
182
|
+
background?: boolean | undefined;
|
|
183
|
+
perfect?: boolean | undefined;
|
|
184
|
+
autoHidden?: boolean | undefined;
|
|
185
|
+
transfer?: boolean | undefined;
|
|
186
|
+
className?: VxePagerPropTypes.ClassName | undefined;
|
|
187
|
+
iconPrevPage?: string | undefined;
|
|
188
|
+
iconJumpPrev?: string | undefined;
|
|
189
|
+
iconJumpNext?: string | undefined;
|
|
190
|
+
iconNextPage?: string | undefined;
|
|
191
|
+
iconJumpMore?: string | undefined;
|
|
192
|
+
} | undefined;
|
|
193
|
+
};
|
|
194
|
+
apiUrls: {
|
|
195
|
+
[x: string]: unknown;
|
|
196
|
+
columnsCode: string;
|
|
197
|
+
list: string;
|
|
198
|
+
countTabsUrl: string;
|
|
199
|
+
quickNav?: string | undefined;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
fetchListData: (params?: FetchDataOptions | undefined) => void;
|
|
204
|
+
addButtonClick: (params: ButtonItem) => void;
|
|
205
|
+
editNavSuccess: () => void;
|
|
206
|
+
columnSettingOK: () => void;
|
|
207
|
+
columnSettingRef: Ref<any>;
|
|
208
|
+
helpTextModalRef: Ref<any>;
|
|
209
|
+
addModalRef: Ref<any>;
|
|
210
|
+
recordModalRef: Ref<any>;
|
|
211
|
+
editNavModalRef: Ref<any>;
|
|
212
|
+
importModalRef: Ref<any>;
|
|
213
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("tagCheckChange" | "add-button-click" | "getGridInstance" | "cell-click" | "sort-change" | "filter-change" | "resizable-change")[], "tagCheckChange" | "add-button-click" | "getGridInstance" | "cell-click" | "sort-change" | "filter-change" | "resizable-change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
214
|
+
loading: {
|
|
215
|
+
type: BooleanConstructor;
|
|
216
|
+
default: boolean;
|
|
217
|
+
};
|
|
218
|
+
extraListConfig: {
|
|
219
|
+
type: PropType<ObjectMap>;
|
|
220
|
+
default: () => {};
|
|
221
|
+
};
|
|
222
|
+
pageData: {
|
|
223
|
+
type: PropType<PageData>;
|
|
224
|
+
default: () => {};
|
|
225
|
+
};
|
|
226
|
+
apiUrls: {
|
|
227
|
+
type: PropType<ApiUrls>;
|
|
228
|
+
default: () => {};
|
|
229
|
+
};
|
|
230
|
+
}>> & {
|
|
231
|
+
onTagCheckChange?: ((...args: any[]) => any) | undefined;
|
|
232
|
+
"onAdd-button-click"?: ((...args: any[]) => any) | undefined;
|
|
233
|
+
onGetGridInstance?: ((...args: any[]) => any) | undefined;
|
|
234
|
+
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
235
|
+
"onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
236
|
+
"onFilter-change"?: ((...args: any[]) => any) | undefined;
|
|
237
|
+
"onResizable-change"?: ((...args: any[]) => any) | undefined;
|
|
238
|
+
}, {
|
|
239
|
+
loading: boolean;
|
|
240
|
+
extraListConfig: ObjectMap;
|
|
241
|
+
pageData: PageData;
|
|
242
|
+
apiUrls: ApiUrls;
|
|
243
|
+
}, {}>>;
|
|
244
|
+
export default _default;
|
package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import { ButtonItem } from '../../../list-page-layout-types';
|
|
3
|
+
declare const _sfc_main: DefineComponent<{}, {
|
|
4
|
+
visible: Ref<boolean>;
|
|
5
|
+
form: {
|
|
6
|
+
templateNumber: string;
|
|
7
|
+
};
|
|
8
|
+
templateOpts: Ref<any>;
|
|
9
|
+
open: (button: ButtonItem) => void;
|
|
10
|
+
handlePromptOk: () => void;
|
|
11
|
+
selectedTemplate: () => void;
|
|
12
|
+
formRules: {
|
|
13
|
+
templateNumber: {
|
|
14
|
+
required: boolean;
|
|
15
|
+
message: string;
|
|
16
|
+
}[];
|
|
17
|
+
};
|
|
18
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "ok"[], "ok", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>> & {
|
|
19
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
}, {}, {}>;
|
|
21
|
+
export default _sfc_main;
|