@fctc/edu-logic-lib 1.2.0 → 1.2.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/chunk-3VUHHO7T.mjs +1 -0
- package/dist/chunk-4HCNCH3K.mjs +1 -0
- package/dist/chunk-4WC7TEQB.mjs +2 -0
- package/dist/chunk-6QAALOXO.mjs +6 -0
- package/dist/chunk-AT7T7PUJ.mjs +1 -0
- package/dist/chunk-CDLT5L7M.mjs +1 -0
- package/dist/chunk-GHOANIO5.mjs +1 -0
- package/dist/chunk-QKRSQCY2.mjs +1 -0
- package/dist/chunk-TWFPZEDT.mjs +1 -0
- package/dist/chunk-UBGANIIB.mjs +1 -0
- package/dist/chunk-WAXGOBY2.mjs +0 -1
- package/dist/chunk-ZC4WZW6I.mjs +1 -0
- package/dist/config.mjs +1 -2
- package/dist/constants.mjs +1 -2
- package/dist/environment.mjs +1 -4
- package/dist/hooks.mjs +1 -9
- package/dist/index.mjs +1 -12
- package/dist/models.mjs +1 -9
- package/dist/provider.mjs +1 -8
- package/dist/services.mjs +1 -7
- package/dist/store.mjs +1 -1
- package/dist/types.mjs +1 -1
- package/dist/utils.mjs +1 -1
- package/package.json +79 -90
- package/dist/base-model-type-DvO53Lwi.d.ts +0 -7
- package/dist/chunk-227GQM56.mjs +0 -295
- package/dist/chunk-3B6NWGPJ.js +0 -303
- package/dist/chunk-3GSWPBI3.js +0 -122
- package/dist/chunk-56VJGYA5.js +0 -66
- package/dist/chunk-5CWLH3IT.js +0 -635
- package/dist/chunk-A3OMRS6W.mjs +0 -62
- package/dist/chunk-GGNOJ77I.js +0 -2
- package/dist/chunk-HDWNBT3C.mjs +0 -120
- package/dist/chunk-IGSNXETE.mjs +0 -85
- package/dist/chunk-IXDDYGKE.js +0 -61
- package/dist/chunk-KYUV2PH4.mjs +0 -585
- package/dist/chunk-MLJQPO4Q.mjs +0 -57
- package/dist/chunk-MXBJCI62.mjs +0 -2344
- package/dist/chunk-ODQQQ7WA.js +0 -94
- package/dist/chunk-QLUONJPQ.mjs +0 -519
- package/dist/chunk-QMO7DJNI.mjs +0 -1059
- package/dist/chunk-QYYFZUNV.mjs +0 -90
- package/dist/chunk-RZBHZYXG.js +0 -582
- package/dist/chunk-TT2ZKGNO.mjs +0 -29
- package/dist/chunk-UHYQ7IVO.js +0 -32
- package/dist/chunk-UY632SGY.js +0 -2362
- package/dist/chunk-UYN3VSHW.js +0 -95
- package/dist/chunk-ZAYNNN2Q.js +0 -1068
- package/dist/config.d.ts +0 -15
- package/dist/config.js +0 -11
- package/dist/constants.d.ts +0 -120
- package/dist/constants.js +0 -55
- package/dist/context-type-D5XefoL-.d.ts +0 -8
- package/dist/environment.d.ts +0 -54
- package/dist/environment.js +0 -25
- package/dist/hooks.d.ts +0 -218
- package/dist/hooks.js +0 -194
- package/dist/index-C_nK1Mii.d.ts +0 -19
- package/dist/index.d.ts +0 -23
- package/dist/index.js +0 -629
- package/dist/models.d.ts +0 -35
- package/dist/models.js +0 -26
- package/dist/provider.d.ts +0 -16
- package/dist/provider.js +0 -25
- package/dist/services.d.ts +0 -160
- package/dist/services.js +0 -44
- package/dist/store.d.ts +0 -505
- package/dist/store.js +0 -254
- package/dist/types.d.ts +0 -12
- package/dist/types.js +0 -4
- package/dist/use-get-selection-DFh6sc49.d.ts +0 -26
- package/dist/utils.d.ts +0 -52
- package/dist/utils.js +0 -66
- package/dist/view-type-BTzRpkT7.d.ts +0 -106
package/dist/hooks.js
DELETED
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk5CWLH3IT_js = require('./chunk-5CWLH3IT.js');
|
|
4
|
-
require('./chunk-3GSWPBI3.js');
|
|
5
|
-
require('./chunk-ZAYNNN2Q.js');
|
|
6
|
-
require('./chunk-UY632SGY.js');
|
|
7
|
-
require('./chunk-UYN3VSHW.js');
|
|
8
|
-
require('./chunk-ODQQQ7WA.js');
|
|
9
|
-
require('./chunk-RZBHZYXG.js');
|
|
10
|
-
require('./chunk-3B6NWGPJ.js');
|
|
11
|
-
require('./chunk-IXDDYGKE.js');
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
Object.defineProperty(exports, "useButton", {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function () { return chunk5CWLH3IT_js.use_button_default; }
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports, "useChangeStatus", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function () { return chunk5CWLH3IT_js.use_change_status_default; }
|
|
22
|
-
});
|
|
23
|
-
Object.defineProperty(exports, "useDelete", {
|
|
24
|
-
enumerable: true,
|
|
25
|
-
get: function () { return chunk5CWLH3IT_js.use_delete_default; }
|
|
26
|
-
});
|
|
27
|
-
Object.defineProperty(exports, "useDeleteComment", {
|
|
28
|
-
enumerable: true,
|
|
29
|
-
get: function () { return chunk5CWLH3IT_js.use_delete_comment_default; }
|
|
30
|
-
});
|
|
31
|
-
Object.defineProperty(exports, "useDuplicateRecord", {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function () { return chunk5CWLH3IT_js.use_duplicate_record_default; }
|
|
34
|
-
});
|
|
35
|
-
Object.defineProperty(exports, "useExecuteImport", {
|
|
36
|
-
enumerable: true,
|
|
37
|
-
get: function () { return chunk5CWLH3IT_js.uss_execute_import_default; }
|
|
38
|
-
});
|
|
39
|
-
Object.defineProperty(exports, "useExportExcel", {
|
|
40
|
-
enumerable: true,
|
|
41
|
-
get: function () { return chunk5CWLH3IT_js.use_export_excel_default; }
|
|
42
|
-
});
|
|
43
|
-
Object.defineProperty(exports, "useField", {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function () { return chunk5CWLH3IT_js.use_field_default; }
|
|
46
|
-
});
|
|
47
|
-
Object.defineProperty(exports, "useForgotPassword", {
|
|
48
|
-
enumerable: true,
|
|
49
|
-
get: function () { return chunk5CWLH3IT_js.use_forgot_password_default; }
|
|
50
|
-
});
|
|
51
|
-
Object.defineProperty(exports, "useGetAll", {
|
|
52
|
-
enumerable: true,
|
|
53
|
-
get: function () { return chunk5CWLH3IT_js.use_get_all_default; }
|
|
54
|
-
});
|
|
55
|
-
Object.defineProperty(exports, "useGetComment", {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
get: function () { return chunk5CWLH3IT_js.use_get_comment_default; }
|
|
58
|
-
});
|
|
59
|
-
Object.defineProperty(exports, "useGetCompanyInfo", {
|
|
60
|
-
enumerable: true,
|
|
61
|
-
get: function () { return chunk5CWLH3IT_js.use_get_company_info_default; }
|
|
62
|
-
});
|
|
63
|
-
Object.defineProperty(exports, "useGetCurrentCompany", {
|
|
64
|
-
enumerable: true,
|
|
65
|
-
get: function () { return chunk5CWLH3IT_js.use_get_current_company_default; }
|
|
66
|
-
});
|
|
67
|
-
Object.defineProperty(exports, "useGetDetail", {
|
|
68
|
-
enumerable: true,
|
|
69
|
-
get: function () { return chunk5CWLH3IT_js.use_get_detail_default; }
|
|
70
|
-
});
|
|
71
|
-
Object.defineProperty(exports, "useGetFieldExport", {
|
|
72
|
-
enumerable: true,
|
|
73
|
-
get: function () { return chunk5CWLH3IT_js.use_get_field_export_default; }
|
|
74
|
-
});
|
|
75
|
-
Object.defineProperty(exports, "useGetFieldOnChange", {
|
|
76
|
-
enumerable: true,
|
|
77
|
-
get: function () { return chunk5CWLH3IT_js.use_get_field_onchange_default; }
|
|
78
|
-
});
|
|
79
|
-
Object.defineProperty(exports, "useGetFileExcel", {
|
|
80
|
-
enumerable: true,
|
|
81
|
-
get: function () { return chunk5CWLH3IT_js.use_get_file_excel_default; }
|
|
82
|
-
});
|
|
83
|
-
Object.defineProperty(exports, "useGetFormView", {
|
|
84
|
-
enumerable: true,
|
|
85
|
-
get: function () { return chunk5CWLH3IT_js.use_get_form_view_default; }
|
|
86
|
-
});
|
|
87
|
-
Object.defineProperty(exports, "useGetImage", {
|
|
88
|
-
enumerable: true,
|
|
89
|
-
get: function () { return chunk5CWLH3IT_js.use_get_image_default; }
|
|
90
|
-
});
|
|
91
|
-
Object.defineProperty(exports, "useGetListData", {
|
|
92
|
-
enumerable: true,
|
|
93
|
-
get: function () { return chunk5CWLH3IT_js.use_get_list_data_default; }
|
|
94
|
-
});
|
|
95
|
-
Object.defineProperty(exports, "useGetMenu", {
|
|
96
|
-
enumerable: true,
|
|
97
|
-
get: function () { return chunk5CWLH3IT_js.use_get_menu_default; }
|
|
98
|
-
});
|
|
99
|
-
Object.defineProperty(exports, "useGetProfile", {
|
|
100
|
-
enumerable: true,
|
|
101
|
-
get: function () { return chunk5CWLH3IT_js.use_get_profile_default; }
|
|
102
|
-
});
|
|
103
|
-
Object.defineProperty(exports, "useGetProvider", {
|
|
104
|
-
enumerable: true,
|
|
105
|
-
get: function () { return chunk5CWLH3IT_js.use_get_provider_default; }
|
|
106
|
-
});
|
|
107
|
-
Object.defineProperty(exports, "useGetSelection", {
|
|
108
|
-
enumerable: true,
|
|
109
|
-
get: function () { return chunk5CWLH3IT_js.use_get_selection_default; }
|
|
110
|
-
});
|
|
111
|
-
Object.defineProperty(exports, "useGetUser", {
|
|
112
|
-
enumerable: true,
|
|
113
|
-
get: function () { return chunk5CWLH3IT_js.use_get_user_default; }
|
|
114
|
-
});
|
|
115
|
-
Object.defineProperty(exports, "useGetView", {
|
|
116
|
-
enumerable: true,
|
|
117
|
-
get: function () { return chunk5CWLH3IT_js.use_get_view_default; }
|
|
118
|
-
});
|
|
119
|
-
Object.defineProperty(exports, "useIsValidToken", {
|
|
120
|
-
enumerable: true,
|
|
121
|
-
get: function () { return chunk5CWLH3IT_js.use_isvalid_token_default; }
|
|
122
|
-
});
|
|
123
|
-
Object.defineProperty(exports, "useLoadAction", {
|
|
124
|
-
enumerable: true,
|
|
125
|
-
get: function () { return chunk5CWLH3IT_js.use_load_action_default; }
|
|
126
|
-
});
|
|
127
|
-
Object.defineProperty(exports, "useLoginCredential", {
|
|
128
|
-
enumerable: true,
|
|
129
|
-
get: function () { return chunk5CWLH3IT_js.use_login_credential_default; }
|
|
130
|
-
});
|
|
131
|
-
Object.defineProperty(exports, "useLoginSocial", {
|
|
132
|
-
enumerable: true,
|
|
133
|
-
get: function () { return chunk5CWLH3IT_js.use_login_socical_default; }
|
|
134
|
-
});
|
|
135
|
-
Object.defineProperty(exports, "useModel", {
|
|
136
|
-
enumerable: true,
|
|
137
|
-
get: function () { return chunk5CWLH3IT_js.use_model_default; }
|
|
138
|
-
});
|
|
139
|
-
Object.defineProperty(exports, "useOdooDataTransform", {
|
|
140
|
-
enumerable: true,
|
|
141
|
-
get: function () { return chunk5CWLH3IT_js.use_odoo_data_transform_default; }
|
|
142
|
-
});
|
|
143
|
-
Object.defineProperty(exports, "useOnChangeForm", {
|
|
144
|
-
enumerable: true,
|
|
145
|
-
get: function () { return chunk5CWLH3IT_js.use_onchange_form_default; }
|
|
146
|
-
});
|
|
147
|
-
Object.defineProperty(exports, "useParsePreview", {
|
|
148
|
-
enumerable: true,
|
|
149
|
-
get: function () { return chunk5CWLH3IT_js.use_parse_preview_default; }
|
|
150
|
-
});
|
|
151
|
-
Object.defineProperty(exports, "usePrint", {
|
|
152
|
-
enumerable: true,
|
|
153
|
-
get: function () { return chunk5CWLH3IT_js.use_print_default; }
|
|
154
|
-
});
|
|
155
|
-
Object.defineProperty(exports, "useRemoveRow", {
|
|
156
|
-
enumerable: true,
|
|
157
|
-
get: function () { return chunk5CWLH3IT_js.use_remove_row_default; }
|
|
158
|
-
});
|
|
159
|
-
Object.defineProperty(exports, "useResetPassword", {
|
|
160
|
-
enumerable: true,
|
|
161
|
-
get: function () { return chunk5CWLH3IT_js.use_reset_password_default; }
|
|
162
|
-
});
|
|
163
|
-
Object.defineProperty(exports, "useRunAction", {
|
|
164
|
-
enumerable: true,
|
|
165
|
-
get: function () { return chunk5CWLH3IT_js.use_run_action_default; }
|
|
166
|
-
});
|
|
167
|
-
Object.defineProperty(exports, "useSave", {
|
|
168
|
-
enumerable: true,
|
|
169
|
-
get: function () { return chunk5CWLH3IT_js.use_save_default; }
|
|
170
|
-
});
|
|
171
|
-
Object.defineProperty(exports, "useSendComment", {
|
|
172
|
-
enumerable: true,
|
|
173
|
-
get: function () { return chunk5CWLH3IT_js.use_send_comment_default; }
|
|
174
|
-
});
|
|
175
|
-
Object.defineProperty(exports, "useSwitchLocale", {
|
|
176
|
-
enumerable: true,
|
|
177
|
-
get: function () { return chunk5CWLH3IT_js.use_switch_locale_default; }
|
|
178
|
-
});
|
|
179
|
-
Object.defineProperty(exports, "useUpdatePassword", {
|
|
180
|
-
enumerable: true,
|
|
181
|
-
get: function () { return chunk5CWLH3IT_js.use_update_password_default; }
|
|
182
|
-
});
|
|
183
|
-
Object.defineProperty(exports, "useUploadFile", {
|
|
184
|
-
enumerable: true,
|
|
185
|
-
get: function () { return chunk5CWLH3IT_js.use_upload_file_default; }
|
|
186
|
-
});
|
|
187
|
-
Object.defineProperty(exports, "useUploadIdFile", {
|
|
188
|
-
enumerable: true,
|
|
189
|
-
get: function () { return chunk5CWLH3IT_js.use_upload_id_file_default; }
|
|
190
|
-
});
|
|
191
|
-
Object.defineProperty(exports, "useUploadImage", {
|
|
192
|
-
enumerable: true,
|
|
193
|
-
get: function () { return chunk5CWLH3IT_js.use_upload_image_default; }
|
|
194
|
-
});
|
package/dist/index-C_nK1Mii.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
interface BaseModelInit {
|
|
2
|
-
name: string;
|
|
3
|
-
view: Record<string, any>;
|
|
4
|
-
actContext?: Record<string, any>;
|
|
5
|
-
fields?: any;
|
|
6
|
-
}
|
|
7
|
-
declare class BaseModel {
|
|
8
|
-
name: string;
|
|
9
|
-
view: Record<string, any>;
|
|
10
|
-
actContext?: Record<string, any>;
|
|
11
|
-
fields?: any;
|
|
12
|
-
constructor(init: BaseModelInit);
|
|
13
|
-
private getSpecificationByFields;
|
|
14
|
-
getTreeProps(): Record<string, any>;
|
|
15
|
-
getTreeFields(): Record<string, any>[];
|
|
16
|
-
getSpecification(): Record<string, any>;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export { BaseModel as B, type BaseModelInit as a };
|
package/dist/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export { axiosClient } from './config.js';
|
|
2
|
-
export { ComponentType, FieldTypeConstants, KeyConstants, MethodConstants, MethodType, ModelConstants, SearchType, UriConstants, WIDGETAVATAR, WIDGETCOLOR, WIDGETNOSTRING, WIDGETSTATUS } from './constants.js';
|
|
3
|
-
export { EnvStore, env, getEnv, initEnv } from './environment.js';
|
|
4
|
-
export { useButton, useChangeStatus, useDelete, useDeleteComment, useDuplicateRecord, useExecuteImport, useExportExcel, useField, useForgotPassword, useGetAll, useGetComment, useGetCompanyInfo, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetImage, useGetListData, useGetMenu, useGetProfile, useGetProvider, useGetUser, useGetView, useIsValidToken, useLoadAction, useLoginCredential, useLoginSocial, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useResetPassword, useRunAction, useSave, useSendComment, useSwitchLocale, useUpdatePassword, useUploadFile, useUploadIdFile, useUploadImage } from './hooks.js';
|
|
5
|
-
export { u as useGetFormView, a as useGetSelection } from './use-get-selection-DFh6sc49.js';
|
|
6
|
-
export { B as BaseModel } from './index-C_nK1Mii.js';
|
|
7
|
-
export { CompanyModel, UserModel } from './models.js';
|
|
8
|
-
export { MainProvider, ReactQueryProvider, VersionGate } from './provider.js';
|
|
9
|
-
export { ActionService, AuthService, CompanyService, ExcelService, FormService, ModelService, UserService, ViewService } from './services.js';
|
|
10
|
-
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';
|
|
11
|
-
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';
|
|
12
|
-
export { B as BaseModelInit } from './base-model-type-DvO53Lwi.js';
|
|
13
|
-
export { Config } from './types.js';
|
|
14
|
-
export { C as Context } from './context-type-D5XefoL-.js';
|
|
15
|
-
export { checkIsImageLink, domainHelper, evalJSONContext, evalJSONDomain, formatFileSize, formatSortingString, formatUrlPath, getFieldsOnChange, getSubdomain, isBase64File, isBase64Image, removeUndefinedFields, stringToColor, toQueryString, useTabModel } from './utils.js';
|
|
16
|
-
import '@reduxjs/toolkit';
|
|
17
|
-
import '@tanstack/react-query';
|
|
18
|
-
import 'react/jsx-runtime';
|
|
19
|
-
import 'react';
|
|
20
|
-
import 'react-redux';
|
|
21
|
-
import 'redux-thunk';
|
|
22
|
-
import 'redux';
|
|
23
|
-
import 'immer';
|