@aplus-frontend/ui 0.6.0-beta.8 → 0.6.0-beta.9

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 (121) hide show
  1. package/es/src/ap-form/interface.d.ts +4 -0
  2. package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
  3. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +40 -36
  4. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +79 -71
  5. package/es/src/ap-form/search-form/index.vue.d.ts +6 -2
  6. package/es/src/ap-form/search-form/index.vue.mjs +76 -75
  7. package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +1 -1
  8. package/es/src/ap-table/hooks/use-table-paging-ng.mjs +1 -1
  9. package/es/src/ap-tag/ap-tag-group.vue.mjs +32 -28
  10. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +89 -70
  11. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +18 -17
  12. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +27 -25
  13. package/es/src/business/ap-label/constans.mjs +1 -1
  14. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +55 -51
  15. package/es/src/business/hooks/usePageListApGrid.mjs +1 -1
  16. package/lib/src/ap-form/interface.d.ts +4 -0
  17. package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
  18. package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
  19. package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
  20. package/lib/src/ap-form/search-form/index.vue.d.ts +6 -2
  21. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  22. package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +1 -1
  23. package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
  24. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  25. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  26. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  27. package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
  28. package/lib/src/business/ap-label/constans.js +1 -1
  29. package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
  30. package/lib/src/business/hooks/usePageListApGrid.js +1 -1
  31. package/package.json +1 -1
  32. package/theme/ap-action/item-dropdown.css +1 -1
  33. package/theme/ap-action/item.css +2 -2
  34. package/theme/ap-appendix/ap-appendix.css +3 -3
  35. package/theme/ap-appendix/ap-appendix.less +2 -2
  36. package/theme/ap-attachment/ap-attachment.css +3 -2
  37. package/theme/ap-attachment/ap-attachment.less +2 -2
  38. package/theme/ap-batch-action/ap-batch-action.css +1 -1
  39. package/theme/ap-button/ap-button.css +1 -1
  40. package/theme/ap-card/ap-card.css +1 -1
  41. package/theme/ap-descriptions/ap-descriptions.css +1 -1
  42. package/theme/ap-download/ap-download.css +1 -1
  43. package/theme/ap-expand-alert/ap-expand-alert.css +2 -2
  44. package/theme/ap-expand-alert/ap-expand-alert.less +2 -1
  45. package/theme/ap-field/checkbox.css +1 -1
  46. package/theme/ap-field/index.css +1 -1
  47. package/theme/ap-field/number.css +1 -1
  48. package/theme/ap-field/radio.css +1 -1
  49. package/theme/ap-field/text-area.css +1 -1
  50. package/theme/ap-form/ap-form-item-group.css +1 -1
  51. package/theme/ap-form/ap-form-item.css +1 -1
  52. package/theme/ap-form/drawer-form.css +1 -1
  53. package/theme/ap-form/index.css +14 -5
  54. package/theme/ap-form/item-text-group.css +1 -1
  55. package/theme/ap-form/item-text.css +1 -1
  56. package/theme/ap-form/modal-form.css +1 -1
  57. package/theme/ap-form/search-form-sorter.css +6 -5
  58. package/theme/ap-form/search-form-sorter.less +1 -0
  59. package/theme/ap-form/search-form.css +14 -5
  60. package/theme/ap-form/search-form.less +8 -0
  61. package/theme/ap-grid/editable.css +1 -1
  62. package/theme/ap-grid/index.css +15 -7
  63. package/theme/ap-grid/index.less +0 -1
  64. package/theme/ap-group-search/ap-extension-select.css +1 -1
  65. package/theme/ap-group-search/ap-group-search.css +1 -1
  66. package/theme/ap-group-search/ap-popover-select.css +1 -1
  67. package/theme/ap-image/ap-image.css +1 -1
  68. package/theme/ap-input-radio/ap-input-radio.css +1 -1
  69. package/theme/ap-label/ap-label.css +1 -1
  70. package/theme/ap-ladder/ap-ladder.css +2 -1
  71. package/theme/ap-ladder/ap-ladder.less +1 -0
  72. package/theme/ap-layout/ap-info-layout.css +1 -1
  73. package/theme/ap-list/index.css +1 -1
  74. package/theme/ap-product-info/ap-product-info.css +1 -1
  75. package/theme/ap-select-layout/ap-select-layout.css +1 -1
  76. package/theme/ap-size-input/ap-size-input.css +1 -1
  77. package/theme/ap-status/ap-status.css +2 -2
  78. package/theme/ap-status/ap-status.less +1 -1
  79. package/theme/ap-summary/index.css +1 -1
  80. package/theme/ap-table/ap-table-index.css +1 -1
  81. package/theme/ap-table/ap-table-paragraph-ellipsis.css +1 -1
  82. package/theme/ap-table/ap-table.css +16 -8
  83. package/theme/ap-table/setting/index.css +2 -3
  84. package/theme/ap-table/setting/modal.css +2 -2
  85. package/theme/ap-table/setting/select-group.css +1 -1
  86. package/theme/ap-table/setting/sortable-item-meta.css +1 -1
  87. package/theme/ap-table/setting/sortable-item.css +1 -1
  88. package/theme/ap-table/setting/sorter.css +1 -2
  89. package/theme/ap-table-modal/index.css +16 -8
  90. package/theme/ap-tag/ap-tag-group.css +3 -3
  91. package/theme/ap-tag/ap-tag-group.less +2 -3
  92. package/theme/ap-tag/ap-tag.css +4 -4
  93. package/theme/ap-tag/ap-tag.less +3 -3
  94. package/theme/ap-title/ap-title.css +6 -4
  95. package/theme/ap-title/ap-title.less +5 -3
  96. package/theme/ap-upload/index.css +6 -6
  97. package/theme/ap-upload/multiple-file.css +2 -2
  98. package/theme/ap-upload/multiple-file.less +1 -1
  99. package/theme/ap-upload/picture.css +3 -3
  100. package/theme/ap-upload/picture.less +2 -2
  101. package/theme/ap-upload/single-file.css +3 -3
  102. package/theme/ap-upload/single-file.less +2 -2
  103. package/theme/ap-upload/upload.css +1 -1
  104. package/theme/ap-upload-single/index.css +1 -1
  105. package/theme/ap-view/ap-view.css +1 -1
  106. package/theme/batch-input-group/index.css +2 -1
  107. package/theme/batch-input-group/popover-input.css +2 -1
  108. package/theme/batch-input-group/popover-input.less +1 -0
  109. package/theme/check-card/index.css +4 -4
  110. package/theme/editable-table/index.css +15 -6
  111. package/theme/full-screen/index.css +1 -1
  112. package/theme/index.css +45 -33
  113. package/theme/mask/index.css +1 -1
  114. package/theme/mixins/config.less +1 -1
  115. package/theme/mixins/mixins.css +1 -1
  116. package/theme/scroll-bar/index.css +1 -1
  117. package/theme/scroll-view/index.css +1 -1
  118. package/theme/splitter/index.css +3 -3
  119. package/theme/text/group.css +1 -1
  120. package/theme/text/index.css +2 -2
  121. package/theme/work-order-modal/index.css +1 -1
