@flowselections/layout-maker 1.3.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 +24 -0
- package/dist-lib/_core-safelist.d.ts +2 -0
- package/dist-lib/_core-safelist.d.ts.map +1 -0
- package/dist-lib/_core-safelist.js +18 -0
- package/dist-lib/components/AfdrukKnop.d.ts +13 -0
- package/dist-lib/components/AfdrukKnop.d.ts.map +1 -0
- package/dist-lib/components/AfdrukKnop.js +38 -0
- package/dist-lib/components/AiLayoutImportDialog.d.ts +6 -0
- package/dist-lib/components/AiLayoutImportDialog.d.ts.map +1 -0
- package/dist-lib/components/AiLayoutImportDialog.js +133 -0
- package/dist-lib/components/BlokOntwerperPage.d.ts +5 -0
- package/dist-lib/components/BlokOntwerperPage.d.ts.map +1 -0
- package/dist-lib/components/BlokOntwerperPage.js +67 -0
- package/dist-lib/components/DocumentSettingsPanel.d.ts +13 -0
- package/dist-lib/components/DocumentSettingsPanel.d.ts.map +1 -0
- package/dist-lib/components/DocumentSettingsPanel.js +65 -0
- package/dist-lib/components/FormaatOrientatieBar.d.ts +10 -0
- package/dist-lib/components/FormaatOrientatieBar.d.ts.map +1 -0
- package/dist-lib/components/FormaatOrientatieBar.js +51 -0
- package/dist-lib/components/LayoutsPage.d.ts +2 -0
- package/dist-lib/components/LayoutsPage.d.ts.map +1 -0
- package/dist-lib/components/LayoutsPage.js +196 -0
- package/dist-lib/components/LogoBibliotheekDialog.d.ts +7 -0
- package/dist-lib/components/LogoBibliotheekDialog.d.ts.map +1 -0
- package/dist-lib/components/LogoBibliotheekDialog.js +27 -0
- package/dist-lib/components/LogosPage.d.ts +7 -0
- package/dist-lib/components/LogosPage.d.ts.map +1 -0
- package/dist-lib/components/LogosPage.js +131 -0
- package/dist-lib/components/PaginaDocument.d.ts +22 -0
- package/dist-lib/components/PaginaDocument.d.ts.map +1 -0
- package/dist-lib/components/PaginaDocument.js +80 -0
- package/dist-lib/components/PakbonBuilderPage.d.ts +5 -0
- package/dist-lib/components/PakbonBuilderPage.d.ts.map +1 -0
- package/dist-lib/components/PakbonBuilderPage.js +69 -0
- package/dist-lib/components/PakbonPreview.d.ts +13 -0
- package/dist-lib/components/PakbonPreview.d.ts.map +1 -0
- package/dist-lib/components/PakbonPreview.js +423 -0
- package/dist-lib/components/PakbonSectiesPanel.d.ts +18 -0
- package/dist-lib/components/PakbonSectiesPanel.d.ts.map +1 -0
- package/dist-lib/components/PakbonSectiesPanel.js +156 -0
- package/dist-lib/components/PreviewFit.d.ts +9 -0
- package/dist-lib/components/PreviewFit.d.ts.map +1 -0
- package/dist-lib/components/PreviewFit.js +38 -0
- package/dist-lib/components/PrintQueuePage.d.ts +2 -0
- package/dist-lib/components/PrintQueuePage.d.ts.map +1 -0
- package/dist-lib/components/PrintQueuePage.js +59 -0
- package/dist-lib/components/PrinterSetupWizard.d.ts +6 -0
- package/dist-lib/components/PrinterSetupWizard.d.ts.map +1 -0
- package/dist-lib/components/PrinterSetupWizard.js +119 -0
- package/dist-lib/components/PrintersPage.d.ts +2 -0
- package/dist-lib/components/PrintersPage.d.ts.map +1 -0
- package/dist-lib/components/PrintersPage.js +60 -0
- package/dist-lib/components/ProductiebonBlokkenPanel.d.ts +7 -0
- package/dist-lib/components/ProductiebonBlokkenPanel.d.ts.map +1 -0
- package/dist-lib/components/ProductiebonBlokkenPanel.js +85 -0
- package/dist-lib/components/ProductiebonBuilderPage.d.ts +5 -0
- package/dist-lib/components/ProductiebonBuilderPage.d.ts.map +1 -0
- package/dist-lib/components/ProductiebonBuilderPage.js +48 -0
- package/dist-lib/components/ProductiebonPreview.d.ts +12 -0
- package/dist-lib/components/ProductiebonPreview.d.ts.map +1 -0
- package/dist-lib/components/ProductiebonPreview.js +237 -0
- package/dist-lib/components/TemplateModuleLogo.d.ts +6 -0
- package/dist-lib/components/TemplateModuleLogo.d.ts.map +1 -0
- package/dist-lib/components/TemplateModuleLogo.js +4 -0
- package/dist-lib/components/settings/MijnModuleSettingsCard.d.ts +2 -0
- package/dist-lib/components/settings/MijnModuleSettingsCard.d.ts.map +1 -0
- package/dist-lib/components/settings/MijnModuleSettingsCard.js +42 -0
- package/dist-lib/hooks/useMijnModuleData.d.ts +13 -0
- package/dist-lib/hooks/useMijnModuleData.d.ts.map +1 -0
- package/dist-lib/hooks/useMijnModuleData.js +49 -0
- package/dist-lib/index.d.ts +38 -0
- package/dist-lib/index.d.ts.map +1 -0
- package/dist-lib/index.js +56 -0
- package/dist-lib/integrations/supabase/auth-attacher.d.ts +2 -0
- package/dist-lib/integrations/supabase/auth-attacher.d.ts.map +1 -0
- package/dist-lib/integrations/supabase/auth-attacher.js +12 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +19847 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -0
- package/dist-lib/integrations/supabase/auth-middleware.js +52 -0
- package/dist-lib/integrations/supabase/client.d.ts +2 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -0
- package/dist-lib/integrations/supabase/client.js +3 -0
- package/dist-lib/integrations/supabase/client.server.d.ts +19843 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -0
- package/dist-lib/integrations/supabase/client.server.js +30 -0
- package/dist-lib/integrations/supabase/types.d.ts +20423 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -0
- package/dist-lib/integrations/supabase/types.js +78 -0
- package/dist-lib/lib/aiLayout.functions.d.ts +19864 -0
- package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -0
- package/dist-lib/lib/aiLayout.functions.js +28 -0
- package/dist-lib/lib/aiLayout.server.d.ts +14 -0
- package/dist-lib/lib/aiLayout.server.d.ts.map +1 -0
- package/dist-lib/lib/aiLayout.server.js +197 -0
- package/dist-lib/lib/browserPrint.d.ts +38 -0
- package/dist-lib/lib/browserPrint.d.ts.map +1 -0
- package/dist-lib/lib/browserPrint.js +104 -0
- package/dist-lib/lib/documentProfiles.d.ts +50 -0
- package/dist-lib/lib/documentProfiles.d.ts.map +1 -0
- package/dist-lib/lib/documentProfiles.js +458 -0
- package/dist-lib/lib/documentTypes.d.ts +123 -0
- package/dist-lib/lib/documentTypes.d.ts.map +1 -0
- package/dist-lib/lib/documentTypes.js +74 -0
- package/dist-lib/lib/fieldRegistry.d.ts +20 -0
- package/dist-lib/lib/fieldRegistry.d.ts.map +1 -0
- package/dist-lib/lib/fieldRegistry.js +123 -0
- package/dist-lib/lib/formaatPrinters.d.ts +14 -0
- package/dist-lib/lib/formaatPrinters.d.ts.map +1 -0
- package/dist-lib/lib/formaatPrinters.js +39 -0
- package/dist-lib/lib/layoutPreview.d.ts +18 -0
- package/dist-lib/lib/layoutPreview.d.ts.map +1 -0
- package/dist-lib/lib/layoutPreview.js +134 -0
- package/dist-lib/lib/logoLibrary.d.ts +80 -0
- package/dist-lib/lib/logoLibrary.d.ts.map +1 -0
- package/dist-lib/lib/logoLibrary.js +264 -0
- package/dist-lib/lib/pakbonBuilder.d.ts +210 -0
- package/dist-lib/lib/pakbonBuilder.d.ts.map +1 -0
- package/dist-lib/lib/pakbonBuilder.js +910 -0
- package/dist-lib/lib/pakbonHtml.d.ts +48 -0
- package/dist-lib/lib/pakbonHtml.d.ts.map +1 -0
- package/dist-lib/lib/pakbonHtml.js +754 -0
- package/dist-lib/lib/printApi.d.ts +45 -0
- package/dist-lib/lib/printApi.d.ts.map +1 -0
- package/dist-lib/lib/printApi.js +98 -0
- package/dist-lib/lib/productiebonBuilder.d.ts +137 -0
- package/dist-lib/lib/productiebonBuilder.d.ts.map +1 -0
- package/dist-lib/lib/productiebonBuilder.js +661 -0
- package/dist-lib/lib/supabaseClient.d.ts +4 -0
- package/dist-lib/lib/supabaseClient.d.ts.map +1 -0
- package/dist-lib/lib/supabaseClient.js +10 -0
- package/dist-lib/lib/useDocumentData.d.ts +97 -0
- package/dist-lib/lib/useDocumentData.d.ts.map +1 -0
- package/dist-lib/lib/useDocumentData.js +286 -0
- package/dist-lib/lib/useLayoutIdParam.d.ts +7 -0
- package/dist-lib/lib/useLayoutIdParam.d.ts.map +1 -0
- package/dist-lib/lib/useLayoutIdParam.js +10 -0
- package/dist-lib/lib/utils.d.ts +3 -0
- package/dist-lib/lib/utils.d.ts.map +1 -0
- package/dist-lib/lib/utils.js +5 -0
- package/dist-lib/lib/validationSchemas.d.ts +15 -0
- package/dist-lib/lib/validationSchemas.d.ts.map +1 -0
- package/dist-lib/lib/validationSchemas.js +25 -0
- package/dist-lib/styles.css +1 -0
- package/package.json +117 -0
- package/public/logo.png +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oCAAoC,CAAC;AACnD,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oCAAoC,CAAC;AACnD,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,YAAY,EAAE,UAkB1B,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// src/index.ts — MODULE CONTRACT (layout-maker)
|
|
3
|
+
// ============================================================================
|
|
4
|
+
import { LayoutTemplate, Printer, FileText, ListChecks, Image } from "lucide-react";
|
|
5
|
+
export * from './_core-safelist';
|
|
6
|
+
export * from './components/LayoutsPage';
|
|
7
|
+
export * from './components/PrintersPage';
|
|
8
|
+
export * from './components/PrintQueuePage';
|
|
9
|
+
export * from './components/AiLayoutImportDialog';
|
|
10
|
+
export * from './components/LogosPage';
|
|
11
|
+
export * from './components/PakbonBuilderPage';
|
|
12
|
+
export * from './components/BlokOntwerperPage';
|
|
13
|
+
export * from './components/PakbonSectiesPanel';
|
|
14
|
+
export * from './components/PakbonPreview';
|
|
15
|
+
export * from './lib/pakbonBuilder';
|
|
16
|
+
export * from './lib/pakbonHtml';
|
|
17
|
+
export * from './components/ProductiebonBuilderPage';
|
|
18
|
+
export * from './components/ProductiebonBlokkenPanel';
|
|
19
|
+
export * from './components/ProductiebonPreview';
|
|
20
|
+
export * from './lib/productiebonBuilder';
|
|
21
|
+
export * from './components/LogoBibliotheekDialog';
|
|
22
|
+
export * from './lib/logoLibrary';
|
|
23
|
+
export * from './lib/documentProfiles';
|
|
24
|
+
export * from './lib/formaatPrinters';
|
|
25
|
+
export * from './components/DocumentSettingsPanel';
|
|
26
|
+
export * from './lib/documentTypes';
|
|
27
|
+
export * from './lib/fieldRegistry';
|
|
28
|
+
export * from './lib/layoutPreview';
|
|
29
|
+
export * from './lib/useDocumentData';
|
|
30
|
+
export * from './lib/printApi';
|
|
31
|
+
export * from './lib/browserPrint';
|
|
32
|
+
export * from './components/AfdrukKnop';
|
|
33
|
+
export * from './lib/supabaseClient';
|
|
34
|
+
export * from './lib/useLayoutIdParam';
|
|
35
|
+
export * from './components/PaginaDocument';
|
|
36
|
+
export * from './components/PreviewFit';
|
|
37
|
+
export * from './components/FormaatOrientatieBar';
|
|
38
|
+
export * from './components/PrinterSetupWizard';
|
|
39
|
+
export { TemplateModuleLogo } from './components/TemplateModuleLogo';
|
|
40
|
+
export const layoutmodule = {
|
|
41
|
+
id: "layout-maker",
|
|
42
|
+
name: "Layouts en printers",
|
|
43
|
+
version: "1.0.0",
|
|
44
|
+
nav: {
|
|
45
|
+
label: "Layouts en printers",
|
|
46
|
+
href: "/layouts-printers",
|
|
47
|
+
icon: LayoutTemplate,
|
|
48
|
+
children: [
|
|
49
|
+
{ label: "Layouts", href: "/layouts-printers", icon: FileText },
|
|
50
|
+
{ label: "Printers", href: "/layouts-printers/printers", icon: Printer },
|
|
51
|
+
{ label: "Printwachtrij", href: "/layouts-printers/wachtrij", icon: ListChecks },
|
|
52
|
+
{ label: "Logo's", href: "/layouts-printers/logos", icon: Image },
|
|
53
|
+
],
|
|
54
|
+
},
|
|
55
|
+
settingsCards: [],
|
|
56
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth-attacher.d.ts","sourceRoot":"","sources":["../../../src/integrations/supabase/auth-attacher.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,kBAAkB,mHAQ9B,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// This file is automatically generated. Do not edit it directly.
|
|
2
|
+
import { createMiddleware } from '@tanstack/react-start';
|
|
3
|
+
import { supabase } from './client';
|
|
4
|
+
// Must be registered as a global `functionMiddleware` in `src/start.ts`; otherwise
|
|
5
|
+
// the browser never attaches the bearer token to serverFn RPCs.
|
|
6
|
+
export const attachSupabaseAuth = createMiddleware({ type: 'function' }).client(async ({ next }) => {
|
|
7
|
+
const { data } = await supabase.auth.getSession();
|
|
8
|
+
const token = data.session?.access_token;
|
|
9
|
+
return next({
|
|
10
|
+
headers: token ? { Authorization: `Bearer ${token}` } : {},
|
|
11
|
+
});
|
|
12
|
+
});
|