braid-ui 1.0.32 → 1.0.33
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 +28 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +28 -16
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3378,30 +3378,30 @@ zod.z.object({
|
|
|
3378
3378
|
|
|
3379
3379
|
// src/lib/mock-data/business-data.ts
|
|
3380
3380
|
var defaultBusinessProfile = {
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3381
|
+
name: "Acme Corporation",
|
|
3382
|
+
productId: 1,
|
|
3383
|
+
businessIdType: "EIN",
|
|
3384
|
+
idNumber: "12-3456789",
|
|
3385
|
+
dba: "ACME Tech",
|
|
3386
|
+
businessEntityType: "CORPORATION",
|
|
3387
3387
|
incorporationState: "Delaware",
|
|
3388
|
+
formationDate: "2020-01-15",
|
|
3388
3389
|
website: "https://acme.com",
|
|
3389
|
-
email: "contact@acme.com",
|
|
3390
|
-
mobilePhone: "+1 (555) 234-5678",
|
|
3391
3390
|
mcc: "1234",
|
|
3392
3391
|
naics: "123456",
|
|
3392
|
+
mobilePhone: "+1 (555) 234-5678",
|
|
3393
3393
|
achCompanyId: "1234567890",
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3394
|
+
contactPersonFirstName: "John",
|
|
3395
|
+
contactPersonLastName: "Smith",
|
|
3396
|
+
contactPersonEmail: "contact@acme.com",
|
|
3397
|
+
contactPersonPhone: "+1 (555) 123-4567",
|
|
3397
3398
|
address: {
|
|
3398
|
-
|
|
3399
|
-
|
|
3399
|
+
line1: "123 Business Avenue",
|
|
3400
|
+
line2: "Suite 100",
|
|
3400
3401
|
city: "New York",
|
|
3401
3402
|
state: "NY",
|
|
3402
3403
|
postalCode: "10001",
|
|
3403
|
-
|
|
3404
|
-
addressType: "business"
|
|
3404
|
+
countryCode: "US"
|
|
3405
3405
|
}
|
|
3406
3406
|
};
|
|
3407
3407
|
var BusinessProfileCard = ({
|
|
@@ -3693,7 +3693,19 @@ var BusinessProfileCard = ({
|
|
|
3693
3693
|
InfoField,
|
|
3694
3694
|
{
|
|
3695
3695
|
label: "Address",
|
|
3696
|
-
value: formValues?.address ?
|
|
3696
|
+
value: formValues?.address ? (() => {
|
|
3697
|
+
const parts = [];
|
|
3698
|
+
if (formValues.address.line1) parts.push(formValues.address.line1);
|
|
3699
|
+
if (formValues.address.line2) parts.push(formValues.address.line2);
|
|
3700
|
+
const cityStateZip = [
|
|
3701
|
+
formValues.address.city,
|
|
3702
|
+
formValues.address.state,
|
|
3703
|
+
formValues.address.postalCode
|
|
3704
|
+
].filter(Boolean).join(" ");
|
|
3705
|
+
if (cityStateZip) parts.push(cityStateZip);
|
|
3706
|
+
if (formValues.address.countryCode) parts.push(formValues.address.countryCode);
|
|
3707
|
+
return parts.length > 0 ? parts.join(", ") : "-";
|
|
3708
|
+
})() : "-",
|
|
3697
3709
|
layout: "horizontal"
|
|
3698
3710
|
}
|
|
3699
3711
|
),
|