@aplus-frontend/ui 0.5.9 → 0.5.11

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.
Files changed (42) hide show
  1. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +70 -54
  2. package/es/src/ap-descriptions/formatter/index.d.ts +2 -1
  3. package/es/src/ap-descriptions/formatter/index.mjs +92 -76
  4. package/es/src/ap-descriptions/helper.d.ts +3 -4
  5. package/es/src/ap-descriptions/helper.mjs +15 -13
  6. package/es/src/ap-descriptions/interface.d.ts +6 -0
  7. package/es/src/ap-field/select/index.vue.d.ts +12 -12
  8. package/es/src/ap-grid/utils/col.mjs +32 -31
  9. package/es/src/ap-table/ap-table.vue2.mjs +49 -45
  10. package/es/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -0
  11. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +33 -33
  12. package/es/src/ap-table/constants.d.ts +6 -6
  13. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  14. package/es/src/business/ap-group-search/index.d.ts +18 -18
  15. package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +6 -6
  16. package/es/src/business/hooks/usePageListApGrid.mjs +9 -10
  17. package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  18. package/es/src/work-order-modal/work-order-modal.vue.mjs +27 -27
  19. package/lib/src/ap-descriptions/ap-descriptions.vue.js +1 -1
  20. package/lib/src/ap-descriptions/formatter/index.d.ts +2 -1
  21. package/lib/src/ap-descriptions/formatter/index.js +1 -1
  22. package/lib/src/ap-descriptions/helper.d.ts +3 -4
  23. package/lib/src/ap-descriptions/helper.js +1 -1
  24. package/lib/src/ap-descriptions/interface.d.ts +6 -0
  25. package/lib/src/ap-field/select/index.vue.d.ts +12 -12
  26. package/lib/src/ap-grid/utils/col.js +1 -1
  27. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  28. package/lib/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -0
  29. package/lib/src/ap-table/components/paragraph-ellipsis/index.vue2.js +1 -1
  30. package/lib/src/ap-table/constants.d.ts +6 -6
  31. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  32. package/lib/src/business/ap-group-search/index.d.ts +18 -18
  33. package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +6 -6
  34. package/lib/src/business/hooks/usePageListApGrid.js +1 -1
  35. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  36. package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
  37. package/package.json +5 -5
  38. package/theme/ap-descriptions/ap-descriptions.css +10 -0
  39. package/theme/ap-descriptions/ap-descriptions.less +13 -0
  40. package/theme/ap-tag/ap-tag.css +6 -6
  41. package/theme/ap-tag/ap-tag.less +1 -2
  42. package/theme/index.css +16 -6
@@ -1,13 +1,13 @@
1
- import { defineComponent as N, createElementBlock as n, openBlock as l, normalizeStyle as h, normalizeClass as T, unref as r, createVNode as B, mergeProps as _, withCtx as f, Fragment as a, renderList as w, createBlock as i, h as c, renderSlot as E, resolveDynamicComponent as M } from "vue";
2
- import { Descriptions as V, DescriptionsItem as m } from "@aplus-frontend/antdv";
3
- import { mixinsAttachmentExtraProps as j, transformValue as x, isEmptyWithType as z } from "./helper.mjs";
4
- import { get as b } from "lodash-unified";
1
+ import { defineComponent as T, createElementBlock as i, openBlock as l, normalizeStyle as _, normalizeClass as d, unref as o, createVNode as w, mergeProps as E, withCtx as b, Fragment as p, renderList as M, createBlock as c, createCommentVNode as j, h as u, renderSlot as x, resolveDynamicComponent as z } from "vue";
2
+ import { Descriptions as A, DescriptionsItem as m } from "@aplus-frontend/antdv";
3
+ import { mixinsAttachmentExtraProps as F, transformValue as G, isEmptyWithType as L } from "./helper.mjs";
4
+ import { get as S } from "lodash-unified";
5
5
  import "./help-message/index.vue.mjs";
6
6
  import "../config-provider/index.mjs";
