@webitel/ui-sdk 26.6.64 → 26.6.66

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 (50) hide show
  1. package/dist/{clients-DtfBVBhI.js → clients-B1AOAvEK.js} +358 -81
  2. package/dist/{components-eoQi5zKf.js → components-C2Y_Q08L.js} +2993 -1402
  3. package/dist/toZonedTime-B8L5kbse.js +308 -0
  4. package/dist/ui-sdk.css +1 -1
  5. package/dist/ui-sdk.js +12678 -578
  6. package/dist/ui-sdk.umd.cjs +1841 -1838
  7. package/dist/{wt-button-DSxkafVk.js → wt-button-uY5Q1GAg.js} +3 -2
  8. package/dist/{wt-chat-emoji-CROATNmD.js → wt-chat-emoji-B11mhNOu.js} +2 -2
  9. package/dist/wt-datepicker-BGSK1JFI.js +286 -0
  10. package/dist/{wt-display-chip-items-BYkx7GAw.js → wt-display-chip-items-DmQstZ3Y.js} +1 -1
  11. package/dist/{wt-player-C-Ucuchh.js → wt-player-B2SZ_NSb.js} +1 -1
  12. package/dist/{wt-send-message-popup-DuRb4ozr.js → wt-send-message-popup-DHdVFhOt.js} +2 -2
  13. package/dist/{wt-type-extension-value-input-BroXv_Jr.js → wt-type-extension-value-input-3100gKfK.js} +6 -6
  14. package/dist/{wt-vidstack-player-1BqwgHog.js → wt-vidstack-player-BWe7cgoj.js} +2 -2
  15. package/package.json +2 -1
  16. package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +3 -3
  17. package/src/components/wt-button/wt-button.vue +2 -1
  18. package/src/components/wt-datepicker/wt-datepicker.vue +193 -253
  19. package/src/locale/en/en.js +2 -0
  20. package/src/locale/es/es.js +2 -0
  21. package/src/locale/kz/kz.js +2 -0
  22. package/src/locale/pl/pl.js +2 -0
  23. package/src/locale/ro/ro.js +2 -0
  24. package/src/locale/ru/ru.js +2 -0
  25. package/src/locale/uk/uk.js +2 -0
  26. package/src/locale/uz/uz.js +2 -0
  27. package/src/locale/vi/vi.js +2 -0
  28. package/src/modules/Filters/components/filter-datetime.vue +3 -3
  29. package/src/modules/QueryFilters/components/filter-datetime.vue +3 -3
  30. package/src/plugins/primevue/primevue.plugin.js +11 -1
  31. package/src/plugins/primevue/theme/components/button/button.js +1 -1
  32. package/src/plugins/primevue/theme/components/components.js +2 -0
  33. package/src/plugins/primevue/theme/components/datepicker/datepicker.js +8 -0
  34. package/types/components/wt-datepicker/wt-datepicker.vue.d.ts +62 -140
  35. package/types/components/wt-popover/wt-popover.vue.d.ts +1 -1
  36. package/types/locale/en/en.d.ts +2 -0
  37. package/types/locale/es/es.d.ts +2 -0
  38. package/types/locale/i18n.d.ts +18 -0
  39. package/types/locale/index.d.ts +18 -0
  40. package/types/locale/kz/kz.d.ts +2 -0
  41. package/types/locale/pl/pl.d.ts +2 -0
  42. package/types/locale/ro/ro.d.ts +2 -0
  43. package/types/locale/ru/ru.d.ts +2 -0
  44. package/types/locale/uk/uk.d.ts +2 -0
  45. package/types/locale/uz/uz.d.ts +2 -0
  46. package/types/locale/vi/vi.d.ts +2 -0
  47. package/types/plugins/primevue/theme/components/components.d.ts +2 -0
  48. package/types/plugins/primevue/theme/components/datepicker/datepicker.d.ts +214 -0
  49. package/dist/dist-uCh8HaP3.js +0 -1910
  50. package/dist/wt-datepicker-EX4vuaeW.js +0 -5774
