@verifiedinc-public/shared-ui-elements 3.16.0 → 3.17.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/components/form/OneClickForm/components/CredentialsDisplay/utils/getLastPathName.d.ts +6 -0
- package/dist/components/form/OneClickForm/components/CredentialsDisplay/utils/index.d.ts +2 -0
- package/dist/components/form/OneClickForm/contexts/one-click-form-options.context.d.ts +2 -0
- package/dist/components/form/OneClickForm/hooks/useCanFillByQueryParam.d.ts +5 -0
- package/dist/components/index.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/{index-BL1Yw4H8.mjs → index-BDuEPZd_.mjs} +19 -19
- package/package.json +1 -1
@@ -3,6 +3,8 @@ type OneClickOptionFeatures = {
|
|
3
3
|
selectableCredentials?: boolean;
|
4
4
|
phoneCredentialWhitelist?: string[];
|
5
5
|
phoneCredentialRegexWhitelist?: string;
|
6
|
+
/** Array of field names that can be filled by query params. Use '*' to allow all fields. */
|
7
|
+
fillEmptyByQueryParam?: string[];
|
6
8
|
};
|
7
9
|
type OneClickOptionServicePaths = {
|
8
10
|
credentialImagePath: string;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Hook to check if a field can be filled by query params based on the fillEmptyByQueryParam option
|
3
|
+
* @returns A function that takes a fieldName and returns a boolean indicating if the field can be filled by query params.
|
4
|
+
*/
|
5
|
+
export declare function useCanFillByQueryParam(): (fieldName: string) => boolean;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";import{A as a,c as s,l as e,B as t,m as r,C as n,D as o,f as i,E as p,j as m,F as c,I as u,b as d,L as l,O as P,h as I,e as g,P as B,Q as S,R as h,S as k,d as f,k as C,T,g as b,a as y,V as A,i as L}from"../shared/index-
|
1
|
+
"use strict";import{A as a,c as s,l as e,B as t,m as r,C as n,D as o,f as i,E as p,j as m,F as c,I as u,b as d,L as l,O as P,h as I,e as g,P as B,Q as S,R as h,S as k,d as f,k as C,T,g as b,a as y,V as A,i as L}from"../shared/index-BDuEPZd_.mjs";import{a as R,b as E,P as N,S as v}from"../shared/PageSectionHeader-DdpDhBZG.mjs";import{C as x,W as D,u as F}from"../shared/index-KVVTzcea.mjs";import{SnackbarProvider as H}from"notistack";export{a as AcceptTermsNotice,s as Alert,e as Backdrop,t as Banner,r as Button,n as CredentialRequestsEditor,x as CustomAlertComponent,o as DateInput,i as DateRangeInput,p as EmailInput,m as ExactBirthdayBanner,c as FullWidthAlert,u as Image,d as LegalLink,l as LinkButton,P as OTPInput,I as OneClickForm,R as PageHeader,E as PageSectionHeader,N as Paragraph,g as PhoneInput,B as PrivacyPolicyNotice,S as QRCodeDisplay,h as ResendPhoneBanner,k as SSNInput,v as SectionHeader,f as SelectInput,H as SnackbarProvider,C as TestPhoneNumbersBanner,T as TextButton,b as TimezoneInput,y as Typography,A as VerifiedImage,L as VerifiedIncLogo,D as When,F as useSnackbar};
|
package/dist/index.mjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";import{A as e,c as t,l as r,B as o,m as n,C as i,D as m,f as u,E as l,j as c,F as d,I as p,b as h,L as S,O as g,h as f,e as k,P,Q as y,R as C,S as D,d as b,k as B,T as I,g as T,a as w,V as N,i as R,n as v,o as Y,q as x,r as A,p as G,s as L,v as M}from"./shared/index-
|
1
|
+
"use strict";import{A as e,c as t,l as r,B as o,m as n,C as i,D as m,f as u,E as l,j as c,F as d,I as p,b as h,L as S,O as g,h as f,e as k,P,Q as y,R as C,S as D,d as b,k as B,T as I,g as T,a as w,V as N,i as R,n as v,o as Y,q as x,r as A,p as G,s as L,v as M}from"./shared/index-BDuEPZd_.mjs";import{a as O,b as W,P as E,S as F}from"./shared/PageSectionHeader-DdpDhBZG.mjs";import{C as U,W as V,u as j}from"./shared/index-KVVTzcea.mjs";import{b as z,d as Q,a as q,j as H,u as $,e as Z,c as _,f as J,g as K,h as X,i as aa}from"./shared/useIntersectionObserver-CbpWuEs0.mjs";import{u as sa}from"./shared/useCopyToClipboard-BALOSYVW.mjs";import{a as ea,u as ta}from"./shared/useOnClickOutside-P5GTcgh8.mjs";import{u as ra}from"./shared/useCounter-BV32zXDQ.mjs";import{u as oa}from"./shared/usePrevious-DyvR1iCQ.mjs";import{b as na,a as ia,v as ma,e as ua,d as la,p as ca,u as da,h as pa,j as ha,g as Sa,o as ga,s as fa,m as ka,c as Pa,l as ya,n as Ca,q as Da,f as ba,i as Ba,r as Ia,z as Ta,t as wa,x as Na,k as Ra,w as va,y as Ya}from"./shared/shadows-Dhd7FrwF.mjs";import{f as xa,b as Aa,a as Ga,c as La}from"./shared/date-Cq0LS2Mr.mjs";import{masks as Ma}from"./utils/masks/index.mjs";import{M as Oa,S as Wa,U as Ea,d as Fa,e as Ua,f as Va,g as ja,a as za,s as Qa}from"./shared/unix.schema-CMYTtXco.mjs";import{p as qa}from"./shared/phone.schema-XBbyizhq.mjs";import{SnackbarProvider as Ha}from"notistack";async function $a(a){try{return[await a,null]}catch(s){return[null,s]}}const Za=a=>a.replace(/(\d{3})-?(\d{2})-?(\d{4})/,"\u2022\u2022\u2022-\u2022\u2022-$3");export{e as AcceptTermsNotice,t as Alert,r as Backdrop,o as Banner,n as Button,i as CredentialRequestsEditor,U as CustomAlertComponent,m as DateInput,u as DateRangeInput,l as EmailInput,c as ExactBirthdayBanner,d as FullWidthAlert,p as Image,h as LegalLink,S as LinkButton,Oa as MaskedAndUnmaskedSSNSchema,g as OTPInput,f as OneClickForm,O as PageHeader,W as PageSectionHeader,E as Paragraph,k as PhoneInput,P as PrivacyPolicyNotice,y as QRCodeDisplay,C as ResendPhoneBanner,D as SSNInput,Wa as SSNSchema,F as SectionHeader,b as SelectInput,Ha as SnackbarProvider,B as TestPhoneNumbersBanner,I as TextButton,T as TimezoneInput,w as Typography,Ea as USDateSchema,N as VerifiedImage,R as VerifiedIncLogo,V as When,na as black,ia as blue,ma as colors,v as countries,ua as darkBlue,la as darkGreen,ca as darkGrey,da as darkGreyContrast,pa as darkRed,ha as darkYellow,Fa as descriptionSchema,Ua as emailSchema,Va as fieldSchema,xa as formatDateMMDDYYYY,Aa as formatDateMMYY,Ga as formatDateToTimestamp,La as formatExtendedDate,ja as getDateSchemaWithPastValidation,Y as getPhoneData,x as getPhoneDataByFieldName,za as getUnixSchema,Sa as green,ga as grey,fa as greyContrast,ka as infoContrast,Pa as lightBlue,ya as lightGreen,Ca as lightGrey,Da as lightGreyContrast,ba as lightRed,Ba as lightYellow,Ma as masks,A as omitProperties,G as parseToPhoneNational,qa as phoneSchema,Ia as red,Ta as shadows,L as sortByCountryName,Za as ssnFormatter,Qa as stateSchema,wa as textDisabled,Na as theme,z as useCallbackRef,sa as useCopyToClipboard,ra as useCounter,Q as useDebounceValue,q as useDisclosure,H as useIntersectionObserver,$ as useLocalStorage,ea as useOnClickOutside,oa as usePrevious,ta as useQRCode,Z as useScript,_ as useSearchParams,j as useSnackbar,J as useThrottle,K as useToggle,X as useWindowScroll,aa as useWindowSize,M as validatePhone,Ra as warningContrast,va as white,$a as wrapPromise,Ya as yellow};
|