tf-checkout-react 1.4.13-beta.7 → 1.4.13-beta.8
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/idVerificationContainer/constants.d.ts +1 -0
- package/dist/tf-checkout-react.cjs.development.js +17 -16
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +17 -16
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/delegationsContainer/IssueComponent.tsx +11 -2
- package/src/components/idVerificationContainer/constants.ts +5 -2
|
@@ -8929,6 +8929,21 @@ var RegistrationForm = function RegistrationForm(_ref) {
|
|
|
8929
8929
|
}));
|
|
8930
8930
|
};
|
|
8931
8931
|
|
|
8932
|
+
/* eslint-disable max-len */
|
|
8933
|
+
var VERIFICATION_STATUSES = {
|
|
8934
|
+
PENDING: 'PENDING',
|
|
8935
|
+
APPROVED: 'APPROVED_VERIFIED',
|
|
8936
|
+
FAILED: 'FAILED',
|
|
8937
|
+
WRONG_CUSTOMER: 'WRONG_CUSTOMER'
|
|
8938
|
+
};
|
|
8939
|
+
var VERIFICATION_MESSAGES = {
|
|
8940
|
+
PENDING: 'Your ID verification is currently being processed. We will notify you as soon as it is completed. Thank you for your patience.',
|
|
8941
|
+
APPROVED: 'Your ID verification is approved!',
|
|
8942
|
+
FAILED: 'Unfortunately your ID verification has failed. Please try again.',
|
|
8943
|
+
WRONG_CUSTOMER: 'The order does not belong to the customer.'
|
|
8944
|
+
};
|
|
8945
|
+
var DELEGATION_ACCESS_ERROR = 'Delegation Access not found';
|
|
8946
|
+
|
|
8932
8947
|
var IssueTicketForm = function IssueTicketForm(_ref) {
|
|
8933
8948
|
var _ref$classNamePrefix = _ref.classNamePrefix,
|
|
8934
8949
|
classNamePrefix = _ref$classNamePrefix === void 0 ? 'delegations' : _ref$classNamePrefix,
|
|
@@ -9173,10 +9188,10 @@ var IssueComponent = function IssueComponent(_ref) {
|
|
|
9173
9188
|
hideCancelBtn: true,
|
|
9174
9189
|
message: error,
|
|
9175
9190
|
onClose: function onClose() {
|
|
9176
|
-
return setShowMaxQtyModal(false);
|
|
9191
|
+
return error === DELEGATION_ACCESS_ERROR ? window.location.href = '/' : setShowMaxQtyModal(false);
|
|
9177
9192
|
},
|
|
9178
9193
|
onConfirm: function onConfirm() {
|
|
9179
|
-
return setShowMaxQtyModal(false);
|
|
9194
|
+
return error === DELEGATION_ACCESS_ERROR ? window.location.href = '/' : setShowMaxQtyModal(false);
|
|
9180
9195
|
}
|
|
9181
9196
|
}), showSuccessModal && React__default.createElement(ConfirmModal, {
|
|
9182
9197
|
hideCancelBtn: true,
|
|
@@ -10263,20 +10278,6 @@ var SeatMapContainer = function SeatMapContainer(props) {
|
|
|
10263
10278
|
}));
|
|
10264
10279
|
};
|
|
10265
10280
|
|
|
10266
|
-
/* eslint-disable max-len */
|
|
10267
|
-
var VERIFICATION_STATUSES = {
|
|
10268
|
-
PENDING: 'PENDING',
|
|
10269
|
-
APPROVED: 'APPROVED_VERIFIED',
|
|
10270
|
-
FAILED: 'FAILED',
|
|
10271
|
-
WRONG_CUSTOMER: 'WRONG_CUSTOMER'
|
|
10272
|
-
};
|
|
10273
|
-
var VERIFICATION_MESSAGES = {
|
|
10274
|
-
PENDING: 'Your ID verification is currently being processed. We will notify you as soon as it is completed. Thank you for your patience.',
|
|
10275
|
-
APPROVED: 'Your ID verification is approved!',
|
|
10276
|
-
FAILED: 'Unfortunately your ID verification has failed. Please try again.',
|
|
10277
|
-
WRONG_CUSTOMER: 'The order does not belong to the customer.'
|
|
10278
|
-
};
|
|
10279
|
-
|
|
10280
10281
|
var IDVerification = function IDVerification(props) {
|
|
10281
10282
|
var _props$onGetVerifyUrl = props.onGetVerifyUrlSuccess,
|
|
10282
10283
|
onGetVerifyUrlSuccess = _props$onGetVerifyUrl === void 0 ? _identity : _props$onGetVerifyUrl,
|