@aigne/astrochart 1.11.0-beta.12
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 +33 -0
- package/assets/icons/ascendant.svg +3 -0
- package/assets/icons/jupiter.svg +3 -0
- package/assets/icons/mars.svg +10 -0
- package/assets/icons/mercury.svg +10 -0
- package/assets/icons/moon.svg +3 -0
- package/assets/icons/neptune.svg +10 -0
- package/assets/icons/saturn.svg +3 -0
- package/assets/icons/sun.svg +10 -0
- package/assets/icons/uranus.svg +3 -0
- package/assets/icons/venus.svg +10 -0
- package/dist/index.d.mts +574 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +2643 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +56 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2015-2018 Matheus Alves
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
|
|
11
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
12
|
+
|
|
13
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
14
|
+
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
|
|
19
|
+
copies or substantial portions of the Software.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
|
|
23
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
|
|
25
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
26
|
+
|
|
27
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
28
|
+
|
|
29
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
30
|
+
|
|
31
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
32
|
+
|
|
33
|
+
SOFTWARE.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M13.154 15.532V11.44H2.11V10.032H3.166C4.10467 10.032 4.94067 9.9 5.674 9.636C6.422 9.372 7.06 9.00533 7.588 8.536C8.116 8.06667 8.51933 7.50933 8.798 6.864C9.07667 6.21867 9.216 5.522 9.216 4.774C9.216 3.674 8.94467 2.838 8.402 2.266C7.874 1.694 7.19933 1.408 6.378 1.408C5.57133 1.408 4.89667 1.68667 4.354 2.244C3.81133 2.78667 3.54 3.542 3.54 4.51H2C2 3.63 2.176 2.85267 2.528 2.178C2.88 1.50333 3.386 0.975333 4.046 0.594C4.706 0.198 5.48333 0 6.378 0C7.302 0 8.08667 0.198 8.732 0.594C9.392 0.975333 9.89067 1.518 10.228 2.222C10.58 2.91133 10.756 3.718 10.756 4.642C10.756 5.27267 10.6607 5.92533 10.47 6.6C10.2793 7.26 9.964 7.89067 9.524 8.492C9.09867 9.07867 8.50467 9.592 7.742 10.032H13.154V0.264001H14.694V15.532H13.154Z" fill="#D4C9FF"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_2043_82015)">
|
|
3
|
+
<path d="M15.092 0L14.828 7.26L13.706 7.238L13.53 2.596L8.228 7.898C8.778 8.646 9.064 9.526 9.064 10.538C9.064 11.77 8.624 12.848 7.744 13.75C6.842 14.63 5.764 15.07 4.532 15.07C3.278 15.07 2.222 14.63 1.342 13.75C0.44 12.848 0 11.77 0 10.538C0 9.284 0.44 8.206 1.342 7.326C2.222 6.446 3.278 6.006 4.532 6.006C5.522 6.006 6.402 6.27 7.194 6.842L12.496 1.562L7.876 1.386L7.854 0.263999L15.092 0ZM4.532 7.48C3.696 7.48 2.97 7.766 2.398 8.382C1.782 8.976 1.496 9.702 1.496 10.538C1.496 11.374 1.782 12.078 2.398 12.694C2.97 13.288 3.696 13.596 4.532 13.596C5.368 13.596 6.072 13.288 6.688 12.694C7.282 12.078 7.59 11.374 7.59 10.538C7.59 9.702 7.282 8.976 6.688 8.382C6.072 7.766 5.368 7.48 4.532 7.48Z" fill="#D4C9FF"/>
|
|
4
|
+
</g>
|
|
5
|
+
<defs>
|
|
6
|
+
<clipPath id="clip0_2043_82015">
|
|
7
|
+
<rect width="16" height="16" fill="white"/>
|
|
8
|
+
</clipPath>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_2043_82011)">
|
|
3
|
+
<path d="M7.56212 16V13.8745H5.23985V12.9496H7.56212V11.2177C6.89299 11.1259 6.28946 10.8897 5.75154 10.5092C5.21361 10.1287 4.78721 9.64986 4.47232 9.07257C4.15744 8.48217 4 7.83928 4 7.14391C4 6.40918 4.1968 5.72694 4.59041 5.09717C4.98401 4.45429 5.50226 3.95572 6.14514 3.60148C5.48914 3.23411 4.96433 2.72899 4.57073 2.0861C4.19024 1.44321 4 0.747847 4 0H4.98401C4.98401 0.564165 5.12177 1.08241 5.39729 1.55474C5.68594 2.02706 6.06642 2.40754 6.53875 2.69619C7.01107 2.97171 7.52932 3.10947 8.09348 3.10947C8.67077 3.10947 9.19557 2.97171 9.6679 2.69619C10.1402 2.40754 10.5141 2.02706 10.7897 1.55474C11.0652 1.08241 11.203 0.564165 11.203 0H12.187C12.187 0.760968 11.9902 1.4629 11.5966 2.10578C11.2161 2.74867 10.6978 3.24723 10.0418 3.60148C10.6978 3.95572 11.2161 4.44773 11.5966 5.07749C11.9902 5.70726 12.187 6.39606 12.187 7.14391C12.187 7.82616 12.0295 8.46249 11.7146 9.05289C11.3998 9.63018 10.9734 10.1156 10.4354 10.5092C9.91062 10.8897 9.30709 11.1259 8.62485 11.2177V12.9496H10.9471V13.8745H8.62485V16H7.56212ZM8.09348 10.2534C8.65765 10.2534 9.17589 10.1156 9.64822 9.8401C10.1205 9.55146 10.4945 9.17097 10.77 8.69865C11.0586 8.22632 11.203 7.70808 11.203 7.14391C11.203 6.59287 11.0586 6.08774 10.77 5.62854C10.4945 5.16933 10.1205 4.80197 9.64822 4.52645C9.17589 4.2378 8.65765 4.09348 8.09348 4.09348C7.52932 4.09348 7.01107 4.23124 6.53875 4.50677C6.06642 4.78229 5.68594 5.14965 5.39729 5.60886C5.12177 6.06806 4.98401 6.57975 4.98401 7.14391C4.98401 7.69496 5.12177 8.20664 5.39729 8.67897C5.68594 9.15129 6.06642 9.53178 6.53875 9.82042C7.01107 10.1091 7.52932 10.2534 8.09348 10.2534Z" fill="#D4C9FF"/>
|
|
4
|
+
</g>
|
|
5
|
+
<defs>
|
|
6
|
+
<clipPath id="clip0_2043_82011">
|
|
7
|
+
<rect width="16" height="16" fill="white"/>
|
|
8
|
+
</clipPath>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M5.266 15.268C4.85533 15.268 4.45933 15.246 4.078 15.202C3.71133 15.158 3.352 15.0847 3 14.982V14.256C4.29067 14.256 5.41267 13.9773 6.366 13.42C7.334 12.8627 8.082 12.0853 8.61 11.088C9.138 10.0907 9.402 8.93933 9.402 7.634C9.402 6.32867 9.138 5.17733 8.61 4.18C8.082 3.18267 7.34133 2.40533 6.388 1.848C5.43467 1.29067 4.30533 1.012 3 1.012V0.286C3.67467 0.0953334 4.43 0 5.266 0C6.41 0 7.45867 0.183333 8.412 0.549999C9.38 0.916667 10.2087 1.43733 10.898 2.112C11.602 2.772 12.1447 3.57133 12.526 4.51C12.9073 5.44867 13.098 6.49 13.098 7.634C13.098 9.13 12.7607 10.4573 12.086 11.616C11.426 12.76 10.5093 13.6547 9.336 14.3C8.16267 14.9453 6.806 15.268 5.266 15.268ZM5.288 14.608C6.256 14.608 7.158 14.4247 7.994 14.058C8.83 13.6913 9.556 13.1927 10.172 12.562C10.788 11.9167 11.2647 11.176 11.602 10.34C11.954 9.48933 12.13 8.58733 12.13 7.634C12.13 6.666 11.954 5.764 11.602 4.928C11.2647 4.07733 10.788 3.33667 10.172 2.706C9.556 2.06067 8.83 1.562 7.994 1.21C7.158 0.843334 6.256 0.660001 5.288 0.660001C6.31467 0.88 7.20933 1.32733 7.972 2.002C8.73467 2.662 9.32133 3.476 9.732 4.444C10.1573 5.412 10.37 6.47533 10.37 7.634C10.37 8.778 10.1573 9.84133 9.732 10.824C9.32133 11.792 8.73467 12.606 7.972 13.266C7.20933 13.926 6.31467 14.3733 5.288 14.608Z" fill="#D4C9FF"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_2043_82023)">
|
|
3
|
+
<path d="M6.92958 15.993V13.7113H4.43662V12.7183H6.92958V11.0282C5.23944 10.9296 3.94366 10.338 3.04225 9.25352C2.15493 8.15493 1.71127 6.61268 1.71127 4.62676V3.57042L0 3.84507L2.23944 1.35211L4.47887 3.84507L2.76761 3.57042V4.62676C2.76761 6.24648 3.12676 7.51408 3.84507 8.42958C4.57747 9.34507 5.60563 9.85915 6.92958 9.97183V2.21831L5.21831 2.49296L7.5 0L9.78169 2.49296L8.07042 2.21831V9.97183C9.39437 9.85915 10.4155 9.34507 11.1338 8.42958C11.8662 7.51408 12.2324 6.24648 12.2324 4.62676V3.57042L10.5211 3.84507L12.7606 1.35211L15 3.84507L13.2887 3.57042V4.62676C13.2887 6.61268 12.838 8.15493 11.9366 9.25352C11.0493 10.338 9.76056 10.9296 8.07042 11.0282V12.7183H10.5634V13.7113H8.07042V15.993H6.92958Z" fill="#D4C9FF"/>
|
|
4
|
+
</g>
|
|
5
|
+
<defs>
|
|
6
|
+
<clipPath id="clip0_2043_82023">
|
|
7
|
+
<rect width="16" height="16" fill="white"/>
|
|
8
|
+
</clipPath>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M4.6 16V3.2H3V2.06316H4.6V0H6.07368V2.06316H9.96842V3.2H6.07368V5.11579C6.07368 5.42456 6.05965 5.70526 6.03158 5.9579C6.01754 6.21053 5.99649 6.44912 5.96842 6.67368H6.09474C6.44561 6.11228 6.92982 5.68421 7.54737 5.38947C8.16491 5.0807 8.85965 4.92632 9.63158 4.92632C10.993 4.92632 11.9825 5.27018 12.6 5.9579C13.2175 6.63158 13.5263 7.60702 13.5263 8.88421C13.5263 9.20702 13.4702 9.57193 13.3579 9.97895C13.2596 10.386 13.1053 10.8351 12.8947 11.3263C12.6702 11.8175 12.5018 12.2386 12.3895 12.5895C12.2912 12.9404 12.2421 13.2211 12.2421 13.4316C12.2421 13.8667 12.3263 14.3298 12.4947 14.8211C12.6632 15.2982 12.8456 15.6912 13.0421 16H11.4421C11.2456 15.6912 11.0702 15.2842 10.9158 14.7789C10.7754 14.2737 10.7053 13.7965 10.7053 13.3474C10.7053 13.0667 10.7544 12.7368 10.8526 12.3579C10.9649 11.9789 11.1263 11.5509 11.3368 11.0737C11.5614 10.5544 11.7228 10.1193 11.8211 9.76842C11.9333 9.40351 11.9895 9.10877 11.9895 8.88421C11.9895 7.92982 11.7719 7.24912 11.3368 6.84211C10.9018 6.42105 10.2491 6.21053 9.37895 6.21053C8.64912 6.21053 8.0386 6.36491 7.54737 6.67368C7.05614 6.98246 6.68421 7.45965 6.43158 8.10526C6.19298 8.73684 6.07368 9.55789 6.07368 10.5684V16H4.6Z" fill="#D4C9FF"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_2043_82005)">
|
|
3
|
+
<path d="M7.744 0C9.9 0 11.748 0.748 13.244 2.244C14.74 3.74 15.488 5.566 15.488 7.744C15.488 9.9 14.74 11.748 13.244 13.266C11.748 14.762 9.9 15.51 7.744 15.51C5.544 15.51 3.718 14.762 2.244 13.266C0.748 11.748 0 9.9 0 7.744C0 5.566 0.748 3.74 2.244 2.244C3.74 0.748 5.566 0 7.744 0ZM7.744 1.54C5.984 1.54 4.51 2.134 3.322 3.344C2.112 4.532 1.518 5.984 1.518 7.744C1.518 9.482 2.112 10.956 3.322 12.166C4.51 13.354 5.984 13.97 7.744 13.97C9.46 13.97 10.912 13.354 12.122 12.144C13.332 10.912 13.948 9.46 13.948 7.744C13.948 6.028 13.332 4.554 12.122 3.344C10.912 2.134 9.46 1.54 7.744 1.54ZM7.744 6.05C8.184 6.05 8.58 6.204 8.932 6.556C9.262 6.886 9.438 7.282 9.438 7.744C9.438 8.184 9.262 8.58 8.932 8.932C8.58 9.262 8.184 9.438 7.744 9.438C7.282 9.438 6.886 9.262 6.556 8.932C6.204 8.58 6.05 8.184 6.05 7.744C6.05 7.282 6.204 6.886 6.556 6.556C6.886 6.204 7.282 6.05 7.744 6.05Z" fill="#D4C9FF"/>
|
|
4
|
+
</g>
|
|
5
|
+
<defs>
|
|
6
|
+
<clipPath id="clip0_2043_82005">
|
|
7
|
+
<rect width="16" height="16" fill="white"/>
|
|
8
|
+
</clipPath>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8.37 15.95C7.85667 15.95 7.38733 15.8253 6.962 15.576C6.55133 15.3267 6.22133 14.9967 5.972 14.586C5.72267 14.1607 5.598 13.6913 5.598 13.178C5.598 12.5473 5.78867 11.9827 6.17 11.484C6.55133 10.9853 7.03533 10.6627 7.622 10.516V6.248H4.586V11.286H1V9.834H3.046V1.452H1V0H4.586V4.862H7.622V0H9.052V4.862H12.088V0H15.674V1.452H13.628V9.834H15.674V11.286H12.088V6.248H9.052V10.494C9.668 10.6553 10.1667 10.9927 10.548 11.506C10.944 12.0047 11.142 12.562 11.142 13.178C11.142 13.6767 11.0173 14.1387 10.768 14.564C10.5333 14.9747 10.2033 15.312 9.778 15.576C9.36733 15.8253 8.898 15.95 8.37 15.95ZM8.37 14.608C8.78067 14.608 9.118 14.476 9.382 14.212C9.66067 13.9333 9.8 13.5887 9.8 13.178C9.8 12.782 9.66067 12.4447 9.382 12.166C9.10333 11.8873 8.766 11.748 8.37 11.748C7.95933 11.748 7.61467 11.8873 7.336 12.166C7.072 12.43 6.94 12.7673 6.94 13.178C6.94 13.5887 7.072 13.9333 7.336 14.212C7.61467 14.476 7.95933 14.608 8.37 14.608Z" fill="#D4C9FF"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_2043_82013)">
|
|
3
|
+
<path d="M7.83178 0C8.8785 0 9.79439 0.373831 10.5607 1.1215C11.3084 1.86916 11.6822 2.78505 11.6822 3.85047C11.6822 4.8972 11.3084 5.81308 10.5607 6.56075C9.96262 7.15888 9.25234 7.51402 8.46729 7.64486V9.71963H13.6822V10.972H8.46729V16H7.19626V10.972H2V9.71963H7.19626V7.64486C6.39252 7.51402 5.70093 7.15888 5.1028 6.56075C4.35514 5.81308 3.98131 4.8972 3.98131 3.85047C3.98131 2.78505 4.35514 1.86916 5.1028 1.1215C5.85047 0.373831 6.76636 0 7.83178 0ZM7.83178 1.25234C7.12149 1.25234 6.50467 1.49533 6 2.01869C5.47664 2.52336 5.23365 3.14019 5.23365 3.85047C5.23365 4.56075 5.47664 5.15888 6 5.68224C6.50467 6.16822 7.12149 6.42991 7.83178 6.42991C8.54206 6.42991 9.14019 6.16822 9.66355 5.68224C10.1682 5.15888 10.4299 4.56075 10.4299 3.85047C10.4299 3.14019 10.1682 2.52336 9.66355 2.01869C9.14019 1.49533 8.54206 1.25234 7.83178 1.25234Z" fill="#D4C9FF"/>
|
|
4
|
+
</g>
|
|
5
|
+
<defs>
|
|
6
|
+
<clipPath id="clip0_2043_82013">
|
|
7
|
+
<rect width="16" height="16" fill="white"/>
|
|
8
|
+
</clipPath>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|