@fctc/edu-logic-lib 1.0.2 → 1.0.4
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/{store.d.ts → index.d.mts} +574 -3
- package/dist/{store.d.mts → index.d.ts} +574 -3
- package/dist/index.js +4709 -0
- package/dist/index.mjs +4596 -0
- 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/chunk-6BLY7NZ6.mjs +0 -124
- package/dist/chunk-6QXB3XX7.mjs +0 -258
- package/dist/chunk-ELARQVCE.mjs +0 -2364
- package/dist/chunk-FVGPSTJ7.js +0 -124
- package/dist/chunk-GGOFXFSX.js +0 -2364
- package/dist/chunk-IXDDYGKE.js +0 -61
- package/dist/chunk-MJLXGYQ4.mjs +0 -102
- package/dist/chunk-MLJQPO4Q.mjs +0 -61
- package/dist/chunk-QLUONJPQ.mjs +0 -604
- package/dist/chunk-RZBHZYXG.js +0 -604
- package/dist/chunk-S7B3VKMJ.mjs +0 -95
- package/dist/chunk-S7YF2I23.js +0 -95
- package/dist/chunk-U4CC2BBB.js +0 -1074
- package/dist/chunk-UY6GNZNB.js +0 -258
- package/dist/chunk-W4W2L2NA.js +0 -102
- package/dist/chunk-WYXAE5LI.mjs +0 -1074
- package/dist/config.d.mts +0 -15
- package/dist/config.d.ts +0 -15
- package/dist/config.js +0 -7
- package/dist/config.mjs +0 -7
- package/dist/constants.d.mts +0 -120
- package/dist/constants.d.ts +0 -120
- package/dist/constants.js +0 -30
- package/dist/constants.mjs +0 -30
- package/dist/context-type-D5XefoL-.d.mts +0 -8
- package/dist/context-type-D5XefoL-.d.ts +0 -8
- package/dist/environment.d.mts +0 -37
- package/dist/environment.d.ts +0 -37
- package/dist/environment.js +0 -15
- package/dist/environment.mjs +0 -15
- package/dist/hooks.d.mts +0 -216
- package/dist/hooks.d.ts +0 -216
- package/dist/hooks.js +0 -776
- package/dist/hooks.mjs +0 -776
- package/dist/index-C_nK1Mii.d.mts +0 -19
- package/dist/index-C_nK1Mii.d.ts +0 -19
- package/dist/models.d.mts +0 -35
- package/dist/models.d.ts +0 -35
- package/dist/models.js +0 -43
- package/dist/models.mjs +0 -43
- package/dist/provider.d.mts +0 -16
- package/dist/provider.d.ts +0 -16
- package/dist/provider.js +0 -86
- package/dist/provider.mjs +0 -86
- package/dist/services.d.mts +0 -160
- package/dist/services.d.ts +0 -160
- package/dist/services.js +0 -26
- package/dist/services.mjs +0 -26
- package/dist/store.js +0 -128
- package/dist/store.mjs +0 -128
- package/dist/types.d.mts +0 -12
- package/dist/types.d.ts +0 -12
- package/dist/types.js +0 -1
- package/dist/types.mjs +0 -0
- package/dist/use-get-selection-DFh6sc49.d.mts +0 -26
- package/dist/use-get-selection-DFh6sc49.d.ts +0 -26
- package/dist/utils.d.mts +0 -52
- package/dist/utils.d.ts +0 -52
- package/dist/utils.js +0 -34
- package/dist/utils.mjs +0 -34
- package/dist/view-type-BTzRpkT7.d.mts +0 -106
- package/dist/view-type-BTzRpkT7.d.ts +0 -106
package/dist/services.d.ts
DELETED
|
@@ -1,160 +0,0 @@
|
|
|
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
|
-
import { T as TFormView, G as GetSelectionType } from './use-get-selection-DFh6sc49.js';
|
|
3
|
-
import { C as Context } from './context-type-D5XefoL-.js';
|
|
4
|
-
import '@tanstack/react-query';
|
|
5
|
-
|
|
6
|
-
declare const ActionService: {
|
|
7
|
-
loadAction({ idAction, context, }: {
|
|
8
|
-
idAction: number;
|
|
9
|
-
context: ContextApi;
|
|
10
|
-
}): Promise<any>;
|
|
11
|
-
callButton({ model, ids, context, method, }: {
|
|
12
|
-
model: string;
|
|
13
|
-
ids: Record<string, any>[] | any;
|
|
14
|
-
context: ContextApi;
|
|
15
|
-
method: any;
|
|
16
|
-
}): Promise<any>;
|
|
17
|
-
removeRows({ model, ids, context, }: {
|
|
18
|
-
model: string;
|
|
19
|
-
ids: Record<string, any>[] | any;
|
|
20
|
-
context: ContextApi;
|
|
21
|
-
}): Promise<any>;
|
|
22
|
-
duplicateRecord({ model, id, context, }: {
|
|
23
|
-
model: string;
|
|
24
|
-
id: any;
|
|
25
|
-
context: ContextApi;
|
|
26
|
-
}): Promise<any>;
|
|
27
|
-
print({ id, report, db }: {
|
|
28
|
-
id: number;
|
|
29
|
-
report: any;
|
|
30
|
-
db: any;
|
|
31
|
-
}): Promise<any>;
|
|
32
|
-
runAction({ idAction, context, }: {
|
|
33
|
-
idAction: number;
|
|
34
|
-
context: ContextApi;
|
|
35
|
-
}): Promise<any>;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
declare const AuthService: {
|
|
39
|
-
login(body: LoginCredentialBody): Promise<any>;
|
|
40
|
-
forgotPassword(email: string): Promise<any>;
|
|
41
|
-
resetPassword(data: ResetPasswordRequest, token: string | null): Promise<any>;
|
|
42
|
-
updatePassword(data: UpdatePasswordRequest, token: string | null): Promise<any>;
|
|
43
|
-
isValidToken(token: string | null): Promise<any>;
|
|
44
|
-
loginSocial({ state, access_token, }: {
|
|
45
|
-
state: object;
|
|
46
|
-
access_token: string;
|
|
47
|
-
}): Promise<any>;
|
|
48
|
-
getProviders(db?: string): Promise<any>;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
declare const CompanyService: {
|
|
52
|
-
getCurrentCompany(): Promise<any>;
|
|
53
|
-
getInfoCompany(id: number): Promise<any>;
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
declare const ExcelService: {
|
|
57
|
-
uploadFile({ formData }: {
|
|
58
|
-
formData: any;
|
|
59
|
-
}): Promise<any>;
|
|
60
|
-
uploadIdFile({ formData }: {
|
|
61
|
-
formData: any;
|
|
62
|
-
}): Promise<any>;
|
|
63
|
-
parsePreview({ id, selectedSheet, isHeader, context, }: {
|
|
64
|
-
id: any;
|
|
65
|
-
selectedSheet: any;
|
|
66
|
-
isHeader: boolean;
|
|
67
|
-
context: any;
|
|
68
|
-
}): Promise<any>;
|
|
69
|
-
executeImport({ columns, fields, idFile, options, dryrun, context, }: {
|
|
70
|
-
columns: any;
|
|
71
|
-
fields: any;
|
|
72
|
-
idFile: any;
|
|
73
|
-
options: any;
|
|
74
|
-
dryrun: any;
|
|
75
|
-
context: any;
|
|
76
|
-
}): Promise<any>;
|
|
77
|
-
getFileExcel({ model, context }: {
|
|
78
|
-
model: string;
|
|
79
|
-
context: any;
|
|
80
|
-
}): Promise<any>;
|
|
81
|
-
getFieldExport({ ids, model, isShow, parentField, fieldType, parentName, prefix, name, context, importCompat, }: {
|
|
82
|
-
ids: any;
|
|
83
|
-
model: string;
|
|
84
|
-
isShow?: boolean;
|
|
85
|
-
parentField?: any;
|
|
86
|
-
fieldType?: any;
|
|
87
|
-
parentName?: any;
|
|
88
|
-
prefix?: any;
|
|
89
|
-
name?: any;
|
|
90
|
-
context: any;
|
|
91
|
-
importCompat?: any;
|
|
92
|
-
}): Promise<any>;
|
|
93
|
-
exportExcel({ model, domain, ids, fields, type, importCompat, context, groupby, }: {
|
|
94
|
-
model: string;
|
|
95
|
-
domain: any;
|
|
96
|
-
ids: any;
|
|
97
|
-
fields: any;
|
|
98
|
-
type: any;
|
|
99
|
-
importCompat: any;
|
|
100
|
-
context: any;
|
|
101
|
-
groupby: any;
|
|
102
|
-
}): Promise<any>;
|
|
103
|
-
};
|
|
104
|
-
|
|
105
|
-
declare const FormService: {
|
|
106
|
-
getComment({ data }: {
|
|
107
|
-
data: any;
|
|
108
|
-
}): Promise<any>;
|
|
109
|
-
sentComment({ data }: any): Promise<any>;
|
|
110
|
-
deleteComment({ data }: {
|
|
111
|
-
data: any;
|
|
112
|
-
}): Promise<any>;
|
|
113
|
-
getImage({ data }: {
|
|
114
|
-
data: any;
|
|
115
|
-
}): Promise<any>;
|
|
116
|
-
uploadImage({ data }: {
|
|
117
|
-
data: any;
|
|
118
|
-
}): Promise<any>;
|
|
119
|
-
getFormView({ data }: {
|
|
120
|
-
data: TFormView;
|
|
121
|
-
}): Promise<any>;
|
|
122
|
-
changeStatus({ data }: any): Promise<any>;
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
declare const ModelService: {
|
|
126
|
-
getAll({ data }: {
|
|
127
|
-
data: any;
|
|
128
|
-
}): Promise<any>;
|
|
129
|
-
getList({ model, ids, specification, domain, offset, order, context, limit, }: GetListParams): Promise<any>;
|
|
130
|
-
getDetail({ ids, model, specification, context, }: GetDetailParams): Promise<any>;
|
|
131
|
-
save({ model, ids, data, specification, context, }: SaveParams): Promise<any>;
|
|
132
|
-
delete({ ids, model }: DeleteParams): Promise<any>;
|
|
133
|
-
onChange({ ids, model, object, specification, context, fieldChange, }: OnChangeParams): Promise<any>;
|
|
134
|
-
getListFieldsOnchange({ model }: {
|
|
135
|
-
model: string;
|
|
136
|
-
}): Promise<any>;
|
|
137
|
-
parseORMOdoo(data: Record<string, any>): Record<string, any>;
|
|
138
|
-
toDataJS(data: Record<string, any>, viewData?: ViewData, model?: string): Record<string, any>;
|
|
139
|
-
};
|
|
140
|
-
|
|
141
|
-
declare const UserService: {
|
|
142
|
-
getProfile(): Promise<any>;
|
|
143
|
-
getUser({ context, id }: {
|
|
144
|
-
context: any;
|
|
145
|
-
id: any;
|
|
146
|
-
}): Promise<any>;
|
|
147
|
-
switchUserLocale: ({ id, values }: any) => Promise<any>;
|
|
148
|
-
};
|
|
149
|
-
|
|
150
|
-
declare const ViewService: {
|
|
151
|
-
getView({ model, views, context, options, aid, }: GetViewParams): Promise<any>;
|
|
152
|
-
getMenu(context: Context): Promise<any>;
|
|
153
|
-
getSelectionItem({ data }: {
|
|
154
|
-
data: GetSelectionType;
|
|
155
|
-
}): Promise<any>;
|
|
156
|
-
loadMessages(): Promise<any>;
|
|
157
|
-
getVersion(): Promise<any>;
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
export { ActionService, AuthService, CompanyService, ExcelService, FormService, ModelService, UserService, ViewService };
|
package/dist/services.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var _chunkU4CC2BBBjs = require('./chunk-U4CC2BBB.js');
|
|
11
|
-
require('./chunk-GGOFXFSX.js');
|
|
12
|
-
require('./chunk-S7YF2I23.js');
|
|
13
|
-
require('./chunk-W4W2L2NA.js');
|
|
14
|
-
require('./chunk-UY6GNZNB.js');
|
|
15
|
-
require('./chunk-IXDDYGKE.js');
|
|
16
|
-
require('./chunk-RZBHZYXG.js');
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
exports.ActionService = _chunkU4CC2BBBjs.action_service_default; exports.AuthService = _chunkU4CC2BBBjs.auth_service_default; exports.CompanyService = _chunkU4CC2BBBjs.company_service_default; exports.ExcelService = _chunkU4CC2BBBjs.excel_service_default; exports.FormService = _chunkU4CC2BBBjs.form_service_default; exports.ModelService = _chunkU4CC2BBBjs.model_service_default; exports.UserService = _chunkU4CC2BBBjs.user_service_default; exports.ViewService = _chunkU4CC2BBBjs.view_service_default;
|
package/dist/services.mjs
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
action_service_default,
|
|
3
|
-
auth_service_default,
|
|
4
|
-
company_service_default,
|
|
5
|
-
excel_service_default,
|
|
6
|
-
form_service_default,
|
|
7
|
-
model_service_default,
|
|
8
|
-
user_service_default,
|
|
9
|
-
view_service_default
|
|
10
|
-
} from "./chunk-WYXAE5LI.mjs";
|
|
11
|
-
import "./chunk-ELARQVCE.mjs";
|
|
12
|
-
import "./chunk-S7B3VKMJ.mjs";
|
|
13
|
-
import "./chunk-MJLXGYQ4.mjs";
|
|
14
|
-
import "./chunk-6QXB3XX7.mjs";
|
|
15
|
-
import "./chunk-MLJQPO4Q.mjs";
|
|
16
|
-
import "./chunk-QLUONJPQ.mjs";
|
|
17
|
-
export {
|
|
18
|
-
action_service_default as ActionService,
|
|
19
|
-
auth_service_default as AuthService,
|
|
20
|
-
company_service_default as CompanyService,
|
|
21
|
-
excel_service_default as ExcelService,
|
|
22
|
-
form_service_default as FormService,
|
|
23
|
-
model_service_default as ModelService,
|
|
24
|
-
user_service_default as UserService,
|
|
25
|
-
view_service_default as ViewService
|
|
26
|
-
};
|
package/dist/store.js
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
var _chunkRZBHZYXGjs = require('./chunk-RZBHZYXG.js');
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
exports.clearSearchMap = _chunkRZBHZYXGjs.clearSearchMap; exports.envSlice = _chunkRZBHZYXGjs.envSlice; exports.envStore = _chunkRZBHZYXGjs.envStore; exports.excelSlice = _chunkRZBHZYXGjs.excelSlice; exports.formSlice = _chunkRZBHZYXGjs.formSlice; exports.listSlice = _chunkRZBHZYXGjs.listSlice; exports.navbarSlice = _chunkRZBHZYXGjs.navbarSlice; exports.profileSlice = _chunkRZBHZYXGjs.profileSlice; exports.removeKeyFromSearchMap = _chunkRZBHZYXGjs.removeKeyFromSearchMap; exports.searchSlice = _chunkRZBHZYXGjs.searchSlice; exports.selectEnv = _chunkRZBHZYXGjs.selectEnv; exports.selectExcel = _chunkRZBHZYXGjs.selectExcel; exports.selectForm = _chunkRZBHZYXGjs.selectForm; exports.selectList = _chunkRZBHZYXGjs.selectList; exports.selectNavbar = _chunkRZBHZYXGjs.selectNavbar; exports.selectProfile = _chunkRZBHZYXGjs.selectProfile; exports.selectSearch = _chunkRZBHZYXGjs.selectSearch; exports.selectSearchMap = _chunkRZBHZYXGjs.selectSearchMap; exports.setAllowCompanies = _chunkRZBHZYXGjs.setAllowCompanies; exports.setCompanies = _chunkRZBHZYXGjs.setCompanies; exports.setDataParse = _chunkRZBHZYXGjs.setDataParse; exports.setDataUser = _chunkRZBHZYXGjs.setDataUser; exports.setDefaultCompany = _chunkRZBHZYXGjs.setDefaultCompany; exports.setDomainTable = _chunkRZBHZYXGjs.setDomainTable; exports.setEnv = _chunkRZBHZYXGjs.setEnv; exports.setEnvFile = _chunkRZBHZYXGjs.setEnvFile; exports.setErrorData = _chunkRZBHZYXGjs.setErrorData; exports.setFieldTranslate = _chunkRZBHZYXGjs.setFieldTranslate; exports.setFields = _chunkRZBHZYXGjs.setFields; exports.setFilterBy = _chunkRZBHZYXGjs.setFilterBy; exports.setFirstDomain = _chunkRZBHZYXGjs.setFirstDomain; exports.setFormSubmitComponent = _chunkRZBHZYXGjs.setFormSubmitComponent; exports.setGroupBy = _chunkRZBHZYXGjs.setGroupBy; exports.setGroupByDomain = _chunkRZBHZYXGjs.setGroupByDomain; exports.setHoveredIndexSearchList = _chunkRZBHZYXGjs.setHoveredIndexSearchList; exports.setIdFile = _chunkRZBHZYXGjs.setIdFile; exports.setIndexRowTableModal = _chunkRZBHZYXGjs.setIndexRowTableModal; exports.setIsFileLoaded = _chunkRZBHZYXGjs.setIsFileLoaded; exports.setIsShowModalTranslate = _chunkRZBHZYXGjs.setIsShowModalTranslate; exports.setIsShowingModalDetail = _chunkRZBHZYXGjs.setIsShowingModalDetail; exports.setLang = _chunkRZBHZYXGjs.setLang; exports.setListSubject = _chunkRZBHZYXGjs.setListSubject; exports.setLoadingImport = _chunkRZBHZYXGjs.setLoadingImport; exports.setMenuList = _chunkRZBHZYXGjs.setMenuList; exports.setModelSearch = _chunkRZBHZYXGjs.setModelSearch; exports.setOrder = _chunkRZBHZYXGjs.setOrder; exports.setPage = _chunkRZBHZYXGjs.setPage; exports.setPageLimit = _chunkRZBHZYXGjs.setPageLimit; exports.setProfile = _chunkRZBHZYXGjs.setProfile; exports.setSearchMap = _chunkRZBHZYXGjs.setSearchMap; exports.setSearchString = _chunkRZBHZYXGjs.setSearchString; exports.setSelectedFile = _chunkRZBHZYXGjs.setSelectedFile; exports.setSelectedRowKeys = _chunkRZBHZYXGjs.setSelectedRowKeys; exports.setSelectedTags = _chunkRZBHZYXGjs.setSelectedTags; exports.setTableHead = _chunkRZBHZYXGjs.setTableHead; exports.setTypeFieldsSearch = _chunkRZBHZYXGjs.setTypeFieldsSearch; exports.setUid = _chunkRZBHZYXGjs.setUid; exports.setUser = _chunkRZBHZYXGjs.setUser; exports.setViewDataStore = _chunkRZBHZYXGjs.setViewDataStore; exports.updateSearchMap = _chunkRZBHZYXGjs.updateSearchMap; exports.useAppDispatch = _chunkRZBHZYXGjs.useAppDispatch; exports.useAppSelector = _chunkRZBHZYXGjs.useAppSelector;
|
package/dist/store.mjs
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
clearSearchMap,
|
|
3
|
-
envSlice,
|
|
4
|
-
envStore,
|
|
5
|
-
excelSlice,
|
|
6
|
-
formSlice,
|
|
7
|
-
listSlice,
|
|
8
|
-
navbarSlice,
|
|
9
|
-
profileSlice,
|
|
10
|
-
removeKeyFromSearchMap,
|
|
11
|
-
searchSlice,
|
|
12
|
-
selectEnv,
|
|
13
|
-
selectExcel,
|
|
14
|
-
selectForm,
|
|
15
|
-
selectList,
|
|
16
|
-
selectNavbar,
|
|
17
|
-
selectProfile,
|
|
18
|
-
selectSearch,
|
|
19
|
-
selectSearchMap,
|
|
20
|
-
setAllowCompanies,
|
|
21
|
-
setCompanies,
|
|
22
|
-
setDataParse,
|
|
23
|
-
setDataUser,
|
|
24
|
-
setDefaultCompany,
|
|
25
|
-
setDomainTable,
|
|
26
|
-
setEnv,
|
|
27
|
-
setEnvFile,
|
|
28
|
-
setErrorData,
|
|
29
|
-
setFieldTranslate,
|
|
30
|
-
setFields,
|
|
31
|
-
setFilterBy,
|
|
32
|
-
setFirstDomain,
|
|
33
|
-
setFormSubmitComponent,
|
|
34
|
-
setGroupBy,
|
|
35
|
-
setGroupByDomain,
|
|
36
|
-
setHoveredIndexSearchList,
|
|
37
|
-
setIdFile,
|
|
38
|
-
setIndexRowTableModal,
|
|
39
|
-
setIsFileLoaded,
|
|
40
|
-
setIsShowModalTranslate,
|
|
41
|
-
setIsShowingModalDetail,
|
|
42
|
-
setLang,
|
|
43
|
-
setListSubject,
|
|
44
|
-
setLoadingImport,
|
|
45
|
-
setMenuList,
|
|
46
|
-
setModelSearch,
|
|
47
|
-
setOrder,
|
|
48
|
-
setPage,
|
|
49
|
-
setPageLimit,
|
|
50
|
-
setProfile,
|
|
51
|
-
setSearchMap,
|
|
52
|
-
setSearchString,
|
|
53
|
-
setSelectedFile,
|
|
54
|
-
setSelectedRowKeys,
|
|
55
|
-
setSelectedTags,
|
|
56
|
-
setTableHead,
|
|
57
|
-
setTypeFieldsSearch,
|
|
58
|
-
setUid,
|
|
59
|
-
setUser,
|
|
60
|
-
setViewDataStore,
|
|
61
|
-
updateSearchMap,
|
|
62
|
-
useAppDispatch,
|
|
63
|
-
useAppSelector
|
|
64
|
-
} from "./chunk-QLUONJPQ.mjs";
|
|
65
|
-
export {
|
|
66
|
-
clearSearchMap,
|
|
67
|
-
envSlice,
|
|
68
|
-
envStore,
|
|
69
|
-
excelSlice,
|
|
70
|
-
formSlice,
|
|
71
|
-
listSlice,
|
|
72
|
-
navbarSlice,
|
|
73
|
-
profileSlice,
|
|
74
|
-
removeKeyFromSearchMap,
|
|
75
|
-
searchSlice,
|
|
76
|
-
selectEnv,
|
|
77
|
-
selectExcel,
|
|
78
|
-
selectForm,
|
|
79
|
-
selectList,
|
|
80
|
-
selectNavbar,
|
|
81
|
-
selectProfile,
|
|
82
|
-
selectSearch,
|
|
83
|
-
selectSearchMap,
|
|
84
|
-
setAllowCompanies,
|
|
85
|
-
setCompanies,
|
|
86
|
-
setDataParse,
|
|
87
|
-
setDataUser,
|
|
88
|
-
setDefaultCompany,
|
|
89
|
-
setDomainTable,
|
|
90
|
-
setEnv,
|
|
91
|
-
setEnvFile,
|
|
92
|
-
setErrorData,
|
|
93
|
-
setFieldTranslate,
|
|
94
|
-
setFields,
|
|
95
|
-
setFilterBy,
|
|
96
|
-
setFirstDomain,
|
|
97
|
-
setFormSubmitComponent,
|
|
98
|
-
setGroupBy,
|
|
99
|
-
setGroupByDomain,
|
|
100
|
-
setHoveredIndexSearchList,
|
|
101
|
-
setIdFile,
|
|
102
|
-
setIndexRowTableModal,
|
|
103
|
-
setIsFileLoaded,
|
|
104
|
-
setIsShowModalTranslate,
|
|
105
|
-
setIsShowingModalDetail,
|
|
106
|
-
setLang,
|
|
107
|
-
setListSubject,
|
|
108
|
-
setLoadingImport,
|
|
109
|
-
setMenuList,
|
|
110
|
-
setModelSearch,
|
|
111
|
-
setOrder,
|
|
112
|
-
setPage,
|
|
113
|
-
setPageLimit,
|
|
114
|
-
setProfile,
|
|
115
|
-
setSearchMap,
|
|
116
|
-
setSearchString,
|
|
117
|
-
setSelectedFile,
|
|
118
|
-
setSelectedRowKeys,
|
|
119
|
-
setSelectedTags,
|
|
120
|
-
setTableHead,
|
|
121
|
-
setTypeFieldsSearch,
|
|
122
|
-
setUid,
|
|
123
|
-
setUser,
|
|
124
|
-
setViewDataStore,
|
|
125
|
-
updateSearchMap,
|
|
126
|
-
useAppDispatch,
|
|
127
|
-
useAppSelector
|
|
128
|
-
};
|
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, 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';
|
|
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, 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';
|
|
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 };
|
package/dist/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/dist/types.mjs
DELETED
|
File without changes
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
|
|
3
|
-
type TFormView = {
|
|
4
|
-
model: string;
|
|
5
|
-
id?: number | null;
|
|
6
|
-
context?: any;
|
|
7
|
-
};
|
|
8
|
-
declare const useGetFormView: ({ data, queryKey, enabled, }: {
|
|
9
|
-
data: TFormView;
|
|
10
|
-
queryKey?: any;
|
|
11
|
-
enabled?: any;
|
|
12
|
-
}) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
13
|
-
|
|
14
|
-
type GetSelectionType = {
|
|
15
|
-
domain: any;
|
|
16
|
-
context: any;
|
|
17
|
-
model: string;
|
|
18
|
-
specification?: any;
|
|
19
|
-
};
|
|
20
|
-
declare const useGetSelection: ({ data, queryKey, enabled, }: {
|
|
21
|
-
data: GetSelectionType;
|
|
22
|
-
queryKey: any[];
|
|
23
|
-
enabled?: boolean;
|
|
24
|
-
}) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
25
|
-
|
|
26
|
-
export { type GetSelectionType as G, type TFormView as T, useGetSelection as a, useGetFormView as u };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
|
|
3
|
-
type TFormView = {
|
|
4
|
-
model: string;
|
|
5
|
-
id?: number | null;
|
|
6
|
-
context?: any;
|
|
7
|
-
};
|
|
8
|
-
declare const useGetFormView: ({ data, queryKey, enabled, }: {
|
|
9
|
-
data: TFormView;
|
|
10
|
-
queryKey?: any;
|
|
11
|
-
enabled?: any;
|
|
12
|
-
}) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
13
|
-
|
|
14
|
-
type GetSelectionType = {
|
|
15
|
-
domain: any;
|
|
16
|
-
context: any;
|
|
17
|
-
model: string;
|
|
18
|
-
specification?: any;
|
|
19
|
-
};
|
|
20
|
-
declare const useGetSelection: ({ data, queryKey, enabled, }: {
|
|
21
|
-
data: GetSelectionType;
|
|
22
|
-
queryKey: any[];
|
|
23
|
-
enabled?: boolean;
|
|
24
|
-
}) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
25
|
-
|
|
26
|
-
export { type GetSelectionType as G, type TFormView as T, useGetSelection as a, useGetFormView as u };
|
package/dist/utils.d.mts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { C as Context } from './context-type-D5XefoL-.mjs';
|
|
2
|
-
|
|
3
|
-
type AST = {
|
|
4
|
-
type: number;
|
|
5
|
-
value: any;
|
|
6
|
-
};
|
|
7
|
-
type Condition = [string | 0 | 1, string, any];
|
|
8
|
-
type DomainListRepr = ('&' | '|' | '!' | Condition)[];
|
|
9
|
-
type DomainRepr = DomainListRepr | string | Domain;
|
|
10
|
-
declare class Domain {
|
|
11
|
-
ast: AST;
|
|
12
|
-
static TRUE: Domain;
|
|
13
|
-
static FALSE: Domain;
|
|
14
|
-
static combine(domains: DomainRepr[], operator: 'AND' | 'OR'): Domain;
|
|
15
|
-
static and(domains: DomainRepr[]): Domain;
|
|
16
|
-
static or(domains: DomainRepr[]): Domain;
|
|
17
|
-
static not(domain: DomainRepr): Domain;
|
|
18
|
-
static removeDomainLeaves(domain: DomainRepr, keysToRemove: string[]): Domain;
|
|
19
|
-
constructor(descr?: DomainRepr);
|
|
20
|
-
contains(record: any): boolean;
|
|
21
|
-
toString(): string;
|
|
22
|
-
toList(context: Record<string, any>): DomainListRepr;
|
|
23
|
-
toJson(): DomainListRepr | string;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
declare const evalJSONContext: (_context: any, context?: {}) => Context | null;
|
|
27
|
-
declare const evalJSONDomain: (domain: any, context: any) => any;
|
|
28
|
-
declare const formatSortingString: (input: string | null | undefined) => string | null;
|
|
29
|
-
declare const domainHelper: {
|
|
30
|
-
checkDomain: (context: any, domain: any) => boolean;
|
|
31
|
-
matchDomains: (context: any, domains: any) => boolean;
|
|
32
|
-
Domain: typeof Domain;
|
|
33
|
-
};
|
|
34
|
-
declare const toQueryString: (params: Record<string, string | number | boolean>) => string;
|
|
35
|
-
declare const stringToColor: (name: string, id: number) => string;
|
|
36
|
-
declare const getFieldsOnChange: (fields: any) => any;
|
|
37
|
-
declare const formatUrlPath: ({ viewType, aid, model, id, actionPath, }: {
|
|
38
|
-
viewType: "list" | "form" | "kanban" | any;
|
|
39
|
-
actionPath: string;
|
|
40
|
-
aid: string | number;
|
|
41
|
-
model: string;
|
|
42
|
-
id?: string | number;
|
|
43
|
-
}) => string;
|
|
44
|
-
declare const removeUndefinedFields: <T extends Record<string, any>>(obj: T) => Partial<T>;
|
|
45
|
-
declare const useTabModel: (viewData: any, onchangeData: any) => any;
|
|
46
|
-
declare const isBase64File: (str: any) => boolean;
|
|
47
|
-
declare const isBase64Image: (str: any) => boolean;
|
|
48
|
-
declare const checkIsImageLink: (url: any) => boolean;
|
|
49
|
-
declare const formatFileSize: (size: any) => string;
|
|
50
|
-
declare const getSubdomain: (url?: string) => string | null;
|
|
51
|
-
|
|
52
|
-
export { checkIsImageLink, domainHelper, evalJSONContext, evalJSONDomain, formatFileSize, formatSortingString, formatUrlPath, getFieldsOnChange, getSubdomain, isBase64File, isBase64Image, removeUndefinedFields, stringToColor, toQueryString, useTabModel };
|
package/dist/utils.d.ts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { C as Context } from './context-type-D5XefoL-.js';
|
|
2
|
-
|
|
3
|
-
type AST = {
|
|
4
|
-
type: number;
|
|
5
|
-
value: any;
|
|
6
|
-
};
|
|
7
|
-
type Condition = [string | 0 | 1, string, any];
|
|
8
|
-
type DomainListRepr = ('&' | '|' | '!' | Condition)[];
|
|
9
|
-
type DomainRepr = DomainListRepr | string | Domain;
|
|
10
|
-
declare class Domain {
|
|
11
|
-
ast: AST;
|
|
12
|
-
static TRUE: Domain;
|
|
13
|
-
static FALSE: Domain;
|
|
14
|
-
static combine(domains: DomainRepr[], operator: 'AND' | 'OR'): Domain;
|
|
15
|
-
static and(domains: DomainRepr[]): Domain;
|
|
16
|
-
static or(domains: DomainRepr[]): Domain;
|
|
17
|
-
static not(domain: DomainRepr): Domain;
|
|
18
|
-
static removeDomainLeaves(domain: DomainRepr, keysToRemove: string[]): Domain;
|
|
19
|
-
constructor(descr?: DomainRepr);
|
|
20
|
-
contains(record: any): boolean;
|
|
21
|
-
toString(): string;
|
|
22
|
-
toList(context: Record<string, any>): DomainListRepr;
|
|
23
|
-
toJson(): DomainListRepr | string;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
declare const evalJSONContext: (_context: any, context?: {}) => Context | null;
|
|
27
|
-
declare const evalJSONDomain: (domain: any, context: any) => any;
|
|
28
|
-
declare const formatSortingString: (input: string | null | undefined) => string | null;
|
|
29
|
-
declare const domainHelper: {
|
|
30
|
-
checkDomain: (context: any, domain: any) => boolean;
|
|
31
|
-
matchDomains: (context: any, domains: any) => boolean;
|
|
32
|
-
Domain: typeof Domain;
|
|
33
|
-
};
|
|
34
|
-
declare const toQueryString: (params: Record<string, string | number | boolean>) => string;
|
|
35
|
-
declare const stringToColor: (name: string, id: number) => string;
|
|
36
|
-
declare const getFieldsOnChange: (fields: any) => any;
|
|
37
|
-
declare const formatUrlPath: ({ viewType, aid, model, id, actionPath, }: {
|
|
38
|
-
viewType: "list" | "form" | "kanban" | any;
|
|
39
|
-
actionPath: string;
|
|
40
|
-
aid: string | number;
|
|
41
|
-
model: string;
|
|
42
|
-
id?: string | number;
|
|
43
|
-
}) => string;
|
|
44
|
-
declare const removeUndefinedFields: <T extends Record<string, any>>(obj: T) => Partial<T>;
|
|
45
|
-
declare const useTabModel: (viewData: any, onchangeData: any) => any;
|
|
46
|
-
declare const isBase64File: (str: any) => boolean;
|
|
47
|
-
declare const isBase64Image: (str: any) => boolean;
|
|
48
|
-
declare const checkIsImageLink: (url: any) => boolean;
|
|
49
|
-
declare const formatFileSize: (size: any) => string;
|
|
50
|
-
declare const getSubdomain: (url?: string) => string | null;
|
|
51
|
-
|
|
52
|
-
export { checkIsImageLink, domainHelper, evalJSONContext, evalJSONDomain, formatFileSize, formatSortingString, formatUrlPath, getFieldsOnChange, getSubdomain, isBase64File, isBase64Image, removeUndefinedFields, stringToColor, toQueryString, useTabModel };
|
package/dist/utils.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
var _chunkGGOFXFSXjs = require('./chunk-GGOFXFSX.js');
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
exports.checkIsImageLink = _chunkGGOFXFSXjs.checkIsImageLink; exports.domainHelper = _chunkGGOFXFSXjs.domainHelper; exports.evalJSONContext = _chunkGGOFXFSXjs.evalJSONContext; exports.evalJSONDomain = _chunkGGOFXFSXjs.evalJSONDomain; exports.formatFileSize = _chunkGGOFXFSXjs.formatFileSize; exports.formatSortingString = _chunkGGOFXFSXjs.formatSortingString; exports.formatUrlPath = _chunkGGOFXFSXjs.formatUrlPath; exports.getFieldsOnChange = _chunkGGOFXFSXjs.getFieldsOnChange; exports.getSubdomain = _chunkGGOFXFSXjs.getSubdomain; exports.isBase64File = _chunkGGOFXFSXjs.isBase64File; exports.isBase64Image = _chunkGGOFXFSXjs.isBase64Image; exports.removeUndefinedFields = _chunkGGOFXFSXjs.removeUndefinedFields; exports.stringToColor = _chunkGGOFXFSXjs.stringToColor; exports.toQueryString = _chunkGGOFXFSXjs.toQueryString; exports.useTabModel = _chunkGGOFXFSXjs.useTabModel;
|