aq-fe-framework 0.1.971 → 0.1.973
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/{MyDataTable-Ra7SXzdJ.d.mts → MyDataTable-Doa_T88Z.d.mts} +1 -0
- package/dist/build-object/index.mjs +3 -3
- package/dist/{chunk-CXQUT3BW.mjs → chunk-632JVWRI.mjs} +186 -174
- package/dist/{chunk-Q75LZPR4.mjs → chunk-BJAYNNOF.mjs} +2 -2
- package/dist/{chunk-ZDINCHBS.mjs → chunk-PBI7RFUT.mjs} +15 -0
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.mjs +5 -5
- package/dist/const/index.mjs +1 -1
- package/dist/core/index.d.mts +2 -2
- package/dist/core/index.mjs +5 -5
- package/dist/modules-features/index.mjs +5 -5
- package/dist/shared/index.mjs +10 -10
- package/dist/stores/index.mjs +3 -3
- package/dist/utils-v2/index.d.mts +5 -1
- package/dist/utils-v2/index.mjs +3 -1
- package/package.json +1 -1
- package/dist/{chunk-4IP2EYUM.mjs → chunk-SPG47QW7.mjs} +1 -1
- package/dist/{chunk-2C57OWJX.mjs → chunk-YGWSHSTG.mjs} +2 -2
|
@@ -41,6 +41,7 @@ interface MyDataTableProps<TData extends MRT_RowData> extends MRT_TableOptions<T
|
|
|
41
41
|
rowActionSize?: number;
|
|
42
42
|
setSelectedRow?: (data: TData[]) => void;
|
|
43
43
|
isError?: boolean;
|
|
44
|
+
/** Dùng để loading bảng khi gọi api fetch data */
|
|
44
45
|
isLoading?: boolean;
|
|
45
46
|
exportAble?: boolean;
|
|
46
47
|
pagination?: PaginationState;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createGenericStore,
|
|
3
3
|
createGenericStore2
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-YGWSHSTG.mjs";
|
|
5
5
|
import {
|
|
6
6
|
baseAxios_default
|
|
7
7
|
} from "../chunk-YWANA62C.mjs";
|
|
@@ -86,7 +86,7 @@ function createRepository(baseUrl, mapper, extra) {
|
|
|
86
86
|
|
|
87
87
|
// src/build-object/createTenantSettingsStore.ts
|
|
88
88
|
function createTenantSettingsStore(params) {
|
|
89
|
-
const useStore =
|
|
89
|
+
const useStore = createGenericStore2({
|
|
90
90
|
initialState: params.initialState || {},
|
|
91
91
|
storageKey: params.storageKey || "useStore_TenantSettings"
|
|
92
92
|
});
|
|
@@ -103,7 +103,7 @@ function createTenantSettingsStore(params) {
|
|
|
103
103
|
}
|
|
104
104
|
export {
|
|
105
105
|
createBaseUrl,
|
|
106
|
-
|
|
106
|
+
createGenericStore,
|
|
107
107
|
createMapper,
|
|
108
108
|
createRepository,
|
|
109
109
|
createTenantSettingsStore
|