@webitel/ui-sdk 26.8.11 → 26.8.12

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.
Files changed (30) hide show
  1. package/dist/{components-BLEJ4Oo8.js → components--U8hCdMV.js} +6 -6
  2. package/dist/ui-sdk.css +1 -1
  3. package/dist/ui-sdk.js +1 -1
  4. package/dist/ui-sdk.umd.cjs +2 -2
  5. package/dist/{wt-chat-emoji-_A9gvxUy.js → wt-chat-emoji-DGEqinz9.js} +1 -1
  6. package/dist/{wt-display-chip-items-CiUuothL.js → wt-display-chip-items-C8ucU1uX.js} +1 -1
  7. package/dist/{wt-send-message-popup-ClhwtLh1.js → wt-send-message-popup-Dfrl_T0n.js} +1 -1
  8. package/dist/{wt-timepicker-Bmyt8-Tx.js → wt-timepicker-CB8HzUZw.js} +1 -1
  9. package/dist/{wt-type-extension-value-input-CnIycAjD.js → wt-type-extension-value-input-BvbsDPZY.js} +1 -1
  10. package/dist/{wt-vidstack-player-C9oh23wo.js → wt-vidstack-player-BEYcf_KT.js} +1 -1
  11. package/package.json +1 -1
  12. package/src/components/wt-input-number/wt-input-number.vue +2 -2
  13. package/src/components/wt-input-text/wt-input-text.vue +2 -2
  14. package/src/components/wt-multi-select/wt-multi-select.vue +2 -2
  15. package/src/components/wt-password/wt-password.vue +2 -2
  16. package/src/components/wt-single-select/wt-single-select.vue +2 -2
  17. package/src/components/wt-time-input/wt-time-input.vue +2 -2
  18. package/src/components/wt-timepicker/wt-timepicker.vue +2 -2
  19. package/src/mixins/validationMixin/regle/useRegleValidation.ts +2 -4
  20. package/types/.tsbuildinfo +1 -1
  21. package/types/components/wt-input-number/wt-input-number.vue.d.ts +3 -3
  22. package/types/components/wt-input-text/wt-input-text.vue.d.ts +3 -3
  23. package/types/components/wt-multi-select/wt-multi-select.vue.d.ts +2 -2
  24. package/types/components/wt-password/wt-password.vue.d.ts +3 -3
  25. package/types/components/wt-single-select/wt-single-select.vue.d.ts +2 -2
  26. package/types/components/wt-time-input/wt-time-input.vue.d.ts +3 -3
  27. package/types/components/wt-timepicker/wt-timepicker.vue.d.ts +3 -3
  28. package/types/mixins/validationMixin/regle/useRegleValidation.d.ts +2 -3
  29. package/src/mixins/validationMixin/regle/WtRegleFieldValidation.ts +0 -14
  30. package/types/mixins/validationMixin/regle/WtRegleFieldValidation.d.ts +0 -10
@@ -1,4 +1,4 @@
1
- import "./components-BLEJ4Oo8.js";
1
+ import "./components--U8hCdMV.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-DwAda_g4.js";
@@ -1,4 +1,4 @@
1
- import { C as e, i as t } from "./components-BLEJ4Oo8.js";
1
+ import { C as e, i as t } from "./components--U8hCdMV.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
1
  import { n as e, r as t } from "./clients-DqzkR0RW.js";
2
- import { n } from "./components-BLEJ4Oo8.js";
2
+ import { n } from "./components--U8hCdMV.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
@@ -144,6 +144,6 @@ var w = { class: "wt-timepicker__wrapper" }, T = 3600, E = 60, D = /*#__PURE__*/
144
144
  ], 2);
145
145
  };
146
146
  }
147
- }), [["__scopeId", "data-v-6650aae0"]]);
147
+ }), [["__scopeId", "data-v-2e913c42"]]);
148
148
  //#endregion
149
149
  export { D as default };
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./clients-DqzkR0RW.js";
2
- import { a as t, o as n, r, s as i } from "./components-BLEJ4Oo8.js";
2
+ import { a as t, o as n, r, s as i } from "./components--U8hCdMV.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-BLEJ4Oo8.js";
1
+ import { w as e } from "./components--U8hCdMV.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-DwAda_g4.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.8.11",
3
+ "version": "26.8.12",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -75,6 +75,7 @@
75
75
  </template>
