@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.cjs.js
CHANGED
|
@@ -40342,269 +40342,6 @@ var PROPERTIES_COMMERCIAL_AUTO_ICON = "PROPERTIES_COMMERCIAL_AUTO";
|
|
|
40342
40342
|
var MISC_BILL_ICON = "MISC_SINGLE_BILL";
|
|
40343
40343
|
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);
|
|
40344
40344
|
|
|
40345
|
-
var _roleDescriptions;
|
|
40346
|
-
var RESEARCHER = "RESEARCHER";
|
|
40347
|
-
var AGENCY_ADMIN = "AGENCY_ADMIN";
|
|
40348
|
-
var CLIENT_ADMIN = "CLIENT_ADMIN";
|
|
40349
|
-
var SUPERVISOR = "SUPERVISOR";
|
|
40350
|
-
var CB_ADMIN = "CITYBASE_ADMIN";
|
|
40351
|
-
var CREATE_CLIENT_ADMIN = "CREATE_CLIENT_ADMIN";
|
|
40352
|
-
var PROFILE = "PROFILE";
|
|
40353
|
-
var ADD = "ADD";
|
|
40354
|
-
var EDIT = "EDIT";
|
|
40355
|
-
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);
|
|
40356
|
-
|
|
40357
|
-
var InternalUserInfoForm = function InternalUserInfoForm(_ref) {
|
|
40358
|
-
var _ref$variant = _ref.variant,
|
|
40359
|
-
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
40360
|
-
fields = _ref.fields,
|
|
40361
|
-
actions = _ref.actions,
|
|
40362
|
-
clearOnDismount = _ref.clearOnDismount,
|
|
40363
|
-
showErrors = _ref.showErrors,
|
|
40364
|
-
_ref$handleSubmit = _ref.handleSubmit,
|
|
40365
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
40366
|
-
closeForm = _ref.closeForm,
|
|
40367
|
-
allAgencyOptions = _ref.allAgencyOptions,
|
|
40368
|
-
selectedAgencies = _ref.selectedAgencies,
|
|
40369
|
-
allSelected = _ref.allSelected,
|
|
40370
|
-
_ref$toggleSelectAllA = _ref.toggleSelectAllAgencies,
|
|
40371
|
-
toggleSelectAllAgencies = _ref$toggleSelectAllA === void 0 ? noop : _ref$toggleSelectAllA,
|
|
40372
|
-
selectAgency = _ref.selectAgency,
|
|
40373
|
-
roleOptions = _ref.roleOptions,
|
|
40374
|
-
clientOptions = _ref.clientOptions,
|
|
40375
|
-
namesDisabled = _ref.namesDisabled,
|
|
40376
|
-
emailDisabled = _ref.emailDisabled,
|
|
40377
|
-
roleDisabled = _ref.roleDisabled,
|
|
40378
|
-
selectionDisabled = _ref.selectionDisabled,
|
|
40379
|
-
formType = _ref.formType,
|
|
40380
|
-
openChangePasswordForm = _ref.openChangePasswordForm,
|
|
40381
|
-
firstName = _ref.firstName,
|
|
40382
|
-
lastName = _ref.lastName;
|
|
40383
|
-
React.useEffect(function () {
|
|
40384
|
-
if (formType === CREATE_CLIENT_ADMIN) {
|
|
40385
|
-
actions.fields.client.addValidator(required());
|
|
40386
|
-
}
|
|
40387
|
-
|
|
40388
|
-
if (formType !== PROFILE) {
|
|
40389
|
-
actions.fields.email.addValidator(required());
|
|
40390
|
-
actions.fields.role.addValidator(required());
|
|
40391
|
-
}
|
|
40392
|
-
}, []);
|
|
40393
|
-
|
|
40394
|
-
if (clearOnDismount) {
|
|
40395
|
-
React.useEffect(function () {
|
|
40396
|
-
return function () {
|
|
40397
|
-
return actions.form.clear();
|
|
40398
|
-
};
|
|
40399
|
-
}, []);
|
|
40400
|
-
}
|
|
40401
|
-
|
|
40402
|
-
var clientErrorMessages = _defineProperty({}, required.error, "Client is required");
|
|
40403
|
-
|
|
40404
|
-
var firstNameErrorMessages = _defineProperty({}, required.error, "First name is required");
|
|
40405
|
-
|
|
40406
|
-
var lastNameErrorMessages = _defineProperty({}, required.error, "Last name is required");
|
|
40407
|
-
|
|
40408
|
-
var emailErrorMessages = _defineProperty({}, isProbablyEmail.error, "Invalid email address");
|
|
40409
|
-
|
|
40410
|
-
var roleErrorMessages = _defineProperty({}, required.error, "Role is required");
|
|
40411
|
-
|
|
40412
|
-
return /*#__PURE__*/React__default.createElement(FormContainer$1, {
|
|
40413
|
-
variant: variant,
|
|
40414
|
-
role: "form",
|
|
40415
|
-
"aria-label": "user-info-form",
|
|
40416
|
-
extraStyles: "padding: 0;"
|
|
40417
|
-
}, formType === PROFILE && /*#__PURE__*/React__default.createElement(Box, {
|
|
40418
|
-
padding: "1.5rem"
|
|
40419
|
-
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
40420
|
-
justify: "flex-start",
|
|
40421
|
-
align: "center"
|
|
40422
|
-
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
40423
|
-
padding: "1.25rem",
|
|
40424
|
-
borderRadius: "50%",
|
|
40425
|
-
background: "#CACED8"
|
|
40426
|
-
}, /*#__PURE__*/React__default.createElement(Heading$1, {
|
|
40427
|
-
variant: "h4",
|
|
40428
|
-
weight: "700"
|
|
40429
|
-
}, firstName.charAt(0).toUpperCase(), lastName.charAt(0).toUpperCase())), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
40430
|
-
variant: "p",
|
|
40431
|
-
weight: "700",
|
|
40432
|
-
extraStyles: "padding-left: 1rem;"
|
|
40433
|
-
}, firstName, " ", lastName))), formType === CREATE_CLIENT_ADMIN && /*#__PURE__*/React__default.createElement(Box, {
|
|
40434
|
-
padding: "1.5rem 1.5rem 0.5rem",
|
|
40435
|
-
borderColor: GHOST_GREY,
|
|
40436
|
-
borderSize: "1px",
|
|
40437
|
-
borderWidthOverride: "0 0 1px 0"
|
|
40438
|
-
}, /*#__PURE__*/React__default.createElement(FormInputColumn, null, /*#__PURE__*/React__default.createElement(Heading$1, {
|
|
40439
|
-
variant: "h6",
|
|
40440
|
-
weight: "700",
|
|
40441
|
-
margin: "0 0 1rem"
|
|
40442
|
-
}, "Select Client"), /*#__PURE__*/React__default.createElement(FormSelect$1, {
|
|
40443
|
-
labelTextWhenNoError: "Client",
|
|
40444
|
-
errorMessages: clientErrorMessages,
|
|
40445
|
-
options: clientOptions.map(function (client) {
|
|
40446
|
-
return {
|
|
40447
|
-
text: client,
|
|
40448
|
-
value: client,
|
|
40449
|
-
id: client
|
|
40450
|
-
};
|
|
40451
|
-
}),
|
|
40452
|
-
field: fields.client,
|
|
40453
|
-
fieldActions: actions.fields.client,
|
|
40454
|
-
showErrors: showErrors,
|
|
40455
|
-
onKeyDown: function onKeyDown(e) {
|
|
40456
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40457
|
-
}
|
|
40458
|
-
}))), /*#__PURE__*/React__default.createElement(Box, {
|
|
40459
|
-
padding: formType === PROFILE ? "1.5rem 1.5rem 0" : "1.5rem 1.5rem 0.5rem",
|
|
40460
|
-
borderColor: GHOST_GREY,
|
|
40461
|
-
borderSize: "1px",
|
|
40462
|
-
borderWidthOverride: formType === PROFILE ? "1px 0 0" : "0 0 1px 0"
|
|
40463
|
-
}, /*#__PURE__*/React__default.createElement(FormInputColumn, null, /*#__PURE__*/React__default.createElement(Heading$1, {
|
|
40464
|
-
variant: "h6",
|
|
40465
|
-
weight: "700",
|
|
40466
|
-
margin: "0 0 1rem"
|
|
40467
|
-
}, "Personal Information"), /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
40468
|
-
labelTextWhenNoError: "First Name",
|
|
40469
|
-
errorMessages: firstNameErrorMessages,
|
|
40470
|
-
field: fields.firstName,
|
|
40471
|
-
fieldActions: actions.fields.firstName,
|
|
40472
|
-
showErrors: showErrors,
|
|
40473
|
-
onKeyDown: function onKeyDown(e) {
|
|
40474
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40475
|
-
},
|
|
40476
|
-
disabled: namesDisabled,
|
|
40477
|
-
autocomplete: "given-name"
|
|
40478
|
-
}), /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
40479
|
-
labelTextWhenNoError: "Last Name",
|
|
40480
|
-
errorMessages: lastNameErrorMessages,
|
|
40481
|
-
field: fields.lastName,
|
|
40482
|
-
fieldActions: actions.fields.lastName,
|
|
40483
|
-
showErrors: showErrors,
|
|
40484
|
-
onKeyDown: function onKeyDown(e) {
|
|
40485
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40486
|
-
},
|
|
40487
|
-
disabled: namesDisabled,
|
|
40488
|
-
autocomplete: "family-name"
|
|
40489
|
-
}), /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
40490
|
-
labelTextWhenNoError: "Email",
|
|
40491
|
-
errorMessages: emailErrorMessages,
|
|
40492
|
-
field: fields.email,
|
|
40493
|
-
fieldActions: actions.fields.email,
|
|
40494
|
-
showErrors: showErrors,
|
|
40495
|
-
onKeyDown: function onKeyDown(e) {
|
|
40496
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40497
|
-
},
|
|
40498
|
-
disabled: emailDisabled,
|
|
40499
|
-
autocomplete: "email"
|
|
40500
|
-
}), formType === PROFILE && /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
40501
|
-
labelTextWhenNoError: "Password",
|
|
40502
|
-
errorMessages: {},
|
|
40503
|
-
field: {
|
|
40504
|
-
rawValue: "•••••••••••••"
|
|
40505
|
-
},
|
|
40506
|
-
disabled: true,
|
|
40507
|
-
decorator: /*#__PURE__*/React__default.createElement(Text$1, {
|
|
40508
|
-
variant: "pS",
|
|
40509
|
-
color: "#15749D",
|
|
40510
|
-
onClick: openChangePasswordForm,
|
|
40511
|
-
extraStyles: "cursor: pointer;"
|
|
40512
|
-
}, "Change Password")
|
|
40513
|
-
}))), /*#__PURE__*/React__default.createElement(Box, {
|
|
40514
|
-
padding: "1.5rem"
|
|
40515
|
-
}, formType !== PROFILE && /*#__PURE__*/React__default.createElement(Box, {
|
|
40516
|
-
padding: "0 0 0.5rem"
|
|
40517
|
-
}, /*#__PURE__*/React__default.createElement(FormInputColumn, null, /*#__PURE__*/React__default.createElement(Heading$1, {
|
|
40518
|
-
variant: "h6",
|
|
40519
|
-
weight: "700",
|
|
40520
|
-
margin: "0 0 1rem"
|
|
40521
|
-
}, "User Settings"), /*#__PURE__*/React__default.createElement(FormSelect$1, {
|
|
40522
|
-
labelTextWhenNoError: "User Role",
|
|
40523
|
-
errorMessages: roleErrorMessages,
|
|
40524
|
-
options: roleOptions.map(function (role) {
|
|
40525
|
-
return {
|
|
40526
|
-
text: roleDescriptions[role],
|
|
40527
|
-
value: role,
|
|
40528
|
-
id: role
|
|
40529
|
-
};
|
|
40530
|
-
}),
|
|
40531
|
-
field: fields.role,
|
|
40532
|
-
fieldActions: actions.fields.role,
|
|
40533
|
-
showErrors: showErrors,
|
|
40534
|
-
onKeyDown: function onKeyDown(e) {
|
|
40535
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40536
|
-
},
|
|
40537
|
-
disabled: roleDisabled
|
|
40538
|
-
}))), (formType === ADD || formType === EDIT) && /*#__PURE__*/React__default.createElement(Box, {
|
|
40539
|
-
padding: "0.5rem 0 1.5rem"
|
|
40540
|
-
}, /*#__PURE__*/React__default.createElement(FormInputColumn, null, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
40541
|
-
variant: "p"
|
|
40542
|
-
}, "Select which agencies the user can view"), /*#__PURE__*/React__default.createElement(SearchableSelect$1, {
|
|
40543
|
-
actions: actions,
|
|
40544
|
-
fields: fields,
|
|
40545
|
-
items: allAgencyOptions,
|
|
40546
|
-
selectedItems: selectedAgencies,
|
|
40547
|
-
allSelected: allSelected,
|
|
40548
|
-
toggleSelectAllItems: toggleSelectAllAgencies,
|
|
40549
|
-
selectItem: selectAgency,
|
|
40550
|
-
disabled: selectionDisabled
|
|
40551
|
-
}))), /*#__PURE__*/React__default.createElement(Box, {
|
|
40552
|
-
padding: "0"
|
|
40553
|
-
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
40554
|
-
childGap: "1rem",
|
|
40555
|
-
direction: "row",
|
|
40556
|
-
justify: "flex-end"
|
|
40557
|
-
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
40558
|
-
text: "Cancel",
|
|
40559
|
-
action: function action() {
|
|
40560
|
-
if (formType !== CREATE_CLIENT_ADMIN) {
|
|
40561
|
-
toggleSelectAllAgencies(false);
|
|
40562
|
-
}
|
|
40563
|
-
|
|
40564
|
-
closeForm();
|
|
40565
|
-
},
|
|
40566
|
-
variant: "secondary",
|
|
40567
|
-
dataQa: "Cancel",
|
|
40568
|
-
extraStyles: "margin: 0rem; padding: 0.75rem 1.5rem; border-radius: 4px;"
|
|
40569
|
-
}), /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
40570
|
-
text: "Save",
|
|
40571
|
-
action: handleSubmit,
|
|
40572
|
-
variant: "primary",
|
|
40573
|
-
dataQa: "Save",
|
|
40574
|
-
extraStyles: "margin: 0rem; padding: 0.75rem 1.5rem; border-radius: 4px;"
|
|
40575
|
-
})))));
|
|
40576
|
-
};
|
|
40577
|
-
|
|
40578
|
-
var formConfig$5 = {
|
|
40579
|
-
client: {
|
|
40580
|
-
validators: []
|
|
40581
|
-
},
|
|
40582
|
-
firstName: {
|
|
40583
|
-
validators: [required()]
|
|
40584
|
-
},
|
|
40585
|
-
lastName: {
|
|
40586
|
-
validators: [required()]
|
|
40587
|
-
},
|
|
40588
|
-
email: {
|
|
40589
|
-
validators: [isProbablyEmail()]
|
|
40590
|
-
},
|
|
40591
|
-
role: {
|
|
40592
|
-
validators: []
|
|
40593
|
-
},
|
|
40594
|
-
searchTerm: {
|
|
40595
|
-
validators: []
|
|
40596
|
-
}
|
|
40597
|
-
};
|
|
40598
|
-
|
|
40599
|
-
var _createFormState$5 = createFormState(formConfig$5),
|
|
40600
|
-
reducer$5 = _createFormState$5.reducer,
|
|
40601
|
-
mapStateToProps$6 = _createFormState$5.mapStateToProps,
|
|
40602
|
-
mapDispatchToProps$5 = _createFormState$5.mapDispatchToProps;
|
|
40603
|
-
|
|
40604
|
-
InternalUserInfoForm.reducer = reducer$5;
|
|
40605
|
-
InternalUserInfoForm.mapStateToProps = mapStateToProps$6;
|
|
40606
|
-
InternalUserInfoForm.mapDispatchToProps = mapDispatchToProps$5;
|
|
40607
|
-
|
|
40608
40345
|
var LoginForm = function LoginForm(_ref) {
|
|
40609
40346
|
var _emailErrorMessages;
|
|
40610
40347
|
|
|
@@ -40656,7 +40393,7 @@ var LoginForm = function LoginForm(_ref) {
|
|
|
40656
40393
|
}));
|
|
40657
40394
|
};
|
|
40658
40395
|
|
|
40659
|
-
var formConfig$
|
|
40396
|
+
var formConfig$5 = {
|
|
40660
40397
|
email: {
|
|
40661
40398
|
validators: [required(), isProbablyEmail()]
|
|
40662
40399
|
},
|
|
@@ -40665,14 +40402,14 @@ var formConfig$6 = {
|
|
|
40665
40402
|
}
|
|
40666
40403
|
};
|
|
40667
40404
|
|
|
40668
|
-
var _createFormState$
|
|
40669
|
-
reducer$
|
|
40670
|
-
mapStateToProps$
|
|
40671
|
-
mapDispatchToProps$
|
|
40405
|
+
var _createFormState$5 = createFormState(formConfig$5),
|
|
40406
|
+
reducer$5 = _createFormState$5.reducer,
|
|
40407
|
+
mapStateToProps$6 = _createFormState$5.mapStateToProps,
|
|
40408
|
+
mapDispatchToProps$5 = _createFormState$5.mapDispatchToProps;
|
|
40672
40409
|
|
|
40673
|
-
LoginForm.reducer = reducer$
|
|
40674
|
-
LoginForm.mapStateToProps = mapStateToProps$
|
|
40675
|
-
LoginForm.mapDispatchToProps = mapDispatchToProps$
|
|
40410
|
+
LoginForm.reducer = reducer$5;
|
|
40411
|
+
LoginForm.mapStateToProps = mapStateToProps$6;
|
|
40412
|
+
LoginForm.mapDispatchToProps = mapDispatchToProps$5;
|
|
40676
40413
|
|
|
40677
40414
|
/** @license React v16.13.1
|
|
40678
40415
|
* react-is.production.min.js
|
|
@@ -45934,7 +45671,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
45934
45671
|
})));
|
|
45935
45672
|
};
|
|
45936
45673
|
|
|
45937
|
-
var formConfig$
|
|
45674
|
+
var formConfig$6 = {
|
|
45938
45675
|
name: {
|
|
45939
45676
|
validators: [required()]
|
|
45940
45677
|
},
|
|
@@ -45960,14 +45697,14 @@ var formConfig$7 = {
|
|
|
45960
45697
|
}
|
|
45961
45698
|
};
|
|
45962
45699
|
|
|
45963
|
-
var _createFormState$
|
|
45964
|
-
reducer$
|
|
45965
|
-
mapStateToProps$
|
|
45966
|
-
mapDispatchToProps$
|
|
45700
|
+
var _createFormState$6 = createFormState(formConfig$6),
|
|
45701
|
+
reducer$6 = _createFormState$6.reducer,
|
|
45702
|
+
mapStateToProps$7 = _createFormState$6.mapStateToProps,
|
|
45703
|
+
mapDispatchToProps$6 = _createFormState$6.mapDispatchToProps;
|
|
45967
45704
|
|
|
45968
|
-
PaymentFormACH.reducer = reducer$
|
|
45969
|
-
PaymentFormACH.mapStateToProps = mapStateToProps$
|
|
45970
|
-
PaymentFormACH.mapDispatchToProps = mapDispatchToProps$
|
|
45705
|
+
PaymentFormACH.reducer = reducer$6;
|
|
45706
|
+
PaymentFormACH.mapStateToProps = mapStateToProps$7;
|
|
45707
|
+
PaymentFormACH.mapDispatchToProps = mapDispatchToProps$6;
|
|
45971
45708
|
|
|
45972
45709
|
var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
45973
45710
|
var _creditCardNumberErro, _expirationDateErrors, _cvvErrors, _zipCodeErrors;
|
|
@@ -46108,7 +45845,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
46108
45845
|
|
|
46109
45846
|
var PaymentFormCard$1 = withWindowSize(PaymentFormCard);
|
|
46110
45847
|
|
|
46111
|
-
var formConfig$
|
|
45848
|
+
var formConfig$7 = {
|
|
46112
45849
|
country: {
|
|
46113
45850
|
defaultValue: "US",
|
|
46114
45851
|
validators: [required()]
|
|
@@ -46134,14 +45871,14 @@ var formConfig$8 = {
|
|
|
46134
45871
|
}
|
|
46135
45872
|
};
|
|
46136
45873
|
|
|
46137
|
-
var _createFormState$
|
|
46138
|
-
reducer$
|
|
46139
|
-
mapStateToProps$
|
|
46140
|
-
mapDispatchToProps$
|
|
45874
|
+
var _createFormState$7 = createFormState(formConfig$7),
|
|
45875
|
+
reducer$7 = _createFormState$7.reducer,
|
|
45876
|
+
mapStateToProps$8 = _createFormState$7.mapStateToProps,
|
|
45877
|
+
mapDispatchToProps$7 = _createFormState$7.mapDispatchToProps;
|
|
46141
45878
|
|
|
46142
|
-
PaymentFormCard$1.reducer = reducer$
|
|
46143
|
-
PaymentFormCard$1.mapStateToProps = mapStateToProps$
|
|
46144
|
-
PaymentFormCard$1.mapDispatchToProps = mapDispatchToProps$
|
|
45879
|
+
PaymentFormCard$1.reducer = reducer$7;
|
|
45880
|
+
PaymentFormCard$1.mapStateToProps = mapStateToProps$8;
|
|
45881
|
+
PaymentFormCard$1.mapDispatchToProps = mapDispatchToProps$7;
|
|
46145
45882
|
|
|
46146
45883
|
var DashboardIframe = styled__default.iframe.withConfig({
|
|
46147
45884
|
displayName: "PeriscopeDashboardIframestyled__DashboardIframe",
|
|
@@ -46314,21 +46051,21 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
46314
46051
|
})));
|
|
46315
46052
|
};
|
|
46316
46053
|
|
|
46317
|
-
var formConfig$
|
|
46054
|
+
var formConfig$8 = {
|
|
46318
46055
|
phone: {
|
|
46319
46056
|
validators: [required(), hasLength(10, 10)],
|
|
46320
46057
|
constraints: [onlyIntegers(), hasLength(0, 10)]
|
|
46321
46058
|
}
|
|
46322
46059
|
};
|
|
46323
46060
|
|
|
46324
|
-
var _createFormState$
|
|
46325
|
-
reducer$
|
|
46326
|
-
mapStateToProps$
|
|
46327
|
-
mapDispatchToProps$
|
|
46061
|
+
var _createFormState$8 = createFormState(formConfig$8),
|
|
46062
|
+
reducer$8 = _createFormState$8.reducer,
|
|
46063
|
+
mapStateToProps$9 = _createFormState$8.mapStateToProps,
|
|
46064
|
+
mapDispatchToProps$8 = _createFormState$8.mapDispatchToProps;
|
|
46328
46065
|
|
|
46329
|
-
PhoneForm.reducer = reducer$
|
|
46330
|
-
PhoneForm.mapStateToProps = mapStateToProps$
|
|
46331
|
-
PhoneForm.mapDispatchToProps = mapDispatchToProps$
|
|
46066
|
+
PhoneForm.reducer = reducer$8;
|
|
46067
|
+
PhoneForm.mapStateToProps = mapStateToProps$9;
|
|
46068
|
+
PhoneForm.mapDispatchToProps = mapDispatchToProps$8;
|
|
46332
46069
|
|
|
46333
46070
|
var DefaultHeading = styled__default.div.withConfig({
|
|
46334
46071
|
displayName: "RadioGroup__DefaultHeading",
|
|
@@ -46698,7 +46435,7 @@ var RegistrationForm = function RegistrationForm(_ref) {
|
|
|
46698
46435
|
})));
|
|
46699
46436
|
};
|
|
46700
46437
|
|
|
46701
|
-
var formConfig$
|
|
46438
|
+
var formConfig$9 = {
|
|
46702
46439
|
firstName: {
|
|
46703
46440
|
validators: [required()]
|
|
46704
46441
|
},
|
|
@@ -46716,14 +46453,14 @@ var formConfig$a = {
|
|
|
46716
46453
|
}
|
|
46717
46454
|
};
|
|
46718
46455
|
|
|
46719
|
-
var _createFormState$
|
|
46720
|
-
reducer$
|
|
46721
|
-
mapStateToProps$
|
|
46722
|
-
mapDispatchToProps$
|
|
46456
|
+
var _createFormState$9 = createFormState(formConfig$9),
|
|
46457
|
+
reducer$9 = _createFormState$9.reducer,
|
|
46458
|
+
mapStateToProps$a = _createFormState$9.mapStateToProps,
|
|
46459
|
+
mapDispatchToProps$9 = _createFormState$9.mapDispatchToProps;
|
|
46723
46460
|
|
|
46724
|
-
RegistrationForm.reducer = reducer$
|
|
46725
|
-
RegistrationForm.mapStateToProps = mapStateToProps$
|
|
46726
|
-
RegistrationForm.mapDispatchToProps = mapDispatchToProps$
|
|
46461
|
+
RegistrationForm.reducer = reducer$9;
|
|
46462
|
+
RegistrationForm.mapStateToProps = mapStateToProps$a;
|
|
46463
|
+
RegistrationForm.mapDispatchToProps = mapDispatchToProps$9;
|
|
46727
46464
|
|
|
46728
46465
|
var ResetConfirmationForm = function ResetConfirmationForm() {
|
|
46729
46466
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
@@ -46830,7 +46567,7 @@ var ResetPasswordForm = function ResetPasswordForm(_ref) {
|
|
|
46830
46567
|
})));
|
|
46831
46568
|
};
|
|
46832
46569
|
|
|
46833
|
-
var formConfig$
|
|
46570
|
+
var formConfig$a = {
|
|
46834
46571
|
password: {
|
|
46835
46572
|
validators: [required(), hasLength(8, 100), hasNumber(), hasLowercaseLetter(), hasUppercaseLetter(), hasSpecialCharacter()]
|
|
46836
46573
|
},
|
|
@@ -46839,14 +46576,14 @@ var formConfig$b = {
|
|
|
46839
46576
|
}
|
|
46840
46577
|
};
|
|
46841
46578
|
|
|
46842
|
-
var _createFormState$
|
|
46843
|
-
reducer$
|
|
46844
|
-
mapStateToProps$
|
|
46845
|
-
mapDispatchToProps$
|
|
46579
|
+
var _createFormState$a = createFormState(formConfig$a),
|
|
46580
|
+
reducer$a = _createFormState$a.reducer,
|
|
46581
|
+
mapStateToProps$b = _createFormState$a.mapStateToProps,
|
|
46582
|
+
mapDispatchToProps$a = _createFormState$a.mapDispatchToProps;
|
|
46846
46583
|
|
|
46847
|
-
ResetPasswordForm.reducer = reducer$
|
|
46848
|
-
ResetPasswordForm.mapStateToProps = mapStateToProps$
|
|
46849
|
-
ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$
|
|
46584
|
+
ResetPasswordForm.reducer = reducer$a;
|
|
46585
|
+
ResetPasswordForm.mapStateToProps = mapStateToProps$b;
|
|
46586
|
+
ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$a;
|
|
46850
46587
|
|
|
46851
46588
|
var ResetConfirmationForm$2 = function ResetConfirmationForm() {
|
|
46852
46589
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
@@ -47644,7 +47381,6 @@ exports.IconAdd = IconAdd;
|
|
|
47644
47381
|
exports.IconQuitLarge = IconQuitLarge;
|
|
47645
47382
|
exports.Imposter = Imposter;
|
|
47646
47383
|
exports.InternalLink = InternalLink;
|
|
47647
|
-
exports.InternalUserInfoForm = InternalUserInfoForm;
|
|
47648
47384
|
exports.Jumbo = Jumbo$1;
|
|
47649
47385
|
exports.LabeledAmount = LabeledAmount$1;
|
|
47650
47386
|
exports.LineItem = LineItem$1;
|