@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.
@@ -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;