@roxyapi/ui-vue 0.32.1 → 0.34.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.
- package/AGENTS.md +24 -8
- package/README.md +161 -62
- package/dist/components/almanac-day.d.ts +138 -0
- package/dist/components/almanac-day.d.ts.map +1 -0
- package/dist/components/almanac-day.js +2 -0
- package/dist/components/almanac-day.js.map +7 -0
- package/dist/components/angel-number-card.d.ts +8 -0
- package/dist/components/angel-number-card.d.ts.map +1 -1
- package/dist/components/angel-number-card.js +1 -1
- package/dist/components/angel-number-card.js.map +2 -2
- package/dist/components/angel-number-lookup.d.ts +8 -0
- package/dist/components/angel-number-lookup.d.ts.map +1 -1
- package/dist/components/angel-number-lookup.js +1 -1
- package/dist/components/angel-number-lookup.js.map +2 -2
- package/dist/components/arudha-padas.d.ts +8 -0
- package/dist/components/arudha-padas.d.ts.map +1 -1
- package/dist/components/arudha-padas.js +1 -1
- package/dist/components/arudha-padas.js.map +2 -2
- package/dist/components/ashtakavarga-grid.d.ts +8 -0
- package/dist/components/ashtakavarga-grid.d.ts.map +1 -1
- package/dist/components/ashtakavarga-grid.js +1 -1
- package/dist/components/ashtakavarga-grid.js.map +2 -2
- package/dist/components/aspects-table.d.ts +8 -0
- package/dist/components/aspects-table.d.ts.map +1 -1
- package/dist/components/aspects-table.js +1 -1
- package/dist/components/aspects-table.js.map +2 -2
- package/dist/components/astrocartography-map.d.ts +8 -0
- package/dist/components/astrocartography-map.d.ts.map +1 -1
- package/dist/components/astrocartography-map.js +1 -1
- package/dist/components/astrocartography-map.js.map +2 -2
- package/dist/components/bazi-chart.d.ts +130 -0
- package/dist/components/bazi-chart.d.ts.map +1 -0
- package/dist/components/bazi-chart.js +2 -0
- package/dist/components/bazi-chart.js.map +7 -0
- package/dist/components/bhav-chalit-table.d.ts +8 -0
- package/dist/components/bhav-chalit-table.d.ts.map +1 -1
- package/dist/components/bhav-chalit-table.js +1 -1
- package/dist/components/bhav-chalit-table.js.map +2 -2
- package/dist/components/bhava-bala-table.d.ts +8 -0
- package/dist/components/bhava-bala-table.d.ts.map +1 -1
- package/dist/components/bhava-bala-table.js +1 -1
- package/dist/components/bhava-bala-table.js.map +2 -2
- package/dist/components/biorhythm-chart.d.ts +8 -0
- package/dist/components/biorhythm-chart.d.ts.map +1 -1
- package/dist/components/biorhythm-chart.js +1 -1
- package/dist/components/biorhythm-chart.js.map +2 -2
- package/dist/components/bodygraph.d.ts +8 -0
- package/dist/components/bodygraph.d.ts.map +1 -1
- package/dist/components/bodygraph.js +1 -1
- package/dist/components/bodygraph.js.map +2 -2
- package/dist/components/chara-karakas.d.ts +8 -0
- package/dist/components/chara-karakas.d.ts.map +1 -1
- package/dist/components/chara-karakas.js +1 -1
- package/dist/components/chara-karakas.js.map +2 -2
- package/dist/components/choghadiya-grid.d.ts +8 -0
- package/dist/components/choghadiya-grid.d.ts.map +1 -1
- package/dist/components/choghadiya-grid.js +1 -1
- package/dist/components/choghadiya-grid.js.map +2 -2
- package/dist/components/compatibility-card.d.ts +8 -0
- package/dist/components/compatibility-card.d.ts.map +1 -1
- package/dist/components/compatibility-card.js +1 -1
- package/dist/components/compatibility-card.js.map +2 -2
- package/dist/components/crystal-card.d.ts +8 -0
- package/dist/components/crystal-card.d.ts.map +1 -1
- package/dist/components/crystal-card.js +1 -1
- package/dist/components/crystal-card.js.map +2 -2
- package/dist/components/crystal-grid.d.ts +8 -0
- package/dist/components/crystal-grid.d.ts.map +1 -1
- package/dist/components/crystal-grid.js +1 -1
- package/dist/components/crystal-grid.js.map +2 -2
- package/dist/components/dasha-timeline.d.ts +8 -0
- package/dist/components/dasha-timeline.d.ts.map +1 -1
- package/dist/components/dasha-timeline.js +1 -1
- package/dist/components/dasha-timeline.js.map +2 -2
- package/dist/components/data.d.ts +8 -0
- package/dist/components/data.d.ts.map +1 -1
- package/dist/components/data.js +1 -1
- package/dist/components/data.js.map +2 -2
- package/dist/components/divisional-chart.d.ts +8 -0
- package/dist/components/divisional-chart.d.ts.map +1 -1
- package/dist/components/divisional-chart.js +1 -1
- package/dist/components/divisional-chart.js.map +2 -2
- package/dist/components/dosha-card.d.ts +8 -0
- package/dist/components/dosha-card.d.ts.map +1 -1
- package/dist/components/dosha-card.js +1 -1
- package/dist/components/dosha-card.js.map +2 -2
- package/dist/components/dream-card.d.ts +8 -0
- package/dist/components/dream-card.d.ts.map +1 -1
- package/dist/components/dream-card.js +1 -1
- package/dist/components/dream-card.js.map +2 -2
- package/dist/components/dream-search.d.ts +8 -0
- package/dist/components/dream-search.d.ts.map +1 -1
- package/dist/components/dream-search.js +1 -1
- package/dist/components/dream-search.js.map +2 -2
- package/dist/components/endpoint-form.js +1 -1
- package/dist/components/endpoint-form.js.map +1 -1
- package/dist/components/ephemeris-table.d.ts +8 -0
- package/dist/components/ephemeris-table.d.ts.map +1 -1
- package/dist/components/ephemeris-table.js +1 -1
- package/dist/components/ephemeris-table.js.map +2 -2
- package/dist/components/fixed-stars.d.ts +8 -0
- package/dist/components/fixed-stars.d.ts.map +1 -1
- package/dist/components/fixed-stars.js +1 -1
- package/dist/components/fixed-stars.js.map +2 -2
- package/dist/components/flying-star-chart.d.ts +138 -0
- package/dist/components/flying-star-chart.d.ts.map +1 -0
- package/dist/components/flying-star-chart.js +2 -0
- package/dist/components/flying-star-chart.js.map +7 -0
- package/dist/components/forecast-digest.d.ts +8 -0
- package/dist/components/forecast-digest.d.ts.map +1 -1
- package/dist/components/forecast-digest.js +1 -1
- package/dist/components/forecast-digest.js.map +2 -2
- package/dist/components/forecast-timeline.d.ts +8 -0
- package/dist/components/forecast-timeline.d.ts.map +1 -1
- package/dist/components/forecast-timeline.js +1 -1
- package/dist/components/forecast-timeline.js.map +2 -2
- package/dist/components/gochara-table.d.ts +8 -0
- package/dist/components/gochara-table.d.ts.map +1 -1
- package/dist/components/gochara-table.js +1 -1
- package/dist/components/gochara-table.js.map +2 -2
- package/dist/components/guna-milan.d.ts +8 -0
- package/dist/components/guna-milan.d.ts.map +1 -1
- package/dist/components/guna-milan.js +1 -1
- package/dist/components/guna-milan.js.map +2 -2
- package/dist/components/hd-connection.d.ts +8 -0
- package/dist/components/hd-connection.d.ts.map +1 -1
- package/dist/components/hd-connection.js +1 -1
- package/dist/components/hd-connection.js.map +2 -2
- package/dist/components/hd-penta.d.ts +8 -0
- package/dist/components/hd-penta.d.ts.map +1 -1
- package/dist/components/hd-penta.js +1 -1
- package/dist/components/hd-penta.js.map +2 -2
- package/dist/components/hd-type-card.d.ts +8 -0
- package/dist/components/hd-type-card.d.ts.map +1 -1
- package/dist/components/hd-type-card.js +1 -1
- package/dist/components/hd-type-card.js.map +2 -2
- package/dist/components/hd-variables.d.ts +8 -0
- package/dist/components/hd-variables.d.ts.map +1 -1
- package/dist/components/hd-variables.js +1 -1
- package/dist/components/hd-variables.js.map +2 -2
- package/dist/components/heliacal-table.d.ts +8 -0
- package/dist/components/heliacal-table.d.ts.map +1 -1
- package/dist/components/heliacal-table.js +1 -1
- package/dist/components/heliacal-table.js.map +2 -2
- package/dist/components/hexagram.d.ts +8 -0
- package/dist/components/hexagram.d.ts.map +1 -1
- package/dist/components/hexagram.js +1 -1
- package/dist/components/hexagram.js.map +2 -2
- package/dist/components/hora-table.d.ts +8 -0
- package/dist/components/hora-table.d.ts.map +1 -1
- package/dist/components/hora-table.js +1 -1
- package/dist/components/hora-table.js.map +2 -2
- package/dist/components/horoscope-card.d.ts +19 -3
- package/dist/components/horoscope-card.d.ts.map +1 -1
- package/dist/components/horoscope-card.js +1 -1
- package/dist/components/horoscope-card.js.map +2 -2
- package/dist/components/kp-chart.d.ts +8 -0
- package/dist/components/kp-chart.d.ts.map +1 -1
- package/dist/components/kp-chart.js +1 -1
- package/dist/components/kp-chart.js.map +2 -2
- package/dist/components/kp-planets-table.d.ts +8 -0
- package/dist/components/kp-planets-table.d.ts.map +1 -1
- package/dist/components/kp-planets-table.js +1 -1
- package/dist/components/kp-planets-table.js.map +2 -2
- package/dist/components/kp-ruling-planets.d.ts +8 -0
- package/dist/components/kp-ruling-planets.d.ts.map +1 -1
- package/dist/components/kp-ruling-planets.js +1 -1
- package/dist/components/kp-ruling-planets.js.map +2 -2
- package/dist/components/kua-card.d.ts +138 -0
- package/dist/components/kua-card.d.ts.map +1 -0
- package/dist/components/kua-card.js +2 -0
- package/dist/components/kua-card.js.map +7 -0
- package/dist/components/local-space-compass.d.ts +8 -0
- package/dist/components/local-space-compass.d.ts.map +1 -1
- package/dist/components/local-space-compass.js +1 -1
- package/dist/components/local-space-compass.js.map +2 -2
- package/dist/components/location-search.js +1 -1
- package/dist/components/location-search.js.map +1 -1
- package/dist/components/luck-pillars.d.ts +130 -0
- package/dist/components/luck-pillars.d.ts.map +1 -0
- package/dist/components/luck-pillars.js +2 -0
- package/dist/components/luck-pillars.js.map +7 -0
- package/dist/components/moon-phase.d.ts +8 -0
- package/dist/components/moon-phase.d.ts.map +1 -1
- package/dist/components/moon-phase.js +1 -1
- package/dist/components/moon-phase.js.map +2 -2
- package/dist/components/nakshatra-card.d.ts +8 -0
- package/dist/components/nakshatra-card.d.ts.map +1 -1
- package/dist/components/nakshatra-card.js +1 -1
- package/dist/components/nakshatra-card.js.map +2 -2
- package/dist/components/natal-chart.d.ts +8 -0
- package/dist/components/natal-chart.d.ts.map +1 -1
- package/dist/components/natal-chart.js +1 -1
- package/dist/components/natal-chart.js.map +2 -2
- package/dist/components/numerology-card.d.ts +8 -0
- package/dist/components/numerology-card.d.ts.map +1 -1
- package/dist/components/numerology-card.js +1 -1
- package/dist/components/numerology-card.js.map +2 -2
- package/dist/components/panchang-table.d.ts +8 -0
- package/dist/components/panchang-table.d.ts.map +1 -1
- package/dist/components/panchang-table.js +1 -1
- package/dist/components/panchang-table.js.map +2 -2
- package/dist/components/positions-table.d.ts +8 -0
- package/dist/components/positions-table.d.ts.map +1 -1
- package/dist/components/positions-table.js +1 -1
- package/dist/components/positions-table.js.map +2 -2
- package/dist/components/profection-card.d.ts +8 -0
- package/dist/components/profection-card.d.ts.map +1 -1
- package/dist/components/profection-card.js +1 -1
- package/dist/components/profection-card.js.map +2 -2
- package/dist/components/reference-card.d.ts +8 -0
- package/dist/components/reference-card.d.ts.map +1 -1
- package/dist/components/reference-card.js +1 -1
- package/dist/components/reference-card.js.map +2 -2
- package/dist/components/relocation-wheel.d.ts +8 -0
- package/dist/components/relocation-wheel.d.ts.map +1 -1
- package/dist/components/relocation-wheel.js +1 -1
- package/dist/components/relocation-wheel.js.map +2 -2
- package/dist/components/shadbala-table.d.ts +8 -0
- package/dist/components/shadbala-table.d.ts.map +1 -1
- package/dist/components/shadbala-table.js +1 -1
- package/dist/components/shadbala-table.js.map +2 -2
- package/dist/components/synastry-chart.d.ts +8 -0
- package/dist/components/synastry-chart.d.ts.map +1 -1
- package/dist/components/synastry-chart.js +1 -1
- package/dist/components/synastry-chart.js.map +2 -2
- package/dist/components/tarot-card.d.ts +8 -0
- package/dist/components/tarot-card.d.ts.map +1 -1
- package/dist/components/tarot-card.js +1 -1
- package/dist/components/tarot-card.js.map +2 -2
- package/dist/components/tarot-catalog.d.ts +8 -0
- package/dist/components/tarot-catalog.d.ts.map +1 -1
- package/dist/components/tarot-catalog.js +1 -1
- package/dist/components/tarot-catalog.js.map +2 -2
- package/dist/components/tarot-spread.d.ts +8 -0
- package/dist/components/tarot-spread.d.ts.map +1 -1
- package/dist/components/tarot-spread.js +1 -1
- package/dist/components/tarot-spread.js.map +2 -2
- package/dist/components/transit-wheel.d.ts +8 -0
- package/dist/components/transit-wheel.d.ts.map +1 -1
- package/dist/components/transit-wheel.js +1 -1
- package/dist/components/transit-wheel.js.map +2 -2
- package/dist/components/transits-table.d.ts +8 -0
- package/dist/components/transits-table.d.ts.map +1 -1
- package/dist/components/transits-table.js +1 -1
- package/dist/components/transits-table.js.map +2 -2
- package/dist/components/upagraha-table.d.ts +8 -0
- package/dist/components/upagraha-table.d.ts.map +1 -1
- package/dist/components/upagraha-table.js +1 -1
- package/dist/components/upagraha-table.js.map +2 -2
- package/dist/components/vedic-aspects.d.ts +8 -0
- package/dist/components/vedic-aspects.d.ts.map +1 -1
- package/dist/components/vedic-aspects.js +1 -1
- package/dist/components/vedic-aspects.js.map +2 -2
- package/dist/components/vedic-daily.d.ts +8 -0
- package/dist/components/vedic-daily.d.ts.map +1 -1
- package/dist/components/vedic-daily.js +1 -1
- package/dist/components/vedic-daily.js.map +2 -2
- package/dist/components/vedic-kundli.d.ts +8 -0
- package/dist/components/vedic-kundli.d.ts.map +1 -1
- package/dist/components/vedic-kundli.js +1 -1
- package/dist/components/vedic-kundli.js.map +2 -2
- package/dist/components/vedic-planets-table.d.ts +8 -0
- package/dist/components/vedic-planets-table.d.ts.map +1 -1
- package/dist/components/vedic-planets-table.js +1 -1
- package/dist/components/vedic-planets-table.js.map +2 -2
- package/dist/components/western-planets-table.d.ts +8 -0
- package/dist/components/western-planets-table.d.ts.map +1 -1
- package/dist/components/western-planets-table.js +1 -1
- package/dist/components/western-planets-table.js.map +2 -2
- package/dist/components/yoga-list.d.ts +8 -0
- package/dist/components/yoga-list.d.ts.map +1 -1
- package/dist/components/yoga-list.js +1 -1
- package/dist/components/yoga-list.js.map +2 -2
- package/dist/components/zodiac-card.d.ts +138 -0
- package/dist/components/zodiac-card.d.ts.map +1 -0
- package/dist/components/zodiac-card.js +2 -0
- package/dist/components/zodiac-card.js.map +7 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +4 -4
- package/dist/load-ui.d.ts +2 -2
- package/dist/load-ui.d.ts.map +1 -1
- package/dist/load-ui.js +1 -1
- package/dist/load-ui.js.map +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types.gen.d.ts +9733 -991
- package/dist/types/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -8,7 +8,7 @@ Live preview: <https://roxyapi.github.io/ui/>. Source of truth for component typ
|
|
|
8
8
|
|
|
9
9
|
## Identity
|
|
10
10
|
|
|
11
|
-
Roxy UI is the official web component library for the RoxyAPI catalog. Components and helpers cover Western astrology, Vedic astrology,
|
|
11
|
+
Roxy UI is the official web component library for the RoxyAPI catalog. Components and helpers cover Western astrology, Vedic astrology, forecast, Human Design, Chinese astrology, feng shui, numerology, tarot, biorhythm, I Ching, crystals, dreams, angel numbers, with the location helper for geocoding. New endpoints regenerate component types automatically.
|
|
12
12
|
|
|
13
13
|
## Decision tree for picking a component
|
|
14
14
|
|
|
@@ -18,7 +18,7 @@ Map the natural-language request to a component first; fall back to the table be
|
|
|
18
18
|
|
|
19
19
|
| If the user says... | Render |
|
|
20
20
|
|---|---|
|
|
21
|
-
| "daily horoscope for `{sign}`", "weekly horoscope", "monthly horoscope" | `<roxy-horoscope-card>` |
|
|
21
|
+
| "daily horoscope for `{sign}`", "weekly horoscope", "monthly horoscope", "year ahead", "yearly horoscope" | `<roxy-horoscope-card>` with `period="daily"`, `"weekly"`, `"monthly"` or `"yearly"`. Every period carries the reading twice, whole as one column and split into six topic sections, and `layout` picks which one renders. Yearly also carries the themes, key periods, eclipses, retrogrades and best months of the year |
|
|
22
22
|
| "birth chart", "natal chart", "Western chart", "show me my planets" | `<roxy-natal-chart>` |
|
|
23
23
|
| "match two birth charts", "compare us in Western astrology", "synastry" | `<roxy-synastry-chart>` |
|
|
24
24
|
| "kundli", "Vedic chart", "rashi chart", "South/North Indian chart" | `<roxy-vedic-kundli>` |
|
|
@@ -37,6 +37,12 @@ Map the natural-language request to a component first; fall back to the table be
|
|
|
37
37
|
| "forecast", "what is coming up", "upcoming transits and events", "timeline of my year" | `<roxy-forecast-timeline>` |
|
|
38
38
|
| "biorhythm", "physical/emotional/intellectual cycle", "critical days" | `<roxy-biorhythm-chart>` |
|
|
39
39
|
| "I Ching", "hexagram", "cast the coins", "Book of Changes" | `<roxy-hexagram>` |
|
|
40
|
+
| "BaZi", "four pillars", "my Chinese birth chart", "what is my Day Master", "eight characters" | `<roxy-bazi-chart>` |
|
|
41
|
+
| "luck pillars", "Da Yun", "my ten year cycles", "when does my luck change" | `<roxy-luck-pillars>` |
|
|
42
|
+
| "Chinese zodiac", "what animal am I", "year of the {animal}", "my Chinese sign today", "are {animal} and {animal} compatible" | `<roxy-zodiac-card>` (`mode="sign"` for a birth date, `"animal"` for one animal in full, `"daily"` for today, `"compatibility"` for a pair) |
|
|
43
|
+
| "Chinese almanac", "Tong Shu", "is {date} a good day", "pick a wedding date", "auspicious days for {activity}" | `<roxy-almanac-day>` (`mode="day"`, `"month"`, or `"auspicious"` for a date search) |
|
|
44
|
+
| "Kua number", "eight mansions", "Ba Zhai", "my best direction", "which way should my desk face" | `<roxy-kua-card>` (`mode="kua"` for the number, `"mansions"` for the full map) |
|
|
45
|
+
| "flying stars", "Xuan Kong", "the stars in my house", "annual stars for {year}", "period 9 chart" | `<roxy-flying-star-chart>` (`mode="natal"` for a building, `mode="annual"` for one year over it) |
|
|
40
46
|
| "moon phase", "moon calendar", "next full moon", "current moon" | `<roxy-moon-phase>` |
|
|
41
47
|
| "what does my dream mean", "dream symbol", "dream dictionary", "I dreamt of {symbol}" | `<roxy-dream-card>` |
|
|
42
48
|
| "angel number {n}", "meaning of 111 / 222 / 1111", "I keep seeing this number" | `<roxy-angel-number-card>` |
|
|
@@ -61,7 +67,7 @@ Use the table below for the formal endpoint to component mapping.
|
|
|
61
67
|
| `<roxy-transit-wheel>` | Western | POST /astrology/transit-aspects | Natal chart on the inner ring, transiting bodies on the outer ring, aspect lines between them |
|
|
62
68
|
| `<roxy-aspects-table>` | Western | POST /astrology/aspects, /astrology/transit-aspects, /astrology/aspect-patterns | Aspect rows coloured by nature with orb and strength, plus detected chart patterns |
|
|
63
69
|
| `<roxy-moon-phase>` | Western | GET /astrology/moon-phase/{current,upcoming,calendar/...} | Moon phase card and calendar |
|
|
64
|
-
| `<roxy-horoscope-card>` | Western | GET /astrology/horoscope/{sign}/{daily,weekly,monthly} | Daily, weekly, or
|
|
70
|
+
| `<roxy-horoscope-card>` | Western | GET /astrology/horoscope/{sign}/{daily,weekly,monthly,yearly} | Daily, weekly, monthly, or yearly horoscope card |
|
|
65
71
|
| `<roxy-astrocartography-map>` | Western | POST /astrology/astrocartography | World map of planetary MC, IC, Ascendant, and Descendant lines with per-line interpretations |
|
|
66
72
|
| `<roxy-local-space-compass>` | Western | POST /astrology/local-space | Compass dial of planetary azimuth lines from the birthplace, dimmed below the horizon |
|
|
67
73
|
| `<roxy-relocation-wheel>` | Western | POST /astrology/relocation-chart | Relocated chart wheel plus the move geometry, angular planets, and planets that change house |
|
|
@@ -106,6 +112,12 @@ Use the table below for the formal endpoint to component mapping.
|
|
|
106
112
|
| `<roxy-hd-variables>` | Human Design | POST /human-design/variables | The four transformation arrows with direction, color, tone, and base, plus a reading per arrow grouped by layer and the cognition |
|
|
107
113
|
| `<roxy-forecast-timeline>` | Forecast | POST /forecast/{timeline,significant-dates,transits} | Date-grouped events across Western, Vedic, and biorhythm domains, weighted by significance |
|
|
108
114
|
| `<roxy-forecast-digest>` | Forecast | POST /forecast/digest | Per-window event counts, domain breakdown, and the highest-significance events |
|
|
115
|
+
| `<roxy-bazi-chart>` | Chinese | POST /chinese-astrology/bazi/chart | Year, month, day and hour pillars in hanzi with hidden stems, Ten Gods, Na Yin, element balance and interactions |
|
|
116
|
+
| `<roxy-luck-pillars>` | Chinese | POST /chinese-astrology/bazi/luck-pillars | Ten-year luck pillars as a strip with ages and years, the annual pillars, and the direction and start age behind them |
|
|
117
|
+
| `<roxy-zodiac-card>` | Chinese | POST /chinese-astrology/zodiac/sign, GET /chinese-astrology/zodiac/{animals/{id},{id}/daily,compatibility/{sign1}/{sign2}} | The animal for a date, one animal in full, a daily reading, or a pair scored |
|
|
118
|
+
| `<roxy-almanac-day>` | Chinese | GET /chinese-astrology/calendar/{day/{date},monthly}, POST /chinese-astrology/calendar/auspicious-days | Day officer, favours and avoids, clash animal and pillars, as one day, a month, or a date search |
|
|
119
|
+
| `<roxy-flying-star-chart>` | Feng Shui | POST /feng-shui/flying-stars/natal, GET /feng-shui/flying-stars/annual/{year} | Nine-palace flying star plate with the mountain, period and water star per palace, the facing and sitting mountains and the structure |
|
|
120
|
+
| `<roxy-kua-card>` | Feng Shui | POST /feng-shui/kua, POST /feng-shui/eight-mansions | Kua number and trigram over the eight-sector direction map, favourable and unfavourable sectors ranked |
|
|
109
121
|
| `<roxy-biorhythm-chart>` | Biorhythm | POST /biorhythm/{daily,forecast,critical-days} | Daily bars, forecast cycle lines, critical days |
|
|
110
122
|
| `<roxy-hexagram>` | I Ching | GET /iching/hexagrams/{number}, /iching/cast, POST /iching/daily, /iching/daily/cast | Hexagram figure with trigrams, judgment, image, and a reading per line (statement plus meaning); a cast highlights the moving lines and the resulting hexagram |
|
|
111
123
|
| `<roxy-crystal-card>` | Crystals | GET /crystals/{id} | Photo, meaning sections, chakra, zodiac, element, hardness, keywords, and pairings |
|
|
@@ -214,7 +226,7 @@ Several components select a view, mode, or chart layout in addition to `data`. T
|
|
|
214
226
|
<RoxyPanchangTable data={panchang} detail="detailed" />
|
|
215
227
|
```
|
|
216
228
|
|
|
217
|
-
The full set: `RoxyNatalChart` `houseSystem`, `RoxyHoroscopeCard` `period`, `RoxyMoonPhase` `mode`, `RoxyCompatibilityCard` `mode`, `RoxyVedicKundli` and `RoxyDivisionalChart` `chartStyle`, `RoxyPanchangTable` `detail`, `RoxyDashaTimeline` `period`, `RoxyDoshaCard` `type`, `RoxyNumerologyCard` `type`, `RoxyTarotSpread` `spread`, `RoxyBiorhythmChart` `mode`, `RoxyHexagram` `mode`. Outside React and Vue, set the same value as a kebab-case attribute or a JS property on the element (for example `chart-style="south"` or `el.chartStyle = 'south'`).
|
|
229
|
+
The full set: `RoxyNatalChart` `houseSystem`, `RoxyHoroscopeCard` `period` and `layout`, `RoxyMoonPhase` `mode`, `RoxyZodiacCard` `mode`, `RoxyKuaCard` `mode`, `RoxyAlmanacDay` `mode`, `RoxyFlyingStarChart` `mode`, `RoxyCompatibilityCard` `mode`, `RoxyVedicKundli` and `RoxyDivisionalChart` `chartStyle`, `RoxyPanchangTable` `detail`, `RoxyDashaTimeline` `period`, `RoxyDoshaCard` `type`, `RoxyNumerologyCard` `type`, `RoxyTarotSpread` `spread`, `RoxyBiorhythmChart` `mode`, `RoxyHexagram` `mode`. Outside React and Vue, set the same value as a kebab-case attribute or a JS property on the element (for example `chart-style="south"` or `el.chartStyle = 'south'`).
|
|
218
230
|
|
|
219
231
|
### 6c. Vue and Nuxt
|
|
220
232
|
|
|
@@ -379,6 +391,8 @@ For a static chart with no picker, fetch in a Server Component and pass `data` t
|
|
|
379
391
|
|
|
380
392
|
The city search is the one request the form issues on its own, while a visitor is still typing. When the page routes RoxyAPI traffic through your own server, give it a route for that search and name it with `location-url` (absolute, or relative to the page). Then the form calls your server for cities too, and no key of any kind reaches the browser. The same attribute works on any component in self-fetch mode, alongside `submit-url`, and on a one-tag widget as `data-location-url`.
|
|
381
393
|
|
|
394
|
+
A rendering component in self-fetch mode (Pattern 4) can also send data of your own with what it submits, which the bare form above does not need because your own code writes that request. Give it `submit-context` with a JSON object and your `submit-url` route receives that object as `context` beside the request, which is where a page attaches its own verification data to a submission. The component passes it through untouched and reads no key of it, so its shape is yours to choose; leave the attribute off and your route receives exactly the request it always did. A one-tag widget takes it as `data-submit-context`.
|
|
395
|
+
|
|
382
396
|
```html
|
|
383
397
|
<roxy-endpoint-form
|
|
384
398
|
data-endpoint="vedic-astrology/birth-chart"
|
|
@@ -419,9 +433,9 @@ That single element renders a schema-driven form (a zodiac/enum tile picker, a b
|
|
|
419
433
|
|
|
420
434
|
In React, the same props are typed: `<RoxyNatalChart endpoint="astrology/natal-chart" publishableKey={process.env.NEXT_PUBLIC_ROXY_PK} />`.
|
|
421
435
|
|
|
422
|
-
**Three optional attributes on the self-fetch element.** `lang` sets the response language (`en`, `tr`, `de`, `es`, `hi`, `pt`, `fr`, `ru`): put it on the element (`<roxy-horoscope-card lang="de" ...>`) and the form routes it to the `?lang=` query on submit, so visitors never see a language field. `submit-label` overrides the derived button label. `attribution` renders a small "Spiritual data by RoxyAPI" credit under the result: off by default, and the one-tag script below turns it on unless you set `data-attribution="off"`. None of these apply in controlled mode.
|
|
436
|
+
**Three optional attributes on the self-fetch element.** `lang` sets the response language (`en`, `tr`, `de`, `es`, `hi`, `pt`, `fr`, `ru`, `zh-Hans`, `zh-Hant`): put it on the element (`<roxy-horoscope-card lang="de" ...>`) and the form routes it to the `?lang=` query on submit, so visitors never see a language field. `submit-label` overrides the derived button label. `attribution` renders a small "Spiritual data by RoxyAPI" credit under the result: off by default, and the one-tag script below turns it on unless you set `data-attribution="off"`. None of these apply in controlled mode.
|
|
423
437
|
|
|
424
|
-
**One tag, no element wiring.** For the simplest embed, load `dist/cdn/widgets.js` and drop a `<div data-roxy-widget="{slug}" data-publishable-key="pk_live_...">`. The script mounts the matching component from a generated slug map: with every path parameter supplied as a `data-*` attribute (`data-sign`, `data-id`) it fetches on mount, otherwise it renders the same input form. A second `data-*` attribute picks a variant (`data-period`, `data-mode`, `data-type`, `data-spread`). To keep every key on your own server instead, drop the publishable key and give the tag `data-submit-url` and `data-location-url`: the widget renders the form and routes both its requests there.
|
|
438
|
+
**One tag, no element wiring.** For the simplest embed, load `dist/cdn/widgets.js` and drop a `<div data-roxy-widget="{slug}" data-publishable-key="pk_live_...">`. The script mounts the matching component from a generated slug map: with every path parameter supplied as a `data-*` attribute (`data-sign`, `data-id`) it fetches on mount, otherwise it renders the same input form. A second `data-*` attribute picks a variant (`data-period`, `data-mode`, `data-type`, `data-spread`). To keep every key on your own server instead, drop the publishable key and give the tag `data-submit-url` and `data-location-url`: the widget renders the form and routes both its requests there. `data-submit-context` rides along with the submitted one.
|
|
425
439
|
|
|
426
440
|
**Theme every widget in one link.** Add `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/themes/practitioner.css">` for a warm rosewater serif look, or set the `--roxy-font-display` token alone to swap result headings to a display face (it defaults to the body font, so nothing changes until you set it). See [THEMING.md](packages/ui/THEMING.md).
|
|
427
441
|
|
|
@@ -501,7 +515,9 @@ This is how the WordPress plugin renders: PHP fetches the response server-side,
|
|
|
501
515
|
|
|
502
516
|
## Localized responses
|
|
503
517
|
|
|
504
|
-
Most RoxyAPI endpoints return their interpretation text in
|
|
518
|
+
Most RoxyAPI endpoints return their interpretation text in the language you ask for, selected with the `lang` query parameter (`en`, `tr`, `de`, `es`, `hi`, `pt`, `fr`, `ru`, `zh-Hans`, `zh-Hant`). Human Design, for example, returns the type, strategy, authority, profile, channel, center, gate, and line readings in the requested language. Coverage varies by domain, and a field with no translation in the language you asked for comes back in English.
|
|
519
|
+
|
|
520
|
+
Chinese is named by script rather than by language, so `zh-Hant` and `zh-Hans` are the two values to send. A component resolves a regional tag for you: `zh-TW` and `zh-HK` read as traditional, `zh-CN` and `zh-SG` as simplified.
|
|
505
521
|
|
|
506
522
|
The components hold no copy of their own; they print the prose the response carries. So the language of the response is the language of the render.
|
|
507
523
|
|
|
@@ -625,7 +641,7 @@ That table is the shared vocabulary, not the whole list. **`components-catalog.j
|
|
|
625
641
|
|
|
626
642
|
## Domain ordering
|
|
627
643
|
|
|
628
|
-
When listing domains in user-visible copy, use the canonical order: Western astrology, Vedic astrology, forecast, human design, numerology, tarot, biorhythm, I Ching, crystals, dreams, angel numbers. Location is utility, not a selling domain. The `domain` field in `components-catalog.json` carries the same names, so sort by this list rather than by whatever order you discovered components in.
|
|
644
|
+
When listing domains in user-visible copy, use the canonical order: Western astrology, Vedic astrology, forecast, human design, Chinese astrology, feng shui, numerology, tarot, biorhythm, I Ching, crystals, dreams, angel numbers. Sort by this list and skip any domain the catalog does not carry a component for. Location is utility, not a selling domain. The `domain` field in `components-catalog.json` carries the same names, so sort by this list rather than by whatever order you discovered components in.
|
|
629
645
|
|
|
630
646
|
## What not to ship
|
|
631
647
|
|
package/README.md
CHANGED
|
@@ -177,6 +177,53 @@ Every chart, table, and card adapts to light and dark automatically. Hover any i
|
|
|
177
177
|
</tr>
|
|
178
178
|
</table>
|
|
179
179
|
|
|
180
|
+
### Chinese astrology and feng shui
|
|
181
|
+
|
|
182
|
+
<table>
|
|
183
|
+
<tr>
|
|
184
|
+
<td width="50%"><strong>Four pillars</strong> · <code><roxy-bazi-chart></code><br><sub>POST /chinese-astrology/bazi/chart</sub><br>
|
|
185
|
+
<picture>
|
|
186
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/RoxyAPI/ui/main/assets/screenshots/bazi-chart-dark.png">
|
|
187
|
+
<img src="https://raw.githubusercontent.com/RoxyAPI/ui/main/assets/screenshots/bazi-chart-light.png" alt="BaZi four pillars chart, each pillar drawn as a Heavenly Stem over its Earthly Branch in hanzi with the Ten God relation, the stems the branch stores, and the Na Yin, over the five-element balance and the interactions the pillars form">
|
|
188
|
+
</picture>
|
|
189
|
+
</td>
|
|
190
|
+
<td width="50%"><strong>Flying star chart</strong> · <code><roxy-flying-star-chart></code><br><sub>POST /feng-shui/flying-stars/natal</sub><br>
|
|
191
|
+
<picture>
|
|
192
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/RoxyAPI/ui/main/assets/screenshots/flying-star-chart-dark.png">
|
|
193
|
+
<img src="https://raw.githubusercontent.com/RoxyAPI/ui/main/assets/screenshots/flying-star-chart-light.png" alt="Xuan Kong flying star plate, nine palaces on the Chinese compass with south at the top, each carrying its mountain star, period star and water star, over the facing and sitting mountains and the structure they produce">
|
|
194
|
+
</picture>
|
|
195
|
+
</td>
|
|
196
|
+
</tr>
|
|
197
|
+
<tr>
|
|
198
|
+
<td width="50%"><strong>Chinese zodiac</strong> · <code><roxy-zodiac-card></code><br><sub>GET /chinese-astrology/zodiac/animals/{id}</sub><br>
|
|
199
|
+
<picture>
|
|
200
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/RoxyAPI/ui/main/assets/screenshots/zodiac-card-dark.png">
|
|
201
|
+
<img src="https://raw.githubusercontent.com/RoxyAPI/ui/main/assets/screenshots/zodiac-card-light.png" alt="Chinese zodiac animal card with the animal in hanzi, its element and polarity, the double hours it governs, its trine, and its secret friend, clash and harm partners">
|
|
202
|
+
</picture>
|
|
203
|
+
</td>
|
|
204
|
+
<td width="50%"><strong>Kua and eight mansions</strong> · <code><roxy-kua-card></code><br><sub>POST /feng-shui/eight-mansions</sub><br>
|
|
205
|
+
<picture>
|
|
206
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/RoxyAPI/ui/main/assets/screenshots/kua-card-dark.png">
|
|
207
|
+
<img src="https://raw.githubusercontent.com/RoxyAPI/ui/main/assets/screenshots/kua-card-light.png" alt="Eight Mansions map on the nine-palace grid, four favourable and four unfavourable compass sectors each with its star, rank and life domain, and the Kua number and trigram in the centre">
|
|
208
|
+
</picture>
|
|
209
|
+
</td>
|
|
210
|
+
</tr>
|
|
211
|
+
<tr>
|
|
212
|
+
<td width="50%"><strong>Luck pillars</strong> · <code><roxy-luck-pillars></code><br><sub>POST /chinese-astrology/bazi/luck-pillars</sub><br>
|
|
213
|
+
<picture>
|
|
214
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/RoxyAPI/ui/main/assets/screenshots/luck-pillars-dark.png">
|
|
215
|
+
<img src="https://raw.githubusercontent.com/RoxyAPI/ui/main/assets/screenshots/luck-pillars-light.png" alt="BaZi luck pillars as a strip of ten-year stretches, each with its stem and branch in hanzi, the Ten God relation, and the ages and years it spans">
|
|
216
|
+
</picture>
|
|
217
|
+
</td>
|
|
218
|
+
<td width="50%"><strong>Chinese almanac</strong> · <code><roxy-almanac-day></code><br><sub>GET /chinese-astrology/calendar/day/{date}</sub><br>
|
|
219
|
+
<picture>
|
|
220
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/RoxyAPI/ui/main/assets/screenshots/almanac-day-dark.png">
|
|
221
|
+
<img src="https://raw.githubusercontent.com/RoxyAPI/ui/main/assets/screenshots/almanac-day-light.png" alt="Chinese almanac day with the day officer, what the day favours and what it avoids, the animal it clashes with, and its three pillars and lunar mansion">
|
|
222
|
+
</picture>
|
|
223
|
+
</td>
|
|
224
|
+
</tr>
|
|
225
|
+
</table>
|
|
226
|
+
|
|
180
227
|
### Other domains
|
|
181
228
|
|
|
182
229
|
<table>
|
|
@@ -428,7 +475,103 @@ const { data: d9 } = await roxy.vedicAstrology.generateDivisionalChart({
|
|
|
428
475
|
<RoxyDivisionalChart data={d9} />
|
|
429
476
|
```
|
|
430
477
|
|
|
431
|
-
### 3.
|
|
478
|
+
### 3. Forecast (transits, cross-domain timeline)
|
|
479
|
+
|
|
480
|
+
One stateless call merges Western transits, Vedic Vimshottari dasha boundaries, and biorhythm critical days into a single significance-scored, time-ordered timeline. Built for forecast feeds, transit alerts, and timing tools. No coordinates needed.
|
|
481
|
+
|
|
482
|
+
```tsx
|
|
483
|
+
import { RoxyForecastTimeline } from '@roxyapi/ui-react';
|
|
484
|
+
|
|
485
|
+
// Transit forecast. The demand leader. Western transit-to-natal aspects, sign
|
|
486
|
+
// ingresses, and retrograde stations over the window.
|
|
487
|
+
const { data: transits } = await roxy.forecast.forecastTransits({
|
|
488
|
+
body: { birthData: { date: '1990-01-15', time: '14:30:00', timezone: 5.5 } },
|
|
489
|
+
});
|
|
490
|
+
<RoxyForecastTimeline data={transits} />
|
|
491
|
+
|
|
492
|
+
// Cross-domain timeline. The same window merged with Vedic dasha boundaries and
|
|
493
|
+
// biorhythm critical days into one significance-scored timeline.
|
|
494
|
+
const { data: timeline } = await roxy.forecast.generateTimeline({
|
|
495
|
+
body: {
|
|
496
|
+
birthData: { date: '1990-01-15', time: '14:30:00', timezone: 5.5 },
|
|
497
|
+
domains: ['western', 'vedic', 'biorhythm'],
|
|
498
|
+
},
|
|
499
|
+
});
|
|
500
|
+
<RoxyForecastTimeline data={timeline} />
|
|
501
|
+
```
|
|
502
|
+
|
|
503
|
+
### 4. Human Design (bodygraph)
|
|
504
|
+
|
|
505
|
+
A self-knowledge system computed from the same ephemeris as Western astrology, laid over the I Ching gate wheel and nine chakra-style centers. Self-discovery apps, dating and compatibility products, and AI coaching bots render the full bodygraph. No coordinates needed; Human Design uses the birth instant, not the observer location.
|
|
506
|
+
|
|
507
|
+
The response is a reading, not a set of labels: the type, strategy, authority, profile, and definition each arrive with the text that explains them, every defined channel and every center carry their own interpretation, and each of the activations carries a gate meaning and the meaning of its line. `<RoxyBodygraph>` lays that out for you. The chart and the identity read at a glance, and every body of prose sits behind a disclosure, so one component renders a complete reading without becoming a wall of text.
|
|
508
|
+
|
|
509
|
+
```tsx
|
|
510
|
+
import { RoxyBodygraph } from '@roxyapi/ui-react';
|
|
511
|
+
|
|
512
|
+
// Full bodygraph. The head term every Human Design app leads with ("human design chart").
|
|
513
|
+
// Type, strategy, authority, profile, the nine centers, channels, and every gate
|
|
514
|
+
// activation in one call. Pass the birth instant only, no latitude or longitude.
|
|
515
|
+
const { data: bodygraph } = await roxy.humanDesign.generateBodygraph({
|
|
516
|
+
body: { date: '1990-01-15', time: '14:30:00', timezone: 5.5 },
|
|
517
|
+
});
|
|
518
|
+
<RoxyBodygraph data={bodygraph} />
|
|
519
|
+
```
|
|
520
|
+
|
|
521
|
+
Every interpretation is localized. Ask for the language on the request and the component renders it, because the component prints the prose the API returned and holds no copy of its own.
|
|
522
|
+
|
|
523
|
+
```tsx
|
|
524
|
+
const { data: bodygraph } = await roxy.humanDesign.generateBodygraph({
|
|
525
|
+
body: { date: '1990-01-15', time: '14:30:00', timezone: 5.5 },
|
|
526
|
+
query: { lang: 'de' },
|
|
527
|
+
});
|
|
528
|
+
```
|
|
529
|
+
|
|
530
|
+
### 5. Chinese astrology (four pillars, luck pillars, zodiac, almanac)
|
|
531
|
+
|
|
532
|
+
The BaZi chart a reading is built on, the ten-year luck pillars that time it, the twelve-animal zodiac, and the almanac people actually consult to pick a date. Fits date-selection tools, Chinese-new-year features and East Asian wellness apps.
|
|
533
|
+
|
|
534
|
+
```tsx
|
|
535
|
+
import { RoxyBaziChart, RoxyZodiacCard, RoxyAlmanacDay } from '@roxyapi/ui-react';
|
|
536
|
+
|
|
537
|
+
// Four pillars. Stem over branch per pillar, hidden stems, Ten Gods, element balance.
|
|
538
|
+
const { data: bazi } = await roxy.chineseAstrology.generateBaziChart({
|
|
539
|
+
body: { date: '1990-01-15', time: '14:30:00', timezone: 'America/New_York' },
|
|
540
|
+
});
|
|
541
|
+
<RoxyBaziChart data={bazi} />
|
|
542
|
+
|
|
543
|
+
// The animal a birth date falls in, on the classical year boundary.
|
|
544
|
+
const { data: sign } = await roxy.chineseAstrology.calculateZodiacAnimal({
|
|
545
|
+
body: { date: '1990-01-15' },
|
|
546
|
+
});
|
|
547
|
+
<RoxyZodiacCard data={sign} mode="sign" />
|
|
548
|
+
|
|
549
|
+
// Almanac day. What the day favours, what it avoids, and the animal it clashes with.
|
|
550
|
+
const { data: day } = await roxy.chineseAstrology.getAlmanacDay({ path: { date: '2026-09-08' } });
|
|
551
|
+
<RoxyAlmanacDay data={day} mode="day" />
|
|
552
|
+
```
|
|
553
|
+
|
|
554
|
+
### 6. Feng shui (kua number, eight mansions, flying stars)
|
|
555
|
+
|
|
556
|
+
A person's Kua number and the eight directions it ranks for them, plus the Xuan Kong flying-star plate for a building. Fits home and office consultation tools, property apps and annual-forecast features.
|
|
557
|
+
|
|
558
|
+
```tsx
|
|
559
|
+
import { RoxyKuaCard, RoxyFlyingStarChart } from '@roxyapi/ui-react';
|
|
560
|
+
|
|
561
|
+
// Kua number and the full Eight Mansions map, four favourable sectors and four not.
|
|
562
|
+
const { data: mansions } = await roxy.fengShui.generateEightMansions({
|
|
563
|
+
body: { date: '1990-01-15', gender: 'female' },
|
|
564
|
+
});
|
|
565
|
+
<RoxyKuaCard data={mansions} mode="mansions" />
|
|
566
|
+
|
|
567
|
+
// Flying star plate for a building, from its facing degrees and construction period.
|
|
568
|
+
const { data: plate } = await roxy.fengShui.generateFlyingStarChart({
|
|
569
|
+
body: { facingDegrees: 175, period: 9 },
|
|
570
|
+
});
|
|
571
|
+
<RoxyFlyingStarChart data={plate} mode="natal" />
|
|
572
|
+
```
|
|
573
|
+
|
|
574
|
+
### 7. Numerology (life path, full chart, personal year)
|
|
432
575
|
|
|
433
576
|
Life path, the full chart, and the personal year. The easiest domain to integrate: a name and a birth date are enough, with no birth time and no coordinates.
|
|
434
577
|
|
|
@@ -454,7 +597,7 @@ const { data: pyear } = await roxy.numerology.calculatePersonalYear({
|
|
|
454
597
|
<RoxyNumerologyCard data={pyear} type="personal-year" />
|
|
455
598
|
```
|
|
456
599
|
|
|
457
|
-
###
|
|
600
|
+
### 8. Tarot (daily card, three-card, Celtic Cross)
|
|
458
601
|
|
|
459
602
|
Draw a single daily card, a three-card spread, or a full Celtic Cross. The card database is stable reference data, so fetch it once and cache it rather than calling per render.
|
|
460
603
|
|
|
@@ -478,59 +621,7 @@ const { data: cc } = await roxy.tarot.castCelticCross({
|
|
|
478
621
|
<RoxyTarotSpread data={cc} />
|
|
479
622
|
```
|
|
480
623
|
|
|
481
|
-
###
|
|
482
|
-
|
|
483
|
-
A self-knowledge system computed from the same ephemeris as Western astrology, laid over the I Ching gate wheel and nine chakra-style centers. Self-discovery apps, dating and compatibility products, and AI coaching bots render the full bodygraph. No coordinates needed; Human Design uses the birth instant, not the observer location.
|
|
484
|
-
|
|
485
|
-
The response is a reading, not a set of labels: the type, strategy, authority, profile, and definition each arrive with the text that explains them, every defined channel and every center carry their own interpretation, and each of the activations carries a gate meaning and the meaning of its line. `<RoxyBodygraph>` lays that out for you. The chart and the identity read at a glance, and every body of prose sits behind a disclosure, so one component renders a complete reading without becoming a wall of text.
|
|
486
|
-
|
|
487
|
-
```tsx
|
|
488
|
-
import { RoxyBodygraph } from '@roxyapi/ui-react';
|
|
489
|
-
|
|
490
|
-
// Full bodygraph. The head term every Human Design app leads with ("human design chart").
|
|
491
|
-
// Type, strategy, authority, profile, the nine centers, channels, and every gate
|
|
492
|
-
// activation in one call. Pass the birth instant only, no latitude or longitude.
|
|
493
|
-
const { data: bodygraph } = await roxy.humanDesign.generateBodygraph({
|
|
494
|
-
body: { date: '1990-01-15', time: '14:30:00', timezone: 5.5 },
|
|
495
|
-
});
|
|
496
|
-
<RoxyBodygraph data={bodygraph} />
|
|
497
|
-
```
|
|
498
|
-
|
|
499
|
-
Every interpretation is localized. Ask for the language on the request and the component renders it, because the component prints the prose the API returned and holds no copy of its own.
|
|
500
|
-
|
|
501
|
-
```tsx
|
|
502
|
-
const { data: bodygraph } = await roxy.humanDesign.generateBodygraph({
|
|
503
|
-
body: { date: '1990-01-15', time: '14:30:00', timezone: 5.5 },
|
|
504
|
-
query: { lang: 'de' },
|
|
505
|
-
});
|
|
506
|
-
```
|
|
507
|
-
|
|
508
|
-
### 6. Forecast (transits, cross-domain timeline)
|
|
509
|
-
|
|
510
|
-
One stateless call merges Western transits, Vedic Vimshottari dasha boundaries, and biorhythm critical days into a single significance-scored, time-ordered timeline. Built for forecast feeds, transit alerts, and timing tools. No coordinates needed.
|
|
511
|
-
|
|
512
|
-
```tsx
|
|
513
|
-
import { RoxyForecastTimeline } from '@roxyapi/ui-react';
|
|
514
|
-
|
|
515
|
-
// Transit forecast. The demand leader. Western transit-to-natal aspects, sign
|
|
516
|
-
// ingresses, and retrograde stations over the window.
|
|
517
|
-
const { data: transits } = await roxy.forecast.forecastTransits({
|
|
518
|
-
body: { birthData: { date: '1990-01-15', time: '14:30:00', timezone: 5.5 } },
|
|
519
|
-
});
|
|
520
|
-
<RoxyForecastTimeline data={transits} />
|
|
521
|
-
|
|
522
|
-
// Cross-domain timeline. The same window merged with Vedic dasha boundaries and
|
|
523
|
-
// biorhythm critical days into one significance-scored timeline.
|
|
524
|
-
const { data: timeline } = await roxy.forecast.generateTimeline({
|
|
525
|
-
body: {
|
|
526
|
-
birthData: { date: '1990-01-15', time: '14:30:00', timezone: 5.5 },
|
|
527
|
-
domains: ['western', 'vedic', 'biorhythm'],
|
|
528
|
-
},
|
|
529
|
-
});
|
|
530
|
-
<RoxyForecastTimeline data={timeline} />
|
|
531
|
-
```
|
|
532
|
-
|
|
533
|
-
### 7. Biorhythm (daily, forecast)
|
|
624
|
+
### 9. Biorhythm (daily, forecast)
|
|
534
625
|
|
|
535
626
|
Physical, emotional and intellectual cycles from a birth date alone, as a daily reading or a forward forecast with the critical days marked. Fits wellness, productivity, sports and couples apps.
|
|
536
627
|
|
|
@@ -551,7 +642,7 @@ const { data: forecast } = await roxy.biorhythm.getForecast({
|
|
|
551
642
|
<RoxyBiorhythmChart data={forecast} mode="forecast" />
|
|
552
643
|
```
|
|
553
644
|
|
|
554
|
-
###
|
|
645
|
+
### 10. I Ching (cast a reading, hexagram lookup)
|
|
555
646
|
|
|
556
647
|
Cast a reading with its changing lines and the hexagram it transforms into, or look up any of the 64 figures directly. Fits meditation apps, decision-making tools and wisdom chatbots.
|
|
557
648
|
|
|
@@ -582,7 +673,7 @@ Two ways to feed a component, and the key rule for each:
|
|
|
582
673
|
|
|
583
674
|
Set `ROXY_API_KEY` to your secret key in your server env for the server-side SDK examples on this page. For self-fetch embedding with no backend, use a publishable key (see the fully client-side pattern in [`AGENTS.md`](AGENTS.md)).
|
|
584
675
|
|
|
585
|
-
The self-fetch form renders spec-driven inputs (a zodiac tile picker, a boolean toggle, native date and time, a city search), collapses optional fields under one Advanced disclosure, and reads a `lang` attribute for localized responses. When the page routes RoxyAPI traffic through your own server instead, `submit-url` names the route that answers the submitted request and `location-url` names the one that answers the city search, so both halves of a birth-data form go to your server and no key of any kind reaches the browser. For the simplest embed, load `dist/cdn/widgets.js` and drop one `<div data-roxy-widget="{slug}" data-publishable-key="pk_live_...">`: with the required attributes present it fetches on mount, otherwise it renders the form. That tag takes `data-submit-url` and `data-
|
|
676
|
+
The self-fetch form renders spec-driven inputs (a zodiac tile picker, a boolean toggle, native date and time, a city search), collapses optional fields under one Advanced disclosure, and reads a `lang` attribute for localized responses. When the page routes RoxyAPI traffic through your own server instead, `submit-url` names the route that answers the submitted request and `location-url` names the one that answers the city search, so both halves of a birth-data form go to your server and no key of any kind reaches the browser. `submit-context` takes a JSON object of your own and hands it to that route as `context` beside the request, which is where a page attaches its own verification data to a submission. For the simplest embed, load `dist/cdn/widgets.js` and drop one `<div data-roxy-widget="{slug}" data-publishable-key="pk_live_...">`: with the required attributes present it fetches on mount, otherwise it renders the form. That tag takes `data-submit-url`, `data-location-url` and `data-submit-context` too, so a one-tag embed can route both its requests through your server and carry no key at all. A single `<link>` to the [practitioner theme preset](https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/themes/practitioner.css) restyles every widget on the page.
|
|
586
677
|
|
|
587
678
|
## Distribution
|
|
588
679
|
|
|
@@ -610,7 +701,7 @@ The self-fetch form renders spec-driven inputs (a zodiac tile picker, a boolean
|
|
|
610
701
|
| `<roxy-transit-wheel>` | Western | POST /astrology/transit-aspects | Natal chart on the inner ring, transiting bodies on the outer ring, aspect lines between them |
|
|
611
702
|
| `<roxy-aspects-table>` | Western | POST /astrology/aspects, /astrology/transit-aspects, /astrology/aspect-patterns | Aspect rows coloured by nature with orb and strength, plus detected chart patterns |
|
|
612
703
|
| `<roxy-moon-phase>` | Western | GET /astrology/moon-phase/{current,upcoming,calendar/...} | Moon phase card and calendar |
|
|
613
|
-
| `<roxy-horoscope-card>` | Western | GET /astrology/horoscope/{sign}/{daily,weekly,monthly} | Daily, weekly, or
|
|
704
|
+
| `<roxy-horoscope-card>` | Western | GET /astrology/horoscope/{sign}/{daily,weekly,monthly,yearly} | Daily, weekly, monthly, or yearly horoscope card |
|
|
614
705
|
| `<roxy-astrocartography-map>` | Western | POST /astrology/astrocartography | World map of planetary MC, IC, Ascendant, and Descendant lines with per-line interpretations |
|
|
615
706
|
| `<roxy-local-space-compass>` | Western | POST /astrology/local-space | Compass dial of planetary azimuth lines from the birthplace, dimmed below the horizon |
|
|
616
707
|
| `<roxy-relocation-wheel>` | Western | POST /astrology/relocation-chart | Relocated chart wheel plus the move geometry, angular planets, and planets that change house |
|
|
@@ -655,6 +746,12 @@ The self-fetch form renders spec-driven inputs (a zodiac tile picker, a boolean
|
|
|
655
746
|
| `<roxy-hd-variables>` | Human Design | POST /human-design/variables | The four transformation arrows with direction, color, tone, and base, plus a reading per arrow grouped by layer and the cognition |
|
|
656
747
|
| `<roxy-forecast-timeline>` | Forecast | POST /forecast/{timeline,significant-dates,transits} | Date-grouped events across Western, Vedic, and biorhythm domains, weighted by significance |
|
|
657
748
|
| `<roxy-forecast-digest>` | Forecast | POST /forecast/digest | Per-window event counts, domain breakdown, and the highest-significance events |
|
|
749
|
+
| `<roxy-bazi-chart>` | Chinese | POST /chinese-astrology/bazi/chart | Year, month, day and hour pillars in hanzi with hidden stems, Ten Gods, Na Yin, element balance and interactions |
|
|
750
|
+
| `<roxy-luck-pillars>` | Chinese | POST /chinese-astrology/bazi/luck-pillars | Ten-year luck pillars as a strip with ages and years, the annual pillars, and the direction and start age behind them |
|
|
751
|
+
| `<roxy-zodiac-card>` | Chinese | POST /chinese-astrology/zodiac/sign, GET /chinese-astrology/zodiac/{animals/{id},{id}/daily,compatibility/{sign1}/{sign2}} | The animal for a date, one animal in full, a daily reading, or a pair scored |
|
|
752
|
+
| `<roxy-almanac-day>` | Chinese | GET /chinese-astrology/calendar/{day/{date},monthly}, POST /chinese-astrology/calendar/auspicious-days | Day officer, favours and avoids, clash animal and pillars, as one day, a month, or a date search |
|
|
753
|
+
| `<roxy-flying-star-chart>` | Feng Shui | POST /feng-shui/flying-stars/natal, GET /feng-shui/flying-stars/annual/{year} | Nine-palace flying star plate with the mountain, period and water star per palace, the facing and sitting mountains and the structure |
|
|
754
|
+
| `<roxy-kua-card>` | Feng Shui | POST /feng-shui/kua, POST /feng-shui/eight-mansions | Kua number and trigram over the eight-sector direction map, favourable and unfavourable sectors ranked |
|
|
658
755
|
| `<roxy-biorhythm-chart>` | Biorhythm | POST /biorhythm/{daily,forecast,critical-days} | Daily bars, forecast cycle lines, critical days |
|
|
659
756
|
| `<roxy-hexagram>` | I Ching | GET /iching/hexagrams/{number}, /iching/cast, POST /iching/daily, /iching/daily/cast | Hexagram figure with trigrams, judgment, image, and a reading per line (statement plus meaning); a cast highlights the moving lines and the resulting hexagram |
|
|
660
757
|
| `<roxy-crystal-card>` | Crystals | GET /crystals/{id} | Photo, meaning sections, chakra, zodiac, element, hardness, keywords, and pairings |
|
|
@@ -753,7 +850,7 @@ What each family keeps when you set it:
|
|
|
753
850
|
|
|
754
851
|
- Charts and wheels keep the drawing, the legend, the glyphs, every degree and house, and the tab strip.
|
|
755
852
|
- Tables keep every row and column, including the calculated ones (kaksha bindus, koota scores, significance bars, orbs and strengths).
|
|
756
|
-
- Cards keep the header, the badges, the meters and the fact grids: a dosha keeps its present or absent verdict, its phase and its severity; a crystal keeps its Mohs hardness and its attribute grid; a horoscope keeps its energy meter, its Moon placement, the transits behind the reading and its
|
|
853
|
+
- Cards keep the header, the badges, the meters and the fact grids: a dosha keeps its present or absent verdict, its phase and its severity; a crystal keeps its Mohs hardness and its attribute grid; a horoscope keeps its energy meter, its Moon placement, the transits behind the reading, its key dates, and the dated sky events the reading was built on, each with its exact instant and the house it falls in.
|
|
757
854
|
- Vedic responses keep the sidereal frame caption, so a chart is still reconcilable against another calculator.
|
|
758
855
|
|
|
759
856
|
What goes: interpretation paragraphs, the reading accordions, keyword chips attached to a reading, remedies and action steps and strengths lists (sentences laid out as bullets), and any section whose only content was one of those, heading included.
|
|
@@ -801,7 +898,9 @@ Two things are separate on purpose. The catalogue is the wording this library wr
|
|
|
801
898
|
|
|
802
899
|
Dates, times and numbers follow the page as well, in the conventions that language actually uses: a Spanish page reads `15 ene 1990`, an Argentine one `15 de ene de 1990`, a German one `15. Jan. 1990, 14:30`. The hour cycle comes from the language, not from us, so nobody gets a 12-hour clock on a page that writes 24. This needs no catalogue and no attribute: it follows the same `lang` your page already declares.
|
|
803
900
|
|
|
804
|
-
A catalogue ships for
|
|
901
|
+
A catalogue ships for `de`, `es`, `fr`, `hi`, `pt`, `ru` and `tr`. Coverage grows card by card, and a card is either translated or it is not, so a component reads its own labels in your language or renders them in English, never a mixture. Every term in every catalogue is sourced from named astrology references in that language rather than translated word for word, because the words a practitioner reads are the product.
|
|
902
|
+
|
|
903
|
+
Chinese is keyed by script rather than by language, so a page declaring `zh-Hant` or `zh-Hans` gets the response in that script from the endpoints that serve it. A regional tag resolves on its own: `zh-TW` and `zh-HK` read as traditional, `zh-CN` and `zh-SG` as simplified. Component labels stay English on those pages, and the response carries the vocabulary.
|
|
805
904
|
|
|
806
905
|
## Reliability
|
|
807
906
|
|
|
@@ -810,7 +909,7 @@ A catalogue ships for every language the API serves: `de`, `es`, `fr`, `hi`, `pt
|
|
|
810
909
|
- Consistent response formats across every domain in the catalog.
|
|
811
910
|
- A11y zero violations enforced in CI.
|
|
812
911
|
- Tight per-component bundle budget enforced in CI.
|
|
813
|
-
- Coverage of the highest-demand endpoints across Western astrology, Vedic astrology,
|
|
912
|
+
- Coverage of the highest-demand endpoints across Western astrology, Vedic astrology, forecast, Human Design, Chinese astrology, feng shui, numerology, tarot, biorhythm, I Ching, plus helpers for location search and schema-driven forms.
|
|
814
913
|
|
|
815
914
|
## Built for AI agents
|
|
816
915
|
|
|
@@ -837,7 +936,7 @@ Local preview serves `apps/docs/` on port 3001. Same directory and same paths th
|
|
|
837
936
|
|
|
838
937
|
## Stack and integrations
|
|
839
938
|
|
|
840
|
-
Roxy UI runs in any framework that supports the DOM: **React, Next.js, Vue, Svelte, Angular, Solid, Astro, Qwik, Hono, Remix, Nuxt, SvelteKit, Lit, plain HTML, WordPress, Shopify themes that allow custom code, and any MCP-compatible AI agent**. Distribution paths: npm, jsDelivr CDN, shadcn registry. Use cases: astrology widgets, kundli matching, daily horoscope, tarot reader, numerology calculator, biorhythm dashboard, I Ching cast, panchang almanac, dasha timeline, moon phase tracker, synastry compatibility, dosha checker.
|
|
939
|
+
Roxy UI runs in any framework that supports the DOM: **React, Next.js, Vue, Svelte, Angular, Solid, Astro, Qwik, Hono, Remix, Nuxt, SvelteKit, Lit, plain HTML, WordPress, Shopify themes that allow custom code, and any MCP-compatible AI agent**. Distribution paths: npm, jsDelivr CDN, shadcn registry. Use cases: astrology widgets, kundli matching, daily horoscope, BaZi four pillars chart, Chinese zodiac readings, feng shui Kua and flying star plates, almanac day picker, tarot reader, numerology calculator, biorhythm dashboard, I Ching cast, panchang almanac, dasha timeline, moon phase tracker, synastry compatibility, dosha checker.
|
|
841
940
|
|
|
842
941
|
## FAQ
|
|
843
942
|
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { GetAlmanacDayResponse, GetMonthlyAlmanacResponse, LookupAuspiciousDaysResponse } from '../types/index.js';
|
|
3
|
+
export interface RoxyAlmanacDayProps {
|
|
4
|
+
/** Spec-derived response payload. Pass the raw RoxyAPI response. */
|
|
5
|
+
data?: GetAlmanacDayResponse | GetMonthlyAlmanacResponse | LookupAuspiciousDaysResponse;
|
|
6
|
+
/** 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. */
|
|
7
|
+
mode?: 'day' | 'month' | 'auspicious';
|
|
8
|
+
/** 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`). */
|
|
9
|
+
endpoint?: string;
|
|
10
|
+
/** HTTP method for the self-fetch request. Defaults to POST. */
|
|
11
|
+
method?: 'GET' | 'POST';
|
|
12
|
+
/** Browser-safe publishable key (pk_) for self-fetch. A secret key is refused client-side and never sent. */
|
|
13
|
+
publishableKey?: string;
|
|
14
|
+
/** Override the API origin for self-hosted or proxied deployments. Absolute, or relative to the page for a same-origin route. */
|
|
15
|
+
baseUrl?: string;
|
|
16
|
+
/** 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. */
|
|
17
|
+
submitUrl?: string;
|
|
18
|
+
/** 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. */
|
|
19
|
+
submitContext?: Record<string, unknown>;
|
|
20
|
+
/** 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. */
|
|
21
|
+
locationUrl?: string;
|
|
22
|
+
/** Override the OpenAPI spec URL the self-fetch form introspects. */
|
|
23
|
+
specUrl?: string;
|
|
24
|
+
/** Response language for self-fetch, forwarded to the API `lang` query parameter (en, tr, de, es, hi, pt, fr, ru). The form never shows a language field; the site owner sets it here. Defaults to English. */
|
|
25
|
+
lang?: string;
|
|
26
|
+
/** Override the self-fetch form submit-button label. Empty derives an outcome-first label from the endpoint (Get reading, Generate, Compare, Cast). */
|
|
27
|
+
submitLabel?: string;
|
|
28
|
+
/** Persist the last self-fetch form values in sessionStorage, keyed by endpoint, and prefill the form when the visitor returns. Off by default. */
|
|
29
|
+
remember?: boolean;
|
|
30
|
+
/** 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. */
|
|
31
|
+
attribution?: string;
|
|
32
|
+
/** 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. */
|
|
33
|
+
hideReadings?: boolean;
|
|
34
|
+
/** 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. */
|
|
35
|
+
hideSections?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare const RoxyAlmanacDay: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
38
|
+
data: {
|
|
39
|
+
type: PropType<RoxyAlmanacDayProps["data"]>;
|
|
40
|
+
};
|
|
41
|
+
mode: {
|
|
42
|
+
type: PropType<RoxyAlmanacDayProps["mode"]>;
|
|
43
|
+
};
|
|
44
|
+
endpoint: {
|
|
45
|
+
type: PropType<RoxyAlmanacDayProps["endpoint"]>;
|
|
46
|
+
};
|
|
47
|
+
method: {
|
|
48
|
+
type: PropType<RoxyAlmanacDayProps["method"]>;
|
|
49
|
+
};
|
|
50
|
+
publishableKey: {
|
|
51
|
+
type: PropType<RoxyAlmanacDayProps["publishableKey"]>;
|
|
52
|
+
};
|
|
53
|
+
baseUrl: {
|
|
54
|
+
type: PropType<RoxyAlmanacDayProps["baseUrl"]>;
|
|
55
|
+
};
|
|
56
|
+
submitUrl: {
|
|
57
|
+
type: PropType<RoxyAlmanacDayProps["submitUrl"]>;
|
|
58
|
+
};
|
|
59
|
+
submitContext: {
|
|
60
|
+
type: PropType<RoxyAlmanacDayProps["submitContext"]>;
|
|
61
|
+
};
|
|
62
|
+
locationUrl: {
|
|
63
|
+
type: PropType<RoxyAlmanacDayProps["locationUrl"]>;
|
|
64
|
+
};
|
|
65
|
+
specUrl: {
|
|
66
|
+
type: PropType<RoxyAlmanacDayProps["specUrl"]>;
|
|
67
|
+
};
|
|
68
|
+
lang: {
|
|
69
|
+
type: PropType<RoxyAlmanacDayProps["lang"]>;
|
|
70
|
+
};
|
|
71
|
+
submitLabel: {
|
|
72
|
+
type: PropType<RoxyAlmanacDayProps["submitLabel"]>;
|
|
73
|
+
};
|
|
74
|
+
remember: {
|
|
75
|
+
type: PropType<RoxyAlmanacDayProps["remember"]>;
|
|
76
|
+
};
|
|
77
|
+
attribution: {
|
|
78
|
+
type: PropType<RoxyAlmanacDayProps["attribution"]>;
|
|
79
|
+
};
|
|
80
|
+
hideReadings: {
|
|
81
|
+
type: PropType<RoxyAlmanacDayProps["hideReadings"]>;
|
|
82
|
+
};
|
|
83
|
+
hideSections: {
|
|
84
|
+
type: PropType<RoxyAlmanacDayProps["hideSections"]>;
|
|
85
|
+
};
|
|
86
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
87
|
+
[key: string]: any;
|
|
88
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
89
|
+
data: {
|
|
90
|
+
type: PropType<RoxyAlmanacDayProps["data"]>;
|
|
91
|
+
};
|
|
92
|
+
mode: {
|
|
93
|
+
type: PropType<RoxyAlmanacDayProps["mode"]>;
|
|
94
|
+
};
|
|
95
|
+
endpoint: {
|
|
96
|
+
type: PropType<RoxyAlmanacDayProps["endpoint"]>;
|
|
97
|
+
};
|
|
98
|
+
method: {
|
|
99
|
+
type: PropType<RoxyAlmanacDayProps["method"]>;
|
|
100
|
+
};
|
|
101
|
+
publishableKey: {
|
|
102
|
+
type: PropType<RoxyAlmanacDayProps["publishableKey"]>;
|
|
103
|
+
};
|
|
104
|
+
baseUrl: {
|
|
105
|
+
type: PropType<RoxyAlmanacDayProps["baseUrl"]>;
|
|
106
|
+
};
|
|
107
|
+
submitUrl: {
|
|
108
|
+
type: PropType<RoxyAlmanacDayProps["submitUrl"]>;
|
|
109
|
+
};
|
|
110
|
+
submitContext: {
|
|
111
|
+
type: PropType<RoxyAlmanacDayProps["submitContext"]>;
|
|
112
|
+
};
|
|
113
|
+
locationUrl: {
|
|
114
|
+
type: PropType<RoxyAlmanacDayProps["locationUrl"]>;
|
|
115
|
+
};
|
|
116
|
+
specUrl: {
|
|
117
|
+
type: PropType<RoxyAlmanacDayProps["specUrl"]>;
|
|
118
|
+
};
|
|
119
|
+
lang: {
|
|
120
|
+
type: PropType<RoxyAlmanacDayProps["lang"]>;
|
|
121
|
+
};
|
|
122
|
+
submitLabel: {
|
|
123
|
+
type: PropType<RoxyAlmanacDayProps["submitLabel"]>;
|
|
124
|
+
};
|
|
125
|
+
remember: {
|
|
126
|
+
type: PropType<RoxyAlmanacDayProps["remember"]>;
|
|
127
|
+
};
|
|
128
|
+
attribution: {
|
|
129
|
+
type: PropType<RoxyAlmanacDayProps["attribution"]>;
|
|
130
|
+
};
|
|
131
|
+
hideReadings: {
|
|
132
|
+
type: PropType<RoxyAlmanacDayProps["hideReadings"]>;
|
|
133
|
+
};
|
|
134
|
+
hideSections: {
|
|
135
|
+
type: PropType<RoxyAlmanacDayProps["hideSections"]>;
|
|
136
|
+
};
|
|
137
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
138
|
+
//# sourceMappingURL=almanac-day.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"almanac-day.d.ts","sourceRoot":"","sources":["../../src/components/almanac-day.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,QAAQ,EAAO,MAAM,KAAK,CAAC;AAExE,OAAO,KAAK,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAExH,MAAM,WAAW,mBAAmB;IACnC,oEAAoE;IACpE,IAAI,CAAC,EAAE,qBAAqB,GAAG,yBAAyB,GAAG,4BAA4B,CAAC;IACxF,4IAA4I;IAC5I,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,YAAY,CAAC;IACtC,mPAAmP;IACnP,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gEAAgE;IAChE,MAAM,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IACxB,6GAA6G;IAC7G,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iIAAiI;IACjI,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yOAAyO;IACzO,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qbAAqb;IACrb,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,0VAA0V;IAC1V,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+MAA+M;IAC/M,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uJAAuJ;IACvJ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mJAAmJ;IACnJ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+MAA+M;IAC/M,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0PAA0P;IAC1P,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,+gBAA+gB;IAC/gB,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,cAAc;;cAGD,QAAQ,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;;;cACrC,QAAQ,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;;;cACjC,QAAQ,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC;;;cAC3C,QAAQ,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAC;;;cAC/B,QAAQ,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;;;cACtD,QAAQ,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;;;cACtC,QAAQ,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAAC;;;cACtC,QAAQ,CAAC,mBAAmB,CAAC,eAAe,CAAC,CAAC;;;cAChD,QAAQ,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC;;;cAChD,QAAQ,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;;;cAC3C,QAAQ,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;;;cAC9B,QAAQ,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC;;;cAC9C,QAAQ,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC;;;cACvC,QAAQ,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC;;;cAC1C,QAAQ,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC;;;cAC9C,QAAQ,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC;;;;;;cAfrD,QAAQ,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;;;cACrC,QAAQ,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;;;cACjC,QAAQ,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC;;;cAC3C,QAAQ,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAC;;;cAC/B,QAAQ,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;;;cACtD,QAAQ,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;;;cACtC,QAAQ,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAAC;;;cACtC,QAAQ,CAAC,mBAAmB,CAAC,eAAe,CAAC,CAAC;;;cAChD,QAAQ,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC;;;cAChD,QAAQ,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;;;cAC3C,QAAQ,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;;;cAC9B,QAAQ,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC;;;cAC9C,QAAQ,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC;;;cACvC,QAAQ,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC;;;cAC1C,QAAQ,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC;;;cAC9C,QAAQ,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC;;iGAyC7E,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{defineComponent as f,h as s,onMounted as b,ref as g}from"vue";var u="0.34.0",r="roxyapi-ui-loader",y="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",c="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",m="/dist/cdn",a=null;function p(e){return!e||e==="latest"?y:`${c}${e}${m}`}function d(e=u,i){return typeof document>"u"?Promise.resolve():a||(a=new Promise((n,o)=>{let l=`${i??p(e)}/roxy-ui.js`,t=document.getElementById(r);if(t){t.dataset.loaded==="true"?n():(t.addEventListener("load",()=>n()),t.addEventListener("error",()=>o(new Error("roxy-ui load failed"))));return}t=document.createElement("script"),t.id=r,t.src=l,t.async=!0,t.crossOrigin="anonymous",t.addEventListener("load",()=>{t.dataset.loaded="true",n()}),t.addEventListener("error",()=>o(new Error("roxy-ui load failed"))),document.head.appendChild(t)}),a)}var h=f({name:"RoxyAlmanacDay",props:{data:{type:Object},mode:{type:String},endpoint:{type:String},method:{type:String},publishableKey:{type:String},baseUrl:{type:String},submitUrl:{type:String},submitContext:{type:Object},locationUrl:{type:String},specUrl:{type:String},lang:{type:String},submitLabel:{type:String},remember:{type:Boolean},attribution:{type:String},hideReadings:{type:Boolean},hideSections:{type:String}},setup(e){let i=g(null);return b(()=>{d().catch(n=>{i.value=n instanceof Error?n:new Error(String(n))})}),()=>{if(i.value)return s("div",{role:"alert"},`Roxy UI script load failed: ${i.value.message}`);let n={};return e.data!==void 0&&(n[".data"]=e.data),e.mode!==void 0&&(n[".mode"]=e.mode),e.endpoint!==void 0&&(n[".endpoint"]=e.endpoint),e.method!==void 0&&(n[".method"]=e.method),e.publishableKey!==void 0&&(n[".publishableKey"]=e.publishableKey),e.baseUrl!==void 0&&(n[".baseUrl"]=e.baseUrl),e.submitUrl!==void 0&&(n[".submitUrl"]=e.submitUrl),e.submitContext!==void 0&&(n[".submitContext"]=e.submitContext),e.locationUrl!==void 0&&(n[".locationUrl"]=e.locationUrl),e.specUrl!==void 0&&(n[".specUrl"]=e.specUrl),e.lang!==void 0&&(n[".lang"]=e.lang),e.submitLabel!==void 0&&(n[".submitLabel"]=e.submitLabel),e.remember!==void 0&&(n[".remember"]=e.remember),e.attribution!==void 0&&(n[".attribution"]=e.attribution),e.hideReadings!==void 0&&(n[".hideReadings"]=e.hideReadings),e.hideSections!==void 0&&(n[".hideSections"]=e.hideSections),s("roxy-almanac-day",n)}}});export{h as RoxyAlmanacDay};
|
|
2
|
+
//# sourceMappingURL=almanac-day.js.map
|