@webitel/ui-sdk 25.6.2 → 25.6.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.
@@ -87,6 +87,14 @@ declare var __VLS_20: "bool", __VLS_21: {
87
87
  required: boolean;
88
88
  v: object;
89
89
  };
90
+ }, __VLS_56: "datetime", __VLS_57: {
91
+ defaultProps: {
92
+ value: unknown;
93
+ label: string;
94
+ required: boolean;
95
+ v: object;
96
+ };
97
+ conversionModifier: 1000;
90
98
  };
91
99
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
92
100
  [K in NonNullable<typeof __VLS_20>]?: (props: typeof __VLS_21) => any;
@@ -94,6 +102,8 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
94
102
  [K in NonNullable<typeof __VLS_32>]?: (props: typeof __VLS_33) => any;
95
103
  } & {
96
104
  [K in NonNullable<typeof __VLS_44>]?: (props: typeof __VLS_45) => any;
105
+ } & {
106
+ [K in NonNullable<typeof __VLS_56>]?: (props: typeof __VLS_57) => any;
97
107
  }>;
98
108
  declare const __VLS_self: import("vue").DefineComponent<__VLS_PublicProps, {
99
109
  WtDatepicker: typeof WtDatepicker;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "25.6.2",
3
+ "version": "25.6.3",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -56,13 +56,22 @@
56
56
  @input="selectElements"
57
57
  />
58
58
  </slot>
59
- <wt-datepicker
59
+ <slot
60
60
  v-else-if="field.kind === FieldType.Calendar"
61
- v-bind="sharedChildrenProps"
62
- :value="value * DatetimeConversionModifier"
63
- mode="datetime"
64
- @input="setValue(+$event / DatetimeConversionModifier)"
65
- />
61
+ :name="FieldType.Calendar"
62
+ :default-props="{
63
+ ...sharedChildrenProps,
64
+ value,
65
+ }"
66
+ :conversion-modifier="DatetimeConversionModifier"
67
+ >
68
+ <wt-datepicker
69
+ v-bind="sharedChildrenProps"
70
+ :value="value * DatetimeConversionModifier"
71
+ mode="datetime"
72
+ @input="setValue(+$event / DatetimeConversionModifier)"
73
+ />
74
+ </slot>
66
75
  </template>
67
76
 
68
77
  <script lang="ts" setup>