@webitel/ui-sdk 25.6.2 → 25.6.4
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/CHANGELOG.md +6 -0
- package/dist/types/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue.d.ts +10 -0
- package/package.json +1 -1
- package/src/api/clients/gateways/gateways.js +2 -1
- package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +15 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## [v25.6.3] - 2025-05-02
|
|
2
|
+
### :sparkles: New Features
|
|
3
|
+
- [`6b26b8e`](https://github.com/webitel/webitel-ui-sdk/commit/6b26b8e95506c68bfb3836f50843c88139ee4244) - cases extension fields filters datetime range [WTEL-6789](https://webitel.atlassian.net/browse/WTEL-6789) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
|
|
4
|
+
|
|
5
|
+
|
|
1
6
|
## [v25.6.2] - 2025-04-30
|
|
2
7
|
### :sparkles: New Features
|
|
3
8
|
- [`a9bf2d2`](https://github.com/webitel/webitel-ui-sdk/commit/a9bf2d2a52a8e429334306d408ab3f7b40dfb37b) - changed icon name [WTEL-6809](https://webitel.atlassian.net/browse/WTEL-6809) *(commit by [@plnnsimon](https://github.com/plnnsimon))*
|
|
@@ -2066,3 +2071,4 @@
|
|
|
2066
2071
|
[v25.6.0]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.79...v25.6.0
|
|
2067
2072
|
[v25.6.1]: https://github.com/webitel/webitel-ui-sdk/compare/v25.6.0...v25.6.1
|
|
2068
2073
|
[v25.6.2]: https://github.com/webitel/webitel-ui-sdk/compare/v25.6.1...v25.6.2
|
|
2074
|
+
[v25.6.3]: https://github.com/webitel/webitel-ui-sdk/compare/v25.6.2...v25.6.3
|
|
@@ -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
|
@@ -21,7 +21,7 @@ const instance = getDefaultInstance();
|
|
|
21
21
|
const baseUrl = '/sip/gateways';
|
|
22
22
|
|
|
23
23
|
const getGatewayList = async (params) => {
|
|
24
|
-
const fieldsToSend = ['page', 'size', 'q', 'sort', 'fields', 'id'];
|
|
24
|
+
const fieldsToSend = ['page', 'size', 'q', 'sort', 'fields', 'id', 'name'];
|
|
25
25
|
|
|
26
26
|
const defaultObject = {
|
|
27
27
|
name: '',
|
|
@@ -32,6 +32,7 @@ const getGatewayList = async (params) => {
|
|
|
32
32
|
const url = applyTransform(params, [
|
|
33
33
|
merge(getDefaultGetParams()),
|
|
34
34
|
starToSearch('search'),
|
|
35
|
+
starToSearch('name'),
|
|
35
36
|
(params) => ({ ...params, q: params.search }),
|
|
36
37
|
sanitize(fieldsToSend),
|
|
37
38
|
camelToSnake(),
|
package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue
CHANGED
|
@@ -56,13 +56,22 @@
|
|
|
56
56
|
@input="selectElements"
|
|
57
57
|
/>
|
|
58
58
|
</slot>
|
|
59
|
-
<
|
|
59
|
+
<slot
|
|
60
60
|
v-else-if="field.kind === FieldType.Calendar"
|
|
61
|
-
|
|
62
|
-
:
|
|
63
|
-
|
|
64
|
-
|
|
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>
|