@aplus-frontend/ui 0.0.30 → 0.0.32
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/es/src/ap-action/group/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +8 -8
- package/es/src/ap-field/date-range/index.vue.d.ts +6 -6
- package/es/src/ap-field/date-range/index.vue.mjs +15 -15
- package/es/src/ap-field/rate/index.vue.d.ts +1 -1
- package/es/src/ap-field/select/index.vue.d.ts +1 -1
- package/es/src/ap-field/text/index.vue.d.ts +1 -1
- package/es/src/ap-field/text/password.vue.d.ts +3 -3
- package/es/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form-item.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form-item.vue.mjs +11 -10
- package/es/src/ap-form/ap-form.vue.d.ts +2 -2
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/interface.d.ts +4 -0
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/checkbox/index.vue.mjs +11 -10
- package/es/src/ap-form/items/date/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/date/index.vue.mjs +6 -5
- package/es/src/ap-form/items/date-range/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/date-range/index.vue.mjs +7 -6
- package/es/src/ap-form/items/number/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/number/index.vue.mjs +7 -6
- package/es/src/ap-form/items/radio/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/radio/index.vue.mjs +4 -3
- package/es/src/ap-form/items/select/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/select/index.vue.mjs +8 -7
- package/es/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/switch/index.vue.mjs +7 -6
- package/es/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/index.vue2.mjs +6 -5
- package/es/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/password.vue.mjs +4 -3
- package/es/src/ap-form/items/text-area/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text-area/index.vue.mjs +7 -6
- package/es/src/ap-form/modal-form/index.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/index.vue.d.ts +4 -4
- package/es/src/ap-form/search-form/index.vue.mjs +82 -79
- package/es/src/ap-form/search-form/utils.d.ts +5 -0
- package/es/src/ap-form/search-form/utils.mjs +35 -0
- package/es/src/ap-list/hooks/use-offline-list.d.ts +1 -1
- package/es/src/ap-list/index.vue.d.ts +15 -15
- package/es/src/ap-table/ap-table.vue.d.ts +60 -60
- package/es/src/ap-table/ap-table.vue.mjs +84 -81
- package/es/src/ap-table/constants.d.ts +2914 -2782
- package/es/src/ap-table/utils.d.ts +2 -8474
- package/es/src/ap-upload/styles/multiple-file.css +4 -0
- package/es/src/ap-upload/styles/picture.css +1 -1
- package/es/src/base-button/index.d.ts +17 -17
- package/es/src/basic/index.d.ts +3 -3
- package/es/src/business/index.d.ts +40 -40
- package/es/src/button/index.d.ts +1 -1
- package/es/src/check-card/group.vue.d.ts +3 -0
- package/es/src/check-card/group.vue.mjs +17 -16
- package/es/src/check-card/index.vue.d.ts +1 -1
- package/es/src/config-provider/config-provider.d.ts +1 -1
- package/es/src/config-provider/hooks/use-global-config.d.ts +1 -1
- package/es/src/config-provider/index.d.ts +4 -3
- package/es/src/container/collapse/header.vue.d.ts +1 -1
- package/es/src/container/collapse/index.vue.d.ts +1 -1
- package/es/src/container/index.d.ts +5 -5
- package/es/src/count-down/index.d.ts +2 -2
- package/es/src/cropper/cropper-image.vue.d.ts +1 -1
- package/es/src/cropper/index.d.ts +34 -34
- package/es/src/description/index.d.ts +2 -2
- package/es/src/dropdown/index.d.ts +2 -2
- package/es/src/editable-table/form-item.vue.d.ts +23 -23
- package/es/src/editable-table/hooks/use-get-columns.mjs +26 -25
- package/es/src/editable-table/index.vue.d.ts +27 -27
- package/es/src/editable-table/style/index.css +7 -1
- package/es/src/editable-table/utils.d.ts +1 -0
- package/es/src/editable-table/utils.mjs +31 -22
- package/es/src/icon/index.d.ts +2 -2
- package/es/src/icon-picker/index.d.ts +1 -1
- package/es/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/es/src/modal/components/modal.d.ts +1 -1
- package/es/src/modal/index.d.ts +1 -1
- package/es/src/pro-form/component-map.d.ts +2 -2
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-select.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-transfer.vue.d.ts +2 -2
- package/es/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/es/src/pro-form/hooks/use-advanced.d.ts +1 -1
- package/es/src/pro-form/hooks/use-form-values.d.ts +1 -1
- package/es/src/pro-form/hooks/use-label-width.d.ts +27 -27
- package/es/src/pro-form/pro-form.vue.d.ts +4 -4
- package/es/src/pro-table/component-map.d.ts +2 -2
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +2 -2
- package/es/src/pro-table/components/table-action.vue.d.ts +1 -1
- package/es/src/pro-table/components/table-footer.vue.d.ts +2 -2
- package/es/src/pro-table/components/table-image.vue.d.ts +1 -1
- package/es/src/pro-table/hooks/use-data-source.d.ts +5 -5
- package/es/src/pro-table/hooks/use-row-selection.d.ts +1 -1
- package/es/src/pro-table/hooks/use-table-footer.d.ts +1 -1
- package/es/src/pro-table/hooks/use-table-header.d.ts +1 -1
- package/es/src/pro-table/pro-table.vue.d.ts +12 -12
- package/es/src/prompt/utils.d.ts +2 -2
- package/es/src/scroll-bar/index.d.ts +21 -21
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +2 -2
- package/es/src/strength-meter/index.d.ts +1 -1
- package/es/src/theme/ap-upload/multiple-file.css +4 -0
- package/es/src/theme/ap-upload/picture.css +1 -1
- package/es/src/theme/editable-table/index.css +7 -1
- package/es/src/transition/create-transition.d.ts +1 -1
- package/es/src/transition/create-transition.mjs +34 -34
- package/es/src/transition/index.d.ts +11 -11
- package/es/src/work-order-modal/interfaces.d.ts +2 -2
- package/lib/src/ap-action/group/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +8 -8
- package/lib/src/ap-field/date-range/index.vue.d.ts +6 -6
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/rate/index.vue.d.ts +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +3 -3
- package/lib/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form-item.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form-item.vue.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +2 -2
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/interface.d.ts +4 -0
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
- package/lib/src/ap-form/items/date/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/date/index.vue.js +1 -1
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/number/index.vue.js +1 -1
- package/lib/src/ap-form/items/radio/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/radio/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- package/lib/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/switch/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/index.vue2.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +2 -2
- package/lib/src/ap-form/search-form/index.vue.d.ts +4 -4
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/utils.d.ts +5 -0
- package/lib/src/ap-form/search-form/utils.js +1 -0
- package/lib/src/ap-list/hooks/use-offline-list.d.ts +1 -1
- package/lib/src/ap-list/index.vue.d.ts +15 -15
- package/lib/src/ap-table/ap-table.vue.d.ts +60 -60
- package/lib/src/ap-table/ap-table.vue.js +1 -1
- package/lib/src/ap-table/constants.d.ts +2914 -2782
- package/lib/src/ap-table/utils.d.ts +2 -8474
- package/lib/src/ap-upload/styles/multiple-file.css +4 -0
- package/lib/src/ap-upload/styles/picture.css +1 -1
- package/lib/src/base-button/index.d.ts +17 -17
- package/lib/src/basic/index.d.ts +3 -3
- package/lib/src/business/index.d.ts +40 -40
- package/lib/src/button/index.d.ts +1 -1
- package/lib/src/check-card/group.vue.d.ts +3 -0
- package/lib/src/check-card/group.vue.js +1 -1
- package/lib/src/check-card/index.vue.d.ts +1 -1
- package/lib/src/config-provider/config-provider.d.ts +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +1 -1
- package/lib/src/config-provider/index.d.ts +4 -3
- package/lib/src/container/collapse/header.vue.d.ts +1 -1
- package/lib/src/container/collapse/index.vue.d.ts +1 -1
- package/lib/src/container/index.d.ts +5 -5
- package/lib/src/count-down/index.d.ts +2 -2
- package/lib/src/cropper/cropper-image.vue.d.ts +1 -1
- package/lib/src/cropper/index.d.ts +34 -34
- package/lib/src/description/index.d.ts +2 -2
- package/lib/src/dropdown/index.d.ts +2 -2
- package/lib/src/editable-table/form-item.vue.d.ts +23 -23
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +27 -27
- package/lib/src/editable-table/style/index.css +7 -1
- package/lib/src/editable-table/utils.d.ts +1 -0
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/icon/index.d.ts +2 -2
- package/lib/src/icon-picker/index.d.ts +1 -1
- package/lib/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/lib/src/modal/components/modal.d.ts +1 -1
- package/lib/src/modal/index.d.ts +1 -1
- package/lib/src/pro-form/component-map.d.ts +2 -2
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-select.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +2 -2
- package/lib/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/lib/src/pro-form/hooks/use-advanced.d.ts +1 -1
- package/lib/src/pro-form/hooks/use-form-values.d.ts +1 -1
- package/lib/src/pro-form/hooks/use-label-width.d.ts +27 -27
- package/lib/src/pro-form/pro-form.vue.d.ts +4 -4
- package/lib/src/pro-table/component-map.d.ts +2 -2
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +2 -2
- package/lib/src/pro-table/components/table-action.vue.d.ts +1 -1
- package/lib/src/pro-table/components/table-footer.vue.d.ts +2 -2
- package/lib/src/pro-table/components/table-image.vue.d.ts +1 -1
- package/lib/src/pro-table/hooks/use-data-source.d.ts +5 -5
- package/lib/src/pro-table/hooks/use-row-selection.d.ts +1 -1
- package/lib/src/pro-table/hooks/use-table-footer.d.ts +1 -1
- package/lib/src/pro-table/hooks/use-table-header.d.ts +1 -1
- package/lib/src/pro-table/pro-table.vue.d.ts +12 -12
- package/lib/src/prompt/utils.d.ts +2 -2
- package/lib/src/scroll-bar/index.d.ts +21 -21
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +2 -2
- package/lib/src/strength-meter/index.d.ts +1 -1
- package/lib/src/theme/ap-upload/multiple-file.css +4 -0
- package/lib/src/theme/ap-upload/picture.css +1 -1
- package/lib/src/theme/editable-table/index.css +7 -1
- package/lib/src/transition/create-transition.d.ts +1 -1
- package/lib/src/transition/create-transition.js +1 -1
- package/lib/src/transition/index.d.ts +11 -11
- package/lib/src/work-order-modal/interfaces.d.ts +2 -2
- package/package.json +2 -2
|
@@ -28,12 +28,12 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
28
28
|
}, {
|
|
29
29
|
disabled: boolean;
|
|
30
30
|
immediate: boolean;
|
|
31
|
+
showSearch: boolean;
|
|
32
|
+
showSelectAll: boolean;
|
|
31
33
|
resultField: string;
|
|
32
34
|
labelField: string;
|
|
33
35
|
valueField: string;
|
|
34
36
|
alwaysLoad: boolean;
|
|
35
|
-
showSearch: boolean;
|
|
36
|
-
showSelectAll: boolean;
|
|
37
37
|
}, {}>;
|
|
38
38
|
export default _default;
|
|
39
39
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -14,8 +14,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
14
14
|
resultField: string;
|
|
15
15
|
}>>> & {
|
|
16
16
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
18
17
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
18
|
+
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
19
19
|
}, {
|
|
20
20
|
immediate: boolean;
|
|
21
21
|
resultField: string;
|
|
@@ -13,6 +13,6 @@ interface UseAdvancedContext {
|
|
|
13
13
|
}
|
|
14
14
|
export default function ({ advanceState, emit, getProps, getSchema, formModel, defaultValueRef }: UseAdvancedContext): {
|
|
15
15
|
handleToggleAdvanced: () => void;
|
|
16
|
-
fieldsIsAdvancedMap: ShallowReactive<Recordable
|
|
16
|
+
fieldsIsAdvancedMap: ShallowReactive<Recordable>;
|
|
17
17
|
};
|
|
18
18
|
export {};
|
|
@@ -9,7 +9,7 @@ interface UseFormValuesContext {
|
|
|
9
9
|
formModel: Recordable;
|
|
10
10
|
}
|
|
11
11
|
export declare function useFormValues({ defaultValueRef, getSchema, formModel, getProps }: UseFormValuesContext): {
|
|
12
|
-
handleFormValues: (values: Recordable) => Recordable
|
|
12
|
+
handleFormValues: (values: Recordable) => Recordable;
|
|
13
13
|
initDefault: () => void;
|
|
14
14
|
};
|
|
15
15
|
export {};
|
|
@@ -71,30 +71,30 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
|
|
|
71
71
|
}>>;
|
|
72
72
|
} | {
|
|
73
73
|
labelCol: {
|
|
74
|
-
|
|
74
|
+
xs?: ColSize | (string | number) | {
|
|
75
75
|
span: string | number;
|
|
76
76
|
offset: string | number;
|
|
77
|
-
} |
|
|
78
|
-
|
|
77
|
+
} | undefined;
|
|
78
|
+
sm?: ColSize | (string | number) | {
|
|
79
79
|
span: string | number;
|
|
80
80
|
offset: string | number;
|
|
81
|
-
} |
|
|
82
|
-
|
|
81
|
+
} | undefined;
|
|
82
|
+
md?: ColSize | (string | number) | {
|
|
83
83
|
span: string | number;
|
|
84
84
|
offset: string | number;
|
|
85
|
-
} |
|
|
86
|
-
|
|
85
|
+
} | undefined;
|
|
86
|
+
lg?: ColSize | (string | number) | {
|
|
87
87
|
span: string | number;
|
|
88
88
|
offset: string | number;
|
|
89
|
-
} |
|
|
90
|
-
|
|
89
|
+
} | undefined;
|
|
90
|
+
xl?: ColSize | (string | number) | {
|
|
91
91
|
span: string | number;
|
|
92
92
|
offset: string | number;
|
|
93
|
-
} |
|
|
94
|
-
|
|
93
|
+
} | undefined;
|
|
94
|
+
xxl?: ColSize | (string | number) | {
|
|
95
95
|
span: string | number;
|
|
96
96
|
offset: string | number;
|
|
97
|
-
} |
|
|
97
|
+
} | undefined;
|
|
98
98
|
prefixCls?: string | undefined;
|
|
99
99
|
span?: (string | number) | undefined;
|
|
100
100
|
push?: (string | number) | undefined;
|
|
@@ -141,7 +141,7 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
|
|
|
141
141
|
results?: (string | number) | undefined;
|
|
142
142
|
security?: string | undefined;
|
|
143
143
|
unselectable?: "on" | "off" | undefined;
|
|
144
|
-
inputmode?: "text" | "search" | "none" | "
|
|
144
|
+
inputmode?: "text" | "search" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
145
145
|
is?: string | undefined;
|
|
146
146
|
'aria-activedescendant'?: string | undefined;
|
|
147
147
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
@@ -156,7 +156,7 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
|
|
|
156
156
|
'aria-describedby'?: string | undefined;
|
|
157
157
|
'aria-details'?: string | undefined;
|
|
158
158
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
159
|
-
'aria-dropeffect'?: "link" | "copy" | "none" | "
|
|
159
|
+
'aria-dropeffect'?: "link" | "copy" | "none" | "popup" | "move" | "execute" | undefined;
|
|
160
160
|
'aria-errormessage'?: string | undefined;
|
|
161
161
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
162
162
|
'aria-flowto'?: string | undefined;
|
|
@@ -172,7 +172,7 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
|
|
|
172
172
|
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
173
173
|
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
174
174
|
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
175
|
-
'aria-orientation'?: "
|
|
175
|
+
'aria-orientation'?: "vertical" | "horizontal" | undefined;
|
|
176
176
|
'aria-owns'?: string | undefined;
|
|
177
177
|
'aria-placeholder'?: string | undefined;
|
|
178
178
|
'aria-posinset'?: (string | number) | undefined;
|
|
@@ -276,30 +276,30 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
|
|
|
276
276
|
onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
|
|
277
277
|
};
|
|
278
278
|
wrapperCol: {
|
|
279
|
-
|
|
279
|
+
xs?: ColSize | (string | number) | {
|
|
280
280
|
span: string | number;
|
|
281
281
|
offset: string | number;
|
|
282
|
-
} |
|
|
283
|
-
|
|
282
|
+
} | undefined;
|
|
283
|
+
sm?: ColSize | (string | number) | {
|
|
284
284
|
span: string | number;
|
|
285
285
|
offset: string | number;
|
|
286
|
-
} |
|
|
287
|
-
|
|
286
|
+
} | undefined;
|
|
287
|
+
md?: ColSize | (string | number) | {
|
|
288
288
|
span: string | number;
|
|
289
289
|
offset: string | number;
|
|
290
|
-
} |
|
|
291
|
-
|
|
290
|
+
} | undefined;
|
|
291
|
+
lg?: ColSize | (string | number) | {
|
|
292
292
|
span: string | number;
|
|
293
293
|
offset: string | number;
|
|
294
|
-
} |
|
|
295
|
-
|
|
294
|
+
} | undefined;
|
|
295
|
+
xl?: ColSize | (string | number) | {
|
|
296
296
|
span: string | number;
|
|
297
297
|
offset: string | number;
|
|
298
|
-
} |
|
|
299
|
-
|
|
298
|
+
} | undefined;
|
|
299
|
+
xxl?: ColSize | (string | number) | {
|
|
300
300
|
span: string | number;
|
|
301
301
|
offset: string | number;
|
|
302
|
-
} |
|
|
302
|
+
} | undefined;
|
|
303
303
|
prefixCls?: string | undefined;
|
|
304
304
|
span?: (string | number) | undefined;
|
|
305
305
|
push?: (string | number) | undefined;
|
|
@@ -23,8 +23,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
23
23
|
showSubmitButton: boolean;
|
|
24
24
|
layout: string;
|
|
25
25
|
}>, {
|
|
26
|
-
getFieldsValue: () => Recordable
|
|
27
|
-
setFieldsValue: (values: Recordable
|
|
26
|
+
getFieldsValue: () => Recordable;
|
|
27
|
+
setFieldsValue: (values: Recordable) => Promise<void>;
|
|
28
28
|
resetFields: () => Promise<void>;
|
|
29
29
|
updateSchema: (data: Partial<FormSchema> | Partial<FormSchema>[]) => Promise<void>;
|
|
30
30
|
resetSchema: (data: Partial<FormSchema> | Partial<FormSchema>[]) => Promise<void>;
|
|
@@ -67,11 +67,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
67
67
|
"onField-value-change"?: ((...args: any[]) => any) | undefined;
|
|
68
68
|
}, {
|
|
69
69
|
size: "default" | "small" | "large";
|
|
70
|
-
layout: "inline" | "
|
|
70
|
+
layout: "inline" | "vertical" | "horizontal";
|
|
71
|
+
model: Record<string, any>;
|
|
71
72
|
labelWidth: string | number;
|
|
72
73
|
rulesMessageJoinLabel: boolean;
|
|
73
74
|
autoSetPlaceHolder: boolean;
|
|
74
|
-
model: Record<string, any>;
|
|
75
75
|
showActionButtonGroup: boolean;
|
|
76
76
|
showResetButton: boolean;
|
|
77
77
|
showSubmitButton: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Component
|
|
1
|
+
import { Component } from 'vue';
|
|
2
2
|
|
|
3
3
|
export type ComponentType = 'Input' | 'InputNumber' | 'Select' | 'ApiSelect' | 'AutoComplete' | 'ApiTreeSelect' | 'Checkbox' | 'Switch' | 'DatePicker' | 'TimePicker' | 'RadioGroup' | 'RadioButtonGroup' | 'ApiRadioGroup';
|
|
4
|
-
declare const componentMap: Map<ComponentType, Component
|
|
4
|
+
declare const componentMap: Map<ComponentType, Component>;
|
|
5
5
|
export declare function add(compName: ComponentType, component: Component): void;
|
|
6
6
|
export declare function del(compName: ComponentType): void;
|
|
7
7
|
export { componentMap };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSProperties, PropType, DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { BasicColumn } from '../../types/table';
|
|
3
3
|
import { Recordable } from '../../../type';
|
|
4
|
-
import { ComponentType } from '
|
|
4
|
+
import { ComponentType } from 'src/pro-table/component-map';
|
|
5
5
|
|
|
6
6
|
declare const _default: DefineComponent<{
|
|
7
7
|
value: {
|
|
@@ -46,7 +46,7 @@ declare const _default: DefineComponent<{
|
|
|
46
46
|
handleCancel: () => void;
|
|
47
47
|
elRef: Ref<any>;
|
|
48
48
|
getComponent: ComputedRef<ComponentType>;
|
|
49
|
-
getRule: ComputedRef<boolean | ((text: string, record: Recordable
|
|
49
|
+
getRule: ComputedRef<boolean | ((text: string, record: Recordable) => Promise<string>) | undefined>;
|
|
50
50
|
onClickOutside: () => void;
|
|
51
51
|
ruleMessage: Ref<string>;
|
|
52
52
|
getRuleVisible: ComputedRef<boolean | "">;
|
|
@@ -42,8 +42,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
|
42
42
|
default: boolean;
|
|
43
43
|
};
|
|
44
44
|
}>>, {
|
|
45
|
-
outside: boolean;
|
|
46
45
|
actions: ActionItem[];
|
|
46
|
+
outside: boolean;
|
|
47
47
|
dropDownActions: ActionItem[];
|
|
48
48
|
divider: boolean;
|
|
49
49
|
stopButtonPropagation: boolean;
|
|
@@ -5,7 +5,7 @@ import { GetRowKey } from 'ant-design-vue/es/vc-table/interface';
|
|
|
5
5
|
|
|
6
6
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
7
|
summaryFunc?: Fn<any, any> | null | undefined;
|
|
8
|
-
summaryData?: Recordable
|
|
8
|
+
summaryData?: Recordable[] | null | undefined;
|
|
9
9
|
scroll?: BasicTableProps['scroll'];
|
|
10
10
|
rowKey?: BasicTableProps['rowKey'];
|
|
11
11
|
}>, {
|
|
@@ -14,7 +14,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
14
14
|
rowKey: string;
|
|
15
15
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
16
|
summaryFunc?: Fn<any, any> | null | undefined;
|
|
17
|
-
summaryData?: Recordable
|
|
17
|
+
summaryData?: Recordable[] | null | undefined;
|
|
18
18
|
scroll?: BasicTableProps['scroll'];
|
|
19
19
|
rowKey?: BasicTableProps['rowKey'];
|
|
20
20
|
}>, {
|
|
@@ -24,9 +24,9 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
24
24
|
}>>>, {
|
|
25
25
|
size: number;
|
|
26
26
|
margin: number;
|
|
27
|
+
fallback: string;
|
|
27
28
|
showBadge: boolean;
|
|
28
29
|
srcPrefix: string;
|
|
29
|
-
fallback: string;
|
|
30
30
|
}, {}>;
|
|
31
31
|
export default _default;
|
|
32
32
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -14,15 +14,15 @@ interface ActionType {
|
|
|
14
14
|
tableData: Ref<Recordable[]>;
|
|
15
15
|
}
|
|
16
16
|
export declare function useDataSource(propsRef: ComputedRef<BasicTableProps>, { getPaginationInfo, setPagination, setLoading, getFieldsValue, clearSelectedRowKeys, tableData }: ActionType, emit: EmitType): {
|
|
17
|
-
getDataSourceRef: ComputedRef<Recordable
|
|
18
|
-
getDataSource: <T = Recordable
|
|
19
|
-
getRawDataSource: <T_1 = Recordable
|
|
17
|
+
getDataSourceRef: ComputedRef<Recordable[]>;
|
|
18
|
+
getDataSource: <T = Recordable>() => T[];
|
|
19
|
+
getRawDataSource: <T_1 = Recordable>() => T_1;
|
|
20
20
|
getRowKey: ComputedRef<string | GetRowKey<any> | undefined>;
|
|
21
|
-
setTableData: <
|
|
21
|
+
setTableData: <T = Recordable>(values: T[]) => void;
|
|
22
22
|
getAutoCreateKey: ComputedRef<boolean | undefined>;
|
|
23
23
|
fetch: (opt?: FetchParams) => Promise<any>;
|
|
24
24
|
reload: (opt?: FetchParams) => Promise<any>;
|
|
25
|
-
updateTableData: (index: number, key: Key, value: any) => Promise<Recordable
|
|
25
|
+
updateTableData: (index: number, key: Key, value: any) => Promise<Recordable>;
|
|
26
26
|
updateTableDataRecord: (keyValue: Key, record: Recordable) => Recordable | undefined;
|
|
27
27
|
deleteTableDataRecord: (keyValues: Key | Key[]) => void;
|
|
28
28
|
insertTableDataRecord: (record: Recordable | Recordable[], index?: number) => Recordable[] | undefined;
|
|
@@ -6,7 +6,7 @@ import { EmitType, Recordable } from '../../type';
|
|
|
6
6
|
export declare function useRowSelection(propsRef: ComputedRef<BasicTableProps>, tableData: Ref<Recordable[]>, emit: EmitType): {
|
|
7
7
|
getRowSelection: () => TableRowSelection<any>;
|
|
8
8
|
getRowSelectionRef: ComputedRef<TableRowSelection<any> | null>;
|
|
9
|
-
getSelectRows: <T = Recordable
|
|
9
|
+
getSelectRows: <T = Recordable>() => T[];
|
|
10
10
|
getSelectRowKeys: () => Key[];
|
|
11
11
|
setSelectedRowKeys: (keyValues?: Key[]) => void;
|
|
12
12
|
clearSelectedRowKeys: () => void;
|
|
@@ -3,5 +3,5 @@ import { BasicTableProps } from '../types/table';
|
|
|
3
3
|
import { ComponentRef, Recordable } from '../../type';
|
|
4
4
|
|
|
5
5
|
export declare function useTableFooter(propsRef: ComputedRef<BasicTableProps>, scrollRef: ComputedRef<BasicTableProps['scroll']>, tableElRef: Ref<ComponentRef>, getDataSourceRef: ComputedRef<Recordable>): {
|
|
6
|
-
getFooterProps: ComputedRef<Recordable
|
|
6
|
+
getFooterProps: ComputedRef<Recordable | undefined>;
|
|
7
7
|
};
|
|
@@ -3,5 +3,5 @@ import { BasicTableProps, InnerHandlers, InnerMethods } from '../types/table';
|
|
|
3
3
|
import { Recordable } from '../../type';
|
|
4
4
|
|
|
5
5
|
export declare function useTableHeader(propsRef: ComputedRef<BasicTableProps>, slots: Slots, handlers: InnerHandlers, methods: InnerMethods): {
|
|
6
|
-
getHeaderProps: ComputedRef<Recordable
|
|
6
|
+
getHeaderProps: ComputedRef<Recordable>;
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BasicTableProps, SizeType, FetchParams, GetColumnsParams, BasicColumn, TableRowSelection, TableSetting } from './types/table';
|
|
2
2
|
import { ProTableProps } from './interface';
|
|
3
3
|
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
import { Recordable } from '
|
|
4
|
+
import { Recordable } from 'src/type';
|
|
5
5
|
import { Key } from 'ant-design-vue/es/table/interface';
|
|
6
|
-
import { PaginationProps } from '
|
|
6
|
+
import { PaginationProps } from 'src';
|
|
7
7
|
import { GetRowKey } from 'ant-design-vue/es/vc-table/interface';
|
|
8
8
|
import { TableColumnType } from 'ant-design-vue';
|
|
9
9
|
|
|
@@ -28,8 +28,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
28
28
|
pagination: null;
|
|
29
29
|
}>, {
|
|
30
30
|
reload: (opt?: FetchParams | undefined) => Promise< Recordable<any>[] | undefined>;
|
|
31
|
-
setSelectedRows: (rows: Recordable
|
|
32
|
-
getSelectRows: <T = Recordable
|
|
31
|
+
setSelectedRows: (rows: Recordable[]) => void;
|
|
32
|
+
getSelectRows: <T = Recordable>() => T[];
|
|
33
33
|
clearSelectedRowKeys: () => void;
|
|
34
34
|
expandAll: () => void;
|
|
35
35
|
collapseAll: () => void;
|
|
@@ -39,25 +39,25 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
39
39
|
getSelectRowKeys: () => Key[];
|
|
40
40
|
deleteSelectRowByKey: (keyValue: Key) => void;
|
|
41
41
|
setPagination: (info: Partial< PaginationProps>) => void;
|
|
42
|
-
setTableData: <T_1 = Recordable
|
|
43
|
-
updateTableDataRecord: (keyValue: Key, record: Recordable
|
|
42
|
+
setTableData: <T_1 = Recordable>(values: T_1[]) => void;
|
|
43
|
+
updateTableDataRecord: (keyValue: Key, record: Recordable) => void | Recordable;
|
|
44
44
|
deleteTableDataRecord: (keyValues: Key | Key[]) => void;
|
|
45
|
-
insertTableDataRecord: (record: Recordable
|
|
46
|
-
findTableDataRecord: (keyValue: Key) => void | Recordable
|
|
45
|
+
insertTableDataRecord: (record: Recordable | Recordable[], index?: number | undefined) => void | Recordable[];
|
|
46
|
+
findTableDataRecord: (keyValue: Key) => void | Recordable;
|
|
47
47
|
getColumns: (opt?: GetColumnsParams | undefined) => BasicColumn[];
|
|
48
48
|
setColumns: (columns: string[] | BasicColumn[]) => void;
|
|
49
|
-
getDataSource: <T_2 = Recordable
|
|
50
|
-
getRawDataSource: <T_3 = Recordable
|
|
49
|
+
getDataSource: <T_2 = Recordable>() => T_2[];
|
|
50
|
+
getRawDataSource: <T_3 = Recordable>() => T_3;
|
|
51
51
|
setLoading: (loading: boolean) => void;
|
|
52
52
|
setProps: (props: Partial<BasicTableProps<any>>) => void;
|
|
53
53
|
redoHeight: () => void;
|
|
54
54
|
setSelectedRowKeys: (keyValues: Key[]) => void;
|
|
55
55
|
getPaginationRef: () => boolean | PaginationProps;
|
|
56
56
|
getSize: () => SizeType;
|
|
57
|
-
getRowSelection: () => TableRowSelection<Recordable
|
|
57
|
+
getRowSelection: () => TableRowSelection<Recordable>;
|
|
58
58
|
getCacheColumns: () => BasicColumn[];
|
|
59
59
|
emit?: ((...args: any[]) => any) | ((evt: string, ...args: any[]) => void) | undefined;
|
|
60
|
-
updateTableData: (index: number, key: string, value: any) => Recordable
|
|
60
|
+
updateTableData: (index: number, key: string, value: any) => Recordable;
|
|
61
61
|
setShowPagination: (show: boolean) => Promise<void>;
|
|
62
62
|
getShowPagination: () => boolean;
|
|
63
63
|
setCacheColumnsByField?: ((dataIndex: string | undefined, value: BasicColumn) => void) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentFormSchema } from '
|
|
2
|
-
import { ComponentProps } from '
|
|
1
|
+
import { ComponentFormSchema } from 'src/pro-form/types/form';
|
|
2
|
+
import { ComponentProps } from 'src/pro-form/types';
|
|
3
3
|
type InputType = 'InputTextArea' | 'InputNumber' | 'Input';
|
|
4
4
|
interface GenFormSchemasOptions {
|
|
5
5
|
label?: string;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
|
-
import { StyleValue } from '
|
|
2
|
+
import { StyleValue } from 'src/type';
|
|
3
3
|
export * from './interface';
|
|
4
4
|
export declare const Scrollbar: {
|
|
5
5
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
6
6
|
native: {
|
|
7
7
|
type: PropType<boolean>;
|
|
8
8
|
};
|
|
9
|
-
scrollHeight: {
|
|
10
|
-
type: PropType<number>;
|
|
11
|
-
default: number;
|
|
12
|
-
};
|
|
13
9
|
wrapStyle: {
|
|
14
10
|
type: PropType<StyleValue>;
|
|
15
11
|
default: string;
|
|
16
12
|
};
|
|
13
|
+
scrollHeight: {
|
|
14
|
+
type: PropType<number>;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
17
|
wrapClass: {
|
|
18
18
|
type: PropType<string | string[]>;
|
|
19
19
|
default: string;
|
|
@@ -39,14 +39,14 @@ export declare const Scrollbar: {
|
|
|
39
39
|
native: {
|
|
40
40
|
type: PropType<boolean>;
|
|
41
41
|
};
|
|
42
|
-
scrollHeight: {
|
|
43
|
-
type: PropType<number>;
|
|
44
|
-
default: number;
|
|
45
|
-
};
|
|
46
42
|
wrapStyle: {
|
|
47
43
|
type: PropType<StyleValue>;
|
|
48
44
|
default: string;
|
|
49
45
|
};
|
|
46
|
+
scrollHeight: {
|
|
47
|
+
type: PropType<number>;
|
|
48
|
+
default: number;
|
|
49
|
+
};
|
|
50
50
|
wrapClass: {
|
|
51
51
|
type: PropType<string | string[]>;
|
|
52
52
|
default: string;
|
|
@@ -67,8 +67,8 @@ export declare const Scrollbar: {
|
|
|
67
67
|
default: string;
|
|
68
68
|
};
|
|
69
69
|
}>>, {
|
|
70
|
-
scrollHeight: number;
|
|
71
70
|
wrapStyle: StyleValue;
|
|
71
|
+
scrollHeight: number;
|
|
72
72
|
wrapClass: string | string[];
|
|
73
73
|
viewClass: string | string[];
|
|
74
74
|
viewStyle: string | string[];
|
|
@@ -84,14 +84,14 @@ export declare const Scrollbar: {
|
|
|
84
84
|
native: {
|
|
85
85
|
type: PropType<boolean>;
|
|
86
86
|
};
|
|
87
|
-
scrollHeight: {
|
|
88
|
-
type: PropType<number>;
|
|
89
|
-
default: number;
|
|
90
|
-
};
|
|
91
87
|
wrapStyle: {
|
|
92
88
|
type: PropType<StyleValue>;
|
|
93
89
|
default: string;
|
|
94
90
|
};
|
|
91
|
+
scrollHeight: {
|
|
92
|
+
type: PropType<number>;
|
|
93
|
+
default: number;
|
|
94
|
+
};
|
|
95
95
|
wrapClass: {
|
|
96
96
|
type: PropType<string | string[]>;
|
|
97
97
|
default: string;
|
|
@@ -114,8 +114,8 @@ export declare const Scrollbar: {
|
|
|
114
114
|
}>>, {
|
|
115
115
|
wrap: Ref<any>;
|
|
116
116
|
}, {}, {}, {}, {
|
|
117
|
-
scrollHeight: number;
|
|
118
117
|
wrapStyle: StyleValue;
|
|
118
|
+
scrollHeight: number;
|
|
119
119
|
wrapClass: string | string[];
|
|
120
120
|
viewClass: string | string[];
|
|
121
121
|
viewStyle: string | string[];
|
|
@@ -128,14 +128,14 @@ export declare const Scrollbar: {
|
|
|
128
128
|
native: {
|
|
129
129
|
type: PropType<boolean>;
|
|
130
130
|
};
|
|
131
|
-
scrollHeight: {
|
|
132
|
-
type: PropType<number>;
|
|
133
|
-
default: number;
|
|
134
|
-
};
|
|
135
131
|
wrapStyle: {
|
|
136
132
|
type: PropType<StyleValue>;
|
|
137
133
|
default: string;
|
|
138
134
|
};
|
|
135
|
+
scrollHeight: {
|
|
136
|
+
type: PropType<number>;
|
|
137
|
+
default: number;
|
|
138
|
+
};
|
|
139
139
|
wrapClass: {
|
|
140
140
|
type: PropType<string | string[]>;
|
|
141
141
|
default: string;
|
|
@@ -158,8 +158,8 @@ export declare const Scrollbar: {
|
|
|
158
158
|
}>>, {
|
|
159
159
|
wrap: Ref<any>;
|
|
160
160
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
161
|
-
scrollHeight: number;
|
|
162
161
|
wrapStyle: StyleValue;
|
|
162
|
+
scrollHeight: number;
|
|
163
163
|
wrapClass: string | string[];
|
|
164
164
|
viewClass: string | string[];
|
|
165
165
|
viewStyle: string | string[];
|
|
@@ -168,7 +168,7 @@ export declare const Scrollbar: {
|
|
|
168
168
|
$slots: {
|
|
169
169
|
default?(_: {}): any;
|
|
170
170
|
};
|
|
171
|
-
}) & Plugin
|
|
171
|
+
}) & Plugin & (new (...args: any[]) => {
|
|
172
172
|
$props: {
|
|
173
173
|
onClick?: (() => void) | undefined;
|
|
174
174
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ScrollbarProps } from './interface';
|
|
2
2
|
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
import { StyleValue } from '
|
|
3
|
+
import { StyleValue } from 'src/type';
|
|
4
4
|
|
|
5
5
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ScrollbarProps>, {
|
|
6
6
|
wrapStyle: string;
|
|
@@ -19,8 +19,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
19
19
|
tag: string;
|
|
20
20
|
scrollHeight: number;
|
|
21
21
|
}>>>, {
|
|
22
|
-
scrollHeight: number;
|
|
23
22
|
wrapStyle: StyleValue;
|
|
23
|
+
scrollHeight: number;
|
|
24
24
|
wrapClass: string | string[];
|
|
25
25
|
viewClass: string | string[];
|
|
26
26
|
viewStyle: string | string[];
|
|
@@ -82,7 +82,7 @@ export declare const StrengthMeter: {
|
|
|
82
82
|
showInput: boolean;
|
|
83
83
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
84
84
|
$slots: Partial<Record<string, (_: any) => any>>;
|
|
85
|
-
}) & Plugin
|
|
85
|
+
}) & Plugin & (new (...args: any[]) => {
|
|
86
86
|
$props: {
|
|
87
87
|
onClick?: (() => void) | undefined;
|
|
88
88
|
};
|
|
@@ -39,11 +39,15 @@
|
|
|
39
39
|
}
|
|
40
40
|
.aplus-ap-upload-multiple-file-admin .multiple-file-context .file-btn {
|
|
41
41
|
border: 1px solid #d9d9d9;
|
|
42
|
+
color: #333333;
|
|
42
43
|
}
|
|
43
44
|
.aplus-ap-upload-multiple-file-admin .multiple-file-context .file-btn:hover {
|
|
44
45
|
border-color: #34b77c;
|
|
45
46
|
color: #34b77c;
|
|
46
47
|
}
|
|
48
|
+
.aplus-ap-upload-multiple-file-admin .multiple-file-context .sub-title {
|
|
49
|
+
color: #999999;
|
|
50
|
+
}
|
|
47
51
|
.aplus-ap-upload-multiple-file-admin .ant-upload-wrapper .ant-upload-list .ant-upload-list-item:hover {
|
|
48
52
|
background: #fafafa;
|
|
49
53
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.aplus-editable-table .ant-form-item {
|
|
2
|
-
margin-bottom:
|
|
2
|
+
margin-bottom: 20px;
|
|
3
3
|
}
|
|
4
4
|
.aplus-editable-table__header-cell--required {
|
|
5
5
|
color: #FF4D4F;
|
|
@@ -37,12 +37,18 @@
|
|
|
37
37
|
.aplus-editable-table-admin tr > td.ant-table-cell {
|
|
38
38
|
border-top-color: #E9E9E9;
|
|
39
39
|
}
|
|
40
|
+
.aplus-editable-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell:has(.is-editable) {
|
|
41
|
+
padding: 20px 16px 0px;
|
|
42
|
+
}
|
|
40
43
|
.aplus-editable-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell {
|
|
41
44
|
padding: 12px 16px;
|
|
42
45
|
}
|
|
43
46
|
.aplus-editable-table .ant-table.ant-table-middle .ant-table-thead .ant-table-cell {
|
|
44
47
|
padding: 12px 16px;
|
|
45
48
|
}
|
|
49
|
+
.aplus-editable-table .ant-table.ant-table-small .ant-table-row .ant-table-cell:has(.is-editable) {
|
|
50
|
+
padding: 20px 16px 0px;
|
|
51
|
+
}
|
|
46
52
|
.aplus-editable-table .ant-table.ant-table-small .ant-table-row .ant-table-cell {
|
|
47
53
|
padding: 9px 16px;
|
|
48
54
|
}
|
|
@@ -29,8 +29,8 @@ export declare function createSimpleTransition(name: string, origin?: string, mo
|
|
|
29
29
|
};
|
|
30
30
|
}>>, {
|
|
31
31
|
mode: Mode;
|
|
32
|
-
group: boolean;
|
|
33
32
|
origin: string;
|
|
33
|
+
group: boolean;
|
|
34
34
|
}, {}>;
|
|
35
35
|
export declare function createJavascriptTransition(name: string, functions: Record<string, any>, mode?: Mode): DefineComponent<{
|
|
36
36
|
mode: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("../utils/slot.js");require("../config-provider/index.js");require("./style/index.css");const d=require("@aplus-frontend/utils"),c=require("../config-provider/hooks/use-namespace.js");function l(r){return"Ap"+r.split("-").map(n=>d.upperFirst(n)).join("")}function f(r,t="top center 0",n){return e.defineComponent({name:l(r),props:{group:{type:Boolean,default:!1},mode:{type:String,default:n},origin:{type:String,default:t}},setup(o,{slots:a,attrs:i}){const{b:s}=c.useNamespace(r),m=u=>{u.style.transformOrigin=o.origin};return()=>{const u=o.group?e.TransitionGroup:e.Transition;return e.createVNode(u,e.mergeProps({name:s(),mode:o.mode},i,{onBeforeEnter:m}),{default:()=>p.getSlot(a)})}}})}function g(r,t,n="in-out"){return e.defineComponent({name:l(r),props:{mode:{type:String,default:n}},setup(o,{attrs:a,slots:i}){const{b:s}=c.useNamespace(r);return()=>e.createVNode(e.Transition,e.mergeProps({name:s(),mode:o.mode},a,{onBeforeEnter:t.beforeEnter,onEnter:t.enter,onLeave:t.leave,onAfterLeave:t.afterLeave,onLeaveCancelled:t.afterLeave}),{default:()=>p.getSlot(i)})}})}exports.createJavascriptTransition=g;exports.createSimpleTransition=f;
|