@zl-ui-kit/components 0.18.2 → 0.18.4

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as le, computed as d, useSlots as ae, ref as k, watch as te, nextTick as w, resolveComponent as se, openBlock as c, createElementBlock as f, createElementVNode as C, createVNode as t, withModifiers as M, createSlots as R, withCtx as s, createTextVNode as b, toDisplayString as h, renderList as P, renderSlot as $, normalizeProps as N, guardReactiveProps as O, unref as o, createBlock as E, createCommentVNode as p, Fragment as oe, Transition as re } from "vue";
1
+ import { defineComponent as le, computed as d, useSlots as ae, ref as w, watch as te, nextTick as L, resolveComponent as se, openBlock as c, createElementBlock as f, createElementVNode as C, createVNode as t, withModifiers as F, createSlots as M, withCtx as s, createTextVNode as p, toDisplayString as h, renderList as P, renderSlot as $, normalizeProps as R, guardReactiveProps as N, unref as o, createBlock as O, createCommentVNode as v, Fragment as oe, Transition as re } from "vue";
2
2
  import { useZlT as ie } from "@zl-ui-kit/composables";
3
3
  import { isArray as ne, isPlainObject as ce } from "@zl-ui-kit/utils";
4
4
  import I from "../ZlAutoTooltip/index.vue.mjs";
