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.
Files changed (73) hide show
  1. package/LICENSE +21 -0
  2. package/dist/components/index.d.ts +33 -0
  3. package/dist/components/map-draw.d.ts +11 -0
  4. package/dist/components/solar-calculator.d.ts +11 -0
  5. package/dist/components/solar-expert.d.ts +11 -0
  6. package/dist/stencil-library/api-By7kNIGr.js +18774 -0
  7. package/dist/stencil-library/api-By7kNIGr.js.map +1 -0
  8. package/dist/stencil-library/app-globals-DQuL1Twl.js +6 -0
  9. package/dist/stencil-library/app-globals-DQuL1Twl.js.map +1 -0
  10. package/dist/stencil-library/decoder-DSavpK4g.js +29 -0
  11. package/dist/stencil-library/decoder-DSavpK4g.js.map +1 -0
  12. package/dist/stencil-library/deflate-Cpl_7R0h.js +13 -0
  13. package/dist/stencil-library/deflate-Cpl_7R0h.js.map +1 -0
  14. package/dist/stencil-library/index-CEfm4WRP.js +4170 -0
  15. package/dist/stencil-library/index-CEfm4WRP.js.map +1 -0
  16. package/dist/stencil-library/index-DimvNaNS.js +412 -0
  17. package/dist/stencil-library/index-DimvNaNS.js.map +1 -0
  18. package/dist/stencil-library/index.esm.js +12 -0
  19. package/dist/stencil-library/index.esm.js.map +1 -0
  20. package/dist/stencil-library/jpeg-3kYgfUiy.js +902 -0
  21. package/dist/stencil-library/jpeg-3kYgfUiy.js.map +1 -0
  22. package/dist/stencil-library/lerc-D9ISp5i_.js +2487 -0
  23. package/dist/stencil-library/lerc-D9ISp5i_.js.map +1 -0
  24. package/dist/stencil-library/loader.esm.js.map +1 -0
  25. package/dist/stencil-library/lucide-DGcPbaht.js +27006 -0
  26. package/dist/stencil-library/lucide-DGcPbaht.js.map +1 -0
  27. package/dist/stencil-library/lzw-15JscBc_.js +136 -0
  28. package/dist/stencil-library/lzw-15JscBc_.js.map +1 -0
  29. package/dist/stencil-library/map-draw.entry.esm.js.map +1 -0
  30. package/dist/stencil-library/map-draw.entry.js +2777 -0
  31. package/dist/stencil-library/map-draw.entry.js.map +1 -0
  32. package/dist/stencil-library/packbits-i_L--d7r.js +31 -0
  33. package/dist/stencil-library/packbits-i_L--d7r.js.map +1 -0
  34. package/dist/stencil-library/pako.esm-BdkEMvj8.js +6879 -0
  35. package/dist/stencil-library/pako.esm-BdkEMvj8.js.map +1 -0
  36. package/dist/stencil-library/raw-Cp-44rFp.js +12 -0
  37. package/dist/stencil-library/raw-Cp-44rFp.js.map +1 -0
  38. package/dist/stencil-library/solar-calculator.entry.esm.js.map +1 -0
  39. package/dist/stencil-library/solar-calculator.entry.js +70 -0
  40. package/dist/stencil-library/solar-calculator.entry.js.map +1 -0
  41. package/dist/stencil-library/solar-expert.entry.esm.js.map +1 -0
  42. package/dist/stencil-library/solar-expert.entry.js +66 -0
  43. package/dist/stencil-library/solar-expert.entry.js.map +1 -0
  44. package/dist/stencil-library/stencil-library.esm.js +51 -0
  45. package/dist/stencil-library/stencil-library.esm.js.map +1 -0
  46. package/dist/stencil-library/webimage-Cn4h3lmO.js +45 -0
  47. package/dist/stencil-library/webimage-Cn4h3lmO.js.map +1 -0
  48. package/dist/types/components/map-draw/map-draw.d.ts +58 -0
  49. package/dist/types/components/solar-calculator/solar-calculator.d.ts +15 -0
  50. package/dist/types/components/solar-expert/solar-expert.d.ts +15 -0
  51. package/dist/types/components.d.ts +81 -0
  52. package/dist/types/config.d.ts +15 -0
  53. package/dist/types/constants.d.ts +7 -0
  54. package/dist/types/index.d.ts +10 -0
  55. package/dist/types/stencil-public-runtime.d.ts +1702 -0
  56. package/dist/types/types/shapes.d.ts +32 -0
  57. package/dist/types/utils/api.d.ts +13 -0
  58. package/dist/types/utils/geometry/fitting.d.ts +89 -0
  59. package/dist/types/utils/geometry/gridMatch.d.ts +26 -0
  60. package/dist/types/utils/render/color.d.ts +3 -0
  61. package/dist/types/utils/render/polygon.d.ts +35 -0
  62. package/dist/types/utils/render/projection.d.ts +13 -0
  63. package/dist/types/utils/render/tools.d.ts +18 -0
  64. package/dist/types/utils/solar.d.ts +155 -0
  65. package/dist/types/utils/utils.d.ts +8 -0
  66. package/dist/types/utils/visualize.d.ts +111 -0
  67. package/loader/cdn.js +1 -0
  68. package/loader/index.cjs.js +1 -0
  69. package/loader/index.d.ts +24 -0
  70. package/loader/index.es2017.js +1 -0
  71. package/loader/index.js +2 -0
  72. package/package.json +66 -0
  73. 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;