@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
|
@@ -12,7 +12,7 @@ const u = (t) => (e, o) => f(e, o, r(t)), f = (t, e, o) => l(o, t, t).replace(
|
|
|
12
12
|
locale: o,
|
|
13
13
|
t: u(t)
|
|
14
14
|
};
|
|
15
|
-
}, x =
|
|
15
|
+
}, x = Symbol("localeContextKey"), K = (t) => {
|
|
16
16
|
const e = t || m(x, s());
|
|
17
17
|
return p(c(() => e?.value || i));
|
|
18
18
|
};
|
|
@@ -2,11 +2,7 @@ import { InjectionKey, Ref, ComputedRef } from 'vue';
|
|
|
2
2
|
export declare const defaultNamespace = "aplus";
|
|
3
3
|
export declare const namespaceContextKey: InjectionKey<Ref<string | undefined>>;
|
|
4
4
|
export declare const useGetDerivedNamespace: (namespaceOverrides?: Ref<string | undefined>) => ComputedRef<string>;
|
|
5
|
-
export declare const useNamespace: (
|
|
6
|
-
/**
|
|
7
|
-
* 块 一般是指组件名
|
|
8
|
-
*/
|
|
9
|
-
block: string, namespaceOverrides?: Ref<string | undefined>) => {
|
|
5
|
+
export declare const useNamespace: (block: string, namespaceOverrides?: Ref<string | undefined>) => {
|
|
10
6
|
namespace: ComputedRef<string>;
|
|
11
7
|
b: (blockSuffix?: string) => string;
|
|
12
8
|
e: (element?: string) => string;
|
|
@@ -2,7 +2,7 @@ import { getCurrentInstance as N, inject as V, ref as v, computed as y, unref as
|
|
|
2
2
|
const p = "aplus", B = "is-", c = (a, r, t, $, o) => {
|
|
3
3
|
let u = `${a}-${r}`;
|
|
4
4
|
return t && (u += `-${t}`), $ && (u += `__${$}`), o && (u += `--${o}`), u;
|
|
5
|
-
}, C =
|
|
5
|
+
}, C = Symbol("namespaceContextKey"), _ = (a) => {
|
|
6
6
|
const r = a || (N() ? V(C, v(p)) : v(p));
|
|
7
7
|
return y(() => l(r) || p);
|
|
8
8
|
}, w = (a, r) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EditableColumnType, EditableTableFormItemExpose, EditableTableFormItemProps } 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: <RecordType = 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<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType> & Partial<{}>> & PublicProps;
|
|
5
5
|
expose(exposed: ShallowUnwrapRef<EditableTableFormItemExpose>): void;
|
|
@@ -36,7 +36,9 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
|
|
|
36
36
|
}) => void;
|
|
37
37
|
};
|
|
38
38
|
emit: {};
|
|
39
|
-
}>) => VNode
|
|
39
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
}> & {
|
|
40
42
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
41
43
|
};
|
|
42
44
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Recordable } from '../type';
|
|
2
2
|
import { EditableTableProps, EditableColumnType, EditableTableExpose } 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;
|
|
@@ -39,7 +39,9 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
|
|
|
39
39
|
}) => void;
|
|
40
40
|
};
|
|
41
41
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
42
|
-
}>) => VNode
|
|
42
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
}> & {
|
|
43
45
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
44
46
|
};
|
|
45
47
|
export default _default;
|
|
@@ -83,7 +83,7 @@ function re(e, t, r, i, f) {
|
|
|
83
83
|
const n = i?.({
|
|
84
84
|
title: e.title,
|
|
85
85
|
column: e
|
|
86
|
-
}), s = n?.filter((T) => T.type !==
|
|
86
|
+
}), s = n?.filter((T) => T.type !== Symbol.for("v-cmt")) || [];
|
|
87
87
|
if (n && s.length > 0)
|
|
88
88
|
return n;
|
|
89
89
|
const d = k(e), m = w(e.title) ? {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ScrollBarDirection, InternalScrollBarProps } from '../scroll-bar';
|
|
1
|
+
import { ScrollBarDirection, InternalScrollBarProps, ColorType } from '../scroll-bar';
|
|
2
2
|
import { ScrollOptions, ScrollViewProps } from './interface';
|
|
3
3
|
import { CreateComponentPublicInstanceWithMixins, Ref, ShallowRef, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, ComputedRef } from 'vue';
|
|
4
4
|
declare function scroll(x?: number, y?: number): void;
|
|
@@ -106,8 +106,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
|
|
|
106
106
|
onScroll?: ((percent: number) => void) | undefined;
|
|
107
107
|
disabled?: boolean | undefined;
|
|
108
108
|
trackSpeed?: number | undefined;
|
|
109
|
-
barColor?:
|
|
110
|
-
trackColor?:
|
|
109
|
+
barColor?: ColorType;
|
|
110
|
+
trackColor?: ColorType;
|
|
111
111
|
trackWidth?: number | undefined;
|
|
112
112
|
showTrack?: boolean | undefined;
|
|
113
113
|
onScrollStart?: ((percent: number) => void) | undefined;
|
|
@@ -118,8 +118,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
|
|
|
118
118
|
onScroll?: ((percent: number) => void) | undefined;
|
|
119
119
|
disabled?: boolean | undefined;
|
|
120
120
|
trackSpeed?: number | undefined;
|
|
121
|
-
barColor?:
|
|
122
|
-
trackColor?:
|
|
121
|
+
barColor?: ColorType;
|
|
122
|
+
trackColor?: ColorType;
|
|
123
123
|
trackWidth?: number | undefined;
|
|
124
124
|
showTrack?: boolean | undefined;
|
|
125
125
|
onScrollStart?: ((percent: number) => void) | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
export declare const Wrapper: DefineComponent<{
|
|
3
|
-
uiMode?: "admin" | "aplus" | undefined;
|
|
4
|
-
lang?: "en" | "zh-cn" | undefined;
|
|
3
|
+
uiMode?: ("admin" | "aplus") | undefined;
|
|
4
|
+
lang?: ("en" | "zh-cn") | undefined;
|
|
5
5
|
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
6
|
-
uiMode?: "admin" | "aplus" | undefined;
|
|
7
|
-
lang?: "en" | "zh-cn" | undefined;
|
|
6
|
+
uiMode?: ("admin" | "aplus") | undefined;
|
|
7
|
+
lang?: ("en" | "zh-cn") | undefined;
|
|
8
8
|
}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
package/es/src/text/context.mjs
CHANGED
|
@@ -7,7 +7,7 @@ function r(n, u) {
|
|
|
7
7
|
type: n < u ? "ago" : "late",
|
|
8
8
|
diffFormatted: p(e)
|
|
9
9
|
};
|
|
10
|
-
return e < 60 * 1e3 ? (t.unit = "s", t.count = Math.round(e / 1e3)) : e <
|
|
10
|
+
return e < 60 * 1e3 ? (t.unit = "s", t.count = Math.round(e / 1e3)) : e < 60 * 60 * 1e3 ? (t.unit = "m", t.count = Math.round(e / (60 * 1e3))) : e < 24 * 60 * 60 * 1e3 ? (t.unit = "h", t.count = Math.round(e / (60 * 60 * 1e3))) : e < 30 * 24 * 60 * 60 * 1e3 ? (t.unit = "d", t.count = Math.round(e / (24 * 60 * 60 * 1e3))) : e < 365 * 24 * 60 * 60 * 1e3 ? (t.unit = "M", t.count = Math.round(e / (30 * 24 * 60 * 60 * 1e3))) : (t.unit = "y", t.count = Math.round(e / 365 / (24 * 60 * 60 * 1e3))), t;
|
|
11
11
|
}
|
|
12
12
|
function o(n) {
|
|
13
13
|
return m(n).valueOf();
|
package/es/src/utils/slot.mjs
CHANGED
package/es/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "7.
|
|
1
|
+
declare const _default: "7.19.0-beta.0";
|
|
2
2
|
export default _default;
|
package/es/src/version.mjs
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { Recordable } from '../../type';
|
|
2
2
|
import { EditableAgGridFormItemExpose, EditableAgGridFormItemProps } 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> & 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 { Recordable } from '../../type';
|
|
2
2
|
import { EditableAgGridExpose, EditableAgGridProps } 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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("lodash-unified"),c=require("vue"),w=i=>{const u=c.computed(()=>{const o=i.value;if(!o)return{};const{rowClassName:e,top:t,bottom:n}=o;return{pinnedTopRowData:t,pinnedBottomRowData:n,getRowClass({node:r,data:d,rowIndex:s}){if(!(!r.rowPinned||!e))return l.isFunction(e)?e(d,s,r.rowPinned):e}}});return{getRowPinnedCellClass:o=>
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("lodash-unified"),c=require("vue"),w=i=>{const u=c.computed(()=>{const o=i.value;if(!o)return{};const{rowClassName:e,top:t,bottom:n}=o;return{pinnedTopRowData:t,pinnedBottomRowData:n,getRowClass({node:r,data:d,rowIndex:s}){if(!(!r.rowPinned||!e))return l.isFunction(e)?e(d,s,r.rowPinned):e}}});return{getRowPinnedCellClass:o=>e=>{let t;const{cellClassName:n}=i.value||{};return!e.node.rowPinned||!n?t=[o(e)]:t=[o(e),l.isFunction(n)?n(e.data,e.colDef,e.node.rowPinned,e.rowIndex):n],t.flat().filter(Boolean)},rowPinnedGridConfig:u}};exports.usePinnedRow=w;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { Recordable } from '../type';
|
|
2
2
|
import { AgGridExpose, AgGridProps, AgGridSlots } 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>(__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;
|
|
@@ -7,17 +7,17 @@ export declare const useOptions: (props: ApFieldCascaderProps) => {
|
|
|
7
7
|
[x: string]: any;
|
|
8
8
|
isLeaf?: boolean | undefined;
|
|
9
9
|
loading?: boolean | undefined;
|
|
10
|
-
children?:
|
|
10
|
+
children?: any[] | undefined;
|
|
11
11
|
label?: any;
|
|
12
|
-
value?: string | number | null | undefined;
|
|
12
|
+
value?: (string | number | null) | undefined;
|
|
13
13
|
disabled?: boolean | undefined;
|
|
14
14
|
}[] | undefined, CascaderOptionType[] | {
|
|
15
15
|
[x: string]: any;
|
|
16
16
|
isLeaf?: boolean | undefined;
|
|
17
17
|
loading?: boolean | undefined;
|
|
18
|
-
children?:
|
|
18
|
+
children?: any[] | undefined;
|
|
19
19
|
label?: any;
|
|
20
|
-
value?: string | number | null | undefined;
|
|
20
|
+
value?: (string | number | null) | undefined;
|
|
21
21
|
disabled?: boolean | undefined;
|
|
22
22
|
}[] | undefined>;
|
|
23
23
|
request: (selectOptions?: DefaultOptionType[], clear?: boolean) => Promise<void>;
|
|
@@ -8,6 +8,7 @@ import { MonthCellRender } from '@aplus-frontend/antdv/es/vc-picker/panels/Month
|
|
|
8
8
|
import { FocusEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
9
9
|
import { SharedTimeProps } from '@aplus-frontend/antdv/es/vc-picker/panels/TimePanel';
|
|
10
10
|
import { PickerLocale } from '@aplus-frontend/antdv/es/date-picker/generatePicker';
|
|
11
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
11
12
|
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
12
13
|
import { DateRender } from '@aplus-frontend/antdv/es/vc-picker/panels/DatePanel/DateBody';
|
|
13
14
|
import { FieldMode } from '..';
|
|
@@ -8,6 +8,7 @@ import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
|
|
|
8
8
|
import { SharedTimeProps } from '@aplus-frontend/antdv/es/vc-picker/panels/TimePanel';
|
|
9
9
|
import { FocusEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
10
10
|
import { PickerLocale } from '@aplus-frontend/antdv/es/date-picker/generatePicker';
|
|
11
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
11
12
|
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
12
13
|
import { FieldMode } from '..';
|
|
13
14
|
import { LiteralUnion } from '../../type';
|
|
@@ -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
|
}[]>;
|
|
@@ -122,7 +122,7 @@ declare function __VLS_template(): {
|
|
|
122
122
|
handleReset: PropType<MouseEventHandler>;
|
|
123
123
|
addonBefore: VueTypeValidableDef<any>;
|
|
124
124
|
addonAfter: VueTypeValidableDef<any>;
|
|
125
|
-
prefix:
|
|
125
|
+
prefix: VueTypeValidableDef<any>;
|
|
126
126
|
suffix: VueTypeValidableDef<any>;
|
|
127
127
|
clearIcon: VueTypeValidableDef<any>;
|
|
128
128
|
allowClear: {
|
|
@@ -260,7 +260,7 @@ declare function __VLS_template(): {
|
|
|
260
260
|
handleReset: PropType<MouseEventHandler>;
|
|
261
261
|
addonBefore: VueTypeValidableDef<any>;
|
|
262
262
|
addonAfter: VueTypeValidableDef<any>;
|
|
263
|
-
prefix:
|
|
263
|
+
prefix: VueTypeValidableDef<any>;
|
|
264
264
|
suffix: VueTypeValidableDef<any>;
|
|
265
265
|
clearIcon: VueTypeValidableDef<any>;
|
|
266
266
|
allowClear: {
|
|
@@ -417,7 +417,7 @@ declare const __VLS_component: DefineComponent<ApFieldTextPasswordProps, {
|
|
|
417
417
|
handleReset: PropType<MouseEventHandler>;
|
|
418
418
|
addonBefore: VueTypeValidableDef<any>;
|
|
419
419
|
addonAfter: VueTypeValidableDef<any>;
|
|
420
|
-
prefix:
|
|
420
|
+
prefix: VueTypeValidableDef<any>;
|
|
421
421
|
suffix: VueTypeValidableDef<any>;
|
|
422
422
|
clearIcon: VueTypeValidableDef<any>;
|
|
423
423
|
allowClear: {
|
|
@@ -555,7 +555,7 @@ declare const __VLS_component: DefineComponent<ApFieldTextPasswordProps, {
|
|
|
555
555
|
handleReset: PropType<MouseEventHandler>;
|
|
556
556
|
addonBefore: VueTypeValidableDef<any>;
|
|
557
557
|
addonAfter: VueTypeValidableDef<any>;
|
|
558
|
-
prefix:
|
|
558
|
+
prefix: VueTypeValidableDef<any>;
|
|
559
559
|
suffix: VueTypeValidableDef<any>;
|
|
560
560
|
clearIcon: VueTypeValidableDef<any>;
|
|
561
561
|
allowClear: {
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
1
|
+
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, RuleObject, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
2
2
|
import { Recordable } from '../type';
|
|
3
3
|
import { ApFormProps, UpdateModelOptimizeFn, WatchFunc, ApFormInternalInstance } from './interface';
|
|
4
4
|
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
1
|
+
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/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
3
|
import { ApFormDrawerFormProps, CustomizeResizeType } from '../interface';
|
|
4
4
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
@@ -7,6 +7,7 @@ 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 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;
|
|
@@ -1089,7 +1090,7 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
1089
1090
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
1090
1091
|
readonly initialValues?: Recordable | undefined;
|
|
1091
1092
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
1092
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
1093
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
1093
1094
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
1094
1095
|
readonly autoFocusFirstInput?: boolean | undefined;
|
|
1095
1096
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -446,7 +446,7 @@ declare function __VLS_template(): {
|
|
|
446
446
|
default: string | number | ColSize;
|
|
447
447
|
};
|
|
448
448
|
xxl: {
|
|
449
|
-
type: PropType<string | number |
|
|
449
|
+
type: PropType<string | number | ColSize>;
|
|
450
450
|
default: string | number | ColSize;
|
|
451
451
|
};
|
|
452
452
|
prefixCls: StringConstructor;
|
|
@@ -548,7 +548,7 @@ declare function __VLS_template(): {
|
|
|
548
548
|
default: string | number | ColSize;
|
|
549
549
|
};
|
|
550
550
|
xxl: {
|
|
551
|
-
type: PropType<string | number |
|
|
551
|
+
type: PropType<string | number | ColSize>;
|
|
552
552
|
default: string | number | ColSize;
|
|
553
553
|
};
|
|
554
554
|
prefixCls: StringConstructor;
|
|
@@ -704,7 +704,7 @@ declare function __VLS_template(): {
|
|
|
704
704
|
default: string | number | ColSize;
|
|
705
705
|
};
|
|
706
706
|
xxl: {
|
|
707
|
-
type: PropType<string | number |
|
|
707
|
+
type: PropType<string | number | ColSize>;
|
|
708
708
|
default: string | number | ColSize;
|
|
709
709
|
};
|
|
710
710
|
prefixCls: StringConstructor;
|
|
@@ -1241,7 +1241,7 @@ declare const __VLS_component: DefineComponent<ApFormItemProps, {
|
|
|
1241
1241
|
default: string | number | ColSize;
|
|
1242
1242
|
};
|
|
1243
1243
|
xxl: {
|
|
1244
|
-
type: PropType<string | number |
|
|
1244
|
+
type: PropType<string | number | ColSize>;
|
|
1245
1245
|
default: string | number | ColSize;
|
|
1246
1246
|
};
|
|
1247
1247
|
prefixCls: StringConstructor;
|
|
@@ -1343,7 +1343,7 @@ declare const __VLS_component: DefineComponent<ApFormItemProps, {
|
|
|
1343
1343
|
default: string | number | ColSize;
|
|
1344
1344
|
};
|
|
1345
1345
|
xxl: {
|
|
1346
|
-
type: PropType<string | number |
|
|
1346
|
+
type: PropType<string | number | ColSize>;
|
|
1347
1347
|
default: string | number | ColSize;
|
|
1348
1348
|
};
|
|
1349
1349
|
prefixCls: StringConstructor;
|
|
@@ -1499,7 +1499,7 @@ declare const __VLS_component: DefineComponent<ApFormItemProps, {
|
|
|
1499
1499
|
default: string | number | ColSize;
|
|
1500
1500
|
};
|
|
1501
1501
|
xxl: {
|
|
1502
|
-
type: PropType<string | number |
|
|
1502
|
+
type: PropType<string | number | ColSize>;
|
|
1503
1503
|
default: string | number | ColSize;
|
|
1504
1504
|
};
|
|
1505
1505
|
prefixCls: StringConstructor;
|
|
@@ -11,11 +11,13 @@ 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 } 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 } from '../../../type';
|
|
17
17
|
import { ApFormatPresetType } from '../../../ap-field/date/interface';
|
|
18
|
+
import { DatePickerProps } 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
|
declare function __VLS_template(): {
|
|
21
23
|
attrs: Partial<{}>;
|
|
@@ -67,7 +69,7 @@ declare function __VLS_template(): {
|
|
|
67
69
|
readonly onSelect?: ((value: Dayjs) => void) | undefined;
|
|
68
70
|
readonly open?: boolean | undefined;
|
|
69
71
|
readonly disabled?: boolean | undefined;
|
|
70
|
-
readonly direction?: "ltr" | "rtl" | undefined;
|
|
72
|
+
readonly direction?: ("ltr" | "rtl") | undefined;
|
|
71
73
|
readonly placeholder?: string | undefined;
|
|
72
74
|
readonly id?: string | undefined;
|
|
73
75
|
readonly getPopupContainer?: ((node: HTMLElement) => HTMLElement) | undefined;
|
|
@@ -104,19 +106,19 @@ declare function __VLS_template(): {
|
|
|
104
106
|
readonly showToday?: boolean | undefined;
|
|
105
107
|
readonly showTime?: boolean | SharedTimeProps<Dayjs> | undefined;
|
|
106
108
|
readonly valueFormat?: string | undefined;
|
|
107
|
-
readonly value?: number | null | undefined;
|
|
109
|
+
readonly value?: (number | null) | undefined;
|
|
108
110
|
readonly defaultValue?: number | undefined;
|
|
109
111
|
readonly 'onUpdate:value'?: (((ts: number | null) => void) & ((...args: any[]) => any)) | undefined;
|
|
110
112
|
readonly onChange?: ((ts: number | null, dayStr: string) => void) | undefined;
|
|
111
113
|
readonly onOk?: ((ts: number | null) => void) | undefined;
|
|
112
114
|
readonly format?: LiteralUnion<ApFormatPresetType, string> | undefined;
|
|
113
|
-
readonly shownFormat?:
|
|
115
|
+
readonly shownFormat?: DatePickerProps["format"];
|
|
114
116
|
readonly formatBegins?: boolean | undefined;
|
|
115
117
|
readonly timezone?: ( ZoneAlias | {
|
|
116
118
|
label?: string;
|
|
117
119
|
value: ZoneAlias;
|
|
118
120
|
}[]) | undefined;
|
|
119
|
-
readonly disabledTime?:
|
|
121
|
+
readonly disabledTime?: SharedTimeProps<Dayjs>["disabledTime"];
|
|
120
122
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
121
123
|
$attrs: {
|
|
122
124
|
[x: string]: unknown;
|
|
@@ -820,7 +822,7 @@ declare const __VLS_component: DefineComponent<ApFormItemDateProps, {
|
|
|
820
822
|
readonly onSelect?: ((value: Dayjs) => void) | undefined;
|
|
821
823
|
readonly open?: boolean | undefined;
|
|
822
824
|
readonly disabled?: boolean | undefined;
|
|
823
|
-
readonly direction?: "ltr" | "rtl" | undefined;
|
|
825
|
+
readonly direction?: ("ltr" | "rtl") | undefined;
|
|
824
826
|
readonly placeholder?: string | undefined;
|
|
825
827
|
readonly id?: string | undefined;
|
|
826
828
|
readonly getPopupContainer?: ((node: HTMLElement) => HTMLElement) | undefined;
|
|
@@ -857,19 +859,19 @@ declare const __VLS_component: DefineComponent<ApFormItemDateProps, {
|
|
|
857
859
|
readonly showToday?: boolean | undefined;
|
|
858
860
|
readonly showTime?: boolean | SharedTimeProps<Dayjs> | undefined;
|
|
859
861
|
readonly valueFormat?: string | undefined;
|
|
860
|
-
readonly value?: number | null | undefined;
|
|
862
|
+
readonly value?: (number | null) | undefined;
|
|
861
863
|
readonly defaultValue?: number | undefined;
|
|
862
864
|
readonly 'onUpdate:value'?: (((ts: number | null) => void) & ((...args: any[]) => any)) | undefined;
|
|
863
865
|
readonly onChange?: ((ts: number | null, dayStr: string) => void) | undefined;
|
|
864
866
|
readonly onOk?: ((ts: number | null) => void) | undefined;
|
|
865
867
|
readonly format?: LiteralUnion<ApFormatPresetType, string> | undefined;
|
|
866
|
-
readonly shownFormat?:
|
|
868
|
+
readonly shownFormat?: DatePickerProps["format"];
|
|
867
869
|
readonly formatBegins?: boolean | undefined;
|
|
868
870
|
readonly timezone?: ( ZoneAlias | {
|
|
869
871
|
label?: string;
|
|
870
872
|
value: ZoneAlias;
|
|
871
873
|
}[]) | undefined;
|
|
872
|
-
readonly disabledTime?:
|
|
874
|
+
readonly disabledTime?: SharedTimeProps<Dayjs>["disabledTime"];
|
|
873
875
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
874
876
|
$attrs: {
|
|
875
877
|
[x: string]: unknown;
|