@roxyapi/ui-react 0.39.0 → 0.40.0

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 (176) hide show
  1. package/AGENTS.md +7 -2
  2. package/README.md +22 -4
  3. package/dist/components/almanac-day.js +1 -1
  4. package/dist/components/almanac-day.js.map +2 -2
  5. package/dist/components/angel-number-card.js +1 -1
  6. package/dist/components/angel-number-card.js.map +2 -2
  7. package/dist/components/angel-number-lookup.js +1 -1
  8. package/dist/components/angel-number-lookup.js.map +2 -2
  9. package/dist/components/arudha-padas.js +1 -1
  10. package/dist/components/arudha-padas.js.map +2 -2
  11. package/dist/components/ashtakavarga-grid.js +1 -1
  12. package/dist/components/ashtakavarga-grid.js.map +2 -2
  13. package/dist/components/aspects-table.js +1 -1
  14. package/dist/components/aspects-table.js.map +2 -2
  15. package/dist/components/astrocartography-map.js +1 -1
  16. package/dist/components/astrocartography-map.js.map +2 -2
  17. package/dist/components/bazi-chart.js +1 -1
  18. package/dist/components/bazi-chart.js.map +2 -2
  19. package/dist/components/bhav-chalit-table.js +1 -1
  20. package/dist/components/bhav-chalit-table.js.map +2 -2
  21. package/dist/components/bhava-bala-table.js +1 -1
  22. package/dist/components/bhava-bala-table.js.map +2 -2
  23. package/dist/components/biorhythm-chart.js +1 -1
  24. package/dist/components/biorhythm-chart.js.map +2 -2
  25. package/dist/components/bodygraph.js +1 -1
  26. package/dist/components/bodygraph.js.map +2 -2
  27. package/dist/components/chara-karakas.js +1 -1
  28. package/dist/components/chara-karakas.js.map +2 -2
  29. package/dist/components/choghadiya-grid.js +1 -1
  30. package/dist/components/choghadiya-grid.js.map +2 -2
  31. package/dist/components/compatibility-card.js +1 -1
  32. package/dist/components/compatibility-card.js.map +2 -2
  33. package/dist/components/crystal-card.js +1 -1
  34. package/dist/components/crystal-card.js.map +2 -2
  35. package/dist/components/crystal-grid.js +1 -1
  36. package/dist/components/crystal-grid.js.map +2 -2
  37. package/dist/components/dasha-timeline.js +1 -1
  38. package/dist/components/dasha-timeline.js.map +2 -2
  39. package/dist/components/data.js +1 -1
  40. package/dist/components/data.js.map +2 -2
  41. package/dist/components/divisional-chart.js +1 -1
  42. package/dist/components/divisional-chart.js.map +2 -2
  43. package/dist/components/dosha-card.js +1 -1
  44. package/dist/components/dosha-card.js.map +2 -2
  45. package/dist/components/dosha-constitution.js +1 -1
  46. package/dist/components/dosha-constitution.js.map +2 -2
  47. package/dist/components/dream-card.js +1 -1
  48. package/dist/components/dream-card.js.map +2 -2
  49. package/dist/components/dream-search.js +1 -1
  50. package/dist/components/dream-search.js.map +2 -2
  51. package/dist/components/endpoint-form.js +1 -1
  52. package/dist/components/endpoint-form.js.map +2 -2
  53. package/dist/components/ephemeris-table.js +1 -1
  54. package/dist/components/ephemeris-table.js.map +2 -2
  55. package/dist/components/fixed-stars.js +1 -1
  56. package/dist/components/fixed-stars.js.map +2 -2
  57. package/dist/components/flying-star-chart.js +1 -1
  58. package/dist/components/flying-star-chart.js.map +2 -2
  59. package/dist/components/forecast-digest.js +1 -1
  60. package/dist/components/forecast-digest.js.map +2 -2
  61. package/dist/components/forecast-timeline.js +1 -1
  62. package/dist/components/forecast-timeline.js.map +2 -2
  63. package/dist/components/gematria.js +1 -1
  64. package/dist/components/gematria.js.map +2 -2
  65. package/dist/components/gochara-table.js +1 -1
  66. package/dist/components/gochara-table.js.map +2 -2
  67. package/dist/components/guna-milan.js +1 -1
  68. package/dist/components/guna-milan.js.map +2 -2
  69. package/dist/components/hd-connection.js +1 -1
  70. package/dist/components/hd-connection.js.map +2 -2
  71. package/dist/components/hd-penta.js +1 -1
  72. package/dist/components/hd-penta.js.map +2 -2
  73. package/dist/components/hd-type-card.js +1 -1
  74. package/dist/components/hd-type-card.js.map +2 -2
  75. package/dist/components/hd-variables.js +1 -1
  76. package/dist/components/hd-variables.js.map +2 -2
  77. package/dist/components/heliacal-table.js +1 -1
  78. package/dist/components/heliacal-table.js.map +2 -2
  79. package/dist/components/hexagram.d.ts +2 -2
  80. package/dist/components/hexagram.d.ts.map +1 -1
  81. package/dist/components/hexagram.js +1 -1
  82. package/dist/components/hexagram.js.map +2 -2
  83. package/dist/components/hora-table.js +1 -1
  84. package/dist/components/hora-table.js.map +2 -2
  85. package/dist/components/horoscope-card.js +1 -1
  86. package/dist/components/horoscope-card.js.map +2 -2
  87. package/dist/components/kp-chart.js +1 -1
  88. package/dist/components/kp-chart.js.map +2 -2
  89. package/dist/components/kp-planets-table.js +1 -1
  90. package/dist/components/kp-planets-table.js.map +2 -2
  91. package/dist/components/kp-ruling-planets.js +1 -1
  92. package/dist/components/kp-ruling-planets.js.map +2 -2
  93. package/dist/components/kua-card.js +1 -1
  94. package/dist/components/kua-card.js.map +2 -2
  95. package/dist/components/local-space-compass.js +1 -1
  96. package/dist/components/local-space-compass.js.map +2 -2
  97. package/dist/components/location-search.js +1 -1
  98. package/dist/components/location-search.js.map +2 -2
  99. package/dist/components/luck-pillars.js +1 -1
  100. package/dist/components/luck-pillars.js.map +2 -2
  101. package/dist/components/mayan-day-sign.js +1 -1
  102. package/dist/components/mayan-day-sign.js.map +2 -2
  103. package/dist/components/moon-phase.js +1 -1
  104. package/dist/components/moon-phase.js.map +2 -2
  105. package/dist/components/nakshatra-card.js +1 -1
  106. package/dist/components/nakshatra-card.js.map +2 -2
  107. package/dist/components/natal-chart.js +1 -1
  108. package/dist/components/natal-chart.js.map +2 -2
  109. package/dist/components/numerology-card.js +1 -1
  110. package/dist/components/numerology-card.js.map +2 -2
  111. package/dist/components/panchang-table.js +1 -1
  112. package/dist/components/panchang-table.js.map +2 -2
  113. package/dist/components/positions-table.js +1 -1
  114. package/dist/components/positions-table.js.map +2 -2
  115. package/dist/components/profection-card.js +1 -1
  116. package/dist/components/profection-card.js.map +2 -2
  117. package/dist/components/reference-card.js +1 -1
  118. package/dist/components/reference-card.js.map +2 -2
  119. package/dist/components/relocation-wheel.js +1 -1
  120. package/dist/components/relocation-wheel.js.map +2 -2
  121. package/dist/components/shadbala-table.js +1 -1
  122. package/dist/components/shadbala-table.js.map +2 -2
  123. package/dist/components/synastry-chart.js +1 -1
  124. package/dist/components/synastry-chart.js.map +2 -2
  125. package/dist/components/tarot-card.js +1 -1
  126. package/dist/components/tarot-card.js.map +2 -2
  127. package/dist/components/tarot-catalog.js +1 -1
  128. package/dist/components/tarot-catalog.js.map +2 -2
  129. package/dist/components/tarot-spread.js +1 -1
  130. package/dist/components/tarot-spread.js.map +2 -2
  131. package/dist/components/transit-wheel.js +1 -1
  132. package/dist/components/transit-wheel.js.map +2 -2
  133. package/dist/components/transits-table.js +1 -1
  134. package/dist/components/transits-table.js.map +2 -2
  135. package/dist/components/upagraha-table.js +1 -1
  136. package/dist/components/upagraha-table.js.map +2 -2
  137. package/dist/components/vastu-mandala.js +1 -1
  138. package/dist/components/vastu-mandala.js.map +2 -2
  139. package/dist/components/vedic-aspects.js +1 -1
  140. package/dist/components/vedic-aspects.js.map +2 -2
  141. package/dist/components/vedic-daily.js +1 -1
  142. package/dist/components/vedic-daily.js.map +2 -2
  143. package/dist/components/vedic-kundli.js +1 -1
  144. package/dist/components/vedic-kundli.js.map +2 -2
  145. package/dist/components/vedic-planets-table.js +1 -1
  146. package/dist/components/vedic-planets-table.js.map +2 -2
  147. package/dist/components/western-planets-table.js +1 -1
  148. package/dist/components/western-planets-table.js.map +2 -2
  149. package/dist/components/yoga-list.js +1 -1
  150. package/dist/components/yoga-list.js.map +2 -2
  151. package/dist/components/zodiac-card.js +1 -1
  152. package/dist/components/zodiac-card.js.map +2 -2
  153. package/dist/generated/tool-components.d.ts.map +1 -1
  154. package/dist/index.cjs +1 -1
  155. package/dist/index.cjs.map +2 -2
  156. package/dist/index.d.ts +4 -3
  157. package/dist/index.d.ts.map +1 -1
  158. package/dist/index.js +1 -1
  159. package/dist/index.js.map +2 -2
  160. package/dist/jsx.cjs +2 -0
  161. package/dist/jsx.cjs.map +7 -0
  162. package/dist/jsx.d.ts +293 -0
  163. package/dist/jsx.d.ts.map +1 -0
  164. package/dist/jsx.js +1 -0
  165. package/dist/jsx.js.map +7 -0
  166. package/dist/load-ui.d.ts +3 -4
  167. package/dist/load-ui.d.ts.map +1 -1
  168. package/dist/load-ui.js +1 -1
  169. package/dist/load-ui.js.map +2 -2
  170. package/dist/tool-component.cjs +2 -0
  171. package/dist/tool-component.cjs.map +7 -0
  172. package/dist/tool-component.d.ts +11 -0
  173. package/dist/tool-component.d.ts.map +1 -0
  174. package/dist/tool-component.js +2 -0
  175. package/dist/tool-component.js.map +7 -0
  176. package/package.json +11 -1
