@roxyapi/ui-react 0.2.3 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +218 -34
- package/README.md +200 -24
- package/dist/components/ashtakavarga-grid.js.map +1 -1
- package/dist/components/biorhythm-chart.js.map +1 -1
- package/dist/components/choghadiya-grid.js.map +1 -1
- package/dist/components/compatibility-card.js.map +1 -1
- package/dist/components/dasha-timeline.js.map +1 -1
- package/dist/components/data.js.map +1 -1
- package/dist/components/divisional-chart.js.map +1 -1
- package/dist/components/dosha-card.js.map +1 -1
- package/dist/components/endpoint-form.js.map +1 -1
- package/dist/components/guna-milan.js.map +1 -1
- package/dist/components/hexagram.js.map +1 -1
- package/dist/components/horoscope-card.js.map +1 -1
- package/dist/components/kp-chart.d.ts +12 -0
- package/dist/components/kp-chart.d.ts.map +1 -0
- package/dist/components/kp-chart.js +91 -0
- package/dist/components/kp-chart.js.map +7 -0
- package/dist/components/kp-planets-table.js.map +1 -1
- package/dist/components/kp-ruling-planets.d.ts +12 -0
- package/dist/components/kp-ruling-planets.d.ts.map +1 -0
- package/dist/components/kp-ruling-planets.js +91 -0
- package/dist/components/kp-ruling-planets.js.map +7 -0
- package/dist/components/location-search.js.map +1 -1
- package/dist/components/moon-phase.js.map +1 -1
- package/dist/components/nakshatra-card.d.ts +12 -0
- package/dist/components/nakshatra-card.d.ts.map +1 -0
- package/dist/components/nakshatra-card.js +91 -0
- package/dist/components/nakshatra-card.js.map +7 -0
- package/dist/components/natal-chart.js.map +1 -1
- package/dist/components/numerology-card.js.map +1 -1
- package/dist/components/panchang-table.js.map +1 -1
- package/dist/components/shadbala-table.js.map +1 -1
- package/dist/components/synastry-chart.js.map +1 -1
- package/dist/components/tarot-card.js.map +1 -1
- package/dist/components/tarot-spread.js.map +1 -1
- package/dist/components/transits-table.js.map +1 -1
- package/dist/components/vedic-kundli.js.map +1 -1
- package/dist/components/vedic-planets-table.d.ts +12 -0
- package/dist/components/vedic-planets-table.d.ts.map +1 -0
- package/dist/components/vedic-planets-table.js +91 -0
- package/dist/components/vedic-planets-table.js.map +7 -0
- package/dist/components/western-planets-table.d.ts +12 -0
- package/dist/components/western-planets-table.d.ts.map +1 -0
- package/dist/components/western-planets-table.js +91 -0
- package/dist/components/western-planets-table.js.map +7 -0
- package/dist/components/yoga-list.js.map +1 -1
- package/dist/index.cjs +335 -100
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +14 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +335 -100
- package/dist/index.js.map +4 -4
- package/dist/load-ui.d.ts +1 -1
- package/dist/load-ui.js +1 -1
- package/dist/load-ui.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37,7 +37,7 @@ function ensureScriptLoaded(version = "latest") {
|
|
|
37
37
|
});
|
|
38
38
|
return loaded;
|
|
39
39
|
}
|
|
40
|
-
var ROXY_UI_VERSION = "0.
|
|
40
|
+
var ROXY_UI_VERSION = "0.3.1";
|
|
41
41
|
|
|
42
42
|
// packages/ui-react/src/components/natal-chart.tsx
|
|
43
43
|
import * as React from "react";
|
|
@@ -85,10 +85,10 @@ var RoxyNatalChart = React.forwardRef(
|
|
|
85
85
|
}
|
|
86
86
|
);
|
|
87
87
|
|
|
88
|
-
// packages/ui-react/src/components/
|
|
88
|
+
// packages/ui-react/src/components/synastry-chart.tsx
|
|
89
89
|
import * as React2 from "react";
|
|
90
|
-
var
|
|
91
|
-
function
|
|
90
|
+
var RoxySynastryChart = React2.forwardRef(
|
|
91
|
+
function RoxySynastryChart2({ data, className, style, ...rest }, ref) {
|
|
92
92
|
const internal = React2.useRef(null);
|
|
93
93
|
React2.useImperativeHandle(
|
|
94
94
|
ref,
|
|
@@ -122,7 +122,7 @@ var RoxyHoroscopeCard = React2.forwardRef(
|
|
|
122
122
|
`Roxy UI script load failed: ${error.message}`
|
|
123
123
|
);
|
|
124
124
|
}
|
|
125
|
-
return React2.createElement("roxy-
|
|
125
|
+
return React2.createElement("roxy-synastry-chart", {
|
|
126
126
|
ref: internal,
|
|
127
127
|
className,
|
|
128
128
|
style,
|
|
@@ -131,10 +131,10 @@ var RoxyHoroscopeCard = React2.forwardRef(
|
|
|
131
131
|
}
|
|
132
132
|
);
|
|
133
133
|
|
|
134
|
-
// packages/ui-react/src/components/
|
|
134
|
+
// packages/ui-react/src/components/western-planets-table.tsx
|
|
135
135
|
import * as React3 from "react";
|
|
136
|
-
var
|
|
137
|
-
function
|
|
136
|
+
var RoxyWesternPlanetsTable = React3.forwardRef(
|
|
137
|
+
function RoxyWesternPlanetsTable2({ data, className, style, ...rest }, ref) {
|
|
138
138
|
const internal = React3.useRef(null);
|
|
139
139
|
React3.useImperativeHandle(
|
|
140
140
|
ref,
|
|
@@ -168,7 +168,7 @@ var RoxySynastryChart = React3.forwardRef(
|
|
|
168
168
|
`Roxy UI script load failed: ${error.message}`
|
|
169
169
|
);
|
|
170
170
|
}
|
|
171
|
-
return React3.createElement("roxy-
|
|
171
|
+
return React3.createElement("roxy-western-planets-table", {
|
|
172
172
|
ref: internal,
|
|
173
173
|
className,
|
|
174
174
|
style,
|
|
@@ -177,10 +177,10 @@ var RoxySynastryChart = React3.forwardRef(
|
|
|
177
177
|
}
|
|
178
178
|
);
|
|
179
179
|
|
|
180
|
-
// packages/ui-react/src/components/
|
|
180
|
+
// packages/ui-react/src/components/transits-table.tsx
|
|
181
181
|
import * as React4 from "react";
|
|
182
|
-
var
|
|
183
|
-
function
|
|
182
|
+
var RoxyTransitsTable = React4.forwardRef(
|
|
183
|
+
function RoxyTransitsTable2({ data, className, style, ...rest }, ref) {
|
|
184
184
|
const internal = React4.useRef(null);
|
|
185
185
|
React4.useImperativeHandle(
|
|
186
186
|
ref,
|
|
@@ -214,7 +214,7 @@ var RoxyCompatibilityCard = React4.forwardRef(
|
|
|
214
214
|
`Roxy UI script load failed: ${error.message}`
|
|
215
215
|
);
|
|
216
216
|
}
|
|
217
|
-
return React4.createElement("roxy-
|
|
217
|
+
return React4.createElement("roxy-transits-table", {
|
|
218
218
|
ref: internal,
|
|
219
219
|
className,
|
|
220
220
|
style,
|
|
@@ -269,10 +269,10 @@ var RoxyMoonPhase = React5.forwardRef(
|
|
|
269
269
|
}
|
|
270
270
|
);
|
|
271
271
|
|
|
272
|
-
// packages/ui-react/src/components/
|
|
272
|
+
// packages/ui-react/src/components/horoscope-card.tsx
|
|
273
273
|
import * as React6 from "react";
|
|
274
|
-
var
|
|
275
|
-
function
|
|
274
|
+
var RoxyHoroscopeCard = React6.forwardRef(
|
|
275
|
+
function RoxyHoroscopeCard2({ data, className, style, ...rest }, ref) {
|
|
276
276
|
const internal = React6.useRef(null);
|
|
277
277
|
React6.useImperativeHandle(
|
|
278
278
|
ref,
|
|
@@ -306,7 +306,7 @@ var RoxyVedicKundli = React6.forwardRef(
|
|
|
306
306
|
`Roxy UI script load failed: ${error.message}`
|
|
307
307
|
);
|
|
308
308
|
}
|
|
309
|
-
return React6.createElement("roxy-
|
|
309
|
+
return React6.createElement("roxy-horoscope-card", {
|
|
310
310
|
ref: internal,
|
|
311
311
|
className,
|
|
312
312
|
style,
|
|
@@ -315,10 +315,10 @@ var RoxyVedicKundli = React6.forwardRef(
|
|
|
315
315
|
}
|
|
316
316
|
);
|
|
317
317
|
|
|
318
|
-
// packages/ui-react/src/components/
|
|
318
|
+
// packages/ui-react/src/components/compatibility-card.tsx
|
|
319
319
|
import * as React7 from "react";
|
|
320
|
-
var
|
|
321
|
-
function
|
|
320
|
+
var RoxyCompatibilityCard = React7.forwardRef(
|
|
321
|
+
function RoxyCompatibilityCard2({ data, className, style, ...rest }, ref) {
|
|
322
322
|
const internal = React7.useRef(null);
|
|
323
323
|
React7.useImperativeHandle(
|
|
324
324
|
ref,
|
|
@@ -352,7 +352,7 @@ var RoxyPanchangTable = React7.forwardRef(
|
|
|
352
352
|
`Roxy UI script load failed: ${error.message}`
|
|
353
353
|
);
|
|
354
354
|
}
|
|
355
|
-
return React7.createElement("roxy-
|
|
355
|
+
return React7.createElement("roxy-compatibility-card", {
|
|
356
356
|
ref: internal,
|
|
357
357
|
className,
|
|
358
358
|
style,
|
|
@@ -361,10 +361,10 @@ var RoxyPanchangTable = React7.forwardRef(
|
|
|
361
361
|
}
|
|
362
362
|
);
|
|
363
363
|
|
|
364
|
-
// packages/ui-react/src/components/
|
|
364
|
+
// packages/ui-react/src/components/vedic-kundli.tsx
|
|
365
365
|
import * as React8 from "react";
|
|
366
|
-
var
|
|
367
|
-
function
|
|
366
|
+
var RoxyVedicKundli = React8.forwardRef(
|
|
367
|
+
function RoxyVedicKundli2({ data, className, style, ...rest }, ref) {
|
|
368
368
|
const internal = React8.useRef(null);
|
|
369
369
|
React8.useImperativeHandle(
|
|
370
370
|
ref,
|
|
@@ -398,7 +398,7 @@ var RoxyDashaTimeline = React8.forwardRef(
|
|
|
398
398
|
`Roxy UI script load failed: ${error.message}`
|
|
399
399
|
);
|
|
400
400
|
}
|
|
401
|
-
return React8.createElement("roxy-
|
|
401
|
+
return React8.createElement("roxy-vedic-kundli", {
|
|
402
402
|
ref: internal,
|
|
403
403
|
className,
|
|
404
404
|
style,
|
|
@@ -407,10 +407,10 @@ var RoxyDashaTimeline = React8.forwardRef(
|
|
|
407
407
|
}
|
|
408
408
|
);
|
|
409
409
|
|
|
410
|
-
// packages/ui-react/src/components/
|
|
410
|
+
// packages/ui-react/src/components/divisional-chart.tsx
|
|
411
411
|
import * as React9 from "react";
|
|
412
|
-
var
|
|
413
|
-
function
|
|
412
|
+
var RoxyDivisionalChart = React9.forwardRef(
|
|
413
|
+
function RoxyDivisionalChart2({ data, className, style, ...rest }, ref) {
|
|
414
414
|
const internal = React9.useRef(null);
|
|
415
415
|
React9.useImperativeHandle(
|
|
416
416
|
ref,
|
|
@@ -444,7 +444,7 @@ var RoxyDoshaCard = React9.forwardRef(
|
|
|
444
444
|
`Roxy UI script load failed: ${error.message}`
|
|
445
445
|
);
|
|
446
446
|
}
|
|
447
|
-
return React9.createElement("roxy-
|
|
447
|
+
return React9.createElement("roxy-divisional-chart", {
|
|
448
448
|
ref: internal,
|
|
449
449
|
className,
|
|
450
450
|
style,
|
|
@@ -453,10 +453,10 @@ var RoxyDoshaCard = React9.forwardRef(
|
|
|
453
453
|
}
|
|
454
454
|
);
|
|
455
455
|
|
|
456
|
-
// packages/ui-react/src/components/
|
|
456
|
+
// packages/ui-react/src/components/kp-chart.tsx
|
|
457
457
|
import * as React10 from "react";
|
|
458
|
-
var
|
|
459
|
-
function
|
|
458
|
+
var RoxyKpChart = React10.forwardRef(
|
|
459
|
+
function RoxyKpChart2({ data, className, style, ...rest }, ref) {
|
|
460
460
|
const internal = React10.useRef(null);
|
|
461
461
|
React10.useImperativeHandle(
|
|
462
462
|
ref,
|
|
@@ -490,7 +490,7 @@ var RoxyGunaMilan = React10.forwardRef(
|
|
|
490
490
|
`Roxy UI script load failed: ${error.message}`
|
|
491
491
|
);
|
|
492
492
|
}
|
|
493
|
-
return React10.createElement("roxy-
|
|
493
|
+
return React10.createElement("roxy-kp-chart", {
|
|
494
494
|
ref: internal,
|
|
495
495
|
className,
|
|
496
496
|
style,
|
|
@@ -499,10 +499,10 @@ var RoxyGunaMilan = React10.forwardRef(
|
|
|
499
499
|
}
|
|
500
500
|
);
|
|
501
501
|
|
|
502
|
-
// packages/ui-react/src/components/
|
|
502
|
+
// packages/ui-react/src/components/vedic-planets-table.tsx
|
|
503
503
|
import * as React11 from "react";
|
|
504
|
-
var
|
|
505
|
-
function
|
|
504
|
+
var RoxyVedicPlanetsTable = React11.forwardRef(
|
|
505
|
+
function RoxyVedicPlanetsTable2({ data, className, style, ...rest }, ref) {
|
|
506
506
|
const internal = React11.useRef(null);
|
|
507
507
|
React11.useImperativeHandle(
|
|
508
508
|
ref,
|
|
@@ -536,7 +536,7 @@ var RoxyKpPlanetsTable = React11.forwardRef(
|
|
|
536
536
|
`Roxy UI script load failed: ${error.message}`
|
|
537
537
|
);
|
|
538
538
|
}
|
|
539
|
-
return React11.createElement("roxy-
|
|
539
|
+
return React11.createElement("roxy-vedic-planets-table", {
|
|
540
540
|
ref: internal,
|
|
541
541
|
className,
|
|
542
542
|
style,
|
|
@@ -545,10 +545,10 @@ var RoxyKpPlanetsTable = React11.forwardRef(
|
|
|
545
545
|
}
|
|
546
546
|
);
|
|
547
547
|
|
|
548
|
-
// packages/ui-react/src/components/
|
|
548
|
+
// packages/ui-react/src/components/kp-planets-table.tsx
|
|
549
549
|
import * as React12 from "react";
|
|
550
|
-
var
|
|
551
|
-
function
|
|
550
|
+
var RoxyKpPlanetsTable = React12.forwardRef(
|
|
551
|
+
function RoxyKpPlanetsTable2({ data, className, style, ...rest }, ref) {
|
|
552
552
|
const internal = React12.useRef(null);
|
|
553
553
|
React12.useImperativeHandle(
|
|
554
554
|
ref,
|
|
@@ -582,7 +582,7 @@ var RoxyTransitsTable = React12.forwardRef(
|
|
|
582
582
|
`Roxy UI script load failed: ${error.message}`
|
|
583
583
|
);
|
|
584
584
|
}
|
|
585
|
-
return React12.createElement("roxy-
|
|
585
|
+
return React12.createElement("roxy-kp-planets-table", {
|
|
586
586
|
ref: internal,
|
|
587
587
|
className,
|
|
588
588
|
style,
|
|
@@ -591,10 +591,10 @@ var RoxyTransitsTable = React12.forwardRef(
|
|
|
591
591
|
}
|
|
592
592
|
);
|
|
593
593
|
|
|
594
|
-
// packages/ui-react/src/components/
|
|
594
|
+
// packages/ui-react/src/components/kp-ruling-planets.tsx
|
|
595
595
|
import * as React13 from "react";
|
|
596
|
-
var
|
|
597
|
-
function
|
|
596
|
+
var RoxyKpRulingPlanets = React13.forwardRef(
|
|
597
|
+
function RoxyKpRulingPlanets2({ data, className, style, ...rest }, ref) {
|
|
598
598
|
const internal = React13.useRef(null);
|
|
599
599
|
React13.useImperativeHandle(
|
|
600
600
|
ref,
|
|
@@ -628,7 +628,7 @@ var RoxyDivisionalChart = React13.forwardRef(
|
|
|
628
628
|
`Roxy UI script load failed: ${error.message}`
|
|
629
629
|
);
|
|
630
630
|
}
|
|
631
|
-
return React13.createElement("roxy-
|
|
631
|
+
return React13.createElement("roxy-kp-ruling-planets", {
|
|
632
632
|
ref: internal,
|
|
633
633
|
className,
|
|
634
634
|
style,
|
|
@@ -729,10 +729,10 @@ var RoxyShadbalaTable = React15.forwardRef(
|
|
|
729
729
|
}
|
|
730
730
|
);
|
|
731
731
|
|
|
732
|
-
// packages/ui-react/src/components/
|
|
732
|
+
// packages/ui-react/src/components/dasha-timeline.tsx
|
|
733
733
|
import * as React16 from "react";
|
|
734
|
-
var
|
|
735
|
-
function
|
|
734
|
+
var RoxyDashaTimeline = React16.forwardRef(
|
|
735
|
+
function RoxyDashaTimeline2({ data, className, style, ...rest }, ref) {
|
|
736
736
|
const internal = React16.useRef(null);
|
|
737
737
|
React16.useImperativeHandle(
|
|
738
738
|
ref,
|
|
@@ -766,7 +766,7 @@ var RoxyYogaList = React16.forwardRef(
|
|
|
766
766
|
`Roxy UI script load failed: ${error.message}`
|
|
767
767
|
);
|
|
768
768
|
}
|
|
769
|
-
return React16.createElement("roxy-
|
|
769
|
+
return React16.createElement("roxy-dasha-timeline", {
|
|
770
770
|
ref: internal,
|
|
771
771
|
className,
|
|
772
772
|
style,
|
|
@@ -775,10 +775,10 @@ var RoxyYogaList = React16.forwardRef(
|
|
|
775
775
|
}
|
|
776
776
|
);
|
|
777
777
|
|
|
778
|
-
// packages/ui-react/src/components/
|
|
778
|
+
// packages/ui-react/src/components/guna-milan.tsx
|
|
779
779
|
import * as React17 from "react";
|
|
780
|
-
var
|
|
781
|
-
function
|
|
780
|
+
var RoxyGunaMilan = React17.forwardRef(
|
|
781
|
+
function RoxyGunaMilan2({ data, className, style, ...rest }, ref) {
|
|
782
782
|
const internal = React17.useRef(null);
|
|
783
783
|
React17.useImperativeHandle(
|
|
784
784
|
ref,
|
|
@@ -812,7 +812,7 @@ var RoxyChoghadiyaGrid = React17.forwardRef(
|
|
|
812
812
|
`Roxy UI script load failed: ${error.message}`
|
|
813
813
|
);
|
|
814
814
|
}
|
|
815
|
-
return React17.createElement("roxy-
|
|
815
|
+
return React17.createElement("roxy-guna-milan", {
|
|
816
816
|
ref: internal,
|
|
817
817
|
className,
|
|
818
818
|
style,
|
|
@@ -821,10 +821,10 @@ var RoxyChoghadiyaGrid = React17.forwardRef(
|
|
|
821
821
|
}
|
|
822
822
|
);
|
|
823
823
|
|
|
824
|
-
// packages/ui-react/src/components/
|
|
824
|
+
// packages/ui-react/src/components/panchang-table.tsx
|
|
825
825
|
import * as React18 from "react";
|
|
826
|
-
var
|
|
827
|
-
function
|
|
826
|
+
var RoxyPanchangTable = React18.forwardRef(
|
|
827
|
+
function RoxyPanchangTable2({ data, className, style, ...rest }, ref) {
|
|
828
828
|
const internal = React18.useRef(null);
|
|
829
829
|
React18.useImperativeHandle(
|
|
830
830
|
ref,
|
|
@@ -858,7 +858,7 @@ var RoxyNumerologyCard = React18.forwardRef(
|
|
|
858
858
|
`Roxy UI script load failed: ${error.message}`
|
|
859
859
|
);
|
|
860
860
|
}
|
|
861
|
-
return React18.createElement("roxy-
|
|
861
|
+
return React18.createElement("roxy-panchang-table", {
|
|
862
862
|
ref: internal,
|
|
863
863
|
className,
|
|
864
864
|
style,
|
|
@@ -867,10 +867,10 @@ var RoxyNumerologyCard = React18.forwardRef(
|
|
|
867
867
|
}
|
|
868
868
|
);
|
|
869
869
|
|
|
870
|
-
// packages/ui-react/src/components/
|
|
870
|
+
// packages/ui-react/src/components/choghadiya-grid.tsx
|
|
871
871
|
import * as React19 from "react";
|
|
872
|
-
var
|
|
873
|
-
function
|
|
872
|
+
var RoxyChoghadiyaGrid = React19.forwardRef(
|
|
873
|
+
function RoxyChoghadiyaGrid2({ data, className, style, ...rest }, ref) {
|
|
874
874
|
const internal = React19.useRef(null);
|
|
875
875
|
React19.useImperativeHandle(
|
|
876
876
|
ref,
|
|
@@ -904,7 +904,7 @@ var RoxyTarotCard = React19.forwardRef(
|
|
|
904
904
|
`Roxy UI script load failed: ${error.message}`
|
|
905
905
|
);
|
|
906
906
|
}
|
|
907
|
-
return React19.createElement("roxy-
|
|
907
|
+
return React19.createElement("roxy-choghadiya-grid", {
|
|
908
908
|
ref: internal,
|
|
909
909
|
className,
|
|
910
910
|
style,
|
|
@@ -913,10 +913,10 @@ var RoxyTarotCard = React19.forwardRef(
|
|
|
913
913
|
}
|
|
914
914
|
);
|
|
915
915
|
|
|
916
|
-
// packages/ui-react/src/components/
|
|
916
|
+
// packages/ui-react/src/components/yoga-list.tsx
|
|
917
917
|
import * as React20 from "react";
|
|
918
|
-
var
|
|
919
|
-
function
|
|
918
|
+
var RoxyYogaList = React20.forwardRef(
|
|
919
|
+
function RoxyYogaList2({ data, className, style, ...rest }, ref) {
|
|
920
920
|
const internal = React20.useRef(null);
|
|
921
921
|
React20.useImperativeHandle(
|
|
922
922
|
ref,
|
|
@@ -950,7 +950,7 @@ var RoxyTarotSpread = React20.forwardRef(
|
|
|
950
950
|
`Roxy UI script load failed: ${error.message}`
|
|
951
951
|
);
|
|
952
952
|
}
|
|
953
|
-
return React20.createElement("roxy-
|
|
953
|
+
return React20.createElement("roxy-yoga-list", {
|
|
954
954
|
ref: internal,
|
|
955
955
|
className,
|
|
956
956
|
style,
|
|
@@ -959,10 +959,10 @@ var RoxyTarotSpread = React20.forwardRef(
|
|
|
959
959
|
}
|
|
960
960
|
);
|
|
961
961
|
|
|
962
|
-
// packages/ui-react/src/components/
|
|
962
|
+
// packages/ui-react/src/components/nakshatra-card.tsx
|
|
963
963
|
import * as React21 from "react";
|
|
964
|
-
var
|
|
965
|
-
function
|
|
964
|
+
var RoxyNakshatraCard = React21.forwardRef(
|
|
965
|
+
function RoxyNakshatraCard2({ data, className, style, ...rest }, ref) {
|
|
966
966
|
const internal = React21.useRef(null);
|
|
967
967
|
React21.useImperativeHandle(
|
|
968
968
|
ref,
|
|
@@ -996,7 +996,7 @@ var RoxyBiorhythmChart = React21.forwardRef(
|
|
|
996
996
|
`Roxy UI script load failed: ${error.message}`
|
|
997
997
|
);
|
|
998
998
|
}
|
|
999
|
-
return React21.createElement("roxy-
|
|
999
|
+
return React21.createElement("roxy-nakshatra-card", {
|
|
1000
1000
|
ref: internal,
|
|
1001
1001
|
className,
|
|
1002
1002
|
style,
|
|
@@ -1005,10 +1005,10 @@ var RoxyBiorhythmChart = React21.forwardRef(
|
|
|
1005
1005
|
}
|
|
1006
1006
|
);
|
|
1007
1007
|
|
|
1008
|
-
// packages/ui-react/src/components/
|
|
1008
|
+
// packages/ui-react/src/components/dosha-card.tsx
|
|
1009
1009
|
import * as React22 from "react";
|
|
1010
|
-
var
|
|
1011
|
-
function
|
|
1010
|
+
var RoxyDoshaCard = React22.forwardRef(
|
|
1011
|
+
function RoxyDoshaCard2({ data, className, style, ...rest }, ref) {
|
|
1012
1012
|
const internal = React22.useRef(null);
|
|
1013
1013
|
React22.useImperativeHandle(
|
|
1014
1014
|
ref,
|
|
@@ -1042,7 +1042,7 @@ var RoxyHexagram = React22.forwardRef(
|
|
|
1042
1042
|
`Roxy UI script load failed: ${error.message}`
|
|
1043
1043
|
);
|
|
1044
1044
|
}
|
|
1045
|
-
return React22.createElement("roxy-
|
|
1045
|
+
return React22.createElement("roxy-dosha-card", {
|
|
1046
1046
|
ref: internal,
|
|
1047
1047
|
className,
|
|
1048
1048
|
style,
|
|
@@ -1051,10 +1051,10 @@ var RoxyHexagram = React22.forwardRef(
|
|
|
1051
1051
|
}
|
|
1052
1052
|
);
|
|
1053
1053
|
|
|
1054
|
-
// packages/ui-react/src/components/
|
|
1054
|
+
// packages/ui-react/src/components/numerology-card.tsx
|
|
1055
1055
|
import * as React23 from "react";
|
|
1056
|
-
var
|
|
1057
|
-
function
|
|
1056
|
+
var RoxyNumerologyCard = React23.forwardRef(
|
|
1057
|
+
function RoxyNumerologyCard2({ data, className, style, ...rest }, ref) {
|
|
1058
1058
|
const internal = React23.useRef(null);
|
|
1059
1059
|
React23.useImperativeHandle(
|
|
1060
1060
|
ref,
|
|
@@ -1076,6 +1076,236 @@ var RoxyEndpointForm = React23.forwardRef(
|
|
|
1076
1076
|
};
|
|
1077
1077
|
}, []);
|
|
1078
1078
|
React23.useEffect(() => {
|
|
1079
|
+
const el = internal.current;
|
|
1080
|
+
if (el && data !== void 0) {
|
|
1081
|
+
el.data = data;
|
|
1082
|
+
}
|
|
1083
|
+
}, [data, loaded2]);
|
|
1084
|
+
if (error) {
|
|
1085
|
+
return React23.createElement(
|
|
1086
|
+
"div",
|
|
1087
|
+
{ role: "alert", className, style },
|
|
1088
|
+
`Roxy UI script load failed: ${error.message}`
|
|
1089
|
+
);
|
|
1090
|
+
}
|
|
1091
|
+
return React23.createElement("roxy-numerology-card", {
|
|
1092
|
+
ref: internal,
|
|
1093
|
+
className,
|
|
1094
|
+
style,
|
|
1095
|
+
...rest
|
|
1096
|
+
});
|
|
1097
|
+
}
|
|
1098
|
+
);
|
|
1099
|
+
|
|
1100
|
+
// packages/ui-react/src/components/tarot-card.tsx
|
|
1101
|
+
import * as React24 from "react";
|
|
1102
|
+
var RoxyTarotCard = React24.forwardRef(
|
|
1103
|
+
function RoxyTarotCard2({ data, className, style, ...rest }, ref) {
|
|
1104
|
+
const internal = React24.useRef(null);
|
|
1105
|
+
React24.useImperativeHandle(
|
|
1106
|
+
ref,
|
|
1107
|
+
() => internal.current,
|
|
1108
|
+
[]
|
|
1109
|
+
);
|
|
1110
|
+
const [loaded2, setLoaded] = React24.useState(false);
|
|
1111
|
+
const [error, setError] = React24.useState(null);
|
|
1112
|
+
React24.useEffect(() => {
|
|
1113
|
+
let active = true;
|
|
1114
|
+
ensureScriptLoaded().then(() => {
|
|
1115
|
+
if (active) setLoaded(true);
|
|
1116
|
+
}).catch((err) => {
|
|
1117
|
+
if (!active) return;
|
|
1118
|
+
setError(err instanceof Error ? err : new Error(String(err)));
|
|
1119
|
+
});
|
|
1120
|
+
return () => {
|
|
1121
|
+
active = false;
|
|
1122
|
+
};
|
|
1123
|
+
}, []);
|
|
1124
|
+
React24.useEffect(() => {
|
|
1125
|
+
const el = internal.current;
|
|
1126
|
+
if (el && data !== void 0) {
|
|
1127
|
+
el.data = data;
|
|
1128
|
+
}
|
|
1129
|
+
}, [data, loaded2]);
|
|
1130
|
+
if (error) {
|
|
1131
|
+
return React24.createElement(
|
|
1132
|
+
"div",
|
|
1133
|
+
{ role: "alert", className, style },
|
|
1134
|
+
`Roxy UI script load failed: ${error.message}`
|
|
1135
|
+
);
|
|
1136
|
+
}
|
|
1137
|
+
return React24.createElement("roxy-tarot-card", {
|
|
1138
|
+
ref: internal,
|
|
1139
|
+
className,
|
|
1140
|
+
style,
|
|
1141
|
+
...rest
|
|
1142
|
+
});
|
|
1143
|
+
}
|
|
1144
|
+
);
|
|
1145
|
+
|
|
1146
|
+
// packages/ui-react/src/components/tarot-spread.tsx
|
|
1147
|
+
import * as React25 from "react";
|
|
1148
|
+
var RoxyTarotSpread = React25.forwardRef(
|
|
1149
|
+
function RoxyTarotSpread2({ data, className, style, ...rest }, ref) {
|
|
1150
|
+
const internal = React25.useRef(null);
|
|
1151
|
+
React25.useImperativeHandle(
|
|
1152
|
+
ref,
|
|
1153
|
+
() => internal.current,
|
|
1154
|
+
[]
|
|
1155
|
+
);
|
|
1156
|
+
const [loaded2, setLoaded] = React25.useState(false);
|
|
1157
|
+
const [error, setError] = React25.useState(null);
|
|
1158
|
+
React25.useEffect(() => {
|
|
1159
|
+
let active = true;
|
|
1160
|
+
ensureScriptLoaded().then(() => {
|
|
1161
|
+
if (active) setLoaded(true);
|
|
1162
|
+
}).catch((err) => {
|
|
1163
|
+
if (!active) return;
|
|
1164
|
+
setError(err instanceof Error ? err : new Error(String(err)));
|
|
1165
|
+
});
|
|
1166
|
+
return () => {
|
|
1167
|
+
active = false;
|
|
1168
|
+
};
|
|
1169
|
+
}, []);
|
|
1170
|
+
React25.useEffect(() => {
|
|
1171
|
+
const el = internal.current;
|
|
1172
|
+
if (el && data !== void 0) {
|
|
1173
|
+
el.data = data;
|
|
1174
|
+
}
|
|
1175
|
+
}, [data, loaded2]);
|
|
1176
|
+
if (error) {
|
|
1177
|
+
return React25.createElement(
|
|
1178
|
+
"div",
|
|
1179
|
+
{ role: "alert", className, style },
|
|
1180
|
+
`Roxy UI script load failed: ${error.message}`
|
|
1181
|
+
);
|
|
1182
|
+
}
|
|
1183
|
+
return React25.createElement("roxy-tarot-spread", {
|
|
1184
|
+
ref: internal,
|
|
1185
|
+
className,
|
|
1186
|
+
style,
|
|
1187
|
+
...rest
|
|
1188
|
+
});
|
|
1189
|
+
}
|
|
1190
|
+
);
|
|
1191
|
+
|
|
1192
|
+
// packages/ui-react/src/components/biorhythm-chart.tsx
|
|
1193
|
+
import * as React26 from "react";
|
|
1194
|
+
var RoxyBiorhythmChart = React26.forwardRef(
|
|
1195
|
+
function RoxyBiorhythmChart2({ data, className, style, ...rest }, ref) {
|
|
1196
|
+
const internal = React26.useRef(null);
|
|
1197
|
+
React26.useImperativeHandle(
|
|
1198
|
+
ref,
|
|
1199
|
+
() => internal.current,
|
|
1200
|
+
[]
|
|
1201
|
+
);
|
|
1202
|
+
const [loaded2, setLoaded] = React26.useState(false);
|
|
1203
|
+
const [error, setError] = React26.useState(null);
|
|
1204
|
+
React26.useEffect(() => {
|
|
1205
|
+
let active = true;
|
|
1206
|
+
ensureScriptLoaded().then(() => {
|
|
1207
|
+
if (active) setLoaded(true);
|
|
1208
|
+
}).catch((err) => {
|
|
1209
|
+
if (!active) return;
|
|
1210
|
+
setError(err instanceof Error ? err : new Error(String(err)));
|
|
1211
|
+
});
|
|
1212
|
+
return () => {
|
|
1213
|
+
active = false;
|
|
1214
|
+
};
|
|
1215
|
+
}, []);
|
|
1216
|
+
React26.useEffect(() => {
|
|
1217
|
+
const el = internal.current;
|
|
1218
|
+
if (el && data !== void 0) {
|
|
1219
|
+
el.data = data;
|
|
1220
|
+
}
|
|
1221
|
+
}, [data, loaded2]);
|
|
1222
|
+
if (error) {
|
|
1223
|
+
return React26.createElement(
|
|
1224
|
+
"div",
|
|
1225
|
+
{ role: "alert", className, style },
|
|
1226
|
+
`Roxy UI script load failed: ${error.message}`
|
|
1227
|
+
);
|
|
1228
|
+
}
|
|
1229
|
+
return React26.createElement("roxy-biorhythm-chart", {
|
|
1230
|
+
ref: internal,
|
|
1231
|
+
className,
|
|
1232
|
+
style,
|
|
1233
|
+
...rest
|
|
1234
|
+
});
|
|
1235
|
+
}
|
|
1236
|
+
);
|
|
1237
|
+
|
|
1238
|
+
// packages/ui-react/src/components/hexagram.tsx
|
|
1239
|
+
import * as React27 from "react";
|
|
1240
|
+
var RoxyHexagram = React27.forwardRef(
|
|
1241
|
+
function RoxyHexagram2({ data, className, style, ...rest }, ref) {
|
|
1242
|
+
const internal = React27.useRef(null);
|
|
1243
|
+
React27.useImperativeHandle(
|
|
1244
|
+
ref,
|
|
1245
|
+
() => internal.current,
|
|
1246
|
+
[]
|
|
1247
|
+
);
|
|
1248
|
+
const [loaded2, setLoaded] = React27.useState(false);
|
|
1249
|
+
const [error, setError] = React27.useState(null);
|
|
1250
|
+
React27.useEffect(() => {
|
|
1251
|
+
let active = true;
|
|
1252
|
+
ensureScriptLoaded().then(() => {
|
|
1253
|
+
if (active) setLoaded(true);
|
|
1254
|
+
}).catch((err) => {
|
|
1255
|
+
if (!active) return;
|
|
1256
|
+
setError(err instanceof Error ? err : new Error(String(err)));
|
|
1257
|
+
});
|
|
1258
|
+
return () => {
|
|
1259
|
+
active = false;
|
|
1260
|
+
};
|
|
1261
|
+
}, []);
|
|
1262
|
+
React27.useEffect(() => {
|
|
1263
|
+
const el = internal.current;
|
|
1264
|
+
if (el && data !== void 0) {
|
|
1265
|
+
el.data = data;
|
|
1266
|
+
}
|
|
1267
|
+
}, [data, loaded2]);
|
|
1268
|
+
if (error) {
|
|
1269
|
+
return React27.createElement(
|
|
1270
|
+
"div",
|
|
1271
|
+
{ role: "alert", className, style },
|
|
1272
|
+
`Roxy UI script load failed: ${error.message}`
|
|
1273
|
+
);
|
|
1274
|
+
}
|
|
1275
|
+
return React27.createElement("roxy-hexagram", {
|
|
1276
|
+
ref: internal,
|
|
1277
|
+
className,
|
|
1278
|
+
style,
|
|
1279
|
+
...rest
|
|
1280
|
+
});
|
|
1281
|
+
}
|
|
1282
|
+
);
|
|
1283
|
+
|
|
1284
|
+
// packages/ui-react/src/components/endpoint-form.tsx
|
|
1285
|
+
import * as React28 from "react";
|
|
1286
|
+
var RoxyEndpointForm = React28.forwardRef(
|
|
1287
|
+
function RoxyEndpointForm2({ className, style, onRoxySubmit, onRoxyValidationError, onRoxySpecError, ...rest }, ref) {
|
|
1288
|
+
const internal = React28.useRef(null);
|
|
1289
|
+
React28.useImperativeHandle(
|
|
1290
|
+
ref,
|
|
1291
|
+
() => internal.current,
|
|
1292
|
+
[]
|
|
1293
|
+
);
|
|
1294
|
+
const [loaded2, setLoaded] = React28.useState(false);
|
|
1295
|
+
const [error, setError] = React28.useState(null);
|
|
1296
|
+
React28.useEffect(() => {
|
|
1297
|
+
let active = true;
|
|
1298
|
+
ensureScriptLoaded().then(() => {
|
|
1299
|
+
if (active) setLoaded(true);
|
|
1300
|
+
}).catch((err) => {
|
|
1301
|
+
if (!active) return;
|
|
1302
|
+
setError(err instanceof Error ? err : new Error(String(err)));
|
|
1303
|
+
});
|
|
1304
|
+
return () => {
|
|
1305
|
+
active = false;
|
|
1306
|
+
};
|
|
1307
|
+
}, []);
|
|
1308
|
+
React28.useEffect(() => {
|
|
1079
1309
|
const el = internal.current;
|
|
1080
1310
|
const handler = onRoxySubmit;
|
|
1081
1311
|
if (!el || !handler) return;
|
|
@@ -1083,7 +1313,7 @@ var RoxyEndpointForm = React23.forwardRef(
|
|
|
1083
1313
|
el.addEventListener("roxy-submit", listener);
|
|
1084
1314
|
return () => el.removeEventListener("roxy-submit", listener);
|
|
1085
1315
|
}, [onRoxySubmit, loaded2]);
|
|
1086
|
-
|
|
1316
|
+
React28.useEffect(() => {
|
|
1087
1317
|
const el = internal.current;
|
|
1088
1318
|
const handler = onRoxyValidationError;
|
|
1089
1319
|
if (!el || !handler) return;
|
|
@@ -1091,7 +1321,7 @@ var RoxyEndpointForm = React23.forwardRef(
|
|
|
1091
1321
|
el.addEventListener("roxy-validation-error", listener);
|
|
1092
1322
|
return () => el.removeEventListener("roxy-validation-error", listener);
|
|
1093
1323
|
}, [onRoxyValidationError, loaded2]);
|
|
1094
|
-
|
|
1324
|
+
React28.useEffect(() => {
|
|
1095
1325
|
const el = internal.current;
|
|
1096
1326
|
const handler = onRoxySpecError;
|
|
1097
1327
|
if (!el || !handler) return;
|
|
@@ -1100,13 +1330,13 @@ var RoxyEndpointForm = React23.forwardRef(
|
|
|
1100
1330
|
return () => el.removeEventListener("roxy-spec-error", listener);
|
|
1101
1331
|
}, [onRoxySpecError, loaded2]);
|
|
1102
1332
|
if (error) {
|
|
1103
|
-
return
|
|
1333
|
+
return React28.createElement(
|
|
1104
1334
|
"div",
|
|
1105
1335
|
{ role: "alert", className, style },
|
|
1106
1336
|
`Roxy UI script load failed: ${error.message}`
|
|
1107
1337
|
);
|
|
1108
1338
|
}
|
|
1109
|
-
return
|
|
1339
|
+
return React28.createElement("roxy-endpoint-form", {
|
|
1110
1340
|
ref: internal,
|
|
1111
1341
|
className,
|
|
1112
1342
|
style,
|
|
@@ -1116,18 +1346,18 @@ var RoxyEndpointForm = React23.forwardRef(
|
|
|
1116
1346
|
);
|
|
1117
1347
|
|
|
1118
1348
|
// packages/ui-react/src/components/location-search.tsx
|
|
1119
|
-
import * as
|
|
1120
|
-
var RoxyLocationSearch =
|
|
1349
|
+
import * as React29 from "react";
|
|
1350
|
+
var RoxyLocationSearch = React29.forwardRef(
|
|
1121
1351
|
function RoxyLocationSearch2({ className, style, onRoxyLocationSelect, onRoxyValidationError, ...rest }, ref) {
|
|
1122
|
-
const internal =
|
|
1123
|
-
|
|
1352
|
+
const internal = React29.useRef(null);
|
|
1353
|
+
React29.useImperativeHandle(
|
|
1124
1354
|
ref,
|
|
1125
1355
|
() => internal.current,
|
|
1126
1356
|
[]
|
|
1127
1357
|
);
|
|
1128
|
-
const [loaded2, setLoaded] =
|
|
1129
|
-
const [error, setError] =
|
|
1130
|
-
|
|
1358
|
+
const [loaded2, setLoaded] = React29.useState(false);
|
|
1359
|
+
const [error, setError] = React29.useState(null);
|
|
1360
|
+
React29.useEffect(() => {
|
|
1131
1361
|
let active = true;
|
|
1132
1362
|
ensureScriptLoaded().then(() => {
|
|
1133
1363
|
if (active) setLoaded(true);
|
|
@@ -1139,7 +1369,7 @@ var RoxyLocationSearch = React24.forwardRef(
|
|
|
1139
1369
|
active = false;
|
|
1140
1370
|
};
|
|
1141
1371
|
}, []);
|
|
1142
|
-
|
|
1372
|
+
React29.useEffect(() => {
|
|
1143
1373
|
const el = internal.current;
|
|
1144
1374
|
const handler = onRoxyLocationSelect;
|
|
1145
1375
|
if (!el || !handler) return;
|
|
@@ -1147,7 +1377,7 @@ var RoxyLocationSearch = React24.forwardRef(
|
|
|
1147
1377
|
el.addEventListener("roxy-location-select", listener);
|
|
1148
1378
|
return () => el.removeEventListener("roxy-location-select", listener);
|
|
1149
1379
|
}, [onRoxyLocationSelect, loaded2]);
|
|
1150
|
-
|
|
1380
|
+
React29.useEffect(() => {
|
|
1151
1381
|
const el = internal.current;
|
|
1152
1382
|
const handler = onRoxyValidationError;
|
|
1153
1383
|
if (!el || !handler) return;
|
|
@@ -1156,13 +1386,13 @@ var RoxyLocationSearch = React24.forwardRef(
|
|
|
1156
1386
|
return () => el.removeEventListener("roxy-validation-error", listener);
|
|
1157
1387
|
}, [onRoxyValidationError, loaded2]);
|
|
1158
1388
|
if (error) {
|
|
1159
|
-
return
|
|
1389
|
+
return React29.createElement(
|
|
1160
1390
|
"div",
|
|
1161
1391
|
{ role: "alert", className, style },
|
|
1162
1392
|
`Roxy UI script load failed: ${error.message}`
|
|
1163
1393
|
);
|
|
1164
1394
|
}
|
|
1165
|
-
return
|
|
1395
|
+
return React29.createElement("roxy-location-search", {
|
|
1166
1396
|
ref: internal,
|
|
1167
1397
|
className,
|
|
1168
1398
|
style,
|
|
@@ -1172,18 +1402,18 @@ var RoxyLocationSearch = React24.forwardRef(
|
|
|
1172
1402
|
);
|
|
1173
1403
|
|
|
1174
1404
|
// packages/ui-react/src/components/data.tsx
|
|
1175
|
-
import * as
|
|
1176
|
-
var RoxyData =
|
|
1405
|
+
import * as React30 from "react";
|
|
1406
|
+
var RoxyData = React30.forwardRef(
|
|
1177
1407
|
function RoxyData2({ className, style, ...rest }, ref) {
|
|
1178
|
-
const internal =
|
|
1179
|
-
|
|
1408
|
+
const internal = React30.useRef(null);
|
|
1409
|
+
React30.useImperativeHandle(
|
|
1180
1410
|
ref,
|
|
1181
1411
|
() => internal.current,
|
|
1182
1412
|
[]
|
|
1183
1413
|
);
|
|
1184
|
-
const [loaded2, setLoaded] =
|
|
1185
|
-
const [error, setError] =
|
|
1186
|
-
|
|
1414
|
+
const [loaded2, setLoaded] = React30.useState(false);
|
|
1415
|
+
const [error, setError] = React30.useState(null);
|
|
1416
|
+
React30.useEffect(() => {
|
|
1187
1417
|
let active = true;
|
|
1188
1418
|
ensureScriptLoaded().then(() => {
|
|
1189
1419
|
if (active) setLoaded(true);
|
|
@@ -1196,13 +1426,13 @@ var RoxyData = React25.forwardRef(
|
|
|
1196
1426
|
};
|
|
1197
1427
|
}, []);
|
|
1198
1428
|
if (error) {
|
|
1199
|
-
return
|
|
1429
|
+
return React30.createElement(
|
|
1200
1430
|
"div",
|
|
1201
1431
|
{ role: "alert", className, style },
|
|
1202
1432
|
`Roxy UI script load failed: ${error.message}`
|
|
1203
1433
|
);
|
|
1204
1434
|
}
|
|
1205
|
-
return
|
|
1435
|
+
return React30.createElement("roxy-data", {
|
|
1206
1436
|
ref: internal,
|
|
1207
1437
|
className,
|
|
1208
1438
|
style,
|
|
@@ -1224,9 +1454,12 @@ export {
|
|
|
1224
1454
|
RoxyGunaMilan,
|
|
1225
1455
|
RoxyHexagram,
|
|
1226
1456
|
RoxyHoroscopeCard,
|
|
1457
|
+
RoxyKpChart,
|
|
1227
1458
|
RoxyKpPlanetsTable,
|
|
1459
|
+
RoxyKpRulingPlanets,
|
|
1228
1460
|
RoxyLocationSearch,
|
|
1229
1461
|
RoxyMoonPhase,
|
|
1462
|
+
RoxyNakshatraCard,
|
|
1230
1463
|
RoxyNatalChart,
|
|
1231
1464
|
RoxyNumerologyCard,
|
|
1232
1465
|
RoxyPanchangTable,
|
|
@@ -1236,6 +1469,8 @@ export {
|
|
|
1236
1469
|
RoxyTarotSpread,
|
|
1237
1470
|
RoxyTransitsTable,
|
|
1238
1471
|
RoxyVedicKundli,
|
|
1472
|
+
RoxyVedicPlanetsTable,
|
|
1473
|
+
RoxyWesternPlanetsTable,
|
|
1239
1474
|
RoxyYogaList,
|
|
1240
1475
|
ensureScriptLoaded
|
|
1241
1476
|
};
|