@verifiedinc-public/shared-ui-elements 5.10.1-beta.3 → 5.11.1
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/components/chart/MonthlySignupsOverviewTable/MonthlySignupsOverviewTableDataMapper.d.ts +1 -1
- package/dist/components/form/OneClickForm/components/DataField/inputs/DataFieldAddressInput/autofill.hook.d.ts +7 -10
- package/dist/components/form/OneClickForm/components/DataField/inputs/DataFieldAddressInput/hook.d.ts +2 -2
- package/dist/components/form/OneClickForm/components/DataField/inputs/DataFieldAddressInput/types.d.ts +22 -1
- package/dist/components/form/OneClickForm/contexts/one-click-form-options.context.d.ts +2 -4
- package/dist/components/index.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/{index-Dxq5aIu1.mjs → index-tJf5BjrQ.mjs} +13 -13
- package/package.json +1 -3
package/dist/components/chart/MonthlySignupsOverviewTable/MonthlySignupsOverviewTableDataMapper.d.ts
CHANGED
@@ -23,7 +23,7 @@ type MapMonthlySignupsOverviewTableDataParams = {
|
|
23
23
|
brands: Brand[];
|
24
24
|
};
|
25
25
|
export declare const mapMonthlySignupsOverviewTableData: ({ data, brands, }: MapMonthlySignupsOverviewTableDataParams) => {
|
26
|
-
month: number
|
26
|
+
month: number;
|
27
27
|
brandUuid: string;
|
28
28
|
brand: string;
|
29
29
|
integrationType: string;
|
@@ -1,13 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
city?: string;
|
4
|
-
state?: string;
|
5
|
-
zipCode?: string;
|
6
|
-
country: string;
|
7
|
-
};
|
8
|
-
export declare function useAutoFill(): {
|
1
|
+
import { Address, PlaceAddressComponent, PlaceSuggestion } from './types';
|
2
|
+
type AutoFillHookReturn = {
|
9
3
|
handleAutoComplete: (value: string) => Promise<void>;
|
10
|
-
|
11
|
-
|
4
|
+
fetchPlace: (placeId: string) => Promise<PlaceAddressComponent[] | null>;
|
5
|
+
buildAddress: (placeComponents: PlaceAddressComponent[]) => Address;
|
6
|
+
suggestions: PlaceSuggestion[];
|
12
7
|
isPending: boolean;
|
13
8
|
};
|
9
|
+
export declare function useAutoFill(): AutoFillHookReturn;
|
10
|
+
export {};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { useCredentialsDisplayItem } from '../../../CredentialsDisplay/CredentialsDisplayItemContext';
|
2
|
-
import { Option } from './types';
|
2
|
+
import { Option, PlaceSuggestion } from './types';
|
3
3
|
export declare function useDataFieldAddressInput({ credentialsDisplayItem, }: {
|
4
4
|
credentialsDisplayItem: ReturnType<typeof useCredentialsDisplayItem>;
|
5
5
|
}): {
|
6
6
|
value: Option;
|
7
7
|
inputValue: string;
|
8
|
-
suggestions:
|
8
|
+
suggestions: PlaceSuggestion[];
|
9
9
|
isPending: boolean;
|
10
10
|
isFetchingPlace: boolean;
|
11
11
|
error: string | undefined;
|
@@ -1,4 +1,25 @@
|
|
1
1
|
export type Option = {
|
2
2
|
title: string;
|
3
|
-
value:
|
3
|
+
value: string;
|
4
|
+
};
|
5
|
+
export type Address = {
|
6
|
+
line1?: string;
|
7
|
+
city?: string;
|
8
|
+
state?: string;
|
9
|
+
zipCode?: string;
|
10
|
+
country: string;
|
11
|
+
};
|
12
|
+
export type PlaceAddressComponent = {
|
13
|
+
types: string[];
|
14
|
+
longText: string;
|
15
|
+
shortText: string;
|
16
|
+
languageCode: string;
|
17
|
+
};
|
18
|
+
export type PlaceSuggestion = {
|
19
|
+
placePrediction: {
|
20
|
+
text: {
|
21
|
+
text: string;
|
22
|
+
};
|
23
|
+
place: string;
|
24
|
+
};
|
4
25
|
};
|
@@ -10,14 +10,12 @@ type OneClickOptionFeatures = {
|
|
10
10
|
};
|
11
11
|
type OneClickOptionServicePaths = {
|
12
12
|
credentialImagePath: string;
|
13
|
-
|
14
|
-
|
15
|
-
googlePlacesApiKey?: string;
|
13
|
+
googlePlacesAutocompletePlaces?: string;
|
14
|
+
googlePlacesGetPlace?: string;
|
16
15
|
};
|
17
16
|
export type OneClickFormOptions = {
|
18
17
|
features: OneClickOptionFeatures;
|
19
18
|
servicePaths: OneClickOptionServicePaths;
|
20
|
-
apiKeys?: OneClickOptionApiKeys;
|
21
19
|
};
|
22
20
|
type OneClickFormOptionsContext = {
|
23
21
|
options: OneClickFormOptions;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";import{A as a,c as s,m as e,B as r,o as t,n,C as i,D as o,f as p,E as c,k as d,F as m,I as u,b as h,L as C,O as l,h as S,j as g,e as P,P as B,Q as k,R as I,S as b,d as O,l as T,T as y,g as L,a as f,V as R,i as v,t as E,u as D}from"../shared/index-
|
1
|
+
"use strict";import{A as a,c as s,m as e,B as r,o as t,n,C as i,D as o,f as p,E as c,k as d,F as m,I as u,b as h,L as C,O as l,h as S,j as g,e as P,P as B,Q as k,R as I,S as b,d as O,l as T,T as y,g as L,a as f,V as R,i as v,t as E,u as D}from"../shared/index-tJf5BjrQ.mjs";import{a as N,b as F,P as A,S as M}from"../shared/PageSectionHeader-DdpDhBZG.mjs";import{B as V,C as w,i as x,E as W,L as j,j as H,M as Q,g as q,O as z,P as U,R as G,e as J,d as K,S as X,a as Y,b as Z,k as _,c as $,f as aa,W as sa,h as ea,m as ra,u as ta}from"../shared/SignupBigNumbers-BO1JJl6G.mjs";import{SnackbarProvider as na}from"notistack";export{a as AcceptTermsNotice,s as Alert,e as Backdrop,r as Banner,V as BigNumber,t as BrandFilterInput,n as Button,i as CredentialRequestsEditor,w as CustomAlertComponent,o as DateInput,p as DateRangeInput,c as EmailInput,x as EmptyChartSection,W as ErrorCodesChart,d as ExactBirthdayBanner,m as FullWidthAlert,u as Image,h as LegalLink,C as LinkButton,j as LoadingChartSection,H as MetricLastUpdated,Q as MonthlySignupsOverviewTable,l as OTPInput,S as OneClickForm,q as OneClickOverTimeChart,z as OneClickPercentageChart,g as OneClickPoweredByVerified,N as PageHeader,F as PageSectionHeader,A as Paragraph,P as PhoneInput,U as PieChart,B as PrivacyPolicyNotice,k as QRCodeDisplay,G as ReasonCodesChart,I as ResendPhoneBanner,J as RiskScoreBarChart,K as RiskScorePieChart,b as SSNInput,M as SectionHeader,O as SelectInput,X as SeriesChart,Y as SeriesChartLegend,Z as SeriesPercentageChart,_ as SignupBigNumbers,$ as SimpleBarChart,aa as SimpleLegend,na as SnackbarProvider,T as TestPhoneNumbersBanner,y as TextButton,L as TimezoneInput,f as Typography,R as VerifiedImage,v as VerifiedIncLogo,sa as When,ea as mapMonthlySignupsOverviewTableData,ra as mapTimeSeriesData,E as toOption,D as useBrandFilterInput,ta as useSnackbar};
|
package/dist/index.mjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";import{A as a,c as s,m as e,B as r,o as t,n as o,C as i,D as n,f as m,E as l,k as u,F as p,I as c,b as d,L as h,O as S,h as C,j as g,e as f,P as k,Q as P,R as b,S as y,d as B,l as T,T as D,g as I,a as O,V as v,i as w,t as R,u as N}from"./shared/index-
|
1
|
+
"use strict";import{A as a,c as s,m as e,B as r,o as t,n as o,C as i,D as n,f as m,E as l,k as u,F as p,I as c,b as d,L as h,O as S,h as C,j as g,e as f,P as k,Q as P,R as b,S as y,d as B,l as T,T as D,g as I,a as O,V as v,i as w,t as R,u as N}from"./shared/index-tJf5BjrQ.mjs";import{a as L,b as M,P as E,S as Y}from"./shared/PageSectionHeader-DdpDhBZG.mjs";import{B as F,C as x,i as A,E as V,L as W,j as z,M as G,g as U,O as H,P as j,R as Q,e as q,d as J,S as K,a as X,b as Z,k as _,c as $,f as aa,W as sa,h as ea,m as ra,u as ta}from"./shared/SignupBigNumbers-BO1JJl6G.mjs";import{b as oa,k as ia,a as na,i as ma,u as la,j as ua,d as pa,c as ca,e as da,f as ha,g as Sa,h as Ca}from"./shared/useDebounceCallback-CO7X29ng.mjs";import{u as ga,a as fa}from"./shared/usePrevious-DG_IMu2h.mjs";import{a as ka,b as Pa,u as ba}from"./shared/useOnClickOutside-DgJxDzLx.mjs";import{u as ya}from"./shared/useCounter-BV32zXDQ.mjs";import{u as Ba}from"./shared/useResizeObserver-D434c1uN.mjs";import{b as Ta,a as Da,v as Ia,e as Oa,d as va,p as wa,u as Ra,h as Na,j as La,g as Ma,o as Ea,s as Ya,m as Fa,c as xa,l as Aa,n as Va,q as Wa,f as za,i as Ga,r as Ua,z as Ha,t as ja,x as Qa,k as qa,w as Ja,y as Ka}from"./shared/shadows-CWvne70o.mjs";import{wrapPromise as Xa}from"./utils/wrapPromise/index.mjs";import{f as Za,b as _a,a as $a,c as as,u as ss}from"./shared/uuidColor-LRbEKYAZ.mjs";import{c as es,g as rs,a as ts,p as os,s as is,v as ns}from"./shared/phone-eqP--V9t.mjs";import{masks as ms}from"./utils/masks/index.mjs";import{o as ls}from"./shared/omitProperty-DZYdN2vK.mjs";import{s as us}from"./shared/ssn-CTUJ2_Vl.mjs";import{toCapitalize as ps,toSentenceCase as cs}from"./utils/string/index.mjs";import{k as ds}from"./shared/formatKebabToPretty-Du43TgPC.mjs";import{M as hs,S as Ss,U as Cs,d as gs,e as fs,f as ks,g as Ps,a as bs,s as ys}from"./shared/unix.schema-CMYTtXco.mjs";import{p as Bs}from"./shared/phone.schema-XBbyizhq.mjs";import{SnackbarProvider as Ts}from"notistack";export{a as AcceptTermsNotice,s as Alert,e as Backdrop,r as Banner,F as BigNumber,t as BrandFilterInput,o as Button,i as CredentialRequestsEditor,x as CustomAlertComponent,n as DateInput,m as DateRangeInput,l as EmailInput,A as EmptyChartSection,V as ErrorCodesChart,u as ExactBirthdayBanner,p as FullWidthAlert,c as Image,d as LegalLink,h as LinkButton,W as LoadingChartSection,hs as MaskedAndUnmaskedSSNSchema,z as MetricLastUpdated,G as MonthlySignupsOverviewTable,S as OTPInput,C as OneClickForm,U as OneClickOverTimeChart,H as OneClickPercentageChart,g as OneClickPoweredByVerified,L as PageHeader,M as PageSectionHeader,E as Paragraph,f as PhoneInput,j as PieChart,k as PrivacyPolicyNotice,P as QRCodeDisplay,Q as ReasonCodesChart,b as ResendPhoneBanner,q as RiskScoreBarChart,J as RiskScorePieChart,y as SSNInput,Ss as SSNSchema,Y as SectionHeader,B as SelectInput,K as SeriesChart,X as SeriesChartLegend,Z as SeriesPercentageChart,_ as SignupBigNumbers,$ as SimpleBarChart,aa as SimpleLegend,Ts as SnackbarProvider,T as TestPhoneNumbersBanner,D as TextButton,I as TimezoneInput,O as Typography,Cs as USDateSchema,v as VerifiedImage,w as VerifiedIncLogo,sa as When,Ta as black,Da as blue,Ia as colors,es as countries,Oa as darkBlue,va as darkGreen,wa as darkGrey,Ra as darkGreyContrast,Na as darkRed,La as darkYellow,gs as descriptionSchema,fs as emailSchema,ks as fieldSchema,Za as formatDateMMDDYYYY,_a as formatDateMMYY,$a as formatDateToTimestamp,as as formatExtendedDate,Ps as getDateSchemaWithPastValidation,rs as getPhoneData,ts as getPhoneDataByFieldName,bs as getUnixSchema,Ma as green,Ea as grey,Ya as greyContrast,Fa as infoContrast,ds as kebabCaseToPretty,xa as lightBlue,Aa as lightGreen,Va as lightGrey,Wa as lightGreyContrast,za as lightRed,Ga as lightYellow,ea as mapMonthlySignupsOverviewTableData,ra as mapTimeSeriesData,ms as masks,ls as omitProperties,os as parseToPhoneNational,Bs as phoneSchema,Ua as red,Ha as shadows,is as sortByCountryName,us as ssnFormatter,ys as stateSchema,ja as textDisabled,Qa as theme,ps as toCapitalize,R as toOption,cs as toSentenceCase,N as useBrandFilterInput,oa as useCallbackRef,ga as useCopyToClipboard,ya as useCounter,ia as useDebounceCallback,ka as useDebounceValue,na as useDisclosure,ma as useIntersectionObserver,la as useLocalStorage,ua as useNavigatorOnline,Pa as useOnClickOutside,fa as usePrevious,ba as useQRCode,Ba as useResizeObserver,pa as useScript,ca as useSearchParams,ta as useSnackbar,da as useThrottle,ha as useToggle,Sa as useWindowScroll,Ca as useWindowSize,ss as uuidToHashedColor,ns as validatePhone,qa as warningContrast,Ja as white,Xa as wrapPromise,Ka as yellow};
|