@justifi/webcomponents 6.12.1-rc.2 → 6.12.1-rc.3
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/cjs/{Analytics-DN1vWC6J.js → Analytics-BaM--8kj.js} +1 -1
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-DKEv2rPI.js → check-pkg-version-C2SXvqBF.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +7 -4
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +3 -3
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkout.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +3 -3
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payout-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +3 -3
- package/dist/cjs/{package-EwQYAMPH.js → package-DvAxuDzs.js} +1 -1
- package/dist/collection/api/services/apple-pay.service.js +4 -1
- package/dist/docs.json +1 -1
- package/dist/esm/{Analytics-Ds-ogIwt.js → Analytics-DswW-W8E.js} +1 -1
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-Bd_MOwNP.js → check-pkg-version-IccSGK9z.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +1 -1
- package/dist/esm/justifi-apple-pay_11.entry.js +7 -4
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +3 -3
- package/dist/esm/justifi-bank-account-form.entry.js +3 -3
- package/dist/esm/justifi-business-details.entry.js +3 -3
- package/dist/esm/justifi-business-form.entry.js +3 -3
- package/dist/esm/justifi-card-form.entry.js +3 -3
- package/dist/esm/justifi-checkout.entry.js +3 -3
- package/dist/esm/justifi-checkouts-list.entry.js +3 -3
- package/dist/esm/justifi-dispute-management.entry.js +3 -3
- package/dist/esm/justifi-dispute-notification_3.entry.js +3 -3
- package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
- package/dist/esm/justifi-order-terminals.entry.js +3 -3
- package/dist/esm/justifi-payment-details.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +3 -3
- package/dist/esm/justifi-payment-transactions-list.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +3 -3
- package/dist/esm/justifi-payout-details.entry.js +3 -3
- package/dist/esm/justifi-payout-transactions-list.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +3 -3
- package/dist/esm/justifi-refund-payment.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list.entry.js +3 -3
- package/dist/esm/justifi-terminals-list.entry.js +3 -3
- package/dist/esm/{package-B5w1e9rb.js → package-tXROfdig.js} +1 -1
- package/dist/module/justifi-apple-pay2.js +4 -1
- package/dist/module/package.js +1 -1
- package/dist/types/api/ApplePay.d.ts +4 -0
- package/dist/webcomponents/{p-f7522364.entry.js → p-02e7b4d9.entry.js} +1 -1
- package/dist/webcomponents/p-1a241de2.entry.js +1 -0
- package/dist/webcomponents/{p-c4d50650.entry.js → p-241641ff.entry.js} +1 -1
- package/dist/webcomponents/{p-3c59fe06.entry.js → p-2b155015.entry.js} +1 -1
- package/dist/webcomponents/{p-17fb6153.entry.js → p-2beed719.entry.js} +1 -1
- package/dist/webcomponents/{p-707e1e27.entry.js → p-30ecc826.entry.js} +1 -1
- package/dist/webcomponents/{p-46d8145c.entry.js → p-328d9e9f.entry.js} +1 -1
- package/dist/webcomponents/p-3db15782.entry.js +1 -0
- package/dist/webcomponents/{p-9a00cde1.entry.js → p-493c34e3.entry.js} +1 -1
- package/dist/webcomponents/{p-0ee11ceb.entry.js → p-4fb48553.entry.js} +1 -1
- package/dist/webcomponents/p-53ea79aa.entry.js +1 -0
- package/dist/webcomponents/p-64b96bed.entry.js +1 -0
- package/dist/webcomponents/p-65a1f7b9.entry.js +1 -0
- package/dist/webcomponents/{p-afe956d9.entry.js → p-680b8fb8.entry.js} +1 -1
- package/dist/webcomponents/p-6f708a5d.entry.js +1 -0
- package/dist/webcomponents/{p-c7ecb7d3.entry.js → p-70b22ebf.entry.js} +1 -1
- package/dist/webcomponents/{p-80a9216a.entry.js → p-70b29be2.entry.js} +1 -1
- package/dist/webcomponents/p-9ab473bd.entry.js +1 -0
- package/dist/webcomponents/{p-15377f17.entry.js → p-9bccd9d9.entry.js} +1 -1
- package/dist/webcomponents/{p-x7WGc-xR.js → p-ByONUxyh.js} +1 -1
- package/dist/webcomponents/{p-DKzki_Iz.js → p-T4NpiNZs.js} +1 -1
- package/dist/webcomponents/{p-e751e2c3.entry.js → p-a38d788d.entry.js} +1 -1
- package/dist/webcomponents/p-b280fc97.entry.js +1 -0
- package/dist/webcomponents/{p-99f3e1e0.entry.js → p-b48b8cbf.entry.js} +1 -1
- package/dist/webcomponents/{p-a511a246.entry.js → p-ba4188cd.entry.js} +1 -1
- package/dist/webcomponents/{p-ce8de71b.entry.js → p-bb17ff12.entry.js} +1 -1
- package/dist/webcomponents/{p-e70602bd.entry.js → p-d9a3ef2b.entry.js} +1 -1
- package/dist/webcomponents/{p-a9edf63a.entry.js → p-f6d5ae04.entry.js} +1 -1
- package/dist/webcomponents/p-tXROfdig.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/webcomponents/p-1f2129ec.entry.js +0 -1
- package/dist/webcomponents/p-45212820.entry.js +0 -1
- package/dist/webcomponents/p-70a7c529.entry.js +0 -1
- package/dist/webcomponents/p-799e1a2f.entry.js +0 -1
- package/dist/webcomponents/p-8d88556f.entry.js +0 -1
- package/dist/webcomponents/p-8dc0e73a.entry.js +0 -1
- package/dist/webcomponents/p-90d106c7.entry.js +0 -1
- package/dist/webcomponents/p-B5w1e9rb.js +0 -1
- package/dist/webcomponents/p-e204efea.entry.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as s,h as i}from"./p-CV0Pyo1O.js";import{P as o}from"./p-BMdYr88u.js";import"./p-DVJaoI_m.js";import"./p-HXpYMWUU.js";import{g as r,C as e,a}from"./p-g6a7Gl9y.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import"./p-BH0Xfn-F.js";import{g as p,a as h}from"./p-C-Uj-u5r.js";import{E as n}from"./p-CjuaXEuI.js";import{J as m}from"./p-x7WGc-xR.js";import{m as c}from"./p-BlW92We8.js";import{c as d}from"./p-DKzki_Iz.js";import"./p-CEnTtUmd.js";import"./p-CTwm3w6I.js";import"./p-D8GTwl9v.js";import"./p-D50Rx76J.js";import"./p-B5w1e9rb.js";const u=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event",7),this.enableRecordClick=!1,this.errorMessage=null,this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)}}componentWillLoad(){d(),this.analytics=new m(this),this.initializeServices()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeServices()}initializeServices(){this.payoutId&&this.authToken?(this.getPayout=(({id:t,authToken:s,service:i})=>async({onSuccess:o,onError:a})=>{var n;try{const m=await i.fetchPayout(t,s);m.error?a({error:h(m.error),code:p(null===(n=m.error)||void 0===n?void 0:n.code),severity:e.ERROR}):o(new r(m.data))}catch(t){a({error:h(t),code:p(null==t?void 0:t.code),severity:e.ERROR})}})({id:this.payoutId,authToken:this.authToken,service:new o}),this.getPayoutCSV=c({authToken:this.authToken,service:new o})):(this.errorMessage="Failed to load payout details. payoutId or authToken is not provided.",this.errorEvent.emit({message:this.errorMessage,errorCode:a.MISSING_PROPS,severity:e.ERROR}))}render(){return this.errorMessage?n(this.errorMessage):i("payout-details-core",{getPayout:this.getPayout,getPayoutCSV:this.getPayoutCSV,"onError-event":this.handleErrorEvent,enableRecordClick:this.enableRecordClick})}static get watchers(){return{payoutId:["propChanged"],authToken:["propChanged"]}}};export{u as justifi_payout_details}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as s,r as t,c as i}from"./p-CV0Pyo1O.js";import{c as r,F as e}from"./p-CKiAlBsU.js";import{b as o,a,c as h}from"./p-BovgIz83.js";import{i as n,a as p,b as l,c as m}from"./p-D8EGHc_m.js";import"./p-DVJaoI_m.js";import"./p-HXpYMWUU.js";import{C as c,a as d}from"./p-g6a7Gl9y.js";import"./p-CLHwhyvu.js";import{C as j,B as u,b as v}from"./p-BcNb9bVO.js";import"./p-BH0Xfn-F.js";import{J as f}from"./p-x7WGc-xR.js";import{B as b}from"./p-C-QiUcEa.js";import{S as w}from"./p-BqNNwq6C.js";import{H as g}from"./p-DB_pqjwH.js";import"./p-CZfYo5-1.js";import{c as C}from"./p-DKzki_Iz.js";import{S as B}from"./p-BrO0HEFJ.js";import{B as y}from"./p-XYgDHrVL.js";import{m as _,a as x}from"./p-B2OPgLr1.js";import{B as O}from"./p-lFx33NDk.js";import"./p-BFTU3MAI.js";import"./p-HT_4DkD0.js";import"./p-_-2E_vYf.js";import"./p-Bt4GjEWL.js";import"./p-D8GTwl9v.js";import"./p-CTwm3w6I.js";import"./p-B5w1e9rb.js";import"./p-CEnTtUmd.js";import"./p-D50Rx76J.js";import"./p-C-Uj-u5r.js";const D=r(Object.assign(Object.assign({},o().fields),{legal_address:p(),additional_questions:a(),representative:n("representative")}));r(Object.assign(Object.assign({},h().fields),{legal_address:m(),additional_questions:a(),representative:l("representative")}));const k=D,E=()=>s("div",{class:"row gap-3"},s("div",{class:"col-12"},s(B,{width:"25%"})),s("div",{class:"col-12"},s(B,{width:"100%"})),s("div",{class:"col-12 d-flex gap-3"},s(B,{width:"50%"}),s(B,{width:"50%"})),s("div",{class:"col-12 d-flex gap-3"},s(B,{width:"65%"}),s(B,{width:"35%"}))),H=()=>s("div",{class:"row gap-5"},s("div",{class:"col-12"},s(B,{width:"40%",height:"40px"})),s(E,null),s(E,null),s(E,null)),I=class{constructor(s){t(this,s),this.submitEvent=i(this,"submit-event",7),this.clickEvent=i(this,"click-event",7),this.errorEvent=i(this,"error-event",7),this.isLoading=!1,this.isSaving=!1,this.country=j.USA,this.hideErrors=!1,this.formTitle="Business Information",this.removeTitle=!1,this.instantiateBusiness=s=>{const t=new u(s);this.country=t.country_of_establishment,this.formController.setInitialValues(Object.assign({},t))},this.sendData=async()=>{this.isSaving=!0;const s=this.formController.values.getValue(),t=this.formController.getInitialValues(),i=new u(Object.assign(Object.assign({},t),s)).payload;this.patchBusiness({payload:i,onSuccess:s=>{this.handleReponse(s)},onError:({error:s,code:t,severity:i})=>{this.errorMessage=s.message,this.errorEvent.emit({errorCode:t,message:s.message,severity:i})},final:()=>{this.isSaving=!1}})},this.validateAndSubmit=s=>{s.preventDefault(),this.formController.validateAndSubmit(this.sendData)}}componentWillLoad(){C(),this.analytics=new f(this),this.formController=new e(k),this.initializeApi()}disconnectedCallback(){var s;null===(s=this.analytics)||void 0===s||s.cleanup()}get title(){return this.removeTitle?"":this.formTitle}get disabledState(){return this.isSaving}get businessEndpoint(){return`entities/business/${this.businessId}`}initializeApi(){this.authToken&&this.businessId?(this.getBusiness=_({authToken:this.authToken,businessId:this.businessId,service:new O}),this.patchBusiness=x({authToken:this.authToken,businessId:this.businessId,service:new O}),this.getBusiness({onSuccess:s=>{this.instantiateBusiness(s.data)},onError:({error:s,code:t,severity:i})=>{this.errorMessage=s.message,this.errorEvent.emit({errorCode:t,message:s.message,severity:i})},final:()=>{this.isLoading=!1}})):this.errorEvent.emit({message:"auth-token and business-id are required",errorCode:d.MISSING_PROPS,severity:c.ERROR})}handleReponse(s){s.error&&(this.errorMessage=v.patchData),this.submitEvent.emit({response:s}),this.instantiateBusiness(s.data)}render(){return s(w,null,this.isLoading?s(H,null):s("form",{onSubmit:this.validateAndSubmit},s("div",{class:"row gap-3"},s(g,{text:this.title}),s("form-alert",{text:this.errorMessage,hideAlert:this.hideErrors}),s("div",{class:"col-12 mb-4"},s("business-core-info",{formController:this.formController,country:this.country})),s("div",{class:"col-12 mb-4"},s("legal-address-form",{formController:this.formController,country:this.country})),s("div",{class:"col-12 mb-4"},s("additional-questions",{formController:this.formController})),s("div",{class:"col-12 mb-4"},s("business-representative",{formController:this.formController,country:this.country})),s("div",{class:"col-12 d-flex flex-row-reverse"},s(b,{type:"submit",disabled:this.disabledState,variant:"primary",onClick:()=>this.clickEvent.emit({name:y.submit}),isLoading:this.isSaving},"Submit")))))}};export{I as justifi_business_form}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as s,h as i}from"./p-CV0Pyo1O.js";import{h as r,C as o,a as e}from"./p-g6a7Gl9y.js";import{J as a}from"./p-x7WGc-xR.js";import{c as n}from"./p-DKzki_Iz.js";import{T as p}from"./p-DtDYtwHR.js";import"./p-DVJaoI_m.js";import"./p-HXpYMWUU.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import"./p-BH0Xfn-F.js";import{g as c,a as m}from"./p-C-Uj-u5r.js";import{m as h,S as d}from"./p-3O6JkTxx.js";import{S as l}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import{d as u}from"./p-C95_YBmG.js";import"./p-CTwm3w6I.js";import"./p-B5w1e9rb.js";import"./p-CEnTtUmd.js";import"./p-D8GTwl9v.js";import"./p-Da4efjxw.js";import"./p-D50Rx76J.js";const j=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event",7),this.errorMessage=null,this.columns=u,this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)}}componentWillLoad(){n(),this.analytics=new a(this),this.initializeGetData()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeGetData()}initializeGetData(){this.initializeGetTerminals(),this.initializeGetSubAccounts()}initializeGetTerminals(){this.accountId&&this.authToken?this.getTerminals=(({id:t,authToken:s,service:i})=>async({params:e,onSuccess:a,onError:n})=>{var p,h;try{const d=await i.fetchTerminals(t,s,e);if(d.error)return n({error:m(d.error),code:c(null===(h=d.error)||void 0===h?void 0:h.code),severity:o.ERROR});{const t=Object.assign({},d.page_info);a({terminals:(null===(p=d.data)||void 0===p?void 0:p.map((t=>new r(t))))||[],pagingInfo:t})}}catch(t){const s=c(null==t?void 0:t.code);return n({error:t.message||t,code:s,severity:o.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new p}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:e.MISSING_PROPS,message:this.errorMessage,severity:o.ERROR}))}initializeGetSubAccounts(){this.accountId&&this.authToken&&(this.getSubAccounts=h({primaryAccountId:this.accountId,authToken:this.authToken,service:new d}))}render(){return i(l,{key:"136c4d4140fd6c4432622d71147930079ca7b0ba"},i("terminals-list-core",{key:"0964a457efcdd5ba9c02464ab4ac19e247a35b49",getTerminals:this.getTerminals,getSubAccounts:this.getSubAccounts,"onError-event":this.handleErrorEvent,columns:this.columns}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{j as justifi_terminals_list}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={name:"@justifi/webcomponents",version:"6.12.1-rc.2"};export{e as p}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as o}from"./p-CV0Pyo1O.js";import{c as r}from"./p-DKzki_Iz.js";import{J as s}from"./p-x7WGc-xR.js";import{w as a}from"./p-DVJaoI_m.js";import{S as p}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import"./p-B5w1e9rb.js";import"./p-CEnTtUmd.js";import"./p-CTwm3w6I.js";import"./p-HXpYMWUU.js";import"./p-g6a7Gl9y.js";import"./p-BH0Xfn-F.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import"./p-D8GTwl9v.js";const e=class{constructor(o){t(this,o)}async componentWillLoad(){await a(),r(),this.analytics=new s(this)}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}async validate(){return this.bankAccountFormElement.validate()}async tokenize({clientId:t,paymentMethodMetadata:o,account:r}){return this.bankAccountFormElement.tokenize({clientId:t,paymentMethodMetadata:o,account:r})}render(){return o(p,{key:"cb5df99dd1983eef6f184637218bb4c21dee6523"},o("bank-account-form",{key:"4708b8ee8cb578e856d05c65edca077128251366",ref:t=>this.bankAccountFormElement=t}))}};export{e as justifi_bank_account_form}
|