@dazhicheng/ui 1.6.25 → 1.6.26
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/components/tt-api-component/index.d.ts +35 -24
- package/dist/components/tt-api-component/index.vue.d.ts +34 -0
- package/dist/components/tt-area/TtArea.vue.d.ts +2 -0
- package/dist/components/tt-area/index.d.ts +1 -1
- package/dist/components/tt-button/components/AddButton.vue.d.ts +2 -0
- package/dist/components/tt-button/index.d.ts +589 -260
- package/dist/components/tt-button/index.vue.d.ts +466 -0
- package/dist/components/tt-checkbox/index.d.ts +35 -26
- package/dist/components/tt-checkbox/index.vue.d.ts +28 -0
- package/dist/components/tt-drawer/index.d.ts +299 -306
- package/dist/components/tt-drawer/src/{RenderDrawer.d.ts → RenderDrawer.vue.d.ts} +146 -149
- package/dist/components/tt-drawer/src/components/{DrawerFooter.d.ts → DrawerFooter.vue.d.ts} +16 -18
- package/dist/components/tt-drawer/src/components/{DrawerHeader.d.ts → DrawerHeader.vue.d.ts} +3 -4
- package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +2 -2
- package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +2 -2
- package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +2 -4
- package/dist/components/tt-empty/index.d.ts +8 -10
- package/dist/components/tt-form/src/components/{ExpandableArrow.d.ts → ExpandableArrow.vue.d.ts} +4 -5
- package/dist/components/tt-form/src/components/{FormActions.d.ts → FormActions.vue.d.ts} +5 -6
- package/dist/components/tt-form/src/components/{FormElInput.d.ts → FormElInput.vue.d.ts} +101 -105
- package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
- package/dist/components/tt-form/src/form/{FormControl.d.ts → FormControl.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{FormDescription.d.ts → FormDescription.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{FormItem.d.ts → FormItem.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{FormLabel.d.ts → FormLabel.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +2 -0
- package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +8 -0
- package/dist/components/tt-form/src/form/{FormWarnMessage.d.ts → FormWarnMessage.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{RenderContent.d.ts → RenderContent.vue.d.ts} +4 -4
- package/dist/components/tt-form/src/form/index.d.ts +8 -8
- package/dist/components/tt-form/src/form/useFormField.d.ts +5 -6
- package/dist/components/tt-form/src/form-render/{FormField.d.ts → FormField.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
- package/dist/components/tt-form/src/form-render/{FormLabel.d.ts → FormLabel.vue.d.ts} +2 -3
- package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +11 -14
- package/dist/components/tt-form/src/form-render/context.d.ts +4 -5
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +6 -7
- package/dist/components/tt-form/src/form-render/expandable.d.ts +3 -4
- package/dist/components/tt-form/src/form-render/{form.d.ts → form.vue.d.ts} +8 -9
- package/dist/components/tt-form/src/form-render/index.d.ts +3 -3
- package/dist/components/tt-form/src/formApi.d.ts +3 -3
- package/dist/components/tt-form/src/group-form/{GroupForm.d.ts → GroupForm.vue.d.ts} +5 -7
- package/dist/components/tt-form/src/group-form/{GroupSection.d.ts → GroupSection.vue.d.ts} +5 -7
- package/dist/components/tt-form/src/group-form/{LazyFormField.d.ts → LazyFormField.vue.d.ts} +3 -5
- package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +5 -7
- package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +2 -3
- package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +2 -2
- package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +2 -2
- package/dist/components/tt-form/src/index.vue.d.ts +216 -0
- package/dist/components/tt-form/src/useForm.d.ts +1 -2
- package/dist/components/tt-form/src/useFormContext.d.ts +1 -2
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +337 -61
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +298 -0
- package/dist/components/tt-icon/components/AddIcon.vue.d.ts +7 -0
- package/dist/components/tt-icon/components/SubIcon.vue.d.ts +7 -0
- package/dist/components/tt-icon/index.d.ts +115 -24
- package/dist/components/tt-icon/index.vue.d.ts +32 -0
- package/dist/components/tt-image/index.d.ts +41 -45
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +26 -30
- package/dist/components/tt-image/tt-image.d.ts +34 -36
- package/dist/components/tt-loading/index.d.ts +2 -5
- package/dist/components/tt-loading/src/loading.vue.d.ts +12 -0
- package/dist/components/tt-log/index.d.ts +6 -7
- package/dist/components/tt-log/index.vue.d.ts +5 -0
- package/dist/components/tt-modal/index.d.ts +364 -371
- package/dist/components/tt-modal/src/{RenderModal.d.ts → RenderModal.vue.d.ts} +115 -118
- package/dist/components/tt-modal/src/components/{ModalFooter.d.ts → ModalFooter.vue.d.ts} +23 -26
- package/dist/components/tt-modal/src/components/{ModalHeader.d.ts → ModalHeader.vue.d.ts} +3 -4
- package/dist/components/tt-modal/src/components/{ModalWrapper.d.ts → ModalWrapper.vue.d.ts} +24 -27
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +29 -32
- package/dist/components/tt-modal/src/typing.d.ts +2 -2
- package/dist/components/tt-modal/src/utils/modal-api.d.ts +1 -2
- package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +2 -3
- package/dist/components/tt-modal-form/index.d.ts +2 -46
- package/dist/components/tt-modal-form/index.vue.d.ts +45 -0
- package/dist/components/tt-modal-form/useModalForm.d.ts +3 -4
- package/dist/components/tt-nav-anchor/index.d.ts +12 -15
- package/dist/components/tt-nav-anchor/src/{TtNavAnchor.d.ts → TtNavAnchor.vue.d.ts} +4 -4
- package/dist/components/tt-panel-select/index.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/{PanelLeft.d.ts → PanelLeft.vue.d.ts} +3 -4
- package/dist/components/tt-panel-select/src/components/{PanelMiddle.d.ts → PanelMiddle.vue.d.ts} +80 -83
- package/dist/components/tt-panel-select/src/components/{PanelRight.d.ts → PanelRight.vue.d.ts} +32 -34
- package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +6 -7
- package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
- package/dist/components/tt-panel-select/src/{index.d.ts → index.vue.d.ts} +80 -84
- package/dist/components/tt-radio-group/index.d.ts +50 -31
- package/dist/components/tt-radio-group/index.vue.d.ts +33 -0
- package/dist/components/tt-select/index.d.ts +1 -1
- package/dist/components/tt-select/src/{Select.d.ts → Select.vue.d.ts} +141 -146
- package/dist/components/tt-select/src/components/{SelectTable.d.ts → SelectTable.vue.d.ts} +36 -40
- package/dist/components/tt-select/src/components/{Table.d.ts → Table.vue.d.ts} +38 -41
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/usePagination.d.ts +3 -4
- package/dist/components/tt-select/src/hooks/useSelect.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
- package/dist/components/tt-table/index.d.ts +279 -287
- package/dist/components/tt-table/src/{Table.d.ts → Table.vue.d.ts} +204 -209
- package/dist/components/tt-table/src/{TableForm.d.ts → TableForm.vue.d.ts} +80 -83
- package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableAction.d.ts → TableAction.vue.d.ts} +4 -4
- package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableColumnModal.d.ts → TableColumnModal.vue.d.ts} +4 -5
- package/dist/components/tt-table/src/components/{TableToolbarTools.d.ts → TableToolbarTools.vue.d.ts} +6 -7
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +44 -45
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +33 -33
- package/dist/components/tt-table/src/hooks/useQuery.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +110 -112
- package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
- package/dist/components/tt-table/src/props.d.ts +17 -19
- package/dist/components/tt-table/src/utils/table-api.d.ts +4 -4
- package/dist/components/tt-table/src/utils/table-form-api.d.ts +1 -2
- package/dist/components/tt-text/index.d.ts +59 -34
- package/dist/components/tt-text/index.vue.d.ts +50 -0
- package/dist/components/tt-upload/index.d.ts +311 -317
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +517 -0
- package/dist/components/tt-upload/src/typing.d.ts +47 -49
- package/dist/hooks/useLoading.d.ts +2 -2
- package/dist/hooks/useScreenshotOss.d.ts +2 -2
- package/dist/index.d.ts +1 -2
- package/package.json +3 -3
- package/dist/components/tt-area/TtArea.d.ts +0 -3
- package/dist/components/tt-button/components/AddButton.d.ts +0 -3
- package/dist/components/tt-form/src/form/FormMessage.d.ts +0 -3
- package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +0 -9
- package/dist/components/tt-form/src/index.d.ts +0 -217
- package/dist/components/tt-icon/components/AddIcon.d.ts +0 -8
- package/dist/components/tt-icon/components/SubIcon.d.ts +0 -8
- package/dist/components/tt-loading/src/loading.d.ts +0 -13
- package/dist/components/tt-upload/src/TtUpload.d.ts +0 -519
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { UploadRawFile
|
|
3
|
-
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
|
4
|
-
import { Awaitable, Mutable } from 'element-plus/es/utils/typescript.mjs';
|
|
2
|
+
import { UploadRawFile } from 'element-plus';
|
|
5
3
|
export interface OssSignatureResult {
|
|
6
4
|
/** HMAC-SHA256 签名 */
|
|
7
5
|
signature: string;
|
|
@@ -57,12 +55,12 @@ export declare const ttUploadProps: {
|
|
|
57
55
|
readonly default: ".pdf,.xlsx,.xls,.doc,.docx,.jpg,.jpeg,.png";
|
|
58
56
|
};
|
|
59
57
|
/** 上传前的钩子;在内置类型/大小/数量校验通过后调用,返回 false 可阻止上传 */
|
|
60
|
-
readonly beforeUpload: EpPropFinalized<(new (...args: any[]) => (rawFile: UploadRawFile) => Awaitable<void | undefined | null | boolean | File | Blob>) | (() => (rawFile: UploadRawFile) => Awaitable<void | undefined | null | boolean | File | Blob>) | {
|
|
61
|
-
(): (rawFile: UploadRawFile) => Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
58
|
+
readonly beforeUpload: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | (() => (rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | {
|
|
59
|
+
(): (rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
62
60
|
new (): any;
|
|
63
61
|
readonly prototype: any;
|
|
64
|
-
} | ((new (...args: any[]) => (rawFile: UploadRawFile) => Awaitable<void | undefined | null | boolean | File | Blob>) | (() => (rawFile: UploadRawFile) => Awaitable<void | undefined | null | boolean | File | Blob>) | {
|
|
65
|
-
(): (rawFile: UploadRawFile) => Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
62
|
+
} | ((new (...args: any[]) => (rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | (() => (rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | {
|
|
63
|
+
(): (rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
66
64
|
new (): any;
|
|
67
65
|
readonly prototype: any;
|
|
68
66
|
} | null)[], unknown, unknown, () => void, boolean>;
|
|
@@ -171,102 +169,102 @@ export declare const ttUploadProps: {
|
|
|
171
169
|
readonly default: false;
|
|
172
170
|
};
|
|
173
171
|
readonly beforeRemove: {
|
|
174
|
-
readonly type: PropType<(uploadFile: UploadFile, uploadFiles: UploadFiles) => Awaitable<boolean>>;
|
|
172
|
+
readonly type: PropType<(uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => import('element-plus/es/utils/typescript.mjs').Awaitable<boolean>>;
|
|
175
173
|
readonly required: false;
|
|
176
174
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
177
175
|
__epPropKey: true;
|
|
178
176
|
};
|
|
179
|
-
readonly onRemove: EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
180
|
-
(): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
177
|
+
readonly onRemove: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
178
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
181
179
|
new (): any;
|
|
182
180
|
readonly prototype: any;
|
|
183
|
-
} | (((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
184
|
-
(): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
181
|
+
} | (((new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
182
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
185
183
|
new (): any;
|
|
186
184
|
readonly prototype: any;
|
|
187
185
|
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
188
|
-
readonly onChange: EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
189
|
-
(): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
186
|
+
readonly onChange: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
187
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
190
188
|
new (): any;
|
|
191
189
|
readonly prototype: any;
|
|
192
|
-
} | (((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
193
|
-
(): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
190
|
+
} | (((new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
191
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
194
192
|
new (): any;
|
|
195
193
|
readonly prototype: any;
|
|
196
194
|
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
197
|
-
readonly onPreview: EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
|
|
198
|
-
(): (uploadFile: UploadFile) => void;
|
|
195
|
+
readonly onPreview: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (uploadFile: import('element-plus').UploadFile) => void) | (() => (uploadFile: import('element-plus').UploadFile) => void) | {
|
|
196
|
+
(): (uploadFile: import('element-plus').UploadFile) => void;
|
|
199
197
|
new (): any;
|
|
200
198
|
readonly prototype: any;
|
|
201
|
-
} | (((new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
|
|
202
|
-
(): (uploadFile: UploadFile) => void;
|
|
199
|
+
} | (((new (...args: any[]) => (uploadFile: import('element-plus').UploadFile) => void) | (() => (uploadFile: import('element-plus').UploadFile) => void) | {
|
|
200
|
+
(): (uploadFile: import('element-plus').UploadFile) => void;
|
|
203
201
|
new (): any;
|
|
204
202
|
readonly prototype: any;
|
|
205
203
|
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
206
|
-
readonly onSuccess: EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
207
|
-
(): (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
204
|
+
readonly onSuccess: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
205
|
+
(): (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
208
206
|
new (): any;
|
|
209
207
|
readonly prototype: any;
|
|
210
|
-
} | (((new (...args: any[]) => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
211
|
-
(): (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
208
|
+
} | (((new (...args: any[]) => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
209
|
+
(): (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
212
210
|
new (): any;
|
|
213
211
|
readonly prototype: any;
|
|
214
212
|
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
215
|
-
readonly onProgress: EpPropFinalized<(new (...args: any[]) => (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
216
|
-
(): (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
213
|
+
readonly onProgress: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
214
|
+
(): (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
217
215
|
new (): any;
|
|
218
216
|
readonly prototype: any;
|
|
219
|
-
} | (((new (...args: any[]) => (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
220
|
-
(): (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
217
|
+
} | (((new (...args: any[]) => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
218
|
+
(): (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
221
219
|
new (): any;
|
|
222
220
|
readonly prototype: any;
|
|
223
221
|
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
224
|
-
readonly onError: EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
225
|
-
(): (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
222
|
+
readonly onError: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
223
|
+
(): (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
226
224
|
new (): any;
|
|
227
225
|
readonly prototype: any;
|
|
228
|
-
} | (((new (...args: any[]) => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
229
|
-
(): (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
226
|
+
} | (((new (...args: any[]) => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
227
|
+
(): (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
230
228
|
new (): any;
|
|
231
229
|
readonly prototype: any;
|
|
232
230
|
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
233
|
-
readonly onExceed: EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: UploadUserFile[]) => void) | {
|
|
234
|
-
(): (files: File[], uploadFiles: UploadUserFile[]) => void;
|
|
231
|
+
readonly onExceed: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | {
|
|
232
|
+
(): (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
235
233
|
new (): any;
|
|
236
234
|
readonly prototype: any;
|
|
237
|
-
} | (((new (...args: any[]) => (files: File[], uploadFiles: UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: UploadUserFile[]) => void) | {
|
|
238
|
-
(): (files: File[], uploadFiles: UploadUserFile[]) => void;
|
|
235
|
+
} | (((new (...args: any[]) => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | {
|
|
236
|
+
(): (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
239
237
|
new (): any;
|
|
240
238
|
readonly prototype: any;
|
|
241
239
|
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
242
240
|
readonly crossorigin: {
|
|
243
|
-
readonly type: PropType<
|
|
241
|
+
readonly type: PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials")) | null)[], unknown, unknown>>;
|
|
244
242
|
readonly required: false;
|
|
245
243
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
246
244
|
__epPropKey: true;
|
|
247
245
|
};
|
|
248
246
|
readonly headers: {
|
|
249
|
-
readonly type: PropType<
|
|
247
|
+
readonly type: PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | (((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers)) | null)[], unknown, unknown>>;
|
|
250
248
|
readonly required: false;
|
|
251
249
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
252
250
|
__epPropKey: true;
|
|
253
251
|
};
|
|
254
|
-
readonly method: EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
|
|
255
|
-
readonly data: EpPropFinalized<(new (...args: any[]) => Mutable<Record<string, any>> | Promise<
|
|
256
|
-
readonly name: EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;
|
|
252
|
+
readonly method: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
|
|
253
|
+
readonly data: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (((new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>))) | null)[], unknown, unknown, () => import('element-plus/es/utils/typescript.mjs').Mutable<{}>, boolean>;
|
|
254
|
+
readonly name: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;
|
|
257
255
|
readonly withCredentials: BooleanConstructor;
|
|
258
|
-
readonly fileList: EpPropFinalized<(new (...args: any[]) => UploadUserFile[]) | (() => UploadUserFile[]) | (((new (...args: any[]) => UploadUserFile[]) | (() => UploadUserFile[])) | null)[], unknown, unknown, () => [], boolean>;
|
|
259
|
-
readonly autoUpload: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
260
|
-
readonly listType: EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;
|
|
261
|
-
readonly httpRequest: EpPropFinalized<(new (...args: any[]) => UploadRequestHandler) | (() => UploadRequestHandler) | {
|
|
262
|
-
(): UploadRequestHandler;
|
|
256
|
+
readonly fileList: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => import('element-plus').UploadUserFile[]) | (() => import('element-plus').UploadUserFile[]) | (((new (...args: any[]) => import('element-plus').UploadUserFile[]) | (() => import('element-plus').UploadUserFile[])) | null)[], unknown, unknown, () => [], boolean>;
|
|
257
|
+
readonly autoUpload: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
258
|
+
readonly listType: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;
|
|
259
|
+
readonly httpRequest: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => import('element-plus').UploadRequestHandler) | (() => import('element-plus').UploadRequestHandler) | {
|
|
260
|
+
(): import('element-plus').UploadRequestHandler;
|
|
263
261
|
new (): any;
|
|
264
262
|
readonly prototype: any;
|
|
265
|
-
} | (((new (...args: any[]) => UploadRequestHandler) | (() => UploadRequestHandler) | {
|
|
266
|
-
(): UploadRequestHandler;
|
|
263
|
+
} | (((new (...args: any[]) => import('element-plus').UploadRequestHandler) | (() => import('element-plus').UploadRequestHandler) | {
|
|
264
|
+
(): import('element-plus').UploadRequestHandler;
|
|
267
265
|
new (): any;
|
|
268
266
|
readonly prototype: any;
|
|
269
|
-
}) | null)[], unknown, unknown, UploadRequestHandler, boolean>;
|
|
267
|
+
}) | null)[], unknown, unknown, import('element-plus').UploadRequestHandler, boolean>;
|
|
270
268
|
readonly limit: NumberConstructor;
|
|
271
269
|
readonly directory: BooleanConstructor;
|
|
272
270
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { MaybeRef
|
|
1
|
+
import { MaybeRef } from 'vue';
|
|
2
2
|
/**
|
|
3
3
|
* 用于处理加载状态的钩子函数
|
|
4
4
|
* @returns 包含获取加载状态和设置加载状态的函数的对象
|
|
5
5
|
*/
|
|
6
6
|
export declare function useLoading(loading?: MaybeRef<boolean>): {
|
|
7
|
-
getLoading: ComputedRef<boolean>;
|
|
7
|
+
getLoading: import('vue').ComputedRef<boolean>;
|
|
8
8
|
setLoading: (loading: boolean) => void;
|
|
9
9
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, VNode, MaybeRefOrGetter
|
|
1
|
+
import { Component, VNode, MaybeRefOrGetter } from 'vue';
|
|
2
2
|
import { ComponentCaptureOptions, ElementScreenshotOptions, ScreenshotTarget } from '../../../hooks/src';
|
|
3
3
|
import { OssSignatureResult } from '../components/tt-upload/src/typing';
|
|
4
4
|
export interface ScreenshotOssOptions extends ElementScreenshotOptions {
|
|
@@ -33,5 +33,5 @@ export declare function useScreenshotOss(): {
|
|
|
33
33
|
output: "blob";
|
|
34
34
|
}): Promise<ScreenshotOssResult>;
|
|
35
35
|
};
|
|
36
|
-
isCapturing: Ref<boolean, boolean>;
|
|
36
|
+
isCapturing: import('vue').Ref<boolean, boolean>;
|
|
37
37
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { App, Component } from 'vue';
|
|
2
2
|
import { BaseFormComponentType } from './components/tt-form';
|
|
3
3
|
import { setXHR } from './utils/xhr';
|
|
4
|
-
import { TtUiGlobalSetup } from './components/types';
|
|
5
4
|
export * from './components/tt-area';
|
|
6
5
|
export * from './components/tt-button';
|
|
7
6
|
export * from './components/tt-checkbox';
|
|
@@ -55,6 +54,6 @@ declare const _default: {
|
|
|
55
54
|
* @param options 全局参数
|
|
56
55
|
* @returns 合并后的全局参数
|
|
57
56
|
*/
|
|
58
|
-
setup: TtUiGlobalSetup;
|
|
57
|
+
setup: import('./components/types').TtUiGlobalSetup;
|
|
59
58
|
};
|
|
60
59
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dazhicheng/ui",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.26",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"vue-router": "^5.0.2",
|
|
70
70
|
"vxe-pc-ui": "^4.14.15",
|
|
71
71
|
"vxe-table": "^4.18.13",
|
|
72
|
-
"@dazhicheng/
|
|
73
|
-
"@dazhicheng/
|
|
72
|
+
"@dazhicheng/utils": "1.3.53",
|
|
73
|
+
"@dazhicheng/hooks": "1.4.56"
|
|
74
74
|
},
|
|
75
75
|
"files": [
|
|
76
76
|
"dist"
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
3
|
-
export default _default;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3
|
-
export default _default;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
/**
|
|
4
|
-
* 表单消息组件的 DOM 元素引用
|
|
5
|
-
*/
|
|
6
|
-
refDom?: HTMLDivElement | null;
|
|
7
|
-
};
|
|
8
|
-
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
9
|
-
export default _default;
|
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
import { ExtendedFormApi, TtFormProps, FormSchema, FormShape, ArrayToStringFields, FormCommonConfig, BaseFormComponentType, FieldMappingTime, FormActions, FormLayout, FormSchemaItem, FormSlotSchema, WrapperClassType, FormRenderProps } from './types';
|
|
2
|
-
import { nextTick, ComponentInternalInstance, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, PublicProps } from 'vue';
|
|
3
|
-
import { OnCleanup } from '@vue/reactivity';
|
|
4
|
-
interface Props extends TtFormProps {
|
|
5
|
-
formApi?: ExtendedFormApi;
|
|
6
|
-
}
|
|
7
|
-
declare function __VLS_template(): {
|
|
8
|
-
attrs: Partial<{}>;
|
|
9
|
-
slots: Partial<Record<string, (_: any) => any>> & {
|
|
10
|
-
default?(_: {
|
|
11
|
-
shapes: FormShape[];
|
|
12
|
-
}): any;
|
|
13
|
-
'reset-before'?(_: {}): any;
|
|
14
|
-
'submit-before'?(_: {}): any;
|
|
15
|
-
'expand-before'?(_: {}): any;
|
|
16
|
-
'expand-after'?(_: {}): any;
|
|
17
|
-
};
|
|
18
|
-
refs: {
|
|
19
|
-
formRef: ({
|
|
20
|
-
$: ComponentInternalInstance;
|
|
21
|
-
$data: {};
|
|
22
|
-
$props: {
|
|
23
|
-
readonly arrayToStringFields?: ArrayToStringFields | undefined;
|
|
24
|
-
readonly collapsed?: boolean | undefined;
|
|
25
|
-
readonly collapsedRows?: number | undefined;
|
|
26
|
-
readonly collapseTriggerResize?: boolean | undefined;
|
|
27
|
-
readonly commonConfig?: FormCommonConfig<Record<string, any>> | undefined;
|
|
28
|
-
readonly compact?: boolean | undefined;
|
|
29
|
-
readonly componentBindEventMap?: Partial<Record< BaseFormComponentType, string>> | undefined;
|
|
30
|
-
readonly componentMap: Record< BaseFormComponentType, Component>;
|
|
31
|
-
readonly fieldMappingTime?: FieldMappingTime | undefined;
|
|
32
|
-
readonly form?: FormActions | undefined;
|
|
33
|
-
readonly layout?: FormLayout | undefined;
|
|
34
|
-
readonly schema?: (FormSchema<Record<string, any>> | FormSchemaItem<Record<string, any>> | FormSlotSchema<Record<string, any>>)[] | undefined;
|
|
35
|
-
readonly showCollapseButton?: boolean | undefined;
|
|
36
|
-
readonly wrapperClass?: WrapperClassType | undefined;
|
|
37
|
-
readonly globalCommonConfig?: FormCommonConfig | undefined;
|
|
38
|
-
readonly onSubmit?: ((event: any) => any) | undefined;
|
|
39
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
40
|
-
$attrs: {
|
|
41
|
-
[x: string]: unknown;
|
|
42
|
-
};
|
|
43
|
-
$refs: {
|
|
44
|
-
[x: string]: unknown;
|
|
45
|
-
} & {
|
|
46
|
-
wrapperRef: HTMLDivElement;
|
|
47
|
-
};
|
|
48
|
-
$slots: Readonly<{
|
|
49
|
-
[name: string]: Slot<any> | undefined;
|
|
50
|
-
}>;
|
|
51
|
-
$root: ComponentPublicInstance | null;
|
|
52
|
-
$parent: ComponentPublicInstance | null;
|
|
53
|
-
$host: Element | null;
|
|
54
|
-
$emit: (event: "submit", event: any) => void;
|
|
55
|
-
$el: any;
|
|
56
|
-
$options: ComponentOptionsBase<Readonly< FormRenderProps<Record<string, any>> & {
|
|
57
|
-
globalCommonConfig?: FormCommonConfig;
|
|
58
|
-
}> & Readonly<{
|
|
59
|
-
onSubmit?: ((event: any) => any) | undefined;
|
|
60
|
-
}>, {
|
|
61
|
-
wrapperRef: ComputedRef<HTMLElement | null>;
|
|
62
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
63
|
-
submit: (event: any) => any;
|
|
64
|
-
}, string, {
|
|
65
|
-
collapsedRows: number;
|
|
66
|
-
commonConfig: FormCommonConfig<Record<string, any>>;
|
|
67
|
-
showCollapseButton: boolean;
|
|
68
|
-
wrapperClass: WrapperClassType;
|
|
69
|
-
globalCommonConfig: FormCommonConfig;
|
|
70
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
71
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
72
|
-
created?: (() => void) | (() => void)[];
|
|
73
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
74
|
-
mounted?: (() => void) | (() => void)[];
|
|
75
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
76
|
-
updated?: (() => void) | (() => void)[];
|
|
77
|
-
activated?: (() => void) | (() => void)[];
|
|
78
|
-
deactivated?: (() => void) | (() => void)[];
|
|
79
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
80
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
81
|
-
destroyed?: (() => void) | (() => void)[];
|
|
82
|
-
unmounted?: (() => void) | (() => void)[];
|
|
83
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
84
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
85
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
86
|
-
};
|
|
87
|
-
$forceUpdate: () => void;
|
|
88
|
-
$nextTick: typeof nextTick;
|
|
89
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
90
|
-
} & Readonly<{
|
|
91
|
-
collapsedRows: number;
|
|
92
|
-
commonConfig: FormCommonConfig<Record<string, any>>;
|
|
93
|
-
showCollapseButton: boolean;
|
|
94
|
-
wrapperClass: WrapperClassType;
|
|
95
|
-
globalCommonConfig: FormCommonConfig;
|
|
96
|
-
}> & Omit<Readonly< FormRenderProps<Record<string, any>> & {
|
|
97
|
-
globalCommonConfig?: FormCommonConfig;
|
|
98
|
-
}> & Readonly<{
|
|
99
|
-
onSubmit?: ((event: any) => any) | undefined;
|
|
100
|
-
}>, "wrapperRef" | ("collapsedRows" | "commonConfig" | "showCollapseButton" | "wrapperClass" | "globalCommonConfig")> & ShallowUnwrapRef<{
|
|
101
|
-
wrapperRef: ComputedRef<HTMLElement | null>;
|
|
102
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
103
|
-
$slots: Partial<Record<string, (_: {
|
|
104
|
-
values: Record<string, any>;
|
|
105
|
-
formActions: FormActions;
|
|
106
|
-
}) => any>> & Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
107
|
-
default?(_: {
|
|
108
|
-
shapes: FormShape[];
|
|
109
|
-
}): any;
|
|
110
|
-
};
|
|
111
|
-
}) | null;
|
|
112
|
-
};
|
|
113
|
-
rootEl: any;
|
|
114
|
-
};
|
|
115
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
116
|
-
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
117
|
-
formRef: ({
|
|
118
|
-
$: ComponentInternalInstance;
|
|
119
|
-
$data: {};
|
|
120
|
-
$props: {
|
|
121
|
-
readonly arrayToStringFields?: ArrayToStringFields | undefined;
|
|
122
|
-
readonly collapsed?: boolean | undefined;
|
|
123
|
-
readonly collapsedRows?: number | undefined;
|
|
124
|
-
readonly collapseTriggerResize?: boolean | undefined;
|
|
125
|
-
readonly commonConfig?: FormCommonConfig<Record<string, any>> | undefined;
|
|
126
|
-
readonly compact?: boolean | undefined;
|
|
127
|
-
readonly componentBindEventMap?: Partial<Record< BaseFormComponentType, string>> | undefined;
|
|
128
|
-
readonly componentMap: Record< BaseFormComponentType, Component>;
|
|
129
|
-
readonly fieldMappingTime?: FieldMappingTime | undefined;
|
|
130
|
-
readonly form?: FormActions | undefined;
|
|
131
|
-
readonly layout?: FormLayout | undefined;
|
|
132
|
-
readonly schema?: (FormSchema<Record<string, any>> | FormSchemaItem<Record<string, any>> | FormSlotSchema<Record<string, any>>)[] | undefined;
|
|
133
|
-
readonly showCollapseButton?: boolean | undefined;
|
|
134
|
-
readonly wrapperClass?: WrapperClassType | undefined;
|
|
135
|
-
readonly globalCommonConfig?: FormCommonConfig | undefined;
|
|
136
|
-
readonly onSubmit?: ((event: any) => any) | undefined;
|
|
137
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
138
|
-
$attrs: {
|
|
139
|
-
[x: string]: unknown;
|
|
140
|
-
};
|
|
141
|
-
$refs: {
|
|
142
|
-
[x: string]: unknown;
|
|
143
|
-
} & {
|
|
144
|
-
wrapperRef: HTMLDivElement;
|
|
145
|
-
};
|
|
146
|
-
$slots: Readonly<{
|
|
147
|
-
[name: string]: Slot<any> | undefined;
|
|
148
|
-
}>;
|
|
149
|
-
$root: ComponentPublicInstance | null;
|
|
150
|
-
$parent: ComponentPublicInstance | null;
|
|
151
|
-
$host: Element | null;
|
|
152
|
-
$emit: (event: "submit", event: any) => void;
|
|
153
|
-
$el: any;
|
|
154
|
-
$options: ComponentOptionsBase<Readonly< FormRenderProps<Record<string, any>> & {
|
|
155
|
-
globalCommonConfig?: FormCommonConfig;
|
|
156
|
-
}> & Readonly<{
|
|
157
|
-
onSubmit?: ((event: any) => any) | undefined;
|
|
158
|
-
}>, {
|
|
159
|
-
wrapperRef: ComputedRef<HTMLElement | null>;
|
|
160
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
161
|
-
submit: (event: any) => any;
|
|
162
|
-
}, string, {
|
|
163
|
-
collapsedRows: number;
|
|
164
|
-
commonConfig: FormCommonConfig<Record<string, any>>;
|
|
165
|
-
showCollapseButton: boolean;
|
|
166
|
-
wrapperClass: WrapperClassType;
|
|
167
|
-
globalCommonConfig: FormCommonConfig;
|
|
168
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
169
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
170
|
-
created?: (() => void) | (() => void)[];
|
|
171
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
172
|
-
mounted?: (() => void) | (() => void)[];
|
|
173
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
174
|
-
updated?: (() => void) | (() => void)[];
|
|
175
|
-
activated?: (() => void) | (() => void)[];
|
|
176
|
-
deactivated?: (() => void) | (() => void)[];
|
|
177
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
178
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
179
|
-
destroyed?: (() => void) | (() => void)[];
|
|
180
|
-
unmounted?: (() => void) | (() => void)[];
|
|
181
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
182
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
183
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
184
|
-
};
|
|
185
|
-
$forceUpdate: () => void;
|
|
186
|
-
$nextTick: typeof nextTick;
|
|
187
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
188
|
-
} & Readonly<{
|
|
189
|
-
collapsedRows: number;
|
|
190
|
-
commonConfig: FormCommonConfig<Record<string, any>>;
|
|
191
|
-
showCollapseButton: boolean;
|
|
192
|
-
wrapperClass: WrapperClassType;
|
|
193
|
-
globalCommonConfig: FormCommonConfig;
|
|
194
|
-
}> & Omit<Readonly< FormRenderProps<Record<string, any>> & {
|
|
195
|
-
globalCommonConfig?: FormCommonConfig;
|
|
196
|
-
}> & Readonly<{
|
|
197
|
-
onSubmit?: ((event: any) => any) | undefined;
|
|
198
|
-
}>, "wrapperRef" | ("collapsedRows" | "commonConfig" | "showCollapseButton" | "wrapperClass" | "globalCommonConfig")> & ShallowUnwrapRef<{
|
|
199
|
-
wrapperRef: ComputedRef<HTMLElement | null>;
|
|
200
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
201
|
-
$slots: Partial<Record<string, (_: {
|
|
202
|
-
values: Record<string, any>;
|
|
203
|
-
formActions: FormActions;
|
|
204
|
-
}) => any>> & Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
205
|
-
default?(_: {
|
|
206
|
-
shapes: FormShape[];
|
|
207
|
-
}): any;
|
|
208
|
-
};
|
|
209
|
-
}) | null;
|
|
210
|
-
}, any>;
|
|
211
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
212
|
-
export default _default;
|
|
213
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
214
|
-
new (): {
|
|
215
|
-
$slots: S;
|
|
216
|
-
};
|
|
217
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TtIconProps } from '../index';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
type __VLS_Props = Omit<TtIconProps, "icon">;
|
|
4
|
-
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
5
|
-
size: number;
|
|
6
|
-
isCustomSvg: boolean;
|
|
7
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
8
|
-
export default _default;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TtIconProps } from '../index';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
type __VLS_Props = Omit<TtIconProps, "icon">;
|
|
4
|
-
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
5
|
-
size: number;
|
|
6
|
-
isCustomSvg: boolean;
|
|
7
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
8
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { LoadingProps } from './type';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare const _default: DefineComponent<LoadingProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LoadingProps> & Readonly<{}>, {
|
|
4
|
-
visible: boolean;
|
|
5
|
-
zIndex: number;
|
|
6
|
-
svg: string;
|
|
7
|
-
text: string;
|
|
8
|
-
background: string;
|
|
9
|
-
fullscreen: boolean;
|
|
10
|
-
textColor: string;
|
|
11
|
-
spinnerColor: string;
|
|
12
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
13
|
-
export default _default;
|