@@ -11,13 +11,13 @@ import { useSearchFormOverflow as ue } from "./useSearchFormOverflow.mjs";
11
11
  const de = { class: "zl-search" }, me = {
12
12
  key: 0,
13
13
  class: "zl-search-search"
14
- }, fe = { class: "zl-search-search-single" }, he = { class: "zl-search-form-actions" }, ve = {
14
+ }, fe = { class: "zl-search-search-single" }, he = { class: "zl-search-form-actions" }, be = {
15
15
  key: 0,
16
16
  class: "zl-search-label"
17
- }, be = { class: "zl-search-label__summary" }, pe = {
17
+ }, pe = { class: "zl-search-label__summary" }, ve = {
18
18
  key: 0,
19
19
  class: "zl-search-search-multiple"
20
- }, _e = { class: "zl-search-form-actions" }, ze = {
20
+ }, _e = { class: "zl-search-form-actions" }, ye = {
21
21
  key: 1,
22
22
  class: "zl-search__actions"
23
23
  }, $e = /* @__PURE__ */ le({
@@ -29,13 +29,14 @@ const de = { class: "zl-search" }, me = {
29
29
  immediate: { type: Boolean, default: !0 },
30
30
  disabled: { type: Boolean, default: !1 },
31
31
  labelsVisible: { type: Boolean, default: void 0 },
32
+ hideEmptyLabel: { type: Boolean, default: !1 },
32
33
  showLabels: { type: Boolean, default: void 0 }
33
34
  },
34
35
  emits: ["search", "reset"],
35
- setup(S, { expose: D, emit: G }) {
36
- const { t: r } = ie(), u = S, B = G, T = d(
36
+ setup(_, { expose: D, emit: G }) {
37
+ const { t: r } = ie(), u = _, B = G, E = d(
37
38
  () => Object.keys(ae()).filter((e) => e !== "label" && e !== "actions")
38
- ), y = k(null), L = k(null), n = k(!1), { lastVisibleIndex: Z, measure: H } = ue(y), J = d(() => {
39
+ ), k = w(null), S = w(null), n = w(!1), { lastVisibleIndex: T, measure: H } = ue(k), J = d(() => {
39
40
  const e = {};
40
41
  for (const l of u.items)
41
42
  e[l.model] = typeof l.toLabel == "function" ? l.toLabel : X;
@@ -45,7 +46,7 @@ const de = { class: "zl-search" }, me = {
45
46
  for (const l of u.items)
46
47
  typeof l.toParams == "function" && (e[l.model] = l.toParams);
47
48
  return e;
48
- }), v = d(() => {
49
+ }), b = d(() => {
49
50
  const e = [];
50
51
  for (const l of u.items) {
51
52
  if (!l.model)
@@ -56,15 +57,15 @@ const de = { class: "zl-search" }, me = {
56
57
  e.push(ee);
57
58
  }
58
59
  return e;
59
- }), Q = k(u.model ?? {}), m = d(() => u.model ?? Q.value), j = d(() => v.value.reduce((e, l) => {
60
+ }), Q = w(u.model ?? {}), m = d(() => u.model ?? Q.value), Z = d(() => b.value.reduce((e, l) => {
60
61
  const i = K.value[l.model];
61
62
  return i ? Object.assign(e, i(m.value[l.model], e)) : { ...e, [l.model]: m.value[l.model] };
62
- }, {})), F = d(() => v.value.map((e) => ({
63
+ }, {})), j = d(() => b.value.map((e) => ({
63
64
  labelValue: J.value[e.model](m.value[e.model]),
64
65
  model: e.model,
65
66
  label: e.label
66
67
  })).filter((e) => e.labelValue)), U = d(
67
- () => u.labelsVisible ?? u.showLabels ?? Z.value !== null
68
+ () => u.labelsVisible ?? u.showLabels ?? T.value !== null
68
69
  );
69
70
  function W(e) {
70
71
  const l = e.visible;
@@ -74,19 +75,19 @@ const de = { class: "zl-search" }, me = {
74
75
  return ne(e) ? e.join(", ") : ce(e) ? e.label : e;
75
76
  }
76
77
  async function V() {
77
- n.value && (n.value = !1), B("search", j.value);
78
+ n.value && (n.value = !1), B("search", Z.value);
78
79
  }
79
- async function _() {
80
+ async function y() {
80
81
  try {
81
- await (n.value ? L.value : y.value)?.validate(), V();
82
+ await (n.value ? S.value : k.value)?.validate(), V();
82
83
  } catch {
83
84
  }
84
85
  }
85
86
  async function x() {
86
87
  try {
87
- const e = n.value ? L.value : y.value;
88
- e?.resetFields(), await w(), await e?.validate().catch(() => {
89
- }), B("reset"), await w(), V();
88
+ const e = n.value ? S.value : k.value;
89
+ e?.resetFields(), await L(), await e?.validate().catch(() => {
90
+ }), B("reset"), await L(), V();
90
91
  } catch (e) {
91
92
  console.error("[ZlSearch] reset validate error", e);
92
93
  }
@@ -95,13 +96,13 @@ const de = { class: "zl-search" }, me = {
95
96
  delete m.value[e.model];
96
97
  }
97
98
  return te(
98
- () => v.value.map((e) => e.model).join(","),
99
+ () => b.value.map((e) => e.model).join(","),
99
100
  async () => {
100
- await w(), H();
101
+ await L(), H();
101
102
  }
102
- ), u.immediate && (async () => (await w(), _()))(), D({
103
+ ), u.immediate && (async () => (await L(), y()))(), D({
103
104
  /** 当前查询表单值(已按各项 `toParams` 转换),可直接当请求入参 */
104
- params: j,
105
+ params: Z,
105
106
  /** 收起展开态并触发 `search` 事件(本身不做校验,带校验的查询走组件内查询按钮) */
106
107
  search: V,
107
108
  /** 重置表单并清除校验提示,随后触发 `reset` 事件与一次 `search` */
@@ -109,34 +110,35 @@ const de = { class: "zl-search" }, me = {
109
110
  }), (e, l) => {
110
111
  const i = se("el-button");
111
112
  return c(), f("div", de, [
112
- v.value.length ? (c(), f("div", me, [
113
+ b.value.length ? (c(), f("div", me, [
113
114
  C("div", fe, [
114
115
  t(A, {
115
116
  ref_key: "formRef",
116
- ref: y,
117
+ ref: k,
117
118
  class: "zl-search-form",
118
119
  model: m.value,
119
- items: v.value,
120
- disabled: S.disabled,
121
- onSubmit: M(_, ["prevent"])
122
- }, R({
120
+ items: b.value,
121
+ disabled: _.disabled,
122
+ "hide-empty-label": _.hideEmptyLabel,
123
+ onSubmit: F(y, ["prevent"])
124
+ }, M({
123
125
  label: s(({ label: a }) => [
124
126
  t(I, null, {
125
127
  default: s(() => [
126
- b(h(a), 1)
128
+ p(h(a), 1)
127
129
  ]),
128
130
  _: 2
129
131
  }, 1024)
130
132
  ]),
131
133
  _: 2
132
134
  }, [
133
- P(T.value, (a) => ({
135
+ P(E.value, (a) => ({
134
136
  name: a,
135
137
  fn: s((z) => [
136
- $(e.$slots, a, N(O(z)))
138
+ $(e.$slots, a, R(N(z)))
137
139
  ])
138
140
  }))
139
- ]), 1032, ["model", "items", "disabled"]),
141
+ ]), 1032, ["model", "items", "disabled", "hide-empty-label"]),
140
142
  C("div", he, [
141
143
  t(i, {
142
144
  class: "zl-search-form-actions__reset",
@@ -149,7 +151,7 @@ const de = { class: "zl-search" }, me = {
149
151
  ]),
150
152
  _: 1
151
153
  }, 8, ["title", "aria-label"]),
152
- o(Z) !== null ? (c(), E(i, {
154
+ o(T) !== null ? (c(), O(i, {
153
155
  key: 0,
154
156
  class: "zl-search-form-actions__toggle",
155
157
  title: o(r)("zl.search.expand", "展开"),
@@ -161,27 +163,27 @@ const de = { class: "zl-search" }, me = {
161
163
  t(g, { icon: "zl:filter-color" })
162
164
  ]),
163
165
  _: 1
164
- }, 8, ["title", "aria-label", "aria-expanded"])) : p("", !0),
166
+ }, 8, ["title", "aria-label", "aria-expanded"])) : v("", !0),
165
167
  t(i, {
166
168
  type: "primary",
167
- onClick: _
169
+ onClick: y
168
170
  }, {
169
171
  default: s(() => [
170
- b(h(o(r)("zl.search.search", "查询")), 1)
172
+ p(h(o(r)("zl.search.search", "查询")), 1)
171
173
  ]),
172
174
  _: 1
173
175
  })
174
176
  ])
175
177
  ]),
176
- U.value ? (c(), f("div", ve, [
177
- C("div", be, h(o(r)("zl.search.filterConditions", "筛选条件")), 1),
178
- F.value.length === 0 ? (c(), E(q, { key: 0 }, {
178
+ U.value ? (c(), f("div", be, [
179
+ C("div", pe, h(o(r)("zl.search.filterConditions", "筛选条件")), 1),
180
+ j.value.length === 0 ? (c(), O(q, { key: 0 }, {
179
181
  default: s(() => [
180
- b(h(o(r)("zl.search.all", "全部")), 1)
182
+ p(h(o(r)("zl.search.all", "全部")), 1)
181
183
  ]),
182
184
  _: 1
183
- })) : p("", !0),
184
- (c(!0), f(oe, null, P(F.value, (a) => (c(), f("div", {
185
+ })) : v("", !0),
186
+ (c(!0), f(oe, null, P(j.value, (a) => (c(), f("div", {
185
187
  key: a.model,
186
188
  class: "zl-search-label-item"
187
189
  }, [
@@ -192,41 +194,42 @@ const de = { class: "zl-search" }, me = {
192
194
  onClose: (z) => Y(a)
193
195
  }, {
194
196
  default: s(() => [
195
- b(h(a.labelValue), 1)
197
+ p(h(a.labelValue), 1)
196
198
  ]),
197
199
  _: 2
198
200
  }, 1032, ["onClose"])
199
201
  ]))), 128))
200
- ])) : p("", !0),
202
+ ])) : v("", !0),
201
203
  t(re, { name: "zl-search-fade-slide" }, {
202
204
  default: s(() => [
203
- n.value ? (c(), f("div", pe, [
205
+ n.value ? (c(), f("div", ve, [
204
206
  t(A, {
205
207
  ref_key: "multipleFormRef",
206
- ref: L,
208
+ ref: S,
207
209
  class: "zl-search-form",
208
210
  model: m.value,
209
- items: v.value,
210
- disabled: S.disabled,
211
- onSubmit: M(_, ["prevent"])
212
- }, R({
211
+ items: b.value,
212
+ disabled: _.disabled,
213
+ "hide-empty-label": _.hideEmptyLabel,
214
+ onSubmit: F(y, ["prevent"])
215
+ }, M({
213
216
  label: s(({ label: a }) => [
214
217
  t(I, null, {
215
218
  default: s(() => [
216
- b(h(a), 1)
219
+ p(h(a), 1)
217
220
  ]),
218
221
  _: 2
219
222
  }, 1024)
220
223
  ]),
221
224
  _: 2
222
225
  }, [
223
- P(T.value, (a) => ({
226
+ P(E.value, (a) => ({
224
227
  name: a,
225
228
  fn: s((z) => [
226
- $(e.$slots, a, N(O(z)))
229
+ $(e.$slots, a, R(N(z)))
227
230
  ])
228
231
  }))
229
- ]), 1032, ["model", "items", "disabled"]),
232
+ ]), 1032, ["model", "items", "disabled", "hide-empty-label"]),
230
233
  C("div", _e, [
231
234
  t(i, {
232
235
  class: "zl-search-form-actions__reset",
@@ -253,22 +256,22 @@ const de = { class: "zl-search" }, me = {
253
256
  }, 8, ["title", "aria-label", "aria-expanded"]),
254
257
  t(i, {
255
258
  type: "primary",
256
- onClick: _
259
+ onClick: y
257
260
  }, {
258
261
  default: s(() => [
259
- b(h(o(r)("zl.search.search", "查询")), 1)
262
+ p(h(o(r)("zl.search.search", "查询")), 1)
260
263
  ]),
261
264
  _: 1
262
265
  })
263
266
  ])
264
- ])) : p("", !0)
267
+ ])) : v("", !0)
265
268
  ]),
266
269
  _: 3
267
270
  })
268
- ])) : p("", !0),
269
- e.$slots.actions ? (c(), f("div", ze, [
271
+ ])) : v("", !0),
272
+ e.$slots.actions ? (c(), f("div", ye, [
270
273
  $(e.$slots, "actions")
271
- ])) : p("", !0)
274
+ ])) : v("", !0)
272
275
  ]);
273
276
  };
274
277
  }
@@ -13,6 +13,8 @@ type __VLS_Props = {
13
13
  queryItems?: SearchItem[];
14
14
  /** 分页配置;传 false 关闭分页 */
15
15
  pagination?: Record<string, any> | boolean;
16
+ /** 查询项 label 为空时是否不渲染 label 占位,透传给 ZlSearch / ZlForm 的 hideEmptyLabel */
17
+ hideEmptyLabel?: boolean;
16
18
  };
17
19
  declare function __VLS_template(): {
18
20
  attrs: Partial<{}>;
@@ -27,6 +29,7 @@ declare function __VLS_template(): {
27
29
  slot?: boolean;
28
30
  slots?: Record<string, any>;
29
31
  props: Record<string, any>;
32
+ hideLabel?: boolean;
30
33
  };
31
34
  }) => any>> & Partial<Record<string, (_: any) => any>> & {
32
35
  'search-actions'?(_: {}): any;
@@ -41,6 +44,7 @@ declare function __VLS_template(): {
41
44
  readonly immediate?: boolean | undefined;
42
45
  readonly disabled?: boolean | undefined;
43
46
  readonly labelsVisible?: boolean | undefined;
47
+ readonly hideEmptyLabel?: boolean | undefined;
44
48
  readonly showLabels?: boolean | undefined;
45
49
  readonly onReset?: (() => any) | undefined;
46
50
  readonly onSearch?: ((params: Record<string, any>) => any) | undefined;
@@ -55,6 +59,7 @@ declare function __VLS_template(): {
55
59
  $props: {
56
60
  readonly items: import('../..').FormItem[];
57
61
  readonly model?: Record<string, any> | undefined;
62
+ readonly hideEmptyLabel?: boolean | undefined;
58
63
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
59
64
  $attrs: import('vue').Attrs;
60
65
  $refs: {
@@ -73,6 +78,7 @@ declare function __VLS_template(): {
73
78
  $options: import('vue').ComponentOptionsBase<Readonly<{
74
79
  items: import('../..').FormItem[];
75
80
  model?: Record<string, any>;
81
+ hideEmptyLabel?: boolean;
76
82
  }> & Readonly<{}>, {
77
83
  validate: (callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
78
84
  validateField: (props?: string | string[], callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
@@ -110,6 +116,7 @@ declare function __VLS_template(): {
110
116
  }> & Omit<Readonly<{
111
117
  items: import('../..').FormItem[];
112
118
  model?: Record<string, any>;
119
+ hideEmptyLabel?: boolean;
113
120
  }> & Readonly<{}>, "items" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "setInitialValues" | "elForm" | "fields"> & {
114
121
  validate: (callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
115
122
  validateField: (props?: string | string[], callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
@@ -132,6 +139,7 @@ declare function __VLS_template(): {
132
139
  slot?: boolean;
133
140
  slots?: Record<string, any>;
134
141
  props: Record<string, any>;
142
+ hideLabel?: boolean;
135
143
  };
136
144
  }) => any>> & {
137
145
  label?(_: {
@@ -145,6 +153,7 @@ declare function __VLS_template(): {
145
153
  slot?: boolean;
146
154
  slots?: Record<string, any>;
147
155
  props: Record<string, any>;
156
+ hideLabel?: boolean;
148
157
  };
149
158
  }): any;
150
159
  default?(_: {}): any;
@@ -156,6 +165,7 @@ declare function __VLS_template(): {
156
165
  $props: {
157
166
  readonly items: import('../..').FormItem[];
158
167
  readonly model?: Record<string, any> | undefined;
168
+ readonly hideEmptyLabel?: boolean | undefined;
159
169
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
160
170
  $attrs: import('vue').Attrs;
161
171
  $refs: {
@@ -174,6 +184,7 @@ declare function __VLS_template(): {
174
184
  $options: import('vue').ComponentOptionsBase<Readonly<{
175
185
  items: import('../..').FormItem[];
176
186
  model?: Record<string, any>;
187
+ hideEmptyLabel?: boolean;
177
188
  }> & Readonly<{}>, {
178
189
  validate: (callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
179
190
  validateField: (props?: string | string[], callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
@@ -211,6 +222,7 @@ declare function __VLS_template(): {
211
222
  }> & Omit<Readonly<{
212
223
  items: import('../..').FormItem[];
213
224
  model?: Record<string, any>;
225
+ hideEmptyLabel?: boolean;
214
226
  }> & Readonly<{}>, "items" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "setInitialValues" | "elForm" | "fields"> & {
215
227
  validate: (callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
216
228
  validateField: (props?: string | string[], callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
@@ -233,6 +245,7 @@ declare function __VLS_template(): {
233
245
  slot?: boolean;
234
246
  slots?: Record<string, any>;
235
247
  props: Record<string, any>;
248
+ hideLabel?: boolean;
236
249
  };
237
250
  }) => any>> & {
238
251
  label?(_: {
@@ -246,6 +259,7 @@ declare function __VLS_template(): {
246
259
  slot?: boolean;
247
260
  slots?: Record<string, any>;
248
261
  props: Record<string, any>;
262
+ hideLabel?: boolean;
249
263
  };
250
264
  }): any;
251
265
  default?(_: {}): any;
@@ -266,6 +280,7 @@ declare function __VLS_template(): {
266
280
  immediate?: boolean;
267
281
  disabled?: boolean;
268
282
  labelsVisible?: boolean;
283
+ hideEmptyLabel?: boolean;
269
284
  showLabels?: boolean;
270
285
  }> & Readonly<{
271
286
  onReset?: (() => any) | undefined;
@@ -281,6 +296,7 @@ declare function __VLS_template(): {
281
296
  disabled: boolean;
282
297
  immediate: boolean;
283
298
  items: SearchItem[];
299
+ hideEmptyLabel: boolean;
284
300
  labelsVisible: boolean;
285
301
  showLabels: boolean;
286
302
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
@@ -307,6 +323,7 @@ declare function __VLS_template(): {
307
323
  disabled: boolean;
308
324
  immediate: boolean;
309
325
  items: SearchItem[];
326
+ hideEmptyLabel: boolean;
310
327
  labelsVisible: boolean;
311
328
  showLabels: boolean;
312
329
  }> & Omit<Readonly<{
@@ -315,11 +332,12 @@ declare function __VLS_template(): {
315
332
  immediate?: boolean;
316
333
  disabled?: boolean;
317
334
  labelsVisible?: boolean;
335
+ hideEmptyLabel?: boolean;
318
336
  showLabels?: boolean;
319
337
  }> & Readonly<{
320
338
  onReset?: (() => any) | undefined;
321
339
  onSearch?: ((params: Record<string, any>) => any) | undefined;
322
- }>, "reset" | "search" | "params" | ("disabled" | "immediate" | "items" | "labelsVisible" | "showLabels")> & {
340
+ }>, "reset" | "search" | "params" | ("disabled" | "immediate" | "items" | "hideEmptyLabel" | "labelsVisible" | "showLabels")> & {
323
341
  params: Record<string, any>;
324
342
  search: () => Promise<void>;
325
343
  reset: () => Promise<void>;
@@ -335,6 +353,7 @@ declare function __VLS_template(): {
335
353
  slot?: boolean;
336
354
  slots?: Record<string, any>;
337
355
  props: Record<string, any>;
356
+ hideLabel?: boolean;
338
357
  };
339
358
  }) => any>> & Partial<Record<string, (_: {
340
359
  model: Record<string, any>;
@@ -347,6 +366,7 @@ declare function __VLS_template(): {
347
366
  slot?: boolean;
348
367
  slots?: Record<string, any>;
349
368
  props: Record<string, any>;
369
+ hideLabel?: boolean;
350
370
  };
351
371
  }) => any>> & {
352
372
  actions?(_: {}): any;
@@ -513,6 +533,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
513
533
  "onSearch-reset"?: (() => any) | undefined;
514
534
  }>, {
515
535
  immediate: boolean;
536
+ hideEmptyLabel: boolean;
516
537
  queryItems: SearchItem[];
517
538
  columns: TableColumn[];
518
539
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -525,6 +546,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
525
546
  readonly immediate?: boolean | undefined;
526
547
  readonly disabled?: boolean | undefined;
527
548
  readonly labelsVisible?: boolean | undefined;
549
+ readonly hideEmptyLabel?: boolean | undefined;
528
550
  readonly showLabels?: boolean | undefined;
529
551
  readonly onReset?: (() => any) | undefined;
530
552
  readonly onSearch?: ((params: Record<string, any>) => any) | undefined;
@@ -539,6 +561,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
539
561
  $props: {
540
562
  readonly items: import('../..').FormItem[];
541
563
  readonly model?: Record<string, any> | undefined;
564
+ readonly hideEmptyLabel?: boolean | undefined;
542
565
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
543
566
  $attrs: import('vue').Attrs;
544
567
  $refs: {
@@ -557,6 +580,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
557
580
  $options: import('vue').ComponentOptionsBase<Readonly<{
558
581
  items: import('../..').FormItem[];
559
582
  model?: Record<string, any>;
583
+ hideEmptyLabel?: boolean;
560
584
  }> & Readonly<{}>, {
561
585
  validate: (callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
562
586
  validateField: (props?: string | string[], callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
@@ -594,6 +618,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
594
618
  }> & Omit<Readonly<{
595
619
  items: import('../..').FormItem[];
596
620
  model?: Record<string, any>;
621
+ hideEmptyLabel?: boolean;
597
622
  }> & Readonly<{}>, "items" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "setInitialValues" | "elForm" | "fields"> & {
598
623
  validate: (callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
599
624
  validateField: (props?: string | string[], callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
@@ -616,6 +641,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
616
641
  slot?: boolean;
617
642
  slots?: Record<string, any>;
618
643
  props: Record<string, any>;
644
+ hideLabel?: boolean;
619
645
  };
620
646
  }) => any>> & {
621
647
  label?(_: {
@@ -629,6 +655,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
629
655
  slot?: boolean;
630
656
  slots?: Record<string, any>;
631
657
  props: Record<string, any>;
658
+ hideLabel?: boolean;
632
659
  };
633
660
  }): any;
634
661
  default?(_: {}): any;
@@ -640,6 +667,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
640
667
  $props: {
641
668
  readonly items: import('../..').FormItem[];
642
669
  readonly model?: Record<string, any> | undefined;
670
+ readonly hideEmptyLabel?: boolean | undefined;
643
671
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
644
672
  $attrs: import('vue').Attrs;
645
673
  $refs: {
@@ -658,6 +686,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
658
686
  $options: import('vue').ComponentOptionsBase<Readonly<{
659
687
  items: import('../..').FormItem[];
660
688
  model?: Record<string, any>;
689
+ hideEmptyLabel?: boolean;
661
690
  }> & Readonly<{}>, {
662
691
  validate: (callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
663
692
  validateField: (props?: string | string[], callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
@@ -695,6 +724,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
695
724
  }> & Omit<Readonly<{
696
725
  items: import('../..').FormItem[];
697
726
  model?: Record<string, any>;
727
+ hideEmptyLabel?: boolean;
698
728
  }> & Readonly<{}>, "items" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "setInitialValues" | "elForm" | "fields"> & {
699
729
  validate: (callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
700
730
  validateField: (props?: string | string[], callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
@@ -717,6 +747,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
717
747
  slot?: boolean;
718
748
  slots?: Record<string, any>;
719
749
  props: Record<string, any>;
750
+ hideLabel?: boolean;
720
751
  };
721
752
  }) => any>> & {
722
753
  label?(_: {
@@ -730,6 +761,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
730
761
  slot?: boolean;
731
762
  slots?: Record<string, any>;
732
763
  props: Record<string, any>;
764
+ hideLabel?: boolean;
733
765
  };
734
766
  }): any;
735
767
  default?(_: {}): any;
@@ -750,6 +782,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
750
782
  immediate?: boolean;
751
783
  disabled?: boolean;
752
784
  labelsVisible?: boolean;
785
+ hideEmptyLabel?: boolean;
753
786
  showLabels?: boolean;
754
787
  }> & Readonly<{
755
788
  onReset?: (() => any) | undefined;
@@ -765,6 +798,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
765
798
  disabled: boolean;
766
799
  immediate: boolean;
767
800
  items: SearchItem[];
801
+ hideEmptyLabel: boolean;
768
802
  labelsVisible: boolean;
769
803
  showLabels: boolean;
770
804
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
@@ -791,6 +825,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
791
825
  disabled: boolean;
792
826
  immediate: boolean;
793
827
  items: SearchItem[];
828
+ hideEmptyLabel: boolean;
794
829
  labelsVisible: boolean;
795
830
  showLabels: boolean;
796
831
  }> & Omit<Readonly<{
@@ -799,11 +834,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
799
834
  immediate?: boolean;
800
835
  disabled?: boolean;
801
836
  labelsVisible?: boolean;
837
+ hideEmptyLabel?: boolean;
802
838
  showLabels?: boolean;
803
839
  }> & Readonly<{
804
840
  onReset?: (() => any) | undefined;
805
841
  onSearch?: ((params: Record<string, any>) => any) | undefined;
806
- }>, "reset" | "search" | "params" | ("disabled" | "immediate" | "items" | "labelsVisible" | "showLabels")> & {
842
+ }>, "reset" | "search" | "params" | ("disabled" | "immediate" | "items" | "hideEmptyLabel" | "labelsVisible" | "showLabels")> & {
807
843
  params: Record<string, any>;
808
844
  search: () => Promise<void>;
809
845
  reset: () => Promise<void>;
@@ -819,6 +855,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
819
855
  slot?: boolean;
820
856
  slots?: Record<string, any>;
821
857
  props: Record<string, any>;
858
+ hideLabel?: boolean;
822
859
  };
823
860
  }) => any>> & Partial<Record<string, (_: {
824
861
  model: Record<string, any>;
@@ -831,6 +868,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
831
868
  slot?: boolean;
832
869
  slots?: Record<string, any>;
833
870
  props: Record<string, any>;
871
+ hideLabel?: boolean;
834
872
  };
835
873
  }) => any>> & {
836
874
  actions?(_: {}): any;