@fctc/interface-logic 5.2.6 → 5.2.8

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 (55) hide show
  1. package/dist/{chunk-F2VAAEVB.mjs → chunk-6ARYI77N.mjs} +3 -12
  2. package/dist/chunk-6LSKTACC.js +687 -0
  3. package/dist/{chunk-ZDXEWQQD.mjs → chunk-ACSPOGTI.mjs} +7 -14
  4. package/dist/chunk-B432GFRR.mjs +606 -0
  5. package/dist/{chunk-HQVNK2EW.mjs → chunk-BPJZ3QRN.mjs} +770 -128
  6. package/dist/{chunk-FWBYTZIV.js → chunk-C5QQGBN4.js} +18 -23
  7. package/dist/chunk-COC7NGXP.js +19 -19
  8. package/dist/chunk-GGNOJ77I.js +2 -1
  9. package/dist/{chunk-F4RE57FT.mjs → chunk-ICDQN2GL.mjs} +539 -1393
  10. package/dist/{chunk-U4Q3MW45.js → chunk-JDXUTKMX.js} +852 -170
  11. package/dist/chunk-Q3Y6RCJ4.mjs +1 -18
  12. package/dist/{chunk-CCTDGAMA.js → chunk-Q5YXX4OR.js} +51 -52
  13. package/dist/{chunk-U2COUTK5.js → chunk-TX2WZCYM.js} +931 -1610
  14. package/dist/chunk-VBVNP77T.mjs +2 -6
  15. package/dist/chunk-WAXGOBY2.mjs +1 -0
  16. package/dist/chunk-WTPKTZQC.js +31 -33
  17. package/dist/configs.js +9 -4
  18. package/dist/configs.mjs +3 -7
  19. package/dist/constants.js +70 -36
  20. package/dist/constants.mjs +1 -36
  21. package/dist/environment.d.mts +1 -1
  22. package/dist/environment.d.ts +1 -1
  23. package/dist/environment.js +17 -8
  24. package/dist/environment.mjs +4 -12
  25. package/dist/hooks.d.mts +9 -3
  26. package/dist/hooks.d.ts +9 -3
  27. package/dist/hooks.js +617 -306
  28. package/dist/hooks.mjs +6 -312
  29. package/dist/index.d.mts +10 -4
  30. package/dist/index.d.ts +10 -4
  31. package/dist/index.js +1245 -433
  32. package/dist/index.mjs +8 -433
  33. package/dist/{local-storage-AbiOQTLK.d.mts → local-storage-BPvoMGYJ.d.mts} +1 -1
  34. package/dist/{local-storage-AbiOQTLK.d.ts → local-storage-BPvoMGYJ.d.ts} +1 -1
  35. package/dist/models.js +7 -3
  36. package/dist/models.mjs +2 -7
  37. package/dist/provider.d.mts +8 -3
  38. package/dist/provider.d.ts +8 -3
  39. package/dist/provider.js +45 -20
  40. package/dist/provider.mjs +6 -26
  41. package/dist/services.d.mts +2 -2
  42. package/dist/services.d.ts +2 -2
  43. package/dist/services.js +49 -24
  44. package/dist/services.mjs +6 -30
  45. package/dist/store.d.mts +382 -0
  46. package/dist/store.d.ts +382 -0
  47. package/dist/store.js +326 -0
  48. package/dist/store.mjs +1 -0
  49. package/dist/types.js +4 -1
  50. package/dist/types.mjs +1 -1
  51. package/dist/utils.d.mts +61 -33
  52. package/dist/utils.d.ts +61 -33
  53. package/dist/utils.js +139 -36
  54. package/dist/utils.mjs +2 -36
  55. package/package.json +93 -79