@@ -183,6 +183,10 @@ export type ApFormSearchFormPopoverSorterProps = {
183
183
  * @returns
184
184
  */
185
185
  onClickConfirm: (sortedChildren: VNode[]) => void;
186
+ /**
187
+ * 当前的children是否已经排序过了
188
+ */
189
+ sorted?: boolean;
186
190
  };
187
191
  export type ApFormSearchFormExpose = {
188
192
  apForm: ApFormExpose;
@@ -1,4 +1,133 @@
1
1
  import { ApFormSearchFormPopoverFilterProps } from '../../interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormSearchFormPopoverFilterProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
3
+ import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
4
+ import { ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
5
+ import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
6
+ import { MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
7
+ import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
8
+ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormSearchFormPopoverFilterProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
9
+ triggerBtnRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
10
+ prefixCls: StringConstructor;
11
+ type: PropType<ButtonType>;
12
+ htmlType: {
13
+ type: PropType<ButtonHTMLType>;
14
+ default: string;
15
+ };
16
+ shape: {
17
+ type: PropType<ButtonShape>;
18
+ };
19
+ size: {
20
+ type: PropType<ButtonSize>;
21
+ };
22
+ loading: {
23
+ type: PropType<boolean | {
24
+ delay?: number;
25
+ }>;
26
+ default: () => boolean | {
27
+ delay?: number;
28
+ };
29
+ };
30
+ disabled: {
31
+ type: BooleanConstructor;
32
+ default: any;
33
+ };
34
+ ghost: {
35
+ type: BooleanConstructor;
36
+ default: any;
37
+ };
38
+ block: {
39
+ type: BooleanConstructor;
40
+ default: any;
41
+ };
42
+ danger: {
43
+ type: BooleanConstructor;
44
+ default: any;
45
+ };
46
+ icon: VueTypeValidableDef<any>;
47
+ href: StringConstructor;
48
+ target: StringConstructor;
49
+ title: StringConstructor;
50
+ onClick: {
51
+ type: PropType< MouseEventHandler | MouseEventHandler[]>;
52
+ };
53
+ onMousedown: {
54
+ type: PropType< MouseEventHandler | MouseEventHandler[]>;
55
+ };
56
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
57
+ block: boolean;
58
+ disabled: boolean;
59
+ danger: boolean;
60
+ ghost: boolean;
61
+ htmlType: ButtonHTMLType;
62
+ loading: boolean | {
63
+ delay?: number;
64
+ };
65
+ }, true, {}, CustomSlotsType<{
66
+ icon: any;
67
+ default: any;
68
+ }>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
69
+ P: {};
70
+ B: {};
71
+ D: {};
72
+ C: {};
73
+ M: {};
74
+ Defaults: {};
75
+ }, Readonly< ExtractPropTypes<{
76
+ prefixCls: StringConstructor;
77
+ type: PropType<ButtonType>;
78
+ htmlType: {
79
+ type: PropType<ButtonHTMLType>;
80
+ default: string;
81
+ };
82
+ shape: {
83
+ type: PropType<ButtonShape>;
84
+ };
85
+ size: {
86
+ type: PropType<ButtonSize>;
87
+ };
88
+ loading: {
89
+ type: PropType<boolean | {
90
+ delay?: number;
91
+ }>;
92
+ default: () => boolean | {
93
+ delay?: number;
94
+ };
95
+ };
96
+ disabled: {
97
+ type: BooleanConstructor;
98
+ default: any;
99
+ };
100
+ ghost: {
101
+ type: BooleanConstructor;
102
+ default: any;
103
+ };
104
+ block: {
105
+ type: BooleanConstructor;
106
+ default: any;
107
+ };
108
+ danger: {
109
+ type: BooleanConstructor;
110
+ default: any;
111
+ };
112
+ icon: VueTypeValidableDef<any>;
113
+ href: StringConstructor;
114
+ target: StringConstructor;
115
+ title: StringConstructor;
116
+ onClick: {
117
+ type: PropType< MouseEventHandler | MouseEventHandler[]>;
118
+ };
119
+ onMousedown: {
120
+ type: PropType< MouseEventHandler | MouseEventHandler[]>;
121
+ };
122
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
123
+ block: boolean;
124
+ disabled: boolean;
125
+ danger: boolean;
126
+ ghost: boolean;
127
+ htmlType: ButtonHTMLType;
128
+ loading: boolean | {
129
+ delay?: number;
130
+ };
131
+ }> | null;
132
+ }, any>;
4
133
  export default _default;
