@qqt-product/ui 16.0.0 → 16.0.1

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 (28) hide show
  1. package/dist/index.es.js +41594 -41344
  2. package/dist/index.umd.js +121 -121
  3. package/dist/lib/components/detail-page-layout/index.d.ts +10 -0
  4. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +11 -1
  5. package/dist/lib/components/import-modal/index.d.ts +1 -1
  6. package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +1 -1
  7. package/dist/lib/components/layout-pattern/index.d.ts +1 -175
  8. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +1 -174
  9. package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +1 -0
  10. package/dist/lib/components/page-layout/index.d.ts +175 -2
  11. package/dist/lib/components/{layout-pattern/src/hook/use-audit-button-hook.d.ts → page-layout/src/hook/use-audit-button.d.ts} +58 -2
  12. package/dist/lib/components/page-layout/src/hook/use-custom-format.d.ts +9 -0
  13. package/dist/lib/components/page-layout/src/hook/use-excel-import.d.ts +42 -0
  14. package/dist/lib/components/page-layout/src/hook/use-file-upload.d.ts +64 -0
  15. package/dist/lib/components/page-layout/src/hook/use-grid-events.d.ts +26 -0
  16. package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +33 -1
  17. package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +174 -1
  18. package/dist/lib/components/upload-image/index.d.ts +2 -1
  19. package/dist/lib/components/upload-image/src/preview.vue.d.ts +16 -0
  20. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +2 -1
  21. package/dist/lib/index.d.ts +1 -1
  22. package/dist/style.css +1 -1
  23. package/package.json +7 -7
  24. /package/dist/lib/components/page-layout/src/hook/{use-merge-defaultValues-hook.d.ts → use-merge-defaultValues.d.ts} +0 -0
  25. /package/dist/lib/components/page-layout/src/hook/{use-page-data-hook.d.ts → use-page-data.d.ts} +0 -0
  26. /package/dist/lib/components/page-layout/src/hook/{use-ref-instance-hook.d.ts → use-ref-instance.d.ts} +0 -0
  27. /package/dist/lib/components/page-layout/src/hook/{use-remote-config-hook.d.ts → use-remote-config.d.ts} +0 -0
  28. /package/dist/lib/components/page-layout/src/hook/{use-uid-hook.d.ts → use-uid.d.ts} +0 -0
@@ -1,14 +1,62 @@
1
1
  import type { ObjectMap } from '../../../list-page-layout';
2
2
  import type { Ref } from 'vue';
3
- import type { RecordString, PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload, PageButton, CurrentRow } from '../../../edit-page-layout';
3
+ import type { PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload, PageButton, CurrentRow } from '../../../edit-page-layout';
4
+ import type { RecordString } from '../../../edit-page-layout';
4
5
  interface auditOption {
5
6
  currentRow: CurrentRow;
6
7
  businessType: string;
7
8
  layoutExtraInfo: {
8
9
  token: string;
9
10
  };
11
+ pageData: Ref<RecordString>;
10
12
  }
