fec-dev-designer 5.1.2 → 5.1.3

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.
@@ -11,7 +11,7 @@ import "../../../../node_modules/element-plus/theme-chalk/el-tag.css.js";
11
11
  import "../../../../node_modules/element-plus/theme-chalk/el-option.css.js";
12
12
  import "../../../../node_modules/element-plus/theme-chalk/el-option-group.css.js";
13
13
  import "../../../../node_modules/element-plus/theme-chalk/el-select.css.js";
14
- import { computed as p, reactive as q, watch as A, openBlock as u, createElementBlock as b, createElementVNode as _, createVNode as r, withCtx as d, unref as c, normalizeStyle as H, Fragment as P, renderList as G, createBlock as f, withModifiers as k, normalizeClass as h, toDisplayString as J, createTextVNode as x } from "vue";
14
+ import { computed as _, reactive as q, watch as A, openBlock as u, createElementBlock as b, createElementVNode as y, createVNode as i, withCtx as r, unref as d, normalizeStyle as H, Fragment as P, renderList as G, createBlock as p, withModifiers as h, normalizeClass as k, toDisplayString as J, createTextVNode as x } from "vue";
15
15
  import { VueDraggable as K } from "../../../../node_modules/vue-draggable-plus/dist/vue-draggable-plus.js";
16
16
  import { Close as Q, Search as W, Refresh as X } from "../../../../node_modules/@element-plus/icons-vue/dist/index.js";
17
17
  import { getEditConfigData as Y, setHoverItem as N, setSelectedItem as Z, getCurrentClass as F } from "../../utils/common.js";
@@ -21,8 +21,8 @@ import { ElIcon as te } from "../../../../node_modules/element-plus/es/component
21
21
  import { ElInput as oe } from "../../../../node_modules/element-plus/es/components/input/index.js";
22
22
  import { ElOption as le, ElSelect as ne } from "../../../../node_modules/element-plus/es/components/select/index.js";
23
23
  import { ElDatePicker as ae } from "../../../../node_modules/element-plus/es/components/date-picker/index.js";
