@fctc/widget-logic 1.5.9 → 1.6.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/hooks.d.mts CHANGED
@@ -2,6 +2,7 @@ import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import * as _tanstack_query_core from '@tanstack/query-core';
3
3
  import * as react from 'react';
4
4
  import { RefObject } from 'react';
5
+ import * as react_jsx_runtime from 'react/jsx-runtime';
5
6
  export * from '@fctc/interface-logic/hooks';
6
7
 
7
8
  declare const useCallAction: () => readonly [ActionResult | undefined, ({ aid, actionType, }: {
@@ -951,7 +952,7 @@ type AppProviderType = {
951
952
  };
952
953
  declare const AppProvider: ({ children }: {
953
954
  children: React.ReactNode;
954
- }) => JSX.Element;
955
+ }) => react_jsx_runtime.JSX.Element;
955
956
  declare const useAppProvider: () => AppProviderType;
956
957
 
957
958
  declare const DEFAULT_EVENTS: readonly ["mousedown", "touchstart"];
package/dist/hooks.d.ts CHANGED
@@ -2,6 +2,7 @@ import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import * as _tanstack_query_core from '@tanstack/query-core';
3
3
  import * as react from 'react';
4
4
  import { RefObject } from 'react';
5
+ import * as react_jsx_runtime from 'react/jsx-runtime';
5
6
  export * from '@fctc/interface-logic/hooks';
6
7
 
7
8
  declare const useCallAction: () => readonly [ActionResult | undefined, ({ aid, actionType, }: {
@@ -951,7 +952,7 @@ type AppProviderType = {
951
952
  };
952
953
  declare const AppProvider: ({ children }: {
953
954
  children: React.ReactNode;
954
- }) => JSX.Element;
955
+ }) => react_jsx_runtime.JSX.Element;
955
956
  declare const useAppProvider: () => AppProviderType;
956
957
 
957
958
  declare const DEFAULT_EVENTS: readonly ["mousedown", "touchstart"];
package/dist/icons.d.mts CHANGED
@@ -1,9 +1,11 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
1
3
  declare const EyeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
2
4
 
3
- declare const LoadingIcon: ({ width, height, ...props }: React.SVGProps<SVGSVGElement>) => JSX.Element;
5
+ declare const LoadingIcon: ({ width, height, ...props }: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
4
6
 
5
7
  declare const CloseIcon: ({ className }: {
6
8
  className?: string;
7
- }) => JSX.Element;
9
+ }) => react_jsx_runtime.JSX.Element;
8
10
 
9
11
  export { CloseIcon, EyeIcon, LoadingIcon };
package/dist/icons.d.ts CHANGED
@@ -1,9 +1,11 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
1
3
  declare const EyeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
2
4
 
3
- declare const LoadingIcon: ({ width, height, ...props }: React.SVGProps<SVGSVGElement>) => JSX.Element;
5
+ declare const LoadingIcon: ({ width, height, ...props }: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
4
6
 
5
7
  declare const CloseIcon: ({ className }: {
6
8
  className?: string;
7
- }) => JSX.Element;
9
+ }) => react_jsx_runtime.JSX.Element;
8
10
 
9
11
  export { CloseIcon, EyeIcon, LoadingIcon };
package/dist/index.d.mts CHANGED
@@ -15,4 +15,5 @@ export * from '@fctc/interface-logic/services';
15
15
  import '@tanstack/react-query';
16
16
  import '@tanstack/query-core';
17
17
  import 'react';
18
+ import 'react/jsx-runtime';
18
19
  import 'moment';
package/dist/index.d.ts CHANGED
@@ -15,4 +15,5 @@ export * from '@fctc/interface-logic/services';
15
15
  import '@tanstack/react-query';
16
16
  import '@tanstack/query-core';
17
17
  import 'react';
18
+ import 'react/jsx-runtime';
18
19
  import 'moment';
package/dist/widget.d.mts CHANGED
@@ -260,7 +260,7 @@ declare const tableController: ({ data }: ITableProps) => {
260
260
  rows: any[];
261
261
  columns: any;
262
262
  onToggleColumnOptional: (item: any) => void;
263
- typeTable: "list" | "calendar" | "group" | undefined;
263
+ typeTable: "group" | "list" | "calendar" | undefined;
264
264
  };
265
265
 
