minor updates for dependencies

This commit is contained in:
David Bomba
2026-06-07 15:00:25 +10:00
parent 214240db3a
commit 7415813589
17 changed files with 5571 additions and 289 deletions

View File

@@ -40,7 +40,7 @@ class VerifactuLog extends Model
protected $casts = [
'date' => 'date',
'response' => 'object',
// 'state' => 'encrypted', //@todo - with migration of existing logs.
'state' => 'encrypted',
];
protected $guarded = ['id'];

5617
package-lock.json generated

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

1
public/build/assets/app-5dbdbf07.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
import{w as f}from"./index.module-d6acd7fe.js";/**
import{C as f}from"./index.module-07726c42.js";/**
* Invoice Ninja (https://invoiceninja.com)
* Checkout.com Flow SDK authorize (save card) form.
*

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
import{i as p,w as g}from"./wait-8f4ae121.js";import{w}from"./index.module-d6acd7fe.js";/**
import{i as p,w as g}from"./wait-8f4ae121.js";import{C as h}from"./index.module-07726c42.js";/**
* Invoice Ninja (https://invoiceninja.com)
* Checkout.com Flow SDK payment form (replaces Frames when processingChannelId is set).
*
* @copyright Copyright (c) 2026. Invoice Ninja LLC (https://invoiceninja.com)
* @license https://www.elastic.co/licensing/elastic-license
*/function l(n){const t=document.querySelector(`meta[name="${n}"]`);return t&&t.getAttribute("content")||""}async function h(){const n=l("payment-session-id"),t=l("payment-session-token"),s=l("public-key"),d=l("environment")||"sandbox";if(!n||!t||!s){const e=document.getElementById("flow-error-message");e&&(e.textContent="Payment session is missing. Please refresh the page.",e.classList.remove("hidden"));return}const i={id:n,payment_session_token:t};try{(await w({paymentSession:i,publicKey:s,environment:d,onPaymentCompleted:(c,r)=>{const a=document.getElementById("server-response");if(!a)return;const m=a.querySelector('input[name="gateway_response"]'),u=a.querySelector('input[name="store_card"]');if(m&&(m.value=JSON.stringify({id:r.id})),u){const f=document.querySelector("input[name=token-billing-checkbox]:checked");u.value=f?f.value:"false"}a.submit()},onError:c=>{var a;const r=document.getElementById("flow-error-message");r&&(r.textContent=((a=c.detail)==null?void 0:a.message)||"Payment failed. Please try again.",r.classList.remove("hidden"))}})).create("flow").mount("#flow-container")}catch(e){const o=document.getElementById("flow-error-message");o&&(o.textContent=(e==null?void 0:e.message)||"Unable to load payment form. Please refresh the page.",o.classList.remove("hidden"))}}function k(){h()}function v(){const n=document.getElementById("flow-container"),t=document.getElementById("pay-now-with-token--container"),s=document.getElementById("save-card--container");Array.from(document.getElementsByClassName("toggle-payment-with-token")||[]).forEach(e=>{e.addEventListener("click",()=>{n&&n.classList.add("hidden"),t&&t.classList.remove("hidden"),s&&(s.style.display="none");const o=document.querySelector("input[name=token]");o&&(o.value=e.dataset.token||"")})});const d=document.getElementById("toggle-payment-with-credit-card");d&&d.addEventListener("click",()=>{n&&n.classList.remove("hidden"),t&&t.classList.add("hidden"),s&&(s.style.display="grid");const e=document.querySelector("input[name=token]");e&&(e.value="")});const i=document.getElementById("pay-now-with-token");i&&i.addEventListener("click",e=>{e.preventDefault(),i.disabled=!0;const o=i.querySelector("svg"),c=i.querySelector("span");o&&o.classList.remove("hidden"),c&&c.classList.add("hidden"),document.getElementById("server-response").submit()})}function y(){if(document.getElementById("flow-container")){v(),k();const t=document.querySelectorAll("input.toggle-payment-with-token");t.length>0&&t[0].click()}}p()?y():g("#checkout-credit-card-payment").then(()=>y());
*/function l(n){const t=document.querySelector(`meta[name="${n}"]`);return t&&t.getAttribute("content")||""}async function w(){const n=l("payment-session-id"),t=l("payment-session-token"),s=l("public-key"),d=l("environment")||"sandbox";if(!n||!t||!s){const e=document.getElementById("flow-error-message");e&&(e.textContent="Payment session is missing. Please refresh the page.",e.classList.remove("hidden"));return}const i={id:n,payment_session_token:t};try{(await h({paymentSession:i,publicKey:s,environment:d,onPaymentCompleted:(c,r)=>{const a=document.getElementById("server-response");if(!a)return;const m=a.querySelector('input[name="gateway_response"]'),u=a.querySelector('input[name="store_card"]');if(m&&(m.value=JSON.stringify({id:r.id})),u){const f=document.querySelector("input[name=token-billing-checkbox]:checked");u.value=f?f.value:"false"}a.submit()},onError:c=>{var a;const r=document.getElementById("flow-error-message");r&&(r.textContent=((a=c.detail)==null?void 0:a.message)||"Payment failed. Please try again.",r.classList.remove("hidden"))}})).create("flow").mount("#flow-container")}catch(e){const o=document.getElementById("flow-error-message");o&&(o.textContent=(e==null?void 0:e.message)||"Unable to load payment form. Please refresh the page.",o.classList.remove("hidden"))}}function k(){w()}function v(){const n=document.getElementById("flow-container"),t=document.getElementById("pay-now-with-token--container"),s=document.getElementById("save-card--container");Array.from(document.getElementsByClassName("toggle-payment-with-token")||[]).forEach(e=>{e.addEventListener("click",()=>{n&&n.classList.add("hidden"),t&&t.classList.remove("hidden"),s&&(s.style.display="none");const o=document.querySelector("input[name=token]");o&&(o.value=e.dataset.token||"")})});const d=document.getElementById("toggle-payment-with-credit-card");d&&d.addEventListener("click",()=>{n&&n.classList.remove("hidden"),t&&t.classList.add("hidden"),s&&(s.style.display="grid");const e=document.querySelector("input[name=token]");e&&(e.value="")});const i=document.getElementById("pay-now-with-token");i&&i.addEventListener("click",e=>{e.preventDefault(),i.disabled=!0;const o=i.querySelector("svg"),c=i.querySelector("span");o&&o.classList.remove("hidden"),c&&c.classList.add("hidden"),document.getElementById("server-response").submit()})}function y(){if(document.getElementById("flow-container")){v(),k();const t=document.querySelectorAll("input.toggle-payment-with-token");t.length>0&&t[0].click()}}p()?y():g("#checkout-credit-card-payment").then(()=>y());

