@fctc/interface-logic 1.6.8 → 1.7.1
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 +10 -3
- package/dist/environment.mjs +10 -3
- package/dist/hooks.js +11 -4
- package/dist/hooks.mjs +11 -4
- package/dist/provider.js +10 -3
- package/dist/provider.mjs +10 -3
- package/dist/services.js +11 -4
- package/dist/services.mjs +11 -4
- 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,6 +3013,7 @@ var EnvStore = class {
|
|
|
3012
3013
|
constructor(localStorageUtils2, sessionStorageUtils2) {
|
|
3013
3014
|
this.localStorageUtils = localStorageUtils2;
|
|
3014
3015
|
this.sessionStorageUtils = sessionStorageUtils2;
|
|
3016
|
+
this.setup();
|
|
3015
3017
|
}
|
|
3016
3018
|
setup() {
|
|
3017
3019
|
const env2 = envStore.getState().env;
|
|
@@ -3022,8 +3024,8 @@ var EnvStore = class {
|
|
|
3022
3024
|
this.companies = env2?.companies || [];
|
|
3023
3025
|
this.user = env2?.user;
|
|
3024
3026
|
this.db = env2?.db;
|
|
3027
|
+
this.requests = env2?.requests;
|
|
3025
3028
|
this.refreshTokenEndpoint = env2?.refreshTokenEndpoint;
|
|
3026
|
-
console.log("env from interface-logic", env2);
|
|
3027
3029
|
}
|
|
3028
3030
|
setupEnv(envConfig) {
|
|
3029
3031
|
let env2 = {
|
|
@@ -3034,8 +3036,13 @@ var EnvStore = class {
|
|
|
3034
3036
|
const requests = axiosClient.init(env2);
|
|
3035
3037
|
this.requests = requests;
|
|
3036
3038
|
const dispatch = envStore.dispatch;
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
+
dispatch(
|
|
3040
|
+
setEnv({
|
|
3041
|
+
...env2,
|
|
3042
|
+
requests
|
|
3043
|
+
})
|
|
3044
|
+
);
|
|
3045
|
+
this.setup();
|
|
3039
3046
|
return { ...env2, requests };
|
|
3040
3047
|
}
|
|
3041
3048
|
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,6 +2974,7 @@ var EnvStore = class {
|
|
|
2973
2974
|
constructor(localStorageUtils2, sessionStorageUtils2) {
|
|
2974
2975
|
this.localStorageUtils = localStorageUtils2;
|
|
2975
2976
|
this.sessionStorageUtils = sessionStorageUtils2;
|
|
2977
|
+
this.setup();
|
|
2976
2978
|
}
|
|
2977
2979
|
setup() {
|
|
2978
2980
|
const env2 = envStore.getState().env;
|
|
@@ -2983,8 +2985,8 @@ var EnvStore = class {
|
|
|
2983
2985
|
this.companies = env2?.companies || [];
|
|
2984
2986
|
this.user = env2?.user;
|
|
2985
2987
|
this.db = env2?.db;
|
|
2988
|
+
this.requests = env2?.requests;
|
|
2986
2989
|
this.refreshTokenEndpoint = env2?.refreshTokenEndpoint;
|
|
2987
|
-
console.log("env from interface-logic", env2);
|
|
2988
2990
|
}
|
|
2989
2991
|
setupEnv(envConfig) {
|
|
2990
2992
|
let env2 = {
|
|
@@ -2995,8 +2997,13 @@ var EnvStore = class {
|
|
|
2995
2997
|
const requests = axiosClient.init(env2);
|
|
2996
2998
|
this.requests = requests;
|
|
2997
2999
|
const dispatch = envStore.dispatch;
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
+
dispatch(
|
|
3001
|
+
setEnv({
|
|
3002
|
+
...env2,
|
|
3003
|
+
requests
|
|
3004
|
+
})
|
|
3005
|
+
);
|
|
3006
|
+
this.setup();
|
|
3000
3007
|
return { ...env2, requests };
|
|
3001
3008
|
}
|
|
3002
3009
|
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,6 +3138,7 @@ var EnvStore = class {
|
|
|
3137
3138
|
constructor(localStorageUtils2, sessionStorageUtils2) {
|
|
3138
3139
|
this.localStorageUtils = localStorageUtils2;
|
|
3139
3140
|
this.sessionStorageUtils = sessionStorageUtils2;
|
|
3141
|
+
this.setup();
|
|
3140
3142
|
}
|
|
3141
3143
|
setup() {
|
|
3142
3144
|
const env2 = envStore.getState().env;
|
|
@@ -3147,8 +3149,8 @@ var EnvStore = class {
|
|
|
3147
3149
|
this.companies = env2?.companies || [];
|
|
3148
3150
|
this.user = env2?.user;
|
|
3149
3151
|
this.db = env2?.db;
|
|
3152
|
+
this.requests = env2?.requests;
|
|
3150
3153
|
this.refreshTokenEndpoint = env2?.refreshTokenEndpoint;
|
|
3151
|
-
console.log("env from interface-logic", env2);
|
|
3152
3154
|
}
|
|
3153
3155
|
setupEnv(envConfig) {
|
|
3154
3156
|
let env2 = {
|
|
@@ -3159,8 +3161,13 @@ var EnvStore = class {
|
|
|
3159
3161
|
const requests = axiosClient.init(env2);
|
|
3160
3162
|
this.requests = requests;
|
|
3161
3163
|
const dispatch = envStore.dispatch;
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
+
dispatch(
|
|
3165
|
+
setEnv({
|
|
3166
|
+
...env2,
|
|
3167
|
+
requests
|
|
3168
|
+
})
|
|
3169
|
+
);
|
|
3170
|
+
this.setup();
|
|
3164
3171
|
return { ...env2, requests };
|
|
3165
3172
|
}
|
|
3166
3173
|
setUid(uid) {
|
|
@@ -4240,7 +4247,7 @@ var model_service_default = ModelService;
|
|
|
4240
4247
|
var UserService = {
|
|
4241
4248
|
async getProfile(path) {
|
|
4242
4249
|
const env2 = getEnv();
|
|
4243
|
-
return env2
|
|
4250
|
+
return env2?.requests?.get(path ?? "/userinfo" /* PROFILE_PATH */, {
|
|
4244
4251
|
headers: {
|
|
4245
4252
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
4246
4253
|
}
|
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,6 +3034,7 @@ var EnvStore = class {
|
|
|
3033
3034
|
constructor(localStorageUtils2, sessionStorageUtils2) {
|
|
3034
3035
|
this.localStorageUtils = localStorageUtils2;
|
|
3035
3036
|
this.sessionStorageUtils = sessionStorageUtils2;
|
|
3037
|
+
this.setup();
|
|
3036
3038
|
}
|
|
3037
3039
|
setup() {
|
|
3038
3040
|
const env2 = envStore.getState().env;
|
|
@@ -3043,8 +3045,8 @@ var EnvStore = class {
|
|
|
3043
3045
|
this.companies = env2?.companies || [];
|
|
3044
3046
|
this.user = env2?.user;
|
|
3045
3047
|
this.db = env2?.db;
|
|
3048
|
+
this.requests = env2?.requests;
|
|
3046
3049
|
this.refreshTokenEndpoint = env2?.refreshTokenEndpoint;
|
|
3047
|
-
console.log("env from interface-logic", env2);
|
|
3048
3050
|
}
|
|
3049
3051
|
setupEnv(envConfig) {
|
|
3050
3052
|
let env2 = {
|
|
@@ -3055,8 +3057,13 @@ var EnvStore = class {
|
|
|
3055
3057
|
const requests = axiosClient.init(env2);
|
|
3056
3058
|
this.requests = requests;
|
|
3057
3059
|
const dispatch = envStore.dispatch;
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
+
dispatch(
|
|
3061
|
+
setEnv({
|
|
3062
|
+
...env2,
|
|
3063
|
+
requests
|
|
3064
|
+
})
|
|
3065
|
+
);
|
|
3066
|
+
this.setup();
|
|
3060
3067
|
return { ...env2, requests };
|
|
3061
3068
|
}
|
|
3062
3069
|
setUid(uid) {
|
|
@@ -4136,7 +4143,7 @@ var model_service_default = ModelService;
|
|
|
4136
4143
|
var UserService = {
|
|
4137
4144
|
async getProfile(path) {
|
|
4138
4145
|
const env2 = getEnv();
|
|
4139
|
-
return env2
|
|
4146
|
+
return env2?.requests?.get(path ?? "/userinfo" /* PROFILE_PATH */, {
|
|
4140
4147
|
headers: {
|
|
4141
4148
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
4142
4149
|
}
|
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,6 +3049,7 @@ var EnvStore = class {
|
|
|
3048
3049
|
constructor(localStorageUtils2, sessionStorageUtils2) {
|
|
3049
3050
|
this.localStorageUtils = localStorageUtils2;
|
|
3050
3051
|
this.sessionStorageUtils = sessionStorageUtils2;
|
|
3052
|
+
this.setup();
|
|
3051
3053
|
}
|
|
3052
3054
|
setup() {
|
|
3053
3055
|
const env2 = envStore.getState().env;
|
|
@@ -3058,8 +3060,8 @@ var EnvStore = class {
|
|
|
3058
3060
|
this.companies = env2?.companies || [];
|
|
3059
3061
|
this.user = env2?.user;
|
|
3060
3062
|
this.db = env2?.db;
|
|
3063
|
+
this.requests = env2?.requests;
|
|
3061
3064
|
this.refreshTokenEndpoint = env2?.refreshTokenEndpoint;
|
|
3062
|
-
console.log("env from interface-logic", env2);
|
|
3063
3065
|
}
|
|
3064
3066
|
setupEnv(envConfig) {
|
|
3065
3067
|
let env2 = {
|
|
@@ -3070,8 +3072,13 @@ var EnvStore = class {
|
|
|
3070
3072
|
const requests = axiosClient.init(env2);
|
|
3071
3073
|
this.requests = requests;
|
|
3072
3074
|
const dispatch = envStore.dispatch;
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
+
dispatch(
|
|
3076
|
+
setEnv({
|
|
3077
|
+
...env2,
|
|
3078
|
+
requests
|
|
3079
|
+
})
|
|
3080
|
+
);
|
|
3081
|
+
this.setup();
|
|
3075
3082
|
return { ...env2, requests };
|
|
3076
3083
|
}
|
|
3077
3084
|
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,6 +3011,7 @@ var EnvStore = class {
|
|
|
3010
3011
|
constructor(localStorageUtils2, sessionStorageUtils2) {
|
|
3011
3012
|
this.localStorageUtils = localStorageUtils2;
|
|
3012
3013
|
this.sessionStorageUtils = sessionStorageUtils2;
|
|
3014
|
+
this.setup();
|
|
3013
3015
|
}
|
|
3014
3016
|
setup() {
|
|
3015
3017
|
const env2 = envStore.getState().env;
|
|
@@ -3020,8 +3022,8 @@ var EnvStore = class {
|
|
|
3020
3022
|
this.companies = env2?.companies || [];
|
|
3021
3023
|
this.user = env2?.user;
|
|
3022
3024
|
this.db = env2?.db;
|
|
3025
|
+
this.requests = env2?.requests;
|
|
3023
3026
|
this.refreshTokenEndpoint = env2?.refreshTokenEndpoint;
|
|
3024
|
-
console.log("env from interface-logic", env2);
|
|
3025
3027
|
}
|
|
3026
3028
|
setupEnv(envConfig) {
|
|
3027
3029
|
let env2 = {
|
|
@@ -3032,8 +3034,13 @@ var EnvStore = class {
|
|
|
3032
3034
|
const requests = axiosClient.init(env2);
|
|
3033
3035
|
this.requests = requests;
|
|
3034
3036
|
const dispatch = envStore.dispatch;
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
+
dispatch(
|
|
3038
|
+
setEnv({
|
|
3039
|
+
...env2,
|
|
3040
|
+
requests
|
|
3041
|
+
})
|
|
3042
|
+
);
|
|
3043
|
+
this.setup();
|
|
3037
3044
|
return { ...env2, requests };
|
|
3038
3045
|
}
|
|
3039
3046
|
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,6 +3053,7 @@ var EnvStore = class {
|
|
|
3052
3053
|
constructor(localStorageUtils2, sessionStorageUtils2) {
|
|
3053
3054
|
this.localStorageUtils = localStorageUtils2;
|
|
3054
3055
|
this.sessionStorageUtils = sessionStorageUtils2;
|
|
3056
|
+
this.setup();
|
|
3055
3057
|
}
|
|
3056
3058
|
setup() {
|
|
3057
3059
|
const env2 = envStore.getState().env;
|
|
@@ -3062,8 +3064,8 @@ var EnvStore = class {
|
|
|
3062
3064
|
this.companies = env2?.companies || [];
|
|
3063
3065
|
this.user = env2?.user;
|
|
3064
3066
|
this.db = env2?.db;
|
|
3067
|
+
this.requests = env2?.requests;
|
|
3065
3068
|
this.refreshTokenEndpoint = env2?.refreshTokenEndpoint;
|
|
3066
|
-
console.log("env from interface-logic", env2);
|
|
3067
3069
|
}
|
|
3068
3070
|
setupEnv(envConfig) {
|
|
3069
3071
|
let env2 = {
|
|
@@ -3074,8 +3076,13 @@ var EnvStore = class {
|
|
|
3074
3076
|
const requests = axiosClient.init(env2);
|
|
3075
3077
|
this.requests = requests;
|
|
3076
3078
|
const dispatch = envStore.dispatch;
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
+
dispatch(
|
|
3080
|
+
setEnv({
|
|
3081
|
+
...env2,
|
|
3082
|
+
requests
|
|
3083
|
+
})
|
|
3084
|
+
);
|
|
3085
|
+
this.setup();
|
|
3079
3086
|
return { ...env2, requests };
|
|
3080
3087
|
}
|
|
3081
3088
|
setUid(uid) {
|
|
@@ -4155,7 +4162,7 @@ var model_service_default = ModelService;
|
|
|
4155
4162
|
var UserService = {
|
|
4156
4163
|
async getProfile(path) {
|
|
4157
4164
|
const env2 = getEnv();
|
|
4158
|
-
return env2
|
|
4165
|
+
return env2?.requests?.get(path ?? "/userinfo" /* PROFILE_PATH */, {
|
|
4159
4166
|
headers: {
|
|
4160
4167
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
4161
4168
|
}
|
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,6 +3009,7 @@ var EnvStore = class {
|
|
|
3008
3009
|
constructor(localStorageUtils2, sessionStorageUtils2) {
|
|
3009
3010
|
this.localStorageUtils = localStorageUtils2;
|
|
3010
3011
|
this.sessionStorageUtils = sessionStorageUtils2;
|
|
3012
|
+
this.setup();
|
|
3011
3013
|
}
|
|
3012
3014
|
setup() {
|
|
3013
3015
|
const env2 = envStore.getState().env;
|
|
@@ -3018,8 +3020,8 @@ var EnvStore = class {
|
|
|
3018
3020
|
this.companies = env2?.companies || [];
|
|
3019
3021
|
this.user = env2?.user;
|
|
3020
3022
|
this.db = env2?.db;
|
|
3023
|
+
this.requests = env2?.requests;
|
|
3021
3024
|
this.refreshTokenEndpoint = env2?.refreshTokenEndpoint;
|
|
3022
|
-
console.log("env from interface-logic", env2);
|
|
3023
3025
|
}
|
|
3024
3026
|
setupEnv(envConfig) {
|
|
3025
3027
|
let env2 = {
|
|
@@ -3030,8 +3032,13 @@ var EnvStore = class {
|
|
|
3030
3032
|
const requests = axiosClient.init(env2);
|
|
3031
3033
|
this.requests = requests;
|
|
3032
3034
|
const dispatch = envStore.dispatch;
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
+
dispatch(
|
|
3036
|
+
setEnv({
|
|
3037
|
+
...env2,
|
|
3038
|
+
requests
|
|
3039
|
+
})
|
|
3040
|
+
);
|
|
3041
|
+
this.setup();
|
|
3035
3042
|
return { ...env2, requests };
|
|
3036
3043
|
}
|
|
3037
3044
|
setUid(uid) {
|
|
@@ -4111,7 +4118,7 @@ var model_service_default = ModelService;
|
|
|
4111
4118
|
var UserService = {
|
|
4112
4119
|
async getProfile(path) {
|
|
4113
4120
|
const env2 = getEnv();
|
|
4114
|
-
return env2
|
|
4121
|
+
return env2?.requests?.get(path ?? "/userinfo" /* PROFILE_PATH */, {
|
|
4115
4122
|
headers: {
|
|
4116
4123
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
4117
4124
|
}
|
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,
|