@aplus-frontend/ui 7.3.1 → 7.3.3
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/ag-grid/editable/form-item.vue.d.ts +4 -2
- package/es/src/ag-grid/editable/index.vue.d.ts +4 -2
- package/es/src/ag-grid/index.vue.d.ts +4 -2
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +2 -1
- package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -3
- package/es/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
- package/es/src/ap-form/search-form/index.vue.d.ts +4 -3
- package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/es/src/ap-grid/index.vue.d.ts +4 -2
- package/es/src/ap-grid/utils/table.mjs +2 -2
- package/es/src/ap-list/index.vue.d.ts +4 -2
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +4 -2
- package/es/src/ap-table/constants.d.ts +10 -10
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/style/index.mjs +4 -4
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/es/src/business/ap-expand-alert/index.d.ts +6 -4
- package/es/src/business/ap-select-layout/index.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +2 -2
- package/es/src/business/ap-table-modal/index.d.ts +5 -17
- package/es/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/es/src/business/ap-upload/components/Picture.vue.d.ts +7 -2
- package/es/src/business/ap-upload/style/multiple-file.mjs +3 -3
- package/es/src/business/ap-upload/style/picture.mjs +12 -12
- package/es/src/business/ap-upload/style/single-file.mjs +8 -8
- package/es/src/business/ap-value-select-card/index.vue.d.ts +4 -2
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/es/src/editable-table/form-item.vue.d.ts +4 -2
- package/es/src/editable-table/index.vue.d.ts +4 -2
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.d.ts +4 -2
- package/lib/src/ag-grid/editable/index.vue.d.ts +4 -2
- package/lib/src/ag-grid/index.vue.d.ts +4 -2
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
- package/lib/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
- package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +4 -3
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +4 -2
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
- package/lib/src/ap-table/constants.d.ts +10 -10
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/style/index.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
- package/lib/src/business/ap-select-layout/index.d.ts +4 -2
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +5 -17
- package/lib/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/business/ap-upload/components/Picture.vue.d.ts +7 -2
- package/lib/src/business/ap-upload/style/multiple-file.js +1 -1
- package/lib/src/business/ap-upload/style/picture.js +1 -1
- package/lib/src/business/ap-upload/style/single-file.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue.d.ts +4 -2
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
- package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/lib/src/editable-table/form-item.vue.d.ts +4 -2
- package/lib/src/editable-table/index.vue.d.ts +4 -2
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +3 -3
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { EditableAgGridFormItemExpose, EditableAgGridFormItemProps } from './interface';
|
|
2
2
|
import { Recordable } from '../../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
4
4
|
declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableAgGridFormItemProps<RecordType> & Partial<{}>> & PublicProps;
|
|
6
6
|
expose(exposed: ShallowUnwrapRef<EditableAgGridFormItemExpose<RecordType>>): void;
|
|
7
7
|
attrs: any;
|
|
8
8
|
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
9
9
|
emit: {};
|
|
10
|
-
}>) => VNode
|
|
10
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}> & {
|
|
11
13
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
12
14
|
};
|
|
13
15
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditableAgGridExpose, EditableAgGridProps } from './interface';
|
|
2
2
|
import { Recordable } from '../../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
4
4
|
declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
6
|
readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
@@ -9,7 +9,9 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
|
|
|
9
9
|
attrs: any;
|
|
10
10
|
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
11
11
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
12
|
-
}>) => VNode
|
|
12
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}> & {
|
|
13
15
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
14
16
|
};
|
|
15
17
|
export default _default;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { AgGridExpose, AgGridProps, AgGridSlots } from './interface';
|
|
2
2
|
import { Recordable } from '../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
4
4
|
declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & AgGridProps<RecordType> & Partial<{}>> & PublicProps;
|
|
6
6
|
expose(exposed: ShallowUnwrapRef<AgGridExpose>): void;
|
|
7
7
|
attrs: any;
|
|
8
8
|
slots: Readonly<AgGridSlots<RecordType>> & AgGridSlots<RecordType>;
|
|
9
9
|
emit: {};
|
|
10
|
-
}>) => VNode
|
|
10
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}> & {
|
|
11
13
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
12
14
|
};
|
|
13
15
|
export default _default;
|
|
@@ -6,13 +6,13 @@ export declare const useSelectOptions: (props: ApFieldSelectProps) => {
|
|
|
6
6
|
options: Ref<{
|
|
7
7
|
[x: string]: any;
|
|
8
8
|
label?: any;
|
|
9
|
-
value?: string | number | null | undefined;
|
|
9
|
+
value?: (string | number | null) | undefined;
|
|
10
10
|
children?: Omit<DefaultOptionType, "children">[] | undefined;
|
|
11
11
|
disabled?: boolean | undefined;
|
|
12
12
|
}[], DefaultOptionType[] | {
|
|
13
13
|
[x: string]: any;
|
|
14
14
|
label?: any;
|
|
15
|
-
value?: string | number | null | undefined;
|
|
15
|
+
value?: (string | number | null) | undefined;
|
|
16
16
|
children?: Omit<DefaultOptionType, "children">[] | undefined;
|
|
17
17
|
disabled?: boolean | undefined;
|
|
18
18
|
}[]>;
|
|
@@ -8,14 +8,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
|
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
9
|
checkable?: boolean | undefined;
|
|
10
10
|
disableCheckbox?: boolean | undefined;
|
|
11
|
-
children?:
|
|
11
|
+
children?: any[] | undefined;
|
|
12
12
|
} | {
|
|
13
13
|
[x: string]: any;
|
|
14
14
|
value?: RawValueType | undefined;
|
|
15
15
|
title?: any;
|
|
16
16
|
label?: any;
|
|
17
17
|
key?: Key | undefined;
|
|
18
|
-
children?:
|
|
18
|
+
children?: any[] | undefined;
|
|
19
19
|
disabled?: boolean | undefined;
|
|
20
20
|
checkable?: boolean | undefined;
|
|
21
21
|
disableCheckbox?: boolean | undefined;
|
|
@@ -24,14 +24,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
|
|
|
24
24
|
disabled?: boolean | undefined;
|
|
25
25
|
checkable?: boolean | undefined;
|
|
26
26
|
disableCheckbox?: boolean | undefined;
|
|
27
|
-
children?:
|
|
27
|
+
children?: any[] | undefined;
|
|
28
28
|
} | {
|
|
29
29
|
[x: string]: any;
|
|
30
30
|
value?: RawValueType | undefined;
|
|
31
31
|
title?: any;
|
|
32
32
|
label?: any;
|
|
33
33
|
key?: Key | undefined;
|
|
34
|
-
children?:
|
|
34
|
+
children?: any[] | undefined;
|
|
35
35
|
disabled?: boolean | undefined;
|
|
36
36
|
checkable?: boolean | undefined;
|
|
37
37
|
disableCheckbox?: boolean | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApFormProps, UpdateModelOptimizeFn, WatchFunc, ApFormInternalInstance } from './interface';
|
|
2
|
-
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
2
|
+
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, RuleObject, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
3
3
|
import { Recordable } from '../type';
|
|
4
4
|
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
|
|
5
5
|
import { VueTypeDef, VueTypeValidableDef } from '../../node_modules/vue-types';
|
|
@@ -7,6 +7,7 @@ import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
|
7
7
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
8
8
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
9
9
|
import { Options } from '../../node_modules/scroll-into-view-if-needed';
|
|
10
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
10
11
|
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
11
12
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
13
|
declare function __VLS_template(): {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { ApFormDrawerFormProps, CustomizeResizeType } from '../interface';
|
|
2
2
|
import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, CSSProperties } from 'vue';
|
|
3
|
-
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
3
|
+
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
|
|
4
4
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
5
5
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
6
6
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
7
7
|
import { Options } from '../../../node_modules/scroll-into-view-if-needed';
|
|
8
8
|
import { Recordable } from '../../type';
|
|
9
9
|
import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
10
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
10
11
|
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
11
12
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
13
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
|
|
@@ -118,7 +119,7 @@ declare function __VLS_template(): {
|
|
|
118
119
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
119
120
|
readonly initialValues?: Recordable | undefined;
|
|
120
121
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
121
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
122
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
122
123
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
123
124
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
124
125
|
$attrs: {
|
|
@@ -1081,7 +1082,7 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
1081
1082
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
1082
1083
|
readonly initialValues?: Recordable | undefined;
|
|
1083
1084
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
1084
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
1085
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
1085
1086
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
1086
1087
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1087
1088
|
$attrs: {
|
|
@@ -66,9 +66,9 @@ declare function __VLS_template(): {
|
|
|
66
66
|
type: "up" | "down";
|
|
67
67
|
}) => void) | undefined;
|
|
68
68
|
readonly type?: string | undefined;
|
|
69
|
+
readonly placeholder?: string | undefined;
|
|
69
70
|
readonly name?: string | undefined;
|
|
70
71
|
readonly id?: string | undefined;
|
|
71
|
-
readonly placeholder?: string | undefined;
|
|
72
72
|
readonly valueModifiers?: Record<string, any> | undefined;
|
|
73
73
|
readonly addonBefore?: any;
|
|
74
74
|
readonly addonAfter?: any;
|
|
@@ -561,9 +561,9 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
561
561
|
type: "up" | "down";
|
|
562
562
|
}) => void) | undefined;
|
|
563
563
|
readonly type?: string | undefined;
|
|
564
|
+
readonly placeholder?: string | undefined;
|
|
564
565
|
readonly name?: string | undefined;
|
|
565
566
|
readonly id?: string | undefined;
|
|
566
|
-
readonly placeholder?: string | undefined;
|
|
567
567
|
readonly valueModifiers?: Record<string, any> | undefined;
|
|
568
568
|
readonly addonBefore?: any;
|
|
569
569
|
readonly addonAfter?: any;
|
|
@@ -66,6 +66,7 @@ declare function __VLS_template(): {
|
|
|
66
66
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
67
67
|
readonly animation?: string | undefined;
|
|
68
68
|
readonly children?: VueNode[] | undefined;
|
|
69
|
+
readonly placeholder?: any;
|
|
69
70
|
readonly prefixCls?: string | undefined;
|
|
70
71
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
71
72
|
readonly loading?: boolean | undefined;
|
|
@@ -76,7 +77,6 @@ declare function __VLS_template(): {
|
|
|
76
77
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
77
78
|
readonly virtual?: boolean | undefined;
|
|
78
79
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
79
|
-
readonly placeholder?: any;
|
|
80
80
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
81
81
|
readonly defaultValue?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
|
|
82
82
|
readonly prefix?: any;
|
|
@@ -127,12 +127,12 @@ declare function __VLS_template(): {
|
|
|
127
127
|
readonly emptyText?: string | undefined;
|
|
128
128
|
readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
|
|
129
129
|
readonly multiple?: boolean | undefined;
|
|
130
|
-
readonly value?:
|
|
130
|
+
readonly value?: SelectProps["value"];
|
|
131
131
|
readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
|
|
132
|
-
readonly searchMode?: "filter" | "request" | undefined;
|
|
132
|
+
readonly searchMode?: ("filter" | "request") | undefined;
|
|
133
133
|
readonly refetchOnFocus?: boolean | undefined;
|
|
134
134
|
readonly lazy?: boolean | undefined;
|
|
135
|
-
readonly addAll?: boolean | number | undefined;
|
|
135
|
+
readonly addAll?: (boolean | number) | undefined;
|
|
136
136
|
readonly params?: Recordable | undefined;
|
|
137
137
|
readonly searchDelay?: number | undefined;
|
|
138
138
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -715,6 +715,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
715
715
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
716
716
|
readonly animation?: string | undefined;
|
|
717
717
|
readonly children?: VueNode[] | undefined;
|
|
718
|
+
readonly placeholder?: any;
|
|
718
719
|
readonly prefixCls?: string | undefined;
|
|
719
720
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
720
721
|
readonly loading?: boolean | undefined;
|
|
@@ -725,7 +726,6 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
725
726
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
726
727
|
readonly virtual?: boolean | undefined;
|
|
727
728
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
728
|
-
readonly placeholder?: any;
|
|
729
729
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
730
730
|
readonly defaultValue?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
|
|
731
731
|
readonly prefix?: any;
|
|
@@ -776,12 +776,12 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
776
776
|
readonly emptyText?: string | undefined;
|
|
777
777
|
readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
|
|
778
778
|
readonly multiple?: boolean | undefined;
|
|
779
|
-
readonly value?:
|
|
779
|
+
readonly value?: SelectProps["value"];
|
|
780
780
|
readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
|
|
781
|
-
readonly searchMode?: "filter" | "request" | undefined;
|
|
781
|
+
readonly searchMode?: ("filter" | "request") | undefined;
|
|
782
782
|
readonly refetchOnFocus?: boolean | undefined;
|
|
783
783
|
readonly lazy?: boolean | undefined;
|
|
784
|
-
readonly addAll?: boolean | number | undefined;
|
|
784
|
+
readonly addAll?: (boolean | number) | undefined;
|
|
785
785
|
readonly params?: Recordable | undefined;
|
|
786
786
|
readonly searchDelay?: number | undefined;
|
|
787
787
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -46,6 +46,7 @@ declare function __VLS_template(): {
|
|
|
46
46
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
47
47
|
readonly value?: string | number | undefined;
|
|
48
48
|
readonly disabled?: boolean | undefined;
|
|
49
|
+
readonly placeholder?: string | number | undefined;
|
|
49
50
|
readonly prefixCls?: string | undefined;
|
|
50
51
|
readonly name?: string | undefined;
|
|
51
52
|
readonly loading?: boolean | undefined;
|
|
@@ -56,7 +57,6 @@ declare function __VLS_template(): {
|
|
|
56
57
|
readonly focused?: boolean | undefined;
|
|
57
58
|
readonly readonly?: boolean | undefined;
|
|
58
59
|
readonly autocomplete?: string | undefined;
|
|
59
|
-
readonly placeholder?: string | number | undefined;
|
|
60
60
|
readonly maxlength?: number | undefined;
|
|
61
61
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
62
62
|
readonly htmlSize?: number | undefined;
|
|
@@ -203,6 +203,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
|
|
|
203
203
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
204
204
|
readonly value?: string | number | undefined;
|
|
205
205
|
readonly disabled?: boolean | undefined;
|
|
206
|
+
readonly placeholder?: string | number | undefined;
|
|
206
207
|
readonly prefixCls?: string | undefined;
|
|
207
208
|
readonly name?: string | undefined;
|
|
208
209
|
readonly loading?: boolean | undefined;
|
|
@@ -213,7 +214,6 @@ declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
|
|
|
213
214
|
readonly focused?: boolean | undefined;
|
|
214
215
|
readonly readonly?: boolean | undefined;
|
|
215
216
|
readonly autocomplete?: string | undefined;
|
|
216
|
-
readonly placeholder?: string | number | undefined;
|
|
217
217
|
readonly maxlength?: number | undefined;
|
|
218
218
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
219
219
|
readonly htmlSize?: number | undefined;
|
|
@@ -47,6 +47,7 @@ declare function __VLS_template(): {
|
|
|
47
47
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
48
48
|
readonly value?: string | number | undefined;
|
|
49
49
|
readonly disabled?: boolean | undefined;
|
|
50
|
+
readonly placeholder?: string | number | undefined;
|
|
50
51
|
readonly prefixCls?: string | undefined;
|
|
51
52
|
readonly name?: string | undefined;
|
|
52
53
|
readonly loading?: boolean | undefined;
|
|
@@ -57,7 +58,6 @@ declare function __VLS_template(): {
|
|
|
57
58
|
readonly focused?: boolean | undefined;
|
|
58
59
|
readonly readonly?: boolean | undefined;
|
|
59
60
|
readonly autocomplete?: string | undefined;
|
|
60
|
-
readonly placeholder?: string | number | undefined;
|
|
61
61
|
readonly maxlength?: number | undefined;
|
|
62
62
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
63
63
|
readonly htmlSize?: number | undefined;
|
|
@@ -210,6 +210,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
|
|
|
210
210
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
211
211
|
readonly value?: string | number | undefined;
|
|
212
212
|
readonly disabled?: boolean | undefined;
|
|
213
|
+
readonly placeholder?: string | number | undefined;
|
|
213
214
|
readonly prefixCls?: string | undefined;
|
|
214
215
|
readonly name?: string | undefined;
|
|
215
216
|
readonly loading?: boolean | undefined;
|
|
@@ -220,7 +221,6 @@ declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
|
|
|
220
221
|
readonly focused?: boolean | undefined;
|
|
221
222
|
readonly readonly?: boolean | undefined;
|
|
222
223
|
readonly autocomplete?: string | undefined;
|
|
223
|
-
readonly placeholder?: string | number | undefined;
|
|
224
224
|
readonly maxlength?: number | undefined;
|
|
225
225
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
226
226
|
readonly htmlSize?: number | undefined;
|
|
@@ -70,6 +70,7 @@ declare function __VLS_template(): {
|
|
|
70
70
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
71
71
|
readonly animation?: string | undefined;
|
|
72
72
|
readonly children?: VueNode[] | undefined;
|
|
73
|
+
readonly placeholder?: any;
|
|
73
74
|
readonly prefixCls?: string | undefined;
|
|
74
75
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
75
76
|
readonly loading?: boolean | undefined;
|
|
@@ -81,7 +82,6 @@ declare function __VLS_template(): {
|
|
|
81
82
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
82
83
|
readonly virtual?: boolean | undefined;
|
|
83
84
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
84
|
-
readonly placeholder?: any;
|
|
85
85
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
86
86
|
readonly defaultValue?: unknown;
|
|
87
87
|
readonly prefix?: any;
|
|
@@ -861,6 +861,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
|
|
|
861
861
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
862
862
|
readonly animation?: string | undefined;
|
|
863
863
|
readonly children?: VueNode[] | undefined;
|
|
864
|
+
readonly placeholder?: any;
|
|
864
865
|
readonly prefixCls?: string | undefined;
|
|
865
866
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
866
867
|
readonly loading?: boolean | undefined;
|
|
@@ -872,7 +873,6 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
|
|
|
872
873
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
873
874
|
readonly virtual?: boolean | undefined;
|
|
874
875
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
875
|
-
readonly placeholder?: any;
|
|
876
876
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
877
877
|
readonly defaultValue?: unknown;
|
|
878
878
|
readonly prefix?: any;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { ApFormModalFormProps } from '../interface';
|
|
2
2
|
import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, CSSProperties } from 'vue';
|
|
3
|
-
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
3
|
+
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
|
|
4
4
|
import { Recordable } from '../../type';
|
|
5
5
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
6
6
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
7
7
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
8
8
|
import { Options } from '../../../node_modules/scroll-into-view-if-needed';
|
|
9
9
|
import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
10
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
10
11
|
import { SizeType, ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
11
12
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
13
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
|
|
@@ -119,7 +120,7 @@ declare function __VLS_template(): {
|
|
|
119
120
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
120
121
|
readonly initialValues?: Recordable | undefined;
|
|
121
122
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
122
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
123
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
123
124
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
124
125
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
125
126
|
$attrs: {
|
|
@@ -1298,7 +1299,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1298
1299
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
1299
1300
|
readonly initialValues?: Recordable | undefined;
|
|
1300
1301
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
1301
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
1302
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
1302
1303
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
1303
1304
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1304
1305
|
$attrs: {
|
|
@@ -143,7 +143,7 @@ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {},
|
|
|
143
143
|
delay?: number;
|
|
144
144
|
};
|
|
145
145
|
danger: boolean;
|
|
146
|
-
htmlType:
|
|
146
|
+
htmlType: ButtonHTMLType;
|
|
147
147
|
ghost: boolean;
|
|
148
148
|
iconPosition: ButtonIconPosition;
|
|
149
149
|
}> | null;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { ApFormExpose, ApFormSearchFormProps } from '../interface';
|
|
2
2
|
import { ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } from 'vue';
|
|
3
3
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
4
|
-
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
4
|
+
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
5
5
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
6
6
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
7
7
|
import { Options } from '../../../node_modules/scroll-into-view-if-needed';
|
|
8
8
|
import { Recordable } from '../../type';
|
|
9
9
|
import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
10
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
10
11
|
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
11
12
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
13
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSearchFormPopoverSorterItem } from '..';
|
|
@@ -118,7 +119,7 @@ declare function __VLS_template(): {
|
|
|
118
119
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
119
120
|
readonly initialValues?: Recordable | undefined;
|
|
120
121
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
121
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
122
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
122
123
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
123
124
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
124
125
|
$attrs: {
|
|
@@ -1106,7 +1107,7 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
|
|
|
1106
1107
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
1107
1108
|
readonly initialValues?: Recordable | undefined;
|
|
1108
1109
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
1109
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
1110
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
1110
1111
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
1111
1112
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1112
1113
|
$attrs: {
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { EditableGridFormItemExpose, EditableGridFormItemProps } from './interface';
|
|
2
2
|
import { Recordable } from '../../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
4
4
|
declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableGridFormItemProps<RecordType> & Partial<{}>> & PublicProps;
|
|
6
6
|
expose(exposed: ShallowUnwrapRef<EditableGridFormItemExpose>): void;
|
|
7
7
|
attrs: any;
|
|
8
8
|
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
9
9
|
emit: {};
|
|
10
|
-
}>) => VNode
|
|
10
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}> & {
|
|
11
13
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
12
14
|
};
|
|
13
15
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditableGridExpose, EditableGridProps } from './interface';
|
|
2
2
|
import { Recordable } from '../../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
4
4
|
declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
6
|
readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
@@ -9,7 +9,9 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
|
|
|
9
9
|
attrs: any;
|
|
10
10
|
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
11
11
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
12
|
-
}>) => VNode
|
|
12
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}> & {
|
|
13
15
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
14
16
|
};
|
|
15
17
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VxeTableSlots } from 'vxe-table';
|
|
2
2
|
import { ApGridColumnType, ApGridExpose, ApGridProps } from './interface';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
4
4
|
declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApGridProps<RecordType> & Partial<{}>> & PublicProps;
|
|
6
6
|
expose(exposed: ShallowUnwrapRef<ApGridExpose>): void;
|
|
@@ -35,7 +35,9 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
|
|
|
35
35
|
}) => any;
|
|
36
36
|
};
|
|
37
37
|
emit: {};
|
|
38
|
-
}>) => VNode
|
|
38
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
}> & {
|
|
39
41
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
40
42
|
};
|
|
41
43
|
export default _default;
|
|
@@ -73,7 +73,7 @@ function x(e) {
|
|
|
73
73
|
return e === !0 ? "left" : e;
|
|
74
74
|
}
|
|
75
75
|
function z(e, i, t) {
|
|
76
|
-
const n = e === !0 || !e.type ? "checkbox" : e.type, r = (t === "mini" ?
|
|
76
|
+
const n = e === !0 || !e.type ? "checkbox" : e.type, r = (t === "mini" ? 18 : 24) + 16, a = e === !0 ? r : e.columnWidth || r;
|
|
77
77
|
let u = e === !0 ? void 0 : x(e.fixed);
|
|
78
78
|
return u || (u === !1 ? u = void 0 : u = i.some(
|
|
79
79
|
(o) => o.fixed === "left" || o.fixed === !0
|
|
@@ -101,7 +101,7 @@ function R(e, i) {
|
|
|
101
101
|
if (!e)
|
|
102
102
|
return "auto";
|
|
103
103
|
const t = getComputedStyle(e);
|
|
104
|
-
let n = i === "medium" ?
|
|
104
|
+
let n = i === "medium" ? 24 : 18;
|
|
105
105
|
const r = (Number.parseFloat(t.fontSize) || 14) * 1.6;
|
|
106
106
|
return n += r, e.querySelector("span.anticon-question-circle") && (n += 20), n += h(e.querySelector(".vxe-cell--sort")) + h(e.querySelector(".vxe-cell--filter")), Math.ceil(n);
|
|
107
107
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApListExpose, ApListProps } from './interface';
|
|
2
2
|
import { Recordable } from '../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode, RendererNode, RendererElement } from 'vue';
|
|
4
4
|
import { ApFormSearchFormExpose } from '..';
|
|
5
5
|
declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
6
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApListProps<RecordType> & Partial<{}>> & PublicProps;
|
|
@@ -34,7 +34,9 @@ declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable
|
|
|
34
34
|
}): any;
|
|
35
35
|
};
|
|
36
36
|
emit: {};
|
|
37
|
-
}>) => VNode
|
|
37
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
}> & {
|
|
38
40
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
39
41
|
};
|
|
40
42
|
export default _default;
|
|
@@ -6,7 +6,7 @@ export type ModalFunc = (props: ModalFuncProps) => {
|
|
|
6
6
|
update: (configUpdate: ConfigUpdate) => void;
|
|
7
7
|
};
|
|
8
8
|
declare const confirm: (config: ModalFuncProps) => {
|
|
9
|
-
destroy: (this:
|
|
9
|
+
destroy: (this: any, ...args: any[]) => void;
|
|
10
10
|
update: (configUpdate: ConfigUpdate) => void;
|
|
11
11
|
};
|
|
12
12
|
export default confirm;
|
|
@@ -2,7 +2,7 @@ import { ApColumnType, ApTableProps } from './interface';
|
|
|
2
2
|
import { ApFormSearchFormPopoverSorterItem } from '../ap-form';
|
|
3
3
|
import { ColumnsType, ColumnType } from '@aplus-frontend/antdv/es/table';
|
|
4
4
|
import { RowSelectionReturnType } from './hooks/use-table-row-selection';
|
|
5
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode } from 'vue';
|
|
5
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
6
6
|
declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
7
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApTableProps<RecordType> & Partial<{}>> & PublicProps;
|
|
8
8
|
expose(exposed: ShallowUnwrapRef<{
|
|
@@ -98,7 +98,9 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
|
|
|
98
98
|
}) => void;
|
|
99
99
|
};
|
|
100
100
|
emit: {};
|
|
101
|
-
}>) => VNode
|
|
101
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
102
|
+
[key: string]: any;
|
|
103
|
+
}> & {
|
|
102
104
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
103
105
|
};
|
|
104
106
|
export default _default;
|