@thecb/components 7.3.1 → 7.3.2-beta.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/components/.DS_Store +0 -0
- package/src/components/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
|
@@ -40336,269 +40336,6 @@ var PROPERTIES_COMMERCIAL_AUTO_ICON = "PROPERTIES_COMMERCIAL_AUTO";
|
|
|
40336
40336
|
var MISC_BILL_ICON = "MISC_SINGLE_BILL";
|
|
40337
40337
|
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);
|
|
40338
40338
|
|
|
40339
|
-
var _roleDescriptions;
|
|
40340
|
-
var RESEARCHER = "RESEARCHER";
|
|
40341
|
-
var AGENCY_ADMIN = "AGENCY_ADMIN";
|
|
40342
|
-
var CLIENT_ADMIN = "CLIENT_ADMIN";
|
|
40343
|
-
var SUPERVISOR = "SUPERVISOR";
|
|
40344
|
-
var CB_ADMIN = "CITYBASE_ADMIN";
|
|
40345
|
-
var CREATE_CLIENT_ADMIN = "CREATE_CLIENT_ADMIN";
|
|
40346
|
-
var PROFILE = "PROFILE";
|
|
40347
|
-
var ADD = "ADD";
|
|
40348
|
-
var EDIT = "EDIT";
|
|
40349
|
-
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);
|
|
40350
|
-
|
|
40351
|
-
var InternalUserInfoForm = function InternalUserInfoForm(_ref) {
|
|
40352
|
-
var _ref$variant = _ref.variant,
|
|
40353
|
-
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
40354
|
-
fields = _ref.fields,
|
|
40355
|
-
actions = _ref.actions,
|
|
40356
|
-
clearOnDismount = _ref.clearOnDismount,
|
|
40357
|
-
showErrors = _ref.showErrors,
|
|
40358
|
-
_ref$handleSubmit = _ref.handleSubmit,
|
|
40359
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
40360
|
-
closeForm = _ref.closeForm,
|
|
40361
|
-
allAgencyOptions = _ref.allAgencyOptions,
|
|
40362
|
-
selectedAgencies = _ref.selectedAgencies,
|
|
40363
|
-
allSelected = _ref.allSelected,
|
|
40364
|
-
_ref$toggleSelectAllA = _ref.toggleSelectAllAgencies,
|
|
40365
|
-
toggleSelectAllAgencies = _ref$toggleSelectAllA === void 0 ? noop : _ref$toggleSelectAllA,
|
|
40366
|
-
selectAgency = _ref.selectAgency,
|
|
40367
|
-
roleOptions = _ref.roleOptions,
|
|
40368
|
-
clientOptions = _ref.clientOptions,
|
|
40369
|
-
namesDisabled = _ref.namesDisabled,
|
|
40370
|
-
emailDisabled = _ref.emailDisabled,
|
|
40371
|
-
roleDisabled = _ref.roleDisabled,
|
|
40372
|
-
selectionDisabled = _ref.selectionDisabled,
|
|
40373
|
-
formType = _ref.formType,
|
|
40374
|
-
openChangePasswordForm = _ref.openChangePasswordForm,
|
|
40375
|
-
firstName = _ref.firstName,
|
|
40376
|
-
lastName = _ref.lastName;
|
|
40377
|
-
React.useEffect(function () {
|
|
40378
|
-
if (formType === CREATE_CLIENT_ADMIN) {
|
|
40379
|
-
actions.fields.client.addValidator(required());
|
|
40380
|
-
}
|
|
40381
|
-
|
|
40382
|
-
if (formType !== PROFILE) {
|
|
40383
|
-
actions.fields.email.addValidator(required());
|
|
40384
|
-
actions.fields.role.addValidator(required());
|
|
40385
|
-
}
|
|
40386
|
-
}, []);
|
|
40387
|
-
|
|
40388
|
-
if (clearOnDismount) {
|
|
40389
|
-
React.useEffect(function () {
|
|
40390
|
-
return function () {
|
|
40391
|
-
return actions.form.clear();
|
|
40392
|
-
};
|
|
40393
|
-
}, []);
|
|
40394
|
-
}
|
|
40395
|
-
|
|
40396
|
-
var clientErrorMessages = _defineProperty({}, required.error, "Client is required");
|
|
40397
|
-
|
|
40398
|
-
var firstNameErrorMessages = _defineProperty({}, required.error, "First name is required");
|
|
40399
|
-
|
|
40400
|
-
var lastNameErrorMessages = _defineProperty({}, required.error, "Last name is required");
|
|
40401
|
-
|
|
40402
|
-
var emailErrorMessages = _defineProperty({}, isProbablyEmail.error, "Invalid email address");
|
|
40403
|
-
|
|
40404
|
-
var roleErrorMessages = _defineProperty({}, required.error, "Role is required");
|
|
40405
|
-
|
|
40406
|
-
return /*#__PURE__*/React__default.createElement(FormContainer$1, {
|
|
40407
|
-
variant: variant,
|
|
40408
|
-
role: "form",
|
|
40409
|
-
"aria-label": "user-info-form",
|
|
40410
|
-
extraStyles: "padding: 0;"
|
|
40411
|
-
}, formType === PROFILE && /*#__PURE__*/React__default.createElement(Box, {
|
|
40412
|
-
padding: "1.5rem"
|
|
40413
|
-
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
40414
|
-
justify: "flex-start",
|
|
40415
|
-
align: "center"
|
|
40416
|
-
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
40417
|
-
padding: "1.25rem",
|
|
40418
|
-
borderRadius: "50%",
|
|
40419
|
-
background: "#CACED8"
|
|
40420
|
-
}, /*#__PURE__*/React__default.createElement(Heading$1, {
|
|
40421
|
-
variant: "h4",
|
|
40422
|
-
weight: "700"
|
|
40423
|
-
}, firstName.charAt(0).toUpperCase(), lastName.charAt(0).toUpperCase())), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
40424
|
-
variant: "p",
|
|
40425
|
-
weight: "700",
|
|
40426
|
-
extraStyles: "padding-left: 1rem;"
|
|
40427
|
-
}, firstName, " ", lastName))), formType === CREATE_CLIENT_ADMIN && /*#__PURE__*/React__default.createElement(Box, {
|
|
40428
|
-
padding: "1.5rem 1.5rem 0.5rem",
|
|
40429
|
-
borderColor: GHOST_GREY,
|
|
40430
|
-
borderSize: "1px",
|
|
40431
|
-
borderWidthOverride: "0 0 1px 0"
|
|
40432
|
-
}, /*#__PURE__*/React__default.createElement(FormInputColumn, null, /*#__PURE__*/React__default.createElement(Heading$1, {
|
|
40433
|
-
variant: "h6",
|
|
40434
|
-
weight: "700",
|
|
40435
|
-
margin: "0 0 1rem"
|
|
40436
|
-
}, "Select Client"), /*#__PURE__*/React__default.createElement(FormSelect$1, {
|
|
40437
|
-
labelTextWhenNoError: "Client",
|
|
40438
|
-
errorMessages: clientErrorMessages,
|
|
40439
|
-
options: clientOptions.map(function (client) {
|
|
40440
|
-
return {
|
|
40441
|
-
text: client,
|
|
40442
|
-
value: client,
|
|
40443
|
-
id: client
|
|
40444
|
-
};
|
|
40445
|
-
}),
|
|
40446
|
-
field: fields.client,
|
|
40447
|
-
fieldActions: actions.fields.client,
|
|
40448
|
-
showErrors: showErrors,
|
|
40449
|
-
onKeyDown: function onKeyDown(e) {
|
|
40450
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40451
|
-
}
|
|
40452
|
-
}))), /*#__PURE__*/React__default.createElement(Box, {
|
|
40453
|
-
padding: formType === PROFILE ? "1.5rem 1.5rem 0" : "1.5rem 1.5rem 0.5rem",
|
|
40454
|
-
borderColor: GHOST_GREY,
|
|
40455
|
-
borderSize: "1px",
|
|
40456
|
-
borderWidthOverride: formType === PROFILE ? "1px 0 0" : "0 0 1px 0"
|
|
40457
|
-
}, /*#__PURE__*/React__default.createElement(FormInputColumn, null, /*#__PURE__*/React__default.createElement(Heading$1, {
|
|
40458
|
-
variant: "h6",
|
|
40459
|
-
weight: "700",
|
|
40460
|
-
margin: "0 0 1rem"
|
|
40461
|
-
}, "Personal Information"), /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
40462
|
-
labelTextWhenNoError: "First Name",
|
|
40463
|
-
errorMessages: firstNameErrorMessages,
|
|
40464
|
-
field: fields.firstName,
|
|
40465
|
-
fieldActions: actions.fields.firstName,
|
|
40466
|
-
showErrors: showErrors,
|
|
40467
|
-
onKeyDown: function onKeyDown(e) {
|
|
40468
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40469
|
-
},
|
|
40470
|
-
disabled: namesDisabled,
|
|
40471
|
-
autocomplete: "given-name"
|
|
40472
|
-
}), /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
40473
|
-
labelTextWhenNoError: "Last Name",
|
|
40474
|
-
errorMessages: lastNameErrorMessages,
|
|
40475
|
-
field: fields.lastName,
|
|
40476
|
-
fieldActions: actions.fields.lastName,
|
|
40477
|
-
showErrors: showErrors,
|
|
40478
|
-
onKeyDown: function onKeyDown(e) {
|
|
40479
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40480
|
-
},
|
|
40481
|
-
disabled: namesDisabled,
|
|
40482
|
-
autocomplete: "family-name"
|
|
40483
|
-
}), /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
40484
|
-
labelTextWhenNoError: "Email",
|
|
40485
|
-
errorMessages: emailErrorMessages,
|
|
40486
|
-
field: fields.email,
|
|
40487
|
-
fieldActions: actions.fields.email,
|
|
40488
|
-
showErrors: showErrors,
|
|
40489
|
-
onKeyDown: function onKeyDown(e) {
|
|
40490
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40491
|
-
},
|
|
40492
|
-
disabled: emailDisabled,
|
|
40493
|
-
autocomplete: "email"
|
|
40494
|
-
}), formType === PROFILE && /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
40495
|
-
labelTextWhenNoError: "Password",
|
|
40496
|
-
errorMessages: {},
|
|
40497
|
-
field: {
|
|
40498
|
-
rawValue: "•••••••••••••"
|
|
40499
|
-
},
|
|
40500
|
-
disabled: true,
|
|
40501
|
-
decorator: /*#__PURE__*/React__default.createElement(Text$1, {
|
|
40502
|
-
variant: "pS",
|
|
40503
|
-
color: "#15749D",
|
|
40504
|
-
onClick: openChangePasswordForm,
|
|
40505
|
-
extraStyles: "cursor: pointer;"
|
|
40506
|
-
}, "Change Password")
|
|
40507
|
-
}))), /*#__PURE__*/React__default.createElement(Box, {
|
|
40508
|
-
padding: "1.5rem"
|
|
40509
|
-
}, formType !== PROFILE && /*#__PURE__*/React__default.createElement(Box, {
|
|
40510
|
-
padding: "0 0 0.5rem"
|
|
40511
|
-
}, /*#__PURE__*/React__default.createElement(FormInputColumn, null, /*#__PURE__*/React__default.createElement(Heading$1, {
|
|
40512
|
-
variant: "h6",
|
|
40513
|
-
weight: "700",
|
|
40514
|
-
margin: "0 0 1rem"
|
|
40515
|
-
}, "User Settings"), /*#__PURE__*/React__default.createElement(FormSelect$1, {
|
|
40516
|
-
labelTextWhenNoError: "User Role",
|
|
40517
|
-
errorMessages: roleErrorMessages,
|
|
40518
|
-
options: roleOptions.map(function (role) {
|
|
40519
|
-
return {
|
|
40520
|
-
text: roleDescriptions[role],
|
|
40521
|
-
value: role,
|
|
40522
|
-
id: role
|
|
40523
|
-
};
|
|
40524
|
-
}),
|
|
40525
|
-
field: fields.role,
|
|
40526
|
-
fieldActions: actions.fields.role,
|
|
40527
|
-
showErrors: showErrors,
|
|
40528
|
-
onKeyDown: function onKeyDown(e) {
|
|
40529
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40530
|
-
},
|
|
40531
|
-
disabled: roleDisabled
|
|
40532
|
-
}))), (formType === ADD || formType === EDIT) && /*#__PURE__*/React__default.createElement(Box, {
|
|
40533
|
-
padding: "0.5rem 0 1.5rem"
|
|
40534
|
-
}, /*#__PURE__*/React__default.createElement(FormInputColumn, null, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
40535
|
-
variant: "p"
|
|
40536
|
-
}, "Select which agencies the user can view"), /*#__PURE__*/React__default.createElement(SearchableSelect$1, {
|
|
40537
|
-
actions: actions,
|
|
40538
|
-
fields: fields,
|
|
40539
|
-
items: allAgencyOptions,
|
|
40540
|
-
selectedItems: selectedAgencies,
|
|
40541
|
-
allSelected: allSelected,
|
|
40542
|
-
toggleSelectAllItems: toggleSelectAllAgencies,
|
|
40543
|
-
selectItem: selectAgency,
|
|
40544
|
-
disabled: selectionDisabled
|
|
40545
|
-
}))), /*#__PURE__*/React__default.createElement(Box, {
|
|
40546
|
-
padding: "0"
|
|
40547
|
-
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
40548
|
-
childGap: "1rem",
|
|
40549
|
-
direction: "row",
|
|
40550
|
-
justify: "flex-end"
|
|
40551
|
-
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
40552
|
-
text: "Cancel",
|
|
40553
|
-
action: function action() {
|
|
40554
|
-
if (formType !== CREATE_CLIENT_ADMIN) {
|
|
40555
|
-
toggleSelectAllAgencies(false);
|
|
40556
|
-
}
|
|
40557
|
-
|
|
40558
|
-
closeForm();
|
|
40559
|
-
},
|
|
40560
|
-
variant: "secondary",
|
|
40561
|
-
dataQa: "Cancel",
|
|
40562
|
-
extraStyles: "margin: 0rem; padding: 0.75rem 1.5rem; border-radius: 4px;"
|
|
40563
|
-
}), /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
40564
|
-
text: "Save",
|
|
40565
|
-
action: handleSubmit,
|
|
40566
|
-
variant: "primary",
|
|
40567
|
-
dataQa: "Save",
|
|
40568
|
-
extraStyles: "margin: 0rem; padding: 0.75rem 1.5rem; border-radius: 4px;"
|
|
40569
|
-
})))));
|
|
40570
|
-
};
|
|
40571
|
-
|
|
40572
|
-
var formConfig$5 = {
|
|
40573
|
-
client: {
|
|
40574
|
-
validators: []
|
|
40575
|
-
},
|
|
40576
|
-
firstName: {
|
|
40577
|
-
validators: [required()]
|
|
40578
|
-
},
|
|
40579
|
-
lastName: {
|
|
40580
|
-
validators: [required()]
|
|
40581
|
-
},
|
|
40582
|
-
email: {
|
|
40583
|
-
validators: [isProbablyEmail()]
|
|
40584
|
-
},
|
|
40585
|
-
role: {
|
|
40586
|
-
validators: []
|
|
40587
|
-
},
|
|
40588
|
-
searchTerm: {
|
|
40589
|
-
validators: []
|
|
40590
|
-
}
|
|
40591
|
-
};
|
|
40592
|
-
|
|
40593
|
-
var _createFormState$5 = createFormState(formConfig$5),
|
|
40594
|
-
reducer$5 = _createFormState$5.reducer,
|
|
40595
|
-
mapStateToProps$6 = _createFormState$5.mapStateToProps,
|
|
40596
|
-
mapDispatchToProps$5 = _createFormState$5.mapDispatchToProps;
|
|
40597
|
-
|
|
40598
|
-
InternalUserInfoForm.reducer = reducer$5;
|
|
40599
|
-
InternalUserInfoForm.mapStateToProps = mapStateToProps$6;
|
|
40600
|
-
InternalUserInfoForm.mapDispatchToProps = mapDispatchToProps$5;
|
|
40601
|
-
|
|
40602
40339
|
var LoginForm = function LoginForm(_ref) {
|
|
40603
40340
|
var _emailErrorMessages;
|
|
40604
40341
|
|
|
@@ -40650,7 +40387,7 @@ var LoginForm = function LoginForm(_ref) {
|
|
|
40650
40387
|
}));
|
|
40651
40388
|
};
|
|
40652
40389
|
|
|
40653
|
-
var formConfig$
|
|
40390
|
+
var formConfig$5 = {
|
|
40654
40391
|
email: {
|
|
40655
40392
|
validators: [required(), isProbablyEmail()]
|
|
40656
40393
|
},
|
|
@@ -40659,14 +40396,14 @@ var formConfig$6 = {
|
|
|
40659
40396
|
}
|
|
40660
40397
|
};
|
|
40661
40398
|
|
|
40662
|
-
var _createFormState$
|
|
40663
|
-
reducer$
|
|
40664
|
-
mapStateToProps$
|
|
40665
|
-
mapDispatchToProps$
|
|
40399
|
+
var _createFormState$5 = createFormState(formConfig$5),
|
|
40400
|
+
reducer$5 = _createFormState$5.reducer,
|
|
40401
|
+
mapStateToProps$6 = _createFormState$5.mapStateToProps,
|
|
40402
|
+
mapDispatchToProps$5 = _createFormState$5.mapDispatchToProps;
|
|
40666
40403
|
|
|
40667
|
-
LoginForm.reducer = reducer$
|
|
40668
|
-
LoginForm.mapStateToProps = mapStateToProps$
|
|
40669
|
-
LoginForm.mapDispatchToProps = mapDispatchToProps$
|
|
40404
|
+
LoginForm.reducer = reducer$5;
|
|
40405
|
+
LoginForm.mapStateToProps = mapStateToProps$6;
|
|
40406
|
+
LoginForm.mapDispatchToProps = mapDispatchToProps$5;
|
|
40670
40407
|
|
|
40671
40408
|
/** @license React v16.13.1
|
|
40672
40409
|
* react-is.production.min.js
|
|
@@ -45928,7 +45665,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
45928
45665
|
})));
|
|
45929
45666
|
};
|
|
45930
45667
|
|
|
45931
|
-
var formConfig$
|
|
45668
|
+
var formConfig$6 = {
|
|
45932
45669
|
name: {
|
|
45933
45670
|
validators: [required()]
|
|
45934
45671
|
},
|
|
@@ -45954,14 +45691,14 @@ var formConfig$7 = {
|
|
|
45954
45691
|
}
|
|
45955
45692
|
};
|
|
45956
45693
|
|
|
45957
|
-
var _createFormState$
|
|
45958
|
-
reducer$
|
|
45959
|
-
mapStateToProps$
|
|
45960
|
-
mapDispatchToProps$
|
|
45694
|
+
var _createFormState$6 = createFormState(formConfig$6),
|
|
45695
|
+
reducer$6 = _createFormState$6.reducer,
|
|
45696
|
+
mapStateToProps$7 = _createFormState$6.mapStateToProps,
|
|
45697
|
+
mapDispatchToProps$6 = _createFormState$6.mapDispatchToProps;
|
|
45961
45698
|
|
|
45962
|
-
PaymentFormACH.reducer = reducer$
|
|
45963
|
-
PaymentFormACH.mapStateToProps = mapStateToProps$
|
|
45964
|
-
PaymentFormACH.mapDispatchToProps = mapDispatchToProps$
|
|
45699
|
+
PaymentFormACH.reducer = reducer$6;
|
|
45700
|
+
PaymentFormACH.mapStateToProps = mapStateToProps$7;
|
|
45701
|
+
PaymentFormACH.mapDispatchToProps = mapDispatchToProps$6;
|
|
45965
45702
|
|
|
45966
45703
|
var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
45967
45704
|
var _creditCardNumberErro, _expirationDateErrors, _cvvErrors, _zipCodeErrors;
|
|
@@ -46102,7 +45839,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
46102
45839
|
|
|
46103
45840
|
var PaymentFormCard$1 = withWindowSize(PaymentFormCard);
|
|
46104
45841
|
|
|
46105
|
-
var formConfig$
|
|
45842
|
+
var formConfig$7 = {
|
|
46106
45843
|
country: {
|
|
46107
45844
|
defaultValue: "US",
|
|
46108
45845
|
validators: [required()]
|
|
@@ -46128,14 +45865,14 @@ var formConfig$8 = {
|
|
|
46128
45865
|
}
|
|
46129
45866
|
};
|
|
46130
45867
|
|
|
46131
|
-
var _createFormState$
|
|
46132
|
-
reducer$
|
|
46133
|
-
mapStateToProps$
|
|
46134
|
-
mapDispatchToProps$
|
|
45868
|
+
var _createFormState$7 = createFormState(formConfig$7),
|
|
45869
|
+
reducer$7 = _createFormState$7.reducer,
|
|
45870
|
+
mapStateToProps$8 = _createFormState$7.mapStateToProps,
|
|
45871
|
+
mapDispatchToProps$7 = _createFormState$7.mapDispatchToProps;
|
|
46135
45872
|
|
|
46136
|
-
PaymentFormCard$1.reducer = reducer$
|
|
46137
|
-
PaymentFormCard$1.mapStateToProps = mapStateToProps$
|
|
46138
|
-
PaymentFormCard$1.mapDispatchToProps = mapDispatchToProps$
|
|
45873
|
+
PaymentFormCard$1.reducer = reducer$7;
|
|
45874
|
+
PaymentFormCard$1.mapStateToProps = mapStateToProps$8;
|
|
45875
|
+
PaymentFormCard$1.mapDispatchToProps = mapDispatchToProps$7;
|
|
46139
45876
|
|
|
46140
45877
|
var DashboardIframe = styled__default.iframe.withConfig({
|
|
46141
45878
|
displayName: "PeriscopeDashboardIframestyled__DashboardIframe",
|
|
@@ -46308,21 +46045,21 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
46308
46045
|
})));
|
|
46309
46046
|
};
|
|
46310
46047
|
|
|
46311
|
-
var formConfig$
|
|
46048
|
+
var formConfig$8 = {
|
|
46312
46049
|
phone: {
|
|
46313
46050
|
validators: [required(), hasLength(10, 10)],
|
|
46314
46051
|
constraints: [onlyIntegers(), hasLength(0, 10)]
|
|
46315
46052
|
}
|
|
46316
46053
|
};
|
|
46317
46054
|
|
|
46318
|
-
var _createFormState$
|
|
46319
|
-
reducer$
|
|
46320
|
-
mapStateToProps$
|
|
46321
|
-
mapDispatchToProps$
|
|
46055
|
+
var _createFormState$8 = createFormState(formConfig$8),
|
|
46056
|
+
reducer$8 = _createFormState$8.reducer,
|
|
46057
|
+
mapStateToProps$9 = _createFormState$8.mapStateToProps,
|
|
46058
|
+
mapDispatchToProps$8 = _createFormState$8.mapDispatchToProps;
|
|
46322
46059
|
|
|
46323
|
-
PhoneForm.reducer = reducer$
|
|
46324
|
-
PhoneForm.mapStateToProps = mapStateToProps$
|
|
46325
|
-
PhoneForm.mapDispatchToProps = mapDispatchToProps$
|
|
46060
|
+
PhoneForm.reducer = reducer$8;
|
|
46061
|
+
PhoneForm.mapStateToProps = mapStateToProps$9;
|
|
46062
|
+
PhoneForm.mapDispatchToProps = mapDispatchToProps$8;
|
|
46326
46063
|
|
|
46327
46064
|
var DefaultHeading = styled__default.div.withConfig({
|
|
46328
46065
|
displayName: "RadioGroup__DefaultHeading",
|
|
@@ -46692,7 +46429,7 @@ var RegistrationForm = function RegistrationForm(_ref) {
|
|
|
46692
46429
|
})));
|
|
46693
46430
|
};
|
|
46694
46431
|
|
|
46695
|
-
var formConfig$
|
|
46432
|
+
var formConfig$9 = {
|
|
46696
46433
|
firstName: {
|
|
46697
46434
|
validators: [required()]
|
|
46698
46435
|
},
|
|
@@ -46710,14 +46447,14 @@ var formConfig$a = {
|
|
|
46710
46447
|
}
|
|
46711
46448
|
};
|
|
46712
46449
|
|
|
46713
|
-
var _createFormState$
|
|
46714
|
-
reducer$
|
|
46715
|
-
mapStateToProps$
|
|
46716
|
-
mapDispatchToProps$
|
|
46450
|
+
var _createFormState$9 = createFormState(formConfig$9),
|
|
46451
|
+
reducer$9 = _createFormState$9.reducer,
|
|
46452
|
+
mapStateToProps$a = _createFormState$9.mapStateToProps,
|
|
46453
|
+
mapDispatchToProps$9 = _createFormState$9.mapDispatchToProps;
|
|
46717
46454
|
|
|
46718
|
-
RegistrationForm.reducer = reducer$
|
|
46719
|
-
RegistrationForm.mapStateToProps = mapStateToProps$
|
|
46720
|
-
RegistrationForm.mapDispatchToProps = mapDispatchToProps$
|
|
46455
|
+
RegistrationForm.reducer = reducer$9;
|
|
46456
|
+
RegistrationForm.mapStateToProps = mapStateToProps$a;
|
|
46457
|
+
RegistrationForm.mapDispatchToProps = mapDispatchToProps$9;
|
|
46721
46458
|
|
|
46722
46459
|
var ResetConfirmationForm = function ResetConfirmationForm() {
|
|
46723
46460
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
@@ -46824,7 +46561,7 @@ var ResetPasswordForm = function ResetPasswordForm(_ref) {
|
|
|
46824
46561
|
})));
|
|
46825
46562
|
};
|
|
46826
46563
|
|
|
46827
|
-
var formConfig$
|
|
46564
|
+
var formConfig$a = {
|
|
46828
46565
|
password: {
|
|
46829
46566
|
validators: [required(), hasLength(8, 100), hasNumber(), hasLowercaseLetter(), hasUppercaseLetter(), hasSpecialCharacter()]
|
|
46830
46567
|
},
|
|
@@ -46833,14 +46570,14 @@ var formConfig$b = {
|
|
|
46833
46570
|
}
|
|
46834
46571
|
};
|
|
46835
46572
|
|
|
46836
|
-
var _createFormState$
|
|
46837
|
-
reducer$
|
|
46838
|
-
mapStateToProps$
|
|
46839
|
-
mapDispatchToProps$
|
|
46573
|
+
var _createFormState$a = createFormState(formConfig$a),
|
|
46574
|
+
reducer$a = _createFormState$a.reducer,
|
|
46575
|
+
mapStateToProps$b = _createFormState$a.mapStateToProps,
|
|
46576
|
+
mapDispatchToProps$a = _createFormState$a.mapDispatchToProps;
|
|
46840
46577
|
|
|
46841
|
-
ResetPasswordForm.reducer = reducer$
|
|
46842
|
-
ResetPasswordForm.mapStateToProps = mapStateToProps$
|
|
46843
|
-
ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$
|
|
46578
|
+
ResetPasswordForm.reducer = reducer$a;
|
|
46579
|
+
ResetPasswordForm.mapStateToProps = mapStateToProps$b;
|
|
46580
|
+
ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$a;
|
|
46844
46581
|
|
|
46845
46582
|
var ResetConfirmationForm$2 = function ResetConfirmationForm() {
|
|
46846
46583
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
@@ -47638,7 +47375,6 @@ exports.IconAdd = IconAdd;
|
|
|
47638
47375
|
exports.IconQuitLarge = IconQuitLarge;
|
|
47639
47376
|
exports.Imposter = Imposter;
|
|
47640
47377
|
exports.InternalLink = InternalLink;
|
|
47641
|
-
exports.InternalUserInfoForm = InternalUserInfoForm;
|
|
47642
47378
|
exports.Jumbo = Jumbo$1;
|
|
47643
47379
|
exports.LabeledAmount = LabeledAmount$1;
|
|
47644
47380
|
exports.LineItem = LineItem$1;
|