7
- import { useGlobalConfig as u } from "../config-provider/hooks/use-global-config.mjs";
8
- import { useNamespace as A } from "../config-provider/hooks/use-namespace.mjs";
9
- import F from "./help-message/index.vue2.mjs";
10
- const G = { key: 0 }, K = /* @__PURE__ */ N({
7
+ import { useGlobalConfig as f } from "../config-provider/hooks/use-global-config.mjs";
8
+ import { useNamespace as R } from "../config-provider/hooks/use-namespace.mjs";
9
+ import $ from "./help-message/index.vue2.mjs";
10
+ const I = { key: 0 }, Y = /* @__PURE__ */ T({
11
11
  __name: "ap-descriptions",
12
12
  props: {
13
13
  descriptionsProps: {},
@@ -17,69 +17,85 @@ const G = { key: 0 }, K = /* @__PURE__ */ N({
17
17
  className: {}
18
18
  },
19
19
  setup(g) {
20
- const p = g, S = u("uiMode", "admin"), C = u("apDescriptions"), k = u("downloadCenterTriggerConfig"), { m: v, b: P } = A("ap-descriptions"), D = (t = {}) => {
21
- var o;
20
+ const n = g, v = f("uiMode", "admin"), C = f("apDescriptions"), k = f("downloadCenterTriggerConfig"), { m: P, b: N, be: D } = R("ap-descriptions"), V = (e = {}) => {
21
+ var r;
22
22
  let s = "";
23
- return ((o = p.descriptionsProps) == null ? void 0 : o.layout) === "vertical" && (s = "start"), {
23
+ return ((r = n.descriptionsProps) == null ? void 0 : r.layout) === "vertical" && (s = "start"), {
24
24
  justifyContent: s,
25
- ...t
25
+ ...e
26
26
  };
27
- }, y = (t) => {
28
- var o, e;
29
- const s = b(p.dataSource, t.field);
30
- return t.customRender ? t.customRender(p.dataSource) : (t.valueType === "attachment" && (t.extraProps = j(t.extraProps, {
31
- fromConfig: (o = C.value) == null ? void 0 : o.downloadFile,
32
- fromGlobal: (e = k.value) == null ? void 0 : e.trigger
33
- })), x({ value: s, record: p.dataSource }, t));
27
+ }, y = (e) => {
28
+ var t, a;
29
+ const s = S(n.dataSource, e.field);
30
+ if (e.customRender)
31
+ return e.customRender(n.dataSource);
32
+ e.valueType === "attachment" && (e.extraProps = F(e.extraProps, {
33
+ fromConfig: (t = C.value) == null ? void 0 : t.downloadFile,
34
+ fromGlobal: (a = k.value) == null ? void 0 : a.trigger
35
+ }));
36
+ const r = e.format ? e.format(s, n.dataSource || {}) : s;
37
+ return G({ value: r, record: n.dataSource }, e);
38
+ }, B = (e) => {
39
+ if (e.visible != null) {
40
+ if (typeof e.visible == "boolean")
41
+ return e.visible;
42
+ if (typeof e.visible == "function")
43
+ return e.visible({
44
+ record: n.dataSource || {},
45
+ schema: e
46
+ });
47
+ }
48
+ return !0;
34
49
  };
35
- return (t, s) => {
36
- var o;
37
- return l(), n("div", {
38
- class: T([t.className, r(P)(), r(v)(r(S))]),
39
- style: h(t.style)
50
+ return (e, s) => {
51
+ var r;
52
+ return l(), i("div", {
53
+ class: d([e.className, o(N)(), o(P)(o(v))]),
54
+ style: _(e.style)
40
55
  }, [
41
- B(r(V), _(t.descriptionsProps, {
42
- "label-style": D({ ...((o = t.descriptionsProps) == null ? void 0 : o.labelStyle) || {} })
56
+ w(o(A), E(e.descriptionsProps, {
57
+ "label-style": V({ ...((r = e.descriptionsProps) == null ? void 0 : r.labelStyle) || {} })
43
58
  }), {
44
- default: f(() => [
45
- (l(!0), n(a, null, w(t.schemas, (e, d) => (l(), n(a, {
46
- key: e.field || "empty" + d
59
+ default: b(() => [
60
+ (l(!0), i(p, null, M(e.schemas, (t, a) => (l(), i(p, {
61
+ key: t.field || "empty" + a
47
62
  }, [
48
- e.valueType === "empty" ? (l(), i(r(m), {
63
+ t.valueType === "empty" ? (l(), c(o(m), {
49
64
  key: 0,
50
- "content-style": e.contentStyle,
51
- "label-style": e.labelStyle,
52
- span: e.span
53
- }, null, 8, ["content-style", "label-style", "span"])) : (l(), i(r(m), {
65
+ "content-style": t.contentStyle,
66
+ "label-style": t.labelStyle,
67
+ span: t.span
68
+ }, null, 8, ["content-style", "label-style", "span"])) : B(t) ? (l(), c(o(m), {
54
69
  key: 1,
55
- label: e.label ? c(a, [
56
- c(F, {
57
- helpMessage: e.helpMessage,
58
- label: e.label
70
+ class: d(o(D)("item", "ellipsis")),
71
+ label: t.label ? u(p, [
72
+ u($, {
73
+ helpMessage: t.helpMessage,
74
+ label: t.label
59
75
  })
60
76
  ]) : null,
61
- span: e.span,
62
- "content-style": e.contentStyle,
63
- "label-style": e.labelStyle
77
+ span: t.span,
78
+ "content-style": t.contentStyle,
79
+ "label-style": t.labelStyle
64
80
  }, {
65
- default: f(() => [
66
- r(z)(r(b)(t.dataSource, e.field), e.valueType) ? (l(), n("span", G, "--")) : (l(), n(a, { key: 1 }, [
67
- e.contentSlotName ? E(t.$slots, e.contentSlotName, {
81
+ default: b(() => [
82
+ o(L)(o(S)(e.dataSource, t.field), t) ? (l(), i("span", I, "--")) : (l(), i(p, { key: 1 }, [
83
+ t.contentSlotName ? x(e.$slots, t.contentSlotName, {
68
84
  key: 0,
69
- index: d,
70
- item: y(e),
71
- record: t.dataSource
72
- }) : (l(), i(M(
73
- c(a, [
74
- e.prefix,
75
- y(e),
76
- e.suffix
85
+ index: a,
86
+ item: y(t),
87
+ record: e.dataSource
88
+ }) : (l(), c(z(
89
+ u(p, [
90
+ t.prefix,
91
+ y(t),
92
+ t.suffix
77
93
  ])
78
94
  ), { key: 1 }))
79
95
  ], 64))
80
96
  ]),
81
97
  _: 2
82
- }, 1032, ["label", "span", "content-style", "label-style"]))
98
+ }, 1032, ["class", "label", "span", "content-style", "label-style"])) : j("", !0)
83
99
  ], 64))), 128))
84
100
  ]),
85
101
  _: 3
@@ -89,5 +105,5 @@ const G = { key: 0 }, K = /* @__PURE__ */ N({
89
105
  }
90
106
  });
91
107
  export {
92
- K as default
108
+ Y as default
93
109
  };
@@ -1,8 +1,9 @@
1
1
  import { ZoneAlias } from '@aplus-frontend/utils';
2
2
  import { FieldPath, FormatOptions } from '../interface';
3
3
  import { StyleValue } from 'vue';
4
+ import { ParagraphProps } from '@aplus-frontend/antdv/es/typography/Paragraph';
4
5
  /** 处理文本类型 */
5
- export declare function text(opt: FormatOptions): any;
6
+ export declare function text({ value }: FormatOptions, extraProps?: Omit<ParagraphProps, 'content'>): any;
6
7
  interface ArrayExtraProps {
7
8
  /** 默认值空格链接 */
8
9
  joinSymbol?: string;
@@ -1,127 +1,143 @@
1
- import { createVNode as l } from "vue";
1
+ import { createVNode as p } from "vue";
2
2
  import { getTimeFormatToZone as g } from "@aplus-frontend/utils";
3
- import { merge as p, get as f, debounce as Y } from "lodash-unified";
4
- import { formatString as h } from "./utils.mjs";
5
- import { toDecimalMark as A } from "@fruits-chain/utils";
6
- function b(t) {
7
- return t.value;
3
+ import { isBoolean as h, merge as f, get as l, debounce as Y } from "lodash-unified";
4
+ import { formatString as A } from "./utils.mjs";
5
+ import { toDecimalMark as b } from "@fruits-chain/utils";
6
+ import { TypographyParagraph as M } from "@aplus-frontend/antdv";
7
+ function S({
8
+ value: t
9
+ }, n) {
10
+ if (!n)
11
+ return t;
12
+ const r = {
13
+ ...n,
14
+ content: t,
15
+ ellipsis: n.ellipsis ? h(n.ellipsis) ? {
16
+ tooltip: t,
17
+ rows: 1
18
+ } : {
19
+ ...n.ellipsis,
20
+ tooltip: t
21
+ } : !1
22
+ };
23
+ return p(M, r, null);
8
24
  }
9
- function M({
25
+ function D({
10
26
  value: t
11
- }, r) {
12
- var n;
27
+ }, n) {
28
+ var o;
13
29
  const {
14
- joinSymbol: e
15
- } = p({
30
+ joinSymbol: r
31
+ } = f({
16
32
  joinSymbol: " "
17
- }, r);
18
- return (n = t == null ? void 0 : t.join) == null ? void 0 : n.call(t, e);
33
+ }, n);
34
+ return (o = t == null ? void 0 : t.join) == null ? void 0 : o.call(t, r);
19
35
  }
20
36
  function u({
21
37
  value: t
22
- }, r) {
38
+ }, n) {
23
39
  const {
24
- zoneAlias: e,
25
- format: n
26
- } = p({
40
+ zoneAlias: r,
41
+ format: o
42
+ } = f({
27
43
  zoneAlias: "LA",
28
44
  format: "YYYY-MM-DD HH:mm:ss"
29
- }, r);
30
- return g(t, e, n);
45
+ }, n);
46
+ return g(t, r, o);
31
47
  }
32
48
  function y({
33
49
  value: t,
34
- record: r
35
- }, e) {
50
+ record: n
51
+ }, r) {
36
52
  const {
37
- fieldList: n,
38
- templateString: o = "{0}",
39
- formatter: m
40
- } = e, s = (n == null ? void 0 : n.map((a, c) => {
41
- const i = f(r, a);
42
- return m ? m(i, c) : i;
53
+ fieldList: o,
54
+ templateString: e = "{0}",
55
+ formatter: i
56
+ } = r, s = (o == null ? void 0 : o.map((m, c) => {
57
+ const a = l(n, m);
58
+ return i ? i(a, c) : a;
43
59
  })) || [];
44
- return s.length === 0 && s.push(t), h(o, s);
60
+ return s.length === 0 && s.push(t), A(e, s);
45
61
  }
46
- function S({
62
+ function j({
47
63
  value: t,
48
- record: r
49
- }, e) {
64
+ record: n
65
+ }, r) {
50
66
  const {
51
- fieldList: n,
52
- format: o = "YYYY-MM-DD HH:mm:ss",
53
- joinSymbol: m = "~",
67
+ fieldList: o,
68
+ format: e = "YYYY-MM-DD HH:mm:ss",
69
+ joinSymbol: i = "~",
54
70
  zoneAlias: s = "LA"
55
- } = e, a = Array.isArray(o) ? o : [o, o];
71
+ } = r, m = Array.isArray(e) ? e : [e, e];
56
72
  return y({
57
73
  value: t,
58
- record: r
74
+ record: n
59
75
  }, {
60
- fieldList: n,
61
- templateString: `{0} ${m} {1}`,
62
- formatter(c, i) {
76
+ fieldList: o,
77
+ templateString: `{0} ${i} {1}`,
78
+ formatter(c, a) {
63
79
  return u({
64
80
  value: c,
65
- record: r
81
+ record: n
66
82
  }, {
67
- format: a[i],
83
+ format: m[a],
68
84
  zoneAlias: s
69
85
  });
70
86
  }
71
87
  });
72
88
  }
73
- function D({
89
+ function k({
74
90
  record: t
75
- }, r) {
91
+ }, n) {
76
92
  const {
77
- urlPath: e = "url",
78
- namePath: n = "name",
79
- style: o,
80
- downloadFile: m,
93
+ urlPath: r = "url",
94
+ namePath: o = "name",
95
+ style: e,
96
+ downloadFile: i,
81
97
  className: s
82
- } = r, a = f(t, n), c = f(t, e), i = Y(() => {
83
- m == null || m(c, a);
98
+ } = n, m = l(t, o), c = l(t, r), a = Y(() => {
99
+ i == null || i(c, m);
84
100
  }, 500);
85
- return l("span", {
86
- style: o,
101
+ return p("span", {
102
+ style: e,
87
103
  class: [s, "ap-descriptions-item-content__link "],
88
- onClick: i
89
- }, [a]);
104
+ onClick: a
105
+ }, [m]);
90
106
  }
91
- function j({
107
+ function H({
92
108
  value: t
93
- }, r) {
109
+ }, n) {
94
110
  const {
95
- style: e = {},
96
- precision: n
97
- } = r;
98
- let o = "";
111
+ style: r = {},
112
+ precision: o
113
+ } = n;
114
+ let e = "";
99
115
  try {
100
- o = A(t, n);
116
+ e = b(t, o);
101
117
  } catch {
102
- o = t;
118
+ e = t;
103
119
  }
104
- return l("span", {
105
- style: e,
120
+ return p("span", {
121
+ style: r,
106
122
  class: "ap-descriptions-item-content__number"
107
- }, [o]);
123
+ }, [e]);
108
124
  }
109
- const L = {
110
- text: b,
111
- array: M,
125
+ const N = {
126
+ text: S,
127
+ array: D,
112
128
  date: u,
113
- dateRange: S,
129
+ dateRange: j,
114
130
  template: y,
115
- number: j,
116
- attachment: D
131
+ number: H,
132
+ attachment: k
117
133
  };
118
134
  export {
119
- M as array,
120
- D as attachment,
135
+ D as array,
136
+ k as attachment,
121
137
  u as date,
122
- S as dateRange,
123
- L as formatterMap,
124
- j as number,
138
+ j as dateRange,
139
+ N as formatterMap,
140
+ H as number,
125
141
  y as template,
126
- b as text
142
+ S as text
127
143
  };
@@ -1,13 +1,12 @@
1
- import { FormatOptions, FormatterValueType, TransformOptionType } from './interface';
1
+ import { DescriptionsItemSchema, FormatOptions, TransformOptionType } from './interface';
2
2
  import { VNode, VNodeChild, StyleValue } from 'vue';
3
3
  import { AttachmentExtraProps } from './formatter';
4
4
  export declare function transformValue(data: FormatOptions, opt: TransformOptionType): VNodeChild | VNode;
5
5
  /**
6
6
  * 根据type判断是否为空
7
- * @param value
8
- * @param type 类型
7
+ * @param schema 描述
9
8
  */
10
- export declare function isEmptyWithType(value: unknown, type: FormatterValueType): boolean;
9
+ export declare function isEmptyWithType(value: unknown, schema: DescriptionsItemSchema): boolean;
11
10
  /**
12
11
  * 混入附件类型额外属性
13
12
  * @param target 原配置
@@ -1,11 +1,13 @@
1
1
  import { isEmpty as o } from "lodash-unified";
2
2
  import { formatterMap as f } from "./formatter/index.mjs";
3
- function m(r, n) {
4
- const e = f[n.valueType];
5
- return e ? e(r, n.extraProps || {}) : r.value;
3
+ function i(r, e) {
4
+ const n = f[e.valueType];
5
+ return n ? n(r, e.extraProps || {}) : r.value;
6
6
  }
7
- function a(r, n) {
8
- switch (n) {
7
+ function l(r, e) {
8
+ if (e.isShowEmptyPlaceholder === !1)
9
+ return !1;
10
+ switch (e.valueType) {
9
11
  case "text":
10
12
  case "number":
11
13
  case "dateRange":
@@ -18,17 +20,17 @@ function a(r, n) {
18
20
  return !r;
19
21
  }
20
22
  }
21
- function c(r = {}, n) {
22
- return n.fromGlobal ? {
23
+ function m(r = {}, e) {
24
+ return e.fromGlobal ? {
23
25
  ...r,
24
- downloadFile: n.fromGlobal
25
- } : !(r != null && r.downloadFile) && n.fromConfig ? {
26
+ downloadFile: e.fromGlobal
27
+ } : !(r != null && r.downloadFile) && e.fromConfig ? {
26
28
  ...r,
27
- downloadFile: n.fromConfig
29
+ downloadFile: e.fromConfig
28
30
  } : r;
29
31
  }
30
32
  export {
31
- a as isEmptyWithType,
32
- c as mixinsAttachmentExtraProps,
33
- m as transformValue
33
+ l as isEmptyWithType,
34
+ m as mixinsAttachmentExtraProps,
35
+ i as transformValue
34
36
  };
@@ -24,6 +24,12 @@ export interface ItemSchema<T extends Recordable = Recordable> {
24
24
  customRender?: (record?: T) => VNodeChild | VNode;
25
25
  contentSlotName?: string;
26
26
  helpMessage?: any;
27
+ visible?: boolean | ((config: {
28
+ record: T;
29
+ schema: DescriptionsItemSchema;
30
+ }) => boolean);
31
+ isShowEmptyPlaceholder?: boolean;
32
+ format?: (text: string, record: T) => string | number;
27
33
  }
28
34
  /** 空的类型描述类型 */
29
35
  export type EmptyItemSchema = {
@@ -61,8 +61,8 @@ declare function __VLS_template(): {
61
61
  popupClassName: StringConstructor;
62
62
  dropdownClassName: StringConstructor;
63
63
  placement: {
64
- type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
65
- default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
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: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
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<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
276
- default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
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: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
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<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
501
- default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
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: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
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<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
712
- default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
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: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
858
+ placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
859
859
  loading: boolean;
860
860
  bordered: boolean;
861
861
  allowClear: boolean;