@@ -1,10 +1,10 @@
1
- import { defineComponent as y, ref as k, createBlock as s, openBlock as l, unref as e, withCtx as o, createVNode as t, createElementVNode as d, normalizeClass as c, createElementBlock as C, Fragment as F, renderList as _, resolveDynamicComponent as b, createTextVNode as f, toDisplayString as v } from "vue";
2
- import { Popover as B, Tooltip as x, Button as u, Row as h, Col as L, Divider as N, Flex as S } from "@aplus-frontend/antdv";
3
- import { IconApFilterOutlined as w } from "@aplus-frontend/icon";
1
+ import { defineComponent as C, ref as d, createBlock as c, openBlock as i, unref as e, withCtx as o, createVNode as t, normalizeClass as s, createElementVNode as g, createElementBlock as F, Fragment as _, renderList as B, resolveDynamicComponent as x, createTextVNode as v, toDisplayString as y } from "vue";
2
+ import { Popover as h, Tooltip as L, Button as u, Row as N, Col as S, Divider as w, Flex as D } from "@aplus-frontend/antdv";
3
+ import { IconApFilterOutlined as P } from "@aplus-frontend/icon";
4
4
  import "../../../config-provider/index.mjs";
5
- import { useNamespace as D } from "../../../config-provider/hooks/use-namespace.mjs";
6
- import { useLocale as P } from "../../../config-provider/hooks/use-locale.mjs";
7
- const O = /* @__PURE__ */ y({
5
+ import { useNamespace as R } from "../../../config-provider/hooks/use-namespace.mjs";
6
+ import { useLocale as T } from "../../../config-provider/hooks/use-locale.mjs";
7
+ const U = /* @__PURE__ */ C({
8
8
  name: "ApFormSearchFormPopoverFilter",
9
9
  __name: "popover-filter",
10
10
  props: {
@@ -12,34 +12,34 @@ const O = /* @__PURE__ */ y({
12
12
  onSubmit: { type: Function },
13
13
  submitLoading: { type: Boolean }
14
14
  },
15
- setup(T) {
16
- const { e: a } = D("ap-form-search-form"), { t: i } = P(), m = k(!1);
17
- function g(n) {
18
- return n.closest(".ant-form") || document.body;
15
+ setup(V) {
16
+ const k = d(), { e: a, b: f } = R("ap-form-search-form"), { t: m } = T(), l = d(!1);
17
+ function b(r) {
18
+ return r.closest(".ant-form") || document.body;
19
19
  }
20
- return (n, p) => (l(), s(e(B), {
21
- open: m.value,
22
- "onUpdate:open": p[1] || (p[1] = (r) => m.value = r),
20
+ return (r, p) => (i(), c(e(h), {
21
+ open: l.value,
22
+ "onUpdate:open": p[1] || (p[1] = (n) => l.value = n),
23
23
  "overlay-class-name": e(a)("popover"),
24
24
  trigger: "click",
25
25
  placement: "bottom",
26
26
  mask: "",
27
27
  "mask-style": { backgroundColor: "transparent" },
28
- "get-popup-container": g
28
+ "get-popup-container": b
29
29
  }, {
30
30
  content: o(() => [
31
- d("div", {
32
- class: c([e(a)("popover-content")]),
31
+ g("div", {
32
+ class: s([e(a)("popover-content")]),
33
33
  style: { paddingBottom: "4px", width: "825px" }
34
34
  }, [
35
- t(e(h), { gutter: 16 }, {
35
+ t(e(N), { gutter: 8 }, {
36
36
  default: o(() => [
37
- (l(!0), C(F, null, _(n.config, (r) => (l(), s(e(L), {
38
- key: r.key,
37
+ (i(!0), F(_, null, B(r.config, (n) => (i(), c(e(S), {
38
+ key: n.key,
39
39
  span: 8
40
40
  }, {
41
41
  default: o(() => [
42
- (l(), s(b(r.node)))
42
+ (i(), c(x(n.node)))
43
43
  ]),
44
44
  _: 2
45
45
  }, 1024))), 128))
@@ -47,28 +47,28 @@ const O = /* @__PURE__ */ y({
47
47
  _: 1
48
48
  })
49
49
  ], 2),
50
- t(e(N), { style: { margin: "0" } }),
51
- d("div", {
52
- class: c(e(a)("popover-footer"))
50
+ t(e(w), { style: { margin: "0" } }),
51
+ g("div", {
52
+ class: s(e(a)("popover-footer"))
53
53
  }, [
54
- t(e(S), { justify: "end" }, {
54
+ t(e(D), { justify: "end" }, {
55
55
  default: o(() => [
56
56
  t(e(u), {
57
- onClick: p[0] || (p[0] = (r) => m.value = !1)
57
+ onClick: p[0] || (p[0] = (n) => l.value = !1)
58
58
  }, {
59
59
  default: o(() => [
60
- f(v(e(i)("ap.common.cancelText")), 1)
60
+ v(y(e(m)("ap.common.cancelText")), 1)
61
61
  ]),
62
62
  _: 1
63
63
  }),
64
64
  t(e(u), {
65
- class: c(e(a)("popover-footer-confirm-btn")),
65
+ class: s(e(a)("popover-footer-confirm-btn")),
66
66
  type: "primary",
67
- loading: n.submitLoading,
68
- onClick: n.onSubmit
67
+ loading: r.submitLoading,
68
+ onClick: r.onSubmit
69
69
  }, {
70
70
  default: o(() => [
71
- f(v(e(i)("ap.apForm.search.search")), 1)
71
+ v(y(e(m)("ap.apForm.search.search")), 1)
72
72
  ]),
73
73
  _: 1
74
74
  }, 8, ["class", "loading", "onClick"])
@@ -78,17 +78,21 @@ const O = /* @__PURE__ */ y({
78
78
  ], 2)
79
79
  ]),
80
80
  default: o(() => [
81
- t(e(x), {
82
- title: e(i)("ap.apForm.search.moreFilter"),
81
+ t(e(L), {
82
+ title: e(m)("ap.apForm.search.moreFilter"),
83
83
  placement: "top"
84
84
  }, {
85
85
  default: o(() => [
86
- t(e(u), null, {
86
+ t(e(u), {
87
+ ref_key: "triggerBtnRef",
88
+ ref: k,
89
+ class: s([e(f)("trigger-btn"), { [e(f)("trigger-btn-active")]: l.value }])
90
+ }, {
87
91
  icon: o(() => [
88
- t(e(w))
92
+ t(e(P), { size: 14 })
89
93
  ]),
90
94
  _: 1
91
- })
95
+ }, 8, ["class"])
92
96
  ]),
93
97
  _: 1
94
98
  }, 8, ["title"])
@@ -98,5 +102,5 @@ const O = /* @__PURE__ */ y({
98
102
  }
99
103
  });
100
104
  export {
101
- O as default
105
+ U as default
102
106
  };
@@ -1,111 +1,117 @@
1
- import { defineComponent as N, ref as y, watch as T, unref as e, createBlock as B, openBlock as S, withCtx as t, createVNode as o, createElementVNode as s, normalizeClass as r, toDisplayString as p, createTextVNode as C } from "vue";
2
- import { Popover as D, Tooltip as P, Button as v, Flex as g, Divider as V } from "@aplus-frontend/antdv";
3
- import { IconApLayoutOutlined as j } from "@aplus-frontend/icon";
1
+ import { defineComponent as S, ref as C, watch as k, unref as e, createBlock as D, openBlock as P, withCtx as a, createVNode as o, normalizeClass as r, createElementVNode as s, toDisplayString as m, createTextVNode as b } from "vue";
2
+ import { Popover as V, Tooltip as j, Button as h, Flex as _, Divider as z } from "@aplus-frontend/antdv";
3
+ import { IconApLayoutOutlined as A } from "@aplus-frontend/icon";
4
4
  import "../../../../config-provider/index.mjs";
5
- import A from "vuedraggable";
5
+ import I from "vuedraggable";
6
6
  import "./sortable-item.vue.mjs";
7
- import { getStringName as I } from "../../../item-group/helper.mjs";
8
- import { useNamespace as k } from "../../../../config-provider/hooks/use-namespace.mjs";
9
- import { useLocale as L } from "../../../../config-provider/hooks/use-locale.mjs";
10
- import R from "./sortable-item.vue2.mjs";
11
- const M = /* @__PURE__ */ N({
7
+ import { getStringName as L } from "../../../item-group/helper.mjs";
8
+ import { useNamespace as F } from "../../../../config-provider/hooks/use-namespace.mjs";
9
+ import { useLocale as R } from "../../../../config-provider/hooks/use-locale.mjs";
10
+ import $ from "./sortable-item.vue2.mjs";
11
+ const W = /* @__PURE__ */ S({
12
12
  name: "ApFormSearchFormPopoverSorter",
13
13
  __name: "index",
14
14
  props: {
15
15
  children: {},
16
- onClickConfirm: { type: Function }
16
+ onClickConfirm: { type: Function },
17
+ sorted: { type: Boolean }
17
18
  },
18
- setup(_) {
19
- const i = _, c = y(i.children);
20
- let h = [...i.children];
21
- T(
22
- () => i.children,
23
- (n) => {
24
- c.value = n, h = n;
19
+ setup(w) {
20
+ const l = w, c = C(l.children);
21
+ let v = [...l.children], g = [...l.children];
22
+ k(
23
+ () => l.children,
24
+ (t) => {
25
+ l.sorted || (c.value = t, g = t, v = t);
25
26
  }
26
27
  );
27
- const { e: m } = k("ap-form-search-form"), { b: a } = k("search-form-sorter"), { t: l } = L(), f = y(!1);
28
- function F(n) {
29
- return n.closest(".ant-form") || document.body;
28
+ const { e: f, b: y } = F("ap-form-search-form"), { b: n } = F("search-form-sorter"), { t: i } = R(), p = C(!1);
29
+ function x(t) {
30
+ return t.closest(".ant-form") || document.body;
30
31
  }
31
- function b() {
32
- f.value = !1, console.log(e(c)), i.onClickConfirm(e(c));
32
+ function B() {
33
+ p.value = !1, v = [...e(c)], l.onClickConfirm(e(c));
33
34
  }
34
- function x() {
35
- c.value = [...h];
35
+ function N() {
36
+ c.value = [...g];
36
37
  }
37
- function w(n) {
38
- return I(n.props.name);
38
+ function T(t) {
39
+ return L(t.props.name);
39
40
  }
40
- return (n, u) => (S(), B(e(D), {
41
- open: f.value,
42
- "onUpdate:open": u[1] || (u[1] = (d) => f.value = d),
43
- "overlay-class-name": e(m)("popover"),
41
+ return k(
42
+ () => p.value,
43
+ (t) => {
44
+ t && (c.value = [...v]);
45
+ }
46
+ ), (t, u) => (P(), D(e(V), {
47
+ open: p.value,
48
+ "onUpdate:open": u[1] || (u[1] = (d) => p.value = d),
49
+ "overlay-class-name": e(f)("popover"),
44
50
  trigger: "click",
45
51
  placement: "bottom",
46
52
  mask: "",
47
53
  "mask-style": { backgroundColor: "transparent" },
48
- "get-popup-container": F
54
+ "get-popup-container": x
49
55
  }, {
50
- content: t(() => [
56
+ content: a(() => [
51
57
  s("div", {
52
- class: r(e(a)("header"))
58
+ class: r(e(n)("header"))
53
59
  }, [
54
60
  s("span", {
55
- class: r(e(a)("header-title"))
56
- }, p(e(l)("ap.apForm.search.sorterTitle")), 3),
57
- o(e(g), { justify: "space-between" }, {
58
- default: t(() => [
61
+ class: r(e(n)("header-title"))
62
+ }, m(e(i)("ap.apForm.search.sorterTitle")), 3),
63
+ o(e(_), { justify: "space-between" }, {
64
+ default: a(() => [
59
65
  s("span", {
60
- class: r(e(a)("header-desc"))
61
- }, p(e(l)("ap.apForm.search.sorterDesc")), 3),
66
+ class: r(e(n)("header-desc"))
67
+ }, m(e(i)("ap.apForm.search.sorterDesc")), 3),
62
68
  s("div", {
63
- class: r(e(a)("header-action-wrapper")),
64
- onClick: x
69
+ class: r(e(n)("header-action-wrapper")),
70
+ onClick: N
65
71
  }, [
66
72
  s("span", {
67
- class: r(e(a)("header-reset-btn"))
68
- }, p(e(l)("ap.apForm.search.sorterReset")), 3)
73
+ class: r(e(n)("header-reset-btn"))
74
+ }, m(e(i)("ap.apForm.search.sorterReset")), 3)
69
75
  ], 2)
70
76
  ]),
71
77
  _: 1
72
78
  })
73
79
  ], 2),
74
80
  s("div", {
75
- class: r([e(m)("popover-content"), e(a)("content")])
81
+ class: r([e(f)("popover-content"), e(n)("content")])
76
82
  }, [
77
- o(e(A), {
83
+ o(e(I), {
78
84
  list: c.value,
79
- class: r(e(a)("sorter-wrapper")),
80
- "item-key": w
85
+ class: r(e(n)("sorter-wrapper")),
86
+ "item-key": T
81
87
  }, {
82
- item: t(({ element: d }) => [
83
- o(R, { item: d }, null, 8, ["item"])
88
+ item: a(({ element: d }) => [
89
+ o($, { item: d }, null, 8, ["item"])
84
90
  ]),
85
91
  _: 1
86
92
  }, 8, ["list", "class"])
87
93
  ], 2),
88
- o(e(V), { style: { margin: "0" } }),
94
+ o(e(z), { style: { margin: "0" } }),
89
95
  s("div", {
90
- class: r(e(m)("popover-footer"))
96
+ class: r(e(f)("popover-footer"))
91
97
  }, [
92
- o(e(g), { justify: "end" }, {
93
- default: t(() => [
94
- o(e(v), {
95
- onClick: u[0] || (u[0] = (d) => f.value = !1)
98
+ o(e(_), { justify: "end" }, {
99
+ default: a(() => [
100
+ o(e(h), {
101
+ onClick: u[0] || (u[0] = (d) => p.value = !1)
96
102
  }, {
97
- default: t(() => [
98
- C(p(e(l)("ap.common.cancelText")), 1)
103
+ default: a(() => [
104
+ b(m(e(i)("ap.common.cancelText")), 1)
99
105
  ]),
100
106
  _: 1
101
107
  }),
102
- o(e(v), {
103
- class: r(e(m)("popover-footer-confirm-btn")),
108
+ o(e(h), {
109
+ class: r(e(f)("popover-footer-confirm-btn")),
104
110
  type: "primary",
105
- onClick: b
111
+ onClick: B
106
112
  }, {
107
- default: t(() => [
108
- C(p(e(l)("ap.apForm.search.sorterConfirmBtn")), 1)
113
+ default: a(() => [
114
+ b(m(e(i)("ap.apForm.search.sorterConfirmBtn")), 1)
109
115
  ]),
110
116
  _: 1
111
117
  }, 8, ["class"])
@@ -114,18 +120,20 @@ const M = /* @__PURE__ */ N({
114
120
  })
115
121
  ], 2)
116
122
  ]),
117
- default: t(() => [
118
- o(e(P), {
119
- title: e(l)("ap.apForm.search.sorterTitle"),
123
+ default: a(() => [
124
+ o(e(j), {
125
+ title: e(i)("ap.apForm.search.sorterTitle"),
120
126
  placement: "top"
121
127
  }, {
122
- default: t(() => [
123
- o(e(v), null, {
124
- icon: t(() => [
125
- o(e(j))
128
+ default: a(() => [
129
+ o(e(h), {
130
+ class: r([e(y)("trigger-btn"), { [e(y)("trigger-btn-active")]: p.value }])
131
+ }, {
132
+ icon: a(() => [
133
+ o(e(A), { size: 14 })
126
134
  ]),
127
135
  _: 1
128
- })
136
+ }, 8, ["class"])
129
137
  ]),
130
138
  _: 1
131
139
  }, 8, ["title"])
@@ -135,5 +143,5 @@ const M = /* @__PURE__ */ N({
135
143
  }
136
144
  });
137
145
  export {
138
- M as default
146
+ W as default
139
147
  };
@@ -383,7 +383,9 @@ declare function __VLS_template(): {
383
383
  default: string | number | ColSize;
384
384
  };
385
385
  xxl: {
386
- type: PropType<string | number | ColSize>;
386
+ type: PropType<string | number | **
387
+ * extra区域展开占据的span数(占据剩余所有空间)
388
+ */).ColSize>;
387
389
  default: string | number | ColSize;
388
390
  };
389
391
  prefixCls: StringConstructor;
@@ -1218,7 +1220,9 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
1218
1220
  default: string | number | ColSize;
1219
1221
  };
1220
1222
  xxl: {
1221
- type: PropType<string | number | ColSize>;
1223
+ type: PropType<string | number | **
1224
+ * extra区域展开占据的span数(占据剩余所有空间)
1225
+ */).ColSize>;
1222
1226
  default: string | number | ColSize;
1223
1227
  };
1224
1228
  prefixCls: StringConstructor;