@qqt-product/system 7.0.1 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/index.es.js +22930 -19462
  2. package/dist/index.umd.js +316 -42
  3. package/dist/lib/components/QAccountList/src/QAccountCreate.vue.d.ts +33 -0
  4. package/dist/lib/components/QAccountList/src/QAccountDetail.vue.d.ts +33 -0
  5. package/dist/lib/components/QAccountList/src/QAccountEdit.vue.d.ts +33 -0
  6. package/dist/lib/components/QCostCustomConfigEdit/component/AddDictCodeModal.vue.d.ts +25 -0
  7. package/dist/lib/components/QCostCustomConfigEdit/component/TempalePreviewModal.vue.d.ts +31 -0
  8. package/dist/lib/components/QCostCustomConfigEdit/component/dataFormatComponent.d.ts +46 -0
  9. package/dist/lib/components/QCostCustomConfigEdit/component/regexComponent.d.ts +40 -0
  10. package/dist/lib/components/QCostCustomConfigEdit/src/QCostCustomConfigEdit.vue.d.ts +1209 -0
  11. package/dist/lib/components/QCostCustomConfigEdit/src/QcustomConfigRender.d.ts +12 -0
  12. package/dist/lib/components/QCostCustomConfigEdit/src/types.d.ts +61 -0
  13. package/dist/lib/components/QCostCustomConfigEdit/src/useConfigComputed.d.ts +7 -0
  14. package/dist/lib/components/QCostCustomConfigEdit/src/useConfigData.d.ts +86 -0
  15. package/dist/lib/components/QCostCustomConfigEdit/src/useConfigMethods.d.ts +16 -0
  16. package/dist/lib/components/QCostCustomConfigEdit/src/useConstant.d.ts +18 -0
  17. package/dist/lib/components/QCostCustomConfigList/src/QCostCustomConfigList.vue.d.ts +105 -0
  18. package/dist/lib/components/QCostCustomConfigList/src/useConfigData.d.ts +17 -0
  19. package/dist/lib/components/QCostCustomConfigList/src/useMethods.d.ts +15 -0
  20. package/dist/lib/components/QElsMsgRecordList/src/QElsMsgRecordDetail.vue.d.ts +33 -0
  21. package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsDetail.vue.d.ts +33 -0
  22. package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue.d.ts +33 -0
  23. package/dist/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue.d.ts +33 -0
  24. package/dist/lib/components/QPermissionDataList/src/QPermissionDataList.vue.d.ts +1 -0
  25. package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue.d.ts +33 -0
  26. package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue.d.ts +33 -0
  27. package/dist/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue.d.ts +10 -1
  28. package/dist/lib/components/index.d.ts +3 -1
  29. package/dist/lib/components/integratedNodesList/src/QIntegratedNodesDetail.vue.d.ts +33 -0
  30. package/dist/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue.d.ts +33 -0
  31. package/dist/lib/components/integratedReportSearchList/src/index.vue.d.ts +10 -0
  32. package/dist/style.css +1 -1
  33. package/package.json +9 -9
