@webitel/ui-sdk 26.6.105 → 26.6.106
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/package.json +1 -1
- package/src/modules/Filters/composables/useTableFilters.js +4 -0
- package/src/store/new/modules/cardStoreModule/useCardStore.js +1 -0
- package/types/.tsbuildinfo +1 -1
- package/types/modules/Filters/composables/useTableFilters.d.ts +4 -4
- package/types/store/new/modules/cardStoreModule/useCardStore.d.ts +1 -1
package/package.json
CHANGED
|
@@ -10,18 +10,22 @@ export const useTableFilters = (namespace) => {
|
|
|
10
10
|
store.getters[`${filtersNamespace}/GET_FILTERS`](),
|
|
11
11
|
);
|
|
12
12
|
|
|
13
|
+
/** @param {unknown} [payload] */
|
|
13
14
|
function subscribe(payload) {
|
|
14
15
|
return store.dispatch(`${filtersNamespace}/SUBSCRIBE`, payload);
|
|
15
16
|
}
|
|
16
17
|
|
|
18
|
+
/** @param {unknown} [payload] */
|
|
17
19
|
function flushSubscribers(payload) {
|
|
18
20
|
return store.dispatch(`${filtersNamespace}/FLUSH_SUBSCRIBERS`, payload);
|
|
19
21
|
}
|
|
20
22
|
|
|
23
|
+
/** @param {unknown} [payload] */
|
|
21
24
|
function restoreFilters(payload) {
|
|
22
25
|
return store.dispatch(`${filtersNamespace}/RESTORE_FILTERS`, payload);
|
|
23
26
|
}
|
|
24
27
|
|
|
28
|
+
/** @param {unknown} [payload] */
|
|
25
29
|
function resetFilters(payload) {
|
|
26
30
|
return store.dispatch(`${filtersNamespace}/RESET_FILTERS`, payload);
|
|
27
31
|
}
|
|
@@ -17,6 +17,7 @@ export const useCardStore = (namespace) => {
|
|
|
17
17
|
() => getNamespacedState(store.state, cardNamespace).itemInstance,
|
|
18
18
|
);
|
|
19
19
|
|
|
20
|
+
/** @param {unknown} [payload] */
|
|
20
21
|
function loadItem(payload) {
|
|
21
22
|
return store.dispatch(`${cardNamespace}/LOAD_ITEM`, payload);
|
|
22
23
|
}
|