blue-chestnut-solar-expert 0.0.28 → 0.0.29
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/cjs/eraser-icon.house-icon.icon-selector.map-draw.map-selector.move-icon.octagon-minus-icon.polygon-buttons.polygon-information.search-icon.settings-icon.settings-modal.solar-expert.solar-system-form.tool-box.undo-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/eraser-icon_16.cjs.entry.js +2 -2
- package/dist/cjs/eraser-icon_16.cjs.entry.js.map +1 -1
- package/dist/collection/components/solar-expert/solar-expert.js +2 -2
- package/dist/collection/components/solar-expert/solar-expert.js.map +1 -1
- package/dist/components/solar-expert.js +2 -2
- package/dist/components/solar-expert.js.map +1 -1
- package/dist/esm/eraser-icon.house-icon.icon-selector.map-draw.map-selector.move-icon.octagon-minus-icon.polygon-buttons.polygon-information.search-icon.settings-icon.settings-modal.solar-expert.solar-system-form.tool-box.undo-icon.entry.js.map +1 -1
- package/dist/esm/eraser-icon_16.entry.js +2 -2
- package/dist/esm/eraser-icon_16.entry.js.map +1 -1
- package/dist/stencil-library/eraser-icon.house-icon.icon-selector.map-draw.map-selector.move-icon.octagon-minus-icon.polygon-buttons.polygon-information.search-icon.settings-icon.settings-modal.solar-expert.solar-system-form.tool-box.undo-icon.entry.esm.js.map +1 -1
- package/dist/stencil-library/{p-255fae24.entry.js → p-8b5f9a3a.entry.js} +2 -2
- package/dist/stencil-library/{p-255fae24.entry.js.map → p-8b5f9a3a.entry.js.map} +1 -1
- package/dist/stencil-library/stencil-library.esm.js +1 -1
- package/package.json +1 -1
|
@@ -2738,7 +2738,7 @@ const SolarExpert = class {
|
|
|
2738
2738
|
}
|
|
2739
2739
|
});
|
|
2740
2740
|
state.settings.language = this.language;
|
|
2741
|
-
state.isIOS =
|
|
2741
|
+
state.isIOS = navigator.userAgent.indexOf("Safari") != -1;
|
|
2742
2742
|
this.applyTheme();
|
|
2743
2743
|
}
|
|
2744
2744
|
colorSchemeChanged() {
|
|
@@ -2795,7 +2795,7 @@ const SolarExpert = class {
|
|
|
2795
2795
|
}
|
|
2796
2796
|
render() {
|
|
2797
2797
|
const t = getLanguageStrings(this.language);
|
|
2798
|
-
return (index.h("div", { key: '
|
|
2798
|
+
return (index.h("div", { key: '3777fe38fe920db77718468c61d15032e3edd875', class: "flex flex-col w-full h-full p-3 m-auto", id: "solar-calculator" }, this.showMapSelector
|
|
2799
2799
|
? (index.h("map-selector", { "api-key": this.apiKey, language: this.language }))
|
|
2800
2800
|
: (index.h(index.h.Fragment, null, index.h("div", { class: "pb-3 flex flex-row gap-4 items-stretch w-full bg-primary" }, index.h("div", { class: "relative flex-3" }, index.h("div", { class: "absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground" }, index.h("search-icon", null)), index.h("input", { ref: (el) => this.inputElement = el, type: "text", placeholder: t.solarExpert
|
|
2801
2801
|
.searchPlaceholder, class: "w-full pl-10 pr-4 py-2 border border-border rounded-4xl focus:ring-secondary bg-muted text-muted-foreground h-full" })), index.h("button", { onClick: () => this.handleChooseOnMap(), class: "flex-1 pl-4 pr-4 py-2 border border-border bg-muted rounded-4xl focus:ring-secondary hover:bg-secondary hover:text-muted" }, t.mapSelector.chooseOnMap)), index.h("map-draw", { apiKey: this.apiKey })))));
|