@dazhicheng/ui 1.5.6 → 1.5.8
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-area/TtArea.vue.d.ts +2 -0
- package/dist/components/tt-area/index.d.ts +1 -0
- package/dist/components/tt-button/index.d.ts +1739 -0
- package/dist/components/tt-button/index.vue.d.ts +1004 -0
- package/dist/components/tt-checkbox/index.d.ts +36 -0
- package/dist/components/tt-checkbox/index.vue.d.ts +28 -0
- package/dist/components/tt-checkbox/type.d.ts +9 -0
- package/dist/components/tt-drawer/index.d.ts +3703 -0
- package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +2121 -0
- package/dist/components/tt-drawer/src/components/DrawerFooter.vue.d.ts +94 -0
- package/dist/components/tt-drawer/src/components/DrawerHeader.vue.d.ts +27 -0
- package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +10 -0
- package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +9 -0
- package/dist/components/tt-drawer/src/index.d.ts +10 -0
- package/dist/components/tt-drawer/src/props.d.ts +99 -0
- package/dist/components/tt-drawer/src/typing.d.ts +154 -0
- package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +87 -0
- package/dist/components/tt-empty/index.d.ts +18 -0
- package/dist/components/tt-form/index.d.ts +13 -0
- package/dist/components/tt-form/src/components/ExpandableArrow.vue.d.ts +33 -0
- package/dist/components/tt-form/src/components/FormActions.vue.d.ts +34 -0
- package/dist/components/tt-form/src/components/Slot.d.ts +7 -0
- package/dist/components/tt-form/src/config.d.ts +6 -0
- package/dist/components/tt-form/src/form/FormControl.vue.d.ts +19 -0
- package/dist/components/tt-form/src/form/FormDescription.vue.d.ts +23 -0
- package/dist/components/tt-form/src/form/FormItem.vue.d.ts +23 -0
- package/dist/components/tt-form/src/form/FormLabel.vue.d.ts +23 -0
- 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.vue.d.ts +25 -0
- package/dist/components/tt-form/src/form/RenderContent.vue.d.ts +23 -0
- package/dist/components/tt-form/src/form/index.d.ts +10 -0
- package/dist/components/tt-form/src/form/injectionKeys.d.ts +2 -0
- package/dist/components/tt-form/src/form/useFormField.d.ts +11 -0
- package/dist/components/tt-form/src/form-render/FormField.vue.d.ts +28 -0
- package/dist/components/tt-form/src/form-render/FormLabel.vue.d.ts +27 -0
- package/dist/components/tt-form/src/form-render/context.d.ts +7 -0
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +361 -0
- package/dist/components/tt-form/src/form-render/expandable.d.ts +9 -0
- package/dist/components/tt-form/src/form-render/form.vue.d.ts +38 -0
- package/dist/components/tt-form/src/form-render/helper.d.ts +11 -0
- package/dist/components/tt-form/src/form-render/index.d.ts +3 -0
- package/dist/components/tt-form/src/formApi.d.ts +71 -0
- package/dist/components/tt-form/src/hooks/useEmitAsProps.d.ts +7 -0
- package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +14 -0
- package/dist/components/tt-form/src/hooks/useForwardPriorityValues.d.ts +14 -0
- package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +7 -0
- package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +8 -0
- package/dist/components/tt-form/src/index.vue.d.ts +27 -0
- package/dist/components/tt-form/src/shared/createContext.d.ts +8 -0
- package/dist/components/tt-form/src/shared/global-state.d.ts +17 -0
- package/dist/components/tt-form/src/shared/store.d.ts +1 -0
- package/dist/components/tt-form/src/shared/zod-defaults.d.ts +54 -0
- package/dist/components/tt-form/src/types/common.d.ts +11 -0
- package/dist/components/tt-form/src/types/forms.d.ts +280 -0
- package/dist/components/tt-form/src/types/index.d.ts +3 -0
- package/dist/components/tt-form/src/types/paths.d.ts +142 -0
- package/dist/components/tt-form/src/types/shared.d.ts +19 -0
- package/dist/components/tt-form/src/types.d.ts +383 -0
- package/dist/components/tt-form/src/useForm.d.ts +2 -0
- package/dist/components/tt-form/src/useFormContext.d.ts +12 -0
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +1549 -0
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +784 -0
- package/dist/components/tt-icon/index.d.ts +76 -0
- package/dist/components/tt-icon/index.vue.d.ts +32 -0
- package/dist/components/tt-image/index.d.ts +127 -0
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +89 -0
- package/dist/components/tt-image/tt-image.d.ts +126 -0
- package/dist/components/tt-loading/index.d.ts +16 -0
- package/dist/components/tt-loading/src/directive.d.ts +9 -0
- package/dist/components/tt-loading/src/loading.vue.d.ts +12 -0
- package/dist/components/tt-loading/src/service.d.ts +25 -0
- package/dist/components/tt-loading/src/type.d.ts +20 -0
- package/dist/components/tt-modal/index.d.ts +1809 -0
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +1008 -0
- package/dist/components/tt-modal/src/components/ModalFooter.vue.d.ts +210 -0
- package/dist/components/tt-modal/src/components/ModalHeader.vue.d.ts +31 -0
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.d.ts +224 -0
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +110 -0
- package/dist/components/tt-modal/src/index.d.ts +5 -0
- package/dist/components/tt-modal/src/props.d.ts +161 -0
- package/dist/components/tt-modal/src/typing.d.ts +188 -0
- package/dist/components/tt-modal/src/utils/modal-api.d.ts +97 -0
- package/dist/components/tt-part/index.d.ts +398 -0
- package/dist/components/tt-part/index.vue.d.ts +253 -0
- package/dist/components/tt-part/type.d.ts +100 -0
- package/dist/components/tt-part-item/index.d.ts +105 -0
- package/dist/components/tt-part-item/index.vue.d.ts +71 -0
- package/dist/components/tt-part-item/type.d.ts +81 -0
- package/dist/components/tt-select/index.d.ts +7 -0
- package/dist/components/tt-select/src/Select.vue.d.ts +861 -0
- package/dist/components/tt-select/src/components/SelectTable.vue.d.ts +111 -0
- package/dist/components/tt-select/src/components/Table.vue.d.ts +250 -0
- package/dist/components/tt-select/src/const.d.ts +16 -0
- package/dist/components/tt-select/src/hooks/useDataSource.d.ts +115 -0
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +32 -0
- package/dist/components/tt-select/src/hooks/useKeyboard.d.ts +59 -0
- package/dist/components/tt-select/src/hooks/usePagination.d.ts +16 -0
- package/dist/components/tt-select/src/hooks/useSelect.d.ts +87 -0
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +178 -0
- package/dist/components/tt-select/src/props.d.ts +190 -0
- package/dist/components/tt-select/src/types/index.d.ts +142 -0
- package/dist/components/tt-select/src/utils/index.d.ts +9 -0
- package/dist/components/tt-table/index.d.ts +127 -0
- package/dist/components/tt-table/src/Table.vue.d.ts +1685 -0
- package/dist/components/tt-table/src/componentMap.d.ts +8 -0
- package/dist/components/tt-table/src/components/RowContext.d.ts +24 -0
- package/dist/components/tt-table/src/components/TableAction.vue.d.ts +79 -0
- package/dist/components/tt-table/src/components/TableButtons.d.ts +30 -0
- package/dist/components/tt-table/src/components/TableColumnModal.vue.d.ts +26 -0
- package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +1531 -0
- package/dist/components/tt-table/src/emits.d.ts +1 -0
- package/dist/components/tt-table/src/enum.d.ts +2 -0
- package/dist/components/tt-table/src/hooks/useCellArea.d.ts +15 -0
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +27 -0
- package/dist/components/tt-table/src/hooks/useCustomColumns.d.ts +20 -0
- package/dist/components/tt-table/src/hooks/useDataSource.d.ts +29 -0
- package/dist/components/tt-table/src/hooks/useLeftRightSlot.d.ts +1082 -0
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +102 -0
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +30 -0
- package/dist/components/tt-table/src/hooks/useTable.d.ts +7 -0
- package/dist/components/tt-table/src/hooks/useTableContext.d.ts +43 -0
- package/dist/components/tt-table/src/hooks/useTableEvent.d.ts +101 -0
- package/dist/components/tt-table/src/hooks/useTableForm.d.ts +15 -0
- package/dist/components/tt-table/src/hooks/useTableFormEvent.d.ts +10 -0
- package/dist/components/tt-table/src/hooks/useTableHeight.d.ts +15 -0
- package/dist/components/tt-table/src/hooks/useTableRender.d.ts +93 -0
- package/dist/components/tt-table/src/hooks/useTableSlot.d.ts +11 -0
- package/dist/components/tt-table/src/props.d.ts +433 -0
- package/dist/components/tt-table/src/toolProps.d.ts +19 -0
- package/dist/components/tt-table/src/types/table.d.ts +489 -0
- package/dist/components/tt-table/src/types/tableAction.d.ts +26 -0
- package/dist/components/tt-table/src/types/tableForm.d.ts +64 -0
- package/dist/components/tt-table/src/types/tableTools.d.ts +10 -0
- package/dist/components/tt-table/src/utils/context.d.ts +18 -0
- package/dist/components/tt-table/src/utils/filters.d.ts +109 -0
- package/dist/components/tt-table/src/utils/table-api.d.ts +250 -0
- package/dist/components/tt-table/src/utils/table-form-api.d.ts +88 -0
- package/dist/components/tt-table/src/utils/vxeTable.d.ts +28 -0
- package/dist/components/tt-text/index.d.ts +76 -0
- package/dist/components/tt-text/index.vue.d.ts +50 -0
- package/dist/components/tt-tree-select/index.d.ts +5 -0
- package/dist/components/tt-tree-select/src/TtTreeSelect.vue.d.ts +6 -0
- package/dist/components/tt-tree-select/src/cache-options.d.ts +35 -0
- package/dist/components/tt-tree-select/src/select.d.ts +10 -0
- package/dist/components/tt-tree-select/src/tree.d.ts +23 -0
- package/dist/components/tt-tree-select/src/utils.d.ts +10 -0
- package/dist/components/tt-validate/index.d.ts +1 -0
- package/dist/components/tt-validate/src/ErrorMessage.d.ts +61 -0
- package/dist/components/tt-validate/src/Field.d.ts +430 -0
- package/dist/components/tt-validate/src/FieldArray.d.ts +47 -0
- package/dist/components/tt-validate/src/Form.d.ts +271 -0
- package/dist/components/tt-validate/src/config.d.ts +14 -0
- package/dist/components/tt-validate/src/defineRule.d.ts +9 -0
- package/dist/components/tt-validate/src/index.d.ts +36 -0
- package/dist/components/tt-validate/src/symbols.d.ts +6 -0
- package/dist/components/tt-validate/src/types/common.d.ts +11 -0
- package/dist/components/tt-validate/src/types/forms.d.ts +280 -0
- package/dist/components/tt-validate/src/types/index.d.ts +3 -0
- package/dist/components/tt-validate/src/types/paths.d.ts +142 -0
- package/dist/components/tt-validate/src/types/shared.d.ts +19 -0
- package/dist/components/tt-validate/src/useField.d.ts +30 -0
- package/dist/components/tt-validate/src/useFieldArray.d.ts +3 -0
- package/dist/components/tt-validate/src/useFieldError.d.ts +5 -0
- package/dist/components/tt-validate/src/useFieldState.d.ts +47 -0
- package/dist/components/tt-validate/src/useFieldValue.d.ts +5 -0
- package/dist/components/tt-validate/src/useForm.d.ts +23 -0
- package/dist/components/tt-validate/src/useFormErrors.d.ts +4 -0
- package/dist/components/tt-validate/src/useFormValues.d.ts +4 -0
- package/dist/components/tt-validate/src/useIsFieldDirty.d.ts +5 -0
- package/dist/components/tt-validate/src/useIsFieldTouched.d.ts +5 -0
- package/dist/components/tt-validate/src/useIsFieldValid.d.ts +5 -0
- package/dist/components/tt-validate/src/useIsFormDirty.d.ts +4 -0
- package/dist/components/tt-validate/src/useIsFormTouched.d.ts +4 -0
- package/dist/components/tt-validate/src/useIsFormValid.d.ts +4 -0
- package/dist/components/tt-validate/src/useIsSubmitting.d.ts +4 -0
- package/dist/components/tt-validate/src/useIsValidating.d.ts +4 -0
- package/dist/components/tt-validate/src/useResetForm.d.ts +2 -0
- package/dist/components/tt-validate/src/useSetFieldError.d.ts +5 -0
- package/dist/components/tt-validate/src/useSetFieldTouched.d.ts +5 -0
- package/dist/components/tt-validate/src/useSetFieldValue.d.ts +5 -0
- package/dist/components/tt-validate/src/useSetFormErrors.d.ts +4 -0
- package/dist/components/tt-validate/src/useSetFormTouched.d.ts +4 -0
- package/dist/components/tt-validate/src/useSetFormValues.d.ts +4 -0
- package/dist/components/tt-validate/src/useSubmitCount.d.ts +4 -0
- package/dist/components/tt-validate/src/useSubmitForm.d.ts +2 -0
- package/dist/components/tt-validate/src/useValidateField.d.ts +6 -0
- package/dist/components/tt-validate/src/useValidateForm.d.ts +5 -0
- package/dist/components/tt-validate/src/utils/assertions.d.ts +54 -0
- package/dist/components/tt-validate/src/utils/common.d.ts +48 -0
- package/dist/components/tt-validate/src/utils/events.d.ts +1 -0
- package/dist/components/tt-validate/src/utils/index.d.ts +5 -0
- package/dist/components/tt-validate/src/utils/rules.d.ts +13 -0
- package/dist/components/tt-validate/src/utils/shared.d.ts +19 -0
- package/dist/components/tt-validate/src/utils/vnode.d.ts +22 -0
- package/dist/components/tt-validate/src/validate.d.ts +21 -0
- package/dist/components/tt-validate/zod/index.d.ts +1 -0
- package/dist/components/types.d.ts +227 -0
- package/dist/directives/auto-tip/index.d.ts +3 -0
- package/dist/directives/dialog-resize/index.d.ts +25 -0
- package/dist/directives/dialog-resize/use-css-variable.d.ts +1 -0
- package/dist/directives/dialog-resize/use-draggable.d.ts +4 -0
- package/dist/directives/dialog-resize/use-fullscreen.d.ts +1 -0
- package/dist/directives/dialog-resize/use-parse-translate.d.ts +4 -0
- package/dist/directives/dialog-resize/use-resizer.d.ts +2 -0
- package/dist/directives/disabled-tip/index.d.ts +17 -0
- package/dist/directives/index.d.ts +3 -0
- package/dist/hooks/useFormat.d.ts +73 -0
- package/dist/hooks/useLoading.d.ts +9 -0
- package/dist/hooks/useSetup.d.ts +8 -0
- package/dist/hooks/useTable.d.ts +5 -0
- package/dist/hooks/useTemplateSlot.d.ts +9 -0
- package/dist/{index-CMjNBMj5.js → index-NG5FNCLD.js} +2 -3
- package/dist/index.d.ts +46 -0
- package/dist/index.js +502 -542
- package/dist/style.css +1 -1
- package/package.json +4 -6
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { ExtractPublicPropTypes, PropType } from 'vue';
|
|
2
|
+
export declare const sjzyPartProps: {
|
|
3
|
+
modelValue: {
|
|
4
|
+
required: boolean;
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
isExpand: {
|
|
9
|
+
required: boolean;
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: null;
|
|
12
|
+
};
|
|
13
|
+
showExpand: {
|
|
14
|
+
required: boolean;
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
defaultExpand: {
|
|
19
|
+
required: boolean;
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
title: {
|
|
24
|
+
required: boolean;
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
type: {
|
|
29
|
+
required: boolean;
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
validator(value: "inline" | "outline" | "none"): boolean;
|
|
33
|
+
};
|
|
34
|
+
shadow: {
|
|
35
|
+
required: boolean;
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: null;
|
|
38
|
+
};
|
|
39
|
+
colSpan: {
|
|
40
|
+
required: boolean;
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
default: number;
|
|
43
|
+
};
|
|
44
|
+
colGap: {
|
|
45
|
+
required: boolean;
|
|
46
|
+
type: NumberConstructor;
|
|
47
|
+
default: number;
|
|
48
|
+
};
|
|
49
|
+
labelWidth: {
|
|
50
|
+
required: boolean;
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
labelPosition: {
|
|
55
|
+
required: boolean;
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
segmentClass: {
|
|
60
|
+
required: boolean;
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
headerClass: {
|
|
65
|
+
required: boolean;
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
areaClass: {
|
|
70
|
+
required: boolean;
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
headerBorder: {
|
|
75
|
+
required: boolean;
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
iconType: {
|
|
80
|
+
required: boolean;
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
iconTextShow: {
|
|
85
|
+
required: boolean;
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
showBefore: {
|
|
90
|
+
required: boolean;
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
/** 子描述信息的样式 */
|
|
95
|
+
itemType: {
|
|
96
|
+
type: PropType<"default" | "border">;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
export type TtPartProps = ExtractPublicPropTypes<typeof sjzyPartProps>;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
export * from './type';
|
|
2
|
+
export declare const TtPartItem: import('../../../../utils/src').SFCWithInstall<{
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
+
items: {
|
|
5
|
+
type: import('vue').PropType<import('./type').IFePartItem[]>;
|
|
6
|
+
default: () => never[];
|
|
7
|
+
};
|
|
8
|
+
direction: {
|
|
9
|
+
type: import('vue').PropType<"vertical" | "horizontal">;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
data: {
|
|
13
|
+
type: import('vue').PropType<{
|
|
14
|
+
[x: string]: any;
|
|
15
|
+
}>;
|
|
16
|
+
default: () => {};
|
|
17
|
+
};
|
|
18
|
+
showEmpty: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
23
|
+
data: {
|
|
24
|
+
[x: string]: any;
|
|
25
|
+
};
|
|
26
|
+
items: import('./type').IFePartItem[];
|
|
27
|
+
direction: "horizontal" | "vertical";
|
|
28
|
+
showEmpty: boolean;
|
|
29
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
30
|
+
P: {};
|
|
31
|
+
B: {};
|
|
32
|
+
D: {};
|
|
33
|
+
C: {};
|
|
34
|
+
M: {};
|
|
35
|
+
Defaults: {};
|
|
36
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
+
items: {
|
|
38
|
+
type: import('vue').PropType<import('./type').IFePartItem[]>;
|
|
39
|
+
default: () => never[];
|
|
40
|
+
};
|
|
41
|
+
direction: {
|
|
42
|
+
type: import('vue').PropType<"vertical" | "horizontal">;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
data: {
|
|
46
|
+
type: import('vue').PropType<{
|
|
47
|
+
[x: string]: any;
|
|
48
|
+
}>;
|
|
49
|
+
default: () => {};
|
|
50
|
+
};
|
|
51
|
+
showEmpty: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
56
|
+
data: {
|
|
57
|
+
[x: string]: any;
|
|
58
|
+
};
|
|
59
|
+
items: import('./type').IFePartItem[];
|
|
60
|
+
direction: "horizontal" | "vertical";
|
|
61
|
+
showEmpty: boolean;
|
|
62
|
+
}>;
|
|
63
|
+
__isFragment?: never;
|
|
64
|
+
__isTeleport?: never;
|
|
65
|
+
__isSuspense?: never;
|
|
66
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
67
|
+
items: {
|
|
68
|
+
type: import('vue').PropType<import('./type').IFePartItem[]>;
|
|
69
|
+
default: () => never[];
|
|
70
|
+
};
|
|
71
|
+
direction: {
|
|
72
|
+
type: import('vue').PropType<"vertical" | "horizontal">;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
data: {
|
|
76
|
+
type: import('vue').PropType<{
|
|
77
|
+
[x: string]: any;
|
|
78
|
+
}>;
|
|
79
|
+
default: () => {};
|
|
80
|
+
};
|
|
81
|
+
showEmpty: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
86
|
+
data: {
|
|
87
|
+
[x: string]: any;
|
|
88
|
+
};
|
|
89
|
+
items: import('./type').IFePartItem[];
|
|
90
|
+
direction: "horizontal" | "vertical";
|
|
91
|
+
showEmpty: boolean;
|
|
92
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
93
|
+
$slots: Readonly<{
|
|
94
|
+
[key: string]: (props: {
|
|
95
|
+
scope: any;
|
|
96
|
+
}) => any;
|
|
97
|
+
default: () => any;
|
|
98
|
+
}> & {
|
|
99
|
+
[key: string]: (props: {
|
|
100
|
+
scope: any;
|
|
101
|
+
}) => any;
|
|
102
|
+
default: () => any;
|
|
103
|
+
};
|
|
104
|
+
})> & Record<string, any>;
|
|
105
|
+
export default TtPartItem;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { IFePartItem } from './type';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Readonly<{
|
|
5
|
+
[key: string]: (props: {
|
|
6
|
+
scope: any;
|
|
7
|
+
}) => any;
|
|
8
|
+
default: () => any;
|
|
9
|
+
}> & {
|
|
10
|
+
[key: string]: (props: {
|
|
11
|
+
scope: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
default: () => any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: any;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
20
|
+
items: {
|
|
21
|
+
type: import('vue').PropType<IFePartItem[]>;
|
|
22
|
+
default: () => never[];
|
|
23
|
+
};
|
|
24
|
+
direction: {
|
|
25
|
+
type: import('vue').PropType<"vertical" | "horizontal">;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
data: {
|
|
29
|
+
type: import('vue').PropType<{
|
|
30
|
+
[x: string]: any;
|
|
31
|
+
}>;
|
|
32
|
+
default: () => {};
|
|
33
|
+
};
|
|
34
|
+
showEmpty: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
39
|
+
items: {
|
|
40
|
+
type: import('vue').PropType<IFePartItem[]>;
|
|
41
|
+
default: () => never[];
|
|
42
|
+
};
|
|
43
|
+
direction: {
|
|
44
|
+
type: import('vue').PropType<"vertical" | "horizontal">;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
data: {
|
|
48
|
+
type: import('vue').PropType<{
|
|
49
|
+
[x: string]: any;
|
|
50
|
+
}>;
|
|
51
|
+
default: () => {};
|
|
52
|
+
};
|
|
53
|
+
showEmpty: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
}>> & Readonly<{}>, {
|
|
58
|
+
data: {
|
|
59
|
+
[x: string]: any;
|
|
60
|
+
};
|
|
61
|
+
items: IFePartItem[];
|
|
62
|
+
direction: "horizontal" | "vertical";
|
|
63
|
+
showEmpty: boolean;
|
|
64
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
65
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
66
|
+
export default _default;
|
|
67
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
68
|
+
new (): {
|
|
69
|
+
$slots: S;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { ImageProps } from 'element-plus';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
type Recordable<T = any> = Record<string, T>;
|
|
4
|
+
export type IFePartItem = {
|
|
5
|
+
/** 绑定字段 */
|
|
6
|
+
prop: string;
|
|
7
|
+
/** label名称 */
|
|
8
|
+
label?: string;
|
|
9
|
+
/** 内容 */
|
|
10
|
+
content?: any;
|
|
11
|
+
/** 占位默认1 */
|
|
12
|
+
colspan?: number | ((renderCallbackParams: Recordable) => number);
|
|
13
|
+
/** 占位默认1 */
|
|
14
|
+
rowspan?: number;
|
|
15
|
+
/** 是否展示tooltip */
|
|
16
|
+
toolTip?: boolean;
|
|
17
|
+
/** tooltip展示的行数 */
|
|
18
|
+
toolTipLine?: number;
|
|
19
|
+
/** toolTip最大宽度 */
|
|
20
|
+
toolTipMaxWidth?: number;
|
|
21
|
+
/** toolTip最大高度 */
|
|
22
|
+
toolTipMaxHeight?: number;
|
|
23
|
+
/** 单位 */
|
|
24
|
+
unit?: string;
|
|
25
|
+
/** 是否有按钮连接 */
|
|
26
|
+
hasLink?: boolean;
|
|
27
|
+
/** itemClass */
|
|
28
|
+
itemClass?: string;
|
|
29
|
+
/** labelClass */
|
|
30
|
+
labelClass?: string;
|
|
31
|
+
/** contentClass */
|
|
32
|
+
contentClass?: string;
|
|
33
|
+
/** 图片懒加载 */
|
|
34
|
+
lazy?: boolean;
|
|
35
|
+
/** 图片填充方式 */
|
|
36
|
+
fit?: ImageProps['fit'];
|
|
37
|
+
/** 是否展示暂无图片 */
|
|
38
|
+
showNoImage?: boolean;
|
|
39
|
+
/** 图片没有数据的标题 */
|
|
40
|
+
noDataTitle?: string;
|
|
41
|
+
/** 过滤器 */
|
|
42
|
+
filter?: any;
|
|
43
|
+
/** 过滤器配置 */
|
|
44
|
+
filterParams?: any;
|
|
45
|
+
/** 是否隐藏 */
|
|
46
|
+
hidden?: boolean;
|
|
47
|
+
/** 是否展示 */
|
|
48
|
+
ifShow?: boolean | ((renderCallbackParams: Recordable) => boolean);
|
|
49
|
+
/** 是否展示空内容 */
|
|
50
|
+
showEmpty?: boolean;
|
|
51
|
+
/** 是否展示左侧线 */
|
|
52
|
+
noBorder?: boolean;
|
|
53
|
+
/** 间隔虚线位置靠下 */
|
|
54
|
+
borderBottom?: boolean;
|
|
55
|
+
};
|
|
56
|
+
export declare const fePartItemProps: {
|
|
57
|
+
/** 字段配置 */
|
|
58
|
+
items: {
|
|
59
|
+
type: PropType<IFePartItem[]>;
|
|
60
|
+
default: () => never[];
|
|
61
|
+
};
|
|
62
|
+
/** 布局方向 */
|
|
63
|
+
direction: {
|
|
64
|
+
type: PropType<"vertical" | "horizontal">;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
/** 数据对象 */
|
|
68
|
+
data: {
|
|
69
|
+
type: PropType<{
|
|
70
|
+
[x: string]: any;
|
|
71
|
+
}>;
|
|
72
|
+
default: () => {};
|
|
73
|
+
};
|
|
74
|
+
/** 展示空数据 */
|
|
75
|
+
showEmpty: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
export type SjzyPartItemType = IFePartItem;
|
|
81
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../../../../utils/src';
|
|
2
|
+
import { default as TtSelectConstructor } from './src/Select.vue';
|
|
3
|
+
export type { TtSelectProps as TtSelectProp } from './src/props';
|
|
4
|
+
export * from './src/types';
|
|
5
|
+
export declare const TtSelect: SFCWithInstall<typeof TtSelectConstructor>;
|
|
6
|
+
export default TtSelect;
|
|
7
|
+
export type TtSelectInstance = InstanceType<typeof TtSelect>;
|