@aplus-frontend/ui 7.18.1 → 7.19.0-beta.0
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/context.mjs +1 -1
- 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/hooks/use-pinned-row.mjs +2 -2
- package/es/src/ag-grid/index.vue.d.ts +4 -2
- package/es/src/ap-field/cascader/use-options.d.ts +4 -4
- package/es/src/ap-field/date/index.vue.d.ts +1 -0
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -0
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/text/password.vue.d.ts +4 -4
- 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/context.mjs +1 -1
- package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -3
- package/es/src/ap-form/item/index.vue.d.ts +6 -6
- package/es/src/ap-form/item-group/helper.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.d.ts +11 -9
- package/es/src/ap-form/items/date-range/index.vue.d.ts +15 -13
- package/es/src/ap-form/items/number/index.vue.d.ts +3 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/es/src/ap-form/provider/context.mjs +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-pro-card/components/card/index.vue2.mjs +2 -2
- package/es/src/ap-table/ap-table.vue.d.ts +4 -2
- package/es/src/ap-table/components/setting/context.mjs +1 -1
- package/es/src/ap-table/components/setting/sorter/context.mjs +1 -1
- package/es/src/ap-table/components/setting/template/edit-form.vue.d.ts +3 -2
- package/es/src/ap-table/constants.d.ts +22 -20
- package/es/src/ap-table/context.mjs +1 -1
- package/es/src/ap-table/hooks/use-table-template-storage.d.ts +9 -9
- package/es/src/ap-table/utils.mjs +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.mjs +1 -1
- package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/es/src/business/ap-download/hooks/index.mjs +1 -1
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +3 -1
- package/es/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/es/src/business/ap-keep-alive/hook.mjs +1 -1
- package/es/src/business/ap-keep-alive/utils.mjs +1 -1
- 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-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-value-select-card/index.vue.d.ts +4 -2
- package/es/src/business/ap-view/ap-view.vue.d.ts +5 -0
- package/es/src/business/ap-view/ap-view.vue2.mjs +142 -122
- 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/ap-view/hooks/use-send-to-url.d.ts +11 -0
- package/es/src/business/ap-view/hooks/use-send-to-url.mjs +38 -0
- package/es/src/business/ap-view/hooks/use-view-provide.mjs +1 -1
- package/es/src/business/ap-view/index.d.ts +13 -0
- package/es/src/business/ap-view/interface.d.ts +10 -0
- package/es/src/business/ap-view/utils/query.d.ts +4 -0
- package/es/src/business/ap-view/utils/query.mjs +26 -0
- package/es/src/check-card/context.mjs +1 -1
- package/es/src/config-provider/constants.mjs +1 -1
- package/es/src/config-provider/hooks/use-locale.mjs +1 -1
- package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/es/src/config-provider/hooks/use-namespace.mjs +1 -1
- package/es/src/config-provider/hooks/use-token.mjs +1 -1
- 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/editable-table/utils.mjs +1 -1
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/text/context.mjs +1 -1
- package/es/src/time-ago/useTimeAgo.mjs +1 -1
- package/es/src/utils/slot.mjs +1 -1
- 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/hooks/use-pinned-row.js +1 -1
- package/lib/src/ag-grid/index.vue.d.ts +4 -2
- package/lib/src/ap-field/cascader/use-options.d.ts +4 -4
- package/lib/src/ap-field/date/index.vue.d.ts +1 -0
- package/lib/src/ap-field/date-range/index.vue.d.ts +1 -0
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/text/password.vue.d.ts +4 -4
- 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/item/index.vue.d.ts +6 -6
- package/lib/src/ap-form/items/date/index.vue.d.ts +11 -9
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +15 -13
- package/lib/src/ap-form/items/number/index.vue.d.ts +3 -2
- package/lib/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
- 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/components/setting/template/edit-form.vue.d.ts +3 -2
- package/lib/src/ap-table/constants.d.ts +22 -20
- package/lib/src/ap-table/hooks/use-table-template-storage.d.ts +9 -9
- 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/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- 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-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-value-select-card/index.vue.d.ts +4 -2
- package/lib/src/business/ap-view/ap-view.vue.d.ts +5 -0
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- 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/ap-view/hooks/use-send-to-url.d.ts +11 -0
- package/lib/src/business/ap-view/hooks/use-send-to-url.js +1 -0
- package/lib/src/business/ap-view/index.d.ts +13 -0
- package/lib/src/business/ap-view/interface.d.ts +10 -0
- package/lib/src/business/ap-view/utils/query.d.ts +4 -0
- package/lib/src/business/ap-view/utils/query.js +1 -0
- 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/time-ago/useTimeAgo.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +3 -3
|
@@ -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 onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | 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
|
readonly autoFocusFirstInput?: boolean | undefined;
|
|
124
125
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -1108,7 +1109,7 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
|
|
|
1108
1109
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
1109
1110
|
readonly initialValues?: Recordable | undefined;
|
|
1110
1111
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
1111
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
1112
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
1112
1113
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
1113
1114
|
readonly autoFocusFirstInput?: boolean | undefined;
|
|
1114
1115
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { Recordable } from '../../type';
|
|
2
2
|
import { EditableGridFormItemExpose, EditableGridFormItemProps } 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 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 { Recordable } from '../../type';
|
|
2
2
|
import { EditableGridExpose, EditableGridProps } 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 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;
|
|
@@ -74,7 +74,7 @@ function x(e) {
|
|
|
74
74
|
return e === !0 ? "left" : e;
|
|
75
75
|
}
|
|
76
76
|
function F(e, i, t) {
|
|
77
|
-
const n = e === !0 || !e.type ? "checkbox" : e.type, r = (t === "mini" ?
|
|
77
|
+
const n = e === !0 || !e.type ? "checkbox" : e.type, r = (t === "mini" ? 9 * 2 : 12 * 2) + 16, a = e === !0 ? r : e.columnWidth || r;
|
|
78
78
|
let o = e === !0 ? void 0 : x(e.fixed);
|
|
79
79
|
return o || (o === !1 ? o = void 0 : o = i.some(
|
|
80
80
|
(u) => u.fixed === "left" || u.fixed === !0
|
|
@@ -102,7 +102,7 @@ function R(e, i) {
|
|
|
102
102
|
if (!e)
|
|
103
103
|
return "auto";
|
|
104
104
|
const t = getComputedStyle(e);
|
|
105
|
-
let n = i === "medium" ?
|
|
105
|
+
let n = i === "medium" ? 12 * 2 : 9 * 2;
|
|
106
106
|
const r = (Number.parseFloat(t.fontSize) || 14) * 1.6;
|
|
107
107
|
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);
|
|
108
108
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Recordable } from '../type';
|
|
2
2
|
import { ApListExpose, ApListProps } from './interface';
|
|
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;
|
|
@@ -35,7 +35,9 @@ declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable
|
|
|
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;
|
|
@@ -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;
|
|
@@ -161,7 +161,7 @@ const $e = /* @__PURE__ */ ee({
|
|
|
161
161
|
transform: m.value ? "rotate(-90deg)" : "rotate(0deg)"
|
|
162
162
|
}
|
|
163
163
|
}, null)]), O = (e, l = []) => {
|
|
164
|
-
if (e?.type ===
|
|
164
|
+
if (e?.type === Symbol.for("v-fgt")) {
|
|
165
165
|
const r = Array.isArray(e?.children) ? e?.children : [e?.children];
|
|
166
166
|
if (r?.length)
|
|
167
167
|
for (let o = 0; o < r.length; o++)
|
|
@@ -174,7 +174,7 @@ const $e = /* @__PURE__ */ ee({
|
|
|
174
174
|
return E(!1), a(f, null, [e?.reduce((l, r) => {
|
|
175
175
|
const o = O(r);
|
|
176
176
|
return [...l, ...o];
|
|
177
|
-
}, [])?.filter((l) => l.type !==
|
|
177
|
+
}, [])?.filter((l) => l.type !== Symbol.for("v-cmt"))?.map((l, r, o) => {
|
|
178
178
|
if (l && typeof l == "object" && "type" in l && l.type?.isProCard === !0) {
|
|
179
179
|
E(!0);
|
|
180
180
|
const c = l?.props?.colSpan || l?.props?.["col-span"] || {}, {
|
|
@@ -2,7 +2,7 @@ import { ColumnsType, ColumnType } from '@aplus-frontend/antdv/es/table';
|
|
|
2
2
|
import { ApFormSearchFormPopoverSorterItem } from '../ap-form';
|
|
3
3
|
import { RowSelectionReturnType } from './hooks/use-table-row-selection';
|
|
4
4
|
import { ApColumnType, ApTableProps } from './interface';
|
|
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;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
2
2
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
3
|
-
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
3
|
+
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
4
4
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
5
5
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
6
6
|
import { Options } from '../../../../../node_modules/scroll-into-view-if-needed';
|
|
7
7
|
import { Recordable } from '../../../../type';
|
|
8
8
|
import { VueTypeDef, VueTypeValidableDef } from '../../../../../node_modules/vue-types';
|
|
9
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
9
10
|
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
10
11
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
11
12
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc } from '../../../../ap-form';
|
|
@@ -112,7 +113,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
112
113
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
113
114
|
readonly initialValues?: Recordable | undefined;
|
|
114
115
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
115
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
116
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
116
117
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
117
118
|
readonly autoFocusFirstInput?: boolean | undefined;
|
|
118
119
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -11,19 +11,21 @@ import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
|
|
|
11
11
|
import { AlignType } from '@aplus-frontend/antdv/es/vc-align/interface';
|
|
12
12
|
import { DateRender } from '@aplus-frontend/antdv/es/vc-picker/panels/DatePanel/DateBody';
|
|
13
13
|
import { MonthCellRender } from '@aplus-frontend/antdv/es/vc-picker/panels/MonthPanel/MonthBody';
|
|
14
|
-
import { PanelMode, RangeValue, OnPanelChange, PresetDate,
|
|
14
|
+
import { PanelMode, RangeValue, OnPanelChange, PresetDate, DisabledTime, CustomFormat, PickerMode, EventValue, DisabledTimes } from '@aplus-frontend/antdv/es/vc-picker/interface';
|
|
15
15
|
import { SharedTimeProps } from '@aplus-frontend/antdv/es/vc-picker/panels/TimePanel';
|
|
16
16
|
import { LiteralUnion, Recordable } from '../type';
|
|
17
17
|
import { ApFormatPresetType } from '../ap-field/date/interface';
|
|
18
|
+
import { DatePickerProps, InputNumberProps, RadioChangeEvent, SelectProps, CheckboxOptionType, CheckboxGroupProps, TreeSelectProps, CascaderProps } from '@aplus-frontend/antdv';
|
|
18
19
|
import { ZoneAlias } from '@aplus-frontend/utils';
|
|
20
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
19
21
|
import { OnCleanup } from '@vue/reactivity';
|
|
20
22
|
import { ApFormItemSlots, ApFormItemTextPassword, ApActionGroupProps, GroupActionTypes } from '..';
|
|
21
23
|
import { RangeDateRender, RangeType, RangeInfo } from '@aplus-frontend/antdv/es/vc-picker/RangePicker';
|
|
24
|
+
import { RangePickerProps } from '@aplus-frontend/antdv/es/date-picker';
|
|
22
25
|
import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
|
|
23
26
|
import { VueTypeValidableDef, VueTypeDef } from '../../node_modules/vue-types';
|
|
24
27
|
import { RadioGroupChildOption } from '@aplus-frontend/antdv/es/radio/Group';
|
|
25
28
|
import { RadioGroupButtonStyle, RadioGroupOptionType } from '@aplus-frontend/antdv/es/radio/interface';
|
|
26
|
-
import { RadioChangeEvent, CheckboxOptionType, TreeSelectProps, CascaderProps } from '@aplus-frontend/antdv';
|
|
27
29
|
import { SelectValue, DefaultOptionType, LabeledValue, BaseOptionType } from '@aplus-frontend/antdv/es/select';
|
|
28
30
|
import { SelectHandler, FieldNames, FilterFunc } from '@aplus-frontend/antdv/es/vc-select/Select';
|
|
29
31
|
import { RenderDOMFunc, CustomTagProps, DropdownRender, DisplayValueType, Placement } from '@aplus-frontend/antdv/es/vc-select/BaseSelect';
|
|
@@ -81,7 +83,7 @@ export declare const apTableFormItemMap: {
|
|
|
81
83
|
readonly onSelect?: ((value: Dayjs) => void) | undefined;
|
|
82
84
|
readonly open?: boolean | undefined;
|
|
83
85
|
readonly disabled?: boolean | undefined;
|
|
84
|
-
readonly direction?: "ltr" | "rtl" | undefined;
|
|
86
|
+
readonly direction?: ("ltr" | "rtl") | undefined;
|
|
85
87
|
readonly placeholder?: string | undefined;
|
|
86
88
|
readonly id?: string | undefined;
|
|
87
89
|
readonly getPopupContainer?: ((node: HTMLElement) => HTMLElement) | undefined;
|
|
@@ -118,19 +120,19 @@ export declare const apTableFormItemMap: {
|
|
|
118
120
|
readonly showToday?: boolean | undefined;
|
|
119
121
|
readonly showTime?: boolean | SharedTimeProps<Dayjs> | undefined;
|
|
120
122
|
readonly valueFormat?: string | undefined;
|
|
121
|
-
readonly value?: number | null | undefined;
|
|
123
|
+
readonly value?: (number | null) | undefined;
|
|
122
124
|
readonly defaultValue?: number | undefined;
|
|
123
125
|
readonly 'onUpdate:value'?: (((ts: number | null) => void) & ((...args: any[]) => any)) | undefined;
|
|
124
126
|
readonly onChange?: ((ts: number | null, dayStr: string) => void) | undefined;
|
|
125
127
|
readonly onOk?: ((ts: number | null) => void) | undefined;
|
|
126
128
|
readonly format?: LiteralUnion<ApFormatPresetType, string> | undefined;
|
|
127
|
-
readonly shownFormat?:
|
|
129
|
+
readonly shownFormat?: DatePickerProps["format"];
|
|
128
130
|
readonly formatBegins?: boolean | undefined;
|
|
129
131
|
readonly timezone?: ( ZoneAlias | {
|
|
130
132
|
label?: string;
|
|
131
133
|
value: ZoneAlias;
|
|
132
134
|
}[]) | undefined;
|
|
133
|
-
readonly disabledTime?:
|
|
135
|
+
readonly disabledTime?: SharedTimeProps<Dayjs>["disabledTime"];
|
|
134
136
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
135
137
|
$attrs: {
|
|
136
138
|
[x: string]: unknown;
|
|
@@ -890,8 +892,8 @@ export declare const apTableFormItemMap: {
|
|
|
890
892
|
readonly onMouseup?: MouseEventHandler | undefined;
|
|
891
893
|
readonly open?: boolean | undefined;
|
|
892
894
|
readonly separator?: VueNode;
|
|
893
|
-
readonly disabled?: boolean | [boolean, boolean] | undefined;
|
|
894
|
-
readonly direction?: "ltr" | "rtl" | undefined;
|
|
895
|
+
readonly disabled?: (boolean | [boolean, boolean]) | undefined;
|
|
896
|
+
readonly direction?: ("ltr" | "rtl") | undefined;
|
|
895
897
|
readonly placeholder?: [string, string] | undefined;
|
|
896
898
|
readonly id?: string | undefined;
|
|
897
899
|
readonly getPopupContainer?: ((node: HTMLElement) => HTMLElement) | undefined;
|
|
@@ -926,7 +928,7 @@ export declare const apTableFormItemMap: {
|
|
|
926
928
|
readonly ranges?: Record<string, [ EventValue<Dayjs>, EventValue<Dayjs>] | (() => [ EventValue<Dayjs>, EventValue<Dayjs>])> | undefined;
|
|
927
929
|
readonly allowEmpty?: [boolean, boolean] | undefined;
|
|
928
930
|
readonly onCalendarChange?: ((values: RangeValue<Dayjs>, formatString: [string, string], info: RangeInfo) => void) | undefined;
|
|
929
|
-
readonly activePickerIndex?: 0 | 1 | undefined;
|
|
931
|
+
readonly activePickerIndex?: (0 | 1) | undefined;
|
|
930
932
|
readonly valueFormat?: string | undefined;
|
|
931
933
|
readonly value?: ( RangeValue<number> | null) | undefined;
|
|
932
934
|
readonly defaultValue?: RangeValue<number> | undefined;
|
|
@@ -934,13 +936,13 @@ export declare const apTableFormItemMap: {
|
|
|
934
936
|
readonly onChange?: ((ts: RangeValue<number> | null, dayStr: [string, string]) => void) | undefined;
|
|
935
937
|
readonly onOk?: ((ts: RangeValue<number>) => void) | undefined;
|
|
936
938
|
readonly format?: LiteralUnion<ApFormatPresetType, string> | undefined;
|
|
937
|
-
readonly shownFormat?:
|
|
939
|
+
readonly shownFormat?: RangePickerProps["format"];
|
|
938
940
|
readonly timezone?: ( ZoneAlias | {
|
|
939
941
|
label?: string;
|
|
940
942
|
value: ZoneAlias;
|
|
941
943
|
}[]) | undefined;
|
|
942
944
|
readonly readModeSeparator?: any;
|
|
943
|
-
readonly presets?:
|
|
945
|
+
readonly presets?: RangePickerProps["presets"] | true | {
|
|
944
946
|
thisWeek?: boolean;
|
|
945
947
|
lastWeek?: boolean;
|
|
946
948
|
last7Days?: boolean;
|
|
@@ -952,7 +954,7 @@ export declare const apTableFormItemMap: {
|
|
|
952
954
|
lastQuarter?: boolean;
|
|
953
955
|
thisYear?: boolean;
|
|
954
956
|
lastYear?: boolean;
|
|
955
|
-
}
|
|
957
|
+
};
|
|
956
958
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
957
959
|
$attrs: {
|
|
958
960
|
[x: string]: unknown;
|
|
@@ -1786,7 +1788,7 @@ export declare const apTableFormItemMap: {
|
|
|
1786
1788
|
offset: ValueType;
|
|
1787
1789
|
type: "up" | "down";
|
|
1788
1790
|
}) => void) | undefined;
|
|
1789
|
-
readonly inputMode?: "
|
|
1791
|
+
readonly inputMode?: InputNumberProps["mode"];
|
|
1790
1792
|
readonly thousands?: boolean | undefined;
|
|
1791
1793
|
readonly limitDecimalsRetain?: boolean | undefined;
|
|
1792
1794
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -2576,16 +2578,16 @@ export declare const apTableFormItemMap: {
|
|
|
2576
2578
|
readonly showAction?: ("click" | "focus")[] | undefined;
|
|
2577
2579
|
readonly onPopupScroll?: ((e: UIEvent) => void) | undefined;
|
|
2578
2580
|
readonly onInputKeyDown?: ((e: KeyboardEvent) => void) | undefined;
|
|
2579
|
-
readonly request?: ((value?: string, extraParams?: Recordable) => Promise<
|
|
2581
|
+
readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
|
|
2580
2582
|
readonly multiple?: boolean | undefined;
|
|
2581
|
-
readonly value?:
|
|
2583
|
+
readonly value?: SelectProps["value"];
|
|
2582
2584
|
readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
|
|
2583
|
-
readonly searchMode?: "filter" | "request" | undefined;
|
|
2585
|
+
readonly searchMode?: ("filter" | "request") | undefined;
|
|
2584
2586
|
readonly refetchOnFocus?: boolean | undefined;
|
|
2585
2587
|
readonly fetchOnFocus?: boolean | undefined;
|
|
2586
2588
|
readonly fetchOnOpen?: boolean | undefined;
|
|
2587
|
-
readonly lazy?: boolean | "first-focus" | "first-open" | undefined;
|
|
2588
|
-
readonly addAll?: boolean | number | undefined;
|
|
2589
|
+
readonly lazy?: (boolean | "first-focus" | "first-open") | undefined;
|
|
2590
|
+
readonly addAll?: (boolean | number) | undefined;
|
|
2589
2591
|
readonly params?: Recordable | undefined;
|
|
2590
2592
|
readonly searchDelay?: number | undefined;
|
|
2591
2593
|
readonly allowOnlySelect?: boolean | undefined;
|
|
@@ -3244,7 +3246,7 @@ export declare const apTableFormItemMap: {
|
|
|
3244
3246
|
readonly unCheckedValue?: string | number | boolean | undefined;
|
|
3245
3247
|
readonly 'onUpdate:checked'?: (((checked: string | number | boolean) => void) & ((...args: any[]) => any)) | undefined;
|
|
3246
3248
|
readonly onAction?: ((checked: string | boolean | number, e?: Event) => boolean | Promise<boolean>) | undefined;
|
|
3247
|
-
readonly confirm?: ((checked: string | number | boolean) => ApFieldSwitchConfirmConfig) |
|
|
3249
|
+
readonly confirm?: ApFieldSwitchConfirmConfig | ((checked: string | number | boolean) => ApFieldSwitchConfirmConfig) | undefined;
|
|
3248
3250
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
3249
3251
|
$attrs: {
|
|
3250
3252
|
[x: string]: unknown;
|
|
@@ -4324,7 +4326,7 @@ export declare const apTableFormItemMap: {
|
|
|
4324
4326
|
readonly id?: string | undefined;
|
|
4325
4327
|
readonly prefixCls?: string | undefined;
|
|
4326
4328
|
readonly name?: string | undefined;
|
|
4327
|
-
readonly request?: (() => Promise<
|
|
4329
|
+
readonly request?: (() => Promise< CheckboxGroupProps["options"]>) | undefined;
|
|
4328
4330
|
readonly vertical?: boolean | undefined;
|
|
4329
4331
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
4330
4332
|
$attrs: {
|
|
@@ -6,28 +6,28 @@ export declare const useTableTemplateStorage: (columnSetting: ApTableSettingType
|
|
|
6
6
|
columnState: {
|
|
7
7
|
key: string | number;
|
|
8
8
|
show?: boolean | undefined;
|
|
9
|
-
fixed?: "left" | "right" | undefined;
|
|
9
|
+
fixed?: ("left" | "right") | undefined;
|
|
10
10
|
disabled?: boolean | undefined;
|
|
11
11
|
label?: any;
|
|
12
|
-
children?:
|
|
12
|
+
children?: any[] | undefined;
|
|
13
13
|
order?: number | undefined;
|
|
14
14
|
}[];
|
|
15
15
|
label: string;
|
|
16
16
|
key: string;
|
|
17
|
-
size?: "middle" | "small" | undefined;
|
|
17
|
+
size?: ("middle" | "small") | undefined;
|
|
18
18
|
}[], ApColumnTemplate[] | {
|
|
19
19
|
columnState: {
|
|
20
20
|
key: string | number;
|
|
21
21
|
show?: boolean | undefined;
|
|
22
|
-
fixed?: "left" | "right" | undefined;
|
|
22
|
+
fixed?: ("left" | "right") | undefined;
|
|
23
23
|
disabled?: boolean | undefined;
|
|
24
24
|
label?: any;
|
|
25
|
-
children?:
|
|
25
|
+
children?: any[] | undefined;
|
|
26
26
|
order?: number | undefined;
|
|
27
27
|
}[];
|
|
28
28
|
label: string;
|
|
29
29
|
key: string;
|
|
30
|
-
size?: "middle" | "small" | undefined;
|
|
30
|
+
size?: ("middle" | "small") | undefined;
|
|
31
31
|
}[]>;
|
|
32
32
|
syncTemplateListToStorage: (nextTemplateList: ApColumnTemplate[]) => void;
|
|
33
33
|
addTemplate: (template: ApColumnTemplate) => void;
|
|
@@ -36,14 +36,14 @@ export declare const useTableTemplateStorage: (columnSetting: ApTableSettingType
|
|
|
36
36
|
columnState: {
|
|
37
37
|
key: string | number;
|
|
38
38
|
show?: boolean | undefined;
|
|
39
|
-
fixed?: "left" | "right" | undefined;
|
|
39
|
+
fixed?: ("left" | "right") | undefined;
|
|
40
40
|
disabled?: boolean | undefined;
|
|
41
41
|
label?: any;
|
|
42
|
-
children?:
|
|
42
|
+
children?: any[] | undefined;
|
|
43
43
|
order?: number | undefined;
|
|
44
44
|
}[];
|
|
45
45
|
label: string;
|
|
46
46
|
key: string;
|
|
47
|
-
size?: "middle" | "small" | undefined;
|
|
47
|
+
size?: ("middle" | "small") | undefined;
|
|
48
48
|
};
|
|
49
49
|
};
|
|
@@ -147,7 +147,7 @@ function re(e, t, n, o) {
|
|
|
147
147
|
const r = n?.({
|
|
148
148
|
title: e.title,
|
|
149
149
|
column: e
|
|
150
|
-
}), i = r?.filter((l) => l.type !==
|
|
150
|
+
}), i = r?.filter((l) => l.type !== Symbol.for("v-cmt")) || [];
|
|
151
151
|
if (r && i.length > 0)
|
|
152
152
|
return r;
|
|
153
153
|
const p = N(e.title) ? s("span", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cloneDeep as A } from "lodash-unified";
|
|
2
2
|
import { ref as o, watch as r, defineComponent as h, provide as I, toRef as a, inject as y } from "vue";
|
|
3
|
-
const u =
|
|
3
|
+
const u = Symbol("ag-grid-provider-key");
|
|
4
4
|
function L(n) {
|
|
5
5
|
const t = o(), c = o(), l = o(0), d = (e) => {
|
|
6
6
|
t.value = e;
|
|
@@ -3,8 +3,8 @@ import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/bu
|
|
|
3
3
|
import { ButtonHTMLType, ButtonIconPosition, ButtonVariantType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
5
|
import { MouseEventHandler, FocusEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
6
|
+
import { ButtonProps, ItemType, MenuTheme, MenuMode, TableColumnsType } from '@aplus-frontend/antdv';
|
|
6
7
|
import { DropdownArrowOptions, Trigger, Align } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
7
|
-
import { ItemType, MenuTheme, MenuMode, TableColumnsType, ButtonProps } from '@aplus-frontend/antdv';
|
|
8
8
|
import { Key } from '@aplus-frontend/antdv/es/_util/type';
|
|
9
9
|
import { CSSMotionProps } from '@aplus-frontend/antdv/es/_util/transition';
|
|
10
10
|
import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler, PopupRender } from '@aplus-frontend/antdv/es/menu/src/interface';
|
|
@@ -72,7 +72,7 @@ declare const ApBatchActionGroup: {
|
|
|
72
72
|
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "danger" | "primary">;
|
|
73
73
|
variant: PropType<ButtonVariantType>;
|
|
74
74
|
}>>, "type" | "onClick"> & {
|
|
75
|
-
type?:
|
|
75
|
+
type?: ButtonProps["type"] | "borderLink";
|
|
76
76
|
borderLinkColor?: string;
|
|
77
77
|
minWidth?: boolean | number | string;
|
|
78
78
|
lazy?: boolean | number;
|
|
@@ -394,7 +394,7 @@ declare const ApBatchActionGroup: {
|
|
|
394
394
|
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "danger" | "primary">;
|
|
395
395
|
variant: PropType<ButtonVariantType>;
|
|
396
396
|
}>>, "type" | "onClick"> & {
|
|
397
|
-
type?:
|
|
397
|
+
type?: ButtonProps["type"] | "borderLink";
|
|
398
398
|
borderLinkColor?: string;
|
|
399
399
|
minWidth?: boolean | number | string;
|
|
400
400
|
lazy?: boolean | number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { client as a } from "@aplus-frontend/oss";
|
|
2
|
-
const s = /* @__PURE__ */ new Map(), n =
|
|
2
|
+
const s = /* @__PURE__ */ new Map(), n = Symbol("ossInstance");
|
|
3
3
|
async function c(t, r) {
|
|
4
4
|
if (!t)
|
|
5
5
|
throw new Error("请传入getOssAccess");
|
|
@@ -225,7 +225,9 @@ const Ee = ["data-span", "data-index", "data-row", "data-col", "data-height", "d
|
|
|
225
225
|
},
|
|
226
226
|
getGridItems: () => JSON.parse(JSON.stringify(S.value)),
|
|
227
227
|
refreshGrid: () => {
|
|
228
|
-
(async () =>
|
|
228
|
+
(async () => {
|
|
229
|
+
await J();
|
|
230
|
+
})();
|
|
229
231
|
}
|
|
230
232
|
}), (e, a) => (R(), ge(D(ye), { spinning: G.value }, {
|
|
231
233
|
default: me(() => [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApExpandAlertProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
3
3
|
declare const _default: <T extends Record<string, 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<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly onClose?: ((args_0: MouseEvent) => any) | undefined;
|
|
@@ -24,7 +24,9 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
|
|
|
24
24
|
}): any;
|
|
25
25
|
};
|
|
26
26
|
emit: ((evt: "close", args_0: MouseEvent) => void) & ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
27
|
-
}>) => VNode
|
|
27
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}> & {
|
|
28
30
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
29
31
|
};
|
|
30
32
|
export default _default;
|
|
@@ -4,7 +4,7 @@ const o = (r) => {
|
|
|
4
4
|
if (typeof e == "string") return;
|
|
5
5
|
const n = Array.isArray(e) ? e : null;
|
|
6
6
|
if (n)
|
|
7
|
-
return n.filter((t) => !["string", "number", "boolean"].includes(typeof t)).filter((t) => t && typeof t == "object" && "type" in t ? t.type !=
|
|
7
|
+
return n.filter((t) => !["string", "number", "boolean"].includes(typeof t)).filter((t) => t && typeof t == "object" && "type" in t ? t.type != Symbol.for("v-cmt") : !1);
|
|
8
8
|
}, l = (r) => {
|
|
9
9
|
if (r) {
|
|
10
10
|
if (r.length > 1)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApSelectItem } from './interface';
|
|
2
|
-
import { PublicProps, ShallowUnwrapRef, VNode, Plugin } from 'vue';
|
|
2
|
+
import { PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement, Plugin } from 'vue';
|
|
3
3
|
export * from './interface';
|
|
4
4
|
declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
5
5
|
attrs: any;
|
|
@@ -38,7 +38,9 @@ declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable
|
|
|
38
38
|
(event: "afterEnter", el: Element): void;
|
|
39
39
|
(event: "afterLeave", el: Element): void;
|
|
40
40
|
};
|
|
41
|
-
}>) => VNode
|
|
41
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
}> & {
|
|
42
44
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
43
45
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
44
46
|
$props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApSelectItem, ApSelectLayoutProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
3
3
|
declare const _default: <T extends ApSelectItem>(__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<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly onOnSelect?: ((value: T) => any) | undefined;
|
|
@@ -19,7 +19,9 @@ declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaite
|
|
|
19
19
|
(event: "afterEnter", el: Element): void;
|
|
20
20
|
(event: "afterLeave", el: Element): void;
|
|
21
21
|
};
|
|
22
|
-
}>) => VNode
|
|
22
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}> & {
|
|
23
25
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
24
26
|
};
|
|
25
27
|
export default _default;
|