@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.
Files changed (74) hide show
  1. package/dist/chunk-3VUHHO7T.mjs +1 -0
  2. package/dist/chunk-4HCNCH3K.mjs +1 -0
  3. package/dist/chunk-4WC7TEQB.mjs +2 -0
  4. package/dist/chunk-6QAALOXO.mjs +6 -0
  5. package/dist/chunk-AT7T7PUJ.mjs +1 -0
  6. package/dist/chunk-CDLT5L7M.mjs +1 -0
  7. package/dist/chunk-GHOANIO5.mjs +1 -0
  8. package/dist/chunk-QKRSQCY2.mjs +1 -0
  9. package/dist/chunk-TWFPZEDT.mjs +1 -0
  10. package/dist/chunk-UBGANIIB.mjs +1 -0
  11. package/dist/chunk-WAXGOBY2.mjs +0 -1
  12. package/dist/chunk-ZC4WZW6I.mjs +1 -0
  13. package/dist/config.mjs +1 -2
  14. package/dist/constants.mjs +1 -2
  15. package/dist/environment.mjs +1 -4
  16. package/dist/hooks.mjs +1 -9
  17. package/dist/index.mjs +1 -12
  18. package/dist/models.mjs +1 -9
  19. package/dist/provider.mjs +1 -8
  20. package/dist/services.mjs +1 -7
  21. package/dist/store.mjs +1 -1
  22. package/dist/types.mjs +1 -1
  23. package/dist/utils.mjs +1 -1
  24. package/package.json +79 -90
  25. package/dist/base-model-type-DvO53Lwi.d.ts +0 -7
  26. package/dist/chunk-227GQM56.mjs +0 -295
  27. package/dist/chunk-3B6NWGPJ.js +0 -303
  28. package/dist/chunk-3GSWPBI3.js +0 -122
  29. package/dist/chunk-56VJGYA5.js +0 -66
  30. package/dist/chunk-5CWLH3IT.js +0 -635
  31. package/dist/chunk-A3OMRS6W.mjs +0 -62
  32. package/dist/chunk-GGNOJ77I.js +0 -2
  33. package/dist/chunk-HDWNBT3C.mjs +0 -120
  34. package/dist/chunk-IGSNXETE.mjs +0 -85
  35. package/dist/chunk-IXDDYGKE.js +0 -61
  36. package/dist/chunk-KYUV2PH4.mjs +0 -585
  37. package/dist/chunk-MLJQPO4Q.mjs +0 -57
  38. package/dist/chunk-MXBJCI62.mjs +0 -2344
  39. package/dist/chunk-ODQQQ7WA.js +0 -94
  40. package/dist/chunk-QLUONJPQ.mjs +0 -519
  41. package/dist/chunk-QMO7DJNI.mjs +0 -1059
  42. package/dist/chunk-QYYFZUNV.mjs +0 -90
  43. package/dist/chunk-RZBHZYXG.js +0 -582
  44. package/dist/chunk-TT2ZKGNO.mjs +0 -29
  45. package/dist/chunk-UHYQ7IVO.js +0 -32
  46. package/dist/chunk-UY632SGY.js +0 -2362
  47. package/dist/chunk-UYN3VSHW.js +0 -95
  48. package/dist/chunk-ZAYNNN2Q.js +0 -1068
  49. package/dist/config.d.ts +0 -15
  50. package/dist/config.js +0 -11
  51. package/dist/constants.d.ts +0 -120
  52. package/dist/constants.js +0 -55
  53. package/dist/context-type-D5XefoL-.d.ts +0 -8
  54. package/dist/environment.d.ts +0 -54
  55. package/dist/environment.js +0 -25
  56. package/dist/hooks.d.ts +0 -218
  57. package/dist/hooks.js +0 -194
  58. package/dist/index-C_nK1Mii.d.ts +0 -19
  59. package/dist/index.d.ts +0 -23
  60. package/dist/index.js +0 -629
  61. package/dist/models.d.ts +0 -35
  62. package/dist/models.js +0 -26
  63. package/dist/provider.d.ts +0 -16
  64. package/dist/provider.js +0 -25
  65. package/dist/services.d.ts +0 -160
  66. package/dist/services.js +0 -44
  67. package/dist/store.d.ts +0 -505
  68. package/dist/store.js +0 -254
  69. package/dist/types.d.ts +0 -12
  70. package/dist/types.js +0 -4
  71. package/dist/use-get-selection-DFh6sc49.d.ts +0 -26
  72. package/dist/utils.d.ts +0 -52
  73. package/dist/utils.js +0 -66
  74. package/dist/view-type-BTzRpkT7.d.ts +0 -106
package/dist/provider.js DELETED
@@ -1,25 +0,0 @@
1
- 'use strict';
2
-
3
- var chunk56VJGYA5_js = require('./chunk-56VJGYA5.js');
4
- require('./chunk-ZAYNNN2Q.js');
5
- require('./chunk-UY632SGY.js');
6
- require('./chunk-UYN3VSHW.js');
7
- require('./chunk-ODQQQ7WA.js');
8
- require('./chunk-RZBHZYXG.js');
9
- require('./chunk-3B6NWGPJ.js');
10
- require('./chunk-IXDDYGKE.js');
11
-
12
-
13
-
14
- Object.defineProperty(exports, "MainProvider", {
15
- enumerable: true,
16
- get: function () { return chunk56VJGYA5_js.MainProvider; }
17
- });
18
- Object.defineProperty(exports, "ReactQueryProvider", {
19
- enumerable: true,
20
- get: function () { return chunk56VJGYA5_js.ReactQueryProvider; }
21
- });
22
- Object.defineProperty(exports, "VersionGate", {
23
- enumerable: true,
24
- get: function () { return chunk56VJGYA5_js.VersionGate; }
25
- });
@@ -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,44 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkZAYNNN2Q_js = require('./chunk-ZAYNNN2Q.js');
4
- require('./chunk-UY632SGY.js');
5
- require('./chunk-UYN3VSHW.js');
6
- require('./chunk-ODQQQ7WA.js');
7
- require('./chunk-RZBHZYXG.js');
8
- require('./chunk-3B6NWGPJ.js');
9
- require('./chunk-IXDDYGKE.js');
10
-
11
-
12
-
13
- Object.defineProperty(exports, "ActionService", {
14
- enumerable: true,
15
- get: function () { return chunkZAYNNN2Q_js.action_service_default; }
16
- });
17
- Object.defineProperty(exports, "AuthService", {
18
- enumerable: true,
19
- get: function () { return chunkZAYNNN2Q_js.auth_service_default; }
20
- });
21
- Object.defineProperty(exports, "CompanyService", {
22
- enumerable: true,
23
- get: function () { return chunkZAYNNN2Q_js.company_service_default; }
24
- });
25
- Object.defineProperty(exports, "ExcelService", {
26
- enumerable: true,
27
- get: function () { return chunkZAYNNN2Q_js.excel_service_default; }
28
- });
29
- Object.defineProperty(exports, "FormService", {
30
- enumerable: true,
31
- get: function () { return chunkZAYNNN2Q_js.form_service_default; }
32
- });
33
- Object.defineProperty(exports, "ModelService", {
34
- enumerable: true,
35
- get: function () { return chunkZAYNNN2Q_js.model_service_default; }
36
- });
37
- Object.defineProperty(exports, "UserService", {
38
- enumerable: true,
39
- get: function () { return chunkZAYNNN2Q_js.user_service_default; }
40
- });
41
- Object.defineProperty(exports, "ViewService", {
42
- enumerable: true,
43
- get: function () { return chunkZAYNNN2Q_js.view_service_default; }
44
- });