@flowselections/layout-maker 1.22.0 → 1.22.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/README.md +139 -139
- package/dist-lib/components/PrinterSetupWizard.js +1 -1
- package/dist-lib/components/PrintersRedirectPage.d.ts +1 -1
- package/dist-lib/components/PrintersRedirectPage.js +14 -14
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +55 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +55 -1
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +58 -1
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/aiLayout.functions.d.ts +55 -1
- package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
- package/dist-lib/lib/aiLayout.server.js +9 -9
- package/dist-lib/lib/browserPrint.js +5 -5
- package/dist-lib/lib/layoutPreview.js +7 -7
- package/dist-lib/lib/pakbonHtml.js +50 -50
- package/dist-lib/lib/printService.functions.d.ts +220 -4
- package/dist-lib/lib/printService.functions.d.ts.map +1 -1
- package/dist-lib/lib/productiebonHtml.js +15 -15
- package/dist-lib/lib/profielHtml.js +18 -18
- package/dist-lib/lib/supabaseAdmin.server.d.ts +5 -5
- package/dist-lib/lib/supabaseAdmin.server.js +43 -43
- package/dist-lib/lib/testpagina.js +1 -1
- package/dist-lib/lib/testprint.js +4 -4
- package/package.json +139 -139
|
@@ -29,7 +29,7 @@ export function paginaCss(formaat, orientatie, margeMm = 0) {
|
|
|
29
29
|
const gedraaid = formaat && orientatie === "landscape"
|
|
30
30
|
? `${formaat.hoogte}mm ${formaat.breedte}mm`
|
|
31
31
|
: size;
|
|
32
|
-
return `@page { size: ${gedraaid}; margin: ${margeMm}mm; }
|
|
32
|
+
return `@page { size: ${gedraaid}; margin: ${margeMm}mm; }
|
|
33
33
|
@media print { html, body { margin: 0; padding: 0; } }`;
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
@@ -94,10 +94,10 @@ export async function drukAf(opdracht) {
|
|
|
94
94
|
return { printer };
|
|
95
95
|
}
|
|
96
96
|
doc.open();
|
|
97
|
-
doc.write(`<!doctype html><html><head><meta charset="utf-8" />
|
|
98
|
-
<title>${opdracht.documentnaam ?? "Document"}</title>
|
|
99
|
-
<style>${paginaCss(formaat, opdracht.orientatie, opdracht.margeMm ?? 0)}
|
|
100
|
-
body { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
|
|
97
|
+
doc.write(`<!doctype html><html><head><meta charset="utf-8" />
|
|
98
|
+
<title>${opdracht.documentnaam ?? "Document"}</title>
|
|
99
|
+
<style>${paginaCss(formaat, opdracht.orientatie, opdracht.margeMm ?? 0)}
|
|
100
|
+
body { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
|
|
101
101
|
${opdracht.css ?? ""}</style></head><body>${opdracht.html}</body></html>`);
|
|
102
102
|
doc.close();
|
|
103
103
|
await new Promise((r) => setTimeout(r, 250));
|
|
@@ -79,8 +79,8 @@ function elementHtml(el, ctx) {
|
|
|
79
79
|
case "cirkel":
|
|
80
80
|
return `<div style="${base};border-radius:50%;border:${s.randbreedte || 0.3}mm solid ${s.randkleur ?? "#111827"}"></div>`;
|
|
81
81
|
case "barcode":
|
|
82
|
-
return `<div style="${base};display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:monospace">
|
|
83
|
-
<div style="width:100%;height:70%;background:repeating-linear-gradient(90deg,#111 0 1.2px,#fff 1.2px 3px)"></div>
|
|
82
|
+
return `<div style="${base};display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:monospace">
|
|
83
|
+
<div style="width:100%;height:70%;background:repeating-linear-gradient(90deg,#111 0 1.2px,#fff 1.2px 3px)"></div>
|
|
84
84
|
<div style="font-size:7pt">${esc(inhoud)}</div></div>`;
|
|
85
85
|
case "qrcode":
|
|
86
86
|
return `<div style="${base};background:repeating-conic-gradient(#111 0% 25%, #fff 0% 50%) 0 0/22% 22%"></div>`;
|
|
@@ -125,10 +125,10 @@ export function bouwDocumentHtml(layout, elementen, gegevens) {
|
|
|
125
125
|
const body = zichtbaar.map((e) => elementHtml(e, ctx)).join("");
|
|
126
126
|
const b = layout.orientatie === "landscape" ? layout.hoogte_mm : layout.breedte_mm;
|
|
127
127
|
const h = layout.orientatie === "landscape" ? layout.breedte_mm : layout.hoogte_mm;
|
|
128
|
-
return `<!doctype html><html lang="nl"><head><meta charset="utf-8"><title>${esc(layout.naam)}</title>
|
|
129
|
-
<style>@page{size:${b}mm ${h}mm;margin:0}
|
|
130
|
-
body{margin:0;background:#e5e7eb}
|
|
131
|
-
.pagina{position:relative;width:${b}mm;height:${h}mm;background:#fff;margin:0 auto;overflow:hidden}
|
|
132
|
-
@media print{body{background:#fff}}</style></head>
|
|
128
|
+
return `<!doctype html><html lang="nl"><head><meta charset="utf-8"><title>${esc(layout.naam)}</title>
|
|
129
|
+
<style>@page{size:${b}mm ${h}mm;margin:0}
|
|
130
|
+
body{margin:0;background:#e5e7eb}
|
|
131
|
+
.pagina{position:relative;width:${b}mm;height:${h}mm;background:#fff;margin:0 auto;overflow:hidden}
|
|
132
|
+
@media print{body{background:#fff}}</style></head>
|
|
133
133
|
<body><div class="pagina">${body}</div></body></html>`;
|
|
134
134
|
}
|
|
@@ -640,56 +640,56 @@ export function renderPakbonDocument(config, order, opties = {}) {
|
|
|
640
640
|
const font = opties.lettertype ?? 'Arial, Helvetica, "Segoe UI", sans-serif';
|
|
641
641
|
const grootte = opties.lettergrootte ?? 8.5;
|
|
642
642
|
const body = renderPakbonBody(config, order, opties);
|
|
643
|
-
return `<!doctype html><html lang="nl"><head><meta charset="utf-8" />
|
|
644
|
-
<title>${esc(opties.titel ?? "Pakbon")}</title>
|
|
645
|
-
<style>
|
|
646
|
-
@page { size: ${b}mm ${h}mm; margin: ${marge}mm; }
|
|
647
|
-
* { box-sizing: border-box; }
|
|
648
|
-
html, body { margin: 0; padding: 0; }
|
|
649
|
-
body { font-family: ${font}; font-size: ${grootte}pt; color: #111827; line-height: 1.35; }
|
|
650
|
-
.blok { margin-bottom: 2mm; }
|
|
651
|
-
.sectitel { font-size: 90%; font-weight: 600; text-transform: uppercase; color: #6b7280; margin-bottom: 0.6mm; }
|
|
652
|
-
.vet { font-weight: 600; }
|
|
653
|
-
.kv { display: flex; justify-content: space-between; gap: 3mm; }
|
|
654
|
-
.kv .k { color: #6b7280; }
|
|
655
|
-
.kv .v { font-weight: 500; }
|
|
656
|
-
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 6mm; }
|
|
657
|
-
.kader { border: 0.25mm solid #d1d5db; border-radius: 1mm; padding: 1.5mm; }
|
|
658
|
-
table.regels { width: 100%; border-collapse: collapse; }
|
|
659
|
-
table.regels.vast { table-layout: fixed; }
|
|
660
|
-
table.regels.vast td, table.regels.vast th { overflow-wrap: anywhere; }
|
|
661
|
-
table.regels th, table.regels td { padding: 0.7mm 1mm; vertical-align: top; }
|
|
662
|
-
table.regels th { font-size: 90%; text-transform: uppercase; color: #6b7280; font-weight: 600; text-align: left; }
|
|
663
|
-
.rand { border: 0.2mm solid #d1d5db; }
|
|
664
|
-
.onder { border-bottom: 0.2mm solid #d1d5db; }
|
|
665
|
-
table.regels.compact th, table.regels.compact td { padding: 0.3mm 0.8mm; }
|
|
666
|
-
tr.zebra td { background: #f3f4f6; }
|
|
667
|
-
.plijst { margin: 0; padding-left: 4mm; }
|
|
668
|
-
.groep { margin-bottom: 1.5mm; }
|
|
669
|
-
.regelrij { display: flex; gap: 2mm; }
|
|
670
|
-
.tweekolom { display: grid; grid-template-columns: 1fr 1fr; gap: 3mm; }
|
|
671
|
-
.karblok { margin-bottom: 2mm; }
|
|
672
|
-
.karblok.omkaderd { border: 0.25mm solid #d1d5db; border-radius: 1mm; padding: 1.5mm; }
|
|
673
|
-
.karkop { display: flex; justify-content: space-between; align-items: center; padding: 0.8mm 1.5mm; border-radius: 1mm; margin-bottom: 1mm; }
|
|
674
|
-
.bundel { display: inline-block; border: 0.3mm dashed #6b7280; border-radius: 1mm; padding: 0.4mm 1.5mm; margin-bottom: 1mm; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2mm; font-size: 90%; }
|
|
675
|
-
.laag { margin-bottom: 1.5mm; }
|
|
676
|
-
.laagkop { display: flex; justify-content: space-between; font-weight: 500; border-bottom: 0.2mm solid #d1d5db; padding-bottom: 0.4mm; margin-bottom: 0.6mm; }
|
|
677
|
-
.laagkop.compact { border-bottom: none; }
|
|
678
|
-
.meta { display: flex; gap: 3mm; font-size: 88%; font-weight: 400; color: #4b5563; }
|
|
679
|
-
.totalen { display: flex; flex-wrap: wrap; gap: 5mm; border-top: 0.25mm solid #d1d5db; padding-top: 1.2mm; font-weight: 500; }
|
|
680
|
-
.paginavoet { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; }
|
|
681
|
-
.handtekening { margin-top: 3mm; }
|
|
682
|
-
.lijnveld { margin-top: 4mm; border-bottom: 0.25mm solid #6b7280; padding-bottom: 3mm; }
|
|
683
|
-
.lijnveld.hoog { padding-bottom: 10mm; }
|
|
684
|
-
.lijn { border-top: 0.25mm solid #d1d5db; margin: 1.5mm 0; }
|
|
685
|
-
.balk { height: 1mm; background: #374151; margin: 1.5mm 0; }
|
|
686
|
-
.qr { border: 0.25mm dashed #9ca3af; }
|
|
687
|
-
.streepjes { width: 45mm; background: repeating-linear-gradient(to right, #111827 0 2px, transparent 2px 5px); }
|
|
688
|
-
.klein { font-size: 85%; color: #6b7280; }
|
|
689
|
-
.breekvoor { break-before: page; page-break-before: always; }
|
|
690
|
-
.heelhouden { break-inside: avoid; page-break-inside: avoid; }
|
|
691
|
-
img { max-width: 100%; }
|
|
692
|
-
</style></head>
|
|
643
|
+
return `<!doctype html><html lang="nl"><head><meta charset="utf-8" />
|
|
644
|
+
<title>${esc(opties.titel ?? "Pakbon")}</title>
|
|
645
|
+
<style>
|
|
646
|
+
@page { size: ${b}mm ${h}mm; margin: ${marge}mm; }
|
|
647
|
+
* { box-sizing: border-box; }
|
|
648
|
+
html, body { margin: 0; padding: 0; }
|
|
649
|
+
body { font-family: ${font}; font-size: ${grootte}pt; color: #111827; line-height: 1.35; }
|
|
650
|
+
.blok { margin-bottom: 2mm; }
|
|
651
|
+
.sectitel { font-size: 90%; font-weight: 600; text-transform: uppercase; color: #6b7280; margin-bottom: 0.6mm; }
|
|
652
|
+
.vet { font-weight: 600; }
|
|
653
|
+
.kv { display: flex; justify-content: space-between; gap: 3mm; }
|
|
654
|
+
.kv .k { color: #6b7280; }
|
|
655
|
+
.kv .v { font-weight: 500; }
|
|
656
|
+
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 6mm; }
|
|
657
|
+
.kader { border: 0.25mm solid #d1d5db; border-radius: 1mm; padding: 1.5mm; }
|
|
658
|
+
table.regels { width: 100%; border-collapse: collapse; }
|
|
659
|
+
table.regels.vast { table-layout: fixed; }
|
|
660
|
+
table.regels.vast td, table.regels.vast th { overflow-wrap: anywhere; }
|
|
661
|
+
table.regels th, table.regels td { padding: 0.7mm 1mm; vertical-align: top; }
|
|
662
|
+
table.regels th { font-size: 90%; text-transform: uppercase; color: #6b7280; font-weight: 600; text-align: left; }
|
|
663
|
+
.rand { border: 0.2mm solid #d1d5db; }
|
|
664
|
+
.onder { border-bottom: 0.2mm solid #d1d5db; }
|
|
665
|
+
table.regels.compact th, table.regels.compact td { padding: 0.3mm 0.8mm; }
|
|
666
|
+
tr.zebra td { background: #f3f4f6; }
|
|
667
|
+
.plijst { margin: 0; padding-left: 4mm; }
|
|
668
|
+
.groep { margin-bottom: 1.5mm; }
|
|
669
|
+
.regelrij { display: flex; gap: 2mm; }
|
|
670
|
+
.tweekolom { display: grid; grid-template-columns: 1fr 1fr; gap: 3mm; }
|
|
671
|
+
.karblok { margin-bottom: 2mm; }
|
|
672
|
+
.karblok.omkaderd { border: 0.25mm solid #d1d5db; border-radius: 1mm; padding: 1.5mm; }
|
|
673
|
+
.karkop { display: flex; justify-content: space-between; align-items: center; padding: 0.8mm 1.5mm; border-radius: 1mm; margin-bottom: 1mm; }
|
|
674
|
+
.bundel { display: inline-block; border: 0.3mm dashed #6b7280; border-radius: 1mm; padding: 0.4mm 1.5mm; margin-bottom: 1mm; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2mm; font-size: 90%; }
|
|
675
|
+
.laag { margin-bottom: 1.5mm; }
|
|
676
|
+
.laagkop { display: flex; justify-content: space-between; font-weight: 500; border-bottom: 0.2mm solid #d1d5db; padding-bottom: 0.4mm; margin-bottom: 0.6mm; }
|
|
677
|
+
.laagkop.compact { border-bottom: none; }
|
|
678
|
+
.meta { display: flex; gap: 3mm; font-size: 88%; font-weight: 400; color: #4b5563; }
|
|
679
|
+
.totalen { display: flex; flex-wrap: wrap; gap: 5mm; border-top: 0.25mm solid #d1d5db; padding-top: 1.2mm; font-weight: 500; }
|
|
680
|
+
.paginavoet { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; }
|
|
681
|
+
.handtekening { margin-top: 3mm; }
|
|
682
|
+
.lijnveld { margin-top: 4mm; border-bottom: 0.25mm solid #6b7280; padding-bottom: 3mm; }
|
|
683
|
+
.lijnveld.hoog { padding-bottom: 10mm; }
|
|
684
|
+
.lijn { border-top: 0.25mm solid #d1d5db; margin: 1.5mm 0; }
|
|
685
|
+
.balk { height: 1mm; background: #374151; margin: 1.5mm 0; }
|
|
686
|
+
.qr { border: 0.25mm dashed #9ca3af; }
|
|
687
|
+
.streepjes { width: 45mm; background: repeating-linear-gradient(to right, #111827 0 2px, transparent 2px 5px); }
|
|
688
|
+
.klein { font-size: 85%; color: #6b7280; }
|
|
689
|
+
.breekvoor { break-before: page; page-break-before: always; }
|
|
690
|
+
.heelhouden { break-inside: avoid; page-break-inside: avoid; }
|
|
691
|
+
img { max-width: 100%; }
|
|
692
|
+
</style></head>
|
|
693
693
|
<body>${body}</body></html>`;
|
|
694
694
|
}
|
|
695
695
|
/** Handig voor testen: het document met de voorbeeldgegevens. */
|
|
@@ -18619,6 +18619,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
18619
18619
|
werkbon_package_items: {
|
|
18620
18620
|
Row: {
|
|
18621
18621
|
article_number: string | null;
|
|
18622
|
+
artikel_id: string | null;
|
|
18622
18623
|
created_at: string;
|
|
18623
18624
|
gtin: string | null;
|
|
18624
18625
|
id: string;
|
|
@@ -18636,6 +18637,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
18636
18637
|
};
|
|
18637
18638
|
Insert: {
|
|
18638
18639
|
article_number?: string | null;
|
|
18640
|
+
artikel_id?: string | null;
|
|
18639
18641
|
created_at?: string;
|
|
18640
18642
|
gtin?: string | null;
|
|
18641
18643
|
id?: string;
|
|
@@ -18653,6 +18655,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
18653
18655
|
};
|
|
18654
18656
|
Update: {
|
|
18655
18657
|
article_number?: string | null;
|
|
18658
|
+
artikel_id?: string | null;
|
|
18656
18659
|
created_at?: string;
|
|
18657
18660
|
gtin?: string | null;
|
|
18658
18661
|
id?: string;
|
|
@@ -18669,6 +18672,12 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
18669
18672
|
updated_at?: string;
|
|
18670
18673
|
};
|
|
18671
18674
|
Relationships: [{
|
|
18675
|
+
foreignKeyName: "werkbon_package_items_artikel_id_fkey";
|
|
18676
|
+
columns: ["artikel_id"];
|
|
18677
|
+
isOneToOne: false;
|
|
18678
|
+
referencedRelation: "artikelen_cache";
|
|
18679
|
+
referencedColumns: ["id"];
|
|
18680
|
+
}, {
|
|
18672
18681
|
foreignKeyName: "werkbon_package_items_package_id_fkey";
|
|
18673
18682
|
columns: ["package_id"];
|
|
18674
18683
|
isOneToOne: false;
|
|
@@ -19891,6 +19900,20 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
19891
19900
|
referencedColumns: ["id"];
|
|
19892
19901
|
}];
|
|
19893
19902
|
};
|
|
19903
|
+
v_werkbon_totalen: {
|
|
19904
|
+
Row: {
|
|
19905
|
+
packages_cents: number | null;
|
|
19906
|
+
packages_minutes: number | null;
|
|
19907
|
+
werkbon_id: string | null;
|
|
19908
|
+
};
|
|
19909
|
+
Relationships: [{
|
|
19910
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
19911
|
+
columns: ["werkbon_id"];
|
|
19912
|
+
isOneToOne: false;
|
|
19913
|
+
referencedRelation: "werkbonnen";
|
|
19914
|
+
referencedColumns: ["id"];
|
|
19915
|
+
}];
|
|
19916
|
+
};
|
|
19894
19917
|
};
|
|
19895
19918
|
Functions: {
|
|
19896
19919
|
_floriday_schedule_job: {
|
|
@@ -21827,6 +21850,25 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
21827
21850
|
};
|
|
21828
21851
|
Returns: string;
|
|
21829
21852
|
};
|
|
21853
|
+
pakket_suggesties_voor_tekst: {
|
|
21854
|
+
Args: {
|
|
21855
|
+
_tekst: string;
|
|
21856
|
+
};
|
|
21857
|
+
Returns: {
|
|
21858
|
+
hit_type: string;
|
|
21859
|
+
package_id: string;
|
|
21860
|
+
priority: number;
|
|
21861
|
+
}[];
|
|
21862
|
+
};
|
|
21863
|
+
pakket_voor_reistijd: {
|
|
21864
|
+
Args: {
|
|
21865
|
+
_minuten: number;
|
|
21866
|
+
};
|
|
21867
|
+
Returns: {
|
|
21868
|
+
package_id: string;
|
|
21869
|
+
priority: number;
|
|
21870
|
+
}[];
|
|
21871
|
+
};
|
|
21830
21872
|
pick_active_printers: {
|
|
21831
21873
|
Args: never;
|
|
21832
21874
|
Returns: {
|
|
@@ -22877,6 +22919,18 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
22877
22919
|
Args: never;
|
|
22878
22920
|
Returns: string;
|
|
22879
22921
|
};
|
|
22922
|
+
werkbon_totalen: {
|
|
22923
|
+
Args: {
|
|
22924
|
+
_werkbon_id: string;
|
|
22925
|
+
};
|
|
22926
|
+
Returns: {
|
|
22927
|
+
materials_cents: number;
|
|
22928
|
+
packages_cents: number;
|
|
22929
|
+
packages_minutes: number;
|
|
22930
|
+
total_cents: number;
|
|
22931
|
+
total_minutes: number;
|
|
22932
|
+
}[];
|
|
22933
|
+
};
|
|
22880
22934
|
wo_create_from_source: {
|
|
22881
22935
|
Args: {
|
|
22882
22936
|
_payload?: import("../integrations/supabase/types.js").Json;
|
|
@@ -22915,7 +22969,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
22915
22969
|
};
|
|
22916
22970
|
CompositeTypes: { [_ in never]: never; };
|
|
22917
22971
|
}, {
|
|
22918
|
-
PostgrestVersion: "14.
|
|
22972
|
+
PostgrestVersion: "14.17";
|
|
22919
22973
|
}>;
|
|
22920
22974
|
userId: string;
|
|
22921
22975
|
claims: import("@supabase/auth-js").JwtPayload;
|
|
@@ -41549,6 +41603,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
41549
41603
|
werkbon_package_items: {
|
|
41550
41604
|
Row: {
|
|
41551
41605
|
article_number: string | null;
|
|
41606
|
+
artikel_id: string | null;
|
|
41552
41607
|
created_at: string;
|
|
41553
41608
|
gtin: string | null;
|
|
41554
41609
|
id: string;
|
|
@@ -41566,6 +41621,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
41566
41621
|
};
|
|
41567
41622
|
Insert: {
|
|
41568
41623
|
article_number?: string | null;
|
|
41624
|
+
artikel_id?: string | null;
|
|
41569
41625
|
created_at?: string;
|
|
41570
41626
|
gtin?: string | null;
|
|
41571
41627
|
id?: string;
|
|
@@ -41583,6 +41639,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
41583
41639
|
};
|
|
41584
41640
|
Update: {
|
|
41585
41641
|
article_number?: string | null;
|
|
41642
|
+
artikel_id?: string | null;
|
|
41586
41643
|
created_at?: string;
|
|
41587
41644
|
gtin?: string | null;
|
|
41588
41645
|
id?: string;
|
|
@@ -41599,6 +41656,12 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
41599
41656
|
updated_at?: string;
|
|
41600
41657
|
};
|
|
41601
41658
|
Relationships: [{
|
|
41659
|
+
foreignKeyName: "werkbon_package_items_artikel_id_fkey";
|
|
41660
|
+
columns: ["artikel_id"];
|
|
41661
|
+
isOneToOne: false;
|
|
41662
|
+
referencedRelation: "artikelen_cache";
|
|
41663
|
+
referencedColumns: ["id"];
|
|
41664
|
+
}, {
|
|
41602
41665
|
foreignKeyName: "werkbon_package_items_package_id_fkey";
|
|
41603
41666
|
columns: ["package_id"];
|
|
41604
41667
|
isOneToOne: false;
|
|
@@ -42821,6 +42884,20 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
42821
42884
|
referencedColumns: ["id"];
|
|
42822
42885
|
}];
|
|
42823
42886
|
};
|
|
42887
|
+
v_werkbon_totalen: {
|
|
42888
|
+
Row: {
|
|
42889
|
+
packages_cents: number | null;
|
|
42890
|
+
packages_minutes: number | null;
|
|
42891
|
+
werkbon_id: string | null;
|
|
42892
|
+
};
|
|
42893
|
+
Relationships: [{
|
|
42894
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
42895
|
+
columns: ["werkbon_id"];
|
|
42896
|
+
isOneToOne: false;
|
|
42897
|
+
referencedRelation: "werkbonnen";
|
|
42898
|
+
referencedColumns: ["id"];
|
|
42899
|
+
}];
|
|
42900
|
+
};
|
|
42824
42901
|
};
|
|
42825
42902
|
Functions: {
|
|
42826
42903
|
_floriday_schedule_job: {
|
|
@@ -44757,6 +44834,25 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
44757
44834
|
};
|
|
44758
44835
|
Returns: string;
|
|
44759
44836
|
};
|
|
44837
|
+
pakket_suggesties_voor_tekst: {
|
|
44838
|
+
Args: {
|
|
44839
|
+
_tekst: string;
|
|
44840
|
+
};
|
|
44841
|
+
Returns: {
|
|
44842
|
+
hit_type: string;
|
|
44843
|
+
package_id: string;
|
|
44844
|
+
priority: number;
|
|
44845
|
+
}[];
|
|
44846
|
+
};
|
|
44847
|
+
pakket_voor_reistijd: {
|
|
44848
|
+
Args: {
|
|
44849
|
+
_minuten: number;
|
|
44850
|
+
};
|
|
44851
|
+
Returns: {
|
|
44852
|
+
package_id: string;
|
|
44853
|
+
priority: number;
|
|
44854
|
+
}[];
|
|
44855
|
+
};
|
|
44760
44856
|
pick_active_printers: {
|
|
44761
44857
|
Args: never;
|
|
44762
44858
|
Returns: {
|
|
@@ -45807,6 +45903,18 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
45807
45903
|
Args: never;
|
|
45808
45904
|
Returns: string;
|
|
45809
45905
|
};
|
|
45906
|
+
werkbon_totalen: {
|
|
45907
|
+
Args: {
|
|
45908
|
+
_werkbon_id: string;
|
|
45909
|
+
};
|
|
45910
|
+
Returns: {
|
|
45911
|
+
materials_cents: number;
|
|
45912
|
+
packages_cents: number;
|
|
45913
|
+
packages_minutes: number;
|
|
45914
|
+
total_cents: number;
|
|
45915
|
+
total_minutes: number;
|
|
45916
|
+
}[];
|
|
45917
|
+
};
|
|
45810
45918
|
wo_create_from_source: {
|
|
45811
45919
|
Args: {
|
|
45812
45920
|
_payload?: import("../integrations/supabase/types.js").Json;
|
|
@@ -45845,7 +45953,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
45845
45953
|
};
|
|
45846
45954
|
CompositeTypes: { [_ in never]: never; };
|
|
45847
45955
|
}, {
|
|
45848
|
-
PostgrestVersion: "14.
|
|
45956
|
+
PostgrestVersion: "14.17";
|
|
45849
45957
|
}>;
|
|
45850
45958
|
userId: string;
|
|
45851
45959
|
claims: import("@supabase/auth-js").JwtPayload;
|
|
@@ -64489,6 +64597,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
64489
64597
|
werkbon_package_items: {
|
|
64490
64598
|
Row: {
|
|
64491
64599
|
article_number: string | null;
|
|
64600
|
+
artikel_id: string | null;
|
|
64492
64601
|
created_at: string;
|
|
64493
64602
|
gtin: string | null;
|
|
64494
64603
|
id: string;
|
|
@@ -64506,6 +64615,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
64506
64615
|
};
|
|
64507
64616
|
Insert: {
|
|
64508
64617
|
article_number?: string | null;
|
|
64618
|
+
artikel_id?: string | null;
|
|
64509
64619
|
created_at?: string;
|
|
64510
64620
|
gtin?: string | null;
|
|
64511
64621
|
id?: string;
|
|
@@ -64523,6 +64633,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
64523
64633
|
};
|
|
64524
64634
|
Update: {
|
|
64525
64635
|
article_number?: string | null;
|
|
64636
|
+
artikel_id?: string | null;
|
|
64526
64637
|
created_at?: string;
|
|
64527
64638
|
gtin?: string | null;
|
|
64528
64639
|
id?: string;
|
|
@@ -64539,6 +64650,12 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
64539
64650
|
updated_at?: string;
|
|
64540
64651
|
};
|
|
64541
64652
|
Relationships: [{
|
|
64653
|
+
foreignKeyName: "werkbon_package_items_artikel_id_fkey";
|
|
64654
|
+
columns: ["artikel_id"];
|
|
64655
|
+
isOneToOne: false;
|
|
64656
|
+
referencedRelation: "artikelen_cache";
|
|
64657
|
+
referencedColumns: ["id"];
|
|
64658
|
+
}, {
|
|
64542
64659
|
foreignKeyName: "werkbon_package_items_package_id_fkey";
|
|
64543
64660
|
columns: ["package_id"];
|
|
64544
64661
|
isOneToOne: false;
|
|
@@ -65761,6 +65878,20 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
65761
65878
|
referencedColumns: ["id"];
|
|
65762
65879
|
}];
|
|
65763
65880
|
};
|
|
65881
|
+
v_werkbon_totalen: {
|
|
65882
|
+
Row: {
|
|
65883
|
+
packages_cents: number | null;
|
|
65884
|
+
packages_minutes: number | null;
|
|
65885
|
+
werkbon_id: string | null;
|
|
65886
|
+
};
|
|
65887
|
+
Relationships: [{
|
|
65888
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
65889
|
+
columns: ["werkbon_id"];
|
|
65890
|
+
isOneToOne: false;
|
|
65891
|
+
referencedRelation: "werkbonnen";
|
|
65892
|
+
referencedColumns: ["id"];
|
|
65893
|
+
}];
|
|
65894
|
+
};
|
|
65764
65895
|
};
|
|
65765
65896
|
Functions: {
|
|
65766
65897
|
_floriday_schedule_job: {
|
|
@@ -67697,6 +67828,25 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
67697
67828
|
};
|
|
67698
67829
|
Returns: string;
|
|
67699
67830
|
};
|
|
67831
|
+
pakket_suggesties_voor_tekst: {
|
|
67832
|
+
Args: {
|
|
67833
|
+
_tekst: string;
|
|
67834
|
+
};
|
|
67835
|
+
Returns: {
|
|
67836
|
+
hit_type: string;
|
|
67837
|
+
package_id: string;
|
|
67838
|
+
priority: number;
|
|
67839
|
+
}[];
|
|
67840
|
+
};
|
|
67841
|
+
pakket_voor_reistijd: {
|
|
67842
|
+
Args: {
|
|
67843
|
+
_minuten: number;
|
|
67844
|
+
};
|
|
67845
|
+
Returns: {
|
|
67846
|
+
package_id: string;
|
|
67847
|
+
priority: number;
|
|
67848
|
+
}[];
|
|
67849
|
+
};
|
|
67700
67850
|
pick_active_printers: {
|
|
67701
67851
|
Args: never;
|
|
67702
67852
|
Returns: {
|
|
@@ -68747,6 +68897,18 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
68747
68897
|
Args: never;
|
|
68748
68898
|
Returns: string;
|
|
68749
68899
|
};
|
|
68900
|
+
werkbon_totalen: {
|
|
68901
|
+
Args: {
|
|
68902
|
+
_werkbon_id: string;
|
|
68903
|
+
};
|
|
68904
|
+
Returns: {
|
|
68905
|
+
materials_cents: number;
|
|
68906
|
+
packages_cents: number;
|
|
68907
|
+
packages_minutes: number;
|
|
68908
|
+
total_cents: number;
|
|
68909
|
+
total_minutes: number;
|
|
68910
|
+
}[];
|
|
68911
|
+
};
|
|
68750
68912
|
wo_create_from_source: {
|
|
68751
68913
|
Args: {
|
|
68752
68914
|
_payload?: import("../integrations/supabase/types.js").Json;
|
|
@@ -68785,7 +68947,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
68785
68947
|
};
|
|
68786
68948
|
CompositeTypes: { [_ in never]: never; };
|
|
68787
68949
|
}, {
|
|
68788
|
-
PostgrestVersion: "14.
|
|
68950
|
+
PostgrestVersion: "14.17";
|
|
68789
68951
|
}>;
|
|
68790
68952
|
userId: string;
|
|
68791
68953
|
claims: import("@supabase/auth-js").JwtPayload;
|
|
@@ -87423,6 +87585,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
87423
87585
|
werkbon_package_items: {
|
|
87424
87586
|
Row: {
|
|
87425
87587
|
article_number: string | null;
|
|
87588
|
+
artikel_id: string | null;
|
|
87426
87589
|
created_at: string;
|
|
87427
87590
|
gtin: string | null;
|
|
87428
87591
|
id: string;
|
|
@@ -87440,6 +87603,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
87440
87603
|
};
|
|
87441
87604
|
Insert: {
|
|
87442
87605
|
article_number?: string | null;
|
|
87606
|
+
artikel_id?: string | null;
|
|
87443
87607
|
created_at?: string;
|
|
87444
87608
|
gtin?: string | null;
|
|
87445
87609
|
id?: string;
|
|
@@ -87457,6 +87621,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
87457
87621
|
};
|
|
87458
87622
|
Update: {
|
|
87459
87623
|
article_number?: string | null;
|
|
87624
|
+
artikel_id?: string | null;
|
|
87460
87625
|
created_at?: string;
|
|
87461
87626
|
gtin?: string | null;
|
|
87462
87627
|
id?: string;
|
|
@@ -87473,6 +87638,12 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
87473
87638
|
updated_at?: string;
|
|
87474
87639
|
};
|
|
87475
87640
|
Relationships: [{
|
|
87641
|
+
foreignKeyName: "werkbon_package_items_artikel_id_fkey";
|
|
87642
|
+
columns: ["artikel_id"];
|
|
87643
|
+
isOneToOne: false;
|
|
87644
|
+
referencedRelation: "artikelen_cache";
|
|
87645
|
+
referencedColumns: ["id"];
|
|
87646
|
+
}, {
|
|
87476
87647
|
foreignKeyName: "werkbon_package_items_package_id_fkey";
|
|
87477
87648
|
columns: ["package_id"];
|
|
87478
87649
|
isOneToOne: false;
|
|
@@ -88695,6 +88866,20 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
88695
88866
|
referencedColumns: ["id"];
|
|
88696
88867
|
}];
|
|
88697
88868
|
};
|
|
88869
|
+
v_werkbon_totalen: {
|
|
88870
|
+
Row: {
|
|
88871
|
+
packages_cents: number | null;
|
|
88872
|
+
packages_minutes: number | null;
|
|
88873
|
+
werkbon_id: string | null;
|
|
88874
|
+
};
|
|
88875
|
+
Relationships: [{
|
|
88876
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
88877
|
+
columns: ["werkbon_id"];
|
|
88878
|
+
isOneToOne: false;
|
|
88879
|
+
referencedRelation: "werkbonnen";
|
|
88880
|
+
referencedColumns: ["id"];
|
|
88881
|
+
}];
|
|
88882
|
+
};
|
|
88698
88883
|
};
|
|
88699
88884
|
Functions: {
|
|
88700
88885
|
_floriday_schedule_job: {
|
|
@@ -90631,6 +90816,25 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
90631
90816
|
};
|
|
90632
90817
|
Returns: string;
|
|
90633
90818
|
};
|
|
90819
|
+
pakket_suggesties_voor_tekst: {
|
|
90820
|
+
Args: {
|
|
90821
|
+
_tekst: string;
|
|
90822
|
+
};
|
|
90823
|
+
Returns: {
|
|
90824
|
+
hit_type: string;
|
|
90825
|
+
package_id: string;
|
|
90826
|
+
priority: number;
|
|
90827
|
+
}[];
|
|
90828
|
+
};
|
|
90829
|
+
pakket_voor_reistijd: {
|
|
90830
|
+
Args: {
|
|
90831
|
+
_minuten: number;
|
|
90832
|
+
};
|
|
90833
|
+
Returns: {
|
|
90834
|
+
package_id: string;
|
|
90835
|
+
priority: number;
|
|
90836
|
+
}[];
|
|
90837
|
+
};
|
|
90634
90838
|
pick_active_printers: {
|
|
90635
90839
|
Args: never;
|
|
90636
90840
|
Returns: {
|
|
@@ -91681,6 +91885,18 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
91681
91885
|
Args: never;
|
|
91682
91886
|
Returns: string;
|
|
91683
91887
|
};
|
|
91888
|
+
werkbon_totalen: {
|
|
91889
|
+
Args: {
|
|
91890
|
+
_werkbon_id: string;
|
|
91891
|
+
};
|
|
91892
|
+
Returns: {
|
|
91893
|
+
materials_cents: number;
|
|
91894
|
+
packages_cents: number;
|
|
91895
|
+
packages_minutes: number;
|
|
91896
|
+
total_cents: number;
|
|
91897
|
+
total_minutes: number;
|
|
91898
|
+
}[];
|
|
91899
|
+
};
|
|
91684
91900
|
wo_create_from_source: {
|
|
91685
91901
|
Args: {
|
|
91686
91902
|
_payload?: import("../integrations/supabase/types.js").Json;
|
|
@@ -91719,7 +91935,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
91719
91935
|
};
|
|
91720
91936
|
CompositeTypes: { [_ in never]: never; };
|
|
91721
91937
|
}, {
|
|
91722
|
-
PostgrestVersion: "14.
|
|
91938
|
+
PostgrestVersion: "14.17";
|
|
91723
91939
|
}>;
|
|
91724
91940
|
userId: string;
|
|
91725
91941
|
claims: import("@supabase/auth-js").JwtPayload;
|