File diff suppressed because one or more lines are too long

2
public/build/assets/index-f5f1a7da.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,9 +0,0 @@
import{g as m}from"./_commonjsHelpers-725317a4.js";const l=e=>e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;");var c=(e,...t)=>{if(typeof e=="string")return l(e);let r=e[0];for(const[n,a]of t.entries())r=r+l(String(a))+e[n+1];return r};function p(e){const t=[];for(let[r,n]of Object.entries(e)){if(n===!1)continue;Array.isArray(n)&&(n=n.join(" "));let a=c(r);n!==!0&&(a+=`="${c(String(n))}"`),t.push(a)}return t.length>0?" "+t.join(" "):""}const g=["area","base","br","col","embed","hr","img","input","link","menuitem","meta","param","source","track","wbr"];var d=g;const y=m(d),i=e=>e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;");function h(e,...t){if(typeof e=="string")return i(e);let r=e[0];for(const[n,a]of t.entries())r=r+i(String(a))+e[n+1];return r}const b=new Set(y);function v({name:e="div",attributes:t={},html:r="",text:n}={}){if(r&&n)throw new Error("The `html` and `text` options are mutually exclusive");const a=n?h(n):r;let u=`<${e}${p(t)}>`;return b.has(e)||(u+=`${a}</${e}>`),u}const f=()=>new RegExp("((?<!\\+)https?:\\/\\/(?:www\\.)?(?:[-\\w.]+?[.@][a-zA-Z\\d]{2,}|localhost)(?:[-\\w.:%+~#*$!?&/=@]*?(?:,(?!\\s))*?)*)","g"),s=(e,t)=>v({name:"a",attributes:{href:"",...t.attributes,href:e},text:typeof t.value>"u"?e:void 0,html:typeof t.value>"u"?void 0:typeof t.value=="function"?t.value(e):t.value}),w=e=>document.createRange().createContextualFragment(e),x=(e,t)=>e.replace(f(),r=>s(r,t)),E=(e,t)=>{const r=document.createDocumentFragment();for(const[n,a]of Object.entries(e.split(f())))n%2?r.append(w(s(a,t))):a.length>0&&r.append(a);return r};function o(e,t){if(t={attributes:{},type:"string",...t},t.type==="string")return x(e,t);if(t.type==="dom")return E(e,t);throw new TypeError("The type option must be either `dom` or `string`")}/**
* Invoice Ninja (https://invoiceninja.com)
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://www.elastic.co/licensing/elastic-license
*/document.querySelectorAll("[data-ref=entity-terms]").forEach(e=>{o==="function"&&(e.innerHTML=o(e.innerText,{attributes:{target:"_blank",class:"text-primary"}}))});

