blue-chestnut-solar-expert 0.0.70 → 0.0.72
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/stencil-library/{decoder-CuK4bYyT.js → decoder-CPVEW_Ka.js} +5 -5
- package/dist/stencil-library/{decoder-CuK4bYyT.js.map → decoder-CPVEW_Ka.js.map} +1 -1
- package/dist/stencil-library/{decoder-DO85tL09.js → decoder-DUMy4-YU.js} +5 -5
- package/dist/stencil-library/{decoder-DO85tL09.js.map → decoder-DUMy4-YU.js.map} +1 -1
- package/dist/stencil-library/{deflate-B_19Wwe5.js → deflate-B57bxEA2.js} +5 -5
- package/dist/stencil-library/{deflate-B_19Wwe5.js.map → deflate-B57bxEA2.js.map} +1 -1
- package/dist/stencil-library/{deflate-BnZRAamW.js → deflate-BtBNkkuY.js} +5 -5
- package/dist/stencil-library/{deflate-BnZRAamW.js.map → deflate-BtBNkkuY.js.map} +1 -1
- package/dist/stencil-library/eraser-icon.entry.js +1 -1
- package/dist/stencil-library/house-icon.entry.js +1 -1
- package/dist/stencil-library/icon-selector.entry.js +1 -1
- package/dist/stencil-library/{index-ICfDNUMe.js → index-CtdQ2GTJ.js} +3 -3
- package/dist/stencil-library/{index-ICfDNUMe.js.map → index-CtdQ2GTJ.js.map} +1 -1
- package/dist/stencil-library/index-DzvFVH7F.js +4172 -0
- package/dist/stencil-library/index-DzvFVH7F.js.map +1 -0
- package/dist/stencil-library/{jpeg-BYwBjmYM.js → jpeg-CZDb06H8.js} +5 -5
- package/dist/stencil-library/{jpeg-BYwBjmYM.js.map → jpeg-CZDb06H8.js.map} +1 -1
- package/dist/stencil-library/{jpeg-Carqigwf.js → jpeg-CbHhI4Ax.js} +5 -5
- package/dist/stencil-library/{jpeg-Carqigwf.js.map → jpeg-CbHhI4Ax.js.map} +1 -1
- package/dist/stencil-library/{lerc-C23gVCZY.js → lerc-CnIv8e0A.js} +5 -5
- package/dist/stencil-library/{lerc-BrKFrpOl.js.map → lerc-CnIv8e0A.js.map} +1 -1
- package/dist/stencil-library/{lerc-BrKFrpOl.js → lerc-yI_Z-vIH.js} +5 -5
- package/dist/stencil-library/{lerc-C23gVCZY.js.map → lerc-yI_Z-vIH.js.map} +1 -1
- package/dist/stencil-library/loading-widget.entry.js +2 -2
- package/dist/stencil-library/{lzw-Cv4Jzqw8.js → lzw-By0Ly-Um.js} +5 -5
- package/dist/stencil-library/{lzw-Cv4Jzqw8.js.map → lzw-By0Ly-Um.js.map} +1 -1
- package/dist/stencil-library/{lzw-CyjveJk_.js → lzw-uwOJU9LC.js} +5 -5
- package/dist/stencil-library/{lzw-CyjveJk_.js.map → lzw-uwOJU9LC.js.map} +1 -1
- package/dist/stencil-library/{map-draw-I6HehGjN.js → map-draw-BJErx7pC.js} +21 -21
- package/dist/stencil-library/{map-draw-I6HehGjN.js.map → map-draw-BJErx7pC.js.map} +1 -1
- package/dist/stencil-library/{map-draw-s4wyOrpW.js → map-draw-CdjJ0lhL.js} +21 -22
- package/dist/stencil-library/{map-draw-s4wyOrpW.js.map → map-draw-CdjJ0lhL.js.map} +1 -1
- package/dist/stencil-library/map-draw.entry.js +3 -3
- package/dist/stencil-library/map-selector.entry.js +2 -2
- package/dist/stencil-library/marker-icon.entry.js +1 -1
- package/dist/stencil-library/move-icon.entry.js +1 -1
- package/dist/stencil-library/octagon-minus-icon.entry.js +1 -1
- package/dist/stencil-library/{packbits-DYI_WQMn.js → packbits-CAMElV0D.js} +5 -5
- package/dist/stencil-library/{packbits-DYI_WQMn.js.map → packbits-CAMElV0D.js.map} +1 -1
- package/dist/stencil-library/{packbits-DZ08I0fK.js → packbits-z_b-uE9I.js} +5 -5
- package/dist/stencil-library/{packbits-DZ08I0fK.js.map → packbits-z_b-uE9I.js.map} +1 -1
- package/dist/stencil-library/polygon-buttons.entry.js +2 -2
- package/dist/stencil-library/polygon-information.entry.js +2 -2
- package/dist/stencil-library/{raw-DmgLt5Xw.js → raw-Czhh0DXR.js} +5 -5
- package/dist/stencil-library/{raw-DmgLt5Xw.js.map → raw-Czhh0DXR.js.map} +1 -1
- package/dist/stencil-library/{raw-DxHWSwjD.js → raw-DWOUVxSa.js} +5 -5
- package/dist/stencil-library/{raw-DxHWSwjD.js.map → raw-DWOUVxSa.js.map} +1 -1
- package/dist/stencil-library/search-icon.entry.js +1 -1
- package/dist/stencil-library/settings-icon.entry.js +1 -1
- package/dist/stencil-library/settings-modal.entry.js +2 -2
- package/dist/stencil-library/solar-expert.entry.esm.js.map +1 -1
- package/dist/stencil-library/solar-expert.entry.js +4 -4
- package/dist/stencil-library/solar-expert.entry.js.map +1 -1
- package/dist/stencil-library/solar-system-form.entry.esm.js.map +1 -1
- package/dist/stencil-library/solar-system-form.entry.js +143 -209
- package/dist/stencil-library/solar-system-form.entry.js.map +1 -1
- package/dist/stencil-library/stencil-library.esm.js +3 -3
- package/dist/stencil-library/{store-CcqrFuBK.js → store-CAMVyEnv.js} +3 -3
- package/dist/stencil-library/{store-CcqrFuBK.js.map → store-CAMVyEnv.js.map} +1 -1
- package/dist/stencil-library/store-nKI4l4pt.js +758 -0
- package/dist/stencil-library/store-nKI4l4pt.js.map +1 -0
- package/dist/stencil-library/toast-notification.entry.js +1 -1
- package/dist/stencil-library/tool-box.entry.js +2 -2
- package/dist/stencil-library/tutorial-component.entry.js +2 -2
- package/dist/stencil-library/undo-icon.entry.js +1 -1
- package/dist/stencil-library/{webimage-DjTbF9dC.js → webimage-22q9OHrk.js} +5 -5
- package/dist/stencil-library/{webimage-DjTbF9dC.js.map → webimage-22q9OHrk.js.map} +1 -1
- package/dist/stencil-library/{webimage-DpQLhKY4.js → webimage-Dsu3knYw.js} +5 -5
- package/dist/stencil-library/{webimage-DpQLhKY4.js.map → webimage-Dsu3knYw.js.map} +1 -1
- package/dist/types/components/solar-system-form/solar-system-form.d.ts +10 -6
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
if (typeof global === "undefined") { var global = globalThis || window || self; }
|
|
3
|
-
import { r as registerInstance, g as getElement, h, a as getAssetPath } from './index-
|
|
3
|
+
import { r as registerInstance, g as getElement, h, a as getAssetPath } from './index-CtdQ2GTJ.js';
|
|
4
4
|
import { r as requireDist$1, d as distExports$1, B as BORDER_INSET } from './constants-hboFofU4.js';
|
|
5
5
|
import { r as roofTool, m as moveTool, a as markRoofEdgeTool, o as obstructionTool } from './tools-BNYKV5H5.js';
|
|
6
6
|
import { a as DEFAULT_SOLAR_EXPERT_CONFIG, b as DEFAULT_SOLAR_PANEL_TYPE } from './config-CWfV1nKn.js';
|
|
7
7
|
import { g as getPixelInMeters$1 } from './utils-BCUZxI9u.js';
|
|
8
|
-
import { s as state, o as onChange, g as getLanguageStrings } from './store-
|
|
8
|
+
import { s as state, o as onChange, g as getLanguageStrings } from './store-CAMVyEnv.js';
|
|
9
9
|
|
|
10
10
|
const THIS_IS_NOT_AN_OBJECT = "This is not an object";
|
|
11
11
|
const THIS_IS_NOT_A_FLOAT16ARRAY_OBJECT = "This is not a Float16Array object";
|
|
@@ -2627,22 +2627,22 @@ async function getDecoder(fileDirectory) {
|
|
|
2627
2627
|
}
|
|
2628
2628
|
|
|
2629
2629
|
// Add default decoders to registry (end-user may override with other implementations)
|
|
2630
|
-
addDecoder([undefined, 1], () => import('./raw-
|
|
2631
|
-
addDecoder(5, () => import('./lzw-
|
|
2630
|
+
addDecoder([undefined, 1], () => import('./raw-DWOUVxSa.js').then((m) => m.default));
|
|
2631
|
+
addDecoder(5, () => import('./lzw-By0Ly-Um.js').then((m) => m.default));
|
|
2632
2632
|
addDecoder(6, () => {
|
|
2633
2633
|
throw new Error('old style JPEG compression is not supported.');
|
|
2634
2634
|
});
|
|
2635
|
-
addDecoder(7, () => import('./jpeg-
|
|
2636
|
-
addDecoder([8, 32946], () => import('./deflate-
|
|
2637
|
-
addDecoder(32773, () => import('./packbits-
|
|
2638
|
-
addDecoder(34887, () => import('./lerc-
|
|
2635
|
+
addDecoder(7, () => import('./jpeg-CbHhI4Ax.js').then((m) => m.default));
|
|
2636
|
+
addDecoder([8, 32946], () => import('./deflate-BtBNkkuY.js').then((m) => m.default));
|
|
2637
|
+
addDecoder(32773, () => import('./packbits-z_b-uE9I.js').then((m) => m.default));
|
|
2638
|
+
addDecoder(34887, () => import('./lerc-CnIv8e0A.js')
|
|
2639
2639
|
.then(async (m) => {
|
|
2640
2640
|
await m.zstd.init();
|
|
2641
2641
|
return m;
|
|
2642
2642
|
})
|
|
2643
2643
|
.then((m) => m.default),
|
|
2644
2644
|
);
|
|
2645
|
-
addDecoder(50001, () => import('./webimage-
|
|
2645
|
+
addDecoder(50001, () => import('./webimage-Dsu3knYw.js').then((m) => m.default));
|
|
2646
2646
|
|
|
2647
2647
|
/**
|
|
2648
2648
|
* @module resample
|
|
@@ -4085,7 +4085,7 @@ class Pool {
|
|
|
4085
4085
|
this.messageId = 0;
|
|
4086
4086
|
if (size) {
|
|
4087
4087
|
this._awaitingDecoder = createWorker ? Promise.resolve(createWorker) : new Promise((resolve) => {
|
|
4088
|
-
import('./decoder-
|
|
4088
|
+
import('./decoder-CPVEW_Ka.js').then((module) => {
|
|
4089
4089
|
resolve(module.create);
|
|
4090
4090
|
});
|
|
4091
4091
|
});
|
|
@@ -25407,7 +25407,6 @@ const MapDraw = class {
|
|
|
25407
25407
|
};
|
|
25408
25408
|
const inset = BORDER_INSET / this.pixelInMeters;
|
|
25409
25409
|
const solarPanels = distExports$1.getOptimalSolarPositionFully(polygon, this.canvasManager.getObstacles(), convertedSolarPanel, polygon.azimuth, inset, polygon.pitch, state.settings.columnSpacing, state.settings.rowSpacing);
|
|
25410
|
-
console.log("Calculated solar panels:", solarPanels);
|
|
25411
25410
|
this.canvasManager.setPositionedSolarPanel(polygon.id, solarPanels);
|
|
25412
25411
|
// Convert PositionedSolarPanel[] to SolarPanelSystemPart format
|
|
25413
25412
|
const allPositionedPanels = this.canvasManager
|
|
@@ -25536,24 +25535,24 @@ const MapDraw = class {
|
|
|
25536
25535
|
}
|
|
25537
25536
|
render() {
|
|
25538
25537
|
const t = getLanguageStrings(state.settings.language);
|
|
25539
|
-
return (h("div", { key: '
|
|
25540
|
-
.description, videoSource: getAssetPath("./assets/tutorial2.mp4") })), this.showAdditionalToolsTutorial && (h("tutorial-component", { key: '
|
|
25538
|
+
return (h("div", { key: 'dfd6d42ee7d4ff2402791493677c4b732bd02d79', class: "flex flex-col justify-center items-center w-full h-full gap-4", id: "map-draw" }, this.showTutorial && (h("tutorial-component", { key: '30d2b5ed760910180c35e04a8e9a3b31da574f97', onClose: this.handleTutorialClose, title: t.mapDraw.tutorial.title, description: t.mapDraw.tutorial.description, videoSource: getAssetPath("./assets/tutorial1.mp4") })), this.showMarkEdgeTutorial && (h("tutorial-component", { key: 'da7e040ed1295a163e74512fe7a62c60d4a33a61', onClose: this.handleMarkEdgeTutorialClose, title: t.mapDraw.tutorial.markEdge.title, description: t.mapDraw.tutorial.markEdge
|
|
25539
|
+
.description, videoSource: getAssetPath("./assets/tutorial2.mp4") })), this.showAdditionalToolsTutorial && (h("tutorial-component", { key: 'fa81b0111d14d2bea4bee91fd7b060fe694e03a9', onClose: this
|
|
25541
25540
|
.handleAdditionalToolsTutorialClose, title: t.mapDraw.tutorial.additionalTools.title, description: t.mapDraw.tutorial.additionalTools
|
|
25542
|
-
.description, videoSource: getAssetPath("./assets/tutorial3.mp4") })), this.showObstacleTutorial && (h("tutorial-component", { key: '
|
|
25543
|
-
this.loadingState === "loading") && (h("div", { key: '
|
|
25544
|
-
this.loadingState === "error") && (h("div", { key: '
|
|
25541
|
+
.description, videoSource: getAssetPath("./assets/tutorial3.mp4") })), this.showObstacleTutorial && (h("tutorial-component", { key: '2894ad5e5b872e0603ff7e608bd3d22cbac64cbf', onClose: this.handleObstacleTutorialClose, onSkip: this.handleObstacleTutorialSkip, showSkipButton: true, title: t.mapDraw.tutorial.obstacle.title, description: t.mapDraw.tutorial.obstacle.description, videoSource: getAssetPath("./assets/tutorial4.mp4") })), (state.latitude && state.longitude &&
|
|
25542
|
+
this.loadingState === "loading") && (h("div", { key: 'e323542349191283df4ae4d452ca144881359832', class: "flex items-center justify-center w-full bg-opacity-75 z-20 pt-7 rounded-4xl" }, h("div", { key: 'fa0b90b72583e75f4c3cb7f83e44a43691a87ded', class: "animate-spin rounded-full h-16 w-16 border-t-2 border-b-2 border-secondary" }))), (state.latitude && state.longitude &&
|
|
25543
|
+
this.loadingState === "error") && (h("div", { key: 'fadb04e70e4714b4b03871b9acc08eba8b925b48', class: "flex items-center justify-center w-full bg-opacity-75 z-20 pt-7 rounded-4xl" }, h("div", { key: 'e444b9aa15dc6a04a9445c6c9f5d89fc45db3292', class: "text-red-500 text-center text-lg font-semibold" }, t.mapDraw.imageLoadError))), h("div", { key: '8e1bfac2e36061e0f038576c5a841d34b5a19b18', class: "flex items-start justify-center w-full bg-primary rounded-4xl" }, h("div", { key: '98f19db1cc659d6477ad8f1200099ba2f86579e2', class: "relative flex items-center justify-center w-full rounded-4xl bg-secondary", style: {
|
|
25545
25544
|
aspectRatio: this.rgbTiff
|
|
25546
25545
|
? `${this.rgbTiff.width}/${this.rgbTiff.height}`
|
|
25547
25546
|
: "",
|
|
25548
|
-
} }, !this.rgbTiff && (h("div", { key: '
|
|
25547
|
+
} }, !this.rgbTiff && (h("div", { key: 'ffc52e8404b80d510c61d1f8fa1fa9f79b26d461', class: "text-white p-6" }, "Satelitebild wird geladen sobald Sie eine Addresse ausgew\u00E4hlt haben.")), h("canvas", { key: '7d008de7eec9aa57593f641d0d176e11b956adb7', ref: (el) => this.canvasElement = el, class: "absolute top-0 left-0 w-full h-full rounded-4xl", id: "map-draw-canvas", style: {
|
|
25549
25548
|
cursor: this.currentTool.cursor,
|
|
25550
|
-
} }), h("canvas", { key: '
|
|
25549
|
+
} }), h("canvas", { key: '55727fcea57628e8a9480438ff4d91c1c7b711d7', ref: (el) => this.polygonCanvas = el, class: "absolute top-0 left-0 w-full h-full rounded-4xl", style: {
|
|
25551
25550
|
cursor: this.currentTool.cursor,
|
|
25552
|
-
} }))), (this.rgbTiff || this.unfold) && (h("div", { key: '
|
|
25551
|
+
} }))), (this.rgbTiff || this.unfold) && (h("div", { key: 'b09a8af7751ad94ba9c6d855f3732bebf2395f09', class: "w-full" }, h("div", { key: '125a44a4f96ebf0a6090f51bc9e58dcc1ad0d50f', class: "w-full pb-4" }, h("tool-box", { key: '57053da9c09b18ec869c4a744b96cfdd35c38ed7', currentTool: this.currentTool, onToolSelect: (tool) => this.handleToolSelect(tool), undoCallback: () => this.undo() })), h("div", { key: '39054b81dab5b5f86020347841489f86821f92cc', class: "w-full" }, h("polygon-information", { key: 'fc8b1e52fe49797fc8c8fb10fdc267bdfa4b5114', currentPolygon: this.currentPolygon, numberOfPanels: this.currentPolygon
|
|
25553
25552
|
? this
|
|
25554
25553
|
.solarSystem[this.currentPolygon.id]
|
|
25555
25554
|
?.numberOfPanels
|
|
25556
|
-
: undefined, handleAzimuthChange: (event) => this.handleAzimuthChange(event), handlePitchChange: (event) => this.handlePitchChange(event), calculateSolarPanels: () => this.calculateSolarPanels(true), markAsFlatRoof: () => this.markAsFlatRoof(), currentTool: this.currentTool.name })), h("div", { key: '
|
|
25555
|
+
: undefined, handleAzimuthChange: (event) => this.handleAzimuthChange(event), handlePitchChange: (event) => this.handlePitchChange(event), calculateSolarPanels: () => this.calculateSolarPanels(true), markAsFlatRoof: () => this.markAsFlatRoof(), currentTool: this.currentTool.name })), h("div", { key: 'be843fe04748f58a133e20ec127a2a248c4d5e3d', class: "w-full" }, h("solar-system-form", { key: '3d26ef1435cd62559a3bbb05b18193dd9c9fc9a6', systemConfigs: this.solarSystem, polygons: this.canvasManager?.getPolygons(), roofCanvas: this.canvasElement, polygonCanvas: this.polygonCanvas, pixelInMeters: this.pixelInMeters })))), this.showSettings && (h("settings-modal", { key: 'a5166f182f7256ecfeaa2983de36496371580f11', settings: state.settings, onClose: this.handleSettingsClose, onSave: this.handleSettingsSave })), this.showToast && (h("toast-notification", { key: 'a5a74da758bb9d367c69289d306d2f0c56a60914', message: this.toastMessage, type: this.toastType, duration: 3000 }))));
|
|
25557
25556
|
}
|
|
25558
25557
|
static get watchers() { return {
|
|
25559
25558
|
"rgbTiff": ["setupCanvasManager", "drawMap"],
|
|
@@ -25563,6 +25562,6 @@ const MapDraw = class {
|
|
|
25563
25562
|
MapDraw.style = outputCss;
|
|
25564
25563
|
|
|
25565
25564
|
export { Buffer as B, LercParameters as L, MapDraw as M, BaseDecoder as a, LercAddCompression as b };
|
|
25566
|
-
//# sourceMappingURL=map-draw-
|
|
25565
|
+
//# sourceMappingURL=map-draw-CdjJ0lhL.js.map
|
|
25567
25566
|
|
|
25568
|
-
//# sourceMappingURL=map-draw-
|
|
25567
|
+
//# sourceMappingURL=map-draw-CdjJ0lhL.js.map
|