@fctc/edu-logic-lib 1.1.0 → 1.1.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/hooks.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { L as LoginCredentialBody, d as SocialTokenBody, F as ForgotPasswordBody, u as updatePasswordBody, V as ViewData, C as ContextApi, f as GetViewParams } from './view-type-DCixhUzb.mjs';
2
+ import { L as LoginCredentialBody, c as SocialTokenBody, F as ForgotPasswordBody, u as updatePasswordBody, V as ViewData, C as ContextApi, e as GetViewParams } from './view-type-BTzRpkT7.mjs';
3
3
  export { u as useGetFormView, a as useGetSelection } from './use-get-selection-DFh6sc49.mjs';
4
4
  import { a as BaseModelInit, B as BaseModel } from './index-C_nK1Mii.mjs';
5
5
  import './environment.mjs';
package/dist/hooks.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { L as LoginCredentialBody, d as SocialTokenBody, F as ForgotPasswordBody, u as updatePasswordBody, V as ViewData, C as ContextApi, f as GetViewParams } from './view-type-DCixhUzb.js';
2
+ import { L as LoginCredentialBody, c as SocialTokenBody, F as ForgotPasswordBody, u as updatePasswordBody, V as ViewData, C as ContextApi, e as GetViewParams } from './view-type-BTzRpkT7.js';
3
3
  export { u as useGetFormView, a as useGetSelection } from './use-get-selection-DFh6sc49.js';
4
4
  import { a as BaseModelInit, B as BaseModel } from './index-C_nK1Mii.js';
5
5
  import './environment.js';
