math-main-components 0.0.214 → 0.0.216
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/components/Dropdown/Dropdown.stories.d.ts +1 -2
- package/dist/components/Dropdown/index.d.ts +1 -2
- package/dist/components/RedirectButton/RedirectButton.d.ts +3 -3
- package/dist/components/SelectFileCard/SelectFileCard.stories.d.ts +11 -0
- package/dist/components/SelectFileCard/index.d.ts +3 -3
- package/dist/index.cjs.js +208 -147
- package/dist/index.esm.js +208 -148
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -29,12 +29,12 @@ function styleInject(css, ref) {
|
|
29
29
|
}
|
30
30
|
|
31
31
|
var css_248z$A = "";
|
32
|
-
var styles$
|
32
|
+
var styles$A = {};
|
33
33
|
styleInject(css_248z$A);
|
34
34
|
|
35
35
|
function Slider({ cards }) {
|
36
36
|
const [selected, setSelected] = useState(0);
|
37
|
-
return (React__default.createElement("div", { className: styles$
|
37
|
+
return (React__default.createElement("div", { className: styles$A.container }, cards.map((card, index) => React__default.createElement("div", { key: index, className: [styles$A.card, selected == index ? styles$A.selected : styles$A.not_selected].join(" ") },
|
38
38
|
React__default.createElement("h1", null, card.title),
|
39
39
|
React__default.createElement("p", null, card.description)))));
|
40
40
|
}
|
@@ -9381,31 +9381,31 @@ function SvgIcon({ animate = false, toggle = false, ...props }) {
|
|
9381
9381
|
}
|
9382
9382
|
|
9383
9383
|
var css_248z$z = ".styles-module_container__PIGIl {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 7px;\n color: var(--foreground-3);\n}\n.styles-module_container__PIGIl svg {\n fill: var(--foreground-3);\n}";
|
9384
|
-
var styles$
|
9384
|
+
var styles$z = {"container":"styles-module_container__PIGIl"};
|
9385
9385
|
styleInject(css_248z$z);
|
9386
9386
|
|
9387
9387
|
function StepBack({ iconName = "arrow_back", text = "Weitere Möglichkeiten" }) {
|
9388
9388
|
return (React__default.createElement(React__default.Fragment, null,
|
9389
|
-
React__default.createElement("div", { className: styles$
|
9389
|
+
React__default.createElement("div", { className: styles$z.container },
|
9390
9390
|
React__default.createElement(SvgIcon, { iconName: iconName }),
|
9391
9391
|
text)));
|
9392
9392
|
}
|
9393
9393
|
|
9394
9394
|
var css_248z$y = ".styles-module_container__3IVfB {\n margin-bottom: 20px;\n background: var(--background-1);\n border-radius: 30px;\n transition: 0.2s ease-in-out;\n color: var(--foreground-1);\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb {\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 16px 20px;\n color: var(--foreground-3);\n background: var(--background-2);\n border-radius: 30px;\n cursor: pointer;\n user-select: none;\n -webkit-user-select: none;\n transition: 0.2s ease-in-out;\n font-family: var(--font-1);\n gap: 10px;\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb span {\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb h3 {\n margin: 0;\n font-weight: 400;\n font-size: 16px;\n user-select: none;\n -webkit-user-select: none;\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb:hover {\n filter: brightness(0.95);\n}\n.styles-module_container__3IVfB.styles-module_active__soD8R {\n box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;\n}\n.styles-module_container__3IVfB.styles-module_active__soD8R .styles-module_head__xFYQb span {\n rotate: 180deg;\n}\n.styles-module_container__3IVfB .styles-module_content__XAf02 {\n transition: all 0.3s ease-in-out;\n line-height: 1.5;\n padding: 0px 20px;\n}\n.styles-module_container__3IVfB.styles-module_not_active__JcVLz .styles-module_content__XAf02 {\n height: 0;\n max-height: 0;\n overflow: hidden;\n opacity: 0;\n}\n.styles-module_container__3IVfB.styles-module_active__soD8R .styles-module_content__XAf02 {\n max-height: auto;\n overflow: visible;\n opacity: 1;\n padding: 10px 20px;\n}";
|
9395
|
-
var styles$
|
9395
|
+
var styles$y = {"container":"styles-module_container__3IVfB","head":"styles-module_head__xFYQb","active":"styles-module_active__soD8R","content":"styles-module_content__XAf02","not_active":"styles-module_not_active__JcVLz"};
|
9396
9396
|
styleInject(css_248z$y);
|
9397
9397
|
|
9398
9398
|
function Accordeon({ title, children }) {
|
9399
9399
|
const [isActive, setActive] = useState(false);
|
9400
|
-
return (React__default.createElement("div", { className: [styles$
|
9401
|
-
React__default.createElement("div", { className: styles$
|
9400
|
+
return (React__default.createElement("div", { className: [styles$y.container, isActive ? styles$y.active : styles$y.not_active].join(" ") },
|
9401
|
+
React__default.createElement("div", { className: styles$y.head, onClick: () => setActive(!isActive) },
|
9402
9402
|
React__default.createElement(SvgIcon, { iconName: "expand_more" }),
|
9403
9403
|
React__default.createElement("h3", null, title)),
|
9404
|
-
React__default.createElement("div", { className: styles$
|
9404
|
+
React__default.createElement("div", { className: styles$y.content }, children)));
|
9405
9405
|
}
|
9406
9406
|
|
9407
9407
|
var css_248z$x = ".styles-module_container__TP0rp {\n max-width: 100%;\n}\n\n.styles-module_button__Sh-fr {\n padding: 10px 18px;\n border-radius: 40px;\n cursor: pointer;\n display: flex;\n flex-direction: row;\n gap: 10px;\n font-size: 15px;\n font-weight: 400;\n align-items: center;\n border: none;\n transition: 0.2s ease-in-out;\n font-family: \"Space Grotesk\", sans-serif;\n border: 1px solid transparent;\n}\n.styles-module_button__Sh-fr:hover {\n filter: brightness(0.9);\n}\n.styles-module_button__Sh-fr:focus {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n.styles-module_button__Sh-fr.styles-module_blue__DRdbo {\n background: var(--primary-1);\n color: white;\n}\n.styles-module_button__Sh-fr.styles-module_lightBlue__7EKfp {\n background: var(--primary-2);\n color: var(--primary-1);\n}\n.styles-module_button__Sh-fr.styles-module_red__EhImH {\n background: var(--red-1);\n color: white;\n}\n.styles-module_button__Sh-fr.styles-module_grey__kAVD1 {\n background: var(--background-1);\n color: var(--foreground-2);\n}\n.styles-module_button__Sh-fr.styles-module_onlyIcon__bNVnI {\n width: 44px;\n height: 44px;\n padding: 0;\n align-items: center;\n justify-content: center;\n}\n.styles-module_button__Sh-fr.styles-module_onlyIcon__bNVnI span {\n font-size: 22px !important;\n}";
|
9408
|
-
var styles$
|
9408
|
+
var styles$x = {"container":"styles-module_container__TP0rp","button":"styles-module_button__Sh-fr","blue":"styles-module_blue__DRdbo","lightBlue":"styles-module_lightBlue__7EKfp","red":"styles-module_red__EhImH","grey":"styles-module_grey__kAVD1","onlyIcon":"styles-module_onlyIcon__bNVnI"};
|
9409
9409
|
styleInject(css_248z$x);
|
9410
9410
|
|
9411
9411
|
function Button({ id, children, iconName, iconFill = "white", type = "blue", onClick = () => { }, ...props }) {
|
@@ -9413,25 +9413,25 @@ function Button({ id, children, iconName, iconFill = "white", type = "blue", onC
|
|
9413
9413
|
event.preventDefault();
|
9414
9414
|
onClick(event);
|
9415
9415
|
};
|
9416
|
-
return (React__default.createElement("div", { className: styles$
|
9417
|
-
React__default.createElement("button", { className: [styles$
|
9416
|
+
return (React__default.createElement("div", { className: styles$x.container },
|
9417
|
+
React__default.createElement("button", { className: [styles$x.button, styles$x[type], (children && !iconName) ? styles$x.onlyText : "", (!children && iconName) ? styles$x.onlyIcon : ""].join(" "), onClick: onClickButton, id: id, ...props },
|
9418
9418
|
children,
|
9419
9419
|
iconName && React__default.createElement(SvgIcon, { iconName: iconName }))));
|
9420
9420
|
}
|
9421
9421
|
|
9422
9422
|
var css_248z$w = ".styles-module_container__Q2wD4 {\n max-width: 100%;\n width: 350px;\n transition: all 0.2s ease-in-out;\n box-sizing: border-box;\n}\n.styles-module_container__Q2wD4.styles-module_visible__hQgjm {\n max-height: 100px;\n opacity: 1;\n}\n.styles-module_container__Q2wD4.styles-module_hidden__sO2e7 {\n overflow: hidden;\n max-height: 0;\n opacity: 0;\n}\n\n.styles-module_container__Q2wD4.styles-module_rotate__HQYfs .styles-module_button__jo0MC:hover span {\n rotate: -45deg;\n}\n\n.styles-module_button__jo0MC {\n padding: 12px 20px;\n background: linear-gradient(60deg, #0075FF, #0056b8);\n background-position-x: right;\n color: white;\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: center;\n border-radius: 14px;\n border: none;\n cursor: pointer;\n font-size: 16px;\n font-weight: 400;\n gap: 10px;\n position: relative;\n transition: all 0.5s ease-in-out;\n outline: none;\n border: 1px solid transparent;\n font-family: \"Space Grotesk\", sans-serif;\n}\n.styles-module_button__jo0MC:focus {\n box-shadow: var(--focus-shadow);\n border: var(--focus-border);\n}\n.styles-module_button__jo0MC span {\n transition: 0.1s ease-in-out;\n}\n.styles-module_button__jo0MC:hover {\n background-position-x: left;\n}\n.styles-module_button__jo0MC.styles-module_secondary__YBbOj {\n background: var(--background-2);\n color: var(--primary-1);\n border: 1px solid var(--primary-1);\n}\n.styles-module_button__jo0MC.styles-module_secondary__YBbOj svg {\n fill: var(--primary-1);\n}\n\n@media (max-width: 450px) {\n .styles-module_button__jo0MC {\n font-size: 14px;\n }\n}";
|
9423
|
-
var styles$
|
9423
|
+
var styles$w = {"container":"styles-module_container__Q2wD4","visible":"styles-module_visible__hQgjm","hidden":"styles-module_hidden__sO2e7","rotate":"styles-module_rotate__HQYfs","button":"styles-module_button__jo0MC","secondary":"styles-module_secondary__YBbOj"};
|
9424
9424
|
styleInject(css_248z$w);
|
9425
9425
|
|
9426
9426
|
function Button2({ id, children, type = "submit", theme = "primary", iconName = "arrow_forward", isVisible = true, style, onClick }) {
|
9427
|
-
return (React__default.createElement("div", { className: [styles$
|
9428
|
-
React__default.createElement("button", { type: type, className: `${styles$
|
9427
|
+
return (React__default.createElement("div", { className: [styles$w.container, isVisible ? styles$w.visible : styles$w.hidden, ["arrow_forward"].includes(iconName) ? styles$w.rotate : null].join(" "), style: style },
|
9428
|
+
React__default.createElement("button", { type: type, className: `${styles$w.button} ${styles$w[theme]}`, onClick: onClick, id: id },
|
9429
9429
|
children,
|
9430
9430
|
React__default.createElement(SvgIcon, { iconName: iconName }))));
|
9431
9431
|
}
|
9432
9432
|
|
9433
9433
|
var css_248z$v = ".styles-module_card__bOd85 {\n background: var(--background-2);\n border: 1px solid var(--border-2);\n border-radius: 18px;\n transition: 0.2s ease;\n padding: 18px 14px;\n box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2509803922);\n cursor: pointer;\n text-align: center;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 10px;\n padding-top: 30px;\n}\n.styles-module_card__bOd85 span {\n color: var(--foreground-3);\n}\n.styles-module_card__bOd85:hover {\n transform: scale(1.01);\n box-shadow: none;\n background: none;\n}\n.styles-module_card__bOd85 h2 {\n margin-top: 0;\n color: var(--foreground-3);\n font-weight: 400;\n font-size: 18px;\n}";
|
9434
|
-
var styles$
|
9434
|
+
var styles$v = {"card":"styles-module_card__bOd85"};
|
9435
9435
|
styleInject(css_248z$v);
|
9436
9436
|
|
9437
9437
|
function CardButton({ id, children, iconName, onClick, ...props }) {
|
@@ -9440,27 +9440,27 @@ function CardButton({ id, children, iconName, onClick, ...props }) {
|
|
9440
9440
|
if (onClick)
|
9441
9441
|
onClick(event);
|
9442
9442
|
}
|
9443
|
-
return (React__default.createElement("div", { className: styles$
|
9443
|
+
return (React__default.createElement("div", { className: styles$v.card, onClick: onClickCard, id: id, ...props },
|
9444
9444
|
React__default.createElement(SvgIcon, { iconName: iconName, size: "32px" }),
|
9445
9445
|
React__default.createElement("h2", null, children)));
|
9446
9446
|
}
|
9447
9447
|
|
9448
9448
|
var css_248z$u = ".styles-module_container__gCCnD {\n margin-bottom: 20px;\n color: var(--foreground-3);\n width: 100%;\n}\n.styles-module_container__gCCnD [type=checkbox] {\n position: relative;\n left: 15px;\n top: -4px;\n z-index: 0;\n appearance: none;\n -webkit-appearance: none;\n cursor: pointer;\n margin-left: -3.5px;\n}\n.styles-module_container__gCCnD [type=checkbox] + label {\n position: absolute;\n cursor: pointer;\n user-select: none;\n -webkit-user-select: none;\n}\n.styles-module_container__gCCnD [type=checkbox] + label::before {\n width: 17px;\n height: 17px;\n border-radius: 5px;\n border: 2px solid var(--border-2);\n display: block;\n content: \"\";\n float: left;\n margin-right: 8px;\n z-index: 5;\n position: relative;\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__gCCnD [type=checkbox] ~ span {\n position: absolute;\n opacity: 1;\n color: var(--background-2);\n z-index: 100;\n user-select: none;\n pointer-events: none;\n -webkit-user-select: none;\n font-weight: 500;\n}\n.styles-module_container__gCCnD [type=checkbox]:checked + label::before {\n background-color: var(--primary-1);\n border-color: var(--primary-1);\n}\n.styles-module_container__gCCnD [type=checkbox]:hover:not(:checked) + label::before {\n background-color: var(--background-4);\n border-color: var(--background-2);\n}";
|
9449
|
-
var styles$
|
9449
|
+
var styles$u = {"container":"styles-module_container__gCCnD"};
|
9450
9450
|
styleInject(css_248z$u);
|
9451
9451
|
|
9452
9452
|
function Checkbox({ id, name, checked, defaultChecked = false, onInput = () => { }, children, ...props }) {
|
9453
|
-
return (React__default.createElement("div", { className: styles$
|
9453
|
+
return (React__default.createElement("div", { className: styles$u.container, ...props },
|
9454
9454
|
React__default.createElement("input", { type: "checkbox", onInput: onInput, name: name, checked: checked, defaultChecked: defaultChecked, id: id || name }),
|
9455
9455
|
React__default.createElement("label", { htmlFor: id || name }, children),
|
9456
9456
|
React__default.createElement(SvgIcon, { iconName: "done", size: "21px" })));
|
9457
9457
|
}
|
9458
9458
|
|
9459
9459
|
var css_248z$t = ".styles-module_container__OqDNA {\n display: flex;\n flex-direction: row;\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI:nth-child(1) {\n background: var(--background-1);\n border-color: var(--background-1);\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI:nth-child(2) {\n background: var(--background-2);\n border-color: var(--background-2);\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI:nth-child(3) {\n background: var(--background-4);\n border-color: var(--background-4);\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI:first-child {\n border-top-left-radius: 20px;\n border-bottom-left-radius: 20px;\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI:last-child {\n border-top-right-radius: 20px;\n border-bottom-right-radius: 20px;\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI {\n border: 1px solid transparent;\n padding: 11px 18px;\n font-size: 14px;\n cursor: pointer;\n transition: 0.2s ease-in-out;\n user-select: none;\n -webkit-user-select: none;\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI.styles-module_selected__AXIA- {\n background: var(--background-4);\n border-color: var(--primary-1);\n color: var(--primary-1);\n}";
|
9460
|
-
var styles$
|
9460
|
+
var styles$t = {"container":"styles-module_container__OqDNA","item":"styles-module_item__1SMCI","selected":"styles-module_selected__AXIA-"};
|
9461
9461
|
styleInject(css_248z$t);
|
9462
9462
|
|
9463
|
-
const ChooseRoleItem = ({ item, isSelected, onUpdate, }) => (React__default.createElement("div", { className: [styles$
|
9463
|
+
const ChooseRoleItem = ({ item, isSelected, onUpdate, }) => (React__default.createElement("div", { className: [styles$t.item, isSelected ? styles$t.selected : styles$t.not_selected].join(" "), onClick: () => onUpdate(item.value) }, item.title));
|
9464
9464
|
function ChooseRole({ roles, defaultSelected, readOnly = false, onChange = () => { } }) {
|
9465
9465
|
const [selected, setSelected] = useState(defaultSelected);
|
9466
9466
|
useEffect(() => setSelected(defaultSelected), [defaultSelected]);
|
@@ -9470,11 +9470,11 @@ function ChooseRole({ roles, defaultSelected, readOnly = false, onChange = () =>
|
|
9470
9470
|
setSelected(newRole);
|
9471
9471
|
onChange(newRole);
|
9472
9472
|
}
|
9473
|
-
return (React__default.createElement("div", { className: styles$
|
9473
|
+
return (React__default.createElement("div", { className: styles$t.container }, roles.map(item => React__default.createElement(ChooseRoleItem, { key: item.value, item: item, onUpdate: onUpdate, isSelected: selected === item.value }))));
|
9474
9474
|
}
|
9475
9475
|
|
9476
9476
|
var css_248z$s = ".styles-module_container__yV6C8 {\n display: flex;\n flex-direction: row;\n gap: 10px;\n align-items: center;\n cursor: pointer;\n padding: 8px 14px;\n border-radius: 30px;\n transition: 0.2s ease-in-out;\n margin-bottom: 20px;\n color: var(--foreground-1);\n}\n.styles-module_container__yV6C8:hover {\n color: var(--primary-1);\n}";
|
9477
|
-
var styles$
|
9477
|
+
var styles$s = {"container":"styles-module_container__yV6C8"};
|
9478
9478
|
styleInject(css_248z$s);
|
9479
9479
|
|
9480
9480
|
function CopyCode({ code, onCopy = () => { }, ...props }) {
|
@@ -9482,14 +9482,14 @@ function CopyCode({ code, onCopy = () => { }, ...props }) {
|
|
9482
9482
|
navigator.clipboard.writeText(code);
|
9483
9483
|
onCopy();
|
9484
9484
|
};
|
9485
|
-
return (React__default.createElement("div", { className: styles$
|
9485
|
+
return (React__default.createElement("div", { className: styles$s.container, onClick: onClick, ...props },
|
9486
9486
|
React__default.createElement(SvgIcon, { iconName: "content_copy" }),
|
9487
9487
|
React__default.createElement("span", null, code),
|
9488
9488
|
React__default.createElement("input", { type: "hidden", name: "code", value: code })));
|
9489
9489
|
}
|
9490
9490
|
|
9491
9491
|
var css_248z$r = ".styles-module_container__9-1MH {\n position: fixed;\n height: 100vh;\n width: 100vw;\n background: var(--background-2);\n backdrop-filter: blur(10px) brightness(70%);\n left: 0;\n top: 0;\n z-index: 10000;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.styles-module_container__9-1MH.styles-module_active__AXoyo {\n opacity: 1;\n}\n.styles-module_container__9-1MH.styles-module_disabled__sELpy {\n pointer-events: none;\n opacity: 0;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M {\n background: var(--background-1);\n border-radius: 20px;\n padding: 35px;\n width: 450px;\n display: flex;\n flex-direction: column;\n gap: 20px;\n max-width: 100%;\n box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;\n cursor: auto;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M h1 {\n font-size: 26px;\n font-weight: 500;\n line-height: 1.5;\n margin-top: 20px;\n margin-bottom: 20px;\n text-align: center;\n color: var(--foreground-1);\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_cancel_button__KhwLS {\n border-radius: 12px;\n color: var(--foreground-1);\n background: var(--background-2);\n padding: 14px 0px;\n border: none;\n outline: none;\n cursor: pointer;\n transition: 0.2s ease-in-out;\n font-size: 16px;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_cancel_button__KhwLS:hover {\n filter: brightness(0.95);\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_submit_button__xLzux {\n border-radius: 12px;\n color: var(--background-1);\n background: var(--primary-1);\n padding: 14px 0px;\n border: none;\n outline: none;\n cursor: pointer;\n transition: 0.2s ease-in-out;\n font-size: 16px;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_submit_button__xLzux:hover {\n background: var(--primary-1);\n}";
|
9492
|
-
var styles$
|
9492
|
+
var styles$r = {"container":"styles-module_container__9-1MH","active":"styles-module_active__AXoyo","disabled":"styles-module_disabled__sELpy","dialog_window":"styles-module_dialog_window__0Bn2M","cancel_button":"styles-module_cancel_button__KhwLS","submit_button":"styles-module_submit_button__xLzux"};
|
9493
9493
|
styleInject(css_248z$r);
|
9494
9494
|
|
9495
9495
|
function Dialog({ data, enabled, text, onClose, onSubmit = () => { }, children }) {
|
@@ -9501,34 +9501,33 @@ function Dialog({ data, enabled, text, onClose, onSubmit = () => { }, children }
|
|
9501
9501
|
onClose(event, data);
|
9502
9502
|
}
|
9503
9503
|
}
|
9504
|
-
return (React__default.createElement("div", { id: "dialog-backdrop", className: `${styles$
|
9505
|
-
React__default.createElement("div", { className: styles$
|
9504
|
+
return (React__default.createElement("div", { id: "dialog-backdrop", className: `${styles$r.container} ${enabled ? styles$r.active : styles$r.disabled}`, onClick: onClick },
|
9505
|
+
React__default.createElement("div", { className: styles$r.dialog_window },
|
9506
9506
|
children,
|
9507
9507
|
text && React__default.createElement("h1", null, text),
|
9508
|
-
React__default.createElement("button", { className: styles$
|
9509
|
-
React__default.createElement("button", { className: styles$
|
9508
|
+
React__default.createElement("button", { className: styles$r.cancel_button, id: "cancel-button", onClick: onClick }, "Abbrechen"),
|
9509
|
+
React__default.createElement("button", { className: styles$r.submit_button, id: "submit-button", onClick: (event) => onSubmit(event, data) }, "Best\u00E4tigen"))));
|
9510
9510
|
}
|
9511
9511
|
|
9512
|
-
var css_248z$q = ".styles-module_container__hGVir {\n display: flex;\n align-items: center;\n gap:
|
9513
|
-
var styles$
|
9512
|
+
var css_248z$q = ".styles-module_container__hGVir {\n width: 100%;\n}\n\n.styles-module_wrapper__HkVIU {\n display: flex;\n align-items: center;\n gap: 6px;\n border-radius: 18px;\n transition: 0.2s ease-in-out;\n padding-left: 4px;\n background: var(--background-1);\n border: 1px solid var(--border-1);\n margin-bottom: 20px;\n font-family: var(--font-1);\n border: 1px solid var(--border-1);\n padding: 0px 14px;\n gap: 10px;\n display: flex;\n align-items: center;\n border-radius: 12px;\n cursor: pointer;\n background: var(--background-1);\n transition: 0.2s ease-in-out;\n outline: none;\n text-indent: 1px;\n text-overflow: \"\";\n}\n.styles-module_wrapper__HkVIU .styles-module_select__nSHFF {\n background: none;\n font-size: 16px;\n min-width: 64px;\n height: 100%;\n font-family: var(--font-1);\n user-select: none;\n border: none;\n outline: none;\n height: 44px;\n cursor: pointer;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.styles-module_wrapper__HkVIU:hover {\n border-color: var(--primary-2);\n}\n.styles-module_wrapper__HkVIU:focus-within {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n background: var(--background-2);\n}";
|
9513
|
+
var styles$q = {"container":"styles-module_container__hGVir","wrapper":"styles-module_wrapper__HkVIU","select":"styles-module_select__nSHFF"};
|
9514
9514
|
styleInject(css_248z$q);
|
9515
9515
|
|
9516
|
-
const Dropdown = ({ options = [], unit = "",
|
9517
|
-
|
9518
|
-
|
9519
|
-
|
9520
|
-
|
9521
|
-
|
9522
|
-
|
9523
|
-
options.map((option, index) => (React__default.createElement("option", { key: index, value: option.value }, option.label))))));
|
9516
|
+
const Dropdown = ({ options = [], unit = "", ...props }) => {
|
9517
|
+
return (React__default.createElement("div", { className: styles$q.container },
|
9518
|
+
React__default.createElement("div", { className: styles$q.wrapper },
|
9519
|
+
React__default.createElement(SvgIcon, { iconName: "expand_more" }),
|
9520
|
+
React__default.createElement("select", { className: styles$q.select, ...props },
|
9521
|
+
React__default.createElement("option", { value: "none" }, "Ausw\u00E4hlen"),
|
9522
|
+
options.map((option, index) => (React__default.createElement("option", { key: index, value: option.value }, option.label)))))));
|
9524
9523
|
};
|
9525
9524
|
|
9526
9525
|
var css_248z$p = ".styles-module_card__hT9fw {\n display: flex;\n align-items: center;\n flex-direction: column;\n gap: 20px;\n padding: 100px 0px;\n font-family: \"Space Grotesk\", sans-serif;\n}\n.styles-module_card__hT9fw h1 {\n margin: 0;\n font-size: 22px;\n font-weight: 500;\n}\n.styles-module_card__hT9fw p {\n margin: 0;\n font-size: 16px;\n}";
|
9527
|
-
var styles$
|
9526
|
+
var styles$p = {"card":"styles-module_card__hT9fw"};
|
9528
9527
|
styleInject(css_248z$p);
|
9529
9528
|
|
9530
9529
|
function EmptyCard({ title = "Keine Daten", subtitle = "Es sind keine Daten vorhanden.", iconName = "manage_search", button, onClick }) {
|
9531
|
-
return (React__default.createElement("div", { className: styles$
|
9530
|
+
return (React__default.createElement("div", { className: styles$p.card },
|
9532
9531
|
React__default.createElement(SvgIcon, { size: "60px", iconName: iconName }),
|
9533
9532
|
React__default.createElement("h1", null, title),
|
9534
9533
|
React__default.createElement("p", null, subtitle),
|
@@ -9536,17 +9535,17 @@ function EmptyCard({ title = "Keine Daten", subtitle = "Es sind keine Daten vorh
|
|
9536
9535
|
}
|
9537
9536
|
|
9538
9537
|
var css_248z$o = ".styles-module_container__9wYEm {\n margin-bottom: 30px;\n width: 100%;\n font-family: var(--font-1);\n}\n.styles-module_container__9wYEm h1,\n.styles-module_container__9wYEm h2,\n.styles-module_container__9wYEm h3,\n.styles-module_container__9wYEm h4,\n.styles-module_container__9wYEm h5 {\n margin: 0;\n font-weight: 500;\n color: var(--foreground-1);\n}\n.styles-module_container__9wYEm h3 {\n margin-top: 5px;\n font-weight: 400;\n}";
|
9539
|
-
var styles$
|
9538
|
+
var styles$o = {"container":"styles-module_container__9wYEm"};
|
9540
9539
|
styleInject(css_248z$o);
|
9541
9540
|
|
9542
9541
|
function FormText({ title, value, style }) {
|
9543
|
-
return (React__default.createElement("div", { className: styles$
|
9542
|
+
return (React__default.createElement("div", { className: styles$o.container, style: style },
|
9544
9543
|
React__default.createElement("h5", null, title),
|
9545
9544
|
React__default.createElement("h3", null, value)));
|
9546
9545
|
}
|
9547
9546
|
|
9548
9547
|
var css_248z$n = ".styles-module_container__C99XV {\n margin-right: 8px;\n}\n.styles-module_container__C99XV .styles-module_button__pGYkF {\n background: none;\n padding: none;\n border: none;\n width: 40px;\n height: 40px;\n transition: 0.2s;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 20px;\n}\n.styles-module_container__C99XV .styles-module_button__pGYkF:hover {\n background: var(--background-2);\n}\n.styles-module_container__C99XV .styles-module_button__pGYkF span {\n color: var(--foreground-1) !important;\n}";
|
9549
|
-
var styles$
|
9548
|
+
var styles$n = {"container":"styles-module_container__C99XV","button":"styles-module_button__pGYkF"};
|
9550
9549
|
styleInject(css_248z$n);
|
9551
9550
|
|
9552
9551
|
function ForwardButton({ onClick = () => { } }) {
|
@@ -9554,8 +9553,8 @@ function ForwardButton({ onClick = () => { } }) {
|
|
9554
9553
|
event.preventDefault();
|
9555
9554
|
onClick(event);
|
9556
9555
|
}
|
9557
|
-
return (React__default.createElement("div", { className: styles$
|
9558
|
-
React__default.createElement("button", { onClick: onClickButton, className: styles$
|
9556
|
+
return (React__default.createElement("div", { className: styles$n.container },
|
9557
|
+
React__default.createElement("button", { onClick: onClickButton, className: styles$n.button },
|
9559
9558
|
React__default.createElement(SvgIcon, { iconName: "arrow_back" }))));
|
9560
9559
|
}
|
9561
9560
|
|
@@ -9564,7 +9563,7 @@ function Gap({ size }) {
|
|
9564
9563
|
}
|
9565
9564
|
|
9566
9565
|
var css_248z$m = ".styles-module_container__Jr7LQ {\n display: flex;\n width: 100%;\n margin-bottom: 20px;\n}\n\n.styles-module_input__v-hUz {\n padding: 14px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n flex: 1;\n min-height: 50px;\n line-height: 1.7;\n background: var(--background-1);\n color: var(--foreground-1);\n font-family: var(--font-2);\n}\n.styles-module_input__v-hUz:focus, .styles-module_input__v-hUz:active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n.styles-module_input__v-hUz.styles-module_not_available__6xu3Y, .styles-module_input__v-hUz:invalid {\n border: var(--invalid-border);\n box-shadow: var(--invalid-shadow);\n}\n\n/* animated title */\n.styles-module_container__Jr7LQ {\n position: relative;\n}\n\n.styles-module_label__SSsD3 {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n font-family: var(--font-1);\n}\n\n.styles-module_label_text__EOAq5 {\n position: absolute;\n top: 20px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__v-hUz.styles-module_with_title__HWcCH::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__v-hUz.styles-module_with_title__HWcCH:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__v-hUz:focus + .styles-module_label__SSsD3 .styles-module_label_text__EOAq5,\n.styles-module_input__v-hUz.styles-module_valid__6geu9 + .styles-module_label__SSsD3 .styles-module_label_text__EOAq5 {\n transform: translateY(-50%);\n left: 15px;\n font-size: 14px;\n top: 0;\n background: var(--background-2);\n color: var(--primary-1);\n}\n\n.styles-module_input__v-hUz.styles-module_valid__6geu9 + .styles-module_label__SSsD3 .styles-module_label_text__EOAq5 {\n color: var(--foreground-3);\n}";
|
9567
|
-
var styles$
|
9566
|
+
var styles$m = {"container":"styles-module_container__Jr7LQ","input":"styles-module_input__v-hUz","not_available":"styles-module_not_available__6xu3Y","label":"styles-module_label__SSsD3","label_text":"styles-module_label_text__EOAq5","with_title":"styles-module_with_title__HWcCH","valid":"styles-module_valid__6geu9"};
|
9568
9567
|
styleInject(css_248z$m);
|
9569
9568
|
|
9570
9569
|
function InputArea({ id, title, name, placeholder = "", defaultValue = "", autoFocus = false, width = "100%", height = "100px", available = true, onInput }) {
|
@@ -9574,35 +9573,35 @@ function InputArea({ id, title, name, placeholder = "", defaultValue = "", autoF
|
|
9574
9573
|
element.focus();
|
9575
9574
|
}, [autoFocus]);
|
9576
9575
|
return (React__default.createElement(React__default.Fragment, null,
|
9577
|
-
React__default.createElement("div", { className: styles$
|
9578
|
-
React__default.createElement("textarea", { className: `${styles$
|
9576
|
+
React__default.createElement("div", { className: styles$m.container, style: { width } },
|
9577
|
+
React__default.createElement("textarea", { className: `${styles$m.input} ${title != undefined ? styles$m.with_title : styles$m.without_title} ${value.length > 0 || defaultValue.length > 0 ? styles$m.valid : styles$m.not_valid} ${available ? styles$m.available : styles$m.not_available}`, name: name, id: id, placeholder: placeholder, ref: inputElement, defaultValue: defaultValue, style: { minHeight: height, maxHeight: height }, onInput: (event) => {
|
9579
9578
|
setValue(event.target.value);
|
9580
9579
|
if (onInput)
|
9581
9580
|
onInput(event);
|
9582
9581
|
} }),
|
9583
|
-
React__default.createElement("label", { htmlFor: "text", className: styles$
|
9584
|
-
React__default.createElement("span", { className: styles$
|
9582
|
+
React__default.createElement("label", { htmlFor: "text", className: styles$m.label },
|
9583
|
+
React__default.createElement("span", { className: styles$m.label_text }, title)))));
|
9585
9584
|
}
|
9586
9585
|
|
9587
9586
|
var css_248z$l = ".styles-module_input__-GKhx {\n padding: 14px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n background: var(--background-1);\n color: var(--foreground-1);\n}\n.styles-module_input__-GKhx:focus, .styles-module_input__-GKhx:active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n.styles-module_input__-GKhx.styles-module_not_available__XD1kR, .styles-module_input__-GKhx:invalid {\n border: var(--invalid-border);\n box-shadow: var(--invalid-shadow);\n}\n\n/* animated title */\n.styles-module_container__--4rV {\n position: relative;\n display: flex;\n flex-direction: column;\n margin-bottom: 20px;\n max-width: 100%;\n}\n\n.styles-module_label__mGzwP {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n font-family: var(--font-1);\n}\n\n.styles-module_label_text__d0eMb {\n position: absolute;\n bottom: 16px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__-GKhx.styles-module_with_title__CGOEs::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__-GKhx.styles-module_with_title__CGOEs:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__-GKhx:focus + .styles-module_label__mGzwP .styles-module_label_text__d0eMb,\n.styles-module_input__-GKhx.styles-module_valid__uj8g- + .styles-module_label__mGzwP .styles-module_label_text__d0eMb {\n transform: translateY(-150%);\n left: 15px;\n font-size: 14px;\n background: var(--background-2);\n color: #0063d4;\n}\n\n.styles-module_input__-GKhx.styles-module_valid__uj8g- + .styles-module_label__mGzwP .styles-module_label_text__d0eMb {\n color: var(--foreground-3);\n}";
|
9588
|
-
var styles$
|
9587
|
+
var styles$l = {"input":"styles-module_input__-GKhx","not_available":"styles-module_not_available__XD1kR","container":"styles-module_container__--4rV","label":"styles-module_label__mGzwP","label_text":"styles-module_label_text__d0eMb","with_title":"styles-module_with_title__CGOEs","valid":"styles-module_valid__uj8g-"};
|
9589
9588
|
styleInject(css_248z$l);
|
9590
9589
|
|
9591
9590
|
function InputMail({ id, placeholder = "E-Mail-Adresse", title = "E-Mail-Adresse", name = "email", width = "100%", available = true, defaultValue = "", onInput = () => { }, ...props }) {
|
9592
9591
|
const [value, setValue] = useState(defaultValue);
|
9593
9592
|
useEffect(() => setValue(defaultValue), [defaultValue]);
|
9594
9593
|
return (React__default.createElement(React__default.Fragment, null,
|
9595
|
-
React__default.createElement("div", { className: styles$
|
9596
|
-
React__default.createElement("input", { className: `${styles$
|
9594
|
+
React__default.createElement("div", { className: styles$l.container, style: { width: width } },
|
9595
|
+
React__default.createElement("input", { className: `${styles$l.input} ${title != undefined ? styles$l.with_title : styles$l.without_title} ${value.length > 0 ? styles$l.valid : styles$l.not_valid} ${available ? styles$l.available : styles$l.not_available}`, name: name, placeholder: placeholder, type: "email", id: id, onInput: (event) => {
|
9597
9596
|
setValue(event.target.value);
|
9598
9597
|
onInput(event);
|
9599
9598
|
}, ...props }),
|
9600
|
-
React__default.createElement("label", { htmlFor: "text", className: styles$
|
9601
|
-
React__default.createElement("span", { className: styles$
|
9599
|
+
React__default.createElement("label", { htmlFor: "text", className: styles$l.label },
|
9600
|
+
React__default.createElement("span", { className: styles$l.label_text }, title)))));
|
9602
9601
|
}
|
9603
9602
|
|
9604
9603
|
var css_248z$k = ".styles-module_container__IXTeq {\n display: flex;\n flex-direction: row;\n gap: 20px;\n margin-bottom: 20px;\n max-width: 100%;\n}\n\n.styles-module_input__flMT5 {\n padding: 14px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n flex: 1;\n background: var(--background-1);\n color: var(--foreground-1);\n}\n.styles-module_input__flMT5:focus, .styles-module_input__flMT5:active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n\n/* animated title */\n.styles-module_form__chEvQ {\n position: relative;\n flex: 1;\n display: flex;\n}\n\n.styles-module_label__hflX9 {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n font-family: var(--font-1);\n}\n\n.styles-module_label_text__oXgFI {\n position: absolute;\n bottom: 16px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__flMT5.styles-module_with_title__ubN0L::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__flMT5.styles-module_with_title__ubN0L:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__flMT5:focus + .styles-module_label__hflX9 .styles-module_label_text__oXgFI,\n.styles-module_input__flMT5.styles-module_valid__76xYu + .styles-module_label__hflX9 .styles-module_label_text__oXgFI {\n transform: translateY(-150%);\n left: 15px;\n font-size: 14px;\n background: var(--background-2);\n color: var(--primary-1);\n}\n\n.styles-module_input__flMT5.styles-module_valid__76xYu + .styles-module_label__hflX9 .styles-module_label_text__oXgFI {\n color: var(--foreground-3);\n}";
|
9605
|
-
var styles$
|
9604
|
+
var styles$k = {"container":"styles-module_container__IXTeq","input":"styles-module_input__flMT5","form":"styles-module_form__chEvQ","label":"styles-module_label__hflX9","label_text":"styles-module_label_text__oXgFI","with_title":"styles-module_with_title__ubN0L","valid":"styles-module_valid__76xYu"};
|
9606
9605
|
styleInject(css_248z$k);
|
9607
9606
|
|
9608
9607
|
function InputNames({ width = "100%", placeholder = { firstName: "", lastName: "" }, title = { firstName: "Vorname", lastName: "Nachname" }, defaultValue = { firstName: "", lastName: "" }, onInput = (name, event) => { }, onInputFirstName = (event) => { }, onInputLastName = (event) => { }, }) {
|
@@ -9618,19 +9617,19 @@ function InputNames({ width = "100%", placeholder = { firstName: "", lastName: "
|
|
9618
9617
|
onInputLastName(event);
|
9619
9618
|
onInput("lastName", event);
|
9620
9619
|
}
|
9621
|
-
return (React__default.createElement("div", { className: styles$
|
9622
|
-
React__default.createElement("div", { className: styles$
|
9623
|
-
React__default.createElement("input", { className: `${styles$
|
9624
|
-
React__default.createElement("label", { htmlFor: "text", className: styles$
|
9625
|
-
React__default.createElement("span", { className: styles$
|
9626
|
-
React__default.createElement("div", { className: styles$
|
9627
|
-
React__default.createElement("input", { className: `${styles$
|
9628
|
-
React__default.createElement("label", { htmlFor: "text", className: styles$
|
9629
|
-
React__default.createElement("span", { className: styles$
|
9620
|
+
return (React__default.createElement("div", { className: styles$k.container, style: { width: width } },
|
9621
|
+
React__default.createElement("div", { className: styles$k.form },
|
9622
|
+
React__default.createElement("input", { className: `${styles$k.input} ${title.firstName != undefined ? styles$k.with_title : styles$k.without_title} ${firstName.length > 0 ? styles$k.valid : styles$k.not_valid}`, name: "firstName", type: "name", style: { width: width != "100%" ? "100px" : width }, placeholder: placeholder.firstName, defaultValue: defaultValue.firstName, onInput: onInput1 }),
|
9623
|
+
React__default.createElement("label", { htmlFor: "text", className: styles$k.label },
|
9624
|
+
React__default.createElement("span", { className: styles$k.label_text }, title.firstName))),
|
9625
|
+
React__default.createElement("div", { className: styles$k.form },
|
9626
|
+
React__default.createElement("input", { className: `${styles$k.input} ${title.lastName != undefined ? styles$k.with_title : styles$k.without_title} ${lastName.length > 0 ? styles$k.valid : styles$k.not_valid}`, name: "lastName", type: "name", style: { width: width != "100%" ? "100px" : width }, placeholder: placeholder.lastName, defaultValue: defaultValue.lastName, onInput: onInput2 }),
|
9627
|
+
React__default.createElement("label", { htmlFor: "text", className: styles$k.label },
|
9628
|
+
React__default.createElement("span", { className: styles$k.label_text }, title.lastName)))));
|
9630
9629
|
}
|
9631
9630
|
|
9632
9631
|
var css_248z$j = ".styles-module_container__Xk2HY {\n display: flex;\n width: 100%;\n margin-bottom: 20px;\n max-width: 100%;\n}\n\n.styles-module_input__ReFFR {\n padding: 14px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n flex: 1;\n width: 100%;\n background: var(--background-1);\n color: var(--foreground-1);\n /* Chrome, Safari, Edge, Opera */\n /* Firefox */\n}\n.styles-module_input__ReFFR:focus, .styles-module_input__ReFFR:active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n.styles-module_input__ReFFR.styles-module_not_available__mZ5-1, .styles-module_input__ReFFR:invalid {\n border: var(--invalid-border);\n box-shadow: var(--invalid-shadow);\n}\n.styles-module_input__ReFFR::-webkit-outer-spin-button, .styles-module_input__ReFFR::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n.styles-module_input__ReFFR[type=number] {\n -moz-appearance: textfield;\n appearance: textfield;\n}\n\n/* animated title */\n.styles-module_container__Xk2HY {\n position: relative;\n}\n\n.styles-module_label__4n2Ai {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n font-family: var(--font-1);\n}\n\n.styles-module_label_text__NsKJU {\n position: absolute;\n bottom: 16px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__ReFFR.styles-module_with_title__vMb1v::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__ReFFR.styles-module_with_title__vMb1v:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__ReFFR:focus + .styles-module_label__4n2Ai .styles-module_label_text__NsKJU,\n.styles-module_input__ReFFR.styles-module_valid__NyP0J + .styles-module_label__4n2Ai .styles-module_label_text__NsKJU {\n transform: translateY(-150%);\n left: 15px;\n font-size: 14px;\n background: var(--background-2);\n color: var(--primary-1);\n}\n\n.styles-module_input__ReFFR.styles-module_valid__NyP0J + .styles-module_label__4n2Ai .styles-module_label_text__NsKJU {\n color: var(--foreground-3);\n}";
|
9633
|
-
var styles$
|
9632
|
+
var styles$j = {"container":"styles-module_container__Xk2HY","input":"styles-module_input__ReFFR","not_available":"styles-module_not_available__mZ5-1","label":"styles-module_label__4n2Ai","label_text":"styles-module_label_text__NsKJU","with_title":"styles-module_with_title__vMb1v","valid":"styles-module_valid__NyP0J"};
|
9634
9633
|
styleInject(css_248z$j);
|
9635
9634
|
|
9636
9635
|
function InputNumber({ title, name, placeholder = "", defaultValue = "", autoFocus = false, type = "number", width = "100%", available = true, onInput = (event) => { } }) {
|
@@ -9640,36 +9639,36 @@ function InputNumber({ title, name, placeholder = "", defaultValue = "", autoFoc
|
|
9640
9639
|
element.focus();
|
9641
9640
|
}, [autoFocus]);
|
9642
9641
|
return (React__default.createElement(React__default.Fragment, null,
|
9643
|
-
React__default.createElement("div", { className: styles$
|
9644
|
-
React__default.createElement("input", { className: `${styles$
|
9642
|
+
React__default.createElement("div", { className: styles$j.container, style: { width } },
|
9643
|
+
React__default.createElement("input", { className: `${styles$j.input} ${title != undefined ? styles$j.with_title : styles$j.without_title} ${value.length > 0 || defaultValue.length > 0 ? styles$j.valid : styles$j.not_valid} ${available ? styles$j.available : styles$j.not_available}`, name: name, type: type, placeholder: placeholder, ref: inputElement, defaultValue: defaultValue, onInput: (event) => {
|
9645
9644
|
setValue(event.target.value);
|
9646
9645
|
onInput(event);
|
9647
9646
|
} }),
|
9648
|
-
React__default.createElement("label", { htmlFor: "text", className: styles$
|
9649
|
-
React__default.createElement("span", { className: styles$
|
9647
|
+
React__default.createElement("label", { htmlFor: "text", className: styles$j.label },
|
9648
|
+
React__default.createElement("span", { className: styles$j.label_text }, title)))));
|
9650
9649
|
}
|
9651
9650
|
|
9652
9651
|
var css_248z$i = "@keyframes styles-module_show__OLTZH {\n from {\n max-heigth: 0px;\n height: 0px;\n }\n}\n@keyframes styles-module_hide__LAgaY {\n from {\n max-heigth: 0px;\n height: 0px;\n }\n to {\n max-height: fit-content;\n }\n}\n.styles-module_container__UdmOO {\n display: flex;\n flex-direction: column;\n gap: 6px;\n margin-bottom: 30px;\n max-width: 100%;\n border: 1px solid var(--border-2);\n border-radius: 12px;\n transition: all 0.2s ease-in-out;\n box-sizing: border-box;\n}\n.styles-module_container__UdmOO .styles-module_forgot_label__EeN6a {\n font-size: 12px;\n color: var(--foreground-3);\n}\n.styles-module_container__UdmOO.styles-module_visible__QROqh {\n max-height: 100px;\n opacity: 1;\n}\n.styles-module_container__UdmOO.styles-module_hidden__hDKDO {\n overflow: hidden;\n max-height: 0;\n opacity: 0;\n}\n.styles-module_container__UdmOO:focus-within {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n\n.styles-module_input__sC2fP {\n padding: 14px 20px;\n font-size: 16px;\n border-top-left-radius: 12px;\n border-bottom-left-radius: 12px;\n border-right: none;\n outline: none;\n border: none;\n transition: all 0.2s ease;\n flex: 1;\n background: var(--background-1);\n color: var(--foreground-1);\n}\n\n.styles-module_hideButton__83mRI {\n outline: none;\n display: flex;\n align-items: center;\n padding: 10px;\n border: none;\n border-left: none;\n background: none;\n border-top-right-radius: 12px;\n border-bottom-right-radius: 12px;\n cursor: pointer;\n}\n.styles-module_hideButton__83mRI span {\n color: var(--foreground-3);\n}\n\n/* animated title */\n.styles-module_form__m866x {\n position: relative;\n display: flex;\n}\n\n.styles-module_label__8PuaL {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n font-family: var(--font-1);\n}\n\n.styles-module_label_text__FwJ1F {\n position: absolute;\n bottom: 16px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__sC2fP.styles-module_with_title__dftgq::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__sC2fP.styles-module_with_title__dftgq:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__sC2fP:focus + .styles-module_label__8PuaL .styles-module_label_text__FwJ1F,\n.styles-module_input__sC2fP.styles-module_valid__SM7w5 + .styles-module_label__8PuaL .styles-module_label_text__FwJ1F {\n transform: translateY(-150%);\n left: 15px;\n font-size: 14px;\n background: var(--background-2);\n color: var(--primary-1);\n}\n\n.styles-module_input__sC2fP.styles-module_valid__SM7w5 + .styles-module_label__8PuaL .styles-module_label_text__FwJ1F {\n color: var(--foreground-3);\n}";
|
9653
|
-
var styles$
|
9652
|
+
var styles$i = {"container":"styles-module_container__UdmOO","forgot_label":"styles-module_forgot_label__EeN6a","visible":"styles-module_visible__QROqh","hidden":"styles-module_hidden__hDKDO","input":"styles-module_input__sC2fP","hideButton":"styles-module_hideButton__83mRI","form":"styles-module_form__m866x","label":"styles-module_label__8PuaL","label_text":"styles-module_label_text__FwJ1F","with_title":"styles-module_with_title__dftgq","valid":"styles-module_valid__SM7w5","show":"styles-module_show__OLTZH","hide":"styles-module_hide__LAgaY"};
|
9654
9653
|
styleInject(css_248z$i);
|
9655
9654
|
|
9656
9655
|
function InputPassword({ id, placeholder = "", title = "Passwort", name = 'password', isVisible = true, width = "100%", minLength = 8, autoComplete, forgotLink = false }) {
|
9657
9656
|
const [value, setValue] = useState("");
|
9658
9657
|
const [hidePassword, setHidePassword] = useState(true);
|
9659
9658
|
return (React__default.createElement(React__default.Fragment, null,
|
9660
|
-
React__default.createElement("div", { className: `${styles$
|
9661
|
-
React__default.createElement("div", { className: styles$
|
9662
|
-
React__default.createElement("input", { className: `${styles$
|
9663
|
-
React__default.createElement("label", { htmlFor: "text", className: styles$
|
9664
|
-
React__default.createElement("span", { className: styles$
|
9665
|
-
React__default.createElement("button", { title: hidePassword ? "Passwort anzeigen" : "Passwort verstecken", className: styles$
|
9659
|
+
React__default.createElement("div", { className: `${styles$i.container} ${isVisible ? styles$i.visible : styles$i.hidden}`, style: { width: width } },
|
9660
|
+
React__default.createElement("div", { className: styles$i.form },
|
9661
|
+
React__default.createElement("input", { className: `${styles$i.input} ${title != undefined ? styles$i.with_title : styles$i.without_title} ${value.length > 0 ? styles$i.valid : styles$i.not_valid}`, name: name, id: id, minLength: minLength, autoComplete: autoComplete, placeholder: placeholder, type: hidePassword ? "password" : "text", onInput: (event) => setValue(event.target.value) }),
|
9662
|
+
React__default.createElement("label", { htmlFor: "text", className: styles$i.label },
|
9663
|
+
React__default.createElement("span", { className: styles$i.label_text }, title)),
|
9664
|
+
React__default.createElement("button", { title: hidePassword ? "Passwort anzeigen" : "Passwort verstecken", className: styles$i.hideButton, onClick: () => setHidePassword(!hidePassword), type: "button" },
|
9666
9665
|
React__default.createElement(SvgIcon, { iconName: hidePassword ? "visibility" : "visibility_off" }))),
|
9667
9666
|
forgotLink &&
|
9668
|
-
React__default.createElement("div", { className: styles$
|
9667
|
+
React__default.createElement("div", { className: styles$i.forgot_container }, forgotLink))));
|
9669
9668
|
}
|
9670
9669
|
|
9671
9670
|
var css_248z$h = ".styles-module_container__--NO0 {\n display: flex;\n flex-direction: column;\n gap: 10px;\n justify-content: center;\n align-items: center;\n user-select: none;\n margin-bottom: 20px;\n}\n.styles-module_container__--NO0 button {\n background: transparent;\n color: var(--primary-1);\n border: none;\n font-size: 14px;\n cursor: pointer;\n}\n\n.styles-module_input_wrapper__LPIk1 {\n display: flex;\n flex-direction: row;\n justify-content: center;\n gap: 10px;\n}\n\n.styles-module_input__84v36 {\n padding: 14px 10px;\n width: 30px;\n border-radius: 12px;\n border: 1px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n text-align: center;\n font-size: 18px;\n font-weight: 400;\n background: var(--background-1);\n color: var(--foreground-1);\n font-family: var(--font-1);\n}\n.styles-module_input__84v36:focus, .styles-module_input__84v36:active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n\n.styles-module_input__84v36:nth-child(3) {\n margin-right: 25px;\n}\n\n.styles-module_input__84v36::placeholder,\n.styles-module_input__84v36:-ms-input-placeholder,\n.styles-module_input__84v36::-ms-input-placeholder {\n letter-spacing: 0px !important;\n}\n\n@media (max-width: 450px) {\n .styles-module_input__84v36 {\n width: 25px;\n font-size: 16px;\n }\n .styles-module_input_wrapper__LPIk1 {\n gap: 7px;\n }\n .styles-module_input__84v36:nth-child(3) {\n margin-right: 12px;\n }\n}";
|
9672
|
-
var styles$
|
9671
|
+
var styles$h = {"container":"styles-module_container__--NO0","input_wrapper":"styles-module_input_wrapper__LPIk1","input":"styles-module_input__84v36"};
|
9673
9672
|
styleInject(css_248z$h);
|
9674
9673
|
|
9675
9674
|
function InputPin({ name, length, onFinished = () => { } }) {
|
@@ -9736,19 +9735,19 @@ function InputPin({ name, length, onFinished = () => { } }) {
|
|
9736
9735
|
ref.current.value = "";
|
9737
9736
|
});
|
9738
9737
|
}
|
9739
|
-
return (React__default.createElement("div", { className: styles$
|
9738
|
+
return (React__default.createElement("div", { className: styles$h.container },
|
9740
9739
|
React__default.createElement("input", { name: name, type: "hidden", defaultValue: Object.values(state).join("") }),
|
9741
|
-
React__default.createElement("div", { className: styles$
|
9740
|
+
React__default.createElement("div", { className: styles$h.input_wrapper }, [...Array(length)].map((value, i) => {
|
9742
9741
|
if (i == 0) {
|
9743
|
-
return React__default.createElement("input", { key: i, pattern: "[0-9]", value: state[i] ? state[i] : "", ref: fieldRefs.current[i], className: styles$
|
9742
|
+
return React__default.createElement("input", { key: i, pattern: "[0-9]", value: state[i] ? state[i] : "", ref: fieldRefs.current[i], className: styles$h.input, type: "text", onKeyUp: (event) => onKeyUp(event, i), onInput: (event) => onChange(event, i) });
|
9744
9743
|
}
|
9745
|
-
return React__default.createElement("input", { key: i, pattern: "[0-9]", value: state[i] ? state[i] : "", ref: fieldRefs.current[i], className: styles$
|
9744
|
+
return React__default.createElement("input", { key: i, pattern: "[0-9]", value: state[i] ? state[i] : "", ref: fieldRefs.current[i], className: styles$h.input, type: "text", onKeyUp: (event) => onKeyUp(event, i), onInput: (event) => onChange(event, i) });
|
9746
9745
|
})),
|
9747
9746
|
React__default.createElement("button", { type: "button", onClick: resetValues }, "Zur\u00FCcksetzen")));
|
9748
9747
|
}
|
9749
9748
|
|
9750
9749
|
var css_248z$g = ".styles-module_container__zcXGF {\n display: flex;\n width: 100%;\n margin-bottom: 20px;\n max-width: 100%;\n}\n\n.styles-module_input__Tpth8 {\n padding: 14px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n flex: 1;\n background: var(--background-1);\n color: var(--foreground-1);\n}\n.styles-module_input__Tpth8:focus, .styles-module_input__Tpth8:active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n.styles-module_input__Tpth8.styles-module_not_available__CRXjB, .styles-module_input__Tpth8:invalid {\n border: var(--invalid-border);\n box-shadow: var(--invalid-shadow);\n}\n\n/* animated title */\n.styles-module_container__zcXGF {\n position: relative;\n}\n\n.styles-module_label__appHO {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n font-family: var(--font-1);\n}\n\n.styles-module_label_text__-sKjY {\n position: absolute;\n bottom: 16px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__Tpth8.styles-module_with_title__L3eGj::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__Tpth8.styles-module_with_title__L3eGj:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__Tpth8:focus + .styles-module_label__appHO .styles-module_label_text__-sKjY,\n.styles-module_input__Tpth8.styles-module_valid__zWcOz + .styles-module_label__appHO .styles-module_label_text__-sKjY {\n transform: translateY(-150%);\n left: 15px;\n font-size: 14px;\n background: var(--background-2);\n color: var(--primary-1);\n}\n\n.styles-module_input__Tpth8.styles-module_valid__zWcOz + .styles-module_label__appHO .styles-module_label_text__-sKjY {\n color: var(--foreground-3);\n}";
|
9751
|
-
var styles$
|
9750
|
+
var styles$g = {"container":"styles-module_container__zcXGF","input":"styles-module_input__Tpth8","not_available":"styles-module_not_available__CRXjB","label":"styles-module_label__appHO","label_text":"styles-module_label_text__-sKjY","with_title":"styles-module_with_title__L3eGj","valid":"styles-module_valid__zWcOz"};
|
9752
9751
|
styleInject(css_248z$g);
|
9753
9752
|
|
9754
9753
|
function InputText({ id, title, name, placeholder = "", defaultValue = "", autoFocus = false, type = "text", width = "100%", marginBottom, autoComplete = "off", available = true, onInput = () => { } }) {
|
@@ -9759,17 +9758,17 @@ function InputText({ id, title, name, placeholder = "", defaultValue = "", autoF
|
|
9759
9758
|
element.focus();
|
9760
9759
|
}, [autoFocus]);
|
9761
9760
|
return (React__default.createElement(React__default.Fragment, null,
|
9762
|
-
React__default.createElement("div", { className: styles$
|
9763
|
-
React__default.createElement("input", { className: `${styles$
|
9761
|
+
React__default.createElement("div", { className: styles$g.container, style: { width, marginBottom } },
|
9762
|
+
React__default.createElement("input", { className: `${styles$g.input} ${title != undefined ? styles$g.with_title : styles$g.without_title} ${value.length > 0 || defaultValue.length > 0 ? styles$g.valid : styles$g.not_valid} ${available ? styles$g.available : styles$g.not_available}`, name: name, id: id, type: type, placeholder: placeholder, autoComplete: autoComplete, ref: inputElement, defaultValue: defaultValue, onInput: (event) => {
|
9764
9763
|
setValue(event.target.value);
|
9765
9764
|
onInput(event);
|
9766
9765
|
} }),
|
9767
|
-
React__default.createElement("label", { htmlFor: "text", className: styles$
|
9768
|
-
React__default.createElement("span", { className: styles$
|
9766
|
+
React__default.createElement("label", { htmlFor: "text", className: styles$g.label },
|
9767
|
+
React__default.createElement("span", { className: styles$g.label_text }, title)))));
|
9769
9768
|
}
|
9770
9769
|
|
9771
9770
|
var css_248z$f = ".styles-module_container__kkDKN {\n display: flex;\n align-items: center;\n gap: 10px;\n font-family: \"Playfair\", serif;\n border-radius: 18px;\n transition: 0.2s ease-in-out;\n padding-left: 4px;\n background: var(--background-1);\n padding: 6px;\n border: 1px solid var(--border-1);\n margin-bottom: 20px;\n font-family: var(--font-1);\n}\n\n.styles-module_select_container__nqgUF {\n border: 1px solid var(--border-1);\n padding: 0px 20px;\n gap: 10px;\n display: flex;\n align-items: center;\n border-radius: 12px;\n cursor: pointer;\n background: var(--background-1);\n transition: 0.2s ease-in-out;\n height: 55px;\n}\n.styles-module_select_container__nqgUF:hover {\n border-color: var(--primary-2);\n}\n.styles-module_select_container__nqgUF:focus-within {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n background: var(--background-2);\n}\n.styles-module_select_container__nqgUF select {\n border: none;\n outline: none;\n background: none;\n cursor: pointer;\n font-size: 16px;\n min-width: 64px;\n height: 100%;\n font-family: var(--font-1);\n}\n\n.styles-module_input__pUgcS::-webkit-outer-spin-button,\n.styles-module_input__pUgcS::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n.styles-module_input_container__oRJ75 {\n padding: 0px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1px solid transparent;\n transition: 0.2s ease;\n flex: 1;\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 6px;\n background: var(--background-1);\n border-color: var(--border-1);\n height: 55px;\n}\n.styles-module_input_container__oRJ75:hover {\n border-color: var(--primary-2);\n}\n.styles-module_input_container__oRJ75 .styles-module_unit_label__bLQWy {\n font-size: 16px;\n text-align: right;\n}\n.styles-module_input_container__oRJ75:focus-within {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n background: var(--background-2);\n}\n.styles-module_input_container__oRJ75 .styles-module_input__pUgcS {\n width: 0px;\n min-width: 64px;\n outline: none;\n border: none;\n -moz-appearance: textfield;\n appearance: textfield;\n font-size: 16px;\n text-align: right;\n background: transparent;\n font-family: var(--font-1);\n}\n.styles-module_input_container__oRJ75 .styles-module_input__pUgcS[type=number] {\n cursor: pointer;\n flex: 1;\n}\n.styles-module_input_container__oRJ75 .styles-module_input__pUgcS[type=range] {\n width: 100%;\n}\n.styles-module_input_container__oRJ75 .styles-module_input__pUgcS[type=number]:disabled {\n background: transparent;\n color: var(--foreground-3);\n}";
|
9772
|
-
var styles$
|
9771
|
+
var styles$f = {"container":"styles-module_container__kkDKN","select_container":"styles-module_select_container__nqgUF","input":"styles-module_input__pUgcS","input_container":"styles-module_input_container__oRJ75","unit_label":"styles-module_unit_label__bLQWy"};
|
9773
9772
|
styleInject(css_248z$f);
|
9774
9773
|
|
9775
9774
|
const NumberDropdown = ({ options = [], unit = "", onChangeDropdown = () => { }, onChangeInput = () => { }, ...props }) => {
|
@@ -9779,27 +9778,27 @@ const NumberDropdown = ({ options = [], unit = "", onChangeDropdown = () => { },
|
|
9779
9778
|
const onInputChange = (event) => {
|
9780
9779
|
onChangeInput(Number(event.target.value));
|
9781
9780
|
};
|
9782
|
-
return (React__default.createElement("div", { className: styles$
|
9783
|
-
React__default.createElement("div", { className: styles$
|
9784
|
-
React__default.createElement("select", { className: styles$
|
9781
|
+
return (React__default.createElement("div", { className: styles$f.container },
|
9782
|
+
React__default.createElement("div", { className: styles$f.select_container },
|
9783
|
+
React__default.createElement("select", { className: styles$f.select, onChange: onDropdownChange },
|
9785
9784
|
React__default.createElement("option", { value: "none" }, "Ausw\u00E4hlen"),
|
9786
9785
|
options.map((option, index) => (React__default.createElement("option", { key: index, value: option.value }, option.label))))),
|
9787
|
-
React__default.createElement("div", { className: styles$
|
9788
|
-
React__default.createElement("input", { className: styles$
|
9789
|
-
React__default.createElement("span", { className: styles$
|
9786
|
+
React__default.createElement("div", { className: styles$f.input_container },
|
9787
|
+
React__default.createElement("input", { className: styles$f.input, type: "number", onInput: onInputChange, ...props }),
|
9788
|
+
React__default.createElement("span", { className: styles$f.unit_label }, unit))));
|
9790
9789
|
};
|
9791
9790
|
|
9792
9791
|
var css_248z$e = ".styles-module_container__c0sGu {\n width: 44px;\n height: 44px;\n display: flex;\n align-items: center;\n background: var(--background-1);\n justify-content: center;\n cursor: pointer;\n border-radius: 12px;\n transition: 0.2s ease-in-out;\n border: 2px solid transparent;\n}\n.styles-module_container__c0sGu:hover {\n background: var(--background-2);\n}\n.styles-module_container__c0sGu.styles-module_active__naxTC {\n background: var(--primary-2);\n}\n.styles-module_container__c0sGu.styles-module_active__naxTC span {\n color: var(--primary-1);\n}\n.styles-module_container__c0sGu span {\n user-select: none;\n font-weight: 300;\n}";
|
9793
|
-
var styles$
|
9792
|
+
var styles$e = {"container":"styles-module_container__c0sGu","active":"styles-module_active__naxTC"};
|
9794
9793
|
styleInject(css_248z$e);
|
9795
9794
|
|
9796
9795
|
const ToggleBox = ({ defaultActive = false, activeIcon = "lock", inactiveIcon = "lock", onSwitch = () => { } }) => {
|
9797
|
-
return (React__default.createElement("div", { className: [styles$
|
9796
|
+
return (React__default.createElement("div", { className: [styles$e.container, defaultActive ? styles$e.active : styles$e.not_active].join(" "), onClick: () => onSwitch(!defaultActive) },
|
9798
9797
|
React__default.createElement(SvgIcon, { iconName: defaultActive ? activeIcon : inactiveIcon })));
|
9799
9798
|
};
|
9800
9799
|
|
9801
9800
|
var css_248z$d = ".styles-module_container__arGnP {\n display: flex;\n align-items: center;\n gap: 20px;\n font-family: var(--font-1);\n border-radius: 12px;\n transition: 0.2s ease-in-out;\n padding-left: 4px;\n}\n.styles-module_container__arGnP.styles-module_active__ngR3w {\n background: var(--primary-2);\n}\n.styles-module_container__arGnP.styles-module_not_active__85hg4 .styles-module_unit_label__KXhNy {\n color: var(--foreground-3);\n}\n.styles-module_container__arGnP.styles-module_number__tQq8W {\n flex-direction: row;\n}\n.styles-module_container__arGnP.styles-module_range__sCNik {\n flex-direction: column;\n gap: 0px;\n align-items: flex-start;\n}\n\n.styles-module_label_container__hGRIY {\n display: flex;\n flex-direction: row;\n gap: 0px;\n align-items: center;\n}\n.styles-module_label_container__hGRIY.styles-module_range__sCNik {\n width: 100%;\n flex: 1;\n padding-top: 10px;\n}\n\n.styles-module_input__j1DTo::-webkit-outer-spin-button,\n.styles-module_input__j1DTo::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n.styles-module_value_container__cqrEX {\n display: flex;\n gap: 6px;\n}\n.styles-module_value_container__cqrEX .styles-module_label__FP5Pa {\n font-family: var(--font-1);\n user-select: none;\n -webkit-user-select: none;\n font-size: 18px;\n}\n.styles-module_value_container__cqrEX .styles-module_label__FP5Pa,\n.styles-module_value_container__cqrEX .styles-module_value__sLYHK {\n transition: 0.2s ease-in-out;\n}\n.styles-module_value_container__cqrEX.styles-module_range__sCNik {\n flex: 1;\n align-items: flex-end;\n padding-right: 20px;\n}\n.styles-module_value_container__cqrEX.styles-module_range__sCNik .styles-module_label__FP5Pa {\n font-size: 20px;\n}\n.styles-module_value_container__cqrEX.styles-module_range__sCNik .styles-module_value__sLYHK {\n font-size: 20px;\n}\n.styles-module_value_container__cqrEX.styles-module_number__tQq8W .styles-module_label__FP5Pa {\n font-size: 20px;\n}\n.styles-module_value_container__cqrEX.styles-module_number__tQq8W .styles-module_value__sLYHK {\n max-height: 0;\n overflow: hidden;\n}\n\n.styles-module_input_container__IgbK5 {\n padding: 14px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1px solid transparent;\n transition: 0.2s ease;\n flex: 1;\n display: flex;\n flex-direction: row;\n gap: 6px;\n}\n.styles-module_input_container__IgbK5 .styles-module_unit_label__KXhNy {\n font-size: 20px;\n text-align: right;\n}\n.styles-module_input_container__IgbK5.styles-module_number__tQq8W {\n border-color: var(--primary-2);\n background: var(--background-1);\n cursor: pointer;\n}\n.styles-module_input_container__IgbK5.styles-module_number__tQq8W:focus-within {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n.styles-module_input_container__IgbK5.styles-module_range__sCNik {\n padding: 10px;\n width: calc(100% - 20px);\n}\n.styles-module_input_container__IgbK5.styles-module_range__sCNik .styles-module_unit_label__KXhNy {\n max-width: 0;\n overflow: hidden;\n}\n.styles-module_input_container__IgbK5 .styles-module_input__j1DTo {\n width: 0px;\n min-width: 64px;\n outline: none;\n border: none;\n -moz-appearance: textfield;\n appearance: textfield;\n font-size: 16px;\n text-align: right;\n background: transparent;\n font-family: var(--font-1);\n}\n.styles-module_input_container__IgbK5 .styles-module_input__j1DTo[type=number] {\n cursor: pointer;\n flex: 1;\n}\n.styles-module_input_container__IgbK5 .styles-module_input__j1DTo[type=range] {\n width: 100%;\n}\n.styles-module_input_container__IgbK5 .styles-module_input__j1DTo[type=number]:disabled {\n background: transparent;\n color: var(--foreground-3);\n}\n.styles-module_input_container__IgbK5 .styles-module_input__j1DTo[type=number].styles-module_not_available__M038X,\n.styles-module_input_container__IgbK5 .styles-module_input__j1DTo[type=number]:invalid {\n color: #e50000;\n}\n\n.styles-module_label__FP5Pa {\n font-family: var(--font-1);\n user-select: none;\n -webkit-user-select: none;\n cursor: pointer;\n}";
|
9802
|
-
var styles$
|
9801
|
+
var styles$d = {"container":"styles-module_container__arGnP","active":"styles-module_active__ngR3w","not_active":"styles-module_not_active__85hg4","unit_label":"styles-module_unit_label__KXhNy","number":"styles-module_number__tQq8W","range":"styles-module_range__sCNik","label_container":"styles-module_label_container__hGRIY","input":"styles-module_input__j1DTo","value_container":"styles-module_value_container__cqrEX","label":"styles-module_label__FP5Pa","value":"styles-module_value__sLYHK","input_container":"styles-module_input_container__IgbK5","not_available":"styles-module_not_available__M038X"};
|
9803
9802
|
styleInject(css_248z$d);
|
9804
9803
|
|
9805
9804
|
function NumberField({ placeholder = "", type = "number", active = false, onChangeActive = () => { }, enableLocked = false, locked, onChangeLocked = () => { }, title = "Zahl", unit = "cm", name, defaultValue = 1, onUpdate = () => { }, disabled, min = 0, max = 10, validate = () => true, ...props }) {
|
@@ -9812,34 +9811,34 @@ function NumberField({ placeholder = "", type = "number", active = false, onChan
|
|
9812
9811
|
onUpdate(value);
|
9813
9812
|
}
|
9814
9813
|
};
|
9815
|
-
return (React__default.createElement("div", { className: [styles$
|
9816
|
-
React__default.createElement("div", { className: [styles$
|
9814
|
+
return (React__default.createElement("div", { className: [styles$d.container, active ? styles$d.active : styles$d.not_active, styles$d[type]].join(" ") },
|
9815
|
+
React__default.createElement("div", { className: [styles$d.label_container, styles$d[type]].join(" ") },
|
9817
9816
|
React__default.createElement(ToggleBox, { activeIcon: 'check', inactiveIcon: 'add', defaultActive: active, onSwitch: (active) => onChangeActive(active) }),
|
9818
9817
|
enableLocked &&
|
9819
9818
|
React__default.createElement(ToggleBox, { activeIcon: 'lock', inactiveIcon: 'lock_open', defaultActive: locked, onSwitch: (locked) => onChangeLocked(locked) }),
|
9820
|
-
React__default.createElement("div", { className: [styles$
|
9821
|
-
React__default.createElement("span", { className: styles$
|
9822
|
-
React__default.createElement("span", { className: styles$
|
9823
|
-
React__default.createElement("div", { className: [styles$
|
9824
|
-
React__default.createElement("input", { className: `${styles$
|
9825
|
-
React__default.createElement("span", { className: styles$
|
9819
|
+
React__default.createElement("div", { className: [styles$d.value_container, styles$d[type]].join(" ") },
|
9820
|
+
React__default.createElement("span", { className: styles$d.label }, title),
|
9821
|
+
React__default.createElement("span", { className: styles$d.value }, `${value} ${unit}`))),
|
9822
|
+
React__default.createElement("div", { className: [styles$d.input_container, styles$d[type]].join(" ") },
|
9823
|
+
React__default.createElement("input", { className: `${styles$d.input} ${title != undefined ? styles$d.with_title : styles$d.without_title} ${String(value).length > 0 ? styles$d.valid : styles$d.not_valid} `, name: name, placeholder: placeholder, type: type, onInput: onInput, disabled: disabled, value: value, max: max, min: min, ...props }),
|
9824
|
+
React__default.createElement("span", { className: styles$d.unit_label }, unit))));
|
9826
9825
|
}
|
9827
9826
|
|
9828
9827
|
var css_248z$c = ".styles-module_box__Z0iod {\n background: var(--background-2);\n width: 400px;\n max-width: 100%;\n border-radius: 22px;\n border: 1px solid var(--border-2);\n display: flex;\n flex-direction: row;\n padding: 22px;\n gap: 18px;\n cursor: pointer;\n margin-bottom: 20px;\n transition: 0.2s ease;\n color: var(--foreground-1);\n}\n.styles-module_box__Z0iod:hover {\n background-color: var(--background-1);\n transform: scale(1.01);\n}\n.styles-module_box__Z0iod:active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n.styles-module_box__Z0iod .styles-module_left_side__8ObGs {\n width: 40px;\n display: flex;\n flex-direction: column;\n align-items: center;\n padding-top: 5px;\n}\n.styles-module_box__Z0iod .styles-module_right_side__Ypp0D {\n flex: 1;\n}\n.styles-module_box__Z0iod .styles-module_right_side__Ypp0D h4 {\n margin: 0;\n text-align: left;\n font-size: 1.3rem;\n margin-bottom: 12px;\n margin-top: 5px;\n color: var(--foreground-1);\n font-family: var(--font-1);\n}\n.styles-module_box__Z0iod .styles-module_right_side__Ypp0D p {\n color: var(--foreground-2);\n margin: 0;\n text-align: left;\n font-size: 1.1rem;\n line-height: 1.6;\n}\n\n@media (max-width: 550px) {\n .styles-module_box__Z0iod {\n width: auto;\n }\n .styles-module_box__Z0iod .styles-module_right_side__Ypp0D h4 {\n font-size: 1.2rem;\n }\n .styles-module_box__Z0iod .styles-module_right_side__Ypp0D p {\n font-size: 1rem;\n }\n}";
|
9829
|
-
var styles$
|
9828
|
+
var styles$c = {"box":"styles-module_box__Z0iod","left_side":"styles-module_left_side__8ObGs","right_side":"styles-module_right_side__Ypp0D"};
|
9830
9829
|
styleInject(css_248z$c);
|
9831
9830
|
|
9832
9831
|
function OptionField({ id, headline, description, iconName }) {
|
9833
9832
|
return (React__default.createElement(React__default.Fragment, null,
|
9834
|
-
React__default.createElement("div", { className: styles$
|
9835
|
-
React__default.createElement("div", { className: styles$
|
9836
|
-
React__default.createElement("div", { className: styles$
|
9833
|
+
React__default.createElement("div", { className: styles$c.box, id: id },
|
9834
|
+
React__default.createElement("div", { className: styles$c.left_side }, iconName && React__default.createElement(SvgIcon, { iconName: iconName })),
|
9835
|
+
React__default.createElement("div", { className: styles$c.right_side },
|
9837
9836
|
React__default.createElement("h4", null, headline),
|
9838
9837
|
React__default.createElement("p", null, description)))));
|
9839
9838
|
}
|
9840
9839
|
|
9841
9840
|
var css_248z$b = ".styles-module_container__r0YH2 {\n background: var(--background-1);\n border-radius: 12px;\n padding: 30px;\n margin-bottom: 30px;\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 18px;\n color: var(--foreground-1);\n border: 1px solid var(--border-2);\n transition: 0.2s ease-in-out;\n box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);\n cursor: pointer;\n}\n.styles-module_container__r0YH2:hover {\n background: var(--background-2);\n border-color: var(--border-3);\n}\n.styles-module_container__r0YH2 h3 {\n font-weight: 500;\n margin: 0;\n text-align: center;\n font-family: var(--font-1);\n}\n.styles-module_container__r0YH2:active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n\n.styles-module_container__r0YH2.styles-module_preselected__zEukD {\n border: 1px solid var(--foreground-1);\n}";
|
9842
|
-
var styles$
|
9841
|
+
var styles$b = {"container":"styles-module_container__r0YH2","preselected":"styles-module_preselected__zEukD"};
|
9843
9842
|
styleInject(css_248z$b);
|
9844
9843
|
|
9845
9844
|
function OptionField2({ title, iconName, onClick, preselected = false }) {
|
@@ -9848,35 +9847,35 @@ function OptionField2({ title, iconName, onClick, preselected = false }) {
|
|
9848
9847
|
if (onClick)
|
9849
9848
|
onClick(event);
|
9850
9849
|
}
|
9851
|
-
return (React__default.createElement("div", { className: [styles$
|
9850
|
+
return (React__default.createElement("div", { className: [styles$b.container, preselected ? styles$b.preselected : styles$b.not_preselected].join(" "), onClick: onClickDiv },
|
9852
9851
|
iconName && React__default.createElement(SvgIcon, { iconName: iconName, size: "32px" }),
|
9853
9852
|
React__default.createElement("h3", null, title)));
|
9854
9853
|
}
|
9855
9854
|
|
9856
9855
|
var css_248z$a = ".styles-module_popover__3ZbOL {\n overflow-y: scroll;\n overflow-x: hidden;\n margin: 0 auto;\n margin-top: 30px;\n z-index: 10000;\n position: fixed;\n border-top-left-radius: 30px;\n border-top-right-radius: 30px;\n transform: translateY(100%);\n width: 700px;\n max-width: 100%;\n height: 100%;\n left: 50%;\n margin-left: -385px;\n transition: 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);\n background: var(--background-1);\n box-shadow: var(--border-3) 0px 1px 2px 0px, var(--border-3) 0px 1px 3px 1px;\n padding: 35px;\n padding-top: 110px;\n top: 0;\n}\n.styles-module_popover__3ZbOL.styles-module_active__-ZVbh {\n transform: translateY(0px);\n}\n.styles-module_popover__3ZbOL h1 {\n margin: 10px 0px;\n font-weight: 900;\n display: flex;\n align-items: center;\n gap: 10px;\n}\n.styles-module_popover__3ZbOL h4 {\n font-size: 20px;\n margin: 10px 0px;\n color: var(--foreground-3);\n font-weight: 400;\n}\n.styles-module_popover__3ZbOL p {\n line-height: 2;\n margin: 20px 0px;\n}\n.styles-module_popover__3ZbOL img {\n object-fit: contain;\n border-radius: 10px;\n}\n.styles-module_popover__3ZbOL .styles-module_close_button__5RYuU {\n width: 40px;\n height: 40px;\n border-radius: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--background-4);\n cursor: pointer;\n transition: 0.2s ease-in-out;\n position: absolute;\n top: 35px;\n right: 35px;\n color: var(--foreground-2);\n}\n.styles-module_popover__3ZbOL .styles-module_close_button__5RYuU:hover {\n filter: brightness(0.9);\n}\n\n@media (max-width: 800px) {\n .styles-module_popover__3ZbOL {\n width: calc(100% - 40px);\n left: 0;\n margin-left: 0;\n padding: 20px;\n padding-top: 110px;\n }\n}";
|
9857
|
-
var styles$
|
9856
|
+
var styles$a = {"popover":"styles-module_popover__3ZbOL","active":"styles-module_active__-ZVbh","close_button":"styles-module_close_button__5RYuU"};
|
9858
9857
|
styleInject(css_248z$a);
|
9859
9858
|
|
9860
9859
|
function Popover({ children, active, onClose }) {
|
9861
|
-
return (React__default.createElement("div", { className: [styles$
|
9860
|
+
return (React__default.createElement("div", { className: [styles$a.popover, active ? styles$a.active : styles$a.closed].join(" ") },
|
9862
9861
|
children,
|
9863
|
-
React__default.createElement("div", { className: styles$
|
9862
|
+
React__default.createElement("div", { className: styles$a.close_button, onClick: onClose },
|
9864
9863
|
React__default.createElement(SvgIcon, { iconName: "close" }))));
|
9865
9864
|
}
|
9866
9865
|
|
9867
9866
|
var css_248z$9 = ".styles-module_container__u4q5n {\n margin-bottom: 50px;\n width: 400px;\n max-width: 100%;\n}\n\n.styles-module_background__jt-ry {\n background: var(--border-2);\n height: 3px;\n position: relative;\n}\n\n@keyframes styles-module_fadeIn__ytfsX {\n from {\n width: 0;\n }\n to {\n width: 100%;\n }\n}\n@keyframes styles-module_moveIn__E7c-3 {\n from {\n left: 0;\n }\n to {\n left: 100%;\n }\n}\n.styles-module_progress__Zj-B7 {\n left: 0;\n top: 0;\n height: 3px;\n position: relative;\n}\n.styles-module_progress__Zj-B7::before {\n height: 3px;\n content: \"\";\n left: 0;\n top: 0;\n background: var(--foreground-1);\n position: absolute;\n animation: styles-module_fadeIn__ytfsX 2s ease forwards;\n}\n.styles-module_progress__Zj-B7.styles-module_enableDot__CJC4D::after {\n content: \"\";\n height: 10px;\n width: 10px;\n background: var(--foreground-1);\n border-radius: 5px;\n left: 100%;\n bottom: -3.5px;\n position: absolute;\n animation: styles-module_moveIn__E7c-3 2s ease forwards;\n}";
|
9868
|
-
var styles$
|
9867
|
+
var styles$9 = {"container":"styles-module_container__u4q5n","background":"styles-module_background__jt-ry","progress":"styles-module_progress__Zj-B7","fadeIn":"styles-module_fadeIn__ytfsX","enableDot":"styles-module_enableDot__CJC4D","moveIn":"styles-module_moveIn__E7c-3"};
|
9869
9868
|
styleInject(css_248z$9);
|
9870
9869
|
|
9871
9870
|
function ProgressBar({ length, progress, enableDot = false }) {
|
9872
9871
|
return (React__default.createElement(React__default.Fragment, null,
|
9873
|
-
React__default.createElement("div", { className: styles$
|
9874
|
-
React__default.createElement("div", { className: styles$
|
9875
|
-
React__default.createElement("div", { className: [styles$
|
9872
|
+
React__default.createElement("div", { className: styles$9.container },
|
9873
|
+
React__default.createElement("div", { className: styles$9.background },
|
9874
|
+
React__default.createElement("div", { className: [styles$9.progress, enableDot ? styles$9.enableDot : styles$9.disableDot].join(" "), style: { width: `${progress / length * 100}%` } })))));
|
9876
9875
|
}
|
9877
9876
|
|
9878
9877
|
var css_248z$8 = ".styles-module_container__Grkzw {\n display: flex;\n flex-direction: column;\n gap: 12px;\n color: var(--foreground-3);\n margin-bottom: 20px;\n position: relative;\n}\n.styles-module_container__Grkzw [type=radio] {\n position: relative;\n left: 15px;\n top: -4px;\n z-index: 0;\n appearance: none;\n -webkit-appearance: none;\n cursor: pointer;\n margin-left: -3.5px;\n}\n.styles-module_container__Grkzw [type=radio] + label {\n position: absolute;\n cursor: pointer;\n}\n.styles-module_container__Grkzw [type=radio] + label::before {\n width: 15px;\n height: 15px;\n border-radius: 20px;\n border: 2px solid var(--border-2);\n display: block;\n content: \"\";\n float: left;\n margin-right: 8px;\n z-index: 5;\n position: relative;\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__Grkzw [type=radio] + label::after {\n width: 10px;\n height: 10px;\n border-radius: 10px;\n display: block;\n content: \"\";\n z-index: 6;\n position: absolute;\n left: 4.5px;\n top: 4.5px;\n background-color: var(--background-1);\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__Grkzw .styles-module_option__nijjM {\n position: relative;\n}\n.styles-module_container__Grkzw [type=radio] ~ span {\n position: absolute;\n opacity: 1;\n color: var(--background-1);\n z-index: 100;\n user-select: none;\n pointer-events: none;\n -webkit-user-select: none;\n font-weight: 500;\n bottom: -1.5px;\n left: -1px;\n}\n.styles-module_container__Grkzw [type=radio]:checked ~ span {\n color: var(--background-1);\n}\n.styles-module_container__Grkzw [type=radio]:checked + label::before {\n background-color: var(--background-1);\n border-color: var(--primary-1);\n}\n.styles-module_container__Grkzw [type=radio]:checked + label::after {\n background-color: var(--primary-1);\n}\n.styles-module_container__Grkzw [type=radio]:hover:not(:checked) + label::before {\n border-color: var(--primary-2);\n}\n.styles-module_container__Grkzw [type=radio]:hover:not(:checked) + label::after {\n background: var(--primary-2);\n}";
|
9879
|
-
var styles$
|
9878
|
+
var styles$8 = {"container":"styles-module_container__Grkzw","option":"styles-module_option__nijjM"};
|
9880
9879
|
styleInject(css_248z$8);
|
9881
9880
|
|
9882
9881
|
function RadioButtons({ options, group, selected, onInput = () => { }, width = "100%" }) {
|
@@ -9886,7 +9885,7 @@ function RadioButtons({ options, group, selected, onInput = () => { }, width = "
|
|
9886
9885
|
setSelected(event.target.value);
|
9887
9886
|
onInput(event);
|
9888
9887
|
}
|
9889
|
-
return (React__default.createElement("div", { className: styles$
|
9888
|
+
return (React__default.createElement("div", { className: styles$8.container, style: { width: width } }, options.map((option) => React__default.createElement("div", { className: styles$8.option, key: option.name },
|
9890
9889
|
selectedOption == option.name ?
|
9891
9890
|
React__default.createElement("input", { type: "radio", id: option.name, name: group, value: option.name, onInput: onUpdateSelected, defaultChecked: true })
|
9892
9891
|
:
|
@@ -9895,10 +9894,10 @@ function RadioButtons({ options, group, selected, onInput = () => { }, width = "
|
|
9895
9894
|
}
|
9896
9895
|
|
9897
9896
|
var css_248z$7 = ".styles-module_container__RhsQe {\n margin-right: 8px;\n}\n.styles-module_container__RhsQe.styles-module_back__j0HkC {\n display: block;\n}\n.styles-module_container__RhsQe .styles-module_button__HuX-0 {\n background: none;\n padding: none;\n border: none;\n width: 40px;\n height: 40px;\n transition: 0.2s;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 20px;\n font-family: var(--font-1);\n font-weight: 500;\n}\n.styles-module_container__RhsQe .styles-module_button__HuX-0 span {\n color: var(--foreground-1);\n}\n.styles-module_container__RhsQe .styles-module_button__HuX-0:hover {\n background: var(--background-1);\n}\n.styles-module_container__RhsQe .styles-module_label__bdjMh {\n display: none;\n}\n.styles-module_container__RhsQe.styles-module_middle__xg7RF .styles-module_label__bdjMh {\n display: block;\n}\n.styles-module_container__RhsQe.styles-module_middle__xg7RF .styles-module_button__HuX-0 {\n flex-direction: row;\n gap: 5px;\n}\n.styles-module_container__RhsQe.styles-module_middle__xg7RF .styles-module_button__HuX-0:hover {\n background: none;\n}\n\n@media (max-width: 800px) {\n .styles-module_container__RhsQe.styles-module_forward__Vjtye {\n flex-basis: auto;\n }\n .styles-module_container__RhsQe.styles-module_back__j0HkC {\n flex-basis: 100%;\n }\n .styles-module_container__RhsQe.styles-module_back__j0HkC .styles-module_label__bdjMh {\n display: block;\n }\n .styles-module_container__RhsQe.styles-module_back__j0HkC .styles-module_button__HuX-0 {\n gap: 5px;\n width: auto;\n }\n .styles-module_container__RhsQe.styles-module_back__j0HkC .styles-module_button__HuX-0:hover {\n background: none;\n }\n}";
|
9898
|
-
var styles$
|
9897
|
+
var styles$7 = {"container":"styles-module_container__RhsQe","back":"styles-module_back__j0HkC","button":"styles-module_button__HuX-0","label":"styles-module_label__bdjMh","middle":"styles-module_middle__xg7RF","forward":"styles-module_forward__Vjtye"};
|
9899
9898
|
styleInject(css_248z$7);
|
9900
9899
|
|
9901
|
-
function RedirectButton({ id, type = "forward", onClick = () => { },
|
9900
|
+
function RedirectButton({ id, type = "forward", onClick = () => { }, text = "" }) {
|
9902
9901
|
function onClickButton(event) {
|
9903
9902
|
event.preventDefault();
|
9904
9903
|
onClick(event);
|
@@ -9911,18 +9910,18 @@ function RedirectButton({ id, type = "forward", onClick = () => { }, children =
|
|
9911
9910
|
}
|
9912
9911
|
};
|
9913
9912
|
return (React__default.createElement("div", { className: [
|
9914
|
-
styles$
|
9915
|
-
type === "forward" ? styles$
|
9916
|
-
type === "back" ? styles$
|
9917
|
-
type === "middle" ? styles$
|
9913
|
+
styles$7.container,
|
9914
|
+
type === "forward" ? styles$7.forward : styles$7.not_forward,
|
9915
|
+
type === "back" ? styles$7.back : styles$7.not_back,
|
9916
|
+
type === "middle" ? styles$7.middle : styles$7.not_middle
|
9918
9917
|
].join(" ") },
|
9919
|
-
React__default.createElement("button", { onClick: onClickButton, className: styles$
|
9918
|
+
React__default.createElement("button", { onClick: onClickButton, className: styles$7.button, id: id },
|
9920
9919
|
React__default.createElement(SvgIcon, { iconName: getIcon() }),
|
9921
|
-
React__default.createElement("span", { className: styles$
|
9920
|
+
React__default.createElement("span", { className: styles$7.label }, type == "middle" ? "Zurück" : text))));
|
9922
9921
|
}
|
9923
9922
|
|
9924
9923
|
var css_248z$6 = ".styles-module_container__VreeH {\n margin-bottom: 20px;\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 10px;\n}\n.styles-module_container__VreeH .styles-module_chip__EvZ4J,\n.styles-module_container__VreeH .styles-module_show_all__HKn-s {\n padding: 6px 12px;\n background: var(--background-1);\n border-radius: 20px;\n display: flex;\n flex-direction: row;\n gap: 5px;\n align-items: center;\n cursor: pointer;\n user-select: none;\n font-size: 14px;\n -webkit-user-select: none;\n color: var(--foreground-2);\n transition: 0.2s ease-in-out;\n border: 1px solid transparent;\n}\n.styles-module_container__VreeH .styles-module_chip__EvZ4J:hover {\n filter: brightness(0.95);\n}\n.styles-module_container__VreeH .styles-module_chip__EvZ4J:not(.styles-module_selected__sArTD):active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n.styles-module_container__VreeH .styles-module_chip__EvZ4J.styles-module_selected__sArTD {\n background: var(--primary-2);\n color: var(--primary-1);\n}\n.styles-module_container__VreeH .styles-module_chip__EvZ4J.styles-module_selected__sArTD span {\n color: var(--primary-1);\n}";
|
9925
|
-
var styles$
|
9924
|
+
var styles$6 = {"container":"styles-module_container__VreeH","chip":"styles-module_chip__EvZ4J","show_all":"styles-module_show_all__HKn-s","selected":"styles-module_selected__sArTD"};
|
9926
9925
|
styleInject(css_248z$6);
|
9927
9926
|
|
9928
9927
|
function SearchChips({ items, onChange, chipsVisible = 9 }) {
|
@@ -9935,18 +9934,18 @@ function SearchChips({ items, onChange, chipsVisible = 9 }) {
|
|
9935
9934
|
if (onChange)
|
9936
9935
|
onChange(newChips);
|
9937
9936
|
}
|
9938
|
-
return (React__default.createElement("div", { className: styles$
|
9939
|
-
(showAll ? chips : chips.slice(0, chipsVisible)).map((item, index) => React__default.createElement("div", { key: index, onClick: (e) => onClick(item, index), className: [styles$
|
9937
|
+
return (React__default.createElement("div", { className: styles$6.container },
|
9938
|
+
(showAll ? chips : chips.slice(0, chipsVisible)).map((item, index) => React__default.createElement("div", { key: index, onClick: (e) => onClick(item, index), className: [styles$6.chip, item.selected ? styles$6.selected : styles$6.not_selected].join(" ") },
|
9940
9939
|
React__default.createElement(SvgIcon, { iconName: item.selected ? "close" : "filter_list", size: "20px" }),
|
9941
9940
|
item.title)),
|
9942
9941
|
chipsVisible < chips.length && (showAll ?
|
9943
|
-
React__default.createElement("div", { className: styles$
|
9942
|
+
React__default.createElement("div", { className: styles$6.show_all, onClick: () => setShowAll(false) }, "Weniger anzeigen")
|
9944
9943
|
:
|
9945
|
-
React__default.createElement("div", { className: styles$
|
9944
|
+
React__default.createElement("div", { className: styles$6.show_all, onClick: () => setShowAll(true) }, "Mehr anzeigen"))));
|
9946
9945
|
}
|
9947
9946
|
|
9948
9947
|
var css_248z$5 = ".styles-module_container__k4Z26 {\n width: 100%;\n display: flex;\n flex-direction: row;\n gap: 10px;\n position: relative;\n}\n.styles-module_container__k4Z26 button {\n background: var(--primary-2);\n padding: 0px 18px;\n border: none;\n font-size: 14px;\n border-radius: 10px;\n cursor: pointer;\n color: var(--primary-1);\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ-,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om {\n display: none;\n position: absolute;\n top: 60px;\n background: var(--background-1);\n box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2509803922);\n width: 100%;\n border-radius: 14px;\n border: 1px solid var(--border-3);\n z-index: 1000;\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ-:hover,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om:hover {\n display: block;\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- ul,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om ul {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- ul li,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om ul li {\n padding: 16px 20px;\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- ul li:not(:last-child),\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om ul li:not(:last-child) {\n border-bottom: 1px solid var(--border-3);\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- .styles-module_error__2Ov4X,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om .styles-module_error__2Ov4X {\n padding: 35px 0px;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 15px;\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- .styles-module_error__2Ov4X p,\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- .styles-module_error__2Ov4X h3,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om .styles-module_error__2Ov4X p,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om .styles-module_error__2Ov4X h3 {\n margin: 0;\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- .styles-module_error__2Ov4X p,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om .styles-module_error__2Ov4X p {\n color: var(--foreground-3);\n padding: 0px 30px;\n line-height: 1.5;\n text-align: center;\n margin-bottom: 10px;\n}\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om ul li {\n display: flex;\n flex-direction: row;\n padding: 10px 20px;\n align-items: center;\n}\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om ul li span {\n flex: 1;\n}\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om button {\n padding: 10px 16px;\n}\n\n.styles-module_input__wOJmG {\n padding: 14px 20px;\n font-size: 16px;\n width: 300px;\n border-radius: 12px;\n border: 1px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n width: 100%;\n background: var(--background-1);\n color: var(--foreground-1);\n}\n.styles-module_input__wOJmG:focus, .styles-module_input__wOJmG:active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n\n.styles-module_form__mWTCu.styles-module_focus__-6H1f + .styles-module_suggestions_container__pceQ-,\n.styles-module_form__mWTCu.styles-module_focus__-6H1f + .styles-module_results_container__OY4Om {\n display: block;\n}\n\ninput[type=search]::-webkit-search-decoration,\ninput[type=search]::-webkit-search-cancel-button,\ninput[type=search]::-webkit-search-results-button,\ninput[type=search]::-webkit-search-results-decoration {\n -webkit-appearance: none;\n}\n\n/* animated text field */\n.styles-module_form__mWTCu {\n position: relative;\n width: 100%;\n}\n\n.styles-module_label__A41g9 {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n font-family: var(--font-1);\n}\n\n.styles-module_label_text__NQHTC {\n position: absolute;\n bottom: 16px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__wOJmG.styles-module_with_title__rnN-t::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__wOJmG.styles-module_with_title__rnN-t:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__wOJmG:focus + .styles-module_label__A41g9 .styles-module_label_text__NQHTC,\n.styles-module_input__wOJmG.styles-module_valid__AAK-6 + .styles-module_label__A41g9 .styles-module_label_text__NQHTC {\n transform: translateY(-150%);\n left: 15px;\n font-size: 14px;\n background: var(--background-2);\n color: var(--primary-1);\n}\n\n.styles-module_input__wOJmG.styles-module_valid__AAK-6 + .styles-module_label__A41g9 .styles-module_label_text__NQHTC {\n color: var(--foreground-3);\n}";
|
9949
|
-
var styles$
|
9948
|
+
var styles$5 = {"container":"styles-module_container__k4Z26","suggestions_container":"styles-module_suggestions_container__pceQ-","results_container":"styles-module_results_container__OY4Om","error":"styles-module_error__2Ov4X","input":"styles-module_input__wOJmG","form":"styles-module_form__mWTCu","focus":"styles-module_focus__-6H1f","label":"styles-module_label__A41g9","label_text":"styles-module_label_text__NQHTC","with_title":"styles-module_with_title__rnN-t","valid":"styles-module_valid__AAK-6"};
|
9950
9949
|
styleInject(css_248z$5);
|
9951
9950
|
|
9952
9951
|
function Searchbar({ placeholder, title = "Suchen", showNoResults = false, errorTitle = "Keine Ergebnisse gefunden", errorMessage = "", errorButton = "", helpTitle = "", helpMessage = "", width = "100%", marginBottom = 25, marginTop = 30, errorAction = () => { }, onInput = () => { }, onClickResult = () => { }, withButton = false, buttonText = "Suchen", suggestions = [], autoFocus = false, results = [] }) {
|
@@ -9976,34 +9975,95 @@ function Searchbar({ placeholder, title = "Suchen", showNoResults = false, error
|
|
9976
9975
|
element.focus();
|
9977
9976
|
}, [autoFocus]);
|
9978
9977
|
return (React__default.createElement(React__default.Fragment, null,
|
9979
|
-
React__default.createElement("div", { className: styles$
|
9980
|
-
React__default.createElement("div", { className: `${styles$
|
9981
|
-
React__default.createElement("input", { onFocus: () => setFocused(true), onBlur: () => setFocused(false), className: `${styles$
|
9982
|
-
React__default.createElement("label", { htmlFor: "text", className: styles$
|
9983
|
-
React__default.createElement("span", { className: styles$
|
9978
|
+
React__default.createElement("div", { className: styles$5.container, style: { marginTop: marginTop, marginBottom: marginBottom, width: width } },
|
9979
|
+
React__default.createElement("div", { className: `${styles$5.form} ${inputFocused ? styles$5.focus : styles$5.not_focused}` },
|
9980
|
+
React__default.createElement("input", { onFocus: () => setFocused(true), onBlur: () => setFocused(false), className: `${styles$5.input} ${title != undefined ? styles$5.with_title : styles$5.without_title} ${value.length > 0 ? styles$5.valid : styles$5.not_valid}`, placeholder: placeholder, type: "search", ref: inputElement, onInput: onInputChanged }),
|
9981
|
+
React__default.createElement("label", { htmlFor: "text", className: styles$5.label },
|
9982
|
+
React__default.createElement("span", { className: styles$5.label_text }, title))),
|
9984
9983
|
withButton && React__default.createElement("button", { type: "button" }, buttonText),
|
9985
|
-
suggestions.length > 0 && React__default.createElement("div", { className: styles$
|
9984
|
+
suggestions.length > 0 && React__default.createElement("div", { className: styles$5.suggestions_container },
|
9986
9985
|
React__default.createElement("ul", null, suggestions.map((suggestion, index) => React__default.createElement("li", { key: index }, suggestion)))),
|
9987
|
-
searchResults.length > 0 && React__default.createElement("div", { className: styles$
|
9986
|
+
searchResults.length > 0 && React__default.createElement("div", { className: styles$5.results_container },
|
9988
9987
|
React__default.createElement("ul", null, searchResults.map((result, index) => React__default.createElement("li", { key: index, onClick: (event) => onClickResult(event, result) },
|
9989
9988
|
React__default.createElement("span", null, result.title),
|
9990
9989
|
React__default.createElement("button", { type: "button" }, buttonText))))),
|
9991
|
-
searchResults.length == 0 && showNoResults && value.length > 0 && React__default.createElement("div", { className: styles$
|
9992
|
-
React__default.createElement("div", { className: styles$
|
9990
|
+
searchResults.length == 0 && showNoResults && value.length > 0 && React__default.createElement("div", { className: styles$5.results_container },
|
9991
|
+
React__default.createElement("div", { className: styles$5.error },
|
9993
9992
|
React__default.createElement(SvgIcon, { iconName: "error" }),
|
9994
9993
|
React__default.createElement("h3", null, errorTitle),
|
9995
9994
|
React__default.createElement("p", null, errorMessage),
|
9996
9995
|
errorButton.length > 0 && React__default.createElement("button", { type: "button", onClick: errorAction }, errorButton))),
|
9997
|
-
searchResults.length == 0 && showNoResults && value.length == 0 && React__default.createElement("div", { className: styles$
|
9998
|
-
React__default.createElement("div", { className: styles$
|
9996
|
+
searchResults.length == 0 && showNoResults && value.length == 0 && React__default.createElement("div", { className: styles$5.results_container },
|
9997
|
+
React__default.createElement("div", { className: styles$5.error },
|
9999
9998
|
React__default.createElement(SvgIcon, { iconName: "lightbulb" }),
|
10000
9999
|
React__default.createElement("h3", null, helpTitle),
|
10001
10000
|
React__default.createElement("p", null, helpMessage))))));
|
10002
10001
|
}
|
10003
10002
|
|
10004
|
-
var css_248z$4 = ".styles-module_container__A8p1v {\n margin-bottom: 30px;\n max-width: 100%;\n text-align: center;\n position: relative;\n width: 100%;\n}\n\n.styles-module_profile__1BJ2t img.styles-module_not_active__vz3bM {\n display: none;\n}\n\n.styles-module_profile__1BJ2t img {\n border-radius: 100%;\n width: 55px;\n height: 55px;\n}\n\n.styles-module_icon__wCypS {\n background: var(--foreground-2);\n height: 50px;\n width: 50px;\n border-radius: 25px;\n align-items: center;\n display: flex;\n justify-content: center;\n color: var(--background-1);\n}\n.styles-module_icon__wCypS.styles-module_not_active__vz3bM {\n display: none;\n}\n\n.styles-module_input__aHNrg {\n display: none;\n}\n\n.styles-module_label__0Rajr {\n height: 100%;\n display: flex;\n cursor: pointer;\n padding: 20px;\n align-items: center;\n justify-content: center;\n flex-direction: row;\n border-width: 1px;\n border-style: solid;\n gap: 20px;\n border-radius: 12px;\n border-color: var(--border-1);\n background-color: var(--background-1);\n box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);\n transition: 0.2s ease-in-out;\n}\n.styles-module_label__0Rajr .styles-module_description__KAVaa {\n flex: 1;\n text-align: left;\n display: flex;\n flex-direction: column;\n justify-content: center;\n gap: 4px;\n}\n.styles-module_label__0Rajr .styles-module_description__KAVaa p {\n margin: 0;\n}\n.styles-module_label__0Rajr .styles-module_description__KAVaa span {\n color: grey;\n font-size: 12px;\n}\n\n.styles-module_label__0Rajr.styles-module_active__zXbic,\n.styles-module_label__0Rajr:hover {\n background-color: var(--background-2);\n border-color: var(--border-3);\n}\n\n.styles-module_upload_button__zXlui {\n height: 50px;\n width: 50px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n border: none;\n border-radius: 30px;\n background: var(--primary-2);\n color: var(--primary-1);\n}\n\n.styles-module_remove_button__5pK9J {\n height: 50px;\n width: 50px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n border: none;\n border-radius: 30px;\n background: var(--red-2);\n color: var(--red-1);\n}\n\n.styles-module_drag_file__lxLfL {\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: 1rem;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n}";
|
10003
|
+
var css_248z$4 = ".styles-module_container__A8p1v {\n margin-bottom: 30px;\n max-width: 100%;\n text-align: center;\n position: relative;\n width: 100%;\n}\n\n.styles-module_profile__1BJ2t img.styles-module_not_active__vz3bM {\n display: none;\n}\n\n.styles-module_profile__1BJ2t img {\n border-radius: 100%;\n width: 55px;\n height: 55px;\n}\n\n.styles-module_icon__wCypS {\n background: var(--foreground-2);\n height: 50px;\n width: 50px;\n border-radius: 25px;\n align-items: center;\n display: flex;\n justify-content: center;\n color: var(--background-1);\n}\n.styles-module_icon__wCypS.styles-module_not_active__vz3bM {\n display: none;\n}\n\n.styles-module_input__aHNrg {\n display: none;\n}\n\n.styles-module_label__0Rajr {\n height: 100%;\n display: flex;\n cursor: pointer;\n padding: 20px;\n align-items: center;\n justify-content: center;\n flex-direction: row;\n border-width: 1px;\n border-style: solid;\n gap: 20px;\n border-radius: 12px;\n border-color: var(--border-1);\n background-color: var(--background-1);\n box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);\n transition: 0.2s ease-in-out;\n}\n.styles-module_label__0Rajr .styles-module_description__KAVaa {\n flex: 1;\n text-align: left;\n display: flex;\n flex-direction: column;\n justify-content: center;\n gap: 4px;\n}\n.styles-module_label__0Rajr .styles-module_description__KAVaa p {\n margin: 0;\n}\n.styles-module_label__0Rajr .styles-module_description__KAVaa span {\n color: grey;\n font-size: 12px;\n}\n\n.styles-module_label__0Rajr.styles-module_active__zXbic,\n.styles-module_label__0Rajr:hover {\n background-color: var(--background-2);\n border-color: var(--border-3);\n}\n\n.styles-module_label__0Rajr.styles-module_active__zXbic {\n box-shadow: var(--focus-shadow);\n}\n\n.styles-module_upload_button__zXlui:hover,\n.styles-module_remove_button__5pK9J:hover {\n filter: brightness(0.9);\n}\n\n.styles-module_upload_button__zXlui {\n height: 50px;\n width: 50px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n border: none;\n border-radius: 30px;\n background: var(--primary-2);\n color: var(--primary-1);\n}\n\n.styles-module_remove_button__5pK9J {\n height: 50px;\n width: 50px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n border: none;\n border-radius: 30px;\n background: var(--red-2);\n color: var(--red-1);\n transition: 0.2s ease-in-out;\n}\n\n.styles-module_drag_file__lxLfL {\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: 1rem;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n}";
|
10004
|
+
var styles$4 = {"container":"styles-module_container__A8p1v","profile":"styles-module_profile__1BJ2t","not_active":"styles-module_not_active__vz3bM","icon":"styles-module_icon__wCypS","input":"styles-module_input__aHNrg","label":"styles-module_label__0Rajr","description":"styles-module_description__KAVaa","active":"styles-module_active__zXbic","upload_button":"styles-module_upload_button__zXlui","remove_button":"styles-module_remove_button__5pK9J","drag_file":"styles-module_drag_file__lxLfL"};
|
10005
10005
|
styleInject(css_248z$4);
|
10006
10006
|
|
10007
|
+
function SelectFileCard({ accept = "image/png, image/jpeg, image/jpg", maxSize = 1, onFileSelected, onFileTooLarge = () => { }, ...props }) {
|
10008
|
+
const [dragActive, setDragActive] = useState(false);
|
10009
|
+
const [file, setFile] = useState();
|
10010
|
+
const inputRef = useRef(null);
|
10011
|
+
const handleFile = function (file) {
|
10012
|
+
if (!file)
|
10013
|
+
return;
|
10014
|
+
if (file.size / 1024 ** 2 > maxSize) {
|
10015
|
+
onFileTooLarge();
|
10016
|
+
//toast(`Das Bild darf 1 MB nicht übersteigen`, { type: "warning" })
|
10017
|
+
return;
|
10018
|
+
}
|
10019
|
+
onFileSelected(file);
|
10020
|
+
setFile(file);
|
10021
|
+
};
|
10022
|
+
const handleDrag = function (event) {
|
10023
|
+
event.preventDefault();
|
10024
|
+
event.stopPropagation();
|
10025
|
+
if (event.type === "dragenter" || event.type === "dragover") {
|
10026
|
+
setDragActive(true);
|
10027
|
+
}
|
10028
|
+
else if (event.type === "dragleave") {
|
10029
|
+
setDragActive(false);
|
10030
|
+
}
|
10031
|
+
};
|
10032
|
+
const handleDrop = function (event) {
|
10033
|
+
event.preventDefault();
|
10034
|
+
event.stopPropagation();
|
10035
|
+
setDragActive(false);
|
10036
|
+
if (event.dataTransfer.files && event.dataTransfer.files[0]) {
|
10037
|
+
handleFile(event.dataTransfer.files[0]);
|
10038
|
+
}
|
10039
|
+
};
|
10040
|
+
const handleChange = function (event) {
|
10041
|
+
event.preventDefault();
|
10042
|
+
if (event.target.files && event.target.files[0]) {
|
10043
|
+
handleFile(event.target.files[0]);
|
10044
|
+
}
|
10045
|
+
};
|
10046
|
+
const onButtonClick = () => {
|
10047
|
+
if (inputRef.current)
|
10048
|
+
inputRef.current.click();
|
10049
|
+
};
|
10050
|
+
const onRemoveFile = () => {
|
10051
|
+
setFile(undefined);
|
10052
|
+
};
|
10053
|
+
return (React__default.createElement("form", { className: styles$4.container, onDragEnter: handleDrag, onSubmit: (e) => e.preventDefault(), ...props },
|
10054
|
+
React__default.createElement("input", { ref: inputRef, accept: accept, type: "file", id: "input-file-upload", className: styles$4.input, multiple: true, onChange: handleChange }),
|
10055
|
+
React__default.createElement("label", { className: [styles$4.label, dragActive ? styles$4.active : ""].join(" "), htmlFor: "input-file-upload" },
|
10056
|
+
React__default.createElement("div", { className: styles$4.description },
|
10057
|
+
React__default.createElement("p", null, file ? "Datei ausgewählt" : "Datei hierherziehen"),
|
10058
|
+
React__default.createElement("span", null, file ? file.name : "Maximale Dateigröße beträgt 1 MB")),
|
10059
|
+
React__default.createElement("button", { className: styles$4.upload_button, onClick: onButtonClick },
|
10060
|
+
React__default.createElement(SvgIcon, { iconName: file ? "done" : "upload" })),
|
10061
|
+
file &&
|
10062
|
+
React__default.createElement("button", { className: styles$4.remove_button, onClick: onRemoveFile },
|
10063
|
+
React__default.createElement(SvgIcon, { iconName: "delete" }))),
|
10064
|
+
dragActive && React__default.createElement("div", { className: styles$4.drag_file, onDragEnter: handleDrag, onDragLeave: handleDrag, onDragOver: handleDrag, onDrop: handleDrop })));
|
10065
|
+
}
|
10066
|
+
|
10007
10067
|
var css_248z$3 = ".styles-module_container__jNs7m h3 {\n font-weight: 500;\n font-size: 16px;\n color: var(--foreground-1);\n}\n\n.styles-module_item_list__FxHkg.styles-module_has_children__Uu-8D {\n border-top: 1px solid var(--border-1);\n border-bottom: 1px solid var(--border-1);\n}\n\n.styles-module_item_list__FxHkg {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n.styles-module_item_list__FxHkg .styles-module_action__YYTok {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 6px;\n cursor: pointer;\n padding: 8px 14px;\n border-radius: 25px;\n transition: 0.2s ease-in-out;\n}\n.styles-module_item_list__FxHkg .styles-module_action__YYTok.styles-module_default__SexGH:hover {\n background: var(--background-2);\n}\n.styles-module_item_list__FxHkg .styles-module_action__YYTok.styles-module_red__KD3qJ:hover {\n background: var(--red-2);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_selected__iOu39 {\n color: var(--primary-1) !important;\n border-color: var(--primary-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_selected__iOu39 .styles-module_icon__Jy87z {\n color: var(--primary-1) !important;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV {\n padding: 10px 20px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n gap: 10px;\n color: var(--foreground-1);\n flex-wrap: wrap;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV .styles-module_moreText__-blXb {\n flex: 1;\n margin-bottom: 4px;\n color: var(--primary-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV .styles-module_subtitle__DT5OF {\n color: var(--foreground-3);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV .styles-module_icon__Jy87z {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n color: var(--foreground-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_blue__theVn .styles-module_title__nIwzs {\n color: var(--blue-1) !important;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_blue__theVn .styles-module_icon__Jy87z {\n color: var(--blue-1) !important;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV:nth-child(even) {\n background: var(--background-2);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV:nth-child(odd) {\n background: var(--background-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV:not(:last-child) {\n border-bottom: 1px solid var(--border-1);\n}\n\n@media (max-width: 750px) {\n .styles-module_item_list__FxHkg {\n gap: 20px;\n }\n .styles-module_item_list__FxHkg li.styles-module_item__sgyiV {\n background: var(--background-1);\n border-radius: 12px;\n padding: 20px;\n border: 1px solid var(--border-1);\n transition: 0.2s ease-in-out;\n display: flex;\n flex-direction: column;\n gap: 20px;\n }\n .styles-module_item_list__FxHkg li.styles-module_item__sgyiV:nth-child(even) {\n background: var(--background-1);\n }\n .styles-module_item_list__FxHkg li.styles-module_item__sgyiV:nth-child(odd) {\n background: var(--background-1);\n }\n}";
|
10008
10068
|
var styles$3 = {"container":"styles-module_container__jNs7m","item_list":"styles-module_item_list__FxHkg","has_children":"styles-module_has_children__Uu-8D","action":"styles-module_action__YYTok","default":"styles-module_default__SexGH","red":"styles-module_red__KD3qJ","item":"styles-module_item__sgyiV","selected":"styles-module_selected__iOu39","icon":"styles-module_icon__Jy87z","moreText":"styles-module_moreText__-blXb","subtitle":"styles-module_subtitle__DT5OF","blue":"styles-module_blue__theVn","title":"styles-module_title__nIwzs"};
|
10009
10069
|
styleInject(css_248z$3);
|
@@ -10475,4 +10535,4 @@ const site = (pathname) => process.env.NEXT_PUBLIC_APP_URL + pathname;
|
|
10475
10535
|
const app = (pathname) => site("/app" + pathname);
|
10476
10536
|
const cdn = (pathname) => process.env.NEXT_PUBLIC_WEB_ASSETS_CDN + pathname;
|
10477
10537
|
|
10478
|
-
export { Accordeon, Button, Button2, CardButton, Checkbox, ChooseRole, CopyCode, Dialog, Dropdown, EmptyCard, FormText, ForwardButton, Gap, InputArea, InputMail, InputNames, InputNumber, InputPassword, InputPin, InputText, NumberDropdown, NumberField, OptionField, OptionField2, Popover, ProgressBar, RadioButtons, RedirectButton, SearchChips, Searchbar, Slider, StepBack, SvgIcon, Table, Tabs, TextWithIcon, UsageCard, app, cdn, site, useDimensions, useOrientation, useScroll };
|
10538
|
+
export { Accordeon, Button, Button2, CardButton, Checkbox, ChooseRole, CopyCode, Dialog, Dropdown, EmptyCard, FormText, ForwardButton, Gap, InputArea, InputMail, InputNames, InputNumber, InputPassword, InputPin, InputText, NumberDropdown, NumberField, OptionField, OptionField2, Popover, ProgressBar, RadioButtons, RedirectButton, SearchChips, Searchbar, SelectFileCard, Slider, StepBack, SvgIcon, Table, Tabs, TextWithIcon, UsageCard, app, cdn, site, useDimensions, useOrientation, useScroll };
|