@fctc/interface-logic 1.6.7 → 1.6.9
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.js +9 -4
- package/dist/environment.mjs +9 -4
- package/dist/hooks.js +10 -5
- package/dist/hooks.mjs +10 -5
- package/dist/provider.js +9 -4
- package/dist/provider.mjs +9 -4
- package/dist/services.js +10 -5
- package/dist/services.mjs +10 -5
- package/dist/store.d.mts +14 -0
- package/dist/store.d.ts +14 -0
- package/dist/store.js +5 -4
- package/dist/store.mjs +5 -4
- package/package.json +1 -1
package/dist/environment.js
CHANGED
|
@@ -236,6 +236,7 @@ var initialState2 = {
|
|
|
236
236
|
refreshTokenEndpoint: "",
|
|
237
237
|
config: null,
|
|
238
238
|
envFile: null,
|
|
239
|
+
requests: null,
|
|
239
240
|
defaultCompany: {
|
|
240
241
|
id: null,
|
|
241
242
|
logo: "",
|
|
@@ -3012,7 +3013,6 @@ var EnvStore = class {
|
|
|
3012
3013
|
constructor(localStorageUtils2, sessionStorageUtils2) {
|
|
3013
3014
|
this.localStorageUtils = localStorageUtils2;
|
|
3014
3015
|
this.sessionStorageUtils = sessionStorageUtils2;
|
|
3015
|
-
this.setup();
|
|
3016
3016
|
}
|
|
3017
3017
|
setup() {
|
|
3018
3018
|
const env2 = envStore.getState().env;
|
|
@@ -3023,8 +3023,8 @@ var EnvStore = class {
|
|
|
3023
3023
|
this.companies = env2?.companies || [];
|
|
3024
3024
|
this.user = env2?.user;
|
|
3025
3025
|
this.db = env2?.db;
|
|
3026
|
+
this.requests = env2?.requests;
|
|
3026
3027
|
this.refreshTokenEndpoint = env2?.refreshTokenEndpoint;
|
|
3027
|
-
console.log("env from interface-logic", env2);
|
|
3028
3028
|
}
|
|
3029
3029
|
setupEnv(envConfig) {
|
|
3030
3030
|
let env2 = {
|
|
@@ -3033,9 +3033,14 @@ var EnvStore = class {
|
|
|
3033
3033
|
sessionStorageUtils: this.sessionStorageUtils
|
|
3034
3034
|
};
|
|
3035
3035
|
const requests = axiosClient.init(env2);
|
|
3036
|
-
this.requests = requests;
|
|
3037
3036
|
const dispatch = envStore.dispatch;
|
|
3038
|
-
dispatch(
|
|
3037
|
+
dispatch(
|
|
3038
|
+
setEnv({
|
|
3039
|
+
...env2,
|
|
3040
|
+
requests
|
|
3041
|
+
})
|
|
3042
|
+
);
|
|
3043
|
+
this.setup();
|
|
3039
3044
|
return { ...env2, requests };
|
|
3040
3045
|
}
|
|
3041
3046
|
setUid(uid) {
|
package/dist/environment.mjs
CHANGED
|
@@ -197,6 +197,7 @@ var initialState2 = {
|
|
|
197
197
|
refreshTokenEndpoint: "",
|
|
198
198
|
config: null,
|
|
199
199
|
envFile: null,
|
|
200
|
+
requests: null,
|
|
200
201
|
defaultCompany: {
|
|
201
202
|
id: null,
|
|
202
203
|
logo: "",
|
|
@@ -2973,7 +2974,6 @@ var EnvStore = class {
|
|
|
2973
2974
|
constructor(localStorageUtils2, sessionStorageUtils2) {
|
|
2974
2975
|
this.localStorageUtils = localStorageUtils2;
|
|
2975
2976
|
this.sessionStorageUtils = sessionStorageUtils2;
|
|
2976
|
-
this.setup();
|
|
2977
2977
|
}
|
|
2978
2978
|
setup() {
|
|
2979
2979
|
const env2 = envStore.getState().env;
|
|
@@ -2984,8 +2984,8 @@ var EnvStore = class {
|
|
|
2984
2984
|
this.companies = env2?.companies || [];
|
|
2985
2985
|
this.user = env2?.user;
|
|
2986
2986
|
this.db = env2?.db;
|
|
2987
|
+
this.requests = env2?.requests;
|
|
2987
2988
|
this.refreshTokenEndpoint = env2?.refreshTokenEndpoint;
|
|
2988
|
-
console.log("env from interface-logic", env2);
|
|
2989
2989
|
}
|
|
2990
2990
|
setupEnv(envConfig) {
|
|
2991
2991
|
let env2 = {
|
|
@@ -2994,9 +2994,14 @@ var EnvStore = class {
|
|
|
2994
2994
|
sessionStorageUtils: this.sessionStorageUtils
|
|
2995
2995
|
};
|
|
2996
2996
|
const requests = axiosClient.init(env2);
|
|
2997
|
-
this.requests = requests;
|
|
2998
2997
|
const dispatch = envStore.dispatch;
|
|
2999
|
-
dispatch(
|
|
2998
|
+
dispatch(
|
|
2999
|
+
setEnv({
|
|
3000
|
+
...env2,
|
|
3001
|
+
requests
|
|
3002
|
+
})
|
|
3003
|
+
);
|
|
3004
|
+
this.setup();
|
|
3000
3005
|
return { ...env2, requests };
|
|
3001
3006
|
}
|
|
3002
3007
|
setUid(uid) {
|
package/dist/hooks.js
CHANGED
|
@@ -334,6 +334,7 @@ var initialState2 = {
|
|
|
334
334
|
refreshTokenEndpoint: "",
|
|
335
335
|
config: null,
|
|
336
336
|
envFile: null,
|
|
337
|
+
requests: null,
|
|
337
338
|
defaultCompany: {
|
|
338
339
|
id: null,
|
|
339
340
|
logo: "",
|
|
@@ -3137,7 +3138,6 @@ var EnvStore = class {
|
|
|
3137
3138
|
constructor(localStorageUtils2, sessionStorageUtils2) {
|
|
3138
3139
|
this.localStorageUtils = localStorageUtils2;
|
|
3139
3140
|
this.sessionStorageUtils = sessionStorageUtils2;
|
|
3140
|
-
this.setup();
|
|
3141
3141
|
}
|
|
3142
3142
|
setup() {
|
|
3143
3143
|
const env2 = envStore.getState().env;
|
|
@@ -3148,8 +3148,8 @@ var EnvStore = class {
|
|
|
3148
3148
|
this.companies = env2?.companies || [];
|
|
3149
3149
|
this.user = env2?.user;
|
|
3150
3150
|
this.db = env2?.db;
|
|
3151
|
+
this.requests = env2?.requests;
|
|
3151
3152
|
this.refreshTokenEndpoint = env2?.refreshTokenEndpoint;
|
|
3152
|
-
console.log("env from interface-logic", env2);
|
|
3153
3153
|
}
|
|
3154
3154
|
setupEnv(envConfig) {
|
|
3155
3155
|
let env2 = {
|
|
@@ -3158,9 +3158,14 @@ var EnvStore = class {
|
|
|
3158
3158
|
sessionStorageUtils: this.sessionStorageUtils
|
|
3159
3159
|
};
|
|
3160
3160
|
const requests = axiosClient.init(env2);
|
|
3161
|
-
this.requests = requests;
|
|
3162
3161
|
const dispatch = envStore.dispatch;
|
|
3163
|
-
dispatch(
|
|
3162
|
+
dispatch(
|
|
3163
|
+
setEnv({
|
|
3164
|
+
...env2,
|
|
3165
|
+
requests
|
|
3166
|
+
})
|
|
3167
|
+
);
|
|
3168
|
+
this.setup();
|
|
3164
3169
|
return { ...env2, requests };
|
|
3165
3170
|
}
|
|
3166
3171
|
setUid(uid) {
|
|
@@ -4240,7 +4245,7 @@ var model_service_default = ModelService;
|
|
|
4240
4245
|
var UserService = {
|
|
4241
4246
|
async getProfile(path) {
|
|
4242
4247
|
const env2 = getEnv();
|
|
4243
|
-
return env2
|
|
4248
|
+
return env2?.requests?.get(path ?? "/userinfo" /* PROFILE_PATH */, {
|
|
4244
4249
|
headers: {
|
|
4245
4250
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
4246
4251
|
}
|
package/dist/hooks.mjs
CHANGED
|
@@ -230,6 +230,7 @@ var initialState2 = {
|
|
|
230
230
|
refreshTokenEndpoint: "",
|
|
231
231
|
config: null,
|
|
232
232
|
envFile: null,
|
|
233
|
+
requests: null,
|
|
233
234
|
defaultCompany: {
|
|
234
235
|
id: null,
|
|
235
236
|
logo: "",
|
|
@@ -3033,7 +3034,6 @@ var EnvStore = class {
|
|
|
3033
3034
|
constructor(localStorageUtils2, sessionStorageUtils2) {
|
|
3034
3035
|
this.localStorageUtils = localStorageUtils2;
|
|
3035
3036
|
this.sessionStorageUtils = sessionStorageUtils2;
|
|
3036
|
-
this.setup();
|
|
3037
3037
|
}
|
|
3038
3038
|
setup() {
|
|
3039
3039
|
const env2 = envStore.getState().env;
|
|
@@ -3044,8 +3044,8 @@ var EnvStore = class {
|
|
|
3044
3044
|
this.companies = env2?.companies || [];
|
|
3045
3045
|
this.user = env2?.user;
|
|
3046
3046
|
this.db = env2?.db;
|
|
3047
|
+
this.requests = env2?.requests;
|
|
3047
3048
|
this.refreshTokenEndpoint = env2?.refreshTokenEndpoint;
|
|
3048
|
-
console.log("env from interface-logic", env2);
|
|
3049
3049
|
}
|
|
3050
3050
|
setupEnv(envConfig) {
|
|
3051
3051
|
let env2 = {
|
|
@@ -3054,9 +3054,14 @@ var EnvStore = class {
|
|
|
3054
3054
|
sessionStorageUtils: this.sessionStorageUtils
|
|
3055
3055
|
};
|
|
3056
3056
|
const requests = axiosClient.init(env2);
|
|
3057
|
-
this.requests = requests;
|
|
3058
3057
|
const dispatch = envStore.dispatch;
|
|
3059
|
-
dispatch(
|
|
3058
|
+
dispatch(
|
|
3059
|
+
setEnv({
|
|
3060
|
+
...env2,
|
|
3061
|
+
requests
|
|
3062
|
+
})
|
|
3063
|
+
);
|
|
3064
|
+
this.setup();
|
|
3060
3065
|
return { ...env2, requests };
|
|
3061
3066
|
}
|
|
3062
3067
|
setUid(uid) {
|
|
@@ -4136,7 +4141,7 @@ var model_service_default = ModelService;
|
|
|
4136
4141
|
var UserService = {
|
|
4137
4142
|
async getProfile(path) {
|
|
4138
4143
|
const env2 = getEnv();
|
|
4139
|
-
return env2
|
|
4144
|
+
return env2?.requests?.get(path ?? "/userinfo" /* PROFILE_PATH */, {
|
|
4140
4145
|
headers: {
|
|
4141
4146
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
4142
4147
|
}
|
package/dist/provider.js
CHANGED
|
@@ -87,6 +87,7 @@ var initialState2 = {
|
|
|
87
87
|
refreshTokenEndpoint: "",
|
|
88
88
|
config: null,
|
|
89
89
|
envFile: null,
|
|
90
|
+
requests: null,
|
|
90
91
|
defaultCompany: {
|
|
91
92
|
id: null,
|
|
92
93
|
logo: "",
|
|
@@ -3048,7 +3049,6 @@ var EnvStore = class {
|
|
|
3048
3049
|
constructor(localStorageUtils2, sessionStorageUtils2) {
|
|
3049
3050
|
this.localStorageUtils = localStorageUtils2;
|
|
3050
3051
|
this.sessionStorageUtils = sessionStorageUtils2;
|
|
3051
|
-
this.setup();
|
|
3052
3052
|
}
|
|
3053
3053
|
setup() {
|
|
3054
3054
|
const env2 = envStore.getState().env;
|
|
@@ -3059,8 +3059,8 @@ var EnvStore = class {
|
|
|
3059
3059
|
this.companies = env2?.companies || [];
|
|
3060
3060
|
this.user = env2?.user;
|
|
3061
3061
|
this.db = env2?.db;
|
|
3062
|
+
this.requests = env2?.requests;
|
|
3062
3063
|
this.refreshTokenEndpoint = env2?.refreshTokenEndpoint;
|
|
3063
|
-
console.log("env from interface-logic", env2);
|
|
3064
3064
|
}
|
|
3065
3065
|
setupEnv(envConfig) {
|
|
3066
3066
|
let env2 = {
|
|
@@ -3069,9 +3069,14 @@ var EnvStore = class {
|
|
|
3069
3069
|
sessionStorageUtils: this.sessionStorageUtils
|
|
3070
3070
|
};
|
|
3071
3071
|
const requests = axiosClient.init(env2);
|
|
3072
|
-
this.requests = requests;
|
|
3073
3072
|
const dispatch = envStore.dispatch;
|
|
3074
|
-
dispatch(
|
|
3073
|
+
dispatch(
|
|
3074
|
+
setEnv({
|
|
3075
|
+
...env2,
|
|
3076
|
+
requests
|
|
3077
|
+
})
|
|
3078
|
+
);
|
|
3079
|
+
this.setup();
|
|
3075
3080
|
return { ...env2, requests };
|
|
3076
3081
|
}
|
|
3077
3082
|
setUid(uid) {
|
package/dist/provider.mjs
CHANGED
|
@@ -49,6 +49,7 @@ var initialState2 = {
|
|
|
49
49
|
refreshTokenEndpoint: "",
|
|
50
50
|
config: null,
|
|
51
51
|
envFile: null,
|
|
52
|
+
requests: null,
|
|
52
53
|
defaultCompany: {
|
|
53
54
|
id: null,
|
|
54
55
|
logo: "",
|
|
@@ -3010,7 +3011,6 @@ var EnvStore = class {
|
|
|
3010
3011
|
constructor(localStorageUtils2, sessionStorageUtils2) {
|
|
3011
3012
|
this.localStorageUtils = localStorageUtils2;
|
|
3012
3013
|
this.sessionStorageUtils = sessionStorageUtils2;
|
|
3013
|
-
this.setup();
|
|
3014
3014
|
}
|
|
3015
3015
|
setup() {
|
|
3016
3016
|
const env2 = envStore.getState().env;
|
|
@@ -3021,8 +3021,8 @@ var EnvStore = class {
|
|
|
3021
3021
|
this.companies = env2?.companies || [];
|
|
3022
3022
|
this.user = env2?.user;
|
|
3023
3023
|
this.db = env2?.db;
|
|
3024
|
+
this.requests = env2?.requests;
|
|
3024
3025
|
this.refreshTokenEndpoint = env2?.refreshTokenEndpoint;
|
|
3025
|
-
console.log("env from interface-logic", env2);
|
|
3026
3026
|
}
|
|
3027
3027
|
setupEnv(envConfig) {
|
|
3028
3028
|
let env2 = {
|
|
@@ -3031,9 +3031,14 @@ var EnvStore = class {
|
|
|
3031
3031
|
sessionStorageUtils: this.sessionStorageUtils
|
|
3032
3032
|
};
|
|
3033
3033
|
const requests = axiosClient.init(env2);
|
|
3034
|
-
this.requests = requests;
|
|
3035
3034
|
const dispatch = envStore.dispatch;
|
|
3036
|
-
dispatch(
|
|
3035
|
+
dispatch(
|
|
3036
|
+
setEnv({
|
|
3037
|
+
...env2,
|
|
3038
|
+
requests
|
|
3039
|
+
})
|
|
3040
|
+
);
|
|
3041
|
+
this.setup();
|
|
3037
3042
|
return { ...env2, requests };
|
|
3038
3043
|
}
|
|
3039
3044
|
setUid(uid) {
|
package/dist/services.js
CHANGED
|
@@ -271,6 +271,7 @@ var initialState2 = {
|
|
|
271
271
|
refreshTokenEndpoint: "",
|
|
272
272
|
config: null,
|
|
273
273
|
envFile: null,
|
|
274
|
+
requests: null,
|
|
274
275
|
defaultCompany: {
|
|
275
276
|
id: null,
|
|
276
277
|
logo: "",
|
|
@@ -3052,7 +3053,6 @@ var EnvStore = class {
|
|
|
3052
3053
|
constructor(localStorageUtils2, sessionStorageUtils2) {
|
|
3053
3054
|
this.localStorageUtils = localStorageUtils2;
|
|
3054
3055
|
this.sessionStorageUtils = sessionStorageUtils2;
|
|
3055
|
-
this.setup();
|
|
3056
3056
|
}
|
|
3057
3057
|
setup() {
|
|
3058
3058
|
const env2 = envStore.getState().env;
|
|
@@ -3063,8 +3063,8 @@ var EnvStore = class {
|
|
|
3063
3063
|
this.companies = env2?.companies || [];
|
|
3064
3064
|
this.user = env2?.user;
|
|
3065
3065
|
this.db = env2?.db;
|
|
3066
|
+
this.requests = env2?.requests;
|
|
3066
3067
|
this.refreshTokenEndpoint = env2?.refreshTokenEndpoint;
|
|
3067
|
-
console.log("env from interface-logic", env2);
|
|
3068
3068
|
}
|
|
3069
3069
|
setupEnv(envConfig) {
|
|
3070
3070
|
let env2 = {
|
|
@@ -3073,9 +3073,14 @@ var EnvStore = class {
|
|
|
3073
3073
|
sessionStorageUtils: this.sessionStorageUtils
|
|
3074
3074
|
};
|
|
3075
3075
|
const requests = axiosClient.init(env2);
|
|
3076
|
-
this.requests = requests;
|
|
3077
3076
|
const dispatch = envStore.dispatch;
|
|
3078
|
-
dispatch(
|
|
3077
|
+
dispatch(
|
|
3078
|
+
setEnv({
|
|
3079
|
+
...env2,
|
|
3080
|
+
requests
|
|
3081
|
+
})
|
|
3082
|
+
);
|
|
3083
|
+
this.setup();
|
|
3079
3084
|
return { ...env2, requests };
|
|
3080
3085
|
}
|
|
3081
3086
|
setUid(uid) {
|
|
@@ -4155,7 +4160,7 @@ var model_service_default = ModelService;
|
|
|
4155
4160
|
var UserService = {
|
|
4156
4161
|
async getProfile(path) {
|
|
4157
4162
|
const env2 = getEnv();
|
|
4158
|
-
return env2
|
|
4163
|
+
return env2?.requests?.get(path ?? "/userinfo" /* PROFILE_PATH */, {
|
|
4159
4164
|
headers: {
|
|
4160
4165
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
4161
4166
|
}
|
package/dist/services.mjs
CHANGED
|
@@ -227,6 +227,7 @@ var initialState2 = {
|
|
|
227
227
|
refreshTokenEndpoint: "",
|
|
228
228
|
config: null,
|
|
229
229
|
envFile: null,
|
|
230
|
+
requests: null,
|
|
230
231
|
defaultCompany: {
|
|
231
232
|
id: null,
|
|
232
233
|
logo: "",
|
|
@@ -3008,7 +3009,6 @@ var EnvStore = class {
|
|
|
3008
3009
|
constructor(localStorageUtils2, sessionStorageUtils2) {
|
|
3009
3010
|
this.localStorageUtils = localStorageUtils2;
|
|
3010
3011
|
this.sessionStorageUtils = sessionStorageUtils2;
|
|
3011
|
-
this.setup();
|
|
3012
3012
|
}
|
|
3013
3013
|
setup() {
|
|
3014
3014
|
const env2 = envStore.getState().env;
|
|
@@ -3019,8 +3019,8 @@ var EnvStore = class {
|
|
|
3019
3019
|
this.companies = env2?.companies || [];
|
|
3020
3020
|
this.user = env2?.user;
|
|
3021
3021
|
this.db = env2?.db;
|
|
3022
|
+
this.requests = env2?.requests;
|
|
3022
3023
|
this.refreshTokenEndpoint = env2?.refreshTokenEndpoint;
|
|
3023
|
-
console.log("env from interface-logic", env2);
|
|
3024
3024
|
}
|
|
3025
3025
|
setupEnv(envConfig) {
|
|
3026
3026
|
let env2 = {
|
|
@@ -3029,9 +3029,14 @@ var EnvStore = class {
|
|
|
3029
3029
|
sessionStorageUtils: this.sessionStorageUtils
|
|
3030
3030
|
};
|
|
3031
3031
|
const requests = axiosClient.init(env2);
|
|
3032
|
-
this.requests = requests;
|
|
3033
3032
|
const dispatch = envStore.dispatch;
|
|
3034
|
-
dispatch(
|
|
3033
|
+
dispatch(
|
|
3034
|
+
setEnv({
|
|
3035
|
+
...env2,
|
|
3036
|
+
requests
|
|
3037
|
+
})
|
|
3038
|
+
);
|
|
3039
|
+
this.setup();
|
|
3035
3040
|
return { ...env2, requests };
|
|
3036
3041
|
}
|
|
3037
3042
|
setUid(uid) {
|
|
@@ -4111,7 +4116,7 @@ var model_service_default = ModelService;
|
|
|
4111
4116
|
var UserService = {
|
|
4112
4117
|
async getProfile(path) {
|
|
4113
4118
|
const env2 = getEnv();
|
|
4114
|
-
return env2
|
|
4119
|
+
return env2?.requests?.get(path ?? "/userinfo" /* PROFILE_PATH */, {
|
|
4115
4120
|
headers: {
|
|
4116
4121
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
4117
4122
|
}
|
package/dist/store.d.mts
CHANGED
|
@@ -261,6 +261,7 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
261
261
|
refreshTokenEndpoint: string;
|
|
262
262
|
config: null;
|
|
263
263
|
envFile: null;
|
|
264
|
+
requests: null;
|
|
264
265
|
defaultCompany: {
|
|
265
266
|
id: null;
|
|
266
267
|
logo: string;
|
|
@@ -297,6 +298,7 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
297
298
|
refreshTokenEndpoint: string;
|
|
298
299
|
config: null;
|
|
299
300
|
envFile: null;
|
|
301
|
+
requests: null;
|
|
300
302
|
defaultCompany: {
|
|
301
303
|
id: null;
|
|
302
304
|
logo: string;
|
|
@@ -334,6 +336,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
334
336
|
refreshTokenEndpoint: string;
|
|
335
337
|
config: null;
|
|
336
338
|
envFile: null;
|
|
339
|
+
requests: null;
|
|
337
340
|
defaultCompany: {
|
|
338
341
|
id: null;
|
|
339
342
|
logo: string;
|
|
@@ -355,6 +358,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
355
358
|
refreshTokenEndpoint: string;
|
|
356
359
|
config: null;
|
|
357
360
|
envFile: null;
|
|
361
|
+
requests: null;
|
|
358
362
|
defaultCompany: {
|
|
359
363
|
id: null;
|
|
360
364
|
logo: string;
|
|
@@ -379,6 +383,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
379
383
|
refreshTokenEndpoint: string;
|
|
380
384
|
config: null;
|
|
381
385
|
envFile: null;
|
|
386
|
+
requests: null;
|
|
382
387
|
defaultCompany: {
|
|
383
388
|
id: null;
|
|
384
389
|
logo: string;
|
|
@@ -403,6 +408,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
403
408
|
refreshTokenEndpoint: string;
|
|
404
409
|
config: null;
|
|
405
410
|
envFile: null;
|
|
411
|
+
requests: null;
|
|
406
412
|
defaultCompany: {
|
|
407
413
|
id: null;
|
|
408
414
|
logo: string;
|
|
@@ -427,6 +433,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
427
433
|
refreshTokenEndpoint: string;
|
|
428
434
|
config: null;
|
|
429
435
|
envFile: null;
|
|
436
|
+
requests: null;
|
|
430
437
|
defaultCompany: {
|
|
431
438
|
id: null;
|
|
432
439
|
logo: string;
|
|
@@ -451,6 +458,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
451
458
|
refreshTokenEndpoint: string;
|
|
452
459
|
config: null;
|
|
453
460
|
envFile: null;
|
|
461
|
+
requests: null;
|
|
454
462
|
defaultCompany: {
|
|
455
463
|
id: null;
|
|
456
464
|
logo: string;
|
|
@@ -475,6 +483,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
475
483
|
refreshTokenEndpoint: string;
|
|
476
484
|
config: null;
|
|
477
485
|
envFile: null;
|
|
486
|
+
requests: null;
|
|
478
487
|
defaultCompany: {
|
|
479
488
|
id: null;
|
|
480
489
|
logo: string;
|
|
@@ -499,6 +508,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
499
508
|
refreshTokenEndpoint: string;
|
|
500
509
|
config: null;
|
|
501
510
|
envFile: null;
|
|
511
|
+
requests: null;
|
|
502
512
|
defaultCompany: {
|
|
503
513
|
id: null;
|
|
504
514
|
logo: string;
|
|
@@ -523,6 +533,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
523
533
|
refreshTokenEndpoint: string;
|
|
524
534
|
config: null;
|
|
525
535
|
envFile: null;
|
|
536
|
+
requests: null;
|
|
526
537
|
defaultCompany: {
|
|
527
538
|
id: null;
|
|
528
539
|
logo: string;
|
|
@@ -547,6 +558,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
547
558
|
refreshTokenEndpoint: string;
|
|
548
559
|
config: null;
|
|
549
560
|
envFile: null;
|
|
561
|
+
requests: null;
|
|
550
562
|
defaultCompany: {
|
|
551
563
|
id: null;
|
|
552
564
|
logo: string;
|
|
@@ -571,6 +583,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
571
583
|
refreshTokenEndpoint: string;
|
|
572
584
|
config: null;
|
|
573
585
|
envFile: null;
|
|
586
|
+
requests: null;
|
|
574
587
|
defaultCompany: {
|
|
575
588
|
id: null;
|
|
576
589
|
logo: string;
|
|
@@ -601,6 +614,7 @@ declare const selectEnv: (state: RootState) => {
|
|
|
601
614
|
refreshTokenEndpoint: string;
|
|
602
615
|
config: null;
|
|
603
616
|
envFile: null;
|
|
617
|
+
requests: null;
|
|
604
618
|
defaultCompany: {
|
|
605
619
|
id: null;
|
|
606
620
|
logo: string;
|
package/dist/store.d.ts
CHANGED
|
@@ -261,6 +261,7 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
261
261
|
refreshTokenEndpoint: string;
|
|
262
262
|
config: null;
|
|
263
263
|
envFile: null;
|
|
264
|
+
requests: null;
|
|
264
265
|
defaultCompany: {
|
|
265
266
|
id: null;
|
|
266
267
|
logo: string;
|
|
@@ -297,6 +298,7 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
297
298
|
refreshTokenEndpoint: string;
|
|
298
299
|
config: null;
|
|
299
300
|
envFile: null;
|
|
301
|
+
requests: null;
|
|
300
302
|
defaultCompany: {
|
|
301
303
|
id: null;
|
|
302
304
|
logo: string;
|
|
@@ -334,6 +336,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
334
336
|
refreshTokenEndpoint: string;
|
|
335
337
|
config: null;
|
|
336
338
|
envFile: null;
|
|
339
|
+
requests: null;
|
|
337
340
|
defaultCompany: {
|
|
338
341
|
id: null;
|
|
339
342
|
logo: string;
|
|
@@ -355,6 +358,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
355
358
|
refreshTokenEndpoint: string;
|
|
356
359
|
config: null;
|
|
357
360
|
envFile: null;
|
|
361
|
+
requests: null;
|
|
358
362
|
defaultCompany: {
|
|
359
363
|
id: null;
|
|
360
364
|
logo: string;
|
|
@@ -379,6 +383,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
379
383
|
refreshTokenEndpoint: string;
|
|
380
384
|
config: null;
|
|
381
385
|
envFile: null;
|
|
386
|
+
requests: null;
|
|
382
387
|
defaultCompany: {
|
|
383
388
|
id: null;
|
|
384
389
|
logo: string;
|
|
@@ -403,6 +408,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
403
408
|
refreshTokenEndpoint: string;
|
|
404
409
|
config: null;
|
|
405
410
|
envFile: null;
|
|
411
|
+
requests: null;
|
|
406
412
|
defaultCompany: {
|
|
407
413
|
id: null;
|
|
408
414
|
logo: string;
|
|
@@ -427,6 +433,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
427
433
|
refreshTokenEndpoint: string;
|
|
428
434
|
config: null;
|
|
429
435
|
envFile: null;
|
|
436
|
+
requests: null;
|
|
430
437
|
defaultCompany: {
|
|
431
438
|
id: null;
|
|
432
439
|
logo: string;
|
|
@@ -451,6 +458,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
451
458
|
refreshTokenEndpoint: string;
|
|
452
459
|
config: null;
|
|
453
460
|
envFile: null;
|
|
461
|
+
requests: null;
|
|
454
462
|
defaultCompany: {
|
|
455
463
|
id: null;
|
|
456
464
|
logo: string;
|
|
@@ -475,6 +483,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
475
483
|
refreshTokenEndpoint: string;
|
|
476
484
|
config: null;
|
|
477
485
|
envFile: null;
|
|
486
|
+
requests: null;
|
|
478
487
|
defaultCompany: {
|
|
479
488
|
id: null;
|
|
480
489
|
logo: string;
|
|
@@ -499,6 +508,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
499
508
|
refreshTokenEndpoint: string;
|
|
500
509
|
config: null;
|
|
501
510
|
envFile: null;
|
|
511
|
+
requests: null;
|
|
502
512
|
defaultCompany: {
|
|
503
513
|
id: null;
|
|
504
514
|
logo: string;
|
|
@@ -523,6 +533,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
523
533
|
refreshTokenEndpoint: string;
|
|
524
534
|
config: null;
|
|
525
535
|
envFile: null;
|
|
536
|
+
requests: null;
|
|
526
537
|
defaultCompany: {
|
|
527
538
|
id: null;
|
|
528
539
|
logo: string;
|
|
@@ -547,6 +558,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
547
558
|
refreshTokenEndpoint: string;
|
|
548
559
|
config: null;
|
|
549
560
|
envFile: null;
|
|
561
|
+
requests: null;
|
|
550
562
|
defaultCompany: {
|
|
551
563
|
id: null;
|
|
552
564
|
logo: string;
|
|
@@ -571,6 +583,7 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
571
583
|
refreshTokenEndpoint: string;
|
|
572
584
|
config: null;
|
|
573
585
|
envFile: null;
|
|
586
|
+
requests: null;
|
|
574
587
|
defaultCompany: {
|
|
575
588
|
id: null;
|
|
576
589
|
logo: string;
|
|
@@ -601,6 +614,7 @@ declare const selectEnv: (state: RootState) => {
|
|
|
601
614
|
refreshTokenEndpoint: string;
|
|
602
615
|
config: null;
|
|
603
616
|
envFile: null;
|
|
617
|
+
requests: null;
|
|
604
618
|
defaultCompany: {
|
|
605
619
|
id: null;
|
|
606
620
|
logo: string;
|
package/dist/store.js
CHANGED
|
@@ -133,6 +133,7 @@ var initialState2 = {
|
|
|
133
133
|
refreshTokenEndpoint: "",
|
|
134
134
|
config: null,
|
|
135
135
|
envFile: null,
|
|
136
|
+
requests: null,
|
|
136
137
|
defaultCompany: {
|
|
137
138
|
id: null,
|
|
138
139
|
logo: "",
|
|
@@ -536,10 +537,6 @@ var selectSearch = (state) => state.search;
|
|
|
536
537
|
var selectSearchMap = (state) => state.search.searchMap;
|
|
537
538
|
var search_slice_default = searchSlice.reducer;
|
|
538
539
|
|
|
539
|
-
// src/store/index.ts
|
|
540
|
-
var useAppDispatch = import_react_redux.useDispatch;
|
|
541
|
-
var useAppSelector = import_react_redux.useSelector;
|
|
542
|
-
|
|
543
540
|
// src/store/store.ts
|
|
544
541
|
var import_toolkit11 = require("@reduxjs/toolkit");
|
|
545
542
|
|
|
@@ -731,6 +728,10 @@ var envStore = (0, import_toolkit11.configureStore)({
|
|
|
731
728
|
serializableCheck: false
|
|
732
729
|
})
|
|
733
730
|
});
|
|
731
|
+
|
|
732
|
+
// src/store/index.ts
|
|
733
|
+
var useAppDispatch = import_react_redux.useDispatch;
|
|
734
|
+
var useAppSelector = import_react_redux.useSelector;
|
|
734
735
|
// Annotate the CommonJS export names for ESM import in node:
|
|
735
736
|
0 && (module.exports = {
|
|
736
737
|
breadcrumbsSlice,
|
package/dist/store.mjs
CHANGED
|
@@ -29,6 +29,7 @@ var initialState2 = {
|
|
|
29
29
|
refreshTokenEndpoint: "",
|
|
30
30
|
config: null,
|
|
31
31
|
envFile: null,
|
|
32
|
+
requests: null,
|
|
32
33
|
defaultCompany: {
|
|
33
34
|
id: null,
|
|
34
35
|
logo: "",
|
|
@@ -432,10 +433,6 @@ var selectSearch = (state) => state.search;
|
|
|
432
433
|
var selectSearchMap = (state) => state.search.searchMap;
|
|
433
434
|
var search_slice_default = searchSlice.reducer;
|
|
434
435
|
|
|
435
|
-
// src/store/index.ts
|
|
436
|
-
var useAppDispatch = useDispatch;
|
|
437
|
-
var useAppSelector = useSelector;
|
|
438
|
-
|
|
439
436
|
// src/store/store.ts
|
|
440
437
|
import { configureStore } from "@reduxjs/toolkit";
|
|
441
438
|
|
|
@@ -627,6 +624,10 @@ var envStore = configureStore({
|
|
|
627
624
|
serializableCheck: false
|
|
628
625
|
})
|
|
629
626
|
});
|
|
627
|
+
|
|
628
|
+
// src/store/index.ts
|
|
629
|
+
var useAppDispatch = useDispatch;
|
|
630
|
+
var useAppSelector = useSelector;
|
|
630
631
|
export {
|
|
631
632
|
breadcrumbsSlice,
|
|
632
633
|
clearSearchMap,
|