@@ -0,0 +1,8 @@
1
+ import { DatePickerScheme } from '@webitel/styleguide/component-schemes';
2
+
3
+ const datePicker = {
4
+ root: DatePickerScheme.sizes,
5
+ colorScheme: DatePickerScheme.colorScheme,
6
+ };
7
+
8
+ export default datePicker;
@@ -1,144 +1,66 @@
1
- declare const _default: typeof __VLS_export;
2
- export default _default;
3
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
4
- type __VLS_WithSlots<T, S> = T & (new () => {
5
- $slots: S;
6
- });
7
- declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
- /**
9
- * [`'date'`, `'datetime'`]
10
- * */
11
- mode: {
12
- type: StringConstructor;
13
- default: string;
14
- options: string[];
15
- };
16
- value: {
17
- type: (StringConstructor | NumberConstructor)[];
18
- default: string;
19
- };
20
- /**
21
- * label above calendar input
22
- */
23
- label: {
24
- type: StringConstructor;
25
- default: string;
26
- };
27
- placeholder: {
28
- type: StringConstructor;
29
- default: string;
30
- };
31
- disabled: {
32
- type: BooleanConstructor;
33
- default: boolean;
34
- };
35
- disabledDates: {
36
- type: ObjectConstructor;
37
- };
38
- lang: {
39
- type: StringConstructor;
40
- default: string;
41
- };
42
- /**
43
- * Object with props, passed down to wt-label as props
44
- */
45
- labelProps: {
46
- type: ObjectConstructor;
47
- };
48
- /**
49
- * Native input required attribute
50
- */
51
- required: {
52
- type: BooleanConstructor;
53
- default: boolean;
54
- };
55
- v: {
56
- type: ObjectConstructor;
57
- };
58
- customValidators: {
59
- type: ArrayConstructor;
60
- default: () => any[];
61
- };
62
- clearable: {
63
- type: BooleanConstructor;
64
- default: boolean;
65
- };
66
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
67
- input: (...args: any[]) => void;
68
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
69
- /**
70
- * [`'date'`, `'datetime'`]
71
- * */
72
- mode: {
73
- type: StringConstructor;
74
- default: string;
75
- options: string[];
76
- };
77
- value: {
78
- type: (StringConstructor | NumberConstructor)[];
79
- default: string;
80
- };
81
- /**
82
- * label above calendar input
83
- */
84
- label: {
85
- type: StringConstructor;
86
- default: string;
87
- };
88
- placeholder: {
89
- type: StringConstructor;
90
- default: string;
91
- };
92
- disabled: {
93
- type: BooleanConstructor;
94
- default: boolean;
95
- };
96
- disabledDates: {
97
- type: ObjectConstructor;
98
- };
99
- lang: {
100
- type: StringConstructor;
101
- default: string;
102
- };
103
- /**
104
- * Object with props, passed down to wt-label as props
105
- */
106
- labelProps: {
107
- type: ObjectConstructor;
108
- };
109
- /**
110
- * Native input required attribute
111
- */
112
- required: {
113
- type: BooleanConstructor;
114
- default: boolean;
115
- };
116
- v: {
117
- type: ObjectConstructor;
118
- };
119
- customValidators: {
120
- type: ArrayConstructor;
121
- default: () => any[];
122
- };
123
- clearable: {
124
- type: BooleanConstructor;
125
- default: boolean;
126
- };
127
- }>> & Readonly<{
128
- onInput?: (...args: any[]) => any;
129
- }>, {
130
- mode: string;
131
- required: boolean;
132
- value: string | number;
1
+ import { DatePickerProps } from 'primevue/datepicker';
2
+ interface Props extends DatePickerProps {
3
+ showTime?: boolean;
4
+ minDate?: Date;
5
+ maxDate?: Date;
6
+ label?: string;
7
+ labelProps?: Record<string, unknown>;
8
+ placholder?: string;
9
+ disabled?: boolean;
10
+ required?: boolean;
11
+ clearable?: boolean;
12
+ timezone?: string;
13
+ v?: Record<string, unknown>;
14
+ customValidators?: unknown[];
15
+ }
16
+ type __VLS_Props = Props;
17
+ type __VLS_ModelProps = {
18
+ modelValue?: number | null;
19
+ };
20
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
21
+ declare var __VLS_7: {
133
22
  label: string;
134
- disabled: boolean;
135
- lang: string;
136
- placeholder: string;
23
+ };
24
+ type __VLS_Slots = {} & {
25
+ label?: (props: typeof __VLS_7) => any;
26
+ };
27
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
+ input: () => any;
29
+ blur: () => any;
30
+ focus: () => any;
31
+ keydown: () => any;
32
+ "update:modelValue": (...args: unknown[]) => any;
33
+ show: () => any;
34
+ hide: () => any;
35
+ "value-change": () => any;
36
+ "date-select": () => any;
37
+ "today-click": () => any;
38
+ "clear-click": () => any;
39
+ "month-change": () => any;
40
+ "year-change": () => any;
41
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
42
+ onInput?: () => any;
43
+ onBlur?: () => any;
44
+ onFocus?: () => any;
45
+ onKeydown?: () => any;
46
+ "onUpdate:modelValue"?: (...args: unknown[]) => any;
47
+ onShow?: () => any;
48
+ onHide?: () => any;
49
+ "onValue-change"?: () => any;
50
+ "onDate-select"?: () => any;
51
+ "onToday-click"?: () => any;
52
+ "onClear-click"?: () => any;
53
+ "onMonth-change"?: () => any;
54
+ "onYear-change"?: () => any;
55
+ }>, {
137
56
  customValidators: unknown[];
138
- clearable: boolean;
57
+ labelProps: Record<string, unknown>;
139
58
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
140
- type __VLS_Slots = {
141
- label?: (props: {
142
- label: string;
143
- }) => any;
59
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
60
+ declare const _default: typeof __VLS_export;
61
+ export default _default;
62
+ type __VLS_WithSlots<T, S> = T & {
63
+ new (): {
64
+ $slots: S;
65
+ };
144
66
  };
@@ -32,8 +32,8 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {
32
32
  ptOptions: import("primevue/passthrough").PassThroughOptions;
33
33
  unstyled: boolean;
34
34
  appendTo: import("@primevue/core").HintedString<"body" | "self"> | undefined | HTMLElement;
35
- baseZIndex: number;
36
35
  autoZIndex: boolean;
36
+ baseZIndex: number;
37
37
  breakpoints: import("primevue").PopoverBreakpoints;
38
38
  closeOnEscape: boolean | undefined;
39
39
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -34,6 +34,8 @@ declare const _default: {
34
34
  generate: string;
35
35
  from: string;
36
36
  to: string;
37
+ today: string;
38
+ clear: string;
37
39
  tts: string;
38
40
  state: string;
39
41
  status: string;
@@ -38,6 +38,8 @@ declare namespace _default {
38
38
  export let generate: string;
39
39
  export let from: string;
40
40
  export let to: string;
41
+ export let today: string;
42
+ export let clear: string;
41
43
  export let tts: string;
42
44
  export let state: string;
43
45
  export let status: string;
@@ -35,6 +35,8 @@ declare const _default: import("vue-i18n").I18n<{
35
35
  generate: string;
36
36
  from: string;
37
37
  to: string;
38
+ today: string;
39
+ clear: string;
38
40
  tts: string;
39
41
  state: string;
40
42
  status: string;
@@ -880,6 +882,8 @@ declare const _default: import("vue-i18n").I18n<{
880
882
  generate: string;
881
883
  from: string;
882
884
  to: string;
885
+ today: string;
886
+ clear: string;
883
887
  tts: string;
884
888
  state: string;
885
889
  status: string;
@@ -1708,6 +1712,8 @@ declare const _default: import("vue-i18n").I18n<{
1708
1712
  generate: string;
1709
1713
  from: string;
1710
1714
  to: string;
1715
+ today: string;
1716
+ clear: string;
1711
1717
  tts: string;
1712
1718
  state: string;
1713
1719
  status: string;
@@ -2538,6 +2544,8 @@ declare const _default: import("vue-i18n").I18n<{
2538
2544
  generate: string;
2539
2545
  from: string;
2540
2546
  to: string;
2547
+ today: string;
2548
+ clear: string;
2541
2549
  tts: string;
2542
2550
  state: string;
2543
2551
  status: string;
@@ -3366,6 +3374,8 @@ declare const _default: import("vue-i18n").I18n<{
3366
3374
  generate: string;
3367
3375
  from: string;
3368
3376
  to: string;
3377
+ today: string;
3378
+ clear: string;
3369
3379
  tts: string;
3370
3380
  state: string;
3371
3381
  status: string;
@@ -4196,6 +4206,8 @@ declare const _default: import("vue-i18n").I18n<{
4196
4206
  generate: string;
4197
4207
  from: string;
4198
4208
  to: string;
4209
+ today: string;
4210
+ clear: string;
4199
4211
  tts: string;
4200
4212
  state: string;
4201
4213
  status: string;
@@ -5026,6 +5038,8 @@ declare const _default: import("vue-i18n").I18n<{
5026
5038
  generate: string;
5027
5039
  from: string;
5028
5040
  to: string;
5041
+ today: string;
5042
+ clear: string;
5029
5043
  tts: string;
5030
5044
  state: string;
5031
5045
  status: string;
@@ -5856,6 +5870,8 @@ declare const _default: import("vue-i18n").I18n<{
5856
5870
  generate: string;
5857
5871
  from: string;
5858
5872
  to: string;
5873
+ today: string;
5874
+ clear: string;
5859
5875
  tts: string;
5860
5876
  state: string;
5861
5877
  status: string;
@@ -6687,6 +6703,8 @@ declare const _default: import("vue-i18n").I18n<{
6687
6703
  generate: string;
6688
6704
  from: string;
6689
6705
  to: string;
6706
+ today: string;
6707
+ clear: string;
6690
6708
  tts: string;
6691
6709
  state: string;
6692
6710
  status: string;
@@ -45,6 +45,8 @@ export declare const messages: {
45
45
  generate: string;
46
46
  from: string;
47
47
  to: string;
48
+ today: string;
49
+ clear: string;
48
50
  tts: string;
49
51
  state: string;
50
52
  status: string;
@@ -890,6 +892,8 @@ export declare const messages: {
890
892
  generate: string;
891
893
  from: string;
892
894
  to: string;
895
+ today: string;
896
+ clear: string;
893
897
  tts: string;
894
898
  state: string;
895
899
  status: string;
@@ -1718,6 +1722,8 @@ export declare const messages: {
1718
1722
  generate: string;
1719
1723
  from: string;
1720
1724
  to: string;
1725
+ today: string;
1726
+ clear: string;
1721
1727
  tts: string;
1722
1728
  state: string;
1723
1729
  status: string;
@@ -2548,6 +2554,8 @@ export declare const messages: {
2548
2554
  generate: string;
2549
2555
  from: string;
2550
2556
  to: string;
2557
+ today: string;
2558
+ clear: string;
2551
2559
  tts: string;
2552
2560
  state: string;
2553
2561
  status: string;
@@ -3376,6 +3384,8 @@ export declare const messages: {
3376
3384
  generate: string;
3377
3385
  from: string;
3378
3386
  to: string;
3387
+ today: string;
3388
+ clear: string;
3379
3389
  tts: string;
3380
3390
  state: string;
3381
3391
  status: string;
@@ -4206,6 +4216,8 @@ export declare const messages: {
4206
4216
  generate: string;
4207
4217
  from: string;
4208
4218
  to: string;
4219
+ today: string;
4220
+ clear: string;
4209
4221
  tts: string;
4210
4222
  state: string;
4211
4223
  status: string;
@@ -5036,6 +5048,8 @@ export declare const messages: {
5036
5048
  generate: string;
5037
5049
  from: string;
5038
5050
  to: string;
5051
+ today: string;
5052
+ clear: string;
5039
5053
  tts: string;
5040
5054
  state: string;
5041
5055
  status: string;
@@ -5866,6 +5880,8 @@ export declare const messages: {
5866
5880
  generate: string;
5867
5881
  from: string;
5868
5882
  to: string;
5883
+ today: string;
5884
+ clear: string;
5869
5885
  tts: string;
5870
5886
  state: string;
5871
5887
  status: string;
@@ -6697,6 +6713,8 @@ export declare const messages: {
6697
6713
  generate: string;
6698
6714
  from: string;
6699
6715
  to: string;
6716
+ today: string;
6717
+ clear: string;
6700
6718
  tts: string;
6701
6719
  state: string;
6702
6720
  status: string;
@@ -38,6 +38,8 @@ declare namespace _default {
38
38
  export let generate: string;
39
39
  export let from: string;
40
40
  export let to: string;
41
+ export let today: string;
42
+ export let clear: string;
41
43
  export let tts: string;
42
44
  export let state: string;
43
45
  export let status: string;
@@ -38,6 +38,8 @@ declare namespace _default {
38
38
  export let generate: string;
39
39
  export let from: string;
40
40
  export let to: string;
41
+ export let today: string;
42
+ export let clear: string;
41
43
  export let tts: string;
42
44
  export let state: string;
43
45
  export let status: string;
@@ -38,6 +38,8 @@ declare namespace _default {
38
38
  export let generate: string;
39
39
  export let from: string;
40
40
  export let to: string;
41
+ export let today: string;
42
+ export let clear: string;
41
43
  export let tts: string;
42
44
  export let state: string;
43
45
  export let status: string;
@@ -36,6 +36,8 @@ declare namespace _default {
36
36
  export let generate: string;
37
37
  export let from: string;
38
38
  export let to: string;
39
+ export let today: string;
40
+ export let clear: string;
39
41
  export let tts: string;
40
42
  export let state: string;
41
43
  export let status: string;
@@ -36,6 +36,8 @@ declare namespace _default {
36
36
  export let generate: string;
37
37
  export let from: string;
38
38
  export let to: string;
39
+ export let today: string;
40
+ export let clear: string;
39
41
  export let tts: string;
40
42
  export let state: string;
41
43
  export let status: string;
@@ -38,6 +38,8 @@ declare namespace _default {
38
38
  export let generate: string;
39
39
  export let from: string;
40
40
  export let to: string;
41
+ export let today: string;
42
+ export let clear: string;
41
43
  export let tts: string;
42
44
  export let state: string;
43
45
  export let status: string;
@@ -38,6 +38,8 @@ declare namespace _default {
38
38
  export let generate: string;
39
39
  export let from: string;
40
40
  export let to: string;
41
+ export let today: string;
42
+ export let clear: string;
41
43
  export let tts: string;
42
44
  export let state: string;
43
45
  export let status: string;
@@ -7,6 +7,7 @@ declare namespace components {
7
7
  export { badge };
8
8
  export { chip };
9
9
  export { checkbox };
10
+ export { datepicker };
10
11
  export { textarea };
11
12
  export { toast };
12
13
  export { switcher as toggleswitch };
@@ -35,6 +36,7 @@ import button from './button/button.js';
35
36
  import badge from './badge/badge.js';
36
37
  import chip from './chip/chip.js';
37
38
  import checkbox from './checkbox/checkbox.js';
39
+ import datepicker from './datepicker/datepicker.js';
38
40
  import textarea from './textarea/textarea.js';
39
41
  import toast from './toast/toast.js';
40
42
  import switcher from './switcher/switcher.js';