@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
@@ -2,7 +2,7 @@ import { defineComponent as O, ref as A, computed as s, watch as V, createElemen
2
2
  import { DownOutlined as U } from "@ant-design/icons-vue";
3
3
  import { message as H, Dropdown as J, Menu as Q, MenuItem as G } from "@aplus-frontend/antdv";
4
4
  import "../../config-provider/index.mjs";
5
- import { ApExportGroupActionType as r } from "./interface.mjs";
5
+ import { ApExportGroupActionType as i } from "./interface.mjs";
6
6
  import { usePermission as W } from "@aplus-frontend/hooks";
7
7
  import { handleExportDownload as X } from "./handleExportDownload.mjs";
8
8
  import { useInjectApTable as Y } from "../../ap-table/context.mjs";
@@ -30,10 +30,10 @@ const ge = /* @__PURE__ */ O({
30
30
  exportField: { type: [Boolean, Object], default: void 0 }
31
31
  },
32
32
  setup(K) {
33
- const { hasPermission: T } = W(), e = K, { columns: c, dataSource: f } = Y(), { b: D } = ee("ap-export-group"), { t: u } = te(), C = ae("exportField"), i = A(!1), p = A(!1), m = s(
33
+ const { hasPermission: T } = W(), e = K, { columns: c, dataSource: f } = Y(), { b: D } = ee("ap-export-group"), { t: r } = te(), C = ae("exportField"), u = A(!1), p = A(!1), m = s(
34
34
  () => {
35
35
  var t;
36
- return !!(e != null && e.disabled) || (f !== void 0 ? !((t = f == null ? void 0 : f.value) != null && t.length) : !1) || i.value;
36
+ return !!(e != null && e.disabled) || (f !== void 0 ? !((t = f == null ? void 0 : f.value) != null && t.length) : !1) || u.value;
37
37
  }
38
38
  );
39
39
  V(
@@ -45,7 +45,7 @@ const ge = /* @__PURE__ */ O({
45
45
  immediate: !0
46
46
  }
47
47
  );
48
- const R = s(() => (e == null ? void 0 : e.successMessage) === !0 ? u("ap.apExportGroup.exportSuccess") : e != null && e.successMessage ? e.successMessage : ""), b = s(() => {
48
+ const R = s(() => (e == null ? void 0 : e.successMessage) === !0 ? r("ap.apExportGroup.exportSuccess") : e != null && e.successMessage ? e.successMessage : ""), b = s(() => {
49
49
  const t = "exportFieldList", l = (e == null ? void 0 : e.exportField) ?? (C.value === "" ? !0 : C.value) ?? !1;
50
50
  return l === !0 ? {
51
51
  key: t
@@ -60,18 +60,18 @@ const ge = /* @__PURE__ */ O({
60
60
  return !(e != null && e.ifShow) && (e != null && e.auth) && (t = () => T(e.auth)), (t == null ? void 0 : t()) ?? !0;
61
61
  });
62
62
  async function I() {
63
- k.value.length > 0 ? w({ key: r.SELECT }) : w({ key: r.ALL });
63
+ k.value.length > 0 ? w({ key: i.SELECT }) : w({ key: i.ALL });
64
64
  }
65
65
  async function w({ key: t }) {
66
66
  var F, S, _;
67
67
  const { getRequestParams: l, request: o } = e || {};
68
68
  let E = {};
69
- t === r.SELECT ? E = {
69
+ t === i.SELECT ? E = {
70
70
  [(e == null ? void 0 : e.idKey) || "ids"]: k.value
71
- } : t === r.ALL && (E = (l == null ? void 0 : l()) || {});
71
+ } : t === i.ALL && (E = (l == null ? void 0 : l()) || {});
72
72
  const N = ((F = e == null ? void 0 : e.getInitialParams) == null ? void 0 : F.call(e)) || {};
73
73
  try {
74
- i.value = !0;
74
+ u.value = !0;
75
75
  let v = Object.assign(
76
76
  {
77
77
  ...E,
@@ -86,7 +86,7 @@ const ge = /* @__PURE__ */ O({
86
86
  );
87
87
  v = ((_ = e == null ? void 0 : e.beforeRequest) == null ? void 0 : _.call(e, v)) || v, await X(async () => await (o == null ? void 0 : o(v))), e != null && e.successMessage && H.success(R.value);
88
88
  } finally {
89
- i.value = !1;
89
+ u.value = !1;
90
90
  }
91
91
  }
92
92
  return (t, l) => (d(), $(q, null, [
@@ -94,11 +94,12 @@ const ge = /* @__PURE__ */ O({
94
94
  ...t.$attrs
95
95
  }, {
96
96
  disabled: m.value,
97
- loading: i.value,
97
+ loading: u.value,
98
+ "min-width": "",
98
99
  onClick: I
99
100
  }), {
100
101
  default: n(() => [
101
- x(g((e == null ? void 0 : e.text) ?? a(u)("ap.apExportGroup.export")), 1)
102
+ x(g((e == null ? void 0 : e.text) ?? a(r)("ap.apExportGroup.export")), 1)
102
103
  ]),
103
104
  _: 1
104
105
  }, 16, ["disabled", "loading"])) : M("", !0),
@@ -116,19 +117,19 @@ const ge = /* @__PURE__ */ O({
116
117
  var o;
117
118
  return [
118
119
  (d(), y(a(G), {
119
- key: a(r).SELECT,
120
+ key: a(i).SELECT,
120
121
  disabled: ((o = k.value) == null ? void 0 : o.length) === 0
121
122
  }, {
122
123
  default: n(() => [
123
- x(g(a(u)("ap.apExportGroup.exportSelected")), 1)
124
+ x(g(a(r)("ap.apExportGroup.exportSelected")), 1)
124
125
  ]),
125
126
  _: 1
126
127
  }, 8, ["disabled"])),
127
128
  (d(), y(a(G), {
128
- key: a(r).ALL
129
+ key: a(i).ALL
129
130
  }, {
130
131
  default: n(() => [
131
- x(g(a(u)("ap.apExportGroup.exportAll")), 1)
132
+ x(g(a(r)("ap.apExportGroup.exportAll")), 1)
132
133
  ]),
133
134
  _: 1
134
135
  }))
@@ -140,9 +141,9 @@ const ge = /* @__PURE__ */ O({
140
141
  default: n(() => [
141
142
  h(a(P), B({
142
143
  ...t.$attrs
143
- }, { loading: i.value }), {
144
+ }, { loading: u.value }), {
144
145
  default: n(() => [
145
- x(g((e == null ? void 0 : e.text) ?? a(u)("ap.apExportGroup.export")) + " ", 1),
146
+ x(g((e == null ? void 0 : e.text) ?? a(r)("ap.apExportGroup.export")) + " ", 1),
146
147
  h(a(U))
147
148
  ]),
148
149
  _: 1
@@ -1,9 +1,10 @@
1
- import { defineComponent as f, onMounted as g, createElementBlock as R, openBlock as V, normalizeClass as b, unref as t, createVNode as i, mergeProps as h } from "vue";
1
+ import { defineComponent as g, onMounted as R, createElementBlock as V, openBlock as h, normalizeClass as b, unref as t, createVNode as i, mergeProps as I } from "vue";
2
2
  import "../../config-provider/index.mjs";
3
- import { Form as I, InputNumber as B, RadioGroup as k } from "@aplus-frontend/antdv";
3
+ import { Form as B, InputNumber as k, RadioGroup as x } from "@aplus-frontend/antdv";
4
4
  import { omit as _ } from "lodash-unified";
5
- import { useNamespace as x } from "../../config-provider/hooks/use-namespace.mjs";
6
- const G = /* @__PURE__ */ f({
5
+ import { useLocale as y } from "../../config-provider/hooks/use-locale.mjs";
6
+ import { useNamespace as F } from "../../config-provider/hooks/use-namespace.mjs";
7
+ const S = /* @__PURE__ */ g({
7
8
  name: "ApInputRadio",
8
9
  __name: "ApInputRadio",
9
10
  props: {
@@ -31,36 +32,37 @@ const G = /* @__PURE__ */ f({
31
32
  },
32
33
  emits: ["update:value", "InputRadioChange"],
33
34
  setup(p, { emit: s }) {
34
- const d = I.useInjectFormItemContext(), e = p, { b: m, e: c } = x("ap-input-radio"), u = s, n = (a) => {
35
- let o = { ...e.value, ...a };
36
- u("update:value", o), u("InputRadioChange", o), d.onFieldChange();
37
- }, C = (a) => {
38
- n({ inputVal: a });
39
- }, v = (a) => {
40
- const o = a.target.value;
35
+ const c = B.useInjectFormItemContext(), e = p, { t: d } = y(), { b: m, e: C } = F("ap-input-radio"), u = s, n = (o) => {
36
+ let a = { ...e.value, ...o };
37
+ u("update:value", a), u("InputRadioChange", a), c.onFieldChange();
38
+ }, f = (o) => {
39
+ n({ inputVal: o });
40
+ }, v = (o) => {
41
+ const a = o.target.value;
41
42
  if (e.setRadioValCallback) {
42
- let l = e.setRadioValCallback(o);
43
- n({ inputVal: l, radioVal: o });
43
+ let l = e.setRadioValCallback(a);
44
+ n({ inputVal: l, radioVal: a });
44
45
  } else
45
- n({ radioVal: o });
46
+ n({ radioVal: a });
46
47
  };
47
- return g(() => {
48
+ return R(() => {
48
49
  if (e.setRadioValCallback) {
49
- let a = e.setRadioValCallback(e.value.radioVal);
50
- n({ inputVal: a });
50
+ let o = e.setRadioValCallback(e.value.radioVal);
51
+ n({ inputVal: o });
51
52
  }
52
- }), (a, o) => {
53
+ }), (o, a) => {
53
54
  var l, r;
54
- return V(), R("div", {
55
+ return h(), V("div", {
55
56
  class: b([t(m)()])
56
57
  }, [
57
- i(t(B), h({
58
- class: t(c)("input-number")
58
+ i(t(k), I({
59
+ class: t(C)("input-number")
59
60
  }, t(_)(e, ["value", "options"]), {
60
61
  value: e.value ? (l = e.value) == null ? void 0 : l.inputVal : "",
61
- onChange: C
62
- }), null, 16, ["class", "value"]),
63
- i(t(k), {
62
+ placeholder: t(d)("ap.common.inputText"),
63
+ onChange: f
64
+ }), null, 16, ["class", "value", "placeholder"]),
65
+ i(t(x), {
64
66
  value: e.value ? (r = e.value) == null ? void 0 : r.radioVal : "",
65
67
  options: e.options,
66
68
  onChange: v
@@ -70,5 +72,5 @@ const G = /* @__PURE__ */ f({
70
72
  }
71
73
  });
72
74
  export {
73
- G as default
75
+ S as default
74
76
  };
@@ -36,7 +36,7 @@ const o = () => ({
36
36
  },
37
37
  iconSize: {
38
38
  type: Number,
39
- default: 16
39
+ default: 14
40
40
  },
41
41
  show: {
42
42
  type: Boolean,
@@ -1,5 +1,5 @@
1
- import { defineComponent as T, ref as $, computed as I, watch as Y, createBlock as E, openBlock as K, unref as e, withCtx as t, createElementVNode as c, normalizeClass as r, createVNode as a, createSlots as j, toDisplayString as p, createTextVNode as w } from "vue";
2
- import { Popover as q, Tooltip as B, Space as x, Checkbox as D } from "@aplus-frontend/antdv";
1
+ import { defineComponent as z, ref as $, computed as I, watch as Y, createBlock as D, openBlock as E, unref as e, withCtx as t, createElementVNode as f, normalizeClass as r, createVNode as a, createSlots as K, toDisplayString as s, createTextVNode as v } from "vue";
2
+ import { Popover as j, Tooltip as q, Space as N, Checkbox as B } from "@aplus-frontend/antdv";
3
3
  import "../../../config-provider/index.mjs";
4
4
  import L from "../icons/line-eye.vue.mjs";
5
5
  import "../../../ap-form/ap-form.vue.mjs";
@@ -11,45 +11,50 @@ import { generateUniqueKey as P } from "../utils/uuid.mjs";
11
11
  import { cloneDeep as R } from "lodash-unified";
12
12
  import { useLocale as U } from "../../../config-provider/hooks/use-locale.mjs";
13
13
  import { useNamespace as G } from "../../../config-provider/hooks/use-namespace.mjs";
14
- import v from "../../../ap-form/ap-form.vue2.mjs";
15
- import N from "../../../ap-button/ap-button.vue.mjs";
16
- const pe = /* @__PURE__ */ T({
14
+ import w from "../../../ap-form/ap-form.vue2.mjs";
15
+ import F from "../../../ap-button/ap-button.vue.mjs";
16
+ const re = /* @__PURE__ */ z({
17
17
  __name: "main-button-content",
18
18
  props: {
19
19
  maxViewNum: {}
20
20
  },
21
21
  setup(b) {
22
- const u = b, { t: o } = U(), { b: l } = G("ap-view"), _ = $(), { tableKey: F, popoverOpen: s, viewList: f, saveDataSource: n, viewListCRUD: V } = A(), h = I({
23
- get: () => s.value && f.value.length < u.maxViewNum + 1,
24
- set: (m) => {
25
- f.value.length < u.maxViewNum + 1 && (s.value = m);
22
+ const d = b, { t: o } = U(), { b: l } = G("ap-view"), V = $(), { tableKey: k, popoverOpen: c, viewList: u, saveDataSource: n, viewListCRUD: _ } = A(), y = I({
23
+ get: () => c.value && u.value.length < d.maxViewNum + 1,
24
+ set: (p) => {
25
+ u.value.length < d.maxViewNum + 1 && (c.value = p);
26
26
  }
27
27
  });
28
- Y(s, (m) => {
28
+ Y(c, (p) => {
29
29
  var i;
30
- m && ((i = _.value) == null || i.resetFields());
30
+ p && ((i = V.value) == null || i.resetFields(), setTimeout(() => {
31
+ var m;
32
+ (m = V.value) == null || m.setFieldsValue({
33
+ isDefault: !u.value.some((h) => h.isDefault)
34
+ });
35
+ }));
31
36
  });
32
- const k = async (m) => {
33
- var y, g;
34
- const { viewName: i, isDefault: d } = m, C = P(), z = {
37
+ const C = async (p) => {
38
+ var g, x;
39
+ const { viewName: i, isDefault: m } = p, h = P(), T = {
35
40
  searchForm: R(
36
- (y = n == null ? void 0 : n.getSearchFormValues) == null ? void 0 : y.call(
41
+ (g = n == null ? void 0 : n.getSearchFormValues) == null ? void 0 : g.call(
37
42
  n,
38
43
  !!(n != null && n.searchFormTransform)
39
44
  )
40
45
  )
41
46
  };
42
- await ((g = V.addView) == null ? void 0 : g.call(V, {
43
- tableKey: F,
44
- viewKey: C,
47
+ await ((x = _.addView) == null ? void 0 : x.call(_, {
48
+ tableKey: k,
49
+ viewKey: h,
45
50
  viewName: i,
46
- isDefault: d,
47
- viewConfig: z
48
- })), s.value = !1;
51
+ isDefault: m,
52
+ viewConfig: T
53
+ })), c.value = !1;
49
54
  };
50
- return (m, i) => (K(), E(e(q), {
51
- open: h.value,
52
- "onUpdate:open": i[1] || (i[1] = (d) => h.value = d),
55
+ return (p, i) => (E(), D(e(j), {
56
+ open: y.value,
57
+ "onUpdate:open": i[1] || (i[1] = (m) => y.value = m),
53
58
  placement: "bottom",
54
59
  trigger: "click",
55
60
  arrow: !1,
@@ -58,34 +63,33 @@ const pe = /* @__PURE__ */ T({
58
63
  }
59
64
  }, {
60
65
  content: t(() => [
61
- c("div", {
66
+ f("div", {
62
67
  class: r([e(l)("main-content-popover")])
63
68
  }, [
64
- a(v, {
69
+ a(w, {
65
70
  ref_key: "formRef",
66
- ref: _,
71
+ ref: V,
67
72
  layout: "vertical",
68
73
  "initial-values": {
69
- isDefault: !0,
70
74
  viewName: `${e(o)("ap.apView.newView")} ${e(O)().format("YYYY-MM-DD").toString()}`
71
75
  },
72
- onFinish: k
76
+ onFinish: C
73
77
  }, {
74
78
  default: t(() => [
75
- c("div", {
79
+ f("div", {
76
80
  class: r([e(l)("main-content-popover-title-content")])
77
81
  }, [
78
- c("div", {
82
+ f("div", {
79
83
  class: r([e(l)("main-content-popover-title-content-title")])
80
- }, p(e(o)("ap.apView.saveNewView")), 3),
81
- a(v.FormItem, {
84
+ }, s(e(o)("ap.apView.saveNewView")), 3),
85
+ a(w.FormItem, {
82
86
  name: "isDefault",
83
87
  "value-prop-name": "checked"
84
88
  }, {
85
89
  default: t(() => [
86
- a(e(D), null, {
90
+ a(e(B), null, {
87
91
  default: t(() => [
88
- w(p(e(o)("ap.apView.setDefault")), 1)
92
+ v(s(e(o)("ap.apView.setDefault")), 1)
89
93
  ]),
90
94
  _: 1
91
95
  })
@@ -93,7 +97,7 @@ const pe = /* @__PURE__ */ T({
93
97
  _: 1
94
98
  })
95
99
  ], 2),
96
- a(v.FormItem, {
100
+ a(w.FormItem, {
97
101
  label: e(o)("ap.apView.viewName"),
98
102
  name: "viewName",
99
103
  rules: [{ required: !0, message: e(o)("ap.apView.notEmpty") }]
@@ -107,28 +111,28 @@ const pe = /* @__PURE__ */ T({
107
111
  ]),
108
112
  _: 1
109
113
  }, 8, ["label", "rules"]),
110
- a(v.FormItem, {
114
+ a(w.FormItem, {
111
115
  class: r([e(l)("main-content-popover-btn")])
112
116
  }, {
113
117
  default: t(() => [
114
- a(e(x), { size: 8 }, {
118
+ a(e(N), { size: 8 }, {
115
119
  default: t(() => [
116
- a(e(N), {
120
+ a(e(F), {
117
121
  size: "small",
118
- onClick: i[0] || (i[0] = (d) => s.value = !1)
122
+ onClick: i[0] || (i[0] = (m) => c.value = !1)
119
123
  }, {
120
124
  default: t(() => [
121
- w(p(e(o)("ap.apView.cancel")), 1)
125
+ v(s(e(o)("ap.apView.cancel")), 1)
122
126
  ]),
123
127
  _: 1
124
128
  }),
125
- a(e(N), {
129
+ a(e(F), {
126
130
  type: "primary",
127
131
  size: "small",
128
132
  "html-type": "submit"
129
133
  }, {
130
134
  default: t(() => [
131
- w(p(e(o)("ap.apView.save")), 1)
135
+ v(s(e(o)("ap.apView.save")), 1)
132
136
  ]),
133
137
  _: 1
134
138
  })
@@ -144,30 +148,30 @@ const pe = /* @__PURE__ */ T({
144
148
  ], 2)
145
149
  ]),
146
150
  default: t(() => [
147
- c("div", {
151
+ f("div", {
148
152
  class: r({
149
153
  [e(l)("main-content")]: !0,
150
- [e(l)("main-content-disabled")]: e(f).length >= u.maxViewNum + 1
154
+ [e(l)("main-content-disabled")]: e(u).length >= d.maxViewNum + 1
151
155
  })
152
156
  }, [
153
- a(e(B), { placement: "bottom" }, j({
157
+ a(e(q), { placement: "bottom" }, K({
154
158
  default: t(() => [
155
- a(e(x), { size: 4 }, {
159
+ a(e(N), { size: 4 }, {
156
160
  default: t(() => [
157
161
  a(L, {
158
162
  class: r([e(l)("icon")])
159
163
  }, null, 8, ["class"]),
160
- c("div", null, p(e(o)("ap.apView.saveView")), 1)
164
+ f("div", null, s(e(o)("ap.apView.saveView")), 1)
161
165
  ]),
162
166
  _: 1
163
167
  })
164
168
  ]),
165
169
  _: 2
166
170
  }, [
167
- e(f).length >= u.maxViewNum + 1 ? {
171
+ e(u).length >= d.maxViewNum + 1 ? {
168
172
  name: "title",
169
173
  fn: t(() => [
170
- w(p(e(o)("ap.apView.maxTip")), 1)
174
+ v(s(e(o)("ap.apView.maxTip")), 1)
171
175
  ]),
172
176
  key: "0"
173
177
  } : void 0
@@ -179,5 +183,5 @@ const pe = /* @__PURE__ */ T({
179
183
  }
180
184
  });
181
185
  export {
182
- pe as default
186
+ re as default
183
187
  };
@@ -45,7 +45,7 @@ function z(s) {
45
45
  } : void 0,
46
46
  rowSelection: c ? {
47
47
  fixed: "left",
48
- columnWidth: 50
48
+ columnWidth: 34
49
49
  } : void 0,
50
50
  ref(e) {
51
51
  o.value = e;
@@ -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 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("@aplus-frontend/antdv"),i=require("@aplus-frontend/icon");require("../../../config-provider/index.js");const s=require("../../../config-provider/hooks/use-namespace.js"),p=require("../../../config-provider/hooks/use-locale.js"),d=e.defineComponent({name:"ApFormSearchFormPopoverFilter",__name:"popover-filter",props:{config:{},onSubmit:{type:Function},submitLoading:{type:Boolean}},setup(f){const{e:r}=s.useNamespace("ap-form-search-form"),{t:l}=p.useLocale(),u=e.ref(!1);function c(o){return o.closest(".ant-form")||document.body}return(o,a)=>(e.openBlock(),e.createBlock(e.unref(t.Popover),{open:u.value,"onUpdate:open":a[1]||(a[1]=n=>u.value=n),"overlay-class-name":e.unref(r)("popover"),trigger:"click",placement:"bottom",mask:"","mask-style":{backgroundColor:"transparent"},"get-popup-container":c},{content:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(r)("popover-content")]),style:{paddingBottom:"4px",width:"825px"}},[e.createVNode(e.unref(t.Row),{gutter:16},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.config,n=>(e.openBlock(),e.createBlock(e.unref(t.Col),{key:n.key,span:8},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.node)))]),_:2},1024))),128))]),_:1})],2),e.createVNode(e.unref(t.Divider),{style:{margin:"0"}}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(r)("popover-footer"))},[e.createVNode(e.unref(t.Flex),{justify:"end"},{default:e.withCtx(()=>[e.createVNode(e.unref(t.Button),{onClick:a[0]||(a[0]=n=>u.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("ap.common.cancelText")),1)]),_:1}),e.createVNode(e.unref(t.Button),{class:e.normalizeClass(e.unref(r)("popover-footer-confirm-btn")),type:"primary",loading:o.submitLoading,onClick:o.onSubmit},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("ap.apForm.search.search")),1)]),_:1},8,["class","loading","onClick"])]),_:1})],2)]),default:e.withCtx(()=>[e.createVNode(e.unref(t.Tooltip),{title:e.unref(l)("ap.apForm.search.moreFilter"),placement:"top"},{default:e.withCtx(()=>[e.createVNode(e.unref(t.Button),null,{icon:e.withCtx(()=>[e.createVNode(e.unref(i.IconApFilterOutlined))]),_:1})]),_:1},8,["title"])]),_:1},8,["open","overlay-class-name"]))}});exports.default=d;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("@aplus-frontend/antdv"),p=require("@aplus-frontend/icon");require("../../../config-provider/index.js");const f=require("../../../config-provider/hooks/use-namespace.js"),d=require("../../../config-provider/hooks/use-locale.js"),m=e.defineComponent({name:"ApFormSearchFormPopoverFilter",__name:"popover-filter",props:{config:{},onSubmit:{type:Function},submitLoading:{type:Boolean}},setup(g){const u=e.ref(),{e:n,b:c}=f.useNamespace("ap-form-search-form"),{t:i}=d.useLocale(),a=e.ref(!1);function s(o){return o.closest(".ant-form")||document.body}return(o,l)=>(e.openBlock(),e.createBlock(e.unref(t.Popover),{open:a.value,"onUpdate:open":l[1]||(l[1]=r=>a.value=r),"overlay-class-name":e.unref(n)("popover"),trigger:"click",placement:"bottom",mask:"","mask-style":{backgroundColor:"transparent"},"get-popup-container":s},{content:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(n)("popover-content")]),style:{paddingBottom:"4px",width:"825px"}},[e.createVNode(e.unref(t.Row),{gutter:8},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.config,r=>(e.openBlock(),e.createBlock(e.unref(t.Col),{key:r.key,span:8},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.node)))]),_:2},1024))),128))]),_:1})],2),e.createVNode(e.unref(t.Divider),{style:{margin:"0"}}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(n)("popover-footer"))},[e.createVNode(e.unref(t.Flex),{justify:"end"},{default:e.withCtx(()=>[e.createVNode(e.unref(t.Button),{onClick:l[0]||(l[0]=r=>a.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("ap.common.cancelText")),1)]),_:1}),e.createVNode(e.unref(t.Button),{class:e.normalizeClass(e.unref(n)("popover-footer-confirm-btn")),type:"primary",loading:o.submitLoading,onClick:o.onSubmit},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("ap.apForm.search.search")),1)]),_:1},8,["class","loading","onClick"])]),_:1})],2)]),default:e.withCtx(()=>[e.createVNode(e.unref(t.Tooltip),{title:e.unref(i)("ap.apForm.search.moreFilter"),placement:"top"},{default:e.withCtx(()=>[e.createVNode(e.unref(t.Button),{ref_key:"triggerBtnRef",ref:u,class:e.normalizeClass([e.unref(c)("trigger-btn"),{[e.unref(c)("trigger-btn-active")]:a.value}])},{icon:e.withCtx(()=>[e.createVNode(e.unref(p.IconApFilterOutlined),{size:14})]),_:1},8,["class"])]),_:1},8,["title"])]),_:1},8,["open","overlay-class-name"]))}});exports.default=m;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("@aplus-frontend/antdv"),N=require("@aplus-frontend/icon");require("../../../../config-provider/index.js");const g=require("vuedraggable");require("./sortable-item.vue.js");const y=require("../../../item-group/helper.js"),f=require("../../../../config-provider/hooks/use-namespace.js"),V=require("../../../../config-provider/hooks/use-locale.js"),_=require("./sortable-item.vue2.js"),x=e.defineComponent({name:"ApFormSearchFormPopoverSorter",__name:"index",props:{children:{},onClickConfirm:{type:Function}},setup(m){const s=m,a=e.ref(s.children);let p=[...s.children];e.watch(()=>s.children,n=>{a.value=n,p=n});const{e:l}=f.useNamespace("ap-form-search-form"),{b:r}=f.useNamespace("search-form-sorter"),{t:o}=V.useLocale(),c=e.ref(!1);function d(n){return n.closest(".ant-form")||document.body}function C(){c.value=!1,console.log(e.unref(a)),s.onClickConfirm(e.unref(a))}function h(){a.value=[...p]}function v(n){return y.getStringName(n.props.name)}return(n,i)=>(e.openBlock(),e.createBlock(e.unref(t.Popover),{open:c.value,"onUpdate:open":i[1]||(i[1]=u=>c.value=u),"overlay-class-name":e.unref(l)("popover"),trigger:"click",placement:"bottom",mask:"","mask-style":{backgroundColor:"transparent"},"get-popup-container":d},{content:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(r)("header"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(r)("header-title"))},e.toDisplayString(e.unref(o)("ap.apForm.search.sorterTitle")),3),e.createVNode(e.unref(t.Flex),{justify:"space-between"},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(e.unref(r)("header-desc"))},e.toDisplayString(e.unref(o)("ap.apForm.search.sorterDesc")),3),e.createElementVNode("div",{class:e.normalizeClass(e.unref(r)("header-action-wrapper")),onClick:h},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(r)("header-reset-btn"))},e.toDisplayString(e.unref(o)("ap.apForm.search.sorterReset")),3)],2)]),_:1})],2),e.createElementVNode("div",{class:e.normalizeClass([e.unref(l)("popover-content"),e.unref(r)("content")])},[e.createVNode(e.unref(g),{list:a.value,class:e.normalizeClass(e.unref(r)("sorter-wrapper")),"item-key":v},{item:e.withCtx(({element:u})=>[e.createVNode(_.default,{item:u},null,8,["item"])]),_:1},8,["list","class"])],2),e.createVNode(e.unref(t.Divider),{style:{margin:"0"}}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(l)("popover-footer"))},[e.createVNode(e.unref(t.Flex),{justify:"end"},{default:e.withCtx(()=>[e.createVNode(e.unref(t.Button),{onClick:i[0]||(i[0]=u=>c.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("ap.common.cancelText")),1)]),_:1}),e.createVNode(e.unref(t.Button),{class:e.normalizeClass(e.unref(l)("popover-footer-confirm-btn")),type:"primary",onClick:C},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("ap.apForm.search.sorterConfirmBtn")),1)]),_:1},8,["class"])]),_:1})],2)]),default:e.withCtx(()=>[e.createVNode(e.unref(t.Tooltip),{title:e.unref(o)("ap.apForm.search.sorterTitle"),placement:"top"},{default:e.withCtx(()=>[e.createVNode(e.unref(t.Button),null,{icon:e.withCtx(()=>[e.createVNode(e.unref(N.IconApLayoutOutlined))]),_:1})]),_:1},8,["title"])]),_:1},8,["open","overlay-class-name"]))}});exports.default=x;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("@aplus-frontend/antdv"),y=require("@aplus-frontend/icon");require("../../../../config-provider/index.js");const V=require("vuedraggable");require("./sortable-item.vue.js");const _=require("../../../item-group/helper.js"),m=require("../../../../config-provider/hooks/use-namespace.js"),b=require("../../../../config-provider/hooks/use-locale.js"),w=require("./sortable-item.vue2.js"),x=e.defineComponent({name:"ApFormSearchFormPopoverSorter",__name:"index",props:{children:{},onClickConfirm:{type:Function},sorted:{type:Boolean}},setup(v){const a=v,o=e.ref(a.children);let p=[...a.children],f=[...a.children];e.watch(()=>a.children,r=>{a.sorted||(o.value=r,f=r,p=r)});const{e:c,b:d}=m.useNamespace("ap-form-search-form"),{b:n}=m.useNamespace("search-form-sorter"),{t:s}=b.useLocale(),l=e.ref(!1);function C(r){return r.closest(".ant-form")||document.body}function h(){l.value=!1,p=[...e.unref(o)],a.onClickConfirm(e.unref(o))}function g(){o.value=[...f]}function N(r){return _.getStringName(r.props.name)}return e.watch(()=>l.value,r=>{r&&(o.value=[...p])}),(r,i)=>(e.openBlock(),e.createBlock(e.unref(t.Popover),{open:l.value,"onUpdate:open":i[1]||(i[1]=u=>l.value=u),"overlay-class-name":e.unref(c)("popover"),trigger:"click",placement:"bottom",mask:"","mask-style":{backgroundColor:"transparent"},"get-popup-container":C},{content:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(n)("header"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(n)("header-title"))},e.toDisplayString(e.unref(s)("ap.apForm.search.sorterTitle")),3),e.createVNode(e.unref(t.Flex),{justify:"space-between"},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(e.unref(n)("header-desc"))},e.toDisplayString(e.unref(s)("ap.apForm.search.sorterDesc")),3),e.createElementVNode("div",{class:e.normalizeClass(e.unref(n)("header-action-wrapper")),onClick:g},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(n)("header-reset-btn"))},e.toDisplayString(e.unref(s)("ap.apForm.search.sorterReset")),3)],2)]),_:1})],2),e.createElementVNode("div",{class:e.normalizeClass([e.unref(c)("popover-content"),e.unref(n)("content")])},[e.createVNode(e.unref(V),{list:o.value,class:e.normalizeClass(e.unref(n)("sorter-wrapper")),"item-key":N},{item:e.withCtx(({element:u})=>[e.createVNode(w.default,{item:u},null,8,["item"])]),_:1},8,["list","class"])],2),e.createVNode(e.unref(t.Divider),{style:{margin:"0"}}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(c)("popover-footer"))},[e.createVNode(e.unref(t.Flex),{justify:"end"},{default:e.withCtx(()=>[e.createVNode(e.unref(t.Button),{onClick:i[0]||(i[0]=u=>l.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("ap.common.cancelText")),1)]),_:1}),e.createVNode(e.unref(t.Button),{class:e.normalizeClass(e.unref(c)("popover-footer-confirm-btn")),type:"primary",onClick:h},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("ap.apForm.search.sorterConfirmBtn")),1)]),_:1},8,["class"])]),_:1})],2)]),default:e.withCtx(()=>[e.createVNode(e.unref(t.Tooltip),{title:e.unref(s)("ap.apForm.search.sorterTitle"),placement:"top"},{default:e.withCtx(()=>[e.createVNode(e.unref(t.Button),{class:e.normalizeClass([e.unref(d)("trigger-btn"),{[e.unref(d)("trigger-btn-active")]:l.value}])},{icon:e.withCtx(()=>[e.createVNode(e.unref(y.IconApLayoutOutlined),{size:14})]),_:1},8,["class"])]),_:1},8,["title"])]),_:1},8,["open","overlay-class-name"]))}});exports.default=x;
@@ -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;