@crystaldesign/diva-core 24.11.0-beta.36 → 24.11.0-beta.37
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-f83554c9.js → ModalsWrapper-1baced15.js} +1 -1
- package/build/esm/{index-264fa00a.js → index-50185680.js} +10 -10
- package/build/esm/{index-79c39a19.js → index-7330a604.js} +84 -84
- package/build/esm/index.js +1 -1
- package/build/umd/diva-core.umd.min.js +1 -1
- package/build/umd/report.html +1 -1
- package/package.json +10 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as styleInject, u as useDivaCoreContext } from './index-
|
|
1
|
+
import { i as styleInject, u as useDivaCoreContext } from './index-7330a604.js';
|
|
2
2
|
import { useState, useEffect, useCallback } from 'react';
|
|
3
3
|
import { observer } from 'mobx-react-lite';
|
|
4
4
|
import Button from '@material-ui/core/Button';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as useDivaCoreContext, B as Button, s as socialButton, g as google, m as microsoft, a as getLogger, e as error, b as separator, I as Input, r as resetInput, l as link, c as success, d as auth, f as loginBox, h as logoContainer } from './index-
|
|
1
|
+
import { u as useDivaCoreContext, B as Button, s as socialButton, g as google, m as microsoft, a as getLogger, e as error, b as separator, I as Input, r as resetInput, l as link, c as success, d as auth, f as loginBox, h as logoContainer } from './index-7330a604.js';
|
|
2
2
|
import { useState, useRef, useEffect, useMemo } from 'react';
|
|
3
3
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
4
4
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
@@ -122,7 +122,7 @@ function Login() {
|
|
|
122
122
|
var _useTranslation = useTranslation(),
|
|
123
123
|
t = _useTranslation.t;
|
|
124
124
|
var onContinue = /*#__PURE__*/function () {
|
|
125
|
-
var _ref = _asyncToGenerator(
|
|
125
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
126
126
|
var checkInvitation, response;
|
|
127
127
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
128
128
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -176,7 +176,7 @@ function Login() {
|
|
|
176
176
|
};
|
|
177
177
|
}();
|
|
178
178
|
var onLogin = /*#__PURE__*/function () {
|
|
179
|
-
var _ref2 = _asyncToGenerator(
|
|
179
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
180
180
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
181
181
|
while (1) switch (_context2.prev = _context2.next) {
|
|
182
182
|
case 0:
|
|
@@ -213,7 +213,7 @@ function Login() {
|
|
|
213
213
|
setError(undefined);
|
|
214
214
|
};
|
|
215
215
|
var resetPassword = /*#__PURE__*/function () {
|
|
216
|
-
var _ref3 = _asyncToGenerator(
|
|
216
|
+
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
|
|
217
217
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
218
218
|
while (1) switch (_context3.prev = _context3.next) {
|
|
219
219
|
case 0:
|
|
@@ -348,7 +348,7 @@ function RequestNewPassword (_ref) {
|
|
|
348
348
|
var _useTranslation = useTranslation(),
|
|
349
349
|
t = _useTranslation.t;
|
|
350
350
|
var resetPassword = /*#__PURE__*/function () {
|
|
351
|
-
var _ref2 = _asyncToGenerator(
|
|
351
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
352
352
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
353
353
|
while (1) switch (_context.prev = _context.next) {
|
|
354
354
|
case 0:
|
|
@@ -481,7 +481,7 @@ function ChangePassword (_ref) {
|
|
|
481
481
|
}
|
|
482
482
|
}, [password1, password2]);
|
|
483
483
|
var resetPassword = /*#__PURE__*/function () {
|
|
484
|
-
var _ref2 = _asyncToGenerator(
|
|
484
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
485
485
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
486
486
|
while (1) switch (_context.prev = _context.next) {
|
|
487
487
|
case 0:
|
|
@@ -622,7 +622,7 @@ function WelcomeScreen (_ref) {
|
|
|
622
622
|
var _useTranslation = useTranslation(),
|
|
623
623
|
t = _useTranslation.t;
|
|
624
624
|
var toLogin = /*#__PURE__*/function () {
|
|
625
|
-
var _ref2 = _asyncToGenerator(
|
|
625
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
626
626
|
var invitationMail;
|
|
627
627
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
628
628
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -646,7 +646,7 @@ function WelcomeScreen (_ref) {
|
|
|
646
646
|
};
|
|
647
647
|
}();
|
|
648
648
|
var toRegister = /*#__PURE__*/function () {
|
|
649
|
-
var _ref3 = _asyncToGenerator(
|
|
649
|
+
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
650
650
|
var invitationMail;
|
|
651
651
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
652
652
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -673,7 +673,7 @@ function WelcomeScreen (_ref) {
|
|
|
673
673
|
return _checkInvitation.apply(this, arguments);
|
|
674
674
|
}
|
|
675
675
|
function _checkInvitation() {
|
|
676
|
-
_checkInvitation = _asyncToGenerator(
|
|
676
|
+
_checkInvitation = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
|
|
677
677
|
var _authorizationStore$s;
|
|
678
678
|
var invitationId, invitation;
|
|
679
679
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
@@ -761,7 +761,7 @@ function Register() {
|
|
|
761
761
|
agbAccepted = _useState16[0],
|
|
762
762
|
setAgbAccepted = _useState16[1];
|
|
763
763
|
var onRegister = /*#__PURE__*/function () {
|
|
764
|
-
var _ref = _asyncToGenerator(
|
|
764
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
765
765
|
var _authorizationStore$s2;
|
|
766
766
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
767
767
|
while (1) switch (_context.prev = _context.next) {
|