@webitel/ui-datalist 1.1.75 → 1.1.76

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.
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Opens a nested-card popup on the same route by setting/replacing its
3
+ * optional route param (e.g. `phones/:commId?`). `open()` or `open('new')`
4
+ * opens the "add" card, `open(id)` opens an existing one.
5
+ */
6
+ export declare const useCardListNavigation: ({ routeParamName, }: {
7
+ routeParamName: string;
8
+ }) => {
9
+ open: (id?: string) => any;
10
+ };
@@ -0,0 +1,9 @@
1
+ import { type ComputedRef, type Ref } from 'vue';
2
+ export interface CardTab {
3
+ pathName: string;
4
+ [key: string]: unknown;
5
+ }
6
+ export declare const useCardTabs: <T extends CardTab>(tabs: Ref<T[]> | ComputedRef<T[]>) => {
7
+ currentTab: ComputedRef<T | undefined>;
8
+ changeTab: (tab: T) => any;
9
+ };
@@ -1,4 +1,6 @@
1
1
  export * from './composables/useCardComponent';
2
+ export * from './composables/useCardListNavigation';
3
+ export * from './composables/useCardTabs';
2
4
  export * from './composables/useNestedCardComponent';
3
5
  export * from './stores/createCardStore';
4
6
  export * from './types/CardValidationFields.types';