@zeniai/web-components 4.2.55-betaAK3 → 4.2.55-betaAK4
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/{SessionTimeoutPopup-aWRvfi6A.cjs → SessionTimeoutPopup-C5hCcpTD.cjs} +3 -3
- package/dist/{SessionTimeoutPopup-BtIQwCrx.js → SessionTimeoutPopup-DNjFjX7W.js} +9 -9
- package/dist/cockpit.cjs.js +1 -1
- package/dist/cockpit.esm.js +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +1 -1
|
@@ -74571,7 +74571,7 @@ ${Pi.beneficiaryAddress} ${ee}`,d(ue),L(!0)},ne=(me,ue,ie,ce)=>{let pe,ye;switch
|
|
|
74571
74571
|
flex-shrink: 0;
|
|
74572
74572
|
width: ${o.sp3};
|
|
74573
74573
|
height: ${o.sp3};
|
|
74574
|
-
`,{invoicingCustomerForm:z2}=F.getLocalizedStrings(),wZs={business:z2.customerTypeBusiness,residential:z2.customerTypeResidential},EZs={0:z2.netTermImmediate,15:z2.netTerm15,30:z2.netTerm30,45:z2.netTerm45,60:z2.netTerm60},AZs={taxable:z2.taxabilityTaxable,exempt:z2.taxabilityExempt},tY=(e,n)=>e.map(i=>({label:n[i]??i,value:i})),gse=()=>({customerType:tY(Y.INVOICING_CUSTOMER_TYPE_VALUES,wZs),netTerms:tY(Y.INVOICING_NET_TERM_DAY_VALUES,EZs),taxability:tY(Y.INVOICING_TAXABILITY_VALUES,AZs)}),TA=(e,n)=>({allOptions:e,selectedOption:n}),RZs=(e,n)=>({auto_collection:e.autoCollection,company:e.company,customer_type:TA(n.customerType,e.customerType),email:e.email,first_name:e.firstName,invoice_notes:e.invoiceNotes,last_name:e.lastName,net_terms:TA(n.netTerms,e.netTermDays),phone:e.phone,taxability:TA(n.taxability,e.taxability),vat_number:e.vatNumber}),vZs=e=>({autoCollection:e.auto_collection,company:e.company,customerType:e.customer_type.selectedOption??"business",email:e.email,firstName:e.first_name,invoiceNotes:e.invoice_notes,lastName:e.last_name,netTermDays:e.net_terms.selectedOption??"",phone:e.phone,preferredCurrencyCode:"USD",taxability:e.taxability.selectedOption??"taxable",vatNumber:e.vat_number}),ZZe=(e,n)=>({auto_collection:e.autoCollection,company:e.company,email:e.email,first_name:e.firstName,invoice_notes:e.invoiceNotes,last_name:e.lastName,net_terms:TA(n.netTerms,e.netTermDays),phone:e.phone,taxability:TA(n.taxability,e.taxability),vat_number:e.vatNumber}),U8e=(e,n)=>({...n,autoCollection:e.auto_collection,company:e.company,email:e.email,firstName:e.first_name,invoiceNotes:e.invoice_notes,lastName:e.last_name,netTermDays:e.net_terms.selectedOption??"",phone:e.phone,taxability:e.taxability.selectedOption??"taxable",vatNumber:e.vat_number}),$Zs=e=>ZZe(Y.entityToInvoicingCustomerFormLocalData(e),gse()),{invoicingCommon:Ui,invoicingCustomerForm:rx}=F.getLocalizedStrings(),SZs="invoicing-customer-form",a1=160;function kZs({billingAddressLabel:e,errorMessage:n,isSubmitting:i,localData:r,mode:a,onBack:l,onCancel:c,onChange:d,onOpenAddress:u,onSubmit:p}){const[x,g]=h.useState(),f=h.useMemo(()=>gse(),[]),y=h.useMemo(()=>RZs(r,f),[r,f]),j=t.useForm({defaultValues:y}),{getValues:b,reset:w,watch:A}=j,R=h.useRef(!1);h.useEffect(()=>{R.current||w(y)},[y,w]);const v=h.useCallback(()=>{R.current=!0,d(vZs(b()))},[b,d]);h.useEffect(()=>{const T=A((B,{type:L})=>{L==="change"&&v()});return()=>T.unsubscribe()},[A,v]);const I=T=>{if(T.email.trim()===""&&T.first_name.trim()===""&&T.last_name.trim()===""&&T.company.trim()===""){g(rx.validationEnterCompanyNameOrEmail);return}g(void 0),p()},k=a==="edit"?rx.editCustomerTitle:rx.newCustomerTitle,S=a==="edit"?Ui.saveChanges:Ui.createCustomerLabel;return t.jsxRuntimeExports.jsx(qv,{errorMessage:x??n,formId:SZs,isSubmitting:i,methods:j,onBack:l??c,onCancel:c,onSubmit:I,submitLabel:S,title:k,children:t.jsxRuntimeExports.jsxs(wE,{children:[t.jsxRuntimeExports.jsxs(lr,{description:rx.customerDetailsDescription,title:Ui.customerDetails,children:[t.jsxRuntimeExports.jsx(gt,{label:{label:Ui.firstNameLabel,width:a1},text:{name:"first_name",placeholder:Ui.firstNamePlaceholder,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:Ui.lastNameLabel,width:a1},text:{name:"last_name",placeholder:Ui.lastNamePlaceholder,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:Ui.email,width:a1},text:{name:"email",placeholder:Ui.emailPlaceholder,type:"email"}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:Ui.phoneLabel,width:a1},text:{name:"phone",placeholder:Ui.phonePlaceholder,type:"tel"}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:rx.companyNameLabel,width:a1},text:{name:"company",placeholder:Ui.companyPlaceholder,type:"text"}}),t.jsxRuntimeExports.jsx(Jo,{label:{label:rx.customerTypeLabel,width:a1},singleSelectPickerField:{defaultValue:y.customer_type,name:"customer_type",placeholder:rx.selectTypePlaceholder}})]}),t.jsxRuntimeExports.jsx(lr,{description:rx.billingAddressSectionDescription,title:rx.addCompanyBillingAddressTitle,children:t.jsxRuntimeExports.jsx(eN,{label:e,onOpen:u})}),t.jsxRuntimeExports.jsxs(lr,{description:rx.billingSettingsDescription,title:rx.billingSettingsTitle,children:[t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:Ui.vatNumber,width:a1},text:{name:"vat_number",placeholder:Ui.vatNumberPlaceholder,type:"text"}}),t.jsxRuntimeExports.jsx(t.Controller,{control:j.control,name:"auto_collection",render:({field:T})=>t.jsxRuntimeExports.jsx(VZe,{checked:T.value,description:Ui.autoCollectionDescription,label:Ui.autoCollection,onChange:T.onChange})}),t.jsxRuntimeExports.jsx(Jo,{label:{label:Ui.netTerms,width:a1},singleSelectPickerField:{defaultValue:y.net_terms,name:"net_terms",placeholder:Ui.selectNetTerm}}),t.jsxRuntimeExports.jsx(mg,{label:Ui.preferredCurrency,children:t.jsxRuntimeExports.jsx(tC,{children:Ui.currencyUsd})}),t.jsxRuntimeExports.jsx(Jo,{label:{label:Ui.taxability,width:a1},singleSelectPickerField:{defaultValue:y.taxability,name:"taxability",placeholder:Ui.selectTaxability}}),t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:Ui.invoiceNotesHint,isOptional:!0,label:{label:Ui.invoiceNotes,width:a1},text:{defaultValue:y.invoice_notes,name:"invoice_notes",placeholder:Ui.invoiceNotesPlaceholder,type:"text"}})]})]})})}const{invoicingCommon:WJ,invoicingRecordPayment:ad}=F.getLocalizedStrings(),IZs={ach_credit:ad.paymentMethodAchCredit,apple_pay:ad.paymentMethodApplePay,bank_transfer:ad.paymentMethodBankTransfer,card:WJ.card,cash:ad.paymentMethodCash,check:ad.paymentMethodCheck,direct_debit:ad.paymentMethodDirectDebit,google_pay:ad.paymentMethodGooglePay,other:ad.optionOther,paypal_express_checkout:ad.paymentMethodPaypal,sepa_credit:ad.paymentMethodSepaCredit},TZs={adyen:ad.gatewayAdyen,braintree:ad.gatewayBraintree,chargebee:WJ.gatewayChargebee,other:ad.optionOther,paypal:ad.paymentMethodPaypal,razorpay:ad.gatewayRazorpay,stripe:WJ.gatewayStripe},LZs=e=>e.map(n=>({label:IZs[n]??n,value:n})),BZs=e=>e.map(n=>({label:TZs[n]??n,value:n})),oY=(e,n)=>({allOptions:e,selectedOption:n}),PZs=e=>{if(e.trim()==="")return;const[n,i,r]=e.split("-").map(Number);if(!(n==null||i==null||r==null))return new Date(n,i-1,r)},DZs=(e,n)=>({amount:e.amount,comment:e.comment,customer:oY(n.customers.map(i=>({label:i.name,value:i.id})),e.customerId!==""?e.customerId:void 0),date:PZs(e.date),gateway:oY(BZs(n.gatewayValues),e.gateway!==""?e.gateway:void 0),invoice_to_link:e.invoiceToLink,payment_method:oY(LZs(n.paymentMethodValues),e.paymentMethod!==""?e.paymentMethod:void 0),reference_number:e.referenceNumber,transaction_id:e.transactionId}),MZs=e=>({amount:e.amount,comment:e.comment,customerId:e.customer.selectedOption??"",date:q1(e.date),gateway:e.gateway.selectedOption??"",invoiceToLink:e.invoice_to_link,paymentMethod:e.payment_method.selectedOption??"",referenceNumber:e.reference_number,transactionId:e.transaction_id}),{invoicingCommon:Fu,invoicingRecordPayment:Wd}=F.getLocalizedStrings(),OZs="invoicing-record-payment-form",Kg=180;function zZs({customers:e,errorMessage:n,gatewayValues:i,isSubmitting:r,localData:a,onBack:l,onCancel:c,onChange:d,onSubmit:u,paymentMethodValues:p}){const[x,g]=h.useState(),f=h.useMemo(()=>({customers:e,gatewayValues:i,paymentMethodValues:p}),[e,i,p]),y=h.useMemo(()=>DZs(a,f),[a,f]),j=t.useForm({defaultValues:y}),{getValues:b,reset:w,watch:A}=j,R=h.useRef(!1);h.useEffect(()=>{R.current||w(y)},[y,w]);const v=h.useCallback(()=>{R.current=!0,d(MZs(b()))},[b,d]);h.useEffect(()=>{const k=A((S,{type:T})=>{T==="change"&&v()});return()=>k.unsubscribe()},[A,v]);const I=k=>{const S=k.customer.selectedOption;if(S==null||S===""){g(Wd.validationSelectCustomer);return}const T=k.payment_method.selectedOption;if(T==null||T===""){g(Wd.validationSelectPaymentMethod);return}const B=Math.round(Number.parseFloat(k.amount)*100);if(Number.isNaN(B)||B<=0){g(Wd.validationEnterValidAmount);return}g(void 0),u()};return t.jsxRuntimeExports.jsx(qv,{errorMessage:x??n,formId:OZs,isSubmitting:r,methods:j,onBack:l??c,onCancel:c,onSubmit:I,submitLabel:Fu.recordPayment,title:Fu.recordPayment,children:t.jsxRuntimeExports.jsxs(wE,{children:[t.jsxRuntimeExports.jsxs(lr,{title:Wd.sectionPaymentDetails,children:[t.jsxRuntimeExports.jsx(Jo,{label:{label:Fu.customer,width:Kg},singleSelectPickerField:{defaultValue:y.customer,name:"customer",placeholder:Wd.placeholderAddCustomer}}),t.jsxRuntimeExports.jsx(Ss,{formattedTextField:{decimalScale:2,fixedDecimalScale:!0,name:"amount",placeholder:"0.00",prefix:Fu.dollarPrefix,thousandSeparator:!0,type:"number"},label:{label:Fu.amount,width:Kg}}),t.jsxRuntimeExports.jsx(mg,{label:Fu.currency,children:t.jsxRuntimeExports.jsx(tC,{children:Fu.currencyUsd})}),t.jsxRuntimeExports.jsx(Jo,{label:{label:Fu.paymentMethod,width:Kg},singleSelectPickerField:{defaultValue:y.payment_method,name:"payment_method",placeholder:Wd.placeholderSelectPaymentMethod}}),t.jsxRuntimeExports.jsx(Jo,{label:{label:Fu.gateway,width:Kg},singleSelectPickerField:{defaultValue:y.gateway,name:"gateway",placeholder:Wd.placeholderSelectGateway}})]}),t.jsxRuntimeExports.jsxs(lr,{title:Wd.sectionReference,children:[t.jsxRuntimeExports.jsx(Wi,{isOptional:!0,label:{label:Fu.date,width:Kg},dateField:{autoComplete:"off",dateFormat:oC,defaultValue:L7(a.date),name:"date",placeholder:Fu.selectDatePlaceholder}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:Fu.transactionId,width:Kg},text:{name:"transaction_id",placeholder:Wd.placeholderAddTransactionId,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:Fu.referenceNumber,width:Kg},text:{name:"reference_number",placeholder:Wd.placeholderAddReferenceNumber,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:Wd.labelInvoiceToLink,width:Kg},text:{name:"invoice_to_link",placeholder:Wd.placeholderAddInvoiceToLink,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:Wd.labelComment,width:Kg},text:{name:"comment",placeholder:Wd.placeholderCommentInternalNote,type:"text"}})]})]})})}const{invoicingCommon:qL,invoicingSubscriptionForm:Y8e}=F.getLocalizedStrings(),FZs={half_yearly:Y8e.billingFrequencyHalfYearly,monthly:qL.monthly,quarterly:qL.quarterly,weekly:qL.weekly,yearly:Y8e.billingFrequencyYearly},KZe=e=>e.subtitle!=null?`${e.label}${qL.middleDotSeparator}${e.subtitle}`:e.label,nY=e=>e.map(n=>({label:KZe(n),value:n.id})),G8e=e=>e.map(n=>({isDisabled:!1,isFiltered:!1,label:KZe(n),value:n.id})),NZs=e=>e.map(n=>({label:FZs[n]??n,value:n})),kI=(e,n)=>({allOptions:e,selectedOption:n}),HZs=e=>{if(e.trim()==="")return;const[n,i,r]=e.split("-").map(Number);if(!(n==null||i==null||r==null))return new Date(n,i-1,r)},_Zs=(e,n)=>({addons:{allOptions:G8e(n.addons),selectedOptions:e.addonIds},auto_collection:e.autoCollection,billing_frequency:kI(NZs(n.billingFrequency),e.billingFrequency),charges:{allOptions:G8e(n.charges),selectedOptions:e.chargeIds},coupon:kI(nY(n.coupons),e.couponId!==""?e.couponId:void 0),customer:kI(nY(n.customers),e.customerId!==""?e.customerId:void 0),plan:kI(nY(n.plans),e.planId!==""?e.planId:void 0),po_number:e.poNumber,setup_fee:e.setupFee,trial_end:HZs(e.trialEnd)}),WZs=e=>({addonIds:e.addons.selectedOptions,autoCollection:e.auto_collection,billingFrequency:e.billing_frequency.selectedOption??"monthly",chargeIds:e.charges.selectedOptions,couponId:e.coupon.selectedOption??"",customerId:e.customer.selectedOption??"",planId:e.plan.selectedOption??"",poNumber:e.po_number,preferredCurrencyCode:"USD",setupFee:e.setup_fee,trialEnd:q1(e.trial_end)}),VZs=e=>({auto_collection:e.autoCollection,po_number:e.poNumber}),q8e=(e,n)=>({...n,autoCollection:e.auto_collection,poNumber:e.po_number}),QZs=e=>VZs(e),{invoicingCommon:Sr,invoicingSubscriptionForm:oa}=F.getLocalizedStrings(),UZs="invoicing-subscription-form",Jg=180;function YZs({addons:e=[],billingFrequencyValues:n,charges:i=[],coupons:r=[],customers:a=[],errorMessage:l,isSubmitting:c,localData:d,mode:u,onBack:p,onCancel:x,onChange:g,onOpenAddress:f,onSubmit:y,plans:j=[],shippingAddressLabel:b}){const[w,A]=h.useState(),R=h.useMemo(()=>({addons:e,billingFrequency:n,charges:i,coupons:r,customers:a,plans:j}),[e,n,i,r,a,j]),v=h.useMemo(()=>_Zs(d,R),[d,R]),I=t.useForm({defaultValues:v}),{getValues:k,reset:S,watch:T}=I,B=h.useRef(!1);h.useEffect(()=>{B.current||S(v)},[v,S]);const L=h.useCallback(()=>{B.current=!0,g(WZs(k()))},[k,g]);h.useEffect(()=>{const H=T((U,{type:z})=>{z==="change"&&L()});return()=>H.unsubscribe()},[T,L]);const P=H=>{const U=H.customer.selectedOption;if(U==null||U.trim()===""){A(oa.selectCustomerValidation);return}const z=H.plan.selectedOption;if(z==null||z.trim()===""){A(oa.selectPlanValidation);return}A(void 0),y()},O=u==="edit"?oa.editSubscriptionTitle:Sr.newSubscription,M=u==="edit"?Sr.saveChanges:Sr.createSubscriptionLabel;return t.jsxRuntimeExports.jsx(qv,{errorMessage:w??l,formId:UZs,isSubmitting:c,methods:I,onBack:p??x,onCancel:x,onSubmit:P,submitLabel:M,title:O,children:t.jsxRuntimeExports.jsxs(wE,{children:[t.jsxRuntimeExports.jsxs(lr,{description:oa.subscriptionDetailsDescription,title:Sr.subscriptionDetails,children:[t.jsxRuntimeExports.jsx(Jo,{label:{label:Sr.customer,width:Jg},singleSelectPickerField:{defaultValue:v.customer,name:"customer",placeholder:oa.selectCustomerPlaceholder}}),t.jsxRuntimeExports.jsx(Jo,{label:{label:Sr.plan,width:Jg},singleSelectPickerField:{defaultValue:v.plan,name:"plan",placeholder:Sr.selectPlan}}),t.jsxRuntimeExports.jsx(Jo,{label:{label:Sr.billingFrequency,width:Jg},singleSelectPickerField:{defaultValue:v.billing_frequency,isClearable:!1,name:"billing_frequency",placeholder:oa.selectFrequencyPlaceholder}}),t.jsxRuntimeExports.jsx(mg,{label:Sr.currency,children:t.jsxRuntimeExports.jsx(tC,{children:Sr.currencyUsd})}),t.jsxRuntimeExports.jsx(t.Controller,{control:I.control,name:"auto_collection",render:({field:H})=>t.jsxRuntimeExports.jsx(VZe,{checked:H.value,description:Sr.autoCollectionDescription,label:Sr.autoCollection,onChange:H.onChange})})]}),t.jsxRuntimeExports.jsx(lr,{description:oa.addonsDescription,title:Sr.addOns,children:t.jsxRuntimeExports.jsx(FP,{label:{label:Sr.addOns,width:Jg},multiSelectWithCheckBoxField:{defaultValue:v.addons,name:"addons",placeholder:e.length===0?oa.noAddonsAvailable:oa.selectAddonsPlaceholder}})}),t.jsxRuntimeExports.jsx(lr,{description:oa.oneTimeChargesDescription,title:oa.oneTimeChargesTitle,children:t.jsxRuntimeExports.jsx(FP,{label:{label:oa.oneTimeChargesTitle,width:Jg},multiSelectWithCheckBoxField:{defaultValue:v.charges,name:"charges",placeholder:i.length===0?oa.noChargesAvailable:oa.selectOneTimeChargesPlaceholder}})}),t.jsxRuntimeExports.jsxs(lr,{description:oa.referencesSchedulesDescription,title:oa.referencesSchedulesTitle,children:[t.jsxRuntimeExports.jsx(Ss,{formattedTextField:{decimalScale:2,fixedDecimalScale:!0,name:"setup_fee",placeholder:Sr.placeholderPriceZero,prefix:Sr.dollarPrefix,thousandSeparator:!0,type:"number"},label:{label:oa.setupFeeLabel,width:Jg}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:Sr.poNumber,width:Jg},text:{name:"po_number",placeholder:Sr.addPoNumber,type:"text"}}),t.jsxRuntimeExports.jsx(Wi,{isOptional:!0,label:{label:oa.trialEndDateLabel,width:Jg},dateField:{autoComplete:"off",dateFormat:oC,defaultValue:L7(d.trialEnd),name:"trial_end",placeholder:Sr.selectDatePlaceholder}}),t.jsxRuntimeExports.jsx(Jo,{label:{label:Sr.couponCodeLabel,width:Jg},singleSelectPickerField:{defaultValue:v.coupon,name:"coupon",placeholder:oa.noCouponPlaceholder}})]}),t.jsxRuntimeExports.jsx(lr,{description:oa.shippingAddressDescription,title:Sr.shippingAddress,children:t.jsxRuntimeExports.jsx(eN,{addLabel:Sr.addShippingAddressButton,label:b,onOpen:f})})]})})}const R2={controlHeight:new E(m[5],m[5]),labelMarginRight:new E(m[3],m[4]),paddingLeft:new E(m[3],m[4]),paddingRight:new E(m[2],m[3]),paddingTopBottom:new E(m[2],m[2]),width:new E(343,580,756)};function Z8e({additionalInfoLabel:e,amountName:n,amountPlaceholder:i,isOptional:r,label:a,labelWidth:l,unitDefaultValue:c,unitName:d}){const u=X();return t.jsxRuntimeExports.jsxs(GZs,{size:u,children:[t.jsxRuntimeExports.jsx(Kt,{label:a,htmlFor:n,isOptional:r,style:{marginRight:R2.labelMarginRight.value(u),width:l,height:R2.controlHeight.value(u),minHeight:R2.controlHeight.value(u)}}),t.jsxRuntimeExports.jsxs(qZs,{children:[t.jsxRuntimeExports.jsxs(ZZs,{children:[t.jsxRuntimeExports.jsx(K8e,{children:t.jsxRuntimeExports.jsx(Hs,{autoComplete:"off",name:n,placeholder:i,type:"number"})}),t.jsxRuntimeExports.jsx(KZs,{}),t.jsxRuntimeExports.jsx(K8e,{children:t.jsxRuntimeExports.jsx(Rl,{defaultValue:c,isClearable:!1,isSearchable:!1,name:d})})]}),e!=null?t.jsxRuntimeExports.jsx(JZs,{children:e}):null]})]})}const GZs=s.div`
|
|
74574
|
+
`,{invoicingCustomerForm:z2}=F.getLocalizedStrings(),wZs={business:z2.customerTypeBusiness,residential:z2.customerTypeResidential},EZs={0:z2.netTermImmediate,15:z2.netTerm15,30:z2.netTerm30,45:z2.netTerm45,60:z2.netTerm60},AZs={taxable:z2.taxabilityTaxable,exempt:z2.taxabilityExempt},tY=(e,n)=>e.map(i=>({label:n[i]??i,value:i})),gse=()=>({customerType:tY(Y.INVOICING_CUSTOMER_TYPE_VALUES,wZs),netTerms:tY(Y.INVOICING_NET_TERM_DAY_VALUES,EZs),taxability:tY(Y.INVOICING_TAXABILITY_VALUES,AZs)}),TA=(e,n)=>({allOptions:e,selectedOption:n}),RZs=(e,n)=>({auto_collection:e.autoCollection,company:e.company,customer_type:TA(n.customerType,e.customerType),email:e.email,first_name:e.firstName,invoice_notes:e.invoiceNotes,last_name:e.lastName,net_terms:TA(n.netTerms,e.netTermDays),phone:e.phone,taxability:TA(n.taxability,e.taxability),vat_number:e.vatNumber}),vZs=e=>({autoCollection:e.auto_collection,company:e.company,customerType:e.customer_type.selectedOption??"business",email:e.email,firstName:e.first_name,invoiceNotes:e.invoice_notes,lastName:e.last_name,netTermDays:e.net_terms.selectedOption??"",phone:e.phone,preferredCurrencyCode:"USD",taxability:e.taxability.selectedOption??"taxable",vatNumber:e.vat_number}),ZZe=(e,n)=>({auto_collection:e.autoCollection,company:e.company,email:e.email,first_name:e.firstName,invoice_notes:e.invoiceNotes,last_name:e.lastName,net_terms:TA(n.netTerms,e.netTermDays),phone:e.phone,taxability:TA(n.taxability,e.taxability),vat_number:e.vatNumber}),U8e=(e,n)=>({...n,autoCollection:e.auto_collection,company:e.company,email:e.email,firstName:e.first_name,invoiceNotes:e.invoice_notes,lastName:e.last_name,netTermDays:e.net_terms.selectedOption??"",phone:e.phone,taxability:e.taxability.selectedOption??"taxable",vatNumber:e.vat_number}),$Zs=e=>ZZe(Y.entityToInvoicingCustomerFormLocalData(e),gse()),{invoicingCommon:Ui,invoicingCustomerForm:rx}=F.getLocalizedStrings(),SZs="invoicing-customer-form",a1=160;function kZs({billingAddressLabel:e,errorMessage:n,isSubmitting:i,localData:r,mode:a,onBack:l,onCancel:c,onChange:d,onOpenAddress:u,onSubmit:p}){const[x,g]=h.useState(),f=h.useMemo(()=>gse(),[]),y=h.useMemo(()=>RZs(r,f),[r,f]),j=t.useForm({defaultValues:y}),{getValues:b,reset:w,watch:A}=j,R=h.useRef(!1);h.useEffect(()=>{R.current||w(y)},[y,w]);const v=h.useCallback(()=>{R.current=!0,d(vZs(b()))},[b,d]);h.useEffect(()=>{const T=A((B,{type:L})=>{L==="change"&&v()});return()=>T.unsubscribe()},[A,v]);const I=T=>{if(T.email.trim()===""&&T.first_name.trim()===""&&T.last_name.trim()===""&&T.company.trim()===""){g(rx.validationEnterCompanyNameOrEmail);return}g(void 0),p()},k=a==="edit"?rx.editCustomerTitle:rx.newCustomerTitle,S=a==="edit"?Ui.saveChanges:Ui.createCustomerLabel;return t.jsxRuntimeExports.jsx(qv,{errorMessage:x??n,formId:SZs,isSubmitting:i,methods:j,onBack:l??c,onCancel:c,onSubmit:I,submitLabel:S,title:k,children:t.jsxRuntimeExports.jsxs(wE,{children:[t.jsxRuntimeExports.jsxs(lr,{description:rx.customerDetailsDescription,title:Ui.customerDetails,children:[t.jsxRuntimeExports.jsx(gt,{label:{label:Ui.firstNameLabel,width:a1},text:{name:"first_name",placeholder:Ui.firstNamePlaceholder,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:Ui.lastNameLabel,width:a1},text:{name:"last_name",placeholder:Ui.lastNamePlaceholder,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:Ui.email,width:a1},text:{name:"email",placeholder:Ui.emailPlaceholder,type:"email"}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:Ui.phoneLabel,width:a1},text:{name:"phone",placeholder:Ui.phonePlaceholder,type:"tel"}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:rx.companyNameLabel,width:a1},text:{name:"company",placeholder:Ui.companyPlaceholder,type:"text"}}),t.jsxRuntimeExports.jsx(Jo,{label:{label:rx.customerTypeLabel,width:a1},singleSelectPickerField:{defaultValue:y.customer_type,name:"customer_type",placeholder:rx.selectTypePlaceholder}})]}),t.jsxRuntimeExports.jsx(lr,{description:rx.billingAddressSectionDescription,title:rx.addCompanyBillingAddressTitle,children:t.jsxRuntimeExports.jsx(eN,{label:e,onOpen:u})}),t.jsxRuntimeExports.jsxs(lr,{description:rx.billingSettingsDescription,title:rx.billingSettingsTitle,children:[t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:Ui.vatNumber,width:a1},text:{name:"vat_number",placeholder:Ui.vatNumberPlaceholder,type:"text"}}),t.jsxRuntimeExports.jsx(t.Controller,{control:j.control,name:"auto_collection",render:({field:T})=>t.jsxRuntimeExports.jsx(VZe,{checked:T.value,description:Ui.autoCollectionDescription,label:Ui.autoCollection,onChange:T.onChange})}),t.jsxRuntimeExports.jsx(Jo,{label:{label:Ui.netTerms,width:a1},singleSelectPickerField:{defaultValue:y.net_terms,name:"net_terms",placeholder:Ui.selectNetTerm}}),t.jsxRuntimeExports.jsx(mg,{label:Ui.preferredCurrency,children:t.jsxRuntimeExports.jsx(tC,{children:Ui.currencyUsd})}),t.jsxRuntimeExports.jsx(Jo,{label:{label:Ui.taxability,width:a1},singleSelectPickerField:{defaultValue:y.taxability,name:"taxability",placeholder:Ui.selectTaxability}}),t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:Ui.invoiceNotesHint,isOptional:!0,label:{label:Ui.invoiceNotes,width:a1},text:{defaultValue:y.invoice_notes,name:"invoice_notes",placeholder:Ui.invoiceNotesPlaceholder,type:"text"}})]})]})})}const{invoicingCommon:WJ,invoicingRecordPayment:ad}=F.getLocalizedStrings(),IZs={ach_credit:ad.paymentMethodAchCredit,apple_pay:ad.paymentMethodApplePay,bank_transfer:ad.paymentMethodBankTransfer,card:WJ.card,cash:ad.paymentMethodCash,check:ad.paymentMethodCheck,direct_debit:ad.paymentMethodDirectDebit,google_pay:ad.paymentMethodGooglePay,other:ad.optionOther,paypal_express_checkout:ad.paymentMethodPaypal,sepa_credit:ad.paymentMethodSepaCredit},TZs={adyen:ad.gatewayAdyen,braintree:ad.gatewayBraintree,chargebee:WJ.gatewayChargebee,other:ad.optionOther,paypal:ad.paymentMethodPaypal,razorpay:ad.gatewayRazorpay,stripe:WJ.gatewayStripe},LZs=e=>e.map(n=>({label:IZs[n]??n,value:n})),BZs=e=>e.map(n=>({label:TZs[n]??n,value:n})),oY=(e,n)=>({allOptions:e,selectedOption:n}),PZs=e=>{if(e.trim()==="")return;const[n,i,r]=e.split("-").map(Number);if(!(n==null||i==null||r==null))return new Date(n,i-1,r)},DZs=(e,n)=>({amount:e.amount,comment:e.comment,customer:oY(n.customers.map(i=>({label:i.name,value:i.id})),e.customerId!==""?e.customerId:void 0),date:PZs(e.date),gateway:oY(BZs(n.gatewayValues),e.gateway!==""?e.gateway:void 0),invoice_to_link:e.invoiceToLink,payment_method:oY(LZs(n.paymentMethodValues),e.paymentMethod!==""?e.paymentMethod:void 0),reference_number:e.referenceNumber,transaction_id:e.transactionId}),MZs=e=>({amount:e.amount,comment:e.comment,customerId:e.customer.selectedOption??"",date:q1(e.date),gateway:e.gateway.selectedOption??"",invoiceToLink:e.invoice_to_link,paymentMethod:e.payment_method.selectedOption??"",referenceNumber:e.reference_number,transactionId:e.transaction_id}),{invoicingCommon:Fu,invoicingRecordPayment:Wd}=F.getLocalizedStrings(),OZs="invoicing-record-payment-form",Kg=180;function zZs({customers:e,errorMessage:n,gatewayValues:i,isSubmitting:r,localData:a,onBack:l,onCancel:c,onChange:d,onSubmit:u,paymentMethodValues:p}){const[x,g]=h.useState(),f=h.useMemo(()=>({customers:e,gatewayValues:i,paymentMethodValues:p}),[e,i,p]),y=h.useMemo(()=>DZs(a,f),[a,f]),j=t.useForm({defaultValues:y}),{getValues:b,reset:w,watch:A}=j,R=h.useRef(!1);h.useEffect(()=>{R.current||w(y)},[y,w]);const v=h.useCallback(()=>{R.current=!0,d(MZs(b()))},[b,d]);h.useEffect(()=>{const k=A((S,{type:T})=>{T==="change"&&v()});return()=>k.unsubscribe()},[A,v]);const I=k=>{const S=k.customer.selectedOption;if(S==null||S===""){g(Wd.validationSelectCustomer);return}const T=k.payment_method.selectedOption;if(T==null||T===""){g(Wd.validationSelectPaymentMethod);return}const B=Math.round(Number.parseFloat(k.amount)*100);if(Number.isNaN(B)||B<=0){g(Wd.validationEnterValidAmount);return}g(void 0),u()};return t.jsxRuntimeExports.jsx(qv,{errorMessage:x??n,formId:OZs,isSubmitting:r,methods:j,onBack:l??c,onCancel:c,onSubmit:I,submitLabel:Fu.recordPayment,title:Fu.recordPayment,children:t.jsxRuntimeExports.jsxs(wE,{children:[t.jsxRuntimeExports.jsxs(lr,{title:Wd.sectionPaymentDetails,children:[t.jsxRuntimeExports.jsx(Jo,{label:{label:Fu.customer,width:Kg},singleSelectPickerField:{defaultValue:y.customer,name:"customer",placeholder:Wd.placeholderAddCustomer}}),t.jsxRuntimeExports.jsx(Ss,{formattedTextField:{decimalScale:2,fixedDecimalScale:!0,name:"amount",placeholder:"0.00",prefix:Fu.dollarPrefix,thousandSeparator:!0,type:"number"},label:{label:Fu.amount,width:Kg}}),t.jsxRuntimeExports.jsx(mg,{label:Fu.currency,children:t.jsxRuntimeExports.jsx(tC,{children:Fu.currencyUsd})}),t.jsxRuntimeExports.jsx(Jo,{label:{label:Fu.paymentMethod,width:Kg},singleSelectPickerField:{defaultValue:y.payment_method,name:"payment_method",placeholder:Wd.placeholderSelectPaymentMethod}}),t.jsxRuntimeExports.jsx(Jo,{label:{label:Fu.gateway,width:Kg},singleSelectPickerField:{defaultValue:y.gateway,name:"gateway",placeholder:Wd.placeholderSelectGateway}})]}),t.jsxRuntimeExports.jsxs(lr,{title:Wd.sectionReference,children:[t.jsxRuntimeExports.jsx(Wi,{isOptional:!0,label:{label:Fu.date,width:Kg},dateField:{autoComplete:"off",dateFormat:oC,defaultValue:L7(a.date),name:"date",placeholder:Fu.selectDatePlaceholder}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:Fu.transactionId,width:Kg},text:{name:"transaction_id",placeholder:Wd.placeholderAddTransactionId,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:Fu.referenceNumber,width:Kg},text:{name:"reference_number",placeholder:Wd.placeholderAddReferenceNumber,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:Wd.labelInvoiceToLink,width:Kg},text:{name:"invoice_to_link",placeholder:Wd.placeholderAddInvoiceToLink,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:Wd.labelComment,width:Kg},text:{name:"comment",placeholder:Wd.placeholderCommentInternalNote,type:"text"}})]})]})})}const{invoicingCommon:qL,invoicingSubscriptionForm:Y8e}=F.getLocalizedStrings(),FZs={half_yearly:Y8e.billingFrequencyHalfYearly,monthly:qL.monthly,quarterly:qL.quarterly,weekly:qL.weekly,yearly:Y8e.billingFrequencyYearly},KZe=e=>e.subtitle!=null?`${e.label}${qL.middleDotSeparator}${e.subtitle}`:e.label,nY=e=>e.map(n=>({label:KZe(n),value:n.id})),G8e=e=>e.map(n=>({isDisabled:!1,isFiltered:!1,label:KZe(n),value:n.id})),NZs=e=>e.map(n=>({label:FZs[n]??n,value:n})),kI=(e,n)=>({allOptions:e,selectedOption:n}),HZs=e=>{if(e.trim()==="")return;const[n,i,r]=e.split("-").map(Number);if(!(n==null||i==null||r==null))return new Date(n,i-1,r)},_Zs=(e,n)=>({addons:{allOptions:G8e(n.addons),selectedOptions:e.addonIds},auto_collection:e.autoCollection,billing_frequency:kI(NZs(n.billingFrequency),e.billingFrequency),charges:{allOptions:G8e(n.charges),selectedOptions:e.chargeIds},coupon:kI(nY(n.coupons),e.couponId!==""?e.couponId:void 0),customer:kI(nY(n.customers),e.customerId!==""?e.customerId:void 0),plan:kI(nY(n.plans),e.planId!==""?e.planId:void 0),po_number:e.poNumber,setup_fee:e.setupFee,trial_end:HZs(e.trialEnd)}),WZs=e=>({addonIds:e.addons.selectedOptions,autoCollection:e.auto_collection,billingFrequency:e.billing_frequency.selectedOption??"monthly",chargeIds:e.charges.selectedOptions,couponId:e.coupon.selectedOption??"",customerId:e.customer.selectedOption??"",planId:e.plan.selectedOption??"",poNumber:e.po_number,preferredCurrencyCode:"USD",setupFee:e.setup_fee,trialEnd:q1(e.trial_end)}),VZs=e=>({auto_collection:e.autoCollection,po_number:e.poNumber}),q8e=(e,n)=>({...n,autoCollection:e.auto_collection,poNumber:e.po_number}),QZs=e=>VZs(e),{invoicingCommon:Sr,invoicingSubscriptionForm:oa}=F.getLocalizedStrings(),UZs="invoicing-subscription-form",Jg=180;function YZs({addons:e=[],billingFrequencyValues:n,charges:i=[],coupons:r=[],customers:a=[],errorMessage:l,isSubmitting:c,localData:d,mode:u,onBack:p,onCancel:x,onChange:g,onOpenAddress:f,onSubmit:y,plans:j=[],shippingAddressLabel:b}){const[w,A]=h.useState(),R=h.useMemo(()=>({addons:e,billingFrequency:n,charges:i,coupons:r,customers:a,plans:j}),[e,n,i,r,a,j]),v=h.useMemo(()=>_Zs(d,R),[d,R]),I=t.useForm({defaultValues:v}),{getValues:k,reset:S,watch:T}=I,B=h.useRef(!1);h.useEffect(()=>{B.current||S(v)},[v,S]);const L=h.useCallback(()=>{B.current=!0,g(WZs(k()))},[k,g]);h.useEffect(()=>{const H=T((U,{type:z})=>{z==="change"&&L()});return()=>H.unsubscribe()},[T,L]);const P=H=>{const U=H.customer.selectedOption;if(U==null||U.trim()===""){A(oa.selectCustomerValidation);return}const z=H.plan.selectedOption;if(z==null||z.trim()===""){A(oa.selectPlanValidation);return}A(void 0),y()},O=u==="edit"?oa.editSubscriptionTitle:Sr.newSubscription,M=u==="edit"?Sr.saveChanges:Sr.createSubscriptionLabel;return t.jsxRuntimeExports.jsx(qv,{errorMessage:w??l,formId:UZs,isSubmitting:c,methods:I,onBack:p??x,onCancel:x,onSubmit:P,submitLabel:M,title:O,children:t.jsxRuntimeExports.jsxs(wE,{children:[t.jsxRuntimeExports.jsxs(lr,{description:oa.subscriptionDetailsDescription,title:Sr.subscriptionDetails,children:[t.jsxRuntimeExports.jsx(Jo,{label:{label:Sr.customer,width:Jg},singleSelectPickerField:{defaultValue:v.customer,name:"customer",placeholder:oa.selectCustomerPlaceholder}}),t.jsxRuntimeExports.jsx(Jo,{label:{label:Sr.plan,width:Jg},singleSelectPickerField:{defaultValue:v.plan,name:"plan",placeholder:Sr.selectPlan}}),t.jsxRuntimeExports.jsx(Jo,{label:{label:Sr.billingFrequency,width:Jg},singleSelectPickerField:{defaultValue:v.billing_frequency,isClearable:!1,name:"billing_frequency",placeholder:oa.selectFrequencyPlaceholder}}),t.jsxRuntimeExports.jsx(mg,{label:Sr.currency,children:t.jsxRuntimeExports.jsx(tC,{children:Sr.currencyUsd})}),t.jsxRuntimeExports.jsx(t.Controller,{control:I.control,name:"auto_collection",render:({field:H})=>t.jsxRuntimeExports.jsx(VZe,{checked:H.value,description:Sr.autoCollectionDescription,label:Sr.autoCollection,onChange:H.onChange})})]}),t.jsxRuntimeExports.jsx(lr,{description:oa.addonsDescription,title:Sr.addOns,children:t.jsxRuntimeExports.jsx(FP,{label:{label:Sr.addOns,width:Jg},multiSelectWithCheckBoxField:{defaultValue:v.addons,name:"addons",placeholder:e.length===0?oa.noAddonsAvailable:oa.selectAddonsPlaceholder}})}),t.jsxRuntimeExports.jsx(lr,{description:oa.oneTimeChargesDescription,title:oa.oneTimeChargesTitle,children:t.jsxRuntimeExports.jsx(FP,{label:{label:oa.oneTimeChargesTitle,width:Jg},multiSelectWithCheckBoxField:{defaultValue:v.charges,name:"charges",placeholder:i.length===0?oa.noChargesAvailable:oa.selectOneTimeChargesPlaceholder}})}),t.jsxRuntimeExports.jsxs(lr,{description:oa.referencesSchedulesDescription,title:oa.referencesSchedulesTitle,children:[t.jsxRuntimeExports.jsx(Ss,{formattedTextField:{decimalScale:2,fixedDecimalScale:!0,name:"setup_fee",placeholder:Sr.placeholderPriceZero,prefix:Sr.dollarPrefix,thousandSeparator:!0,type:"number"},label:{label:oa.setupFeeLabel,width:Jg}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:Sr.poNumber,width:Jg},text:{name:"po_number",placeholder:Sr.addPoNumber,type:"text"}}),t.jsxRuntimeExports.jsx(Wi,{isOptional:!0,label:{label:oa.trialEndDateLabel,width:Jg},dateField:{autoComplete:"off",dateFormat:oC,defaultValue:L7(d.trialEnd),name:"trial_end",placeholder:Sr.selectDatePlaceholder}}),t.jsxRuntimeExports.jsx(Jo,{label:{label:Sr.couponCodeLabel,width:Jg},singleSelectPickerField:{defaultValue:v.coupon,name:"coupon",placeholder:oa.noCouponPlaceholder}})]}),t.jsxRuntimeExports.jsx(lr,{description:oa.shippingAddressDescription,title:Sr.shippingAddress,children:t.jsxRuntimeExports.jsx(eN,{addLabel:Sr.addShippingAddressButton,label:b,onOpen:f})})]})})}const R2={controlHeight:new E(m[5],m[5]),labelMarginRight:new E(m[3],m[4]),paddingLeft:new E(m[3],m[4]),paddingRight:new E(m[2],m[3]),paddingTopBottom:new E(m[2],m[2]),width:new E(343,580,756)};function Z8e({additionalInfoLabel:e,amountName:n,amountPlaceholder:i,isOptional:r,label:a,labelWidth:l,unitDefaultValue:c,unitName:d}){const u=X();return t.jsxRuntimeExports.jsxs(GZs,{size:u,children:[t.jsxRuntimeExports.jsx(Kt,{label:a,htmlFor:n,isOptional:r,style:{marginRight:R2.labelMarginRight.value(u),width:l,height:R2.controlHeight.value(u),minHeight:R2.controlHeight.value(u)}}),t.jsxRuntimeExports.jsxs(qZs,{children:[t.jsxRuntimeExports.jsxs(ZZs,{children:[t.jsxRuntimeExports.jsx(K8e,{children:t.jsxRuntimeExports.jsx(Hs,{autoComplete:"off",name:n,placeholder:i,type:"text"})}),t.jsxRuntimeExports.jsx(KZs,{}),t.jsxRuntimeExports.jsx(K8e,{children:t.jsxRuntimeExports.jsx(Rl,{defaultValue:c,isClearable:!1,isSearchable:!1,name:d})})]}),e!=null?t.jsxRuntimeExports.jsx(JZs,{children:e}):null]})]})}const GZs=s.div`
|
|
74575
74575
|
display: flex;
|
|
74576
74576
|
flex-direction: row;
|
|
74577
74577
|
align-items: flex-start;
|
|
@@ -74626,7 +74626,7 @@ ${Pi.beneficiaryAddress} ${ee}`,d(ue),L(!0)},ne=(me,ue,ie,ce)=>{let pe,ye;switch
|
|
|
74626
74626
|
${_.smallMedium.css}
|
|
74627
74627
|
color: ${e=>e.theme.colors.grey1};
|
|
74628
74628
|
text-align: right;
|
|
74629
|
-
`,{invoicingCommon:UD,invoicingCatalogForm:cr}=F.getLocalizedStrings(),XZs={addon:UD.addOn,charge:cr.typeOneTimeCharge,plan:UD.plan},eKs={day:cr.trialUnitDay,month:cr.trialUnitMonth,week:cr.periodUnitWeek,year:cr.periodUnitYear},tKs={flat_fee:cr.pricingModelFlatFee,per_unit:cr.pricingModelPerUnit,stairstep:cr.pricingModelStairstep,tiered:cr.pricingModelTiered,volume:cr.pricingModelVolume},oKs={flat_fee:cr.tierTypeFlatFee,package:cr.tierTypePackage,per_unit:cr.tierTypePerUnit},nKs={day:cr.trialUnitDay,month:cr.trialUnitMonth},sKs={activate_subscription:cr.trialEndActivateSubscription,cancel_subscription:UD.cancelSubscription,site_default:cr.trialEndSiteDefault},iKs={full_term:cr.prorationFullTerm,partial_term:cr.prorationPartialTerm,site_default:cr.trialEndSiteDefault},rKs={all:cr.applicabilityAll,restricted:cr.applicabilityRestricted},sf=(e,n)=>e.map(i=>({label:n[i]??i,value:i})),aKs=e=>({applicability:sf(e.applicabilityValues,rKs),periodUnit:sf(e.periodUnitValues,eKs),pricingModel:sf(e.pricingModelValues,tKs),proration:sf(e.prorationValues,iKs),tierType:sf(e.tierTypeValues,oKs),trialEnd:sf(e.trialEndActionValues,sKs),trialUnit:sf(e.trialUnitValues,nKs),type:sf(e.typeValues,XZs)}),fse=[{key:"isTaxable",label:UD.taxable},{key:"showDescriptionInInvoices",label:cr.labelShowDescriptionInInvoices},{key:"showDescriptionInQuotes",label:cr.labelShowDescriptionInQuotes}],lKs=fse.map(e=>e.key),cKs=e=>fse.find(n=>n.key===e)?.label??e,dKs=(e,n)=>({allOptions:e.map(i=>({isDisabled:!1,isFiltered:!1,label:i.subtitle!=null?`${i.label} · ${i.subtitle}`:i.label,value:i.id})),selectedOptions:n}),Zf=(e,n)=>({allOptions:e,selectedOption:n!==""?n:void 0}),Kf=(e,n)=>e.selectedOption!=null&&e.selectedOption!==""?e.selectedOption:n,JZe=(e,n)=>({from:e.startingUnit,packageSize:e.packageSize,price:e.price,to:e.endingUnit,type:Zf(n.tierType,e.pricingType)}),XZe=(e,n)=>({billing_cycles:e.billingCycles,description:e.description,external_name:e.externalName,flags:{allOptions:lKs,selectedOptions:fse.filter(i=>e[i.key]).map(i=>i.key)},free_quantity:e.freeQuantity,period:e.period,period_unit:Zf(n.periodUnit,e.periodUnit),price:e.priceDollars,pricing_model:Zf(n.pricingModel,e.pricingModel),proration_type:Zf(n.proration,e.prorationType),tiers:e.tiers.map(i=>JZe(i,n)),trial_end_action:Zf(n.trialEnd,e.trialEndAction),trial_period:e.trialPeriod,trial_period_unit:Zf(n.trialUnit,e.trialPeriodUnit)}),uKs=(e,n,i)=>({applicable_items:dKs(i,e.applicableItems),catalog_accounting_category:e.accountingCategory,catalog_accounting_code:e.accountingCode,catalog_description:e.description,catalog_external_name:e.externalName,catalog_invoice_name:e.invoiceName,catalog_invoice_notes:e.invoiceNotes,catalog_item_applicability:Zf(n.applicability,e.itemApplicability),catalog_item_id:e.itemId,catalog_name:e.name,catalog_sku:e.sku,catalog_type:Zf(n.type,e.catalogType),catalog_unit:e.unit,subFamilies:e.subFamilies.map(r=>XZe(r,n))}),pKs=e=>({endingUnit:e.to,packageSize:e.packageSize,price:e.price,pricingType:Kf(e.type,"per_unit"),startingUnit:e.from}),mKs=e=>{const n=new Set(e.flags.selectedOptions);return{billingCycles:e.billing_cycles,description:e.description,externalName:e.external_name,freeQuantity:e.free_quantity,isTaxable:n.has("isTaxable"),period:e.period,periodUnit:Kf(e.period_unit,"month"),priceDollars:e.price,pricingModel:Kf(e.pricing_model,"flat_fee"),prorationType:Kf(e.proration_type,"site_default"),showDescriptionInInvoices:n.has("showDescriptionInInvoices"),showDescriptionInQuotes:n.has("showDescriptionInQuotes"),tiers:e.tiers.map(pKs),trialEndAction:Kf(e.trial_end_action,"site_default"),trialPeriod:e.trial_period,trialPeriodUnit:Kf(e.trial_period_unit,"month")}},xKs=e=>({accountingCategory:e.catalog_accounting_category,accountingCode:e.catalog_accounting_code,applicableItems:e.applicable_items.selectedOptions,catalogType:Kf(e.catalog_type,"plan"),description:e.catalog_description,externalName:e.catalog_external_name,invoiceName:e.catalog_invoice_name,invoiceNotes:e.catalog_invoice_notes,itemApplicability:Kf(e.catalog_item_applicability,"all"),itemId:e.catalog_item_id,name:e.catalog_name,sku:e.catalog_sku,subFamilies:e.subFamilies.map(mKs),unit:e.catalog_unit}),hKs=e=>XZe(Y.blankInvoicingCatalogSubFamily(),e),J8e=(e,n="1")=>JZe(Y.blankInvoicingCatalogTier(n),e),{common:gKs,invoicingCommon:Si,invoicingCatalogForm:rn}=F.getLocalizedStrings(),fKs="invoicing-catalog-item-form",Vd=180;function yKs({applicabilityValues:e,applicableItemOptions:n=[],defaultType:i,errorMessage:r,isSubmitting:a,localData:l,mode:c,onBack:d,onCancel:u,onChange:p,onSubmit:x,periodUnitValues:g,pricingModelValues:f,prorationValues:y,tierTypeValues:j,trialEndActionValues:b,trialUnitValues:w,typeValues:A}){const[R,v]=h.useState(),I=h.useMemo(()=>aKs({applicabilityValues:e,periodUnitValues:g,pricingModelValues:f,prorationValues:y,tierTypeValues:j,trialEndActionValues:b,trialUnitValues:w,typeValues:A}),[e,g,f,y,j,b,w,A]),k=h.useMemo(()=>uKs(l,I,n),[l,I,n]),S=t.useForm({defaultValues:k}),{control:T,getValues:B,reset:L,watch:P}=S,O=t.useFieldArray({control:T,name:"subFamilies"}),M=h.useRef(!1);h.useEffect(()=>{M.current||L(k)},[k,L]);const H=h.useCallback(()=>{M.current=!0,p(xKs(B()))},[B,p]);h.useEffect(()=>{const ne=P((ae,{type:re})=>{re==="change"&&H()});return()=>ne.unsubscribe()},[P,H]);const U=t.useWatch({control:T,name:"catalog_type"}),z=t.useWatch({control:T,name:"catalog_item_applicability"}),W=U?.selectedOption??l.catalogType,N=W==="plan",V=W==="charge",Q=W==="addon",q=(z?.selectedOption??l.itemApplicability)==="restricted",te=O.fields.length===1,G=()=>{O.append(hKs(I)),H()},Z=ne=>{O.remove(ne),H()},J=t.jsxRuntimeExports.jsx(EKs,{"data-testid":D("invoicing-catalog-form-add-sub-family"),onClick:G,children:rn.addNewLink}),ee=ne=>{if(c==="create"&&ne.catalog_item_id.trim()===""){v(rn.validationSubFamilyIdRequired);return}if(ne.catalog_name.trim()===""){v(rn.validationProductFamilyRequired);return}v(void 0),x()},oe=c==="edit"?rn.titleEditCatalogItem:N?rn.titleCreatePlan:V?rn.titleCreateOneTimeCharge:rn.titleCreateAddon,K=c==="edit"?Si.saveChanges:oe,se=N?rn.sectionPlanAndProductFamilyDetails:Si.itemDetails;return t.jsxRuntimeExports.jsx(qv,{errorMessage:R??r,formId:fKs,isSubmitting:a,methods:S,onBack:d??u,onCancel:u,onSubmit:ee,submitLabel:K,title:oe,children:t.jsxRuntimeExports.jsxs(wE,{children:[t.jsxRuntimeExports.jsxs(lr,{title:se,children:[t.jsxRuntimeExports.jsx(Jo,{isDisabled:c==="edit"||i!=null?"disabled":void 0,label:{label:Si.type,width:Vd},singleSelectPickerField:{defaultValue:k.catalog_type,name:"catalog_type"}}),t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:rn.subFamilyIdExample,isDisabled:c==="edit"?"disabled":void 0,label:{label:Si.subFamilyId,width:Vd},text:{defaultValue:k.catalog_item_id,name:"catalog_item_id",placeholder:rn.placeholderAddSubFamilyId,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:rn.customerFacingName,label:{label:rn.labelProductFamily,width:Vd},text:{defaultValue:k.catalog_name,name:"catalog_name",placeholder:rn.placeholderAddProductFamily,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:Si.nameShownOnInvoices,isOptional:!0,label:{label:Si.externalName,width:Vd},text:{defaultValue:k.catalog_external_name,name:"catalog_external_name",placeholder:rn.placeholderAddExternalName,type:"text"}}),t.jsxRuntimeExports.jsx(Jo,{label:{label:Si.itemApplicability,width:Vd},singleSelectPickerField:{defaultValue:k.catalog_item_applicability,name:"catalog_item_applicability"}}),q?t.jsxRuntimeExports.jsx(FP,{label:{label:Si.applicableItems,width:Vd},multiSelectWithCheckBoxField:{defaultValue:k.applicable_items,name:"applicable_items",placeholder:n.length===0?rn.applicableItemsEmptyPlaceholder:rn.selectApplicableItemsPlaceholder}}):null,t.jsxRuntimeExports.jsx(mg,{label:Si.currency,children:t.jsxRuntimeExports.jsx(tC,{children:Si.currencyUsd})}),t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:rn.unitExample,isOptional:!0,label:{label:Si.unit,width:Vd},text:{defaultValue:k.catalog_unit,name:"catalog_unit",placeholder:rn.placeholderAddUnit,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:rn.forInternalUseOnly,isOptional:!0,label:{label:Si.description,width:Vd},text:{defaultValue:k.catalog_description,name:"catalog_description",placeholder:rn.placeholderAddDescription,type:"text"}})]}),t.jsxRuntimeExports.jsxs(CKs,{children:[t.jsxRuntimeExports.jsx(bKs,{children:rn.subFamilyDetailsTitle}),te?J:null]}),O.fields.map((ne,ae)=>t.jsxRuntimeExports.jsx(jKs,{addSubFamilyLabel:J,field:ne,index:ae,isAddon:Q,isLast:ae===O.fields.length-1,isSingle:te,labelWidth:Vd,options:I,persist:H,onRemove:()=>Z(ae)},ne.id)),t.jsxRuntimeExports.jsxs(lr,{title:Si.invoiceNotes,children:[t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:rn.nameShownOnInvoiceLineItem,label:{label:Si.invoiceName,width:Vd},text:{defaultValue:k.catalog_invoice_name,name:"catalog_invoice_name",placeholder:Si.placeholderAddInvoiceName,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:Si.appendedToInvoiceLineItem,label:{label:Si.invoiceNotes,width:Vd},text:{defaultValue:k.catalog_invoice_notes,name:"catalog_invoice_notes",placeholder:Si.addInvoiceNotes,type:"text"}})]}),t.jsxRuntimeExports.jsxs(lr,{title:rn.sectionAccountingIntegration,children:[t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:rn.skuQboExample,label:{label:rn.labelSku,width:Vd},text:{defaultValue:k.catalog_sku,name:"catalog_sku",placeholder:rn.placeholderAddSku,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{label:{label:rn.labelAccountingCode,width:Vd},text:{defaultValue:k.catalog_accounting_code,name:"catalog_accounting_code",placeholder:rn.placeholderAddAccountingCode,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{label:{label:rn.labelCategory,width:Vd},text:{defaultValue:k.catalog_accounting_category,name:"catalog_accounting_category",placeholder:rn.placeholderAddCategory,type:"text"}})]})]})})}function jKs({addSubFamilyLabel:e,field:n,index:i,isAddon:r,isLast:a,isSingle:l,labelWidth:c,options:d,onRemove:u,persist:p}){const{control:x,getValues:g}=t.useFormContext(),f=`subFamilies.${i}`,y=t.useFieldArray({control:x,name:`${f}.tiers`}),j=t.useWatch({control:x,name:`${f}.pricing_model`}),b=t.useWatch({control:x,name:`${f}.trial_period`}),w=Y.isTieredCatalogPricingModel(j?.selectedOption??n.pricing_model.selectedOption??""),A=(b??n.trial_period).trim()!=="",R=()=>{const k=g(`${f}.tiers`),S=k?.[k.length-1]?.to,T=S!=null&&S!==""?String(Number(S)+1):"1";y.append(J8e(d,T)),p()},v=k=>{y.remove(k),p()},I=()=>{y.replace([J8e(d,"1")]),p()};return t.jsxRuntimeExports.jsxs(AKs,{children:[l?null:t.jsxRuntimeExports.jsxs(RKs,{children:[t.jsxRuntimeExports.jsxs(wKs,{children:[t.jsxRuntimeExports.jsx(vKs,{children:`${rn.subFamilyNumberPrefix}${i+1}`}),a?e:null]}),t.jsxRuntimeExports.jsx(eAe,{"data-testid":D("invoicing-catalog-form-remove-sub-family",String(i)),type:"button",onClick:u,children:gKs.remove})]}),t.jsxRuntimeExports.jsxs($Ks,{children:[t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:rn.customerFacingName,label:{label:rn.labelSubFamily,width:c},text:{defaultValue:n.external_name,name:`${f}.external_name`,placeholder:rn.placeholderAddSubFamily,type:"text"}}),t.jsxRuntimeExports.jsx(Jo,{label:{label:Si.labelPricingModel,width:c},singleSelectPickerField:{defaultValue:n.pricing_model,name:`${f}.pricing_model`}}),w?null:t.jsxRuntimeExports.jsx(gt,{label:{label:rn.tierColumnPrice,width:c},text:{defaultValue:n.price,name:`${f}.price`,placeholder:Si.placeholderPriceZero,type:"number"}}),w?t.jsxRuntimeExports.jsx(mg,{label:rn.labelAddTiers,children:t.jsxRuntimeExports.jsxs(SKs,{children:[t.jsxRuntimeExports.jsxs(kKs,{children:[t.jsxRuntimeExports.jsx("span",{children:rn.tierColumnFrom}),t.jsxRuntimeExports.jsx("span",{children:rn.tierColumnTo}),t.jsxRuntimeExports.jsx("span",{children:rn.tierColumnPrice}),t.jsxRuntimeExports.jsx("span",{children:Si.type}),t.jsxRuntimeExports.jsx(IKs,{})]}),y.fields.map((k,S)=>t.jsxRuntimeExports.jsxs(TKs,{children:[t.jsxRuntimeExports.jsx(Hs,{autoComplete:"off",name:`${f}.tiers.${S}.from`,placeholderAlignment:"right",type:"number"}),t.jsxRuntimeExports.jsx(Hs,{autoComplete:"off",name:`${f}.tiers.${S}.to`,placeholder:rn.infinity,placeholderAlignment:"right",type:"number"}),t.jsxRuntimeExports.jsx(Hs,{autoComplete:"off",name:`${f}.tiers.${S}.price`,placeholder:Si.placeholderPriceZero,placeholderAlignment:"right",type:"number"}),t.jsxRuntimeExports.jsx(Rl,{defaultValue:k.type,isClearable:!1,isSearchable:!1,name:`${f}.tiers.${S}.type`}),t.jsxRuntimeExports.jsx(eAe,{"data-testid":D("invoicing-catalog-form-remove-tier",`${i}-${S}`),type:"button",disabled:y.fields.length===1,onClick:()=>v(S),children:rn.removeTierX})]},k.id)),t.jsxRuntimeExports.jsxs(LKs,{children:[t.jsxRuntimeExports.jsx(X8e,{"data-testid":D("invoicing-catalog-form-clear-tiers",String(i)),type:"button",onClick:I,children:Si.clearAll}),t.jsxRuntimeExports.jsx(X8e,{"data-testid":D("invoicing-catalog-form-add-tier",String(i)),type:"button",onClick:R,children:rn.addTierLink})]})]})}):null,t.jsxRuntimeExports.jsx(Z8e,{amountName:`${f}.period`,label:Si.labelBillingPeriod,labelWidth:c,unitDefaultValue:n.period_unit,unitName:`${f}.period_unit`}),t.jsxRuntimeExports.jsx(Z8e,{additionalInfoLabel:rn.hintAddBillingPeriod,amountName:`${f}.trial_period`,amountPlaceholder:rn.placeholderTrialPeriodExample,isOptional:!0,label:Si.trialPeriod,labelWidth:c,unitDefaultValue:n.trial_period_unit,unitName:`${f}.trial_period_unit`}),A?t.jsxRuntimeExports.jsx(Jo,{label:{label:rn.labelTrialEndAction,width:c},singleSelectPickerField:{defaultValue:n.trial_end_action,name:`${f}.trial_end_action`}}):null,t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:rn.hintBillingCyclesUnlimited,label:{label:Si.billingCycles,width:c},text:{defaultValue:n.billing_cycles,name:`${f}.billing_cycles`,placeholder:rn.placeholderAddBillingCycles,type:"number"}}),r?t.jsxRuntimeExports.jsx(Jo,{label:{label:rn.labelProrationType,width:c},singleSelectPickerField:{defaultValue:n.proration_type,name:`${f}.proration_type`}}):null,t.jsxRuntimeExports.jsx(gt,{label:{label:Si.labelFreeQuantity,width:c},text:{defaultValue:n.free_quantity,name:`${f}.free_quantity`,type:"number"}}),t.jsxRuntimeExports.jsx(aF,{label:{label:rn.labelFlags,width:c},multiSelectField:{defaultValue:n.flags,getOptionLabel:cKs,name:`${f}.flags`,placeholder:rn.selectFlagsPlaceholder}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:rn.labelSubFamilyDescription,width:c},text:{defaultValue:n.description,name:`${f}.description`,placeholder:rn.placeholderAddDescription,type:"text"}})]})]})}const CKs=s.div`
|
|
74629
|
+
`,{invoicingCommon:UD,invoicingCatalogForm:cr}=F.getLocalizedStrings(),XZs={addon:UD.addOn,charge:cr.typeOneTimeCharge,plan:UD.plan},eKs={day:cr.trialUnitDay,month:cr.trialUnitMonth,week:cr.periodUnitWeek,year:cr.periodUnitYear},tKs={flat_fee:cr.pricingModelFlatFee,per_unit:cr.pricingModelPerUnit,stairstep:cr.pricingModelStairstep,tiered:cr.pricingModelTiered,volume:cr.pricingModelVolume},oKs={flat_fee:cr.tierTypeFlatFee,package:cr.tierTypePackage,per_unit:cr.tierTypePerUnit},nKs={day:cr.trialUnitDay,month:cr.trialUnitMonth},sKs={activate_subscription:cr.trialEndActivateSubscription,cancel_subscription:UD.cancelSubscription,site_default:cr.trialEndSiteDefault},iKs={full_term:cr.prorationFullTerm,partial_term:cr.prorationPartialTerm,site_default:cr.trialEndSiteDefault},rKs={all:cr.applicabilityAll,restricted:cr.applicabilityRestricted},sf=(e,n)=>e.map(i=>({label:n[i]??i,value:i})),aKs=e=>({applicability:sf(e.applicabilityValues,rKs),periodUnit:sf(e.periodUnitValues,eKs),pricingModel:sf(e.pricingModelValues,tKs),proration:sf(e.prorationValues,iKs),tierType:sf(e.tierTypeValues,oKs),trialEnd:sf(e.trialEndActionValues,sKs),trialUnit:sf(e.trialUnitValues,nKs),type:sf(e.typeValues,XZs)}),fse=[{key:"isTaxable",label:UD.taxable},{key:"showDescriptionInInvoices",label:cr.labelShowDescriptionInInvoices},{key:"showDescriptionInQuotes",label:cr.labelShowDescriptionInQuotes}],lKs=fse.map(e=>e.key),cKs=e=>fse.find(n=>n.key===e)?.label??e,dKs=(e,n)=>({allOptions:e.map(i=>({isDisabled:!1,isFiltered:!1,label:i.subtitle!=null?`${i.label} · ${i.subtitle}`:i.label,value:i.id})),selectedOptions:n}),Zf=(e,n)=>({allOptions:e,selectedOption:n!==""?n:void 0}),Kf=(e,n)=>e.selectedOption!=null&&e.selectedOption!==""?e.selectedOption:n,JZe=(e,n)=>({from:e.startingUnit,packageSize:e.packageSize,price:e.price,to:e.endingUnit,type:Zf(n.tierType,e.pricingType)}),XZe=(e,n)=>({billing_cycles:e.billingCycles,description:e.description,external_name:e.externalName,flags:{allOptions:lKs,selectedOptions:fse.filter(i=>e[i.key]).map(i=>i.key)},free_quantity:e.freeQuantity,period:e.period,period_unit:Zf(n.periodUnit,e.periodUnit),price:e.priceDollars,pricing_model:Zf(n.pricingModel,e.pricingModel),proration_type:Zf(n.proration,e.prorationType),tiers:e.tiers.map(i=>JZe(i,n)),trial_end_action:Zf(n.trialEnd,e.trialEndAction),trial_period:e.trialPeriod,trial_period_unit:Zf(n.trialUnit,e.trialPeriodUnit)}),uKs=(e,n,i)=>({applicable_items:dKs(i,e.applicableItems),catalog_accounting_category:e.accountingCategory,catalog_accounting_code:e.accountingCode,catalog_description:e.description,catalog_external_name:e.externalName,catalog_invoice_name:e.invoiceName,catalog_invoice_notes:e.invoiceNotes,catalog_item_applicability:Zf(n.applicability,e.itemApplicability),catalog_item_id:e.itemId,catalog_name:e.name,catalog_sku:e.sku,catalog_type:Zf(n.type,e.catalogType),catalog_unit:e.unit,subFamilies:e.subFamilies.map(r=>XZe(r,n))}),pKs=e=>({endingUnit:e.to,packageSize:e.packageSize,price:e.price,pricingType:Kf(e.type,"per_unit"),startingUnit:e.from}),mKs=e=>{const n=new Set(e.flags.selectedOptions);return{billingCycles:e.billing_cycles,description:e.description,externalName:e.external_name,freeQuantity:e.free_quantity,isTaxable:n.has("isTaxable"),period:e.period,periodUnit:Kf(e.period_unit,"month"),priceDollars:e.price,pricingModel:Kf(e.pricing_model,"flat_fee"),prorationType:Kf(e.proration_type,"site_default"),showDescriptionInInvoices:n.has("showDescriptionInInvoices"),showDescriptionInQuotes:n.has("showDescriptionInQuotes"),tiers:e.tiers.map(pKs),trialEndAction:Kf(e.trial_end_action,"site_default"),trialPeriod:e.trial_period,trialPeriodUnit:Kf(e.trial_period_unit,"month")}},xKs=e=>({accountingCategory:e.catalog_accounting_category,accountingCode:e.catalog_accounting_code,applicableItems:e.applicable_items.selectedOptions,catalogType:Kf(e.catalog_type,"plan"),description:e.catalog_description,externalName:e.catalog_external_name,invoiceName:e.catalog_invoice_name,invoiceNotes:e.catalog_invoice_notes,itemApplicability:Kf(e.catalog_item_applicability,"all"),itemId:e.catalog_item_id,name:e.catalog_name,sku:e.catalog_sku,subFamilies:e.subFamilies.map(mKs),unit:e.catalog_unit}),hKs=e=>XZe(Y.blankInvoicingCatalogSubFamily(),e),J8e=(e,n="1")=>JZe(Y.blankInvoicingCatalogTier(n),e),{common:gKs,invoicingCommon:Si,invoicingCatalogForm:rn}=F.getLocalizedStrings(),fKs="invoicing-catalog-item-form",Vd=180;function yKs({applicabilityValues:e,applicableItemOptions:n=[],defaultType:i,errorMessage:r,isSubmitting:a,localData:l,mode:c,onBack:d,onCancel:u,onChange:p,onSubmit:x,periodUnitValues:g,pricingModelValues:f,prorationValues:y,tierTypeValues:j,trialEndActionValues:b,trialUnitValues:w,typeValues:A}){const[R,v]=h.useState(),I=h.useMemo(()=>aKs({applicabilityValues:e,periodUnitValues:g,pricingModelValues:f,prorationValues:y,tierTypeValues:j,trialEndActionValues:b,trialUnitValues:w,typeValues:A}),[e,g,f,y,j,b,w,A]),k=h.useMemo(()=>uKs(l,I,n),[l,I,n]),S=t.useForm({defaultValues:k}),{control:T,getValues:B,reset:L,watch:P}=S,O=t.useFieldArray({control:T,name:"subFamilies"}),M=h.useRef(!1);h.useEffect(()=>{M.current||L(k)},[k,L]);const H=h.useCallback(()=>{M.current=!0,p(xKs(B()))},[B,p]);h.useEffect(()=>{const ne=P((ae,{type:re})=>{re==="change"&&H()});return()=>ne.unsubscribe()},[P,H]);const U=t.useWatch({control:T,name:"catalog_type"}),z=t.useWatch({control:T,name:"catalog_item_applicability"}),W=U?.selectedOption??l.catalogType,N=W==="plan",V=W==="charge",Q=W==="addon",q=(z?.selectedOption??l.itemApplicability)==="restricted",te=O.fields.length===1,G=()=>{O.append(hKs(I)),H()},Z=ne=>{O.remove(ne),H()},J=t.jsxRuntimeExports.jsx(EKs,{"data-testid":D("invoicing-catalog-form-add-sub-family"),onClick:G,children:rn.addNewLink}),ee=ne=>{if(c==="create"&&ne.catalog_item_id.trim()===""){v(rn.validationSubFamilyIdRequired);return}if(ne.catalog_name.trim()===""){v(rn.validationProductFamilyRequired);return}v(void 0),x()},oe=c==="edit"?rn.titleEditCatalogItem:N?rn.titleCreatePlan:V?rn.titleCreateOneTimeCharge:rn.titleCreateAddon,K=c==="edit"?Si.saveChanges:oe,se=N?rn.sectionPlanAndProductFamilyDetails:Si.itemDetails;return t.jsxRuntimeExports.jsx(qv,{errorMessage:R??r,formId:fKs,isSubmitting:a,methods:S,onBack:d??u,onCancel:u,onSubmit:ee,submitLabel:K,title:oe,children:t.jsxRuntimeExports.jsxs(wE,{children:[t.jsxRuntimeExports.jsxs(lr,{title:se,children:[t.jsxRuntimeExports.jsx(Jo,{isDisabled:c==="edit"||i!=null?"disabled":void 0,label:{label:Si.type,width:Vd},singleSelectPickerField:{defaultValue:k.catalog_type,name:"catalog_type"}}),t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:rn.subFamilyIdExample,isDisabled:c==="edit"?"disabled":void 0,label:{label:Si.subFamilyId,width:Vd},text:{defaultValue:k.catalog_item_id,name:"catalog_item_id",placeholder:rn.placeholderAddSubFamilyId,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:rn.customerFacingName,label:{label:rn.labelProductFamily,width:Vd},text:{defaultValue:k.catalog_name,name:"catalog_name",placeholder:rn.placeholderAddProductFamily,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:Si.nameShownOnInvoices,isOptional:!0,label:{label:Si.externalName,width:Vd},text:{defaultValue:k.catalog_external_name,name:"catalog_external_name",placeholder:rn.placeholderAddExternalName,type:"text"}}),t.jsxRuntimeExports.jsx(Jo,{label:{label:Si.itemApplicability,width:Vd},singleSelectPickerField:{defaultValue:k.catalog_item_applicability,name:"catalog_item_applicability"}}),q?t.jsxRuntimeExports.jsx(FP,{label:{label:Si.applicableItems,width:Vd},multiSelectWithCheckBoxField:{defaultValue:k.applicable_items,name:"applicable_items",placeholder:n.length===0?rn.applicableItemsEmptyPlaceholder:rn.selectApplicableItemsPlaceholder}}):null,t.jsxRuntimeExports.jsx(mg,{label:Si.currency,children:t.jsxRuntimeExports.jsx(tC,{children:Si.currencyUsd})}),t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:rn.unitExample,isOptional:!0,label:{label:Si.unit,width:Vd},text:{defaultValue:k.catalog_unit,name:"catalog_unit",placeholder:rn.placeholderAddUnit,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:rn.forInternalUseOnly,isOptional:!0,label:{label:Si.description,width:Vd},text:{defaultValue:k.catalog_description,name:"catalog_description",placeholder:rn.placeholderAddDescription,type:"text"}})]}),t.jsxRuntimeExports.jsxs(CKs,{children:[t.jsxRuntimeExports.jsx(bKs,{children:rn.subFamilyDetailsTitle}),te?J:null]}),O.fields.map((ne,ae)=>t.jsxRuntimeExports.jsx(jKs,{addSubFamilyLabel:J,field:ne,index:ae,isAddon:Q,isLast:ae===O.fields.length-1,isSingle:te,labelWidth:Vd,options:I,persist:H,onRemove:()=>Z(ae)},ne.id)),t.jsxRuntimeExports.jsxs(lr,{title:Si.invoiceNotes,children:[t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:rn.nameShownOnInvoiceLineItem,label:{label:Si.invoiceName,width:Vd},text:{defaultValue:k.catalog_invoice_name,name:"catalog_invoice_name",placeholder:Si.placeholderAddInvoiceName,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:Si.appendedToInvoiceLineItem,label:{label:Si.invoiceNotes,width:Vd},text:{defaultValue:k.catalog_invoice_notes,name:"catalog_invoice_notes",placeholder:Si.addInvoiceNotes,type:"text"}})]}),t.jsxRuntimeExports.jsxs(lr,{title:rn.sectionAccountingIntegration,children:[t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:rn.skuQboExample,label:{label:rn.labelSku,width:Vd},text:{defaultValue:k.catalog_sku,name:"catalog_sku",placeholder:rn.placeholderAddSku,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{label:{label:rn.labelAccountingCode,width:Vd},text:{defaultValue:k.catalog_accounting_code,name:"catalog_accounting_code",placeholder:rn.placeholderAddAccountingCode,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{label:{label:rn.labelCategory,width:Vd},text:{defaultValue:k.catalog_accounting_category,name:"catalog_accounting_category",placeholder:rn.placeholderAddCategory,type:"text"}})]})]})})}function jKs({addSubFamilyLabel:e,field:n,index:i,isAddon:r,isLast:a,isSingle:l,labelWidth:c,options:d,onRemove:u,persist:p}){const{control:x,getValues:g}=t.useFormContext(),f=`subFamilies.${i}`,y=t.useFieldArray({control:x,name:`${f}.tiers`}),j=t.useWatch({control:x,name:`${f}.pricing_model`}),b=t.useWatch({control:x,name:`${f}.trial_period`}),w=Y.isTieredCatalogPricingModel(j?.selectedOption??n.pricing_model.selectedOption??""),A=String(b??n.trial_period??"").trim()!=="",R=()=>{const k=g(`${f}.tiers`),S=k?.[k.length-1]?.to,T=S!=null&&S!==""?String(Number(S)+1):"1";y.append(J8e(d,T)),p()},v=k=>{y.remove(k),p()},I=()=>{y.replace([J8e(d,"1")]),p()};return t.jsxRuntimeExports.jsxs(AKs,{children:[l?null:t.jsxRuntimeExports.jsxs(RKs,{children:[t.jsxRuntimeExports.jsxs(wKs,{children:[t.jsxRuntimeExports.jsx(vKs,{children:`${rn.subFamilyNumberPrefix}${i+1}`}),a?e:null]}),t.jsxRuntimeExports.jsx(eAe,{"data-testid":D("invoicing-catalog-form-remove-sub-family",String(i)),type:"button",onClick:u,children:gKs.remove})]}),t.jsxRuntimeExports.jsxs($Ks,{children:[t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:rn.customerFacingName,label:{label:rn.labelSubFamily,width:c},text:{defaultValue:n.external_name,name:`${f}.external_name`,placeholder:rn.placeholderAddSubFamily,type:"text"}}),t.jsxRuntimeExports.jsx(Jo,{label:{label:Si.labelPricingModel,width:c},singleSelectPickerField:{defaultValue:n.pricing_model,name:`${f}.pricing_model`}}),w?null:t.jsxRuntimeExports.jsx(gt,{label:{label:rn.tierColumnPrice,width:c},text:{defaultValue:n.price,name:`${f}.price`,placeholder:Si.placeholderPriceZero,type:"text"}}),w?t.jsxRuntimeExports.jsx(mg,{label:rn.labelAddTiers,children:t.jsxRuntimeExports.jsxs(SKs,{children:[t.jsxRuntimeExports.jsxs(kKs,{children:[t.jsxRuntimeExports.jsx("span",{children:rn.tierColumnFrom}),t.jsxRuntimeExports.jsx("span",{children:rn.tierColumnTo}),t.jsxRuntimeExports.jsx("span",{children:rn.tierColumnPrice}),t.jsxRuntimeExports.jsx("span",{children:Si.type}),t.jsxRuntimeExports.jsx(IKs,{})]}),y.fields.map((k,S)=>t.jsxRuntimeExports.jsxs(TKs,{children:[t.jsxRuntimeExports.jsx(Hs,{autoComplete:"off",name:`${f}.tiers.${S}.from`,placeholderAlignment:"right",type:"text"}),t.jsxRuntimeExports.jsx(Hs,{autoComplete:"off",name:`${f}.tiers.${S}.to`,placeholder:rn.infinity,placeholderAlignment:"right",type:"text"}),t.jsxRuntimeExports.jsx(Hs,{autoComplete:"off",name:`${f}.tiers.${S}.price`,placeholder:Si.placeholderPriceZero,placeholderAlignment:"right",type:"text"}),t.jsxRuntimeExports.jsx(Rl,{defaultValue:k.type,isClearable:!1,isSearchable:!1,name:`${f}.tiers.${S}.type`}),t.jsxRuntimeExports.jsx(eAe,{"data-testid":D("invoicing-catalog-form-remove-tier",`${i}-${S}`),type:"button",disabled:y.fields.length===1,onClick:()=>v(S),children:rn.removeTierX})]},k.id)),t.jsxRuntimeExports.jsxs(LKs,{children:[t.jsxRuntimeExports.jsx(X8e,{"data-testid":D("invoicing-catalog-form-clear-tiers",String(i)),type:"button",onClick:I,children:Si.clearAll}),t.jsxRuntimeExports.jsx(X8e,{"data-testid":D("invoicing-catalog-form-add-tier",String(i)),type:"button",onClick:R,children:rn.addTierLink})]})]})}):null,t.jsxRuntimeExports.jsx(Z8e,{amountName:`${f}.period`,label:Si.labelBillingPeriod,labelWidth:c,unitDefaultValue:n.period_unit,unitName:`${f}.period_unit`}),t.jsxRuntimeExports.jsx(Z8e,{additionalInfoLabel:rn.hintAddBillingPeriod,amountName:`${f}.trial_period`,amountPlaceholder:rn.placeholderTrialPeriodExample,isOptional:!0,label:Si.trialPeriod,labelWidth:c,unitDefaultValue:n.trial_period_unit,unitName:`${f}.trial_period_unit`}),A?t.jsxRuntimeExports.jsx(Jo,{label:{label:rn.labelTrialEndAction,width:c},singleSelectPickerField:{defaultValue:n.trial_end_action,name:`${f}.trial_end_action`}}):null,t.jsxRuntimeExports.jsx(gt,{additionalInfoLabel:rn.hintBillingCyclesUnlimited,label:{label:Si.billingCycles,width:c},text:{defaultValue:n.billing_cycles,name:`${f}.billing_cycles`,placeholder:rn.placeholderAddBillingCycles,type:"text"}}),r?t.jsxRuntimeExports.jsx(Jo,{label:{label:rn.labelProrationType,width:c},singleSelectPickerField:{defaultValue:n.proration_type,name:`${f}.proration_type`}}):null,t.jsxRuntimeExports.jsx(gt,{label:{label:Si.labelFreeQuantity,width:c},text:{defaultValue:n.free_quantity,name:`${f}.free_quantity`,type:"text"}}),t.jsxRuntimeExports.jsx(aF,{label:{label:rn.labelFlags,width:c},multiSelectField:{defaultValue:n.flags,getOptionLabel:cKs,name:`${f}.flags`,placeholder:rn.selectFlagsPlaceholder}}),t.jsxRuntimeExports.jsx(gt,{isOptional:!0,label:{label:rn.labelSubFamilyDescription,width:c},text:{defaultValue:n.description,name:`${f}.description`,placeholder:rn.placeholderAddDescription,type:"text"}})]})]})}const CKs=s.div`
|
|
74630
74630
|
display: flex;
|
|
74631
74631
|
align-items: center;
|
|
74632
74632
|
gap: ${o.sp3};
|
|
@@ -75118,7 +75118,7 @@ ${Pi.beneficiaryAddress} ${ee}`,d(ue),L(!0)},ne=(me,ue,ie,ce)=>{let pe,ye;switch
|
|
|
75118
75118
|
tr:not(:last-of-type) & {
|
|
75119
75119
|
border-bottom: 1px solid ${e=>e.theme.colors.grey2};
|
|
75120
75120
|
}
|
|
75121
|
-
`,{common:{settings:{integrations:Yi}},invoicingSettings:{connectingButtonLabel:_Xs,disconnectingButtonLabel:WXs}}=F.getLocalizedStrings(),VXs=({integrationsView:e,isDarkTheme:n,isQBORefreshing:i,isStripeBusy:r,onDisconnectChargebee:a,onDisconnectQBO:l,onDisconnectStripe:c,onOpenChargebeeDialog:d,onOpenStripeDialog:u,onReconnectQBO:p,onRefreshQBO:x,settings:g})=>{const{externalConnections:f}=e,y=f?.accounting?.[0]?.isValid??!1,j=f?.revenue?.find(I=>I.connectionName==="chargebee"),b=j?.isValid??!1,w=tN(g),A={capability:Yi.cards.quickbooks.capability,description:Yi.cards.quickbooks.description,footerText:Yi.cards.quickbooks.footerText,id:"quickbooks",logo:t.jsxRuntimeExports.jsx(YQe,{}),name:Yi.cards.quickbooks.name,state:y?"connected":"notConnected",tooltipData:al(Yi.connectorTooltips.quickbooks,Yi.connectorTooltips),primaryAction:y?{label:Yi.actions.reconnect,onClick:p,prefixIcon:t.jsxRuntimeExports.jsx(KQe,{}),variant:"primary"}:{label:Yi.actions.connect,onClick:p,suffixIcon:t.jsxRuntimeExports.jsx(fx,{}),variant:"primary"},secondaryAction:y?{label:Yi.actions.disconnect,onClick:l}:void 0,iconAction:y?{isEnabled:!i,isSpinning:i,onClick:x}:void 0},R={capability:Yi.cards.stripe.capability,description:Yi.cards.stripe.description,footerText:Yi.cards.stripe.footerText,id:"stripe",logo:t.jsxRuntimeExports.jsx(ZQe,{}),name:Yi.cards.stripe.name,state:w?"connected":"notConnected",tooltipData:al(Yi.connectorTooltips.stripe,Yi.connectorTooltips),primaryAction:w?void 0:{label:r===!0?_Xs:Yi.actions.connect,disabled:r,loading:r,onClick:u,suffixIcon:t.jsxRuntimeExports.jsx(fx,{}),variant:"primary"},secondaryAction:w&&c!=null?{label:r===!0?WXs:Yi.actions.disconnect,onClick:c}:void 0},v=[A,R];return j!=null&&v.push({capability:Yi.cards.chargebee.capability,description:Yi.cards.chargebee.description,footerText:Yi.cards.chargebee.footerText,id:"chargebee",logo:n?t.jsxRuntimeExports.jsx(qQe,{}):t.jsxRuntimeExports.jsx(GQe,{}),name:Yi.cards.chargebee.name,state:b?"connected":"notConnected",tooltipData:al(Yi.connectorTooltips.chargebee,Yi.connectorTooltips),primaryAction:b?void 0:{label:Yi.actions.connect,onClick:d,suffixIcon:t.jsxRuntimeExports.jsx(fx,{}),variant:"primary"},secondaryAction:b?{label:Yi.actions.disconnect,onClick:a}:void 0}),v},{invoicingSettings:QXs}=F.getLocalizedStrings(),dKe=F.getLocalizedStrings().common.settings.integrations,ax=dKe.cards.chargebee;function UXs({deleteConnectionError:e,deleteConnectionState:n,initialStripeDialogOpen:i=!1,integrationsView:r,isAdmin:a,isStripeBusy:l,onConnectStripe:c,onDisconnect:d,onDisconnectStripe:u,onReconnectQBO:p,onRefreshQBO:x,onSaveChargeBeeCredentials:g,saveChargeBeeError:f,saveChargeBeeState:y,settings:j,stripeError:b,stripeWebhookUrl:w}){const A=t.useTheme(),[R,v]=h.useState(i),[I,k]=h.useState(!1),[S,T]=h.useState(null),{externalConnections:B}=r,L=B?.accounting?.[0]?.connectionId??"",P=B?.revenue?.find(z=>z.connectionName==="chargebee"),O=r.integrations.refreshQBO.fetchState==="In-Progress",M=h.useMemo(()=>({...gXs,contentAfterField:{fieldName:"publishable_key",content:t.jsxRuntimeExports.jsx(ZJs,{webhookUrl:w})}}),[w]);h.useEffect(()=>{y==="Completed"&&k(!1)},[y]),h.useEffect(()=>{n==="Completed"&&T(null)},[n]),h.useEffect(()=>{tN(j)&&v(!1)},[j]);const H=h.useMemo(()=>VXs({integrationsView:r,isDarkTheme:A.mode==="dark",isQBORefreshing:O,isStripeBusy:l,onDisconnectChargebee:()=>{P?.connectionId!=null&&T({connectionId:P.connectionId,connectionType:"revenue",connectorName:ax.name})},onDisconnectQBO:()=>{L!==""&&T({connectionId:L,connectionType:"accounting",connectorName:dKe.cards.quickbooks.name})},onDisconnectStripe:u,onOpenChargebeeDialog:()=>k(!0),onOpenStripeDialog:()=>v(!0),onReconnectQBO:p,onRefreshQBO:x,settings:j}),[P?.connectionId,r,O,l,u,p,x,L,j,A.mode]),U=z=>{c?.({api_key:z.api_key??"",publishable_key:z.publishable_key??"",...z.webhook_secret?{webhook_secret:z.webhook_secret}:{}})};return t.jsxRuntimeExports.jsxs(wXs,{"data-testid":"invoicing-settings-integrations",children:[t.jsxRuntimeExports.jsx(Vo,{children:QXs.integrationsTabLabel}),t.jsxRuntimeExports.jsx(uD,{children:H.map(z=>t.jsxRuntimeExports.jsx(mD,{card:z,isAdmin:a},z.id))}),t.jsxRuntimeExports.jsx(cw,{config:M,error:b,isOpen:R,isSaving:l===!0?"In-Progress":"Not-Started",onClose:()=>v(!1),onConnect:U}),t.jsxRuntimeExports.jsx(cw,{config:{title:ax.dialog.title,description:ax.dialog.description,fields:[{inputType:"text",label:ax.dialog.siteLabel,name:"site",placeholder:ax.dialog.sitePlaceholder,autoFocus:!0,hint:z=>t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[ax.dialog.siteHintPrefix,t.jsxRuntimeExports.jsx("strong",{children:z.trim()!==""?z.trim():ax.dialog.siteHintFallback}),ax.dialog.siteHintSuffix]})},{inputType:"password",label:ax.dialog.apiKeyLabel,name:"api_key",placeholder:ax.dialog.apiKeyPlaceholder}],recommendation:ax.dialog.readOnlyRecommendation},error:f,isOpen:I,isSaving:y,onClose:()=>k(!1),onConnect:z=>g(z.api_key??"",z.site??"")}),t.jsxRuntimeExports.jsx(WQe,{connectorName:S?.connectorName??"",error:e,isDeleting:n,isOpen:S!=null,onClose:()=>T(null),onConfirm:()=>{S!=null&&d(S.connectionId,S.connectionType)}})]})}const{common:YXs,invoicingCommon:lAe,invoicingSettings:Xg}=F.getLocalizedStrings(),l6={iconWidthHeight:new E(20,m[3])};function GXs({integrationsSectionProps:e,isLoading:n,onBrandingClick:i,onDunningClick:r,onPaymentDestinationClick:a,settings:l}){const c=t.useTheme(),d=X(),u=c.mode==="light"?new t.Color(c.colors.brandColorJadeLight):new t.Color(c.colors.brandColorJadeDark),p=tN(l),x=(l?.company_name??"").trim()!==""||(l?.logo_file_id??"").trim()!=="",g=aKe(l),f=(l?.dunning_schedule?.length??0)>0;return t.jsxRuntimeExports.jsxs(bse,{"data-testid":"invoicing-settings",children:[t.jsxRuntimeExports.jsx(It,{backgroundColor:c.colors.grey4,hideSearchBtn:!0,showBackButton:!1,showBorderBottom:!0,showMenuIcon:!1,source:"invoicing-settings",title:lAe.settings}),t.jsxRuntimeExports.jsx(CXs,{children:n?t.jsxRuntimeExports.jsx(AGs,{}):t.jsxRuntimeExports.jsxs(bXs,{children:[t.jsxRuntimeExports.jsx(ga,{header:Xg.paymentDestinationHeading,icon:{color:u,element:t.jsxRuntimeExports.jsx(_R,{height:l6.iconWidthHeight.valuePx(d),width:l6.iconWidthHeight.valuePx(d)})},isCompleted:p,onClick:a,status:p?{code:"verified",name:YXs.verified}:void 0,subTitle:Xg.paymentDestinationSectionSubtitle,title:p?Xg.stripeConnectedHeading:Xg.noPaymentDestinationHeading}),t.jsxRuntimeExports.jsx(ga,{header:Xg.invoiceBrandingTabLabel,icon:{color:u,element:t.jsxRuntimeExports.jsx(dee,{height:l6.iconWidthHeight.valuePx(d),width:l6.iconWidthHeight.valuePx(d)})},isCompleted:x,onClick:i,subTitle:Xg.invoiceBrandingSectionSubtitle,title:Xg.businessDetailsTitle}),t.jsxRuntimeExports.jsx(UXs,{...e}),t.jsxRuntimeExports.jsx(ga,{header:lAe.dunning,icon:{color:u,element:t.jsxRuntimeExports.jsx(rg,{height:l6.iconWidthHeight.valuePx(d),width:l6.iconWidthHeight.valuePx(d)})},isCompleted:f||g.length>0,onClick:r,subTitle:Xg.dunningScheduleSubtitle,title:Xg.dunningScheduleTitle})]})})]})}const{common:qXs,invoicingSettings:rf}=F.getLocalizedStrings();function ZXs({isLoading:e,onBackClick:n,saveErrorMessage:i,settings:r}){const a=t.useTheme(),l=r?.stripe_publishable_key??"",c=tN(r);return t.jsxRuntimeExports.jsxs(bse,{"data-testid":"invoicing-settings-payment-destination",children:[t.jsxRuntimeExports.jsx(It,{backgroundColor:a.colors.grey4,hideSearchBtn:!0,showBackButton:!0,showBorderBottom:!1,showMenuIcon:!1,source:"invoicing-settings-payment-destination",title:rf.paymentDestinationHeading,onBackClick:n}),t.jsxRuntimeExports.jsxs(lKe,{children:[i!=null?t.jsxRuntimeExports.jsx(bE,{children:i}):null,e?t.jsxRuntimeExports.jsx($Gs,{tab:"payment-destination"}):null,e?null:t.jsxRuntimeExports.jsx(EXs,{children:c?t.jsxRuntimeExports.jsxs(QJ,{children:[t.jsxRuntimeExports.jsxs(BXs,{children:[t.jsxRuntimeExports.jsxs(cKe,{children:[t.jsxRuntimeExports.jsx(Zt,{children:rf.stripeConnectedHeading}),t.jsxRuntimeExports.jsx(bw,{children:l!==""?hXs(l):rf.yourStripeAccountFallback})]}),t.jsxRuntimeExports.jsx(Lt,{label:qXs.verified,type:"success"})]}),t.jsxRuntimeExports.jsx(PXs,{children:t.jsxRuntimeExports.jsxs(DXs,{children:[t.jsxRuntimeExports.jsx(bw,{children:rf.zeniCashAccountLabel}),t.jsxRuntimeExports.jsx(bw,{children:rf.linkBankAccountHelper}),t.jsxRuntimeExports.jsx(ks,{children:rf.stripePayoutText})]})})]}):t.jsxRuntimeExports.jsx(QJ,{children:t.jsxRuntimeExports.jsxs(MXs,{children:[t.jsxRuntimeExports.jsx(Zt,{children:rf.noPaymentDestinationHeading}),t.jsxRuntimeExports.jsx(bw,{children:rf.noPaymentDestinationHelper})]})})})]})]})}const KXs=e=>({accent_color:e.accentColor,company_name:e.companyName,date_format:e.dateFormat,default_memo:e.defaultMemo,email:e.email,invoice_prefix:e.invoicePrefix,phone:e.phone,tax_id:e.taxId}),JXs=(e,n)=>({accentColor:e.accent_color,companyName:e.company_name,dateFormat:e.date_format,defaultMemo:e.default_memo,email:e.email,invoicePrefix:e.invoice_prefix,logoFileId:n,phone:e.phone,taxId:e.tax_id}),{common:XXs,invoicingCommon:lY,invoicingSettings:kr}=F.getLocalizedStrings(),a2=160;function eei({authParams:e,deleteFileStatusById:n,filesEndPoint:i,logoFile:r,updateFileStatusById:a,onDeleteFile:l,onEditFileName:c,onLogoFileChange:d,updateFilesEntity:u}){const p=t.useForm({defaultValues:{invoicingLogo:r}});return h.useEffect(()=>{p.reset({invoicingLogo:r})},[r,p]),t.jsxRuntimeExports.jsx(t.FormProvider,{...p,children:t.jsxRuntimeExports.jsx(Y4,{acceptableTypes:["image/png","image/jpeg","image/jpg","image/svg+xml","image/webp"],authParams:e,deleteFileStatusById:n,file:r,filemetadataPayload:{documentSide:"front",documentType:"others",purposeId:"others"},filesEndPoint:i,formatHintLabel:kr.logoFormatsHint,label:{label:kr.uploadLogoLabel,width:a2},name:"invoicingLogo",showFormatHintLabel:!0,sizeLimit:rXs,style:{width:"100%"},updateFileStatusById:a,onDeleteFile:x=>{l?.(x),d(void 0)},onEditFileName:c,updateFilesEntity:x=>{u?.(x);const g=x[0];d(g!=null?Y.mapFilePayloadToFile(g):void 0)}})})}function tei({address:e,addressLabel:n,appContent:i,authParams:r,deleteFileStatusById:a={},filesEndPoint:l,isLoading:c,isSaving:d,localData:u,logoFile:p,onBackClick:x,onChange:g,onDeleteFile:f,onEditFileName:y,onOpenAddress:j,onSubmit:b,saveErrorMessage:w,settings:A,updateFileStatusById:R={},updateFilesEntity:v}){const I=t.useTheme(),k=X(),S=gd(k),[T,B]=h.useState(),L=xXs(A,p,T),P=KXs(u),O=t.useForm({defaultValues:P}),{control:M,getValues:H,reset:U,watch:z}=O,W=h.useRef(!1);h.useEffect(()=>{W.current||U(P)},[u,U]);const N=h.useCallback(Z=>{g(JXs(H(),Z))},[H,g]);h.useEffect(()=>{const Z=z((J,{type:ee})=>{ee==="change"&&(W.current=!0,N(L?.fileId??""))});return()=>Z.unsubscribe()},[z,N,L?.fileId]);const V=t.useWatch({control:M}),Q=r!=null&&l!=null&&l!=="",q=()=>{W.current=!1,U(P),B(void 0)},te=V.invoice_prefix??"",G={...A,accent_color:V.accent_color??"",address_enabled:(n??"").trim()!=="",company_name:V.company_name??"",default_memo:V.default_memo??"",email:V.email??"",invoice_prefix:te,logo_url:L?.signedUrl.href??A?.logo_url??"",phone:V.phone??"",phone_enabled:(V.phone??"").trim()!=="",tax_id:V.tax_id??""};return t.jsxRuntimeExports.jsxs(bse,{"data-testid":"invoicing-settings-branding",children:[t.jsxRuntimeExports.jsx(It,{backgroundColor:I.colors.grey4,hideSearchBtn:!0,showBackButton:!0,showBorderBottom:!0,showMenuIcon:!1,source:"invoicing-settings-branding",title:kr.invoiceBrandingTabLabel,onBackClick:x}),t.jsxRuntimeExports.jsxs(lKe,{children:[w!=null?t.jsxRuntimeExports.jsx(bE,{children:w}):null,c?t.jsxRuntimeExports.jsx(RGs,{}):null,c?null:t.jsxRuntimeExports.jsxs(RXs,{$stacked:S,children:[t.jsxRuntimeExports.jsxs(vXs,{$stacked:S,children:[t.jsxRuntimeExports.jsx($Xs,{children:kr.livePreviewLabel}),t.jsxRuntimeExports.jsx(UZe,{businessAddressLabel:n??"",currencyCode:"USD",dueDate:"",invoiceDate:yXs(),invoiceNumber:`${te.trim()!==""?te.trim():kr.defaultInvoicePrefix}${kr.previewInvoiceNumberSuffix}`,invoiceType:"one_time",lineItems:fXs,netTerms:"30",notes:V.default_memo??"",poNumber:"",recurringFrequency:"",settings:G})]}),i!=null?t.jsxRuntimeExports.jsx(kXs,{$stacked:S,children:i}):t.jsxRuntimeExports.jsx(t.FormProvider,{...O,children:t.jsxRuntimeExports.jsxs(SXs,{$stacked:S,children:[t.jsxRuntimeExports.jsxs(IXs,{$stacked:S,children:[t.jsxRuntimeExports.jsxs(lr,{title:kr.businessDetailsTitle,children:[t.jsxRuntimeExports.jsx(gt,{controlWidth:"100%",label:{label:kr.companyNameLabel,width:a2},text:{defaultValue:P.company_name,name:"company_name",type:"text"}}),t.jsxRuntimeExports.jsx(gt,{controlWidth:"100%",label:{label:kr.billingEmailLabel,width:a2},text:{defaultValue:P.email,name:"email",type:"email"}}),t.jsxRuntimeExports.jsx(gt,{controlWidth:"100%",label:{label:lY.phoneLabel,width:a2},text:{defaultValue:P.phone,name:"phone",type:"tel"}}),t.jsxRuntimeExports.jsx(gt,{controlWidth:"100%",label:{label:kr.taxIdEinLabel,width:a2},text:{defaultValue:P.tax_id,name:"tax_id",type:"text"}}),t.jsxRuntimeExports.jsx(lF,{addressValue:{address:e,onClick:j,placeholder:lY.addBusinessAddressButton},label:{label:kr.businessAddressLabel,width:a2},style:{maxWidth:"100%"}})]}),t.jsxRuntimeExports.jsxs(lr,{title:kr.brandingTitle,children:[Q?t.jsxRuntimeExports.jsx(eei,{authParams:r,deleteFileStatusById:a,filesEndPoint:l,logoFile:L,updateFileStatusById:R,onDeleteFile:f,onEditFileName:y,onLogoFileChange:Z=>{B(Z),W.current=!0,N(Z?.fileId??"")},updateFilesEntity:v}):t.jsxRuntimeExports.jsx(mg,{label:kr.uploadLogoLabel,children:t.jsxRuntimeExports.jsx(bw,{children:kr.logoFormatsHint})}),t.jsxRuntimeExports.jsx(mg,{label:kr.accentColorLabel,children:t.jsxRuntimeExports.jsx(t.Controller,{control:M,name:"accent_color",render:({field:Z})=>t.jsxRuntimeExports.jsxs(zXs,{children:[t.jsxRuntimeExports.jsx(FXs,{type:"color",value:Z.value,onChange:J=>Z.onChange(J.target.value)}),t.jsxRuntimeExports.jsx(NXs,{children:Z.value})]})})})]}),t.jsxRuntimeExports.jsxs(lr,{title:kr.othersTitle,children:[t.jsxRuntimeExports.jsx(gt,{controlWidth:"100%",label:{label:kr.invoicePrefixLabel,width:a2},text:{defaultValue:P.invoice_prefix,name:"invoice_prefix",placeholder:kr.defaultInvoicePrefix,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{controlWidth:"100%",label:{label:kr.dateFormatLabel,width:a2},text:{defaultValue:P.date_format,name:"date_format",placeholder:kr.dateFormatPlaceholder,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{controlWidth:"100%",label:{label:kr.defaultMemoLabel,width:a2},text:{defaultValue:P.default_memo,name:"default_memo",type:"text",placeholder:kr.defaultMemoLabel,style:{boxSizing:"border-box",width:"100%"}}})]})]}),t.jsxRuntimeExports.jsxs(OXs,{children:[t.jsxRuntimeExports.jsx(He,{disabled:d,label:XXs.reset,variant:"outline",onClick:q}),t.jsxRuntimeExports.jsx(He,{disabled:c,label:lY.saveChanges,loading:d,variant:"primary",onClick:b})]})]})})]})]})]})}const{common:oei,invoicingCommon:cAe,invoicingSettings:o8}=F.getLocalizedStrings(),nei=e=>({steps:e.map(n=>({action:{allOptions:[...rKe],selectedOption:n.action},daysAfterDue:n.daysAfterDue}))}),sei=(e,n)=>n.map((i,r)=>{const a=e.steps[r],l=a?.action.selectedOption;return{action:l!=null&&Cse(l)?l:i.action,daysAfterDue:a?.daysAfterDue??i.daysAfterDue,step:i.step}});function iei({isLoading:e,isSaving:n,onBackClick:i,onSave:r,saveErrorMessage:a,settings:l}){const c=t.useTheme(),d=h.useMemo(()=>aKe(l),[l]),u=h.useMemo(()=>nei(d),[d]),p=t.useForm({defaultValues:u}),{getValues:x,reset:g}=p;h.useEffect(()=>{g(u)},[u,g]);const f=()=>{r?.({dunning_schedule:pXs(sei(x(),d))})},y=()=>{g(u)};return t.jsxRuntimeExports.jsxs(HZe,{"data-testid":"invoicing-settings-dunning",children:[t.jsxRuntimeExports.jsx(It,{backgroundColor:c.colors.grey4,hideSearchBtn:!0,showBackButton:!0,showBorderBottom:!0,showMenuIcon:!1,source:"invoicing-settings-dunning",title:cAe.dunning,onBackClick:i}),t.jsxRuntimeExports.jsxs(NZe,{children:[a!=null?t.jsxRuntimeExports.jsx(bE,{children:a}):null,t.jsxRuntimeExports.jsx(wE,{style:{paddingTop:o.sp3},children:e?t.jsxRuntimeExports.jsx(vGs,{}):t.jsxRuntimeExports.jsx(t.FormProvider,{...p,children:t.jsxRuntimeExports.jsxs(TXs,{children:[t.jsxRuntimeExports.jsx(LXs,{children:t.jsxRuntimeExports.jsxs(cKe,{children:[t.jsxRuntimeExports.jsx(Zt,{children:o8.dunningScheduleTitle}),t.jsxRuntimeExports.jsx(bw,{children:o8.dunningScheduleSubtitle})]})}),t.jsxRuntimeExports.jsxs(HXs,{children:[t.jsxRuntimeExports.jsx("thead",{children:t.jsxRuntimeExports.jsxs("tr",{children:[t.jsxRuntimeExports.jsx(rY,{children:o8.stepColumnHeader}),t.jsxRuntimeExports.jsx(rY,{children:o8.daysAfterDueColumnHeader}),t.jsxRuntimeExports.jsx(rY,{children:cAe.actionColumnHeader})]})}),t.jsxRuntimeExports.jsx("tbody",{children:d.map((j,b)=>t.jsxRuntimeExports.jsxs("tr",{children:[t.jsxRuntimeExports.jsx(aY,{children:t.jsxRuntimeExports.jsx(ks,{children:j.step})}),t.jsxRuntimeExports.jsx(aY,{children:t.jsxRuntimeExports.jsx(Hs,{autoComplete:"off",defaultValue:j.daysAfterDue,name:`steps.${b}.daysAfterDue`,type:"number"})}),t.jsxRuntimeExports.jsx(aY,{children:t.jsxRuntimeExports.jsx(AXs,{children:t.jsxRuntimeExports.jsx(Rl,{defaultValue:{allOptions:[...rKe],selectedOption:j.action},isClearable:!1,isSearchable:!1,menuPortalTarget:aXs,name:`steps.${b}.action`})})})]},j.step))})]})]})})})]}),e?null:t.jsxRuntimeExports.jsx(qt,{cancelBtn:{isDisabled:n,label:oei.reset,onClick:y},primaryBtn:{isDisabled:r==null,isLoading:n,label:o8.saveDunningSettingsButtonLabel,type:"button",onClick:f},separatorStyle:{marginRight:o.sp4},showCancel:!0})]})}const{common:rei}=F.getLocalizedStrings(),{strings:{colon:wse,empty:aei}}=rei,cY=s.div`
|
|
75121
|
+
`,{common:{settings:{integrations:Yi}},invoicingSettings:{connectingButtonLabel:_Xs,disconnectingButtonLabel:WXs}}=F.getLocalizedStrings(),VXs=({integrationsView:e,isDarkTheme:n,isQBORefreshing:i,isStripeBusy:r,onDisconnectChargebee:a,onDisconnectQBO:l,onDisconnectStripe:c,onOpenChargebeeDialog:d,onOpenStripeDialog:u,onReconnectQBO:p,onRefreshQBO:x,settings:g})=>{const{externalConnections:f}=e,y=f?.accounting?.[0]?.isValid??!1,j=f?.revenue?.find(I=>I.connectionName==="chargebee"),b=j?.isValid??!1,w=tN(g),A={capability:Yi.cards.quickbooks.capability,description:Yi.cards.quickbooks.description,footerText:Yi.cards.quickbooks.footerText,id:"quickbooks",logo:t.jsxRuntimeExports.jsx(YQe,{}),name:Yi.cards.quickbooks.name,state:y?"connected":"notConnected",tooltipData:al(Yi.connectorTooltips.quickbooks,Yi.connectorTooltips),primaryAction:y?{label:Yi.actions.reconnect,onClick:p,prefixIcon:t.jsxRuntimeExports.jsx(KQe,{}),variant:"primary"}:{label:Yi.actions.connect,onClick:p,suffixIcon:t.jsxRuntimeExports.jsx(fx,{}),variant:"primary"},secondaryAction:y?{label:Yi.actions.disconnect,onClick:l}:void 0,iconAction:y?{isEnabled:!i,isSpinning:i,onClick:x}:void 0},R={capability:Yi.cards.stripe.capability,description:Yi.cards.stripe.description,footerText:Yi.cards.stripe.footerText,id:"stripe",logo:t.jsxRuntimeExports.jsx(ZQe,{}),name:Yi.cards.stripe.name,state:w?"connected":"notConnected",tooltipData:al(Yi.connectorTooltips.stripe,Yi.connectorTooltips),primaryAction:w?void 0:{label:r===!0?_Xs:Yi.actions.connect,disabled:r,loading:r,onClick:u,suffixIcon:t.jsxRuntimeExports.jsx(fx,{}),variant:"primary"},secondaryAction:w&&c!=null?{label:r===!0?WXs:Yi.actions.disconnect,onClick:c}:void 0},v=[A,R];return j!=null&&v.push({capability:Yi.cards.chargebee.capability,description:Yi.cards.chargebee.description,footerText:Yi.cards.chargebee.footerText,id:"chargebee",logo:n?t.jsxRuntimeExports.jsx(qQe,{}):t.jsxRuntimeExports.jsx(GQe,{}),name:Yi.cards.chargebee.name,state:b?"connected":"notConnected",tooltipData:al(Yi.connectorTooltips.chargebee,Yi.connectorTooltips),primaryAction:b?void 0:{label:Yi.actions.connect,onClick:d,suffixIcon:t.jsxRuntimeExports.jsx(fx,{}),variant:"primary"},secondaryAction:b?{label:Yi.actions.disconnect,onClick:a}:void 0}),v},{invoicingSettings:QXs}=F.getLocalizedStrings(),dKe=F.getLocalizedStrings().common.settings.integrations,ax=dKe.cards.chargebee;function UXs({deleteConnectionError:e,deleteConnectionState:n,initialStripeDialogOpen:i=!1,integrationsView:r,isAdmin:a,isStripeBusy:l,onConnectStripe:c,onDisconnect:d,onDisconnectStripe:u,onReconnectQBO:p,onRefreshQBO:x,onSaveChargeBeeCredentials:g,saveChargeBeeError:f,saveChargeBeeState:y,settings:j,stripeError:b,stripeWebhookUrl:w}){const A=t.useTheme(),[R,v]=h.useState(i),[I,k]=h.useState(!1),[S,T]=h.useState(null),{externalConnections:B}=r,L=B?.accounting?.[0]?.connectionId??"",P=B?.revenue?.find(z=>z.connectionName==="chargebee"),O=r.integrations.refreshQBO.fetchState==="In-Progress",M=h.useMemo(()=>({...gXs,contentAfterField:{fieldName:"publishable_key",content:t.jsxRuntimeExports.jsx(ZJs,{webhookUrl:w})}}),[w]);h.useEffect(()=>{y==="Completed"&&k(!1)},[y]),h.useEffect(()=>{n==="Completed"&&T(null)},[n]),h.useEffect(()=>{tN(j)&&v(!1)},[j]);const H=h.useMemo(()=>VXs({integrationsView:r,isDarkTheme:A.mode==="dark",isQBORefreshing:O,isStripeBusy:l,onDisconnectChargebee:()=>{P?.connectionId!=null&&T({connectionId:P.connectionId,connectionType:"revenue",connectorName:ax.name})},onDisconnectQBO:()=>{L!==""&&T({connectionId:L,connectionType:"accounting",connectorName:dKe.cards.quickbooks.name})},onDisconnectStripe:u,onOpenChargebeeDialog:()=>k(!0),onOpenStripeDialog:()=>v(!0),onReconnectQBO:p,onRefreshQBO:x,settings:j}),[P?.connectionId,r,O,l,u,p,x,L,j,A.mode]),U=z=>{c?.({api_key:z.api_key??"",publishable_key:z.publishable_key??"",...z.webhook_secret?{webhook_secret:z.webhook_secret}:{}})};return t.jsxRuntimeExports.jsxs(wXs,{"data-testid":"invoicing-settings-integrations",children:[t.jsxRuntimeExports.jsx(Vo,{children:QXs.integrationsTabLabel}),t.jsxRuntimeExports.jsx(uD,{children:H.map(z=>t.jsxRuntimeExports.jsx(mD,{card:z,isAdmin:a},z.id))}),t.jsxRuntimeExports.jsx(cw,{config:M,error:b,isOpen:R,isSaving:l===!0?"In-Progress":"Not-Started",onClose:()=>v(!1),onConnect:U}),t.jsxRuntimeExports.jsx(cw,{config:{title:ax.dialog.title,description:ax.dialog.description,fields:[{inputType:"text",label:ax.dialog.siteLabel,name:"site",placeholder:ax.dialog.sitePlaceholder,autoFocus:!0,hint:z=>t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[ax.dialog.siteHintPrefix,t.jsxRuntimeExports.jsx("strong",{children:z.trim()!==""?z.trim():ax.dialog.siteHintFallback}),ax.dialog.siteHintSuffix]})},{inputType:"password",label:ax.dialog.apiKeyLabel,name:"api_key",placeholder:ax.dialog.apiKeyPlaceholder}],recommendation:ax.dialog.readOnlyRecommendation},error:f,isOpen:I,isSaving:y,onClose:()=>k(!1),onConnect:z=>g(z.api_key??"",z.site??"")}),t.jsxRuntimeExports.jsx(WQe,{connectorName:S?.connectorName??"",error:e,isDeleting:n,isOpen:S!=null,onClose:()=>T(null),onConfirm:()=>{S!=null&&d(S.connectionId,S.connectionType)}})]})}const{common:YXs,invoicingCommon:lAe,invoicingSettings:Xg}=F.getLocalizedStrings(),l6={iconWidthHeight:new E(20,m[3])};function GXs({integrationsSectionProps:e,isLoading:n,onBrandingClick:i,onDunningClick:r,onPaymentDestinationClick:a,settings:l}){const c=t.useTheme(),d=X(),u=c.mode==="light"?new t.Color(c.colors.brandColorJadeLight):new t.Color(c.colors.brandColorJadeDark),p=tN(l),x=(l?.company_name??"").trim()!==""||(l?.logo_file_id??"").trim()!=="",g=aKe(l),f=(l?.dunning_schedule?.length??0)>0;return t.jsxRuntimeExports.jsxs(bse,{"data-testid":"invoicing-settings",children:[t.jsxRuntimeExports.jsx(It,{backgroundColor:c.colors.grey4,hideSearchBtn:!0,showBackButton:!1,showBorderBottom:!0,showMenuIcon:!1,source:"invoicing-settings",title:lAe.settings}),t.jsxRuntimeExports.jsx(CXs,{children:n?t.jsxRuntimeExports.jsx(AGs,{}):t.jsxRuntimeExports.jsxs(bXs,{children:[t.jsxRuntimeExports.jsx(ga,{header:Xg.paymentDestinationHeading,icon:{color:u,element:t.jsxRuntimeExports.jsx(_R,{height:l6.iconWidthHeight.valuePx(d),width:l6.iconWidthHeight.valuePx(d)})},isCompleted:p,onClick:a,status:p?{code:"verified",name:YXs.verified}:void 0,subTitle:Xg.paymentDestinationSectionSubtitle,title:p?Xg.stripeConnectedHeading:Xg.noPaymentDestinationHeading}),t.jsxRuntimeExports.jsx(ga,{header:Xg.invoiceBrandingTabLabel,icon:{color:u,element:t.jsxRuntimeExports.jsx(dee,{height:l6.iconWidthHeight.valuePx(d),width:l6.iconWidthHeight.valuePx(d)})},isCompleted:x,onClick:i,subTitle:Xg.invoiceBrandingSectionSubtitle,title:Xg.businessDetailsTitle}),t.jsxRuntimeExports.jsx(UXs,{...e}),t.jsxRuntimeExports.jsx(ga,{header:lAe.dunning,icon:{color:u,element:t.jsxRuntimeExports.jsx(rg,{height:l6.iconWidthHeight.valuePx(d),width:l6.iconWidthHeight.valuePx(d)})},isCompleted:f||g.length>0,onClick:r,subTitle:Xg.dunningScheduleSubtitle,title:Xg.dunningScheduleTitle})]})})]})}const{common:qXs,invoicingSettings:rf}=F.getLocalizedStrings();function ZXs({isLoading:e,onBackClick:n,saveErrorMessage:i,settings:r}){const a=t.useTheme(),l=r?.stripe_publishable_key??"",c=tN(r);return t.jsxRuntimeExports.jsxs(bse,{"data-testid":"invoicing-settings-payment-destination",children:[t.jsxRuntimeExports.jsx(It,{backgroundColor:a.colors.grey4,hideSearchBtn:!0,showBackButton:!0,showBorderBottom:!1,showMenuIcon:!1,source:"invoicing-settings-payment-destination",title:rf.paymentDestinationHeading,onBackClick:n}),t.jsxRuntimeExports.jsxs(lKe,{children:[i!=null?t.jsxRuntimeExports.jsx(bE,{children:i}):null,e?t.jsxRuntimeExports.jsx($Gs,{tab:"payment-destination"}):null,e?null:t.jsxRuntimeExports.jsx(EXs,{children:c?t.jsxRuntimeExports.jsxs(QJ,{children:[t.jsxRuntimeExports.jsxs(BXs,{children:[t.jsxRuntimeExports.jsxs(cKe,{children:[t.jsxRuntimeExports.jsx(Zt,{children:rf.stripeConnectedHeading}),t.jsxRuntimeExports.jsx(bw,{children:l!==""?hXs(l):rf.yourStripeAccountFallback})]}),t.jsxRuntimeExports.jsx(Lt,{label:qXs.verified,type:"success"})]}),t.jsxRuntimeExports.jsx(PXs,{children:t.jsxRuntimeExports.jsxs(DXs,{children:[t.jsxRuntimeExports.jsx(bw,{children:rf.zeniCashAccountLabel}),t.jsxRuntimeExports.jsx(bw,{children:rf.linkBankAccountHelper}),t.jsxRuntimeExports.jsx(ks,{children:rf.stripePayoutText})]})})]}):t.jsxRuntimeExports.jsx(QJ,{children:t.jsxRuntimeExports.jsxs(MXs,{children:[t.jsxRuntimeExports.jsx(Zt,{children:rf.noPaymentDestinationHeading}),t.jsxRuntimeExports.jsx(bw,{children:rf.noPaymentDestinationHelper})]})})})]})]})}const KXs=e=>({accent_color:e.accentColor,company_name:e.companyName,date_format:e.dateFormat,default_memo:e.defaultMemo,email:e.email,invoice_prefix:e.invoicePrefix,phone:e.phone,tax_id:e.taxId}),JXs=(e,n)=>({accentColor:e.accent_color,companyName:e.company_name,dateFormat:e.date_format,defaultMemo:e.default_memo,email:e.email,invoicePrefix:e.invoice_prefix,logoFileId:n,phone:e.phone,taxId:e.tax_id}),{common:XXs,invoicingCommon:lY,invoicingSettings:kr}=F.getLocalizedStrings(),a2=160;function eei({authParams:e,deleteFileStatusById:n,filesEndPoint:i,logoFile:r,updateFileStatusById:a,onDeleteFile:l,onEditFileName:c,onLogoFileChange:d,updateFilesEntity:u}){const p=t.useForm({defaultValues:{invoicingLogo:r}});return h.useEffect(()=>{p.reset({invoicingLogo:r})},[r,p]),t.jsxRuntimeExports.jsx(t.FormProvider,{...p,children:t.jsxRuntimeExports.jsx(Y4,{acceptableTypes:["image/png","image/jpeg","image/jpg","image/svg+xml","image/webp"],authParams:e,deleteFileStatusById:n,file:r,filemetadataPayload:{documentSide:"front",documentType:"others",purposeId:"others"},filesEndPoint:i,formatHintLabel:kr.logoFormatsHint,label:{label:kr.uploadLogoLabel,width:a2},name:"invoicingLogo",showFormatHintLabel:!0,sizeLimit:rXs,style:{width:"100%"},updateFileStatusById:a,onDeleteFile:x=>{l?.(x),d(void 0)},onEditFileName:c,updateFilesEntity:x=>{u?.(x);const g=x[0];d(g!=null?Y.mapFilePayloadToFile(g):void 0)}})})}function tei({address:e,addressLabel:n,appContent:i,authParams:r,deleteFileStatusById:a={},filesEndPoint:l,isLoading:c,isSaving:d,localData:u,logoFile:p,onBackClick:x,onChange:g,onDeleteFile:f,onEditFileName:y,onOpenAddress:j,onSubmit:b,saveErrorMessage:w,settings:A,updateFileStatusById:R={},updateFilesEntity:v}){const I=t.useTheme(),k=X(),S=gd(k),[T,B]=h.useState(),L=xXs(A,p,T),P=KXs(u),O=t.useForm({defaultValues:P}),{control:M,getValues:H,reset:U,watch:z}=O,W=h.useRef(!1);h.useEffect(()=>{W.current||U(P)},[u,U]);const N=h.useCallback(Z=>{g(JXs(H(),Z))},[H,g]);h.useEffect(()=>{const Z=z((J,{type:ee})=>{ee==="change"&&(W.current=!0,N(L?.fileId??""))});return()=>Z.unsubscribe()},[z,N,L?.fileId]);const V=t.useWatch({control:M}),Q=r!=null&&l!=null&&l!=="",q=()=>{W.current=!1,U(P),B(void 0)},te=V.invoice_prefix??"",G={...A,accent_color:V.accent_color??"",address_enabled:(n??"").trim()!=="",company_name:V.company_name??"",default_memo:V.default_memo??"",email:V.email??"",invoice_prefix:te,logo_url:L?.signedUrl.href??A?.logo_url??"",phone:V.phone??"",phone_enabled:(V.phone??"").trim()!=="",tax_id:V.tax_id??""};return t.jsxRuntimeExports.jsxs(bse,{"data-testid":"invoicing-settings-branding",children:[t.jsxRuntimeExports.jsx(It,{backgroundColor:I.colors.grey4,hideSearchBtn:!0,showBackButton:!0,showBorderBottom:!0,showMenuIcon:!1,source:"invoicing-settings-branding",title:kr.invoiceBrandingTabLabel,onBackClick:x}),t.jsxRuntimeExports.jsxs(lKe,{children:[w!=null?t.jsxRuntimeExports.jsx(bE,{children:w}):null,c?t.jsxRuntimeExports.jsx(RGs,{}):null,c?null:t.jsxRuntimeExports.jsxs(RXs,{$stacked:S,children:[t.jsxRuntimeExports.jsxs(vXs,{$stacked:S,children:[t.jsxRuntimeExports.jsx($Xs,{children:kr.livePreviewLabel}),t.jsxRuntimeExports.jsx(UZe,{businessAddressLabel:n??"",currencyCode:"USD",dueDate:"",invoiceDate:yXs(),invoiceNumber:`${te.trim()!==""?te.trim():kr.defaultInvoicePrefix}${kr.previewInvoiceNumberSuffix}`,invoiceType:"one_time",lineItems:fXs,netTerms:"30",notes:V.default_memo??"",poNumber:"",recurringFrequency:"",settings:G})]}),i!=null?t.jsxRuntimeExports.jsx(kXs,{$stacked:S,children:i}):t.jsxRuntimeExports.jsx(t.FormProvider,{...O,children:t.jsxRuntimeExports.jsxs(SXs,{$stacked:S,children:[t.jsxRuntimeExports.jsxs(IXs,{$stacked:S,children:[t.jsxRuntimeExports.jsxs(lr,{title:kr.businessDetailsTitle,children:[t.jsxRuntimeExports.jsx(gt,{controlWidth:"100%",label:{label:kr.companyNameLabel,width:a2},text:{defaultValue:P.company_name,name:"company_name",type:"text"}}),t.jsxRuntimeExports.jsx(gt,{controlWidth:"100%",label:{label:kr.billingEmailLabel,width:a2},text:{defaultValue:P.email,name:"email",type:"email"}}),t.jsxRuntimeExports.jsx(gt,{controlWidth:"100%",label:{label:lY.phoneLabel,width:a2},text:{defaultValue:P.phone,name:"phone",type:"tel"}}),t.jsxRuntimeExports.jsx(gt,{controlWidth:"100%",label:{label:kr.taxIdEinLabel,width:a2},text:{defaultValue:P.tax_id,name:"tax_id",type:"text"}}),t.jsxRuntimeExports.jsx(lF,{addressValue:{address:e,onClick:j,placeholder:lY.addBusinessAddressButton},label:{label:kr.businessAddressLabel,width:a2},style:{maxWidth:"100%"}})]}),t.jsxRuntimeExports.jsxs(lr,{title:kr.brandingTitle,children:[Q?t.jsxRuntimeExports.jsx(eei,{authParams:r,deleteFileStatusById:a,filesEndPoint:l,logoFile:L,updateFileStatusById:R,onDeleteFile:f,onEditFileName:y,onLogoFileChange:Z=>{B(Z),W.current=!0,N(Z?.fileId??"")},updateFilesEntity:v}):t.jsxRuntimeExports.jsx(mg,{label:kr.uploadLogoLabel,children:t.jsxRuntimeExports.jsx(bw,{children:kr.logoFormatsHint})}),t.jsxRuntimeExports.jsx(mg,{label:kr.accentColorLabel,children:t.jsxRuntimeExports.jsx(t.Controller,{control:M,name:"accent_color",render:({field:Z})=>t.jsxRuntimeExports.jsxs(zXs,{children:[t.jsxRuntimeExports.jsx(FXs,{type:"color",value:Z.value,onChange:J=>Z.onChange(J.target.value)}),t.jsxRuntimeExports.jsx(NXs,{children:Z.value})]})})})]}),t.jsxRuntimeExports.jsxs(lr,{title:kr.othersTitle,children:[t.jsxRuntimeExports.jsx(gt,{controlWidth:"100%",label:{label:kr.invoicePrefixLabel,width:a2},text:{defaultValue:P.invoice_prefix,name:"invoice_prefix",placeholder:kr.defaultInvoicePrefix,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{controlWidth:"100%",label:{label:kr.dateFormatLabel,width:a2},text:{defaultValue:P.date_format,name:"date_format",placeholder:kr.dateFormatPlaceholder,type:"text"}}),t.jsxRuntimeExports.jsx(gt,{controlWidth:"100%",label:{label:kr.defaultMemoLabel,width:a2},text:{defaultValue:P.default_memo,name:"default_memo",type:"text",placeholder:kr.defaultMemoLabel,style:{boxSizing:"border-box",width:"100%"}}})]})]}),t.jsxRuntimeExports.jsxs(OXs,{children:[t.jsxRuntimeExports.jsx(He,{disabled:d,label:XXs.reset,variant:"outline",onClick:q}),t.jsxRuntimeExports.jsx(He,{disabled:c,label:lY.saveChanges,loading:d,variant:"primary",onClick:b})]})]})})]})]})]})}const{common:oei,invoicingCommon:cAe,invoicingSettings:o8}=F.getLocalizedStrings(),nei=e=>({steps:e.map(n=>({action:{allOptions:[...rKe],selectedOption:n.action},daysAfterDue:n.daysAfterDue}))}),sei=(e,n)=>n.map((i,r)=>{const a=e.steps[r],l=a?.action.selectedOption;return{action:l!=null&&Cse(l)?l:i.action,daysAfterDue:a?.daysAfterDue??i.daysAfterDue,step:i.step}});function iei({isLoading:e,isSaving:n,onBackClick:i,onSave:r,saveErrorMessage:a,settings:l}){const c=t.useTheme(),d=h.useMemo(()=>aKe(l),[l]),u=h.useMemo(()=>nei(d),[d]),p=t.useForm({defaultValues:u}),{getValues:x,reset:g}=p;h.useEffect(()=>{g(u)},[u,g]);const f=()=>{r?.({dunning_schedule:pXs(sei(x(),d))})},y=()=>{g(u)};return t.jsxRuntimeExports.jsxs(HZe,{"data-testid":"invoicing-settings-dunning",children:[t.jsxRuntimeExports.jsx(It,{backgroundColor:c.colors.grey4,hideSearchBtn:!0,showBackButton:!0,showBorderBottom:!0,showMenuIcon:!1,source:"invoicing-settings-dunning",title:cAe.dunning,onBackClick:i}),t.jsxRuntimeExports.jsxs(NZe,{children:[a!=null?t.jsxRuntimeExports.jsx(bE,{children:a}):null,t.jsxRuntimeExports.jsx(wE,{style:{paddingTop:o.sp3},children:e?t.jsxRuntimeExports.jsx(vGs,{}):t.jsxRuntimeExports.jsx(t.FormProvider,{...p,children:t.jsxRuntimeExports.jsxs(TXs,{children:[t.jsxRuntimeExports.jsx(LXs,{children:t.jsxRuntimeExports.jsxs(cKe,{children:[t.jsxRuntimeExports.jsx(Zt,{children:o8.dunningScheduleTitle}),t.jsxRuntimeExports.jsx(bw,{children:o8.dunningScheduleSubtitle})]})}),t.jsxRuntimeExports.jsxs(HXs,{children:[t.jsxRuntimeExports.jsx("thead",{children:t.jsxRuntimeExports.jsxs("tr",{children:[t.jsxRuntimeExports.jsx(rY,{children:o8.stepColumnHeader}),t.jsxRuntimeExports.jsx(rY,{children:o8.daysAfterDueColumnHeader}),t.jsxRuntimeExports.jsx(rY,{children:cAe.actionColumnHeader})]})}),t.jsxRuntimeExports.jsx("tbody",{children:d.map((j,b)=>t.jsxRuntimeExports.jsxs("tr",{children:[t.jsxRuntimeExports.jsx(aY,{children:t.jsxRuntimeExports.jsx(ks,{children:j.step})}),t.jsxRuntimeExports.jsx(aY,{children:t.jsxRuntimeExports.jsx(Hs,{autoComplete:"off",defaultValue:j.daysAfterDue,name:`steps.${b}.daysAfterDue`,type:"text"})}),t.jsxRuntimeExports.jsx(aY,{children:t.jsxRuntimeExports.jsx(AXs,{children:t.jsxRuntimeExports.jsx(Rl,{defaultValue:{allOptions:[...rKe],selectedOption:j.action},isClearable:!1,isSearchable:!1,menuPortalTarget:aXs,name:`steps.${b}.action`})})})]},j.step))})]})]})})})]}),e?null:t.jsxRuntimeExports.jsx(qt,{cancelBtn:{isDisabled:n,label:oei.reset,onClick:y},primaryBtn:{isDisabled:r==null,isLoading:n,label:o8.saveDunningSettingsButtonLabel,type:"button",onClick:f},separatorStyle:{marginRight:o.sp4},showCancel:!0})]})}const{common:rei}=F.getLocalizedStrings(),{strings:{colon:wse,empty:aei}}=rei,cY=s.div`
|
|
75122
75122
|
display: flex;
|
|
75123
75123
|
flex: 1 1 auto;
|
|
75124
75124
|
flex-direction: column;
|
|
@@ -285754,7 +285754,7 @@ function Nje({
|
|
|
285754
285754
|
autoComplete: "off",
|
|
285755
285755
|
name: o,
|
|
285756
285756
|
placeholder: r,
|
|
285757
|
-
type: "
|
|
285757
|
+
type: "text"
|
|
285758
285758
|
}
|
|
285759
285759
|
) }),
|
|
285760
285760
|
/* @__PURE__ */ t.jsx(str, {}),
|
|
@@ -286303,7 +286303,7 @@ function ktr({
|
|
|
286303
286303
|
}) {
|
|
286304
286304
|
const { control: m, getValues: g } = Xe(), x = `subFamilies.${r}`, f = ja({ control: m, name: `${x}.tiers` }), y = nc({ control: m, name: `${x}.pricing_model` }), b = nc({ control: m, name: `${x}.trial_period` }), w = rrt(
|
|
286305
286305
|
y?.selectedOption ?? o.pricing_model.selectedOption ?? ""
|
|
286306
|
-
), v = (b ?? o.trial_period).trim() !== "", $ = () => {
|
|
286306
|
+
), v = String(b ?? o.trial_period ?? "").trim() !== "", $ = () => {
|
|
286307
286307
|
const I = g(`${x}.tiers`), k = I?.[I.length - 1]?.to, L = k != null && k !== "" ? String(Number(k) + 1) : "1";
|
|
286308
286308
|
f.append(_je(d, L)), h();
|
|
286309
286309
|
}, S = (I) => {
|
|
@@ -286362,7 +286362,7 @@ function ktr({
|
|
|
286362
286362
|
defaultValue: o.price,
|
|
286363
286363
|
name: `${x}.price`,
|
|
286364
286364
|
placeholder: Xr.placeholderPriceZero,
|
|
286365
|
-
type: "
|
|
286365
|
+
type: "text"
|
|
286366
286366
|
}
|
|
286367
286367
|
}
|
|
286368
286368
|
),
|
|
@@ -286381,7 +286381,7 @@ function ktr({
|
|
|
286381
286381
|
autoComplete: "off",
|
|
286382
286382
|
name: `${x}.tiers.${k}.from`,
|
|
286383
286383
|
placeholderAlignment: "right",
|
|
286384
|
-
type: "
|
|
286384
|
+
type: "text"
|
|
286385
286385
|
}
|
|
286386
286386
|
),
|
|
286387
286387
|
/* @__PURE__ */ t.jsx(
|
|
@@ -286391,7 +286391,7 @@ function ktr({
|
|
|
286391
286391
|
name: `${x}.tiers.${k}.to`,
|
|
286392
286392
|
placeholder: bo.infinity,
|
|
286393
286393
|
placeholderAlignment: "right",
|
|
286394
|
-
type: "
|
|
286394
|
+
type: "text"
|
|
286395
286395
|
}
|
|
286396
286396
|
),
|
|
286397
286397
|
/* @__PURE__ */ t.jsx(
|
|
@@ -286401,7 +286401,7 @@ function ktr({
|
|
|
286401
286401
|
name: `${x}.tiers.${k}.price`,
|
|
286402
286402
|
placeholder: Xr.placeholderPriceZero,
|
|
286403
286403
|
placeholderAlignment: "right",
|
|
286404
|
-
type: "
|
|
286404
|
+
type: "text"
|
|
286405
286405
|
}
|
|
286406
286406
|
),
|
|
286407
286407
|
/* @__PURE__ */ t.jsx(
|
|
@@ -286496,7 +286496,7 @@ function ktr({
|
|
|
286496
286496
|
defaultValue: o.billing_cycles,
|
|
286497
286497
|
name: `${x}.billing_cycles`,
|
|
286498
286498
|
placeholder: bo.placeholderAddBillingCycles,
|
|
286499
|
-
type: "
|
|
286499
|
+
type: "text"
|
|
286500
286500
|
}
|
|
286501
286501
|
}
|
|
286502
286502
|
),
|
|
@@ -286517,7 +286517,7 @@ function ktr({
|
|
|
286517
286517
|
text: {
|
|
286518
286518
|
defaultValue: o.free_quantity,
|
|
286519
286519
|
name: `${x}.free_quantity`,
|
|
286520
|
-
type: "
|
|
286520
|
+
type: "text"
|
|
286521
286521
|
}
|
|
286522
286522
|
}
|
|
286523
286523
|
),
|
|
@@ -290164,7 +290164,7 @@ function hMr({
|
|
|
290164
290164
|
autoComplete: "off",
|
|
290165
290165
|
defaultValue: y.daysAfterDue,
|
|
290166
290166
|
name: `steps.${b}.daysAfterDue`,
|
|
290167
|
-
type: "
|
|
290167
|
+
type: "text"
|
|
290168
290168
|
}
|
|
290169
290169
|
) }),
|
|
290170
290170
|
/* @__PURE__ */ t.jsx(lq, { children: /* @__PURE__ */ t.jsx(vor, { children: /* @__PURE__ */ t.jsx(
|
package/dist/cockpit.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./SessionTimeoutPopup-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./SessionTimeoutPopup-C5hCcpTD.cjs"),o=require("./vendor-.pnpm-C8FI_grH.cjs"),u=require("react"),s=require("@emotion/styled"),Xe=require("@liveblocks/react"),ee=require("@zeniai/client-epic-state"),ws=require("@liveblocks/react-ui"),Ee=require("@emotion/react"),Po=require("react-dom"),St=require("@liveblocks/react-ui/primitives"),yi=require("@liveblocks/react/suspense");function Pa(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const le=Pa(u),La=({inboxNotification:e,onNotificationClick:n})=>{const r=Xe.useInboxNotificationThread(e.id),i=r.metadata.entityType.split("."),a=r.metadata.isGlobalComment&&i.length===2;return o.jsxRuntimeExports.jsx(Ia,{isClickable:a,isUnRead:e.readAt==null,onClick:()=>{n(r.metadata,r.id)},children:o.jsxRuntimeExports.jsx(ws.InboxNotification,{inboxNotification:e,kinds:{thread:d=>o.jsxRuntimeExports.jsx(ws.InboxNotification.Thread,{...d,showRoomName:!0})}})})},Ia=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
cursor: ${e=>e.isClickable?"pointer":"initial"};
|
package/dist/cockpit.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { eM as o, i5 as ze, m as ft, gR as P, fk as It, b_ as Yr, a4 as Be, fp as Gd, ha as Yd, hl as Zd, aM as I, hd as H, ew as Qd, iG as ye, ir as lo, fV as at, aO as Wt, dh as Ns, C as $o, fM as ss, dc as wo, fm as as, fB as Jd, eY as Jt, eV as Ee, hk as Ml, fI as Co, ex as Rs, d7 as Me, ii as Xd, bm as qd, bI as _t, bj as ep, fi as zl, ht as tp, bw as ls, R as cs, hG as op, hH as np, hI as rp, aN as ip, dt as sp, d5 as gt, fo as Fl, dD as ap, f8 as Zr, fG as ds, i3 as _, eq as lp, bT as cp, eD as $e, fe as dp, eg as B, dE as Fe, i6 as dt, f4 as ps, bW as Rr, eE as pp, ff as us, bJ as Qr, hQ as Te, b$ as Jr, fg as Bl, fy as Wl, ft as Qn, h6 as zt, fX as ct, eR as hn, d9 as up, db as _l, fj as Vl, hm as Lt, gP as et, gg as Mr, gL as hp, fT as mn, fU as gn, p as xn, h2 as zo, f2 as Fo, d6 as Xr, fn as hs, da as mp, fq as Ul, fh as co, fl as Bo, bu as Qt, gK as Ms, hD as gp, hr as xp, hx as yp, fs as fp, fL as bp, fK as Jn, eS as Cp, eT as ms, hn as $p, fr as Kl, fx as Hl, fw as Gl, bF as Yl, h_ as wp, c$ as zs, d0 as gs, cV as Sp, c_ as vp, bX as Xn, bG as yn, fv as xs, aQ as jp, eA as kp, hg as yt, eJ as Zl, cZ as zr, d3 as Tp, bE as ys, cS as Pp, eh as Kn, fd as Lp, fc as Ip, f9 as Ap, cT as fs, ey as Fs, cW as Ql, ix as Fr, dF as Jl, f6 as Xl, hb as bs, cU as Op, aZ as dn, aX as Hn, aY as Gn, iI as ql, bo as Dp, it as Ep, bK as Yt, a$ as Pt, fF as Cs, fA as ec, eZ as Np, df as tc, fC as Rp, eX as Mp, b0 as Kt, hP as sr, bO as zp, iE as Fp, d2 as Ht, bb as oc, ez as Bs, cY as Bp, d1 as Wp, e3 as Ws, ba as _p, g as Vp, cX as Up, dH as Kp, fa as Hp, eI as qn, io as nc, is as rc, bN as Zt, a8 as qr, a9 as pn, iu as ic, hy as sc, bp as Gp, dj as Yp, dy as ac, dx as Zp, hE as Qp, dn as Br, aH as lc, dm as Jp, dl as Xp, bt as qp, dk as $s, ho as cc, bR as dc, gT as pc, o as uc, fR as hc, bS as eu, D as mc, bV as gc, gh as tu, eQ as ou, im as nu, dv as ru, hs as iu, hp as su, a3 as au, ed as _s, hw as lu, fJ as xc, hF as Vs, dz as cu, d8 as du, eW as pu, fu as uu, fz as hu, fb as mu, g$ as Us, fE as gu, eK as yc, eF as xu, h5 as fc, bv as yu, e_ as fu, bH as bu, bL as Cu, eG as bc, fD as $u, d4 as wu, fH as Su, eC as vu, eH as Cc, eU as ju, bM as ku, eB as Tu } from "./SessionTimeoutPopup-
|
|
2
|
-
import { A as Wj, a as _j, b as Vj, c as Uj, d as Kj, e as Hj, f as Gj, h as Yj, i as Zj, j as Qj, k as Jj, l as Xj, n as qj, q as ek, r as tk, s as ok, t as nk, u as rk, v as ik, w as sk, x as ak, y as lk, z as ck, B as dk, E as pk, F as uk, G as hk, H as mk, I as gk, J as xk, K as yk, L as fk, M as bk, N as Ck, O as $k, P as wk, Q as Sk, S as vk, T as jk, U as kk, V as Tk, W as Pk, X as Lk, Y as Ik, Z as Ak, _ as Ok, eP as Dk, $ as Ek, a0 as Nk, a1 as Rk, a2 as Mk, a5 as zk, a6 as Fk, a7 as Bk, aa as Wk, ab as _k, ac as Vk, ad as Uk, ae as Kk, af as Hk, ag as Gk, ah as Yk, ai as Zk, aj as Qk, ak as Jk, al as Xk, am as qk, an as eT, ao as tT, ap as oT, aq as nT, ar as rT, as as iT, at as sT, au as aT, av as lT, aw as cT, ax as dT, ay as pT, az as uT, aA as hT, aB as mT, eP as gT, aC as xT, aD as yT, aE as fT, aF as bT, aG as CT, aI as $T, aJ as wT, aK as ST, aL as vT, aP as jT, aR as kT, aS as TT, aT as PT, aU as LT, aV as IT, aW as AT, a_ as OT, b1 as DT, b2 as ET, b3 as NT, b4 as RT, b5 as MT, b6 as zT, b7 as FT, b8 as BT, b9 as WT, bc as _T, bd as VT, be as UT, bf as KT, bg as HT, bh as GT, bi as YT, bk as ZT, bn as QT, bq as JT, br as XT, bs as qT, bx as eP, by as tP, bz as oP, bA as nP, bB as rP, bC as iP, bD as sP, bP as aP, bQ as lP, bU as cP, bY as dP, bZ as pP, c0 as uP, c1 as hP, c2 as mP, c3 as gP, c4 as xP, c5 as yP, c6 as fP, c7 as bP, c8 as CP, c9 as $P, ca as wP, cb as SP, cc as vP, cd as jP, ce as kP, cf as TP, cg as PP, ch as LP, ci as IP, cj as AP, ck as OP, cl as DP, cm as EP, cn as NP, co as RP, cp as MP, cq as zP, cr as FP, cs as BP, ct as WP, cu as _P, cv as VP, cw as UP, cx as KP, cy as HP, cz as GP, cA as YP, cB as ZP, cC as QP, cD as JP, cE as XP, cF as qP, cG as eL, cH as tL, cI as oL, cJ as nL, cK as rL, cL as iL, cL as sL, cM as aL, cN as lL, cO as cL, cP as dL, cQ as pL, cR as uL, dd as hL, de as mL, dg as gL, di as xL, dp as yL, dq as fL, dr as bL, ds as CL, du as $L, dw as wL, dA as SL, dB as vL, dC as jL, dG as kL, dI as TL, dJ as PL, dK as LL, dL as IL, dM as AL, dN as OL, dO as DL, dP as EL, dQ as NL, dR as RL, dS as ML, dT as zL, dU as FL, dV as BL, dW as WL, dX as _L, dY as VL, dZ as UL, d_ as KL, d$ as HL, e0 as GL, e1 as YL, e2 as ZL, e4 as QL, bl as JL, e5 as XL, e6 as qL, e7 as eI, e8 as tI, e9 as oI, ea as nI, eb as rI, eP as iI, ee as sI, ec as aI, ef as lI, ei as cI, ej as dI, ek as pI, el as uI, em as hI, en as mI, eo as gI, ep as xI, er as yI, es as fI, et as bI, eu as CI, ev as $I, eL as wI, eN as SI, eO as vI, e$ as jI, f0 as kI, f1 as TI, f3 as PI, f5 as LI, f7 as II, fN as AI, fO as OI, fP as DI, fQ as EI, fS as NI, fW as RI, fY as MI, fZ as zI, f_ as FI, f$ as BI, g0 as WI, g1 as _I, g2 as VI, g3 as UI, g4 as KI, g5 as HI, g6 as GI, g7 as YI, g8 as ZI, g9 as QI, ga as JI, gb as XI, gc as qI, gd as eA, ge as tA, gf as oA, gi as nA, gj as rA, gk as iA, gl as sA, gm as aA, gn as lA, go as cA, gp as dA, gq as pA, gr as uA, gs as hA, gt as mA, gu as gA, gv as xA, gw as yA, gx as fA, gy as bA, gz as CA, gA as $A, gB as wA, gC as SA, gD as vA, gE as jA, gF as kA, gG as TA, gH as PA, gI as LA, gJ as IA, gM as AA, gN as OA, gO as DA, gQ as EA, gS as NA, gU as RA, gV as MA, gW as zA, gX as FA, gY as BA, gZ as WA, g_ as _A, h0 as VA, h1 as UA, h3 as KA, h4 as HA, h7 as GA, h9 as YA, h8 as ZA, hc as QA, he as JA, hf as XA, hh as qA, hi as eO, hj as tO, hq as oO, hu as nO, hv as rO, hz as iO, hA as sO, hB as aO, hC as lO, hJ as cO, hK as dO, hL as pO, hM as uO, hN as hO, hO as mO, hR as gO, hS as xO, hT as yO, hU as fO, hV as bO, hW as CO, hX as $O, hY as wO, hZ as SO, h$ as vO, i0 as jO, i1 as kO, i2 as TO, i4 as PO, i7 as LO, i8 as IO, i9 as AO, ia as OO, ib as DO, ic as EO, id as NO, ie as RO, ig as MO, ih as zO, ij as FO, ik as BO, il as WO, ip as _O, iq as VO, iv as UO, iw as KO, iy as HO, iz as GO, iA as YO, iB as ZO, iC as QO, iD as JO, iF as XO, iH as qO, iJ as eD, iK as tD } from "./SessionTimeoutPopup-
|
|
1
|
+
import { eM as o, i5 as ze, m as ft, gR as P, fk as It, b_ as Yr, a4 as Be, fp as Gd, ha as Yd, hl as Zd, aM as I, hd as H, ew as Qd, iG as ye, ir as lo, fV as at, aO as Wt, dh as Ns, C as $o, fM as ss, dc as wo, fm as as, fB as Jd, eY as Jt, eV as Ee, hk as Ml, fI as Co, ex as Rs, d7 as Me, ii as Xd, bm as qd, bI as _t, bj as ep, fi as zl, ht as tp, bw as ls, R as cs, hG as op, hH as np, hI as rp, aN as ip, dt as sp, d5 as gt, fo as Fl, dD as ap, f8 as Zr, fG as ds, i3 as _, eq as lp, bT as cp, eD as $e, fe as dp, eg as B, dE as Fe, i6 as dt, f4 as ps, bW as Rr, eE as pp, ff as us, bJ as Qr, hQ as Te, b$ as Jr, fg as Bl, fy as Wl, ft as Qn, h6 as zt, fX as ct, eR as hn, d9 as up, db as _l, fj as Vl, hm as Lt, gP as et, gg as Mr, gL as hp, fT as mn, fU as gn, p as xn, h2 as zo, f2 as Fo, d6 as Xr, fn as hs, da as mp, fq as Ul, fh as co, fl as Bo, bu as Qt, gK as Ms, hD as gp, hr as xp, hx as yp, fs as fp, fL as bp, fK as Jn, eS as Cp, eT as ms, hn as $p, fr as Kl, fx as Hl, fw as Gl, bF as Yl, h_ as wp, c$ as zs, d0 as gs, cV as Sp, c_ as vp, bX as Xn, bG as yn, fv as xs, aQ as jp, eA as kp, hg as yt, eJ as Zl, cZ as zr, d3 as Tp, bE as ys, cS as Pp, eh as Kn, fd as Lp, fc as Ip, f9 as Ap, cT as fs, ey as Fs, cW as Ql, ix as Fr, dF as Jl, f6 as Xl, hb as bs, cU as Op, aZ as dn, aX as Hn, aY as Gn, iI as ql, bo as Dp, it as Ep, bK as Yt, a$ as Pt, fF as Cs, fA as ec, eZ as Np, df as tc, fC as Rp, eX as Mp, b0 as Kt, hP as sr, bO as zp, iE as Fp, d2 as Ht, bb as oc, ez as Bs, cY as Bp, d1 as Wp, e3 as Ws, ba as _p, g as Vp, cX as Up, dH as Kp, fa as Hp, eI as qn, io as nc, is as rc, bN as Zt, a8 as qr, a9 as pn, iu as ic, hy as sc, bp as Gp, dj as Yp, dy as ac, dx as Zp, hE as Qp, dn as Br, aH as lc, dm as Jp, dl as Xp, bt as qp, dk as $s, ho as cc, bR as dc, gT as pc, o as uc, fR as hc, bS as eu, D as mc, bV as gc, gh as tu, eQ as ou, im as nu, dv as ru, hs as iu, hp as su, a3 as au, ed as _s, hw as lu, fJ as xc, hF as Vs, dz as cu, d8 as du, eW as pu, fu as uu, fz as hu, fb as mu, g$ as Us, fE as gu, eK as yc, eF as xu, h5 as fc, bv as yu, e_ as fu, bH as bu, bL as Cu, eG as bc, fD as $u, d4 as wu, fH as Su, eC as vu, eH as Cc, eU as ju, bM as ku, eB as Tu } from "./SessionTimeoutPopup-DNjFjX7W.js";
|
|
2
|
+
import { A as Wj, a as _j, b as Vj, c as Uj, d as Kj, e as Hj, f as Gj, h as Yj, i as Zj, j as Qj, k as Jj, l as Xj, n as qj, q as ek, r as tk, s as ok, t as nk, u as rk, v as ik, w as sk, x as ak, y as lk, z as ck, B as dk, E as pk, F as uk, G as hk, H as mk, I as gk, J as xk, K as yk, L as fk, M as bk, N as Ck, O as $k, P as wk, Q as Sk, S as vk, T as jk, U as kk, V as Tk, W as Pk, X as Lk, Y as Ik, Z as Ak, _ as Ok, eP as Dk, $ as Ek, a0 as Nk, a1 as Rk, a2 as Mk, a5 as zk, a6 as Fk, a7 as Bk, aa as Wk, ab as _k, ac as Vk, ad as Uk, ae as Kk, af as Hk, ag as Gk, ah as Yk, ai as Zk, aj as Qk, ak as Jk, al as Xk, am as qk, an as eT, ao as tT, ap as oT, aq as nT, ar as rT, as as iT, at as sT, au as aT, av as lT, aw as cT, ax as dT, ay as pT, az as uT, aA as hT, aB as mT, eP as gT, aC as xT, aD as yT, aE as fT, aF as bT, aG as CT, aI as $T, aJ as wT, aK as ST, aL as vT, aP as jT, aR as kT, aS as TT, aT as PT, aU as LT, aV as IT, aW as AT, a_ as OT, b1 as DT, b2 as ET, b3 as NT, b4 as RT, b5 as MT, b6 as zT, b7 as FT, b8 as BT, b9 as WT, bc as _T, bd as VT, be as UT, bf as KT, bg as HT, bh as GT, bi as YT, bk as ZT, bn as QT, bq as JT, br as XT, bs as qT, bx as eP, by as tP, bz as oP, bA as nP, bB as rP, bC as iP, bD as sP, bP as aP, bQ as lP, bU as cP, bY as dP, bZ as pP, c0 as uP, c1 as hP, c2 as mP, c3 as gP, c4 as xP, c5 as yP, c6 as fP, c7 as bP, c8 as CP, c9 as $P, ca as wP, cb as SP, cc as vP, cd as jP, ce as kP, cf as TP, cg as PP, ch as LP, ci as IP, cj as AP, ck as OP, cl as DP, cm as EP, cn as NP, co as RP, cp as MP, cq as zP, cr as FP, cs as BP, ct as WP, cu as _P, cv as VP, cw as UP, cx as KP, cy as HP, cz as GP, cA as YP, cB as ZP, cC as QP, cD as JP, cE as XP, cF as qP, cG as eL, cH as tL, cI as oL, cJ as nL, cK as rL, cL as iL, cL as sL, cM as aL, cN as lL, cO as cL, cP as dL, cQ as pL, cR as uL, dd as hL, de as mL, dg as gL, di as xL, dp as yL, dq as fL, dr as bL, ds as CL, du as $L, dw as wL, dA as SL, dB as vL, dC as jL, dG as kL, dI as TL, dJ as PL, dK as LL, dL as IL, dM as AL, dN as OL, dO as DL, dP as EL, dQ as NL, dR as RL, dS as ML, dT as zL, dU as FL, dV as BL, dW as WL, dX as _L, dY as VL, dZ as UL, d_ as KL, d$ as HL, e0 as GL, e1 as YL, e2 as ZL, e4 as QL, bl as JL, e5 as XL, e6 as qL, e7 as eI, e8 as tI, e9 as oI, ea as nI, eb as rI, eP as iI, ee as sI, ec as aI, ef as lI, ei as cI, ej as dI, ek as pI, el as uI, em as hI, en as mI, eo as gI, ep as xI, er as yI, es as fI, et as bI, eu as CI, ev as $I, eL as wI, eN as SI, eO as vI, e$ as jI, f0 as kI, f1 as TI, f3 as PI, f5 as LI, f7 as II, fN as AI, fO as OI, fP as DI, fQ as EI, fS as NI, fW as RI, fY as MI, fZ as zI, f_ as FI, f$ as BI, g0 as WI, g1 as _I, g2 as VI, g3 as UI, g4 as KI, g5 as HI, g6 as GI, g7 as YI, g8 as ZI, g9 as QI, ga as JI, gb as XI, gc as qI, gd as eA, ge as tA, gf as oA, gi as nA, gj as rA, gk as iA, gl as sA, gm as aA, gn as lA, go as cA, gp as dA, gq as pA, gr as uA, gs as hA, gt as mA, gu as gA, gv as xA, gw as yA, gx as fA, gy as bA, gz as CA, gA as $A, gB as wA, gC as SA, gD as vA, gE as jA, gF as kA, gG as TA, gH as PA, gI as LA, gJ as IA, gM as AA, gN as OA, gO as DA, gQ as EA, gS as NA, gU as RA, gV as MA, gW as zA, gX as FA, gY as BA, gZ as WA, g_ as _A, h0 as VA, h1 as UA, h3 as KA, h4 as HA, h7 as GA, h9 as YA, h8 as ZA, hc as QA, he as JA, hf as XA, hh as qA, hi as eO, hj as tO, hq as oO, hu as nO, hv as rO, hz as iO, hA as sO, hB as aO, hC as lO, hJ as cO, hK as dO, hL as pO, hM as uO, hN as hO, hO as mO, hR as gO, hS as xO, hT as yO, hU as fO, hV as bO, hW as CO, hX as $O, hY as wO, hZ as SO, h$ as vO, i0 as jO, i1 as kO, i2 as TO, i4 as PO, i7 as LO, i8 as IO, i9 as AO, ia as OO, ib as DO, ic as EO, id as NO, ie as RO, ig as MO, ih as zO, ij as FO, ik as BO, il as WO, ip as _O, iq as VO, iv as UO, iw as KO, iy as HO, iz as GO, iA as YO, iB as ZO, iC as QO, iD as JO, iF as XO, iH as qO, iJ as eD, iK as tD } from "./SessionTimeoutPopup-DNjFjX7W.js";
|
|
3
3
|
import { al as t, D as Pu, a1 as Lu, aM as Ue, q as er, O as jt, L as Iu, s as Au, T as Ou, o as ei, f as Xt, h as xe, aI as Wo, i as tr, aH as po, Y as _o, m as uo, J as Vo, b as qt, V as Uo, ae as nt, I as $c, X as Du, ao as Mt, aa as Yn, aG as Eu, k as ws, C as wc, n as Nu, d as Ru, e as Ss, B as vs, at as Ks } from "./vendor-.pnpm-CUrsb6Rf.js";
|
|
4
4
|
import { aB as nD } from "./vendor-.pnpm-CUrsb6Rf.js";
|
|
5
5
|
import * as me from "react";
|
package/dist/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SessionTimeoutPopup-aWRvfi6A.cjs"),a=require("./vendor-.pnpm-C8FI_grH.cjs"),t=require("@emotion/styled");exports.AIAgentsActivatingPage=e.AIAgentsActivatingPage;exports.AIIconButton=e.AIIconButton;exports.AIPerformancePage=e.AIPerformancePage;exports.ALL_AI_CFO_MENU_OPTIONS=e.ALL_AI_CFO_MENU_OPTIONS;exports.ALL_INVOICING_MENU_GROUPS=e.ALL_INVOICING_MENU_GROUPS;exports.ALL_INVOICING_MENU_OPTIONS=e.ALL_INVOICING_MENU_OPTIONS;exports.ALL_SETTINGS_MENU_OPTIONS=e.ALL_SETTINGS_MENU_OPTIONS;exports.APP_DRAWER_CONTENT_WIDTH_PX=e.APP_DRAWER_CONTENT_WIDTH_PX;exports.AccountInfoPage=e.AccountInfoPage;exports.AccountLockedInfoModal=e.AccountLockedInfoModal;exports.AccountReconDetailsDrawerPage=e.AccountReconDetailsDrawerPage;exports.AccountReconDetailsDrawerPageV2=e.AccountReconDetailsDrawerPage$1;exports.ActivityIndicator=e.ActivityIndicator;exports.AddAddressForCardDrawer=e.AddAddressForCardDrawer;exports.AddToWalletPage=e.AddToWalletPage;exports.AddressFormPage=e.AddressFormPage;exports.AgingReportsPage=e.AgingReportsPage;exports.AiCfoChatHeader=e.AiCfoChatHeader;exports.AiCfoMenuContent=e.AiCfoMenuContent;exports.AiCfoOnboardingPage=e.AiCfoOnboardingPage;exports.AiCfoPage=e.AiCfoPage;exports.AiCfoScopeModal=e.AiCfoScopeModal;exports.AiCfoScopeModalScrollBody=e.AiCfoScopeModalScrollBody;exports.AiCfoSidePanel=e.AiCfoSidePanel;exports.AiFinanceTeamReadyPage=e.AiFinanceTeamReadyPage;exports.AllowBlockChipPicker=e.AllowBlockChipPicker;exports.AnalyticsOnLoad=e.AnalyticsOnLoad;exports.ApAgingDetailPage=e.ApAgingDetailPage;exports.AppBasePage=e.AppBasePage;exports.AppDrawerContent=e.AppDrawerContent;exports.AppDrawerHeightMobile=e.AppDrawerHeightMobile;exports.ApprovalRulesSettingsPage=e.ApprovalRulesSettingsPage;exports.ArAgingDetailPage=e.ArAgingDetailPage;exports.AskAiCfoNavButton=e.AskAiCfoNavButton;exports.AskAiCfoNavButtonWhenEnabled=e.AskAiCfoNavButtonWhenEnabled;exports.AttachmentView=e.AttachmentView;exports.AutoSweepFlow=e.AutoSweepFlow;exports.AutoTransferRulePage=e.AutoTransferRulePage;exports.BackNavigationProvider=e.BackNavigationProvider;exports.BankConnectionsSettingsPage=e.BankConnectionsSettingsPage;exports.BillDetailPage=e.BillDetailPage;exports.BillDetailPageSkeleton=e.BillDetailPageSkeleton;exports.BillPayApprovalRuleDetailPage=e.BillPayApprovalRuleDetailPage;exports.BillPayApprovalRuleDetailPageV1=e.BillPayApprovalRuleDetailPage$1;exports.BillPayApprovalRulesPage=e.BillPayApprovalRulesPage;exports.BillPayApprovalRulesPageV1=e.BillPayApprovalRulesPage$1;exports.BillPayPromoPage=e.BillPayPromoPage;exports.BillPaySetUpLoading=e.SpendManagementSetUpLoading;exports.BillPaySetUpPage=e.BillPaySetUpPage;exports.BillingSettingsPage=e.BillingSettingsPage;exports.BillsBulkReviewDrawerPage=e.BillsBulkReviewDrawerPage;exports.BusinessVerificationPage=e.BusinessVerificationPage;exports.CARD_POLICY_LIMIT_ROW_ID_REQUIRE_RECEIPT=e.CARD_POLICY_LIMIT_ROW_ID_REQUIRE_RECEIPT;exports.CARD_POLICY_LIMIT_ROW_ID_TRANSACTION=e.CARD_POLICY_LIMIT_ROW_ID_TRANSACTION;exports.COMMAND_CENTER_SUBMENU_TYPES=e.COMMAND_CENTER_SUBMENU_TYPES;exports.CapitalizationOnboardingPopup=e.CapitalizationOnboardingPopup;exports.CapitalizationSettingsSection=e.CapitalizationSettingsSection;exports.CardPolicyCreatePage=e.CardPolicyCreatePage;exports.CardPolicyEditPage=e.CardPolicyEditPage;exports.CardPolicyFormPageSkeleton=e.CardPolicyFormPageSkeleton;exports.CardPolicyFormSections=e.CardPolicyFormSections;exports.CardPolicyListPage=e.CardPolicyListPage;exports.CardPolicyListPageSkeleton=e.CardPolicyListPageSkeleton;exports.CardPolicyListRow=e.CardPolicyListRow;exports.CardPolicyListSkeletonRow=e.CardPolicyListSkeletonRow;exports.CardPolicyManualEmptyState=e.CardPolicyManualEmptyState;exports.CardsAiCfoHero=e.CardsAiCfoHero;exports.CardsShutdownBanner=e.CardsShutdownBanner;exports.CashManagementBanner=e.CashManagementBanner;exports.CashManagementNavCTA=e.CashManagementNavCTA;exports.CashOverview=e.CashOverview;exports.CashbackDetailLoading=e.CashbackDetailLoading;exports.CashbackDetailPage=e.CashbackDetailPage;exports.ChargeCardCVVActivate=e.ChargeCardCVVActivate;exports.ChargeCardDetailLoading=e.ChargeCardDetailLoading;exports.ChargeCardDetailPage=e.ChargeCardDetailPage;exports.ChargeCardListLoading=e.ChargeCardListLoading;exports.ChargeCardListPage=e.ChargeCardListPage;exports.ChargeCardListSkeletonRow=e.ChargeCardListSkeletonRow;exports.ChargeCardPaymentHistoryPage=e.ChargeCardPaymentHistoryPage;exports.ChargeCardPromoPage=e.ChargeCardPromoPage;exports.ChargeCardPromoPageSkeleton=e.ChargeCardPromoPageSkeleton;exports.ChargeCardSetUpPage=e.ChargeCardSetUpPage;exports.ChargeCardSetupLoading=e.SpendManagementSetUpLoading;exports.ChargeCardStatementsLoading=e.ChargeCardStatementsLoading;exports.ChargeCardStatementsPage=e.ChargeCardStatementsPage;exports.ChargeCardUserOnboardingPromoPage=e.ChargeCardUserOnboardingPromoPage;exports.ChargeCardUserOnboardingPromoPageSkeleton=e.ChargeCardUserOnboardingPromoPageSkeleton;exports.CheckDepositDrawerPage=e.CheckDepositDrawerPage;exports.ClickableRow=e.ClickableRow;exports.CollaborationGlobalStyles=e.CollaborationGlobalStyles;exports.CollaborationProvider=e.CollaborationProvider;exports.CollaborationRoomProvider=e.CollaborationRoomProvider;exports.Colors=e.Colors;exports.CommentsAndNotesCount=e.CommentsAndNotesCount;exports.CommentsDrawerProvider=e.CommentsDrawerProvider;exports.CompanyOfficerOnboardingDetailsSection=e.CompanyOfficerOnboardingDetailsSection;exports.CompanyOnboardingDetailsSection=e.CompanyOnboardingDetailsSection;exports.CompanyPassportCard=e.CompanyPassportCard;exports.CompanyPassportPage=e.CompanyPassportPage;exports.CompleteProfile=e.CompleteProfile;exports.ConfettiBurst=e.ConfettiBurst;exports.ConfirmationPopup=e.ConfirmationPopup;exports.ConnectDataSourcesPage=e.ConnectDataSourcesPage;exports.CreateOrEditVendorPage=e.CreateOrEditVendorPage;exports.CreateOrEditVendorPageSkeleton=e.CreateOrEditVendorPageSkeleton;exports.CreatedEntitiesAnswer=e.CreatedEntitiesAnswer;exports.CreatingEntitiesAnswerLoading=e.CreatingEntitiesAnswerLoading;exports.CreditCardPaymentDrawerPage=e.CreditCardPaymentDrawerPage;exports.CustomerOnboardingContainerPage=e.CustomerOnboardingContainerPage;exports.CustomerOnboardingNoStepsPage=e.CustomerOnboardingNoStepsPage;exports.CustomerOnboardingPage=e.CustomerOnboardingPage;exports.CustomerOnboardingProductSuitePage=e.CustomerOnboardingProductSuitePage;exports.Dashboard=e.Dashboard;exports.DashboardReportPage=e.DashboardReportPage;exports.DashboardSidebarLogoAnimation=e.DashboardSidebarLogoAnimation;exports.DataListTable=e.DataListTable;exports.DataListTableHeader=e.DataListTableHeader;exports.DataListTableRow=e.DataListTableRow;exports.DataListTableSortIndicator=e.DataListTableSortIndicator;exports.DebitCardSetPin=e.DebitCardSetPin;exports.DropdownPortalContext=e.DropdownPortalContext;exports.EditPeoplePage=e.EditPeoplePage;exports.EditReimbursementDetailPage=e.EditReimbursementDetailPage;exports.EditableBillDetailPage=e.EditableBillDetailPage;exports.EntityDetailPage=e.EntityDetailPage;exports.ErrorBoundaryWrapper=e.ErrorBoundaryWrapper;exports.ExcludedAccountReconDetailsDrawerPage=e.ExcludedAccountReconDetailsDrawerPage;exports.ExpenseAutomationOverviewPage=e.ExpenseAutomationOverviewPage;exports.ExpenseAutomationOverviewPageSkeleton=e.ExpenseAutomationOverviewPageSkeleton;exports.ExpenseAutomationPage=e.ExpenseAutomationPage;exports.ExpressPayPage=e.ExpressPayPage;exports.FeatureDynamicConfigNames=e.DynamicConfigNames;exports.FeatureGatesNames=e.FeatureGatesNames;exports.FeaturePreviewPage=e.FeaturePreviewPage;exports.FeatureProvider=e.FeatureProvider;exports.FirstReviewVendorDetailPage=e.FirstReviewVendorDetailPage;exports.FontWeight=e.FontWeight;exports.GlobalInfoProvider=e.GlobalInfoProvider;exports.GlobalReviewListPage=e.GlobalReviewListPage;exports.INVOICING_SETTINGS_NAV_SECTIONS=e.INVOICING_SETTINGS_NAV_SECTIONS;exports.INVOICING_SETTINGS_TABS=e.INVOICING_SETTINGS_TABS;exports.InformationCardStack=e.InformationCardStack;exports.InitialCollaborationProvider=e.InitialCollaborationProvider;exports.InsightsCardStack=e.InsightCardStack;exports.IntegrationCardView=e.IntegrationCardView;exports.IntegrationsCardGrid=e.IntegrationsCardGrid;exports.IntegrationsSection=e.IntegrationsSection;exports.IntegrationsSettingsPage=e.IntegrationsSettingsPage;exports.InternationalWireVerificationPage=e.InternationalWireVerificationPage;exports.InviteFormPage=e.InviteFormPage;exports.InvitePageListView=e.InvitePageListView;exports.InvitePeoplePage=e.InvitePeoplePage;exports.InvoiceUploadSection=e.InvoiceUploadSection;exports.InvoiceUploadSectionSkeleton=e.InvoiceUploadSectionSkeleton;exports.InvoicingAddPaymentMethodDialog=e.InvoicingAddPaymentMethodDialog;exports.InvoicingAuditLogPage=e.InvoicingAuditLogPage;exports.InvoicingBrandingSettingsPage=e.InvoicingBrandingSettingsPage;exports.InvoicingCatalogItemDetailPage=e.InvoicingCatalogItemDetailPage;exports.InvoicingCatalogItemFormPage=e.InvoicingCatalogItemFormPage;exports.InvoicingCatalogPage=e.InvoicingCatalogPage;exports.InvoicingCouponFormPage=e.InvoicingCouponFormPage;exports.InvoicingCreateInvoicePage=e.InvoicingCreateInvoicePage;exports.InvoicingCreateInvoiceSkeleton=e.InvoicingCreateInvoiceSkeleton;exports.InvoicingCreditDetailPage=e.InvoicingCreditDetailPage;exports.InvoicingCreditListPage=e.InvoicingCreditListPage;exports.InvoicingCustomerDetailPage=e.InvoicingCustomerDetailPage;exports.InvoicingCustomerFormPage=e.InvoicingCustomerFormPage;exports.InvoicingCustomerListPage=e.InvoicingCustomerListPage;exports.InvoicingDataImportHubPage=e.InvoicingDataImportHubPage;exports.InvoicingDataImportMigratePage=e.InvoicingDataImportMigratePage;exports.InvoicingDetailScaffold=e.InvoicingDetailScaffold;exports.InvoicingDiscountDetailPage=e.InvoicingDiscountDetailPage;exports.InvoicingDiscountListPage=e.InvoicingDiscountListPage;exports.InvoicingDunningDetailPage=e.InvoicingDunningDetailPage;exports.InvoicingDunningListPage=e.InvoicingDunningListPage;exports.InvoicingDunningSettingsPage=e.InvoicingDunningSettingsPage;exports.InvoicingEmptyState=e.InvoicingEmptyState;exports.InvoicingInvoiceDetailPage=e.InvoicingInvoiceDetailPage;exports.InvoicingInvoiceListPage=e.InvoicingInvoiceListPage;exports.InvoicingOnboardingBanner=e.InvoicingOnboardingBanner;exports.InvoicingOverviewPage=e.InvoicingOverviewPage;exports.InvoicingPaymentDestinationSettingsPage=e.InvoicingPaymentDestinationSettingsPage;exports.InvoicingPaymentLinkPage=e.InvoicingPaymentLinkPage;exports.InvoicingPaymentListPage=e.InvoicingPaymentListPage;exports.InvoicingPromoPage=e.InvoicingPromoPage;exports.InvoicingRecordPaymentPage=e.InvoicingRecordPaymentPage;exports.InvoicingSettingsHubPage=e.InvoicingSettingsHubPage;exports.InvoicingSettingsPage=e.InvoicingSettingsHubPage;exports.InvoicingSubscriptionDetailPage=e.InvoicingSubscriptionDetailPage;exports.InvoicingSubscriptionFormPage=e.InvoicingSubscriptionFormPage;exports.InvoicingSubscriptionListPage=e.InvoicingSubscriptionListPage;exports.InvoicingTransactionDetailPage=e.InvoicingTransactionDetailPage;exports.IssueChargeCardPage=e.IssueChargeCardPage;exports.IssueChargeCardPageSkeleton=e.IssueChargeCardPageSkeleton;exports.LinkBillExpensePage=e.LinkBillExpensePage;exports.LinkJETransactionPage=e.LinkJETransactionPage;exports.Loader=e.Loader;exports.LogoutButton=e.LogoutButton;exports.MCC_CHIP_ID_PREFIX=e.MCC_CHIP_ID_PREFIX;exports.MagicLinkDomesticWireDetailsPage=e.MagicLinkDomesticWireDetailsPage;exports.MagicLinkInternationalWireDetailsPage=e.MagicLinkInternationalWireDetailsPage;exports.MagicLinkSuccessPage=e.MagicLinkSuccessPage;exports.MagicLinkVendorACHDetailsPage=e.MagicLinkVendorACHDetailsPage;exports.Modal=e.Modal;exports.MonthEndEmailDrawerCustomerRequestPage=e.MonthEndEmailDrawerCustomerRequestPage;exports.MyBankConnectionsSettingsPage=e.MyBankConnectionsSettingsPage;exports.MyPendingActivationChargeCardListPage=e.MyPendingActivationChargeCardListPage;exports.MyProfileSettingsPage=e.MyProfileSettingsPage;exports.NavBar=e.NavBar;exports.NavBarRightRowStyled=e.NavBarRightRowStyled;exports.NewGlobalMerchantPage=e.NewGlobalMerchantPage;exports.NewUpdateAvailablePage=e.NewUpdateAvailablePage;exports.NotFoundPage=e.NotFoundPage;exports.NotificationIcon=e.SvgNotification;exports.NotificationSettingsPage=e.NotificationSettingsPage;exports.NotificationsPage=e.NotificationsPage;exports.OAuthConsentPage=e.OAuthConsentPage;exports.OnboardingInitialLoader=e.OnboardingInitialLoader;exports.OnboardingSidebar=e.OnboardingSidebar;exports.OnboardingStepFrame=e.OnboardingStepFrame;exports.OpExByVendorPage=e.OpExByVendorPage;exports.OverlayContainerPage=e.OverlayContainerPage;exports.PandLWithForecastPage=e.PandLWithForecastPage;exports.PanelInternalContext=e.PanelInternalContext;exports.PaymentAccountSetupBillingAddressSection=e.PaymentAccountSetupBillingAddressSection;exports.PeoplePage=e.PeoplePage;exports.Picker=e.Picker;exports.PolicyLimitsRowList=e.PolicyLimitsRowList;exports.PolicyModeSelector=e.PolicyModeSelector;exports.PortfolioAllocationFormPage=e.PortfolioAllocationFormPage;exports.QBOConnectionDialog=e.QBOConnectionDialog;exports.QBOSetupSectionWithForm=e.QBOSetupSectionWithForm;exports.QuickResponsesPage=e.QuickResponsesPage;exports.QuickViewModeContext=e.QuickViewModeContext;exports.RIGHT_SIDE_PANEL_WIDTH_PX=e.RIGHT_SIDE_PANEL_WIDTH_PX;exports.ReferralDrawerPage=e.DrawerPage;exports.ReimbursementApprovalRuleDetailPage=e.ReimbursementApprovalRuleDetailPage;exports.ReimbursementApprovalRuleDetailPageV1=e.ReimbursementApprovalRuleDetailPage$1;exports.ReimbursementApprovalRulesPage=e.ReimbursementApprovalRulesPage;exports.ReimbursementApprovalRulesPageV1=e.ReimbursementApprovalRulesPage$1;exports.ReimbursementDetailPage=e.ReimbursementDetailPage;exports.ReimbursementDetailPageSkeleton=e.ReimbursementDetailPageSkeleton;exports.ReimbursementPromoPage=e.ReimbursementPromoPage;exports.ReimbursementSetUpLoading=e.SpendManagementSetUpLoading;exports.ReimbursementSetUpPage=e.RemiSetupPage;exports.RemisBulkReviewDrawerPage=e.ReimbursementsBulkReviewDrawerPage;exports.ReportsPage=e.ReportsPage;exports.ResponsiveSized=e.ResponsiveSized;exports.ReviewBillDetailsPage=e.ReviewBillDetailsPage;exports.ReviewConfirmTransferPanel=e.ReviewConfirmTransferPanel;exports.ReviewDetailsPageSkeleton=e.ReviewDetailsPageSkeleton;exports.ScheduleDetailSkeleton=e.ScheduleDetailSkeleton;exports.ScheduleDetailsAccruedExpensesPage=e.ScheduleDetailsAccruedExpensesPage;exports.ScheduleDetailsFixedAssetsPage=e.ScheduleDetailsFixedAssetsPage;exports.ScheduleDetailsPage=e.ScheduleDetailsPage;exports.SchedulePanelInternalContext=e.SchedulePanelInternalContext;exports.SearchableCheckboxCardList=e.SearchableCheckboxCardList;exports.SessionTimeoutPopup=e.SessionTimeoutPopup;exports.SidePanelContext=e.SidePanelContext;exports.SidePanelProvider=e.SidePanelProvider;exports.SignIn=e.SignIn;exports.SomethingWrongPage=e.SomethingWrongPage;exports.Space=e.Space;exports.SpendManagementListLoading=e.SpendManagementListLoading;exports.SpendManagementListViewPage=e.SpendManagementListViewPage;exports.StatementParseInfo=e.StatementParseInfo;exports.StatementProcessingPage=e.StatementProcessingPage;exports.StatementsPage=e.StatementsPage;exports.StyledCapsule=e.StyledCapsule;exports.SubscriptionDetailPage=e.SubscriptionDetailPage;exports.SubscriptionSummaryPage=e.SubscriptionSummaryPage;exports.SyntheticAiCfoAnswerView=e.SyntheticAiCfoAnswerView;exports.TaskDetailPage=e.TaskDetailPage;exports.TaskManagementPage=e.TaskManagementPage;exports.TenantsDropDown=e.TenantsDropDown;exports.TextStyle=e.TextStyle;exports.ToolkitProvider=e.ToolkitProvider;exports.TopExDetailPage=e.TopExDetailPage;exports.TransactionActivityLogPage=e.TransactionActivityLogPage;exports.TransactionActivityLogPanel=e.TransactionActivityLogPanel;exports.TransactionDetailPage=e.TransactionDetailPage;exports.TransactionDetailSkeleton=e.TransactionDetailSkeleton;exports.TransactionListBig=e.TransactionListBig;exports.TransactionListPage=e.TransactionListPage;exports.TransactionPanelInternalContext=e.TransactionPanelInternalContext;exports.TransactionSidePanelLayout=e.TransactionSidePanelLayout;exports.TransactionVendorDetailPage=e.TransactionVendorDetailPage;exports.TransferDrawerPage=e.TransferDrawerPage;exports.TreasuryOverviewPage=e.TreasuryOverviewPage;exports.TreasuryPromoPage=e.TreasuryPromoPage;exports.TreasurySetUpPage=e.TreasurySetUpPage;exports.TreasuryStatementsPage=e.TreasuryStatementsPage;exports.TreasuryTaxLetterPage=e.TreasuryTaxLetterPage;exports.TreasuryTransferOrReviewPage=e.TreasuryTransferOrReviewPage;exports.TrendChart=e.TrendChart;exports.UncategorizedAccountsMappingPage=e.UncategorizedAccountsMappingPage;exports.UnitIntegrationPage=e.UnitIntegrationPage;exports.VENDOR_CHIP_ID_PREFIX=e.VENDOR_CHIP_ID_PREFIX;exports.Vendor2FAPopup=e.Vendor2FAPopup;exports.VendorACHDetailsPage=e.VendorACHDetailsPage;exports.VendorAccruedSchedulesPage=e.VendorAccruedSchedulesPage;exports.VendorDetailPage=e.VendorDetailPage;exports.VendorDomesticWireDetailsPage=e.VendorDomesticWireDetailsPage;exports.VendorFiling1099DetailsEditablePage=e.VendorFiling1099DetailsEditablePage;exports.VendorFiling1099EditableFormSkeleton=e.VendorFiling1099EditableFormSkeleton;exports.VendorFiling1099ListPage=e.VendorFiling1099ListPage;exports.VendorFirstReviewPage=e.VendorFirstReviewPage;exports.VendorInternationalSwiftBasedDetailsPage=e.VendorInternationalSwiftBasedDetailsPage;exports.VendorInternationalWireDetailsPage=e.VendorInternationalWireDetailsPage;exports.VendorListPage=e.VendorListPage;exports.VendorSchedulesPage=e.VendorSchedulesPage;exports.VerificationFrame=e.VerificationFrame;exports.VerifyDevice=e.VerifyDevice;exports.VerifyUnlockFinancialStackPage=e.VerifyUnlockFinancialStackPage;exports.WebV2MicroService=e.WebV2MicroService;exports.WebV2MicroServiceProvider=e.WebV2MicroServiceProvider;exports.WelcomeAnimation=e.WelcomeAnimation;exports.WindowSizeProvider=e.WindowSizeProvider;exports.ZeniAccountDetailLoading=e.ZeniAccountDetailLoading;exports.ZeniAccountDetailNavBarTitleShimmer=e.ZeniAccountDetailNavBarTitleShimmer;exports.ZeniAccountDetailPage=e.ZeniAccountDetailPage;exports.ZeniAccountListLoading=e.ZeniAccountListLoading;exports.ZeniAccountListViewPage=e.ZeniAccountListViewPage;exports.ZeniAccountPromoPage=e.ZeniAccountPromoPage;exports.ZeniAccountSetUpPage=e.ZeniAccountSetUpPage;exports.ZeniText=e.ZeniText;exports.ZeniThemeProvider=e.ZeniThemeProvider;exports.alignToJustify=e.alignToJustify;exports.amountToString=e.amountToString;exports.amountValueToString=e.amountValueToString;exports.appLocale=e.appLocale;exports.applyExtractedPolicyRulesToFormValues=e.applyExtractedPolicyRulesToFormValues;exports.buildBulkCreateCardPolicyTemplateRequestsFromInteractiveForm=e.buildBulkCreateCardPolicyTemplateRequestsFromInteractiveForm;exports.buildCardPolicyFormValuesFromRequest=e.buildCardPolicyFormValuesFromRequest;exports.buildCreateCardPolicyTemplateRequest=e.buildCreateCardPolicyTemplateRequest;exports.buildCreateCardPolicyTemplateRequestFromInteractiveForm=e.buildCreateCardPolicyTemplateRequestFromInteractiveForm;exports.buildMccCategoryChipId=e.buildMccCategoryChipId;exports.buildStickyKeySet=e.buildStickyKeySet;exports.buildVendorChipId=e.buildVendorChipId;exports.cellVerticalAlignToFlexAlign=e.cellVerticalAlignToFlexAlign;exports.clearAutoLogoutContext=e.clearAutoLogoutContext;exports.clickableRowStyles=e.clickableRowStyles;exports.computeStatementProcessingStepsFromElapsedTime=e.computeStatementProcessingStepsFromElapsedTime;exports.computeStickyLeftOffsets=e.computeStickyLeftOffsets;exports.darkColors=e.darkColors;exports.darkTheme=e.darkTheme;exports.dashboardCardDimension=e.designDimension;exports.defaultCardPolicyFormValues=e.defaultCardPolicyFormValues;exports.formatReconAccountDisplayName=e.formatReconAccountDisplayName;exports.getAlpha2=e.getAlpha2;exports.getAlpha3=e.getAlpha3;exports.getColorForALabel=e.getColorForALabel;exports.getCountries=e.getCountries;exports.getCustomerDataFromAutoComplete=e.getCustomerDataFromAutoComplete;exports.getFullName=e.getFullName;exports.getInitialOpenThreadRequestFromSearch=e.getInitialOpenThreadRequestFromSearch;exports.getRecipientTotalAmount=e.getRecipientTotalAmount;exports.getReconAccountDisplayName=e.getReconAccountDisplayName;exports.getShowNegativeAmountInParenthesisDefaultValue=e.getShowNegativeAmountInParenthesisDefaultValue;exports.getShowNegativeAmountInParenthesisForPercentDefaultValue=e.getShowNegativeAmountInParenthesisForPercentDefaultValue;exports.getStableTransactionId=e.getStableTransactionId;exports.getStatementParseTransactionCount=e.getStatementParseTransactionCount;exports.invoicingMenuList=e.invoicingMenuList;exports.isCloseManagementMenu=e.isCloseManagementMenu;exports.isClosedCardStatus=e.isClosedCardStatus;exports.isCollaborationEntityType=e.isCollaborationEntityType;exports.isMobileOrTabletView=e.isMobileOrTabletView;exports.isMobilePhoneScreen=e.isMobilePhoneScreen;exports.lightColors=e.lightColors;exports.lightTheme=e.lightTheme;exports.menuList=e.menuList;exports.mergeColumnDeclarativeWithRenderers=e.mergeColumnDeclarativeWithRenderers;exports.mergeLayoutDefaults=e.mergeLayoutDefaults;exports.percentValueToString=e.percentValueToString;exports.resolveBackgroundStatementProcessingCompletedSteps=e.resolveBackgroundStatementProcessingCompletedSteps;exports.resolveColumnWidth=e.resolveColumnWidth;exports.roundAmountIfNeeded=e.roundAmountIfNeeded;exports.roundOffNumberToTwoDecimal=e.roundOffNumberToTwoDecimal;exports.setAutoLogoutContext=e.setAutoLogoutContext;exports.setShowNegativeAmountInParenthesisDefaultValue=e.setShowNegativeAmountInParenthesisDefaultValue;exports.setShowNegativeAmountInParenthesisForPercentDefaultValue=e.setShowNegativeAmountInParenthesisForPercentDefaultValue;exports.settingMenuList=e.settingMenuList;exports.sp=e.sp;exports.textAlignForCell=e.textAlignForCell;exports.textStyles=e.textStyles;exports.toInstitutionLogoDataUri=e.toInstitutionLogoDataUri;exports.toInvoicingMenuOptionType=e.toInvoicingMenuOptionType;exports.toInvoicingMenuOptionTypeStrict=e.toInvoicingMenuOptionTypeStrict;exports.toMccCategoryChipFieldValue=e.toMccCategoryChipFieldValue;exports.toMenuOptionType=e.toMenuOptionType;exports.toSettingsMenuOptionTypeStrict=e.toSettingsMenuOptionTypeStrict;exports.toSupportedLocaleStrict=e.toSupportedLocaleStrict;exports.toVendorChipFieldValue=e.toVendorChipFieldValue;exports.trackTreasuryTransferAnalytics=e.trackTreasuryTransferAnalytics;exports.uploadAttachmentReceipts=e.uploadAttachmentReceipts;exports.useApprovalRulesV3Config=e.useApprovalRulesV3Config;exports.useBackNavigation=e.useBackNavigation;exports.useCollaborationInfoContext=e.useCollaborationInfoContext;exports.useCommentsDrawer=e.useCommentsDrawer;exports.useDropdownPortal=e.useDropdownPortal;exports.useExpenseAutomationEnabledForUser=e.useExpenseAutomationEnabledForUser;exports.useGlobalInfoContext=e.useGlobalInfoContext;exports.useLockBodyScroll=e.useLockBodyScroll;exports.usePanelInternal=e.usePanelInternal;exports.usePrevious=e.usePrevious;exports.useQuickViewMode=e.useQuickViewMode;exports.useRegisterBackHandler=e.useRegisterBackHandler;exports.useRequestCloseAllCommentDrawers=e.useRequestCloseAllCommentDrawers;exports.useSchedulePanelInternal=e.useSchedulePanelInternal;exports.useSessionAutoLogoutConfig=e.useSessionAutoLogoutConfig;exports.useSidePanelContext=e.useSidePanelContext;exports.useToolkitContext=e.useToolkitContext;exports.useTransactionPanelInternal=e.useTransactionPanelInternal;exports.useWindowSizeContext=e.useWindowSizeContext;exports.useZeniCardsVisibilityConfig=e.useZeniCardsVisibilityConfig;exports.useZeniFeatureContext=e.useZeniFeatureContext;exports.useZeniThemeContext=e.useZeniThemeContext;exports.waitFor=e.waitFor;exports.useZeniTheme=a.useTheme;exports.zeniStyled=a.styled;exports.zeniEmotionStyled=t;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SessionTimeoutPopup-C5hCcpTD.cjs"),a=require("./vendor-.pnpm-C8FI_grH.cjs"),t=require("@emotion/styled");exports.AIAgentsActivatingPage=e.AIAgentsActivatingPage;exports.AIIconButton=e.AIIconButton;exports.AIPerformancePage=e.AIPerformancePage;exports.ALL_AI_CFO_MENU_OPTIONS=e.ALL_AI_CFO_MENU_OPTIONS;exports.ALL_INVOICING_MENU_GROUPS=e.ALL_INVOICING_MENU_GROUPS;exports.ALL_INVOICING_MENU_OPTIONS=e.ALL_INVOICING_MENU_OPTIONS;exports.ALL_SETTINGS_MENU_OPTIONS=e.ALL_SETTINGS_MENU_OPTIONS;exports.APP_DRAWER_CONTENT_WIDTH_PX=e.APP_DRAWER_CONTENT_WIDTH_PX;exports.AccountInfoPage=e.AccountInfoPage;exports.AccountLockedInfoModal=e.AccountLockedInfoModal;exports.AccountReconDetailsDrawerPage=e.AccountReconDetailsDrawerPage;exports.AccountReconDetailsDrawerPageV2=e.AccountReconDetailsDrawerPage$1;exports.ActivityIndicator=e.ActivityIndicator;exports.AddAddressForCardDrawer=e.AddAddressForCardDrawer;exports.AddToWalletPage=e.AddToWalletPage;exports.AddressFormPage=e.AddressFormPage;exports.AgingReportsPage=e.AgingReportsPage;exports.AiCfoChatHeader=e.AiCfoChatHeader;exports.AiCfoMenuContent=e.AiCfoMenuContent;exports.AiCfoOnboardingPage=e.AiCfoOnboardingPage;exports.AiCfoPage=e.AiCfoPage;exports.AiCfoScopeModal=e.AiCfoScopeModal;exports.AiCfoScopeModalScrollBody=e.AiCfoScopeModalScrollBody;exports.AiCfoSidePanel=e.AiCfoSidePanel;exports.AiFinanceTeamReadyPage=e.AiFinanceTeamReadyPage;exports.AllowBlockChipPicker=e.AllowBlockChipPicker;exports.AnalyticsOnLoad=e.AnalyticsOnLoad;exports.ApAgingDetailPage=e.ApAgingDetailPage;exports.AppBasePage=e.AppBasePage;exports.AppDrawerContent=e.AppDrawerContent;exports.AppDrawerHeightMobile=e.AppDrawerHeightMobile;exports.ApprovalRulesSettingsPage=e.ApprovalRulesSettingsPage;exports.ArAgingDetailPage=e.ArAgingDetailPage;exports.AskAiCfoNavButton=e.AskAiCfoNavButton;exports.AskAiCfoNavButtonWhenEnabled=e.AskAiCfoNavButtonWhenEnabled;exports.AttachmentView=e.AttachmentView;exports.AutoSweepFlow=e.AutoSweepFlow;exports.AutoTransferRulePage=e.AutoTransferRulePage;exports.BackNavigationProvider=e.BackNavigationProvider;exports.BankConnectionsSettingsPage=e.BankConnectionsSettingsPage;exports.BillDetailPage=e.BillDetailPage;exports.BillDetailPageSkeleton=e.BillDetailPageSkeleton;exports.BillPayApprovalRuleDetailPage=e.BillPayApprovalRuleDetailPage;exports.BillPayApprovalRuleDetailPageV1=e.BillPayApprovalRuleDetailPage$1;exports.BillPayApprovalRulesPage=e.BillPayApprovalRulesPage;exports.BillPayApprovalRulesPageV1=e.BillPayApprovalRulesPage$1;exports.BillPayPromoPage=e.BillPayPromoPage;exports.BillPaySetUpLoading=e.SpendManagementSetUpLoading;exports.BillPaySetUpPage=e.BillPaySetUpPage;exports.BillingSettingsPage=e.BillingSettingsPage;exports.BillsBulkReviewDrawerPage=e.BillsBulkReviewDrawerPage;exports.BusinessVerificationPage=e.BusinessVerificationPage;exports.CARD_POLICY_LIMIT_ROW_ID_REQUIRE_RECEIPT=e.CARD_POLICY_LIMIT_ROW_ID_REQUIRE_RECEIPT;exports.CARD_POLICY_LIMIT_ROW_ID_TRANSACTION=e.CARD_POLICY_LIMIT_ROW_ID_TRANSACTION;exports.COMMAND_CENTER_SUBMENU_TYPES=e.COMMAND_CENTER_SUBMENU_TYPES;exports.CapitalizationOnboardingPopup=e.CapitalizationOnboardingPopup;exports.CapitalizationSettingsSection=e.CapitalizationSettingsSection;exports.CardPolicyCreatePage=e.CardPolicyCreatePage;exports.CardPolicyEditPage=e.CardPolicyEditPage;exports.CardPolicyFormPageSkeleton=e.CardPolicyFormPageSkeleton;exports.CardPolicyFormSections=e.CardPolicyFormSections;exports.CardPolicyListPage=e.CardPolicyListPage;exports.CardPolicyListPageSkeleton=e.CardPolicyListPageSkeleton;exports.CardPolicyListRow=e.CardPolicyListRow;exports.CardPolicyListSkeletonRow=e.CardPolicyListSkeletonRow;exports.CardPolicyManualEmptyState=e.CardPolicyManualEmptyState;exports.CardsAiCfoHero=e.CardsAiCfoHero;exports.CardsShutdownBanner=e.CardsShutdownBanner;exports.CashManagementBanner=e.CashManagementBanner;exports.CashManagementNavCTA=e.CashManagementNavCTA;exports.CashOverview=e.CashOverview;exports.CashbackDetailLoading=e.CashbackDetailLoading;exports.CashbackDetailPage=e.CashbackDetailPage;exports.ChargeCardCVVActivate=e.ChargeCardCVVActivate;exports.ChargeCardDetailLoading=e.ChargeCardDetailLoading;exports.ChargeCardDetailPage=e.ChargeCardDetailPage;exports.ChargeCardListLoading=e.ChargeCardListLoading;exports.ChargeCardListPage=e.ChargeCardListPage;exports.ChargeCardListSkeletonRow=e.ChargeCardListSkeletonRow;exports.ChargeCardPaymentHistoryPage=e.ChargeCardPaymentHistoryPage;exports.ChargeCardPromoPage=e.ChargeCardPromoPage;exports.ChargeCardPromoPageSkeleton=e.ChargeCardPromoPageSkeleton;exports.ChargeCardSetUpPage=e.ChargeCardSetUpPage;exports.ChargeCardSetupLoading=e.SpendManagementSetUpLoading;exports.ChargeCardStatementsLoading=e.ChargeCardStatementsLoading;exports.ChargeCardStatementsPage=e.ChargeCardStatementsPage;exports.ChargeCardUserOnboardingPromoPage=e.ChargeCardUserOnboardingPromoPage;exports.ChargeCardUserOnboardingPromoPageSkeleton=e.ChargeCardUserOnboardingPromoPageSkeleton;exports.CheckDepositDrawerPage=e.CheckDepositDrawerPage;exports.ClickableRow=e.ClickableRow;exports.CollaborationGlobalStyles=e.CollaborationGlobalStyles;exports.CollaborationProvider=e.CollaborationProvider;exports.CollaborationRoomProvider=e.CollaborationRoomProvider;exports.Colors=e.Colors;exports.CommentsAndNotesCount=e.CommentsAndNotesCount;exports.CommentsDrawerProvider=e.CommentsDrawerProvider;exports.CompanyOfficerOnboardingDetailsSection=e.CompanyOfficerOnboardingDetailsSection;exports.CompanyOnboardingDetailsSection=e.CompanyOnboardingDetailsSection;exports.CompanyPassportCard=e.CompanyPassportCard;exports.CompanyPassportPage=e.CompanyPassportPage;exports.CompleteProfile=e.CompleteProfile;exports.ConfettiBurst=e.ConfettiBurst;exports.ConfirmationPopup=e.ConfirmationPopup;exports.ConnectDataSourcesPage=e.ConnectDataSourcesPage;exports.CreateOrEditVendorPage=e.CreateOrEditVendorPage;exports.CreateOrEditVendorPageSkeleton=e.CreateOrEditVendorPageSkeleton;exports.CreatedEntitiesAnswer=e.CreatedEntitiesAnswer;exports.CreatingEntitiesAnswerLoading=e.CreatingEntitiesAnswerLoading;exports.CreditCardPaymentDrawerPage=e.CreditCardPaymentDrawerPage;exports.CustomerOnboardingContainerPage=e.CustomerOnboardingContainerPage;exports.CustomerOnboardingNoStepsPage=e.CustomerOnboardingNoStepsPage;exports.CustomerOnboardingPage=e.CustomerOnboardingPage;exports.CustomerOnboardingProductSuitePage=e.CustomerOnboardingProductSuitePage;exports.Dashboard=e.Dashboard;exports.DashboardReportPage=e.DashboardReportPage;exports.DashboardSidebarLogoAnimation=e.DashboardSidebarLogoAnimation;exports.DataListTable=e.DataListTable;exports.DataListTableHeader=e.DataListTableHeader;exports.DataListTableRow=e.DataListTableRow;exports.DataListTableSortIndicator=e.DataListTableSortIndicator;exports.DebitCardSetPin=e.DebitCardSetPin;exports.DropdownPortalContext=e.DropdownPortalContext;exports.EditPeoplePage=e.EditPeoplePage;exports.EditReimbursementDetailPage=e.EditReimbursementDetailPage;exports.EditableBillDetailPage=e.EditableBillDetailPage;exports.EntityDetailPage=e.EntityDetailPage;exports.ErrorBoundaryWrapper=e.ErrorBoundaryWrapper;exports.ExcludedAccountReconDetailsDrawerPage=e.ExcludedAccountReconDetailsDrawerPage;exports.ExpenseAutomationOverviewPage=e.ExpenseAutomationOverviewPage;exports.ExpenseAutomationOverviewPageSkeleton=e.ExpenseAutomationOverviewPageSkeleton;exports.ExpenseAutomationPage=e.ExpenseAutomationPage;exports.ExpressPayPage=e.ExpressPayPage;exports.FeatureDynamicConfigNames=e.DynamicConfigNames;exports.FeatureGatesNames=e.FeatureGatesNames;exports.FeaturePreviewPage=e.FeaturePreviewPage;exports.FeatureProvider=e.FeatureProvider;exports.FirstReviewVendorDetailPage=e.FirstReviewVendorDetailPage;exports.FontWeight=e.FontWeight;exports.GlobalInfoProvider=e.GlobalInfoProvider;exports.GlobalReviewListPage=e.GlobalReviewListPage;exports.INVOICING_SETTINGS_NAV_SECTIONS=e.INVOICING_SETTINGS_NAV_SECTIONS;exports.INVOICING_SETTINGS_TABS=e.INVOICING_SETTINGS_TABS;exports.InformationCardStack=e.InformationCardStack;exports.InitialCollaborationProvider=e.InitialCollaborationProvider;exports.InsightsCardStack=e.InsightCardStack;exports.IntegrationCardView=e.IntegrationCardView;exports.IntegrationsCardGrid=e.IntegrationsCardGrid;exports.IntegrationsSection=e.IntegrationsSection;exports.IntegrationsSettingsPage=e.IntegrationsSettingsPage;exports.InternationalWireVerificationPage=e.InternationalWireVerificationPage;exports.InviteFormPage=e.InviteFormPage;exports.InvitePageListView=e.InvitePageListView;exports.InvitePeoplePage=e.InvitePeoplePage;exports.InvoiceUploadSection=e.InvoiceUploadSection;exports.InvoiceUploadSectionSkeleton=e.InvoiceUploadSectionSkeleton;exports.InvoicingAddPaymentMethodDialog=e.InvoicingAddPaymentMethodDialog;exports.InvoicingAuditLogPage=e.InvoicingAuditLogPage;exports.InvoicingBrandingSettingsPage=e.InvoicingBrandingSettingsPage;exports.InvoicingCatalogItemDetailPage=e.InvoicingCatalogItemDetailPage;exports.InvoicingCatalogItemFormPage=e.InvoicingCatalogItemFormPage;exports.InvoicingCatalogPage=e.InvoicingCatalogPage;exports.InvoicingCouponFormPage=e.InvoicingCouponFormPage;exports.InvoicingCreateInvoicePage=e.InvoicingCreateInvoicePage;exports.InvoicingCreateInvoiceSkeleton=e.InvoicingCreateInvoiceSkeleton;exports.InvoicingCreditDetailPage=e.InvoicingCreditDetailPage;exports.InvoicingCreditListPage=e.InvoicingCreditListPage;exports.InvoicingCustomerDetailPage=e.InvoicingCustomerDetailPage;exports.InvoicingCustomerFormPage=e.InvoicingCustomerFormPage;exports.InvoicingCustomerListPage=e.InvoicingCustomerListPage;exports.InvoicingDataImportHubPage=e.InvoicingDataImportHubPage;exports.InvoicingDataImportMigratePage=e.InvoicingDataImportMigratePage;exports.InvoicingDetailScaffold=e.InvoicingDetailScaffold;exports.InvoicingDiscountDetailPage=e.InvoicingDiscountDetailPage;exports.InvoicingDiscountListPage=e.InvoicingDiscountListPage;exports.InvoicingDunningDetailPage=e.InvoicingDunningDetailPage;exports.InvoicingDunningListPage=e.InvoicingDunningListPage;exports.InvoicingDunningSettingsPage=e.InvoicingDunningSettingsPage;exports.InvoicingEmptyState=e.InvoicingEmptyState;exports.InvoicingInvoiceDetailPage=e.InvoicingInvoiceDetailPage;exports.InvoicingInvoiceListPage=e.InvoicingInvoiceListPage;exports.InvoicingOnboardingBanner=e.InvoicingOnboardingBanner;exports.InvoicingOverviewPage=e.InvoicingOverviewPage;exports.InvoicingPaymentDestinationSettingsPage=e.InvoicingPaymentDestinationSettingsPage;exports.InvoicingPaymentLinkPage=e.InvoicingPaymentLinkPage;exports.InvoicingPaymentListPage=e.InvoicingPaymentListPage;exports.InvoicingPromoPage=e.InvoicingPromoPage;exports.InvoicingRecordPaymentPage=e.InvoicingRecordPaymentPage;exports.InvoicingSettingsHubPage=e.InvoicingSettingsHubPage;exports.InvoicingSettingsPage=e.InvoicingSettingsHubPage;exports.InvoicingSubscriptionDetailPage=e.InvoicingSubscriptionDetailPage;exports.InvoicingSubscriptionFormPage=e.InvoicingSubscriptionFormPage;exports.InvoicingSubscriptionListPage=e.InvoicingSubscriptionListPage;exports.InvoicingTransactionDetailPage=e.InvoicingTransactionDetailPage;exports.IssueChargeCardPage=e.IssueChargeCardPage;exports.IssueChargeCardPageSkeleton=e.IssueChargeCardPageSkeleton;exports.LinkBillExpensePage=e.LinkBillExpensePage;exports.LinkJETransactionPage=e.LinkJETransactionPage;exports.Loader=e.Loader;exports.LogoutButton=e.LogoutButton;exports.MCC_CHIP_ID_PREFIX=e.MCC_CHIP_ID_PREFIX;exports.MagicLinkDomesticWireDetailsPage=e.MagicLinkDomesticWireDetailsPage;exports.MagicLinkInternationalWireDetailsPage=e.MagicLinkInternationalWireDetailsPage;exports.MagicLinkSuccessPage=e.MagicLinkSuccessPage;exports.MagicLinkVendorACHDetailsPage=e.MagicLinkVendorACHDetailsPage;exports.Modal=e.Modal;exports.MonthEndEmailDrawerCustomerRequestPage=e.MonthEndEmailDrawerCustomerRequestPage;exports.MyBankConnectionsSettingsPage=e.MyBankConnectionsSettingsPage;exports.MyPendingActivationChargeCardListPage=e.MyPendingActivationChargeCardListPage;exports.MyProfileSettingsPage=e.MyProfileSettingsPage;exports.NavBar=e.NavBar;exports.NavBarRightRowStyled=e.NavBarRightRowStyled;exports.NewGlobalMerchantPage=e.NewGlobalMerchantPage;exports.NewUpdateAvailablePage=e.NewUpdateAvailablePage;exports.NotFoundPage=e.NotFoundPage;exports.NotificationIcon=e.SvgNotification;exports.NotificationSettingsPage=e.NotificationSettingsPage;exports.NotificationsPage=e.NotificationsPage;exports.OAuthConsentPage=e.OAuthConsentPage;exports.OnboardingInitialLoader=e.OnboardingInitialLoader;exports.OnboardingSidebar=e.OnboardingSidebar;exports.OnboardingStepFrame=e.OnboardingStepFrame;exports.OpExByVendorPage=e.OpExByVendorPage;exports.OverlayContainerPage=e.OverlayContainerPage;exports.PandLWithForecastPage=e.PandLWithForecastPage;exports.PanelInternalContext=e.PanelInternalContext;exports.PaymentAccountSetupBillingAddressSection=e.PaymentAccountSetupBillingAddressSection;exports.PeoplePage=e.PeoplePage;exports.Picker=e.Picker;exports.PolicyLimitsRowList=e.PolicyLimitsRowList;exports.PolicyModeSelector=e.PolicyModeSelector;exports.PortfolioAllocationFormPage=e.PortfolioAllocationFormPage;exports.QBOConnectionDialog=e.QBOConnectionDialog;exports.QBOSetupSectionWithForm=e.QBOSetupSectionWithForm;exports.QuickResponsesPage=e.QuickResponsesPage;exports.QuickViewModeContext=e.QuickViewModeContext;exports.RIGHT_SIDE_PANEL_WIDTH_PX=e.RIGHT_SIDE_PANEL_WIDTH_PX;exports.ReferralDrawerPage=e.DrawerPage;exports.ReimbursementApprovalRuleDetailPage=e.ReimbursementApprovalRuleDetailPage;exports.ReimbursementApprovalRuleDetailPageV1=e.ReimbursementApprovalRuleDetailPage$1;exports.ReimbursementApprovalRulesPage=e.ReimbursementApprovalRulesPage;exports.ReimbursementApprovalRulesPageV1=e.ReimbursementApprovalRulesPage$1;exports.ReimbursementDetailPage=e.ReimbursementDetailPage;exports.ReimbursementDetailPageSkeleton=e.ReimbursementDetailPageSkeleton;exports.ReimbursementPromoPage=e.ReimbursementPromoPage;exports.ReimbursementSetUpLoading=e.SpendManagementSetUpLoading;exports.ReimbursementSetUpPage=e.RemiSetupPage;exports.RemisBulkReviewDrawerPage=e.ReimbursementsBulkReviewDrawerPage;exports.ReportsPage=e.ReportsPage;exports.ResponsiveSized=e.ResponsiveSized;exports.ReviewBillDetailsPage=e.ReviewBillDetailsPage;exports.ReviewConfirmTransferPanel=e.ReviewConfirmTransferPanel;exports.ReviewDetailsPageSkeleton=e.ReviewDetailsPageSkeleton;exports.ScheduleDetailSkeleton=e.ScheduleDetailSkeleton;exports.ScheduleDetailsAccruedExpensesPage=e.ScheduleDetailsAccruedExpensesPage;exports.ScheduleDetailsFixedAssetsPage=e.ScheduleDetailsFixedAssetsPage;exports.ScheduleDetailsPage=e.ScheduleDetailsPage;exports.SchedulePanelInternalContext=e.SchedulePanelInternalContext;exports.SearchableCheckboxCardList=e.SearchableCheckboxCardList;exports.SessionTimeoutPopup=e.SessionTimeoutPopup;exports.SidePanelContext=e.SidePanelContext;exports.SidePanelProvider=e.SidePanelProvider;exports.SignIn=e.SignIn;exports.SomethingWrongPage=e.SomethingWrongPage;exports.Space=e.Space;exports.SpendManagementListLoading=e.SpendManagementListLoading;exports.SpendManagementListViewPage=e.SpendManagementListViewPage;exports.StatementParseInfo=e.StatementParseInfo;exports.StatementProcessingPage=e.StatementProcessingPage;exports.StatementsPage=e.StatementsPage;exports.StyledCapsule=e.StyledCapsule;exports.SubscriptionDetailPage=e.SubscriptionDetailPage;exports.SubscriptionSummaryPage=e.SubscriptionSummaryPage;exports.SyntheticAiCfoAnswerView=e.SyntheticAiCfoAnswerView;exports.TaskDetailPage=e.TaskDetailPage;exports.TaskManagementPage=e.TaskManagementPage;exports.TenantsDropDown=e.TenantsDropDown;exports.TextStyle=e.TextStyle;exports.ToolkitProvider=e.ToolkitProvider;exports.TopExDetailPage=e.TopExDetailPage;exports.TransactionActivityLogPage=e.TransactionActivityLogPage;exports.TransactionActivityLogPanel=e.TransactionActivityLogPanel;exports.TransactionDetailPage=e.TransactionDetailPage;exports.TransactionDetailSkeleton=e.TransactionDetailSkeleton;exports.TransactionListBig=e.TransactionListBig;exports.TransactionListPage=e.TransactionListPage;exports.TransactionPanelInternalContext=e.TransactionPanelInternalContext;exports.TransactionSidePanelLayout=e.TransactionSidePanelLayout;exports.TransactionVendorDetailPage=e.TransactionVendorDetailPage;exports.TransferDrawerPage=e.TransferDrawerPage;exports.TreasuryOverviewPage=e.TreasuryOverviewPage;exports.TreasuryPromoPage=e.TreasuryPromoPage;exports.TreasurySetUpPage=e.TreasurySetUpPage;exports.TreasuryStatementsPage=e.TreasuryStatementsPage;exports.TreasuryTaxLetterPage=e.TreasuryTaxLetterPage;exports.TreasuryTransferOrReviewPage=e.TreasuryTransferOrReviewPage;exports.TrendChart=e.TrendChart;exports.UncategorizedAccountsMappingPage=e.UncategorizedAccountsMappingPage;exports.UnitIntegrationPage=e.UnitIntegrationPage;exports.VENDOR_CHIP_ID_PREFIX=e.VENDOR_CHIP_ID_PREFIX;exports.Vendor2FAPopup=e.Vendor2FAPopup;exports.VendorACHDetailsPage=e.VendorACHDetailsPage;exports.VendorAccruedSchedulesPage=e.VendorAccruedSchedulesPage;exports.VendorDetailPage=e.VendorDetailPage;exports.VendorDomesticWireDetailsPage=e.VendorDomesticWireDetailsPage;exports.VendorFiling1099DetailsEditablePage=e.VendorFiling1099DetailsEditablePage;exports.VendorFiling1099EditableFormSkeleton=e.VendorFiling1099EditableFormSkeleton;exports.VendorFiling1099ListPage=e.VendorFiling1099ListPage;exports.VendorFirstReviewPage=e.VendorFirstReviewPage;exports.VendorInternationalSwiftBasedDetailsPage=e.VendorInternationalSwiftBasedDetailsPage;exports.VendorInternationalWireDetailsPage=e.VendorInternationalWireDetailsPage;exports.VendorListPage=e.VendorListPage;exports.VendorSchedulesPage=e.VendorSchedulesPage;exports.VerificationFrame=e.VerificationFrame;exports.VerifyDevice=e.VerifyDevice;exports.VerifyUnlockFinancialStackPage=e.VerifyUnlockFinancialStackPage;exports.WebV2MicroService=e.WebV2MicroService;exports.WebV2MicroServiceProvider=e.WebV2MicroServiceProvider;exports.WelcomeAnimation=e.WelcomeAnimation;exports.WindowSizeProvider=e.WindowSizeProvider;exports.ZeniAccountDetailLoading=e.ZeniAccountDetailLoading;exports.ZeniAccountDetailNavBarTitleShimmer=e.ZeniAccountDetailNavBarTitleShimmer;exports.ZeniAccountDetailPage=e.ZeniAccountDetailPage;exports.ZeniAccountListLoading=e.ZeniAccountListLoading;exports.ZeniAccountListViewPage=e.ZeniAccountListViewPage;exports.ZeniAccountPromoPage=e.ZeniAccountPromoPage;exports.ZeniAccountSetUpPage=e.ZeniAccountSetUpPage;exports.ZeniText=e.ZeniText;exports.ZeniThemeProvider=e.ZeniThemeProvider;exports.alignToJustify=e.alignToJustify;exports.amountToString=e.amountToString;exports.amountValueToString=e.amountValueToString;exports.appLocale=e.appLocale;exports.applyExtractedPolicyRulesToFormValues=e.applyExtractedPolicyRulesToFormValues;exports.buildBulkCreateCardPolicyTemplateRequestsFromInteractiveForm=e.buildBulkCreateCardPolicyTemplateRequestsFromInteractiveForm;exports.buildCardPolicyFormValuesFromRequest=e.buildCardPolicyFormValuesFromRequest;exports.buildCreateCardPolicyTemplateRequest=e.buildCreateCardPolicyTemplateRequest;exports.buildCreateCardPolicyTemplateRequestFromInteractiveForm=e.buildCreateCardPolicyTemplateRequestFromInteractiveForm;exports.buildMccCategoryChipId=e.buildMccCategoryChipId;exports.buildStickyKeySet=e.buildStickyKeySet;exports.buildVendorChipId=e.buildVendorChipId;exports.cellVerticalAlignToFlexAlign=e.cellVerticalAlignToFlexAlign;exports.clearAutoLogoutContext=e.clearAutoLogoutContext;exports.clickableRowStyles=e.clickableRowStyles;exports.computeStatementProcessingStepsFromElapsedTime=e.computeStatementProcessingStepsFromElapsedTime;exports.computeStickyLeftOffsets=e.computeStickyLeftOffsets;exports.darkColors=e.darkColors;exports.darkTheme=e.darkTheme;exports.dashboardCardDimension=e.designDimension;exports.defaultCardPolicyFormValues=e.defaultCardPolicyFormValues;exports.formatReconAccountDisplayName=e.formatReconAccountDisplayName;exports.getAlpha2=e.getAlpha2;exports.getAlpha3=e.getAlpha3;exports.getColorForALabel=e.getColorForALabel;exports.getCountries=e.getCountries;exports.getCustomerDataFromAutoComplete=e.getCustomerDataFromAutoComplete;exports.getFullName=e.getFullName;exports.getInitialOpenThreadRequestFromSearch=e.getInitialOpenThreadRequestFromSearch;exports.getRecipientTotalAmount=e.getRecipientTotalAmount;exports.getReconAccountDisplayName=e.getReconAccountDisplayName;exports.getShowNegativeAmountInParenthesisDefaultValue=e.getShowNegativeAmountInParenthesisDefaultValue;exports.getShowNegativeAmountInParenthesisForPercentDefaultValue=e.getShowNegativeAmountInParenthesisForPercentDefaultValue;exports.getStableTransactionId=e.getStableTransactionId;exports.getStatementParseTransactionCount=e.getStatementParseTransactionCount;exports.invoicingMenuList=e.invoicingMenuList;exports.isCloseManagementMenu=e.isCloseManagementMenu;exports.isClosedCardStatus=e.isClosedCardStatus;exports.isCollaborationEntityType=e.isCollaborationEntityType;exports.isMobileOrTabletView=e.isMobileOrTabletView;exports.isMobilePhoneScreen=e.isMobilePhoneScreen;exports.lightColors=e.lightColors;exports.lightTheme=e.lightTheme;exports.menuList=e.menuList;exports.mergeColumnDeclarativeWithRenderers=e.mergeColumnDeclarativeWithRenderers;exports.mergeLayoutDefaults=e.mergeLayoutDefaults;exports.percentValueToString=e.percentValueToString;exports.resolveBackgroundStatementProcessingCompletedSteps=e.resolveBackgroundStatementProcessingCompletedSteps;exports.resolveColumnWidth=e.resolveColumnWidth;exports.roundAmountIfNeeded=e.roundAmountIfNeeded;exports.roundOffNumberToTwoDecimal=e.roundOffNumberToTwoDecimal;exports.setAutoLogoutContext=e.setAutoLogoutContext;exports.setShowNegativeAmountInParenthesisDefaultValue=e.setShowNegativeAmountInParenthesisDefaultValue;exports.setShowNegativeAmountInParenthesisForPercentDefaultValue=e.setShowNegativeAmountInParenthesisForPercentDefaultValue;exports.settingMenuList=e.settingMenuList;exports.sp=e.sp;exports.textAlignForCell=e.textAlignForCell;exports.textStyles=e.textStyles;exports.toInstitutionLogoDataUri=e.toInstitutionLogoDataUri;exports.toInvoicingMenuOptionType=e.toInvoicingMenuOptionType;exports.toInvoicingMenuOptionTypeStrict=e.toInvoicingMenuOptionTypeStrict;exports.toMccCategoryChipFieldValue=e.toMccCategoryChipFieldValue;exports.toMenuOptionType=e.toMenuOptionType;exports.toSettingsMenuOptionTypeStrict=e.toSettingsMenuOptionTypeStrict;exports.toSupportedLocaleStrict=e.toSupportedLocaleStrict;exports.toVendorChipFieldValue=e.toVendorChipFieldValue;exports.trackTreasuryTransferAnalytics=e.trackTreasuryTransferAnalytics;exports.uploadAttachmentReceipts=e.uploadAttachmentReceipts;exports.useApprovalRulesV3Config=e.useApprovalRulesV3Config;exports.useBackNavigation=e.useBackNavigation;exports.useCollaborationInfoContext=e.useCollaborationInfoContext;exports.useCommentsDrawer=e.useCommentsDrawer;exports.useDropdownPortal=e.useDropdownPortal;exports.useExpenseAutomationEnabledForUser=e.useExpenseAutomationEnabledForUser;exports.useGlobalInfoContext=e.useGlobalInfoContext;exports.useLockBodyScroll=e.useLockBodyScroll;exports.usePanelInternal=e.usePanelInternal;exports.usePrevious=e.usePrevious;exports.useQuickViewMode=e.useQuickViewMode;exports.useRegisterBackHandler=e.useRegisterBackHandler;exports.useRequestCloseAllCommentDrawers=e.useRequestCloseAllCommentDrawers;exports.useSchedulePanelInternal=e.useSchedulePanelInternal;exports.useSessionAutoLogoutConfig=e.useSessionAutoLogoutConfig;exports.useSidePanelContext=e.useSidePanelContext;exports.useToolkitContext=e.useToolkitContext;exports.useTransactionPanelInternal=e.useTransactionPanelInternal;exports.useWindowSizeContext=e.useWindowSizeContext;exports.useZeniCardsVisibilityConfig=e.useZeniCardsVisibilityConfig;exports.useZeniFeatureContext=e.useZeniFeatureContext;exports.useZeniThemeContext=e.useZeniThemeContext;exports.waitFor=e.waitFor;exports.useZeniTheme=a.useTheme;exports.zeniStyled=a.styled;exports.zeniEmotionStyled=t;
|
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, a as i, b as t, c as n, d as o, e as r, f as g, h as l, i as c, j as P, k as d, l as u, m as C, n as m, q as S, r as p, s as I, t as A, u as h, v, w as D, x as b, y, z as T, B as L, E as f, F as R, G as w, H as k, I as V, J as O, K as N, L as F, M as E, N as B, O as M, P as _, Q as x, S as U, T as W, U as G, V as Z, W as H, X as q, Y as z, Z as Q, _ as J, eP as Y, $ as X, a0 as j, a1 as K, a2 as $, a5 as aa, a6 as ea, a7 as sa, aa as ia, ab as ta, ac as na, ad as oa, ae as ra, af as ga, ag as la, ah as ca, ai as Pa, aj as da, ak as ua, al as Ca, am as ma, an as Sa, ao as pa, ap as Ia, aq as Aa, ar as ha, as as va, at as Da, au as ba, av as ya, aw as Ta, ax as La, ay as fa, az as Ra, aA as wa, aB as ka, eP as Va, aC as Oa, aD as Na, aE as Fa, aF as Ea, aG as Ba, aI as Ma, aJ as _a, aK as xa, aL as Ua, aM as Wa, aO as Ga, aP as Za, aR as Ha, aS as qa, aT as za, aU as Qa, aV as Ja, aW as Ya, aZ as Xa, a_ as ja, b1 as Ka, b2 as $a, b3 as ae, b4 as ee, b5 as se, b6 as ie, b7 as te, b8 as ne, b9 as oe, bc as re, bd as ge, be as le, bf as ce, bg as Pe, bh as de, bi as ue, bk as Ce, bn as me, bq as Se, br as pe, bs as Ie, bx as Ae, by as he, bz as ve, bA as De, bB as be, bC as ye, bD as Te, bo as Le, bO as fe, bP as Re, bQ as we, bU as ke, bW as Ve, bY as Oe, bZ as Ne, c0 as Fe, c1 as Ee, c2 as Be, c3 as Me, c4 as _e, c5 as xe, c6 as Ue, c7 as We, c8 as Ge, c9 as Ze, ca as He, cb as qe, cc as ze, cd as Qe, ce as Je, cf as Ye, cg as Xe, ch as je, ci as Ke, cj as $e, ck as as, cl as es, cm as ss, cn as is, co as ts, cp as ns, cq as os, cr as rs, cs as gs, ct as ls, cu as cs, cv as Ps, cw as ds, cx as us, cy as Cs, cz as ms, cA as Ss, cB as ps, cC as Is, cD as As, cE as hs, cF as vs, cG as Ds, cH as bs, cI as ys, cJ as Ts, cK as Ls, cL as fs, cL as Rs, cM as ws, cN as ks, cO as Vs, cP as Os, cQ as Ns, cR as Fs, dd as Es, de as Bs, dg as Ms, dh as _s, di as xs, dp as Us, dq as Ws, dr as Gs, ds as Zs, du as Hs, dw as qs, dA as zs, dB as Qs, dC as Js, dF as Ys, dG as Xs, dI as js, dJ as Ks, dK as $s, fB as ai, dL as ei, dM as si, dN as ii, dO as ti, dP as ni, dQ as oi, dR as ri, dS as gi, dT as li, dU as ci, dV as Pi, dW as di, dX as ui, dY as Ci, dZ as mi, d_ as Si, d$ as pi, e0 as Ii, e1 as Ai, e2 as hi, e4 as vi, bl as Di, e5 as bi, e6 as yi, e7 as Ti, e8 as Li, e9 as fi, ea as Ri, eb as wi, eP as ki, ee as Vi, ec as Oi, ef as Ni, eg as Fi, ei as Ei, ej as Bi, ek as Mi, el as _i, em as xi, en as Ui, eo as Wi, ep as Gi, er as Zi, es as Hi, et as qi, eu as zi, ev as Qi, eL as Ji, eM as Yi, eN as Xi, eO as ji, e$ as Ki, f0 as $i, f1 as at, f3 as et, f5 as st, f7 as it, fN as tt, fO as nt, fP as ot, fQ as rt, fS as gt, fW as lt, fY as ct, fZ as Pt, f_ as dt, f$ as ut, g0 as Ct, g1 as mt, g2 as St, g3 as pt, g4 as It, g5 as At, g6 as ht, g7 as vt, g8 as Dt, g9 as bt, ga as yt, gb as Tt, gc as Lt, gd as ft, ge as Rt, gf as wt, gi as kt, gj as Vt, gk as Ot, gl as Nt, gm as Ft, gn as Et, go as Bt, gp as Mt, gq as _t, gr as xt, gs as Ut, gt as Wt, gu as Gt, gv as Zt, gw as Ht, gx as qt, gy as zt, gz as Qt, gA as Jt, gB as Yt, gC as Xt, gD as jt, gE as Kt, gF as $t, gG as an, gH as en, gI as sn, gJ as tn, gM as nn, gN as on, gO as rn, gP as gn, gQ as ln, gR as cn, gS as Pn, gU as dn, gV as un, gW as Cn, gX as mn, gY as Sn, gZ as pn, g_ as In, h0 as An, h1 as hn, h2 as vn, h3 as Dn, h4 as bn, h6 as yn, h7 as Tn, h9 as Ln, h8 as fn, hc as Rn, he as wn, hf as kn, hh as Vn, hi as On, hj as Nn, hn as Fn, hq as En, hu as Bn, hv as Mn, hz as _n, hA as xn, hB as Un, hC as Wn, hJ as Gn, hK as Zn, hL as Hn, hM as qn, hN as zn, hO as Qn, hQ as Jn, hR as Yn, hS as Xn, hT as jn, hU as Kn, hV as $n, hW as ao, hX as eo, hY as so, hZ as io, h$ as to, i0 as no, i1 as oo, i2 as ro, i3 as go, i4 as lo, i5 as co, i7 as Po, i8 as uo, i9 as Co, ia as mo, ib as So, ic as po, id as Io, ie as Ao, ig as ho, ih as vo, ij as Do, ik as bo, il as yo, im as To, ip as Lo, iq as fo, it as Ro, iv as wo, iw as ko, ix as Vo, iy as Oo, iz as No, iA as Fo, iB as Eo, iC as Bo, iD as Mo, iE as _o, iF as xo, iG as Uo, iH as Wo, iI as Go, iJ as Zo, iK as Ho } from "./SessionTimeoutPopup-
|
|
1
|
+
import { A as s, a as i, b as t, c as n, d as o, e as r, f as g, h as l, i as c, j as P, k as d, l as u, m as C, n as m, q as S, r as p, s as I, t as A, u as h, v, w as D, x as b, y, z as T, B as L, E as f, F as R, G as w, H as k, I as V, J as O, K as N, L as F, M as E, N as B, O as M, P as _, Q as x, S as U, T as W, U as G, V as Z, W as H, X as q, Y as z, Z as Q, _ as J, eP as Y, $ as X, a0 as j, a1 as K, a2 as $, a5 as aa, a6 as ea, a7 as sa, aa as ia, ab as ta, ac as na, ad as oa, ae as ra, af as ga, ag as la, ah as ca, ai as Pa, aj as da, ak as ua, al as Ca, am as ma, an as Sa, ao as pa, ap as Ia, aq as Aa, ar as ha, as as va, at as Da, au as ba, av as ya, aw as Ta, ax as La, ay as fa, az as Ra, aA as wa, aB as ka, eP as Va, aC as Oa, aD as Na, aE as Fa, aF as Ea, aG as Ba, aI as Ma, aJ as _a, aK as xa, aL as Ua, aM as Wa, aO as Ga, aP as Za, aR as Ha, aS as qa, aT as za, aU as Qa, aV as Ja, aW as Ya, aZ as Xa, a_ as ja, b1 as Ka, b2 as $a, b3 as ae, b4 as ee, b5 as se, b6 as ie, b7 as te, b8 as ne, b9 as oe, bc as re, bd as ge, be as le, bf as ce, bg as Pe, bh as de, bi as ue, bk as Ce, bn as me, bq as Se, br as pe, bs as Ie, bx as Ae, by as he, bz as ve, bA as De, bB as be, bC as ye, bD as Te, bo as Le, bO as fe, bP as Re, bQ as we, bU as ke, bW as Ve, bY as Oe, bZ as Ne, c0 as Fe, c1 as Ee, c2 as Be, c3 as Me, c4 as _e, c5 as xe, c6 as Ue, c7 as We, c8 as Ge, c9 as Ze, ca as He, cb as qe, cc as ze, cd as Qe, ce as Je, cf as Ye, cg as Xe, ch as je, ci as Ke, cj as $e, ck as as, cl as es, cm as ss, cn as is, co as ts, cp as ns, cq as os, cr as rs, cs as gs, ct as ls, cu as cs, cv as Ps, cw as ds, cx as us, cy as Cs, cz as ms, cA as Ss, cB as ps, cC as Is, cD as As, cE as hs, cF as vs, cG as Ds, cH as bs, cI as ys, cJ as Ts, cK as Ls, cL as fs, cL as Rs, cM as ws, cN as ks, cO as Vs, cP as Os, cQ as Ns, cR as Fs, dd as Es, de as Bs, dg as Ms, dh as _s, di as xs, dp as Us, dq as Ws, dr as Gs, ds as Zs, du as Hs, dw as qs, dA as zs, dB as Qs, dC as Js, dF as Ys, dG as Xs, dI as js, dJ as Ks, dK as $s, fB as ai, dL as ei, dM as si, dN as ii, dO as ti, dP as ni, dQ as oi, dR as ri, dS as gi, dT as li, dU as ci, dV as Pi, dW as di, dX as ui, dY as Ci, dZ as mi, d_ as Si, d$ as pi, e0 as Ii, e1 as Ai, e2 as hi, e4 as vi, bl as Di, e5 as bi, e6 as yi, e7 as Ti, e8 as Li, e9 as fi, ea as Ri, eb as wi, eP as ki, ee as Vi, ec as Oi, ef as Ni, eg as Fi, ei as Ei, ej as Bi, ek as Mi, el as _i, em as xi, en as Ui, eo as Wi, ep as Gi, er as Zi, es as Hi, et as qi, eu as zi, ev as Qi, eL as Ji, eM as Yi, eN as Xi, eO as ji, e$ as Ki, f0 as $i, f1 as at, f3 as et, f5 as st, f7 as it, fN as tt, fO as nt, fP as ot, fQ as rt, fS as gt, fW as lt, fY as ct, fZ as Pt, f_ as dt, f$ as ut, g0 as Ct, g1 as mt, g2 as St, g3 as pt, g4 as It, g5 as At, g6 as ht, g7 as vt, g8 as Dt, g9 as bt, ga as yt, gb as Tt, gc as Lt, gd as ft, ge as Rt, gf as wt, gi as kt, gj as Vt, gk as Ot, gl as Nt, gm as Ft, gn as Et, go as Bt, gp as Mt, gq as _t, gr as xt, gs as Ut, gt as Wt, gu as Gt, gv as Zt, gw as Ht, gx as qt, gy as zt, gz as Qt, gA as Jt, gB as Yt, gC as Xt, gD as jt, gE as Kt, gF as $t, gG as an, gH as en, gI as sn, gJ as tn, gM as nn, gN as on, gO as rn, gP as gn, gQ as ln, gR as cn, gS as Pn, gU as dn, gV as un, gW as Cn, gX as mn, gY as Sn, gZ as pn, g_ as In, h0 as An, h1 as hn, h2 as vn, h3 as Dn, h4 as bn, h6 as yn, h7 as Tn, h9 as Ln, h8 as fn, hc as Rn, he as wn, hf as kn, hh as Vn, hi as On, hj as Nn, hn as Fn, hq as En, hu as Bn, hv as Mn, hz as _n, hA as xn, hB as Un, hC as Wn, hJ as Gn, hK as Zn, hL as Hn, hM as qn, hN as zn, hO as Qn, hQ as Jn, hR as Yn, hS as Xn, hT as jn, hU as Kn, hV as $n, hW as ao, hX as eo, hY as so, hZ as io, h$ as to, i0 as no, i1 as oo, i2 as ro, i3 as go, i4 as lo, i5 as co, i7 as Po, i8 as uo, i9 as Co, ia as mo, ib as So, ic as po, id as Io, ie as Ao, ig as ho, ih as vo, ij as Do, ik as bo, il as yo, im as To, ip as Lo, iq as fo, it as Ro, iv as wo, iw as ko, ix as Vo, iy as Oo, iz as No, iA as Fo, iB as Eo, iC as Bo, iD as Mo, iE as _o, iF as xo, iG as Uo, iH as Wo, iI as Go, iJ as Zo, iK as Ho } from "./SessionTimeoutPopup-DNjFjX7W.js";
|
|
2
2
|
import { aM as zo, aB as Qo } from "./vendor-.pnpm-CUrsb6Rf.js";
|
|
3
3
|
import { default as Yo } from "@emotion/styled";
|
|
4
4
|
export {
|