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/readme.md ADDED
@@ -0,0 +1,150 @@
1
+ [![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square)](https://stenciljs.com)
2
+
3
+ # Stencil Component Starter
4
+
5
+ > This is a starter project for building a standalone Web Components using
6
+ > Stencil.
7
+
8
+ Stencil is a compiler for building fast web apps using Web Components.
9
+
10
+ Stencil combines the best concepts of the most popular frontend frameworks into
11
+ a compile-time rather than runtime tool. Stencil takes TypeScript, JSX, a tiny
12
+ virtual DOM layer, efficient one-way data binding, an asynchronous rendering
13
+ pipeline (similar to React Fiber), and lazy-loading out of the box, and
14
+ generates 100% standards-based Web Components that run in any browser supporting
15
+ the Custom Elements specification.
16
+
17
+ Stencil components are just Web Components, so they work in any major framework
18
+ or with no framework at all.
19
+
20
+ ## Getting Started
21
+
22
+ To start building a new web component using Stencil, clone this repo to a new
23
+ directory:
24
+
25
+ ```bash
26
+ git clone https://github.com/stenciljs/component-starter.git my-component
27
+ cd my-component
28
+ git remote rm origin
29
+ ```
30
+
31
+ and run:
32
+
33
+ ```bash
34
+ npm install
35
+ npm start
36
+ ```
37
+
38
+ To build the component for production, run:
39
+
40
+ ```bash
41
+ npm run build
42
+ ```
43
+
44
+ To run the unit tests for the components, run:
45
+
46
+ ```bash
47
+ npm test
48
+ ```
49
+
50
+ Need help? Check out our docs
51
+ [here](https://stenciljs.com/docs/my-first-component).
52
+
53
+ ## Naming Components
54
+
55
+ When creating new component tags, we recommend _not_ using `stencil` in the
56
+ component name (ex: `<stencil-datepicker>`). This is because the generated
57
+ component has little to nothing to do with Stencil; it's just a web component!
58
+
59
+ Instead, use a prefix that fits your company or any name for a group of related
60
+ components. For example, all of the
61
+ [Ionic-generated](https://ionicframework.com/) web components use the prefix
62
+ `ion`.
63
+
64
+ ## Using this component
65
+
66
+ There are two strategies we recommend for using web components built with
67
+ Stencil.
68
+
69
+ The first step for all two of these strategies is to
70
+ [publish to NPM](https://docs.npmjs.com/getting-started/publishing-npm-packages).
71
+
72
+ You can read more about these different approaches in the
73
+ [Stencil docs](https://stenciljs.com/docs/publishing).
74
+
75
+ ### Lazy Loading
76
+
77
+ If your Stencil project is built with the
78
+ [`dist`](https://stenciljs.com/docs/distribution) output target, you can import
79
+ a small bootstrap script that registers all components and allows you to load
80
+ individual component scripts lazily.
81
+
82
+ For example, given your Stencil project namespace is called `my-design-system`,
83
+ to use `my-component` on any website, inject this into your HTML:
84
+
85
+ ```html
86
+ <script type="module" src="https://unpkg.com/my-design-system"></script>
87
+ <!--
88
+ To avoid unpkg.com redirects to the actual file, you can also directly import:
89
+ https://unpkg.com/foobar-design-system@0.0.1/dist/foobar-design-system/foobar-design-system.esm.js
90
+ -->
91
+ <my-component first="Stencil" middle="'Don't call me a framework'" last="JS"></my-component>
92
+ ```
93
+
94
+ This will only load the necessary scripts needed to render `<my-component />`.
95
+ Once more components of this package are used, they will automatically be loaded
96
+ lazily.
97
+
98
+ You can also import the script as part of your `node_modules` in your
99
+ applications entry file:
100
+
101
+ ```tsx
102
+ import "foobar-design-system/dist/foobar-design-system/foobar-design-system.esm.js";
103
+ ```
104
+
105
+ Check out this
106
+ [Live Demo](https://stackblitz.com/edit/vitejs-vite-y6v26a?file=src%2Fmain.tsx).
107
+
108
+ ### Standalone
109
+
110
+ If you are using a Stencil component library with `dist-custom-elements`, we
111
+ recommend importing Stencil components individually in those files where they
112
+ are needed.
113
+
114
+ To export Stencil components as standalone components make sure you have the
115
+ [`dist-custom-elements`](https://stenciljs.com/docs/custom-elements) output
116
+ target defined in your `stencil.config.ts`.
117
+
118
+ For example, given you'd like to use `<my-component />` as part of a React
119
+ component, you can import the component directly via:
120
+
121
+ ```tsx
122
+ import "foobar-design-system/my-component";
123
+
124
+ function App() {
125
+ return (
126
+ <>
127
+ <div>
128
+ <my-component
129
+ first="Stencil"
130
+ middle="'Don't call me a framework'"
131
+ last="JS"
132
+ >
133
+ </my-component>
134
+ </div>
135
+ </>
136
+ );
137
+ }
138
+
139
+ export default App;
140
+ ```
141
+
142
+ Check out this
143
+ [Live Demo](https://stackblitz.com/edit/vitejs-vite-b6zuds?file=src%2FApp.tsx).
144
+
145
+ ## Development
146
+
147
+ ```bash
148
+ npm run start
149
+ npx @tailwindcss/cli -i ./src/input.css -o ./src/output.css --watch
150
+ ```