@zl-ui-kit/components 0.18.1 → 0.18.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.
package/README.md CHANGED
@@ -1484,6 +1484,17 @@ const items: FormItem[] = [
1484
1484
 
1485
1485
  > `rules` 必须写在 `formItemProps` 里:item 上除上述字段外的键会被当作**控件 props** 透传给控件,写错不会报错、但校验不生效。
1486
1486
 
1487
+ **表单项不显示 label(不占位)**:给组件传 `:hide-empty-label="true"`,并把该项 `label` 置为空字符串 `''`——
1488
+ 该项将**不渲染 label 列**、控件直接顶到最左(其余有 label 的项不受影响)。适合检索栏里「筛选项与本页标题重复」等不需要 label 的场景:
1489
+
1490
+ ```vue
1491
+ <ZlForm :model="form" :items="items" label-width="auto" hide-empty-label>
1492
+ <!-- items 中含 { model: 'keyword', label: '', component: 'el-input', ... } 的项即无 label 占位 -->
1493
+ </ZlForm>
1494
+ ```
1495
+
1496
+ > `hide-empty-label` 只对 `label` 为空的项生效;`ZlSearch` / `ZlSearchTable` / `ZlCardPage` 均透传同名单该 prop(用于其 `items` / `queryItems`)。
1497
+
1487
1498
  ### ZlSearch —— 查询条
1488
1499
 
1489
1500
  `items: SearchItem[]`,与 `ZlForm` 的 `items` **同一套 schema**:基础查询项直接 `component` + `props` 配置(不用写模板),
@@ -3790,7 +3801,7 @@ const { i18n } = useLocale({ messages })
3790
3801
  | [`ZlAvatar`](#zlavatar) | 主入口 | 3 | 0 | 0 | 0 |
3791
3802
  | [`ZlAvatarGroup`](#zlavatargroup) | 主入口 | 3 | 0 | 0 | 0 |
3792
3803
  | [`ZlCard`](#zlcard) | 主入口 | 3 | 0 | 8 | 0 |
3793
- | [`ZlCardPage`](#zlcardpage) | 主入口 | 6 | 1 | 3 | 3 |
3804
+ | [`ZlCardPage`](#zlcardpage) | 主入口 | 7 | 1 | 3 | 3 |
3794
3805
  | [`ZlCheckAll`](#zlcheckall) | 主入口 | 2 | 1 | 0 | 0 |
3795
3806
  | [`ZlCheckboxTag`](#zlcheckboxtag) | 主入口 | 7 | 1 | 1 | 0 |
3796
3807
  | [`ZlCopy`](#zlcopy) | 主入口 | 2 | 0 | 2 | 0 |
@@ -3803,7 +3814,7 @@ const { i18n } = useLocale({ messages })
3803
3814
  | [`ZlLogin`](#zllogin) | 主入口 | 2 | 0 | 2 | 0 |
3804
3815
  | [`ZlLoginForm`](#zlloginform) | 主入口 | 1 | 0 | 1 | 0 |
3805
3816
  | [`ZlEmpty`](#zlempty) | 主入口 | 2 | 0 | 0 | 0 |
3806
- | [`ZlForm`](#zlform) | 主入口 | 2 | 0 | 3 | 9 |
3817
+ | [`ZlForm`](#zlform) | 主入口 | 3 | 0 | 3 | 9 |
3807
3818
  | [`ZlFormChild`](#zlformchild) | 主入口 | 1 | 0 | 0 | 0 |
3808
3819
  | [`ZlGridItem`](#zlgriditem) | 主入口 | 1 | 0 | 1 | 0 |
3809
3820
  | [`ZlGrid`](#zlgrid) | 主入口 | 9 | 0 | 2 | 0 |
@@ -3819,8 +3830,8 @@ const { i18n } = useLocale({ messages })
3819
3830
  | [`ZlPermission`](#zlpermission) | 主入口 | 1 | 0 | 1 | 0 |
3820
3831
  | [`ZlPopconfirm`](#zlpopconfirm) | 主入口 | 4 | 2 | 3 | 0 |
3821
3832
  | [`ZlRadioTag`](#zlradiotag) | 主入口 | 3 | 1 | 1 | 0 |
3822
- | [`ZlSearch`](#zlsearch) | 主入口 | 6 | 2 | 2 | 3 |
3823
- | [`ZlSearchTable`](#zlsearchtable) | 主入口 | 5 | 1 | 3 | 4 |
3833
+ | [`ZlSearch`](#zlsearch) | 主入口 | 7 | 2 | 2 | 3 |
3834
+ | [`ZlSearchTable`](#zlsearchtable) | 主入口 | 6 | 1 | 3 | 4 |
3824
3835
  | [`ZlSection`](#zlsection) | 主入口 | 4 | 0 | 3 | 0 |
3825
3836
  | [`ZlSorter`](#zlsorter) | 主入口 | 2 | 2 | 1 | 0 |
3826
3837
  | [`ZlSorterList`](#zlsorterlist) | 主入口 | 2 | 1 | 0 | 0 |
@@ -4239,7 +4250,7 @@ import { ZlCard } from '@zl-ui-kit/components'
4239
4250
 
4240
4251
  <sub>入口 `@zl-ui-kit/components` · 源码 `packages/components/src/components/ZlCardPage/index.vue`</sub>
4241
4252
 
4242
- **接口概览**:6 props · 1 事件 · 3 插槽 · 3 暴露
4253
+ **接口概览**:7 props · 1 事件 · 3 插槽 · 3 暴露
4243
4254
 
4244
4255
  **用法示例**
4245
4256
 
@@ -4249,7 +4260,7 @@ import { ZlCardPage } from '@zl-ui-kit/components'
4249
4260
  </script>
4250
4261
 
4251
4262
  <template>
4252
- <ZlCardPage :request="mockPageRequest" card-min-width="200px" :query-items="queryItems" />
4263
+ <ZlCardPage :request="mockPageRequest" card-min-width="200px" hide-empty-label :query-items="queryItems" />
4253
4264
  </template>
4254
4265
  ```
4255
4266
 
@@ -4269,14 +4280,15 @@ import { ZlCardPage } from '@zl-ui-kit/components'
4269
4280
 
4270
4281
  **props**
4271
4282
 
4272
- | 属性 | 类型 | 默认值 | 必填 | 示例 | 说明 |
4273
- | -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ---- | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
4274
- | `immediate` | `boolean` | `true` | 否 | `:immediate="false"` | 无查询条件时是否立即发起首次请求 |
4275
- | `request` | `\| ((...args: any[]) => Promise<any>) \| { service: (...args: any[]) => Promise<any>; options?: Record<string, any> } \| UseRequestInstance` | — | 是 | `:request="async () => {}"` | 请求来源,三种形态任一: 1. 请求函数 `(...args) => Promise` 2. `{ service, options }` 对象(ZlCardPage 内部再包一层 usePageableRequest) 3. `useRequest` / `usePageableRequest` 实例(消费方自行创建,便于接管 loading/refresh) |
4276
- | `queryItems` | `SearchItem[]` | `() => []` | 否 | `:query-items="queryItems"` | 搜索表单项配置,为空则不渲染搜索栏 |
4277
- | `pagination` | `Record<string, any> \| boolean` | `true` | 否 | `:pagination="{}"` | 分页配置,false 关闭分页,对象则透传 |
4278
- | `itemKey` | `string` | `'id'` | 否 | `item-key="id"` | 卡片数据的唯一键字段名,默认 id |
4279
- | `cardMinWidth` | `string` | — | 否 | `card-min-width="280px"` | 卡片最小宽度,决定单行能放几列 |
4283
+ | 属性 | 类型 | 默认值 | 必填 | 示例 | 说明 |
4284
+ | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ---- | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
4285
+ | `immediate` | `boolean` | `true` | 否 | `:immediate="false"` | 无查询条件时是否立即发起首次请求 |
4286
+ | `request` | `\| ((...args: any[]) => Promise<any>) \| { service: (...args: any[]) => Promise<any>; options?: Record<string, any> } \| UseRequestInstance` | — | 是 | `:request="async () => {}"` | 请求来源,三种形态任一: 1. 请求函数 `(...args) => Promise` 2. `{ service, options }` 对象(ZlCardPage 内部再包一层 usePageableRequest) 3. `useRequest` / `usePageableRequest` 实例(消费方自行创建,便于接管 loading/refresh) |
4287
+ | `queryItems` | `SearchItem[]` | `() => []` | 否 | `:query-items="queryItems"` | 搜索表单项配置,为空则不渲染搜索栏 |
4288
+ | `hideEmptyLabel` | `boolean` | `false` | 否 | `hide-empty-label` | 搜索项 label 为空时是否不渲染 label 占位,透传给 ZlSearch / ZlForm 的 hideEmptyLabel |
4289
+ | `pagination` | `Record<string, any> \| boolean` | `true` | 否 | `:pagination="{}"` | 分页配置,false 关闭分页,对象则透传 |
4290
+ | `itemKey` | `string` | `'id'` | 否 | `item-key="id"` | 卡片数据的唯一键字段名,默认 id |
4291
+ | `cardMinWidth` | `string` | — | 否 | `card-min-width="280px"` | 卡片最小宽度,决定单行能放几列 |
4280
4292
 
4281
4293
  **事件(emits)**
4282
4294
 
@@ -4817,7 +4829,7 @@ import { ZlEmpty } from '@zl-ui-kit/components'
4817
4829
 
4818
4830
  **简介**:表单:`items` schema 驱动,控件由 `component`/`props` 描述; 单字段可用 `#<model>` 插槽整块接管,未声明的入参与事件透传给 `el-form`
4819
4831
 
4820
- **接口概览**:2 props · 3 插槽 · 9 暴露
4832
+ **接口概览**:3 props · 3 插槽 · 9 暴露
4821
4833
 
4822
4834
  **用法示例**
4823
4835
 
@@ -4847,10 +4859,11 @@ import { ZlForm } from '@zl-ui-kit/components'
4847
4859
 
4848
4860
  **props**
4849
4861
 
4850
- | 属性 | 类型 | 默认值 | 必填 | 示例 | 说明 |
4851
- | ------- | --------------------- | ---------- | ---- | ---------------- | ----------------------------------- |
4852
- | `items` | `FormItem[]` | `() => []` | 否 | `:items="items"` | 表单字段 schema,决定渲染哪些表单项 |
4853
- | `model` | `Record<string, any>` | — | 否 | `:model="{}"` | 表单值对象,不传时由组件内部自建 |
4862
+ | 属性 | 类型 | 默认值 | 必填 | 示例 | 说明 |
4863
+ | ---------------- | --------------------- | ---------- | ---- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |
4864
+ | `items` | `FormItem[]` | `() => []` | 否 | `:items="items"` | 表单字段 schema,决定渲染哪些表单项 |
4865
+ | `model` | `Record<string, any>` | — | 否 | `:model="{}"` | 表单值对象,不传时由组件内部自建 |
4866
+ | `hideEmptyLabel` | `boolean` | — | 否 | `hide-empty-label` | 表单项 `label` 为空字符串/缺省时不渲染 label 占位(控件直接顶到最左)。 默认 false:即使 label 为空,EP 也会因 #label 插槽存在而保留 label 列占位 |
4854
4867
 
4855
4868
  > 暴露对象是 `Proxy`:下表为显式实现的能力,**未列出的键会运行时下钻到内部实例**(不建议依赖,请用上表的实例 getter 取原生对象)
4856
4869
  > 把 `$attrs` 透传给 `el-form`,未列出的属性会继续下传
@@ -5524,7 +5537,7 @@ import { ZlRadioTag } from '@zl-ui-kit/components'
5524
5537
 
5525
5538
  **简介**:查询条:表单项按容器宽度自适应排列(auto-fill 网格),放不下的项自动隐藏, 并在「查询」左侧给出展开按钮(点击后在查询条上层展开全量表单,再点收起)。
5526
5539
 
5527
- **接口概览**:6 props · 2 事件 · 2 插槽 · 3 暴露
5540
+ **接口概览**:7 props · 2 事件 · 2 插槽 · 3 暴露
5528
5541
 
5529
5542
  **用法示例**
5530
5543
 
@@ -5534,7 +5547,7 @@ import { ZlSearch } from '@zl-ui-kit/components'
5534
5547
  </script>
5535
5548
 
5536
5549
  <template>
5537
- <ZlSearch :items="items" />
5550
+ <ZlSearch hide-empty-label :items="items" />
5538
5551
  </template>
5539
5552
  ```
5540
5553
 
@@ -5553,14 +5566,15 @@ import { ZlSearch } from '@zl-ui-kit/components'
5553
5566
 
5554
5567
  **props**
5555
5568
 
5556
- | 属性 | 类型 | 默认值 | 必填 | 示例 | 说明 |
5557
- | --------------- | --------------------- | ----------- | ---- | -------------------- | -------------------------------------------------------------------------------------------- |
5558
- | `items` | `SearchItem[]` | `() => []` | 否 | `:items="items"` | 查询项定义(SearchItem[]),按数组顺序排列 |
5559
- | `model` | `Record<string, any>` | — | 否 | `:model="{}"` | 表单数据。传入时组件直接读写该对象(受控); 不传则用内部副本,`params` / 标签行仍可正常工作 |
5560
- | `immediate` | `boolean` | `true` | 否 | `:immediate="false"` | 挂载后立即执行一次查询(默认 true) |
5561
- | `disabled` | `boolean` | `false` | 否 | `disabled` | 禁用全部查询项 |
5562
- | `labelsVisible` | `boolean` | `undefined` | 否 | `labels-visible` | 是否展示「筛选条件」标签行;不传时按「是否发生溢出」自动判定 |
5563
- | `showLabels` | `boolean` | `undefined` | 否 | `show-labels` | 已废弃,请用 `labelsVisible` |
5569
+ | 属性 | 类型 | 默认值 | 必填 | 示例 | 说明 |
5570
+ | ---------------- | --------------------- | ----------- | ---- | -------------------- | -------------------------------------------------------------------------------------------- |
5571
+ | `items` | `SearchItem[]` | `() => []` | 否 | `:items="items"` | 查询项定义(SearchItem[]),按数组顺序排列 |
5572
+ | `model` | `Record<string, any>` | — | 否 | `:model="{}"` | 表单数据。传入时组件直接读写该对象(受控); 不传则用内部副本,`params` / 标签行仍可正常工作 |
5573
+ | `immediate` | `boolean` | `true` | 否 | `:immediate="false"` | 挂载后立即执行一次查询(默认 true) |
5574
+ | `disabled` | `boolean` | `false` | 否 | `disabled` | 禁用全部查询项 |
5575
+ | `labelsVisible` | `boolean` | `undefined` | 否 | `labels-visible` | 是否展示「筛选条件」标签行;不传时按「是否发生溢出」自动判定 |
5576
+ | `hideEmptyLabel` | `boolean` | `false` | 否 | `hide-empty-label` | 表单项 label 为空时是否不渲染 label 占位,透传给 ZlForm 的 hideEmptyLabel |
5577
+ | `showLabels` | `boolean` | `undefined` | 否 | `show-labels` | 已废弃,请用 `labelsVisible` |
5564
5578
 
5565
5579
  **事件(emits)**
5566
5580
 
@@ -5588,7 +5602,7 @@ import { ZlSearch } from '@zl-ui-kit/components'
5588
5602
 
5589
5603
  <sub>入口 `@zl-ui-kit/components` · 源码 `packages/components/src/components/ZlSearchTable/index.vue`</sub>
5590
5604
 
5591
- **接口概览**:5 props · 1 事件 · 3 插槽 · 4 暴露
5605
+ **接口概览**:6 props · 1 事件 · 3 插槽 · 4 暴露
5592
5606
 
5593
5607
  **用法示例**
5594
5608
 
@@ -5601,6 +5615,7 @@ import { ZlSearchTable } from '@zl-ui-kit/components'
5601
5615
  <ZlSearchTable
5602
5616
  :request="mockPageRequest"
5603
5617
  :columns="columns"
5618
+ hide-empty-label
5604
5619
  :query-items="queryItems"
5605
5620
  :pagination="{ pageSize: 5 }"
5606
5621
  height="340"
@@ -5624,13 +5639,14 @@ import { ZlSearchTable } from '@zl-ui-kit/components'
5624
5639
 
5625
5640
  **props**
5626
5641
 
5627
- | 属性 | 类型 | 默认值 | 必填 | 示例 | 说明 |
5628
- | ------------ | ----------------------------------------------------------------------------------------------------------------------------- | ---------- | ---- | --------------------------- | --------------------------------------------------------------- |
5629
- | `immediate` | `boolean` | `true` | 否 | `:immediate="false"` | 挂载后立即请求首屏数据,默认 true |
5630
- | `request` | `\| ((...args: any[]) => Promise<any>) \| { service: (...args: any[]) => Promise<any>; options?: Record<string, any> }` | — | 是 | `:request="async () => {}"` | 请求函数,或 { service, options }(usePageableRequest options) |
5631
- | `columns` | `TableColumn[]` | `() => []` | 否 | `:columns="columns"` | 表格列定义,决定有哪些列及其渲染方式 |
5632
- | `queryItems` | `SearchItem[]` | `() => []` | 否 | `:query-items="queryItems"` | 查询区的表单项;为空且不传 search-actions 插槽时不渲染查询条 |
5633
- | `pagination` | `Record<string, any> \| boolean` | — | 否 | `:pagination="{}"` | 分页配置;传 false 关闭分页 |
5642
+ | 属性 | 类型 | 默认值 | 必填 | 示例 | 说明 |
5643
+ | ---------------- | ----------------------------------------------------------------------------------------------------------------------------- | ---------- | ---- | --------------------------- | ------------------------------------------------------------------------------------ |
5644
+ | `immediate` | `boolean` | `true` | 否 | `:immediate="false"` | 挂载后立即请求首屏数据,默认 true |
5645
+ | `request` | `\| ((...args: any[]) => Promise<any>) \| { service: (...args: any[]) => Promise<any>; options?: Record<string, any> }` | — | 是 | `:request="async () => {}"` | 请求函数,或 { service, options }(usePageableRequest options) |
5646
+ | `columns` | `TableColumn[]` | `() => []` | 否 | `:columns="columns"` | 表格列定义,决定有哪些列及其渲染方式 |
5647
+ | `queryItems` | `SearchItem[]` | `() => []` | 否 | `:query-items="queryItems"` | 查询区的表单项;为空且不传 search-actions 插槽时不渲染查询条 |
5648
+ | `pagination` | `Record<string, any> \| boolean` | — | 否 | `:pagination="{}"` | 分页配置;传 false 关闭分页 |
5649
+ | `hideEmptyLabel` | `boolean` | `false` | 否 | `hide-empty-label` | 查询项 label 为空时是否不渲染 label 占位,透传给 ZlSearch / ZlForm 的 hideEmptyLabel |
5634
5650
 
5635
5651
  > 把 `$attrs` 透传给 `ZlTable`,未列出的属性会继续下传
5636
5652
 
@@ -30,6 +30,8 @@ type __VLS_Props = {
30
30
  } | UseRequestInstance;
31
31
  /** 搜索表单项配置,为空则不渲染搜索栏 */
32
32
  queryItems?: SearchItem[];
33
+ /** 搜索项 label 为空时是否不渲染 label 占位,透传给 ZlSearch / ZlForm 的 hideEmptyLabel */
34
+ hideEmptyLabel?: boolean;
33
35
  /** 分页配置,false 关闭分页,对象则透传 */
34
36
  pagination?: Record<string, any> | boolean;
35
37
  /** 卡片数据的唯一键字段名,默认 id */
@@ -54,6 +56,7 @@ declare function __VLS_template(): {
54
56
  slot?: boolean;
55
57
  slots?: Record<string, any>;
56
58
  props: Record<string, any>;
59
+ hideLabel?: boolean;
57
60
  };
58
61
  }) => any>> & {
59
62
  'search-actions'?(_: {}): any;
@@ -72,6 +75,7 @@ declare function __VLS_template(): {
72
75
  readonly immediate?: boolean | undefined;
73
76
  readonly disabled?: boolean | undefined;
74
77
  readonly labelsVisible?: boolean | undefined;
78
+ readonly hideEmptyLabel?: boolean | undefined;
75
79
  readonly showLabels?: boolean | undefined;
76
80
  readonly onReset?: (() => any) | undefined;
77
81
  readonly onSearch?: ((params: Record<string, any>) => any) | undefined;
@@ -86,6 +90,7 @@ declare function __VLS_template(): {
86
90
  $props: {
87
91
  readonly items: import('../..').FormItem[];
88
92
  readonly model?: Record<string, any> | undefined;
93
+ readonly hideEmptyLabel?: boolean | undefined;
89
94
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
90
95
  $attrs: import('vue').Attrs;
91
96
  $refs: {
@@ -104,6 +109,7 @@ declare function __VLS_template(): {
104
109
  $options: import('vue').ComponentOptionsBase<Readonly<{
105
110
  items: import('../..').FormItem[];
106
111
  model?: Record<string, any>;
112
+ hideEmptyLabel?: boolean;
107
113
  }> & Readonly<{}>, {
108
114
  validate: (callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
109
115
  validateField: (props?: string | string[], callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
@@ -141,6 +147,7 @@ declare function __VLS_template(): {
141
147
  }> & Omit<Readonly<{
142
148
  items: import('../..').FormItem[];
143
149
  model?: Record<string, any>;
150
+ hideEmptyLabel?: boolean;
144
151
  }> & Readonly<{}>, "items" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "setInitialValues" | "elForm" | "fields"> & {
145
152
  validate: (callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
146
153
  validateField: (props?: string | string[], callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
@@ -163,6 +170,7 @@ declare function __VLS_template(): {
163
170
  slot?: boolean;
164
171
  slots?: Record<string, any>;
165
172
  props: Record<string, any>;
173
+ hideLabel?: boolean;
166
174
  };
167
175
  }) => any>> & {
168
176
  label?(_: {
@@ -176,6 +184,7 @@ declare function __VLS_template(): {
176
184
  slot?: boolean;
177
185
  slots?: Record<string, any>;
178
186
  props: Record<string, any>;
187
+ hideLabel?: boolean;
179
188
  };
180
189
  }): any;
181
190
  default?(_: {}): any;
@@ -187,6 +196,7 @@ declare function __VLS_template(): {
187
196
  $props: {
188
197
  readonly items: import('../..').FormItem[];
189
198
  readonly model?: Record<string, any> | undefined;
199
+ readonly hideEmptyLabel?: boolean | undefined;
190
200
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
191
201
  $attrs: import('vue').Attrs;
192
202
  $refs: {
@@ -205,6 +215,7 @@ declare function __VLS_template(): {
205
215
  $options: import('vue').ComponentOptionsBase<Readonly<{
206
216
  items: import('../..').FormItem[];
207
217
  model?: Record<string, any>;
218
+ hideEmptyLabel?: boolean;
208
219
  }> & Readonly<{}>, {
209
220
  validate: (callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
210
221
  validateField: (props?: string | string[], callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
@@ -242,6 +253,7 @@ declare function __VLS_template(): {
242
253
  }> & Omit<Readonly<{
243
254
  items: import('../..').FormItem[];
244
255
  model?: Record<string, any>;
256
+ hideEmptyLabel?: boolean;
245
257
  }> & Readonly<{}>, "items" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "setInitialValues" | "elForm" | "fields"> & {
246
258
  validate: (callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
247
259
  validateField: (props?: string | string[], callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
@@ -264,6 +276,7 @@ declare function __VLS_template(): {
264
276
  slot?: boolean;
265
277
  slots?: Record<string, any>;
266
278
  props: Record<string, any>;
279
+ hideLabel?: boolean;
267
280
  };
268
281
  }) => any>> & {
269
282
  label?(_: {
@@ -277,6 +290,7 @@ declare function __VLS_template(): {
277
290
  slot?: boolean;
278
291
  slots?: Record<string, any>;
279
292
  props: Record<string, any>;
293
+ hideLabel?: boolean;
280
294
  };
281
295
  }): any;
282
296
  default?(_: {}): any;
@@ -297,6 +311,7 @@ declare function __VLS_template(): {
297
311
  immediate?: boolean;
298
312
  disabled?: boolean;
299
313
  labelsVisible?: boolean;
314
+ hideEmptyLabel?: boolean;
300
315
  showLabels?: boolean;
301
316
  }> & Readonly<{
302
317
  onReset?: (() => any) | undefined;
@@ -312,6 +327,7 @@ declare function __VLS_template(): {
312
327
  disabled: boolean;
313
328
  immediate: boolean;
314
329
  items: SearchItem[];
330
+ hideEmptyLabel: boolean;
315
331
  labelsVisible: boolean;
316
332
  showLabels: boolean;
317
333
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
@@ -338,6 +354,7 @@ declare function __VLS_template(): {
338
354
  disabled: boolean;
339
355
  immediate: boolean;
340
356
  items: SearchItem[];
357
+ hideEmptyLabel: boolean;
341
358
  labelsVisible: boolean;
342
359
  showLabels: boolean;
343
360
  }> & Omit<Readonly<{
@@ -346,11 +363,12 @@ declare function __VLS_template(): {
346
363
  immediate?: boolean;
347
364
  disabled?: boolean;
348
365
  labelsVisible?: boolean;
366
+ hideEmptyLabel?: boolean;
349
367
  showLabels?: boolean;
350
368
  }> & Readonly<{
351
369
  onReset?: (() => any) | undefined;
352
370
  onSearch?: ((params: Record<string, any>) => any) | undefined;
353
- }>, "reset" | "search" | "params" | ("disabled" | "immediate" | "items" | "labelsVisible" | "showLabels")> & {
371
+ }>, "reset" | "search" | "params" | ("disabled" | "immediate" | "items" | "hideEmptyLabel" | "labelsVisible" | "showLabels")> & {
354
372
  params: Record<string, any>;
355
373
  search: () => Promise<void>;
356
374
  reset: () => Promise<void>;
@@ -366,6 +384,7 @@ declare function __VLS_template(): {
366
384
  slot?: boolean;
367
385
  slots?: Record<string, any>;
368
386
  props: Record<string, any>;
387
+ hideLabel?: boolean;
369
388
  };
370
389
  }) => any>> & Partial<Record<string, (_: {
371
390
  model: Record<string, any>;
@@ -378,6 +397,7 @@ declare function __VLS_template(): {
378
397
  slot?: boolean;
379
398
  slots?: Record<string, any>;
380
399
  props: Record<string, any>;
400
+ hideLabel?: boolean;
381
401
  };
382
402
  }) => any>> & {
383
403
  actions?(_: {}): any;
@@ -400,6 +420,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
400
420
  "onSearch-reset"?: (() => any) | undefined;
401
421
  }>, {
402
422
  immediate: boolean;
423
+ hideEmptyLabel: boolean;
403
424
  queryItems: SearchItem[];
404
425
  pagination: Record<string, any> | boolean;
405
426
  itemKey: string;
@@ -413,6 +434,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
413
434
  readonly immediate?: boolean | undefined;
414
435
  readonly disabled?: boolean | undefined;
415
436
  readonly labelsVisible?: boolean | undefined;
437
+ readonly hideEmptyLabel?: boolean | undefined;
416
438
  readonly showLabels?: boolean | undefined;
417
439
  readonly onReset?: (() => any) | undefined;
418
440
  readonly onSearch?: ((params: Record<string, any>) => any) | undefined;
@@ -427,6 +449,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
427
449
  $props: {
428
450
  readonly items: import('../..').FormItem[];
429
451
  readonly model?: Record<string, any> | undefined;
452
+ readonly hideEmptyLabel?: boolean | undefined;
430
453
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
431
454
  $attrs: import('vue').Attrs;
432
455
  $refs: {
@@ -445,6 +468,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
445
468
  $options: import('vue').ComponentOptionsBase<Readonly<{
446
469
  items: import('../..').FormItem[];
447
470
  model?: Record<string, any>;
471
+ hideEmptyLabel?: boolean;
448
472
  }> & Readonly<{}>, {
449
473
  validate: (callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
450
474
  validateField: (props?: string | string[], callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
@@ -482,6 +506,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
482
506
  }> & Omit<Readonly<{
483
507
  items: import('../..').FormItem[];
484
508
  model?: Record<string, any>;
509
+ hideEmptyLabel?: boolean;
485
510
  }> & Readonly<{}>, "items" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "setInitialValues" | "elForm" | "fields"> & {
486
511
  validate: (callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
487
512
  validateField: (props?: string | string[], callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
@@ -504,6 +529,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
504
529
  slot?: boolean;
505
530
  slots?: Record<string, any>;
506
531
  props: Record<string, any>;
532
+ hideLabel?: boolean;
507
533
  };
508
534
  }) => any>> & {
509
535
  label?(_: {
@@ -517,6 +543,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
517
543
  slot?: boolean;
518
544
  slots?: Record<string, any>;
519
545
  props: Record<string, any>;
546
+ hideLabel?: boolean;
520
547
  };
521
548
  }): any;
522
549
  default?(_: {}): any;
@@ -528,6 +555,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
528
555
  $props: {
529
556
  readonly items: import('../..').FormItem[];
530
557
  readonly model?: Record<string, any> | undefined;
558
+ readonly hideEmptyLabel?: boolean | undefined;
531
559
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
532
560
  $attrs: import('vue').Attrs;
533
561
  $refs: {
@@ -546,6 +574,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
546
574
  $options: import('vue').ComponentOptionsBase<Readonly<{
547
575
  items: import('../..').FormItem[];
548
576
  model?: Record<string, any>;
577
+ hideEmptyLabel?: boolean;
549
578
  }> & Readonly<{}>, {
550
579
  validate: (callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
551
580
  validateField: (props?: string | string[], callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
@@ -583,6 +612,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
583
612
  }> & Omit<Readonly<{
584
613
  items: import('../..').FormItem[];
585
614
  model?: Record<string, any>;
615
+ hideEmptyLabel?: boolean;
586
616
  }> & Readonly<{}>, "items" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "setInitialValues" | "elForm" | "fields"> & {
587
617
  validate: (callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
588
618
  validateField: (props?: string | string[], callback?: (isValid: boolean, invalidFields?: Record<string, any>) => void) => Promise<boolean>;
@@ -605,6 +635,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
605
635
  slot?: boolean;
606
636
  slots?: Record<string, any>;
607
637
  props: Record<string, any>;
638
+ hideLabel?: boolean;
608
639
  };
609
640
  }) => any>> & {
610
641
  label?(_: {
@@ -618,6 +649,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
618
649
  slot?: boolean;
619
650
  slots?: Record<string, any>;
620
651
  props: Record<string, any>;
652
+ hideLabel?: boolean;
621
653
  };
622
654
  }): any;
623
655
  default?(_: {}): any;
@@ -638,6 +670,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
638
670
  immediate?: boolean;
639
671
  disabled?: boolean;
640
672
  labelsVisible?: boolean;
673
+ hideEmptyLabel?: boolean;
641
674
  showLabels?: boolean;
642
675
  }> & Readonly<{
643
676
  onReset?: (() => any) | undefined;
@@ -653,6 +686,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
653
686
  disabled: boolean;
654
687
  immediate: boolean;
655
688
  items: SearchItem[];
689
+ hideEmptyLabel: boolean;
656
690
  labelsVisible: boolean;
657
691
  showLabels: boolean;
658
692
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
@@ -679,6 +713,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
679
713
  disabled: boolean;
680
714
  immediate: boolean;
681
715
  items: SearchItem[];
716
+ hideEmptyLabel: boolean;
682
717
  labelsVisible: boolean;
683
718
  showLabels: boolean;
684
719
  }> & Omit<Readonly<{
@@ -687,11 +722,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
687
722
  immediate?: boolean;
688
723
  disabled?: boolean;
689
724
  labelsVisible?: boolean;
725
+ hideEmptyLabel?: boolean;
690
726
  showLabels?: boolean;
691
727
  }> & Readonly<{
692
728
  onReset?: (() => any) | undefined;
693
729
  onSearch?: ((params: Record<string, any>) => any) | undefined;
694
- }>, "reset" | "search" | "params" | ("disabled" | "immediate" | "items" | "labelsVisible" | "showLabels")> & {
730
+ }>, "reset" | "search" | "params" | ("disabled" | "immediate" | "items" | "hideEmptyLabel" | "labelsVisible" | "showLabels")> & {
695
731
  params: Record<string, any>;
696
732
  search: () => Promise<void>;
697
733
  reset: () => Promise<void>;
@@ -707,6 +743,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
707
743
  slot?: boolean;
708
744
  slots?: Record<string, any>;
709
745
  props: Record<string, any>;
746
+ hideLabel?: boolean;
710
747
  };
711
748
  }) => any>> & Partial<Record<string, (_: {
712
749
  model: Record<string, any>;
@@ -719,6 +756,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
719
756
  slot?: boolean;
720
757
  slots?: Record<string, any>;
721
758
  props: Record<string, any>;
759
+ hideLabel?: boolean;
722
760
  };
723
761
  }) => any>> & {
724
762
  actions?(_: {}): any;