@qqt-product/ui 0.0.14 → 0.0.16
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 +112024 -41701
- package/dist/index.umd.js +254 -15197
- package/dist/lib/components/audit-modal/index.d.ts +324 -0
- package/dist/lib/components/audit-modal/src/audit-modal-type.d.ts +65 -0
- package/dist/lib/components/audit-modal/src/audit-modal.vue.d.ts +320 -0
- package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +675 -0
- package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +406 -0
- package/dist/lib/components/audit-modal/src/component/field-select-modal-types.d.ts +93 -0
- package/dist/lib/components/audit-modal/src/component/field-select-modal.vue.d.ts +163 -0
- package/dist/lib/components/audit-modal/src/component/use-field-select-modal.d.ts +6 -0
- package/dist/lib/components/audit-modal/src/hook/list-slot-hook.d.ts +16 -0
- package/dist/lib/components/audit-modal/src/hook/use-audit-config-hook.d.ts +6 -0
- package/dist/lib/components/audit-modal/src/hook/use-field-select-modal-hook.d.ts +9 -0
- package/dist/lib/components/card-list-layout/index.d.ts +8 -18
- package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +2 -2
- package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +2 -2
- package/dist/lib/components/card-list-layout/src/index.vue.d.ts +8 -18
- package/dist/lib/components/cascader/index.d.ts +10 -8
- package/dist/lib/components/cascader/src/cascader.vue.d.ts +10 -8
- package/dist/lib/components/checkbox/index.d.ts +1 -1
- package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +1 -1
- package/dist/lib/components/{codeEditorModel/src/codeEditorModel.vue.d.ts → code-editor-model/src/code-editor-model.vue.d.ts} +40 -9
- package/dist/lib/components/countdown/index.d.ts +122 -0
- package/dist/lib/components/countdown/src/countdown-types.d.ts +87 -0
- package/dist/lib/components/countdown/src/countdown.d.ts +118 -0
- package/dist/lib/components/countdown/src/use-countdown.d.ts +2 -0
- package/dist/lib/components/coutdown/index.d.ts +3 -3
- package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +3 -3
- package/dist/lib/components/currency/index.d.ts +1 -1
- package/dist/lib/components/currency/src/currency.vue.d.ts +1 -1
- package/dist/lib/components/detail-form/index.d.ts +23 -2
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +23 -3
- package/dist/lib/components/detail-grid/index.d.ts +10 -6
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +9 -6
- package/dist/lib/components/detail-grid/src/hook/use-grid-config-hook.d.ts +1 -1
- package/dist/lib/components/detail-page-layout/index.d.ts +20 -3
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +19 -3
- package/dist/lib/components/edit-form/index.d.ts +27 -2
- package/dist/lib/components/edit-form/src/edit-form-types.d.ts +4 -0
- package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +26 -2
- package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +7 -1
- package/dist/lib/components/edit-grid/index.d.ts +11 -6
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +10 -6
- package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +3 -3
- package/dist/lib/components/edit-page-layout/index.d.ts +19 -3
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +143 -22
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +19 -3
- package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
- package/dist/lib/components/editor/index.d.ts +22 -8
- package/dist/lib/components/editor/src/index.vue.d.ts +22 -8
- package/dist/lib/components/field-select-modal/index.d.ts +24 -8
- package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +9 -2
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +24 -8
- package/dist/lib/components/flow-view/index.d.ts +121 -0
- package/dist/lib/components/flow-view/src/flow-view-modal-types.d.ts +60 -0
- package/dist/lib/components/flow-view/src/flow-view.d.ts +118 -0
- package/dist/lib/components/flow-view/src/use-flow-view-modal.d.ts +2 -0
- package/dist/lib/components/import-modal/index.d.ts +90 -0
- package/dist/lib/components/import-modal/src/import-modal-types.d.ts +28 -0
- package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +86 -0
- package/dist/lib/components/index.d.ts +11 -2
- package/dist/lib/components/item-wrap/index.d.ts +3 -3
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +3 -3
- package/dist/lib/components/ladder-price/index.d.ts +58 -0
- package/dist/lib/components/ladder-price/src/LadderNotPriceModal.vue.d.ts +35 -0
- package/dist/lib/components/ladder-price/src/LadderPriceModal.vue.d.ts +38 -0
- package/dist/lib/components/ladder-price/src/ladder-not-price-modal-types.d.ts +16 -0
- package/dist/lib/components/ladder-price/src/ladder-price-modal-types.d.ts +15 -0
- package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +35 -0
- package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +55 -0
- package/dist/lib/components/ladder-price/src/use-ladder-not-price-modal.d.ts +6 -0
- package/dist/lib/components/ladder-price/src/use-ladder-price.d.ts +6 -0
- package/dist/lib/components/layout/src/types.d.ts +1 -0
- package/dist/lib/components/layout-anchor/index.d.ts +2 -1
- package/dist/lib/components/layout-anchor/src/layout-auchor.vue.d.ts +2 -1
- package/dist/lib/components/layout-buttons/index.d.ts +2 -1
- package/dist/lib/components/layout-pattern/index.d.ts +12 -2
- package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +126 -15
- package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +46 -0
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +12 -2
- package/dist/lib/components/list-page-layout/index.d.ts +77 -15
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +2 -1
- package/dist/lib/components/list-page-layout/src/components/common/import-modal/import-modal.vue.d.ts +3 -1
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +10 -10
- package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +0 -2
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +6 -4
- package/dist/lib/components/list-page-layout/src/components/list-header/hooks/use-callback-hook.d.ts +3 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +4 -2
- package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +8 -2
- package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +1 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +14 -6
- package/dist/lib/components/list-page-layout/src/hooks/auth-button.d.ts +4 -0
- package/dist/lib/components/list-page-layout/src/hooks/get-columns-hook.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/hooks/list-slot-hook.d.ts +10 -4
- package/dist/lib/components/list-page-layout/src/hooks/use-button-function-hook.d.ts +8 -0
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +75 -14
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +59 -7
- package/dist/lib/components/list-page-layout/src/utils/gridConfig.d.ts +6 -21
- package/dist/lib/components/list-page-layout/src/utils/index.d.ts +2 -0
- package/dist/lib/components/page-layout/index.d.ts +2 -1
- package/dist/lib/components/page-layout/src/constant/buttons.d.ts +28 -2
- package/dist/lib/components/page-layout/src/constant/symbol.d.ts +35 -0
- package/dist/lib/components/page-layout/src/hook/use-merge-defaultValues-hook.d.ts +1 -1
- package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +19 -9
- package/dist/lib/components/radio/index.d.ts +1 -1
- package/dist/lib/components/radio/src/radio.vue.d.ts +1 -1
- package/dist/lib/components/relation-graph/src/relation-graph-types.d.ts +23 -0
- package/dist/lib/components/remote-select/index.d.ts +30 -71
- package/dist/lib/components/remote-select/src/remote-select-types.d.ts +44 -28
- package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +31 -72
- package/dist/lib/components/sale-template/index.d.ts +99 -0
- package/dist/lib/components/sale-template/src/sale-template-types.d.ts +41 -0
- package/dist/lib/components/sale-template/src/sale-template.vue.d.ts +95 -0
- package/dist/lib/components/sale-template/src/use-sale-template.d.ts +2 -0
- package/dist/lib/components/select/index.d.ts +6 -6
- package/dist/lib/components/select/src/select-types.d.ts +5 -1
- package/dist/lib/components/select/src/select.vue.d.ts +6 -6
- package/dist/lib/components/select-modal/index.d.ts +54 -16
- package/dist/lib/components/select-modal/src/select-modal-types.d.ts +24 -4
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +54 -16
- package/dist/lib/components/select-template/index.d.ts +92 -0
- package/dist/lib/components/select-template/src/select-template-type.d.ts +32 -0
- package/dist/lib/components/select-template/src/select-template.vue.d.ts +88 -0
- package/dist/lib/components/tree-select/index.d.ts +8 -7
- package/dist/lib/components/tree-select/src/tree-select-types.d.ts +7 -1
- package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +8 -7
- package/dist/lib/components/upload-file/index.d.ts +15 -24
- package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +0 -1
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +14 -10
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +13 -23
- package/dist/lib/components/upload-file-vxe/index.d.ts +78 -0
- package/dist/lib/components/upload-file-vxe/src/upload-file-vxe-types.d.ts +38 -0
- package/dist/lib/components/upload-file-vxe/src/upload-file-vxe.vue.d.ts +75 -0
- package/dist/lib/components/upload-image/index.d.ts +3 -3
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +3 -3
- package/dist/lib/components/useChart/index.d.ts +11 -0
- package/dist/lib/components/useChart/lib.d.ts +2 -0
- package/dist/lib/components/useChart/types.d.ts +21 -0
- package/dist/lib/components/vxe-select/index.d.ts +24 -6
- package/dist/lib/components/vxe-select/src/vxe-select-types.d.ts +7 -1
- package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +24 -6
- package/dist/lib/index.d.ts +4 -1
- package/dist/lib/utils/event.d.ts +35 -2
- package/dist/style.css +1 -6
- package/package.json +24 -18
- package/dist/lib/components/codeEditorModel/index.d.ts +0 -93
- package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts +0 -21
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import type { UploadChangeParam, UploadFile } from 'ant-design-vue';
|
|
2
|
+
import type { MessageType } from 'ant-design-vue/lib/message';
|
|
3
|
+
import type { ButtonItem } from './src/import-modal-types';
|
|
4
|
+
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
5
|
+
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
6
|
+
import QImportModal from './src/import-modal.vue';
|
|
7
|
+
export * from './src/import-modal-types';
|
|
8
|
+
export { QImportModal };
|
|
9
|
+
declare const _default: SFCWithInstall<DefineComponent<{
|
|
10
|
+
readonly isEditPage: {
|
|
11
|
+
readonly type: BooleanConstructor;
|
|
12
|
+
readonly default: false;
|
|
13
|
+
};
|
|
14
|
+
readonly visible: {
|
|
15
|
+
readonly type: BooleanConstructor;
|
|
16
|
+
readonly default: false;
|
|
17
|
+
};
|
|
18
|
+
readonly button: {
|
|
19
|
+
readonly type: PropType<ButtonItem>;
|
|
20
|
+
readonly default: () => {};
|
|
21
|
+
};
|
|
22
|
+
readonly token: {
|
|
23
|
+
readonly type: StringConstructor;
|
|
24
|
+
readonly default: "";
|
|
25
|
+
};
|
|
26
|
+
}, {
|
|
27
|
+
visibleModal: Ref<boolean>;
|
|
28
|
+
isEditPage: Ref<boolean>;
|
|
29
|
+
importUrl: () => string;
|
|
30
|
+
open: () => void;
|
|
31
|
+
stepChange: (current: never) => void;
|
|
32
|
+
beforeUpload: (file: any) => false | undefined;
|
|
33
|
+
downloadFile: () => MessageType | undefined;
|
|
34
|
+
imortChangeEvent: (info: UploadChangeParam<UploadFile<any>>) => void;
|
|
35
|
+
importPreviewData: () => void;
|
|
36
|
+
downloadTaskErrorFiles: (errorId: string) => void;
|
|
37
|
+
handleClose: () => void;
|
|
38
|
+
uploadData: Ref<{}>;
|
|
39
|
+
button: Ref<ButtonItem>;
|
|
40
|
+
fileList: Ref<never[]>;
|
|
41
|
+
handleBefore: Ref<any>;
|
|
42
|
+
current: Ref<number>;
|
|
43
|
+
isPreview: Ref<number>;
|
|
44
|
+
excelCode: Ref<string>;
|
|
45
|
+
confirmLoading: Ref<boolean>;
|
|
46
|
+
uploadHeader: Ref<{
|
|
47
|
+
'X-Access-Token': string;
|
|
48
|
+
}>;
|
|
49
|
+
accept: Ref<string>;
|
|
50
|
+
params: Ref<any>;
|
|
51
|
+
errorId: Ref<string>;
|
|
52
|
+
tableColumns: Ref<never[]>;
|
|
53
|
+
tableData: Ref<never[]>;
|
|
54
|
+
dataKey: Ref<string>;
|
|
55
|
+
url: Ref<string>;
|
|
56
|
+
local_excelCode: Ref<string>;
|
|
57
|
+
isConfigUrl: Ref<string>;
|
|
58
|
+
fileName: Ref<string>;
|
|
59
|
+
isLoading: Ref<boolean>;
|
|
60
|
+
percent: Ref<number>;
|
|
61
|
+
itemCode: Ref<string>;
|
|
62
|
+
successCount: Ref<number>;
|
|
63
|
+
importFilesResult: Ref<any>;
|
|
64
|
+
importPreviewFilesData: Ref<any>;
|
|
65
|
+
importPreviewErrorId: Ref<string>;
|
|
66
|
+
failCount: Ref<number>;
|
|
67
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
68
|
+
readonly isEditPage: {
|
|
69
|
+
readonly type: BooleanConstructor;
|
|
70
|
+
readonly default: false;
|
|
71
|
+
};
|
|
72
|
+
readonly visible: {
|
|
73
|
+
readonly type: BooleanConstructor;
|
|
74
|
+
readonly default: false;
|
|
75
|
+
};
|
|
76
|
+
readonly button: {
|
|
77
|
+
readonly type: PropType<ButtonItem>;
|
|
78
|
+
readonly default: () => {};
|
|
79
|
+
};
|
|
80
|
+
readonly token: {
|
|
81
|
+
readonly type: StringConstructor;
|
|
82
|
+
readonly default: "";
|
|
83
|
+
};
|
|
84
|
+
}>>, {
|
|
85
|
+
readonly visible: boolean;
|
|
86
|
+
readonly token: string;
|
|
87
|
+
readonly button: ButtonItem;
|
|
88
|
+
readonly isEditPage: boolean;
|
|
89
|
+
}, {}>>;
|
|
90
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { PageButton } from '../../edit-page-layout/src/edit-page-layout-types';
|
|
3
|
+
export interface ButtonItem extends Omit<PageButton, 'args'> {
|
|
4
|
+
args?: {
|
|
5
|
+
excelCode: string;
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
};
|
|
8
|
+
groupCode: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const useImportModalProps: {
|
|
11
|
+
readonly isEditPage: {
|
|
12
|
+
readonly type: BooleanConstructor;
|
|
13
|
+
readonly default: false;
|
|
14
|
+
};
|
|
15
|
+
readonly visible: {
|
|
16
|
+
readonly type: BooleanConstructor;
|
|
17
|
+
readonly default: false;
|
|
18
|
+
};
|
|
19
|
+
readonly button: {
|
|
20
|
+
readonly type: PropType<ButtonItem>;
|
|
21
|
+
readonly default: () => {};
|
|
22
|
+
};
|
|
23
|
+
readonly token: {
|
|
24
|
+
readonly type: StringConstructor;
|
|
25
|
+
readonly default: "";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export type UseImportModalProps = ExtractPropTypes<typeof useImportModalProps>;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { MessageType } from 'ant-design-vue/lib/message';
|
|
2
|
+
import type { ButtonItem } from './import-modal-types';
|
|
3
|
+
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
4
|
+
import type { UploadChangeParam } from 'ant-design-vue';
|
|
5
|
+
declare const _sfc_main: DefineComponent<{
|
|
6
|
+
readonly isEditPage: {
|
|
7
|
+
readonly type: BooleanConstructor;
|
|
8
|
+
readonly default: false;
|
|
9
|
+
};
|
|
10
|
+
readonly visible: {
|
|
11
|
+
readonly type: BooleanConstructor;
|
|
12
|
+
readonly default: false;
|
|
13
|
+
};
|
|
14
|
+
readonly button: {
|
|
15
|
+
readonly type: PropType<ButtonItem>;
|
|
16
|
+
readonly default: () => {};
|
|
17
|
+
};
|
|
18
|
+
readonly token: {
|
|
19
|
+
readonly type: StringConstructor;
|
|
20
|
+
readonly default: "";
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
visibleModal: Ref<boolean>;
|
|
24
|
+
isEditPage: Ref<boolean>;
|
|
25
|
+
importUrl: () => string;
|
|
26
|
+
open: () => void;
|
|
27
|
+
stepChange: (current: never) => void;
|
|
28
|
+
beforeUpload: (file: any) => false | undefined;
|
|
29
|
+
downloadFile: () => MessageType | undefined;
|
|
30
|
+
imortChangeEvent: (info: UploadChangeParam) => void;
|
|
31
|
+
importPreviewData: () => void;
|
|
32
|
+
downloadTaskErrorFiles: (errorId: string) => void;
|
|
33
|
+
handleClose: () => void;
|
|
34
|
+
uploadData: Ref<{}>;
|
|
35
|
+
button: Ref<ButtonItem>;
|
|
36
|
+
fileList: Ref<never[]>;
|
|
37
|
+
handleBefore: Ref<any>;
|
|
38
|
+
current: Ref<number>;
|
|
39
|
+
isPreview: Ref<number>;
|
|
40
|
+
excelCode: Ref<string>;
|
|
41
|
+
confirmLoading: Ref<boolean>;
|
|
42
|
+
uploadHeader: Ref<{
|
|
43
|
+
'X-Access-Token': string;
|
|
44
|
+
}>;
|
|
45
|
+
accept: Ref<string>;
|
|
46
|
+
params: Ref<any>;
|
|
47
|
+
errorId: Ref<string>;
|
|
48
|
+
tableColumns: Ref<never[]>;
|
|
49
|
+
tableData: Ref<never[]>;
|
|
50
|
+
dataKey: Ref<string>;
|
|
51
|
+
url: Ref<string>;
|
|
52
|
+
local_excelCode: Ref<string>;
|
|
53
|
+
isConfigUrl: Ref<string>;
|
|
54
|
+
fileName: Ref<string>;
|
|
55
|
+
isLoading: Ref<boolean>;
|
|
56
|
+
percent: Ref<number>;
|
|
57
|
+
itemCode: Ref<string>;
|
|
58
|
+
successCount: Ref<number>;
|
|
59
|
+
importFilesResult: Ref<any>;
|
|
60
|
+
importPreviewFilesData: Ref<any>;
|
|
61
|
+
importPreviewErrorId: Ref<string>;
|
|
62
|
+
failCount: Ref<number>;
|
|
63
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
64
|
+
readonly isEditPage: {
|
|
65
|
+
readonly type: BooleanConstructor;
|
|
66
|
+
readonly default: false;
|
|
67
|
+
};
|
|
68
|
+
readonly visible: {
|
|
69
|
+
readonly type: BooleanConstructor;
|
|
70
|
+
readonly default: false;
|
|
71
|
+
};
|
|
72
|
+
readonly button: {
|
|
73
|
+
readonly type: PropType<ButtonItem>;
|
|
74
|
+
readonly default: () => {};
|
|
75
|
+
};
|
|
76
|
+
readonly token: {
|
|
77
|
+
readonly type: StringConstructor;
|
|
78
|
+
readonly default: "";
|
|
79
|
+
};
|
|
80
|
+
}>>, {
|
|
81
|
+
readonly visible: boolean;
|
|
82
|
+
readonly token: string;
|
|
83
|
+
readonly button: ButtonItem;
|
|
84
|
+
readonly isEditPage: boolean;
|
|
85
|
+
}, {}>;
|
|
86
|
+
export default _sfc_main;
|
|
@@ -5,11 +5,15 @@ import * as QTreeSelect from './tree-select';
|
|
|
5
5
|
import * as QVxeSelect from './vxe-select';
|
|
6
6
|
import * as QCascader from './cascader';
|
|
7
7
|
import * as QBreadcrumb from './breadcrumb';
|
|
8
|
+
import * as QCountdown from './countdown';
|
|
8
9
|
import * as QCollapseTransition from './collapse-transition';
|
|
9
10
|
import * as QFieldSelectModal from './field-select-modal';
|
|
10
11
|
import * as QSelectModal from './select-modal';
|
|
11
12
|
import * as QRemoteSelect from './remote-select';
|
|
12
13
|
import * as QEditor from './editor';
|
|
14
|
+
import * as QSaleTemplate from './sale-template';
|
|
15
|
+
import * as QLadderPrice from './ladder-price';
|
|
16
|
+
import * as FlowViewModal from './flow-view';
|
|
13
17
|
import * as QEditPageLayout from './edit-page-layout';
|
|
14
18
|
import * as QDetailPageLayout from './detail-page-layout';
|
|
15
19
|
import * as QPageLayout from './page-layout';
|
|
@@ -23,11 +27,16 @@ import * as QDetailGrid from './detail-grid';
|
|
|
23
27
|
import * as QItemWrap from './item-wrap';
|
|
24
28
|
import * as QListLayout from './list-page-layout';
|
|
25
29
|
import * as QRadio from './radio';
|
|
26
|
-
import * as QCodeEditorModel from './
|
|
30
|
+
import * as QCodeEditorModel from './code-editor-model';
|
|
27
31
|
import * as QCheckBox from './checkbox';
|
|
28
32
|
import * as QCurrency from './currency';
|
|
29
33
|
import * as QUploadImage from './upload-image';
|
|
30
34
|
import * as QUploadFile from './upload-file';
|
|
35
|
+
import * as QUploadFileVxe from './upload-file-vxe';
|
|
31
36
|
import * as QCoutdown from './coutdown/index';
|
|
32
37
|
import * as QCardListLayout from './card-list-layout/index';
|
|
33
|
-
|
|
38
|
+
import * as QSelectTemplate from './select-template/index';
|
|
39
|
+
import * as QImportModal from './import-modal/index';
|
|
40
|
+
import * as QRelationGraph from './relation-graph/index';
|
|
41
|
+
import * as QAuditModal from './audit-modal/index';
|
|
42
|
+
export { QLayout, QSwitch, QSelect, QTreeSelect, QVxeSelect, QCascader, QBreadcrumb, QCountdown, QCollapseTransition, QEditPageLayout, QDetailPageLayout, QPageLayout, QLayoutPattern, QLayoutButtons, QLayoutAnchor, QEditForm, QDetailForm, QEditGrid, QDetailGrid, QItemWrap, QListLayout, QRadio, QFieldSelectModal, QCodeEditorModel, QCheckBox, QCurrency, QSelectModal, QUploadImage, QRemoteSelect, QEditor, QSaleTemplate, QLadderPrice, FlowViewModal, QUploadFile, QCoutdown, QCardListLayout, QUploadFileVxe, QSelectTemplate, QImportModal, QRelationGraph, QAuditModal, };
|
|
@@ -26,8 +26,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
26
26
|
classes: ComputedRef<{
|
|
27
27
|
[key: string]: string | boolean;
|
|
28
28
|
}>;
|
|
29
|
-
label: string
|
|
30
|
-
helpText: string
|
|
29
|
+
label: Ref<string>;
|
|
30
|
+
helpText: Ref<string>;
|
|
31
31
|
required: Ref<"0" | "1">;
|
|
32
32
|
disabled: Ref<boolean>;
|
|
33
33
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
@@ -49,8 +49,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
49
49
|
readonly default: "";
|
|
50
50
|
};
|
|
51
51
|
}>>, {
|
|
52
|
-
readonly label: string;
|
|
53
52
|
readonly disabled: boolean;
|
|
53
|
+
readonly label: string;
|
|
54
54
|
readonly required: "0" | "1";
|
|
55
55
|
readonly helpText: string;
|
|
56
56
|
}, {}>>;
|
|
@@ -22,8 +22,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
22
22
|
classes: ComputedRef<{
|
|
23
23
|
[key: string]: string | boolean;
|
|
24
24
|
}>;
|
|
25
|
-
label: string
|
|
26
|
-
helpText: string
|
|
25
|
+
label: Ref<string>;
|
|
26
|
+
helpText: Ref<string>;
|
|
27
27
|
required: Ref<"0" | "1">;
|
|
28
28
|
disabled: Ref<boolean>;
|
|
29
29
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
@@ -45,8 +45,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
45
45
|
readonly default: "";
|
|
46
46
|
};
|
|
47
47
|
}>>, {
|
|
48
|
-
readonly label: string;
|
|
49
48
|
readonly disabled: boolean;
|
|
49
|
+
readonly label: string;
|
|
50
50
|
readonly required: "0" | "1";
|
|
51
51
|
readonly helpText: string;
|
|
52
52
|
}, {}>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { RecordStringNumber } from '../select-modal';
|
|
2
|
+
import type { Config, Row } from './src/ladder-price-types';
|
|
3
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
4
|
+
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
5
|
+
import QLadderPrice from './src/ladder-price.vue';
|
|
6
|
+
declare const _default: SFCWithInstall<DefineComponent<{
|
|
7
|
+
value: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
config: {
|
|
12
|
+
type: PropType<Config>;
|
|
13
|
+
default: () => {};
|
|
14
|
+
};
|
|
15
|
+
isRow: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
row: {
|
|
20
|
+
type: PropType<Row>;
|
|
21
|
+
default(): {};
|
|
22
|
+
};
|
|
23
|
+
}, {
|
|
24
|
+
classes: ComputedRef<{
|
|
25
|
+
[x: string]: boolean;
|
|
26
|
+
}>;
|
|
27
|
+
value: Ref<string>;
|
|
28
|
+
config: Ref<Config>;
|
|
29
|
+
showModal: () => void;
|
|
30
|
+
clearInputValue: () => void;
|
|
31
|
+
ladderPriceModal: Ref<any>;
|
|
32
|
+
ladderNotPriceModal: Ref<any>;
|
|
33
|
+
handleOk: (itemList: RecordStringNumber[]) => void;
|
|
34
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
35
|
+
value: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
config: {
|
|
40
|
+
type: PropType<Config>;
|
|
41
|
+
default: () => {};
|
|
42
|
+
};
|
|
43
|
+
isRow: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
row: {
|
|
48
|
+
type: PropType<Row>;
|
|
49
|
+
default(): {};
|
|
50
|
+
};
|
|
51
|
+
}>>, {
|
|
52
|
+
row: Row;
|
|
53
|
+
value: string;
|
|
54
|
+
config: Config;
|
|
55
|
+
isRow: boolean;
|
|
56
|
+
}, {}>>;
|
|
57
|
+
export default _default;
|
|
58
|
+
export { QLadderPrice };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { Row } from './ladder-not-price-modal-types';
|
|
3
|
+
declare const _sfc_main: DefineComponent<{
|
|
4
|
+
isEmit: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
}, {
|
|
9
|
+
classes: ComputedRef<{
|
|
10
|
+
[x: string]: boolean;
|
|
11
|
+
}>;
|
|
12
|
+
modalVisible: Ref<boolean>;
|
|
13
|
+
ladderQuantity: Ref<number>;
|
|
14
|
+
tableData: Ref<Record<string, unknown>[]>;
|
|
15
|
+
gridOptions: any;
|
|
16
|
+
selectGrid: Ref<any>;
|
|
17
|
+
title: Ref<string>;
|
|
18
|
+
modalDefault: {
|
|
19
|
+
width: number;
|
|
20
|
+
showFooter: boolean;
|
|
21
|
+
showClose: boolean;
|
|
22
|
+
};
|
|
23
|
+
open: (row: Row, curFieldValue: string) => void;
|
|
24
|
+
addLadderQuantity: () => void;
|
|
25
|
+
deleteLadder: () => void;
|
|
26
|
+
setLadderOk: () => void;
|
|
27
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
28
|
+
isEmit: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
}>>, {
|
|
33
|
+
isEmit: boolean;
|
|
34
|
+
}, {}>;
|
|
35
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { Row } from './ladder-price-modal-types';
|
|
3
|
+
declare const _sfc_main: DefineComponent<{
|
|
4
|
+
isEmit: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
}, {
|
|
9
|
+
classes: ComputedRef<{
|
|
10
|
+
[x: string]: boolean;
|
|
11
|
+
}>;
|
|
12
|
+
modalVisible: Ref<boolean>;
|
|
13
|
+
ladderQuantity: Ref<number>;
|
|
14
|
+
tableData: Ref<Record<string, unknown>[]>;
|
|
15
|
+
selectGrid: Ref<any>;
|
|
16
|
+
gridOptions: any;
|
|
17
|
+
modalDefault: {
|
|
18
|
+
width: any;
|
|
19
|
+
showFooter: boolean;
|
|
20
|
+
showClose: boolean;
|
|
21
|
+
};
|
|
22
|
+
open: ({ row, columns, value }: {
|
|
23
|
+
row: Row;
|
|
24
|
+
columns: any;
|
|
25
|
+
value: string;
|
|
26
|
+
}) => void;
|
|
27
|
+
addLadderQuantity: () => void;
|
|
28
|
+
deleteLadder: () => void;
|
|
29
|
+
setLadderOk: () => void;
|
|
30
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
31
|
+
isEmit: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
}>>, {
|
|
36
|
+
isEmit: boolean;
|
|
37
|
+
}, {}>;
|
|
38
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { FormFieldsItem } from '../../edit-page-layout';
|
|
3
|
+
export interface Columns {
|
|
4
|
+
type?: string;
|
|
5
|
+
field?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
align?: string;
|
|
8
|
+
fieldLabelI18nKey?: string;
|
|
9
|
+
width?: number;
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
}
|
|
12
|
+
export interface Row extends FormFieldsItem {
|
|
13
|
+
taxCode: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const ladderNotPriceModalProps: {};
|
|
16
|
+
export type LadderNotPriceModalProps = ExtractPropTypes<typeof ladderNotPriceModalProps>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { FormFieldsItem } from '../../edit-page-layout';
|
|
3
|
+
export interface Columns {
|
|
4
|
+
type?: string;
|
|
5
|
+
field?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
align?: string;
|
|
8
|
+
fieldLabelI18nKey?: string;
|
|
9
|
+
width?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface Row extends FormFieldsItem {
|
|
12
|
+
taxCode: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const ladderNotPriceModalProps: {};
|
|
15
|
+
export type LadderNotPriceModalProps = ExtractPropTypes<typeof ladderNotPriceModalProps>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import type { FormFieldsItem, RecordStringNumber } from '../../edit-page-layout';
|
|
3
|
+
export type HandleBefore = (value?: RecordStringNumber) => Promise<string | boolean | void>;
|
|
4
|
+
export interface Extend {
|
|
5
|
+
current?: number;
|
|
6
|
+
modalConfigs?: unknown[];
|
|
7
|
+
}
|
|
8
|
+
export interface Config extends FormFieldsItem {
|
|
9
|
+
extend: Extend;
|
|
10
|
+
}
|
|
11
|
+
export interface Row extends FormFieldsItem {
|
|
12
|
+
taxCode: string;
|
|
13
|
+
}
|
|
14
|
+
export interface Form extends FormFieldsItem {
|
|
15
|
+
taxCode: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const ladderPriceProps: {
|
|
18
|
+
value: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
config: {
|
|
23
|
+
type: PropType<Config>;
|
|
24
|
+
default: () => {};
|
|
25
|
+
};
|
|
26
|
+
isRow: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
row: {
|
|
31
|
+
type: PropType<Row>;
|
|
32
|
+
default(): {};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export type LadderPriceProps = ExtractPropTypes<typeof ladderPriceProps>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { Config, Row } from './ladder-price-types';
|
|
2
|
+
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComputedRef } from 'vue';
|
|
3
|
+
import { RecordStringNumber } from '../../edit-page-layout';
|
|
4
|
+
declare const _sfc_main: DefineComponent<{
|
|
5
|
+
value: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
config: {
|
|
10
|
+
type: PropType<Config>;
|
|
11
|
+
default: () => {};
|
|
12
|
+
};
|
|
13
|
+
isRow: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
row: {
|
|
18
|
+
type: PropType<Row>;
|
|
19
|
+
default(): {};
|
|
20
|
+
};
|
|
21
|
+
}, {
|
|
22
|
+
classes: ComputedRef<{
|
|
23
|
+
[x: string]: boolean;
|
|
24
|
+
}>;
|
|
25
|
+
value: Ref<string>;
|
|
26
|
+
config: Ref<Config>;
|
|
27
|
+
showModal: () => void;
|
|
28
|
+
clearInputValue: () => void;
|
|
29
|
+
ladderPriceModal: Ref<any>;
|
|
30
|
+
ladderNotPriceModal: Ref<any>;
|
|
31
|
+
handleOk: (itemList: RecordStringNumber[]) => void;
|
|
32
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
33
|
+
value: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
config: {
|
|
38
|
+
type: PropType<Config>;
|
|
39
|
+
default: () => {};
|
|
40
|
+
};
|
|
41
|
+
isRow: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
row: {
|
|
46
|
+
type: PropType<Row>;
|
|
47
|
+
default(): {};
|
|
48
|
+
};
|
|
49
|
+
}>>, {
|
|
50
|
+
row: Row;
|
|
51
|
+
value: string;
|
|
52
|
+
config: Config;
|
|
53
|
+
isRow: boolean;
|
|
54
|
+
}, {}>;
|
|
55
|
+
export default _sfc_main;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GroupItem } from '../edit-page-layout';
|
|
2
|
-
import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
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 QLayoutAnchor from './src/layout-auchor.vue';
|
|
5
5
|
export * from './src/layout-anchor-types';
|
|
@@ -18,6 +18,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
18
18
|
title: any;
|
|
19
19
|
href: string;
|
|
20
20
|
}) => void;
|
|
21
|
+
groups: Ref<GroupItem[]>;
|
|
21
22
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
22
23
|
groups: {
|
|
23
24
|
type: PropType<GroupItem[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GroupItem } from '../../edit-page-layout';
|
|
2
|
-
import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
3
|
declare const _sfc_main: DefineComponent<{
|
|
4
4
|
groups: {
|
|
5
5
|
type: PropType<GroupItem[]>;
|
|
@@ -14,6 +14,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
14
14
|
title: any;
|
|
15
15
|
href: string;
|
|
16
16
|
}) => void;
|
|
17
|
+
groups: Ref<GroupItem[]>;
|
|
17
18
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
18
19
|
groups: {
|
|
19
20
|
type: PropType<GroupItem[]>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RecordStringNumber } from '../select-modal';
|
|
2
|
+
import type { PageButton } from '../edit-page-layout';
|
|
2
3
|
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
4
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
4
5
|
import QLayoutButtons from './src/layout-buttons.vue';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Pattern } from '../edit-page-layout';
|
|
2
|
-
import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
1
|
+
import type { Pattern, LayoutConfig, ComputedFieldType } from '../edit-page-layout';
|
|
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 QPageLayoutMode from './src/layout-pattern.vue';
|
|
5
5
|
export * from './src/layout-pattern-types';
|
|
@@ -15,6 +15,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
15
15
|
}>;
|
|
16
16
|
pattern: Pattern;
|
|
17
17
|
componentName: ComputedRef<Pattern>;
|
|
18
|
+
layoutConfig: Ref<LayoutConfig>;
|
|
19
|
+
patternNamedSlots: ComputedRef<{
|
|
20
|
+
prepend: string;
|
|
21
|
+
patternPrepend: string;
|
|
22
|
+
default: string;
|
|
23
|
+
patternDefault: string;
|
|
24
|
+
append: string;
|
|
25
|
+
patternAppend: string;
|
|
26
|
+
}[]>;
|
|
27
|
+
computedFieldSlots: ComputedRef<ComputedFieldType[]>;
|
|
18
28
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
19
29
|
title: {
|
|
20
30
|
type: PropType<string>;
|