@fctc/widget-logic 1.5.7 → 1.5.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.
- package/dist/widget.d.ts +1 -1
- package/package.json +1 -1
- package/dist/config.d.mts +0 -6
- package/dist/config.mjs +0 -2
- package/dist/constants.d.mts +0 -1
- package/dist/constants.mjs +0 -2
- package/dist/environment.d.mts +0 -1
- package/dist/environment.mjs +0 -2
- package/dist/hooks.d.mts +0 -969
- package/dist/hooks.mjs +0 -717
- package/dist/icons.d.mts +0 -9
- package/dist/icons.mjs +0 -110
- package/dist/index.d.mts +0 -18
- package/dist/index.mjs +0 -7432
- package/dist/provider.d.mts +0 -1
- package/dist/provider.mjs +0 -2
- package/dist/services.d.mts +0 -1
- package/dist/services.mjs +0 -2
- package/dist/store.d.mts +0 -1
- package/dist/store.mjs +0 -2
- package/dist/types.d.mts +0 -31
- package/dist/types.mjs +0 -2
- package/dist/utils.d.mts +0 -38
- package/dist/utils.mjs +0 -242
- package/dist/widget.d.mts +0 -299
- package/dist/widget.mjs +0 -7111
package/dist/icons.d.mts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare const EyeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
2
|
-
|
|
3
|
-
declare const LoadingIcon: ({ width, height, ...props }: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
4
|
-
|
|
5
|
-
declare const CloseIcon: ({ className }: {
|
|
6
|
-
className?: string;
|
|
7
|
-
}) => JSX.Element;
|
|
8
|
-
|
|
9
|
-
export { CloseIcon, EyeIcon, LoadingIcon };
|
package/dist/icons.mjs
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
// src/icons/eye-icon.tsx
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
var EyeIcon = () => /* @__PURE__ */ jsxs(
|
|
4
|
-
"svg",
|
|
5
|
-
{
|
|
6
|
-
width: "20",
|
|
7
|
-
height: "21",
|
|
8
|
-
viewBox: "0 0 20 21",
|
|
9
|
-
fill: "none",
|
|
10
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
-
children: [
|
|
12
|
-
/* @__PURE__ */ jsx(
|
|
13
|
-
"path",
|
|
14
|
-
{
|
|
15
|
-
d: "M2.72904 13.5776C2.02076 12.6574 1.66663 12.1974 1.66663 10.8312C1.66663 9.46507 2.02076 9.00499 2.72904 8.08483C4.14326 6.24752 6.51505 4.16455 9.99996 4.16455C13.4849 4.16455 15.8567 6.24752 17.2709 8.08483C17.9792 9.00499 18.3333 9.46507 18.3333 10.8312C18.3333 12.1974 17.9792 12.6574 17.2709 13.5776C15.8567 15.4149 13.4849 17.4979 9.99996 17.4979C6.51505 17.4979 4.14326 15.4149 2.72904 13.5776Z",
|
|
16
|
-
stroke: "#ABACAE",
|
|
17
|
-
strokeWidth: "1.5"
|
|
18
|
-
}
|
|
19
|
-
),
|
|
20
|
-
/* @__PURE__ */ jsx(
|
|
21
|
-
"path",
|
|
22
|
-
{
|
|
23
|
-
d: "M12.5 10.8311C12.5 12.2118 11.3807 13.3311 10 13.3311C8.61929 13.3311 7.5 12.2118 7.5 10.8311C7.5 9.45034 8.61929 8.33105 10 8.33105C11.3807 8.33105 12.5 9.45034 12.5 10.8311Z",
|
|
24
|
-
stroke: "#ABACAE",
|
|
25
|
-
strokeWidth: "1.5"
|
|
26
|
-
}
|
|
27
|
-
)
|
|
28
|
-
]
|
|
29
|
-
}
|
|
30
|
-
);
|
|
31
|
-
|
|
32
|
-
// src/icons/loading-icon.tsx
|
|
33
|
-
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
34
|
-
var LoadingIcon = ({
|
|
35
|
-
width = 15,
|
|
36
|
-
height = 15,
|
|
37
|
-
...props
|
|
38
|
-
}) => {
|
|
39
|
-
return /* @__PURE__ */ jsx2(
|
|
40
|
-
"svg",
|
|
41
|
-
{
|
|
42
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
43
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
44
|
-
viewBox: "0 0 100 100",
|
|
45
|
-
preserveAspectRatio: "xMidYMid",
|
|
46
|
-
width,
|
|
47
|
-
height,
|
|
48
|
-
style: {
|
|
49
|
-
shapeRendering: "auto",
|
|
50
|
-
display: "block",
|
|
51
|
-
background: "transparent"
|
|
52
|
-
},
|
|
53
|
-
...props,
|
|
54
|
-
children: /* @__PURE__ */ jsxs2("g", { children: [
|
|
55
|
-
/* @__PURE__ */ jsx2(
|
|
56
|
-
"circle",
|
|
57
|
-
{
|
|
58
|
-
strokeDasharray: "141.37166941154067 49.12388980384689",
|
|
59
|
-
r: "30",
|
|
60
|
-
strokeWidth: "10",
|
|
61
|
-
stroke: "currentColor",
|
|
62
|
-
fill: "none",
|
|
63
|
-
cy: "50",
|
|
64
|
-
cx: "50",
|
|
65
|
-
children: /* @__PURE__ */ jsx2(
|
|
66
|
-
"animateTransform",
|
|
67
|
-
{
|
|
68
|
-
keyTimes: "0;1",
|
|
69
|
-
values: "0 50 50;360 50 50",
|
|
70
|
-
dur: "0.5050505050505051s",
|
|
71
|
-
repeatCount: "indefinite",
|
|
72
|
-
type: "rotate",
|
|
73
|
-
attributeName: "transform"
|
|
74
|
-
}
|
|
75
|
-
)
|
|
76
|
-
}
|
|
77
|
-
),
|
|
78
|
-
/* @__PURE__ */ jsx2("g", {})
|
|
79
|
-
] })
|
|
80
|
-
}
|
|
81
|
-
);
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
// src/icons/close-icon.tsx
|
|
85
|
-
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
86
|
-
var CloseIcon = ({ className = "" }) => {
|
|
87
|
-
return /* @__PURE__ */ jsx3(
|
|
88
|
-
"svg",
|
|
89
|
-
{
|
|
90
|
-
width: "24",
|
|
91
|
-
height: "24",
|
|
92
|
-
viewBox: "0 0 24 24",
|
|
93
|
-
fill: "none",
|
|
94
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
95
|
-
className,
|
|
96
|
-
children: /* @__PURE__ */ jsx3(
|
|
97
|
-
"path",
|
|
98
|
-
{
|
|
99
|
-
d: "M12.0001 10.7275L16.4551 6.27246L17.7277 7.54506L13.2727 12.0001L17.7277 16.4551L16.4551 17.7277L12.0001 13.2727L7.54506 17.7277L6.27246 16.4551L10.7275 12.0001L6.27246 7.54506L7.54506 6.27246L12.0001 10.7275Z",
|
|
100
|
-
fill: "#A4A4A4"
|
|
101
|
-
}
|
|
102
|
-
)
|
|
103
|
-
}
|
|
104
|
-
);
|
|
105
|
-
};
|
|
106
|
-
export {
|
|
107
|
-
CloseIcon,
|
|
108
|
-
EyeIcon,
|
|
109
|
-
LoadingIcon
|
|
110
|
-
};
|
package/dist/index.d.mts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export { ActionResultType, AppProvider, ContextProfile, Record, ViewResponse, useAppProvider, useAuth, useAuthType, useCallAction, useCallActionType, useClickOutside, useConfig, useConfigType, useDebounce, useDetail, useListData, useListDataType, useMenu, useMenuType, useProfile, useUser, useUserType, useViewV2, useViewV2Type } from './hooks.mjs';
|
|
2
|
-
export * from '@fctc/interface-logic/hooks';
|
|
3
|
-
export * from '@fctc/interface-logic/configs';
|
|
4
|
-
export { CloseIcon, EyeIcon, LoadingIcon } from './icons.mjs';
|
|
5
|
-
export { ISelctionStateProps, ITableBodyProps, ITableHeadProps, ITableProps, binaryFieldController, colorFieldController, copyLinkButtonController, dateFieldController, downLoadBinaryController, downloadFileController, durationController, floatController, floatTimeFiledController, many2manyFieldController, many2manyTagsController, many2oneButtonController, many2oneFieldController, priorityFieldController, statusDropdownController, tableBodyController, tableController, tableGroupController, tableHeadController } from './widget.mjs';
|
|
6
|
-
export * from '@fctc/interface-logic/types';
|
|
7
|
-
export { IInputFieldProps, ValuePropsType } from './types.mjs';
|
|
8
|
-
export { API_APP_URL, API_PRESCHOOL_URL, STORAGES, combineContexts, convertFieldsToArray, countSum, getDateRange, languages, mergeButtons, setStorageItemAsync, useGetRowIds, useStorageState } from './utils.mjs';
|
|
9
|
-
export * from '@fctc/interface-logic/utils';
|
|
10
|
-
export * from '@fctc/interface-logic/store';
|
|
11
|
-
export * from '@fctc/interface-logic/constants';
|
|
12
|
-
export * from '@fctc/interface-logic/environment';
|
|
13
|
-
export * from '@fctc/interface-logic/provider';
|
|
14
|
-
export * from '@fctc/interface-logic/services';
|
|
15
|
-
import '@tanstack/react-query';
|
|
16
|
-
import '@tanstack/query-core';
|
|
17
|
-
import 'react';
|
|
18
|
-
import 'moment';
|