266
266
  declare const tableGroupController: (props: any) => {
package/dist/widget.d.ts CHANGED
@@ -260,7 +260,7 @@ declare const tableController: ({ data }: ITableProps) => {
260
260
  rows: any[];
261
261
  columns: any;
262
262
  onToggleColumnOptional: (item: any) => void;
263
- typeTable: "list" | "calendar" | "group" | undefined;
263
+ typeTable: "group" | "list" | "calendar" | undefined;
264
264
  };
265
265
 
266
266
  declare const tableGroupController: (props: any) => {
package/package.json CHANGED
@@ -1,98 +1,96 @@
1
- {
2
- "name": "@fctc/widget-logic",
3
- "version": "1.5.9",
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
- "./hooks": {
14
- "types": "./dist/hooks.d.ts",
15
- "import": "./dist/hooks.mjs",
16
- "require": "./dist/hooks.cjs"
17
- },
18
- "./widget": {
19
- "types": "./dist/widget.d.ts",
20
- "import": "./dist/widget.mjs",
21
- "require": "./dist/widget.cjs"
22
- },
23
- "./icons": {
24
- "types": "./dist/icons.d.ts",
25
- "import": "./dist/icons.mjs",
26
- "require": "./dist/icons.cjs"
27
- },
28
- "./utils": {
29
- "types": "./dist/utils.d.ts",
30
- "import": "./dist/utils.mjs",
31
- "require": "./dist/utils.cjs"
32
- },
33
- "./store": {
34
- "types": "./dist/store.d.ts",
35
- "import": "./dist/store.mjs",
36
- "require": "./dist/store.cjs"
37
- },
38
- "./config": {
39
- "types": "./dist/config.d.ts",
40
- "import": "./dist/config.mjs",
41
- "require": "./dist/config.cjs"
42
- },
43
- "./constants": {
44
- "types": "./dist/constants.d.ts",
45
- "import": "./dist/constants.mjs",
46
- "require": "./dist/constants.cjs"
47
- },
48
- "./environment": {
49
- "types": "./dist/environment.d.ts",
50
- "import": "./dist/environment.mjs",
51
- "require": "./dist/environment.cjs"
52
- },
53
- "./provider": {
54
- "types": "./dist/provider.d.ts",
55
- "import": "./dist/provider.mjs",
56
- "require": "./dist/provider.cjs"
57
- },
58
- "./services": {
59
- "types": "./dist/services.d.ts",
60
- "import": "./dist/services.mjs",
61
- "require": "./dist/services.cjs"
62
- },
63
- "./types": {
64
- "types": "./dist/types.d.ts",
65
- "import": "./dist/types.mjs",
66
- "require": "./dist/types.cjs"
67
- }
68
- },
69
- "files": [
70
- "dist"
71
- ],
72
- "scripts": {
73
- "build": "tsup",
74
- "test": "jest"
75
- },
76
- "dependencies": {
77
- "@fctc/interface-logic": "^1.5.2",
78
- "@headlessui/react": "^2.2.6",
79
- "@tanstack/react-query": "^5.84.0",
80
- "@types/react-dom": "^19.1.7",
81
- "i18next": "^25.3.2",
82
- "i18next-browser-languagedetector": "^8.2.0",
83
- "react-dom": "^19.1.1",
84
- "react-i18next": "^15.6.1",
85
- "react-tooltip": "^5.29.1"
86
- },
87
- "devDependencies": {
88
- "@types/react": "18.0.0",
89
- "jest": "^29.7.0",
90
- "react": "18.0.0",
91
- "tsup": "^8.0.0",
92
- "typescript": "^5.8.2"
93
- },
94
- "packageManager": "yarn@1.22.0",
95
- "peerDependencies": {
96
- "@fctc/interface-logic": "^1.3.2"
97
- }
98
- }
1
+ {
2
+ "name": "@fctc/widget-logic",
3
+ "version": "1.6.1",
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
+ "./hooks": {
14
+ "types": "./dist/hooks.d.ts",
15
+ "import": "./dist/hooks.mjs",
16
+ "require": "./dist/hooks.cjs"
17
+ },
18
+ "./widget": {
19
+ "types": "./dist/widget.d.ts",
20
+ "import": "./dist/widget.mjs",
21
+ "require": "./dist/widget.cjs"
22
+ },
23
+ "./icons": {
24
+ "types": "./dist/icons.d.ts",
25
+ "import": "./dist/icons.mjs",
26
+ "require": "./dist/icons.cjs"
27
+ },
28
+ "./utils": {
29
+ "types": "./dist/utils.d.ts",
30
+ "import": "./dist/utils.mjs",
31
+ "require": "./dist/utils.cjs"
32
+ },
33
+ "./store": {
34
+ "types": "./dist/store.d.ts",
35
+ "import": "./dist/store.mjs",
36
+ "require": "./dist/store.cjs"
37
+ },
38
+ "./config": {
39
+ "types": "./dist/config.d.ts",
40
+ "import": "./dist/config.mjs",
41
+ "require": "./dist/config.cjs"
42
+ },
43
+ "./constants": {
44
+ "types": "./dist/constants.d.ts",
45
+ "import": "./dist/constants.mjs",
46
+ "require": "./dist/constants.cjs"
47
+ },
48
+ "./environment": {
49
+ "types": "./dist/environment.d.ts",
50
+ "import": "./dist/environment.mjs",
51
+ "require": "./dist/environment.cjs"
52
+ },
53
+ "./provider": {
54
+ "types": "./dist/provider.d.ts",
55
+ "import": "./dist/provider.mjs",
56
+ "require": "./dist/provider.cjs"
57
+ },
58
+ "./services": {
59
+ "types": "./dist/services.d.ts",
60
+ "import": "./dist/services.mjs",
61
+ "require": "./dist/services.cjs"
62
+ },
63
+ "./types": {
64
+ "types": "./dist/types.d.ts",
65
+ "import": "./dist/types.mjs",
66
+ "require": "./dist/types.cjs"
67
+ }
68
+ },
69
+ "files": [
70
+ "dist"
71
+ ],
72
+ "scripts": {
73
+ "build": "tsup",
74
+ "test": "jest"
75
+ },
76
+ "dependencies": {
77
+ "@fctc/interface-logic": "^1.6.8",
78
+ "@headlessui/react": "^2.2.6",
79
+ "@tanstack/react-query": "^5.84.0",
80
+ "i18next": "^25.3.2",
81
+ "i18next-browser-languagedetector": "^8.2.0",
82
+ "react-i18next": "^15.6.1",
83
+ "react-tooltip": "^5.29.1"
84
+ },
85
+ "devDependencies": {
86
+ "@types/react": "^18.3.1",
87
+ "react": "18.0.0",
88
+ "jest": "^29.7.0",
89
+ "tsup": "^8.0.0",
90
+ "typescript": "^5.8.2"
91
+ },
92
+ "packageManager": "yarn@1.22.0",
93
+ "peerDependencies": {
94
+ "@fctc/interface-logic": "^1.3.2"
95
+ }
96
+ }