@arquimedes.co/eureka-forms 3.0.1-refactor → 3.0.2-refactor
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/FormSteps/AYFStepMapper.js +2 -12
- package/dist/FormSteps/CBRStepMapper.js +1 -7
- package/dist/Icons/@ErkIcon.d.ts +14 -0
- package/dist/Icons/@ErkIcon.js +10 -0
- package/dist/Icons/ArrowLeftIcon.d.ts +2 -2
- package/dist/Icons/ArrowLeftIcon.js +4 -3
- package/dist/Icons/ArrowRightIcon.d.ts +2 -2
- package/dist/Icons/ArrowRightIcon.js +4 -3
- package/dist/Icons/CalendarIcon.d.ts +2 -2
- package/dist/Icons/CalendarIcon.js +4 -3
- package/dist/Icons/CheckCircleIcon.d.ts +2 -2
- package/dist/Icons/CheckCircleIcon.js +4 -3
- package/dist/Icons/CheckboxCheckedIcon.d.ts +2 -2
- package/dist/Icons/CheckboxCheckedIcon.js +4 -3
- package/dist/Icons/CheckboxUncheckedIcon.d.ts +2 -2
- package/dist/Icons/CheckboxUncheckedIcon.js +4 -3
- package/dist/Icons/ClockIcon.d.ts +2 -2
- package/dist/Icons/ClockIcon.js +4 -3
- package/dist/Icons/CloseIcon.d.ts +2 -2
- package/dist/Icons/CloseIcon.js +4 -3
- package/dist/Icons/Construction/LeakIcon.d.ts +2 -2
- package/dist/Icons/Construction/LeakIcon.js +4 -3
- package/dist/Icons/Construction/ProjectIcon.d.ts +2 -2
- package/dist/Icons/Construction/ProjectIcon.js +4 -3
- package/dist/Icons/Construction/PropertyIcon.d.ts +2 -2
- package/dist/Icons/Construction/PropertyIcon.js +5 -4
- package/dist/Icons/Construction/SpaceIcon.d.ts +2 -2
- package/dist/Icons/Construction/SpaceIcon.js +4 -3
- package/dist/Icons/DeleteIcon.d.ts +2 -2
- package/dist/Icons/DeleteIcon.js +4 -3
- package/dist/Icons/DocumentIcon.d.ts +2 -2
- package/dist/Icons/DocumentIcon.js +4 -3
- package/dist/Icons/Entities/CheckListIcon.d.ts +2 -2
- package/dist/Icons/Entities/CheckListIcon.js +4 -3
- package/dist/Icons/Entities/GenericEntityIcon.d.ts +2 -2
- package/dist/Icons/Entities/GenericEntityIcon.js +4 -3
- package/dist/Icons/Entities/HandshakeIcon.d.ts +2 -2
- package/dist/Icons/Entities/HandshakeIcon.js +4 -3
- package/dist/Icons/Entities/SupplierIcon.d.ts +2 -2
- package/dist/Icons/Entities/SupplierIcon.js +4 -3
- package/dist/Icons/ErrorIcon.d.ts +2 -2
- package/dist/Icons/ErrorIcon.js +4 -3
- package/dist/Icons/ExpandLessIcon.d.ts +2 -2
- package/dist/Icons/ExpandLessIcon.js +4 -3
- package/dist/Icons/ExpandMoreIcon.d.ts +2 -2
- package/dist/Icons/ExpandMoreIcon.js +4 -3
- package/dist/Icons/FileIcon.d.ts +2 -2
- package/dist/Icons/FileIcon.js +4 -3
- package/dist/Icons/InfoIcon.d.ts +2 -2
- package/dist/Icons/InfoIcon.js +4 -3
- package/dist/Icons/LocationIcon.d.ts +2 -2
- package/dist/Icons/LocationIcon.js +4 -3
- package/dist/Icons/PersonIcon.d.ts +2 -2
- package/dist/Icons/PersonIcon.js +5 -4
- package/dist/Icons/Ratings/DislikeIcon.d.ts +2 -2
- package/dist/Icons/Ratings/DislikeIcon.js +4 -3
- package/dist/Icons/Ratings/DissatisfiedIcon.d.ts +2 -2
- package/dist/Icons/Ratings/DissatisfiedIcon.js +4 -3
- package/dist/Icons/Ratings/LikeIcon.d.ts +2 -2
- package/dist/Icons/Ratings/LikeIcon.js +4 -3
- package/dist/Icons/Ratings/SatisfiedIcon.d.ts +2 -2
- package/dist/Icons/Ratings/SatisfiedIcon.js +4 -3
- package/dist/Icons/Ratings/StarIcon.d.ts +2 -2
- package/dist/Icons/Ratings/StarIcon.js +4 -3
- package/dist/Icons/Ratings/VeryDissatisfiedIcon.d.ts +2 -2
- package/dist/Icons/Ratings/VeryDissatisfiedIcon.js +4 -3
- package/dist/Icons/Ratings/VerySatisfiedIcon.d.ts +2 -2
- package/dist/Icons/Ratings/VerySatisfiedIcon.js +4 -3
- package/dist/Icons/WarningIcon.d.ts +2 -2
- package/dist/Icons/WarningIcon.js +4 -3
- package/dist/Shared/ErkDatePicker/ErkDatePicker.js +3 -9
- package/dist/Shared/ErkTextField/ErkTextField.js +1 -0
- package/dist/Shared/InputIcon/InputIcon.js +2 -10
- package/dist/Utils/MaterialProviders.d.ts +0 -1
- package/dist/Utils/MaterialProviders.js +0 -1
- package/dist/Widget.d.ts +1 -1
- package/dist/Widget.js +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +1 -0
- package/package.json +26 -26
- package/dist/Icons/@IconTypes.d.ts +0 -6
- package/dist/Icons/@IconTypes.js +0 -1
- package/dist/Icons/{ErkIcon.module.css → @ErkIcon.css} +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function ExpandMoreIcon(
|
|
4
|
-
|
|
2
|
+
import { useIconProps } from './@ErkIcon';
|
|
3
|
+
function ExpandMoreIcon(props) {
|
|
4
|
+
const iconProps = useIconProps(props);
|
|
5
|
+
return (_jsx("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M15.88 9.29L12 13.17 8.12 9.29a.9959.9959 0 00-1.41 0c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41-.39-.38-1.03-.39-1.42 0z" }) }));
|
|
5
6
|
}
|
|
6
7
|
export default ExpandMoreIcon;
|
package/dist/Icons/FileIcon.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IconProps } from './@
|
|
2
|
-
declare function FileIcon(
|
|
1
|
+
import { IconProps } from './@ErkIcon';
|
|
2
|
+
declare function FileIcon(props: IconProps): JSX.Element;
|
|
3
3
|
export default FileIcon;
|
package/dist/Icons/FileIcon.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function FileIcon(
|
|
4
|
-
|
|
2
|
+
import { useIconProps } from './@ErkIcon';
|
|
3
|
+
function FileIcon(props) {
|
|
4
|
+
const iconProps = useIconProps(props);
|
|
5
|
+
return (_jsx("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M14.59 2.59c-.38-.38-.89-.59-1.42-.59H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8.83c0-.53-.21-1.04-.59-1.41l-4.82-4.83zM15 18H9c-.55 0-1-.45-1-1s.45-1 1-1h6c.55 0 1 .45 1 1s-.45 1-1 1zm0-4H9c-.55 0-1-.45-1-1s.45-1 1-1h6c.55 0 1 .45 1 1s-.45 1-1 1zm-2-6V3.5L18.5 9H14c-.55 0-1-.45-1-1z" }) }));
|
|
5
6
|
}
|
|
6
7
|
export default FileIcon;
|
package/dist/Icons/InfoIcon.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IconProps } from './@
|
|
2
|
-
declare function InfoIcon(
|
|
1
|
+
import { IconProps } from './@ErkIcon';
|
|
2
|
+
declare function InfoIcon(props: IconProps): JSX.Element;
|
|
3
3
|
export default InfoIcon;
|
package/dist/Icons/InfoIcon.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function InfoIcon(
|
|
4
|
-
|
|
2
|
+
import { useIconProps } from './@ErkIcon';
|
|
3
|
+
function InfoIcon(props) {
|
|
4
|
+
const iconProps = useIconProps(props);
|
|
5
|
+
return (_jsx("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 15c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1s1 .45 1 1v4c0 .55-.45 1-1 1zm1-8h-2V7h2v2z" }) }));
|
|
5
6
|
}
|
|
6
7
|
export default InfoIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IconProps } from './@
|
|
2
|
-
declare function LocationIcon(
|
|
1
|
+
import { IconProps } from './@ErkIcon';
|
|
2
|
+
declare function LocationIcon(props: IconProps): JSX.Element;
|
|
3
3
|
export default LocationIcon;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function LocationIcon(
|
|
4
|
-
|
|
2
|
+
import { useIconProps } from './@ErkIcon';
|
|
3
|
+
function LocationIcon(props) {
|
|
4
|
+
const iconProps = useIconProps(props);
|
|
5
|
+
return (_jsx("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M12 2C8.13 2 5 5.13 5 9c0 4.17 4.42 9.92 6.24 12.11.4.48 1.13.48 1.53 0C14.58 18.92 19 13.17 19 9c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" }) }));
|
|
5
6
|
}
|
|
6
7
|
export default LocationIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IconProps } from './@
|
|
2
|
-
declare function PersonIcon(
|
|
1
|
+
import { IconProps } from './@ErkIcon';
|
|
2
|
+
declare function PersonIcon(props: IconProps): JSX.Element;
|
|
3
3
|
export default PersonIcon;
|
package/dist/Icons/PersonIcon.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { jsx as _jsx
|
|
2
|
-
import
|
|
3
|
-
function PersonIcon(
|
|
4
|
-
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useIconProps } from './@ErkIcon';
|
|
3
|
+
function PersonIcon(props) {
|
|
4
|
+
const iconProps = useIconProps(props);
|
|
5
|
+
return (_jsx("svg", { ...iconProps, version: "1.1", viewBox: "1 1 22 22", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v1c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-1c0-2.66-5.33-4-8-4z" }) }));
|
|
5
6
|
}
|
|
6
7
|
export default PersonIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IconProps } from '../@
|
|
2
|
-
declare function DislikeIcon(
|
|
1
|
+
import { IconProps } from '../@ErkIcon';
|
|
2
|
+
declare function DislikeIcon(props: IconProps): JSX.Element;
|
|
3
3
|
export default DislikeIcon;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function DislikeIcon(
|
|
4
|
-
|
|
2
|
+
import { useIconProps } from '../@ErkIcon';
|
|
3
|
+
function DislikeIcon(props) {
|
|
4
|
+
const iconProps = useIconProps(props);
|
|
5
|
+
return (_jsx("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M10.88 21.94l5.53-5.54c.37-.37.58-.88.58-1.41V5c0-1.1-.9-2-2-2H6c-.8 0-1.52.48-1.83 1.21L.91 11.82C.06 13.8 1.51 16 3.66 16h5.65l-.95 4.58c-.1.5.05 1.01.41 1.37.59.58 1.53.58 2.11-.01zM21 3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2s2-.9 2-2V5c0-1.1-.9-2-2-2z" }) }));
|
|
5
6
|
}
|
|
6
7
|
export default DislikeIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IconProps } from '../@
|
|
2
|
-
declare function DissatisfiedIcon(
|
|
1
|
+
import { IconProps } from '../@ErkIcon';
|
|
2
|
+
declare function DissatisfiedIcon(props: IconProps): JSX.Element;
|
|
3
3
|
export default DissatisfiedIcon;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function DissatisfiedIcon(
|
|
4
|
-
|
|
2
|
+
import { useIconProps } from '../@ErkIcon';
|
|
3
|
+
function DissatisfiedIcon(props) {
|
|
4
|
+
const iconProps = useIconProps(props);
|
|
5
|
+
return (_jsxs("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("circle", { cx: "15.5", cy: "9.5", r: "1.5" }), _jsx("circle", { cx: "8.5", cy: "9.5", r: "1.5" }), _jsx("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm0-3.5c.73 0 1.39.19 1.97.53.12-.14.86-.98 1.01-1.14-.85-.56-1.87-.89-2.98-.89-1.11 0-2.13.33-2.99.88.97 1.09.01.02 1.01 1.14.59-.33 1.25-.52 1.98-.52z" })] }));
|
|
5
6
|
}
|
|
6
7
|
export default DissatisfiedIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IconProps } from '../@
|
|
2
|
-
declare function LikeIcon(
|
|
1
|
+
import { IconProps } from '../@ErkIcon';
|
|
2
|
+
declare function LikeIcon(props: IconProps): JSX.Element;
|
|
3
3
|
export default LikeIcon;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function LikeIcon(
|
|
4
|
-
|
|
2
|
+
import { useIconProps } from '../@ErkIcon';
|
|
3
|
+
function LikeIcon(props) {
|
|
4
|
+
const iconProps = useIconProps(props);
|
|
5
|
+
return (_jsx("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M13.12 2.06L7.58 7.6c-.37.37-.58.88-.58 1.41V19c0 1.1.9 2 2 2h9c.8 0 1.52-.48 1.84-1.21l3.26-7.61C23.94 10.2 22.49 8 20.34 8h-5.65l.95-4.58c.1-.5-.05-1.01-.41-1.37-.59-.58-1.53-.58-2.11.01zM3 21c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2s-2 .9-2 2v8c0 1.1.9 2 2 2z" }) }));
|
|
5
6
|
}
|
|
6
7
|
export default LikeIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IconProps } from '../@
|
|
2
|
-
declare function SatisfiedIcon(
|
|
1
|
+
import { IconProps } from '../@ErkIcon';
|
|
2
|
+
declare function SatisfiedIcon(props: IconProps): JSX.Element;
|
|
3
3
|
export default SatisfiedIcon;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function SatisfiedIcon(
|
|
4
|
-
|
|
2
|
+
import { useIconProps } from '../@ErkIcon';
|
|
3
|
+
function SatisfiedIcon(props) {
|
|
4
|
+
const iconProps = useIconProps(props);
|
|
5
|
+
return (_jsxs("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("circle", { cx: "15.5", cy: "9.5", r: "1.5" }), _jsx("circle", { cx: "8.5", cy: "9.5", r: "1.5" }), _jsx("path", { d: "M12 16c-1.48 0-2.75-.81-3.45-2H6.88c.8 2.05 2.79 3.5 5.12 3.5s4.32-1.45 5.12-3.5h-1.67c-.69 1.19-1.97 2-3.45 2zm-.01-14C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" })] }));
|
|
5
6
|
}
|
|
6
7
|
export default SatisfiedIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IconProps } from '../@
|
|
2
|
-
declare function StarIcon(
|
|
1
|
+
import { IconProps } from '../@ErkIcon';
|
|
2
|
+
declare function StarIcon(props: IconProps): JSX.Element;
|
|
3
3
|
export default StarIcon;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function StarIcon(
|
|
4
|
-
|
|
2
|
+
import { useIconProps } from '../@ErkIcon';
|
|
3
|
+
function StarIcon(props) {
|
|
4
|
+
const iconProps = useIconProps(props);
|
|
5
|
+
return (_jsx("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M12 17.27l5.17 3.12c.38.23.85-.11.75-.54l-1.37-5.88 4.56-3.95c.33-.29.16-.84-.29-.88l-6.01-.51-2.35-5.54c-.17-.41-.75-.41-.92 0L9.19 8.63l-6.01.51c-.44.04-.62.59-.28.88l4.56 3.95-1.37 5.88c-.1.43.37.77.75.54L12 17.27z" }) }));
|
|
5
6
|
}
|
|
6
7
|
export default StarIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IconProps } from '../@
|
|
2
|
-
declare function VeryDissatisfiedIcon(
|
|
1
|
+
import { IconProps } from '../@ErkIcon';
|
|
2
|
+
declare function VeryDissatisfiedIcon(props: IconProps): JSX.Element;
|
|
3
3
|
export default VeryDissatisfiedIcon;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function VeryDissatisfiedIcon(
|
|
4
|
-
|
|
2
|
+
import { useIconProps } from '../@ErkIcon';
|
|
3
|
+
function VeryDissatisfiedIcon(props) {
|
|
4
|
+
const iconProps = useIconProps(props);
|
|
5
|
+
return (_jsxs("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("circle", { cx: "15.5", cy: "9.5", r: "1.5" }), _jsx("circle", { cx: "8.5", cy: "9.5", r: "1.5" }), _jsx("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm0-6c-2.33 0-4.32 1.45-5.12 3.5h1.67c.69-1.19 1.97-2 3.45-2s2.75.81 3.45 2h1.67c-.8-2.05-2.79-3.5-5.12-3.5z" })] }));
|
|
5
6
|
}
|
|
6
7
|
export default VeryDissatisfiedIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IconProps } from '../@
|
|
2
|
-
declare function VerySatisfiedIcon(
|
|
1
|
+
import { IconProps } from '../@ErkIcon';
|
|
2
|
+
declare function VerySatisfiedIcon(props: IconProps): JSX.Element;
|
|
3
3
|
export default VerySatisfiedIcon;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function VerySatisfiedIcon(
|
|
4
|
-
|
|
2
|
+
import { useIconProps } from '../@ErkIcon';
|
|
3
|
+
function VerySatisfiedIcon(props) {
|
|
4
|
+
const iconProps = useIconProps(props);
|
|
5
|
+
return (_jsxs("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("circle", { cx: "15.5", cy: "9.5", r: "1.5" }), _jsx("circle", { cx: "8.5", cy: "9.5", r: "1.5" }), _jsx("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm-5-6c.78 2.34 2.72 4 5 4s4.22-1.66 5-4H7z" })] }));
|
|
5
6
|
}
|
|
6
7
|
export default VerySatisfiedIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IconProps } from './@
|
|
2
|
-
declare function WarningIcon(
|
|
1
|
+
import { IconProps } from './@ErkIcon';
|
|
2
|
+
declare function WarningIcon(props: IconProps): JSX.Element;
|
|
3
3
|
export default WarningIcon;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function WarningIcon(
|
|
4
|
-
|
|
2
|
+
import { useIconProps } from './@ErkIcon';
|
|
3
|
+
function WarningIcon(props) {
|
|
4
|
+
const iconProps = useIconProps(props);
|
|
5
|
+
return (_jsx("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M4.47 21h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18c-.77 1.33.19 3 1.73 3zM12 14c-.55 0-1-.45-1-1v-2c0-.55.45-1 1-1s1 .45 1 1v2c0 .55-.45 1-1 1zm1 4h-2v-2h2v2z" }) }));
|
|
5
6
|
}
|
|
6
7
|
export default WarningIcon;
|
|
@@ -117,7 +117,7 @@ const StyledDay = styled(MuiPickerDay)(({ theme }) => ({
|
|
|
117
117
|
}));
|
|
118
118
|
function CustomDatePicker({ error, required, disabled, readOnly, helperText, pickTime = false, ...others }) {
|
|
119
119
|
if (pickTime) {
|
|
120
|
-
return (_jsx(StyledDateTimePicker, { ...others, disabled: disabled ?? readOnly, defaultValue: required ? new Date() : undefined, showDaysOutsideCurrentMonth: true, slotProps: {
|
|
120
|
+
return (_jsx(StyledDateTimePicker, { ampm: true, ...others, disabled: disabled ?? readOnly, defaultValue: required ? new Date() : undefined, showDaysOutsideCurrentMonth: true, slotProps: {
|
|
121
121
|
actionBar: {
|
|
122
122
|
actions: ['clear', 'accept'],
|
|
123
123
|
},
|
|
@@ -144,10 +144,7 @@ function CustomDatePicker({ error, required, disabled, readOnly, helperText, pic
|
|
|
144
144
|
placeholder: '',
|
|
145
145
|
InputProps: {
|
|
146
146
|
disabled: disabled ?? readOnly,
|
|
147
|
-
endAdornment:
|
|
148
|
-
width: 27,
|
|
149
|
-
height: 27,
|
|
150
|
-
} })),
|
|
147
|
+
endAdornment: _jsx(CalendarIcon, { fill: "#000000a0" }),
|
|
151
148
|
},
|
|
152
149
|
},
|
|
153
150
|
}, slots: {
|
|
@@ -185,10 +182,7 @@ function CustomDatePicker({ error, required, disabled, readOnly, helperText, pic
|
|
|
185
182
|
placeholder: '',
|
|
186
183
|
InputProps: {
|
|
187
184
|
disabled: disabled ?? readOnly,
|
|
188
|
-
endAdornment:
|
|
189
|
-
width: 27,
|
|
190
|
-
height: 27,
|
|
191
|
-
} })),
|
|
185
|
+
endAdornment: _jsx(CalendarIcon, { fill: "#000000a0" }),
|
|
192
186
|
},
|
|
193
187
|
},
|
|
194
188
|
}, localeText: {}, slots: {
|
|
@@ -5,6 +5,7 @@ import { useAppSelector } from '../../hooks';
|
|
|
5
5
|
export const StyledTextField = styled(MuiTextField)(({ theme, padding = '6px 12px', ...props }) => ({
|
|
6
6
|
borderRadius: 10,
|
|
7
7
|
opacity: props.disabled ? 0.5 : 1,
|
|
8
|
+
backgroundColor: theme.palette.stepBackgroundColor.default,
|
|
8
9
|
'& input, textarea': {
|
|
9
10
|
cursor: props.disabled || props.readOnly ? 'default' : 'text',
|
|
10
11
|
padding,
|
|
@@ -33,11 +33,7 @@ function InputIcon({ icon, fill, ...others }) {
|
|
|
33
33
|
width: 23,
|
|
34
34
|
}, fill: fill, ...others }));
|
|
35
35
|
case IconTypes.PERSON:
|
|
36
|
-
return
|
|
37
|
-
display: 'flex',
|
|
38
|
-
height: 23,
|
|
39
|
-
width: 23,
|
|
40
|
-
}, fill: fill, ...others }));
|
|
36
|
+
return _jsx(PersonIcon, { fill: fill, ...others });
|
|
41
37
|
case IconTypes.LEAK:
|
|
42
38
|
return (_jsx(LeakIcon, { style: {
|
|
43
39
|
display: 'flex',
|
|
@@ -70,11 +66,7 @@ function InputIcon({ icon, fill, ...others }) {
|
|
|
70
66
|
width: 24,
|
|
71
67
|
}, fill: fill, ...others }));
|
|
72
68
|
case IconTypes.CALENDAR:
|
|
73
|
-
return
|
|
74
|
-
display: 'flex',
|
|
75
|
-
height: 23,
|
|
76
|
-
width: 23,
|
|
77
|
-
}, fill: fill, ...others }));
|
|
69
|
+
return _jsx(CalendarIcon, { fill: fill, ...others });
|
|
78
70
|
case IconTypes.LOCATION:
|
|
79
71
|
return (_jsx(LocationIcon, { style: {
|
|
80
72
|
display: 'flex',
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import '../Utils/MuiClassnameSetup';
|
|
3
2
|
import { esES as DatePickersEs } from '@mui/x-date-pickers/locales';
|
|
4
3
|
import { createTheme, ThemeProvider } from '@mui/material';
|
|
5
4
|
import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFnsV3';
|
package/dist/Widget.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import './Utils/MuiClassnameSetup';
|
package/dist/Widget.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import ReactDOM from 'react-dom';
|
|
3
3
|
import App from './App/App';
|
|
4
|
+
import './Utils/MuiClassnameSetup';
|
|
4
5
|
const WIDGET_ID = document.currentScript?.getAttribute('data-id') ?? 'widget:eureka';
|
|
5
6
|
const element = document.getElementById(WIDGET_ID);
|
|
6
7
|
const props = {};
|
package/dist/main.d.ts
CHANGED
package/dist/main.js
CHANGED
|
@@ -4,6 +4,7 @@ import ReactDOM from 'react-dom/client';
|
|
|
4
4
|
import styles from './index.module.css';
|
|
5
5
|
import App from './App/App';
|
|
6
6
|
import './index.css';
|
|
7
|
+
import './Utils/MuiClassnameSetup';
|
|
7
8
|
const urlParams = new URLSearchParams(window.location.search);
|
|
8
9
|
const values = urlParams.get('data-values');
|
|
9
10
|
let dataValues = undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arquimedes.co/eureka-forms",
|
|
3
3
|
"repository": "git://github.com/Arquimede5/Eureka-Forms.git",
|
|
4
|
-
"version":"3.0.
|
|
4
|
+
"version":"3.0.2-refactor",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"watch": "tsc --noEmit --watch --project tsconfig.app.json",
|
|
7
7
|
"start": "vite",
|
|
@@ -16,24 +16,20 @@
|
|
|
16
16
|
"cypress": "DISPLAY=:0 cypress open"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@
|
|
20
|
-
"@emotion/styled": "^11.13.0",
|
|
21
|
-
"@mui/material": "^6.1.3",
|
|
22
|
-
"@mui/x-date-pickers": "^7.19.0",
|
|
23
|
-
"@reduxjs/toolkit": "^2.2.8",
|
|
19
|
+
"@reduxjs/toolkit": "^2.4.0",
|
|
24
20
|
"axios": "^1.7.7",
|
|
25
21
|
"date-fns": "^4.1.0",
|
|
26
22
|
"draft-js": "^0.11.7",
|
|
27
|
-
"i18n-iso-countries": "^7.
|
|
28
|
-
"libphonenumber-js": "^1.11.
|
|
23
|
+
"i18n-iso-countries": "^7.13.0",
|
|
24
|
+
"libphonenumber-js": "^1.11.14",
|
|
29
25
|
"logrocket": "^9.0.0",
|
|
30
26
|
"nanoid": "^5.0.7",
|
|
31
27
|
"react-draft-wysiwyg": "^1.15.0",
|
|
32
28
|
"react-google-recaptcha": "^3.1.0",
|
|
33
|
-
"react-hook-form": "^7.53.
|
|
29
|
+
"react-hook-form": "^7.53.2",
|
|
34
30
|
"react-international-phone": "^4.3.0",
|
|
35
31
|
"react-redux": "^9.1.2",
|
|
36
|
-
"typescript": "^5.
|
|
32
|
+
"typescript": "^5.7.2"
|
|
37
33
|
},
|
|
38
34
|
"eslintConfig": {},
|
|
39
35
|
"browserslist": {
|
|
@@ -50,10 +46,10 @@
|
|
|
50
46
|
},
|
|
51
47
|
"devDependencies": {
|
|
52
48
|
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
53
|
-
"@babel/preset-env": "^7.
|
|
54
|
-
"@babel/preset-react": "^7.25.
|
|
55
|
-
"@babel/preset-typescript": "^7.
|
|
56
|
-
"@faker-js/faker": "^9.0
|
|
49
|
+
"@babel/preset-env": "^7.26.0",
|
|
50
|
+
"@babel/preset-react": "^7.25.9",
|
|
51
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
52
|
+
"@faker-js/faker": "^9.2.0",
|
|
57
53
|
"@storybook/addon-coverage": "^1.0.4",
|
|
58
54
|
"@storybook/addon-essentials": "^8.3.5",
|
|
59
55
|
"@storybook/addon-interactions": "^8.3.5",
|
|
@@ -66,19 +62,19 @@
|
|
|
66
62
|
"@storybook/test": "^8.3.5",
|
|
67
63
|
"@storybook/testing-library": "^0.2.2",
|
|
68
64
|
"@testing-library/dom": "^10.4.0",
|
|
69
|
-
"@testing-library/jest-dom": "^6.
|
|
65
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
70
66
|
"@testing-library/react": "^16.0.1",
|
|
71
67
|
"@testing-library/user-event": "^14.5.2",
|
|
72
68
|
"@types/draft-js": "^0.11.18",
|
|
73
|
-
"@types/react": "^18.3.
|
|
74
|
-
"@types/react-dom": "^18.3.
|
|
69
|
+
"@types/react": "^18.3.12",
|
|
70
|
+
"@types/react-dom": "^18.3.1",
|
|
75
71
|
"@types/react-draft-wysiwyg": "^1.13.8",
|
|
76
72
|
"@types/react-google-recaptcha": "^2.1.9",
|
|
77
73
|
"@typescript-eslint/eslint-plugin": "^8.8.1",
|
|
78
74
|
"@typescript-eslint/parser": "^8.8.1",
|
|
79
|
-
"@vitejs/plugin-react-swc": "^3.7.
|
|
80
|
-
"chromatic": "^11.
|
|
81
|
-
"cypress": "^13.
|
|
75
|
+
"@vitejs/plugin-react-swc": "^3.7.2",
|
|
76
|
+
"chromatic": "^11.19.0",
|
|
77
|
+
"cypress": "^13.16.0",
|
|
82
78
|
"dotenv-webpack": "^8.1.0",
|
|
83
79
|
"eslint": "^8.57.1",
|
|
84
80
|
"eslint-config-prettier": "^9.1.0",
|
|
@@ -88,18 +84,22 @@
|
|
|
88
84
|
"eslint-plugin-storybook": "^0.9.0",
|
|
89
85
|
"identity-obj-proxy": "^3.0.0",
|
|
90
86
|
"jsdom": "^25.0.1",
|
|
91
|
-
"prettier": "3.
|
|
87
|
+
"prettier": "3.4.1",
|
|
92
88
|
"react-docgen-typescript": "^2.2.2",
|
|
93
89
|
"react-refresh": "^0.14.2",
|
|
94
|
-
"storybook": "^8.
|
|
90
|
+
"storybook": "^8.4.5",
|
|
95
91
|
"storybook-mock-date-decorator": "^2.0.6",
|
|
96
|
-
"vite": "^
|
|
97
|
-
"vite-plugin-svgr": "^4.
|
|
98
|
-
"vitest": "^2.1.
|
|
92
|
+
"vite": "^6.0.1",
|
|
93
|
+
"vite-plugin-svgr": "^4.3.0",
|
|
94
|
+
"vitest": "^2.1.6"
|
|
99
95
|
},
|
|
100
96
|
"peerDependencies": {
|
|
101
97
|
"react": "^18.x.x",
|
|
102
|
-
"react-dom": "^18.x.x"
|
|
98
|
+
"react-dom": "^18.x.x",
|
|
99
|
+
"@emotion/react": "^11.x.x",
|
|
100
|
+
"@emotion/styled": "^11.x.x",
|
|
101
|
+
"@mui/material": "^6.x.x",
|
|
102
|
+
"@mui/x-date-pickers": "^7.x.x"
|
|
103
103
|
},
|
|
104
104
|
"publishConfig": {
|
|
105
105
|
"access": "public"
|
package/dist/Icons/@IconTypes.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|