@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.esm.js
CHANGED
|
@@ -40328,269 +40328,6 @@ var PROPERTIES_COMMERCIAL_AUTO_ICON = "PROPERTIES_COMMERCIAL_AUTO";
|
|
|
40328
40328
|
var MISC_BILL_ICON = "MISC_SINGLE_BILL";
|
|
40329
40329
|
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);
|
|
40330
40330
|
|
|
40331
|
-
var _roleDescriptions;
|
|
40332
|
-
var RESEARCHER = "RESEARCHER";
|
|
40333
|
-
var AGENCY_ADMIN = "AGENCY_ADMIN";
|
|
40334
|
-
var CLIENT_ADMIN = "CLIENT_ADMIN";
|
|
40335
|
-
var SUPERVISOR = "SUPERVISOR";
|
|
40336
|
-
var CB_ADMIN = "CITYBASE_ADMIN";
|
|
40337
|
-
var CREATE_CLIENT_ADMIN = "CREATE_CLIENT_ADMIN";
|
|
40338
|
-
var PROFILE = "PROFILE";
|
|
40339
|
-
var ADD = "ADD";
|
|
40340
|
-
var EDIT = "EDIT";
|
|
40341
|
-
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);
|
|
40342
|
-
|
|
40343
|
-
var InternalUserInfoForm = function InternalUserInfoForm(_ref) {
|
|
40344
|
-
var _ref$variant = _ref.variant,
|
|
40345
|
-
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
40346
|
-
fields = _ref.fields,
|
|
40347
|
-
actions = _ref.actions,
|
|
40348
|
-
clearOnDismount = _ref.clearOnDismount,
|
|
40349
|
-
showErrors = _ref.showErrors,
|
|
40350
|
-
_ref$handleSubmit = _ref.handleSubmit,
|
|
40351
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
40352
|
-
closeForm = _ref.closeForm,
|
|
40353
|
-
allAgencyOptions = _ref.allAgencyOptions,
|
|
40354
|
-
selectedAgencies = _ref.selectedAgencies,
|
|
40355
|
-
allSelected = _ref.allSelected,
|
|
40356
|
-
_ref$toggleSelectAllA = _ref.toggleSelectAllAgencies,
|
|
40357
|
-
toggleSelectAllAgencies = _ref$toggleSelectAllA === void 0 ? noop : _ref$toggleSelectAllA,
|
|
40358
|
-
selectAgency = _ref.selectAgency,
|
|
40359
|
-
roleOptions = _ref.roleOptions,
|
|
40360
|
-
clientOptions = _ref.clientOptions,
|
|
40361
|
-
namesDisabled = _ref.namesDisabled,
|
|
40362
|
-
emailDisabled = _ref.emailDisabled,
|
|
40363
|
-
roleDisabled = _ref.roleDisabled,
|
|
40364
|
-
selectionDisabled = _ref.selectionDisabled,
|
|
40365
|
-
formType = _ref.formType,
|
|
40366
|
-
openChangePasswordForm = _ref.openChangePasswordForm,
|
|
40367
|
-
firstName = _ref.firstName,
|
|
40368
|
-
lastName = _ref.lastName;
|
|
40369
|
-
useEffect$1(function () {
|
|
40370
|
-
if (formType === CREATE_CLIENT_ADMIN) {
|
|
40371
|
-
actions.fields.client.addValidator(required());
|
|
40372
|
-
}
|
|
40373
|
-
|
|
40374
|
-
if (formType !== PROFILE) {
|
|
40375
|
-
actions.fields.email.addValidator(required());
|
|
40376
|
-
actions.fields.role.addValidator(required());
|
|
40377
|
-
}
|
|
40378
|
-
}, []);
|
|
40379
|
-
|
|
40380
|
-
if (clearOnDismount) {
|
|
40381
|
-
useEffect$1(function () {
|
|
40382
|
-
return function () {
|
|
40383
|
-
return actions.form.clear();
|
|
40384
|
-
};
|
|
40385
|
-
}, []);
|
|
40386
|
-
}
|
|
40387
|
-
|
|
40388
|
-
var clientErrorMessages = _defineProperty({}, required.error, "Client is required");
|
|
40389
|
-
|
|
40390
|
-
var firstNameErrorMessages = _defineProperty({}, required.error, "First name is required");
|
|
40391
|
-
|
|
40392
|
-
var lastNameErrorMessages = _defineProperty({}, required.error, "Last name is required");
|
|
40393
|
-
|
|
40394
|
-
var emailErrorMessages = _defineProperty({}, isProbablyEmail.error, "Invalid email address");
|
|
40395
|
-
|
|
40396
|
-
var roleErrorMessages = _defineProperty({}, required.error, "Role is required");
|
|
40397
|
-
|
|
40398
|
-
return /*#__PURE__*/React.createElement(FormContainer$1, {
|
|
40399
|
-
variant: variant,
|
|
40400
|
-
role: "form",
|
|
40401
|
-
"aria-label": "user-info-form",
|
|
40402
|
-
extraStyles: "padding: 0;"
|
|
40403
|
-
}, formType === PROFILE && /*#__PURE__*/React.createElement(Box, {
|
|
40404
|
-
padding: "1.5rem"
|
|
40405
|
-
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
40406
|
-
justify: "flex-start",
|
|
40407
|
-
align: "center"
|
|
40408
|
-
}, /*#__PURE__*/React.createElement(Box, {
|
|
40409
|
-
padding: "1.25rem",
|
|
40410
|
-
borderRadius: "50%",
|
|
40411
|
-
background: "#CACED8"
|
|
40412
|
-
}, /*#__PURE__*/React.createElement(Heading$1, {
|
|
40413
|
-
variant: "h4",
|
|
40414
|
-
weight: "700"
|
|
40415
|
-
}, firstName.charAt(0).toUpperCase(), lastName.charAt(0).toUpperCase())), /*#__PURE__*/React.createElement(Text$1, {
|
|
40416
|
-
variant: "p",
|
|
40417
|
-
weight: "700",
|
|
40418
|
-
extraStyles: "padding-left: 1rem;"
|
|
40419
|
-
}, firstName, " ", lastName))), formType === CREATE_CLIENT_ADMIN && /*#__PURE__*/React.createElement(Box, {
|
|
40420
|
-
padding: "1.5rem 1.5rem 0.5rem",
|
|
40421
|
-
borderColor: GHOST_GREY,
|
|
40422
|
-
borderSize: "1px",
|
|
40423
|
-
borderWidthOverride: "0 0 1px 0"
|
|
40424
|
-
}, /*#__PURE__*/React.createElement(FormInputColumn, null, /*#__PURE__*/React.createElement(Heading$1, {
|
|
40425
|
-
variant: "h6",
|
|
40426
|
-
weight: "700",
|
|
40427
|
-
margin: "0 0 1rem"
|
|
40428
|
-
}, "Select Client"), /*#__PURE__*/React.createElement(FormSelect$1, {
|
|
40429
|
-
labelTextWhenNoError: "Client",
|
|
40430
|
-
errorMessages: clientErrorMessages,
|
|
40431
|
-
options: clientOptions.map(function (client) {
|
|
40432
|
-
return {
|
|
40433
|
-
text: client,
|
|
40434
|
-
value: client,
|
|
40435
|
-
id: client
|
|
40436
|
-
};
|
|
40437
|
-
}),
|
|
40438
|
-
field: fields.client,
|
|
40439
|
-
fieldActions: actions.fields.client,
|
|
40440
|
-
showErrors: showErrors,
|
|
40441
|
-
onKeyDown: function onKeyDown(e) {
|
|
40442
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40443
|
-
}
|
|
40444
|
-
}))), /*#__PURE__*/React.createElement(Box, {
|
|
40445
|
-
padding: formType === PROFILE ? "1.5rem 1.5rem 0" : "1.5rem 1.5rem 0.5rem",
|
|
40446
|
-
borderColor: GHOST_GREY,
|
|
40447
|
-
borderSize: "1px",
|
|
40448
|
-
borderWidthOverride: formType === PROFILE ? "1px 0 0" : "0 0 1px 0"
|
|
40449
|
-
}, /*#__PURE__*/React.createElement(FormInputColumn, null, /*#__PURE__*/React.createElement(Heading$1, {
|
|
40450
|
-
variant: "h6",
|
|
40451
|
-
weight: "700",
|
|
40452
|
-
margin: "0 0 1rem"
|
|
40453
|
-
}, "Personal Information"), /*#__PURE__*/React.createElement(FormInput$1, {
|
|
40454
|
-
labelTextWhenNoError: "First Name",
|
|
40455
|
-
errorMessages: firstNameErrorMessages,
|
|
40456
|
-
field: fields.firstName,
|
|
40457
|
-
fieldActions: actions.fields.firstName,
|
|
40458
|
-
showErrors: showErrors,
|
|
40459
|
-
onKeyDown: function onKeyDown(e) {
|
|
40460
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40461
|
-
},
|
|
40462
|
-
disabled: namesDisabled,
|
|
40463
|
-
autocomplete: "given-name"
|
|
40464
|
-
}), /*#__PURE__*/React.createElement(FormInput$1, {
|
|
40465
|
-
labelTextWhenNoError: "Last Name",
|
|
40466
|
-
errorMessages: lastNameErrorMessages,
|
|
40467
|
-
field: fields.lastName,
|
|
40468
|
-
fieldActions: actions.fields.lastName,
|
|
40469
|
-
showErrors: showErrors,
|
|
40470
|
-
onKeyDown: function onKeyDown(e) {
|
|
40471
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40472
|
-
},
|
|
40473
|
-
disabled: namesDisabled,
|
|
40474
|
-
autocomplete: "family-name"
|
|
40475
|
-
}), /*#__PURE__*/React.createElement(FormInput$1, {
|
|
40476
|
-
labelTextWhenNoError: "Email",
|
|
40477
|
-
errorMessages: emailErrorMessages,
|
|
40478
|
-
field: fields.email,
|
|
40479
|
-
fieldActions: actions.fields.email,
|
|
40480
|
-
showErrors: showErrors,
|
|
40481
|
-
onKeyDown: function onKeyDown(e) {
|
|
40482
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40483
|
-
},
|
|
40484
|
-
disabled: emailDisabled,
|
|
40485
|
-
autocomplete: "email"
|
|
40486
|
-
}), formType === PROFILE && /*#__PURE__*/React.createElement(FormInput$1, {
|
|
40487
|
-
labelTextWhenNoError: "Password",
|
|
40488
|
-
errorMessages: {},
|
|
40489
|
-
field: {
|
|
40490
|
-
rawValue: "•••••••••••••"
|
|
40491
|
-
},
|
|
40492
|
-
disabled: true,
|
|
40493
|
-
decorator: /*#__PURE__*/React.createElement(Text$1, {
|
|
40494
|
-
variant: "pS",
|
|
40495
|
-
color: "#15749D",
|
|
40496
|
-
onClick: openChangePasswordForm,
|
|
40497
|
-
extraStyles: "cursor: pointer;"
|
|
40498
|
-
}, "Change Password")
|
|
40499
|
-
}))), /*#__PURE__*/React.createElement(Box, {
|
|
40500
|
-
padding: "1.5rem"
|
|
40501
|
-
}, formType !== PROFILE && /*#__PURE__*/React.createElement(Box, {
|
|
40502
|
-
padding: "0 0 0.5rem"
|
|
40503
|
-
}, /*#__PURE__*/React.createElement(FormInputColumn, null, /*#__PURE__*/React.createElement(Heading$1, {
|
|
40504
|
-
variant: "h6",
|
|
40505
|
-
weight: "700",
|
|
40506
|
-
margin: "0 0 1rem"
|
|
40507
|
-
}, "User Settings"), /*#__PURE__*/React.createElement(FormSelect$1, {
|
|
40508
|
-
labelTextWhenNoError: "User Role",
|
|
40509
|
-
errorMessages: roleErrorMessages,
|
|
40510
|
-
options: roleOptions.map(function (role) {
|
|
40511
|
-
return {
|
|
40512
|
-
text: roleDescriptions[role],
|
|
40513
|
-
value: role,
|
|
40514
|
-
id: role
|
|
40515
|
-
};
|
|
40516
|
-
}),
|
|
40517
|
-
field: fields.role,
|
|
40518
|
-
fieldActions: actions.fields.role,
|
|
40519
|
-
showErrors: showErrors,
|
|
40520
|
-
onKeyDown: function onKeyDown(e) {
|
|
40521
|
-
return e.key === "Enter" && handleSubmit(e);
|
|
40522
|
-
},
|
|
40523
|
-
disabled: roleDisabled
|
|
40524
|
-
}))), (formType === ADD || formType === EDIT) && /*#__PURE__*/React.createElement(Box, {
|
|
40525
|
-
padding: "0.5rem 0 1.5rem"
|
|
40526
|
-
}, /*#__PURE__*/React.createElement(FormInputColumn, null, /*#__PURE__*/React.createElement(Text$1, {
|
|
40527
|
-
variant: "p"
|
|
40528
|
-
}, "Select which agencies the user can view"), /*#__PURE__*/React.createElement(SearchableSelect$1, {
|
|
40529
|
-
actions: actions,
|
|
40530
|
-
fields: fields,
|
|
40531
|
-
items: allAgencyOptions,
|
|
40532
|
-
selectedItems: selectedAgencies,
|
|
40533
|
-
allSelected: allSelected,
|
|
40534
|
-
toggleSelectAllItems: toggleSelectAllAgencies,
|
|
40535
|
-
selectItem: selectAgency,
|
|
40536
|
-
disabled: selectionDisabled
|
|
40537
|
-
}))), /*#__PURE__*/React.createElement(Box, {
|
|
40538
|
-
padding: "0"
|
|
40539
|
-
}, /*#__PURE__*/React.createElement(Stack, {
|
|
40540
|
-
childGap: "1rem",
|
|
40541
|
-
direction: "row",
|
|
40542
|
-
justify: "flex-end"
|
|
40543
|
-
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
40544
|
-
text: "Cancel",
|
|
40545
|
-
action: function action() {
|
|
40546
|
-
if (formType !== CREATE_CLIENT_ADMIN) {
|
|
40547
|
-
toggleSelectAllAgencies(false);
|
|
40548
|
-
}
|
|
40549
|
-
|
|
40550
|
-
closeForm();
|
|
40551
|
-
},
|
|
40552
|
-
variant: "secondary",
|
|
40553
|
-
dataQa: "Cancel",
|
|
40554
|
-
extraStyles: "margin: 0rem; padding: 0.75rem 1.5rem; border-radius: 4px;"
|
|
40555
|
-
}), /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
40556
|
-
text: "Save",
|
|
40557
|
-
action: handleSubmit,
|
|
40558
|
-
variant: "primary",
|
|
40559
|
-
dataQa: "Save",
|
|
40560
|
-
extraStyles: "margin: 0rem; padding: 0.75rem 1.5rem; border-radius: 4px;"
|
|
40561
|
-
})))));
|
|
40562
|
-
};
|
|
40563
|
-
|
|
40564
|
-
var formConfig$5 = {
|
|
40565
|
-
client: {
|
|
40566
|
-
validators: []
|
|
40567
|
-
},
|
|
40568
|
-
firstName: {
|
|
40569
|
-
validators: [required()]
|
|
40570
|
-
},
|
|
40571
|
-
lastName: {
|
|
40572
|
-
validators: [required()]
|
|
40573
|
-
},
|
|
40574
|
-
email: {
|
|
40575
|
-
validators: [isProbablyEmail()]
|
|
40576
|
-
},
|
|
40577
|
-
role: {
|
|
40578
|
-
validators: []
|
|
40579
|
-
},
|
|
40580
|
-
searchTerm: {
|
|
40581
|
-
validators: []
|
|
40582
|
-
}
|
|
40583
|
-
};
|
|
40584
|
-
|
|
40585
|
-
var _createFormState$5 = createFormState(formConfig$5),
|
|
40586
|
-
reducer$5 = _createFormState$5.reducer,
|
|
40587
|
-
mapStateToProps$6 = _createFormState$5.mapStateToProps,
|
|
40588
|
-
mapDispatchToProps$5 = _createFormState$5.mapDispatchToProps;
|
|
40589
|
-
|
|
40590
|
-
InternalUserInfoForm.reducer = reducer$5;
|
|
40591
|
-
InternalUserInfoForm.mapStateToProps = mapStateToProps$6;
|
|
40592
|
-
InternalUserInfoForm.mapDispatchToProps = mapDispatchToProps$5;
|
|
40593
|
-
|
|
40594
40331
|
var LoginForm = function LoginForm(_ref) {
|
|
40595
40332
|
var _emailErrorMessages;
|
|
40596
40333
|
|
|
@@ -40642,7 +40379,7 @@ var LoginForm = function LoginForm(_ref) {
|
|
|
40642
40379
|
}));
|
|
40643
40380
|
};
|
|
40644
40381
|
|
|
40645
|
-
var formConfig$
|
|
40382
|
+
var formConfig$5 = {
|
|
40646
40383
|
email: {
|
|
40647
40384
|
validators: [required(), isProbablyEmail()]
|
|
40648
40385
|
},
|
|
@@ -40651,14 +40388,14 @@ var formConfig$6 = {
|
|
|
40651
40388
|
}
|
|
40652
40389
|
};
|
|
40653
40390
|
|
|
40654
|
-
var _createFormState$
|
|
40655
|
-
reducer$
|
|
40656
|
-
mapStateToProps$
|
|
40657
|
-
mapDispatchToProps$
|
|
40391
|
+
var _createFormState$5 = createFormState(formConfig$5),
|
|
40392
|
+
reducer$5 = _createFormState$5.reducer,
|
|
40393
|
+
mapStateToProps$6 = _createFormState$5.mapStateToProps,
|
|
40394
|
+
mapDispatchToProps$5 = _createFormState$5.mapDispatchToProps;
|
|
40658
40395
|
|
|
40659
|
-
LoginForm.reducer = reducer$
|
|
40660
|
-
LoginForm.mapStateToProps = mapStateToProps$
|
|
40661
|
-
LoginForm.mapDispatchToProps = mapDispatchToProps$
|
|
40396
|
+
LoginForm.reducer = reducer$5;
|
|
40397
|
+
LoginForm.mapStateToProps = mapStateToProps$6;
|
|
40398
|
+
LoginForm.mapDispatchToProps = mapDispatchToProps$5;
|
|
40662
40399
|
|
|
40663
40400
|
/** @license React v16.13.1
|
|
40664
40401
|
* react-is.production.min.js
|
|
@@ -45920,7 +45657,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
45920
45657
|
})));
|
|
45921
45658
|
};
|
|
45922
45659
|
|
|
45923
|
-
var formConfig$
|
|
45660
|
+
var formConfig$6 = {
|
|
45924
45661
|
name: {
|
|
45925
45662
|
validators: [required()]
|
|
45926
45663
|
},
|
|
@@ -45946,14 +45683,14 @@ var formConfig$7 = {
|
|
|
45946
45683
|
}
|
|
45947
45684
|
};
|
|
45948
45685
|
|
|
45949
|
-
var _createFormState$
|
|
45950
|
-
reducer$
|
|
45951
|
-
mapStateToProps$
|
|
45952
|
-
mapDispatchToProps$
|
|
45686
|
+
var _createFormState$6 = createFormState(formConfig$6),
|
|
45687
|
+
reducer$6 = _createFormState$6.reducer,
|
|
45688
|
+
mapStateToProps$7 = _createFormState$6.mapStateToProps,
|
|
45689
|
+
mapDispatchToProps$6 = _createFormState$6.mapDispatchToProps;
|
|
45953
45690
|
|
|
45954
|
-
PaymentFormACH.reducer = reducer$
|
|
45955
|
-
PaymentFormACH.mapStateToProps = mapStateToProps$
|
|
45956
|
-
PaymentFormACH.mapDispatchToProps = mapDispatchToProps$
|
|
45691
|
+
PaymentFormACH.reducer = reducer$6;
|
|
45692
|
+
PaymentFormACH.mapStateToProps = mapStateToProps$7;
|
|
45693
|
+
PaymentFormACH.mapDispatchToProps = mapDispatchToProps$6;
|
|
45957
45694
|
|
|
45958
45695
|
var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
45959
45696
|
var _creditCardNumberErro, _expirationDateErrors, _cvvErrors, _zipCodeErrors;
|
|
@@ -46094,7 +45831,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
46094
45831
|
|
|
46095
45832
|
var PaymentFormCard$1 = withWindowSize(PaymentFormCard);
|
|
46096
45833
|
|
|
46097
|
-
var formConfig$
|
|
45834
|
+
var formConfig$7 = {
|
|
46098
45835
|
country: {
|
|
46099
45836
|
defaultValue: "US",
|
|
46100
45837
|
validators: [required()]
|
|
@@ -46120,14 +45857,14 @@ var formConfig$8 = {
|
|
|
46120
45857
|
}
|
|
46121
45858
|
};
|
|
46122
45859
|
|
|
46123
|
-
var _createFormState$
|
|
46124
|
-
reducer$
|
|
46125
|
-
mapStateToProps$
|
|
46126
|
-
mapDispatchToProps$
|
|
45860
|
+
var _createFormState$7 = createFormState(formConfig$7),
|
|
45861
|
+
reducer$7 = _createFormState$7.reducer,
|
|
45862
|
+
mapStateToProps$8 = _createFormState$7.mapStateToProps,
|
|
45863
|
+
mapDispatchToProps$7 = _createFormState$7.mapDispatchToProps;
|
|
46127
45864
|
|
|
46128
|
-
PaymentFormCard$1.reducer = reducer$
|
|
46129
|
-
PaymentFormCard$1.mapStateToProps = mapStateToProps$
|
|
46130
|
-
PaymentFormCard$1.mapDispatchToProps = mapDispatchToProps$
|
|
45865
|
+
PaymentFormCard$1.reducer = reducer$7;
|
|
45866
|
+
PaymentFormCard$1.mapStateToProps = mapStateToProps$8;
|
|
45867
|
+
PaymentFormCard$1.mapDispatchToProps = mapDispatchToProps$7;
|
|
46131
45868
|
|
|
46132
45869
|
var DashboardIframe = styled.iframe.withConfig({
|
|
46133
45870
|
displayName: "PeriscopeDashboardIframestyled__DashboardIframe",
|
|
@@ -46300,21 +46037,21 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
46300
46037
|
})));
|
|
46301
46038
|
};
|
|
46302
46039
|
|
|
46303
|
-
var formConfig$
|
|
46040
|
+
var formConfig$8 = {
|
|
46304
46041
|
phone: {
|
|
46305
46042
|
validators: [required(), hasLength(10, 10)],
|
|
46306
46043
|
constraints: [onlyIntegers(), hasLength(0, 10)]
|
|
46307
46044
|
}
|
|
46308
46045
|
};
|
|
46309
46046
|
|
|
46310
|
-
var _createFormState$
|
|
46311
|
-
reducer$
|
|
46312
|
-
mapStateToProps$
|
|
46313
|
-
mapDispatchToProps$
|
|
46047
|
+
var _createFormState$8 = createFormState(formConfig$8),
|
|
46048
|
+
reducer$8 = _createFormState$8.reducer,
|
|
46049
|
+
mapStateToProps$9 = _createFormState$8.mapStateToProps,
|
|
46050
|
+
mapDispatchToProps$8 = _createFormState$8.mapDispatchToProps;
|
|
46314
46051
|
|
|
46315
|
-
PhoneForm.reducer = reducer$
|
|
46316
|
-
PhoneForm.mapStateToProps = mapStateToProps$
|
|
46317
|
-
PhoneForm.mapDispatchToProps = mapDispatchToProps$
|
|
46052
|
+
PhoneForm.reducer = reducer$8;
|
|
46053
|
+
PhoneForm.mapStateToProps = mapStateToProps$9;
|
|
46054
|
+
PhoneForm.mapDispatchToProps = mapDispatchToProps$8;
|
|
46318
46055
|
|
|
46319
46056
|
var DefaultHeading = styled.div.withConfig({
|
|
46320
46057
|
displayName: "RadioGroup__DefaultHeading",
|
|
@@ -46684,7 +46421,7 @@ var RegistrationForm = function RegistrationForm(_ref) {
|
|
|
46684
46421
|
})));
|
|
46685
46422
|
};
|
|
46686
46423
|
|
|
46687
|
-
var formConfig$
|
|
46424
|
+
var formConfig$9 = {
|
|
46688
46425
|
firstName: {
|
|
46689
46426
|
validators: [required()]
|
|
46690
46427
|
},
|
|
@@ -46702,14 +46439,14 @@ var formConfig$a = {
|
|
|
46702
46439
|
}
|
|
46703
46440
|
};
|
|
46704
46441
|
|
|
46705
|
-
var _createFormState$
|
|
46706
|
-
reducer$
|
|
46707
|
-
mapStateToProps$
|
|
46708
|
-
mapDispatchToProps$
|
|
46442
|
+
var _createFormState$9 = createFormState(formConfig$9),
|
|
46443
|
+
reducer$9 = _createFormState$9.reducer,
|
|
46444
|
+
mapStateToProps$a = _createFormState$9.mapStateToProps,
|
|
46445
|
+
mapDispatchToProps$9 = _createFormState$9.mapDispatchToProps;
|
|
46709
46446
|
|
|
46710
|
-
RegistrationForm.reducer = reducer$
|
|
46711
|
-
RegistrationForm.mapStateToProps = mapStateToProps$
|
|
46712
|
-
RegistrationForm.mapDispatchToProps = mapDispatchToProps$
|
|
46447
|
+
RegistrationForm.reducer = reducer$9;
|
|
46448
|
+
RegistrationForm.mapStateToProps = mapStateToProps$a;
|
|
46449
|
+
RegistrationForm.mapDispatchToProps = mapDispatchToProps$9;
|
|
46713
46450
|
|
|
46714
46451
|
var ResetConfirmationForm = function ResetConfirmationForm() {
|
|
46715
46452
|
var _useContext = useContext(ThemeContext),
|
|
@@ -46816,7 +46553,7 @@ var ResetPasswordForm = function ResetPasswordForm(_ref) {
|
|
|
46816
46553
|
})));
|
|
46817
46554
|
};
|
|
46818
46555
|
|
|
46819
|
-
var formConfig$
|
|
46556
|
+
var formConfig$a = {
|
|
46820
46557
|
password: {
|
|
46821
46558
|
validators: [required(), hasLength(8, 100), hasNumber(), hasLowercaseLetter(), hasUppercaseLetter(), hasSpecialCharacter()]
|
|
46822
46559
|
},
|
|
@@ -46825,14 +46562,14 @@ var formConfig$b = {
|
|
|
46825
46562
|
}
|
|
46826
46563
|
};
|
|
46827
46564
|
|
|
46828
|
-
var _createFormState$
|
|
46829
|
-
reducer$
|
|
46830
|
-
mapStateToProps$
|
|
46831
|
-
mapDispatchToProps$
|
|
46565
|
+
var _createFormState$a = createFormState(formConfig$a),
|
|
46566
|
+
reducer$a = _createFormState$a.reducer,
|
|
46567
|
+
mapStateToProps$b = _createFormState$a.mapStateToProps,
|
|
46568
|
+
mapDispatchToProps$a = _createFormState$a.mapDispatchToProps;
|
|
46832
46569
|
|
|
46833
|
-
ResetPasswordForm.reducer = reducer$
|
|
46834
|
-
ResetPasswordForm.mapStateToProps = mapStateToProps$
|
|
46835
|
-
ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$
|
|
46570
|
+
ResetPasswordForm.reducer = reducer$a;
|
|
46571
|
+
ResetPasswordForm.mapStateToProps = mapStateToProps$b;
|
|
46572
|
+
ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$a;
|
|
46836
46573
|
|
|
46837
46574
|
var ResetConfirmationForm$2 = function ResetConfirmationForm() {
|
|
46838
46575
|
var _useContext = useContext(ThemeContext),
|
|
@@ -47552,5 +47289,5 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
47552
47289
|
|
|
47553
47290
|
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$N));
|
|
47554
47291
|
|
|
47555
|
-
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,
|
|
47292
|
+
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 };
|
|
47556
47293
|
//# sourceMappingURL=index.esm.js.map
|