math-main-components 0.0.213 → 0.0.214
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/SelectFileCard/index.d.ts +8 -0
- package/dist/index.cjs.js +78 -87
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +79 -87
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
@@ -55,12 +55,12 @@ function styleInject(css, ref) {
|
|
55
55
|
}
|
56
56
|
|
57
57
|
var css_248z$A = "";
|
58
|
-
var styles$
|
58
|
+
var styles$z = {};
|
59
59
|
styleInject(css_248z$A);
|
60
60
|
|
61
61
|
function Slider({ cards }) {
|
62
62
|
const [selected, setSelected] = React.useState(0);
|
63
|
-
return (React__default["default"].createElement("div", { className: styles$
|
63
|
+
return (React__default["default"].createElement("div", { className: styles$z.container }, cards.map((card, index) => React__default["default"].createElement("div", { key: index, className: [styles$z.card, selected == index ? styles$z.selected : styles$z.not_selected].join(" ") },
|
64
64
|
React__default["default"].createElement("h1", null, card.title),
|
65
65
|
React__default["default"].createElement("p", null, card.description)))));
|
66
66
|
}
|
@@ -9407,31 +9407,31 @@ function SvgIcon({ animate = false, toggle = false, ...props }) {
|
|
9407
9407
|
}
|
9408
9408
|
|
9409
9409
|
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}";
|
9410
|
-
var styles$
|
9410
|
+
var styles$y = {"container":"styles-module_container__PIGIl"};
|
9411
9411
|
styleInject(css_248z$z);
|
9412
9412
|
|
9413
9413
|
function StepBack({ iconName = "arrow_back", text = "Weitere Möglichkeiten" }) {
|
9414
9414
|
return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
9415
|
-
React__default["default"].createElement("div", { className: styles$
|
9415
|
+
React__default["default"].createElement("div", { className: styles$y.container },
|
9416
9416
|
React__default["default"].createElement(SvgIcon, { iconName: iconName }),
|
9417
9417
|
text)));
|
9418
9418
|
}
|
9419
9419
|
|
9420
|
-
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 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}\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
|
9421
|
-
var styles$
|
9420
|
+
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}";
|
9421
|
+
var styles$x = {"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"};
|
9422
9422
|
styleInject(css_248z$y);
|
9423
9423
|
|
9424
9424
|
function Accordeon({ title, children }) {
|
9425
9425
|
const [isActive, setActive] = React.useState(false);
|
9426
|
-
return (React__default["default"].createElement("div", { className: [styles$
|
9427
|
-
React__default["default"].createElement("div", { className: styles$
|
9426
|
+
return (React__default["default"].createElement("div", { className: [styles$x.container, isActive ? styles$x.active : styles$x.not_active].join(" ") },
|
9427
|
+
React__default["default"].createElement("div", { className: styles$x.head, onClick: () => setActive(!isActive) },
|
9428
9428
|
React__default["default"].createElement(SvgIcon, { iconName: "expand_more" }),
|
9429
9429
|
React__default["default"].createElement("h3", null, title)),
|
9430
|
-
React__default["default"].createElement("div", { className: styles$
|
9430
|
+
React__default["default"].createElement("div", { className: styles$x.content }, children)));
|
9431
9431
|
}
|
9432
9432
|
|
9433
9433
|
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}";
|
9434
|
-
var styles$
|
9434
|
+
var styles$w = {"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"};
|
9435
9435
|
styleInject(css_248z$x);
|
9436
9436
|
|
9437
9437
|
function Button({ id, children, iconName, iconFill = "white", type = "blue", onClick = () => { }, ...props }) {
|
@@ -9439,25 +9439,25 @@ function Button({ id, children, iconName, iconFill = "white", type = "blue", onC
|
|
9439
9439
|
event.preventDefault();
|
9440
9440
|
onClick(event);
|
9441
9441
|
};
|
9442
|
-
return (React__default["default"].createElement("div", { className: styles$
|
9443
|
-
React__default["default"].createElement("button", { className: [styles$
|
9442
|
+
return (React__default["default"].createElement("div", { className: styles$w.container },
|
9443
|
+
React__default["default"].createElement("button", { className: [styles$w.button, styles$w[type], (children && !iconName) ? styles$w.onlyText : "", (!children && iconName) ? styles$w.onlyIcon : ""].join(" "), onClick: onClickButton, id: id, ...props },
|
9444
9444
|
children,
|
9445
9445
|
iconName && React__default["default"].createElement(SvgIcon, { iconName: iconName }))));
|
9446
9446
|
}
|
9447
9447
|
|
9448
9448
|
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}";
|
9449
|
-
var styles$
|
9449
|
+
var styles$v = {"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"};
|
9450
9450
|
styleInject(css_248z$w);
|
9451
9451
|
|
9452
9452
|
function Button2({ id, children, type = "submit", theme = "primary", iconName = "arrow_forward", isVisible = true, style, onClick }) {
|
9453
|
-
return (React__default["default"].createElement("div", { className: [styles$
|
9454
|
-
React__default["default"].createElement("button", { type: type, className: `${styles$
|
9453
|
+
return (React__default["default"].createElement("div", { className: [styles$v.container, isVisible ? styles$v.visible : styles$v.hidden, ["arrow_forward"].includes(iconName) ? styles$v.rotate : null].join(" "), style: style },
|
9454
|
+
React__default["default"].createElement("button", { type: type, className: `${styles$v.button} ${styles$v[theme]}`, onClick: onClick, id: id },
|
9455
9455
|
children,
|
9456
9456
|
React__default["default"].createElement(SvgIcon, { iconName: iconName }))));
|
9457
9457
|
}
|
9458
9458
|
|
9459
9459
|
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}";
|
9460
|
-
var styles$
|
9460
|
+
var styles$u = {"card":"styles-module_card__bOd85"};
|
9461
9461
|
styleInject(css_248z$v);
|
9462
9462
|
|
9463
9463
|
function CardButton({ id, children, iconName, onClick, ...props }) {
|
@@ -9466,27 +9466,27 @@ function CardButton({ id, children, iconName, onClick, ...props }) {
|
|
9466
9466
|
if (onClick)
|
9467
9467
|
onClick(event);
|
9468
9468
|
}
|
9469
|
-
return (React__default["default"].createElement("div", { className: styles$
|
9469
|
+
return (React__default["default"].createElement("div", { className: styles$u.card, onClick: onClickCard, id: id, ...props },
|
9470
9470
|
React__default["default"].createElement(SvgIcon, { iconName: iconName, size: "32px" }),
|
9471
9471
|
React__default["default"].createElement("h2", null, children)));
|
9472
9472
|
}
|
9473
9473
|
|
9474
|
-
var css_248z$u = ".styles-module_container__gCCnD {\n margin-bottom: 20px;\n color: var(--foreground-3);\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}";
|
9475
|
-
var styles$
|
9474
|
+
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}";
|
9475
|
+
var styles$t = {"container":"styles-module_container__gCCnD"};
|
9476
9476
|
styleInject(css_248z$u);
|
9477
9477
|
|
9478
9478
|
function Checkbox({ id, name, checked, defaultChecked = false, onInput = () => { }, children, ...props }) {
|
9479
|
-
return (React__default["default"].createElement("div", { className: styles$
|
9479
|
+
return (React__default["default"].createElement("div", { className: styles$t.container, ...props },
|
9480
9480
|
React__default["default"].createElement("input", { type: "checkbox", onInput: onInput, name: name, checked: checked, defaultChecked: defaultChecked, id: id || name }),
|
9481
9481
|
React__default["default"].createElement("label", { htmlFor: id || name }, children),
|
9482
9482
|
React__default["default"].createElement(SvgIcon, { iconName: "done", size: "21px" })));
|
9483
9483
|
}
|
9484
9484
|
|
9485
9485
|
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}";
|
9486
|
-
var styles$
|
9486
|
+
var styles$s = {"container":"styles-module_container__OqDNA","item":"styles-module_item__1SMCI","selected":"styles-module_selected__AXIA-"};
|
9487
9487
|
styleInject(css_248z$t);
|
9488
9488
|
|
9489
|
-
const ChooseRoleItem = ({ item, isSelected, onUpdate, }) => (React__default["default"].createElement("div", { className: [styles$
|
9489
|
+
const ChooseRoleItem = ({ item, isSelected, onUpdate, }) => (React__default["default"].createElement("div", { className: [styles$s.item, isSelected ? styles$s.selected : styles$s.not_selected].join(" "), onClick: () => onUpdate(item.value) }, item.title));
|
9490
9490
|
function ChooseRole({ roles, defaultSelected, readOnly = false, onChange = () => { } }) {
|
9491
9491
|
const [selected, setSelected] = React.useState(defaultSelected);
|
9492
9492
|
React.useEffect(() => setSelected(defaultSelected), [defaultSelected]);
|
@@ -9496,11 +9496,11 @@ function ChooseRole({ roles, defaultSelected, readOnly = false, onChange = () =>
|
|
9496
9496
|
setSelected(newRole);
|
9497
9497
|
onChange(newRole);
|
9498
9498
|
}
|
9499
|
-
return (React__default["default"].createElement("div", { className: styles$
|
9499
|
+
return (React__default["default"].createElement("div", { className: styles$s.container }, roles.map(item => React__default["default"].createElement(ChooseRoleItem, { key: item.value, item: item, onUpdate: onUpdate, isSelected: selected === item.value }))));
|
9500
9500
|
}
|
9501
9501
|
|
9502
9502
|
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}";
|
9503
|
-
var styles$
|
9503
|
+
var styles$r = {"container":"styles-module_container__yV6C8"};
|
9504
9504
|
styleInject(css_248z$s);
|
9505
9505
|
|
9506
9506
|
function CopyCode({ code, onCopy = () => { }, ...props }) {
|
@@ -9508,14 +9508,14 @@ function CopyCode({ code, onCopy = () => { }, ...props }) {
|
|
9508
9508
|
navigator.clipboard.writeText(code);
|
9509
9509
|
onCopy();
|
9510
9510
|
};
|
9511
|
-
return (React__default["default"].createElement("div", { className: styles$
|
9511
|
+
return (React__default["default"].createElement("div", { className: styles$r.container, onClick: onClick, ...props },
|
9512
9512
|
React__default["default"].createElement(SvgIcon, { iconName: "content_copy" }),
|
9513
9513
|
React__default["default"].createElement("span", null, code),
|
9514
9514
|
React__default["default"].createElement("input", { type: "hidden", name: "code", value: code })));
|
9515
9515
|
}
|
9516
9516
|
|
9517
9517
|
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}";
|
9518
|
-
var styles$
|
9518
|
+
var styles$q = {"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"};
|
9519
9519
|
styleInject(css_248z$r);
|
9520
9520
|
|
9521
9521
|
function Dialog({ data, enabled, text, onClose, onSubmit = () => { }, children }) {
|
@@ -9527,54 +9527,43 @@ function Dialog({ data, enabled, text, onClose, onSubmit = () => { }, children }
|
|
9527
9527
|
onClose(event, data);
|
9528
9528
|
}
|
9529
9529
|
}
|
9530
|
-
return (React__default["default"].createElement("div", { id: "dialog-backdrop", className: `${styles$
|
9531
|
-
React__default["default"].createElement("div", { className: styles$
|
9530
|
+
return (React__default["default"].createElement("div", { id: "dialog-backdrop", className: `${styles$q.container} ${enabled ? styles$q.active : styles$q.disabled}`, onClick: onClick },
|
9531
|
+
React__default["default"].createElement("div", { className: styles$q.dialog_window },
|
9532
9532
|
children,
|
9533
9533
|
text && React__default["default"].createElement("h1", null, text),
|
9534
|
-
React__default["default"].createElement("button", { className: styles$
|
9535
|
-
React__default["default"].createElement("button", { className: styles$
|
9534
|
+
React__default["default"].createElement("button", { className: styles$q.cancel_button, id: "cancel-button", onClick: onClick }, "Abbrechen"),
|
9535
|
+
React__default["default"].createElement("button", { className: styles$q.submit_button, id: "submit-button", onClick: (event) => onSubmit(event, data) }, "Best\u00E4tigen"))));
|
9536
9536
|
}
|
9537
9537
|
|
9538
9538
|
var css_248z$q = ".styles-module_container__hGVir {\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_container__hGVir {\n border: 1px solid var(--border-1);\n padding: 10px;\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}\n.styles-module_container__hGVir:hover {\n border-color: var(--primary-2);\n}\n.styles-module_container__hGVir:focus-within {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n background: var(--background-2);\n}\n.styles-module_container__hGVir 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__h-BA2::-webkit-outer-spin-button,\n.styles-module_input__h-BA2::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n.styles-module_input_container__2u56C {\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__2u56C:hover {\n border-color: var(--primary-2);\n}\n.styles-module_input_container__2u56C .styles-module_unit_label__EVP9q {\n font-size: 16px;\n text-align: right;\n}\n.styles-module_input_container__2u56C:focus-within {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n background: var(--background-2);\n}\n.styles-module_input_container__2u56C .styles-module_input__h-BA2 {\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__2u56C .styles-module_input__h-BA2[type=number] {\n cursor: pointer;\n flex: 1;\n}\n.styles-module_input_container__2u56C .styles-module_input__h-BA2[type=range] {\n width: 100%;\n}\n.styles-module_input_container__2u56C .styles-module_input__h-BA2[type=number]:disabled {\n background: transparent;\n color: var(--foreground-3);\n}";
|
9539
|
-
var styles$
|
9539
|
+
var styles$p = {"container":"styles-module_container__hGVir","input":"styles-module_input__h-BA2","input_container":"styles-module_input_container__2u56C","unit_label":"styles-module_unit_label__EVP9q"};
|
9540
9540
|
styleInject(css_248z$q);
|
9541
9541
|
|
9542
9542
|
const Dropdown = ({ options = [], unit = "", onInput = () => { }, ...props }) => {
|
9543
9543
|
const onDropdownChange = (event) => {
|
9544
9544
|
onInput(event.target.value);
|
9545
9545
|
};
|
9546
|
-
return (React__default["default"].createElement("div", { className: styles$
|
9547
|
-
React__default["default"].createElement("select", { className: styles$
|
9546
|
+
return (React__default["default"].createElement("div", { className: styles$p.container },
|
9547
|
+
React__default["default"].createElement("select", { className: styles$p.select, onChange: onDropdownChange, ...props },
|
9548
9548
|
React__default["default"].createElement("option", { value: "none" }, "Ausw\u00E4hlen"),
|
9549
9549
|
options.map((option, index) => (React__default["default"].createElement("option", { key: index, value: option.value }, option.label))))));
|
9550
9550
|
};
|
9551
9551
|
|
9552
9552
|
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}";
|
9553
|
-
var styles$
|
9553
|
+
var styles$o = {"card":"styles-module_card__hT9fw"};
|
9554
9554
|
styleInject(css_248z$p);
|
9555
9555
|
|
9556
9556
|
function EmptyCard({ title = "Keine Daten", subtitle = "Es sind keine Daten vorhanden.", iconName = "manage_search", button, onClick }) {
|
9557
|
-
return (React__default["default"].createElement("div", { className: styles$
|
9557
|
+
return (React__default["default"].createElement("div", { className: styles$o.card },
|
9558
9558
|
React__default["default"].createElement(SvgIcon, { size: "60px", iconName: iconName }),
|
9559
9559
|
React__default["default"].createElement("h1", null, title),
|
9560
9560
|
React__default["default"].createElement("p", null, subtitle),
|
9561
9561
|
button && React__default["default"].createElement(Button, { onClick: onClick, type: "lightBlue" }, button)));
|
9562
9562
|
}
|
9563
9563
|
|
9564
|
-
var css_248z$o = ".styles-
|
9565
|
-
var styles$o = {"container":"styles-module_container__HOoBj"};
|
9566
|
-
styleInject(css_248z$o);
|
9567
|
-
|
9568
|
-
function FormButton({ id, children, style = {}, iconName = "", type = "submit", background = "#0075FF", onClick = () => { }, ...props }) {
|
9569
|
-
return (React__default["default"].createElement("div", { className: styles$o.container, style: style },
|
9570
|
-
React__default["default"].createElement("button", { type: type, onClick: onClick, style: { background: background }, id: id, ...props },
|
9571
|
-
children,
|
9572
|
-
iconName && React__default["default"].createElement(SvgIcon, { iconName: iconName, color: "white" }))));
|
9573
|
-
}
|
9574
|
-
|
9575
|
-
var css_248z$n = ".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}";
|
9564
|
+
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}";
|
9576
9565
|
var styles$n = {"container":"styles-module_container__9wYEm"};
|
9577
|
-
styleInject(css_248z$
|
9566
|
+
styleInject(css_248z$o);
|
9578
9567
|
|
9579
9568
|
function FormText({ title, value, style }) {
|
9580
9569
|
return (React__default["default"].createElement("div", { className: styles$n.container, style: style },
|
@@ -9582,9 +9571,9 @@ function FormText({ title, value, style }) {
|
|
9582
9571
|
React__default["default"].createElement("h3", null, value)));
|
9583
9572
|
}
|
9584
9573
|
|
9585
|
-
var css_248z$
|
9574
|
+
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}";
|
9586
9575
|
var styles$m = {"container":"styles-module_container__C99XV","button":"styles-module_button__pGYkF"};
|
9587
|
-
styleInject(css_248z$
|
9576
|
+
styleInject(css_248z$n);
|
9588
9577
|
|
9589
9578
|
function ForwardButton({ onClick = () => { } }) {
|
9590
9579
|
function onClickButton(event) {
|
@@ -9600,9 +9589,9 @@ function Gap({ size }) {
|
|
9600
9589
|
return (React__default["default"].createElement("div", { style: { height: size } }));
|
9601
9590
|
}
|
9602
9591
|
|
9603
|
-
var css_248z$
|
9592
|
+
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}";
|
9604
9593
|
var styles$l = {"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"};
|
9605
|
-
styleInject(css_248z$
|
9594
|
+
styleInject(css_248z$m);
|
9606
9595
|
|
9607
9596
|
function InputArea({ id, title, name, placeholder = "", defaultValue = "", autoFocus = false, width = "100%", height = "100px", available = true, onInput }) {
|
9608
9597
|
const [value, setValue] = React.useState(defaultValue);
|
@@ -9621,9 +9610,9 @@ function InputArea({ id, title, name, placeholder = "", defaultValue = "", autoF
|
|
9621
9610
|
React__default["default"].createElement("span", { className: styles$l.label_text }, title)))));
|
9622
9611
|
}
|
9623
9612
|
|
9624
|
-
var css_248z$
|
9613
|
+
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}";
|
9625
9614
|
var styles$k = {"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-"};
|
9626
|
-
styleInject(css_248z$
|
9615
|
+
styleInject(css_248z$l);
|
9627
9616
|
|
9628
9617
|
function InputMail({ id, placeholder = "E-Mail-Adresse", title = "E-Mail-Adresse", name = "email", width = "100%", available = true, defaultValue = "", onInput = () => { }, ...props }) {
|
9629
9618
|
const [value, setValue] = React.useState(defaultValue);
|
@@ -9638,9 +9627,9 @@ function InputMail({ id, placeholder = "E-Mail-Adresse", title = "E-Mail-Adresse
|
|
9638
9627
|
React__default["default"].createElement("span", { className: styles$k.label_text }, title)))));
|
9639
9628
|
}
|
9640
9629
|
|
9641
|
-
var css_248z$
|
9630
|
+
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}";
|
9642
9631
|
var styles$j = {"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"};
|
9643
|
-
styleInject(css_248z$
|
9632
|
+
styleInject(css_248z$k);
|
9644
9633
|
|
9645
9634
|
function InputNames({ width = "100%", placeholder = { firstName: "", lastName: "" }, title = { firstName: "Vorname", lastName: "Nachname" }, defaultValue = { firstName: "", lastName: "" }, onInput = (name, event) => { }, onInputFirstName = (event) => { }, onInputLastName = (event) => { }, }) {
|
9646
9635
|
const [firstName, setFirstName] = React.useState(defaultValue.firstName ? defaultValue.firstName : "");
|
@@ -9666,9 +9655,9 @@ function InputNames({ width = "100%", placeholder = { firstName: "", lastName: "
|
|
9666
9655
|
React__default["default"].createElement("span", { className: styles$j.label_text }, title.lastName)))));
|
9667
9656
|
}
|
9668
9657
|
|
9669
|
-
var css_248z$
|
9658
|
+
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}";
|
9670
9659
|
var styles$i = {"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"};
|
9671
|
-
styleInject(css_248z$
|
9660
|
+
styleInject(css_248z$j);
|
9672
9661
|
|
9673
9662
|
function InputNumber({ title, name, placeholder = "", defaultValue = "", autoFocus = false, type = "number", width = "100%", available = true, onInput = (event) => { } }) {
|
9674
9663
|
const [value, setValue] = React.useState(defaultValue);
|
@@ -9686,9 +9675,9 @@ function InputNumber({ title, name, placeholder = "", defaultValue = "", autoFoc
|
|
9686
9675
|
React__default["default"].createElement("span", { className: styles$i.label_text }, title)))));
|
9687
9676
|
}
|
9688
9677
|
|
9689
|
-
var css_248z$
|
9678
|
+
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}";
|
9690
9679
|
var styles$h = {"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"};
|
9691
|
-
styleInject(css_248z$
|
9680
|
+
styleInject(css_248z$i);
|
9692
9681
|
|
9693
9682
|
function InputPassword({ id, placeholder = "", title = "Passwort", name = 'password', isVisible = true, width = "100%", minLength = 8, autoComplete, forgotLink = false }) {
|
9694
9683
|
const [value, setValue] = React.useState("");
|
@@ -9705,9 +9694,9 @@ function InputPassword({ id, placeholder = "", title = "Passwort", name = 'passw
|
|
9705
9694
|
React__default["default"].createElement("div", { className: styles$h.forgot_container }, forgotLink))));
|
9706
9695
|
}
|
9707
9696
|
|
9708
|
-
var css_248z$
|
9697
|
+
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}";
|
9709
9698
|
var styles$g = {"container":"styles-module_container__--NO0","input_wrapper":"styles-module_input_wrapper__LPIk1","input":"styles-module_input__84v36"};
|
9710
|
-
styleInject(css_248z$
|
9699
|
+
styleInject(css_248z$h);
|
9711
9700
|
|
9712
9701
|
function InputPin({ name, length, onFinished = () => { } }) {
|
9713
9702
|
const [state, setState] = React.useState({});
|
@@ -9784,9 +9773,9 @@ function InputPin({ name, length, onFinished = () => { } }) {
|
|
9784
9773
|
React__default["default"].createElement("button", { type: "button", onClick: resetValues }, "Zur\u00FCcksetzen")));
|
9785
9774
|
}
|
9786
9775
|
|
9787
|
-
var css_248z$
|
9776
|
+
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}";
|
9788
9777
|
var styles$f = {"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"};
|
9789
|
-
styleInject(css_248z$
|
9778
|
+
styleInject(css_248z$g);
|
9790
9779
|
|
9791
9780
|
function InputText({ id, title, name, placeholder = "", defaultValue = "", autoFocus = false, type = "text", width = "100%", marginBottom, autoComplete = "off", available = true, onInput = () => { } }) {
|
9792
9781
|
const [value, setValue] = React.useState(defaultValue);
|
@@ -9805,9 +9794,9 @@ function InputText({ id, title, name, placeholder = "", defaultValue = "", autoF
|
|
9805
9794
|
React__default["default"].createElement("span", { className: styles$f.label_text }, title)))));
|
9806
9795
|
}
|
9807
9796
|
|
9808
|
-
var css_248z$
|
9797
|
+
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}";
|
9809
9798
|
var styles$e = {"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"};
|
9810
|
-
styleInject(css_248z$
|
9799
|
+
styleInject(css_248z$f);
|
9811
9800
|
|
9812
9801
|
const NumberDropdown = ({ options = [], unit = "", onChangeDropdown = () => { }, onChangeInput = () => { }, ...props }) => {
|
9813
9802
|
const onDropdownChange = (event) => {
|
@@ -9826,18 +9815,18 @@ const NumberDropdown = ({ options = [], unit = "", onChangeDropdown = () => { },
|
|
9826
9815
|
React__default["default"].createElement("span", { className: styles$e.unit_label }, unit))));
|
9827
9816
|
};
|
9828
9817
|
|
9829
|
-
var css_248z$
|
9818
|
+
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}";
|
9830
9819
|
var styles$d = {"container":"styles-module_container__c0sGu","active":"styles-module_active__naxTC"};
|
9831
|
-
styleInject(css_248z$
|
9820
|
+
styleInject(css_248z$e);
|
9832
9821
|
|
9833
9822
|
const ToggleBox = ({ defaultActive = false, activeIcon = "lock", inactiveIcon = "lock", onSwitch = () => { } }) => {
|
9834
9823
|
return (React__default["default"].createElement("div", { className: [styles$d.container, defaultActive ? styles$d.active : styles$d.not_active].join(" "), onClick: () => onSwitch(!defaultActive) },
|
9835
9824
|
React__default["default"].createElement(SvgIcon, { iconName: defaultActive ? activeIcon : inactiveIcon })));
|
9836
9825
|
};
|
9837
9826
|
|
9838
|
-
var css_248z$
|
9827
|
+
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}";
|
9839
9828
|
var styles$c = {"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"};
|
9840
|
-
styleInject(css_248z$
|
9829
|
+
styleInject(css_248z$d);
|
9841
9830
|
|
9842
9831
|
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 }) {
|
9843
9832
|
const [value, setValue] = React.useState(defaultValue);
|
@@ -9862,9 +9851,9 @@ function NumberField({ placeholder = "", type = "number", active = false, onChan
|
|
9862
9851
|
React__default["default"].createElement("span", { className: styles$c.unit_label }, unit))));
|
9863
9852
|
}
|
9864
9853
|
|
9865
|
-
var css_248z$
|
9854
|
+
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}";
|
9866
9855
|
var styles$b = {"box":"styles-module_box__Z0iod","left_side":"styles-module_left_side__8ObGs","right_side":"styles-module_right_side__Ypp0D"};
|
9867
|
-
styleInject(css_248z$
|
9856
|
+
styleInject(css_248z$c);
|
9868
9857
|
|
9869
9858
|
function OptionField({ id, headline, description, iconName }) {
|
9870
9859
|
return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
@@ -9875,9 +9864,9 @@ function OptionField({ id, headline, description, iconName }) {
|
|
9875
9864
|
React__default["default"].createElement("p", null, description)))));
|
9876
9865
|
}
|
9877
9866
|
|
9878
|
-
var css_248z$
|
9867
|
+
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}";
|
9879
9868
|
var styles$a = {"container":"styles-module_container__r0YH2","preselected":"styles-module_preselected__zEukD"};
|
9880
|
-
styleInject(css_248z$
|
9869
|
+
styleInject(css_248z$b);
|
9881
9870
|
|
9882
9871
|
function OptionField2({ title, iconName, onClick, preselected = false }) {
|
9883
9872
|
function onClickDiv(event) {
|
@@ -9890,9 +9879,9 @@ function OptionField2({ title, iconName, onClick, preselected = false }) {
|
|
9890
9879
|
React__default["default"].createElement("h3", null, title)));
|
9891
9880
|
}
|
9892
9881
|
|
9893
|
-
var css_248z$
|
9882
|
+
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}";
|
9894
9883
|
var styles$9 = {"popover":"styles-module_popover__3ZbOL","active":"styles-module_active__-ZVbh","close_button":"styles-module_close_button__5RYuU"};
|
9895
|
-
styleInject(css_248z$
|
9884
|
+
styleInject(css_248z$a);
|
9896
9885
|
|
9897
9886
|
function Popover({ children, active, onClose }) {
|
9898
9887
|
return (React__default["default"].createElement("div", { className: [styles$9.popover, active ? styles$9.active : styles$9.closed].join(" ") },
|
@@ -9901,9 +9890,9 @@ function Popover({ children, active, onClose }) {
|
|
9901
9890
|
React__default["default"].createElement(SvgIcon, { iconName: "close" }))));
|
9902
9891
|
}
|
9903
9892
|
|
9904
|
-
var css_248z$
|
9893
|
+
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}";
|
9905
9894
|
var styles$8 = {"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"};
|
9906
|
-
styleInject(css_248z$
|
9895
|
+
styleInject(css_248z$9);
|
9907
9896
|
|
9908
9897
|
function ProgressBar({ length, progress, enableDot = false }) {
|
9909
9898
|
return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
@@ -9912,9 +9901,9 @@ function ProgressBar({ length, progress, enableDot = false }) {
|
|
9912
9901
|
React__default["default"].createElement("div", { className: [styles$8.progress, enableDot ? styles$8.enableDot : styles$8.disableDot].join(" "), style: { width: `${progress / length * 100}%` } })))));
|
9913
9902
|
}
|
9914
9903
|
|
9915
|
-
var css_248z$
|
9904
|
+
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}";
|
9916
9905
|
var styles$7 = {"container":"styles-module_container__Grkzw","option":"styles-module_option__nijjM"};
|
9917
|
-
styleInject(css_248z$
|
9906
|
+
styleInject(css_248z$8);
|
9918
9907
|
|
9919
9908
|
function RadioButtons({ options, group, selected, onInput = () => { }, width = "100%" }) {
|
9920
9909
|
const [selectedOption, setSelected] = React.useState(selected);
|
@@ -9931,9 +9920,9 @@ function RadioButtons({ options, group, selected, onInput = () => { }, width = "
|
|
9931
9920
|
React__default["default"].createElement("label", { htmlFor: option.name }, option.text)))));
|
9932
9921
|
}
|
9933
9922
|
|
9934
|
-
var css_248z$
|
9923
|
+
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}";
|
9935
9924
|
var styles$6 = {"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"};
|
9936
|
-
styleInject(css_248z$
|
9925
|
+
styleInject(css_248z$7);
|
9937
9926
|
|
9938
9927
|
function RedirectButton({ id, type = "forward", onClick = () => { }, children = "Zurück" }) {
|
9939
9928
|
function onClickButton(event) {
|
@@ -9958,9 +9947,9 @@ function RedirectButton({ id, type = "forward", onClick = () => { }, children =
|
|
9958
9947
|
React__default["default"].createElement("span", { className: styles$6.label }, children))));
|
9959
9948
|
}
|
9960
9949
|
|
9961
|
-
var css_248z$
|
9950
|
+
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}";
|
9962
9951
|
var styles$5 = {"container":"styles-module_container__VreeH","chip":"styles-module_chip__EvZ4J","show_all":"styles-module_show_all__HKn-s","selected":"styles-module_selected__sArTD"};
|
9963
|
-
styleInject(css_248z$
|
9952
|
+
styleInject(css_248z$6);
|
9964
9953
|
|
9965
9954
|
function SearchChips({ items, onChange, chipsVisible = 9 }) {
|
9966
9955
|
const [showAll, setShowAll] = React.useState(false);
|
@@ -9982,9 +9971,9 @@ function SearchChips({ items, onChange, chipsVisible = 9 }) {
|
|
9982
9971
|
React__default["default"].createElement("div", { className: styles$5.show_all, onClick: () => setShowAll(true) }, "Mehr anzeigen"))));
|
9983
9972
|
}
|
9984
9973
|
|
9985
|
-
var css_248z$
|
9974
|
+
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}";
|
9986
9975
|
var styles$4 = {"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"};
|
9987
|
-
styleInject(css_248z$
|
9976
|
+
styleInject(css_248z$5);
|
9988
9977
|
|
9989
9978
|
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 = [] }) {
|
9990
9979
|
const [value, setValue] = React.useState("");
|
@@ -10038,6 +10027,9 @@ function Searchbar({ placeholder, title = "Suchen", showNoResults = false, error
|
|
10038
10027
|
React__default["default"].createElement("p", null, helpMessage))))));
|
10039
10028
|
}
|
10040
10029
|
|
10030
|
+
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}";
|
10031
|
+
styleInject(css_248z$4);
|
10032
|
+
|
10041
10033
|
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}";
|
10042
10034
|
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"};
|
10043
10035
|
styleInject(css_248z$3);
|
@@ -10519,7 +10511,6 @@ exports.CopyCode = CopyCode;
|
|
10519
10511
|
exports.Dialog = Dialog;
|
10520
10512
|
exports.Dropdown = Dropdown;
|
10521
10513
|
exports.EmptyCard = EmptyCard;
|
10522
|
-
exports.FormButton = FormButton;
|
10523
10514
|
exports.FormText = FormText;
|
10524
10515
|
exports.ForwardButton = ForwardButton;
|
10525
10516
|
exports.Gap = Gap;
|