@thecb/components 7.3.2 → 7.4.0
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/index.cjs.js +48 -312
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +49 -312
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/{.DS_Store → components/.DS_Store} +0 -0
- package/src/components/atoms/icons/{ExternalLinkicon.js → ExternalLinkIcon.js} +0 -0
- package/src/components/{atoms → molecules}/.DS_Store +0 -0
- package/src/components/molecules/index.js +0 -1
- package/src/components/molecules/internal-user-info-form/InternalUserInfoForm.js +0 -266
- package/src/components/molecules/internal-user-info-form/InternalUserInfoForm.state.js +0 -26
- package/src/components/molecules/internal-user-info-form/index.js +0 -11
package/dist/index.esm.js
CHANGED
|
@@ -40334,269 +40334,6 @@ var PROPERTIES_COMMERCIAL_AUTO_ICON = "PROPERTIES_COMMERCIAL_AUTO";
|
|
|
40334
40334
|
var MISC_BILL_ICON = "MISC_SINGLE_BILL";
|
|
40335
40335
|
var iconsMap = (_iconsMap = {}, _defineProperty(_iconsMap, ACCOUNTS_GENERIC_ICON, AccountGenericIcon), _defineProperty(_iconsMap, ACCOUNTS_CONSTRUCTION_ICON, AccountConstructionIcon), _defineProperty(_iconsMap, ACCOUNTS_HEALTH_ICON, AccountMedicalIcon), _defineProperty(_iconsMap, ACCOUNTS_DENTAL_ICON, AccountDentalIcon), _defineProperty(_iconsMap, ACCOUNTS_UTILITY_ELECTRIC_ICON, AccountElectricIcon), _defineProperty(_iconsMap, ACCOUNTS_UTILITY_GARBAGE_ICON, AccountGarbageIcon), _defineProperty(_iconsMap, ACCOUNTS_UTILITY_GAS_ICON, AccountGasIcon), _defineProperty(_iconsMap, ACCOUNTS_UTILITY_WATER_ICON, AccountWaterIcon), _defineProperty(_iconsMap, PROPERTIES_PERSONAL_ICON, PropertyPersonalIcon), _defineProperty(_iconsMap, PROPERTIES_GARAGE_ICON, PropertyGarageIcon), _defineProperty(_iconsMap, PROPERTIES_BUSINESS_ICON, PropertyBusinessIcon), _defineProperty(_iconsMap, PROPERTIES_STOREFRONT_ICON, PropertyStorefrontIcon), _defineProperty(_iconsMap, PROPERTIES_APARTMENT_ICON, PropertyApartmentIcon), _defineProperty(_iconsMap, PROPERTIES_LAND_ICON, PropertyLandIcon), _defineProperty(_iconsMap, PROPERTIES_CAR_ICON, PropertyCarIcon), _defineProperty(_iconsMap, PROPERTIES_MOTORCYCLE_ICON, PropertyMotorcycleIcon), _defineProperty(_iconsMap, PROPERTIES_COMMERCIAL_AUTO_ICON, PropertyCommercialVehicleIcon), _defineProperty(_iconsMap, MISC_BILL_ICON, AccountBillIcon), _iconsMap);
|
|
40336
40336
|
|
|
40337
|
-
var _roleDescriptions;
|
|
40338
|
-
var RESEARCHER = "RESEARCHER";
|
|
40339
|
-
var AGENCY_ADMIN = "AGENCY_ADMIN";
|
|
40340
|
-
var CLIENT_ADMIN = "CLIENT_ADMIN";
|
|
40341
|
-
var SUPERVISOR = "SUPERVISOR";
|
|
40342
|
-
var CB_ADMIN = "CITYBASE_ADMIN";
|
|
40343
|
-
var CREATE_CLIENT_ADMIN = "CREATE_CLIENT_ADMIN";
|
|
40344
|
-
var PROFILE = "PROFILE";
|
|
40345
|
-
var ADD = "ADD";
|
|
40346
|
-
var EDIT = "EDIT";
|
|
40347
|
-
var roleDescriptions = (_roleDescriptions = {}, _defineProperty(_roleDescriptions, RESEARCHER, "Researcher"), _defineProperty(_roleDescriptions, AGENCY_ADMIN, "Agency admin"), _defineProperty(_roleDescriptions, CLIENT_ADMIN, "Client admin"), _defineProperty(_roleDescriptions, SUPERVISOR, "Supervisor"), _defineProperty(_roleDescriptions, CB_ADMIN, "Citybase admin"), _roleDescriptions);
|
|
40348
|
-
|
|
40349
|
-
var InternalUserInfoForm = function InternalUserInfoForm(_ref) {
|
|
40350
|
-
var _ref$variant = _ref.variant,
|
|
40351
|
-
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
40352
|
-
fields = _ref.fields,
|
|
40353
|
-
actions = _ref.actions,
|
|
40354
|
-
clearOnDismount = _ref.clearOnDismount,
|
|
40355
|
-
showErrors = _ref.showErrors,
|
|
40356
|
-
_ref$handleSubmit = _ref.handleSubmit,
|
|
40357
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
40358
|
-
closeForm = _ref.closeForm,
|
|
40359
|
-
allAgencyOptions = _ref.allAgencyOptions,
|
|
40360
|
-
selectedAgencies = _ref.selectedAgencies,
|
|
40361
|
-
allSelected = _ref.allSelected,
|
|
40362
|
-
_ref$toggleSelectAllA = _ref.toggleSelectAllAgencies,
|
|
40363
|
-
toggleSelectAllAgencies = _ref$toggleSelectAllA === void 0 ? noop : _ref$toggleSelectAllA,
|
|
40364
|
-
selectAgency = _ref.selectAgency,
|
|
40365
|
-
roleOptions = _ref.roleOptions,
|
|
40366
|
-
clientOptions = _ref.clientOptions,
|
|
40367
|
-
namesDisabled = _ref.namesDisabled,
|
|
40368
|
-
emailDisabled = _ref.emailDisabled,
|
|
40369
|
-
roleDisabled = _ref.roleDisabled,
|
|
40370
|
-
selectionDisabled = _ref.selectionDisabled,
|
|
40371
|
-
formType = _ref.formType,
|
|
40372
|
-
openChangePasswordForm = _ref.openChangePasswordForm,
|
|
40373
|
-
firstName = _ref.firstName,
|
|
40374
|
-
lastName = _ref.lastName;
|
|
40375
|
-
useEffect$1(function () {
|
|
40376
|
-
if (formType === CREATE_CLIENT_ADMIN) {
|
|
40377
|
-
actions.fields.client.addValidator(required());
|
|
40378
|
-
}
|
|
40379
|
-
|
|
40380
|
-
if (formType !== PROFILE) {
|
|
40381
|
-
actions.fields.email.addValidator(required());
|
|
40382
|
-
actions.fields.role.addValidator(required());
|
|
40383
|
-
}
|
|
40384
|
-
}, []);
|
|
40385
|
-
|
|
40386
|
-
if (clearOnDismount) {
|
|
40387
|
-
useEffect$1(function () {
|
|
40388
|
-
return function () {
|
|
40389
|
-
return actions.form.clear();
|
|
40390
|
-
};
|
|
40391
|
-
}, []);
|
|
40392
|
-
}
|
|
40393
|
-
|
|
40394
|
-
var clientErrorMessages = _defineProperty({}, required.error, "Client is required");
|
|
40395
|
-
|
|
40396
|
-
var firstNameErrorMessages = _defineProperty({}, required.error, "First name is required");
|
|
40397
|
-
|
|
40398
|
-
var lastNameErrorMessages = _defineProperty({}, required.error, "Last name is required");
|
|
40399
|
-
|
|
40400
|
-
var emailErrorMessages = _defineProperty({}, isProbablyEmail.error, "Invalid email address");
|
|
40401
|
-
|
|
40402
|
-
var roleErrorMessages = _defineProperty({}, required.error, "Role is required");
|
|
40403
|
-
|
|
40404
|
-
return /*#__PURE__*/React.createElement(FormContainer$1, {
|
|
40405
|
-
variant: variant,
|
|
40406
|
-
role: "form",
|
|
40407
|
-
"aria-label": "user-info-form",
|
|
40408
|
-
extraStyles: "padding: 0;"
|
|
40409
|
-
}, formType === PROFILE && /*#__PURE__*/React.createElement(Box, {
|
|
40410
|
-
padding: "1.5rem"
|
|
40411
|
-
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
40412
|
-
justify: "flex-start",
|
|
40413
|
-
align: "center"
|
|
40414
|
-
}, /*#__PURE__*/React.createElement(Box, {
|
|
40415
|
-
padding: "1.25rem",
|
|
40416
|
-
borderRadius: "50%",
|
|
40417
|
-
background: "#CACED8"
|
|
40418
|
-
}, /*#__PURE__*/React.createElement(Heading$1, {
|
|
40419
|
-
variant: "h4",
|
|
40420
|
-
weight: "700"
|
|
40421
|
-
}, firstName.charAt(0).toUpperCase(), lastName.charAt(0).toUpperCase())), /*#__PURE__*/React.createElement(Text$1, {
|
|
40422
|
-
variant: "p",
|
|
40423
|
-
weight: "700",
|
|
40424
|
-
extraStyles: "padding-left: 1rem;"
|
|
40425
|
-
}, firstName, " ", lastName))), formType === CREATE_CLIENT_ADMIN && /*#__PURE__*/React.createElement(Box, {
|
|
40426
|
-
padding: "1.5rem 1.5rem 0.5rem",
|
|
40427
|
-
borderColor: GHOST_GREY,
|
|
40428
|
-
borderSize: "1px",
|
|
40429
|
-
borderWidthOverride: "0 0 1px 0"
|
|
40430
|
-
}, /*#__PURE__*/React.createElement(FormInputColumn, null, /*#__PURE__*/React.createElement(Heading$1, {
|
|
40431
|
-
variant: "h6",
|
|
40432
|
-
weight: "700",
|
|
40433
|
-
margin: "0 0 1rem"
|
|
40434
|
-
}, "Select Client"), /*#__PURE__*/React.createElement(FormSelect$1, {
|
|
40435
|
-
labelTextWhenNoError: "Client",
|
|
40436
|
-
errorMessages: clientErrorMessages,
|
|
40437
|
-
options: clientOptions.map(function (client) {
|
|
40438
|
-
return {
|
|
40439
|
-
text: client,
|
|
40440
|
-
value: client,
|
|
40441
|
-
id: client
|
|
40442
|
-
};
|
|
40443
|
-
}),
|
|
40444
|
-
field: fields.client,
|
|
40445
|
-
fieldActions: actions.fields.client,
|
|
40446
|
-
showErrors: showErrors,
|
|
40447
|
-
onKeyDown: function onKeyDown(e) {
|
|
40448
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40449
|
-
}
|
|
40450
|
-
}))), /*#__PURE__*/React.createElement(Box, {
|
|
40451
|
-
padding: formType === PROFILE ? "1.5rem 1.5rem 0" : "1.5rem 1.5rem 0.5rem",
|
|
40452
|
-
borderColor: GHOST_GREY,
|
|
40453
|
-
borderSize: "1px",
|
|
40454
|
-
borderWidthOverride: formType === PROFILE ? "1px 0 0" : "0 0 1px 0"
|
|
40455
|
-
}, /*#__PURE__*/React.createElement(FormInputColumn, null, /*#__PURE__*/React.createElement(Heading$1, {
|
|
40456
|
-
variant: "h6",
|
|
40457
|
-
weight: "700",
|
|
40458
|
-
margin: "0 0 1rem"
|
|
40459
|
-
}, "Personal Information"), /*#__PURE__*/React.createElement(FormInput$1, {
|
|
40460
|
-
labelTextWhenNoError: "First Name",
|
|
40461
|
-
errorMessages: firstNameErrorMessages,
|
|
40462
|
-
field: fields.firstName,
|
|
40463
|
-
fieldActions: actions.fields.firstName,
|
|
40464
|
-
showErrors: showErrors,
|
|
40465
|
-
onKeyDown: function onKeyDown(e) {
|
|
40466
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40467
|
-
},
|
|
40468
|
-
disabled: namesDisabled,
|
|
40469
|
-
autocomplete: "given-name"
|
|
40470
|
-
}), /*#__PURE__*/React.createElement(FormInput$1, {
|
|
40471
|
-
labelTextWhenNoError: "Last Name",
|
|
40472
|
-
errorMessages: lastNameErrorMessages,
|
|
40473
|
-
field: fields.lastName,
|
|
40474
|
-
fieldActions: actions.fields.lastName,
|
|
40475
|
-
showErrors: showErrors,
|
|
40476
|
-
onKeyDown: function onKeyDown(e) {
|
|
40477
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40478
|
-
},
|
|
40479
|
-
disabled: namesDisabled,
|
|
40480
|
-
autocomplete: "family-name"
|
|
40481
|
-
}), /*#__PURE__*/React.createElement(FormInput$1, {
|
|
40482
|
-
labelTextWhenNoError: "Email",
|
|
40483
|
-
errorMessages: emailErrorMessages,
|
|
40484
|
-
field: fields.email,
|
|
40485
|
-
fieldActions: actions.fields.email,
|
|
40486
|
-
showErrors: showErrors,
|
|
40487
|
-
onKeyDown: function onKeyDown(e) {
|
|
40488
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40489
|
-
},
|
|
40490
|
-
disabled: emailDisabled,
|
|
40491
|
-
autocomplete: "email"
|
|
40492
|
-
}), formType === PROFILE && /*#__PURE__*/React.createElement(FormInput$1, {
|
|
40493
|
-
labelTextWhenNoError: "Password",
|
|
40494
|
-
errorMessages: {},
|
|
40495
|
-
field: {
|
|
40496
|
-
rawValue: "•••••••••••••"
|
|
40497
|
-
},
|
|
40498
|
-
disabled: true,
|
|
40499
|
-
decorator: /*#__PURE__*/React.createElement(Text$1, {
|
|
40500
|
-
variant: "pS",
|
|
40501
|
-
color: "#15749D",
|
|
40502
|
-
onClick: openChangePasswordForm,
|
|
40503
|
-
extraStyles: "cursor: pointer;"
|
|
40504
|
-
}, "Change Password")
|
|
40505
|
-
}))), /*#__PURE__*/React.createElement(Box, {
|
|
40506
|
-
padding: "1.5rem"
|
|
40507
|
-
}, formType !== PROFILE && /*#__PURE__*/React.createElement(Box, {
|
|
40508
|
-
padding: "0 0 0.5rem"
|
|
40509
|
-
}, /*#__PURE__*/React.createElement(FormInputColumn, null, /*#__PURE__*/React.createElement(Heading$1, {
|
|
40510
|
-
variant: "h6",
|
|
40511
|
-
weight: "700",
|
|
40512
|
-
margin: "0 0 1rem"
|
|
40513
|
-
}, "User Settings"), /*#__PURE__*/React.createElement(FormSelect$1, {
|
|
40514
|
-
labelTextWhenNoError: "User Role",
|
|
40515
|
-
errorMessages: roleErrorMessages,
|
|
40516
|
-
options: roleOptions.map(function (role) {
|
|
40517
|
-
return {
|
|
40518
|
-
text: roleDescriptions[role],
|
|
40519
|
-
value: role,
|
|
40520
|
-
id: role
|
|
40521
|
-
};
|
|
40522
|
-
}),
|
|
40523
|
-
field: fields.role,
|
|
40524
|
-
fieldActions: actions.fields.role,
|
|
40525
|
-
showErrors: showErrors,
|
|
40526
|
-
onKeyDown: function onKeyDown(e) {
|
|
40527
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40528
|
-
},
|
|
40529
|
-
disabled: roleDisabled
|
|
40530
|
-
}))), (formType === ADD || formType === EDIT) && /*#__PURE__*/React.createElement(Box, {
|
|
40531
|
-
padding: "0.5rem 0 1.5rem"
|
|
40532
|
-
}, /*#__PURE__*/React.createElement(FormInputColumn, null, /*#__PURE__*/React.createElement(Text$1, {
|
|
40533
|
-
variant: "p"
|
|
40534
|
-
}, "Select which agencies the user can view"), /*#__PURE__*/React.createElement(SearchableSelect$1, {
|
|
40535
|
-
actions: actions,
|
|
40536
|
-
fields: fields,
|
|
40537
|
-
items: allAgencyOptions,
|
|
40538
|
-
selectedItems: selectedAgencies,
|
|
40539
|
-
allSelected: allSelected,
|
|
40540
|
-
toggleSelectAllItems: toggleSelectAllAgencies,
|
|
40541
|
-
selectItem: selectAgency,
|
|
40542
|
-
disabled: selectionDisabled
|
|
40543
|
-
}))), /*#__PURE__*/React.createElement(Box, {
|
|
40544
|
-
padding: "0"
|
|
40545
|
-
}, /*#__PURE__*/React.createElement(Stack, {
|
|
40546
|
-
childGap: "1rem",
|
|
40547
|
-
direction: "row",
|
|
40548
|
-
justify: "flex-end"
|
|
40549
|
-
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
40550
|
-
text: "Cancel",
|
|
40551
|
-
action: function action() {
|
|
40552
|
-
if (formType !== CREATE_CLIENT_ADMIN) {
|
|
40553
|
-
toggleSelectAllAgencies(false);
|
|
40554
|
-
}
|
|
40555
|
-
|
|
40556
|
-
closeForm();
|
|
40557
|
-
},
|
|
40558
|
-
variant: "secondary",
|
|
40559
|
-
dataQa: "Cancel",
|
|
40560
|
-
extraStyles: "margin: 0rem; padding: 0.75rem 1.5rem; border-radius: 4px;"
|
|
40561
|
-
}), /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
40562
|
-
text: "Save",
|
|
40563
|
-
action: handleSubmit,
|
|
40564
|
-
variant: "primary",
|
|
40565
|
-
dataQa: "Save",
|
|
40566
|
-
extraStyles: "margin: 0rem; padding: 0.75rem 1.5rem; border-radius: 4px;"
|
|
40567
|
-
})))));
|
|
40568
|
-
};
|
|
40569
|
-
|
|
40570
|
-
var formConfig$5 = {
|
|
40571
|
-
client: {
|
|
40572
|
-
validators: []
|
|
40573
|
-
},
|
|
40574
|
-
firstName: {
|
|
40575
|
-
validators: [required()]
|
|
40576
|
-
},
|
|
40577
|
-
lastName: {
|
|
40578
|
-
validators: [required()]
|
|
40579
|
-
},
|
|
40580
|
-
email: {
|
|
40581
|
-
validators: [isProbablyEmail()]
|
|
40582
|
-
},
|
|
40583
|
-
role: {
|
|
40584
|
-
validators: []
|
|
40585
|
-
},
|
|
40586
|
-
searchTerm: {
|
|
40587
|
-
validators: []
|
|
40588
|
-
}
|
|
40589
|
-
};
|
|
40590
|
-
|
|
40591
|
-
var _createFormState$5 = createFormState(formConfig$5),
|
|
40592
|
-
reducer$5 = _createFormState$5.reducer,
|
|
40593
|
-
mapStateToProps$6 = _createFormState$5.mapStateToProps,
|
|
40594
|
-
mapDispatchToProps$5 = _createFormState$5.mapDispatchToProps;
|
|
40595
|
-
|
|
40596
|
-
InternalUserInfoForm.reducer = reducer$5;
|
|
40597
|
-
InternalUserInfoForm.mapStateToProps = mapStateToProps$6;
|
|
40598
|
-
InternalUserInfoForm.mapDispatchToProps = mapDispatchToProps$5;
|
|
40599
|
-
|
|
40600
40337
|
var LoginForm = function LoginForm(_ref) {
|
|
40601
40338
|
var _emailErrorMessages;
|
|
40602
40339
|
|
|
@@ -40648,7 +40385,7 @@ var LoginForm = function LoginForm(_ref) {
|
|
|
40648
40385
|
}));
|
|
40649
40386
|
};
|
|
40650
40387
|
|
|
40651
|
-
var formConfig$
|
|
40388
|
+
var formConfig$5 = {
|
|
40652
40389
|
email: {
|
|
40653
40390
|
validators: [required(), isProbablyEmail()]
|
|
40654
40391
|
},
|
|
@@ -40657,14 +40394,14 @@ var formConfig$6 = {
|
|
|
40657
40394
|
}
|
|
40658
40395
|
};
|
|
40659
40396
|
|
|
40660
|
-
var _createFormState$
|
|
40661
|
-
reducer$
|
|
40662
|
-
mapStateToProps$
|
|
40663
|
-
mapDispatchToProps$
|
|
40397
|
+
var _createFormState$5 = createFormState(formConfig$5),
|
|
40398
|
+
reducer$5 = _createFormState$5.reducer,
|
|
40399
|
+
mapStateToProps$6 = _createFormState$5.mapStateToProps,
|
|
40400
|
+
mapDispatchToProps$5 = _createFormState$5.mapDispatchToProps;
|
|
40664
40401
|
|
|
40665
|
-
LoginForm.reducer = reducer$
|
|
40666
|
-
LoginForm.mapStateToProps = mapStateToProps$
|
|
40667
|
-
LoginForm.mapDispatchToProps = mapDispatchToProps$
|
|
40402
|
+
LoginForm.reducer = reducer$5;
|
|
40403
|
+
LoginForm.mapStateToProps = mapStateToProps$6;
|
|
40404
|
+
LoginForm.mapDispatchToProps = mapDispatchToProps$5;
|
|
40668
40405
|
|
|
40669
40406
|
/** @license React v16.13.1
|
|
40670
40407
|
* react-is.production.min.js
|
|
@@ -45926,7 +45663,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
45926
45663
|
})));
|
|
45927
45664
|
};
|
|
45928
45665
|
|
|
45929
|
-
var formConfig$
|
|
45666
|
+
var formConfig$6 = {
|
|
45930
45667
|
name: {
|
|
45931
45668
|
validators: [required()]
|
|
45932
45669
|
},
|
|
@@ -45952,14 +45689,14 @@ var formConfig$7 = {
|
|
|
45952
45689
|
}
|
|
45953
45690
|
};
|
|
45954
45691
|
|
|
45955
|
-
var _createFormState$
|
|
45956
|
-
reducer$
|
|
45957
|
-
mapStateToProps$
|
|
45958
|
-
mapDispatchToProps$
|
|
45692
|
+
var _createFormState$6 = createFormState(formConfig$6),
|
|
45693
|
+
reducer$6 = _createFormState$6.reducer,
|
|
45694
|
+
mapStateToProps$7 = _createFormState$6.mapStateToProps,
|
|
45695
|
+
mapDispatchToProps$6 = _createFormState$6.mapDispatchToProps;
|
|
45959
45696
|
|
|
45960
|
-
PaymentFormACH.reducer = reducer$
|
|
45961
|
-
PaymentFormACH.mapStateToProps = mapStateToProps$
|
|
45962
|
-
PaymentFormACH.mapDispatchToProps = mapDispatchToProps$
|
|
45697
|
+
PaymentFormACH.reducer = reducer$6;
|
|
45698
|
+
PaymentFormACH.mapStateToProps = mapStateToProps$7;
|
|
45699
|
+
PaymentFormACH.mapDispatchToProps = mapDispatchToProps$6;
|
|
45963
45700
|
|
|
45964
45701
|
var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
45965
45702
|
var _creditCardNumberErro, _expirationDateErrors, _cvvErrors, _zipCodeErrors;
|
|
@@ -46100,7 +45837,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
46100
45837
|
|
|
46101
45838
|
var PaymentFormCard$1 = withWindowSize(PaymentFormCard);
|
|
46102
45839
|
|
|
46103
|
-
var formConfig$
|
|
45840
|
+
var formConfig$7 = {
|
|
46104
45841
|
country: {
|
|
46105
45842
|
defaultValue: "US",
|
|
46106
45843
|
validators: [required()]
|
|
@@ -46126,14 +45863,14 @@ var formConfig$8 = {
|
|
|
46126
45863
|
}
|
|
46127
45864
|
};
|
|
46128
45865
|
|
|
46129
|
-
var _createFormState$
|
|
46130
|
-
reducer$
|
|
46131
|
-
mapStateToProps$
|
|
46132
|
-
mapDispatchToProps$
|
|
45866
|
+
var _createFormState$7 = createFormState(formConfig$7),
|
|
45867
|
+
reducer$7 = _createFormState$7.reducer,
|
|
45868
|
+
mapStateToProps$8 = _createFormState$7.mapStateToProps,
|
|
45869
|
+
mapDispatchToProps$7 = _createFormState$7.mapDispatchToProps;
|
|
46133
45870
|
|
|
46134
|
-
PaymentFormCard$1.reducer = reducer$
|
|
46135
|
-
PaymentFormCard$1.mapStateToProps = mapStateToProps$
|
|
46136
|
-
PaymentFormCard$1.mapDispatchToProps = mapDispatchToProps$
|
|
45871
|
+
PaymentFormCard$1.reducer = reducer$7;
|
|
45872
|
+
PaymentFormCard$1.mapStateToProps = mapStateToProps$8;
|
|
45873
|
+
PaymentFormCard$1.mapDispatchToProps = mapDispatchToProps$7;
|
|
46137
45874
|
|
|
46138
45875
|
var DashboardIframe = styled.iframe.withConfig({
|
|
46139
45876
|
displayName: "PeriscopeDashboardIframestyled__DashboardIframe",
|
|
@@ -46306,21 +46043,21 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
46306
46043
|
})));
|
|
46307
46044
|
};
|
|
46308
46045
|
|
|
46309
|
-
var formConfig$
|
|
46046
|
+
var formConfig$8 = {
|
|
46310
46047
|
phone: {
|
|
46311
46048
|
validators: [required(), hasLength(10, 10)],
|
|
46312
46049
|
constraints: [onlyIntegers(), hasLength(0, 10)]
|
|
46313
46050
|
}
|
|
46314
46051
|
};
|
|
46315
46052
|
|
|
46316
|
-
var _createFormState$
|
|
46317
|
-
reducer$
|
|
46318
|
-
mapStateToProps$
|
|
46319
|
-
mapDispatchToProps$
|
|
46053
|
+
var _createFormState$8 = createFormState(formConfig$8),
|
|
46054
|
+
reducer$8 = _createFormState$8.reducer,
|
|
46055
|
+
mapStateToProps$9 = _createFormState$8.mapStateToProps,
|
|
46056
|
+
mapDispatchToProps$8 = _createFormState$8.mapDispatchToProps;
|
|
46320
46057
|
|
|
46321
|
-
PhoneForm.reducer = reducer$
|
|
46322
|
-
PhoneForm.mapStateToProps = mapStateToProps$
|
|
46323
|
-
PhoneForm.mapDispatchToProps = mapDispatchToProps$
|
|
46058
|
+
PhoneForm.reducer = reducer$8;
|
|
46059
|
+
PhoneForm.mapStateToProps = mapStateToProps$9;
|
|
46060
|
+
PhoneForm.mapDispatchToProps = mapDispatchToProps$8;
|
|
46324
46061
|
|
|
46325
46062
|
var DefaultHeading = styled.div.withConfig({
|
|
46326
46063
|
displayName: "RadioGroup__DefaultHeading",
|
|
@@ -46690,7 +46427,7 @@ var RegistrationForm = function RegistrationForm(_ref) {
|
|
|
46690
46427
|
})));
|
|
46691
46428
|
};
|
|
46692
46429
|
|
|
46693
|
-
var formConfig$
|
|
46430
|
+
var formConfig$9 = {
|
|
46694
46431
|
firstName: {
|
|
46695
46432
|
validators: [required()]
|
|
46696
46433
|
},
|
|
@@ -46708,14 +46445,14 @@ var formConfig$a = {
|
|
|
46708
46445
|
}
|
|
46709
46446
|
};
|
|
46710
46447
|
|
|
46711
|
-
var _createFormState$
|
|
46712
|
-
reducer$
|
|
46713
|
-
mapStateToProps$
|
|
46714
|
-
mapDispatchToProps$
|
|
46448
|
+
var _createFormState$9 = createFormState(formConfig$9),
|
|
46449
|
+
reducer$9 = _createFormState$9.reducer,
|
|
46450
|
+
mapStateToProps$a = _createFormState$9.mapStateToProps,
|
|
46451
|
+
mapDispatchToProps$9 = _createFormState$9.mapDispatchToProps;
|
|
46715
46452
|
|
|
46716
|
-
RegistrationForm.reducer = reducer$
|
|
46717
|
-
RegistrationForm.mapStateToProps = mapStateToProps$
|
|
46718
|
-
RegistrationForm.mapDispatchToProps = mapDispatchToProps$
|
|
46453
|
+
RegistrationForm.reducer = reducer$9;
|
|
46454
|
+
RegistrationForm.mapStateToProps = mapStateToProps$a;
|
|
46455
|
+
RegistrationForm.mapDispatchToProps = mapDispatchToProps$9;
|
|
46719
46456
|
|
|
46720
46457
|
var ResetConfirmationForm = function ResetConfirmationForm() {
|
|
46721
46458
|
var _useContext = useContext(ThemeContext),
|
|
@@ -46822,7 +46559,7 @@ var ResetPasswordForm = function ResetPasswordForm(_ref) {
|
|
|
46822
46559
|
})));
|
|
46823
46560
|
};
|
|
46824
46561
|
|
|
46825
|
-
var formConfig$
|
|
46562
|
+
var formConfig$a = {
|
|
46826
46563
|
password: {
|
|
46827
46564
|
validators: [required(), hasLength(8, 100), hasNumber(), hasLowercaseLetter(), hasUppercaseLetter(), hasSpecialCharacter()]
|
|
46828
46565
|
},
|
|
@@ -46831,14 +46568,14 @@ var formConfig$b = {
|
|
|
46831
46568
|
}
|
|
46832
46569
|
};
|
|
46833
46570
|
|
|
46834
|
-
var _createFormState$
|
|
46835
|
-
reducer$
|
|
46836
|
-
mapStateToProps$
|
|
46837
|
-
mapDispatchToProps$
|
|
46571
|
+
var _createFormState$a = createFormState(formConfig$a),
|
|
46572
|
+
reducer$a = _createFormState$a.reducer,
|
|
46573
|
+
mapStateToProps$b = _createFormState$a.mapStateToProps,
|
|
46574
|
+
mapDispatchToProps$a = _createFormState$a.mapDispatchToProps;
|
|
46838
46575
|
|
|
46839
|
-
ResetPasswordForm.reducer = reducer$
|
|
46840
|
-
ResetPasswordForm.mapStateToProps = mapStateToProps$
|
|
46841
|
-
ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$
|
|
46576
|
+
ResetPasswordForm.reducer = reducer$a;
|
|
46577
|
+
ResetPasswordForm.mapStateToProps = mapStateToProps$b;
|
|
46578
|
+
ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$a;
|
|
46842
46579
|
|
|
46843
46580
|
var ResetConfirmationForm$2 = function ResetConfirmationForm() {
|
|
46844
46581
|
var _useContext = useContext(ThemeContext),
|
|
@@ -47558,5 +47295,5 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
47558
47295
|
|
|
47559
47296
|
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$N));
|
|
47560
47297
|
|
|
47561
|
-
export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, AutopayOnIcon, BankIcon, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackReversalIcon, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, IconAdd, IconQuitLarge, Imposter, InternalLink,
|
|
47298
|
+
export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, AutopayOnIcon, BankIcon, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackReversalIcon, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, IconAdd, IconQuitLarge, Imposter, InternalLink, Jumbo$1 as Jumbo, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, Loading, LoadingLine, LoginForm, Modal$1 as Modal, Module$1 as Module, Motion, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoCustomerResultsIcon, NoPaymentResultsIcon, NotFoundIcon, Obligation, iconsMap as ObligationIcons, Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentIcon, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PhoneForm, Placeholder$1 as Placeholder, Popover$1 as Popover, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, ProfileImage, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioButtonWithLabel, RadioGroup, RadioSection$1 as RadioSection, Reel, RefundIcon, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess, RoutingNumberImage, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, Spinner$2 as Spinner, Stack, StandardCheckoutImage, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, Switcher, TabSidebar$1 as TabSidebar, TableListItem, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToggleSwitch$1 as ToggleSwitch, TrashIcon$1 as TrashIcon, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VoidedIcon, WalletBannerIcon$1 as WalletBannerIcon, WalletIcon$1 as WalletIcon, WalletIconSmall$1 as WalletIconSmall, WarningIconXS, WelcomeModule$1 as WelcomeModule, WorkflowTile, cardRegistry, index$5 as constants, createPartialAmountFormState, index$4 as util, withWindowSize };
|
|
47562
47299
|
//# sourceMappingURL=index.esm.js.map
|