@webitel/ui-sdk 26.6.82 → 26.6.83

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 "./components-rPVG1iQS.js";
1
+ import "./components-B2L1ZiHW.js";
2
2
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { l as t } from "./enums-De8CDKZ1.js";
4
4
  import { t as n } from "./wt-button-dC4nOW56.js";
@@ -1,4 +1,4 @@
1
- import { C as e, i as t } from "./components-rPVG1iQS.js";
1
+ import { C as e, i as t } from "./components-B2L1ZiHW.js";
2
2
  import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { t as r } from "./displayText-CtaxzaBz.js";
4
4
  import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c, createVNode as l, defineComponent as u, openBlock as d, renderList as f, renderSlot as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
@@ -1,5 +1,5 @@
1
- import { n as e, r as t } from "./clients-CIZxqjbV.js";
2
- import { n } from "./components-rPVG1iQS.js";
1
+ import { n as e, r as t } from "./clients-IxWZVjVW.js";
2
+ import { n } from "./components-B2L1ZiHW.js";
3
3
  import { t as r } from "./vue-i18n-Db_oYfO8.js";
4
4
  import { createBlock as i, createTextVNode as a, createVNode as o, defineComponent as s, inject as c, mergeProps as l, onMounted as u, openBlock as d, ref as f, resolveComponent as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
- import { t as e } from "./clients-CIZxqjbV.js";
2
- import { a as t, o as n, r, s as i } from "./components-rPVG1iQS.js";
1
+ import { t as e } from "./clients-IxWZVjVW.js";
2
+ import { a as t, o as n, r, s as i } from "./components-B2L1ZiHW.js";
3
3
  import { t as a } from "./enums-De8CDKZ1.js";
4
4
  import { t as o } from "./vue-i18n-Db_oYfO8.js";
5
5
  import { computed as s, createBlock as c, createCommentVNode as l, createVNode as u, defineComponent as d, mergeModels as f, mergeProps as p, openBlock as m, renderSlot as h, resolveComponent as g, unref as _, useModel as v } from "vue";
@@ -1,4 +1,4 @@
1
- import { w as e } from "./components-rPVG1iQS.js";
1
+ import { w as e } from "./components-B2L1ZiHW.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { l as n } from "./enums-De8CDKZ1.js";
4
4
  import "./wt-button-dC4nOW56.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.6.82",
3
+ "version": "26.6.83",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -44,7 +44,7 @@
44
44
  @before-show="onDropdownBeforeShow"
45
45
  @before-hide="onDropdownBeforeHide"
46
46
  @show="onDropdownShow"
47
- @hide="onDropdownHide"
47
+ @hide="handleDropdownHide"
48
48
  >
49
49
  <template v-if="!chipsView" #value="{ value, placeholder }">
50
50
  <span v-if="value && value.length">
@@ -209,6 +209,7 @@ const emit = defineEmits<{
209
209
  value: string,
210
210
  ];
211
211
  reset: [];
212
+ hide: [];
212
213
  }>();
213
214
 
214
215
  const {
@@ -261,6 +262,11 @@ const hasLabel = computed(() => {
261
262
  const requiredLabel = computed(() => {
262
263
  return props.required ? `${props.label}*` : props.label;
263
264
  });
265
+
266
+ const handleDropdownHide = () => {
267
+ onDropdownHide();
268
+ emit('hide');
269
+ };
264
270
  </script>
265
271
 
266
272
  <style scoped>
@@ -37,7 +37,7 @@
37
37
  @before-show="onDropdownBeforeShow"
38
38
  @before-hide="onDropdownBeforeHide"
39
39
  @show="onDropdownShow"
40
- @hide="onDropdownHide"
40
+ @hide="handleDropdownHide"
41
41
  >
42
42
  <template #header>
43
43
  <wt-input-text
@@ -176,6 +176,7 @@ const model = defineModel<string>({
176
176
 
177
177
  const emit = defineEmits<{
178
178
  reset: [];
179
+ hide: [];
179
180
  }>();
180
181
 
181
182
  const selectId = `select-${Math.random().toString(36).slice(2, 11)}`;
@@ -232,6 +233,11 @@ const hasLabel = computed(() => {
232
233
  const requiredLabel = computed(() => {
233
234
  return props.required ? `${props.label}*` : props.label;
234
235
  });
236
+
237
+ const handleDropdownHide = () => {
238
+ onDropdownHide();
239
+ emit('hide');
240
+ };
235
241
  </script>
236
242
 
237
243
  <style scoped>
@@ -30,8 +30,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
30
30
  focus: () => any;
31
31
  keydown: () => any;
32
32
  "update:modelValue": (...args: unknown[]) => any;
33
- show: () => any;
34
33
  hide: () => any;
34
+ show: () => any;
35
35
  "value-change": () => any;
36
36
  "date-select": () => any;
37
37
  "today-click": () => any;
@@ -44,8 +44,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
44
44
  onFocus?: () => any;
45
45
  onKeydown?: () => any;
46
46
  "onUpdate:modelValue"?: (...args: unknown[]) => any;
47
- onShow?: () => any;
48
47
  onHide?: () => any;
48
+ onShow?: () => any;
49
49
  "onValue-change"?: () => any;
50
50
  "onDate-select"?: () => any;
51
51
  "onToday-click"?: () => any;
@@ -59,10 +59,12 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
59
59
  reset: () => any;
60
60
  "update:modelValue": (value: any[]) => any;
61
61
  "add:custom-value": (value: string) => any;
62
+ hide: () => any;
62
63
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
63
64
  onReset?: () => any;
64
65
  "onUpdate:modelValue"?: (value: any[]) => any;
65
66
  "onAdd:custom-value"?: (value: string) => any;
67
+ onHide?: () => any;
66
68
  }>, {
67
69
  options: unknown[];
68
70
  customValidators: unknown[];
@@ -20,11 +20,11 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {
20
20
  show: (event?: Event, target?: HTMLElement | null | undefined) => void;
21
21
  hide: (event?: Event) => void;
22
22
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
- show: () => any;
24
23
  hide: () => any;
24
+ show: () => any;
25
25
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
26
- onShow?: () => any;
27
26
  onHide?: () => any;
27
+ onShow?: () => any;
28
28
  }>, {
29
29
  dt: import("@primevue/core").DesignToken<any>;
30
30
  disabled: boolean;
@@ -62,9 +62,11 @@ type __VLS_Slots = {} & {
62
62
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
63
63
  reset: () => any;
64
64
  "update:modelValue": (value: string) => any;
65
+ hide: () => any;
65
66
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
66
67
  onReset?: () => any;
67
68
  "onUpdate:modelValue"?: (value: string) => any;
69
+ onHide?: () => any;
68
70
  }>, {
69
71
  options: unknown[];
70
72
  customValidators: unknown[];
@@ -10,16 +10,16 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
10
10
  default: () => any[];
11
11
  };
12
12
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- show: (...args: any[]) => void;
14
13
  hide: (...args: any[]) => void;
14
+ show: (...args: any[]) => void;
15
15
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
16
  triggers: {
17
17
  type: ArrayConstructor;
18
18
  default: () => any[];
19
19
  };
20
20
  }>> & Readonly<{
21
- onShow?: (...args: any[]) => any;
22
21
  onHide?: (...args: any[]) => any;
22
+ onShow?: (...args: any[]) => any;
23
23
  }>, {
24
24
  triggers: unknown[];
25
25
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;