Skip to content

Commit

Permalink
Merge pull request #592 from BenediktSeidlSWM/print
Browse files Browse the repository at this point in the history
Update qwc2 and config
  • Loading branch information
manisandro authored Nov 21, 2024
2 parents e421a6a + 642552d commit 2d8bd05
Show file tree
Hide file tree
Showing 18 changed files with 113 additions and 232 deletions.
4 changes: 0 additions & 4 deletions js/appConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import BookmarkPlugin from 'qwc2/plugins/Bookmark';
import BottomBarPlugin from 'qwc2/plugins/BottomBar';
import CookiePopupPlugin from 'qwc2/plugins/CookiePopup';
import CyclomediaPlugin from 'qwc2/plugins/Cyclomedia';
import DxfExportPlugin from 'qwc2/plugins/DxfExport';
import EditingPlugin from 'qwc2/plugins/Editing';
import FeatureFormPlugin from 'qwc2/plugins/FeatureForm';
import FeatureSearchPlugin from 'qwc2/plugins/FeatureSearch';
Expand All @@ -44,7 +43,6 @@ import NewsPopupPlugin from 'qwc2/plugins/NewsPopup';
import PortalPlugin from 'qwc2/plugins/Portal';
import PrintPlugin from 'qwc2/plugins/Print';
import ProcessNotificationsPlugin from 'qwc2/plugins/ProcessNotifications';
import RasterExportPlugin from 'qwc2/plugins/RasterExport';
import RedliningPlugin from 'qwc2/plugins/Redlining';
import ReportsPlugin from 'qwc2/plugins/Reports';
import RoutingPlugin from 'qwc2/plugins/Routing';
Expand Down Expand Up @@ -96,7 +94,6 @@ export default {
BottomBarPlugin: BottomBarPlugin,
CookiePopupPlugin: CookiePopupPlugin,
CyclomediaPlugin: CyclomediaPlugin,
DxfExportPlugin: DxfExportPlugin,
EditingPlugin: EditingPlugin(/* CustomEditingInterface */),
FeatureFormPlugin: FeatureFormPlugin(/* CustomEditingInterface */),
GeometryDigitizerPlugin: GeometryDigitizerPlugin,
Expand All @@ -120,7 +117,6 @@ export default {
PortalPlugin: PortalPlugin,
PrintPlugin: PrintPlugin,
ProcessNotificationsPlugin: ProcessNotificationsPlugin,
RasterExportPlugin: RasterExportPlugin,
RedliningPlugin: RedliningPlugin({
BufferSupport: BufferSupport
}),
Expand Down
2 changes: 1 addition & 1 deletion qwc2
Submodule qwc2 updated 45 files
+1 −1 components/AppMenu.jsx
+0 −164 components/PrintFrame.jsx
+616 −0 components/PrintSelection.jsx
+1 −0 components/SideBar.jsx
+2 −2 components/map3d/BottomBar3D.jsx
+86 −0 components/map3d/LayerTree3D.jsx
+20 −0 components/map3d/Map3DContextTypes.jsx
+1 −1 components/map3d/OverviewMap3D.jsx
+50 −0 components/map3d/TopBar3D.jsx
+0 −0 components/map3d/style/BottomBar3D.css
+34 −0 components/map3d/style/LayerTree3D.css
+44 −0 components/map3d/style/TopBar3D.css
+0 −24 components/style/PrintFrame.css
+3 −33 doc/plugins.md
+3 −2 libs/openlayers.js
+2 −1 package.json
+2 −2 plugins/API.jsx
+0 −194 plugins/DxfExport.jsx
+160 −84 plugins/Map3D.jsx
+75 −87 plugins/MapExport.jsx
+280 −112 plugins/Print.jsx
+0 −377 plugins/RasterExport.jsx
+0 −23 plugins/style/DxfExport.css
+2 −2 plugins/style/Map3D.css
+0 −55 plugins/style/RasterExport.css
+6 −16 translations/ca-ES.json
+6 −16 translations/cs-CZ.json
+6 −16 translations/de-CH.json
+7 −17 translations/de-DE.json
+6 −16 translations/en-US.json
+6 −16 translations/es-ES.json
+6 −16 translations/fi-FI.json
+6 −16 translations/fr-FR.json
+6 −16 translations/hu-HU.json
+6 −16 translations/it-IT.json
+6 −16 translations/no-NO.json
+6 −16 translations/pl-PL.json
+6 −16 translations/pt-BR.json
+6 −16 translations/pt-PT.json
+6 −16 translations/ro-RO.json
+6 −16 translations/ru-RU.json
+6 −16 translations/sv-SE.json
+6 −16 translations/tr-TR.json
+6 −13 translations/tsconfig.json
+86 −1 utils/FeatureStyles.js
1 change: 1 addition & 0 deletions static/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@
{
"name": "Print",
"cfg": {
"displayPrintSeries": true,
"inlinePrintOutput": false,
"printExternalLayers": true,
"gridInitiallyEnabled": false,
Expand Down
22 changes: 6 additions & 16 deletions static/translations/cs-CZ.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@
"MapExport": "Export mapu",
"MapFilter": "",
"Print": "Tisk",
"RasterExport": "Export rastru",
"Reports": "",
"Settings": "Nastavení",
"Share": "Sdílet odkaz",
"ThemeSwitcher": "Téma",
"AttributeTable": "Atributy",
"Cyclomedia": "Cyclomedia",
"DxfExport": "DXF Export",
"FeatureForm": "Editační formulář",
"FeatureSearch": "",
"GeometryDigitizer": "",
Expand Down Expand Up @@ -141,11 +139,6 @@
"scalehint": "",
"title": "Cyclomedia"
},
"dxfexport": {
"layers": "Vrstvy",
"selectinfo": "Vyberte oblast pro export...",
"symbologyscale": "Meřítko symbolů:"
},
"editing": {
"add": "Přidat",
"attrtable": "",
Expand Down Expand Up @@ -378,6 +371,10 @@
},
"print": {
"atlasfeature": "",
"download": "",
"download_as_onepdf": "",
"download_as_onezip": "",
"download_as_single": "",
"format": "Formát",
"grid": "Mřížka:",
"layout": "Rovržení:",
Expand All @@ -387,26 +384,19 @@
"nolayouts": "Vybrané téma nepodporuje tisk",
"notheme": "Není vybráno téma",
"output": "",
"overlap": "",
"pickatlasfeature": "",
"resolution": "Rozlišení",
"rotation": "Orientace",
"save": "",
"scale": "Měřítko",
"series": "",
"submit": "Tisk",
"wait": "Čekejte..."
},
"qtdesignerform": {
"loading": ""
},
"rasterexport": {
"format": "Formát:",
"resolution": "Rozlišení:",
"scale": "Měřítko",
"size": "Velikost",
"submit": "Export",
"usersize": "Vybrat na mapě...",
"wait": "Čekejte..."
},
"redlining": {
"border": "Okraj",
"buffer": "",
Expand Down
22 changes: 6 additions & 16 deletions static/translations/de-CH.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@
"MapExport": "Karte exportieren",
"MapFilter": "Kartenfilter",
"Print": "Drucken",
"RasterExport": "Raster-Export",
"Reports": "Berichte",
"Settings": "Einstellungen",
"Share": "Teilen",
"ThemeSwitcher": "Themen",
"AttributeTable": "Attributtabelle",
"Cyclomedia": "Cyclomedia",
"DxfExport": "DXF-Export",
"FeatureForm": "Objektformular",
"FeatureSearch": "Objektsuche",
"GeometryDigitizer": "Geometriedigitalisierung",
Expand Down Expand Up @@ -141,11 +139,6 @@
"scalehint": "Die Aufnahmen sind nur ab Massstab 1:{0} auf der Karte sichtbar.",
"title": "Cyclomedia Viewer"
},
"dxfexport": {
"layers": "Ebenen",
"selectinfo": "Rechteck um die zu exportierende Region aufziehen",
"symbologyscale": "Darstellungsmassstab"
},
"editing": {
"add": "Hinzufügen",
"attrtable": "Tabelle",
Expand Down Expand Up @@ -378,6 +371,10 @@
},
"print": {
"atlasfeature": "Atlasobjekt",
"download": "",
"download_as_onepdf": "",
"download_as_onezip": "",
"download_as_single": "",
"format": "Format",
"grid": "Gitter",
"layout": "Format",
Expand All @@ -387,26 +384,19 @@
"nolayouts": "Das gewählte Thema stellt keine Druck-Vorlagen zur Verfügung.",
"notheme": "Kein Thema selektiert",
"output": "Druckausgabe",
"overlap": "",
"pickatlasfeature": "In Ebene {0} auswählen...",
"resolution": "Auflösung",
"rotation": "Rotation",
"save": "Speichern",
"scale": "Massstab",
"series": "",
"submit": "Erzeugen",
"wait": "Bitte warten..."
},
"qtdesignerform": {
"loading": "Formular wird geladen..."
},
"rasterexport": {
"format": "Format",
"resolution": "Auflösung",
"scale": "Massstab",
"size": "Dimensionen",
"submit": "Exportieren",
"usersize": "Auf Karte auswählen...",
"wait": "Bitte warten..."
},
"redlining": {
"border": "Rand",
"buffer": "Puffern",
Expand Down
24 changes: 7 additions & 17 deletions static/translations/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@
"MapExport": "Karte exportieren",
"MapFilter": "Kartenfilter",
"Print": "Drucken",
"RasterExport": "Raster-Export",
"Reports": "Berichte",
"Settings": "Einstellungen",
"Share": "Teilen",
"ThemeSwitcher": "Themen",
"AttributeTable": "Attributtabelle",
"Cyclomedia": "Cyclomedia",
"DxfExport": "DXF-Export",
"FeatureForm": "Objektformular",
"FeatureSearch": "Objektsuche",
"GeometryDigitizer": "Geometriedigitalisierung",
Expand Down Expand Up @@ -141,11 +139,6 @@
"scalehint": "Die Aufnahmen sind nur ab Maßstab 1:{0} auf der Karte sichtbar.",
"title": "Cyclomedia Viewer"
},
"dxfexport": {
"layers": "Ebenen",
"selectinfo": "Rechteck um die zu exportierende Region aufziehen",
"symbologyscale": "Darstellungsmaßstab"
},
"editing": {
"add": "Hinzufügen",
"attrtable": "Tabelle",
Expand Down Expand Up @@ -378,35 +371,32 @@
},
"print": {
"atlasfeature": "Atlasobjekt",
"download": "Herunterladen",
"download_as_onepdf": "als ein PDF-Dokument",
"download_as_onezip": "als ein ZIP-Archiv",
"download_as_single": "als einzelne Dateien",
"format": "Format",
"grid": "Gitter",
"layout": "Format",
"layout": "Layout",
"legend": "Legende",
"maximize": "Maximieren",
"minimize": "Minimieren",
"nolayouts": "Das gewählte Thema stellt keine Druck-Vorlagen zur Verfügung.",
"notheme": "Kein Thema selektiert",
"output": "Druckausgabe",
"overlap": "Überlappung",
"pickatlasfeature": "In Ebene {0} auswählen...",
"resolution": "Auflösung",
"rotation": "Rotation",
"save": "Speichern",
"scale": "Maßstab",
"series": "Seriendruck",
"submit": "Erzeugen",
"wait": "Bitte warten..."
},
"qtdesignerform": {
"loading": "Formular wird geladen..."
},
"rasterexport": {
"format": "Format",
"resolution": "Auflösung",
"scale": "Maßstab",
"size": "Dimensionen",
"submit": "Exportieren",
"usersize": "Auf Karte auswählen...",
"wait": "Bitte warten..."
},
"redlining": {
"border": "Rand",
"buffer": "Puffern",
Expand Down
22 changes: 6 additions & 16 deletions static/translations/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@
"MapExport": "Export map",
"MapFilter": "Map Filter",
"Print": "Print",
"RasterExport": "Raster Export",
"Reports": "Reports",
"Settings": "Settings",
"Share": "Share Link",
"ThemeSwitcher": "Theme",
"AttributeTable": "Attribute Table",
"Cyclomedia": "Cyclomedia",
"DxfExport": "DXF Export",
"FeatureForm": "Feature Form",
"FeatureSearch": "Feature Search",
"GeometryDigitizer": "Geometry digitizer",
Expand Down Expand Up @@ -141,11 +139,6 @@
"scalehint": "The recordings are only visible on the map below scale 1:{0}.",
"title": "Cyclomedia Viewer"
},
"dxfexport": {
"layers": "Layers",
"selectinfo": "Drag a rectangle around the region to export...",
"symbologyscale": "Symbology scale"
},
"editing": {
"add": "Add",
"attrtable": "Table",
Expand Down Expand Up @@ -378,6 +371,10 @@
},
"print": {
"atlasfeature": "Atlas feature",
"download": "Download",
"download_as_onepdf": "as one PDF document",
"download_as_onezip": "as one ZIP file",
"download_as_single": "as single files",
"format": "Format",
"grid": "Grid",
"layout": "Layout",
Expand All @@ -387,26 +384,19 @@
"nolayouts": "The selected theme does not support printing",
"notheme": "No theme selected",
"output": "Print output",
"overlap": "Overlap",
"pickatlasfeature": "Pick in layer {0}...",
"resolution": "Resolution",
"rotation": "Rotation",
"save": "Save",
"scale": "Scale",
"series": "Print series",
"submit": "Print",
"wait": "Please wait..."
},
"qtdesignerform": {
"loading": "Loading form..."
},
"rasterexport": {
"format": "Format",
"resolution": "Resolution",
"scale": "Scale",
"size": "Size",
"submit": "Export",
"usersize": "Select on map...",
"wait": "Please wait..."
},
"redlining": {
"border": "Border",
"buffer": "Buffer",
Expand Down
22 changes: 6 additions & 16 deletions static/translations/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@
"MapExport": "Exportar mapa",
"MapFilter": "",
"Print": "Imprimir",
"RasterExport": "Exportar trama",
"Reports": "",
"Settings": "Opciones",
"Share": "Compartir enlace",
"ThemeSwitcher": "Tema",
"AttributeTable": "Tabla de Atributos",
"Cyclomedia": "",
"DxfExport": "Exportar DXF",
"FeatureForm": "Formulario de Elemento",
"FeatureSearch": "",
"GeometryDigitizer": "",
Expand Down Expand Up @@ -141,11 +139,6 @@
"scalehint": "",
"title": ""
},
"dxfexport": {
"layers": "Capas",
"selectinfo": "Arrastre un rectángulo alrededor de la zona para exportar...",
"symbologyscale": "Escala de la simbología:"
},
"editing": {
"add": "Añadir",
"attrtable": "Tabla",
Expand Down Expand Up @@ -378,6 +371,10 @@
},
"print": {
"atlasfeature": "",
"download": "",
"download_as_onepdf": "",
"download_as_onezip": "",
"download_as_single": "",
"format": "Formato:",
"grid": "Grilla:",
"layout": "Diseño:",
Expand All @@ -387,26 +384,19 @@
"nolayouts": "El tema seleccionado no admite su impresión",
"notheme": "No hay tema seleccionado",
"output": "Salida de impresión",
"overlap": "",
"pickatlasfeature": "",
"resolution": "Resolución",
"rotation": "Rotación",
"save": "",
"scale": "Escala:",
"series": "",
"submit": "Imprimir",
"wait": "Por favor espere..."
},
"qtdesignerform": {
"loading": "Cargando formulario..."
},
"rasterexport": {
"format": "Formato:",
"resolution": "Resolución:",
"scale": "",
"size": "",
"submit": "",
"usersize": "",
"wait": ""
},
"redlining": {
"border": "Límite",
"buffer": "Bufer",
Expand Down
Loading

0 comments on commit 2d8bd05

Please sign in to comment.