@qqt-product/ui 0.0.13 → 0.0.15
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 +123349 -77525
- package/dist/index.umd.js +254 -15296
- 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/breadcrumb/index.d.ts +1 -1
- package/dist/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +1 -1
- 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 +3 -3
- package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +5 -5
- package/dist/lib/components/card-list-layout/src/index.vue.d.ts +8 -18
- package/dist/lib/components/card-list-layout/src/sidebar.vue.d.ts +1 -1
- package/dist/lib/components/cascader/index.d.ts +12 -10
- package/dist/lib/components/cascader/src/cascader.vue.d.ts +12 -10
- package/dist/lib/components/checkbox/index.d.ts +6 -6
- package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +6 -6
- package/dist/lib/components/code-editor-model/src/code-editor-model.vue.d.ts +121 -0
- package/dist/lib/components/collapse-transition/index.d.ts +1 -1
- package/dist/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +1 -1
- 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 +4 -14
- package/dist/lib/components/coutdown/src/coutdown.d.ts +0 -8
- package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +4 -22
- package/dist/lib/components/currency/index.d.ts +2 -2
- package/dist/lib/components/currency/src/currency.vue.d.ts +2 -2
- package/dist/lib/components/detail-form/index.d.ts +27 -6
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +27 -7
- package/dist/lib/components/detail-grid/index.d.ts +337 -288
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +336 -288
- package/dist/lib/components/detail-grid/src/hook/use-grid-config-hook.d.ts +2 -2
- package/dist/lib/components/detail-page-layout/index.d.ts +21 -4
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +20 -4
- package/dist/lib/components/edit-form/index.d.ts +31 -6
- 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 +30 -6
- package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +7 -1
- package/dist/lib/components/edit-grid/index.d.ts +338 -289
- package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +2 -2
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +337 -289
- package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +4 -4
- package/dist/lib/components/edit-page-layout/index.d.ts +20 -4
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +151 -26
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +20 -4
- package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
- package/dist/lib/components/editor/index.d.ts +23 -9
- package/dist/lib/components/editor/src/index.vue.d.ts +23 -9
- package/dist/lib/components/field-select-modal/index.d.ts +29 -13
- package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +11 -4
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +29 -13
- 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 +4 -4
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +4 -4
- 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/index.d.ts +2 -2
- package/dist/lib/components/layout/src/header/index.vue.d.ts +11 -11
- package/dist/lib/components/layout/src/header/navRight/customMessage.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/header/navRight/customPerson.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +9 -9
- package/dist/lib/components/layout/src/header/navRight/langSwitch.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +4 -4
- package/dist/lib/components/layout/src/header/navRight/settingDrawer.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/index.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/menu/deepCycleSubMenu.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/menu/menu.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/menu/secondLevelMenu.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/menu/subSecondMenu.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/sider/index.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/sider/logo.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/sider/search.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/types.d.ts +1 -0
- package/dist/lib/components/layout-anchor/index.d.ts +3 -2
- package/dist/lib/components/layout-anchor/src/layout-auchor.vue.d.ts +3 -2
- package/dist/lib/components/layout-buttons/index.d.ts +5 -4
- package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +3 -3
- package/dist/lib/components/layout-pattern/index.d.ts +13 -3
- package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +156 -7
- 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 +13 -3
- package/dist/lib/components/list-page-layout/index.d.ts +80 -18
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +25 -24
- package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/edit-nav-modal.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/common/help-text-modal/help-text-modal.vue.d.ts +1 -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 +646 -556
- package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +1 -3
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +14 -12
- package/dist/lib/components/list-page-layout/src/components/list-content-buttons/list-content-buttons.vue.d.ts +1 -1
- 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 +5 -3
- package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +9 -3
- package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +2 -1
- 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/components/list-header/module/tabs/index.vue.d.ts +1 -1
- 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 +78 -17
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +62 -10
- package/dist/lib/components/list-page-layout/src/tokens.d.ts +2 -2
- 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 +3 -2
- 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/page-layout/src/page-layout.vue.d.ts +1 -1
- package/dist/lib/components/radio/index.d.ts +6 -6
- package/dist/lib/components/radio/src/radio.vue.d.ts +6 -6
- package/dist/lib/components/relation-graph/src/relation-graph-types.d.ts +23 -0
- package/dist/lib/components/remote-select/index.d.ts +31 -72
- 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 +32 -73
- 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 +9 -9
- package/dist/lib/components/select/src/select-types.d.ts +5 -1
- package/dist/lib/components/select/src/select.vue.d.ts +9 -9
- package/dist/lib/components/select-modal/index.d.ts +118 -76
- 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 +118 -76
- 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/switch/index.d.ts +2 -2
- package/dist/lib/components/switch/src/switch.vue.d.ts +2 -2
- package/dist/lib/components/tree-select/index.d.ts +10 -9
- 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 +10 -9
- package/dist/lib/components/upload-file/index.d.ts +30 -31
- package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +29 -16
- package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +1 -1
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +19 -28
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +28 -29
- 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 +5 -3
- package/dist/lib/utils/event.d.ts +35 -2
- package/dist/style.css +1 -6
- package/package.json +35 -29
- package/dist/components/ComponentsDemo.vue.d.ts +0 -13
- package/dist/components/EditPage.vue.d.ts +0 -6011
- package/dist/components/PreviewList.vue.d.ts +0 -218
- package/dist/components/hook/use-field-select-modal-hook.d.ts +0 -288
- package/dist/components/login.vue.d.ts +0 -19
- package/dist/components/mock.d.ts +0 -260
- package/dist/components/mockList.d.ts +0 -44
- package/dist/lib/components/codeEditorModel/index.d.ts +0 -187
- package/dist/lib/components/codeEditorModel/src/codeEditorModel.vue.d.ts +0 -184
- package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts +0 -21
- package/dist/lib/components/upload-file/src/hook/use-operation-column-hook.d.ts +0 -15
- package/dist/router/index.d.ts +0 -4
- package/dist/stores/user.d.ts +0 -25
- package/dist/utils/qApiPlugin.d.ts +0 -6
- package/dist/views/dashboard/workspace.vue.d.ts +0 -6972
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { ButtonConfig } from '../../upload-file/src/hook/use-operation-column-button-hook';
|
|
2
|
+
import type { ColumnItemWithExtend } from '../../upload-file';
|
|
3
|
+
import type { RecordStringNumber } from '../../edit-page-layout';
|
|
4
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
5
|
+
import { FileDataTypes } from './upload-file-vxe-types';
|
|
6
|
+
declare const _sfc_main: DefineComponent<{
|
|
7
|
+
readonly row: {
|
|
8
|
+
readonly type: PropType<RecordStringNumber>;
|
|
9
|
+
readonly default: () => {};
|
|
10
|
+
};
|
|
11
|
+
readonly rowIndex: {
|
|
12
|
+
readonly type: NumberConstructor;
|
|
13
|
+
readonly default: 0;
|
|
14
|
+
};
|
|
15
|
+
readonly columnItem: {
|
|
16
|
+
readonly type: PropType<ColumnItemWithExtend>;
|
|
17
|
+
readonly default: () => {};
|
|
18
|
+
};
|
|
19
|
+
readonly groupType: {
|
|
20
|
+
readonly type: StringConstructor;
|
|
21
|
+
readonly default: "item";
|
|
22
|
+
};
|
|
23
|
+
readonly uploadBtnStatus: {
|
|
24
|
+
readonly type: BooleanConstructor;
|
|
25
|
+
readonly default: true;
|
|
26
|
+
};
|
|
27
|
+
readonly operationBtn: {
|
|
28
|
+
readonly type: ArrayConstructor;
|
|
29
|
+
readonly default: () => string[];
|
|
30
|
+
};
|
|
31
|
+
}, {
|
|
32
|
+
rowData: ComputedRef<FileDataTypes[]>;
|
|
33
|
+
rowIndex: ComputedRef<number>;
|
|
34
|
+
groupType: Ref<string>;
|
|
35
|
+
uploadBtnStatus: Ref<boolean>;
|
|
36
|
+
operationBtn: Ref<unknown[]>;
|
|
37
|
+
handleOpenFileUpload: () => void;
|
|
38
|
+
handleDownload: <T extends ButtonConfig>(payload: T) => void;
|
|
39
|
+
handlePreview: <T_1 extends ButtonConfig>(payload: T_1) => void;
|
|
40
|
+
handleDelete: (file: FileDataTypes) => void;
|
|
41
|
+
handleSpan: ComputedRef<number>;
|
|
42
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
43
|
+
readonly row: {
|
|
44
|
+
readonly type: PropType<RecordStringNumber>;
|
|
45
|
+
readonly default: () => {};
|
|
46
|
+
};
|
|
47
|
+
readonly rowIndex: {
|
|
48
|
+
readonly type: NumberConstructor;
|
|
49
|
+
readonly default: 0;
|
|
50
|
+
};
|
|
51
|
+
readonly columnItem: {
|
|
52
|
+
readonly type: PropType<ColumnItemWithExtend>;
|
|
53
|
+
readonly default: () => {};
|
|
54
|
+
};
|
|
55
|
+
readonly groupType: {
|
|
56
|
+
readonly type: StringConstructor;
|
|
57
|
+
readonly default: "item";
|
|
58
|
+
};
|
|
59
|
+
readonly uploadBtnStatus: {
|
|
60
|
+
readonly type: BooleanConstructor;
|
|
61
|
+
readonly default: true;
|
|
62
|
+
};
|
|
63
|
+
readonly operationBtn: {
|
|
64
|
+
readonly type: ArrayConstructor;
|
|
65
|
+
readonly default: () => string[];
|
|
66
|
+
};
|
|
67
|
+
}>>, {
|
|
68
|
+
readonly row: RecordStringNumber;
|
|
69
|
+
readonly groupType: string;
|
|
70
|
+
readonly operationBtn: unknown[];
|
|
71
|
+
readonly rowIndex: number;
|
|
72
|
+
readonly columnItem: ColumnItemWithExtend;
|
|
73
|
+
readonly uploadBtnStatus: boolean;
|
|
74
|
+
}, {}>;
|
|
75
|
+
export default _sfc_main;
|
|
@@ -179,13 +179,13 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
179
179
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
180
180
|
}, {
|
|
181
181
|
readonly disabled: boolean;
|
|
182
|
+
readonly accept: string;
|
|
182
183
|
readonly multiple: boolean;
|
|
183
|
-
readonly value: string;
|
|
184
184
|
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
185
|
+
readonly value: string;
|
|
185
186
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
186
|
-
readonly accept: string;
|
|
187
187
|
readonly canRemove: boolean;
|
|
188
188
|
readonly limit: number;
|
|
189
189
|
readonly uploadImageData: Record<string, any>;
|
|
190
|
-
}>>;
|
|
190
|
+
}, {}>>;
|
|
191
191
|
export default _default;
|
|
@@ -175,13 +175,13 @@ declare const _sfc_main: DefineComponent<{
|
|
|
175
175
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
176
176
|
}, {
|
|
177
177
|
readonly disabled: boolean;
|
|
178
|
+
readonly accept: string;
|
|
178
179
|
readonly multiple: boolean;
|
|
179
|
-
readonly value: string;
|
|
180
180
|
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
181
|
+
readonly value: string;
|
|
181
182
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
182
|
-
readonly accept: string;
|
|
183
183
|
readonly canRemove: boolean;
|
|
184
184
|
readonly limit: number;
|
|
185
185
|
readonly uploadImageData: Record<string, any>;
|
|
186
|
-
}>;
|
|
186
|
+
}, {}>;
|
|
187
187
|
export default _sfc_main;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
import echarts from './lib';
|
|
3
|
+
import type { EChartsOption, SetOptionOpts } from 'echarts';
|
|
4
|
+
import { UseChartsOptionType } from './types';
|
|
5
|
+
export * from './types';
|
|
6
|
+
export default function useChart(elRef: Ref<HTMLDivElement>, option?: UseChartsOptionType): {
|
|
7
|
+
setOption: (option: EChartsOption, opts?: boolean | SetOptionOpts, lazyUpdate?: boolean) => void;
|
|
8
|
+
getInstance: () => echarts.ECharts | null;
|
|
9
|
+
showLoading: () => void;
|
|
10
|
+
hideLoading: () => void;
|
|
11
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare enum RenderType {
|
|
2
|
+
SVGRenderer = "SVGRenderer",
|
|
3
|
+
CanvasRenderer = "CanvasRenderer"
|
|
4
|
+
}
|
|
5
|
+
export declare enum ThemeType {
|
|
6
|
+
Light = "light",
|
|
7
|
+
Dark = "dark",
|
|
8
|
+
Default = "default"
|
|
9
|
+
}
|
|
10
|
+
export interface AnimationType {
|
|
11
|
+
enable?: boolean;
|
|
12
|
+
styles?: {
|
|
13
|
+
[attr: string]: string;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export interface UseChartsOptionType {
|
|
17
|
+
autoChartSize?: boolean;
|
|
18
|
+
animation?: AnimationType;
|
|
19
|
+
render?: RenderType;
|
|
20
|
+
theme?: ThemeType;
|
|
21
|
+
}
|
|
@@ -38,7 +38,13 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
38
38
|
default: unknown;
|
|
39
39
|
};
|
|
40
40
|
readonly onChange: {
|
|
41
|
-
type: PropType<((value
|
|
41
|
+
type: PropType<(({ value, label }: {
|
|
42
|
+
value: string;
|
|
43
|
+
label: string;
|
|
44
|
+
}) => void) | (({ value, label }: {
|
|
45
|
+
value: string;
|
|
46
|
+
label: string;
|
|
47
|
+
}) => void)[]>;
|
|
42
48
|
default: unknown;
|
|
43
49
|
};
|
|
44
50
|
}, {
|
|
@@ -96,21 +102,33 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
96
102
|
default: unknown;
|
|
97
103
|
};
|
|
98
104
|
readonly onChange: {
|
|
99
|
-
type: PropType<((value
|
|
105
|
+
type: PropType<(({ value, label }: {
|
|
106
|
+
value: string;
|
|
107
|
+
label: string;
|
|
108
|
+
}) => void) | (({ value, label }: {
|
|
109
|
+
value: string;
|
|
110
|
+
label: string;
|
|
111
|
+
}) => void)[]>;
|
|
100
112
|
default: unknown;
|
|
101
113
|
};
|
|
102
114
|
}>> & {
|
|
103
115
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
104
116
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
105
117
|
}, {
|
|
106
|
-
readonly dictCode: string;
|
|
107
118
|
readonly busAccount: string;
|
|
108
|
-
readonly options: SelectOption[];
|
|
109
119
|
readonly multiple: boolean;
|
|
110
120
|
readonly placeholder: string;
|
|
111
|
-
readonly onChange: ((value
|
|
121
|
+
readonly onChange: (({ value, label }: {
|
|
122
|
+
value: string;
|
|
123
|
+
label: string;
|
|
124
|
+
}) => void) | (({ value, label }: {
|
|
125
|
+
value: string;
|
|
126
|
+
label: string;
|
|
127
|
+
}) => void)[];
|
|
128
|
+
readonly options: SelectOption[];
|
|
112
129
|
readonly maxTagCount: number;
|
|
130
|
+
readonly dictCode: string;
|
|
113
131
|
readonly 'onUpdate:modelValue': ((value: string) => void) | ((value: string) => void)[];
|
|
114
132
|
readonly modelValue: string;
|
|
115
|
-
}>>;
|
|
133
|
+
}, {}>>;
|
|
116
134
|
export default _default;
|
|
@@ -46,7 +46,13 @@ export declare const vxeSelectProps: {
|
|
|
46
46
|
default: unknown;
|
|
47
47
|
};
|
|
48
48
|
readonly onChange: {
|
|
49
|
-
type: PropType<((value
|
|
49
|
+
type: PropType<(({ value, label }: {
|
|
50
|
+
value: string;
|
|
51
|
+
label: string;
|
|
52
|
+
}) => void) | (({ value, label }: {
|
|
53
|
+
value: string;
|
|
54
|
+
label: string;
|
|
55
|
+
}) => void)[]>;
|
|
50
56
|
default: unknown;
|
|
51
57
|
};
|
|
52
58
|
};
|
|
@@ -34,7 +34,13 @@ declare const _sfc_main: DefineComponent<{
|
|
|
34
34
|
default: unknown;
|
|
35
35
|
};
|
|
36
36
|
readonly onChange: {
|
|
37
|
-
type: PropType<((value
|
|
37
|
+
type: PropType<(({ value, label }: {
|
|
38
|
+
value: string;
|
|
39
|
+
label: string;
|
|
40
|
+
}) => void) | (({ value, label }: {
|
|
41
|
+
value: string;
|
|
42
|
+
label: string;
|
|
43
|
+
}) => void)[]>;
|
|
38
44
|
default: unknown;
|
|
39
45
|
};
|
|
40
46
|
}, {
|
|
@@ -92,21 +98,33 @@ declare const _sfc_main: DefineComponent<{
|
|
|
92
98
|
default: unknown;
|
|
93
99
|
};
|
|
94
100
|
readonly onChange: {
|
|
95
|
-
type: PropType<((value
|
|
101
|
+
type: PropType<(({ value, label }: {
|
|
102
|
+
value: string;
|
|
103
|
+
label: string;
|
|
104
|
+
}) => void) | (({ value, label }: {
|
|
105
|
+
value: string;
|
|
106
|
+
label: string;
|
|
107
|
+
}) => void)[]>;
|
|
96
108
|
default: unknown;
|
|
97
109
|
};
|
|
98
110
|
}>> & {
|
|
99
111
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
100
112
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
101
113
|
}, {
|
|
102
|
-
readonly dictCode: string;
|
|
103
114
|
readonly busAccount: string;
|
|
104
|
-
readonly options: SelectOption[];
|
|
105
115
|
readonly multiple: boolean;
|
|
106
116
|
readonly placeholder: string;
|
|
107
|
-
readonly onChange: ((value
|
|
117
|
+
readonly onChange: (({ value, label }: {
|
|
118
|
+
value: string;
|
|
119
|
+
label: string;
|
|
120
|
+
}) => void) | (({ value, label }: {
|
|
121
|
+
value: string;
|
|
122
|
+
label: string;
|
|
123
|
+
}) => void)[];
|
|
124
|
+
readonly options: SelectOption[];
|
|
108
125
|
readonly maxTagCount: number;
|
|
126
|
+
readonly dictCode: string;
|
|
109
127
|
readonly 'onUpdate:modelValue': ((value: string) => void) | ((value: string) => void)[];
|
|
110
128
|
readonly modelValue: string;
|
|
111
|
-
}>;
|
|
129
|
+
}, {}>;
|
|
112
130
|
export default _sfc_main;
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -11,15 +11,17 @@ export { LAYOUT_PROPS_TOKEN, LAYOUT_PROPS_TOKEN_DEFAULT_VALUE } from './componen
|
|
|
11
11
|
export * as GlobalListPageLayoutTypes from './components/list-page-layout/src/types';
|
|
12
12
|
import usePromiseStepHook from './components/page-layout/src/hook/use-promise-step';
|
|
13
13
|
import useRefInstanceHook from './components/page-layout/src/hook/use-ref-instance-hook';
|
|
14
|
+
import useChartHook from './components/useChart/index';
|
|
14
15
|
import useButtonFunctionHook from './components/list-page-layout/src/hooks/use-button-function-hook';
|
|
15
|
-
|
|
16
|
+
import useExportXlsHook from './components/list-page-layout/src/hooks/export-xls-hook';
|
|
17
|
+
export { usePromiseStepHook, useRefInstanceHook, useChartHook, useButtonFunctionHook, useExportXlsHook };
|
|
16
18
|
export * from './components/page-layout/src/constant';
|
|
17
19
|
export { LAYOUT_CONFIG_TOKEN, LAYOUT_CONFIG_TOKEN_DEFAULT_VALUE, DEFAULT_VALUE_TOKEN, DEFAULT_VALUE_TOKEN_DEFAULT_VALUE, LAYOUT_PAGE_DATA_TOKEN, LAYOUT_PAGE_DATA_TOKEN_DEFAULT_VALUE, } from './components/page-layout/src/token';
|
|
18
20
|
export { getRemoteJsFilePath, loadJS, requireInjection } from './components/page-layout/src/util';
|
|
21
|
+
export { viewVxeTableConfig, editVxeTableConfig } from './setting/vxe-table/config';
|
|
19
22
|
import useFileColumnHook from './components/upload-file/src/hook/use-file-column-hook';
|
|
20
23
|
import useOperationColumnButtonHook from './components/upload-file/src/hook/use-operation-column-button-hook';
|
|
21
|
-
|
|
22
|
-
export { useFileColumnHook, useOperationColumnButtonHook, useOperationColumnHook };
|
|
24
|
+
export { useFileColumnHook, useOperationColumnButtonHook };
|
|
23
25
|
export declare const qqtUI: () => {
|
|
24
26
|
install: (app: App) => void;
|
|
25
27
|
};
|
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
import type { Emitter } from '@qqt-product/utils';
|
|
2
2
|
import { VxeTableInstance } from 'vxe-table';
|
|
3
|
-
import { SYMBOL_BINDFUNCTION, SYMBOL_VXE_BINDFUNCTION, SYMBOL_ADD_ONE_ROW, SYMBOL_DELETE_ROWS, SYMBOL_CUSTOM_CLICK, SYMBOL_VALIDATE, SYMBOL_VALIDATE_RESULT, SYMBOL_VALIDATE_SUCCESS, SYMBOL_REFRESH, SYMBOL_BACK, SYMBOL_SAVE, SYMBOL_PUBLISH, SYMBOL_SUBMIT, SYMBOL_UPLOAD, SYMBOL_UPLOAD_GRID } from '../../lib/components/page-layout';
|
|
4
|
-
import type { BindFunctionEvent, VxeBindFunctionEvent, PageButton, PageButtonWithGroupCode, PageButtonDeleteRow, ValidateResult } from '../../lib/components/edit-page-layout';
|
|
3
|
+
import { SYMBOL_BINDFUNCTION, SYMBOL_CUSTOM_BINDFUNCTION, SYMBOL_VXE_BINDFUNCTION, SYMBOL_CUSTOM_VXE_BINDFUNCTION, SYMBOL_ADD_ONE_ROW, SYMBOL_DELETE_ROWS, SYMBOL_CUSTOM_CLICK, SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK, SYMBOL_CACHE_BUTTON, SYMBOL_CACHE_PAGEDATA, SYMBOL_CACHE_REFRESH, SYMBOL_CACHE_SHOW_MESSAGE, SYMBOL_VALIDATE, SYMBOL_VALIDATE_RESULT, SYMBOL_VALIDATE_SUCCESS, SYMBOL_REFRESH, SYMBOL_BACK, SYMBOL_SAVE, SYMBOL_PUBLISH, SYMBOL_SUBMIT, SYMBOL_CONFIRM, SYMBOL_REJECT, SYMBOL_UPLOAD, SYMBOL_UPLOAD_GRID, SYMBOL_CANCELAUDIT, SYMBOL_DOWNLOAD_ALL, SYMBOL_REMOVE_ALL, SYMBOL_CHECKBOX_CHANGE, SYMBOL_CHECKBOX_ALL, SYMBOL_IMPORT_ROWS, SYMBOL_FLOW_VIEW, SYMBOL_AUDIT_AGREE, SYMBOL_AUDIT_REFUSE, SYMBOL_AUDIT_INFORMED, SYMBOL_AUDIT_TRANSFER, SYMBOL_AUDIT_BACK, SYMBOL_AUDIT_TRANSACTION, SYMBOL_AUDIT_INVALID, SYMBOL_AUDIT_REVOCATION, SYMBOL_AUDIT_REVOCATION_PRE_SIGN, SYMBOL_AUDIT_FLOW_IMAGE, SYMBOL_AUDIT_APPROVAL_COMMENT, SYMBOL_AUDIT_SIGN_NODE, SYMBOL_AUDIT_PRE_SIGN, SYMBOL_AUDIT_AFTER_SIGN, SYMBOL_AUDIT_PRINT, SYMBOL_AUDIT_ADD_NODE_HISTORY, SYMBOL_AUDIT_CHAT } from '../../lib/components/page-layout';
|
|
4
|
+
import type { RecordStringNumber, BindFunctionEvent, VxeBindFunctionEvent, PageButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageButtonDownLoad, ValidateResult, FormFieldsItem, ColumnItem, PageButtonDeleteFileRow, GridCheckboxChangeParamsWithGroupCoe, GridCheckboxAllParamsWithGroupCoe } from '../../lib/components/edit-page-layout';
|
|
5
5
|
import type { ButtonItem, ObjectMap } from '../../lib/components/list-page-layout';
|
|
6
6
|
import type { VxeItemFileUpload } from '../../lib/components/upload-file';
|
|
7
7
|
import { SYMBOL_GRID_INSTANCE, SYMBOL_HANDLE_SETTING, SYMBOL_HANDLE_ADD, SYMBOL_HANDLE_EXPORT, SYMBOL_HANDLE_IMPORT, SYMBOL_HANDLE_QUICK_NAV, SYMBOL_HANDLE_RECORD, SYMBOL_HANDLE_HELP_TEXT, SYMBOL_HANDLE_ATTACHMENT_TEXT, SYMBOL_HANDLE_VIDEO_TEXT, SYMBOL_FETCH_NAV_DATA } from '../components/list-page-layout/src/symbol';
|
|
8
8
|
export type Events = {
|
|
9
9
|
[SYMBOL_BINDFUNCTION]: BindFunctionEvent;
|
|
10
|
+
[SYMBOL_CUSTOM_BINDFUNCTION]: BindFunctionEvent;
|
|
10
11
|
[SYMBOL_VXE_BINDFUNCTION]: VxeBindFunctionEvent;
|
|
12
|
+
[SYMBOL_CUSTOM_VXE_BINDFUNCTION]: VxeBindFunctionEvent;
|
|
11
13
|
[SYMBOL_ADD_ONE_ROW]: PageButtonWithGroupCode;
|
|
12
14
|
[SYMBOL_DELETE_ROWS]: PageButtonDeleteRow;
|
|
13
15
|
[SYMBOL_CUSTOM_CLICK]: PageButtonWithGroupCode;
|
|
16
|
+
[SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK]: FormFieldsItem | ColumnItem;
|
|
17
|
+
[SYMBOL_CACHE_BUTTON]: PageButton;
|
|
18
|
+
[SYMBOL_CACHE_PAGEDATA]: RecordStringNumber;
|
|
19
|
+
[SYMBOL_CACHE_REFRESH]: boolean;
|
|
20
|
+
[SYMBOL_CACHE_SHOW_MESSAGE]: boolean;
|
|
14
21
|
[SYMBOL_VALIDATE]: PageButton;
|
|
15
22
|
[SYMBOL_VALIDATE_RESULT]: ValidateResult;
|
|
16
23
|
[SYMBOL_VALIDATE_SUCCESS]: PageButton;
|
|
@@ -19,6 +26,8 @@ export type Events = {
|
|
|
19
26
|
[SYMBOL_SAVE]: PageButton;
|
|
20
27
|
[SYMBOL_PUBLISH]: PageButton;
|
|
21
28
|
[SYMBOL_SUBMIT]: PageButton;
|
|
29
|
+
[SYMBOL_CONFIRM]: PageButton;
|
|
30
|
+
[SYMBOL_REJECT]: PageButton;
|
|
22
31
|
[SYMBOL_GRID_INSTANCE]: VxeTableInstance;
|
|
23
32
|
[SYMBOL_HANDLE_SETTING]: string | number | undefined;
|
|
24
33
|
[SYMBOL_HANDLE_ADD]: ButtonItem;
|
|
@@ -32,6 +41,30 @@ export type Events = {
|
|
|
32
41
|
[SYMBOL_FETCH_NAV_DATA]: string | number | undefined;
|
|
33
42
|
[SYMBOL_UPLOAD]: PageButtonWithGroupCode;
|
|
34
43
|
[SYMBOL_UPLOAD_GRID]: VxeItemFileUpload;
|
|
44
|
+
[SYMBOL_CANCELAUDIT]: PageButton;
|
|
45
|
+
[SYMBOL_DOWNLOAD_ALL]: PageButtonDownLoad;
|
|
46
|
+
[SYMBOL_REMOVE_ALL]: PageButtonDeleteFileRow;
|
|
47
|
+
[SYMBOL_CHECKBOX_CHANGE]: GridCheckboxChangeParamsWithGroupCoe;
|
|
48
|
+
[SYMBOL_CHECKBOX_ALL]: GridCheckboxAllParamsWithGroupCoe;
|
|
49
|
+
[SYMBOL_IMPORT_ROWS]: PageButton;
|
|
50
|
+
[SYMBOL_FLOW_VIEW]: PageButton;
|
|
51
|
+
[SYMBOL_AUDIT_AGREE]: PageButton;
|
|
52
|
+
[SYMBOL_AUDIT_REFUSE]: PageButton;
|
|
53
|
+
[SYMBOL_AUDIT_INFORMED]: PageButton;
|
|
54
|
+
[SYMBOL_AUDIT_TRANSFER]: PageButton;
|
|
55
|
+
[SYMBOL_AUDIT_BACK]: PageButton;
|
|
56
|
+
[SYMBOL_AUDIT_TRANSACTION]: PageButton;
|
|
57
|
+
[SYMBOL_AUDIT_INVALID]: PageButton;
|
|
58
|
+
[SYMBOL_AUDIT_REVOCATION]: PageButton;
|
|
59
|
+
[SYMBOL_AUDIT_REVOCATION_PRE_SIGN]: PageButton;
|
|
60
|
+
[SYMBOL_AUDIT_FLOW_IMAGE]: PageButton;
|
|
61
|
+
[SYMBOL_AUDIT_APPROVAL_COMMENT]: PageButton;
|
|
62
|
+
[SYMBOL_AUDIT_SIGN_NODE]: PageButton;
|
|
63
|
+
[SYMBOL_AUDIT_PRE_SIGN]: PageButton;
|
|
64
|
+
[SYMBOL_AUDIT_AFTER_SIGN]: PageButton;
|
|
65
|
+
[SYMBOL_AUDIT_PRINT]: PageButton;
|
|
66
|
+
[SYMBOL_AUDIT_ADD_NODE_HISTORY]: PageButton;
|
|
67
|
+
[SYMBOL_AUDIT_CHAT]: PageButton;
|
|
35
68
|
};
|
|
36
69
|
declare const emitter: Emitter<Events>;
|
|
37
70
|
export default emitter;
|