@fctc/interface-logic 1.4.0 → 1.4.2
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/environment.d.mts +1 -2
- package/dist/environment.d.ts +1 -2
- package/dist/environment.js +1 -2
- package/dist/environment.mjs +1 -2
- package/dist/provider.d.mts +3 -4
- package/dist/provider.d.ts +3 -4
- package/dist/store.js +4 -4
- package/dist/store.mjs +4 -4
- package/package.json +1 -1
package/dist/environment.d.mts
CHANGED
|
@@ -46,8 +46,7 @@ declare class EnvStore {
|
|
|
46
46
|
setUserInfo(userInfo: any): void;
|
|
47
47
|
}
|
|
48
48
|
declare let env: EnvStore | null;
|
|
49
|
-
declare function initEnv({
|
|
50
|
-
envStore?: any;
|
|
49
|
+
declare function initEnv({ localStorageUtils, sessionStorageUtils, }: {
|
|
51
50
|
localStorageUtils?: LocalStorageUtilsType;
|
|
52
51
|
sessionStorageUtils?: SessionStorageUtilsType;
|
|
53
52
|
}): EnvStore;
|
package/dist/environment.d.ts
CHANGED
|
@@ -46,8 +46,7 @@ declare class EnvStore {
|
|
|
46
46
|
setUserInfo(userInfo: any): void;
|
|
47
47
|
}
|
|
48
48
|
declare let env: EnvStore | null;
|
|
49
|
-
declare function initEnv({
|
|
50
|
-
envStore?: any;
|
|
49
|
+
declare function initEnv({ localStorageUtils, sessionStorageUtils, }: {
|
|
51
50
|
localStorageUtils?: LocalStorageUtilsType;
|
|
52
51
|
sessionStorageUtils?: SessionStorageUtilsType;
|
|
53
52
|
}): EnvStore;
|
package/dist/environment.js
CHANGED
|
@@ -3074,11 +3074,10 @@ var EnvStore = class {
|
|
|
3074
3074
|
};
|
|
3075
3075
|
var env = null;
|
|
3076
3076
|
function initEnv({
|
|
3077
|
-
envStore: envStore2,
|
|
3078
3077
|
localStorageUtils: localStorageUtils2,
|
|
3079
3078
|
sessionStorageUtils: sessionStorageUtils2
|
|
3080
3079
|
}) {
|
|
3081
|
-
env = new EnvStore(
|
|
3080
|
+
env = new EnvStore(envStore, localStorageUtils2, sessionStorageUtils2);
|
|
3082
3081
|
return env;
|
|
3083
3082
|
}
|
|
3084
3083
|
function getEnv() {
|
package/dist/environment.mjs
CHANGED
|
@@ -3035,11 +3035,10 @@ var EnvStore = class {
|
|
|
3035
3035
|
};
|
|
3036
3036
|
var env = null;
|
|
3037
3037
|
function initEnv({
|
|
3038
|
-
envStore: envStore2,
|
|
3039
3038
|
localStorageUtils: localStorageUtils2,
|
|
3040
3039
|
sessionStorageUtils: sessionStorageUtils2
|
|
3041
3040
|
}) {
|
|
3042
|
-
env = new EnvStore(
|
|
3041
|
+
env = new EnvStore(envStore, localStorageUtils2, sessionStorageUtils2);
|
|
3043
3042
|
return env;
|
|
3044
3043
|
}
|
|
3045
3044
|
function getEnv() {
|
package/dist/provider.d.mts
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import { ReactNode } from 'react';
|
|
3
2
|
|
|
4
3
|
declare const MainProvider: ({ children }: {
|
|
5
4
|
children: ReactNode;
|
|
6
|
-
}) =>
|
|
5
|
+
}) => JSX.Element;
|
|
7
6
|
|
|
8
7
|
declare const ReactQueryProvider: ({ children }: {
|
|
9
8
|
children: ReactNode;
|
|
10
|
-
}) =>
|
|
9
|
+
}) => JSX.Element;
|
|
11
10
|
|
|
12
11
|
declare const VersionGate: ({ children }: {
|
|
13
12
|
children: ReactNode;
|
|
14
|
-
}) =>
|
|
13
|
+
}) => JSX.Element | null;
|
|
15
14
|
|
|
16
15
|
export { MainProvider, ReactQueryProvider, VersionGate };
|
package/dist/provider.d.ts
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import { ReactNode } from 'react';
|
|
3
2
|
|
|
4
3
|
declare const MainProvider: ({ children }: {
|
|
5
4
|
children: ReactNode;
|
|
6
|
-
}) =>
|
|
5
|
+
}) => JSX.Element;
|
|
7
6
|
|
|
8
7
|
declare const ReactQueryProvider: ({ children }: {
|
|
9
8
|
children: ReactNode;
|
|
10
|
-
}) =>
|
|
9
|
+
}) => JSX.Element;
|
|
11
10
|
|
|
12
11
|
declare const VersionGate: ({ children }: {
|
|
13
12
|
children: ReactNode;
|
|
14
|
-
}) =>
|
|
13
|
+
}) => JSX.Element | null;
|
|
15
14
|
|
|
16
15
|
export { MainProvider, ReactQueryProvider, VersionGate };
|
package/dist/store.js
CHANGED
|
@@ -535,10 +535,6 @@ var selectSearch = (state) => state.search;
|
|
|
535
535
|
var selectSearchMap = (state) => state.search.searchMap;
|
|
536
536
|
var search_slice_default = searchSlice.reducer;
|
|
537
537
|
|
|
538
|
-
// src/store/index.ts
|
|
539
|
-
var useAppDispatch = import_react_redux.useDispatch;
|
|
540
|
-
var useAppSelector = import_react_redux.useSelector;
|
|
541
|
-
|
|
542
538
|
// src/store/store.ts
|
|
543
539
|
var import_toolkit11 = require("@reduxjs/toolkit");
|
|
544
540
|
|
|
@@ -730,6 +726,10 @@ var envStore = (0, import_toolkit11.configureStore)({
|
|
|
730
726
|
serializableCheck: false
|
|
731
727
|
})
|
|
732
728
|
});
|
|
729
|
+
|
|
730
|
+
// src/store/index.ts
|
|
731
|
+
var useAppDispatch = import_react_redux.useDispatch;
|
|
732
|
+
var useAppSelector = import_react_redux.useSelector;
|
|
733
733
|
// Annotate the CommonJS export names for ESM import in node:
|
|
734
734
|
0 && (module.exports = {
|
|
735
735
|
breadcrumbsSlice,
|
package/dist/store.mjs
CHANGED
|
@@ -431,10 +431,6 @@ var selectSearch = (state) => state.search;
|
|
|
431
431
|
var selectSearchMap = (state) => state.search.searchMap;
|
|
432
432
|
var search_slice_default = searchSlice.reducer;
|
|
433
433
|
|
|
434
|
-
// src/store/index.ts
|
|
435
|
-
var useAppDispatch = useDispatch;
|
|
436
|
-
var useAppSelector = useSelector;
|
|
437
|
-
|
|
438
434
|
// src/store/store.ts
|
|
439
435
|
import { configureStore } from "@reduxjs/toolkit";
|
|
440
436
|
|
|
@@ -626,6 +622,10 @@ var envStore = configureStore({
|
|
|
626
622
|
serializableCheck: false
|
|
627
623
|
})
|
|
628
624
|
});
|
|
625
|
+
|
|
626
|
+
// src/store/index.ts
|
|
627
|
+
var useAppDispatch = useDispatch;
|
|
628
|
+
var useAppSelector = useSelector;
|
|
629
629
|
export {
|
|
630
630
|
breadcrumbsSlice,
|
|
631
631
|
clearSearchMap,
|