11
- export default function useAuditButtonHook({ currentRow, businessType, layoutExtraInfo }: auditOption): {
13
+ export default function useAuditButtonHook({ currentRow, businessType, layoutExtraInfo, pageData }: auditOption): {
14
+ flowVisible: Ref<boolean>;
15
+ flowProps: Ref<{
16
+ button?: {
17
+ title: string;
18
+ i18nKey?: string | undefined;
19
+ key: string | symbol;
20
+ args: PageButtonArgsFunctionType | {
21
+ [x: string]: unknown;
22
+ url: string;
23
+ };
24
+ authorityCode?: string | undefined;
25
+ attrs?: RecordString | undefined;
26
+ icon?: {
27
+ type: string;
28
+ size: number;
29
+ color?: string | undefined;
30
+ } | undefined;
31
+ emit?: boolean | undefined;
32
+ emitKey?: string | undefined;
33
+ showMessage?: boolean | undefined;
34
+ checkBefore?: boolean | undefined;
35
+ confirm?: {
36
+ title: string;
37
+ content: string;
38
+ } | undefined;
39
+ dropdown?: boolean | undefined;
40
+ isExistFrozenSource?: boolean | undefined;
41
+ isExistFrozenSourceUrl?: string | undefined;
42
+ isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
43
+ disabled?: ((pageData: RecordString) => boolean) | undefined;
44
+ handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
45
+ handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
46
+ callback?: ((payload: PageButtonPayload) => void) | undefined;
47
+ } | undefined;
48
+ width?: string | undefined;
49
+ title?: string | undefined;
50
+ onChange?: ((args: any) => void) | ((args: any) => void)[] | undefined;
51
+ 'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
52
+ visible?: boolean | undefined;
53
+ currentRow?: any;
54
+ token?: string | undefined;
55
+ flowId?: string | undefined;
56
+ isDesign?: boolean | undefined;
57
+ workFlowType?: string | undefined;
58
+ }>;
59
+ afterSignModalVisible: Ref<boolean>;
12
60
  auditModalConfirm: Ref<any>;
13
61
  auditModalCancel: Ref<any>;
14
62
  auditModalProps: Ref<{
@@ -77,5 +125,13 @@ export default function useAuditButtonHook({ currentRow, businessType, layoutExt
77
125
  callback?: ((payload: PageButtonPayload) => void) | undefined;
78
126
  }>;
79
127
  handleSetCacheAuditButton: (btn: PageButton) => void;
128
+ handleAuditCommonModal: (btn: PageButton) => void;
129
+ handleAfterSignModal: () => void;
130
+ handleApprovalComment: () => void;
131
+ handleNodeHistory: () => void;
132
+ handleChat: () => void;
133
+ handlePrint: () => void;
134
+ handleAuditFlowViewModal: (btn: PageButton) => void;
135
+ handleOpenFlowViewModal: (btn: PageButton) => void;
80
136
  };
81
137
  export {};
@@ -0,0 +1,9 @@
1
+ import type { Ref } from 'vue';
2
+ import type { CustomFormatItem, SetItemRequired, SetItemDisabled, SetItemRequiredOrDisabled, LayoutConfig, ColumnItem } from '../../../edit-page-layout';
3
+ export default function useCustomFormat(layoutConfig: Ref<LayoutConfig>): {
4
+ customFormatItem: CustomFormatItem;
5
+ setItemRequired: SetItemRequired;
6
+ setItemDisabled: SetItemDisabled;
7
+ setItemRequiredOrDisabled: SetItemRequiredOrDisabled;
8
+ getItemConfig: (groupCode: string, field: string) => ColumnItem;
9
+ };
@@ -0,0 +1,42 @@
1
+ import type { Ref } from 'vue';
2
+ import type { PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload, RecordString, LayoutConfig, PageButton } from '../../../edit-page-layout';
3
+ export default function useExcelImport(pageData: Ref<RecordString>, layoutConfig: Ref<LayoutConfig>, defaultValues: Ref<RecordString>): {
4
+ importVisible: Ref<boolean>;
5
+ importProps: Ref<{
6
+ button: {
7
+ title: string;
8
+ i18nKey?: string | undefined;
9
+ key: string | symbol;
10
+ args: PageButtonArgsFunctionType | {
11
+ [x: string]: unknown;
12
+ url: string;
13
+ };
14
+ authorityCode?: string | undefined;
15
+ attrs?: RecordString | undefined;
16
+ icon?: {
17
+ type: string;
18
+ size: number;
19
+ color?: string | undefined;
20
+ } | undefined;
21
+ emit?: boolean | undefined;
22
+ emitKey?: string | undefined;
23
+ showMessage?: boolean | undefined;
24
+ checkBefore?: boolean | undefined;
25
+ confirm?: {
26
+ title: string;
27
+ content: string;
28
+ } | undefined;
29
+ dropdown?: boolean | undefined;
30
+ isExistFrozenSource?: boolean | undefined;
31
+ isExistFrozenSourceUrl?: string | undefined;
32
+ isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
33
+ disabled?: ((pageData: RecordString) => boolean) | undefined;
34
+ handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
35
+ handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
36
+ callback?: ((payload: PageButtonPayload) => void) | undefined;
37
+ };
38
+ isEditPage: boolean;
39
+ token: string;
40
+ }>;
41
+ handleOpenImportModal: (btn: PageButton) => void;
42
+ };
@@ -0,0 +1,64 @@
1
+ import type { Ref, SetupContext } from 'vue';
2
+ import type { ColumnItemWithExtend, VxeItemFileUpload } from '../../../upload-file';
3
+ import type { PageButtonDownLoad, PageButtonDeleteFileRow, PageButtonUploadType, RecordString, LayoutConfig } from '../../../edit-page-layout';
4
+ export default function useFileUpload(ctx: SetupContext, pageData: Ref<RecordString>, layoutConfig: Ref<LayoutConfig>, defaultValues: Ref<RecordString>): {
5
+ btnObj: Ref<PageButtonUploadType | undefined>;
6
+ itemConfigObj: Ref<ColumnItemWithExtend | undefined>;
7
+ fileVisible: Ref<boolean>;
8
+ fileProps: Ref<{
9
+ readonly data?: {
10
+ [x: string]: unknown;
11
+ businessType: string;
12
+ headId: string;
13
+ } | undefined;
14
+ readonly 'onUpdate:visible'?: ((value: boolean) => void) | ((value: boolean) => void)[] | undefined;
15
+ readonly visible?: boolean | undefined;
16
+ readonly currentRow?: {
17
+ [x: string]: unknown;
18
+ templateNumber: string;
19
+ templateVersion: number;
20
+ templateAccount: string;
21
+ busAccount: string;
22
+ elsAccount: string;
23
+ } | undefined;
24
+ readonly action?: string | undefined;
25
+ readonly accept?: string | undefined;
26
+ readonly dictCode?: string | undefined;
27
+ readonly userInfo?: {
28
+ [x: string]: unknown;
29
+ elsAccount: string;
30
+ subAccount: string;
31
+ serivceUrl: string;
32
+ } | undefined;
33
+ readonly role?: string | undefined;
34
+ readonly property?: string | undefined;
35
+ readonly defaultFileType?: string | undefined;
36
+ readonly requiredFileType?: boolean | undefined;
37
+ readonly defaultFileBelong?: string | undefined;
38
+ readonly limitSize?: number | undefined;
39
+ readonly acceptDictCode?: string | undefined;
40
+ readonly maxCount?: number | undefined;
41
+ readonly isOss?: boolean | undefined;
42
+ readonly isGridUpload?: boolean | undefined;
43
+ readonly itemNumberKey?: string | undefined;
44
+ readonly itemNumberLabel?: string | undefined;
45
+ readonly itemNumberValueProp?: string | undefined;
46
+ readonly itemNumberDefaultValue?: string | undefined;
47
+ readonly itemNumberSelectIndex?: boolean | undefined;
48
+ readonly disabledItemNumber?: boolean | undefined;
49
+ readonly itemInfo?: RecordString[] | undefined;
50
+ readonly fileTypeList?: {
51
+ [x: string]: unknown;
52
+ title: string;
53
+ value: string;
54
+ }[] | undefined;
55
+ readonly actionRoutePath?: string | undefined;
56
+ readonly sourceNumberType?: string | undefined;
57
+ readonly onConfirmBeforeUpload?: Function | undefined;
58
+ }>;
59
+ handleDownLoadZip: (btn: PageButtonDownLoad) => void;
60
+ handleDeleteFileRows: (btn: PageButtonDeleteFileRow) => void;
61
+ handleOpenFileUpload: (btn: PageButtonUploadType) => void;
62
+ handleOpenFileUploadItem: (itemConfig: VxeItemFileUpload) => void;
63
+ handleChangeFiles: (fileResult: RecordString[]) => void;
64
+ };
@@ -0,0 +1,26 @@
1
+ import type { Ref, SetupContext } from 'vue';
2
+ import type { RecordString, KeydownEventParams, HeaderCellClickEventParams, HeaderCellDblclickEventParams, HeaderCellMenuEventParams, CellClickEventParams, CellDblclickEventParams, CellMenuEventParams, FooterCellClickEventParams, FooterCellDblclickEventParams, FooterCellMenuEventParams, RadioChangeEventParams, CheckboxChangeEventParams, CheckboxAllEventParams, ScrollEventParams, ZoomEventParams, CustomEventParams, CellAreaCutParams, CellAreaCopyParams, CellAreaPasteParams } from '../../../edit-page-layout';
3
+ export default function useGridEvents(ctx: SetupContext, pageData: Ref<RecordString>): {
4
+ cacheRows: Ref<RecordString[]>;
5
+ cacheGroupCode: Ref<string>;
6
+ cacheEventParams: Ref<CellClickEventParams | null | undefined>;
7
+ handleGridKeydown: (params: KeydownEventParams) => void;
8
+ handleGridHeaderCellClick: (params: HeaderCellClickEventParams) => void;
9
+ handleGridHeaderCellDblclick: (params: HeaderCellDblclickEventParams) => void;
10
+ handleGridHeaderCellMenu: (params: HeaderCellMenuEventParams) => void;
11
+ handleGridCellClick: (params: CellClickEventParams) => void;
12
+ handleGridCellDblclick: (params: CellDblclickEventParams) => void;
13
+ handleGridCellMenu: (params: CellMenuEventParams) => void;
14
+ handleGridFooterCellClick: (params: FooterCellClickEventParams) => void;
15
+ handleGridFooterCellDblclick: (params: FooterCellDblclickEventParams) => void;
16
+ handleGridFooterCellMenu: (params: FooterCellMenuEventParams) => void;
17
+ handleGridRadioChange: (params: RadioChangeEventParams) => void;
18
+ handleGridCheckboxChange: (params: CheckboxChangeEventParams) => void;
19
+ handleGridCheckboxAll: (params: CheckboxAllEventParams) => void;
20
+ handleGridScroll: (params: ScrollEventParams) => void;
21
+ handleGridZoom: (params: ZoomEventParams) => void;
22
+ handleGridCustom: (params: CustomEventParams) => void;
23
+ handleGridCellAreaCopy: (params: CellAreaCopyParams) => void;
24
+ handleGridCellAreaCut: (params: CellAreaCutParams) => void;
25
+ handleGridCellAreaPaste: (params: CellAreaPasteParams) => void;
26
+ };
@@ -1,7 +1,39 @@
1
1
  import type { Ref } from 'vue';
2
- import type { UsePromiseStepPayload, ExposeWithPageButtons, RecordString, PageButton, ValidateResult } from '../../../edit-page-layout';
2
+ import type { PageButtonArgsFunctionType, PageButtonPayload, UsePromiseStepPayload, ExposeWithPageButtons, RecordString, PageButton, ValidateResult } from '../../../edit-page-layout';
3
3
  export default function usePromiseStep<T extends UsePromiseStepPayload>(payload: T): {
4
4
  localUid: Ref<number>;
5
+ cacheButton: Ref<{
6
+ title: string;
7
+ i18nKey?: string | undefined;
8
+ key: string | symbol;
9
+ args: PageButtonArgsFunctionType | {
10
+ [x: string]: unknown;
11
+ url: string;
12
+ };
13
+ authorityCode?: string | undefined;
14
+ attrs?: RecordString | undefined;
15
+ icon?: {
16
+ type: string;
17
+ size: number;
18
+ color?: string | undefined;
19
+ } | undefined;
20
+ emit?: boolean | undefined;
21
+ emitKey?: string | undefined;
22
+ showMessage?: boolean | undefined;
23
+ checkBefore?: boolean | undefined;
24
+ confirm?: {
25
+ title: string;
26
+ content: string;
27
+ } | undefined;
28
+ dropdown?: boolean | undefined;
29
+ isExistFrozenSource?: boolean | undefined;
30
+ isExistFrozenSourceUrl?: string | undefined;
31
+ isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
32
+ disabled?: ((pageData: RecordString) => boolean) | undefined;
33
+ handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
34
+ handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
35
+ callback?: ((payload: PageButtonPayload) => void) | undefined;
36
+ }>;
5
37
  customLoading: Readonly<Ref<boolean>>;
6
38
  normalizeStepPromiseMethod: <T_1 extends ExposeWithPageButtons>(key: string | symbol) => ((args: T_1) => Promise<ExposeWithPageButtons>)[];
7
39
  handleResetValidateStatus: () => void;
@@ -1,5 +1,6 @@
1
+ import type { ObjectMap } from '../../list-page-layout';
1
2
  import type { DefineComponent, ComponentPropsOptions, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComponentObjectPropsOptions } from 'vue';
2
- import type { LayoutConfig, RecordString } from '../../edit-page-layout';
3
+ import type { LayoutConfig, CurrentRow, PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload, RecordString } from '../../edit-page-layout';
3
4
  declare const _sfc_main: DefineComponent<Readonly<ComponentPropsOptions<{
4
5
  [x: string]: unknown;
5
6
  }>>, {
@@ -12,6 +13,178 @@ declare const _sfc_main: DefineComponent<Readonly<ComponentPropsOptions<{
12
13
  loading: Ref<boolean>;
13
14
  layoutLoading: Ref<boolean>;
14
15
  customLoading: Readonly<Ref<boolean>>;
16
+ currentRow: CurrentRow;
17
+ fileVisible: Ref<boolean>;
18
+ fileProps: Ref<{
19
+ readonly data?: {
20
+ [x: string]: unknown;
21
+ businessType: string;
22
+ headId: string;
23
+ } | undefined;
24
+ readonly 'onUpdate:visible'?: ((value: boolean) => void) | ((value: boolean) => void)[] | undefined;
25
+ readonly visible?: boolean | undefined;
26
+ readonly currentRow?: {
27
+ [x: string]: unknown;
28
+ templateNumber: string;
29
+ templateVersion: number;
30
+ templateAccount: string;
31
+ busAccount: string;
32
+ elsAccount: string;
33
+ } | undefined;
34
+ readonly action?: string | undefined;
35
+ readonly accept?: string | undefined;
36
+ readonly dictCode?: string | undefined;
37
+ readonly userInfo?: {
38
+ [x: string]: unknown;
39
+ elsAccount: string;
40
+ subAccount: string;
41
+ serivceUrl: string;
42
+ } | undefined;
43
+ readonly role?: string | undefined;
44
+ readonly property?: string | undefined;
45
+ readonly defaultFileType?: string | undefined;
46
+ readonly requiredFileType?: boolean | undefined;
47
+ readonly defaultFileBelong?: string | undefined;
48
+ readonly limitSize?: number | undefined;
49
+ readonly acceptDictCode?: string | undefined;
50
+ readonly maxCount?: number | undefined;
51
+ readonly isOss?: boolean | undefined;
52
+ readonly isGridUpload?: boolean | undefined;
53
+ readonly itemNumberKey?: string | undefined;
54
+ readonly itemNumberLabel?: string | undefined;
55
+ readonly itemNumberValueProp?: string | undefined;
56
+ readonly itemNumberDefaultValue?: string | undefined;
57
+ readonly itemNumberSelectIndex?: boolean | undefined;
58
+ readonly disabledItemNumber?: boolean | undefined;
59
+ readonly itemInfo?: RecordString[] | undefined;
60
+ readonly fileTypeList?: {
61
+ [x: string]: unknown;
62
+ title: string;
63
+ value: string;
64
+ }[] | undefined;
65
+ readonly actionRoutePath?: string | undefined;
66
+ readonly sourceNumberType?: string | undefined;
67
+ readonly onConfirmBeforeUpload?: Function | undefined;
68
+ }>;
69
+ handleChangeFiles: (fileResult: RecordString[]) => void;
70
+ importVisible: Ref<boolean>;
71
+ importProps: Ref<{
72
+ button: {
73
+ title: string;
74
+ i18nKey?: string | undefined;
75
+ key: string | symbol;
76
+ args: PageButtonArgsFunctionType | {
77
+ [x: string]: unknown;
78
+ url: string;
79
+ };
80
+ authorityCode?: string | undefined;
81
+ attrs?: RecordString | undefined;
82
+ icon?: {
83
+ type: string;
84
+ size: number;
85
+ color?: string | undefined;
86
+ } | undefined;
87
+ emit?: boolean | undefined;
88
+ emitKey?: string | undefined;
89
+ showMessage?: boolean | undefined;
90
+ checkBefore?: boolean | undefined;
91
+ confirm?: {
92
+ title: string;
93
+ content: string;
94
+ } | undefined;
95
+ dropdown?: boolean | undefined;
96
+ isExistFrozenSource?: boolean | undefined;
97
+ isExistFrozenSourceUrl?: string | undefined;
98
+ isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
99
+ disabled?: ((pageData: RecordString) => boolean) | undefined;
100
+ handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
101
+ handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
102
+ callback?: ((payload: PageButtonPayload) => void) | undefined;
103
+ };
104
+ isEditPage: boolean;
105
+ token: string;
106
+ }>;
107
+ auditModalVisible: Ref<boolean>;
108
+ approvalModalVisible: Ref<boolean>;
109
+ nodeHistoryModalVisible: Ref<boolean>;
110
+ auditModalProps: Ref<{
111
+ width?: string | undefined;
112
+ form?: {
113
+ [x: string]: unknown;
114
+ type: string;
115
+ label: string;
116
+ fieldName: string;
117
+ required?: string | undefined;
118
+ attrs?: ObjectMap | undefined;
119
+ extends?: ObjectMap | undefined;
120
+ dictCode?: string | undefined;
121
+ options?: any[] | undefined;
122
+ click?: ((args: object, formState?: ObjectMap | undefined) => void) | undefined;
123
+ }[] | undefined;
124
+ title?: string | undefined;
125
+ 'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
126
+ visible?: boolean | undefined;
127
+ currentRow?: any;
128
+ businessType?: string | undefined;
129
+ token?: string | undefined;
130
+ busAccount?: string | undefined;
131
+ taskAction?: string | undefined;
132
+ needFlow?: string | undefined;
133
+ flowIframeUrl?: string | undefined;
134
+ customParams?: Record<string, any> | undefined;
135
+ }>;
136
+ auditModalConfirm: Ref<any>;
137
+ auditModalCancel: Ref<any>;
138
+ flowVisible: Ref<boolean>;
139
+ flowProps: Ref<{
140
+ button?: {
141
+ title: string;
142
+ i18nKey?: string | undefined;
143
+ key: string | symbol;
144
+ args: PageButtonArgsFunctionType | {
145
+ [x: string]: unknown;
146
+ url: string;
147
+ };
148
+ authorityCode?: string | undefined;
149
+ attrs?: RecordString | undefined;
150
+ icon?: {
151
+ type: string;
152
+ size: number;
153
+ color?: string | undefined;
154
+ } | undefined;
155
+ emit?: boolean | undefined;
156
+ emitKey?: string | undefined;
157
+ showMessage?: boolean | undefined;
158
+ checkBefore?: boolean | undefined;
159
+ confirm?: {
160
+ title: string;
161
+ content: string;
162
+ } | undefined;
163
+ dropdown?: boolean | undefined;
164
+ isExistFrozenSource?: boolean | undefined;
165
+ isExistFrozenSourceUrl?: string | undefined;
166
+ isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
167
+ disabled?: ((pageData: RecordString) => boolean) | undefined;
168
+ handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
169
+ handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
170
+ callback?: ((payload: PageButtonPayload) => void) | undefined;
171
+ } | undefined;
172
+ width?: string | undefined;
173
+ title?: string | undefined;
174
+ onChange?: ((args: any) => void) | ((args: any) => void)[] | undefined;
175
+ 'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
176
+ visible?: boolean | undefined;
177
+ currentRow?: any;
178
+ token?: string | undefined;
179
+ flowId?: string | undefined;
180
+ isDesign?: boolean | undefined;
181
+ workFlowType?: string | undefined;
182
+ }>;
183
+ afterSignModalVisible: Ref<boolean>;
184
+ handleAfterSignModal: () => void;
185
+ layoutExtraInfo: {
186
+ token: string;
187
+ };
15
188
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, readonly string[] | Readonly<ExtractPropTypes<Readonly<ComponentObjectPropsOptions<{
16
189
  [x: string]: unknown;
17
190
  }>>>>, {
@@ -1,3 +1,4 @@
1
+ import type { RegisterFn } from '../modal';
1
2
  import type { SrmI18n } from '../../utils/type';
2
3
  import type { UploadFiles } from './src/upload-image-type';
3
4
  import type { UploadFile } from 'ant-design-vue';
@@ -151,10 +152,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
151
152
  uploadStatues: Ref<boolean>;
152
153
  beforeUpload: (file: UploadFile<any>, uploadFiles: UploadFile<any>[]) => boolean;
153
154
  handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
154
- handleCancel: () => void;
155
155
  handlePreview: (file: UploadFiles) => Promise<void>;
156
156
  isImageUrlFun: () => boolean;
157
157
  srmI18n: SrmI18n;
158
+ register: RegisterFn;
158
159
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
159
160
  readonly value: {
160
161
  readonly type: StringConstructor;
@@ -0,0 +1,16 @@
1
+ import type { RegisterFn } from '../../modal';
2
+ import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
3
+ declare const _sfc_main: DefineComponent<{
4
+ readonly url: {
5
+ readonly type: PropType<string>;
6
+ };
7
+ }, {
8
+ url: Ref<string | undefined> | undefined;
9
+ register: RegisterFn;
10
+ handleOnload: () => void;
11
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
12
+ readonly url: {
13
+ readonly type: PropType<string>;
14
+ };
15
+ }>>, {}, {}>;
16
+ export default _sfc_main;
@@ -1,3 +1,4 @@
1
+ import type { RegisterFn } from '../../modal';
1
2
  import type { SrmI18n } from '../../../utils/type';
2
3
  import type { UploadFileStatus, FileType } from 'ant-design-vue/es/upload/interface';
3
4
  import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
@@ -147,10 +148,10 @@ declare const _sfc_main: DefineComponent<{
147
148
  uploadStatues: Ref<boolean>;
148
149
  beforeUpload: (file: UploadFile, uploadFiles: UploadFile[]) => boolean;
149
150
  handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
150
- handleCancel: () => void;
151
151
  handlePreview: (file: UploadFiles) => Promise<void>;
152
152
  isImageUrlFun: () => boolean;
153
153
  srmI18n: SrmI18n;
154
+ register: RegisterFn;
154
155
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
155
156
  readonly value: {
156
157
  readonly type: StringConstructor;
@@ -10,7 +10,7 @@ export * as GlobalPageLayoutTypes from './components/edit-page-layout/src/types'
10
10
  export { LAYOUT_PROPS_TOKEN, LAYOUT_PROPS_TOKEN_DEFAULT_VALUE } from './components/edit-page-layout/src/token';
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
- import useRefInstanceHook from './components/page-layout/src/hook/use-ref-instance-hook';
13
+ import useRefInstanceHook from './components/page-layout/src/hook/use-ref-instance';
14
14
  import useChartHook from './components/useChart/index';
15
15
  import useButtonFunctionHook from './components/list-page-layout/src/hooks/use-button-function-hook';
16
16
  import useExportXlsHook from './components/list-page-layout/src/hooks/export-xls-hook';