@webitel/ui-sdk 26.8.85 → 26.8.87
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/dist/{clients-Dq48Jc7S.js → clients-BOVhef1Q.js} +6 -6
- package/dist/{components-eK1kCmlT.js → components-DhOeTGOI.js} +1065 -1853
- package/dist/{composables-BtWSAI5D.js → composables-OP5kSvlh.js} +3 -3
- package/dist/debounce-A4B4PTkL.js +5 -0
- package/dist/{deep-copy-CTgLtgMO.js → deep-copy-7O5ej7vT.js} +1 -1
- package/dist/dist-DB8lC4KJ.js +112 -0
- package/dist/{dist-CAOIU8xq.js → dist-DJZOILzq.js} +1 -1
- package/dist/{genClient-HHiOUj56.js → genClient-5JkKKac8.js} +6 -7
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +2 -2
- package/dist/ui-sdk.umd.cjs +675 -675
- package/dist/{useValidation-CEed9cxY.js → useValidation-Dmm2xos_.js} +1 -1
- package/dist/{useWtTable-DLWucXPx.js → useWtTable-CUpN0LZ5.js} +1 -1
- package/dist/{vue-i18n-Db_oYfO8.js → vue-i18n-B88GcHzn.js} +215 -215
- package/dist/{vue-router-Dwey8MMv.js → vue-router-CobN9tLi.js} +1 -1
- package/dist/{wt-action-bar-DtAECixF.js → wt-action-bar-BpuER6TA.js} +1 -1
- package/dist/{wt-chat-emoji-CVhRh90z.js → wt-chat-emoji-D6mlvxYh.js} +1 -1
- package/dist/{wt-datepicker-BgjjbOMX.js → wt-datepicker-BS3przUJ.js} +2 -2
- package/dist/{wt-display-chip-items-CluYBl07.js → wt-display-chip-items-CjoOIGEn.js} +1 -1
- package/dist/{wt-expansion-card-BT586Mul.js → wt-expansion-card-8YzHs8F1.js} +1 -1
- package/dist/{wt-galleria-DMCgiiju.js → wt-galleria-CmaNfz7E.js} +2 -2
- package/dist/{wt-icon-action-DJzm0kEk.js → wt-icon-action-B8vuj9cC.js} +1 -1
- package/dist/{wt-pagination-G2ZGU4Pi.js → wt-pagination-DLRMTDRV.js} +1 -1
- package/dist/{wt-player-CFrKSilF.js → wt-player-CqjIR3Q-.js} +2 -2
- package/dist/{wt-popover-BCYPu5NC.js → wt-popover-DuZFw3bg.js} +1 -1
- package/dist/{wt-search-bar-DosqJLXT.js → wt-search-bar-CE4WhuJ6.js} +2 -2
- package/dist/{wt-selection-popup-CjYw4ppb.js → wt-selection-popup-Bd4EuLl-.js} +1 -1
- package/dist/{wt-send-message-popup-wu2uMTzU.js → wt-send-message-popup-ClhnL3uM.js} +287 -306
- package/dist/{wt-slider-BPzRTeYU.js → wt-slider-Co6hZQu_.js} +1 -1
- package/dist/{wt-start-page-BFQExFUj.js → wt-start-page-Bp7b0ir-.js} +1 -1
- package/dist/{wt-status-select-Dnv9tj7o.js → wt-status-select-z4n_FL2z.js} +1 -1
- package/dist/{wt-table-PR_Kx7Sv.js → wt-table-C-DMIrud.js} +2 -2
- package/dist/{wt-table-column-select-D4c56HPB.js → wt-table-column-select-CHzqRfXf.js} +4 -4
- package/dist/{wt-timepicker-B4MOaSEZ.js → wt-timepicker-D-tnO-gX.js} +2 -2
- package/dist/{wt-tree-BYk31Ees.js → wt-tree-BH2o2iCt.js} +843 -844
- package/dist/{wt-tree-table-ZJSw_3hx.js → wt-tree-table-D4nCNUq_.js} +1 -1
- package/dist/{wt-type-extension-value-input-C7qoiMoR.js → wt-type-extension-value-input-69hTFde6.js} +3 -3
- package/dist/{wt-vidstack-player-BuiT8wEz.js → wt-vidstack-player-BjO98yMg.js} +997 -991
- package/package.json +2 -2
- package/src/api/transformers/starToSearch/starToSearch.transformer.js +1 -1
- package/src/components/wt-table-column-select/wt-table-column-select.vue +1 -0
- package/src/components/wt-textarea/wt-textarea.vue +12 -1
- package/src/components/wt-vidstack-player/wt-vidstack-player.vue +16 -0
- package/src/composables/useCachedItemInstanceName/useCachedItemInstanceName.js +1 -1
- package/src/modules/AuditForm/components/audit-form.vue +1 -1
- package/src/modules/CardStoreModule/store/CardStoreModule.js +1 -1
- package/src/modules/Userinfo/mappings/mappings.ts +1 -1
- package/src/modules/Userinfo/stores/userinfoStore.ts +1 -1
- package/src/scripts/debounce.js +1 -1
- package/src/scripts/logger.js +1 -1
- package/src/scripts/updateObject.js +1 -2
- package/src/store/BaseStoreModules/BaseStoreModule.js +1 -1
- package/src/store/new/helpers/createStoreModule.js +1 -1
- package/src/store/new/modules/baseStoreModule/baseStoreModule.js +1 -1
- package/src/store/new/modules/cardStoreModule/cardStoreModule.js +1 -1
- package/types/.tsbuildinfo +1 -1
- package/types/components/wt-textarea/wt-textarea.vue.d.ts +11 -0
- package/dist/debounce-Bp3jy7S5.js +0 -133
- package/dist/dist-Crpfx4FA.js +0 -87
- package/dist/rolldown-runtime-BEcgMyyN.js +0 -27
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "26.8.
|
|
3
|
+
"version": "26.8.87",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "npm run docs:dev",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"@tsconfig/node22": "^22.0.0",
|
|
132
132
|
"@types/deep-equal": "^1.0.4",
|
|
133
133
|
"@types/file-saver-es": "^2.0.3",
|
|
134
|
-
"@types/lodash": "^4.17.
|
|
134
|
+
"@types/lodash-es": "^4.17.12",
|
|
135
135
|
"@types/node": "^22.13.10",
|
|
136
136
|
"@vitejs/plugin-vue": "^6.0.3",
|
|
137
137
|
"@vitest/coverage-v8": "^4.1.3",
|
|
@@ -122,6 +122,16 @@ interface Props extends /* @vue-ignore */ TextareaProps {
|
|
|
122
122
|
* @default false
|
|
123
123
|
*/
|
|
124
124
|
autoresize?: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* @author PolinaSukhorukova-webitel
|
|
127
|
+
*
|
|
128
|
+
* [WTEL-10388](https://webitel.atlassian.net/browse/WTEL-10388)
|
|
129
|
+
* Decouples submit-on-Enter from `autoresize` so a consumer can keep
|
|
130
|
+
* auto-height while Enter inserts a newline (e.g. mobile chat).
|
|
131
|
+
* @type {boolean}
|
|
132
|
+
* @default true
|
|
133
|
+
*/
|
|
134
|
+
submitOnEnter?: boolean;
|
|
125
135
|
/**
|
|
126
136
|
* Validation rules
|
|
127
137
|
*/
|
|
@@ -144,6 +154,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
144
154
|
rows: 1,
|
|
145
155
|
labelProps: undefined,
|
|
146
156
|
autoresize: false,
|
|
157
|
+
submitOnEnter: true,
|
|
147
158
|
v: undefined,
|
|
148
159
|
customValidators: () => [],
|
|
149
160
|
});
|
|
@@ -181,7 +192,7 @@ const handleKeypress = (event: KeyboardEvent) => {
|
|
|
181
192
|
emit('keydown', event);
|
|
182
193
|
if (!props.autoresize) return;
|
|
183
194
|
|
|
184
|
-
if (event.key === 'Enter' && !event.shiftKey) {
|
|
195
|
+
if (props.submitOnEnter && event.key === 'Enter' && !event.shiftKey) {
|
|
185
196
|
emit('enter');
|
|
186
197
|
event.preventDefault();
|
|
187
198
|
}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
playsinline
|
|
15
15
|
@close="emit('close')"
|
|
16
16
|
@can-play="onCanPlay"
|
|
17
|
+
@provider-change="onProviderChange"
|
|
17
18
|
>
|
|
18
19
|
<media-provider class="wt-vidstack-player__provider"></media-provider>
|
|
19
20
|
|
|
@@ -52,6 +53,7 @@
|
|
|
52
53
|
<script lang="ts" setup>
|
|
53
54
|
import 'vidstack/player';
|
|
54
55
|
import 'vidstack/player/ui';
|
|
56
|
+
import { isVideoProvider, type MediaProviderChangeEvent } from 'vidstack';
|
|
55
57
|
import { computed, provide, ref, toRefs, useTemplateRef } from 'vue';
|
|
56
58
|
|
|
57
59
|
import { ComponentSize } from '../../enums';
|
|
@@ -202,6 +204,20 @@ const onCanPlay = (ev: Event) => {
|
|
|
202
204
|
playPromise.catch(() => {});
|
|
203
205
|
}
|
|
204
206
|
};
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* @author PolinaSukhorukova-webitel
|
|
210
|
+
*
|
|
211
|
+
* [WTEL-10386](https://webitel.atlassian.net/browse/WTEL-10386)
|
|
212
|
+
* iOS 18 opens the native <video> in system fullscreen when `playsinline` is
|
|
213
|
+
* applied late (only by the time playback starts). Setting it on `provider-change`
|
|
214
|
+
* guarantees the attribute is present before iOS decides inline vs fullscreen.
|
|
215
|
+
*/
|
|
216
|
+
const onProviderChange = (event: MediaProviderChangeEvent) => {
|
|
217
|
+
if (isVideoProvider(event.detail)) {
|
|
218
|
+
event.detail.video.playsInline = true;
|
|
219
|
+
}
|
|
220
|
+
};
|
|
205
221
|
</script>
|
|
206
222
|
|
|
207
223
|
<style scoped>
|
package/src/scripts/debounce.js
CHANGED
package/src/scripts/logger.js
CHANGED