@fctc/interface-logic 4.1.9 → 4.2.0
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/constants.d.mts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/constants.mjs +1 -1
- package/dist/hooks.js +4 -3
- package/dist/hooks.mjs +4 -3
- package/dist/provider.js +4 -3
- package/dist/provider.mjs +4 -3
- package/dist/services.d.mts +2 -1
- package/dist/services.d.ts +2 -1
- package/dist/services.js +4 -3
- package/dist/services.mjs +4 -3
- package/dist/utils.js +32 -4
- package/dist/utils.mjs +32 -4
- package/package.json +90 -90
package/dist/constants.d.mts
CHANGED
|
@@ -44,7 +44,7 @@ declare enum UriConstants {
|
|
|
44
44
|
REPORT_PATH = "/report",
|
|
45
45
|
RUN_ACTION_PATH = "/run_action",
|
|
46
46
|
UPLOAD_FILE_EXCEL_PATH = "/upload/file",
|
|
47
|
-
UPLOAD_FILE_PATH = "/
|
|
47
|
+
UPLOAD_FILE_PATH = "/file/upload",
|
|
48
48
|
GET_MESSAGE = "/chatter/thread/messages",
|
|
49
49
|
GET_THREAD_DATA = "/mail/thread/data",
|
|
50
50
|
GET_THREAD_MESSAGES = "/mail/thread/messages",
|
package/dist/constants.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ declare enum UriConstants {
|
|
|
44
44
|
REPORT_PATH = "/report",
|
|
45
45
|
RUN_ACTION_PATH = "/run_action",
|
|
46
46
|
UPLOAD_FILE_EXCEL_PATH = "/upload/file",
|
|
47
|
-
UPLOAD_FILE_PATH = "/
|
|
47
|
+
UPLOAD_FILE_PATH = "/file/upload",
|
|
48
48
|
GET_MESSAGE = "/chatter/thread/messages",
|
|
49
49
|
GET_THREAD_DATA = "/mail/thread/data",
|
|
50
50
|
GET_THREAD_MESSAGES = "/mail/thread/messages",
|
package/dist/constants.js
CHANGED
|
@@ -87,7 +87,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
87
87
|
UriConstants2["REPORT_PATH"] = `/report`;
|
|
88
88
|
UriConstants2["RUN_ACTION_PATH"] = `/run_action`;
|
|
89
89
|
UriConstants2["UPLOAD_FILE_EXCEL_PATH"] = `/upload/file`;
|
|
90
|
-
UriConstants2["UPLOAD_FILE_PATH"] = `/
|
|
90
|
+
UriConstants2["UPLOAD_FILE_PATH"] = `/file/upload`;
|
|
91
91
|
UriConstants2["GET_MESSAGE"] = `/chatter/thread/messages`;
|
|
92
92
|
UriConstants2["GET_THREAD_DATA"] = `/mail/thread/data`;
|
|
93
93
|
UriConstants2["GET_THREAD_MESSAGES"] = `/mail/thread/messages`;
|
package/dist/constants.mjs
CHANGED
|
@@ -49,7 +49,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
49
49
|
UriConstants2["REPORT_PATH"] = `/report`;
|
|
50
50
|
UriConstants2["RUN_ACTION_PATH"] = `/run_action`;
|
|
51
51
|
UriConstants2["UPLOAD_FILE_EXCEL_PATH"] = `/upload/file`;
|
|
52
|
-
UriConstants2["UPLOAD_FILE_PATH"] = `/
|
|
52
|
+
UriConstants2["UPLOAD_FILE_PATH"] = `/file/upload`;
|
|
53
53
|
UriConstants2["GET_MESSAGE"] = `/chatter/thread/messages`;
|
|
54
54
|
UriConstants2["GET_THREAD_DATA"] = `/mail/thread/data`;
|
|
55
55
|
UriConstants2["GET_THREAD_MESSAGES"] = `/mail/thread/messages`;
|
package/dist/hooks.js
CHANGED
|
@@ -161,7 +161,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
161
161
|
UriConstants2["REPORT_PATH"] = `/report`;
|
|
162
162
|
UriConstants2["RUN_ACTION_PATH"] = `/run_action`;
|
|
163
163
|
UriConstants2["UPLOAD_FILE_EXCEL_PATH"] = `/upload/file`;
|
|
164
|
-
UriConstants2["UPLOAD_FILE_PATH"] = `/
|
|
164
|
+
UriConstants2["UPLOAD_FILE_PATH"] = `/file/upload`;
|
|
165
165
|
UriConstants2["GET_MESSAGE"] = `/chatter/thread/messages`;
|
|
166
166
|
UriConstants2["GET_THREAD_DATA"] = `/mail/thread/data`;
|
|
167
167
|
UriConstants2["GET_THREAD_MESSAGES"] = `/mail/thread/messages`;
|
|
@@ -3935,10 +3935,11 @@ function useFormService() {
|
|
|
3935
3935
|
async ({
|
|
3936
3936
|
formData,
|
|
3937
3937
|
service,
|
|
3938
|
-
xNode
|
|
3938
|
+
xNode,
|
|
3939
|
+
path
|
|
3939
3940
|
}) => {
|
|
3940
3941
|
return env.requests.post(
|
|
3941
|
-
|
|
3942
|
+
path,
|
|
3942
3943
|
formData,
|
|
3943
3944
|
{
|
|
3944
3945
|
headers: {
|
package/dist/hooks.mjs
CHANGED
|
@@ -18,7 +18,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
18
18
|
UriConstants2["REPORT_PATH"] = `/report`;
|
|
19
19
|
UriConstants2["RUN_ACTION_PATH"] = `/run_action`;
|
|
20
20
|
UriConstants2["UPLOAD_FILE_EXCEL_PATH"] = `/upload/file`;
|
|
21
|
-
UriConstants2["UPLOAD_FILE_PATH"] = `/
|
|
21
|
+
UriConstants2["UPLOAD_FILE_PATH"] = `/file/upload`;
|
|
22
22
|
UriConstants2["GET_MESSAGE"] = `/chatter/thread/messages`;
|
|
23
23
|
UriConstants2["GET_THREAD_DATA"] = `/mail/thread/data`;
|
|
24
24
|
UriConstants2["GET_THREAD_MESSAGES"] = `/mail/thread/messages`;
|
|
@@ -3792,10 +3792,11 @@ function useFormService() {
|
|
|
3792
3792
|
async ({
|
|
3793
3793
|
formData,
|
|
3794
3794
|
service,
|
|
3795
|
-
xNode
|
|
3795
|
+
xNode,
|
|
3796
|
+
path
|
|
3796
3797
|
}) => {
|
|
3797
3798
|
return env.requests.post(
|
|
3798
|
-
|
|
3799
|
+
path,
|
|
3799
3800
|
formData,
|
|
3800
3801
|
{
|
|
3801
3802
|
headers: {
|
package/dist/provider.js
CHANGED
|
@@ -717,7 +717,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
717
717
|
UriConstants2["REPORT_PATH"] = `/report`;
|
|
718
718
|
UriConstants2["RUN_ACTION_PATH"] = `/run_action`;
|
|
719
719
|
UriConstants2["UPLOAD_FILE_EXCEL_PATH"] = `/upload/file`;
|
|
720
|
-
UriConstants2["UPLOAD_FILE_PATH"] = `/
|
|
720
|
+
UriConstants2["UPLOAD_FILE_PATH"] = `/file/upload`;
|
|
721
721
|
UriConstants2["GET_MESSAGE"] = `/chatter/thread/messages`;
|
|
722
722
|
UriConstants2["GET_THREAD_DATA"] = `/mail/thread/data`;
|
|
723
723
|
UriConstants2["GET_THREAD_MESSAGES"] = `/mail/thread/messages`;
|
|
@@ -3922,10 +3922,11 @@ function useFormService() {
|
|
|
3922
3922
|
async ({
|
|
3923
3923
|
formData,
|
|
3924
3924
|
service,
|
|
3925
|
-
xNode
|
|
3925
|
+
xNode,
|
|
3926
|
+
path
|
|
3926
3927
|
}) => {
|
|
3927
3928
|
return env.requests.post(
|
|
3928
|
-
|
|
3929
|
+
path,
|
|
3929
3930
|
formData,
|
|
3930
3931
|
{
|
|
3931
3932
|
headers: {
|
package/dist/provider.mjs
CHANGED
|
@@ -674,7 +674,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
674
674
|
UriConstants2["REPORT_PATH"] = `/report`;
|
|
675
675
|
UriConstants2["RUN_ACTION_PATH"] = `/run_action`;
|
|
676
676
|
UriConstants2["UPLOAD_FILE_EXCEL_PATH"] = `/upload/file`;
|
|
677
|
-
UriConstants2["UPLOAD_FILE_PATH"] = `/
|
|
677
|
+
UriConstants2["UPLOAD_FILE_PATH"] = `/file/upload`;
|
|
678
678
|
UriConstants2["GET_MESSAGE"] = `/chatter/thread/messages`;
|
|
679
679
|
UriConstants2["GET_THREAD_DATA"] = `/mail/thread/data`;
|
|
680
680
|
UriConstants2["GET_THREAD_MESSAGES"] = `/mail/thread/messages`;
|
|
@@ -3879,10 +3879,11 @@ function useFormService() {
|
|
|
3879
3879
|
async ({
|
|
3880
3880
|
formData,
|
|
3881
3881
|
service,
|
|
3882
|
-
xNode
|
|
3882
|
+
xNode,
|
|
3883
|
+
path
|
|
3883
3884
|
}) => {
|
|
3884
3885
|
return env.requests.post(
|
|
3885
|
-
|
|
3886
|
+
path,
|
|
3886
3887
|
formData,
|
|
3887
3888
|
{
|
|
3888
3889
|
headers: {
|
package/dist/services.d.mts
CHANGED
|
@@ -183,10 +183,11 @@ declare function useFormService(): {
|
|
|
183
183
|
data: TFormView;
|
|
184
184
|
}) => Promise<any>;
|
|
185
185
|
changeStatus: ({ data }: any) => Promise<any>;
|
|
186
|
-
uploadFile: ({ formData, service, xNode, }: {
|
|
186
|
+
uploadFile: ({ formData, service, xNode, path, }: {
|
|
187
187
|
formData: any;
|
|
188
188
|
service?: string;
|
|
189
189
|
xNode?: string;
|
|
190
|
+
path?: string;
|
|
190
191
|
}) => Promise<any>;
|
|
191
192
|
getThreadMessages: ({ data, xNode, service, }: {
|
|
192
193
|
data: TThreadData;
|
package/dist/services.d.ts
CHANGED
|
@@ -183,10 +183,11 @@ declare function useFormService(): {
|
|
|
183
183
|
data: TFormView;
|
|
184
184
|
}) => Promise<any>;
|
|
185
185
|
changeStatus: ({ data }: any) => Promise<any>;
|
|
186
|
-
uploadFile: ({ formData, service, xNode, }: {
|
|
186
|
+
uploadFile: ({ formData, service, xNode, path, }: {
|
|
187
187
|
formData: any;
|
|
188
188
|
service?: string;
|
|
189
189
|
xNode?: string;
|
|
190
|
+
path?: string;
|
|
190
191
|
}) => Promise<any>;
|
|
191
192
|
getThreadMessages: ({ data, xNode, service, }: {
|
|
192
193
|
data: TThreadData;
|
package/dist/services.js
CHANGED
|
@@ -60,7 +60,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
60
60
|
UriConstants2["REPORT_PATH"] = `/report`;
|
|
61
61
|
UriConstants2["RUN_ACTION_PATH"] = `/run_action`;
|
|
62
62
|
UriConstants2["UPLOAD_FILE_EXCEL_PATH"] = `/upload/file`;
|
|
63
|
-
UriConstants2["UPLOAD_FILE_PATH"] = `/
|
|
63
|
+
UriConstants2["UPLOAD_FILE_PATH"] = `/file/upload`;
|
|
64
64
|
UriConstants2["GET_MESSAGE"] = `/chatter/thread/messages`;
|
|
65
65
|
UriConstants2["GET_THREAD_DATA"] = `/mail/thread/data`;
|
|
66
66
|
UriConstants2["GET_THREAD_MESSAGES"] = `/mail/thread/messages`;
|
|
@@ -4135,10 +4135,11 @@ function useFormService() {
|
|
|
4135
4135
|
async ({
|
|
4136
4136
|
formData,
|
|
4137
4137
|
service,
|
|
4138
|
-
xNode
|
|
4138
|
+
xNode,
|
|
4139
|
+
path
|
|
4139
4140
|
}) => {
|
|
4140
4141
|
return env.requests.post(
|
|
4141
|
-
|
|
4142
|
+
path,
|
|
4142
4143
|
formData,
|
|
4143
4144
|
{
|
|
4144
4145
|
headers: {
|
package/dist/services.mjs
CHANGED
|
@@ -15,7 +15,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
15
15
|
UriConstants2["REPORT_PATH"] = `/report`;
|
|
16
16
|
UriConstants2["RUN_ACTION_PATH"] = `/run_action`;
|
|
17
17
|
UriConstants2["UPLOAD_FILE_EXCEL_PATH"] = `/upload/file`;
|
|
18
|
-
UriConstants2["UPLOAD_FILE_PATH"] = `/
|
|
18
|
+
UriConstants2["UPLOAD_FILE_PATH"] = `/file/upload`;
|
|
19
19
|
UriConstants2["GET_MESSAGE"] = `/chatter/thread/messages`;
|
|
20
20
|
UriConstants2["GET_THREAD_DATA"] = `/mail/thread/data`;
|
|
21
21
|
UriConstants2["GET_THREAD_MESSAGES"] = `/mail/thread/messages`;
|
|
@@ -4090,10 +4090,11 @@ function useFormService() {
|
|
|
4090
4090
|
async ({
|
|
4091
4091
|
formData,
|
|
4092
4092
|
service,
|
|
4093
|
-
xNode
|
|
4093
|
+
xNode,
|
|
4094
|
+
path
|
|
4094
4095
|
}) => {
|
|
4095
4096
|
return env.requests.post(
|
|
4096
|
-
|
|
4097
|
+
path,
|
|
4097
4098
|
formData,
|
|
4098
4099
|
{
|
|
4099
4100
|
headers: {
|
package/dist/utils.js
CHANGED
|
@@ -2638,10 +2638,38 @@ var stringToColor = (name, id) => {
|
|
|
2638
2638
|
const r = hash >> 16 & 255;
|
|
2639
2639
|
const g = hash >> 8 & 255;
|
|
2640
2640
|
const b = hash & 255;
|
|
2641
|
-
const
|
|
2642
|
-
const
|
|
2643
|
-
const
|
|
2644
|
-
|
|
2641
|
+
const rNorm = r / 255;
|
|
2642
|
+
const gNorm = g / 255;
|
|
2643
|
+
const bNorm = b / 255;
|
|
2644
|
+
const max = Math.max(rNorm, gNorm, bNorm);
|
|
2645
|
+
const min = Math.min(rNorm, gNorm, bNorm);
|
|
2646
|
+
const delta = max - min;
|
|
2647
|
+
let h = 0;
|
|
2648
|
+
if (delta !== 0) {
|
|
2649
|
+
if (max === rNorm) h = (gNorm - bNorm) / delta % 6;
|
|
2650
|
+
else if (max === gNorm) h = (bNorm - rNorm) / delta + 2;
|
|
2651
|
+
else h = (rNorm - gNorm) / delta + 4;
|
|
2652
|
+
}
|
|
2653
|
+
h = Math.round(h * 60);
|
|
2654
|
+
if (h < 0) h += 360;
|
|
2655
|
+
let l = (max + min) / 2;
|
|
2656
|
+
let s = delta === 0 ? 0 : delta / (1 - Math.abs(2 * l - 1));
|
|
2657
|
+
s = Math.min(1, s * 1.8);
|
|
2658
|
+
l = Math.min(0.75, l * 1.05);
|
|
2659
|
+
const c = (1 - Math.abs(2 * l - 1)) * s;
|
|
2660
|
+
const x = c * (1 - Math.abs(h / 60 % 2 - 1));
|
|
2661
|
+
const m = l - c / 2;
|
|
2662
|
+
let r2 = 0, g2 = 0, b2 = 0;
|
|
2663
|
+
if (0 <= h && h < 60) [r2, g2, b2] = [c, x, 0];
|
|
2664
|
+
else if (60 <= h && h < 120) [r2, g2, b2] = [x, c, 0];
|
|
2665
|
+
else if (120 <= h && h < 180) [r2, g2, b2] = [0, c, x];
|
|
2666
|
+
else if (180 <= h && h < 240) [r2, g2, b2] = [0, x, c];
|
|
2667
|
+
else if (240 <= h && h < 300) [r2, g2, b2] = [x, 0, c];
|
|
2668
|
+
else [r2, g2, b2] = [c, 0, x];
|
|
2669
|
+
const finalR = Math.round((r2 + m) * 255);
|
|
2670
|
+
const finalG = Math.round((g2 + m) * 255);
|
|
2671
|
+
const finalB = Math.round((b2 + m) * 255);
|
|
2672
|
+
return `#${finalR.toString(16).padStart(2, "0")}${finalG.toString(16).padStart(2, "0")}${finalB.toString(16).padStart(2, "0")}`;
|
|
2645
2673
|
};
|
|
2646
2674
|
var getFieldsOnChange = (fields) => {
|
|
2647
2675
|
const result = [];
|
package/dist/utils.mjs
CHANGED
|
@@ -2571,10 +2571,38 @@ var stringToColor = (name, id) => {
|
|
|
2571
2571
|
const r = hash >> 16 & 255;
|
|
2572
2572
|
const g = hash >> 8 & 255;
|
|
2573
2573
|
const b = hash & 255;
|
|
2574
|
-
const
|
|
2575
|
-
const
|
|
2576
|
-
const
|
|
2577
|
-
|
|
2574
|
+
const rNorm = r / 255;
|
|
2575
|
+
const gNorm = g / 255;
|
|
2576
|
+
const bNorm = b / 255;
|
|
2577
|
+
const max = Math.max(rNorm, gNorm, bNorm);
|
|
2578
|
+
const min = Math.min(rNorm, gNorm, bNorm);
|
|
2579
|
+
const delta = max - min;
|
|
2580
|
+
let h = 0;
|
|
2581
|
+
if (delta !== 0) {
|
|
2582
|
+
if (max === rNorm) h = (gNorm - bNorm) / delta % 6;
|
|
2583
|
+
else if (max === gNorm) h = (bNorm - rNorm) / delta + 2;
|
|
2584
|
+
else h = (rNorm - gNorm) / delta + 4;
|
|
2585
|
+
}
|
|
2586
|
+
h = Math.round(h * 60);
|
|
2587
|
+
if (h < 0) h += 360;
|
|
2588
|
+
let l = (max + min) / 2;
|
|
2589
|
+
let s = delta === 0 ? 0 : delta / (1 - Math.abs(2 * l - 1));
|
|
2590
|
+
s = Math.min(1, s * 1.8);
|
|
2591
|
+
l = Math.min(0.75, l * 1.05);
|
|
2592
|
+
const c = (1 - Math.abs(2 * l - 1)) * s;
|
|
2593
|
+
const x = c * (1 - Math.abs(h / 60 % 2 - 1));
|
|
2594
|
+
const m = l - c / 2;
|
|
2595
|
+
let r2 = 0, g2 = 0, b2 = 0;
|
|
2596
|
+
if (0 <= h && h < 60) [r2, g2, b2] = [c, x, 0];
|
|
2597
|
+
else if (60 <= h && h < 120) [r2, g2, b2] = [x, c, 0];
|
|
2598
|
+
else if (120 <= h && h < 180) [r2, g2, b2] = [0, c, x];
|
|
2599
|
+
else if (180 <= h && h < 240) [r2, g2, b2] = [0, x, c];
|
|
2600
|
+
else if (240 <= h && h < 300) [r2, g2, b2] = [x, 0, c];
|
|
2601
|
+
else [r2, g2, b2] = [c, 0, x];
|
|
2602
|
+
const finalR = Math.round((r2 + m) * 255);
|
|
2603
|
+
const finalG = Math.round((g2 + m) * 255);
|
|
2604
|
+
const finalB = Math.round((b2 + m) * 255);
|
|
2605
|
+
return `#${finalR.toString(16).padStart(2, "0")}${finalG.toString(16).padStart(2, "0")}${finalB.toString(16).padStart(2, "0")}`;
|
|
2578
2606
|
};
|
|
2579
2607
|
var getFieldsOnChange = (fields) => {
|
|
2580
2608
|
const result = [];
|
package/package.json
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fctc/interface-logic",
|
|
3
|
-
"version": "4.
|
|
4
|
-
"types": "dist/index.d.ts",
|
|
5
|
-
"main": "dist/index.cjs",
|
|
6
|
-
"module": "dist/index.mjs",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": {
|
|
9
|
-
"types": "./dist/index.d.ts",
|
|
10
|
-
"import": "./dist/index.mjs",
|
|
11
|
-
"require": "./dist/index.cjs"
|
|
12
|
-
},
|
|
13
|
-
"./configs": {
|
|
14
|
-
"types": "./dist/configs.d.ts",
|
|
15
|
-
"import": "./dist/configs.mjs",
|
|
16
|
-
"require": "./dist/configs.cjs"
|
|
17
|
-
},
|
|
18
|
-
"./constants": {
|
|
19
|
-
"types": "./dist/constants.d.ts",
|
|
20
|
-
"import": "./dist/constants.mjs",
|
|
21
|
-
"require": "./dist/constants.cjs"
|
|
22
|
-
},
|
|
23
|
-
"./environment": {
|
|
24
|
-
"types": "./dist/environment.d.ts",
|
|
25
|
-
"import": "./dist/environment.mjs",
|
|
26
|
-
"require": "./dist/environment.cjs"
|
|
27
|
-
},
|
|
28
|
-
"./hooks": {
|
|
29
|
-
"types": "./dist/hooks.d.ts",
|
|
30
|
-
"import": "./dist/hooks.mjs",
|
|
31
|
-
"require": "./dist/hooks.cjs"
|
|
32
|
-
},
|
|
33
|
-
"./provider": {
|
|
34
|
-
"types": "./dist/provider.d.ts",
|
|
35
|
-
"import": "./dist/provider.mjs",
|
|
36
|
-
"require": "./dist/provider.cjs"
|
|
37
|
-
},
|
|
38
|
-
"./services": {
|
|
39
|
-
"types": "./dist/services.d.ts",
|
|
40
|
-
"import": "./dist/services.mjs",
|
|
41
|
-
"require": "./dist/services.cjs"
|
|
42
|
-
},
|
|
43
|
-
"./store": {
|
|
44
|
-
"types": "./dist/store.d.ts",
|
|
45
|
-
"import": "./dist/store.mjs",
|
|
46
|
-
"require": "./dist/store.cjs"
|
|
47
|
-
},
|
|
48
|
-
"./utils": {
|
|
49
|
-
"types": "./dist/utils.d.ts",
|
|
50
|
-
"import": "./dist/utils.mjs",
|
|
51
|
-
"require": "./dist/utils.cjs"
|
|
52
|
-
},
|
|
53
|
-
"./types": {
|
|
54
|
-
"types": "./dist/types.d.ts",
|
|
55
|
-
"import": "./dist/types.mjs",
|
|
56
|
-
"require": "./dist/types.cjs"
|
|
57
|
-
},
|
|
58
|
-
"./models": {
|
|
59
|
-
"types": "./dist/models.d.ts",
|
|
60
|
-
"import": "./dist/models.mjs",
|
|
61
|
-
"require": "./dist/models.cjs"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"files": [
|
|
65
|
-
"dist"
|
|
66
|
-
],
|
|
67
|
-
"scripts": {
|
|
68
|
-
"build": "tsup",
|
|
69
|
-
"test": "jest"
|
|
70
|
-
},
|
|
71
|
-
"peerDependencies": {
|
|
72
|
-
"react": "18.0.0",
|
|
73
|
-
"@tanstack/react-query": "^5.83.0"
|
|
74
|
-
},
|
|
75
|
-
"dependencies": {
|
|
76
|
-
"@reduxjs/toolkit": "^2.8.2",
|
|
77
|
-
"@tanstack/react-query": "^5.83.0",
|
|
78
|
-
"axios": "^1.11.0",
|
|
79
|
-
"moment": "^2.30.1",
|
|
80
|
-
"react-redux": "^9.2.0"
|
|
81
|
-
},
|
|
82
|
-
"devDependencies": {
|
|
83
|
-
"@types/react": "^18.3.1",
|
|
84
|
-
"react": "18.0.0",
|
|
85
|
-
"jest": "^29.7.0",
|
|
86
|
-
"tsup": "^8.0.0",
|
|
87
|
-
"typescript": "^5.8.2"
|
|
88
|
-
},
|
|
89
|
-
"packageManager": "yarn@1.22.0"
|
|
90
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@fctc/interface-logic",
|
|
3
|
+
"version": "4.2.0",
|
|
4
|
+
"types": "dist/index.d.ts",
|
|
5
|
+
"main": "dist/index.cjs",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.mjs",
|
|
11
|
+
"require": "./dist/index.cjs"
|
|
12
|
+
},
|
|
13
|
+
"./configs": {
|
|
14
|
+
"types": "./dist/configs.d.ts",
|
|
15
|
+
"import": "./dist/configs.mjs",
|
|
16
|
+
"require": "./dist/configs.cjs"
|
|
17
|
+
},
|
|
18
|
+
"./constants": {
|
|
19
|
+
"types": "./dist/constants.d.ts",
|
|
20
|
+
"import": "./dist/constants.mjs",
|
|
21
|
+
"require": "./dist/constants.cjs"
|
|
22
|
+
},
|
|
23
|
+
"./environment": {
|
|
24
|
+
"types": "./dist/environment.d.ts",
|
|
25
|
+
"import": "./dist/environment.mjs",
|
|
26
|
+
"require": "./dist/environment.cjs"
|
|
27
|
+
},
|
|
28
|
+
"./hooks": {
|
|
29
|
+
"types": "./dist/hooks.d.ts",
|
|
30
|
+
"import": "./dist/hooks.mjs",
|
|
31
|
+
"require": "./dist/hooks.cjs"
|
|
32
|
+
},
|
|
33
|
+
"./provider": {
|
|
34
|
+
"types": "./dist/provider.d.ts",
|
|
35
|
+
"import": "./dist/provider.mjs",
|
|
36
|
+
"require": "./dist/provider.cjs"
|
|
37
|
+
},
|
|
38
|
+
"./services": {
|
|
39
|
+
"types": "./dist/services.d.ts",
|
|
40
|
+
"import": "./dist/services.mjs",
|
|
41
|
+
"require": "./dist/services.cjs"
|
|
42
|
+
},
|
|
43
|
+
"./store": {
|
|
44
|
+
"types": "./dist/store.d.ts",
|
|
45
|
+
"import": "./dist/store.mjs",
|
|
46
|
+
"require": "./dist/store.cjs"
|
|
47
|
+
},
|
|
48
|
+
"./utils": {
|
|
49
|
+
"types": "./dist/utils.d.ts",
|
|
50
|
+
"import": "./dist/utils.mjs",
|
|
51
|
+
"require": "./dist/utils.cjs"
|
|
52
|
+
},
|
|
53
|
+
"./types": {
|
|
54
|
+
"types": "./dist/types.d.ts",
|
|
55
|
+
"import": "./dist/types.mjs",
|
|
56
|
+
"require": "./dist/types.cjs"
|
|
57
|
+
},
|
|
58
|
+
"./models": {
|
|
59
|
+
"types": "./dist/models.d.ts",
|
|
60
|
+
"import": "./dist/models.mjs",
|
|
61
|
+
"require": "./dist/models.cjs"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"files": [
|
|
65
|
+
"dist"
|
|
66
|
+
],
|
|
67
|
+
"scripts": {
|
|
68
|
+
"build": "tsup",
|
|
69
|
+
"test": "jest"
|
|
70
|
+
},
|
|
71
|
+
"peerDependencies": {
|
|
72
|
+
"react": "18.0.0",
|
|
73
|
+
"@tanstack/react-query": "^5.83.0"
|
|
74
|
+
},
|
|
75
|
+
"dependencies": {
|
|
76
|
+
"@reduxjs/toolkit": "^2.8.2",
|
|
77
|
+
"@tanstack/react-query": "^5.83.0",
|
|
78
|
+
"axios": "^1.11.0",
|
|
79
|
+
"moment": "^2.30.1",
|
|
80
|
+
"react-redux": "^9.2.0"
|
|
81
|
+
},
|
|
82
|
+
"devDependencies": {
|
|
83
|
+
"@types/react": "^18.3.1",
|
|
84
|
+
"react": "18.0.0",
|
|
85
|
+
"jest": "^29.7.0",
|
|
86
|
+
"tsup": "^8.0.0",
|
|
87
|
+
"typescript": "^5.8.2"
|
|
88
|
+
},
|
|
89
|
+
"packageManager": "yarn@1.22.0"
|
|
90
|
+
}
|