View File

@@ -0,0 +1,9 @@
import{g as p}from"./_commonjsHelpers-725317a4.js";const i=e=>e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;");var u=(e,...t)=>{if(typeof e=="string")return i(e);let r=e[0];for(const[n,a]of t.entries())r=r+i(String(a))+e[n+1];return r};function g(e){const t=[];for(let[r,n]of Object.entries(e)){if(n===!1)continue;Array.isArray(n)&&(n=n.join(" "));let a=u(r);n!==!0&&(a+=`="${u(String(n))}"`),t.push(a)}return t.length>0?" "+t.join(" "):""}const d=["area","base","br","col","embed","hr","img","input","link","menuitem","meta","param","source","track","wbr"];var h=d;const y=p(h),l=e=>e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;");function b(e,...t){if(typeof e=="string")return l(e);let r=e[0];for(const[n,a]of t.entries())r=r+l(String(a))+e[n+1];return r}const v=new Set(y);function w({name:e="div",attributes:t={},html:r="",text:n}={}){if(r&&n)throw new Error("The `html` and `text` options are mutually exclusive");const a=n?b(n):r;let c=`<${e}${g(t)}>`;return v.has(e)||(c+=`${a}</${e}>`),c}const f=()=>new RegExp("((?<!\\+)https?:\\/\\/(?:www\\.)?(?:[-\\w.]+?[.@][a-zA-Z\\d]{2,}|localhost)(?:[-\\w.:%+~#*$!?&/=@]*?(?:,(?!\\s))*?)*)","g"),s=(e,t)=>w({name:"a",attributes:{href:"",...t.attributes,href:e},text:typeof t.value>"u"?e:void 0,html:typeof t.value>"u"?void 0:typeof t.value=="function"?t.value(e):t.value}),x=e=>document.createRange().createContextualFragment(e),m=(e,t)=>e.endsWith("...")||t.startsWith("…"),A=(e,t)=>e.replace(f(),(r,n,a)=>m(r,e.charAt(a+r.length))?r:s(r,t)),E=(e,t)=>{const r=document.createDocumentFragment(),n=e.split(f());for(const[a,c]of n.entries())a%2&&!m(c,n[a+1])?r.append(x(s(c,t))):c.length>0&&r.append(c);return r};function o(e,t){if(t={attributes:{},type:"string",...t},t.type==="string")return A(e,t);if(t.type==="dom")return E(e,t);throw new TypeError("The type option must be either `dom` or `string`")}/**
* Invoice Ninja (https://invoiceninja.com)
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://www.elastic.co/licensing/elastic-license
*/document.querySelectorAll("[data-ref=entity-terms]").forEach(e=>{o==="function"&&(e.innerHTML=o(e.innerText,{attributes:{target:"_blank",class:"text-primary"}}))});

