@webitel/ui-sdk 26.8.116 → 26.8.117
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-BFB093fa.js → clients-DWcx-Mfk.js} +1 -1
- package/dist/{components-DSjkNfg7.js → components-CeOlovz8.js} +10 -5
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +41 -41
- package/dist/{wt-chat-emoji-C-dTBZ_F.js → wt-chat-emoji-v9gpIuHe.js} +1 -1
- package/dist/{wt-display-chip-items-BX7cB5E4.js → wt-display-chip-items-Bob7miL_.js} +1 -1
- package/dist/{wt-send-message-popup-BqE4XZke.js → wt-send-message-popup-9O69XY0L.js} +2 -2
- package/dist/{wt-type-extension-value-input-B9KVFkOD.js → wt-type-extension-value-input-55YmFcBp.js} +2 -2
- package/dist/{wt-vidstack-player-RBadmXaK.js → wt-vidstack-player-ETPSioGH.js} +1 -1
- package/package.json +1 -1
- package/src/components/wt-popup/_variables.css +4 -0
- package/src/components/wt-popup/wt-popup.vue +27 -2
- package/src/composables/index.ts +1 -0
- package/src/composables/useMinDurationLoader/useMinDurationLoader.ts +30 -0
- package/types/.tsbuildinfo +1 -1
- package/types/components/wt-popup/wt-popup.vue.d.ts +6 -0
- package/types/composables/index.d.ts +1 -0
- package/types/composables/useMinDurationLoader/useMinDurationLoader.d.ts +6 -0
|
@@ -6,6 +6,12 @@ interface Props {
|
|
|
6
6
|
*/
|
|
7
7
|
shown?: boolean;
|
|
8
8
|
size?: ComponentSize;
|
|
9
|
+
/**
|
|
10
|
+
* temprorary height of the popup for WS2
|
|
11
|
+
* to avoid WS1 popup broken
|
|
12
|
+
* will be removed after primevue migration
|
|
13
|
+
*/
|
|
14
|
+
height?: ComponentSize;
|
|
9
15
|
/**
|
|
10
16
|
* if true, popup contents will overflow popup container, without scrolling
|
|
11
17
|
* useful for small popups with select components, which have not enough space
|
|
@@ -4,5 +4,6 @@ export * from './useCard/useCardComponent';
|
|
|
4
4
|
export * from './useClose/useClose';
|
|
5
5
|
export * from './useDestroyableSortable/useDestroyableSortable';
|
|
6
6
|
export * from './useEventBus/useEventBus';
|
|
7
|
+
export * from './useMinDurationLoader/useMinDurationLoader';
|
|
7
8
|
export * from './useRepresentableAgentPauseCause/useRepresentableAgentPauseCause';
|
|
8
9
|
export * from './useValidate/useValidate';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
export interface UseMinDurationLoaderReturn {
|
|
3
|
+
isLoading: Ref<boolean>;
|
|
4
|
+
runWithMinDuration: <T>(action: () => Promise<T>) => Promise<T>;
|
|
5
|
+
}
|
|
6
|
+
export declare const useMinDurationLoader: (minDurationMs?: number) => UseMinDurationLoaderReturn;
|