blue-chestnut-solar-expert 0.0.1
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/LICENSE +21 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/map-draw.d.ts +11 -0
- package/dist/components/solar-calculator.d.ts +11 -0
- package/dist/components/solar-expert.d.ts +11 -0
- package/dist/stencil-library/api-By7kNIGr.js +18774 -0
- package/dist/stencil-library/api-By7kNIGr.js.map +1 -0
- package/dist/stencil-library/app-globals-DQuL1Twl.js +6 -0
- package/dist/stencil-library/app-globals-DQuL1Twl.js.map +1 -0
- package/dist/stencil-library/decoder-DSavpK4g.js +29 -0
- package/dist/stencil-library/decoder-DSavpK4g.js.map +1 -0
- package/dist/stencil-library/deflate-Cpl_7R0h.js +13 -0
- package/dist/stencil-library/deflate-Cpl_7R0h.js.map +1 -0
- package/dist/stencil-library/index-CEfm4WRP.js +4170 -0
- package/dist/stencil-library/index-CEfm4WRP.js.map +1 -0
- package/dist/stencil-library/index-DimvNaNS.js +412 -0
- package/dist/stencil-library/index-DimvNaNS.js.map +1 -0
- package/dist/stencil-library/index.esm.js +12 -0
- package/dist/stencil-library/index.esm.js.map +1 -0
- package/dist/stencil-library/jpeg-3kYgfUiy.js +902 -0
- package/dist/stencil-library/jpeg-3kYgfUiy.js.map +1 -0
- package/dist/stencil-library/lerc-D9ISp5i_.js +2487 -0
- package/dist/stencil-library/lerc-D9ISp5i_.js.map +1 -0
- package/dist/stencil-library/loader.esm.js.map +1 -0
- package/dist/stencil-library/lucide-DGcPbaht.js +27006 -0
- package/dist/stencil-library/lucide-DGcPbaht.js.map +1 -0
- package/dist/stencil-library/lzw-15JscBc_.js +136 -0
- package/dist/stencil-library/lzw-15JscBc_.js.map +1 -0
- package/dist/stencil-library/map-draw.entry.esm.js.map +1 -0
- package/dist/stencil-library/map-draw.entry.js +2777 -0
- package/dist/stencil-library/map-draw.entry.js.map +1 -0
- package/dist/stencil-library/packbits-i_L--d7r.js +31 -0
- package/dist/stencil-library/packbits-i_L--d7r.js.map +1 -0
- package/dist/stencil-library/pako.esm-BdkEMvj8.js +6879 -0
- package/dist/stencil-library/pako.esm-BdkEMvj8.js.map +1 -0
- package/dist/stencil-library/raw-Cp-44rFp.js +12 -0
- package/dist/stencil-library/raw-Cp-44rFp.js.map +1 -0
- package/dist/stencil-library/solar-calculator.entry.esm.js.map +1 -0
- package/dist/stencil-library/solar-calculator.entry.js +70 -0
- package/dist/stencil-library/solar-calculator.entry.js.map +1 -0
- package/dist/stencil-library/solar-expert.entry.esm.js.map +1 -0
- package/dist/stencil-library/solar-expert.entry.js +66 -0
- package/dist/stencil-library/solar-expert.entry.js.map +1 -0
- package/dist/stencil-library/stencil-library.esm.js +51 -0
- package/dist/stencil-library/stencil-library.esm.js.map +1 -0
- package/dist/stencil-library/webimage-Cn4h3lmO.js +45 -0
- package/dist/stencil-library/webimage-Cn4h3lmO.js.map +1 -0
- package/dist/types/components/map-draw/map-draw.d.ts +58 -0
- package/dist/types/components/solar-calculator/solar-calculator.d.ts +15 -0
- package/dist/types/components/solar-expert/solar-expert.d.ts +15 -0
- package/dist/types/components.d.ts +81 -0
- package/dist/types/config.d.ts +15 -0
- package/dist/types/constants.d.ts +7 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/stencil-public-runtime.d.ts +1702 -0
- package/dist/types/types/shapes.d.ts +32 -0
- package/dist/types/utils/api.d.ts +13 -0
- package/dist/types/utils/geometry/fitting.d.ts +89 -0
- package/dist/types/utils/geometry/gridMatch.d.ts +26 -0
- package/dist/types/utils/render/color.d.ts +3 -0
- package/dist/types/utils/render/polygon.d.ts +35 -0
- package/dist/types/utils/render/projection.d.ts +13 -0
- package/dist/types/utils/render/tools.d.ts +18 -0
- package/dist/types/utils/solar.d.ts +155 -0
- package/dist/types/utils/utils.d.ts +8 -0
- package/dist/types/utils/visualize.d.ts +111 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +66 -0
- package/readme.md +150 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get the base path to where the assets can be found. Use "setAssetPath(path)"
|
|
3
|
+
* if the path needs to be customized.
|
|
4
|
+
*/
|
|
5
|
+
export declare const getAssetPath: (path: string) => string;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Used to manually set the base path where assets can be found.
|
|
9
|
+
* If the script is used as "module", it's recommended to use "import.meta.url",
|
|
10
|
+
* such as "setAssetPath(import.meta.url)". Other options include
|
|
11
|
+
* "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
|
|
12
|
+
* dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
|
|
13
|
+
* But do note that this configuration depends on how your script is bundled, or lack of
|
|
14
|
+
* bundling, and where your assets can be loaded from. Additionally custom bundling
|
|
15
|
+
* will have to ensure the static assets are copied to its build directory.
|
|
16
|
+
*/
|
|
17
|
+
export declare const setAssetPath: (path: string) => void;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Used to specify a nonce value that corresponds with an application's CSP.
|
|
21
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
22
|
+
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
|
23
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) which
|
|
24
|
+
* will result in the same behavior.
|
|
25
|
+
*/
|
|
26
|
+
export declare const setNonce: (nonce: string) => void
|
|
27
|
+
|
|
28
|
+
export interface SetPlatformOptions {
|
|
29
|
+
raf?: (c: FrameRequestCallback) => number;
|
|
30
|
+
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
31
|
+
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
32
|
+
}
|
|
33
|
+
export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface MapDraw extends Components.MapDraw, HTMLElement {}
|
|
4
|
+
export const MapDraw: {
|
|
5
|
+
prototype: MapDraw;
|
|
6
|
+
new (): MapDraw;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface SolarCalculator extends Components.SolarCalculator, HTMLElement {}
|
|
4
|
+
export const SolarCalculator: {
|
|
5
|
+
prototype: SolarCalculator;
|
|
6
|
+
new (): SolarCalculator;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface SolarExpert extends Components.SolarExpert, HTMLElement {}
|
|
4
|
+
export const SolarExpert: {
|
|
5
|
+
prototype: SolarExpert;
|
|
6
|
+
new (): SolarExpert;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|