76
76
 
77
77
  <script setup lang="ts">
78
+ import type { SuperCompatibleRegleFieldStatus } from '@regle/core';
78
79
  import type { InputNumberProps } from 'primevue';
79
80
  import {
80
81
  computed,
@@ -86,7 +87,6 @@ import {
86
87
  useTemplateRef,
87
88
  } from 'vue';
88
89
  import { ComponentSize, MessageColor, MessageVariant } from '../../enums';
89
- import type { WtRegleFieldValidation } from '../../mixins/validationMixin/regle/WtRegleFieldValidation';
90
90
  import { useValidation } from '../../mixins/validationMixin/useValidation';
91
91
  import { useInputControl } from '../_internals/composables';
92
92
 
@@ -104,7 +104,7 @@ interface WtInputNumberProps extends /* @vue-ignore */ InputNumberProps {
104
104
  maxFractionDigits?: number;
105
105
  showButtons?: boolean;
106
106
  v?: Record<string, unknown>;
107
- regleValidation?: WtRegleFieldValidation;
107
+ regleValidation?: SuperCompatibleRegleFieldStatus;
108
108
  customValidators?: unknown[];
109
109
  hideInputInfo?: boolean;
110
110
  }
@@ -63,6 +63,7 @@
63
63
  </template>
64
64
 
65
65
  <script setup lang="ts">
66
+ import type { SuperCompatibleRegleFieldStatus } from '@regle/core';
66
67
  import type { InputTextProps } from 'primevue';
67
68
  import {
68
69
  computed,
@@ -73,7 +74,6 @@ import {
73
74
  useTemplateRef,
74
75
  } from 'vue';
75
76
  import { ComponentSize, MessageColor, MessageVariant } from '../../enums';
76
- import type { WtRegleFieldValidation } from '../../mixins/validationMixin/regle/WtRegleFieldValidation';
77
77
  import { useValidation } from '../../mixins/validationMixin/useValidation';
78
78
  import { useInputControl } from '../_internals/composables';
79
79
 
@@ -87,7 +87,7 @@ interface WtInputTextProps extends /* @vue-ignore */ InputTextProps {
87
87
  required?: boolean;
88
88
  preventTrim?: boolean;
89
89
  v?: Record<string, unknown>;
90
- regleValidation?: WtRegleFieldValidation;
90
+ regleValidation?: SuperCompatibleRegleFieldStatus;
91
91
  customValidators?: unknown[];
92
92
  hideInputInfo?: boolean;
93
93
  hideInputValue?: boolean;
@@ -131,11 +131,11 @@
131
131
  </template>
132
132
 
133
133
  <script setup lang="ts">
134
+ import type { SuperCompatibleRegleFieldStatus } from '@regle/core';
134
135
  import type { SelectProps } from 'primevue';
135
136
  import { computed, onMounted, toRefs, useSlots, useTemplateRef } from 'vue';
136
137
  import { useI18n } from 'vue-i18n';
137
138
  import { ChipColor, ComponentSize, MessageVariant } from '../../enums';
138
- import type { WtRegleFieldValidation } from '../../mixins/validationMixin/regle/WtRegleFieldValidation';
139
139
  import { useValidation } from '../../mixins/validationMixin/useValidation';
140
140
  import { useSelect } from '../_internals/composables/useSelect/useSelect';
141
141
  import { toArray } from '../_internals/composables/useSelect/useSelectUtils';
@@ -183,7 +183,7 @@ interface Props extends SelectProps {
183
183
  chipsView?: boolean;
184
184
  labelProps?: object;
185
185
  v?: Record<string, unknown>;
186
- regleValidation?: WtRegleFieldValidation;
186
+ regleValidation?: SuperCompatibleRegleFieldStatus;
187
187
  customValidators?: unknown[];
188
188
  }
189
189
 
@@ -50,6 +50,7 @@
50
50
  </template>
51
51
 
52
52
  <script setup lang="ts">
53
+ import type { SuperCompatibleRegleFieldStatus } from '@regle/core';
53
54
  import type { PasswordProps } from 'primevue';
54
55
  import {
55
56
  computed,
@@ -60,7 +61,6 @@ import {
60
61
  useTemplateRef,
61
62
  } from 'vue';
62
63
  import { ComponentSize, MessageColor, MessageVariant } from '../../enums';
63
- import type { WtRegleFieldValidation } from '../../mixins/validationMixin/regle/WtRegleFieldValidation';
64
64
  import { useValidation } from '../../mixins/validationMixin/useValidation';
65
65
  import { useInputControl } from '../_internals/composables';
66
66
 
@@ -72,7 +72,7 @@ interface WtPasswordProps extends /* @vue-ignore */ PasswordProps {
72
72
  required?: boolean;
73
73
  toggleMask?: boolean;
74
74
  v?: Record<string, unknown>;
75
- regleValidation?: WtRegleFieldValidation;
75
+ regleValidation?: SuperCompatibleRegleFieldStatus;
76
76
  customValidators?: unknown[];
77
77
  }
78
78
 
@@ -107,10 +107,10 @@
107
107
  </template>
108
108
 
109
109
  <script setup lang="ts">
110
+ import type { SuperCompatibleRegleFieldStatus } from '@regle/core';
110
111
  import type { SelectProps } from 'primevue';
111
112
  import { computed, onMounted, toRefs, useSlots, useTemplateRef } from 'vue';
112
113
  import { ComponentSize, MessageColor, MessageVariant } from '../../enums';
113
- import type { WtRegleFieldValidation } from '../../mixins/validationMixin/regle/WtRegleFieldValidation';
114
114
  import { useValidation } from '../../mixins/validationMixin/useValidation';
115
115
  import { useSelect } from '../_internals/composables/useSelect/useSelect';
116
116
 
@@ -153,7 +153,7 @@ interface Props extends SelectProps {
153
153
  allowCustomValues?: boolean;
154
154
  labelProps?: object;
155
155
  v?: Record<string, unknown>;
156
- regleValidation?: WtRegleFieldValidation;
156
+ regleValidation?: SuperCompatibleRegleFieldStatus;
157
157
  customValidators?: unknown[];
158
158
  }
159
159
 
@@ -14,7 +14,7 @@
14
14
  </template>
15
15
 
16
16
  <script setup lang="ts">
17
- import type { WtRegleFieldValidation } from '../../mixins/validationMixin/regle/WtRegleFieldValidation';
17
+ import type { SuperCompatibleRegleFieldStatus } from '@regle/core';
18
18
 
19
19
  interface WtTimeInputProps {
20
20
  /**
@@ -56,7 +56,7 @@ interface WtTimeInputProps {
56
56
  /**
57
57
  * Regle validation object
58
58
  */
59
- regleValidation?: WtRegleFieldValidation;
59
+ regleValidation?: SuperCompatibleRegleFieldStatus;
60
60
  /**
61
61
  * Custom validators for vuelidate
62
62
  */
@@ -72,10 +72,10 @@
72
72
  </template>
73
73
 
74
74
  <script setup lang="ts">
75
+ import type { SuperCompatibleRegleFieldStatus } from '@regle/core';
75
76
  import { computed, nextTick, toRefs } from 'vue';
76
77
  import { useI18n } from 'vue-i18n';
77
78
  import { ComponentSize, MessageVariant } from '../../enums';
78
- import type { WtRegleFieldValidation } from '../../mixins/validationMixin/regle/WtRegleFieldValidation';
79
79
  import { useValidation } from '../../mixins/validationMixin/useValidation';
80
80
 
81
81
  // const SEC_IN_DAY = 60 * 60 * 24;
@@ -122,7 +122,7 @@ interface WtTimepickerProps {
122
122
  /**
123
123
  * Regle validation object
124
124
  */
125
- regleValidation?: WtRegleFieldValidation;
125
+ regleValidation?: SuperCompatibleRegleFieldStatus;
126
126
  /**
127
127
  * Custom validators for vuelidate
128
128
  */
@@ -1,10 +1,8 @@
1
+ import type { SuperCompatibleRegleFieldStatus } from '@regle/core';
1
2
  import { type ComputedRef, computed, type Ref } from 'vue';
2
- import type { WtRegleFieldValidation } from './WtRegleFieldValidation';
3
-
4
- export type { WtRegleFieldValidation } from './WtRegleFieldValidation';
5
3
 
6
4
  export type UseFieldValidationParams = {
7
- field?: Ref<WtRegleFieldValidation>;
5
+ field?: Ref<SuperCompatibleRegleFieldStatus>;
8
6
  };
9
7
 
10
8
  export type UseFieldValidationReturn = {