@@ -0,0 +1,12 @@
1
+ import type { customContentSlotParams, customEditSlotParams } from './types';
2
+ import { Ref } from 'vue';
3
+ export declare function useColumnSlots(elsAccount: Ref): {
4
+ purchaseOperation_defult: ({ row }: customContentSlotParams) => JSX.Element[];
5
+ purchaseOperation_edit: ({ row, column }: customEditSlotParams) => JSX.Element[];
6
+ saleOperation_default: ({ row }: customContentSlotParams) => JSX.Element[];
7
+ saleOperation_edit: ({ row, column }: customEditSlotParams) => JSX.Element[];
8
+ defaultValue_default: ({ row }: customContentSlotParams) => any[];
9
+ defaultValue_edit: ({ row }: customEditSlotParams) => any[];
10
+ defaultValue_header: () => JSX.Element[];
11
+ right_header: () => JSX.Element[];
12
+ };
@@ -0,0 +1,61 @@
1
+ import type { Ref } from 'vue';
2
+ import { VxeTableDefines, VxeColumnPropTypes, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor } from 'vxe-table';
3
+ export interface MapObjectNoneType {
4
+ [pro: string]: any;
5
+ }
6
+ export interface RequestConfig extends MapObjectNoneType {
7
+ baseURL?: string;
8
+ headers?: object;
9
+ timeout?: number;
10
+ url?: string;
11
+ params?: object;
12
+ data?: object;
13
+ }
14
+ export interface ResponseData extends MapObjectNoneType {
15
+ code?: number;
16
+ message?: string;
17
+ result?: any;
18
+ success?: boolean;
19
+ }
20
+ export interface HttpClient {
21
+ get(config: RequestConfig): Promise<ResponseData>;
22
+ post(config: RequestConfig): Promise<ResponseData>;
23
+ }
24
+ export declare const INJECT_HTTP = "http";
25
+ export declare function getProperty<T, K extends keyof T>(o: T, name: K): T[K];
26
+ export type GridQConfigEditRef = {
27
+ [pro: string]: Ref;
28
+ };
29
+ export interface GridQConfigUnkownObj {
30
+ sys?: string;
31
+ sortOrder?: number;
32
+ option?: any;
33
+ row?: any;
34
+ }
35
+ export interface customContentSlotParams {
36
+ column: VxeTableDefines.ColumnInfo;
37
+ columnIndex: number;
38
+ $columnIndex: number;
39
+ row: any;
40
+ rowIndex: number;
41
+ $rowIndex: number;
42
+ isHidden: boolean;
43
+ fixed: VxeColumnPropTypes.Fixed;
44
+ type: string;
45
+ }
46
+ export interface customEditSlotParams {
47
+ column: VxeTableDefines.ColumnInfo;
48
+ columnIndex: number;
49
+ $columnIndex: number;
50
+ row: any;
51
+ rowIndex: number;
52
+ $rowIndex: number;
53
+ }
54
+ export interface customActiveMethod {
55
+ row: any;
56
+ rowIndex: number;
57
+ column: VxeTableDefines.ColumnInfo;
58
+ columnIndex: number;
59
+ $table: VxeTableConstructor & VxeTablePrivateMethods;
60
+ $grid: VxeGridConstructor | null | undefined;
61
+ }
@@ -0,0 +1,7 @@
1
+ import type { ComputedRef } from 'vue';
2
+ import { MapObjectNoneType } from './types';
3
+ export declare function useConfigComputed(): {
4
+ showBusinessTips: ComputedRef<string | null>;
5
+ gridHeight: ComputedRef<number>;
6
+ commonDevelopTabs: ComputedRef<MapObjectNoneType[]>;
7
+ };
@@ -0,0 +1,86 @@
1
+ import type { Ref, ShallowRef } from 'vue';
2
+ import * as customConfigEdits from './types';
3
+ export declare function useConfigData(): {
4
+ formRef: Ref<any>;
5
+ groupGrid: Ref<any>;
6
+ form: {
7
+ templateName: string;
8
+ businessType: string;
9
+ company: string;
10
+ purchaseOrg: string;
11
+ purchaseGroup: string;
12
+ auditLayout: string;
13
+ sortOrder: number;
14
+ editLayout: string;
15
+ examineLayout: string;
16
+ defaultTypeFlag: boolean;
17
+ templateNumber: string;
18
+ templateVersion: string;
19
+ extend: string;
20
+ id: string;
21
+ elsAccount: string;
22
+ defaultType: string;
23
+ };
24
+ confirmLoading: Ref<boolean>;
25
+ currentStep: ShallowRef<number>;
26
+ companyCode: ShallowRef<string>;
27
+ purchaseOrganization: ShallowRef<string>;
28
+ purchaseGroup: ShallowRef<string>;
29
+ groupData: Ref<customConfigEdits.MapObjectNoneType[] | undefined>;
30
+ headData: Ref<customConfigEdits.MapObjectNoneType[] | undefined>;
31
+ itemData: Ref<customConfigEdits.MapObjectNoneType[] | undefined>;
32
+ headGrid: Ref<any>;
33
+ fieldTypeOptain: {
34
+ value: string;
35
+ label: string;
36
+ }[];
37
+ headRules: ShallowRef<{
38
+ groupCode: {
39
+ required: boolean;
40
+ message: string;
41
+ }[];
42
+ fieldName: {
43
+ required: boolean;
44
+ message: string;
45
+ }[];
46
+ fieldLabel: {
47
+ required: boolean;
48
+ message: string;
49
+ }[];
50
+ fieldType: {
51
+ required: boolean;
52
+ message: string;
53
+ }[];
54
+ }>;
55
+ fieldData: Ref<customConfigEdits.MapObjectNoneType[] | undefined>;
56
+ visible: Ref<boolean>;
57
+ selectGrid: Ref<any>;
58
+ currentDrawer: Ref<customConfigEdits.MapObjectNoneType>;
59
+ dictCodeModal: Ref<any>;
60
+ currentDictRow: Ref<any>;
61
+ currentItemGrid: Ref<any>;
62
+ drawerVisible: Ref<boolean>;
63
+ codeEditorFields: ShallowRef<string[]>;
64
+ editorModalFlag: Ref<boolean>;
65
+ sampleCode: Ref<string | undefined>;
66
+ nowFieldType: Ref<string | undefined>;
67
+ switchFields: ShallowRef<string[]>;
68
+ itemRules: ShallowRef<{
69
+ fieldName: {
70
+ required: boolean;
71
+ message: string;
72
+ }[];
73
+ fieldLabel: {
74
+ required: boolean;
75
+ message: string;
76
+ }[];
77
+ fieldType: {
78
+ required: boolean;
79
+ message: string;
80
+ }[];
81
+ }>;
82
+ itemGrid: Ref<any>;
83
+ remoteJsFilePath: Ref<string>;
84
+ perviewOpen: ShallowRef<boolean>;
85
+ currentRow: Ref<{}>;
86
+ };
@@ -0,0 +1,16 @@
1
+ import { Ref } from 'vue';
2
+ import type { GridQConfigUnkownObj, customActiveMethod, MapObjectNoneType, HttpClient } from './types';
3
+ export declare function useConfigMethods(): {
4
+ filterFieldNameMethod: ({ option, row }: GridQConfigUnkownObj) => boolean;
5
+ filterFieldLabelMethod: ({ option, row }: GridQConfigUnkownObj) => boolean;
6
+ setGridValeByField: (currentRow: MapObjectNoneType, field: string, value: unknown) => void;
7
+ changeFilterEvent: (evnt: Event, option: MapObjectNoneType, $panel: MapObjectNoneType) => void;
8
+ filterGroupCodeMethod: ({ option, row }: GridQConfigUnkownObj) => boolean;
9
+ removeDictCode: (row: MapObjectNoneType) => void;
10
+ };
11
+ export declare function useConfigElsAccountMethods(elsAccount: Ref): {
12
+ activeCellMethod: ({ row, column }: customActiveMethod) => boolean;
13
+ };
14
+ export declare function useConigApiMethods(qHttp: HttpClient): {
15
+ handleExportXls: (fileName: string, headId: string, type: string, defineColumnCode: string, exportXlsUrl: string, callback: () => void) => void;
16
+ };
@@ -0,0 +1,18 @@
1
+ export declare const EditSample: {
2
+ bindFunctionHead: string;
3
+ initFunctionHead: string;
4
+ extendHead: string;
5
+ fieldValidatorHead: string;
6
+ formulaHead: string;
7
+ bindFunctionRow: string;
8
+ initFunctionRow: string;
9
+ extendRow: string;
10
+ fieldValidatorRow: string;
11
+ formulaRow: string;
12
+ };
13
+ export declare const url: {
14
+ add: string;
15
+ edit: string;
16
+ detail: string;
17
+ publish: string;
18
+ };
@@ -0,0 +1,105 @@
1
+ import type { DefineComponent, ShallowRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import { MapObjectNoneType } from '../../../utils/global.types';
3
+ declare const _sfc_main: DefineComponent<{
4
+ userInfo: {
5
+ type: ObjectConstructor;
6
+ defalut: () => {};
7
+ };
8
+ }, {
9
+ pageData: {
10
+ statusConfig: {
11
+ show: boolean;
12
+ };
13
+ optionConfig: {
14
+ attrs: {};
15
+ extend: {};
16
+ options: ({
17
+ authorityCode: string;
18
+ type: string;
19
+ title: string;
20
+ click: ({ row }: MapObjectNoneType) => void;
21
+ disabled?: undefined;
22
+ } | {
23
+ authorityCode: string;
24
+ type: string;
25
+ title: string;
26
+ click: ({ row }: {
27
+ row?: MapObjectNoneType | undefined;
28
+ }) => void;
29
+ disabled: ({ row }: {
30
+ row?: MapObjectNoneType | undefined;
31
+ }) => boolean;
32
+ })[];
33
+ };
34
+ buttonConfig: {
35
+ attrs: {};
36
+ extend: {};
37
+ buttons: ({
38
+ authorityCode: string;
39
+ label: string;
40
+ icon: {
41
+ type: string;
42
+ };
43
+ click: () => void;
44
+ attrs: {
45
+ type: string;
46
+ };
47
+ folded?: undefined;
48
+ } | {
49
+ authorityCode: string;
50
+ label: string;
51
+ icon: string;
52
+ click: () => false | undefined;
53
+ attrs?: undefined;
54
+ folded?: undefined;
55
+ } | {
56
+ authorityCode: string;
57
+ label: string;
58
+ icon: string;
59
+ folded: boolean;
60
+ click: () => void;
61
+ attrs?: undefined;
62
+ })[];
63
+ };
64
+ queryConfig: {
65
+ attrs: {};
66
+ extend: {};
67
+ form: {
68
+ type: string;
69
+ label: string;
70
+ fieldName: string;
71
+ }[];
72
+ };
73
+ pagerConfig: {};
74
+ };
75
+ apiUrls: ShallowRef<{
76
+ list: string;
77
+ columnsCode: string;
78
+ delete: string;
79
+ upgrade: string;
80
+ copyData: string;
81
+ cancel: string;
82
+ batchGeneratorConfig: string;
83
+ exportJson: string;
84
+ }>;
85
+ showEditPage: ShallowRef<boolean>;
86
+ currentEditRow: Ref<{}>;
87
+ handleReturn: () => void;
88
+ batchGeneratorConfig: () => false | undefined;
89
+ listLayoutRef: Ref<any>;
90
+ handleExportJson: () => void;
91
+ uploadShow: ShallowRef<boolean>;
92
+ handleImportJson: () => void;
93
+ uploadClose: () => void;
94
+ handleCustomCancel: ({ row }: {
95
+ row?: MapObjectNoneType | undefined;
96
+ }) => void;
97
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "uploadFile"[], "uploadFile", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
98
+ userInfo: {
99
+ type: ObjectConstructor;
100
+ defalut: () => {};
101
+ };
102
+ }>> & {
103
+ onUploadFile?: ((...args: any[]) => any) | undefined;
104
+ }, {}, {}>;
105
+ export default _sfc_main;
@@ -0,0 +1,17 @@
1
+ import type { ShallowRef, Ref } from 'vue';
2
+ export declare function useConfigData(): {
3
+ apiUrls: ShallowRef<{
4
+ list: string;
5
+ columnsCode: string;
6
+ delete: string;
7
+ upgrade: string;
8
+ copyData: string;
9
+ cancel: string;
10
+ batchGeneratorConfig: string;
11
+ exportJson: string;
12
+ }>;
13
+ showEditPage: ShallowRef<boolean>;
14
+ currentEditRow: Ref<{}>;
15
+ listLayoutRef: Ref<any>;
16
+ uploadShow: ShallowRef<boolean>;
17
+ };
@@ -0,0 +1,15 @@
1
+ import { MapObjectNoneType } from '../../../utils/global.types';
2
+ export declare function useMethods(): {
3
+ allowEdit: ({ row }: {
4
+ row?: MapObjectNoneType | undefined;
5
+ }) => boolean;
6
+ allowCancel: ({ row }: {
7
+ row?: MapObjectNoneType | undefined;
8
+ }) => boolean;
9
+ allowDelete: ({ row }: {
10
+ row?: MapObjectNoneType | undefined;
11
+ }) => boolean;
12
+ allowUpgrade: ({ row }: {
13
+ row?: MapObjectNoneType | undefined;
14
+ }) => boolean;
15
+ };
@@ -1,4 +1,5 @@
1
1
  import type { SizeType, VxeTableDataRow, VxePagerPropTypes, VxeColumnSlotTypes, SlotVNodeType, VxeColumnPropTypes, VxeTablePropTypes, VxeTooltipPropTypes, VxeTableDefines, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams } from 'vxe-table';
2
+ import type { FileDataType } from '@qqt-product/ui/dist/lib/components/upload-file';
2
3
  import type { SrmI18n } from '@qqt-product/ui/dist/lib/utils/type';
3
4
  import type { DefineComponent, Ref, ComponentOptionsBase, VNode, RendererNode, RendererElement, Slot, ComponentInternalInstance, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComponentPublicInstance } from 'vue';
4
5
  import type { GlobalPageLayoutTypes } from '@qqt-product/ui';
@@ -81,6 +82,38 @@ declare const _sfc_main: DefineComponent<{
81
82
  handleBefore?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
82
83
  handleAfter?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
83
84
  callback?: ((payload: GlobalPageLayoutTypes.PageButtonPayload) => void) | undefined;
85
+ }[] | {
86
+ onConfirmBeforeUpload?: ((formData: FileDataType) => boolean) | undefined;
87
+ title: string;
88
+ i18nKey?: string | undefined;
89
+ key: string | symbol;
90
+ args: GlobalPageLayoutTypes.PageButtonArgsFunctionType | {
91
+ [x: string]: unknown;
92
+ url: string;
93
+ };
94
+ authorityCode?: string | undefined;
95
+ attrs?: GlobalPageLayoutTypes.RecordString | undefined;
96
+ icon?: {
97
+ type: string;
98
+ size: number;
99
+ color?: string | undefined;
100
+ } | undefined;
101
+ emit?: boolean | undefined;
102
+ emitKey?: string | undefined;
103
+ showMessage?: boolean | undefined;
104
+ checkBefore?: boolean | undefined;
105
+ confirm?: {
106
+ title: string;
107
+ content: string;
108
+ } | undefined;
109
+ dropdown?: boolean | undefined;
110
+ isExistFrozenSource?: boolean | undefined;
111
+ isExistFrozenSourceUrl?: string | undefined;
112
+ isExistFrozenSourceParams?: ((pageData: GlobalPageLayoutTypes.RecordString) => GlobalPageLayoutTypes.RecordString) | undefined;
113
+ disabled?: ((pageData: GlobalPageLayoutTypes.RecordString) => boolean) | undefined;
114
+ handleBefore?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
115
+ handleAfter?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
116
+ callback?: ((payload: GlobalPageLayoutTypes.PageButtonPayload) => void) | undefined;
84
117
  }[] | undefined;
85
118
  extend?: {
86
119
  [x: string]: any;
@@ -1,4 +1,5 @@
1
1
  import type { SizeType, VxeTableDataRow, VxePagerPropTypes, VxeColumnSlotTypes, SlotVNodeType, VxeColumnPropTypes, VxeTablePropTypes, VxeTooltipPropTypes, VxeTableDefines, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams } from 'vxe-table';
2
+ import type { FileDataType } from '@qqt-product/ui/dist/lib/components/upload-file';
2
3
  import type { SrmI18n } from '@qqt-product/ui/dist/lib/utils/type';
3
4
  import type { DefineComponent, Ref, ComponentOptionsBase, VNode, RendererNode, RendererElement, Slot, ComponentInternalInstance, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComponentPublicInstance } from 'vue';
4
5
  import type { GlobalPageLayoutTypes } from '@qqt-product/ui';
@@ -81,6 +82,38 @@ declare const _sfc_main: DefineComponent<{
81
82
  handleBefore?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
82
83
  handleAfter?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
83
84
  callback?: ((payload: GlobalPageLayoutTypes.PageButtonPayload) => void) | undefined;
85
+ }[] | {
86
+ onConfirmBeforeUpload?: ((formData: FileDataType) => boolean) | undefined;
87
+ title: string;
88
+ i18nKey?: string | undefined;
89
+ key: string | symbol;
90
+ args: GlobalPageLayoutTypes.PageButtonArgsFunctionType | {
91
+ [x: string]: unknown;
92
+ url: string;
93
+ };
94
+ authorityCode?: string | undefined;
95
+ attrs?: GlobalPageLayoutTypes.RecordString | undefined;
96
+ icon?: {
97
+ type: string;
98
+ size: number;
99
+ color?: string | undefined;
100
+ } | undefined;
101
+ emit?: boolean | undefined;
102
+ emitKey?: string | undefined;
103
+ showMessage?: boolean | undefined;
104
+ checkBefore?: boolean | undefined;
105
+ confirm?: {
106
+ title: string;
107
+ content: string;
108
+ } | undefined;
109
+ dropdown?: boolean | undefined;
110
+ isExistFrozenSource?: boolean | undefined;
111
+ isExistFrozenSourceUrl?: string | undefined;
112
+ isExistFrozenSourceParams?: ((pageData: GlobalPageLayoutTypes.RecordString) => GlobalPageLayoutTypes.RecordString) | undefined;
113
+ disabled?: ((pageData: GlobalPageLayoutTypes.RecordString) => boolean) | undefined;
114
+ handleBefore?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
115
+ handleAfter?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
116
+ callback?: ((payload: GlobalPageLayoutTypes.PageButtonPayload) => void) | undefined;
84
117
  }[] | undefined;
85
118
  extend?: {
86
119
  [x: string]: any;
@@ -1,4 +1,5 @@
1
1
  import type { SizeType, VxeTableDataRow, VxePagerPropTypes, VxeColumnSlotTypes, SlotVNodeType, VxeColumnPropTypes, VxeTablePropTypes, VxeTooltipPropTypes, VxeTableDefines, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams } from 'vxe-table';
2
+ import type { FileDataType } from '@qqt-product/ui/dist/lib/components/upload-file';
2
3
  import type { SrmI18n } from '@qqt-product/ui/dist/lib/utils/type';
3
4
  import type { DefineComponent, Ref, ComponentOptionsBase, VNode, RendererNode, RendererElement, Slot, ComponentInternalInstance, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComponentPublicInstance } from 'vue';
4
5
  import type { GlobalPageLayoutTypes } from '@qqt-product/ui';
@@ -86,6 +87,38 @@ declare const _sfc_main: DefineComponent<{
86
87
  handleBefore?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
87
88
  handleAfter?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
88
89
  callback?: ((payload: GlobalPageLayoutTypes.PageButtonPayload) => void) | undefined;
90
+ }[] | {
91
+ onConfirmBeforeUpload?: ((formData: FileDataType) => boolean) | undefined;
92
+ title: string;
93
+ i18nKey?: string | undefined;
94
+ key: string | symbol;
95
+ args: GlobalPageLayoutTypes.PageButtonArgsFunctionType | {
96
+ [x: string]: unknown;
97
+ url: string;
98
+ };
99
+ authorityCode?: string | undefined;
100
+ attrs?: GlobalPageLayoutTypes.RecordString | undefined;
101
+ icon?: {
102
+ type: string;
103
+ size: number;
104
+ color?: string | undefined;
105
+ } | undefined;
106
+ emit?: boolean | undefined;
107
+ emitKey?: string | undefined;
108
+ showMessage?: boolean | undefined;
109
+ checkBefore?: boolean | undefined;
110
+ confirm?: {
111
+ title: string;
112
+ content: string;
113
+ } | undefined;
114
+ dropdown?: boolean | undefined;
115
+ isExistFrozenSource?: boolean | undefined;
116
+ isExistFrozenSourceUrl?: string | undefined;
117
+ isExistFrozenSourceParams?: ((pageData: GlobalPageLayoutTypes.RecordString) => GlobalPageLayoutTypes.RecordString) | undefined;
118
+ disabled?: ((pageData: GlobalPageLayoutTypes.RecordString) => boolean) | undefined;
119
+ handleBefore?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
120
+ handleAfter?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
121
+ callback?: ((payload: GlobalPageLayoutTypes.PageButtonPayload) => void) | undefined;
89
122
  }[] | undefined;
90
123
  extend?: {
91
124
  [x: string]: any;
@@ -1,4 +1,5 @@
1
1
  import type { SizeType, VxeTableDataRow, VxePagerPropTypes, VxeColumnSlotTypes, SlotVNodeType, VxeColumnPropTypes, VxeTablePropTypes, VxeTooltipPropTypes, VxeTableDefines, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams } from 'vxe-table';
2
+ import type { FileDataType } from '@qqt-product/ui/dist/lib/components/upload-file';
2
3
  import type { SrmI18n } from '@qqt-product/ui/dist/lib/utils/type';
3
4
  import type { DefineComponent, Ref, ComponentOptionsBase, VNode, RendererNode, RendererElement, Slot, ComponentInternalInstance, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComponentPublicInstance } from 'vue';
4
5
  import type { GlobalPageLayoutTypes } from '@qqt-product/ui';
@@ -83,6 +84,38 @@ declare const _sfc_main: DefineComponent<{
83
84
  handleBefore?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
84
85
  handleAfter?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
85
86
  callback?: ((payload: GlobalPageLayoutTypes.PageButtonPayload) => void) | undefined;
87
+ }[] | {
88
+ onConfirmBeforeUpload?: ((formData: FileDataType) => boolean) | undefined;
89
+ title: string;
90
+ i18nKey?: string | undefined;
91
+ key: string | symbol;
92
+ args: GlobalPageLayoutTypes.PageButtonArgsFunctionType | {
93
+ [x: string]: unknown;
94
+ url: string;
95
+ };
96
+ authorityCode?: string | undefined;
97
+ attrs?: GlobalPageLayoutTypes.RecordString | undefined;
98
+ icon?: {
99
+ type: string;
100
+ size: number;
101
+ color?: string | undefined;
102
+ } | undefined;
103
+ emit?: boolean | undefined;
104
+ emitKey?: string | undefined;
105
+ showMessage?: boolean | undefined;
106
+ checkBefore?: boolean | undefined;
107
+ confirm?: {
108
+ title: string;
109
+ content: string;
110
+ } | undefined;
111
+ dropdown?: boolean | undefined;
112
+ isExistFrozenSource?: boolean | undefined;
113
+ isExistFrozenSourceUrl?: string | undefined;
114
+ isExistFrozenSourceParams?: ((pageData: GlobalPageLayoutTypes.RecordString) => GlobalPageLayoutTypes.RecordString) | undefined;
115
+ disabled?: ((pageData: GlobalPageLayoutTypes.RecordString) => boolean) | undefined;
116
+ handleBefore?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
117
+ handleAfter?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
118
+ callback?: ((payload: GlobalPageLayoutTypes.PageButtonPayload) => void) | undefined;
86
119
  }[] | undefined;
87
120
  extend?: {
88
121
  [x: string]: any;
@@ -7,6 +7,7 @@ declare const _sfc_main: DefineComponent<{}, {
7
7
  emit: (event: "create" | "edit" | "copy" | "auth", ...args: any[]) => void;
8
8
  listLayoutRef: Ref<any>;
9
9
  showItemInfoForm: Ref<boolean>;
10
+ copyCurrentRow: Ref<{}>;
10
11
  apiUrls: {
11
12
  columnsCode: string;
12
13
  list: string;
@@ -1,4 +1,5 @@
1
1
  import type { SizeType, VxeTableDataRow, VxePagerPropTypes, VxeColumnSlotTypes, SlotVNodeType, VxeColumnPropTypes, VxeTablePropTypes, VxeTooltipPropTypes, VxeTableDefines, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams } from 'vxe-table';
2
+ import type { FileDataType } from '@qqt-product/ui/dist/lib/components/upload-file';
2
3
  import type { SrmI18n } from '@qqt-product/ui/dist/lib/utils/type';
3
4
  import type { DefineComponent, Ref, ComponentOptionsBase, VNode, RendererNode, RendererElement, Slot, ComponentInternalInstance, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComponentPublicInstance } from 'vue';
4
5
  import type { GlobalPageLayoutTypes } from '@qqt-product/ui';
@@ -81,6 +82,38 @@ declare const _sfc_main: DefineComponent<{
81
82
  handleBefore?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
82
83
  handleAfter?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
83
84
  callback?: ((payload: GlobalPageLayoutTypes.PageButtonPayload) => void) | undefined;
85
+ }[] | {
86
+ onConfirmBeforeUpload?: ((formData: FileDataType) => boolean) | undefined;
87
+ title: string;
88
+ i18nKey?: string | undefined;
89
+ key: string | symbol;
90
+ args: GlobalPageLayoutTypes.PageButtonArgsFunctionType | {
91
+ [x: string]: unknown;
92
+ url: string;
93
+ };
94
+ authorityCode?: string | undefined;
95
+ attrs?: GlobalPageLayoutTypes.RecordString | undefined;
96
+ icon?: {
97
+ type: string;
98
+ size: number;
99
+ color?: string | undefined;
100
+ } | undefined;
101
+ emit?: boolean | undefined;
102
+ emitKey?: string | undefined;
103
+ showMessage?: boolean | undefined;
104
+ checkBefore?: boolean | undefined;
105
+ confirm?: {
106
+ title: string;
107
+ content: string;
108
+ } | undefined;
109
+ dropdown?: boolean | undefined;
110
+ isExistFrozenSource?: boolean | undefined;
111
+ isExistFrozenSourceUrl?: string | undefined;
112
+ isExistFrozenSourceParams?: ((pageData: GlobalPageLayoutTypes.RecordString) => GlobalPageLayoutTypes.RecordString) | undefined;
113
+ disabled?: ((pageData: GlobalPageLayoutTypes.RecordString) => boolean) | undefined;
114
+ handleBefore?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
115
+ handleAfter?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
116
+ callback?: ((payload: GlobalPageLayoutTypes.PageButtonPayload) => void) | undefined;
84
117
  }[] | undefined;
85
118
  extend?: {
86
119
  [x: string]: any;
@@ -1,4 +1,5 @@
1
1
  import type { SizeType, VxeTableDataRow, VxePagerPropTypes, VxeColumnSlotTypes, SlotVNodeType, VxeColumnPropTypes, VxeTablePropTypes, VxeTooltipPropTypes, VxeTableDefines, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams } from 'vxe-table';
2
+ import type { FileDataType } from '@qqt-product/ui/dist/lib/components/upload-file';
2
3
  import type { SrmI18n } from '@qqt-product/ui/dist/lib/utils/type';
3
4
  import type { DefineComponent, Ref, ComponentOptionsBase, VNode, RendererNode, RendererElement, Slot, ComponentInternalInstance, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComponentPublicInstance } from 'vue';
4
5
  import type { CreatePromise } from '@qqt-product/utils';
@@ -92,6 +93,38 @@ declare const _sfc_main: DefineComponent<{
92
93
  handleBefore?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
93
94
  handleAfter?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
94
95
  callback?: ((payload: GlobalPageLayoutTypes.PageButtonPayload) => void) | undefined;
96
+ }[] | {
97
+ onConfirmBeforeUpload?: ((formData: FileDataType) => boolean) | undefined;
98
+ title: string;
99
+ i18nKey?: string | undefined;
100
+ key: string | symbol;
101
+ args: GlobalPageLayoutTypes.PageButtonArgsFunctionType | {
102
+ [x: string]: unknown;
103
+ url: string;
104
+ };
105
+ authorityCode?: string | undefined;
106
+ attrs?: GlobalPageLayoutTypes.RecordString | undefined;
107
+ icon?: {
108
+ type: string;
109
+ size: number;
110
+ color?: string | undefined;
111
+ } | undefined;
112
+ emit?: boolean | undefined;
113
+ emitKey?: string | undefined;
114
+ showMessage?: boolean | undefined;
115
+ checkBefore?: boolean | undefined;
116
+ confirm?: {
117
+ title: string;
118
+ content: string;
119
+ } | undefined;
120
+ dropdown?: boolean | undefined;
121
+ isExistFrozenSource?: boolean | undefined;
122
+ isExistFrozenSourceUrl?: string | undefined;
123
+ isExistFrozenSourceParams?: ((pageData: GlobalPageLayoutTypes.RecordString) => GlobalPageLayoutTypes.RecordString) | undefined;
124
+ disabled?: ((pageData: GlobalPageLayoutTypes.RecordString) => boolean) | undefined;
125
+ handleBefore?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
126
+ handleAfter?: ((args: GlobalPageLayoutTypes.ExposeWithPageButtons) => Promise<GlobalPageLayoutTypes.ExposeWithPageButtons>) | undefined;
127
+ callback?: ((payload: GlobalPageLayoutTypes.PageButtonPayload) => void) | undefined;
95
128
  }[] | undefined;
96
129
  extend?: {
97
130
  [x: string]: any;