package/dist/index.d.mts CHANGED
@@ -4,9 +4,9 @@ export { useButton, useChangeStatus, useDelete, useDeleteComment, useDuplicateRe
4
4
  export { u as useGetFormView, a as useGetSelection } from './use-get-selection-DFh6sc49.mjs';
5
5
  export { MainProvider, ReactQueryProvider, VersionGate } from './provider.mjs';
6
6
  export { ActionService, AuthService, CompanyService, ExcelService, FormService, ModelService, UserService, ViewService } from './services.mjs';
7
- export { A as AppDispatch, E as ExcelState, F as FormState, L as ListState, Q as NavbarStateType, X as ProfileStateType, R as RootState, $ as SearchState, W as UserInfor, V as ViewDataStore, ae as clearSearchMap, e as envSlice, ah as envStore, k as excelSlice, t as formSlice, G as listSlice, S as navbarSlice, Y as profileSlice, ac as removeKeyFromSearchMap, a0 as searchSlice, j as selectEnv, r as selectExcel, D as selectForm, P as selectList, U as selectNavbar, _ as selectProfile, af as selectSearch, ag as selectSearchMap, d as setAllowCompanies, f as setCompanies, l as setDataParse, C as setDataUser, g as setDefaultCompany, O as setDomainTable, s as setEnv, i as setEnvFile, q as setErrorData, z as setFieldTranslate, I as setFields, a7 as setFilterBy, a5 as setFirstDomain, y as setFormSubmitComponent, ad as setGroupBy, a1 as setGroupByDomain, a4 as setHoveredIndexSearchList, m as setIdFile, M as setIndexRowTableModal, n as setIsFileLoaded, x as setIsShowModalTranslate, w as setIsShowingModalDetail, c as setLang, B as setListSubject, o as setLoadingImport, T as setMenuList, a9 as setModelSearch, J as setOrder, N as setPage, H as setPageLimit, Z as setProfile, aa as setSearchMap, a3 as setSearchString, p as setSelectedFile, K as setSelectedRowKeys, a2 as setSelectedTags, a6 as setTableHead, a8 as setTypeFieldsSearch, b as setUid, h as setUser, v as setViewDataStore, ab as updateSearchMap, u as useAppDispatch, a as useAppSelector } from './store-tC7LKtbY.mjs';
7
+ export { AppDispatch, RootState, clearSearchMap, envSlice, envStore, excelSlice, formSlice, listSlice, navbarSlice, profileSlice, removeKeyFromSearchMap, searchSlice, selectEnv, selectExcel, selectForm, selectList, selectNavbar, selectProfile, selectSearch, selectSearchMap, setAllowCompanies, setCompanies, setDataParse, setDataUser, setDefaultCompany, setDomainTable, setEnv, setEnvFile, setErrorData, setFieldTranslate, setFields, setFilterBy, setFirstDomain, setFormSubmitComponent, setGroupBy, setGroupByDomain, setHoveredIndexSearchList, setIdFile, setIndexRowTableModal, setIsFileLoaded, setIsShowModalTranslate, setIsShowingModalDetail, setLang, setListSubject, setLoadingImport, setMenuList, setModelSearch, setOrder, setPage, setPageLimit, setProfile, setSearchMap, setSearchString, setSelectedFile, setSelectedRowKeys, setSelectedTags, setTableHead, setTypeFieldsSearch, setUid, setUser, setViewDataStore, updateSearchMap, useAppDispatch, useAppSelector } from './store.mjs';
8
8
  export { checkIsImageLink, domainHelper, evalJSONContext, evalJSONDomain, formatFileSize, formatSortingString, formatUrlPath, getFieldsOnChange, getSubdomain, isBase64File, isBase64Image, removeUndefinedFields, stringToColor, toQueryString, useTabModel } from './utils.mjs';
9
- export { C as ContextApi, D as DeleteParams, F as ForgotPasswordBody, G as GetAllParams, b as GetDetailParams, a as GetListParams, f as GetViewParams, L as LoginCredentialBody, O as OnChangeParams, R as ResetPasswordRequest, c as SaveParams, d as SocialTokenBody, S as Specification, U as UpdatePasswordRequest, e as View, V as ViewData, u as updatePasswordBody } from './view-type-DCixhUzb.mjs';
9
+ export { C as ContextApi, D as DeleteParams, F as ForgotPasswordBody, G as GetAllParams, a as GetDetailParams, b as GetListParams, e as GetViewParams, L as LoginCredentialBody, O as OnChangeParams, R as ResetPasswordRequest, S as SaveParams, c as SocialTokenBody, d as Specification, U as UpdatePasswordRequest, f as View, V as ViewData, u as updatePasswordBody } from './view-type-BTzRpkT7.mjs';
10
10
  export { B as BaseModelInit } from './base-model-type-DvO53Lwi.mjs';
11
11
  export { Config } from './types.mjs';
12
12
  export { C as Context } from './context-type-D5XefoL-.mjs';
package/dist/index.d.ts CHANGED
@@ -4,9 +4,9 @@ export { useButton, useChangeStatus, useDelete, useDeleteComment, useDuplicateRe
4
4
  export { u as useGetFormView, a as useGetSelection } from './use-get-selection-DFh6sc49.js';
5
5
  export { MainProvider, ReactQueryProvider, VersionGate } from './provider.js';
6
6
  export { ActionService, AuthService, CompanyService, ExcelService, FormService, ModelService, UserService, ViewService } from './services.js';
7
- export { A as AppDispatch, E as ExcelState, F as FormState, L as ListState, Q as NavbarStateType, X as ProfileStateType, R as RootState, $ as SearchState, W as UserInfor, V as ViewDataStore, ae as clearSearchMap, e as envSlice, ah as envStore, k as excelSlice, t as formSlice, G as listSlice, S as navbarSlice, Y as profileSlice, ac as removeKeyFromSearchMap, a0 as searchSlice, j as selectEnv, r as selectExcel, D as selectForm, P as selectList, U as selectNavbar, _ as selectProfile, af as selectSearch, ag as selectSearchMap, d as setAllowCompanies, f as setCompanies, l as setDataParse, C as setDataUser, g as setDefaultCompany, O as setDomainTable, s as setEnv, i as setEnvFile, q as setErrorData, z as setFieldTranslate, I as setFields, a7 as setFilterBy, a5 as setFirstDomain, y as setFormSubmitComponent, ad as setGroupBy, a1 as setGroupByDomain, a4 as setHoveredIndexSearchList, m as setIdFile, M as setIndexRowTableModal, n as setIsFileLoaded, x as setIsShowModalTranslate, w as setIsShowingModalDetail, c as setLang, B as setListSubject, o as setLoadingImport, T as setMenuList, a9 as setModelSearch, J as setOrder, N as setPage, H as setPageLimit, Z as setProfile, aa as setSearchMap, a3 as setSearchString, p as setSelectedFile, K as setSelectedRowKeys, a2 as setSelectedTags, a6 as setTableHead, a8 as setTypeFieldsSearch, b as setUid, h as setUser, v as setViewDataStore, ab as updateSearchMap, u as useAppDispatch, a as useAppSelector } from './store-tC7LKtbY.js';
7
+ export { AppDispatch, RootState, clearSearchMap, envSlice, envStore, excelSlice, formSlice, listSlice, navbarSlice, profileSlice, removeKeyFromSearchMap, searchSlice, selectEnv, selectExcel, selectForm, selectList, selectNavbar, selectProfile, selectSearch, selectSearchMap, setAllowCompanies, setCompanies, setDataParse, setDataUser, setDefaultCompany, setDomainTable, setEnv, setEnvFile, setErrorData, setFieldTranslate, setFields, setFilterBy, setFirstDomain, setFormSubmitComponent, setGroupBy, setGroupByDomain, setHoveredIndexSearchList, setIdFile, setIndexRowTableModal, setIsFileLoaded, setIsShowModalTranslate, setIsShowingModalDetail, setLang, setListSubject, setLoadingImport, setMenuList, setModelSearch, setOrder, setPage, setPageLimit, setProfile, setSearchMap, setSearchString, setSelectedFile, setSelectedRowKeys, setSelectedTags, setTableHead, setTypeFieldsSearch, setUid, setUser, setViewDataStore, updateSearchMap, useAppDispatch, useAppSelector } from './store.js';
8
8
  export { checkIsImageLink, domainHelper, evalJSONContext, evalJSONDomain, formatFileSize, formatSortingString, formatUrlPath, getFieldsOnChange, getSubdomain, isBase64File, isBase64Image, removeUndefinedFields, stringToColor, toQueryString, useTabModel } from './utils.js';
9
- export { C as ContextApi, D as DeleteParams, F as ForgotPasswordBody, G as GetAllParams, b as GetDetailParams, a as GetListParams, f as GetViewParams, L as LoginCredentialBody, O as OnChangeParams, R as ResetPasswordRequest, c as SaveParams, d as SocialTokenBody, S as Specification, U as UpdatePasswordRequest, e as View, V as ViewData, u as updatePasswordBody } from './view-type-DCixhUzb.js';
9
+ export { C as ContextApi, D as DeleteParams, F as ForgotPasswordBody, G as GetAllParams, a as GetDetailParams, b as GetListParams, e as GetViewParams, L as LoginCredentialBody, O as OnChangeParams, R as ResetPasswordRequest, S as SaveParams, c as SocialTokenBody, d as Specification, U as UpdatePasswordRequest, f as View, V as ViewData, u as updatePasswordBody } from './view-type-BTzRpkT7.js';
10
10
  export { B as BaseModelInit } from './base-model-type-DvO53Lwi.js';
11
11
  export { Config } from './types.js';
12
12
  export { C as Context } from './context-type-D5XefoL-.js';
@@ -1,4 +1,4 @@
1
- import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, a as GetListParams, b as GetDetailParams, c as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, f as GetViewParams } from './view-type-DCixhUzb.mjs';
1
+ import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, b as GetListParams, a as GetDetailParams, S as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, e as GetViewParams } from './view-type-BTzRpkT7.mjs';
2
2
  import { T as TFormView, G as GetSelectionType } from './use-get-selection-DFh6sc49.mjs';