package/dist/utils.js CHANGED
@@ -1,36 +1,139 @@
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
- var _chunkU4Q3MW45js = require('./chunk-U4Q3MW45.js');
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
- exports.Domain = _chunkU4Q3MW45js.Domain; exports.InvalidDomainError = _chunkU4Q3MW45js.InvalidDomainError; exports.checkDomain = _chunkU4Q3MW45js.checkDomain; exports.cleanObject = _chunkU4Q3MW45js.cleanObject; exports.domainHelper = _chunkU4Q3MW45js.domainHelper; exports.evalDomain = _chunkU4Q3MW45js.evalDomain; exports.evalJSONContext = _chunkU4Q3MW45js.evalJSONContext; exports.evalJSONDomain = _chunkU4Q3MW45js.evalJSONDomain; exports.evalPartialContext = _chunkU4Q3MW45js.evalPartialContext; exports.formatSortingString = _chunkU4Q3MW45js.formatSortingString; exports.localStorageUtils = _chunkU4Q3MW45js.localStorageUtils; exports.makeContext = _chunkU4Q3MW45js.makeContext; exports.matchDomains = _chunkU4Q3MW45js.matchDomains; exports.sessionStorageUtils = _chunkU4Q3MW45js.sessionStorageUtils; exports.toQueryString = _chunkU4Q3MW45js.toQueryString; exports.updateTokenParamInOriginalRequest = _chunkU4Q3MW45js.updateTokenParamInOriginalRequest;
1
+ 'use strict';
2
+
3
+ var chunkJDXUTKMX_js = require('./chunk-JDXUTKMX.js');
4
+ require('./chunk-COC7NGXP.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "WesapError", {
9
+ enumerable: true,
10
+ get: function () { return chunkJDXUTKMX_js.WesapError; }
11
+ });
12
+ Object.defineProperty(exports, "checkIsImageLink", {
13
+ enumerable: true,
14
+ get: function () { return chunkJDXUTKMX_js.checkIsImageLink; }
15
+ });
16
+ Object.defineProperty(exports, "convertFloatToTime", {
17
+ enumerable: true,
18
+ get: function () { return chunkJDXUTKMX_js.convertFloatToTime; }
19
+ });
20
+ Object.defineProperty(exports, "convertTimeToFloat", {
21
+ enumerable: true,
22
+ get: function () { return chunkJDXUTKMX_js.convertTimeToFloat; }
23
+ });
24
+ Object.defineProperty(exports, "copyTextToClipboard", {
25
+ enumerable: true,
26
+ get: function () { return chunkJDXUTKMX_js.copyTextToClipboard; }
27
+ });
28
+ Object.defineProperty(exports, "domainHelper", {
29
+ enumerable: true,
30
+ get: function () { return chunkJDXUTKMX_js.domainHelper; }
31
+ });
32
+ Object.defineProperty(exports, "downloadFile", {
33
+ enumerable: true,
34
+ get: function () { return chunkJDXUTKMX_js.downloadFile; }
35
+ });
36
+ Object.defineProperty(exports, "evalJSONContext", {
37
+ enumerable: true,
38
+ get: function () { return chunkJDXUTKMX_js.evalJSONContext; }
39
+ });
40
+ Object.defineProperty(exports, "evalJSONDomain", {
41
+ enumerable: true,
42
+ get: function () { return chunkJDXUTKMX_js.evalJSONDomain; }
43
+ });
44
+ Object.defineProperty(exports, "extractIdFromDomain", {
45
+ enumerable: true,
46
+ get: function () { return chunkJDXUTKMX_js.extractIdFromDomain; }
47
+ });
48
+ Object.defineProperty(exports, "filterFieldDirty", {
49
+ enumerable: true,
50
+ get: function () { return chunkJDXUTKMX_js.filterFieldDirty; }
51
+ });
52
+ Object.defineProperty(exports, "formatCurrency", {
53
+ enumerable: true,
54
+ get: function () { return chunkJDXUTKMX_js.formatCurrency; }
55
+ });
56
+ Object.defineProperty(exports, "formatDate", {
57
+ enumerable: true,
58
+ get: function () { return chunkJDXUTKMX_js.formatDate; }
59
+ });
60
+ Object.defineProperty(exports, "formatFileSize", {
61
+ enumerable: true,
62
+ get: function () { return chunkJDXUTKMX_js.formatFileSize; }
63
+ });
64
+ Object.defineProperty(exports, "formatSortingString", {
65
+ enumerable: true,
66
+ get: function () { return chunkJDXUTKMX_js.formatSortingString; }
67
+ });
68
+ Object.defineProperty(exports, "formatUrlPath", {
69
+ enumerable: true,
70
+ get: function () { return chunkJDXUTKMX_js.formatUrlPath; }
71
+ });
72
+ Object.defineProperty(exports, "getFieldsOnChange", {
73
+ enumerable: true,
74
+ get: function () { return chunkJDXUTKMX_js.getFieldsOnChange; }
75
+ });
76
+ Object.defineProperty(exports, "getOffSet", {
77
+ enumerable: true,
78
+ get: function () { return chunkJDXUTKMX_js.getOffSet; }
79
+ });
80
+ Object.defineProperty(exports, "getSubdomain", {
81
+ enumerable: true,
82
+ get: function () { return chunkJDXUTKMX_js.getSubdomain; }
83
+ });
84
+ Object.defineProperty(exports, "handleError", {
85
+ enumerable: true,
86
+ get: function () { return chunkJDXUTKMX_js.handleError; }
87
+ });
88
+ Object.defineProperty(exports, "isBase64File", {
89
+ enumerable: true,
90
+ get: function () { return chunkJDXUTKMX_js.isBase64File; }
91
+ });
92
+ Object.defineProperty(exports, "isBase64Image", {
93
+ enumerable: true,
94
+ get: function () { return chunkJDXUTKMX_js.isBase64Image; }
95
+ });
96
+ Object.defineProperty(exports, "isObjectEmpty", {
97
+ enumerable: true,
98
+ get: function () { return chunkJDXUTKMX_js.isObjectEmpty; }
99
+ });
100
+ Object.defineProperty(exports, "mergeObjects", {
101
+ enumerable: true,
102
+ get: function () { return chunkJDXUTKMX_js.mergeObjects; }
103
+ });
104
+ Object.defineProperty(exports, "removeUndefinedFields", {
105
+ enumerable: true,
106
+ get: function () { return chunkJDXUTKMX_js.removeUndefinedFields; }
107
+ });
108
+ Object.defineProperty(exports, "resequence", {
109
+ enumerable: true,
110
+ get: function () { return chunkJDXUTKMX_js.resequence; }
111
+ });
112
+ Object.defineProperty(exports, "sessionStorageUtils", {
113
+ enumerable: true,
114
+ get: function () { return chunkJDXUTKMX_js.sessionStorageUtils; }
115
+ });
116
+ Object.defineProperty(exports, "stringToColor", {
117
+ enumerable: true,
118
+ get: function () { return chunkJDXUTKMX_js.stringToColor; }
119
+ });
120
+ Object.defineProperty(exports, "toQueryString", {
121
+ enumerable: true,
122
+ get: function () { return chunkJDXUTKMX_js.toQueryString; }
123
+ });
124
+ Object.defineProperty(exports, "updateTokenParamInOriginalRequest", {
125
+ enumerable: true,
126
+ get: function () { return chunkJDXUTKMX_js.updateTokenParamInOriginalRequest; }
127
+ });
128
+ Object.defineProperty(exports, "useField", {
129
+ enumerable: true,
130
+ get: function () { return chunkJDXUTKMX_js.useField; }
131
+ });
132
+ Object.defineProperty(exports, "useTabModel", {
133
+ enumerable: true,
134
+ get: function () { return chunkJDXUTKMX_js.useTabModel; }
135
+ });
136
+ Object.defineProperty(exports, "validateAndParseDate", {
137
+ enumerable: true,
138
+ get: function () { return chunkJDXUTKMX_js.validateAndParseDate; }
139
+ });
package/dist/utils.mjs CHANGED
@@ -1,36 +1,2 @@
1
- import {
2
- Domain,
3
- InvalidDomainError,
4
- checkDomain,
5
- cleanObject,
6
- domainHelper,
7
- evalDomain,
8
- evalJSONContext,
9
- evalJSONDomain,
10
- evalPartialContext,
11
- formatSortingString,
12
- localStorageUtils,
13
- makeContext,
14
- matchDomains,
15
- sessionStorageUtils,
16
- toQueryString,
17
- updateTokenParamInOriginalRequest
18
- } from "./chunk-HQVNK2EW.mjs";
19
- export {
20
- Domain,
21
- InvalidDomainError,
22
- checkDomain,
23
- cleanObject,
24
- domainHelper,
25
- evalDomain,
26
- evalJSONContext,
27
- evalJSONDomain,
28
- evalPartialContext,
29
- formatSortingString,
30
- localStorageUtils,
31
- makeContext,
32
- matchDomains,
33
- sessionStorageUtils,
34
- toQueryString,
35
- updateTokenParamInOriginalRequest
36
- };
1
+ export { WesapError, checkIsImageLink, convertFloatToTime, convertTimeToFloat, copyTextToClipboard, domainHelper, downloadFile, evalJSONContext, evalJSONDomain, extractIdFromDomain, filterFieldDirty, formatCurrency, formatDate, formatFileSize, formatSortingString, formatUrlPath, getFieldsOnChange, getOffSet, getSubdomain, handleError, isBase64File, isBase64Image, isObjectEmpty, mergeObjects, removeUndefinedFields, resequence, sessionStorageUtils, stringToColor, toQueryString, updateTokenParamInOriginalRequest, useField, useTabModel, validateAndParseDate } from './chunk-BPJZ3QRN.mjs';
2
+ import './chunk-Q3Y6RCJ4.mjs';
package/package.json CHANGED
@@ -1,79 +1,93 @@
1
- {
2
- "name": "@fctc/interface-logic",
3
- "version": "5.2.6",
4
- "types": "dist/index.d.ts",
5
- "main": "dist/index.mjs",
6
- "module": "dist/index.mjs",
7
- "sideEffects": false,
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.mjs"
12
- },
13
- "./configs": {
14
- "types": "./dist/configs.d.ts",
15
- "import": "./dist/configs.mjs"
16
- },
17
- "./constants": {
18
- "types": "./dist/constants.d.ts",
19
- "import": "./dist/constants.mjs"
20
- },
21
- "./environment": {
22
- "types": "./dist/environment.d.ts",
23
- "import": "./dist/environment.mjs"
24
- },
25
- "./hooks": {
26
- "types": "./dist/hooks.d.ts",
27
- "import": "./dist/hooks.mjs"
28
- },
29
- "./provider": {
30
- "types": "./dist/provider.d.ts",
31
- "import": "./dist/provider.mjs"
32
- },
33
- "./services": {
34
- "types": "./dist/services.d.ts",
35
- "import": "./dist/services.mjs"
36
- },
37
- "./store": {
38
- "types": "./dist/store.d.ts",
39
- "import": "./dist/store.mjs"
40
- },
41
- "./utils": {
42
- "types": "./dist/utils.d.ts",
43
- "import": "./dist/utils.mjs"
44
- },
45
- "./types": {
46
- "types": "./dist/types.d.ts",
47
- "import": "./dist/types.mjs"
48
- },
49
- "./models": {
50
- "types": "./dist/models.d.ts",
51
- "import": "./dist/models.mjs"
52
- }
53
- },
54
- "files": [
55
- "dist"
56
- ],
57
- "scripts": {
58
- "build": "tsup",
59
- "test": "jest"
60
- },
61
- "peerDependencies": {
62
- "@tanstack/react-query": "^5.83.0",
63
- "@supabase/supabase-js": "^2.90.1",
64
- "react": "18.0.0"
65
- },
66
- "dependencies": {
67
- "@supabase/supabase-js": "^2.90.1",
68
- "@tanstack/react-query": "^5.83.0",
69
- "axios": "^1.11.0"
70
- },
71
- "devDependencies": {
72
- "@types/react": "^18.3.1",
73
- "jest": "^29.7.0",
74
- "react": "18.0.0",
75
- "tsup": "^8.0.0",
76
- "typescript": "^5.8.2"
77
- },
78
- "packageManager": "yarn@1.22.0"
79
- }
1
+ {
2
+ "name": "@fctc/interface-logic",
3
+ "version": "5.2.8",
4
+ "types": "dist/index.d.ts",
5
+ "main": "dist/index.cjs",
6
+ "module": "dist/index.mjs",
7
+ "sideEffects": false,
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.cjs"
13
+ },
14
+ "./configs": {
15
+ "types": "./dist/configs.d.ts",
16
+ "import": "./dist/configs.mjs",
17
+ "require": "./dist/configs.cjs"
18
+ },
19
+ "./constants": {
20
+ "types": "./dist/constants.d.ts",
21
+ "import": "./dist/constants.mjs",
22
+ "require": "./dist/constants.cjs"
23
+ },
24
+ "./environment": {
25
+ "types": "./dist/environment.d.ts",
26
+ "import": "./dist/environment.mjs",
27
+ "require": "./dist/environment.cjs"
28
+ },
29
+ "./hooks": {
30
+ "types": "./dist/hooks.d.ts",
31
+ "import": "./dist/hooks.mjs",
32
+ "require": "./dist/hooks.cjs"
33
+ },
34
+ "./provider": {
35
+ "types": "./dist/provider.d.ts",
36
+ "import": "./dist/provider.mjs",
37
+ "require": "./dist/provider.cjs"
38
+ },
39
+ "./services": {
40
+ "types": "./dist/services.d.ts",
41
+ "import": "./dist/services.mjs",
42
+ "require": "./dist/services.cjs"
43
+ },
44
+ "./store": {
45
+ "types": "./dist/store.d.ts",
46
+ "import": "./dist/store.mjs",
47
+ "require": "./dist/store.cjs"
48
+ },
49
+ "./utils": {
50
+ "types": "./dist/utils.d.ts",
51
+ "import": "./dist/utils.mjs",
52
+ "require": "./dist/utils.cjs"
53
+ },
54
+ "./types": {
55
+ "types": "./dist/types.d.ts",
56
+ "import": "./dist/types.mjs",
57
+ "require": "./dist/types.cjs"
58
+ },
59
+ "./models": {
60
+ "types": "./dist/models.d.ts",
61
+ "import": "./dist/models.mjs",
62
+ "require": "./dist/models.cjs"
63
+ }
64
+ },
65
+ "files": [
66
+ "dist"
67
+ ],
68
+ "scripts": {
69
+ "build": "tsup",
70
+ "test": "jest"
71
+ },
72
+ "peerDependencies": {
73
+ "@tanstack/react-query": "^5.83.0",
74
+ "@supabase/supabase-js": "^2.90.1",
75
+ "react": "18.0.0"
76
+ },
77
+ "dependencies": {
78
+ "@reduxjs/toolkit": "^2.8.2",
79
+ "@supabase/supabase-js": "^2.90.1",
80
+ "@tanstack/react-query": "^5.83.0",
81
+ "axios": "^1.11.0",
82
+ "moment": "^2.30.1",
83
+ "react-redux": "^9.2.0"
84
+ },
85
+ "devDependencies": {
86
+ "@types/react": "^18.3.1",
87
+ "jest": "^29.7.0",
88
+ "react": "18.0.0",
89
+ "tsup": "^8.0.0",
90
+ "typescript": "^5.8.2"
91
+ },
92
+ "packageManager": "yarn@1.22.0"
93
+ }