24
- import { ElFormItem as se, ElForm as ie } from "../../../../node_modules/element-plus/es/components/form/index.js";
25
- import { ElButton as me } from "../../../../node_modules/element-plus/es/components/button/index.js";
24
+ import { ElFormItem as se, ElForm as me } from "../../../../node_modules/element-plus/es/components/form/index.js";
25
+ import { ElButton as ie } from "../../../../node_modules/element-plus/es/components/button/index.js";
26
26
  const re = { class: "fixed-mode-config" }, de = { class: "filter-form-section" }, ce = { class: "form-item-label" }, ue = {
27
27
  __name: "FixedModeConfig",
28
28
  props: {
@@ -33,45 +33,44 @@ const re = { class: "fixed-mode-config" }, de = { class: "filter-form-section" }
33
33
  },
34
34
  emits: ["update:modelValue"],
35
35
  setup(T, { emit: E }) {
36
- const I = T, D = E, y = p(() => Y()), m = p({
36
+ const I = T, U = E, v = _(() => Y()), c = _({
37
37
  get: () => I.modelValue,
38
- set: (t) => D("update:modelValue", t)
39
- }), v = p(() => {
38
+ set: (t) => U("update:modelValue", t)
39
+ }), V = _(() => {
40
40
  var t, e;
41
- return ((e = (t = y.value) == null ? void 0 : t.queryConfig) == null ? void 0 : e.columnCount) || 3;
42
- }), U = p(() => m.value.length <= v.value), s = q({});
43
- function a(t) {
44
- var n;
45
- return (((n = y.value) == null ? void 0 : n.fieldsData) || []).find((l) => l.id === t.fieldId);
41
+ return ((e = (t = v.value) == null ? void 0 : t.queryConfig) == null ? void 0 : e.columnCount) || 3;
42
+ }), D = _(() => c.value.length <= V.value), a = q({});
43
+ function l(t) {
44
+ var s, n;
45
+ return [
46
+ ...((s = v.value) == null ? void 0 : s.fieldsData) || [],
47
+ ...((n = v.value) == null ? void 0 : n.hiddenFields) || []
48
+ ].find((f) => f.id == t.fieldId);
46
49
  }
47
- function V(t) {
48
- const e = a(t);
50
+ function g(t) {
51
+ const e = l(t);
49
52
  return (e == null ? void 0 : e.label) || "";
50
53
  }
51
54
  A(
52
- m,
55
+ c,
53
56
  (t) => {
54
- t.forEach((n) => {
55
- const l = a(n);
56
- l && !(l.fieldName in s) && (s[l.fieldName] = l.fieldType === "daterange" ? [] : "");
57
+ t.forEach((s) => {
58
+ const n = l(s);
59
+ n && !(n.fieldName in a) && (a[n.fieldName] = n.fieldType == "daterange" ? [] : "");
57
60
  });
58
- const e = t.map((n) => {
59
- const l = a(n);
60
- return l == null ? void 0 : l.fieldName;
61
+ const e = t.map((s) => {
62
+ const n = l(s);
63
+ return n == null ? void 0 : n.fieldName;
61
64
  }).filter(Boolean);
62
- Object.keys(s).forEach((n) => {
63
- e.includes(n) || delete s[n];
65
+ Object.keys(a).forEach((s) => {
66
+ e.includes(s) || delete a[s];
64
67
  });
65
68
  },
66
69
  { immediate: !0, deep: !0 }
67
- ), p(() => {
68
- var n;
69
- const t = ((n = y.value) == null ? void 0 : n.fieldsData) || [], e = m.value.map((l) => l.fieldId);
70
- return t.filter((l) => !e.includes(l.id));
71
- });
70
+ );
72
71
  function S(t) {
73
- const e = m.value.findIndex((n) => n.id === t.id);
74
- e !== -1 && m.value.splice(e, 1);
72
+ const e = c.value.findIndex((s) => s.id == t.id);
73
+ e !== -1 && c.value.splice(e, 1);
75
74
  }
76
75
  function w(t) {
77
76
  return ["text", "textarea", "number"].includes(t.fieldType);
@@ -95,84 +94,84 @@ const re = { class: "fixed-mode-config" }, de = { class: "filter-form-section" }
95
94
  function L() {
96
95
  }
97
96
  return (t, e) => {
98
- const n = te, l = oe, g = le, z = ne, O = ae, R = se, j = ie, C = me;
97
+ const s = te, n = oe, f = le, z = ne, O = ae, R = se, j = me, C = ie;
99
98
  return u(), b("div", re, [
100
- _("div", de, [
101
- r(j, {
99
+ y("div", de, [
100
+ i(j, {
102
101
  ref: "formRef",
103
- model: s,
102
+ model: a,
104
103
  class: "filter-form",
105
104
  "label-width": "80px"
106
105
  }, {
107
- default: d(() => [
108
- r(c(K), {
109
- modelValue: m.value,
110
- "onUpdate:modelValue": e[1] || (e[1] = (o) => m.value = o),
106
+ default: r(() => [
107
+ i(d(K), {
108
+ modelValue: c.value,
109
+ "onUpdate:modelValue": e[1] || (e[1] = (o) => c.value = o),
111
110
  animation: 150,
112
111
  group: { name: "filterFields" },
113
112
  ghostClass: "ghost",
114
113
  class: "form-items-draggable",
115
- style: H({ "--column-count": v.value })
114
+ style: H({ "--column-count": V.value })
116
115
  }, {
117
- default: d(() => [
118
- (u(!0), b(P, null, G(m.value, (o) => (u(), f(R, {
116
+ default: r(() => [
117
+ (u(!0), b(P, null, G(c.value, (o) => (u(), p(R, {
119
118
  key: o.id,
120
- label: V(o),
121
- onMouseenter: (i) => c(N)(o),
122
- onMouseleave: e[0] || (e[0] = (i) => c(N)()),
123
- onClick: k((i) => c(Z)(o), ["stop"]),
124
- class: h(c(F)(o))
119
+ label: g(o),
120
+ onMouseenter: (m) => d(N)(o),
121
+ onMouseleave: e[0] || (e[0] = (m) => d(N)()),
122
+ onClick: h((m) => d(Z)(o), ["stop"]),
123
+ class: k(d(F)(o))
125
124
  }, {
126
- label: d(() => [
127
- _("div", ce, [
128
- _("span", null, J(V(o)), 1)
125
+ label: r(() => [
126
+ y("div", ce, [
127
+ y("span", null, J(g(o)), 1)
129
128
  ])
130
129
  ]),
131
- default: d(() => [
132
- r(n, {
130
+ default: r(() => [
131
+ i(s, {
133
132
  class: "delete-icon",
134
- onClick: k((i) => S(o), ["stop"])
133
+ onClick: h((m) => S(o), ["stop"])
135
134
  }, {
136
- default: d(() => [
137
- r(c(Q))
135
+ default: r(() => [
136
+ i(d(Q))
138
137
  ]),
139
138
  _: 1
140
139
  }, 8, ["onClick"]),
141
- w(a(o)) ? (u(), f(l, {
140
+ w(l(o)) ? (u(), p(n, {
142
141
  key: 0,
143
- modelValue: s[a(o).fieldName],
144
- "onUpdate:modelValue": (i) => s[a(o).fieldName] = i,
142
+ modelValue: a[l(o).fieldName],
143
+ "onUpdate:modelValue": (m) => a[l(o).fieldName] = m,
145
144
  class: "filter-item"
146
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : M(a(o)) ? (u(), f(z, {
145
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : M(l(o)) ? (u(), p(z, {
147
146
  key: 1,
148
- modelValue: s[a(o).fieldName],
149
- "onUpdate:modelValue": (i) => s[a(o).fieldName] = i,
147
+ modelValue: a[l(o).fieldName],
148
+ "onUpdate:modelValue": (m) => a[l(o).fieldName] = m,
150
149
  class: "filter-item"
151
150
  }, {
152
- default: d(() => [
153
- r(g, {
151
+ default: r(() => [
152
+ i(f, {
154
153
  label: "选项1",
155
154
  value: "1"
156
155
  }),
157
- r(g, {
156
+ i(f, {
158
157
  label: "选项2",
159
158
  value: "2"
160
159
  })
161
160
  ]),
162
161
  _: 1
163
- }, 8, ["modelValue", "onUpdate:modelValue"])) : B(a(o)) ? (u(), f(O, {
162
+ }, 8, ["modelValue", "onUpdate:modelValue"])) : B(l(o)) ? (u(), p(O, {
164
163
  key: 2,
165
- modelValue: s[a(o).fieldName],
166
- "onUpdate:modelValue": (i) => s[a(o).fieldName] = i,
164
+ modelValue: a[l(o).fieldName],
165
+ "onUpdate:modelValue": (m) => a[l(o).fieldName] = m,
167
166
  type: "daterange",
168
167
  "range-separator": "至",
169
168
  "start-placeholder": "开始日期",
170
169
  "end-placeholder": "结束日期",
171
170
  class: "filter-item"
172
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (u(), f(l, {
171
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (u(), p(n, {
173
172
  key: 3,
174
- modelValue: s[a(o).fieldName],
175
- "onUpdate:modelValue": (i) => s[a(o).fieldName] = i,
173
+ modelValue: a[l(o).fieldName],
174
+ "onUpdate:modelValue": (m) => a[l(o).fieldName] = m,
176
175
  class: "filter-item"
177
176
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
178
177
  ]),
@@ -185,25 +184,25 @@ const re = { class: "fixed-mode-config" }, de = { class: "filter-form-section" }
185
184
  _: 1
186
185
  }, 8, ["model"])
187
186
  ]),
188
- _("div", {
189
- class: h(["fixed-search-btn", { inline: U.value }])
187
+ y("div", {
188
+ class: k(["fixed-search-btn", { inline: D.value }])
190
189
  }, [
191
- r(C, {
192
- icon: c(W),
190
+ i(C, {
191
+ icon: d(W),
193
192
  type: "primary",
194
193
  onClick: $
195
194
  }, {
196
- default: d(() => [...e[2] || (e[2] = [
195
+ default: r(() => [...e[2] || (e[2] = [
197
196
  x("搜索", -1)
198
197
  ])]),
199
198
  _: 1
200
199
  }, 8, ["icon"]),
201
- r(C, {
202
- icon: c(X),
200
+ i(C, {
201
+ icon: d(X),
203
202
  onClick: L,
204
203
  class: "reset-btn"
205
204
  }, {
206
- default: d(() => [...e[3] || (e[3] = [
205
+ default: r(() => [...e[3] || (e[3] = [
207
206
  x("重置", -1)
208
207
  ])]),
209
208
  _: 1
@@ -212,7 +211,7 @@ const re = { class: "fixed-mode-config" }, de = { class: "filter-form-section" }
212
211
  ]);
213
212
  };
214
213
  }
215
- }, Oe = /* @__PURE__ */ ee(ue, [["__scopeId", "data-v-d6b0cd25"]]);
214
+ }, Oe = /* @__PURE__ */ ee(ue, [["__scopeId", "data-v-82d670b1"]]);
216
215
  export {
217
216
  Oe as default
218
217
  };
@@ -6,6 +6,7 @@ import "../../../../node_modules/element-plus/theme-chalk/el-scrollbar.css.js";
6
6
  import "../../../../node_modules/element-plus/theme-chalk/el-dropdown.css.js";
7
7
  import "../../../../node_modules/element-plus/theme-chalk/el-dropdown-menu.css.js";
8
8
  import "../../../../node_modules/element-plus/theme-chalk/el-dropdown-item.css.js";
9
+ import "../../../../node_modules/element-plus/theme-chalk/el-checkbox.css.js";
9
10
  import "../../../../node_modules/element-plus/theme-chalk/el-tag.css.js";
10
11
  import "../../../../node_modules/element-plus/theme-chalk/el-input.css.js";
11
12
  import "../../../../node_modules/element-plus/theme-chalk/el-input-number.css.js";
@@ -14,179 +15,195 @@ import "../../../../node_modules/element-plus/theme-chalk/el-option-group.css.js
14
15
  import "../../../../node_modules/element-plus/theme-chalk/el-select.css.js";
15
16
  import "../../../../node_modules/element-plus/theme-chalk/el-divider.css.js";
16
17
  import "../../../../node_modules/element-plus/theme-chalk/el-switch.css.js";
17
- import { computed as _, openBlock as n, createElementBlock as f, createElementVNode as s, createVNode as o, withCtx as d, Fragment as g, renderList as I, createBlock as c, toDisplayString as V, createCommentVNode as v, unref as N, createTextVNode as w } from "vue";
18
- import { Plus as U } from "../../../../node_modules/@element-plus/icons-vue/dist/index.js";
19
- import { getEditConfigData as x } from "../../utils/common.js";
20
- import B from "./FixedModeConfig.vue.js";
18
+ import { computed as v, openBlock as a, createElementBlock as u, createElementVNode as r, createVNode as l, withCtx as i, Fragment as g, renderList as I, createBlock as f, toDisplayString as x, createCommentVNode as c, unref as N, createTextVNode as C } from "vue";
19
+ import { Plus as B } from "../../../../node_modules/@element-plus/icons-vue/dist/index.js";
20
+ import { getEditConfigData as F } from "../../utils/common.js";
21
+ import h from "./FixedModeConfig.vue.js";
21
22
  import "./index.vue2.js";
22
- import S from "../../../../_virtual/_plugin-vue_export-helper.js";
23
- import { ElSwitch as M } from "../../../../node_modules/element-plus/es/components/switch/index.js";
23
+ import M from "../../../../_virtual/_plugin-vue_export-helper.js";
24
+ import { ElSwitch as S } from "../../../../node_modules/element-plus/es/components/switch/index.js";
24
25
  import { ElDivider as T } from "../../../../node_modules/element-plus/es/components/divider/index.js";
25
26
  import { ElOption as R, ElSelect as A } from "../../../../node_modules/element-plus/es/components/select/index.js";
26
27
  import { ElInputNumber as L } from "../../../../node_modules/element-plus/es/components/input-number/index.js";
27
28
  import { ElTag as O } from "../../../../node_modules/element-plus/es/components/tag/index.js";
28
29
  import { ElButton as P } from "../../../../node_modules/element-plus/es/components/button/index.js";
29
- import { ElDropdownItem as Q, ElDropdownMenu as W, ElDropdown as j } from "../../../../node_modules/element-plus/es/components/dropdown/index.js";
30
- const G = { class: "table-query-config" }, H = { class: "config-row" }, J = { class: "add-field-label" }, K = {
30
+ import { ElCheckbox as Q } from "../../../../node_modules/element-plus/es/components/checkbox/index.js";
31
+ import { ElDropdownItem as W, ElDropdownMenu as j, ElDropdown as G } from "../../../../node_modules/element-plus/es/components/dropdown/index.js";
32
+ const H = { class: "table-query-config" }, J = { class: "config-row" }, K = { class: "add-field-label" }, X = {
31
33
  key: 1,
32
34
  class: "empty-state"
33
- }, X = {
35
+ }, Y = {
34
36
  __name: "index",
35
- setup(Y) {
36
- const m = _(() => x()), l = _(() => x().queryConfig), y = _(() => {
37
- var r, i, a;
38
- const u = ((r = m.value) == null ? void 0 : r.fieldsData) || [], e = ((a = (i = l.value) == null ? void 0 : i.filterFields) == null ? void 0 : a.map((p) => p.fieldId)) || [];
39
- return u.filter((p) => !e.includes(p.id));
37
+ setup(Z) {
38
+ const n = v(() => F()), t = v(() => F().queryConfig), y = v(() => {
39
+ var e, d;
40
+ return [
41
+ ...((e = n.value) == null ? void 0 : e.fieldsData) || [],
42
+ ...((d = n.value) == null ? void 0 : d.hiddenFields) || []
43
+ ];
40
44
  });
41
- function F(u) {
42
- var e, r;
43
- return (r = (e = l.value) == null ? void 0 : e.filterFields) == null ? void 0 : r.some((i) => i.fieldId === u.id);
45
+ function w(p, e) {
46
+ if (n.value.queryConfig || (n.value.queryConfig = {}), n.value.queryConfig.filterFields || (n.value.queryConfig.filterFields = []), e)
47
+ n.value.queryConfig.filterFields.push({
48
+ id: Date.now(),
49
+ fieldId: p.id,
50
+ type: "filterWidgets",
51
+ queryType: "fuzzy"
52
+ });
53
+ else {
54
+ const d = n.value.queryConfig.filterFields.findIndex(
55
+ (m) => m.fieldId == p.id
56
+ );
57
+ d !== -1 && n.value.queryConfig.filterFields.splice(d, 1);
58
+ }
44
59
  }
45
- function C(u) {
46
- m.value.queryConfig || (m.value.queryConfig = {}), m.value.queryConfig.filterFields || (m.value.queryConfig.filterFields = []), m.value.queryConfig.filterFields.push({
47
- id: Date.now(),
48
- fieldId: u.id,
49
- type: "filterWidgets",
50
- queryType: "fuzzy"
51
- });
52
- }
53
- return (u, e) => {
54
- const r = M, i = T, a = R, p = A, E = L, k = O, q = P, b = Q, D = W, z = j;
55
- return n(), f("div", G, [
56
- s("div", H, [
57
- e[9] || (e[9] = s("span", { class: "config-label" }, "开启筛选", -1)),
58
- o(r, {
59
- modelValue: l.value.enabled,
60
- "onUpdate:modelValue": e[0] || (e[0] = (t) => l.value.enabled = t),
60
+ return (p, e) => {
61
+ const d = S, m = T, s = R, b = A, k = L, E = O, q = P, D = Q, V = W, z = j, U = G;
62
+ return a(), u("div", H, [
63
+ r("div", J, [
64
+ e[9] || (e[9] = r("span", { class: "config-label" }, "开启筛选", -1)),
65
+ l(d, {
66
+ modelValue: t.value.enabled,
67
+ "onUpdate:modelValue": e[0] || (e[0] = (o) => t.value.enabled = o),
61
68
  size: "small"
62
69
  }, null, 8, ["modelValue"]),
63
- o(i, { direction: "vertical" }),
64
- e[10] || (e[10] = s("span", { class: "config-label" }, "筛选模式", -1)),
65
- o(p, {
66
- modelValue: l.value.mode,
67
- "onUpdate:modelValue": e[1] || (e[1] = (t) => l.value.mode = t),
70
+ l(m, { direction: "vertical" }),
71
+ e[10] || (e[10] = r("span", { class: "config-label" }, "筛选模式", -1)),
72
+ l(b, {
73
+ modelValue: t.value.mode,
74
+ "onUpdate:modelValue": e[1] || (e[1] = (o) => t.value.mode = o),
68
75
  size: "small",
69
76
  style: { width: "120px" }
70
77
  }, {
71
- default: d(() => [
72
- o(a, {
78
+ default: i(() => [
79
+ l(s, {
73
80
  label: "固定列",
74
81
  value: "fixed"
75
82
  })
76
83
  ]),
77
84
  _: 1
78
85
  }, 8, ["modelValue"]),
79
- l.value.mode === "fixed" ? (n(), f(g, { key: 0 }, [
80
- o(i, { direction: "vertical" }),
81
- e[7] || (e[7] = s("span", { class: "config-label" }, "筛选列数", -1)),
82
- o(p, {
83
- modelValue: l.value.columnCount,
84
- "onUpdate:modelValue": e[2] || (e[2] = (t) => l.value.columnCount = t),
86
+ t.value.mode === "fixed" ? (a(), u(g, { key: 0 }, [
87
+ l(m, { direction: "vertical" }),
88
+ e[7] || (e[7] = r("span", { class: "config-label" }, "筛选列数", -1)),
89
+ l(b, {
90
+ modelValue: t.value.columnCount,
91
+ "onUpdate:modelValue": e[2] || (e[2] = (o) => t.value.columnCount = o),
85
92
  size: "small",
86
93
  style: { width: "100px" }
87
94
  }, {
88
- default: d(() => [
89
- o(a, {
95
+ default: i(() => [
96
+ l(s, {
90
97
  label: "一列",
91
98
  value: 1
92
99
  }),
93
- o(a, {
100
+ l(s, {
94
101
  label: "二列",
95
102
  value: 2
96
103
  }),
97
- o(a, {
104
+ l(s, {
98
105
  label: "三列",
99
106
  value: 3
100
107
  }),
101
- o(a, {
108
+ l(s, {
102
109
  label: "四列",
103
110
  value: 4
104
111
  })
105
112
  ]),
106
113
  _: 1
107
114
  }, 8, ["modelValue"]),
108
- o(i, { direction: "vertical" }),
109
- e[8] || (e[8] = s("span", { class: "config-label" }, "收起行数", -1)),
110
- o(E, {
111
- modelValue: l.value.collapseRows,
112
- "onUpdate:modelValue": e[3] || (e[3] = (t) => l.value.collapseRows = t),
115
+ l(m, { direction: "vertical" }),
116
+ e[8] || (e[8] = r("span", { class: "config-label" }, "收起行数", -1)),
117
+ l(k, {
118
+ modelValue: t.value.collapseRows,
119
+ "onUpdate:modelValue": e[3] || (e[3] = (o) => t.value.collapseRows = o),
113
120
  min: 1,
114
121
  size: "small",
115
122
  "controls-position": "right",
116
123
  style: { width: "80px" }
117
124
  }, null, 8, ["modelValue"]),
118
- o(i, { direction: "vertical" }),
119
- o(z, {
125
+ l(m, { direction: "vertical" }),
126
+ l(U, {
120
127
  trigger: "click",
121
128
  placement: "bottom",
122
- onCommand: C
129
+ "hide-on-click": !1
123
130
  }, {
124
- dropdown: d(() => [
125
- o(D, null, {
126
- default: d(() => [
127
- (n(!0), f(g, null, I(y.value, (t) => (n(), c(b, {
128
- key: t.id,
129
- command: t,
130
- disabled: F(t)
131
+ dropdown: i(() => [
132
+ l(z, null, {
133
+ default: i(() => [
134
+ (a(!0), u(g, null, I(y.value, (o) => (a(), f(V, {
135
+ key: o.id,
136
+ command: o
131
137
  }, {
132
- default: d(() => [
133
- s("span", J, V(t.label), 1)
138
+ default: i(() => [
139
+ l(D, {
140
+ modelValue: o.isFilter,
141
+ "onUpdate:modelValue": (_) => o.isFilter = _,
142
+ onChange: (_) => {
143
+ w(o, _);
144
+ }
145
+ }, {
146
+ default: i(() => [
147
+ r("span", K, x(o.label), 1)
148
+ ]),
149
+ _: 2
150
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
134
151
  ]),
135
152
  _: 2
136
- }, 1032, ["command", "disabled"]))), 128)),
137
- y.value.length === 0 ? (n(), c(b, {
153
+ }, 1032, ["command"]))), 128)),
154
+ y.value.length === 0 ? (a(), f(V, {
138
155
  key: 0,
139
156
  disabled: ""
140
157
  }, {
141
- default: d(() => [...e[6] || (e[6] = [
142
- s("span", {
158
+ default: i(() => [...e[6] || (e[6] = [
159
+ r("span", {
143
160
  class: "add-field-label",
144
161
  style: { "text-align": "center" }
145
162
  }, "暂无可用字段", -1)
146
163
  ])]),
147
164
  _: 1
148
- })) : v("", !0)
165
+ })) : c("", !0)
149
166
  ]),
150
167
  _: 1
151
168
  })
152
169
  ]),
153
- default: d(() => [
154
- o(q, {
170
+ default: i(() => [
171
+ l(q, {
155
172
  size: "small",
156
- icon: N(U)
173
+ icon: N(B)
157
174
  }, {
158
- default: d(() => [
159
- e[5] || (e[5] = w("新增筛选 ", -1)),
160
- l.value.filterFields.length > 0 ? (n(), c(k, {
175
+ default: i(() => [
176
+ e[5] || (e[5] = C("新增筛选 ", -1)),
177
+ t.value.filterFields.length > 0 ? (a(), f(E, {
161
178
  key: 0,
162
179
  size: "small",
163
180
  type: "primary",
164
181
  style: { "margin-left": "6px", height: "16px", padding: "0 5px" }
165
182
  }, {
166
- default: d(() => [
167
- w(V(l.value.filterFields.length), 1)
183
+ default: i(() => [
184
+ C(x(t.value.filterFields.length), 1)
168
185
  ]),
169
186
  _: 1
170
- })) : v("", !0)
187
+ })) : c("", !0)
171
188
  ]),
172
189
  _: 1
173
190
  }, 8, ["icon"])
174
191
  ]),
175
192
  _: 1
176
193
  })
177
- ], 64)) : v("", !0)
194
+ ], 64)) : c("", !0)
178
195
  ]),
179
- l.value.enabled ? (n(), f(g, { key: 0 }, [
180
- l.value.mode === "fixed" ? (n(), c(B, {
196
+ t.value.enabled ? (a(), u(g, { key: 0 }, [
197
+ t.value.mode === "fixed" ? (a(), f(h, {
181
198
  key: 0,
182
- modelValue: l.value.filterFields,
183
- "onUpdate:modelValue": e[4] || (e[4] = (t) => l.value.filterFields = t)
184
- }, null, 8, ["modelValue"])) : v("", !0)
185
- ], 64)) : (n(), f("div", K, "未开启筛选功能"))
199
+ modelValue: t.value.filterFields,
200
+ "onUpdate:modelValue": e[4] || (e[4] = (o) => t.value.filterFields = o)
201
+ }, null, 8, ["modelValue"])) : c("", !0)
202
+ ], 64)) : (a(), u("div", X, "未开启筛选功能"))
186
203
  ]);
187
204
  };
188
205
  }
189
- }, ke = /* @__PURE__ */ S(X, [["__scopeId", "data-v-d6a5c041"]]);
206
+ }, Ue = /* @__PURE__ */ M(Y, [["__scopeId", "data-v-29ad1881"]]);
190
207
  export {
191
- ke as default
208
+ Ue as default
192
209
  };