View File

@@ -1,4 +1,4 @@
import{A as a}from"./index-08e160a7.js";import"./_commonjsHelpers-725317a4.js";/**
import{A as a}from"./index-f5f1a7da.js";import"./_commonjsHelpers-725317a4.js";/**
* Invoice Ninja (https://invoiceninja.com)
*
* @link https://github.com/invoiceninja/invoiceninja source repository

View File

@@ -2,22 +2,22 @@
"__commonjsHelpers-725317a4.js": {
"file": "assets/_commonjsHelpers-725317a4.js"
},
"_index-08e160a7.js": {
"file": "assets/index-08e160a7.js",
"_index-f5f1a7da.js": {
"file": "assets/index-f5f1a7da.js",
"imports": [
"__commonjsHelpers-725317a4.js"
]
},
"_index.module-d6acd7fe.js": {
"file": "assets/index.module-d6acd7fe.js"
"_index.module-07726c42.js": {
"file": "assets/index.module-07726c42.js"
},
"_wait-8f4ae121.js": {
"file": "assets/wait-8f4ae121.js"
},
"resources/js/app.js": {
"file": "assets/app-b1e6de42.js",
"file": "assets/app-32dee1da.js",
"imports": [
"_index-08e160a7.js",
"_index-f5f1a7da.js",
"__commonjsHelpers-725317a4.js"
],
"isEntry": true,
@@ -29,7 +29,7 @@
"src": "resources/js/clients/invoices/payment.js"
},
"resources/js/clients/linkify-urls.js": {
"file": "assets/linkify-urls-a88c5c3f.js",
"file": "assets/linkify-urls-a8d528ea.js",
"imports": [
"__commonjsHelpers-725317a4.js"
],
@@ -47,9 +47,9 @@
"src": "resources/js/clients/payment_methods/authorize-authorize-card.js"
},
"resources/js/clients/payment_methods/authorize-checkout-card-flow.js": {
"file": "assets/authorize-checkout-card-flow-8bda1ecd.js",
"file": "assets/authorize-checkout-card-flow-4c98b651.js",
"imports": [
"_index.module-d6acd7fe.js"
"_index.module-07726c42.js"
],
"isEntry": true,
"src": "resources/js/clients/payment_methods/authorize-checkout-card-flow.js"
@@ -129,10 +129,10 @@
"src": "resources/js/clients/payments/braintree-paypal.js"
},
"resources/js/clients/payments/checkout-credit-card-flow.js": {
"file": "assets/checkout-credit-card-flow-27ae67d0.js",
"file": "assets/checkout-credit-card-flow-34d70aee.js",
"imports": [
"_wait-8f4ae121.js",
"_index.module-d6acd7fe.js"
"_index.module-07726c42.js"
],
"isEntry": true,
"src": "resources/js/clients/payments/checkout-credit-card-flow.js"
@@ -402,16 +402,16 @@
"src": "resources/js/clients/statements/view.js"
},
"resources/js/setup/setup.js": {
"file": "assets/setup-66b6b3c0.js",
"file": "assets/setup-b2a0014a.js",
"imports": [
"_index-08e160a7.js",
"_index-f5f1a7da.js",
"__commonjsHelpers-725317a4.js"
],
"isEntry": true,
"src": "resources/js/setup/setup.js"
},
"resources/sass/app.scss": {
"file": "assets/app-eb0ff736.css",
"file": "assets/app-5dbdbf07.css",
"isEntry": true,
"src": "resources/sass/app.scss"
}