package/dist/jsx.cjs ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=jsx.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
package/dist/jsx.d.ts ADDED
@@ -0,0 +1,293 @@
1
+ /**
2
+ * Raw-tag typings for the Roxy custom elements, so `<roxy-natal-chart heading="Chart">` type-checks in a React file with no wrapper component and no client JavaScript.
3
+ *
4
+ * @remarks
5
+ * GENERATED. Import it once anywhere in your project and every Roxy tag is typed everywhere:
6
+ *
7
+ * ```ts
8
+ * import '@roxyapi/ui-react/jsx';
9
+ * ```
10
+ *
11
+ * The wrapper components remain the path for a page that passes a response: they set `data` as a property, which markup cannot carry. This file is for the other case, a tag rendered on the server and left alone.
12
+ *
13
+ * Attribute names are the elements' own: several are renamed at the element and the rest are lowercased, so they are read from the source rather than derived from the prop names.
14
+ */
15
+ import type * as React from 'react';
16
+ /** The standard HTML attribute surface every custom element accepts, plus its own attributes. */
17
+ type RoxyElement<A> = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & A;
18
+ /** The attributes every data component takes, from the shared base element. Referenced by the rows below, not exported: the public surface of this module is the tag typings themselves. */
19
+ interface RoxyBaseAttributes {
20
+ /** Endpoint path for built-in self-fetch (uncontrolled mode), e.g. "astrology/natal-chart". The component renders its own input form, fetches with the publishable key, and displays the result. Leave unset for controlled mode (pass `data`). */
21
+ "data-endpoint"?: string;
22
+ /** HTTP method for the self-fetch request. Defaults to POST. */
23
+ "method"?: 'GET' | 'POST';
24
+ /** Browser-safe publishable key (pk_) for self-fetch. A secret key is refused client-side and never sent. */
25
+ "publishable-key"?: string;
26
+ /** Override the API origin for self-hosted or proxied deployments. Absolute, or relative to the page for a same-origin route. */
27
+ "base-url"?: string;
28
+ /** Override the OpenAPI spec URL the self-fetch form introspects. */
29
+ "spec-url"?: string;
30
+ /** Your own backend route, which holds the secret key. Self-fetch POSTs `{ path, method, body, query }` there instead of calling RoxyAPI directly and renders the JSON your route returns, so no key of any kind reaches the browser. */
31
+ "submit-url"?: string;
32
+ /** An object of your own, sent to your submitUrl route as `context` beside the request, so a page can attach its own verification data to a proxied submission. Passed through untouched and never read by the component: what it holds is for your page and your route to agree on. Unset, nothing is added and the route receives the request exactly as before. Rides the submitUrl path only; a direct call sends what the endpoint declares. */
33
+ "submit-context"?: string;
34
+ /** Where the self-fetch form city search sends its request, absolute or relative to the page. The companion of submitUrl: the city search is a GET the form issues on its own while a visitor types, so a page that routes its API traffic through its own server names that route here as well. Unset, the search calls the public location endpoint. */
35
+ "location-url"?: string;
36
+ /** Persist the last self-fetch form values in sessionStorage, keyed by endpoint, and prefill the form when the visitor returns. Off by default. */
37
+ "remember"?: boolean;
38
+ /** Render the chart and the data and omit the written interpretation. Off by default. Use it when the page supplies its own words: the wheels, tables, grids, legends and numbers stay, and the interpretive prose is left out of the markup entirely. */
39
+ "hide-readings"?: boolean;
40
+ /** Comma-separated list of `part` names to take off this component, for example "patterns" or "patterns, legend". Per element rather than per site, so the same component can drop a block on one page and keep it on another with no CSS. Sibling of hideReadings and a different tool: this hides a whole block whatever it contains, where hideReadings drops interpretive prose out of the markup. Names come from the `parts` array in components-catalog.json; a name the component does not carry hides nothing and is not an error. */
41
+ "hide-sections"?: string;
42
+ /** Override the self-fetch form submit-button label. Empty derives an outcome-first label from the endpoint (Get reading, Generate, Compare, Cast). */
43
+ "submit-label"?: string;
44
+ /** Render a small "Spiritual data by RoxyAPI" credit under a self-fetch result, linking back to RoxyAPI. Off by default; set any value to enable, or "off" to force it off. Never shown in controlled mode. */
45
+ "attribution"?: string;
46
+ }
47
+ declare module 'react' {
48
+ namespace JSX {
49
+ interface IntrinsicElements {
50
+ /** `<RoxyNatalChart>` as a tag. */
51
+ "roxy-natal-chart": RoxyElement<RoxyBaseAttributes & {
52
+ "heading"?: string;
53
+ }>;
54
+ /** `<RoxySynastryChart>` as a tag. */
55
+ "roxy-synastry-chart": RoxyElement<RoxyBaseAttributes>;
56
+ /** `<RoxyWesternPlanetsTable>` as a tag. */
57
+ "roxy-western-planets-table": RoxyElement<RoxyBaseAttributes>;
58
+ /** `<RoxyTransitsTable>` as a tag. */
59
+ "roxy-transits-table": RoxyElement<RoxyBaseAttributes>;
60
+ /** `<RoxyTransitWheel>` as a tag. */
61
+ "roxy-transit-wheel": RoxyElement<RoxyBaseAttributes & {
62
+ /** Heading above the bi-wheel. Defaults to "Transits". */
63
+ "heading"?: string;
64
+ /** Natal Ascendant as an ecliptic longitude in degrees (0-360), supplied by the page from a chart endpoint that returns one. Rotates the wheel so that longitude falls on the left horizon and draws the ASC/DSC axis. Leave it unset and the wheel keeps a fixed zodiacal orientation with 0 degrees Aries on the left. */
65
+ "ascendant"?: number;
66
+ /** The twelve natal house cusps, supplied by the page: the /astrology/natal-chart `houses` array verbatim, or twelve bare cusp longitudes in house order. The transit-aspects response numbers every body by house but returns no cusp longitudes, so this is the only way the wheel can draw the sectors those numbers refer to. Supplying it draws the twelve cusps and their numbers, and rotates the first cusp onto the left horizon unless an ascendant is also given. Anything that does not resolve to houses 1 to 12 with finite longitudes is ignored rather than half drawn. */
67
+ "houses"?: string;
68
+ }>;
69
+ /** `<RoxyAspectsTable>` as a tag. */
70
+ "roxy-aspects-table": RoxyElement<RoxyBaseAttributes>;
71
+ /** `<RoxyMoonPhase>` as a tag. */
72
+ "roxy-moon-phase": RoxyElement<RoxyBaseAttributes & {
73
+ /** Which moon-phase response shape to render: a single current phase, an upcoming list, or a calendar. */
74
+ "mode"?: 'current' | 'upcoming' | 'calendar';
75
+ }>;
76
+ /** `<RoxyHoroscopeCard>` as a tag. */
77
+ "roxy-horoscope-card": RoxyElement<RoxyBaseAttributes & {
78
+ /** Which horoscope cadence the response is for. Selects the heading and date framing. */
79
+ "period"?: 'daily' | 'weekly' | 'monthly' | 'yearly';
80
+ /** Which shape the written reading takes. The endpoint returns the same reading twice, once whole as the column and once split into six topic sections, so exactly one is rendered. Defaults to auto, which prefers the column and falls back to the sections for a response that carries none. */
81
+ "layout"?: 'auto' | 'column' | 'sections';
82
+ }>;
83
+ /** `<RoxyAstrocartographyMap>` as a tag. */
84
+ "roxy-astrocartography-map": RoxyElement<RoxyBaseAttributes>;
85
+ /** `<RoxyLocalSpaceCompass>` as a tag. */
86
+ "roxy-local-space-compass": RoxyElement<RoxyBaseAttributes>;
87
+ /** `<RoxyRelocationWheel>` as a tag. */
88
+ "roxy-relocation-wheel": RoxyElement<RoxyBaseAttributes>;
89
+ /** `<RoxyPositionsTable>` as a tag. */
90
+ "roxy-positions-table": RoxyElement<RoxyBaseAttributes & {
91
+ /** Override the auto-derived heading. Empty by default, in which case it is derived from the response shape (Asteroids, Black Moon Lilith, Secondary progressions, Solar arc directions, or Arabic lots). */
92
+ "heading"?: string;
93
+ }>;
94
+ /** `<RoxyEphemerisTable>` as a tag. */
95
+ "roxy-ephemeris-table": RoxyElement<RoxyBaseAttributes & {
96
+ /** Card heading above the month. Defaults to "Ephemeris", translated into the page language like every other label the component writes. */
97
+ "heading"?: string;
98
+ }>;
99
+ /** `<RoxyFixedStars>` as a tag. */
100
+ "roxy-fixed-stars": RoxyElement<RoxyBaseAttributes>;
101
+ /** `<RoxyProfectionCard>` as a tag. */
102
+ "roxy-profection-card": RoxyElement<RoxyBaseAttributes>;
103
+ /** `<RoxyCompatibilityCard>` as a tag. */
104
+ "roxy-compatibility-card": RoxyElement<RoxyBaseAttributes & {
105
+ /** Which compatibility domain the response is from. Themes the card and labels the category breakdown. */
106
+ "mode"?: 'astrology' | 'numerology' | 'biorhythm';
107
+ }>;
108
+ /** `<RoxyVedicKundli>` as a tag. */
109
+ "roxy-vedic-kundli": RoxyElement<RoxyBaseAttributes & {
110
+ /** Initial regional kundli layout. The end user can switch styles at runtime via the visible tablist. */
111
+ "chart-style"?: 'south' | 'north' | 'east';
112
+ /** Ascendant reference point. "lagna" (default) uses the Janma Lagna; "moon" renders the Chandra Lagna (Moon as house 1) from the same response. */
113
+ "chart-reference"?: 'lagna' | 'moon';
114
+ /** Explicit rashi/sign name to pin as the ascendant, overriding both the Janma Lagna and chartReference. Empty by default. Use for Surya Lagna, Arudha Lagna, or any custom reference chart. */
115
+ "lagna-override"?: string;
116
+ }>;
117
+ /** `<RoxyDivisionalChart>` as a tag. */
118
+ "roxy-divisional-chart": RoxyElement<RoxyBaseAttributes & {
119
+ /** Initial regional varga layout. The end user can switch styles at runtime via the visible tablist. */
120
+ "chart-style"?: 'south' | 'north' | 'east';
121
+ }>;
122
+ /** `<RoxyKpChart>` as a tag. */
123
+ "roxy-kp-chart": RoxyElement<RoxyBaseAttributes>;
124
+ /** `<RoxyVedicPlanetsTable>` as a tag. */
125
+ "roxy-vedic-planets-table": RoxyElement<RoxyBaseAttributes>;
126
+ /** `<RoxyKpPlanetsTable>` as a tag. */
127
+ "roxy-kp-planets-table": RoxyElement<RoxyBaseAttributes>;
128
+ /** `<RoxyKpRulingPlanets>` as a tag. */
129
+ "roxy-kp-ruling-planets": RoxyElement<RoxyBaseAttributes>;
130
+ /** `<RoxyAshtakavargaGrid>` as a tag. */
131
+ "roxy-ashtakavarga-grid": RoxyElement<RoxyBaseAttributes>;
132
+ /** `<RoxyShadbalaTable>` as a tag. */
133
+ "roxy-shadbala-table": RoxyElement<RoxyBaseAttributes>;
134
+ /** `<RoxyDashaTimeline>` as a tag. */
135
+ "roxy-dasha-timeline": RoxyElement<RoxyBaseAttributes & {
136
+ /** Which dasha response shape to render: the running periods, the major mahadashas, or one of the four drill-down levels (antardashas, pratyantardashas, sookshma dashas, prana dashas). */
137
+ "period"?: 'current' | 'major' | 'sub' | 'antara' | 'sookshma' | 'prana';
138
+ }>;
139
+ /** `<RoxyGunaMilan>` as a tag. */
140
+ "roxy-guna-milan": RoxyElement<RoxyBaseAttributes>;
141
+ /** `<RoxyPanchangTable>` as a tag. */
142
+ "roxy-panchang-table": RoxyElement<RoxyBaseAttributes & {
143
+ /** Whether the response is the basic five-limb panchang or the detailed muhurta set. Detailed mode shows the auspicious and inauspicious period sections. */
144
+ "detail"?: 'basic' | 'detailed';
145
+ }>;
146
+ /** `<RoxyVedicAspects>` as a tag. */
147
+ "roxy-vedic-aspects": RoxyElement<RoxyBaseAttributes>;
148
+ /** `<RoxyHoraTable>` as a tag. */
149
+ "roxy-hora-table": RoxyElement<RoxyBaseAttributes>;
150
+ /** `<RoxyChoghadiyaGrid>` as a tag. */
151
+ "roxy-choghadiya-grid": RoxyElement<RoxyBaseAttributes>;
152
+ /** `<RoxyHeliacalTable>` as a tag. */
153
+ "roxy-heliacal-table": RoxyElement<RoxyBaseAttributes>;
154
+ /** `<RoxyVedicDaily>` as a tag. */
155
+ "roxy-vedic-daily": RoxyElement<RoxyBaseAttributes>;
156
+ /** `<RoxyGocharaTable>` as a tag. */
157
+ "roxy-gochara-table": RoxyElement<RoxyBaseAttributes>;
158
+ /** `<RoxyBhavaBalaTable>` as a tag. */
159
+ "roxy-bhava-bala-table": RoxyElement<RoxyBaseAttributes>;
160
+ /** `<RoxyBhavChalitTable>` as a tag. */
161
+ "roxy-bhav-chalit-table": RoxyElement<RoxyBaseAttributes>;
162
+ /** `<RoxyUpagrahaTable>` as a tag. */
163
+ "roxy-upagraha-table": RoxyElement<RoxyBaseAttributes>;
164
+ /** `<RoxyCharaKarakas>` as a tag. */
165
+ "roxy-chara-karakas": RoxyElement<RoxyBaseAttributes>;
166
+ /** `<RoxyArudhaPadas>` as a tag. */
167
+ "roxy-arudha-padas": RoxyElement<RoxyBaseAttributes>;
168
+ /** `<RoxyYogaList>` as a tag. */
169
+ "roxy-yoga-list": RoxyElement<RoxyBaseAttributes>;
170
+ /** `<RoxyNakshatraCard>` as a tag. */
171
+ "roxy-nakshatra-card": RoxyElement<RoxyBaseAttributes>;
172
+ /** `<RoxyDoshaCard>` as a tag. */
173
+ "roxy-dosha-card": RoxyElement<RoxyBaseAttributes & {
174
+ /** Which dosha to title and theme. The three dosha responses share a shape, so the card cannot infer this. Defaults to manglik, so set it explicitly per card. */
175
+ "type"?: 'manglik' | 'kalsarpa' | 'sadhesati';
176
+ }>;
177
+ /** `<RoxyNumerologyCard>` as a tag. */
178
+ "roxy-numerology-card": RoxyElement<RoxyBaseAttributes & {
179
+ /** Which numerology response the card is showing. Selects the heading and which fields are surfaced. */
180
+ "type"?: 'life-path' | 'expression' | 'soul-urge' | 'personality' | 'birth-day' | 'maturity' | 'daily' | 'personal-day' | 'personal-month' | 'personal-year' | 'chart';
181
+ }>;
182
+ /** `<RoxyGematria>` as a tag. */
183
+ "roxy-gematria": RoxyElement<RoxyBaseAttributes>;
184
+ /** `<RoxyTarotCard>` as a tag. */
185
+ "roxy-tarot-card": RoxyElement<RoxyBaseAttributes>;
186
+ /** `<RoxyTarotCatalog>` as a tag. */
187
+ "roxy-tarot-catalog": RoxyElement<RoxyBaseAttributes & {
188
+ /** Override the auto-derived gallery heading. Empty by default, in which case the heading is "Tarot deck". */
189
+ "heading"?: string;
190
+ }>;
191
+ /** `<RoxyTarotSpread>` as a tag. */
192
+ "roxy-tarot-spread": RoxyElement<RoxyBaseAttributes & {
193
+ /** Which spread layout the response is for. Positions the cards and selects the reading template. */
194
+ "spread"?: 'three-card' | 'celtic-cross' | 'love' | 'career' | 'custom' | 'yes-no' | 'draw';
195
+ }>;
196
+ /** `<RoxyBodygraph>` as a tag. */
197
+ "roxy-bodygraph": RoxyElement<RoxyBaseAttributes>;
198
+ /** `<RoxyHdTypeCard>` as a tag. */
199
+ "roxy-hd-type-card": RoxyElement<RoxyBaseAttributes>;
200
+ /** `<RoxyHdConnection>` as a tag. */
201
+ "roxy-hd-connection": RoxyElement<RoxyBaseAttributes>;
202
+ /** `<RoxyHdPenta>` as a tag. */
203
+ "roxy-hd-penta": RoxyElement<RoxyBaseAttributes>;
204
+ /** `<RoxyHdVariables>` as a tag. */
205
+ "roxy-hd-variables": RoxyElement<RoxyBaseAttributes>;
206
+ /** `<RoxyForecastTimeline>` as a tag. */
207
+ "roxy-forecast-timeline": RoxyElement<RoxyBaseAttributes>;
208
+ /** `<RoxyForecastDigest>` as a tag. */
209
+ "roxy-forecast-digest": RoxyElement<RoxyBaseAttributes>;
210
+ /** `<RoxyBaziChart>` as a tag. */
211
+ "roxy-bazi-chart": RoxyElement<RoxyBaseAttributes>;
212
+ /** `<RoxyLuckPillars>` as a tag. */
213
+ "roxy-luck-pillars": RoxyElement<RoxyBaseAttributes>;
214
+ /** `<RoxyZodiacCard>` as a tag. */
215
+ "roxy-zodiac-card": RoxyElement<RoxyBaseAttributes & {
216
+ /** Which of the four zodiac reads the response is: the animal a date falls in, the reference read of one animal, a daily reading, or the compatibility of a pair. */
217
+ "mode"?: 'sign' | 'animal' | 'daily' | 'compatibility';
218
+ }>;
219
+ /** `<RoxyAlmanacDay>` as a tag. */
220
+ "roxy-almanac-day": RoxyElement<RoxyBaseAttributes & {
221
+ /** Which read the response is: one almanac day as a card, a whole month of them as rows, or the days a search returned for one activity. */
222
+ "mode"?: 'day' | 'month' | 'auspicious';
223
+ }>;
224
+ /** `<RoxyFlyingStarChart>` as a tag. */
225
+ "roxy-flying-star-chart": RoxyElement<RoxyBaseAttributes & {
226
+ /** Which plate the response is: the natal chart of a building, which carries a mountain and a water star per palace, or one year of stars over it, which carries one. */
227
+ "mode"?: 'natal' | 'annual';
228
+ }>;
229
+ /** `<RoxyKuaCard>` as a tag. */
230
+ "roxy-kua-card": RoxyElement<RoxyBaseAttributes & {
231
+ /** Which read the response is: the Kua number alone, or the full Eight Mansions map, which adds a reading per sector and names the best and worst of them. */
232
+ "mode"?: 'kua' | 'mansions';
233
+ }>;
234
+ /** `<RoxyMayanDaySign>` as a tag. */
235
+ "roxy-mayan-day-sign": RoxyElement<RoxyBaseAttributes & {
236
+ /** Which read the response is: the Tzolkin day sign alone, or the full Calendar Round chart, which adds the Haab date, the Long Count, the year bearer and the four-fold cross. */
237
+ "mode"?: 'day' | 'chart';
238
+ }>;
239
+ /** `<RoxyVastuMandala>` as a tag. */
240
+ "roxy-vastu-mandala": RoxyElement<RoxyBaseAttributes & {
241
+ /** Which read the response is: the projected pada grid with a devata on every square, or the entrance read, which lights the square the main door falls on. */
242
+ "mode"?: 'mandala' | 'entrance';
243
+ }>;
244
+ /** `<RoxyBiorhythmChart>` as a tag. */
245
+ "roxy-biorhythm-chart": RoxyElement<RoxyBaseAttributes & {
246
+ /** Which biorhythm response shape to render: a single day, a multi-day forecast, or the critical days list. */
247
+ "mode"?: 'daily' | 'forecast' | 'critical-days';
248
+ }>;
249
+ /** `<RoxyDoshaConstitution>` as a tag. */
250
+ "roxy-dosha-constitution": RoxyElement<RoxyBaseAttributes>;
251
+ /** `<RoxyHexagram>` as a tag. */
252
+ "roxy-hexagram": RoxyElement<RoxyBaseAttributes>;
253
+ /** `<RoxyCrystalCard>` as a tag. */
254
+ "roxy-crystal-card": RoxyElement<RoxyBaseAttributes>;
255
+ /** `<RoxyCrystalGrid>` as a tag. */
256
+ "roxy-crystal-grid": RoxyElement<RoxyBaseAttributes & {
257
+ /** Override the auto-derived grid heading. Empty by default, in which case the heading is derived from the response filter (chakra, element, zodiac sign, or birth month). */
258
+ "heading"?: string;
259
+ }>;
260
+ /** `<RoxyDreamCard>` as a tag. */
261
+ "roxy-dream-card": RoxyElement<RoxyBaseAttributes>;
262
+ /** `<RoxyDreamSearch>` as a tag. */
263
+ "roxy-dream-search": RoxyElement<RoxyBaseAttributes>;
264
+ /** `<RoxyAngelNumberCard>` as a tag. */
265
+ "roxy-angel-number-card": RoxyElement<RoxyBaseAttributes>;
266
+ /** `<RoxyAngelNumberLookup>` as a tag. */
267
+ "roxy-angel-number-lookup": RoxyElement<RoxyBaseAttributes>;
268
+ /** `<RoxyReferenceCard>` as a tag. */
269
+ "roxy-reference-card": RoxyElement<RoxyBaseAttributes>;
270
+ /** `<RoxyEndpointForm>` as a tag. */
271
+ "roxy-endpoint-form": RoxyElement<{
272
+ "data-endpoint"?: string;
273
+ "method"?: string;
274
+ "spec-url"?: string;
275
+ "submit-label"?: string;
276
+ "publishable-key"?: string;
277
+ "location-url"?: string;
278
+ }>;
279
+ /** `<RoxyLocationSearch>` as a tag. */
280
+ "roxy-location-search": RoxyElement<{
281
+ "api-key"?: string;
282
+ "publishable-key"?: string;
283
+ "endpoint"?: string;
284
+ "placeholder"?: string;
285
+ "default-value"?: string;
286
+ }>;
287
+ /** `<RoxyData>` as a tag. */
288
+ "roxy-data": RoxyElement<RoxyBaseAttributes>;
289
+ }
290
+ }
291
+ }
292
+ export {};
293
+ //# sourceMappingURL=jsx.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsx.d.ts","sourceRoot":"","sources":["../src/jsx.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,iGAAiG;AACjG,KAAK,WAAW,CAAC,CAAC,IAAI,KAAK,CAAC,iBAAiB,CAC5C,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EACjC,WAAW,CACX,GACA,CAAC,CAAC;AAEH,4LAA4L;AAC5L,UAAU,kBAAkB;IAC3B,mPAAmP;IACnP,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC1B,6GAA6G;IAC7G,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iIAAiI;IACjI,UAA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AAC,CAAC;YACF,kCAAkC;YAClC,iBAAiB,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;YACnD,oCAAoC;YACpC,mBAAmB,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;YACrD,wCAAwC;YACxC,wBAAwB,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;YAC1D,0CAA0C;YAC1C,0BAA0B,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;YAC5D,sCAAsC;YACtC,qBAAqB,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;YACvD,qCAAqC;YACrC,oBAAoB,EAAE,WAAW,CAAC;gBAClC,eAAe,CAAC,EAAE,MAAM,CAAC;gBACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;gBAClB,UAAU,CAAC,EAAE,MAAM,CAAC;gBACpB,cAAc,CAAC,EAAE,MAAM,CAAC;gBACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;gBAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;aACxB,CAAC,CAAC;YACF,uCAAuC;YACvC,sBAAsB,EAAE,WAAW,CAAC;gBACpC,SAAS,CAAC,EAAE,MAAM,CAAC;gBACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;gBAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;gBACpB,aAAa,CAAC,EAAE,MAAM,CAAC;gBACvB,eAAe,CAAC,EAAE,MAAM,CAAC;aACzB,CAAC,CAAC;YACF,6BAA6B;YAC7B,WAAW,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;SAC7C;KACD;CACD"}
package/dist/jsx.js ADDED
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=jsx.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
package/dist/load-ui.d.ts CHANGED
@@ -10,9 +10,8 @@
10
10
  *