3
3
  import { C as Context } from './context-type-D5XefoL-.mjs';
4
4
  import '@tanstack/react-query';
@@ -1,4 +1,4 @@
1
- import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, a as GetListParams, b as GetDetailParams, c as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, f as GetViewParams } from './view-type-DCixhUzb.js';
1
+ import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, b as GetListParams, a as GetDetailParams, S as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, e as GetViewParams } from './view-type-BTzRpkT7.js';
2
2
  import { T as TFormView, G as GetSelectionType } from './use-get-selection-DFh6sc49.js';
3
3
  import { C as Context } from './context-type-D5XefoL-.js';
4
4
  import '@tanstack/react-query';
package/dist/store.d.mts CHANGED
@@ -1,6 +1,505 @@
1
- export { A as AppDispatch, R as RootState, ae as clearSearchMap, e as envSlice, ah as envStore, k as excelSlice, t as formSlice, G as listSlice, S as navbarSlice, Y as profileSlice, ac as removeKeyFromSearchMap, a0 as searchSlice, j as selectEnv, r as selectExcel, D as selectForm, P as selectList, U as selectNavbar, _ as selectProfile, af as selectSearch, ag as selectSearchMap, d as setAllowCompanies, f as setCompanies, l as setDataParse, C as setDataUser, g as setDefaultCompany, O as setDomainTable, s as setEnv, i as setEnvFile, q as setErrorData, z as setFieldTranslate, I as setFields, a7 as setFilterBy, a5 as setFirstDomain, y as setFormSubmitComponent, ad as setGroupBy, a1 as setGroupByDomain, a4 as setHoveredIndexSearchList, m as setIdFile, M as setIndexRowTableModal, n as setIsFileLoaded, x as setIsShowModalTranslate, w as setIsShowingModalDetail, c as setLang, B as setListSubject, o as setLoadingImport, T as setMenuList, a9 as setModelSearch, J as setOrder, N as setPage, H as setPageLimit, Z as setProfile, aa as setSearchMap, a3 as setSearchString, p as setSelectedFile, K as setSelectedRowKeys, a2 as setSelectedTags, a6 as setTableHead, a8 as setTypeFieldsSearch, b as setUid, h as setUser, v as setViewDataStore, ab as updateSearchMap, u as useAppDispatch, a as useAppSelector } from './store-tC7LKtbY.mjs';
2
- import 'react-redux';
3
- import '@reduxjs/toolkit';
4
- import 'redux-thunk';
5
- import 'redux';
6
- import 'immer';
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
+ interface UserInfor {
9
+ address?: {
10
+ country?: boolean;
11
+ formatted?: string;
12
+ locality?: boolean;
13
+ postal_code?: boolean;
14
+ region?: boolean;
15
+ street_address?: boolean;
16
+ };
17
+ email?: string;
18
+ locale?: string;
19
+ name?: string;
20
+ partner_id?: {
21
+ id?: number;
22
+ stud_id?: boolean;
23
+ };
24
+ phone_number?: boolean;
25
+ sub?: number;
26
+ updated_at?: string;
27
+ username?: string;
28
+ website?: boolean;
29
+ zoneinfo?: string;
30
+ image?: string;
31
+ }
32
+ interface ProfileStateType {
33
+ profile: UserInfor;
34
+ }
35
+ declare const profileSlice: _reduxjs_toolkit.Slice<ProfileStateType, {
36
+ setProfile: (state: immer.WritableDraft<ProfileStateType>, action: {
37
+ payload: any;
38
+ type: string;
39
+ }) => void;
40
+ }, "profile", "profile", _reduxjs_toolkit.SliceSelectors<ProfileStateType>>;
41
+ declare const setProfile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "profile/setProfile">;
42
+ declare const selectProfile: (state: RootState) => ProfileStateType;
43
+
44
+ interface ExcelState {
45
+ dataParse: any | null;
46
+ idFile: any | null;
47
+ isFileLoaded: boolean;
48
+ loadingImport: any;
49
+ selectedFile: any;
50
+ errorData: any;
51
+ }
52
+ declare const excelSlice: _reduxjs_toolkit.Slice<ExcelState, {
53
+ setDataParse: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
54
+ setIdFile: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
55
+ setIsFileLoaded: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
56
+ setLoadingImport: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
57
+ setSelectedFile: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
58
+ setErrorData: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
59
+ }, "excel", "excel", _reduxjs_toolkit.SliceSelectors<ExcelState>>;
60
+ declare const setDataParse: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setDataParse">;
61
+ declare const setIdFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setIdFile">;
62
+ declare const setIsFileLoaded: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setIsFileLoaded">;
63
+ declare const setLoadingImport: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setLoadingImport">;
64
+ declare const setSelectedFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setSelectedFile">;
65
+ declare const setErrorData: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setErrorData">;
66
+ declare const selectExcel: (state: RootState) => ExcelState;
67
+
68
+ interface ViewDataStore {
69
+ [key: string]: any;
70
+ }
71
+ interface FormState {
72
+ viewDataStore: ViewDataStore;
73
+ isShowingModalDetail: boolean;
74
+ isShowModalTranslate: boolean;
75
+ formSubmitComponent: Record<string, React.ReactNode>;
76
+ fieldTranslation: any;
77
+ listSubject: any;
78
+ dataUser: any;
79
+ }
80
+ declare const formSlice: _reduxjs_toolkit.Slice<FormState, {
81
+ setViewDataStore: (state: FormState, action: PayloadAction<ViewDataStore>) => void;
82
+ setIsShowingModalDetail: (state: FormState, action: PayloadAction<boolean>) => void;
83
+ setIsShowModalTranslate: (state: FormState, action: PayloadAction<boolean>) => void;
84
+ setFormSubmitComponent: (state: immer.WritableDraft<FormState>, action: PayloadAction<{
85
+ key: string;
86
+ component: any;
87
+ }>) => void;
88
+ setFieldTranslate: (state: FormState, action: PayloadAction<any>) => void;
89
+ setListSubject: (state: FormState, action: PayloadAction<any>) => void;
90
+ setDataUser: (state: FormState, action: PayloadAction<any>) => void;
91
+ }, "form", "form", _reduxjs_toolkit.SliceSelectors<FormState>>;
92
+ declare const setViewDataStore: _reduxjs_toolkit.ActionCreatorWithPayload<ViewDataStore, "form/setViewDataStore">;
93
+ declare const setIsShowingModalDetail: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "form/setIsShowingModalDetail">;
94
+ declare const setIsShowModalTranslate: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "form/setIsShowModalTranslate">;
95
+ declare const setFormSubmitComponent: _reduxjs_toolkit.ActionCreatorWithPayload<{
96
+ key: string;
97
+ component: any;
98
+ }, "form/setFormSubmitComponent">;
99
+ declare const setFieldTranslate: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setFieldTranslate">;
100
+ declare const setListSubject: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setListSubject">;
101
+ declare const setDataUser: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setDataUser">;
102
+ declare const selectForm: (state: RootState) => FormState;
103
+
104
+ interface SearchState {
105
+ groupByDomain: any;
106
+ tableHead: any;
107
+ searchString: string;
108
+ hoveredIndexSearchList: any;
109
+ selectedTags: [];
110
+ firstDomain: any;
111
+ searchMap: Record<string, any[]>;
112
+ typeFieldsSearch: string;
113
+ modelSearch: string;
114
+ filterBy: any;
115
+ groupBy: any;
116
+ }
117
+ declare const searchSlice: _reduxjs_toolkit.Slice<SearchState, {
118
+ setGroupByDomain: (state: immer.WritableDraft<SearchState>, action: PayloadAction<string | null>) => void;
119
+ setTableHead: (state: immer.WritableDraft<SearchState>, action: any) => void;
120
+ setSearchString: (state: immer.WritableDraft<SearchState>, action: PayloadAction<string>) => void;
121
+ setHoveredIndexSearchList: (state: immer.WritableDraft<SearchState>, action: PayloadAction<number | null>) => void;
122
+ setSelectedTags: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
123
+ setFirstDomain: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
124
+ setTypeFieldsSearch: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
125
+ setModelSearch: (state: immer.WritableDraft<SearchState>, action: PayloadAction<string>) => void;
126
+ setFilterBy: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
127
+ setGroupBy: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
128
+ setSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<Record<string, any>>) => void;
129
+ updateSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<{
130
+ key: string;
131
+ value: any;
132
+ }>) => void;
133
+ removeKeyFromSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<{
134
+ key: string;
135
+ item?: any;
136
+ }>) => void;
137
+ clearSearchMap: (state: immer.WritableDraft<SearchState>) => void;
138
+ }, "search", "search", _reduxjs_toolkit.SliceSelectors<SearchState>>;
139
+ declare const setGroupByDomain: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "search/setGroupByDomain">;
140
+ declare const setSelectedTags: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setSelectedTags">;
141
+ declare const setSearchString: _reduxjs_toolkit.ActionCreatorWithPayload<string, "search/setSearchString">;
142
+ declare const setHoveredIndexSearchList: _reduxjs_toolkit.ActionCreatorWithPayload<number | null, "search/setHoveredIndexSearchList">;
143
+ declare const setFirstDomain: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFirstDomain">;
144
+ declare const setTableHead: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"search/setTableHead"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"search/setTableHead">;
145
+ declare const setFilterBy: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFilterBy">;
146
+ declare const setTypeFieldsSearch: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setTypeFieldsSearch">;
147
+ declare const setModelSearch: _reduxjs_toolkit.ActionCreatorWithPayload<string, "search/setModelSearch">;
148
+ declare const setSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "search/setSearchMap">;
149
+ declare const updateSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
150
+ key: string;
151
+ value: any;
152
+ }, "search/updateSearchMap">;
153
+ declare const removeKeyFromSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
154
+ key: string;
155
+ item?: any;
156
+ }, "search/removeKeyFromSearchMap">;
157
+ declare const setGroupBy: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setGroupBy">;
158
+ declare const clearSearchMap: _reduxjs_toolkit.ActionCreatorWithoutPayload<"search/clearSearchMap">;
159
+ declare const selectSearch: (state: RootState) => SearchState;
160
+ declare const selectSearchMap: (state: RootState) => Record<string, any[]>;
161
+
162
+ interface ListState {
163
+ pageLimit: number;
164
+ fields: Record<string, any>;
165
+ order: string | null;
166
+ selectedRowKeys: number[];
167
+ indexRowTableModal: number;
168
+ footerGroupTable: Record<string, any>;
169
+ page: number;
170
+ domainTable?: any;
171
+ }
172
+ declare const listSlice: _reduxjs_toolkit.Slice<ListState, {
173
+ setPageLimit: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
174
+ setFields: (state: immer.WritableDraft<ListState>, action: PayloadAction<Record<string, any>>) => void;
175
+ setOrder: (state: immer.WritableDraft<ListState>, action: PayloadAction<string | null>) => void;
176
+ setSelectedRowKeys: (state: immer.WritableDraft<ListState>, action: PayloadAction<number[]>) => void;
177
+ setIndexRowTableModal: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
178
+ setPage: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
179
+ setDomainTable: (state: immer.WritableDraft<ListState>, action: PayloadAction<any[]>) => void;
180
+ }, "list", "list", _reduxjs_toolkit.SliceSelectors<ListState>>;
181
+ declare const setPageLimit: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setPageLimit">;
182
+ declare const setFields: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "list/setFields">;
183
+ declare const setOrder: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "list/setOrder">;
184
+ declare const setSelectedRowKeys: _reduxjs_toolkit.ActionCreatorWithPayload<number[], "list/setSelectedRowKeys">;
185
+ declare const setIndexRowTableModal: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setIndexRowTableModal">;
186
+ declare const setPage: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setPage">;
187
+ declare const setDomainTable: _reduxjs_toolkit.ActionCreatorWithPayload<any[], "list/setDomainTable">;
188
+ declare const selectList: (state: RootState) => ListState;
189
+
190
+ interface NavbarStateType {
191
+ menuList: any;
192
+ }
193
+ declare const navbarSlice: _reduxjs_toolkit.Slice<NavbarStateType, {
194
+ setMenuList: (state: immer.WritableDraft<NavbarStateType>, action: {
195
+ payload: any;
196
+ type: string;
197
+ }) => void;
198
+ }, "navbar", "navbar", _reduxjs_toolkit.SliceSelectors<NavbarStateType>>;
199
+ declare const setMenuList: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setMenuList">;
200
+ declare const selectNavbar: (state: RootState) => NavbarStateType;
201
+
202
+ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
203
+ env: {
204
+ baseUrl: string;
205
+ requests: null;
206
+ companies: never[];
207
+ user: {};
208
+ envFile: null;
209
+ defaultCompany: {
210
+ id: null;
211
+ logo: string;
212
+ secondary_color: string;
213
+ primary_color: string;
214
+ };
215
+ context: {
216
+ uid: null;
217
+ allowed_company_ids: never[];
218
+ lang: string;
219
+ tz: string;
220
+ };
221
+ };
222
+ navbar: NavbarStateType;
223
+ list: ListState;
224
+ search: SearchState;
225
+ form: FormState;
226
+ excel: ExcelState;
227
+ profile: ProfileStateType;
228
+ }, redux.UnknownAction, _reduxjs_toolkit.Tuple<[redux.StoreEnhancer<{
229
+ dispatch: redux_thunk.ThunkDispatch<{
230
+ env: {
231
+ baseUrl: string;
232
+ requests: null;
233
+ companies: never[];
234
+ user: {};
235
+ envFile: null;
236
+ defaultCompany: {
237
+ id: null;
238
+ logo: string;
239
+ secondary_color: string;
240
+ primary_color: string;
241
+ };
242
+ context: {
243
+ uid: null;
244
+ allowed_company_ids: never[];
245
+ lang: string;
246
+ tz: string;
247
+ };
248
+ };
249
+ navbar: NavbarStateType;
250
+ list: ListState;
251
+ search: SearchState;
252
+ form: FormState;
253
+ excel: ExcelState;
254
+ profile: ProfileStateType;
255
+ }, undefined, redux.UnknownAction>;
256
+ }>, redux.StoreEnhancer]>>;
257
+
258
+ declare const envSlice: _reduxjs_toolkit.Slice<{
259
+ baseUrl: string;
260
+ requests: null;
261
+ companies: never[];
262
+ user: {};
263
+ envFile: null;
264
+ defaultCompany: {
265
+ id: null;
266
+ logo: string;
267
+ secondary_color: string;
268
+ primary_color: string;
269
+ };
270
+ context: {
271
+ uid: null;
272
+ allowed_company_ids: never[];
273
+ lang: string;
274
+ tz: string;
275
+ };
276
+ }, {
277
+ setEnv: (state: immer.WritableDraft<{
278
+ baseUrl: string;
279
+ requests: null;
280
+ companies: never[];
281
+ user: {};
282
+ envFile: null;
283
+ defaultCompany: {
284
+ id: null;
285
+ logo: string;
286
+ secondary_color: string;
287
+ primary_color: string;
288
+ };
289
+ context: {
290
+ uid: null;
291
+ allowed_company_ids: never[];
292
+ lang: string;
293
+ tz: string;
294
+ };
295
+ }>, action: {
296
+ payload: any;
297
+ type: string;
298
+ }) => void;
299
+ setUid: (state: immer.WritableDraft<{
300
+ baseUrl: string;
301
+ requests: null;
302
+ companies: never[];
303
+ user: {};
304
+ envFile: null;
305
+ defaultCompany: {
306
+ id: null;
307
+ logo: string;
308
+ secondary_color: string;
309
+ primary_color: string;
310
+ };
311
+ context: {
312
+ uid: null;
313
+ allowed_company_ids: never[];
314
+ lang: string;
315
+ tz: string;
316
+ };
317
+ }>, action: {
318
+ payload: any;
319
+ type: string;
320
+ }) => void;
321
+ setAllowCompanies: (state: immer.WritableDraft<{
322
+ baseUrl: string;
323
+ requests: null;
324
+ companies: never[];
325
+ user: {};
326
+ envFile: null;
327
+ defaultCompany: {
328
+ id: null;
329
+ logo: string;
330
+ secondary_color: string;
331
+ primary_color: string;
332
+ };
333
+ context: {
334
+ uid: null;
335
+ allowed_company_ids: never[];
336
+ lang: string;
337
+ tz: string;
338
+ };
339
+ }>, action: {
340
+ payload: any;
341
+ type: string;
342
+ }) => void;
343
+ setCompanies: (state: immer.WritableDraft<{
344
+ baseUrl: string;
345
+ requests: null;
346
+ companies: never[];
347
+ user: {};
348
+ envFile: null;
349
+ defaultCompany: {
350
+ id: null;
351
+ logo: string;
352
+ secondary_color: string;
353
+ primary_color: string;
354
+ };
355
+ context: {
356
+ uid: null;
357
+ allowed_company_ids: never[];
358
+ lang: string;
359
+ tz: string;
360
+ };
361
+ }>, action: {
362
+ payload: any;
363
+ type: string;
364
+ }) => void;
365
+ setDefaultCompany: (state: immer.WritableDraft<{
366
+ baseUrl: string;
367
+ requests: null;
368
+ companies: never[];
369
+ user: {};
370
+ envFile: null;
371
+ defaultCompany: {
372
+ id: null;
373
+ logo: string;
374
+ secondary_color: string;
375
+ primary_color: string;
376
+ };
377
+ context: {
378
+ uid: null;
379
+ allowed_company_ids: never[];
380
+ lang: string;
381
+ tz: string;
382
+ };
383
+ }>, action: {
384
+ payload: any;
385
+ type: string;
386
+ }) => void;
387
+ setLang: (state: immer.WritableDraft<{
388
+ baseUrl: string;
389
+ requests: null;
390
+ companies: never[];
391
+ user: {};
392
+ envFile: null;
393
+ defaultCompany: {
394
+ id: null;
395
+ logo: string;
396
+ secondary_color: string;
397
+ primary_color: string;
398
+ };
399
+ context: {
400
+ uid: null;
401
+ allowed_company_ids: never[];
402
+ lang: string;
403
+ tz: string;
404
+ };
405
+ }>, action: {
406
+ payload: any;
407
+ type: string;
408
+ }) => void;
409
+ setUser: (state: immer.WritableDraft<{
410
+ baseUrl: string;
411
+ requests: null;
412
+ companies: never[];
413
+ user: {};
414
+ envFile: null;
415
+ defaultCompany: {
416
+ id: null;
417
+ logo: string;
418
+ secondary_color: string;
419
+ primary_color: string;
420
+ };
421
+ context: {
422
+ uid: null;
423
+ allowed_company_ids: never[];
424
+ lang: string;
425
+ tz: string;
426
+ };
427
+ }>, action: {
428
+ payload: any;
429
+ type: string;
430
+ }) => void;
431
+ setEnvFile: (state: immer.WritableDraft<{
432
+ baseUrl: string;
433
+ requests: null;
434
+ companies: never[];
435
+ user: {};
436
+ envFile: null;
437
+ defaultCompany: {
438
+ id: null;
439
+ logo: string;
440
+ secondary_color: string;
441
+ primary_color: string;
442
+ };
443
+ context: {
444
+ uid: null;
445
+ allowed_company_ids: never[];
446
+ lang: string;
447
+ tz: string;
448
+ };
449
+ }>, action: {
450
+ payload: any;
451
+ type: string;
452
+ }) => void;
453
+ }, "env", "env", _reduxjs_toolkit.SliceSelectors<{
454
+ baseUrl: string;
455
+ requests: null;
456
+ companies: never[];
457
+ user: {};
458
+ envFile: null;
459
+ defaultCompany: {
460
+ id: null;
461
+ logo: string;
462
+ secondary_color: string;
463
+ primary_color: string;
464
+ };
465
+ context: {
466
+ uid: null;
467
+ allowed_company_ids: never[];
468
+ lang: string;
469
+ tz: string;
470
+ };
471
+ }>>;
472
+ declare const setEnv: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnv">;
473
+ declare const setUid: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setUid">;
474
+ declare const setLang: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setLang">;
475
+ declare const setAllowCompanies: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setAllowCompanies">;
476
+ declare const setCompanies: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setCompanies">;
477
+ declare const setDefaultCompany: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setDefaultCompany">;
478
+ declare const setUser: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setUser">;
479
+ declare const setEnvFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnvFile">;
480
+ declare const selectEnv: (state: RootState) => {
481
+ baseUrl: string;
482
+ requests: null;
483
+ companies: never[];
484
+ user: {};
485
+ envFile: null;
486
+ defaultCompany: {
487
+ id: null;
488
+ logo: string;
489
+ secondary_color: string;
490
+ primary_color: string;
491
+ };
492
+ context: {
493
+ uid: null;
494
+ allowed_company_ids: never[];
495
+ lang: string;
496
+ tz: string;
497
+ };
498
+ };
499
+
500
+ type RootState = ReturnType<typeof envStore.getState>;
501
+ type AppDispatch = typeof envStore.dispatch;
502
+ declare const useAppDispatch: () => AppDispatch;
503
+ declare const useAppSelector: TypedUseSelectorHook<RootState>;
504
+
505
+ export { type AppDispatch, type RootState, clearSearchMap, envSlice, envStore, excelSlice, formSlice, listSlice, navbarSlice, profileSlice, removeKeyFromSearchMap, searchSlice, selectEnv, selectExcel, selectForm, selectList, selectNavbar, selectProfile, selectSearch, selectSearchMap, setAllowCompanies, setCompanies, setDataParse, setDataUser, setDefaultCompany, setDomainTable, setEnv, setEnvFile, setErrorData, setFieldTranslate, setFields, setFilterBy, setFirstDomain, setFormSubmitComponent, setGroupBy, setGroupByDomain, setHoveredIndexSearchList, setIdFile, setIndexRowTableModal, setIsFileLoaded, setIsShowModalTranslate, setIsShowingModalDetail, setLang, setListSubject, setLoadingImport, setMenuList, setModelSearch, setOrder, setPage, setPageLimit, setProfile, setSearchMap, setSearchString, setSelectedFile, setSelectedRowKeys, setSelectedTags, setTableHead, setTypeFieldsSearch, setUid, setUser, setViewDataStore, updateSearchMap, useAppDispatch, useAppSelector };