@flowselections/floriday-klanten-module 1.0.105 → 1.0.107
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-lib/assets/floriday-logo.png.asset.json +11 -0
- package/dist-lib/components/klanten/BewerkKlant.js +3 -3
- package/dist-lib/components/klanten/BulkStickerUploadDialog.d.ts +1 -1
- package/dist-lib/components/klanten/BulkStickerUploadDialog.d.ts.map +1 -1
- package/dist-lib/components/klanten/BulkStickerUploadDialog.js +2 -2
- package/dist-lib/components/klanten/CarrierPicker.d.ts +43 -19
- package/dist-lib/components/klanten/CarrierPicker.d.ts.map +1 -1
- package/dist-lib/components/klanten/CustomerAssortmentTab.d.ts.map +1 -1
- package/dist-lib/components/klanten/CustomerAssortmentTab.js +4 -3
- package/dist-lib/components/klanten/CustomerStickerFormatDialog.js +2 -2
- package/dist-lib/components/klanten/DeliveryLocationsTab.js +1 -1
- package/dist-lib/components/klanten/GroupedKlantDetail.js +13 -13
- package/dist-lib/components/klanten/ImportKlanten.js +1 -1
- package/dist-lib/components/klanten/KlantDetail.js +18 -18
- package/dist-lib/components/klanten/KlantFormulier.js +2 -2
- package/dist-lib/components/klanten/LocationGlns.d.ts +2 -2
- package/dist-lib/components/klanten/LocationGlns.d.ts.map +1 -1
- package/dist-lib/components/klanten/LogisticsStrategyCard.d.ts +7 -0
- package/dist-lib/components/klanten/LogisticsStrategyCard.d.ts.map +1 -0
- package/dist-lib/components/klanten/LogisticsStrategyCard.js +35 -0
- package/dist-lib/components/klanten/NetwerkPagina.js +1 -1
- package/dist-lib/components/klanten/NieuweKlant.js +3 -3
- package/dist-lib/components/klanten/OvernemenTwinfieldKlant.js +2 -2
- package/dist-lib/components/klanten/StickerBeleidKeuze.d.ts +5 -0
- package/dist-lib/components/klanten/StickerBeleidKeuze.d.ts.map +1 -0
- package/dist-lib/components/klanten/StickerBeleidKeuze.js +24 -0
- package/dist-lib/components/klanten/StickerFormaatKeuze.d.ts +1 -1
- package/dist-lib/components/klanten/StickerFormaatKeuze.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.js +1 -1
- package/dist-lib/integrations/supabase/client.server.js +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1008 -216
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/accounting/exact/sync.server.d.ts +1 -0
- package/dist-lib/lib/accounting/exact/sync.server.d.ts.map +1 -1
- package/dist-lib/lib/accounting/exact/sync.server.js +8 -172
- package/dist-lib/lib/accounting/twinfield/sandbox-rmw.server.d.ts +2 -2
- package/dist-lib/lib/accounting/twinfield/sandbox-rmw.server.js +2 -2
- package/dist-lib/lib/floriday.server.d.ts +55 -0
- package/dist-lib/lib/floriday.server.d.ts.map +1 -0
- package/dist-lib/lib/floriday.server.js +765 -0
- package/dist-lib/lib/sticker-beleid.d.ts +9 -0
- package/dist-lib/lib/sticker-beleid.d.ts.map +1 -0
- package/dist-lib/lib/sticker-beleid.functions.d.ts +27 -0
- package/dist-lib/lib/sticker-beleid.functions.d.ts.map +1 -0
- package/dist-lib/lib/sticker-beleid.functions.js +34 -0
- package/dist-lib/lib/sticker-beleid.js +13 -0
- package/package.json +2 -2
- package/schema/klanten.sql +63 -9
- package/dist-lib/components/klanten/CarrierAdminCard.d.ts +0 -3
- package/dist-lib/components/klanten/CarrierAdminCard.d.ts.map +0 -1
- package/dist-lib/components/klanten/CarrierAdminCard.js +0 -23
- package/dist-lib/components/klanten/FloridayAutoPromoteCard.d.ts +0 -3
- package/dist-lib/components/klanten/FloridayAutoPromoteCard.d.ts.map +0 -1
- package/dist-lib/components/klanten/FloridayAutoPromoteCard.js +0 -31
- package/dist-lib/components/klanten/StickerSizePreviewCard.d.ts +0 -3
- package/dist-lib/components/klanten/StickerSizePreviewCard.d.ts.map +0 -1
- package/dist-lib/components/klanten/StickerSizePreviewCard.js +0 -27
- package/dist-lib/components/klanten/TwinfieldQueueAdminCard.d.ts +0 -3
- package/dist-lib/components/klanten/TwinfieldQueueAdminCard.d.ts.map +0 -1
- package/dist-lib/components/klanten/TwinfieldQueueAdminCard.js +0 -36
- package/dist-lib/lib/accounting/twinfield/field-coverage.test.d.ts +0 -2
- package/dist-lib/lib/accounting/twinfield/field-coverage.test.d.ts.map +0 -1
- package/dist-lib/lib/accounting/twinfield/field-coverage.test.js +0 -179
- package/dist-lib/lib/countries.test.d.ts +0 -2
- package/dist-lib/lib/countries.test.d.ts.map +0 -1
- package/dist-lib/lib/countries.test.js +0 -13
- package/dist-lib/lib/customer-defaults.test.d.ts +0 -2
- package/dist-lib/lib/customer-defaults.test.d.ts.map +0 -1
- package/dist-lib/lib/customer-defaults.test.js +0 -26
- package/dist-lib/lib/customer-schemas.test.d.ts +0 -2
- package/dist-lib/lib/customer-schemas.test.d.ts.map +0 -1
- package/dist-lib/lib/customer-schemas.test.js +0 -22
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"asset_id": "3e27c03f-e308-40e7-ac35-07bf1161c1e2",
|
|
4
|
+
"project_id": "dfdc14cf-30fe-4e0b-8abc-a3ae973943d8",
|
|
5
|
+
"url": "/__l5e/assets-v1/3e27c03f-e308-40e7-ac35-07bf1161c1e2/floriday-logo.png",
|
|
6
|
+
"r2_key": "a/v1/dfdc14cf-30fe-4e0b-8abc-a3ae973943d8/3e27c03f-e308-40e7-ac35-07bf1161c1e2/floriday-logo.png",
|
|
7
|
+
"original_filename": "floriday-logo.png",
|
|
8
|
+
"size": 6921,
|
|
9
|
+
"content_type": "image/png",
|
|
10
|
+
"created_at": "2026-07-07T13:17:11Z"
|
|
11
|
+
}
|
|
@@ -9,11 +9,11 @@ import { useServerFn } from "@tanstack/react-start";
|
|
|
9
9
|
import { toast } from "@flowselections/core";
|
|
10
10
|
import { getCustomer, updateCustomer } from "../../lib/customers.functions.js";
|
|
11
11
|
import { decodeDeep } from "../../lib/decode-html.js";
|
|
12
|
-
import { BackLink } from "
|
|
13
|
-
import { KlantFormulier, emptyKlantFormValues, } from "
|
|
12
|
+
import { BackLink } from "../../components/klanten/BackLink.js";
|
|
13
|
+
import { KlantFormulier, emptyKlantFormValues, } from "../../components/klanten/KlantFormulier.js";
|
|
14
14
|
import { resolveCustomerKeyForLocalCustomer } from "../../lib/price-groups-local.functions.js";
|
|
15
15
|
import { getCustomerStickerSettings } from "../../lib/customer-stickers.functions.js";
|
|
16
|
-
import { CustomerStickerFormatDialog } from "
|
|
16
|
+
import { CustomerStickerFormatDialog } from "../../components/klanten/CustomerStickerFormatDialog.js";
|
|
17
17
|
function StickerFormatSection({ customerId }) {
|
|
18
18
|
const resolveKey = useServerFn(resolveCustomerKeyForLocalCustomer);
|
|
19
19
|
const getFormat = useServerFn(getCustomerStickerSettings);
|
|
@@ -17,7 +17,7 @@ export declare function BulkStickerUploadDialog({ customerKey, products, onDone,
|
|
|
17
17
|
onDone: () => void;
|
|
18
18
|
/** Optioneel; standaard 'product' (gedrag zoals altijd). */
|
|
19
19
|
soort?: StickerSoort;
|
|
20
|
-
/** Optioneel: eerst laten kiezen tussen
|
|
20
|
+
/** Optioneel: eerst laten kiezen tussen potstickers en fuststickers. */
|
|
21
21
|
soortKiezen?: boolean;
|
|
22
22
|
}): import("react").JSX.Element;
|
|
23
23
|
//# sourceMappingURL=BulkStickerUploadDialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BulkStickerUploadDialog.d.ts","sourceRoot":"","sources":["../../../src/components/klanten/BulkStickerUploadDialog.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAWxD,MAAM,MAAM,WAAW,GAAG;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,OAAO,CAAC;IACpB,uFAAuF;IACvF,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,kEAAkE;AAClE,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,EAAE,KAAK,EAAE,YAAY,GAAG,OAAO,CAGpG;AAsDD,wBAAgB,uBAAuB,CAAC,EACtC,WAAW,EACX,QAAQ,EACR,MAAM,EACN,KAAK,EAAE,SAAqB,EAC5B,WAAmB,GACpB,EAAE;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,4DAA4D;IAC5D,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,
|
|
1
|
+
{"version":3,"file":"BulkStickerUploadDialog.d.ts","sourceRoot":"","sources":["../../../src/components/klanten/BulkStickerUploadDialog.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAWxD,MAAM,MAAM,WAAW,GAAG;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,OAAO,CAAC;IACpB,uFAAuF;IACvF,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,kEAAkE;AAClE,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,EAAE,KAAK,EAAE,YAAY,GAAG,OAAO,CAGpG;AAsDD,wBAAgB,uBAAuB,CAAC,EACtC,WAAW,EACX,QAAQ,EACR,MAAM,EACN,KAAK,EAAE,SAAqB,EAC5B,WAAmB,GACpB,EAAE;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,4DAA4D;IAC5D,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,wEAAwE;IACxE,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,+BAyhBA"}
|
|
@@ -273,8 +273,8 @@ export function BulkStickerUploadDialog({ customerKey, products, onDone, soort:
|
|
|
273
273
|
} }), phase === "uploading" || phase === "matching" ? (_jsxs(Button, { type: "button", variant: "outline", size: "sm", disabled: true, children: [_jsx(Loader2, { className: "h-4 w-4 mr-1.5 animate-spin" }), phase === "uploading"
|
|
274
274
|
? `Stickers laden… ${progress.done}/${progress.total}`
|
|
275
275
|
: "AI koppelt stickers…"] })) : phase === "review" || phase === "saving" ? (_jsxs(Button, { type: "button", size: "sm", className: "bg-success text-success-foreground hover:bg-success/90", onClick: () => setOpen(true), children: [_jsx(Sparkles, { className: "h-4 w-4 mr-1.5" }), "Keuren (", rows.filter((r) => r.tradeItemKey).length, ")"] })) : (_jsxs(Button, { type: "button", variant: "outline", size: "sm", onClick: () => setOpen(true), children: [_jsx(Upload, { className: "h-4 w-4 mr-1.5" }), "Stickers in bulk"] })), _jsx(Dialog, { open: open, onOpenChange: (v) => (v ? setOpen(true) : void close(true)), children: _jsxs(DialogContent, { className: "flex max-h-[90vh] w-full max-w-[min(1400px,95vw)] flex-col", children: [_jsx(DialogHeader, { children: _jsx(DialogTitle, { children: soortKiezen || soort === "fust"
|
|
276
|
-
? `${soort === "fust" ? "Fuststickers" : "
|
|
277
|
-
: "Stickers in bulk uploaden" }) }), phase === "idle" && soortKiezen && (_jsx("div", { className: "flex gap-2", role: "radiogroup", "aria-label": "Soort sticker", children: ["product", "fust"].map((k) => (_jsx(Button, { type: "button", size: "sm", role: "radio", "aria-checked": soort === k, variant: soort === k ? "default" : "outline", onClick: () => setSoort(k), children: k === "product" ? "
|
|
276
|
+
? `${soort === "fust" ? "Fuststickers" : "Potstickers"} in bulk uploaden`
|
|
277
|
+
: "Stickers in bulk uploaden" }) }), phase === "idle" && soortKiezen && (_jsx("div", { className: "flex gap-2", role: "radiogroup", "aria-label": "Soort sticker", children: ["product", "fust"].map((k) => (_jsx(Button, { type: "button", size: "sm", role: "radio", "aria-checked": soort === k, variant: soort === k ? "default" : "outline", onClick: () => setSoort(k), children: k === "product" ? "Potstickers" : "Fuststickers" }, k))) })), phase === "idle" && (_jsxs("div", { className: "rounded-lg border border-dashed p-10 text-center", onDragOver: (e) => e.preventDefault(), onDrop: (e) => {
|
|
278
278
|
e.preventDefault();
|
|
279
279
|
void handleFiles(e.dataTransfer.files);
|
|
280
280
|
}, children: [_jsx("p", { className: "text-sm text-muted-foreground mb-4", children: "Sleep een map of losse stickerbestanden hierheen (PDF, PNG, JPG of SVG, max. 10 MB per bestand)." }), _jsxs("div", { className: "flex justify-center gap-2", children: [_jsxs(Button, { type: "button", onClick: () => folderRef.current?.click(), children: [_jsx(FolderOpen, { className: "h-4 w-4 mr-1.5" }), "Map kiezen"] }), _jsx(Button, { type: "button", variant: "outline", onClick: () => filesRef.current?.click(), children: "Bestanden kiezen" })] })] })), (phase === "uploading" || phase === "matching") && (_jsxs("div", { className: "flex items-center gap-3 p-10 justify-center text-sm text-muted-foreground", children: [_jsx(Loader2, { className: "h-4 w-4 animate-spin" }), phase === "uploading"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type LocationCarrierChoice, type ProposalResult } from "../../lib/carrier-choice.js";
|
|
2
2
|
export declare function useCarrierOptions(): {
|
|
3
3
|
ordered: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
4
|
-
data: {
|
|
4
|
+
data: NoInfer<{
|
|
5
5
|
carriers: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
6
6
|
usage: Record<string, number>;
|
|
7
|
-
}
|
|
7
|
+
}>;
|
|
8
8
|
error: Error;
|
|
9
9
|
isError: true;
|
|
10
10
|
isPending: false;
|
|
@@ -27,17 +27,21 @@ export declare function useCarrierOptions(): {
|
|
|
27
27
|
isRefetching: boolean;
|
|
28
28
|
isStale: boolean;
|
|
29
29
|
isEnabled: boolean;
|
|
30
|
-
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
|
|
30
|
+
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<NoInfer<{
|
|
31
31
|
carriers: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
32
32
|
usage: Record<string, number>;
|
|
33
|
-
}
|
|
33
|
+
}>, Error>>;
|
|
34
34
|
fetchStatus: import("@tanstack/query-core").FetchStatus;
|
|
35
|
+
promise: Promise<NoInfer<{
|
|
36
|
+
carriers: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
37
|
+
usage: Record<string, number>;
|
|
38
|
+
}>>;
|
|
35
39
|
} | {
|
|
36
40
|
ordered: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
37
|
-
data: {
|
|
41
|
+
data: NoInfer<{
|
|
38
42
|
carriers: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
39
43
|
usage: Record<string, number>;
|
|
40
|
-
}
|
|
44
|
+
}>;
|
|
41
45
|
error: null;
|
|
42
46
|
isError: false;
|
|
43
47
|
isPending: false;
|
|
@@ -60,11 +64,15 @@ export declare function useCarrierOptions(): {
|
|
|
60
64
|
isRefetching: boolean;
|
|
61
65
|
isStale: boolean;
|
|
62
66
|
isEnabled: boolean;
|
|
63
|
-
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
|
|
67
|
+
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<NoInfer<{
|
|
64
68
|
carriers: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
65
69
|
usage: Record<string, number>;
|
|
66
|
-
}
|
|
70
|
+
}>, Error>>;
|
|
67
71
|
fetchStatus: import("@tanstack/query-core").FetchStatus;
|
|
72
|
+
promise: Promise<NoInfer<{
|
|
73
|
+
carriers: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
74
|
+
usage: Record<string, number>;
|
|
75
|
+
}>>;
|
|
68
76
|
} | {
|
|
69
77
|
ordered: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
70
78
|
data: undefined;
|
|
@@ -90,11 +98,15 @@ export declare function useCarrierOptions(): {
|
|
|
90
98
|
isRefetching: boolean;
|
|
91
99
|
isStale: boolean;
|
|
92
100
|
isEnabled: boolean;
|
|
93
|
-
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
|
|
101
|
+
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<NoInfer<{
|
|
94
102
|
carriers: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
95
103
|
usage: Record<string, number>;
|
|
96
|
-
}
|
|
104
|
+
}>, Error>>;
|
|
97
105
|
fetchStatus: import("@tanstack/query-core").FetchStatus;
|
|
106
|
+
promise: Promise<NoInfer<{
|
|
107
|
+
carriers: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
108
|
+
usage: Record<string, number>;
|
|
109
|
+
}>>;
|
|
98
110
|
} | {
|
|
99
111
|
ordered: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
100
112
|
data: undefined;
|
|
@@ -120,11 +132,15 @@ export declare function useCarrierOptions(): {
|
|
|
120
132
|
isRefetching: boolean;
|
|
121
133
|
isStale: boolean;
|
|
122
134
|
isEnabled: boolean;
|
|
123
|
-
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
|
|
135
|
+
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<NoInfer<{
|
|
124
136
|
carriers: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
125
137
|
usage: Record<string, number>;
|
|
126
|
-
}
|
|
138
|
+
}>, Error>>;
|
|
127
139
|
fetchStatus: import("@tanstack/query-core").FetchStatus;
|
|
140
|
+
promise: Promise<NoInfer<{
|
|
141
|
+
carriers: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
142
|
+
usage: Record<string, number>;
|
|
143
|
+
}>>;
|
|
128
144
|
} | {
|
|
129
145
|
ordered: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
130
146
|
data: undefined;
|
|
@@ -150,17 +166,21 @@ export declare function useCarrierOptions(): {
|
|
|
150
166
|
isRefetching: boolean;
|
|
151
167
|
isStale: boolean;
|
|
152
168
|
isEnabled: boolean;
|
|
153
|
-
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
|
|
169
|
+
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<NoInfer<{
|
|
154
170
|
carriers: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
155
171
|
usage: Record<string, number>;
|
|
156
|
-
}
|
|
172
|
+
}>, Error>>;
|
|
157
173
|
fetchStatus: import("@tanstack/query-core").FetchStatus;
|
|
174
|
+
promise: Promise<NoInfer<{
|
|
175
|
+
carriers: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
176
|
+
usage: Record<string, number>;
|
|
177
|
+
}>>;
|
|
158
178
|
} | {
|
|
159
179
|
ordered: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
160
|
-
data: {
|
|
180
|
+
data: NoInfer<{
|
|
161
181
|
carriers: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
162
182
|
usage: Record<string, number>;
|
|
163
|
-
}
|
|
183
|
+
}>;
|
|
164
184
|
isError: false;
|
|
165
185
|
error: null;
|
|
166
186
|
isPending: false;
|
|
@@ -183,11 +203,15 @@ export declare function useCarrierOptions(): {
|
|
|
183
203
|
isRefetching: boolean;
|
|
184
204
|
isStale: boolean;
|
|
185
205
|
isEnabled: boolean;
|
|
186
|
-
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
|
|
206
|
+
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<NoInfer<{
|
|
187
207
|
carriers: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
188
208
|
usage: Record<string, number>;
|
|
189
|
-
}
|
|
209
|
+
}>, Error>>;
|
|
190
210
|
fetchStatus: import("@tanstack/query-core").FetchStatus;
|
|
211
|
+
promise: Promise<NoInfer<{
|
|
212
|
+
carriers: import("../../lib/carrier-choice.js").CarrierOption[];
|
|
213
|
+
usage: Record<string, number>;
|
|
214
|
+
}>>;
|
|
191
215
|
};
|
|
192
216
|
export type ProposalItem = {
|
|
193
217
|
key: string;
|
|
@@ -195,7 +219,7 @@ export type ProposalItem = {
|
|
|
195
219
|
customer_id: string | null;
|
|
196
220
|
};
|
|
197
221
|
/** Live voorstel van de Logistieke Engine; wordt nooit opgeslagen. */
|
|
198
|
-
export declare function useCarrierProposals(items: ProposalItem[], enabled?: boolean): import("@tanstack/react-query").UseQueryResult<Record<string, ProposalResult
|
|
222
|
+
export declare function useCarrierProposals(items: ProposalItem[], enabled?: boolean): import("@tanstack/react-query").UseQueryResult<NoInfer<Record<string, ProposalResult>>, Error>;
|
|
199
223
|
/** Eén regel: welke vervoerder het wordt en waarom, plus de waarschuwing van de Engine. */
|
|
200
224
|
export declare function ProposalLine({ result, loading, error, onRetry, compact, }: {
|
|
201
225
|
result: ProposalResult | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarrierPicker.d.ts","sourceRoot":"","sources":["../../../src/components/klanten/CarrierPicker.tsx"],"names":[],"mappings":"AAOA,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACpB,MAAM,0BAA0B,CAAC;AAGlC,wBAAgB,iBAAiB
|
|
1
|
+
{"version":3,"file":"CarrierPicker.d.ts","sourceRoot":"","sources":["../../../src/components/klanten/CarrierPicker.tsx"],"names":[],"mappings":"AAOA,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACpB,MAAM,0BAA0B,CAAC;AAGlC,wBAAgB,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQhC;AAED,MAAM,MAAM,YAAY,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC;AAEnG,sEAAsE;AACtE,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,YAAY,EAAE,EAAE,OAAO,UAAO,kGAQxE;AAED,2FAA2F;AAC3F,wBAAgB,YAAY,CAAC,EAC3B,MAAM,EACN,OAAO,EACP,KAAK,EACL,OAAO,EACP,OAAO,GACR,EAAE;IACD,MAAM,EAAE,cAAc,GAAG,SAAS,CAAC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,+BAmCA;AAMD;;;GAGG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EACD;IACE,OAAO,EAAE,UAAU,CAAC;IACpB,KAAK,EAAE,qBAAqB,CAAC;IAC7B,QAAQ,EAAE,CAAC,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAC7C,SAAS,EAAE,MAAM,CAAC;CACnB,GACD;IACE,OAAO,EAAE,UAAU,CAAC;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACtC,+BA+CN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomerAssortmentTab.d.ts","sourceRoot":"","sources":["../../../src/components/klanten/CustomerAssortmentTab.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CustomerAssortmentTab.d.ts","sourceRoot":"","sources":["../../../src/components/klanten/CustomerAssortmentTab.tsx"],"names":[],"mappings":"AA8BA,wBAAgB,qBAAqB,CAAC,EACpC,WAAW,EACX,cAAc,EACd,UAAU,EACV,YAAmB,GACpB,EAAE;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,yDAAyD;IACzD,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,6FAA6F;IAC7F,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B,+BAicA"}
|
|
@@ -19,6 +19,7 @@ import { BulkStickerUploadDialog } from "./BulkStickerUploadDialog.js";
|
|
|
19
19
|
import { CustomerArticleAliasDialog } from "./CustomerArticleAliasDialog.js";
|
|
20
20
|
import { listKlantArtikelAliases } from "../../lib/klant-artikel-alias.functions.js";
|
|
21
21
|
import { kiesAlias } from "../../lib/klant-artikel-alias.js";
|
|
22
|
+
import { StickerBeleidKeuze } from "./StickerBeleidKeuze.js";
|
|
22
23
|
function money(value, currency) {
|
|
23
24
|
if (value == null)
|
|
24
25
|
return "—";
|
|
@@ -152,9 +153,9 @@ export function CustomerAssortmentTab({ customerKey, organizationId, customerId,
|
|
|
152
153
|
}
|
|
153
154
|
return (_jsxs("div", { className: "space-y-3", children: [_jsxs("div", { className: "flex flex-wrap items-center gap-x-4 gap-y-1 text-xs text-muted-foreground", children: [_jsx("span", { className: "font-medium text-foreground", children: bronLabel }), _jsxs("span", { children: [_jsx("strong", { className: "text-foreground", children: ownCount }), " geselecteerd assortiment"] }), _jsxs("span", { children: [_jsx("strong", { className: "text-foreground", children: data?.summary.total ?? 0 }), " artikelen in ons aanbod"] }), _jsxs("span", { children: [_jsx("strong", { className: "text-foreground", children: data?.summary.priced ?? 0 }), " met klantprijs"] }), pg ? (_jsxs("span", { children: ["Prijsgroep: ", _jsx("strong", { className: "text-foreground", children: pg.name }), pg.pricing_mode === "calculated" && pg.calc_value
|
|
154
155
|
? ` (${pg.calc_type === "surcharge" ? "toeslag" : "korting"} ${pg.calc_value}${pg.calc_value_type === "percentage" ? "%" : ` ${currency}`})`
|
|
155
|
-
: ""] })) : (_jsx("span", { className: "text-warning-soft-foreground", children: "Geen prijsgroep ingesteld voor deze klant" })), data?.summary.last_synced_at && (_jsxs("span", { children: ["laatste sync: ", formatDateTime(data.summary.last_synced_at)] }))] }), _jsxs("div", { className: "flex flex-wrap items-center gap-2 text-xs text-muted-foreground", children: [_jsxs("span", { children: ["Formaat
|
|
156
|
+
: ""] })) : (_jsx("span", { className: "text-warning-soft-foreground", children: "Geen prijsgroep ingesteld voor deze klant" })), data?.summary.last_synced_at && (_jsxs("span", { children: ["laatste sync: ", formatDateTime(data.summary.last_synced_at)] }))] }), customerId && _jsx(StickerBeleidKeuze, { customerId: customerId }), _jsxs("div", { className: "flex flex-wrap items-center gap-2 text-xs text-muted-foreground", children: [_jsxs("span", { children: ["Formaat potsticker:", " ", _jsx("strong", { className: "text-foreground", children: defaultFormat
|
|
156
157
|
? `${defaultFormat.width_mm} × ${defaultFormat.height_mm} mm`
|
|
157
|
-
: "—" })] }), _jsx(CustomerStickerFormatDialog, { customerKey: customerKey, format: defaultFormat, trigger: _jsx(Button, { type: "button", variant: "link", size: "sm", className: "h-auto p-0 text-xs", children: "wijzigen" }) }), _jsxs("span", { children: ["Formaat fuststicker:", " ", _jsx("strong", { className: "text-foreground", children: fustFormat ? `${fustFormat.width_mm} × ${fustFormat.height_mm} mm` : "—" })] }), _jsx(CustomerStickerFormatDialog, { customerKey: customerKey, format: fustFormat, soort: "fust", trigger: _jsx(Button, { type: "button", variant: "link", size: "sm", className: "h-auto p-0 text-xs", children: "wijzigen" }) }), _jsxs("span", { children: [_jsx("strong", { className: "text-foreground", children: stickerMap.size }), " artikelen met
|
|
158
|
+
: "—" })] }), _jsx(CustomerStickerFormatDialog, { customerKey: customerKey, format: defaultFormat, trigger: _jsx(Button, { type: "button", variant: "link", size: "sm", className: "h-auto p-0 text-xs", children: "wijzigen" }) }), _jsxs("span", { children: ["Formaat fuststicker:", " ", _jsx("strong", { className: "text-foreground", children: fustFormat ? `${fustFormat.width_mm} × ${fustFormat.height_mm} mm` : "—" })] }), _jsx(CustomerStickerFormatDialog, { customerKey: customerKey, format: fustFormat, soort: "fust", trigger: _jsx(Button, { type: "button", variant: "link", size: "sm", className: "h-auto p-0 text-xs", children: "wijzigen" }) }), _jsxs("span", { children: [_jsx("strong", { className: "text-foreground", children: stickerMap.size }), " artikelen met potsticker", " · ", _jsx("strong", { className: "text-foreground", children: fustMap.size }), " met fuststicker"] }), _jsx(BulkStickerUploadDialog, { customerKey: customerKey, products: items.map((i) => ({
|
|
158
159
|
key: stickerSleutel(i),
|
|
159
160
|
name: i.name,
|
|
160
161
|
code: i.supplier_article_code,
|
|
@@ -174,7 +175,7 @@ export function CustomerAssortmentTab({ customerKey, organizationId, customerId,
|
|
|
174
175
|
: "bg-card text-muted-foreground border-border hover:bg-muted"), children: "Alleen met prijs" }), _jsx("button", { type: "button", onClick: () => setOnlyWithoutSticker((v) => !v), className: "inline-flex items-center rounded-full border px-3 py-1 text-xs transition-colors " +
|
|
175
176
|
(onlyWithoutSticker
|
|
176
177
|
? "bg-primary text-primary-foreground border-primary"
|
|
177
|
-
: "bg-card text-muted-foreground border-border hover:bg-muted"), children: "Alleen zonder sticker" }), _jsx("div", { className: "ml-auto", children: _jsx(FloridayPriceImportDialog, { customerKey: customerKey, organizationId: organizationId }) })] }), _jsx(Card, { children: _jsx(CardContent, { className: "p-0", children: _jsxs(Table, { children: [_jsx(TableHeader, { children: _jsxs(TableRow, { children: [_jsx(TableHead, { className: "w-[64px]" }), _jsx(TableHead, { children: "Artikel" }), hasOwnAssortment && _jsx(TableHead, { children: "Assortiment" }), _jsx(TableHead, { children: "Verpakking" }), _jsx(TableHead, { className: "text-right", children: "Basisprijs" }), _jsx(TableHead, { className: "text-right", children: "Prijs voor klant" }), _jsx(TableHead, { children: "
|
|
178
|
+
: "bg-card text-muted-foreground border-border hover:bg-muted"), children: "Alleen zonder sticker" }), _jsx("div", { className: "ml-auto", children: _jsx(FloridayPriceImportDialog, { customerKey: customerKey, organizationId: organizationId }) })] }), _jsx(Card, { children: _jsx(CardContent, { className: "p-0", children: _jsxs(Table, { children: [_jsx(TableHeader, { children: _jsxs(TableRow, { children: [_jsx(TableHead, { className: "w-[64px]" }), _jsx(TableHead, { children: "Artikel" }), hasOwnAssortment && _jsx(TableHead, { children: "Assortiment" }), _jsx(TableHead, { children: "Verpakking" }), _jsx(TableHead, { className: "text-right", children: "Basisprijs" }), _jsx(TableHead, { className: "text-right", children: "Prijs voor klant" }), _jsx(TableHead, { children: "Potsticker" }), _jsx(TableHead, { children: "Fuststicker" })] }) }), _jsx(TableBody, { children: filtered.length === 0 ? (_jsx(TableRow, { children: _jsx(TableCell, { colSpan: hasOwnAssortment ? 8 : 7, className: "text-center py-6 text-muted-foreground text-sm", children: "Geen resultaten voor deze zoekopdracht." }) })) : filtered.map((i) => {
|
|
178
179
|
const packing = [
|
|
179
180
|
i.pieces_per_package != null ? `${i.pieces_per_package} per fust` : null,
|
|
180
181
|
i.packages_per_layer != null ? `${i.packages_per_layer} per laag` : null,
|
|
@@ -30,11 +30,11 @@ export function CustomerStickerFormatDialog({ customerKey, format, trigger, soor
|
|
|
30
30
|
onSuccess: () => {
|
|
31
31
|
qc.invalidateQueries({ queryKey: ["customer-stickers", customerKey] });
|
|
32
32
|
qc.invalidateQueries({ queryKey: ["customer-sticker-format", customerKey] });
|
|
33
|
-
toast.success(fust ? "Formaat fuststicker opgeslagen" : "
|
|
33
|
+
toast.success(fust ? "Formaat fuststicker opgeslagen" : "Formaat potsticker opgeslagen");
|
|
34
34
|
setOpen(false);
|
|
35
35
|
},
|
|
36
36
|
onError: (e) => toast.error(friendlyError(e, "Opslaan mislukt")),
|
|
37
37
|
});
|
|
38
38
|
const valid = keuze !== null;
|
|
39
|
-
return (_jsxs(_Fragment, { children: [_jsx("span", { onClick: () => setOpen(true), children: trigger ?? (_jsxs(Button, { type: "button", variant: "outline", size: "sm", children: [_jsx(Ruler, { className: "h-4 w-4 mr-2" }), fust ? "Formaat fuststicker" : "
|
|
39
|
+
return (_jsxs(_Fragment, { children: [_jsx("span", { onClick: () => setOpen(true), children: trigger ?? (_jsxs(Button, { type: "button", variant: "outline", size: "sm", children: [_jsx(Ruler, { className: "h-4 w-4 mr-2" }), fust ? "Formaat fuststicker" : "Formaat potsticker"] })) }), _jsx(Dialog, { open: open, onOpenChange: setOpen, children: _jsxs(DialogContent, { className: "max-w-sm", children: [_jsx(DialogHeader, { children: _jsx(DialogTitle, { children: fust ? "Formaat fuststicker van deze klant" : "Formaat potsticker van deze klant" }) }), _jsxs("div", { className: "space-y-1", children: [_jsx(Label, { htmlFor: fust ? "fust-sticker-formaat" : "sticker-formaat", children: "Formaat" }), _jsx(StickerFormaatKeuze, { id: fust ? "fust-sticker-formaat" : "sticker-formaat", widthMm: format?.width_mm, heightMm: format?.height_mm, value: sleutel, onChange: (f) => { setKeuze(f); setSleutel(f.sleutel); } })] }), _jsx("p", { className: "text-xs text-muted-foreground", children: "Stickers worden bij het printen passend geschaald naar dit formaat." }), _jsxs(DialogFooter, { children: [_jsx(Button, { type: "button", variant: "outline", onClick: () => setOpen(false), children: "Annuleren" }), _jsx(Button, { type: "button", disabled: !valid || mut.isPending, onClick: () => mut.mutate(), children: "Opslaan" })] })] }) })] }));
|
|
40
40
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { friendlyError } from "../../lib/errors.js";
|
|
3
|
-
import { useCustomerDefaults } from "
|
|
3
|
+
import { useCustomerDefaults } from "../../components/klanten/useCustomerDefaults.js";
|
|
4
4
|
import { useMemo, useRef, useState } from "react";
|
|
5
5
|
import { useQuery, useMutation, useQueryClient } from "@tanstack/react-query";
|
|
6
6
|
import { useServerFn } from "@tanstack/react-start";
|
|
@@ -9,28 +9,28 @@ import { useEffect, useState } from "react";
|
|
|
9
9
|
import { Card, CardContent, Badge, Button, toast, Tabs, TabsList, TabsTrigger, TabsContent, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@flowselections/core";
|
|
10
10
|
import { Mail, MapPin, Phone, Pencil, UserX } from "lucide-react";
|
|
11
11
|
import { TableSkeleton, InlineAlert, EmptyState as FsEmptyState } from "../fs-ui/index.js";
|
|
12
|
-
import { BackLink } from "
|
|
12
|
+
import { BackLink } from "../../components/klanten/BackLink.js";
|
|
13
13
|
import { komtVanLijst, vanLijstState } from "../../lib/lijst-herstel.js";
|
|
14
14
|
import { getGroupedCustomerDetail, } from "../../lib/external-customers.functions.js";
|
|
15
|
-
import { ProfileCard, KpiStrip, BadgeList, EmptyState, adaptGroupedToProfile, } from "
|
|
15
|
+
import { ProfileCard, KpiStrip, BadgeList, EmptyState, adaptGroupedToProfile, } from "../../components/klanten/KlantDetailLayout.js";
|
|
16
16
|
import { countryNameToFlag } from "../../lib/countries.js";
|
|
17
|
-
import { DiscountsTab } from "
|
|
18
|
-
import { PriceGroupBadges } from "
|
|
19
|
-
import { CustomerPriceGroupSelect } from "
|
|
17
|
+
import { DiscountsTab } from "../../components/klanten/DiscountsTab.js";
|
|
18
|
+
import { PriceGroupBadges } from "../../components/klanten/PriceGroupBadges.js";
|
|
19
|
+
import { CustomerPriceGroupSelect } from "../../components/klanten/pricegroups/CustomerPriceGroupSelect.js";
|
|
20
20
|
import { listPriceGroupsForOrganizations } from "../../lib/price-groups.functions.js";
|
|
21
|
-
import { FloridayDeeplinkButton } from "
|
|
22
|
-
import { CustomerAssortmentTab } from "
|
|
23
|
-
import { FloridayAssortmentTab } from "
|
|
21
|
+
import { FloridayDeeplinkButton } from "../../components/klanten/FloridayDeeplinkButton.js";
|
|
22
|
+
import { CustomerAssortmentTab } from "../../components/klanten/CustomerAssortmentTab.js";
|
|
23
|
+
import { FloridayAssortmentTab } from "../../components/klanten/FloridayAssortmentTab.js";
|
|
24
24
|
import { decodeDeep } from "../../lib/decode-html.js";
|
|
25
|
-
import { DeliveryLocationsTab } from "
|
|
26
|
-
import { KlantBewerkenDialog } from "
|
|
27
|
-
import { FactureringKredietCard, hasBillingInfo, useLocalCustomer } from "
|
|
25
|
+
import { DeliveryLocationsTab } from "../../components/klanten/DeliveryLocationsTab.js";
|
|
26
|
+
import { KlantBewerkenDialog } from "../../components/klanten/KlantBewerkenDialog.js";
|
|
27
|
+
import { FactureringKredietCard, hasBillingInfo, useLocalCustomer } from "../../components/klanten/FactureringKredietCard.js";
|
|
28
28
|
import { getCustomerNote, upsertCustomerNote } from "../../lib/customer-notes.functions.js";
|
|
29
29
|
import { supabase } from "../../integrations/supabase/client.js";
|
|
30
30
|
import { formatPaymentMethodLabel } from "../../lib/payment-method.js";
|
|
31
|
-
import { CustomerOrdersTab } from "
|
|
31
|
+
import { CustomerOrdersTab } from "../../components/klanten/CustomerOrdersTab.js";
|
|
32
32
|
import { listCustomerOrders } from "../../lib/customer-orders.functions.js";
|
|
33
|
-
import { FloridayTradeSettingsCard } from "
|
|
33
|
+
import { FloridayTradeSettingsCard } from "../../components/klanten/FloridayTradeSettingsCard.js";
|
|
34
34
|
export function GroupedKlantDetail({ groupKey }) {
|
|
35
35
|
const navigate = useNavigate();
|
|
36
36
|
const qc = useQueryClient();
|
|
@@ -7,7 +7,7 @@ import { useMutation, useQueryClient } from "@tanstack/react-query";
|
|
|
7
7
|
import { useServerFn } from "@tanstack/react-start";
|
|
8
8
|
import { Button, Card, CardContent, CardHeader, CardTitle, Input, Label, toast, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Badge, Checkbox, } from "@flowselections/core";
|
|
9
9
|
import { Upload, Download, FileText, CheckCircle2, AlertTriangle, XCircle } from "lucide-react";
|
|
10
|
-
import { BackLink } from "
|
|
10
|
+
import { BackLink } from "../../components/klanten/BackLink.js";
|
|
11
11
|
import * as XLSX from "xlsx";
|
|
12
12
|
import { bulkImportCustomers } from "../../lib/customers.functions.js";
|
|
13
13
|
import { customerImportRowSchema } from "../../lib/customer-schemas.js";
|
|
@@ -8,35 +8,35 @@ import { Card, CardContent, CardHeader, CardTitle, Badge, Button, toast, Tabs, T
|
|
|
8
8
|
import { Trash2, Mail, Phone, Power, Pencil, MoreHorizontal, Archive, ArchiveRestore, } from "lucide-react";
|
|
9
9
|
import { archiveerKlant, herstelKlant, listGearchiveerdeKlantIds } from "../../lib/customer-archief.functions.js";
|
|
10
10
|
import { getCustomer, deleteCustomer, updateCustomer } from "../../lib/customers.functions.js";
|
|
11
|
-
import { ProfileCard, BadgeList, EmptyState, ActivityItem, adaptLocalToProfile, } from "
|
|
12
|
-
import { DeliveryLocationsTab } from "
|
|
13
|
-
import { CustomerCarrierCard } from "
|
|
14
|
-
import { CustomerLogisticsCard } from "
|
|
15
|
-
import { BackLink } from "
|
|
11
|
+
import { ProfileCard, BadgeList, EmptyState, ActivityItem, adaptLocalToProfile, } from "../../components/klanten/KlantDetailLayout.js";
|
|
12
|
+
import { DeliveryLocationsTab } from "../../components/klanten/DeliveryLocationsTab.js";
|
|
13
|
+
import { CustomerCarrierCard } from "../../components/klanten/CustomerCarrierCard.js";
|
|
14
|
+
import { CustomerLogisticsCard } from "../../components/klanten/CustomerLogisticsCard.js";
|
|
15
|
+
import { BackLink } from "../../components/klanten/BackLink.js";
|
|
16
16
|
import { NoticeBar, TableSkeleton, EmptyState as FsEmptyState } from "../fs-ui/index.js";
|
|
17
17
|
import { UserX } from "lucide-react";
|
|
18
|
-
import { CustomerAnalyticsTab } from "
|
|
19
|
-
import { LocalDiscountsTab } from "
|
|
20
|
-
import { PriceGroupBadges } from "
|
|
21
|
-
import { CustomerPriceGroupSelect } from "
|
|
18
|
+
import { CustomerAnalyticsTab } from "../../components/klanten/CustomerAnalyticsTab.js";
|
|
19
|
+
import { LocalDiscountsTab } from "../../components/klanten/LocalDiscountsTab.js";
|
|
20
|
+
import { PriceGroupBadges } from "../../components/klanten/PriceGroupBadges.js";
|
|
21
|
+
import { CustomerPriceGroupSelect } from "../../components/klanten/pricegroups/CustomerPriceGroupSelect.js";
|
|
22
22
|
import { resolveCustomerKeyForLocalCustomer } from "../../lib/price-groups-local.functions.js";
|
|
23
|
-
import { FloridayDeeplinkButton } from "
|
|
24
|
-
import { FloridayAssortmentTab } from "
|
|
25
|
-
import { CustomerAssortmentTab } from "
|
|
26
|
-
import { SyncStatusChip } from "
|
|
23
|
+
import { FloridayDeeplinkButton } from "../../components/klanten/FloridayDeeplinkButton.js";
|
|
24
|
+
import { FloridayAssortmentTab } from "../../components/klanten/FloridayAssortmentTab.js";
|
|
25
|
+
import { CustomerAssortmentTab } from "../../components/klanten/CustomerAssortmentTab.js";
|
|
26
|
+
import { SyncStatusChip } from "../../components/klanten/SyncStatusChip.js";
|
|
27
27
|
import { KlantExtraVeldenCard } from "./KlantExtraVeldenCard.js";
|
|
28
28
|
import { decodeDeep } from "../../lib/decode-html.js";
|
|
29
29
|
import { getMissingTwinfieldFields } from "../../lib/twinfield-required-fields.js";
|
|
30
30
|
import { missingInvoiceAddressFields } from "../../lib/invoice-address.js";
|
|
31
|
-
import { FactureringKredietCard, hasBillingInfo, BlockedBadge } from "
|
|
31
|
+
import { FactureringKredietCard, hasBillingInfo, BlockedBadge } from "../../components/klanten/FactureringKredietCard.js";
|
|
32
32
|
import { getCustomerNote, upsertCustomerNote } from "../../lib/customer-notes.functions.js";
|
|
33
33
|
import { supabase } from "../../integrations/supabase/client.js";
|
|
34
|
-
import { KlantBewerkenDialog } from "
|
|
35
|
-
import { CustomerOrdersTab } from "
|
|
34
|
+
import { KlantBewerkenDialog } from "../../components/klanten/KlantBewerkenDialog.js";
|
|
35
|
+
import { CustomerOrdersTab } from "../../components/klanten/CustomerOrdersTab.js";
|
|
36
36
|
import { formatDateTime } from "../../lib/format-date.js";
|
|
37
37
|
import { listCustomerOrders } from "../../lib/customer-orders.functions.js";
|
|
38
|
-
import { CustomerKpis } from "
|
|
39
|
-
import { FloridayTradeSettingsCard } from "
|
|
38
|
+
import { CustomerKpis } from "../../components/klanten/CustomerKpis.js";
|
|
39
|
+
import { FloridayTradeSettingsCard } from "../../components/klanten/FloridayTradeSettingsCard.js";
|
|
40
40
|
export function KlantDetail({ id }) {
|
|
41
41
|
const navigate = useNavigate();
|
|
42
42
|
const qc = useQueryClient();
|
|
@@ -7,14 +7,14 @@ import { useServerFn } from "@tanstack/react-start";
|
|
|
7
7
|
import { Button, Card, CardContent, Input, Label, Textarea, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@flowselections/core";
|
|
8
8
|
import { MapPin, Landmark, ReceiptText, ChevronDown, Check, AlertCircle, Users, BookOpen, } from "lucide-react";
|
|
9
9
|
import { PageHeader, NoticeBar } from "../fs-ui/index.js";
|
|
10
|
-
import { BackLink } from "
|
|
10
|
+
import { BackLink } from "../../components/klanten/BackLink.js";
|
|
11
11
|
import { listCustomerClasses } from "../../lib/customers.functions.js";
|
|
12
12
|
import { listTwinfieldLedgerAccounts } from "../../lib/twinfield-ledger.functions.js";
|
|
13
13
|
import { customerCreateSchema } from "../../lib/customer-schemas.js";
|
|
14
14
|
import { requiresVatNumber } from "../../lib/twinfield-required-fields.js";
|
|
15
15
|
import { TWINFIELD_FIELD_MAX, TWINFIELD_READONLY_FIELDS, TWINFIELD_READONLY_HINT } from "../../lib/twinfield-limits.js";
|
|
16
16
|
import { countryNameToFlag, COUNTRY_NAMES, toIsoCountry } from "../../lib/countries.js";
|
|
17
|
-
import { SearchableSelect } from "
|
|
17
|
+
import { SearchableSelect } from "../../components/klanten/SearchableSelect.js";
|
|
18
18
|
import { checkVatFormat, isTwinfieldVatError } from "../../lib/vat-format.js";
|
|
19
19
|
import { creditManagerDisplay } from "../../lib/credit-management.js";
|
|
20
20
|
import { TWINFIELD_DEFAULTS, VAT_DISPLAY_OPTIONS, PAYMENT_SPEC_METHOD_OPTIONS, INVOICE_SEND_AS_OPTIONS, SEND_REMINDER_OPTIONS, DISCOUNT_SURCHARGE_OPTIONS, } from "../../lib/twinfield-defaults.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type LocationGln } from "../../lib/delivery-locations.functions.js";
|
|
2
2
|
import { type DupLocation, type GlnAdd, type LinkedGln, type PendingGlns } from "../../lib/delivery-gln.js";
|
|
3
|
-
export declare function useLocationGlns(locationIds: string[]): import("@tanstack/react-query").UseQueryResult<{
|
|
3
|
+
export declare function useLocationGlns(locationIds: string[]): import("@tanstack/react-query").UseQueryResult<NoInfer<{
|
|
4
4
|
glns: LocationGln[];
|
|
5
5
|
mergeEnabled: boolean;
|
|
6
|
-
}
|
|
6
|
+
}>, Error>;
|
|
7
7
|
/** Zoekbare keuzelijst "GLN koppelen…": vrije GLN's van deze klant + "Andere GLN invoeren…". */
|
|
8
8
|
export declare function GlnPicker({ customerId, locationId, exclude, onPick, busy }: {
|
|
9
9
|
customerId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocationGlns.d.ts","sourceRoot":"","sources":["../../../src/components/klanten/LocationGlns.tsx"],"names":[],"mappings":"AAUA,OAAO,EAEoD,KAAK,WAAW,EAC1E,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAGL,KAAK,WAAW,EAAqB,KAAK,MAAM,EAAe,KAAK,SAAS,EAAE,KAAK,WAAW,EAChG,MAAM,wBAAwB,CAAC;AAEhC,wBAAgB,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE;;;
|
|
1
|
+
{"version":3,"file":"LocationGlns.d.ts","sourceRoot":"","sources":["../../../src/components/klanten/LocationGlns.tsx"],"names":[],"mappings":"AAUA,OAAO,EAEoD,KAAK,WAAW,EAC1E,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAGL,KAAK,WAAW,EAAqB,KAAK,MAAM,EAAe,KAAK,SAAS,EAAE,KAAK,WAAW,EAChG,MAAM,wBAAwB,CAAC;AAEhC,wBAAgB,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE;;;WAOpD;AAID,gGAAgG;AAChG,wBAAgB,SAAS,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE;IAC3E,UAAU,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IACjF,MAAM,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7B,+BAiFA;AAoCD,mGAAmG;AACnG,wBAAgB,eAAe,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACxF,UAAU,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,IAAI,EAAE,WAAW,EAAE,CAAC;IAAC,SAAS,EAAE,MAAM,IAAI,CAAC;CAChH,+BAmCA;AAED,wEAAwE;AACxE,wBAAgB,iBAAiB,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE;IACxF,UAAU,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,SAAS,EAAE,CAAC;IAAC,OAAO,EAAE,WAAW,CAAC;IAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,WAAW,KAAK,IAAI,CAAC;CAC/H,+BAiBA;AAED,8FAA8F;AAC9F,wBAAgB,eAAe,CAAC,CAAC,SAAS,WAAW,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,EAAE;IAC/F,KAAK,EAAE,CAAC,EAAE,CAAC;IAAC,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,MAAM,CAAC;IAAC,YAAY,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,MAAM,IAAI,CAAC;CAClF,+BA+DA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type StrategyScope } from "../../lib/logistics-strategy.functions.js";
|
|
2
|
+
export declare function LogisticsStrategyCard({ scope, refKey, description, }: {
|
|
3
|
+
scope: StrategyScope;
|
|
4
|
+
refKey: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
}): import("react").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=LogisticsStrategyCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogisticsStrategyCard.d.ts","sourceRoot":"","sources":["../../../src/components/klanten/LogisticsStrategyCard.tsx"],"names":[],"mappings":"AAQA,OAAO,EAIL,KAAK,aAAa,EACnB,MAAM,oCAAoC,CAAC;AAI5C,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,MAAM,EACN,WAAW,GACZ,EAAE;IACD,KAAK,EAAE,aAAa,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,+BAuEA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { friendlyError } from "../../lib/errors.js";
|
|
3
|
+
import { useQuery, useMutation, useQueryClient } from "@tanstack/react-query";
|
|
4
|
+
import { useServerFn } from "@tanstack/react-start";
|
|
5
|
+
import { Card, CardContent, CardHeader, CardTitle, Badge, toast, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@flowselections/core";
|
|
6
|
+
import { Truck } from "lucide-react";
|
|
7
|
+
import { listLogisticsStrategies, getLogisticsStrategyBinding, setLogisticsStrategyBinding, } from "../../lib/logistics-strategy.functions.js";
|
|
8
|
+
const NONE = "__none__";
|
|
9
|
+
export function LogisticsStrategyCard({ scope, refKey, description, }) {
|
|
10
|
+
const qc = useQueryClient();
|
|
11
|
+
const list = useServerFn(listLogisticsStrategies);
|
|
12
|
+
const get = useServerFn(getLogisticsStrategyBinding);
|
|
13
|
+
const save = useServerFn(setLogisticsStrategyBinding);
|
|
14
|
+
const { data: strategiesData } = useQuery({
|
|
15
|
+
queryKey: ["logistics-strategies"],
|
|
16
|
+
queryFn: () => list({}),
|
|
17
|
+
});
|
|
18
|
+
const { data: bindingData, isLoading } = useQuery({
|
|
19
|
+
queryKey: ["logistics-strategy-binding", scope, refKey],
|
|
20
|
+
queryFn: () => get({ data: { scope, refKey } }),
|
|
21
|
+
enabled: !!refKey,
|
|
22
|
+
});
|
|
23
|
+
const mut = useMutation({
|
|
24
|
+
mutationFn: (strategyId) => save({ data: { scope, refKey, strategyId } }),
|
|
25
|
+
onSuccess: () => {
|
|
26
|
+
toast.success("Logistieke strategie bijgewerkt");
|
|
27
|
+
qc.invalidateQueries({ queryKey: ["logistics-strategy-binding", scope, refKey] });
|
|
28
|
+
},
|
|
29
|
+
onError: (e) => toast.error(friendlyError(e, "Opslaan mislukt")),
|
|
30
|
+
});
|
|
31
|
+
const strategies = strategiesData?.strategies ?? [];
|
|
32
|
+
const current = bindingData?.binding?.strategy_id ?? null;
|
|
33
|
+
return (_jsxs(Card, { children: [_jsxs(CardHeader, { className: "flex flex-row items-center justify-between space-y-0", children: [_jsxs(CardTitle, { className: "flex items-center gap-2", children: [_jsx(Truck, { className: "h-4 w-4 text-muted-foreground" }), "Logistieke strategie"] }), current && _jsx(Badge, { variant: "secondary", children: "Gekoppeld" })] }), _jsxs(CardContent, { className: "space-y-3", children: [_jsx("p", { className: "text-sm text-muted-foreground", children: description ??
|
|
34
|
+
"Bepaalt welke regelset de Logistics Engine gebruikt voor orders van deze klant. Deze keuze wordt als strategyId meegestuurd." }), _jsxs(Select, { value: current ?? NONE, disabled: isLoading || mut.isPending, onValueChange: (v) => mut.mutate(v === NONE ? null : v), children: [_jsx(SelectTrigger, { className: "max-w-md", children: _jsx(SelectValue, { placeholder: "Kies een strategie" }) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: NONE, children: "Geen (Engine kiest zelf)" }), strategies.map((s) => (_jsxs(SelectItem, { value: s.id, children: [s.name, s.is_active === false ? " (inactief)" : ""] }, s.id)))] })] }), strategies.length === 0 && (_jsx("p", { className: "text-xs text-muted-foreground", children: "Er zijn nog geen logistieke strategie\u00EBn ingesteld in de Logistics Engine." }))] })] }));
|
|
35
|
+
}
|
|
@@ -6,7 +6,7 @@ import { useServerFn } from "@tanstack/react-start";
|
|
|
6
6
|
import { useState } from "react";
|
|
7
7
|
import { Button, Card, CardContent, Badge, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Switch, Label, } from "@flowselections/core";
|
|
8
8
|
import { MapPin, Globe } from "lucide-react";
|
|
9
|
-
import { BackLink } from "
|
|
9
|
+
import { BackLink } from "../../components/klanten/BackLink.js";
|
|
10
10
|
import { countryNameToFlag } from "../../lib/countries.js";
|
|
11
11
|
import { listFloridayNetwork } from "../../lib/customers.functions.js";
|
|
12
12
|
import { CustomerAvatar } from "../CustomerAvatar.js";
|
|
@@ -8,9 +8,9 @@ import { useServerFn } from "@tanstack/react-start";
|
|
|
8
8
|
import { toast, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, } from "@flowselections/core";
|
|
9
9
|
import { createCustomer, getActiveTwinfieldAdministration } from "../../lib/customers.functions.js";
|
|
10
10
|
import { upsertDeliveryLocation } from "../../lib/delivery-locations.functions.js";
|
|
11
|
-
import { KlantFormulier, emptyKlantFormValues, } from "
|
|
12
|
-
import { useCustomerDefaults, MISSING_DEFAULT_MESSAGE } from "
|
|
13
|
-
import { NieuweKlantLocaties, } from "
|
|
11
|
+
import { KlantFormulier, emptyKlantFormValues, } from "../../components/klanten/KlantFormulier.js";
|
|
12
|
+
import { useCustomerDefaults, MISSING_DEFAULT_MESSAGE } from "../../components/klanten/useCustomerDefaults.js";
|
|
13
|
+
import { NieuweKlantLocaties, } from "../../components/klanten/NieuweKlantLocaties.js";
|
|
14
14
|
export function NieuweKlant() {
|
|
15
15
|
const navigate = useNavigate();
|
|
16
16
|
const qc = useQueryClient();
|
|
@@ -8,8 +8,8 @@ import { useServerFn } from "@tanstack/react-start";
|
|
|
8
8
|
import { toast } from "@flowselections/core";
|
|
9
9
|
import { prepareTwinfieldAdoption, adoptTwinfieldCustomer, } from "../../lib/twinfield-adopt.functions.js";
|
|
10
10
|
import { decodeDeep } from "../../lib/decode-html.js";
|
|
11
|
-
import { BackLink } from "
|
|
12
|
-
import { KlantFormulier, emptyKlantFormValues, } from "
|
|
11
|
+
import { BackLink } from "../../components/klanten/BackLink.js";
|
|
12
|
+
import { KlantFormulier, emptyKlantFormValues, } from "../../components/klanten/KlantFormulier.js";
|
|
13
13
|
/** Zet een tekstwaarde uit de Twinfield-cache om naar een getal (of undefined). */
|
|
14
14
|
function num(v) {
|
|
15
15
|
const s = (v ?? "").trim().replace(",", ".");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StickerBeleidKeuze.d.ts","sourceRoot":"","sources":["../../../src/components/klanten/StickerBeleidKeuze.tsx"],"names":[],"mappings":"AAMA,gFAAgF;AAChF,wBAAgB,kBAAkB,CAAC,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,+BA+BxE"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useQuery, useQueryClient, useMutation } from "@tanstack/react-query";
|
|
3
|
+
import { useServerFn } from "@tanstack/react-start";
|
|
4
|
+
import { Label, ZoekbareKeuzelijst, meldFout, meldSucces } from "@flowselections/core";
|
|
5
|
+
import { getStickerBeleid, setStickerBeleid } from "../../lib/sticker-beleid.functions.js";
|
|
6
|
+
import { STICKER_BELEID, STICKER_BELEID_LABELS, isStickerBeleid } from "../../lib/sticker-beleid.js";
|
|
7
|
+
/** Keuze "Eigen stickers voor deze klant" (opslag los van de klantgegevens). */
|
|
8
|
+
export function StickerBeleidKeuze({ customerId }) {
|
|
9
|
+
const qc = useQueryClient();
|
|
10
|
+
const lees = useServerFn(getStickerBeleid);
|
|
11
|
+
const zet = useServerFn(setStickerBeleid);
|
|
12
|
+
const sleutel = ["sticker-beleid", customerId];
|
|
13
|
+
const { data, isLoading, error } = useQuery({ queryKey: sleutel, queryFn: () => lees({ data: { customerId } }) });
|
|
14
|
+
const opslaan = useMutation({
|
|
15
|
+
mutationFn: (beleid) => zet({ data: { customerId, beleid } }),
|
|
16
|
+
onSuccess: (r) => {
|
|
17
|
+
qc.setQueryData(sleutel, r.beleid);
|
|
18
|
+
meldSucces("Stickerkeuze opgeslagen");
|
|
19
|
+
},
|
|
20
|
+
onError: (e) => meldFout(e instanceof Error ? e.message : "Opslaan is niet gelukt. Probeer het opnieuw.", e),
|
|
21
|
+
});
|
|
22
|
+
return (_jsxs("div", { className: "flex flex-wrap items-center gap-2 text-xs", children: [_jsx(Label, { htmlFor: "sticker-beleid", className: "text-xs text-muted-foreground", children: "Eigen stickers voor deze klant" }), _jsx("div", { className: "w-full max-w-sm", children: _jsx(ZoekbareKeuzelijst, { id: "sticker-beleid", options: STICKER_BELEID.map((b) => ({ value: b, label: STICKER_BELEID_LABELS[b] })), value: data ?? null, onChange: (v) => { if (isStickerBeleid(v) && v !== data)
|
|
23
|
+
opslaan.mutate(v); }, placeholder: isLoading ? "Laden…" : "Kies een optie", zoekPlaceholder: "Zoek\u2026", disabled: isLoading || !!error || opslaan.isPending }) }), error && _jsx("span", { className: "text-destructive", children: "De keuze kon niet worden geladen. Probeer het opnieuw." })] }));
|
|
24
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type StickerFormaat } from "../../lib/sticker-formaten.js";
|
|
2
|
-
export declare function useStickerFormaten(): import("@tanstack/react-query").UseQueryResult<import("../../index.js").StickerFormatenResultaat
|
|
2
|
+
export declare function useStickerFormaten(): import("@tanstack/react-query").UseQueryResult<NoInfer<import("../../index.js").StickerFormatenResultaat>, Error>;
|
|
3
3
|
/**
|
|
4
4
|
* Keuzelijst voor een stickerformaat (geen vrije invoer). Een huidige maat buiten
|
|
5
5
|
* de lijst blijft staan en wordt als "niet in de lijst" getoond tot er gekozen wordt.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StickerFormaatKeuze.d.ts","sourceRoot":"","sources":["../../../src/components/klanten/StickerFormaatKeuze.tsx"],"names":[],"mappings":"AAIA,OAAO,EAA6B,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5F,wBAAgB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"StickerFormaatKeuze.d.ts","sourceRoot":"","sources":["../../../src/components/klanten/StickerFormaatKeuze.tsx"],"names":[],"mappings":"AAIA,OAAO,EAA6B,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5F,wBAAgB,kBAAkB,6GAGjC;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,EAAE,EACF,OAAO,EACP,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wDAAwD;IACxD,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,+BA0BA"}
|