@aplus-frontend/ui 0.5.10 → 0.5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/src/ap-field/select/index.vue.d.ts +12 -12
- package/es/src/ap-modal/index.d.ts +9 -2
- package/es/src/ap-modal/index.mjs +23 -8
- package/es/src/ap-modal/interface.d.ts +2 -1
- package/es/src/ap-modal/utils/createModal.mjs +43 -40
- package/es/src/ap-modal/utils/index.d.ts +1 -0
- package/es/src/ap-modal/utils/index.mjs +6 -4
- package/es/src/ap-modal/utils/methods.d.ts +3 -0
- package/es/src/ap-modal/utils/methods.mjs +34 -0
- package/es/src/ap-modal/utils/util.d.ts +1 -0
- package/es/src/ap-modal/utils/util.mjs +4 -0
- package/es/src/ap-table/constants.d.ts +6 -6
- package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/es/src/business/ap-group-search/index.d.ts +18 -18
- package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +6 -6
- package/es/src/utils/config-provider-preset.mjs +21 -17
- package/es/src/utils/index.d.ts +1 -0
- package/es/src/utils/index.mjs +25 -21
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/es/src/work-order-modal/work-order-modal.vue.mjs +27 -27
- package/lib/src/ap-field/select/index.vue.d.ts +12 -12
- package/lib/src/ap-modal/index.d.ts +9 -2
- package/lib/src/ap-modal/index.js +1 -1
- package/lib/src/ap-modal/interface.d.ts +2 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-modal/utils/index.d.ts +1 -0
- package/lib/src/ap-modal/utils/index.js +1 -1
- package/lib/src/ap-modal/utils/methods.d.ts +3 -0
- package/lib/src/ap-modal/utils/methods.js +1 -0
- package/lib/src/ap-modal/utils/util.d.ts +1 -0
- package/lib/src/ap-modal/utils/util.js +1 -0
- package/lib/src/ap-table/constants.d.ts +6 -6
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-group-search/index.d.ts +18 -18
- package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +6 -6
- package/lib/src/utils/config-provider-preset.js +1 -1
- package/lib/src/utils/index.d.ts +1 -0
- package/lib/src/utils/index.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
- package/package.json +1 -1
- package/theme/ap-tag/ap-tag.css +6 -6
- package/theme/ap-tag/ap-tag.less +1 -2
- package/theme/index.css +6 -6
|
@@ -61,8 +61,8 @@ declare function __VLS_template(): {
|
|
|
61
61
|
popupClassName: StringConstructor;
|
|
62
62
|
dropdownClassName: StringConstructor;
|
|
63
63
|
placement: {
|
|
64
|
-
type: PropType<"
|
|
65
|
-
default: "
|
|
64
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
65
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
66
66
|
};
|
|
67
67
|
status: {
|
|
68
68
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -208,7 +208,7 @@ declare function __VLS_template(): {
|
|
|
208
208
|
status: "" | "error" | "warning";
|
|
209
209
|
defaultValue: SelectValue;
|
|
210
210
|
'onUpdate:value': (val: SelectValue) => void;
|
|
211
|
-
placement: "
|
|
211
|
+
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
212
212
|
loading: boolean;
|
|
213
213
|
bordered: boolean;
|
|
214
214
|
allowClear: boolean;
|
|
@@ -272,8 +272,8 @@ declare function __VLS_template(): {
|
|
|
272
272
|
popupClassName: StringConstructor;
|
|
273
273
|
dropdownClassName: StringConstructor;
|
|
274
274
|
placement: {
|
|
275
|
-
type: PropType<"
|
|
276
|
-
default: "
|
|
275
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
276
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
277
277
|
};
|
|
278
278
|
status: {
|
|
279
279
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -419,7 +419,7 @@ declare function __VLS_template(): {
|
|
|
419
419
|
status: "" | "error" | "warning";
|
|
420
420
|
defaultValue: SelectValue;
|
|
421
421
|
'onUpdate:value': (val: SelectValue) => void;
|
|
422
|
-
placement: "
|
|
422
|
+
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
423
423
|
loading: boolean;
|
|
424
424
|
bordered: boolean;
|
|
425
425
|
allowClear: boolean;
|
|
@@ -497,8 +497,8 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
497
497
|
popupClassName: StringConstructor;
|
|
498
498
|
dropdownClassName: StringConstructor;
|
|
499
499
|
placement: {
|
|
500
|
-
type: PropType<"
|
|
501
|
-
default: "
|
|
500
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
501
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
502
502
|
};
|
|
503
503
|
status: {
|
|
504
504
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -644,7 +644,7 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
644
644
|
status: "" | "error" | "warning";
|
|
645
645
|
defaultValue: SelectValue;
|
|
646
646
|
'onUpdate:value': (val: SelectValue) => void;
|
|
647
|
-
placement: "
|
|
647
|
+
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
648
648
|
loading: boolean;
|
|
649
649
|
bordered: boolean;
|
|
650
650
|
allowClear: boolean;
|
|
@@ -708,8 +708,8 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
708
708
|
popupClassName: StringConstructor;
|
|
709
709
|
dropdownClassName: StringConstructor;
|
|
710
710
|
placement: {
|
|
711
|
-
type: PropType<"
|
|
712
|
-
default: "
|
|
711
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
712
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
713
713
|
};
|
|
714
714
|
status: {
|
|
715
715
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -855,7 +855,7 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
855
855
|
status: "" | "error" | "warning";
|
|
856
856
|
defaultValue: SelectValue;
|
|
857
857
|
'onUpdate:value': (val: SelectValue) => void;
|
|
858
|
-
placement: "
|
|
858
|
+
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
859
859
|
loading: boolean;
|
|
860
860
|
bordered: boolean;
|
|
861
861
|
allowClear: boolean;
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { Modal as _Modal } from '@aplus-frontend/antdv';
|
|
2
|
-
import {
|
|
2
|
+
import { ModalFunc } from '@aplus-frontend/antdv/es/modal/confirm';
|
|
3
|
+
import { ApModalType, CreateModalFunc, CreateModalStreamFunc } from './interface';
|
|
3
4
|
export * from './interface';
|
|
4
|
-
type ApModalMixedProps = typeof _Modal & {
|
|
5
|
+
type ApModalMixedProps = Omit<typeof _Modal, ApModalType | 'warn'> & {
|
|
5
6
|
createModal: CreateModalFunc;
|
|
6
7
|
createModalStream: CreateModalStreamFunc;
|
|
8
|
+
confirm: ModalFunc;
|
|
9
|
+
warning: ModalFunc;
|
|
10
|
+
warn: ModalFunc;
|
|
11
|
+
error: ModalFunc;
|
|
12
|
+
success: ModalFunc;
|
|
13
|
+
info: ModalFunc;
|
|
7
14
|
};
|
|
8
15
|
declare const ApModal: ApModalMixedProps;
|
|
9
16
|
export { ApModal };
|
|
@@ -1,12 +1,27 @@
|
|
|
1
|
-
import { Modal as
|
|
1
|
+
import { Modal as a } from "@aplus-frontend/antdv";
|
|
2
2
|
import "./utils/index.mjs";
|
|
3
|
+
import { omit as m } from "lodash-unified";
|
|
3
4
|
import "./interface.mjs";
|
|
4
|
-
import { createModal as
|
|
5
|
-
import { createModalStream as
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
import { createModal as e } from "./utils/createModal.mjs";
|
|
6
|
+
import { createModalStream as n } from "./utils/createModalStream.mjs";
|
|
7
|
+
import { methodsFn as o } from "./utils/methods.mjs";
|
|
8
|
+
const r = m(a, [
|
|
9
|
+
"confirm",
|
|
10
|
+
"warning",
|
|
11
|
+
"warn",
|
|
12
|
+
"error",
|
|
13
|
+
"success",
|
|
14
|
+
"info"
|
|
15
|
+
]);
|
|
16
|
+
r.createModal = e;
|
|
17
|
+
r.createModalStream = n;
|
|
18
|
+
r.confirm = o("confirm");
|
|
19
|
+
r.warning = o("warning");
|
|
20
|
+
r.warn = o("warning");
|
|
21
|
+
r.error = o("error");
|
|
22
|
+
r.success = o("success");
|
|
23
|
+
r.info = o("info");
|
|
24
|
+
r.name = "ApModal";
|
|
10
25
|
export {
|
|
11
|
-
|
|
26
|
+
r as ApModal
|
|
12
27
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModalProps, ModalFuncProps } from '@aplus-frontend/antdv';
|
|
2
|
-
import { ModalFunc } from '@aplus-frontend/antdv/lib/modal/confirm';
|
|
2
|
+
import { ModalFunc, ModalStaticFunctions } from '@aplus-frontend/antdv/lib/modal/confirm';
|
|
3
3
|
export type CreateModalFuncProps<ContentRecord = any> = Omit<ModalProps, 'open' | 'onUpdate:open' | 'destroyOnClose' | 'onCancel' | 'onOk' | 'getContainer' | 'icon'> & Partial<{
|
|
4
4
|
/**
|
|
5
5
|
* 点击取消回调
|
|
@@ -139,3 +139,4 @@ export type CreateModalStreamProps<ModalType extends ModalStreamTypeKey = ModalS
|
|
|
139
139
|
props: (params: any) => Promise<ModalStreamType[ModalType]>;
|
|
140
140
|
} : never;
|
|
141
141
|
export type CreateModalStreamFunc<ModalType extends ModalStreamTypeKey = ModalStreamTypeKey> = (streamList: CreateModalStreamProps<ModalType>[], firstModalId?: string) => void;
|
|
142
|
+
export type ApModalType = keyof Omit<ModalStaticFunctions, 'warn'>;
|
|
@@ -1,38 +1,41 @@
|
|
|
1
|
-
import { render as
|
|
2
|
-
import { Modal as
|
|
3
|
-
import { ConfigProvider as
|
|
4
|
-
import { omit as
|
|
5
|
-
import { isNumeric as
|
|
1
|
+
import { render as g, defineComponent as L, createVNode as u, mergeProps as E, h as H } from "vue";
|
|
2
|
+
import { Modal as M } from "@aplus-frontend/antdv";
|
|
3
|
+
import { ConfigProvider as T, globalConfigCached as O } from "../../config-provider/config-provider.mjs";
|
|
4
|
+
import { omit as D } from "lodash-unified";
|
|
5
|
+
import { isNumeric as U } from "@aplus-frontend/utils";
|
|
6
6
|
import "../../config-provider/index.mjs";
|
|
7
|
-
import {
|
|
8
|
-
|
|
7
|
+
import { getContainerDom as w } from "./util.mjs";
|
|
8
|
+
import { getTopWindow as V } from "../../utils/index.mjs";
|
|
9
|
+
import { useNamespace as W } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
|
+
const J = (c) => {
|
|
11
|
+
var h, C;
|
|
9
12
|
let n, t;
|
|
10
13
|
const {
|
|
11
|
-
destroyOnClose:
|
|
14
|
+
destroyOnClose: d = !0,
|
|
12
15
|
wrapperOffset: r = !1
|
|
13
|
-
} =
|
|
14
|
-
b:
|
|
15
|
-
} =
|
|
16
|
-
function
|
|
16
|
+
} = c, {
|
|
17
|
+
b: m
|
|
18
|
+
} = W("ap-modal");
|
|
19
|
+
function l() {
|
|
17
20
|
n && n(!1), setTimeout(() => {
|
|
18
21
|
var e;
|
|
19
|
-
|
|
22
|
+
g(null, s), (e = s.parentElement) == null || e.removeChild(s);
|
|
20
23
|
}, 500);
|
|
21
24
|
}
|
|
22
|
-
function
|
|
25
|
+
function y() {
|
|
23
26
|
n && n(!0);
|
|
24
27
|
}
|
|
25
28
|
function f() {
|
|
26
29
|
n && n(!1);
|
|
27
30
|
}
|
|
28
|
-
function
|
|
31
|
+
function v(e) {
|
|
29
32
|
t && t(e);
|
|
30
33
|
}
|
|
31
|
-
const
|
|
34
|
+
const x = /* @__PURE__ */ L({
|
|
32
35
|
data() {
|
|
33
36
|
return {
|
|
34
|
-
open:
|
|
35
|
-
props:
|
|
37
|
+
open: d,
|
|
38
|
+
props: c
|
|
36
39
|
};
|
|
37
40
|
},
|
|
38
41
|
created() {
|
|
@@ -47,25 +50,25 @@ const z = (d) => {
|
|
|
47
50
|
},
|
|
48
51
|
methods: {
|
|
49
52
|
async handleCancel() {
|
|
50
|
-
var e, o, a,
|
|
53
|
+
var e, o, a, i, p;
|
|
51
54
|
if ((e = this.props) != null && e.onCancel) {
|
|
52
|
-
const
|
|
53
|
-
await ((
|
|
55
|
+
const N = ((i = (a = (o = this.props) == null ? void 0 : o.content) == null ? void 0 : a.component) == null ? void 0 : i.exposed) ?? void 0;
|
|
56
|
+
await ((p = this.props) == null ? void 0 : p.onCancel(N));
|
|
54
57
|
}
|
|
55
|
-
|
|
58
|
+
d ? l() : f();
|
|
56
59
|
},
|
|
57
60
|
async handleOk() {
|
|
58
|
-
var e, o, a,
|
|
61
|
+
var e, o, a, i;
|
|
59
62
|
try {
|
|
60
63
|
if (t({
|
|
61
64
|
confirmLoading: !0
|
|
62
65
|
}), (e = this.props) != null && e.onOk) {
|
|
63
|
-
const
|
|
64
|
-
await this.props.onOk(
|
|
66
|
+
const p = ((i = (a = (o = this.props) == null ? void 0 : o.content) == null ? void 0 : a.component) == null ? void 0 : i.exposed) ?? void 0;
|
|
67
|
+
await this.props.onOk(p);
|
|
65
68
|
}
|
|
66
69
|
t({
|
|
67
70
|
confirmLoading: !1
|
|
68
|
-
}),
|
|
71
|
+
}), d ? l() : f();
|
|
69
72
|
} catch {
|
|
70
73
|
t({
|
|
71
74
|
confirmLoading: !1
|
|
@@ -74,12 +77,12 @@ const z = (d) => {
|
|
|
74
77
|
}
|
|
75
78
|
},
|
|
76
79
|
render() {
|
|
77
|
-
const e =
|
|
78
|
-
return
|
|
79
|
-
default: () => [
|
|
80
|
+
const e = D(this.props, ["onCancel", "onOk", "open", "onUpdate:open", "getContainer", "icon"]);
|
|
81
|
+
return u(T, O.value, {
|
|
82
|
+
default: () => [u(M, E({
|
|
80
83
|
class: {
|
|
81
|
-
[
|
|
82
|
-
[
|
|
84
|
+
[m()]: !0,
|
|
85
|
+
[m("wrapper")]: r
|
|
83
86
|
},
|
|
84
87
|
open: this.open,
|
|
85
88
|
onCancel: this.handleCancel,
|
|
@@ -87,26 +90,26 @@ const z = (d) => {
|
|
|
87
90
|
}, e), {
|
|
88
91
|
default: () => {
|
|
89
92
|
var o;
|
|
90
|
-
return [
|
|
93
|
+
return [u("div", {
|
|
91
94
|
class: {
|
|
92
|
-
[
|
|
95
|
+
[m("body-wrapper")]: r
|
|
93
96
|
},
|
|
94
97
|
style: r === !1 ? {} : {
|
|
95
|
-
maxHeight: `${window.innerHeight - (r === !0 ? 100 :
|
|
98
|
+
maxHeight: `${window.innerHeight - (r === !0 ? 100 : U(r) ? Number(r) : 100) * 2}px`
|
|
96
99
|
}
|
|
97
100
|
}, [(o = this.props) == null ? void 0 : o.content])];
|
|
98
101
|
}
|
|
99
102
|
})]
|
|
100
103
|
});
|
|
101
104
|
}
|
|
102
|
-
}),
|
|
103
|
-
return
|
|
104
|
-
destroy:
|
|
105
|
-
update:
|
|
106
|
-
open:
|
|
105
|
+
}), k = w((C = (h = O) == null ? void 0 : h.value) == null ? void 0 : C.getPopupContainer), P = w(c.getContainer), b = k || P || V().document.body, s = document.createElement("div");
|
|
106
|
+
return b.appendChild(s), g(H(x), s), {
|
|
107
|
+
destroy: l,
|
|
108
|
+
update: v,
|
|
109
|
+
open: y,
|
|
107
110
|
close: f
|
|
108
111
|
};
|
|
109
112
|
};
|
|
110
113
|
export {
|
|
111
|
-
|
|
114
|
+
J as createModal
|
|
112
115
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { createModal as
|
|
2
|
-
import { createModalStream as
|
|
1
|
+
import { createModal as r } from "./createModal.mjs";
|
|
2
|
+
import { createModalStream as a } from "./createModalStream.mjs";
|
|
3
|
+
import { methodsFn as d } from "./methods.mjs";
|
|
3
4
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
r as createModal,
|
|
6
|
+
a as createModalStream,
|
|
7
|
+
d as methodsFn
|
|
6
8
|
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineComponent as u, createVNode as C, render as f, h as g } from "vue";
|
|
2
|
+
import { Modal as h } from "@aplus-frontend/antdv";
|
|
3
|
+
import { ConfigProvider as x, globalConfigCached as m } from "../../config-provider/config-provider.mjs";
|
|
4
|
+
import { getContainerDom as a } from "./util.mjs";
|
|
5
|
+
import { getTopWindow as v } from "../../utils/index.mjs";
|
|
6
|
+
const D = (i) => (e) => {
|
|
7
|
+
var r, d;
|
|
8
|
+
let n;
|
|
9
|
+
const l = /* @__PURE__ */ u({
|
|
10
|
+
data() {
|
|
11
|
+
const [o, t] = h.useModal();
|
|
12
|
+
return {
|
|
13
|
+
modal: o,
|
|
14
|
+
contextHolder: t
|
|
15
|
+
};
|
|
16
|
+
},
|
|
17
|
+
mounted() {
|
|
18
|
+
var o, t;
|
|
19
|
+
n = (t = (o = this.modal) == null ? void 0 : o[i]) == null ? void 0 : t.call(o, e);
|
|
20
|
+
},
|
|
21
|
+
render() {
|
|
22
|
+
return C(x, m.value, {
|
|
23
|
+
default: () => {
|
|
24
|
+
var o;
|
|
25
|
+
return [(o = this.contextHolder) == null ? void 0 : o.call(this)];
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}), c = a((d = (r = m) == null ? void 0 : r.value) == null ? void 0 : d.getPopupContainer), s = a(e.getContainer), p = c || s || v().document.body;
|
|
30
|
+
return f(g(l), p), n;
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
D as methodsFn
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getContainerDom: (params?: HTMLElement | Element | (() => HTMLElement | Element)) => Element | undefined;
|
|
@@ -2649,8 +2649,8 @@ export declare const apTableRenderItemMap: {
|
|
|
2649
2649
|
popupClassName: StringConstructor;
|
|
2650
2650
|
dropdownClassName: StringConstructor;
|
|
2651
2651
|
placement: {
|
|
2652
|
-
type: PropType<"
|
|
2653
|
-
default: "
|
|
2652
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
2653
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
2654
2654
|
};
|
|
2655
2655
|
status: {
|
|
2656
2656
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -2796,7 +2796,7 @@ export declare const apTableRenderItemMap: {
|
|
|
2796
2796
|
status: "" | "error" | "warning";
|
|
2797
2797
|
defaultValue: SelectValue;
|
|
2798
2798
|
'onUpdate:value': (val: SelectValue) => void;
|
|
2799
|
-
placement: "
|
|
2799
|
+
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
2800
2800
|
loading: boolean;
|
|
2801
2801
|
bordered: boolean;
|
|
2802
2802
|
allowClear: boolean;
|
|
@@ -2860,8 +2860,8 @@ export declare const apTableRenderItemMap: {
|
|
|
2860
2860
|
popupClassName: StringConstructor;
|
|
2861
2861
|
dropdownClassName: StringConstructor;
|
|
2862
2862
|
placement: {
|
|
2863
|
-
type: PropType<"
|
|
2864
|
-
default: "
|
|
2863
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
2864
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
2865
2865
|
};
|
|
2866
2866
|
status: {
|
|
2867
2867
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -3007,7 +3007,7 @@ export declare const apTableRenderItemMap: {
|
|
|
3007
3007
|
status: "" | "error" | "warning";
|
|
3008
3008
|
defaultValue: SelectValue;
|
|
3009
3009
|
'onUpdate:value': (val: SelectValue) => void;
|
|
3010
|
-
placement: "
|
|
3010
|
+
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
3011
3011
|
loading: boolean;
|
|
3012
3012
|
bordered: boolean;
|
|
3013
3013
|
allowClear: boolean;
|
|
@@ -264,7 +264,7 @@ declare const ApBatchActionGroup: {
|
|
|
264
264
|
};
|
|
265
265
|
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
266
266
|
transitionName: StringConstructor;
|
|
267
|
-
placement: PropType<"top" | "bottom" | "
|
|
267
|
+
placement: PropType<"top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "topCenter" | "bottomCenter">;
|
|
268
268
|
overlayClassName: StringConstructor;
|
|
269
269
|
overlayStyle: {
|
|
270
270
|
type: PropType<CSSProperties>;
|
|
@@ -565,7 +565,7 @@ declare const ApBatchActionGroup: {
|
|
|
565
565
|
};
|
|
566
566
|
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
567
567
|
transitionName: StringConstructor;
|
|
568
|
-
placement: PropType<"top" | "bottom" | "
|
|
568
|
+
placement: PropType<"top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "topCenter" | "bottomCenter">;
|
|
569
569
|
overlayClassName: StringConstructor;
|
|
570
570
|
overlayStyle: {
|
|
571
571
|
type: PropType<CSSProperties>;
|
|
@@ -863,7 +863,7 @@ declare const ApBatchActionGroup: {
|
|
|
863
863
|
};
|
|
864
864
|
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
865
865
|
transitionName: StringConstructor;
|
|
866
|
-
placement: PropType<"top" | "bottom" | "
|
|
866
|
+
placement: PropType<"top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "topCenter" | "bottomCenter">;
|
|
867
867
|
overlayClassName: StringConstructor;
|
|
868
868
|
overlayStyle: {
|
|
869
869
|
type: PropType<CSSProperties>;
|
|
@@ -87,8 +87,8 @@ declare const ApExtensionSelect: {
|
|
|
87
87
|
popupClassName: StringConstructor;
|
|
88
88
|
dropdownClassName: StringConstructor;
|
|
89
89
|
placement: {
|
|
90
|
-
type: PropType<"
|
|
91
|
-
default: "
|
|
90
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
91
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
92
92
|
};
|
|
93
93
|
status: {
|
|
94
94
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -269,8 +269,8 @@ declare const ApExtensionSelect: {
|
|
|
269
269
|
popupClassName: StringConstructor;
|
|
270
270
|
dropdownClassName: StringConstructor;
|
|
271
271
|
placement: {
|
|
272
|
-
type: PropType<"
|
|
273
|
-
default: "
|
|
272
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
273
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
274
274
|
};
|
|
275
275
|
status: {
|
|
276
276
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -444,8 +444,8 @@ declare const ApExtensionSelect: {
|
|
|
444
444
|
popupClassName: StringConstructor;
|
|
445
445
|
dropdownClassName: StringConstructor;
|
|
446
446
|
placement: {
|
|
447
|
-
type: PropType<"
|
|
448
|
-
default: "
|
|
447
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
448
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
449
449
|
};
|
|
450
450
|
status: {
|
|
451
451
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -623,8 +623,8 @@ declare const ApPopoverSelect: {
|
|
|
623
623
|
popupClassName: StringConstructor;
|
|
624
624
|
dropdownClassName: StringConstructor;
|
|
625
625
|
placement: {
|
|
626
|
-
type: PropType<"
|
|
627
|
-
default: "
|
|
626
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
627
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
628
628
|
};
|
|
629
629
|
status: {
|
|
630
630
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -799,8 +799,8 @@ declare const ApPopoverSelect: {
|
|
|
799
799
|
popupClassName: StringConstructor;
|
|
800
800
|
dropdownClassName: StringConstructor;
|
|
801
801
|
placement: {
|
|
802
|
-
type: PropType<"
|
|
803
|
-
default: "
|
|
802
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
803
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
804
804
|
};
|
|
805
805
|
status: {
|
|
806
806
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -946,7 +946,7 @@ declare const ApPopoverSelect: {
|
|
|
946
946
|
status: "" | "error" | "warning";
|
|
947
947
|
defaultValue: SelectValue;
|
|
948
948
|
'onUpdate:value': (val: SelectValue) => void;
|
|
949
|
-
placement: "
|
|
949
|
+
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
950
950
|
loading: boolean;
|
|
951
951
|
bordered: boolean;
|
|
952
952
|
allowClear: boolean;
|
|
@@ -1010,8 +1010,8 @@ declare const ApPopoverSelect: {
|
|
|
1010
1010
|
popupClassName: StringConstructor;
|
|
1011
1011
|
dropdownClassName: StringConstructor;
|
|
1012
1012
|
placement: {
|
|
1013
|
-
type: PropType<"
|
|
1014
|
-
default: "
|
|
1013
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
1014
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
1015
1015
|
};
|
|
1016
1016
|
status: {
|
|
1017
1017
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -1157,7 +1157,7 @@ declare const ApPopoverSelect: {
|
|
|
1157
1157
|
status: "" | "error" | "warning";
|
|
1158
1158
|
defaultValue: SelectValue;
|
|
1159
1159
|
'onUpdate:value': (val: SelectValue) => void;
|
|
1160
|
-
placement: "
|
|
1160
|
+
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
1161
1161
|
loading: boolean;
|
|
1162
1162
|
bordered: boolean;
|
|
1163
1163
|
allowClear: boolean;
|
|
@@ -1209,8 +1209,8 @@ declare const ApPopoverSelect: {
|
|
|
1209
1209
|
popupClassName: StringConstructor;
|
|
1210
1210
|
dropdownClassName: StringConstructor;
|
|
1211
1211
|
placement: {
|
|
1212
|
-
type: PropType<"
|
|
1213
|
-
default: "
|
|
1212
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
1213
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
1214
1214
|
};
|
|
1215
1215
|
status: {
|
|
1216
1216
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -1385,8 +1385,8 @@ declare const ApPopoverSelect: {
|
|
|
1385
1385
|
popupClassName: StringConstructor;
|
|
1386
1386
|
dropdownClassName: StringConstructor;
|
|
1387
1387
|
placement: {
|
|
1388
|
-
type: PropType<"
|
|
1389
|
-
default: "
|
|
1388
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
1389
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
1390
1390
|
};
|
|
1391
1391
|
status: {
|
|
1392
1392
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -49,8 +49,8 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
49
49
|
popupClassName: StringConstructor;
|
|
50
50
|
dropdownClassName: StringConstructor;
|
|
51
51
|
placement: {
|
|
52
|
-
type: PropType<"
|
|
53
|
-
default: "
|
|
52
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
53
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
54
54
|
};
|
|
55
55
|
status: {
|
|
56
56
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -196,7 +196,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
196
196
|
status: "" | "error" | "warning";
|
|
197
197
|
defaultValue: SelectValue;
|
|
198
198
|
'onUpdate:value': (val: SelectValue) => void;
|
|
199
|
-
placement: "
|
|
199
|
+
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
200
200
|
loading: boolean;
|
|
201
201
|
bordered: boolean;
|
|
202
202
|
allowClear: boolean;
|
|
@@ -260,8 +260,8 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
260
260
|
popupClassName: StringConstructor;
|
|
261
261
|
dropdownClassName: StringConstructor;
|
|
262
262
|
placement: {
|
|
263
|
-
type: PropType<"
|
|
264
|
-
default: "
|
|
263
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
264
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
265
265
|
};
|
|
266
266
|
status: {
|
|
267
267
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -407,7 +407,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
407
407
|
status: "" | "error" | "warning";
|
|
408
408
|
defaultValue: SelectValue;
|
|
409
409
|
'onUpdate:value': (val: SelectValue) => void;
|
|
410
|
-
placement: "
|
|
410
|
+
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
411
411
|
loading: boolean;
|
|
412
412
|
bordered: boolean;
|
|
413
413
|
allowClear: boolean;
|