11
11
  * Defaults to the EXACT @roxyapi/ui release this wrapper was built against, so
12
12
  * `@roxyapi/ui-vue@x.y.z` always runs `@roxyapi/ui@x.y.z` and a lockfile actually
13
- * pins the runtime. It used to default to '@latest', which meant a pinned wrapper
14
- * silently picked up whatever the CDN was serving, and a new @roxyapi/ui release
15
- * changed the elements under every existing install with no lockfile change.
13
+ * pins the runtime: it is a fixed version rather than a moving alias, so a later
14
+ * @roxyapi/ui release cannot change the elements under an existing install.
16
15
  *
17
16
  * Pass an explicit `version` to override, or 'latest' to opt back into floating.
18
17
  *
@@ -23,7 +22,7 @@
23
22
  * call wins and every component reuses it.
24
23
  */
25
24
  /** The @roxyapi/ui release this wrapper was generated against. The loader defaults to it, so the wrapper version in your lockfile is the runtime you actually get. */
26
- export declare const ROXY_UI_VERSION = "0.39.0";
25
+ export declare const ROXY_UI_VERSION = "0.40.0";
27
26
  export declare function ensureScriptLoaded(version?: string, baseUrl?: string): Promise<void>;
28
27
  /** Every language a label catalogue ships for. English is absent on purpose: the catalogue key IS the English string, so an English page downloads nothing. */
