@fctc/interface-logic 1.2.8 → 1.2.10
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/index.d.mts +1709 -23
- package/dist/index.d.ts +1709 -23
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/dist/store.js +4 -4
- package/dist/store.mjs +4 -4
- package/package.json +1 -1
- package/dist/base-model-type-DvO53Lwi.d.mts +0 -7
- package/dist/base-model-type-DvO53Lwi.d.ts +0 -7
- package/dist/config.d.mts +0 -16
- package/dist/config.d.ts +0 -16
- package/dist/constants.d.mts +0 -131
- package/dist/constants.d.ts +0 -131
- package/dist/context-type-D5XefoL-.d.mts +0 -8
- package/dist/context-type-D5XefoL-.d.ts +0 -8
- package/dist/environment.d.mts +0 -42
- package/dist/environment.d.ts +0 -42
- package/dist/hooks.d.mts +0 -339
- package/dist/hooks.d.ts +0 -339
- package/dist/index-C_nK1Mii.d.mts +0 -19
- package/dist/index-C_nK1Mii.d.ts +0 -19
- package/dist/model.d.mts +0 -35
- package/dist/model.d.ts +0 -35
- package/dist/provider.d.mts +0 -15
- package/dist/provider.d.ts +0 -15
- package/dist/services.d.mts +0 -258
- package/dist/services.d.ts +0 -258
- package/dist/session-storage-CxkkEmQh.d.mts +0 -15
- package/dist/session-storage-CxkkEmQh.d.ts +0 -15
- package/dist/store.d.mts +0 -643
- package/dist/store.d.ts +0 -643
- package/dist/types.d.mts +0 -12
- package/dist/types.d.ts +0 -12
- package/dist/use-get-selection-QZu1jKqa.d.mts +0 -15
- package/dist/use-get-selection-QZu1jKqa.d.ts +0 -15
- package/dist/utils.d.mts +0 -96
- package/dist/utils.d.ts +0 -96
- package/dist/view-type-y6vtF3wg.d.mts +0 -106
- package/dist/view-type-y6vtF3wg.d.ts +0 -106
package/dist/store.d.ts
DELETED
|
@@ -1,643 +0,0 @@
|
|
|
1
|
-
import { TypedUseSelectorHook } from 'react-redux';
|
|
2
|
-
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
3
|
-
import { PayloadAction } from '@reduxjs/toolkit';
|
|
4
|
-
import * as redux_thunk from 'redux-thunk';
|
|
5
|
-
import * as redux from 'redux';
|
|
6
|
-
import * as immer from 'immer';
|
|
7
|
-
|
|
8
|
-
declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
9
|
-
env: {
|
|
10
|
-
baseUrl: string;
|
|
11
|
-
requests: null;
|
|
12
|
-
companies: never[];
|
|
13
|
-
user: {};
|
|
14
|
-
config: null;
|
|
15
|
-
envFile: null;
|
|
16
|
-
defaultCompany: {
|
|
17
|
-
id: null;
|
|
18
|
-
logo: string;
|
|
19
|
-
secondary_color: string;
|
|
20
|
-
primary_color: string;
|
|
21
|
-
};
|
|
22
|
-
context: {
|
|
23
|
-
uid: null;
|
|
24
|
-
allowed_company_ids: never[];
|
|
25
|
-
lang: string;
|
|
26
|
-
tz: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
header: {
|
|
30
|
-
value: {
|
|
31
|
-
allowedCompanyIds: never[];
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
navbar: NavbarStateType;
|
|
35
|
-
list: ListState;
|
|
36
|
-
search: SearchState;
|
|
37
|
-
form: FormState;
|
|
38
|
-
breadcrumbs: BreadcrumbsState;
|
|
39
|
-
login: LoginStateType;
|
|
40
|
-
excel: ExcelState;
|
|
41
|
-
profile: ProfileStateType;
|
|
42
|
-
}, redux.UnknownAction, _reduxjs_toolkit.Tuple<[redux.StoreEnhancer<{
|
|
43
|
-
dispatch: redux_thunk.ThunkDispatch<{
|
|
44
|
-
env: {
|
|
45
|
-
baseUrl: string;
|
|
46
|
-
requests: null;
|
|
47
|
-
companies: never[];
|
|
48
|
-
user: {};
|
|
49
|
-
config: null;
|
|
50
|
-
envFile: null;
|
|
51
|
-
defaultCompany: {
|
|
52
|
-
id: null;
|
|
53
|
-
logo: string;
|
|
54
|
-
secondary_color: string;
|
|
55
|
-
primary_color: string;
|
|
56
|
-
};
|
|
57
|
-
context: {
|
|
58
|
-
uid: null;
|
|
59
|
-
allowed_company_ids: never[];
|
|
60
|
-
lang: string;
|
|
61
|
-
tz: string;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
header: {
|
|
65
|
-
value: {
|
|
66
|
-
allowedCompanyIds: never[];
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
navbar: NavbarStateType;
|
|
70
|
-
list: ListState;
|
|
71
|
-
search: SearchState;
|
|
72
|
-
form: FormState;
|
|
73
|
-
breadcrumbs: BreadcrumbsState;
|
|
74
|
-
login: LoginStateType;
|
|
75
|
-
excel: ExcelState;
|
|
76
|
-
profile: ProfileStateType;
|
|
77
|
-
}, undefined, redux.UnknownAction>;
|
|
78
|
-
}>, redux.StoreEnhancer]>>;
|
|
79
|
-
|
|
80
|
-
interface Breadcrumb {
|
|
81
|
-
title?: string;
|
|
82
|
-
path?: string;
|
|
83
|
-
view: 'list' | 'detail' | 'edit' | 'tree';
|
|
84
|
-
aid: string | number;
|
|
85
|
-
model: string;
|
|
86
|
-
id: string | number;
|
|
87
|
-
}
|
|
88
|
-
interface BreadcrumbsState {
|
|
89
|
-
breadCrumbs: Breadcrumb[];
|
|
90
|
-
}
|
|
91
|
-
declare const breadcrumbsSlice: _reduxjs_toolkit.Slice<BreadcrumbsState, {
|
|
92
|
-
setBreadCrumbs: (state: BreadcrumbsState, action: PayloadAction<Breadcrumb>) => void;
|
|
93
|
-
}, "breadcrumbs", "breadcrumbs", _reduxjs_toolkit.SliceSelectors<BreadcrumbsState>>;
|
|
94
|
-
declare const setBreadCrumbs: _reduxjs_toolkit.ActionCreatorWithPayload<Breadcrumb, "breadcrumbs/setBreadCrumbs">;
|
|
95
|
-
declare const selectBreadCrumbs: (state: RootState) => BreadcrumbsState;
|
|
96
|
-
|
|
97
|
-
declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
98
|
-
baseUrl: string;
|
|
99
|
-
requests: null;
|
|
100
|
-
companies: never[];
|
|
101
|
-
user: {};
|
|
102
|
-
config: null;
|
|
103
|
-
envFile: null;
|
|
104
|
-
defaultCompany: {
|
|
105
|
-
id: null;
|
|
106
|
-
logo: string;
|
|
107
|
-
secondary_color: string;
|
|
108
|
-
primary_color: string;
|
|
109
|
-
};
|
|
110
|
-
context: {
|
|
111
|
-
uid: null;
|
|
112
|
-
allowed_company_ids: never[];
|
|
113
|
-
lang: string;
|
|
114
|
-
tz: string;
|
|
115
|
-
};
|
|
116
|
-
}, {
|
|
117
|
-
setEnv: (state: immer.WritableDraft<{
|
|
118
|
-
baseUrl: string;
|
|
119
|
-
requests: null;
|
|
120
|
-
companies: never[];
|
|
121
|
-
user: {};
|
|
122
|
-
config: null;
|
|
123
|
-
envFile: null;
|
|
124
|
-
defaultCompany: {
|
|
125
|
-
id: null;
|
|
126
|
-
logo: string;
|
|
127
|
-
secondary_color: string;
|
|
128
|
-
primary_color: string;
|
|
129
|
-
};
|
|
130
|
-
context: {
|
|
131
|
-
uid: null;
|
|
132
|
-
allowed_company_ids: never[];
|
|
133
|
-
lang: string;
|
|
134
|
-
tz: string;
|
|
135
|
-
};
|
|
136
|
-
}>, action: {
|
|
137
|
-
payload: any;
|
|
138
|
-
type: string;
|
|
139
|
-
}) => void;
|
|
140
|
-
setUid: (state: immer.WritableDraft<{
|
|
141
|
-
baseUrl: string;
|
|
142
|
-
requests: null;
|
|
143
|
-
companies: never[];
|
|
144
|
-
user: {};
|
|
145
|
-
config: null;
|
|
146
|
-
envFile: null;
|
|
147
|
-
defaultCompany: {
|
|
148
|
-
id: null;
|
|
149
|
-
logo: string;
|
|
150
|
-
secondary_color: string;
|
|
151
|
-
primary_color: string;
|
|
152
|
-
};
|
|
153
|
-
context: {
|
|
154
|
-
uid: null;
|
|
155
|
-
allowed_company_ids: never[];
|
|
156
|
-
lang: string;
|
|
157
|
-
tz: string;
|
|
158
|
-
};
|
|
159
|
-
}>, action: {
|
|
160
|
-
payload: any;
|
|
161
|
-
type: string;
|
|
162
|
-
}) => void;
|
|
163
|
-
setAllowCompanies: (state: immer.WritableDraft<{
|
|
164
|
-
baseUrl: string;
|
|
165
|
-
requests: null;
|
|
166
|
-
companies: never[];
|
|
167
|
-
user: {};
|
|
168
|
-
config: null;
|
|
169
|
-
envFile: null;
|
|
170
|
-
defaultCompany: {
|
|
171
|
-
id: null;
|
|
172
|
-
logo: string;
|
|
173
|
-
secondary_color: string;
|
|
174
|
-
primary_color: string;
|
|
175
|
-
};
|
|
176
|
-
context: {
|
|
177
|
-
uid: null;
|
|
178
|
-
allowed_company_ids: never[];
|
|
179
|
-
lang: string;
|
|
180
|
-
tz: string;
|
|
181
|
-
};
|
|
182
|
-
}>, action: {
|
|
183
|
-
payload: any;
|
|
184
|
-
type: string;
|
|
185
|
-
}) => void;
|
|
186
|
-
setCompanies: (state: immer.WritableDraft<{
|
|
187
|
-
baseUrl: string;
|
|
188
|
-
requests: null;
|
|
189
|
-
companies: never[];
|
|
190
|
-
user: {};
|
|
191
|
-
config: null;
|
|
192
|
-
envFile: null;
|
|
193
|
-
defaultCompany: {
|
|
194
|
-
id: null;
|
|
195
|
-
logo: string;
|
|
196
|
-
secondary_color: string;
|
|
197
|
-
primary_color: string;
|
|
198
|
-
};
|
|
199
|
-
context: {
|
|
200
|
-
uid: null;
|
|
201
|
-
allowed_company_ids: never[];
|
|
202
|
-
lang: string;
|
|
203
|
-
tz: string;
|
|
204
|
-
};
|
|
205
|
-
}>, action: {
|
|
206
|
-
payload: any;
|
|
207
|
-
type: string;
|
|
208
|
-
}) => void;
|
|
209
|
-
setDefaultCompany: (state: immer.WritableDraft<{
|
|
210
|
-
baseUrl: string;
|
|
211
|
-
requests: null;
|
|
212
|
-
companies: never[];
|
|
213
|
-
user: {};
|
|
214
|
-
config: null;
|
|
215
|
-
envFile: null;
|
|
216
|
-
defaultCompany: {
|
|
217
|
-
id: null;
|
|
218
|
-
logo: string;
|
|
219
|
-
secondary_color: string;
|
|
220
|
-
primary_color: string;
|
|
221
|
-
};
|
|
222
|
-
context: {
|
|
223
|
-
uid: null;
|
|
224
|
-
allowed_company_ids: never[];
|
|
225
|
-
lang: string;
|
|
226
|
-
tz: string;
|
|
227
|
-
};
|
|
228
|
-
}>, action: {
|
|
229
|
-
payload: any;
|
|
230
|
-
type: string;
|
|
231
|
-
}) => void;
|
|
232
|
-
setLang: (state: immer.WritableDraft<{
|
|
233
|
-
baseUrl: string;
|
|
234
|
-
requests: null;
|
|
235
|
-
companies: never[];
|
|
236
|
-
user: {};
|
|
237
|
-
config: null;
|
|
238
|
-
envFile: null;
|
|
239
|
-
defaultCompany: {
|
|
240
|
-
id: null;
|
|
241
|
-
logo: string;
|
|
242
|
-
secondary_color: string;
|
|
243
|
-
primary_color: string;
|
|
244
|
-
};
|
|
245
|
-
context: {
|
|
246
|
-
uid: null;
|
|
247
|
-
allowed_company_ids: never[];
|
|
248
|
-
lang: string;
|
|
249
|
-
tz: string;
|
|
250
|
-
};
|
|
251
|
-
}>, action: {
|
|
252
|
-
payload: any;
|
|
253
|
-
type: string;
|
|
254
|
-
}) => void;
|
|
255
|
-
setUser: (state: immer.WritableDraft<{
|
|
256
|
-
baseUrl: string;
|
|
257
|
-
requests: null;
|
|
258
|
-
companies: never[];
|
|
259
|
-
user: {};
|
|
260
|
-
config: null;
|
|
261
|
-
envFile: null;
|
|
262
|
-
defaultCompany: {
|
|
263
|
-
id: null;
|
|
264
|
-
logo: string;
|
|
265
|
-
secondary_color: string;
|
|
266
|
-
primary_color: string;
|
|
267
|
-
};
|
|
268
|
-
context: {
|
|
269
|
-
uid: null;
|
|
270
|
-
allowed_company_ids: never[];
|
|
271
|
-
lang: string;
|
|
272
|
-
tz: string;
|
|
273
|
-
};
|
|
274
|
-
}>, action: {
|
|
275
|
-
payload: any;
|
|
276
|
-
type: string;
|
|
277
|
-
}) => void;
|
|
278
|
-
setConfig: (state: immer.WritableDraft<{
|
|
279
|
-
baseUrl: string;
|
|
280
|
-
requests: null;
|
|
281
|
-
companies: never[];
|
|
282
|
-
user: {};
|
|
283
|
-
config: null;
|
|
284
|
-
envFile: null;
|
|
285
|
-
defaultCompany: {
|
|
286
|
-
id: null;
|
|
287
|
-
logo: string;
|
|
288
|
-
secondary_color: string;
|
|
289
|
-
primary_color: string;
|
|
290
|
-
};
|
|
291
|
-
context: {
|
|
292
|
-
uid: null;
|
|
293
|
-
allowed_company_ids: never[];
|
|
294
|
-
lang: string;
|
|
295
|
-
tz: string;
|
|
296
|
-
};
|
|
297
|
-
}>, action: {
|
|
298
|
-
payload: any;
|
|
299
|
-
type: string;
|
|
300
|
-
}) => void;
|
|
301
|
-
setEnvFile: (state: immer.WritableDraft<{
|
|
302
|
-
baseUrl: string;
|
|
303
|
-
requests: null;
|
|
304
|
-
companies: never[];
|
|
305
|
-
user: {};
|
|
306
|
-
config: null;
|
|
307
|
-
envFile: null;
|
|
308
|
-
defaultCompany: {
|
|
309
|
-
id: null;
|
|
310
|
-
logo: string;
|
|
311
|
-
secondary_color: string;
|
|
312
|
-
primary_color: string;
|
|
313
|
-
};
|
|
314
|
-
context: {
|
|
315
|
-
uid: null;
|
|
316
|
-
allowed_company_ids: never[];
|
|
317
|
-
lang: string;
|
|
318
|
-
tz: string;
|
|
319
|
-
};
|
|
320
|
-
}>, action: {
|
|
321
|
-
payload: any;
|
|
322
|
-
type: string;
|
|
323
|
-
}) => void;
|
|
324
|
-
}, "env", "env", _reduxjs_toolkit.SliceSelectors<{
|
|
325
|
-
baseUrl: string;
|
|
326
|
-
requests: null;
|
|
327
|
-
companies: never[];
|
|
328
|
-
user: {};
|
|
329
|
-
config: null;
|
|
330
|
-
envFile: null;
|
|
331
|
-
defaultCompany: {
|
|
332
|
-
id: null;
|
|
333
|
-
logo: string;
|
|
334
|
-
secondary_color: string;
|
|
335
|
-
primary_color: string;
|
|
336
|
-
};
|
|
337
|
-
context: {
|
|
338
|
-
uid: null;
|
|
339
|
-
allowed_company_ids: never[];
|
|
340
|
-
lang: string;
|
|
341
|
-
tz: string;
|
|
342
|
-
};
|
|
343
|
-
}>>;
|
|
344
|
-
declare const setEnv: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnv">;
|
|
345
|
-
declare const setUid: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setUid">;
|
|
346
|
-
declare const setLang: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setLang">;
|
|
347
|
-
declare const setAllowCompanies: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setAllowCompanies">;
|
|
348
|
-
declare const setCompanies: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setCompanies">;
|
|
349
|
-
declare const setDefaultCompany: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setDefaultCompany">;
|
|
350
|
-
declare const setUser: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setUser">;
|
|
351
|
-
declare const setConfig: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setConfig">;
|
|
352
|
-
declare const setEnvFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnvFile">;
|
|
353
|
-
declare const selectEnv: (state: RootState) => {
|
|
354
|
-
baseUrl: string;
|
|
355
|
-
requests: null;
|
|
356
|
-
companies: never[];
|
|
357
|
-
user: {};
|
|
358
|
-
config: null;
|
|
359
|
-
envFile: null;
|
|
360
|
-
defaultCompany: {
|
|
361
|
-
id: null;
|
|
362
|
-
logo: string;
|
|
363
|
-
secondary_color: string;
|
|
364
|
-
primary_color: string;
|
|
365
|
-
};
|
|
366
|
-
context: {
|
|
367
|
-
uid: null;
|
|
368
|
-
allowed_company_ids: never[];
|
|
369
|
-
lang: string;
|
|
370
|
-
tz: string;
|
|
371
|
-
};
|
|
372
|
-
};
|
|
373
|
-
|
|
374
|
-
interface ExcelState {
|
|
375
|
-
dataParse: any | null;
|
|
376
|
-
idFile: any | null;
|
|
377
|
-
isFileLoaded: boolean;
|
|
378
|
-
loadingImport: any;
|
|
379
|
-
selectedFile: any;
|
|
380
|
-
errorData: any;
|
|
381
|
-
}
|
|
382
|
-
declare const excelSlice: _reduxjs_toolkit.Slice<ExcelState, {
|
|
383
|
-
setDataParse: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
|
|
384
|
-
setIdFile: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
|
|
385
|
-
setIsFileLoaded: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
|
|
386
|
-
setLoadingImport: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
|
|
387
|
-
setSelectedFile: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
|
|
388
|
-
setErrorData: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
|
|
389
|
-
}, "excel", "excel", _reduxjs_toolkit.SliceSelectors<ExcelState>>;
|
|
390
|
-
declare const setDataParse: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setDataParse">;
|
|
391
|
-
declare const setIdFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setIdFile">;
|
|
392
|
-
declare const setIsFileLoaded: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setIsFileLoaded">;
|
|
393
|
-
declare const setLoadingImport: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setLoadingImport">;
|
|
394
|
-
declare const setSelectedFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setSelectedFile">;
|
|
395
|
-
declare const setErrorData: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setErrorData">;
|
|
396
|
-
declare const selectExcel: (state: RootState) => ExcelState;
|
|
397
|
-
|
|
398
|
-
interface ViewDataStore {
|
|
399
|
-
[key: string]: any;
|
|
400
|
-
}
|
|
401
|
-
interface FormState {
|
|
402
|
-
viewDataStore: ViewDataStore;
|
|
403
|
-
isShowingModalDetail: boolean;
|
|
404
|
-
isShowModalTranslate: boolean;
|
|
405
|
-
formSubmitComponent: Record<string, React.ReactNode>;
|
|
406
|
-
fieldTranslation: any;
|
|
407
|
-
listSubject: any;
|
|
408
|
-
dataUser: any;
|
|
409
|
-
}
|
|
410
|
-
declare const formSlice: _reduxjs_toolkit.Slice<FormState, {
|
|
411
|
-
setViewDataStore: (state: FormState, action: PayloadAction<ViewDataStore>) => void;
|
|
412
|
-
setIsShowingModalDetail: (state: FormState, action: PayloadAction<boolean>) => void;
|
|
413
|
-
setIsShowModalTranslate: (state: FormState, action: PayloadAction<boolean>) => void;
|
|
414
|
-
setFormSubmitComponent: (state: immer.WritableDraft<FormState>, action: PayloadAction<{
|
|
415
|
-
key: string;
|
|
416
|
-
component: any;
|
|
417
|
-
}>) => void;
|
|
418
|
-
setFieldTranslate: (state: FormState, action: PayloadAction<any>) => void;
|
|
419
|
-
setListSubject: (state: FormState, action: PayloadAction<any>) => void;
|
|
420
|
-
setDataUser: (state: FormState, action: PayloadAction<any>) => void;
|
|
421
|
-
}, "form", "form", _reduxjs_toolkit.SliceSelectors<FormState>>;
|
|
422
|
-
declare const setViewDataStore: _reduxjs_toolkit.ActionCreatorWithPayload<ViewDataStore, "form/setViewDataStore">;
|
|
423
|
-
declare const setIsShowingModalDetail: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "form/setIsShowingModalDetail">;
|
|
424
|
-
declare const setIsShowModalTranslate: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "form/setIsShowModalTranslate">;
|
|
425
|
-
declare const setFormSubmitComponent: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
426
|
-
key: string;
|
|
427
|
-
component: any;
|
|
428
|
-
}, "form/setFormSubmitComponent">;
|
|
429
|
-
declare const setFieldTranslate: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setFieldTranslate">;
|
|
430
|
-
declare const setListSubject: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setListSubject">;
|
|
431
|
-
declare const setDataUser: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setDataUser">;
|
|
432
|
-
declare const selectForm: (state: RootState) => FormState;
|
|
433
|
-
|
|
434
|
-
declare const headerSlice: _reduxjs_toolkit.Slice<{
|
|
435
|
-
value: {
|
|
436
|
-
allowedCompanyIds: never[];
|
|
437
|
-
};
|
|
438
|
-
}, {
|
|
439
|
-
setHeader: (state: immer.WritableDraft<{
|
|
440
|
-
value: {
|
|
441
|
-
allowedCompanyIds: never[];
|
|
442
|
-
};
|
|
443
|
-
}>, action: {
|
|
444
|
-
payload: any;
|
|
445
|
-
type: string;
|
|
446
|
-
}) => void;
|
|
447
|
-
setAllowedCompanyIds: (state: immer.WritableDraft<{
|
|
448
|
-
value: {
|
|
449
|
-
allowedCompanyIds: never[];
|
|
450
|
-
};
|
|
451
|
-
}>, action: {
|
|
452
|
-
payload: any;
|
|
453
|
-
type: string;
|
|
454
|
-
}) => void;
|
|
455
|
-
}, "header", "header", _reduxjs_toolkit.SliceSelectors<{
|
|
456
|
-
value: {
|
|
457
|
-
allowedCompanyIds: never[];
|
|
458
|
-
};
|
|
459
|
-
}>>;
|
|
460
|
-
declare const setAllowedCompanyIds: _reduxjs_toolkit.ActionCreatorWithPayload<any, "header/setAllowedCompanyIds">;
|
|
461
|
-
declare const setHeader: _reduxjs_toolkit.ActionCreatorWithPayload<any, "header/setHeader">;
|
|
462
|
-
declare const selectHeader: (state: RootState) => {
|
|
463
|
-
value: {
|
|
464
|
-
allowedCompanyIds: never[];
|
|
465
|
-
};
|
|
466
|
-
};
|
|
467
|
-
|
|
468
|
-
interface ListState {
|
|
469
|
-
pageLimit: number;
|
|
470
|
-
fields: Record<string, any>;
|
|
471
|
-
order: string | null;
|
|
472
|
-
selectedRowKeys: number[];
|
|
473
|
-
selectedRadioKey: any;
|
|
474
|
-
indexRowTableModal: number;
|
|
475
|
-
isUpdateTableModal: boolean;
|
|
476
|
-
footerGroupTable: Record<string, any>;
|
|
477
|
-
page: number;
|
|
478
|
-
transferDetail?: any;
|
|
479
|
-
domainTable?: any;
|
|
480
|
-
}
|
|
481
|
-
declare const listSlice: _reduxjs_toolkit.Slice<ListState, {
|
|
482
|
-
setPageLimit: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
|
|
483
|
-
setFields: (state: immer.WritableDraft<ListState>, action: PayloadAction<Record<string, any>>) => void;
|
|
484
|
-
setOrder: (state: immer.WritableDraft<ListState>, action: PayloadAction<string | null>) => void;
|
|
485
|
-
setSelectedRowKeys: (state: immer.WritableDraft<ListState>, action: PayloadAction<number[]>) => void;
|
|
486
|
-
setSelectedRadioKey: (state: immer.WritableDraft<ListState>, action: any) => void;
|
|
487
|
-
setIndexRowTableModal: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
|
|
488
|
-
setTransferDetail: (state: immer.WritableDraft<ListState>, action: any) => void;
|
|
489
|
-
setIsUpdateTableModal: (state: immer.WritableDraft<ListState>, action: PayloadAction<boolean>) => void;
|
|
490
|
-
setPage: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
|
|
491
|
-
setDomainTable: (state: immer.WritableDraft<ListState>, action: PayloadAction<any[]>) => void;
|
|
492
|
-
}, "list", "list", _reduxjs_toolkit.SliceSelectors<ListState>>;
|
|
493
|
-
declare const setPageLimit: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setPageLimit">;
|
|
494
|
-
declare const setFields: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "list/setFields">;
|
|
495
|
-
declare const setOrder: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "list/setOrder">;
|
|
496
|
-
declare const setSelectedRowKeys: _reduxjs_toolkit.ActionCreatorWithPayload<number[], "list/setSelectedRowKeys">;
|
|
497
|
-
declare const setIndexRowTableModal: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setIndexRowTableModal">;
|
|
498
|
-
declare const setIsUpdateTableModal: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "list/setIsUpdateTableModal">;
|
|
499
|
-
declare const setPage: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setPage">;
|
|
500
|
-
declare const setSelectedRadioKey: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setSelectedRadioKey"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"list/setSelectedRadioKey">;
|
|
501
|
-
declare const setTransferDetail: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setTransferDetail"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"list/setTransferDetail">;
|
|
502
|
-
declare const setDomainTable: _reduxjs_toolkit.ActionCreatorWithPayload<any[], "list/setDomainTable">;
|
|
503
|
-
declare const selectList: (state: RootState) => ListState;
|
|
504
|
-
|
|
505
|
-
interface LoginStateType {
|
|
506
|
-
db: string;
|
|
507
|
-
redirectTo: string;
|
|
508
|
-
forgotPasswordUrl: string;
|
|
509
|
-
}
|
|
510
|
-
declare const loginSlice: _reduxjs_toolkit.Slice<LoginStateType, {
|
|
511
|
-
setDb: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
|
|
512
|
-
setRedirectTo: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
|
|
513
|
-
setForgotPasswordUrl: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
|
|
514
|
-
}, "login", "login", _reduxjs_toolkit.SliceSelectors<LoginStateType>>;
|
|
515
|
-
declare const setDb: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setDb">;
|
|
516
|
-
declare const setRedirectTo: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setRedirectTo">;
|
|
517
|
-
declare const setForgotPasswordUrl: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setForgotPasswordUrl">;
|
|
518
|
-
declare const selectLogin: (state: RootState) => LoginStateType;
|
|
519
|
-
|
|
520
|
-
interface NavbarStateType {
|
|
521
|
-
menuFocus: any;
|
|
522
|
-
menuAction: any;
|
|
523
|
-
navbarWidth: number;
|
|
524
|
-
menuList: any;
|
|
525
|
-
}
|
|
526
|
-
declare const navbarSlice: _reduxjs_toolkit.Slice<NavbarStateType, {
|
|
527
|
-
setMenuFocus: (state: immer.WritableDraft<NavbarStateType>, action: {
|
|
528
|
-
payload: any;
|
|
529
|
-
type: string;
|
|
530
|
-
}) => void;
|
|
531
|
-
setMenuFocusAction: (state: immer.WritableDraft<NavbarStateType>, action: {
|
|
532
|
-
payload: any;
|
|
533
|
-
type: string;
|
|
534
|
-
}) => void;
|
|
535
|
-
setNavbarWidth: (state: immer.WritableDraft<NavbarStateType>, action: {
|
|
536
|
-
payload: any;
|
|
537
|
-
type: string;
|
|
538
|
-
}) => void;
|
|
539
|
-
setMenuList: (state: immer.WritableDraft<NavbarStateType>, action: {
|
|
540
|
-
payload: any;
|
|
541
|
-
type: string;
|
|
542
|
-
}) => void;
|
|
543
|
-
}, "navbar", "navbar", _reduxjs_toolkit.SliceSelectors<NavbarStateType>>;
|
|
544
|
-
declare const setMenuFocus: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setMenuFocus">;
|
|
545
|
-
declare const setMenuFocusAction: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setMenuFocusAction">;
|
|
546
|
-
declare const setNavbarWidth: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setNavbarWidth">;
|
|
547
|
-
declare const setMenuList: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setMenuList">;
|
|
548
|
-
declare const selectNavbar: (state: RootState) => NavbarStateType;
|
|
549
|
-
|
|
550
|
-
interface UserInfor {
|
|
551
|
-
address?: {
|
|
552
|
-
country?: boolean;
|
|
553
|
-
formatted?: string;
|
|
554
|
-
locality?: boolean;
|
|
555
|
-
postal_code?: boolean;
|
|
556
|
-
region?: boolean;
|
|
557
|
-
street_address?: boolean;
|
|
558
|
-
};
|
|
559
|
-
email?: string;
|
|
560
|
-
locale?: string;
|
|
561
|
-
name?: string;
|
|
562
|
-
partner_id?: {
|
|
563
|
-
id?: number;
|
|
564
|
-
stud_id?: boolean;
|
|
565
|
-
};
|
|
566
|
-
phone_number?: boolean;
|
|
567
|
-
sub?: number;
|
|
568
|
-
updated_at?: string;
|
|
569
|
-
username?: string;
|
|
570
|
-
website?: boolean;
|
|
571
|
-
zoneinfo?: string;
|
|
572
|
-
image?: string;
|
|
573
|
-
}
|
|
574
|
-
interface ProfileStateType {
|
|
575
|
-
profile: UserInfor;
|
|
576
|
-
}
|
|
577
|
-
declare const profileSlice: _reduxjs_toolkit.Slice<ProfileStateType, {
|
|
578
|
-
setProfile: (state: immer.WritableDraft<ProfileStateType>, action: {
|
|
579
|
-
payload: any;
|
|
580
|
-
type: string;
|
|
581
|
-
}) => void;
|
|
582
|
-
}, "profile", "profile", _reduxjs_toolkit.SliceSelectors<ProfileStateType>>;
|
|
583
|
-
declare const setProfile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "profile/setProfile">;
|
|
584
|
-
declare const selectProfile: (state: RootState) => ProfileStateType;
|
|
585
|
-
|
|
586
|
-
interface SearchState {
|
|
587
|
-
groupByDomain: any;
|
|
588
|
-
searchBy: any;
|
|
589
|
-
searchString: string;
|
|
590
|
-
hoveredIndexSearchList: any;
|
|
591
|
-
selectedTags: [];
|
|
592
|
-
firstDomain: any;
|
|
593
|
-
searchMap: Record<string, any[]>;
|
|
594
|
-
filterBy: any;
|
|
595
|
-
groupBy: any;
|
|
596
|
-
}
|
|
597
|
-
declare const searchSlice: _reduxjs_toolkit.Slice<SearchState, {
|
|
598
|
-
setGroupByDomain: (state: immer.WritableDraft<SearchState>, action: PayloadAction<string | null>) => void;
|
|
599
|
-
setSearchBy: (state: immer.WritableDraft<SearchState>, action: any) => void;
|
|
600
|
-
setSearchString: (state: immer.WritableDraft<SearchState>, action: PayloadAction<string>) => void;
|
|
601
|
-
setHoveredIndexSearchList: (state: immer.WritableDraft<SearchState>, action: PayloadAction<number | null>) => void;
|
|
602
|
-
setSelectedTags: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
|
|
603
|
-
setFirstDomain: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
|
|
604
|
-
setFilterBy: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
|
|
605
|
-
setGroupBy: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
|
|
606
|
-
setSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<Record<string, any>>) => void;
|
|
607
|
-
updateSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<{
|
|
608
|
-
key: string;
|
|
609
|
-
value: any;
|
|
610
|
-
}>) => void;
|
|
611
|
-
removeKeyFromSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<{
|
|
612
|
-
key: string;
|
|
613
|
-
item?: any;
|
|
614
|
-
}>) => void;
|
|
615
|
-
clearSearchMap: (state: immer.WritableDraft<SearchState>) => void;
|
|
616
|
-
}, "search", "search", _reduxjs_toolkit.SliceSelectors<SearchState>>;
|
|
617
|
-
declare const setGroupByDomain: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "search/setGroupByDomain">;
|
|
618
|
-
declare const setSelectedTags: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setSelectedTags">;
|
|
619
|
-
declare const setSearchString: _reduxjs_toolkit.ActionCreatorWithPayload<string, "search/setSearchString">;
|
|
620
|
-
declare const setHoveredIndexSearchList: _reduxjs_toolkit.ActionCreatorWithPayload<number | null, "search/setHoveredIndexSearchList">;
|
|
621
|
-
declare const setFirstDomain: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFirstDomain">;
|
|
622
|
-
declare const setSearchBy: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"search/setSearchBy"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"search/setSearchBy">;
|
|
623
|
-
declare const setFilterBy: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFilterBy">;
|
|
624
|
-
declare const setSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "search/setSearchMap">;
|
|
625
|
-
declare const updateSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
626
|
-
key: string;
|
|
627
|
-
value: any;
|
|
628
|
-
}, "search/updateSearchMap">;
|
|
629
|
-
declare const removeKeyFromSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
630
|
-
key: string;
|
|
631
|
-
item?: any;
|
|
632
|
-
}, "search/removeKeyFromSearchMap">;
|
|
633
|
-
declare const setGroupBy: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setGroupBy">;
|
|
634
|
-
declare const clearSearchMap: _reduxjs_toolkit.ActionCreatorWithoutPayload<"search/clearSearchMap">;
|
|
635
|
-
declare const selectSearch: (state: RootState) => SearchState;
|
|
636
|
-
declare const selectSearchMap: (state: RootState) => Record<string, any[]>;
|
|
637
|
-
|
|
638
|
-
type RootState = ReturnType<typeof envStore.getState>;
|
|
639
|
-
type AppDispatch = typeof envStore.dispatch;
|
|
640
|
-
declare const useAppDispatch: () => AppDispatch;
|
|
641
|
-
declare const useAppSelector: TypedUseSelectorHook<RootState>;
|
|
642
|
-
|
|
643
|
-
export { type AppDispatch, type BreadcrumbsState, type ExcelState, type FormState, type ListState, type LoginStateType, type NavbarStateType, type ProfileStateType, type RootState, type SearchState, type UserInfor, type ViewDataStore, breadcrumbsSlice, clearSearchMap, envSlice, envStore, excelSlice, formSlice, headerSlice, listSlice, loginSlice, navbarSlice, profileSlice, removeKeyFromSearchMap, searchSlice, selectBreadCrumbs, selectEnv, selectExcel, selectForm, selectHeader, selectList, selectLogin, selectNavbar, selectProfile, selectSearch, selectSearchMap, setAllowCompanies, setAllowedCompanyIds, setBreadCrumbs, setCompanies, setConfig, setDataParse, setDataUser, setDb, setDefaultCompany, setDomainTable, setEnv, setEnvFile, setErrorData, setFieldTranslate, setFields, setFilterBy, setFirstDomain, setForgotPasswordUrl, setFormSubmitComponent, setGroupBy, setGroupByDomain, setHeader, setHoveredIndexSearchList, setIdFile, setIndexRowTableModal, setIsFileLoaded, setIsShowModalTranslate, setIsShowingModalDetail, setIsUpdateTableModal, setLang, setListSubject, setLoadingImport, setMenuFocus, setMenuFocusAction, setMenuList, setNavbarWidth, setOrder, setPage, setPageLimit, setProfile, setRedirectTo, setSearchBy, setSearchMap, setSearchString, setSelectedFile, setSelectedRadioKey, setSelectedRowKeys, setSelectedTags, setTransferDetail, setUid, setUser, setViewDataStore, updateSearchMap, useAppDispatch, useAppSelector };
|
package/dist/types.d.mts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { C as ContextApi, D as DeleteParams, F as ForgotPasswordBody, G as GetAllParams, a as GetDetailParams, b as GetListParams, c as GetViewParams, L as LoginCredentialBody, O as OnChangeParams, R as ResetPasswordRequest, S as SaveParams, d as SocialTokenBody, e as Specification, U as UpdatePasswordRequest, V as View, f as ViewData, u as updatePasswordBody } from './view-type-y6vtF3wg.mjs';
|
|
2
|
-
export { B as BaseModelInit } from './base-model-type-DvO53Lwi.mjs';
|
|
3
|
-
export { C as Context } from './context-type-D5XefoL-.mjs';
|
|
4
|
-
|
|
5
|
-
interface Config {
|
|
6
|
-
baseUrl: string;
|
|
7
|
-
grantType: string;
|
|
8
|
-
clientId: string;
|
|
9
|
-
clientSecret: string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export type { Config };
|
package/dist/types.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { C as ContextApi, D as DeleteParams, F as ForgotPasswordBody, G as GetAllParams, a as GetDetailParams, b as GetListParams, c as GetViewParams, L as LoginCredentialBody, O as OnChangeParams, R as ResetPasswordRequest, S as SaveParams, d as SocialTokenBody, e as Specification, U as UpdatePasswordRequest, V as View, f as ViewData, u as updatePasswordBody } from './view-type-y6vtF3wg.js';
|
|
2
|
-
export { B as BaseModelInit } from './base-model-type-DvO53Lwi.js';
|
|
3
|
-
export { C as Context } from './context-type-D5XefoL-.js';
|
|
4
|
-
|
|
5
|
-
interface Config {
|
|
6
|
-
baseUrl: string;
|
|
7
|
-
grantType: string;
|
|
8
|
-
clientId: string;
|
|
9
|
-
clientSecret: string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export type { Config };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
|
|
3
|
-
type GetSelectionType = {
|
|
4
|
-
domain: any;
|
|
5
|
-
context: any;
|
|
6
|
-
model: string;
|
|
7
|
-
specification?: any;
|
|
8
|
-
};
|
|
9
|
-
declare const useGetSelection: ({ data, queryKey, enabled, }: {
|
|
10
|
-
data: GetSelectionType;
|
|
11
|
-
queryKey: any[];
|
|
12
|
-
enabled?: boolean;
|
|
13
|
-
}) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
14
|
-
|
|
15
|
-
export { type GetSelectionType as G, useGetSelection as u };
|