@webitel/ui-datalist 26.8.18 → 26.8.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-datalist",
3
- "version": "26.8.18",
3
+ "version": "26.8.19",
4
4
  "description": "Toolkit for building data lists in webitel ui system",
5
5
  "scripts": {
6
6
  "build:types": "vue-tsc -b tsconfig.build.json",
@@ -22,7 +22,7 @@ describe('HasOptionFilterValueField label', () => {
22
22
  expect(wrapper.find('.wt-select__label').text()).toContain('Rated');
23
23
  });
24
24
 
25
- it('still respects an explicit hideLabel, e.g. has-user-filter-value-field always passing it', () => {
25
+ it('still respects an explicit hideLabel', () => {
26
26
  const filterConfig = createFilterConfig({
27
27
  name: FilterOption.Rated,
28
28
  showFilterName: true,
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <has-option-filter-value-field
3
+ :filter-config="filterConfig"
3
4
  :model-value="model"
4
5
  :v="v$?.model"
5
- hide-label
6
6
  @update:model-value="model = $event"
7
7
  />
8
8
  </template>
@@ -16,9 +16,8 @@ import { BooleanFilterModelValue } from '../../enums/options/BooleanFilterOption
16
16
  import HasOptionFilterValueField from '../_shared/has-options/has-option-filter-value-field.vue';
17
17
 
18
18
  const props = defineProps<{
19
- filterConfig: WtSysTypeFilterConfig;
19
+ filterConfig?: WtSysTypeFilterConfig;
20
20
  disableValidation?: boolean;
21
- hideLabel?: boolean;
22
21
  }>();
23
22
 
24
23
  const model = defineModel<BooleanFilterModelValue | null>();