@wisemen/wise-invoicing-web 0.0.1 → 0.0.2
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/{AddOpenBoundaryIcon-a0ytyQW0.js → AddOpenBoundaryIcon-LcnpqCb7.js} +1 -1
- package/dist/{AirlineIcon-XwORvusp.js → AirlineIcon-29r8leGB.js} +1 -1
- package/dist/{AirplaneIcon-BEkI03Xx.js → AirplaneIcon-B9jZP9r0.js} +1 -1
- package/dist/{AirportIcon-C3h1LiZq.js → AirportIcon-C4PxDtDr.js} +1 -1
- package/dist/{AlertTriangleIcon-AZHk_XdR.js → AlertTriangleIcon-BD58hKRP.js} +1 -1
- package/dist/{AllocationsIcon-CkpunEan.js → AllocationsIcon-BQan6NWO.js} +1 -1
- package/dist/{ArrowNarrowRightIcon-CytKHL2k.js → ArrowNarrowRightIcon-BA1c_QRh.js} +1 -1
- package/dist/{AssetIcon-A3TJtt5E.js → AssetIcon-DnK5wAyN.js} +1 -1
- package/dist/{BarChartIcon-Bsa3V_np.js → BarChartIcon-CKrBCh6x.js} +1 -1
- package/dist/{BellIcon-BfXQ8Jws.js → BellIcon-BT2cGatU.js} +1 -1
- package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
- package/dist/{BillingDocumentDetailViewDataProvider.vue_vue_type_script_setup_true_lang-Bgw4mFeY.js → BillingDocumentDetailViewDataProvider.vue_vue_type_script_setup_true_lang-C5j9jPsk.js} +2104 -2027
- package/dist/{BuildingIcon-Cm37WXHP.js → BuildingIcon-CUOTWDHc.js} +1 -1
- package/dist/{ChargerIcon-DrS9Hazp.js → ChargerIcon-BhrjeyKv.js} +1 -1
- package/dist/{ChevronDownIcon-gIUiA8v4.js → ChevronDownIcon-DljNUnFk.js} +1 -1
- package/dist/{ChevronUpIcon-BkwAZanA.js → ChevronUpIcon-CoxFAIp_.js} +1 -1
- package/dist/{ClockIcon-Cid1T0BU.js → ClockIcon-CTnAGb9i.js} +1 -1
- package/dist/{ClockSnoozeIcon-B1i2bXpx.js → ClockSnoozeIcon-BRoTw_Vn.js} +1 -1
- package/dist/{CopyIcon-DOdfevS_.js → CopyIcon-JiNI8Dfg.js} +1 -1
- package/dist/{CreditNoteDetailViewDataProvider-DcQG7_9T.js → CreditNoteDetailViewDataProvider-Cy1j_m3I.js} +12 -12
- package/dist/{CreditNotePdfViewDataProvider-t80KC3zC.js → CreditNotePdfViewDataProvider-B7-HFIKD.js} +2 -2
- package/dist/{DownloadCloudIcon-Bws0z_Lo.js → DownloadCloudIcon-DKHwnpvk.js} +1 -1
- package/dist/{EditIcon-dTEv1VbR.js → EditIcon-DtGrCf8G.js} +1 -1
- package/dist/{EraserIcon-D2AnLU8H.js → EraserIcon-Cb0Ep_Yq.js} +1 -1
- package/dist/{FileIcon-C6hafpr3.js → FileIcon-C4wGvJpt.js} +1 -1
- package/dist/{FilterLinesIcon-BONkY4PH.js → FilterLinesIcon-B7wPXDy1.js} +1 -1
- package/dist/{GlobeIcon-FypkJoR2.js → GlobeIcon-B-Idmck1.js} +1 -1
- package/dist/{HelpIcon-CZYQyf8M.js → HelpIcon-CdKWaEaB.js} +1 -1
- package/dist/{HourGlassIcon-BZOAeq1R.js → HourGlassIcon-CQLPiXVW.js} +1 -1
- package/dist/{InfoCircleIcon-CChSBSvU.js → InfoCircleIcon-5gjQoNog.js} +1 -1
- package/dist/{InvoiceDetailViewDataProvider-Dy7Gel9o.js → InvoiceDetailViewDataProvider-4lGG7Wtq.js} +430 -422
- package/dist/InvoiceOverviewView-Boqvwabl.js +4 -0
- package/dist/{InvoicePdfViewDataProvider-BLOLBg8f.js → InvoicePdfViewDataProvider-CJ3fL71W.js} +4 -4
- package/dist/InvoicePublicPdfViewDataProvider-CzgGk_V5.js +4 -0
- package/dist/{IssuerSettingsViewDataProvider-DZkWQL1y.js → IssuerSettingsViewDataProvider-TM-bmC55.js} +2 -2
- package/dist/{KeyboardIcon-DxZhamNr.js → KeyboardIcon-DlAp0VUG.js} +1 -1
- package/dist/{LinkExternalIcon-CNM5oAbx.js → LinkExternalIcon-BPO_c7Ke.js} +1 -1
- package/dist/{LinkIcon-DTNaK8oh.js → LinkIcon-9M0uzW4a.js} +1 -1
- package/dist/{MarkerIcon-Dp4v37Ny.js → MarkerIcon-pId64QTW.js} +1 -1
- package/dist/{MobileBatteryIcon-Buyc8k3l.js → MobileBatteryIcon-Dq6Vh0d5.js} +1 -1
- package/dist/{MonitorIcon-6utDReTQ.js → MonitorIcon-PsvDF5LA.js} +1 -1
- package/dist/{NotificationIcon-DzGLW6dE.js → NotificationIcon-C-mhyH5v.js} +1 -1
- package/dist/{ParkingIcon-CR4VGiTb.js → ParkingIcon-BD0RoGv5.js} +1 -1
- package/dist/{PlanningIcon-CjeBl0ld.js → PlanningIcon-BBIuwW2I.js} +1 -1
- package/dist/{PreferenceIcon-BgrcKZ-o.js → PreferenceIcon-zR5mjygu.js} +1 -1
- package/dist/{ReceiptCheckIcon-C28VfROE.js → ReceiptCheckIcon-CHEEnJEK.js} +1 -1
- package/dist/{RefreshIcon-DaXNUJIT.js → RefreshIcon-CfjOS7Vw.js} +1 -1
- package/dist/{RemoveOpenBoundaryIcon-DRRSq0H2.js → RemoveOpenBoundaryIcon-CEbBT9CX.js} +1 -1
- package/dist/{RewindIcon-BDXokF_B.js → RewindIcon-9PFea9gA.js} +1 -1
- package/dist/{SettingsIcon-CRGzsAR5.js → SettingsIcon-CSIbrANE.js} +1 -1
- package/dist/{ShieldIcon-D_B27hak.js → ShieldIcon-CU4mxKxP.js} +1 -1
- package/dist/{ShieldOffIcon-DhrrZ04Q.js → ShieldOffIcon-D6_I1MKn.js} +1 -1
- package/dist/{SignOutIcon-BvHviBhP.js → SignOutIcon-ClrPsj39.js} +1 -1
- package/dist/{SlashCircleIcon-CZK8PQW3.js → SlashCircleIcon-DBy7XjBm.js} +1 -1
- package/dist/{StandIcon-BwyMh8CM.js → StandIcon-vV8J4-3H.js} +1 -1
- package/dist/{StarsIcon-BzLUvuRu.js → StarsIcon-RO6wNbsC.js} +1 -1
- package/dist/{StopwatchIcon-C_FPm3or.js → StopwatchIcon-DubYBmeN.js} +1 -1
- package/dist/{TargetIcon-oklHOKhV.js → TargetIcon-BwVw7rVC.js} +1 -1
- package/dist/{ThreeDotsIcon-BBlmsVbB.js → ThreeDotsIcon-BvRfi-Lm.js} +1 -1
- package/dist/{ToolIcon-BA3-Cx2i.js → ToolIcon-Dw-vgiL1.js} +1 -1
- package/dist/{TrashIcon-CStVAH50.js → TrashIcon-Dh6ASxXd.js} +1 -1
- package/dist/{TurnaroundIcon-DtNeWU1p.js → TurnaroundIcon-Hn5nPhvb.js} +1 -1
- package/dist/{UploadCloudIcon-BQvK4JT3.js → UploadCloudIcon-BV7b8ygQ.js} +1 -1
- package/dist/{UserIcon-M9J9Rh8O.js → UserIcon-BRrPmqkm.js} +1 -1
- package/dist/{UsersIcon-Bpb0pO6w.js → UsersIcon-fORcf4YV.js} +1 -1
- package/dist/{VerifiedIcon-C9sK4Nmp.js → VerifiedIcon-BtqxtP6h.js} +1 -1
- package/dist/{WifiIcon-CLYoI7rL.js → WifiIcon-Bd9TvVVJ.js} +1 -1
- package/dist/{WifiOffIcon-0wO76FFe.js → WifiOffIcon-CpATjY4j.js} +1 -1
- package/dist/{ZapIcon-BAwpUZyX.js → ZapIcon-BG6cVpfC.js} +1 -1
- package/dist/{ZoomInIcon-CkXOQsMm.js → ZoomInIcon-CQ_R4Ydf.js} +1 -1
- package/dist/{ZoomOutIcon-CyCQzjwt.js → ZoomOutIcon-DlcCdCda.js} +1 -1
- package/dist/{creditNoteDetail.query-Dh6ej-uj.js → creditNoteDetail.query-Dj6oKRTO.js} +6 -6
- package/dist/{index-B7DH4ueV.js → index-CYV9qUlg.js} +5502 -4948
- package/dist/index.d.ts +34 -0
- package/dist/index.js +19 -19
- package/dist/{invoiceDetail.query-CDW3Zr_C.js → invoiceDetail.query-Wtw3VSKd.js} +1 -1
- package/dist/{issuerSettings.query-EHtcG78N.js → issuerSettings.query-H5-5e_KF.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/InvoiceOverviewView-McZ6JthM.js +0 -4
- package/dist/InvoicePublicPdfViewDataProvider-CpxVyTdw.js +0 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as N, computed as l, openBlock as v, createBlock as f, unref as i, withCtx as r, createVNode as a, createCommentVNode as q, resolveDynamicComponent as ne, normalizeClass as M, renderSlot as ae, ref as Z, createElementVNode as oe, mergeProps as H, createElementBlock as re, Fragment as se } from "vue";
|
|
2
2
|
import { useI18n as y } from "vue-i18n";
|
|
3
|
-
import { C as w, a as j, u as ce } from "./creditNoteDetail.query-
|
|
4
|
-
import { useToast as S, UIFormDialog as le, UIDialogHeader as ue, UIDialogFooter as de, UIDialogFooterCancel as me, UIDialogFooterSubmit as ve, useOverlay as fe, UIForm as
|
|
5
|
-
import { v as ye, w as we, g, S as Q, i as xe, L as De, D as he, F as Ue, T as Ie, f as ke, m as Fe,
|
|
3
|
+
import { C as w, a as j, u as ce } from "./creditNoteDetail.query-Dj6oKRTO.js";
|
|
4
|
+
import { useToast as S, UIFormDialog as le, UIDialogHeader as ue, UIDialogFooter as de, UIDialogFooterCancel as me, UIDialogFooterSubmit as ve, useOverlay as fe, UIForm as P, UIRowLayout as B, UIText as U, UIColumnLayout as E, UIClickableElement as _e, UIBadge as pe, UIAnimateHeight as ge, UITextField as be, UIDateField as Ne, UISeparator as Y } from "@wisemen/vue-core-design-system";
|
|
5
|
+
import { v as ye, w as we, g, S as Q, i as xe, L as De, D as he, F as Ue, T as Ie, f as ke, m as Fe, a2 as Ce, x as Ee, a3 as Se, G as Ae, P as Re, H as Te, t as G, U as Le, R as $e, p as qe } from "./index-CYV9qUlg.js";
|
|
6
6
|
import { useForm as $ } from "formango";
|
|
7
7
|
import Me, { z as k } from "zod";
|
|
8
|
-
import { _ as je, u as
|
|
8
|
+
import { _ as je, u as Pe, F as Be, B as ze, a as z, b as Ve, c as Oe, d as Ke, e as He, f as Ye, g as Qe, h as Ge, j as Xe, k as Ze, i as Je, l as We, m as et, n as tt, o as it, p as nt, q as at, r as ot } from "./BillingDocumentDetailViewDataProvider.vue_vue_type_script_setup_true_lang-C5j9jPsk.js";
|
|
9
9
|
import { useMutation as I, useKeysetInfiniteQuery as rt } from "@wisemen/vue-core-api-utils";
|
|
10
10
|
import { useRouter as st } from "vue-router";
|
|
11
11
|
function V() {
|
|
@@ -161,7 +161,7 @@ const ft = /* @__PURE__ */ N({
|
|
|
161
161
|
function _t(e) {
|
|
162
162
|
const t = y(), n = S(), o = fe(), s = o.create(ft), c = o.create(je), d = lt(), _ = ut(), p = dt(), m = mt(), {
|
|
163
163
|
shouldSkipConfirmation: b
|
|
164
|
-
} =
|
|
164
|
+
} = Pe(), x = l(() => e.value.originalInvoice?.uuid ?? e.value.uuid), A = l(() => e.value.status !== g.DRAFT && e.value.status !== g.READY);
|
|
165
165
|
async function F() {
|
|
166
166
|
const u = await p.execute({
|
|
167
167
|
params: {
|
|
@@ -259,7 +259,7 @@ function _t(e) {
|
|
|
259
259
|
});
|
|
260
260
|
return;
|
|
261
261
|
}
|
|
262
|
-
const D = await
|
|
262
|
+
const D = await Be.getDownloadUrl(C.uuid);
|
|
263
263
|
D !== null && Fe.downloadUrl(D, C.name);
|
|
264
264
|
}
|
|
265
265
|
const ie = l(() => [
|
|
@@ -370,7 +370,7 @@ const pt = /* @__PURE__ */ N({
|
|
|
370
370
|
}), R = F.register("subject");
|
|
371
371
|
return z({
|
|
372
372
|
form: F
|
|
373
|
-
}), (T, h) => (v(), f(i(
|
|
373
|
+
}), (T, h) => (v(), f(i(P), {
|
|
374
374
|
form: i(F),
|
|
375
375
|
"prompt-on-unsaved-changes": !1
|
|
376
376
|
}, {
|
|
@@ -394,7 +394,7 @@ const pt = /* @__PURE__ */ N({
|
|
|
394
394
|
}, null, 8, ["is-pdf-view-active", "menu-groups", "primary-buttons"])
|
|
395
395
|
]),
|
|
396
396
|
status: r(() => [
|
|
397
|
-
a(i(
|
|
397
|
+
a(i(B), {
|
|
398
398
|
gap: "xs",
|
|
399
399
|
class: "flex-wrap items-start"
|
|
400
400
|
}, {
|
|
@@ -431,7 +431,7 @@ const pt = /* @__PURE__ */ N({
|
|
|
431
431
|
}), d = c.register("externalRemarks"), _ = l(() => t.creditNote.status !== g.DRAFT && t.creditNote.status !== g.READY);
|
|
432
432
|
return z({
|
|
433
433
|
form: c
|
|
434
|
-
}), (p, m) => (v(), f(i(
|
|
434
|
+
}), (p, m) => (v(), f(i(P), {
|
|
435
435
|
form: i(c),
|
|
436
436
|
"prompt-on-unsaved-changes": !1
|
|
437
437
|
}, {
|
|
@@ -497,7 +497,7 @@ const Nt = /* @__PURE__ */ N({
|
|
|
497
497
|
},
|
|
498
498
|
setup(e) {
|
|
499
499
|
const t = e;
|
|
500
|
-
return (n, o) => (v(), f(i(
|
|
500
|
+
return (n, o) => (v(), f(i(B), null, {
|
|
501
501
|
default: r(() => [
|
|
502
502
|
(v(), f(ne(t.icon), {
|
|
503
503
|
class: M([{
|
|
@@ -532,7 +532,7 @@ const Nt = /* @__PURE__ */ N({
|
|
|
532
532
|
}
|
|
533
533
|
return (s, c) => (v(), f(i(E), { class: "w-full" }, {
|
|
534
534
|
default: r(() => [
|
|
535
|
-
a(i(
|
|
535
|
+
a(i(B), { justify: "between" }, {
|
|
536
536
|
default: r(() => [
|
|
537
537
|
a(i(_e), { class: "rounded-sm" }, {
|
|
538
538
|
default: r(() => [
|
|
@@ -610,7 +610,7 @@ const Nt = /* @__PURE__ */ N({
|
|
|
610
610
|
}), d = c.register("issuedOn"), _ = c.register("poNumber"), p = l(() => t.creditNote.status !== g.DRAFT && t.creditNote.status !== g.READY);
|
|
611
611
|
return z({
|
|
612
612
|
form: c
|
|
613
|
-
}), (m, b) => (v(), f(i(
|
|
613
|
+
}), (m, b) => (v(), f(i(P), {
|
|
614
614
|
form: i(c),
|
|
615
615
|
"prompt-on-unsaved-changes": !1
|
|
616
616
|
}, {
|
package/dist/{CreditNotePdfViewDataProvider-t80KC3zC.js → CreditNotePdfViewDataProvider-B7-HFIKD.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as a, computed as m, openBlock as d, createBlock as u, unref as e, withCtx as t, createElementVNode as f, createVNode as i } from "vue";
|
|
2
2
|
import { UIText as l } from "@wisemen/vue-core-design-system";
|
|
3
3
|
import { useI18n as _ } from "vue-i18n";
|
|
4
|
-
import { u as p } from "./creditNoteDetail.query-
|
|
5
|
-
import { _ as v,
|
|
4
|
+
import { u as p } from "./creditNoteDetail.query-Dj6oKRTO.js";
|
|
5
|
+
import { _ as v, a0 as x } from "./index-CYV9qUlg.js";
|
|
6
6
|
const N = { class: "flex min-h-screen items-center justify-center bg-secondary" }, V = /* @__PURE__ */ a({
|
|
7
7
|
__name: "CreditNotePdfViewDataProvider",
|
|
8
8
|
props: {
|