29
28
  export declare const ROXY_UI_LOCALES: readonly ["de", "es", "fr", "hi", "pt", "ru", "tr", "zh-Hans", "zh-Hant"];
@@ -1 +1 @@
1
- {"version":3,"file":"load-ui.d.ts","sourceRoot":"","sources":["../src/load-ui.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,sKAAsK;AACtK,eAAO,MAAM,eAAe,WAAW,CAAC;AAcxC,wBAAgB,kBAAkB,CACjC,OAAO,GAAE,MAAwB,EACjC,OAAO,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,IAAI,CAAC,CA6Bf;AAED,+JAA+J;AAC/J,eAAO,MAAM,eAAe,2EAAoE,CAAC;AAIjG;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,kBAAkB,CACjC,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,MAAwB,EACjC,OAAO,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,IAAI,CAAC,CAkCf;AAGD,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"load-ui.d.ts","sourceRoot":"","sources":["../src/load-ui.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,sKAAsK;AACtK,eAAO,MAAM,eAAe,WAAW,CAAC;AAcxC,wBAAgB,kBAAkB,CACjC,OAAO,GAAE,MAAwB,EACjC,OAAO,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,IAAI,CAAC,CA6Bf;AAED,+JAA+J;AAC/J,eAAO,MAAM,eAAe,2EAAoE,CAAC;AAIjG;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,kBAAkB,CACjC,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,MAAwB,EACjC,OAAO,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,IAAI,CAAC,CAkCf;AAGD,eAAe,kBAAkB,CAAC"}
package/dist/load-ui.js CHANGED
@@ -1,2 +1,2 @@
1
- var p="0.39.0",l="roxyapi-ui-loader",f="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",L="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",g="/dist/cdn",i=null;function E(r){return!r||r==="latest"?f:`${L}${r}${g}`}function y(r=p,s){return typeof document>"u"?Promise.resolve():i||(i=new Promise((d,n)=>{let o=`${s??E(r)}/roxy-ui.js`,e=document.getElementById(l);if(e){e.dataset.loaded==="true"?d():(e.addEventListener("load",()=>d()),e.addEventListener("error",()=>n(new Error("roxy-ui load failed"))));return}e=document.createElement("script"),e.id=l,e.src=o,e.async=!0,e.crossOrigin="anonymous",e.addEventListener("load",()=>{e.dataset.loaded="true",d()}),e.addEventListener("error",()=>n(new Error("roxy-ui load failed"))),document.head.appendChild(e)}),i)}var x=["de","es","fr","hi","pt","ru","tr","zh-Hans","zh-Hant"],m=new Map;function v(r,s=p,d){if(typeof document>"u")return Promise.resolve();let n=(r||"").toLowerCase().split("-")[0]??"";if(!x.includes(n))return Promise.resolve();let o=m.get(n);if(o)return o;let e=new Promise((a,u)=>{let c=`${l}-locale-${n}`,t=document.getElementById(c);if(t){t.dataset.loaded==="true"?a():(t.addEventListener("load",()=>a()),t.addEventListener("error",()=>u(new Error(`roxy-ui locale ${n} load failed`))));return}t=document.createElement("script"),t.id=c,t.src=`${d??E(s)}/locales/${n}.js`,t.async=!0,t.crossOrigin="anonymous",t.addEventListener("load",()=>{t.dataset.loaded="true",a()}),t.addEventListener("error",()=>u(new Error(`roxy-ui locale ${n} load failed`))),document.head.appendChild(t)});return m.set(n,e),e}var P=y;export{x as ROXY_UI_LOCALES,p as ROXY_UI_VERSION,P as default,v as ensureLocaleLoaded,y as ensureScriptLoaded};
1
+ var p="0.40.0",l="roxyapi-ui-loader",f="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",L="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",g="/dist/cdn",i=null;function E(r){return!r||r==="latest"?f:`${L}${r}${g}`}function y(r=p,s){return typeof document>"u"?Promise.resolve():i||(i=new Promise((d,n)=>{let o=`${s??E(r)}/roxy-ui.js`,e=document.getElementById(l);if(e){e.dataset.loaded==="true"?d():(e.addEventListener("load",()=>d()),e.addEventListener("error",()=>n(new Error("roxy-ui load failed"))));return}e=document.createElement("script"),e.id=l,e.src=o,e.async=!0,e.crossOrigin="anonymous",e.addEventListener("load",()=>{e.dataset.loaded="true",d()}),e.addEventListener("error",()=>n(new Error("roxy-ui load failed"))),document.head.appendChild(e)}),i)}var x=["de","es","fr","hi","pt","ru","tr","zh-Hans","zh-Hant"],m=new Map;function v(r,s=p,d){if(typeof document>"u")return Promise.resolve();let n=(r||"").toLowerCase().split("-")[0]??"";if(!x.includes(n))return Promise.resolve();let o=m.get(n);if(o)return o;let e=new Promise((a,u)=>{let c=`${l}-locale-${n}`,t=document.getElementById(c);if(t){t.dataset.loaded==="true"?a():(t.addEventListener("load",()=>a()),t.addEventListener("error",()=>u(new Error(`roxy-ui locale ${n} load failed`))));return}t=document.createElement("script"),t.id=c,t.src=`${d??E(s)}/locales/${n}.js`,t.async=!0,t.crossOrigin="anonymous",t.addEventListener("load",()=>{t.dataset.loaded="true",a()}),t.addEventListener("error",()=>u(new Error(`roxy-ui locale ${n} load failed`))),document.head.appendChild(t)});return m.set(n,e),e}var P=y;export{x as ROXY_UI_LOCALES,p as ROXY_UI_VERSION,P as default,v as ensureLocaleLoaded,y as ensureScriptLoaded};
2
2
  //# sourceMappingURL=load-ui.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/load-ui.ts"],
4
- "sourcesContent": ["/**\n * Loads the matching component bundle on first mount. Idempotent across\n * many components on the same page. Skips on the server (no document) so\n * React server components and Next.js SSR work without a flash.\n *\n * {@link ensureLocaleLoaded} is the other half and is OPT-IN: it loads the label\n * catalogue for one language from the same release, so a non-English app calls\n * both. There is one catalogue, shipped by `@roxyapi/ui` and read by every\n * wrapper, so nothing is restated here.\n *\n * Defaults to the EXACT @roxyapi/ui release this wrapper was built against, so\n * `@roxyapi/ui-vue@x.y.z` always runs `@roxyapi/ui@x.y.z` and a lockfile actually\n * pins the runtime. It used to default to '@latest', which meant a pinned wrapper\n * silently picked up whatever the CDN was serving, and a new @roxyapi/ui release\n * changed the elements under every existing install with no lockfile change.\n *\n * Pass an explicit `version` to override, or 'latest' to opt back into floating.\n *\n * Pass `baseUrl` to serve the bundle from your own origin instead of the CDN, which is\n * what an air-gapped install or a strict Content-Security-Policy needs: copy\n * `node_modules/@roxyapi/ui/dist/cdn/` onto your host and call this once at app entry,\n * before any component mounts. The loader keeps a single shared promise, so the first\n * call wins and every component reuses it.\n */\n/** The @roxyapi/ui release this wrapper was generated against. The loader defaults to it, so the wrapper version in your lockfile is the runtime you actually get. */\nexport const ROXY_UI_VERSION = \"0.39.0\";\n\nconst SCRIPT_ID = 'roxyapi-ui-loader';\nconst CDN_BASE_LATEST = \"https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn\";\nconst CDN_BASE_PREFIX = \"https://cdn.jsdelivr.net/npm/@roxyapi/ui@\";\nconst CDN_BASE_SUFFIX = \"/dist/cdn\";\n\nlet loaded: Promise<void> | null = null;\n\nfunction buildBase(version: string): string {\n\tif (!version || version === 'latest') return CDN_BASE_LATEST;\n\treturn `${CDN_BASE_PREFIX}${version}${CDN_BASE_SUFFIX}`;\n}\n\nexport function ensureScriptLoaded(\n\tversion: string = ROXY_UI_VERSION,\n\tbaseUrl?: string,\n): Promise<void> {\n\tif (typeof document === 'undefined') return Promise.resolve();\n\tif (loaded) return loaded;\n\n\tloaded = new Promise<void>((resolve, reject) => {\n\t\tconst url = `${baseUrl ?? buildBase(version)}/roxy-ui.js`;\n\t\tlet existing = document.getElementById(SCRIPT_ID) as HTMLScriptElement | null;\n\t\tif (existing) {\n\t\t\tif (existing.dataset.loaded === 'true') {\n\t\t\t\tresolve();\n\t\t\t} else {\n\t\t\t\texisting.addEventListener('load', () => resolve());\n\t\t\t\texisting.addEventListener('error', () => reject(new Error('roxy-ui load failed')));\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\texisting = document.createElement('script');\n\t\texisting.id = SCRIPT_ID;\n\t\texisting.src = url;\n\t\texisting.async = true;\n\t\texisting.crossOrigin = 'anonymous';\n\t\texisting.addEventListener('load', () => {\n\t\t\texisting!.dataset.loaded = 'true';\n\t\t\tresolve();\n\t\t});\n\t\texisting.addEventListener('error', () => reject(new Error('roxy-ui load failed')));\n\t\tdocument.head.appendChild(existing);\n\t});\n\treturn loaded;\n}\n\n/** Every language a label catalogue ships for. English is absent on purpose: the catalogue key IS the English string, so an English page downloads nothing. */\nexport const ROXY_UI_LOCALES = [\"de\",\"es\",\"fr\",\"hi\",\"pt\",\"ru\",\"tr\",\"zh-Hans\",\"zh-Hant\"] as const;\n\nconst localesLoaded = new Map<string, Promise<void>>();\n\n/**\n * Load the label catalogue for one language, so the components write their own\n * headings, buttons, empty states and form labels in it.\n *\n * Call it once at app entry, beside `ensureScriptLoaded`. The components read the\n * language from the page (their own `lang` attribute, the nearest ancestor\n * carrying one, or `<html lang>`), so this call supplies the WORDS and the page\n * supplies the CHOICE. Loading a catalogue a page never asks for is harmless.\n *\n * `es-AR`, `es-MX` and `es-419` all resolve to the `es` catalogue, so pass the\n * page tag as it stands. English resolves to nothing at all and is not an error:\n * the catalogue is keyed by the English text, so an English page needs no payload.\n * A language outside `ROXY_UI_LOCALES` resolves the same way rather than appending\n * a script tag that 404s.\n *\n * `version` and `baseUrl` behave exactly as they do for {@link ensureScriptLoaded},\n * and passing the same `baseUrl` to both is what an air-gapped or strict-CSP host\n * needs: copy `node_modules/@roxyapi/ui/dist/cdn/` onto your own origin, which\n * carries `locales/` beside `roxy-ui.js`.\n *\n * @example\n * ```ts\n * import { ensureScriptLoaded, ensureLocaleLoaded } from '@roxyapi/ui-react';\n *\n * ensureScriptLoaded();\n * ensureLocaleLoaded(document.documentElement.lang);\n * ```\n */\nexport function ensureLocaleLoaded(\n\tlang: string,\n\tversion: string = ROXY_UI_VERSION,\n\tbaseUrl?: string,\n): Promise<void> {\n\tif (typeof document === 'undefined') return Promise.resolve();\n\tconst base = (lang || '').toLowerCase().split('-')[0] ?? '';\n\tif (!(ROXY_UI_LOCALES as readonly string[]).includes(base)) {\n\t\treturn Promise.resolve();\n\t}\n\tconst existing = localesLoaded.get(base);\n\tif (existing) return existing;\n\n\tconst pending = new Promise<void>((resolve, reject) => {\n\t\tconst id = `${SCRIPT_ID}-locale-${base}`;\n\t\tlet el = document.getElementById(id) as HTMLScriptElement | null;\n\t\tif (el) {\n\t\t\tif (el.dataset.loaded === 'true') resolve();\n\t\t\telse {\n\t\t\t\tel.addEventListener('load', () => resolve());\n\t\t\t\tel.addEventListener('error', () => reject(new Error(`roxy-ui locale ${base} load failed`)));\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tel = document.createElement('script');\n\t\tel.id = id;\n\t\tel.src = `${baseUrl ?? buildBase(version)}/locales/${base}.js`;\n\t\tel.async = true;\n\t\tel.crossOrigin = 'anonymous';\n\t\tel.addEventListener('load', () => {\n\t\t\tel!.dataset.loaded = 'true';\n\t\t\tresolve();\n\t\t});\n\t\tel.addEventListener('error', () => reject(new Error(`roxy-ui locale ${base} load failed`)));\n\t\tdocument.head.appendChild(el);\n\t});\n\tlocalesLoaded.set(base, pending);\n\treturn pending;\n}\n\n// Default export retained for convenience; matches the named export.\nexport default ensureScriptLoaded;\n// Surfaces the embedded @roxyapi/ui version this build of @roxyapi/ui-react\n// was generated against. Useful for diagnostics; not load-bearing.\n"],
5
- "mappings": "AAyBO,IAAMA,EAAkB,SAEzBC,EAAY,oBACZC,EAAkB,2DAClBC,EAAkB,4CAClBC,EAAkB,YAEpBC,EAA+B,KAEnC,SAASC,EAAUC,EAAyB,CAC3C,MAAI,CAACA,GAAWA,IAAY,SAAiBL,EACtC,GAAGC,CAAe,GAAGI,CAAO,GAAGH,CAAe,EACtD,CAEO,SAASI,EACfD,EAAkBP,EAClBS,EACgB,CAChB,OAAI,OAAO,SAAa,IAAoB,QAAQ,QAAQ,EACxDJ,IAEJA,EAAS,IAAI,QAAc,CAACK,EAASC,IAAW,CAC/C,IAAMC,EAAM,GAAGH,GAAWH,EAAUC,CAAO,CAAC,cACxCM,EAAW,SAAS,eAAeZ,CAAS,EAChD,GAAIY,EAAU,CACTA,EAAS,QAAQ,SAAW,OAC/BH,EAAQ,GAERG,EAAS,iBAAiB,OAAQ,IAAMH,EAAQ,CAAC,EACjDG,EAAS,iBAAiB,QAAS,IAAMF,EAAO,IAAI,MAAM,qBAAqB,CAAC,CAAC,GAElF,MACD,CACAE,EAAW,SAAS,cAAc,QAAQ,EAC1CA,EAAS,GAAKZ,EACdY,EAAS,IAAMD,EACfC,EAAS,MAAQ,GACjBA,EAAS,YAAc,YACvBA,EAAS,iBAAiB,OAAQ,IAAM,CACvCA,EAAU,QAAQ,OAAS,OAC3BH,EAAQ,CACT,CAAC,EACDG,EAAS,iBAAiB,QA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AAAN,EAAc,IAAIG,EAAMC,CAAO,EACxBA,CACR,CAGA,IAAOG,EAAQd",
4
+ "sourcesContent": ["/**\n * Loads the matching component bundle on first mount. Idempotent across\n * many components on the same page. Skips on the server (no document) so\n * React server components and Next.js SSR work without a flash.\n *\n * {@link ensureLocaleLoaded} is the other half and is OPT-IN: it loads the label\n * catalogue for one language from the same release, so a non-English app calls\n * both. There is one catalogue, shipped by `@roxyapi/ui` and read by every\n * wrapper, so nothing is restated here.\n *\n * Defaults to the EXACT @roxyapi/ui release this wrapper was built against, so\n * `@roxyapi/ui-vue@x.y.z` always runs `@roxyapi/ui@x.y.z` and a lockfile actually\n * pins the runtime: it is a fixed version rather than a moving alias, so a later\n * @roxyapi/ui release cannot change the elements under an existing install.\n *\n * Pass an explicit `version` to override, or 'latest' to opt back into floating.\n *\n * Pass `baseUrl` to serve the bundle from your own origin instead of the CDN, which is\n * what an air-gapped install or a strict Content-Security-Policy needs: copy\n * `node_modules/@roxyapi/ui/dist/cdn/` onto your host and call this once at app entry,\n * before any component mounts. The loader keeps a single shared promise, so the first\n * call wins and every component reuses it.\n */\n/** The @roxyapi/ui release this wrapper was generated against. The loader defaults to it, so the wrapper version in your lockfile is the runtime you actually get. */\nexport const ROXY_UI_VERSION = \"0.40.0\";\n\nconst SCRIPT_ID = 'roxyapi-ui-loader';\nconst CDN_BASE_LATEST = \"https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn\";\nconst CDN_BASE_PREFIX = \"https://cdn.jsdelivr.net/npm/@roxyapi/ui@\";\nconst CDN_BASE_SUFFIX = \"/dist/cdn\";\n\nlet loaded: Promise<void> | null = null;\n\nfunction buildBase(version: string): string {\n\tif (!version || version === 'latest') return CDN_BASE_LATEST;\n\treturn `${CDN_BASE_PREFIX}${version}${CDN_BASE_SUFFIX}`;\n}\n\nexport function ensureScriptLoaded(\n\tversion: string = ROXY_UI_VERSION,\n\tbaseUrl?: string,\n): Promise<void> {\n\tif (typeof document === 'undefined') return Promise.resolve();\n\tif (loaded) return loaded;\n\n\tloaded = new Promise<void>((resolve, reject) => {\n\t\tconst url = `${baseUrl ?? buildBase(version)}/roxy-ui.js`;\n\t\tlet existing = document.getElementById(SCRIPT_ID) as HTMLScriptElement | null;\n\t\tif (existing) {\n\t\t\tif (existing.dataset.loaded === 'true') {\n\t\t\t\tresolve();\n\t\t\t} else {\n\t\t\t\texisting.addEventListener('load', () => resolve());\n\t\t\t\texisting.addEventListener('error', () => reject(new Error('roxy-ui load failed')));\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\texisting = document.createElement('script');\n\t\texisting.id = SCRIPT_ID;\n\t\texisting.src = url;\n\t\texisting.async = true;\n\t\texisting.crossOrigin = 'anonymous';\n\t\texisting.addEventListener('load', () => {\n\t\t\texisting!.dataset.loaded = 'true';\n\t\t\tresolve();\n\t\t});\n\t\texisting.addEventListener('error', () => reject(new Error('roxy-ui load failed')));\n\t\tdocument.head.appendChild(existing);\n\t});\n\treturn loaded;\n}\n\n/** Every language a label catalogue ships for. English is absent on purpose: the catalogue key IS the English string, so an English page downloads nothing. */\nexport const ROXY_UI_LOCALES = [\"de\",\"es\",\"fr\",\"hi\",\"pt\",\"ru\",\"tr\",\"zh-Hans\",\"zh-Hant\"] as const;\n\nconst localesLoaded = new Map<string, Promise<void>>();\n\n/**\n * Load the label catalogue for one language, so the components write their own\n * headings, buttons, empty states and form labels in it.\n *\n * Call it once at app entry, beside `ensureScriptLoaded`. The components read the\n * language from the page (their own `lang` attribute, the nearest ancestor\n * carrying one, or `<html lang>`), so this call supplies the WORDS and the page\n * supplies the CHOICE. Loading a catalogue a page never asks for is harmless.\n *\n * `es-AR`, `es-MX` and `es-419` all resolve to the `es` catalogue, so pass the\n * page tag as it stands. English resolves to nothing at all and is not an error:\n * the catalogue is keyed by the English text, so an English page needs no payload.\n * A language outside `ROXY_UI_LOCALES` resolves the same way rather than appending\n * a script tag that 404s.\n *\n * `version` and `baseUrl` behave exactly as they do for {@link ensureScriptLoaded},\n * and passing the same `baseUrl` to both is what an air-gapped or strict-CSP host\n * needs: copy `node_modules/@roxyapi/ui/dist/cdn/` onto your own origin, which\n * carries `locales/` beside `roxy-ui.js`.\n *\n * @example\n * ```ts\n * import { ensureScriptLoaded, ensureLocaleLoaded } from '@roxyapi/ui-react';\n *\n * ensureScriptLoaded();\n * ensureLocaleLoaded(document.documentElement.lang);\n * ```\n */\nexport function ensureLocaleLoaded(\n\tlang: string,\n\tversion: string = ROXY_UI_VERSION,\n\tbaseUrl?: string,\n): Promise<void> {\n\tif (typeof document === 'undefined') return Promise.resolve();\n\tconst base = (lang || '').toLowerCase().split('-')[0] ?? '';\n\tif (!(ROXY_UI_LOCALES as readonly string[]).includes(base)) {\n\t\treturn Promise.resolve();\n\t}\n\tconst existing = localesLoaded.get(base);\n\tif (existing) return existing;\n\n\tconst pending = new Promise<void>((resolve, reject) => {\n\t\tconst id = `${SCRIPT_ID}-locale-${base}`;\n\t\tlet el = document.getElementById(id) as HTMLScriptElement | null;\n\t\tif (el) {\n\t\t\tif (el.dataset.loaded === 'true') resolve();\n\t\t\telse {\n\t\t\t\tel.addEventListener('load', () => resolve());\n\t\t\t\tel.addEventListener('error', () => reject(new Error(`roxy-ui locale ${base} load failed`)));\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tel = document.createElement('script');\n\t\tel.id = id;\n\t\tel.src = `${baseUrl ?? buildBase(version)}/locales/${base}.js`;\n\t\tel.async = true;\n\t\tel.crossOrigin = 'anonymous';\n\t\tel.addEventListener('load', () => {\n\t\t\tel!.dataset.loaded = 'true';\n\t\t\tresolve();\n\t\t});\n\t\tel.addEventListener('error', () => reject(new Error(`roxy-ui locale ${base} load failed`)));\n\t\tdocument.head.appendChild(el);\n\t});\n\tlocalesLoaded.set(base, pending);\n\treturn pending;\n}\n\n// Default export retained for convenience; matches the named export.\nexport default ensureScriptLoaded;\n// Surfaces the embedded @roxyapi/ui version this build of @roxyapi/ui-react\n// was generated against. Useful for diagnostics; not load-b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MAAM,GAAG,EAAE,CAAC,GAAK,GACzD,GAAI,CAAEH,EAAsC,SAASI,CAAI,EACxD,OAAO,QAAQ,QAAQ,EAExB,IAAML,EAAWE,EAAc,IAAIG,CAAI,EACvC,GAAIL,EAAU,OAAOA,EAErB,IAAMM,EAAU,IAAI,QAAc,CAACT,EAASC,IAAW,CACtD,IAAMS,EAAK,GAAGnB,CAAS,WAAWiB,CAAI,GAClCG,EAAK,SAAS,eAAeD,CAAE,EACnC,GAAIC,EAAI,CACHA,EAAG,QAAQ,SAAW,OAAQX,EAAQ,GAEzCW,EAAG,iBAAiB,OAAQ,IAAMX,EAAQ,CAAC,EAC3CW,EAAG,iBAAiB,QAAS,IAAMV,EAAO,IAAI,MAAM,kBAAkBO,CAAI,cAAc,CAAC,CAAC,GAE3F,MACD,CACAG,EAAK,SAAS,cAAc,QAAQ,EACpCA,EAAG,GAAKD,EACRC,EAAG,IAAM,GAAGZ,GAAWH,EAAUC,CAAO,CAAC,YAAYW,CAAI,MACzDG,EAAG,MAAQ,GACXA,EAAG,YAAc,YACjBA,EAAG,iBAAiB,OAAQ,IAAM,CACjCA,EAAI,QAAQ,OAAS,OACrBX,EAAQ,CACT,CAAC,EACDW,EAAG,iBAAiB,QAAS,IAAMV,EAAO,IAAI,MAAM,kBAAkBO,CAAI,cAAc,CAAC,CAAC,EAC1F,SAAS,KAAK,YAAYG,CAAE,CAC7B,CAAC,EACD,OAAAN,EAAc,IAAIG,EAAMC,CAAO,EACxBA,CACR,CAGA,IAAOG,EAAQd",
6
6
  "names": ["ROXY_UI_VERSION", "SCRIPT_ID", "CDN_BASE_LATEST", "CDN_BASE_PREFIX", "CDN_BASE_SUFFIX", "loaded", "buildBase", "version", "ensureScriptLoaded", "baseUrl", "resolve", "reject", "url", "existing", "ROXY_UI_LOCALES", "localesLoaded", "ensureLocaleLoaded", "lang", "base", "pending", "id", "el", "load_ui_default"]
7
7
  }
@@ -0,0 +1,2 @@
1
+ "use strict";var p=Object.defineProperty;var _=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var m=(a,o)=>{for(var t in o)p(a,t,{get:o[t],enumerable:!0})},u=(a,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of x(o))!h.call(a,e)&&e!==t&&p(a,e,{get:()=>o[e],enumerable:!(r=_(o,e))||r.enumerable});return a};var R=a=>u(p({},"__esModule",{value:!0}),a);var f={};m(f,{componentForTool:()=>g,expandCompact:()=>y});module.exports=R(f);var I="__cols",b="__rows";function C(a){return typeof a=="object"&&a!==null&&!Array.isArray(a)}function c(a){if(Array.isArray(a)){let l=!1,s=a.map(i=>{let n=c(i);return n!==i&&(l=!0),n});return l?s:a}if(!C(a))return a;let o=a[I],t=a[b];if(Array.isArray(o)&&Array.isArray(t)&&Object.keys(a).length===2)return t.map(l=>{let s={};return o.forEach((i,n)=>{s[i]=c(l[n])}),s});let r=!1,e={};for(let[l,s]of Object.entries(a)){let i=c(s);i!==s&&(r=!0),e[l]=i}return r?e:a}function y(a){return c(a)}var d={post_astrology_natal_chart:{tag:"roxy-natal-chart",pascal:"RoxyNatalChart",operationId:"generateNatalChart"},post_astrology_synastry:{tag:"roxy-synastry-chart",pascal:"RoxySynastryChart",operationId:"calculateSynastry"},post_astrology_transits:{tag:"roxy-transits-table",pascal:"RoxyTransitsTable",operationId:"calculateTransits"},post_astrology_transit_aspects:{tag:"roxy-transit-wheel",pascal:"RoxyTransitWheel",operationId:"calculateTransitAspects"},post_astrology_aspects:{tag:"roxy-aspects-table",pascal:"RoxyAspectsTable",operationId:"calculateAspects"},post_astrology_aspect_patterns:{tag:"roxy-aspects-table",pascal:"RoxyAspectsTable",operationId:"detectAspectPatterns"},get_astrology_moon_phase_current:{tag:"roxy-moon-phase",pascal:"RoxyMoonPhase",operationId:"getCurrentMoonPhase",attrs:{mode:"current"}},get_astrology_moon_phase_upcoming:{tag:"roxy-moon-phase",pascal:"RoxyMoonPhase",operationId:"getUpcomingMoonPhases",attrs:{mode:"upcoming"}},get_astrology_moon_phase_calendar_year_month:{tag:"roxy-moon-phase",pascal:"RoxyMoonPhase",operationId:"getMoonCalendar",attrs:{mode:"calendar"}},get_astrology_horoscope_sign_daily:{tag:"roxy-horoscope-card",pascal:"RoxyHoroscopeCard",operationId:"getDailyHoroscope",attrs:{period:"daily"}},get_astrology_horoscope_sign_weekly:{tag:"roxy-horoscope-card",pascal:"RoxyHoroscopeCard",operationId:"getWeeklyHoroscope",attrs:{period:"weekly"}},get_astrology_horoscope_sign_monthly:{tag:"roxy-horoscope-card",pascal:"RoxyHoroscopeCard",operationId:"getMonthlyHoroscope",attrs:{period:"monthly"}},get_astrology_horoscope_sign_yearly:{tag:"roxy-horoscope-card",pascal:"RoxyHoroscopeCard",operationId:"getYearlyHoroscope",attrs:{period:"yearly"}},post_astrology_astrocartography:{tag:"roxy-astrocartography-map",pascal:"RoxyAstrocartographyMap",operationId:"generateAstrocartography"},post_astrology_local_space:{tag:"roxy-local-space-compass",pascal:"RoxyLocalSpaceCompass",operationId:"generateLocalSpace"},post_astrology_relocation_chart:{tag:"roxy-relocation-wheel",pascal:"RoxyRelocationWheel",operationId:"generateRelocationChart"},post_astrology_asteroids:{tag:"roxy-positions-table",pascal:"RoxyPositionsTable",operationId:"generateAsteroids"},post_astrology_lilith:{tag:"roxy-positions-table",pascal:"RoxyPositionsTable",operationId:"generateLilith"},post_astrology_progressions:{tag:"roxy-positions-table",pascal:"RoxyPositionsTable",operationId:"generateProgressions"},post_astrology_solar_arc:{tag:"roxy-positions-table",pascal:"RoxyPositionsTable",operationId:"generateSolarArc"},post_astrology_arabic_lots:{tag:"roxy-positions-table",pascal:"RoxyPositionsTable",operationId:"calculateArabicLots"},post_astrology_planets_monthly:{tag:"roxy-ephemeris-table",pascal:"RoxyEphemerisTable",operationId:"getMonthlyTropicalEphemeris"},post_vedic_astrology_planetary_positions_monthly:{tag:"roxy-ephemeris-table",pascal:"RoxyEphemerisTable",operationId:"getMonthlyEphemeris"},post_astrology_fixed_stars:{tag:"roxy-fixed-stars",pascal:"RoxyFixedStars",operationId:"generateFixedStars"},post_astrology_profections:{tag:"roxy-profection-card",pascal:"RoxyProfectionCard",operationId:"generateProfections"},post_astrology_compatibility_score:{tag:"roxy-compatibility-card",pascal:"RoxyCompatibilityCard",operationId:"calculateCompatibility",attrs:{mode:"astrology"}},post_numerology_compatibility:{tag:"roxy-compatibility-card",pascal:"RoxyCompatibilityCard",operationId:"calculateNumCompatibility",attrs:{mode:"numerology"}},post_biorhythm_compatibility:{tag:"roxy-compatibility-card",pascal:"RoxyCompatibilityCard",operationId:"calculateBioCompatibility",attrs:{mode:"biorhythm"}},post_vedic_astrology_birth_chart:{tag:"roxy-vedic-kundli",pascal:"RoxyVedicKundli",operationId:"generateBirthChart"},post_vedic_astrology_divisional_chart:{tag:"roxy-divisional-chart",pascal:"RoxyDivisionalChart",operationId:"generateDivisionalChart"},post_vedic_astrology_navamsa:{tag:"roxy-divisional-chart",pascal:"RoxyDivisionalChart",operationId:"generateNavamsa"},post_vedic_astrology_kp_chart:{tag:"roxy-kp-chart",pascal:"RoxyKpChart",operationId:"generateKpChart"},post_vedic_astrology_kp_planets:{tag:"roxy-kp-planets-table",pascal:"RoxyKpPlanetsTable",operationId:"getKpPlanets"},post_vedic_astrology_kp_ruling_planets:{tag:"roxy-kp-ruling-planets",pascal:"RoxyKpRulingPlanets",operationId:"getKpRulingPlanets"},post_vedic_astrology_ashtakavarga:{tag:"roxy-ashtakavarga-grid",pascal:"RoxyAshtakavargaGrid",operationId:"calculateAshtakavarga"},post_vedic_astrology_shadbala:{tag:"roxy-shadbala-table",pascal:"RoxyShadbalaTable",operationId:"calculateShadbala"},post_vedic_astrology_dasha_major:{tag:"roxy-dasha-timeline",pascal:"RoxyDashaTimeline",operationId:"getMajorDashas",attrs:{period:"major"}},post_vedic_astrology_dasha_current:{tag:"roxy-dasha-timeline",pascal:"RoxyDashaTimeline",operationId:"getCurrentDasha",attrs:{period:"current"}},post_vedic_astrology_dasha_sub_mahadasha:{tag:"roxy-dasha-timeline",pascal:"RoxyDashaTimeline",operationId:"getSubDashas",attrs:{period:"sub"}},post_vedic_astrology_dasha_sub_mahadasha_antardasha:{tag:"roxy-dasha-timeline",pascal:"RoxyDashaTimeline",operationId:"getPratyantardashas",attrs:{period:"antara"}},post_vedic_astrology_dasha_sub_mahadasha_antardasha_pratyantardasha:{tag:"roxy-dasha-timeline",pascal:"RoxyDashaTimeline",operationId:"getSookshmaDashas",attrs:{period:"sookshma"}},post_vedic_astrology_dasha_sub_mahadasha_antardasha_pratyantardasha_sookshma:{tag:"roxy-dasha-timeline",pascal:"RoxyDashaTimeline",operationId:"getPranaDashas",attrs:{period:"prana"}},post_vedic_astrology_compatibility:{tag:"roxy-guna-milan",pascal:"RoxyGunaMilan",operationId:"calculateGunMilan"},post_vedic_astrology_panchang_detailed:{tag:"roxy-panchang-table",pascal:"RoxyPanchangTable",operationId:"getDetailedPanchang",attrs:{detail:"detailed"}},post_vedic_astrology_panchang_basic:{tag:"roxy-panchang-table",pascal:"RoxyPanchangTable",operationId:"getBasicPanchang",attrs:{detail:"basic"}},post_vedic_astrology_aspects:{tag:"roxy-vedic-aspects",pascal:"RoxyVedicAspects",operationId:"calculateDrishti"},post_vedic_astrology_panchang_hora:{tag:"roxy-hora-table",pascal:"RoxyHoraTable",operationId:"getHora"},post_vedic_astrology_panchang_choghadiya:{tag:"roxy-choghadiya-grid",pascal:"RoxyChoghadiyaGrid",operationId:"getChoghadiya"},post_vedic_astrology_heliacal:{tag:"roxy-heliacal-table",pascal:"RoxyHeliacalTable",operationId:"getHeliacalVisibility"},post_vedic_astrology_daily:{tag:"roxy-vedic-daily",pascal:"RoxyVedicDaily",operationId:"getVedicDailyReading"},post_vedic_astrology_transit:{tag:"roxy-gochara-table",pascal:"RoxyGocharaTable",operationId:"calculateTransit"},post_vedic_astrology_bhava_bala:{tag:"roxy-bhava-bala-table",pascal:"RoxyBhavaBalaTable",operationId:"calculateBhavaBala"},post_vedic_astrology_bhav_chalit:{tag:"roxy-bhav-chalit-table",pascal:"RoxyBhavChalitTable",operationId:"calculateBhavChalit"},post_vedic_astrology_upagraha:{tag:"roxy-upagraha-table",pascal:"RoxyUpagrahaTable",operationId:"getUpagrahaPositions"},post_vedic_astrology_chara_karakas:{tag:"roxy-chara-karakas",pascal:"RoxyCharaKarakas",operationId:"calculateCharaKarakas"},post_vedic_astrology_arudha:{tag:"roxy-arudha-padas",pascal:"RoxyArudhaPadas",operationId:"calculateArudhaPadas"},get_vedic_astrology_yoga:{tag:"roxy-yoga-list",pascal:"RoxyYogaList",operationId:"listYogas"},post_vedic_astrology_yoga_detect:{tag:"roxy-yoga-list",pascal:"RoxyYogaList",operationId:"detectYogas"},get_vedic_astrology_yoga_id:{tag:"roxy-yoga-list",pascal:"RoxyYogaList",operationId:"getYoga"},get_vedic_astrology_nakshatras_id:{tag:"roxy-nakshatra-card",pascal:"RoxyNakshatraCard",operationId:"getNakshatra"},post_vedic_astrology_dosha_manglik:{tag:"roxy-dosha-card",pascal:"RoxyDoshaCard",operationId:"checkManglikDosha",attrs:{type:"manglik"}},post_vedic_astrology_dosha_kalsarpa:{tag:"roxy-dosha-card",pascal:"RoxyDoshaCard",operationId:"checkKalsarpaDosha",attrs:{type:"kalsarpa"}},post_vedic_astrology_dosha_sadhesati:{tag:"roxy-dosha-card",pascal:"RoxyDoshaCard",operationId:"checkSadhesati",attrs:{type:"sadhesati"}},post_numerology_life_path:{tag:"roxy-numerology-card",pascal:"RoxyNumerologyCard",operationId:"calculateLifePath",attrs:{type:"life-path"}},post_numerology_expression:{tag:"roxy-numerology-card",pascal:"RoxyNumerologyCard",operationId:"calculateExpression",attrs:{type:"expression"}},post_numerology_soul_urge:{tag:"roxy-numerology-card",pascal:"RoxyNumerologyCard",operationId:"calculateSoulUrge",attrs:{type:"soul-urge"}},post_numerology_personality:{tag:"roxy-numerology-card",pascal:"RoxyNumerologyCard",operationId:"calculatePersonality",attrs:{type:"personality"}},post_numerology_birth_day:{tag:"roxy-numerology-card",pascal:"RoxyNumerologyCard",operationId:"calculateBirthDay",attrs:{type:"birth-day"}},post_numerology_maturity:{tag:"roxy-numerology-card",pascal:"RoxyNumerologyCard",operationId:"calculateMaturity",attrs:{type:"maturity"}},post_numerology_daily:{tag:"roxy-numerology-card",pascal:"RoxyNumerologyCard",operationId:"getDailyNumber",attrs:{type:"daily"}},post_numerology_personal_day:{tag:"roxy-numerology-card",pascal:"RoxyNumerologyCard",operationId:"calculatePersonalDay",attrs:{type:"personal-day"}},post_numerology_personal_month:{tag:"roxy-numerology-card",pascal:"RoxyNumerologyCard",operationId:"calculatePersonalMonth",attrs:{type:"personal-month"}},post_numerology_personal_year:{tag:"roxy-numerology-card",pascal:"RoxyNumerologyCard",operationId:"calculatePersonalYear",attrs:{type:"personal-year"}},post_numerology_chart:{tag:"roxy-numerology-card",pascal:"RoxyNumerologyCard",operationId:"generateNumerologyChart",attrs:{type:"chart"}},post_kabbalah_gematria:{tag:"roxy-gematria",pascal:"RoxyGematria",operationId:"calculateGematria"},post_tarot_daily:{tag:"roxy-tarot-card",pascal:"RoxyTarotCard",operationId:"getDailyCard"},get_tarot_cards_id:{tag:"roxy-tarot-card",pascal:"RoxyTarotCard",operationId:"getCard"},get_tarot_cards:{tag:"roxy-tarot-catalog",pascal:"RoxyTarotCatalog",operationId:"listCards"},post_tarot_spreads_three_card:{tag:"roxy-tarot-spread",pascal:"RoxyTarotSpread",operationId:"castThreeCard",attrs:{spread:"three-card"}},post_tarot_spreads_celtic_cross:{tag:"roxy-tarot-spread",pascal:"RoxyTarotSpread",operationId:"castCelticCross",attrs:{spread:"celtic-cross"}},post_tarot_spreads_love:{tag:"roxy-tarot-spread",pascal:"RoxyTarotSpread",operationId:"castLoveSpread",attrs:{spread:"love"}},post_tarot_spreads_career:{tag:"roxy-tarot-spread",pascal:"RoxyTarotSpread",operationId:"castCareerSpread",attrs:{spread:"career"}},post_tarot_spreads_custom:{tag:"roxy-tarot-spread",pascal:"RoxyTarotSpread",operationId:"castCustomSpread",attrs:{spread:"custom"}},post_tarot_yes_no:{tag:"roxy-tarot-spread",pascal:"RoxyTarotSpread",operationId:"castYesNo",attrs:{spread:"yes-no"}},post_tarot_draw:{tag:"roxy-tarot-spread",pascal:"RoxyTarotSpread",operationId:"drawCards",attrs:{spread:"draw"}},post_human_design_bodygraph:{tag:"roxy-bodygraph",pascal:"RoxyBodygraph",operationId:"generateBodygraph"},post_human_design_type:{tag:"roxy-hd-type-card",pascal:"RoxyHdTypeCard",operationId:"calculateType"},post_human_design_profile:{tag:"roxy-hd-type-card",pascal:"RoxyHdTypeCard",operationId:"calculateProfile"},post_human_design_connection:{tag:"roxy-hd-connection",pascal:"RoxyHdConnection",operationId:"calculateConnection"},post_human_design_penta:{tag:"roxy-hd-penta",pascal:"RoxyHdPenta",operationId:"calculatePenta"},post_human_design_variables:{tag:"roxy-hd-variables",pascal:"RoxyHdVariables",operationId:"calculateVariables"},post_forecast_timeline:{tag:"roxy-forecast-timeline",pascal:"RoxyForecastTimeline",operationId:"generateTimeline"},post_forecast_significant_dates:{tag:"roxy-forecast-timeline",pascal:"RoxyForecastTimeline",operationId:"findSignificantDates"},post_forecast_transits:{tag:"roxy-forecast-timeline",pascal:"RoxyForecastTimeline",operationId:"forecastTransits"},post_forecast_digest:{tag:"roxy-forecast-digest",pascal:"RoxyForecastDigest",operationId:"generateDigest"},post_chinese_astrology_bazi_chart:{tag:"roxy-bazi-chart",pascal:"RoxyBaziChart",operationId:"generateBaziChart"},post_chinese_astrology_bazi_luck_pillars:{tag:"roxy-luck-pillars",pascal:"RoxyLuckPillars",operationId:"calculateLuckPillars"},post_chinese_astrology_zodiac_sign:{tag:"roxy-zodiac-card",pascal:"RoxyZodiacCard",operationId:"calculateZodiacAnimal",attrs:{mode:"sign"}},get_chinese_astrology_zodiac_animals_id:{tag:"roxy-zodiac-card",pascal:"RoxyZodiacCard",operationId:"getZodiacAnimal",attrs:{mode:"animal"}},get_chinese_astrology_zodiac_id_daily:{tag:"roxy-zodiac-card",pascal:"RoxyZodiacCard",operationId:"getDailyZodiacReading",attrs:{mode:"daily"}},get_chinese_astrology_zodiac_compatibility_sign1_sign2:{tag:"roxy-zodiac-card",pascal:"RoxyZodiacCard",operationId:"getZodiacCompatibility",attrs:{mode:"compatibility"}},get_chinese_astrology_calendar_day_date:{tag:"roxy-almanac-day",pascal:"RoxyAlmanacDay",operationId:"getAlmanacDay",attrs:{mode:"day"}},get_chinese_astrology_calendar_monthly:{tag:"roxy-almanac-day",pascal:"RoxyAlmanacDay",operationId:"getMonthlyAlmanac",attrs:{mode:"month"}},post_chinese_astrology_calendar_auspicious_days:{tag:"roxy-almanac-day",pascal:"RoxyAlmanacDay",operationId:"lookupAuspiciousDays",attrs:{mode:"auspicious"}},post_feng_shui_flying_stars_natal:{tag:"roxy-flying-star-chart",pascal:"RoxyFlyingStarChart",operationId:"generateFlyingStarChart",attrs:{mode:"natal"}},get_feng_shui_flying_stars_annual_year:{tag:"roxy-flying-star-chart",pascal:"RoxyFlyingStarChart",operationId:"getAnnualFlyingStars",attrs:{mode:"annual"}},post_feng_shui_kua:{tag:"roxy-kua-card",pascal:"RoxyKuaCard",operationId:"calculateKuaNumber",attrs:{mode:"kua"}},post_feng_shui_eight_mansions:{tag:"roxy-kua-card",pascal:"RoxyKuaCard",operationId:"generateEightMansions",attrs:{mode:"mansions"}},post_mesoamerican_astrology_mayan_tzolkin:{tag:"roxy-mayan-day-sign",pascal:"RoxyMayanDaySign",operationId:"calculateTzolkin",attrs:{mode:"day"}},post_mesoamerican_astrology_mayan_chart:{tag:"roxy-mayan-day-sign",pascal:"RoxyMayanDaySign",operationId:"generateMayanChart",attrs:{mode:"chart"}},post_vastu_mandala:{tag:"roxy-vastu-mandala",pascal:"RoxyVastuMandala",operationId:"generateMandala",attrs:{mode:"mandala"}},post_vastu_entrance:{tag:"roxy-vastu-mandala",pascal:"RoxyVastuMandala",operationId:"calculateEntrancePada",attrs:{mode:"entrance"}},post_biorhythm_daily:{tag:"roxy-biorhythm-chart",pascal:"RoxyBiorhythmChart",operationId:"getDailyBiorhythm",attrs:{mode:"daily"}},post_biorhythm_forecast:{tag:"roxy-biorhythm-chart",pascal:"RoxyBiorhythmChart",operationId:"getForecast",attrs:{mode:"forecast"}},post_biorhythm_critical_days:{tag:"roxy-biorhythm-chart",pascal:"RoxyBiorhythmChart",operationId:"getCriticalDays",attrs:{mode:"critical-days"}},post_ayurveda_constitution:{tag:"roxy-dosha-constitution",pascal:"RoxyDoshaConstitution",operationId:"calculateAyurvedicConstitution"},get_iching_hexagrams_random:{tag:"roxy-hexagram",pascal:"RoxyHexagram",operationId:"getRandomHexagram"},get_iching_hexagrams_number:{tag:"roxy-hexagram",pascal:"RoxyHexagram",operationId:"getHexagram"},get_iching_hexagrams_lookup:{tag:"roxy-hexagram",pascal:"RoxyHexagram",operationId:"lookupHexagram"},get_iching_cast:{tag:"roxy-hexagram",pascal:"RoxyHexagram",operationId:"castReading"},post_iching_daily:{tag:"roxy-hexagram",pascal:"RoxyHexagram",operationId:"getDailyHexagram"},post_iching_daily_cast:{tag:"roxy-hexagram",pascal:"RoxyHexagram",operationId:"castDailyReading"},get_crystals_id:{tag:"roxy-crystal-card",pascal:"RoxyCrystalCard",operationId:"getCrystal"},get_crystals_chakra:{tag:"roxy-crystal-grid",pascal:"RoxyCrystalGrid",operationId:"getCrystalsByChakra"},get_crystals_element:{tag:"roxy-crystal-grid",pascal:"RoxyCrystalGrid",operationId:"getCrystalsByElement"},get_crystals_zodiac_sign:{tag:"roxy-crystal-grid",pascal:"RoxyCrystalGrid",operationId:"getCrystalsByZodiac"},get_crystals:{tag:"roxy-crystal-grid",pascal:"RoxyCrystalGrid",operationId:"listCrystals"},get_crystals_birthstone_month:{tag:"roxy-crystal-grid",pascal:"RoxyCrystalGrid",operationId:"getBirthstones"},get_crystals_search:{tag:"roxy-crystal-grid",pascal:"RoxyCrystalGrid",operationId:"searchCrystals"},get_dreams_symbols_id:{tag:"roxy-dream-card",pascal:"RoxyDreamCard",operationId:"getDreamSymbol"},get_dreams_symbols:{tag:"roxy-dream-search",pascal:"RoxyDreamSearch",operationId:"searchDreamSymbols"},get_angel_numbers_number:{tag:"roxy-angel-number-card",pascal:"RoxyAngelNumberCard",operationId:"getAngelNumber"},get_angel_numbers_lookup:{tag:"roxy-angel-number-lookup",pascal:"RoxyAngelNumberLookup",operationId:"analyzeNumberSequence"},get_astrology_signs_id:{tag:"roxy-reference-card",pascal:"RoxyReferenceCard",operationId:"getZodiacSign"},get_astrology_planet_meanings_id:{tag:"roxy-reference-card",pascal:"RoxyReferenceCard",operationId:"getPlanetMeaning"},get_vedic_astrology_rashis_id:{tag:"roxy-reference-card",pascal:"RoxyReferenceCard",operationId:"getRashi"},get_iching_trigrams_id:{tag:"roxy-reference-card",pascal:"RoxyReferenceCard",operationId:"getTrigram"},get_human_design_gates_number:{tag:"roxy-reference-card",pascal:"RoxyReferenceCard",operationId:"getGate"},get_human_design_centers_id:{tag:"roxy-reference-card",pascal:"RoxyReferenceCard",operationId:"getCenter"},get_numerology_meanings_number:{tag:"roxy-reference-card",pascal:"RoxyReferenceCard",operationId:"getNumberMeaning"},get_numerology_compound_number:{tag:"roxy-reference-card",pascal:"RoxyReferenceCard",operationId:"getCompoundNumber"},get_vedic_astrology_avasthas_id:{tag:"roxy-reference-card",pascal:"RoxyReferenceCard",operationId:"getAvastha"}};function g(a){let o=a.lastIndexOf(":"),t=o===-1?a:a.slice(o+1),r=d[t];return r?{...r,toolName:t}:void 0}
2
+ //# sourceMappingURL=tool-component.cjs.map