@crystaldesign/diva-core 25.13.0-beta.2 → 25.13.0-beta.20
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/build/esm/{ModalsWrapper-7355a438.js → ModalsWrapper-43ca954d.js} +1 -1
- package/build/esm/{index-18144d34.js → index-d8b58d15.js} +16 -32
- package/build/esm/{index-3d38d388.js → index-e491dc52.js} +74 -57
- package/build/esm/index.js +1 -1
- package/build/types/core/src/elements/Auth/Register/index.d.ts.map +1 -1
- package/build/types/core/src/elements/Banner/index.d.ts.map +1 -1
- package/build/types/core/src/store/ContentStore.d.ts +1 -0
- package/build/types/core/src/store/ContentStore.d.ts.map +1 -1
- package/build/types/core/src/store/RootStore.d.ts.map +1 -1
- package/build/types/core/src/utils/dimensionsFunctions.d.ts.map +1 -1
- package/build/umd/124.diva-core.umd.min.js +2 -0
- package/build/umd/124.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/145.diva-core.umd.min.js +1 -1
- package/build/umd/373.diva-core.umd.min.js +1 -1
- package/build/umd/985.diva-core.umd.min.js +2 -0
- package/build/umd/985.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/diva-core.umd.min.js +3 -3
- package/build/umd/report.html +1 -1
- package/package.json +10 -10
- package/build/umd/860.diva-core.umd.min.js +0 -2
- package/build/umd/860.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/940.diva-core.umd.min.js +0 -2
- package/build/umd/940.diva-core.umd.min.js.LICENSE.txt +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as styleInject, u as useDivaCoreContext } from './index-
|
|
1
|
+
import { s as styleInject, u as useDivaCoreContext } from './index-e491dc52.js';
|
|
2
2
|
import { useState, useEffect, useCallback } from 'react';
|
|
3
3
|
import { observer } from 'mobx-react-lite';
|
|
4
4
|
import Button from '@mui/material/Button';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as styleInject, u as useDivaCoreContext, g as getLogger } from './index-
|
|
1
|
+
import { s as styleInject, u as useDivaCoreContext, g as getLogger } from './index-e491dc52.js';
|
|
2
2
|
import { forwardRef, useState, useRef, useEffect, useMemo } from 'react';
|
|
3
3
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
4
4
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
@@ -18,7 +18,6 @@ import Alert from '@mui/material/Alert';
|
|
|
18
18
|
import { useTranslation as useTranslation$1 } from '@crystaldesign/diva-core';
|
|
19
19
|
import { ContentBoxComponent } from '@crystaldesign/content-box';
|
|
20
20
|
import { Alert as Alert$1, CircularProgress as CircularProgress$1 } from '@mui/material';
|
|
21
|
-
import Checkbox from '@mui/material/Checkbox';
|
|
22
21
|
import Snowfall from 'react-snowfall';
|
|
23
22
|
import '@babel/runtime/helpers/classCallCheck';
|
|
24
23
|
import '@babel/runtime/helpers/createClass';
|
|
@@ -66,8 +65,8 @@ var separator = "separator-Hg6fH";
|
|
|
66
65
|
var input = "input--Dl8e";
|
|
67
66
|
var readonly = "readonly-uw66l";
|
|
68
67
|
var link = "link-s-Rcm";
|
|
69
|
-
var css_248z = ".titlecontainer-LeRMj {\n text-align: center;\n color: #474747;\n}\n\n.auth-y9j9- {\n height: 100%;\n width: 100%;\n display: flex;\n background-color: rgba(255, 255, 255);\n z-index: 3;\n overflow: auto;\n justify-content: center;\n align-items: center;\n position: absolute;\n}\n\n.login-box-Zu-QM {\n padding: 20px;\n width: 400px;\n margin: 50px auto auto auto;\n position: relative;\n}\n\n@media (max-height: 450px) {\n .login-box-Zu-QM {\n margin: auto;\n }\n}\n\n.logo-container-Gujpy {\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n margin-bottom: 50px;\n}\n\n.success-7n9-D {\n width: 100%;\n padding: 12px;\n border-radius: 4px;\n margin: 15px 0;\n box-sizing: border-box;\n background-color: rgb(228, 244, 228);\n color: rgb(17, 97, 73);\n border: rgb(195, 231, 202) solid 1px;\n border-left: solid 4px;\n line-height: 20px;\n font-size: 16px;\n position: relative;\n}\n\n.success-7n9-D span {\n width: 30px;\n height: 100%;\n float: left;\n background-repeat: no-repeat;\n background-image: url(\"data:image/svg+xml,%3Csvg fill%3D%22rgb(19%2C 170%2C 82)%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 height%3D%2230px%22 width%3D%2230px%22 viewBox%3D%220 0 24 24%22 %3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M8 15A7 7 0 108 1a7 7 0 000 14zm2.448-10.104a.997.997 0 111.508 1.306l-4.572 5.28a1 1 0 01-1.64-.07l-1.82-2.868a1 1 0 111.69-1.07l1.1 1.734 3.734-4.312z%22 fill%3D%22currentColor%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E\");\n position: absolute;\n}\n\n.success-7n9-D div {\n text-align: justify;\n margin-left: 30px;\n}\n\n[dir=\"ltr\"] .error-gJyOw {\n text-align: left;\n}\n\n[dir=\"rtl\"] .error-gJyOw {\n text-align: right;\n}\n\n.error-gJyOw {\n border-left: 4px solid red !important;\n}\n\n.error-gJyOw {\n border-radius: 4px;\n padding: 10px;\n display: flex;\n align-items: center;\n}\n\n.auth-button-nvUhU {\n width: 100%;\n padding: 12px;\n border-radius: 4px;\n margin: 15px 0;\n opacity: 0.85;\n font-size: 17px;\n line-height: 22px;\n cursor: pointer;\n box-sizing: border-box;\n background-color: var(--diva-theme-palette-primary-main);\n text-align: center;\n color: var(--diva-theme-palette-primary-contrast-text);\n text-transform: none;\n}\n\n.auth-button-nvUhU:hover {\n opacity: 1;\n}\n\n.button-disabled-GS-ox {\n opacity: 0.3;\n cursor: auto;\n cursor: initial;\n}\n.button-disabled-GS-ox:hover {\n opacity: 0.3;\n}\n\n.social-button-p5pUa {\n justify-content: space-around;\n text-transform: none;\n}\n\n.social-button-p5pUa div {\n width: 30px;\n height: 22px;\n float: left;\n background-repeat: no-repeat;\n background-size: contain;\n background-position: center;\n}\n\n.google-WhFJU,\n.microsoft-e3GYR {\n font-size: medium;\n margin-top: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 12px;\n background-color: white;\n color: #333;\n border: 1px solid #ddd;\n border-radius: 4px;\n font-weight: 600;\n padding: 12px;\n transition: all 0.3s ease-in-out;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\n.google-WhFJU:hover,\n.microsoft-e3GYR:hover {\n background-color: #f8f9fa;\n border-color: #bbb;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);\n}\n.google-WhFJU div {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Uploaded to%3A SVG Repo%2C www.svgrepo.com%2C Generator%3A SVG Repo Mixer Tools --%3E%3Csvg width%3D%22800px%22 height%3D%22800px%22 viewBox%3D%22-3 0 262 262%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 preserveAspectRatio%3D%22xMidYMid%22%3E%3Cpath d%3D%22M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027%22 fill%3D%22%234285F4%22%2F%3E%3Cpath d%3D%22M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1%22 fill%3D%22%2334A853%22%2F%3E%3Cpath d%3D%22M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782%22 fill%3D%22%23FBBC05%22%2F%3E%3Cpath d%3D%22M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251%22 fill%3D%22%23EB4335%22%2F%3E%3C%2Fsvg%3E\");\n}\n.microsoft-e3GYR div {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Uploaded to%3A SVG Repo%2C www.svgrepo.com%2C Generator%3A SVG Repo Mixer Tools --%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22aria-label%3D%22Microsoft%22 role%3D%22img%22viewBox%3D%220 0 512 512%22%3E%3Crectwidth%3D%22512%22 height%3D%22512%22rx%3D%2215%25%22fill%3D%22%23ffffff%22%2F%3E%3Cpathd%3D%22M75 75v171h171v-171z%22 fill%3D%22%23f25022%22%2F%3E%3Cpathd%3D%22M266 75v171h171v-171z%22 fill%3D%22%237fba00%22%2F%3E%3Cpathd%3D%22M75 266v171h171v-171z%22 fill%3D%22%2300a4ef%22%2F%3E%3Cpathd%3D%22M266 266v171h171v-171z%22 fill%3D%22%23ffb900%22%2F%3E%3C%2Fsvg%3E\");\n}\n\n.separator-Hg6fH {\n display: flex;\n align-items: center;\n text-align: center;\n color: rgb(184, 196, 194);\n}\n\n.separator-Hg6fH::before,\n.separator-Hg6fH::after {\n content: '';\n flex: 1;\n border-bottom: 1px solid rgb(184, 196, 194);\n}\n\n.separator-Hg6fH:not(:empty)::before {\n margin-right: 0.25em;\n}\n\n.separator-Hg6fH:not(:empty)::after {\n margin-left: 0.25em;\n}\n\n.input--Dl8e {\n width: 100%;\n padding: 1em;\n border: solid 1px rgba(0, 0, 0, 0.1);\n border-radius: 0.3em;\n outline: none;\n margin: 15px 0;\n box-sizing: border-box;\n}\n\n.input--Dl8e:hover,\n.input--Dl8e:focus,\n.input--Dl8e:active {\n border: solid 1px var(--diva-theme-palette-primary-main);\n}\n\n.input--Dl8e::-moz-placeholder {\n color: rgba(0, 0, 0, 0.25);\n}\n\n.input--Dl8e::placeholder {\n color: rgba(0, 0, 0, 0.25);\n}\n\n.input--Dl8e.readonly-uw66l {\n border: solid 1px rgba(0, 0, 0, 0.1);\n color: rgba(0, 0, 0, 0.25);\n}\n\n.reset-input-ERpB4 {\n position: relative;\n}\n\n.reset-input-ERpB4:after {\n content: '';\n position: absolute;\n right: 10px;\n top: 0;\n bottom: 0;\n width: 20px;\n background: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 %3F%3E%3C!DOCTYPE svg PUBLIC '-%2F%2FW3C%2F%2FDTD SVG 1.1%2F%2FEN' 'http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd'%3E%3Csvg id%3D%22Layer_1%22 style%3D%22enable-background%3Anew 0 0 512 512%3B%22 version%3D%221.1%22 viewBox%3D%220 0 512 512%22 width%3D%22512px%22 xml%3Aspace%3D%22preserve%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cg%3E%3Cpath d%3D%22M256%2C33C132.3%2C33%2C32%2C133.3%2C32%2C257c0%2C123.7%2C100.3%2C224%2C224%2C224c123.7%2C0%2C224-100.3%2C224-224C480%2C133.3%2C379.7%2C33%2C256%2C33z M364.3%2C332.5c1.5%2C1.5%2C2.3%2C3.5%2C2.3%2C5.6c0%2C2.1-0.8%2C4.2-2.3%2C5.6l-21.6%2C21.7c-1.6%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3L256%2C289.8 l-75.4%2C75.7c-1.5%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3l-21.6-21.7c-1.5-1.5-2.3-3.5-2.3-5.6c0-2.1%2C0.8-4.2%2C2.3-5.6l75.7-76 l-75.9-75c-3.1-3.1-3.1-8.2%2C0-11.3l21.6-21.7c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l75.7%2C74.7l75.7-74.7 c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l21.6%2C21.7c3.1%2C3.1%2C3.1%2C8.2%2C0%2C11.3l-75.9%2C75L364.3%2C332.5z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E\") center / contain no-repeat;\n cursor: pointer;\n opacity: 0.7;\n}\n\n.link-s-Rcm {\n color: var(--diva-theme-palette-primary-main);\n cursor: pointer;\n display: inline-block;\n}\n";
|
|
70
|
-
styleInject(css_248z);
|
|
68
|
+
var css_248z$1 = ".titlecontainer-LeRMj {\n text-align: center;\n color: #474747;\n}\n\n.auth-y9j9- {\n height: 100%;\n width: 100%;\n display: flex;\n background-color: rgba(255, 255, 255);\n z-index: 3;\n overflow: auto;\n justify-content: center;\n align-items: center;\n position: absolute;\n}\n\n.login-box-Zu-QM {\n padding: 20px;\n width: 400px;\n margin: 50px auto auto auto;\n position: relative;\n}\n\n@media (max-height: 450px) {\n .login-box-Zu-QM {\n margin: auto;\n }\n}\n\n.logo-container-Gujpy {\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n margin-bottom: 50px;\n}\n\n.success-7n9-D {\n width: 100%;\n padding: 12px;\n border-radius: 4px;\n margin: 15px 0;\n box-sizing: border-box;\n background-color: rgb(228, 244, 228);\n color: rgb(17, 97, 73);\n border: rgb(195, 231, 202) solid 1px;\n border-left: solid 4px;\n line-height: 20px;\n font-size: 16px;\n position: relative;\n}\n\n.success-7n9-D span {\n width: 30px;\n height: 100%;\n float: left;\n background-repeat: no-repeat;\n background-image: url(\"data:image/svg+xml,%3Csvg fill%3D%22rgb(19%2C 170%2C 82)%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 height%3D%2230px%22 width%3D%2230px%22 viewBox%3D%220 0 24 24%22 %3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M8 15A7 7 0 108 1a7 7 0 000 14zm2.448-10.104a.997.997 0 111.508 1.306l-4.572 5.28a1 1 0 01-1.64-.07l-1.82-2.868a1 1 0 111.69-1.07l1.1 1.734 3.734-4.312z%22 fill%3D%22currentColor%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E\");\n position: absolute;\n}\n\n.success-7n9-D div {\n text-align: justify;\n margin-left: 30px;\n}\n\n[dir=\"ltr\"] .error-gJyOw {\n text-align: left;\n}\n\n[dir=\"rtl\"] .error-gJyOw {\n text-align: right;\n}\n\n.error-gJyOw {\n border-left: 4px solid red !important;\n}\n\n.error-gJyOw {\n border-radius: 4px;\n padding: 10px;\n display: flex;\n align-items: center;\n}\n\n.auth-button-nvUhU {\n width: 100%;\n padding: 12px;\n border-radius: 4px;\n margin: 15px 0;\n opacity: 0.85;\n font-size: 17px;\n line-height: 22px;\n cursor: pointer;\n box-sizing: border-box;\n background-color: var(--diva-theme-palette-primary-main);\n text-align: center;\n color: var(--diva-theme-palette-primary-contrast-text);\n text-transform: none;\n}\n\n.auth-button-nvUhU:hover {\n opacity: 1;\n}\n\n.button-disabled-GS-ox {\n opacity: 0.3;\n cursor: auto;\n cursor: initial;\n}\n.button-disabled-GS-ox:hover {\n opacity: 0.3;\n}\n\n.social-button-p5pUa {\n justify-content: space-around;\n text-transform: none;\n}\n\n.social-button-p5pUa div {\n width: 30px;\n height: 22px;\n float: left;\n background-repeat: no-repeat;\n background-size: contain;\n background-position: center;\n}\n\n.google-WhFJU,\n.microsoft-e3GYR {\n font-size: medium;\n margin-top: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 12px;\n background-color: white;\n color: #333;\n border: 1px solid #ddd;\n border-radius: 4px;\n font-weight: 600;\n padding: 12px;\n transition: all 0.3s ease-in-out;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\n.google-WhFJU:hover,\n.microsoft-e3GYR:hover {\n background-color: #f8f9fa;\n border-color: #bbb;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);\n}\n.google-WhFJU div {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Uploaded to%3A SVG Repo%2C www.svgrepo.com%2C Generator%3A SVG Repo Mixer Tools --%3E%3Csvg width%3D%22800px%22 height%3D%22800px%22 viewBox%3D%22-3 0 262 262%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 preserveAspectRatio%3D%22xMidYMid%22%3E%3Cpath d%3D%22M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027%22 fill%3D%22%234285F4%22%2F%3E%3Cpath d%3D%22M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1%22 fill%3D%22%2334A853%22%2F%3E%3Cpath d%3D%22M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782%22 fill%3D%22%23FBBC05%22%2F%3E%3Cpath d%3D%22M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251%22 fill%3D%22%23EB4335%22%2F%3E%3C%2Fsvg%3E\");\n}\n.microsoft-e3GYR div {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Uploaded to%3A SVG Repo%2C www.svgrepo.com%2C Generator%3A SVG Repo Mixer Tools --%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22aria-label%3D%22Microsoft%22 role%3D%22img%22viewBox%3D%220 0 512 512%22%3E%3Crectwidth%3D%22512%22 height%3D%22512%22rx%3D%2215%25%22fill%3D%22%23ffffff%22%2F%3E%3Cpathd%3D%22M75 75v171h171v-171z%22 fill%3D%22%23f25022%22%2F%3E%3Cpathd%3D%22M266 75v171h171v-171z%22 fill%3D%22%237fba00%22%2F%3E%3Cpathd%3D%22M75 266v171h171v-171z%22 fill%3D%22%2300a4ef%22%2F%3E%3Cpathd%3D%22M266 266v171h171v-171z%22 fill%3D%22%23ffb900%22%2F%3E%3C%2Fsvg%3E\");\n}\n\n.separator-Hg6fH {\n display: flex;\n align-items: center;\n text-align: center;\n color: rgb(184, 196, 194);\n}\n\n.separator-Hg6fH::before,\n.separator-Hg6fH::after {\n content: '';\n flex: 1;\n border-bottom: 1px solid rgb(184, 196, 194);\n}\n\n.separator-Hg6fH:not(:empty)::before {\n margin-right: 0.25em;\n}\n\n.separator-Hg6fH:not(:empty)::after {\n margin-left: 0.25em;\n}\n\n.input--Dl8e {\n width: 100%;\n padding: 1em;\n border: solid 1px rgba(0, 0, 0, 0.1);\n border-radius: 0.3em;\n outline: none;\n margin: 15px 0;\n box-sizing: border-box;\n}\n\n.input--Dl8e:hover,\n.input--Dl8e:focus,\n.input--Dl8e:active {\n border: solid 1px var(--diva-theme-palette-primary-main);\n}\n\n.input--Dl8e::-moz-placeholder {\n color: rgba(0, 0, 0, 0.25);\n}\n\n.input--Dl8e::placeholder {\n color: rgba(0, 0, 0, 0.25);\n}\n\n.input--Dl8e.readonly-uw66l {\n border: solid 1px rgba(0, 0, 0, 0.1);\n color: rgba(0, 0, 0, 0.25);\n}\n\n.reset-input-ERpB4 {\n position: relative;\n}\n\n.reset-input-ERpB4:after {\n content: '';\n position: absolute;\n right: 10px;\n top: 0;\n bottom: 0;\n width: 20px;\n background: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 %3F%3E%3C!DOCTYPE svg PUBLIC '-%2F%2FW3C%2F%2FDTD SVG 1.1%2F%2FEN' 'http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd'%3E%3Csvg id%3D%22Layer_1%22 style%3D%22enable-background%3Anew 0 0 512 512%3B%22 version%3D%221.1%22 viewBox%3D%220 0 512 512%22 width%3D%22512px%22 xml%3Aspace%3D%22preserve%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cg%3E%3Cpath d%3D%22M256%2C33C132.3%2C33%2C32%2C133.3%2C32%2C257c0%2C123.7%2C100.3%2C224%2C224%2C224c123.7%2C0%2C224-100.3%2C224-224C480%2C133.3%2C379.7%2C33%2C256%2C33z M364.3%2C332.5c1.5%2C1.5%2C2.3%2C3.5%2C2.3%2C5.6c0%2C2.1-0.8%2C4.2-2.3%2C5.6l-21.6%2C21.7c-1.6%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3L256%2C289.8 l-75.4%2C75.7c-1.5%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3l-21.6-21.7c-1.5-1.5-2.3-3.5-2.3-5.6c0-2.1%2C0.8-4.2%2C2.3-5.6l75.7-76 l-75.9-75c-3.1-3.1-3.1-8.2%2C0-11.3l21.6-21.7c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l75.7%2C74.7l75.7-74.7 c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l21.6%2C21.7c3.1%2C3.1%2C3.1%2C8.2%2C0%2C11.3l-75.9%2C75L364.3%2C332.5z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E\") center / contain no-repeat;\n cursor: pointer;\n opacity: 0.7;\n}\n\n.link-s-Rcm {\n color: var(--diva-theme-palette-primary-main);\n cursor: pointer;\n display: inline-block;\n}\n";
|
|
69
|
+
styleInject(css_248z$1);
|
|
71
70
|
|
|
72
71
|
var _excluded$1 = ["className", "readOnly", "resetInput"];
|
|
73
72
|
function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -841,6 +840,11 @@ function WelcomeScreen (_ref) {
|
|
|
841
840
|
});
|
|
842
841
|
}
|
|
843
842
|
|
|
843
|
+
var agbContainer = "agbContainer-WJvAX";
|
|
844
|
+
var checkAgbText = "checkAgbText-RIwjN";
|
|
845
|
+
var css_248z = ".agbContainer-WJvAX {\n display: flex;\n align-items: center;\n gap: 5px;\n padding: 10px;\n}\n\n.checkAgbText-RIwjN {\n display: flex;\n flex-direction: column;\n font-size: 9px;\n}\n";
|
|
846
|
+
styleInject(css_248z);
|
|
847
|
+
|
|
844
848
|
var LOG = getLogger('Framework', 'Register');
|
|
845
849
|
function Register() {
|
|
846
850
|
var _email, _authorizationStore$s, _authorizationStore$s3, _authorizationStore$s4, _configurationStore$n, _configurationStore$n2;
|
|
@@ -881,10 +885,6 @@ function Register() {
|
|
|
881
885
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
882
886
|
loading = _useState16[0],
|
|
883
887
|
setLoading = _useState16[1];
|
|
884
|
-
var _useState17 = useState(false),
|
|
885
|
-
_useState18 = _slicedToArray(_useState17, 2),
|
|
886
|
-
agbAccepted = _useState18[0],
|
|
887
|
-
setAgbAccepted = _useState18[1];
|
|
888
888
|
var onRegister = /*#__PURE__*/function () {
|
|
889
889
|
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
890
890
|
var _authorizationStore$s2;
|
|
@@ -926,8 +926,8 @@ function Register() {
|
|
|
926
926
|
}();
|
|
927
927
|
var useOtp = (_authorizationStore$s3 = authorizationStore.state) === null || _authorizationStore$s3 === void 0 ? void 0 : _authorizationStore$s3.useOtp;
|
|
928
928
|
var validPassword = function validPassword() {
|
|
929
|
-
if (useOtp) return otp != undefined && otp !== '' && password == repeatPassword && password != '' && password != undefined
|
|
930
|
-
return password == repeatPassword && password != '' && password != undefined
|
|
929
|
+
if (useOtp) return otp != undefined && otp !== '' && password == repeatPassword && password != '' && password != undefined;
|
|
930
|
+
return password == repeatPassword && password != '' && password != undefined;
|
|
931
931
|
};
|
|
932
932
|
var loginMethods = (_authorizationStore$s4 = authorizationStore.state) === null || _authorizationStore$s4 === void 0 ? void 0 : _authorizationStore$s4.loginMethods;
|
|
933
933
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
@@ -935,9 +935,7 @@ function Register() {
|
|
|
935
935
|
title: t('auth.title.register'),
|
|
936
936
|
text: t('auth.text.register', ''),
|
|
937
937
|
errorText: errorText !== null && errorText !== void 0 ? errorText : ''
|
|
938
|
-
}), /*#__PURE__*/jsx(OpenId, {
|
|
939
|
-
disabled: !agbAccepted
|
|
940
|
-
}), ((loginMethods === null || loginMethods === void 0 ? void 0 : loginMethods.generic) || (loginMethods === null || loginMethods === void 0 ? void 0 : loginMethods.google) || (loginMethods === null || loginMethods === void 0 ? void 0 : loginMethods.microsoft)) && loginMethods.standard && /*#__PURE__*/jsx("div", {
|
|
938
|
+
}), /*#__PURE__*/jsx(OpenId, {}), ((loginMethods === null || loginMethods === void 0 ? void 0 : loginMethods.generic) || (loginMethods === null || loginMethods === void 0 ? void 0 : loginMethods.google) || (loginMethods === null || loginMethods === void 0 ? void 0 : loginMethods.microsoft)) && loginMethods.standard && /*#__PURE__*/jsx("div", {
|
|
941
939
|
className: separator,
|
|
942
940
|
children: "or"
|
|
943
941
|
}), (loginMethods === null || loginMethods === void 0 ? void 0 : loginMethods.standard) && /*#__PURE__*/jsxs(Fragment, {
|
|
@@ -985,24 +983,10 @@ function Register() {
|
|
|
985
983
|
onChange: function onChange(e) {
|
|
986
984
|
return setRepeatPassword(e.target.value);
|
|
987
985
|
}
|
|
988
|
-
}), /*#__PURE__*/
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
alignItems: 'center'
|
|
993
|
-
},
|
|
994
|
-
children: [/*#__PURE__*/jsx(Checkbox, {
|
|
995
|
-
name: "checkAGB",
|
|
996
|
-
checked: agbAccepted,
|
|
997
|
-
onClick: function onClick() {
|
|
998
|
-
return setAgbAccepted(!agbAccepted);
|
|
999
|
-
}
|
|
1000
|
-
}), /*#__PURE__*/jsxs("div", {
|
|
1001
|
-
style: {
|
|
1002
|
-
display: 'flex',
|
|
1003
|
-
flexDirection: 'column',
|
|
1004
|
-
fontSize: 9
|
|
1005
|
-
},
|
|
986
|
+
}), /*#__PURE__*/jsx("div", {
|
|
987
|
+
className: agbContainer,
|
|
988
|
+
children: /*#__PURE__*/jsxs("div", {
|
|
989
|
+
className: checkAgbText,
|
|
1006
990
|
children: [/*#__PURE__*/jsx("span", {
|
|
1007
991
|
children: t('auth.acceptprivacyandagb')
|
|
1008
992
|
}), /*#__PURE__*/jsxs("span", {
|
|
@@ -1016,7 +1000,7 @@ function Register() {
|
|
|
1016
1000
|
children: t('auth.privacypolicy')
|
|
1017
1001
|
})]
|
|
1018
1002
|
})]
|
|
1019
|
-
})
|
|
1003
|
+
})
|
|
1020
1004
|
}), /*#__PURE__*/jsx(Alert$1, {
|
|
1021
1005
|
severity: "warning",
|
|
1022
1006
|
sx: {
|
|
@@ -46,7 +46,7 @@ import { actions } from '@storybook/addon-actions';
|
|
|
46
46
|
import * as Styles from '@mui/styles';
|
|
47
47
|
|
|
48
48
|
(function() {
|
|
49
|
-
const env = {"STAGE":"production","VERSION":"25.13.0-beta.
|
|
49
|
+
const env = {"STAGE":"production","VERSION":"25.13.0-beta.20"};
|
|
50
50
|
try {
|
|
51
51
|
if (process) {
|
|
52
52
|
process.env = Object.assign({}, process.env);
|
|
@@ -1830,12 +1830,19 @@ var ContentWrapper = observer(function (_ref2) {
|
|
|
1830
1830
|
});
|
|
1831
1831
|
});
|
|
1832
1832
|
|
|
1833
|
+
function getOrientation(width, height) {
|
|
1834
|
+
//current problem on iPad the orientation.type updates not instantly
|
|
1835
|
+
|
|
1836
|
+
if (screen.orientation && screen.orientation.type) return screen.orientation.type.startsWith('portrait') ? 'portrait' : 'landscape';
|
|
1837
|
+
// Fallback if screen.orientation not supported
|
|
1838
|
+
return height >= width ? 'portrait' : 'landscape';
|
|
1839
|
+
}
|
|
1833
1840
|
function calculateDimensions(width, height) {
|
|
1834
1841
|
var isPortrait = false;
|
|
1835
1842
|
var isMobile = false;
|
|
1836
1843
|
var isTablet = false;
|
|
1837
1844
|
if (width < height) {
|
|
1838
|
-
isPortrait =
|
|
1845
|
+
isPortrait = getOrientation(width, height) === 'portrait';
|
|
1839
1846
|
}
|
|
1840
1847
|
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) || width < 900) {
|
|
1841
1848
|
isMobile = true;
|
|
@@ -2086,6 +2093,12 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2086
2093
|
return _ref2.apply(this, arguments);
|
|
2087
2094
|
};
|
|
2088
2095
|
}());
|
|
2096
|
+
_defineProperty(this, "onResizeFunc", function (width, height) {
|
|
2097
|
+
if (/iPhone|iPad|iPod/i.test(navigator.userAgent)) {
|
|
2098
|
+
_this.ref.style.height = "".concat(width, " px");
|
|
2099
|
+
}
|
|
2100
|
+
_this._dimensions = calculateDimensions(width, height);
|
|
2101
|
+
});
|
|
2089
2102
|
this.root = root;
|
|
2090
2103
|
this.configuration = components;
|
|
2091
2104
|
if (window.customElements.get('model-viewer')) this._modelViewerHasLoaded = true;
|
|
@@ -3385,10 +3398,11 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3385
3398
|
}, {
|
|
3386
3399
|
key: "onResize",
|
|
3387
3400
|
value: function onResize(width, height) {
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3401
|
+
var _this12 = this;
|
|
3402
|
+
this.onResizeFunc(width, height);
|
|
3403
|
+
setTimeout(function () {
|
|
3404
|
+
_this12.onResizeFunc(width, height);
|
|
3405
|
+
}, 500);
|
|
3392
3406
|
}
|
|
3393
3407
|
}, {
|
|
3394
3408
|
key: "setGlobalClass",
|
|
@@ -8478,20 +8492,6 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8478
8492
|
}
|
|
8479
8493
|
});
|
|
8480
8494
|
});
|
|
8481
|
-
afterInitPromise.then(function () {
|
|
8482
|
-
_this4.initializingLocalization = false;
|
|
8483
|
-
var warningText = _this4.t('init.deploymentwarntext', '');
|
|
8484
|
-
if (warningText.trim() !== '' && _this4.doShowInitWarnBanner) {
|
|
8485
|
-
var _this4$contentStore;
|
|
8486
|
-
(_this4$contentStore = _this4.contentStore) === null || _this4$contentStore === void 0 || _this4$contentStore.openBanner({
|
|
8487
|
-
key: 'InitialWarningBanner',
|
|
8488
|
-
type: 'WARNING',
|
|
8489
|
-
title: _this4.t('modals.warning', 'Warnung'),
|
|
8490
|
-
text: warningText,
|
|
8491
|
-
useLocalStorage: true
|
|
8492
|
-
});
|
|
8493
|
-
}
|
|
8494
|
-
});
|
|
8495
8495
|
LOG$4.successTransaction('LOAD_SERVER_DATA');
|
|
8496
8496
|
LOG$4.startTransaction({
|
|
8497
8497
|
event: 'onLoadUserData',
|
|
@@ -8500,16 +8500,16 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8500
8500
|
});
|
|
8501
8501
|
|
|
8502
8502
|
//load userdata
|
|
8503
|
-
_context.prev =
|
|
8503
|
+
_context.prev = 27;
|
|
8504
8504
|
if (!urlState.authdata) {
|
|
8505
|
-
_context.next =
|
|
8505
|
+
_context.next = 52;
|
|
8506
8506
|
break;
|
|
8507
8507
|
}
|
|
8508
8508
|
authObject = urlState.authdata;
|
|
8509
8509
|
_context.t0 = authObject === null || authObject === void 0 ? void 0 : authObject.path;
|
|
8510
|
-
_context.next = _context.t0 === 'openIdCallback' ?
|
|
8510
|
+
_context.next = _context.t0 === 'openIdCallback' ? 33 : _context.t0 === 'resetPassword' ? 35 : _context.t0 === 'confirmEmail' ? 37 : _context.t0 === 'acceptInvitation' ? 39 : 49;
|
|
8511
8511
|
break;
|
|
8512
|
-
case
|
|
8512
|
+
case 33:
|
|
8513
8513
|
if (authObject.error) {
|
|
8514
8514
|
LOG$4.errorTransaction('LOAD_USER_DATA', (_authObject$code = authObject.code) !== null && _authObject$code !== void 0 ? _authObject$code : 'CORE_0006', authObject.error);
|
|
8515
8515
|
this.authorizationStore.showLogin(false, true);
|
|
@@ -8519,66 +8519,81 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8519
8519
|
}
|
|
8520
8520
|
this.browserStateStore.setStoredNToken(authObject.token, authObject.expiresBy);
|
|
8521
8521
|
}
|
|
8522
|
-
return _context.abrupt("break",
|
|
8523
|
-
case
|
|
8522
|
+
return _context.abrupt("break", 50);
|
|
8523
|
+
case 35:
|
|
8524
8524
|
if (authObject.error) {
|
|
8525
8525
|
LOG$4.errorTransaction('LOAD_USER_DATA', (_authObject$code2 = authObject.code) !== null && _authObject$code2 !== void 0 ? _authObject$code2 : 'CORE_0006', authObject.error);
|
|
8526
8526
|
this.loadingAndErrorStore.setError(authObject.error);
|
|
8527
8527
|
} else {
|
|
8528
8528
|
this.authorizationStore.showChangePassword(authObject.token);
|
|
8529
8529
|
}
|
|
8530
|
-
return _context.abrupt("break",
|
|
8531
|
-
case
|
|
8530
|
+
return _context.abrupt("break", 50);
|
|
8531
|
+
case 37:
|
|
8532
8532
|
if (authObject.error) {
|
|
8533
8533
|
LOG$4.errorTransaction('LOAD_USER_DATA', (_authObject$code3 = authObject.code) !== null && _authObject$code3 !== void 0 ? _authObject$code3 : 'CORE_0006', authObject.error);
|
|
8534
8534
|
this.loadingAndErrorStore.setError(authObject.error);
|
|
8535
8535
|
} else {
|
|
8536
8536
|
verifyEmailToken = authObject.token;
|
|
8537
8537
|
}
|
|
8538
|
-
return _context.abrupt("break",
|
|
8539
|
-
case
|
|
8538
|
+
return _context.abrupt("break", 50);
|
|
8539
|
+
case 39:
|
|
8540
8540
|
if (!authObject.error) {
|
|
8541
|
-
_context.next =
|
|
8541
|
+
_context.next = 44;
|
|
8542
8542
|
break;
|
|
8543
8543
|
}
|
|
8544
8544
|
LOG$4.errorTransaction('LOAD_INVITATION', (_authObject$code4 = authObject.code) !== null && _authObject$code4 !== void 0 ? _authObject$code4 : 'CORE_0006', authObject.error);
|
|
8545
8545
|
this.loadingAndErrorStore.setError(authObject.error);
|
|
8546
|
-
_context.next =
|
|
8546
|
+
_context.next = 48;
|
|
8547
8547
|
break;
|
|
8548
|
-
case
|
|
8548
|
+
case 44:
|
|
8549
8549
|
if (!this.browserStateStore.getStoredNToken()) {
|
|
8550
|
-
_context.next =
|
|
8550
|
+
_context.next = 47;
|
|
8551
8551
|
break;
|
|
8552
8552
|
}
|
|
8553
|
-
_context.next =
|
|
8553
|
+
_context.next = 47;
|
|
8554
8554
|
return this.authorizationStore.logout(undefined, undefined, undefined, true);
|
|
8555
|
-
case
|
|
8555
|
+
case 47:
|
|
8556
8556
|
this.authorizationStore.showWelcomeScreen((_authObject$additiona = authObject.additionalParams) === null || _authObject$additiona === void 0 ? void 0 : _authObject$additiona.isNewUser, authObject.token, (_authObject$additiona2 = authObject.additionalParams) === null || _authObject$additiona2 === void 0 ? void 0 : _authObject$additiona2.invitationOrgId);
|
|
8557
|
+
case 48:
|
|
8558
|
+
return _context.abrupt("break", 50);
|
|
8557
8559
|
case 49:
|
|
8558
|
-
return _context.abrupt("break",
|
|
8560
|
+
return _context.abrupt("break", 50);
|
|
8559
8561
|
case 50:
|
|
8560
|
-
|
|
8561
|
-
case 51:
|
|
8562
|
-
_context.next = 53;
|
|
8562
|
+
_context.next = 52;
|
|
8563
8563
|
break;
|
|
8564
|
-
case
|
|
8564
|
+
case 52:
|
|
8565
8565
|
LOG$4.successTransaction('LOAD_USER_DATA');
|
|
8566
8566
|
if (!initAuthPromise) {
|
|
8567
|
-
_context.next =
|
|
8567
|
+
_context.next = 59;
|
|
8568
8568
|
break;
|
|
8569
8569
|
}
|
|
8570
|
-
_context.next =
|
|
8570
|
+
_context.next = 56;
|
|
8571
8571
|
return initAuthPromise;
|
|
8572
|
-
case
|
|
8572
|
+
case 56:
|
|
8573
8573
|
loadedOrganization = _context.sent;
|
|
8574
|
-
_context.next = 63;
|
|
8575
|
-
break;
|
|
8576
|
-
case 60:
|
|
8577
8574
|
_context.next = 62;
|
|
8575
|
+
break;
|
|
8576
|
+
case 59:
|
|
8577
|
+
_context.next = 61;
|
|
8578
8578
|
return this.initializeAuthorization(initialOrganization);
|
|
8579
|
-
case
|
|
8579
|
+
case 61:
|
|
8580
8580
|
loadedOrganization = _context.sent;
|
|
8581
|
-
case
|
|
8581
|
+
case 62:
|
|
8582
|
+
//open banner after auth is initialized
|
|
8583
|
+
afterInitPromise.then(function () {
|
|
8584
|
+
_this4.initializingLocalization = false;
|
|
8585
|
+
var warningText = _this4.t('init.deploymentwarntext', '');
|
|
8586
|
+
if (warningText.trim() !== '' && _this4.doShowInitWarnBanner) {
|
|
8587
|
+
var _this4$contentStore;
|
|
8588
|
+
(_this4$contentStore = _this4.contentStore) === null || _this4$contentStore === void 0 || _this4$contentStore.openBanner({
|
|
8589
|
+
key: 'InitialWarningBanner',
|
|
8590
|
+
type: 'WARNING',
|
|
8591
|
+
title: 'modals.warning',
|
|
8592
|
+
text: 'init.deploymentwarntext',
|
|
8593
|
+
useLocalStorage: true
|
|
8594
|
+
});
|
|
8595
|
+
}
|
|
8596
|
+
});
|
|
8582
8597
|
if (!(loadedOrganization == undefined)) {
|
|
8583
8598
|
_context.next = 66;
|
|
8584
8599
|
break;
|
|
@@ -8622,7 +8637,7 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8622
8637
|
break;
|
|
8623
8638
|
case 78:
|
|
8624
8639
|
_context.prev = 78;
|
|
8625
|
-
_context.t1 = _context["catch"](
|
|
8640
|
+
_context.t1 = _context["catch"](27);
|
|
8626
8641
|
if (_context.t1 instanceof DivaError && _context.t1.name == 'AUTH_0006') {
|
|
8627
8642
|
LOG$4.errorTransaction('INITIALIZE_CORE', 'AUTH_0006', 'Existing verification token not valid.');
|
|
8628
8643
|
} else {
|
|
@@ -8667,7 +8682,7 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8667
8682
|
case "end":
|
|
8668
8683
|
return _context.stop();
|
|
8669
8684
|
}
|
|
8670
|
-
}, _callee, this, [[1, 86, 91, 95], [
|
|
8685
|
+
}, _callee, this, [[1, 86, 91, 95], [27, 78]]);
|
|
8671
8686
|
}));
|
|
8672
8687
|
function initialize(_x, _x2, _x3, _x4, _x5, _x6, _x7) {
|
|
8673
8688
|
return _initialize.apply(this, arguments);
|
|
@@ -9488,7 +9503,7 @@ var DrawerMenu = observer(MobileDrawer);
|
|
|
9488
9503
|
function ownKeys$4(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
9489
9504
|
function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$4(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9490
9505
|
var LazyModals$1 = /*#__PURE__*/React.lazy(function () {
|
|
9491
|
-
return import('./ModalsWrapper-
|
|
9506
|
+
return import('./ModalsWrapper-43ca954d.js');
|
|
9492
9507
|
});
|
|
9493
9508
|
function Fullscreen(_ref) {
|
|
9494
9509
|
var inAbsoluteFullscreen = _ref.inAbsoluteFullscreen;
|
|
@@ -9623,9 +9638,11 @@ var InfoCircleOutlined = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fww
|
|
|
9623
9638
|
var ExclamationCircleOutlined = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20aria-hidden%3D%22true%22%20role%3D%22img%22%20width%3D%221em%22%20height%3D%221em%22%20preserveAspectRatio%3D%22xMidYMid%20meet%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M512%2064C264.6%2064%2064%20264.6%2064%20512s200.6%20448%20448%20448s448-200.6%20448-448S759.4%2064%20512%2064zm0%20820c-205.4%200-372-166.6-372-372s166.6-372%20372-372s372%20166.6%20372%20372s-166.6%20372-372%20372z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M464%20688a48%2048%200%201%200%2096%200a48%2048%200%201%200-96%200zm24-112h48c4.4%200%208-3.6%208-8V296c0-4.4-3.6-8-8-8h-48c-4.4%200-8%203.6-8%208v272c0%204.4%203.6%208%208%208z%22%2F%3E%3C%2Fsvg%3E";
|
|
9624
9639
|
|
|
9625
9640
|
function Banner() {
|
|
9626
|
-
var _contentStore$banner2
|
|
9641
|
+
var _contentStore$banner2, _contentStore$banner$;
|
|
9627
9642
|
var _useDivaCoreContext = useDivaCoreContext(),
|
|
9628
9643
|
contentStore = _useDivaCoreContext.contentStore;
|
|
9644
|
+
var _useTranslation = useTranslation(),
|
|
9645
|
+
t = _useTranslation.t;
|
|
9629
9646
|
var onClose = function onClose() {
|
|
9630
9647
|
var _contentStore$banner;
|
|
9631
9648
|
contentStore.closeBanner();
|
|
@@ -9671,9 +9688,9 @@ function Banner() {
|
|
|
9671
9688
|
className: textWrapper,
|
|
9672
9689
|
children: [/*#__PURE__*/jsx("p", {
|
|
9673
9690
|
className: title,
|
|
9674
|
-
children: contentStore.banner.title
|
|
9691
|
+
children: t(contentStore.banner.title)
|
|
9675
9692
|
}), /*#__PURE__*/jsx("span", {
|
|
9676
|
-
children: contentStore.banner.text
|
|
9693
|
+
children: t((_contentStore$banner$ = contentStore.banner.text) !== null && _contentStore$banner$ !== void 0 ? _contentStore$banner$ : '')
|
|
9677
9694
|
})]
|
|
9678
9695
|
})]
|
|
9679
9696
|
});
|
|
@@ -9946,10 +9963,10 @@ function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
|
|
|
9946
9963
|
function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9947
9964
|
var LOG$2 = getLogger('Framework', 'Root');
|
|
9948
9965
|
var LazyAuth = /*#__PURE__*/React.lazy(function () {
|
|
9949
|
-
return import('./index-
|
|
9966
|
+
return import('./index-d8b58d15.js');
|
|
9950
9967
|
});
|
|
9951
9968
|
var LazyModals = /*#__PURE__*/React.lazy(function () {
|
|
9952
|
-
return import('./ModalsWrapper-
|
|
9969
|
+
return import('./ModalsWrapper-43ca954d.js');
|
|
9953
9970
|
});
|
|
9954
9971
|
function ContentComponent() {
|
|
9955
9972
|
var context = useDivaCoreContext();
|
package/build/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as AnalyticsHandler, A as AuthorizationHandler, d as ClientArticleHandler, C as Content, e as DivaMockProvider, H as HelpButton, O as ONE_DAY_UNIX, c as OrganizationHandler, P as ProductHandler, R as RequestStatus, S as SupportHandler, D as default, g as getLogger, f as storyBookCoreMock, a as useDivaCore } from './index-
|
|
1
|
+
export { b as AnalyticsHandler, A as AuthorizationHandler, d as ClientArticleHandler, C as Content, e as DivaMockProvider, H as HelpButton, O as ONE_DAY_UNIX, c as OrganizationHandler, P as ProductHandler, R as RequestStatus, S as SupportHandler, D as default, g as getLogger, f as storyBookCoreMock, a as useDivaCore } from './index-e491dc52.js';
|
|
2
2
|
export { DivaError, default as DivaUtils } from '@crystaldesign/diva-utils';
|
|
3
3
|
export { Trans, useTranslation } from 'react-i18next';
|
|
4
4
|
export * from '@crystaldesign/basket-model';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/Auth/Register/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAgBxC,iBAAS,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/Auth/Register/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAgBxC,iBAAS,QAAQ,sBAkHhB;;;;AAED,wBAAkC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/elements/Banner/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/elements/Banner/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,iBAAS,MAAM,sBAqEd;;;;AAED,wBAAgC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/ContentStore.tsx"],"names":[],"mappings":"AAQA,OAAO,E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IAAI,UAAU,UAwBb;IAED;;OAEG;IACH,IAAI,mBAAmB;;;;MAatB;IAED,IAAI,4BAA4B,YAE/B;IAED,IAAI,6BAA6B,YAEhC;IAED;;OAEG;IACH,IAAI,sBAAsB,aAEzB;IAED;;OAEG;IACH,IAAI,gBAAgB,gCAmBnB;IAED;;OAEG;IACH,IAAI,eAAe,yCAGlB;IAED;;OAEG;IACH,IAAI,mBAAmB,IAAI,UAAU,CAapC;IAED;;;OAGG;IACH,UAAU;IA2BV;;OAEG;IACH,uBAAuB;IAQvB;;;OAGG;IACH,OAAO,CAAC,sBAAsB;IAkB9B,OAAO,CAAC,SAAS;IAIjB;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAsCpB;;;;OAIG;IACH,OAAO,CAAC,OAAO;IAaf;;;OAGG;IACH,OAAO,CAAC,QAAQ;
|
|
1
|
+
{"version":3,"file":"ContentStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/ContentStore.tsx"],"names":[],"mappings":"AAQA,OAAO,EACL,MAAM,EACN,UAAU,EACV,gBAAgB,EAChB,WAAW,EACX,SAAS,EACT,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,SAAS,EAET,KAAK,EACL,WAAW,EACZ,MAAM,UAAU,CAAC;AAClB,OAAO,SAAS,MAAM,aAAa,CAAC;AAKpC,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,UAAU,EAAE,UAAU,EAAE,wBAAwB,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAMxI,MAAM,CAAC,OAAO,OAAO,YAAY;IAgC7B,OAAO,CAAC,IAAI;IA/Bd,OAAO,CAAC,aAAa,CAA6B;IAClD,OAAO,CAAC,KAAK,CAA0C;IACvD,OAAO,CAAC,qBAAqB,CAAkB;IAC/C,OAAO,CAAC,oBAAoB,CAAC,CAAuC;IACpE,OAAO,CAAC,oBAAoB,CAAkB;IAC9C,OAAO,CAAC,MAAM,CAAC,CAAoB;IACnC,OAAO,CA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,UAAU;IAiOxB;;;;;;;;OAQG;YACW,mBAAmB;IAwCjC;;;;;;;;OAQG;YACW,yBAAyB;YAuCzB,uBAAuB;IAgB9B,aAAa;IAapB,IAAW,eAAe,IAAI,SAAS,GAAG,SAAS,CAKlD;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dimensionsFunctions.d.ts","sourceRoot":"","sources":["../../../../../src/utils/dimensionsFunctions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dimensionsFunctions.d.ts","sourceRoot":"","sources":["../../../../../src/utils/dimensionsFunctions.ts"],"names":[],"mappings":"AAWA,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;;;;;;EA0BhE;AAED,wBAAsB,sBAAsB,CAAC,GAAG,EAAE,cAAc,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,2BAUlH;AAED,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,cAAc,QAEhE"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 124.diva-core.umd.min.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunkCrystaldesignDivaCore=self.webpackChunkCrystaldesignDivaCore||[]).push([[124],{6437:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(6177),o=r(7514);const a=(0,n.Z)((0,o.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack")},6033:(e,t,r)=>{"use strict";r.d(t,{Z:()=>E});var n=r(7363),o=r(7726),a=r(9916),s=r(5689),i=r(7843),l=r(518),c=r(2893),f=r(7249),d=r(2791),u=r(8981),p=r(9173),h=r(4685),m=r(9503);function getAlertUtilityClass(e){return(0,m.ZP)("MuiAlert",e)}const g=(0,h.Z)("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);var v=r(3697),w=r(6177),y=r(7514);const S=(0,w.Z)((0,y.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),x=(0,w.Z)((0,y.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),C=(0,w.Z)((0,y.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),k=(0,w.Z)((0,y.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),M=(0,w.Z)((0,y.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),A=(0,i.ZP)(p.Z,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${(0,d.Z)(r.color||r.severity)}`]]}})((0,l.Z)((({theme:e})=>{const t="light"===e.palette.mode?s._j:s.$n,r="light"===e.palette.mode?s.$n:s._j;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter((0,u.Z)(["light"])).map((([n])=>({props:{colorSeverity:n,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${n}StandardBg`]:r(e.palette[n].light,.9),[`& .${g.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}}))),...Object.entries(e.palette).filter((0,u.Z)(["light"])).map((([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${g.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}}))),...Object.entries(e.palette).filter((0,u.Z)(["dark"])).map((([t])=>({props:{colorSeverity:t,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${t}FilledColor`],backgroundColor:e.vars.palette.Alert[`${t}FilledBg`]}:{backgroundColor:"dark"===e.palette.mode?e.palette[t].dark:e.palette[t].main,color:e.palette.getContrastText(e.palette[t].main)}}})))]}}))),b=(0,i.ZP)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Z=(0,i.ZP)("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),j=(0,i.ZP)("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),z={success:(0,y.jsx)(S,{fontSize:"inherit"}),warning:(0,y.jsx)(x,{fontSize:"inherit"}),error:(0,y.jsx)(C,{fontSize:"inherit"}),info:(0,y.jsx)(k,{fontSize:"inherit"})},E=n.forwardRef((function Alert(e,t){const r=(0,c.i)({props:e,name:"MuiAlert"}),{action:n,children:s,className:i,closeText:l="Close",color:u,components:p={},componentsProps:h={},icon:m,iconMapping:g=z,onClose:w,role:S="alert",severity:x="success",slotProps:C={},slots:k={},variant:E="standard",...P}=r,I={...r,color:u,severity:x,variant:E,colorSeverity:u||x},F=(e=>{const{variant:t,color:r,severity:n,classes:o}=e,s={root:["root",`color${(0,d.Z)(r||n)}`,`${t}${(0,d.Z)(r||n)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return(0,a.Z)(s,getAlertUtilityClass,o)})(I),O={slots:{closeButton:p.CloseButton,closeIcon:p.CloseIcon,...k},slotProps:{...h,...C}},[L,$]=(0,f.Z)("root",{ref:t,shouldForwardComponentProp:!0,className:(0,o.Z)(F.root,i),elementType:A,externalForwardedProps:{...O,...P},ownerState:I,additionalProps:{role:S,elevation:0}}),[R,T]=(0,f.Z)("icon",{className:F.icon,elementType:b,externalForwardedProps:O,ownerState:I}),[W,q]=(0,f.Z)("message",{className:F.message,elementType:Z,externalForwardedProps:O,ownerState:I}),[H,B]=(0,f.Z)("action",{className:F.action,elementType:j,externalForwardedProps:O,ownerState:I}),[D,U]=(0,f.Z)("closeButton",{elementType:v.Z,externalForwardedProps:O,ownerState:I}),[N,_]=(0,f.Z)("closeIcon",{elementType:M,externalForwardedProps:O,ownerState:I});return(0,y.jsxs)(L,{...$,children:[!1!==m?(0,y.jsx)(R,{...T,children:m||g[x]||z[x]}):null,(0,y.jsx)(W,{...q,children:s}),null!=n?(0,y.jsx)(H,{...B,children:n}):null,null==n&&w?(0,y.jsx)(H,{...B,children:(0,y.jsx)(D,{size:"small","aria-label":l,title:l,color:"inherit",onClick:w,...U,children:(0,y.jsx)(N,{fontSize:"small",..._})})}):null]})}))},8942:(e,t,r)=>{var n=r(5108),o="undefined"!=typeof Element,a="function"==typeof Map,s="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function equal(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var r,n,l,c;if(Array.isArray(e)){if((r=e.length)!=t.length)return!1;for(n=r;0!=n--;)if(!equal(e[n],t[n]))return!1;return!0}if(a&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(c=e.entries();!(n=c.next()).done;)if(!t.has(n.value[0]))return!1;for(c=e.entries();!(n=c.next()).done;)if(!equal(n.value[1],t.get(n.value[0])))return!1;return!0}if(s&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(c=e.entries();!(n=c.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((r=e.length)!=t.length)return!1;for(n=r;0!=n--;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((r=(l=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!Object.prototype.hasOwnProperty.call(t,l[n]))return!1;if(o&&e instanceof Element)return!1;for(n=r;0!=n--;)if(("_owner"!==l[n]&&"__v"!==l[n]&&"__o"!==l[n]||!e.$$typeof)&&!equal(e[l[n]],t[l[n]]))return!1;return!0}return e!=e&&t!=t}e.exports=function isEqual(e,t){try{return equal(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return n.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},4376:(e,t,r)=>{"use strict";r.d(t,{Z:()=>lib_Snowfall});var n=r(7363),o=r(8942);function random(e,t){const r=Math.random()*(t-e+1)+e;return Number.isInteger(e)&&Number.isInteger(t)?Math.floor(r):r}function lerp(e,t,r){return(1-r)*e+r*t}function getSize(e){return e?{height:e.offsetHeight,width:e.offsetWidth}:{height:0,width:0}}const a=2*Math.PI,s={color:"#dee4fd",radius:[.5,3],speed:[1,3],wind:[-.5,2],changeFrequency:200,rotationSpeed:[-1,1],opacity:[1,1]};class Snowflake{static createSnowflakes(e,t,r){if(!e)return[];const n=[];for(let o=0;o<t;o++)n.push(new Snowflake(e,r));return n}constructor(e,t={}){this.updateConfig(t);const{radius:r,wind:n,speed:o,rotationSpeed:a,opacity:s}=this.config;this.params={x:random(0,e.offsetWidth),y:random(-e.offsetHeight,0),rotation:random(0,360),radius:random(...r),speed:random(...o),wind:random(...n),rotationSpeed:random(...a),nextSpeed:random(...o),nextWind:random(...n),nextRotationSpeed:random(...a),opacity:random(...s)},this.framesSinceLastUpdate=0}selectImage(){this.config.images&&this.config.images.length>0?this.image=function randomElement(e){return e[Math.floor(Math.random()*e.length)]}(this.config.images):this.image=void 0}updateConfig(e){const t=this.config;this.config={...s,...e},this.config.changeFrequency=random(this.config.changeFrequency,1.5*this.config.changeFrequency),this.params&&!o(this.config.radius,null==t?void 0:t.radius)&&(this.params.radius=random(...this.config.radius)),o(this.config.images,null==t?void 0:t.images)||this.selectImage()}updateTargetParams(){this.params.nextSpeed=random(...this.config.speed),this.params.nextWind=random(...this.config.wind),this.image&&(this.params.nextRotationSpeed=random(...this.config.rotationSpeed))}update(e,t,r=1){const{x:n,y:o,rotation:a,rotationSpeed:s,nextRotationSpeed:i,wind:l,speed:c,nextWind:f,nextSpeed:d,radius:u}=this.params;this.params.x=(n+l*r)%(e+2*u),this.params.x>e+u&&(this.params.x=-u),this.params.y=(o+c*r)%(t+2*u),this.params.y>t+u&&(this.params.y=-u),this.image&&(this.params.rotation=(a+s)%360),this.params.speed=lerp(c,d,.01),this.params.wind=lerp(l,f,.01),this.params.rotationSpeed=lerp(s,i,.01),this.framesSinceLastUpdate++>this.config.changeFrequency&&(this.updateTargetParams(),this.framesSinceLastUpdate=0)}getImageOffscreenCanvas(e,t){var r,n;if(e instanceof HTMLImageElement&&e.loading)return e;let o=Snowflake.offscreenCanvases.get(e);if(o||(o={},Snowflake.offscreenCanvases.set(e,o)),!(t in o)){const n=document.createElement("canvas");n.width=t,n.height=t,null===(r=n.getContext("2d"))||void 0===r||r.drawImage(e,0,0,t,t),o[t]=n}return null!==(n=o[t])&&void 0!==n?n:e}drawCircle(e){e.moveTo(this.params.x,this.params.y),e.arc(this.params.x,this.params.y,this.params.radius,0,a)}drawImage(e){const{x:t,y:r,rotation:n,radius:o}=this.params,a=n*Math.PI/180,s=Math.cos(a),i=Math.sin(a);1!==this.params.opacity&&(e.save(),e.globalAlpha=this.params.opacity),e.setTransform(s,i,-i,s,t,r);const l=this.getImageOffscreenCanvas(this.image,o);e.drawImage(l,-o/2,-o/2,o,o),1!==this.params.opacity&&e.restore()}}Snowflake.offscreenCanvases=new WeakMap;const i=Snowflake,l={pointerEvents:"none",backgroundColor:"transparent",position:"absolute",top:0,left:0,width:"100%",height:"100%"};var c,f,__classPrivateFieldGet=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},__classPrivateFieldSet=function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r};class SnowfallCanvas{get ctx(){return __classPrivateFieldGet(this,c,"f")}get canvas(){return __classPrivateFieldGet(this,f,"f")}set canvas(e){__classPrivateFieldSet(this,f,e,"f"),__classPrivateFieldSet(this,c,e.getContext("2d"),"f")}constructor(e,t){this.lastUpdate=Date.now(),this.snowflakes=[],c.set(this,void 0),f.set(this,void 0),__classPrivateFieldSet(this,f,e,"f"),__classPrivateFieldSet(this,c,e.getContext("2d"),"f"),this.config={snowflakeCount:150,...s,...t},this.snowflakes=[],this.snowflakes=i.createSnowflakes(e,t.snowflakeCount||150,t),this.play()}updateConfig(e){this.config={...this.config,...e};const t=this.config.snowflakeCount-this.snowflakes.length;t>0&&(this.snowflakes=[...this.snowflakes,...i.createSnowflakes(this.canvas,t,e)]),t<0&&(this.snowflakes=this.snowflakes.slice(0,this.config.snowflakeCount));for(const e of this.snowflakes)e.updateConfig(this.config)}render(e=1){const{ctx:t,canvas:r,snowflakes:n}=this;if(!t||!r)return;const{offsetWidth:o,offsetHeight:a}=r;for(const t of n)t.update(o,a,e);if(t.setTransform(1,0,0,1,0,0),t.clearRect(0,0,o,a),this.config.images&&this.config.images.length>0)for(const e of n)e.drawImage(t);else{t.beginPath();for(const e of n)e.drawCircle(t);t.fillStyle=this.config.color,t.fill()}}loop(){const e=Date.now(),t=Date.now()-this.lastUpdate;this.lastUpdate=e;const r=t/16.666666666666668;this.render(r),this.animationFrame=requestAnimationFrame((()=>this.loop()))}play(){this.loop()}pause(){this.animationFrame&&(cancelAnimationFrame(this.animationFrame),this.animationFrame=void 0)}}c=new WeakMap,f=new WeakMap;function useDeepMemo(e){const[t,r]=(0,n.useState)(e);return function useDeepCompareEffect(e,t){const r=(0,n.useRef)(t);return o(t,r.current)||(r.current=t),(0,n.useEffect)(e,r.current)}((()=>r(e)),[e]),t}const lib_Snowfall=({color:e=s.color,changeFrequency:t=s.changeFrequency,radius:r=s.radius,speed:o=s.speed,wind:a=s.wind,rotationSpeed:i=s.rotationSpeed,opacity:c=s.opacity,snowflakeCount:f=150,images:d,style:u}={})=>{const p=(h=u,(0,n.useMemo)((()=>({...l,...h||{}})),[h]));var h;const m=(0,n.useRef)(null),g=(e=>{const[t,r]=(0,n.useState)(getSize(e.current)),o=(0,n.useCallback)((()=>{e.current&&r(getSize(e.current))}),[e]);return(0,n.useEffect)((()=>{const{ResizeObserver:t}=window;if(e.current){if(o(),"function"==typeof t){const r=new t(o);return r.observe(e.current),()=>r.disconnect()}return window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)}}),[e,o]),t})(m),v=useDeepMemo({color:e,changeFrequency:t,radius:r,speed:o,wind:a,rotationSpeed:i,images:d,snowflakeCount:f,opacity:c}),w=(0,n.useRef)(v),y=(0,n.useRef)();return(0,n.useEffect)((()=>(!y.current&&m.current&&(y.current=new SnowfallCanvas(m.current,w.current)),()=>{var e;null===(e=y.current)||void 0===e||e.pause(),y.current=void 0})),[]),(0,n.useEffect)((()=>{y.current&&y.current.updateConfig(v)}),[v]),n.createElement("canvas",{ref:m,height:g.height,width:g.width,style:p,"data-testid":"SnowfallCanvas"})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! filename:124 */
|