@roxyapi/ui-react 0.1.1 → 0.1.3
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 +2 -2
- package/LICENSE +21 -0
- package/README.md +499 -0
- package/dist/components/biorhythm-chart.d.ts +8 -5
- package/dist/components/biorhythm-chart.d.ts.map +1 -1
- package/dist/components/biorhythm-chart.js +35 -9
- package/dist/components/biorhythm-chart.js.map +2 -2
- package/dist/components/compatibility-card.d.ts +8 -5
- package/dist/components/compatibility-card.d.ts.map +1 -1
- package/dist/components/compatibility-card.js +35 -9
- package/dist/components/compatibility-card.js.map +2 -2
- package/dist/components/dasha-timeline.d.ts +8 -5
- package/dist/components/dasha-timeline.d.ts.map +1 -1
- package/dist/components/dasha-timeline.js +35 -9
- package/dist/components/dasha-timeline.js.map +2 -2
- package/dist/components/data.d.ts +6 -4
- package/dist/components/data.d.ts.map +1 -1
- package/dist/components/data.js +35 -9
- package/dist/components/data.js.map +2 -2
- package/dist/components/dosha-card.d.ts +8 -5
- package/dist/components/dosha-card.d.ts.map +1 -1
- package/dist/components/dosha-card.js +35 -9
- package/dist/components/dosha-card.js.map +2 -2
- package/dist/components/endpoint-form.d.ts +20 -4
- package/dist/components/endpoint-form.d.ts.map +1 -1
- package/dist/components/endpoint-form.js +59 -9
- package/dist/components/endpoint-form.js.map +2 -2
- package/dist/components/guna-milan.d.ts +8 -5
- package/dist/components/guna-milan.d.ts.map +1 -1
- package/dist/components/guna-milan.js +35 -9
- package/dist/components/guna-milan.js.map +2 -2
- package/dist/components/hexagram.d.ts +8 -5
- package/dist/components/hexagram.d.ts.map +1 -1
- package/dist/components/hexagram.js +35 -9
- package/dist/components/hexagram.js.map +2 -2
- package/dist/components/horoscope-card.d.ts +8 -5
- package/dist/components/horoscope-card.d.ts.map +1 -1
- package/dist/components/horoscope-card.js +35 -9
- package/dist/components/horoscope-card.js.map +2 -2
- package/dist/components/kp-planets-table.d.ts +8 -5
- package/dist/components/kp-planets-table.d.ts.map +1 -1
- package/dist/components/kp-planets-table.js +35 -9
- package/dist/components/kp-planets-table.js.map +2 -2
- package/dist/components/location-search.d.ts +22 -4
- package/dist/components/location-search.d.ts.map +1 -1
- package/dist/components/location-search.js +51 -9
- package/dist/components/location-search.js.map +2 -2
- package/dist/components/moon-phase.d.ts +8 -5
- package/dist/components/moon-phase.d.ts.map +1 -1
- package/dist/components/moon-phase.js +35 -9
- package/dist/components/moon-phase.js.map +2 -2
- package/dist/components/natal-chart.d.ts +8 -5
- package/dist/components/natal-chart.d.ts.map +1 -1
- package/dist/components/natal-chart.js +35 -9
- package/dist/components/natal-chart.js.map +2 -2
- package/dist/components/numerology-card.d.ts +8 -5
- package/dist/components/numerology-card.d.ts.map +1 -1
- package/dist/components/numerology-card.js +35 -9
- package/dist/components/numerology-card.js.map +2 -2
- package/dist/components/panchang-table.d.ts +8 -5
- package/dist/components/panchang-table.d.ts.map +1 -1
- package/dist/components/panchang-table.js +35 -9
- package/dist/components/panchang-table.js.map +2 -2
- package/dist/components/synastry-chart.d.ts +15 -5
- package/dist/components/synastry-chart.d.ts.map +1 -1
- package/dist/components/synastry-chart.js +35 -9
- package/dist/components/synastry-chart.js.map +2 -2
- package/dist/components/tarot-card.d.ts +8 -5
- package/dist/components/tarot-card.d.ts.map +1 -1
- package/dist/components/tarot-card.js +35 -9
- package/dist/components/tarot-card.js.map +2 -2
- package/dist/components/tarot-spread.d.ts +8 -5
- package/dist/components/tarot-spread.d.ts.map +1 -1
- package/dist/components/tarot-spread.js +35 -9
- package/dist/components/tarot-spread.js.map +2 -2
- package/dist/components/vedic-kundli.d.ts +8 -5
- package/dist/components/vedic-kundli.d.ts.map +1 -1
- package/dist/components/vedic-kundli.js +35 -9
- package/dist/components/vedic-kundli.js.map +2 -2
- package/dist/index.cjs +545 -99
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +20 -20
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +545 -99
- package/dist/index.js.map +2 -2
- package/dist/load-ui.d.ts +2 -0
- package/dist/load-ui.d.ts.map +1 -1
- package/dist/load-ui.js +13 -4
- package/dist/load-ui.js.map +2 -2
- package/package.json +29 -7
- package/src/components/biorhythm-chart.d.ts +0 -12
- package/src/components/biorhythm-chart.d.ts.map +0 -1
- package/src/components/biorhythm-chart.tsx +0 -35
- package/src/components/compatibility-card.d.ts +0 -12
- package/src/components/compatibility-card.d.ts.map +0 -1
- package/src/components/compatibility-card.tsx +0 -35
- package/src/components/dasha-timeline.d.ts +0 -12
- package/src/components/dasha-timeline.d.ts.map +0 -1
- package/src/components/dasha-timeline.tsx +0 -35
- package/src/components/data.d.ts +0 -11
- package/src/components/data.d.ts.map +0 -1
- package/src/components/data.tsx +0 -35
- package/src/components/dosha-card.d.ts +0 -12
- package/src/components/dosha-card.d.ts.map +0 -1
- package/src/components/dosha-card.tsx +0 -35
- package/src/components/endpoint-form.d.ts +0 -12
- package/src/components/endpoint-form.d.ts.map +0 -1
- package/src/components/endpoint-form.tsx +0 -35
- package/src/components/guna-milan.d.ts +0 -12
- package/src/components/guna-milan.d.ts.map +0 -1
- package/src/components/guna-milan.tsx +0 -35
- package/src/components/hexagram.d.ts +0 -12
- package/src/components/hexagram.d.ts.map +0 -1
- package/src/components/hexagram.tsx +0 -35
- package/src/components/horoscope-card.d.ts +0 -12
- package/src/components/horoscope-card.d.ts.map +0 -1
- package/src/components/horoscope-card.tsx +0 -35
- package/src/components/kp-planets-table.d.ts +0 -12
- package/src/components/kp-planets-table.d.ts.map +0 -1
- package/src/components/kp-planets-table.tsx +0 -35
- package/src/components/location-search.d.ts +0 -12
- package/src/components/location-search.d.ts.map +0 -1
- package/src/components/location-search.tsx +0 -35
- package/src/components/moon-phase.d.ts +0 -12
- package/src/components/moon-phase.d.ts.map +0 -1
- package/src/components/moon-phase.tsx +0 -35
- package/src/components/natal-chart.d.ts +0 -12
- package/src/components/natal-chart.d.ts.map +0 -1
- package/src/components/natal-chart.tsx +0 -35
- package/src/components/numerology-card.d.ts +0 -12
- package/src/components/numerology-card.d.ts.map +0 -1
- package/src/components/numerology-card.tsx +0 -35
- package/src/components/panchang-table.d.ts +0 -12
- package/src/components/panchang-table.d.ts.map +0 -1
- package/src/components/panchang-table.tsx +0 -35
- package/src/components/synastry-chart.d.ts +0 -12
- package/src/components/synastry-chart.d.ts.map +0 -1
- package/src/components/synastry-chart.tsx +0 -35
- package/src/components/tarot-card.d.ts +0 -12
- package/src/components/tarot-card.d.ts.map +0 -1
- package/src/components/tarot-card.tsx +0 -35
- package/src/components/tarot-spread.d.ts +0 -12
- package/src/components/tarot-spread.d.ts.map +0 -1
- package/src/components/tarot-spread.tsx +0 -35
- package/src/components/vedic-kundli.d.ts +0 -12
- package/src/components/vedic-kundli.d.ts.map +0 -1
- package/src/components/vedic-kundli.tsx +0 -35
- package/src/index.d.ts +0 -21
- package/src/index.d.ts.map +0 -1
- package/src/index.ts +0 -20
- package/src/load-ui.d.ts +0 -2
- package/src/load-ui.d.ts.map +0 -1
- package/src/load-ui.ts +0 -41
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ensureScriptLoaded } from '../load-ui.js';
|
|
3
|
-
|
|
4
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
5
|
-
|
|
6
|
-
export interface RoxyDoshaCardProps extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
7
|
-
data?: unknown;
|
|
8
|
-
[attr: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export const RoxyDoshaCard = React.forwardRef<HTMLElement, RoxyDoshaCardProps>(
|
|
12
|
-
function RoxyDoshaCard({ data, ...rest }, ref) {
|
|
13
|
-
const internal = React.useRef<HTMLElement | null>(null);
|
|
14
|
-
React.useImperativeHandle(ref, () => internal.current as HTMLElement);
|
|
15
|
-
const [loaded, setLoaded] = React.useState(false);
|
|
16
|
-
|
|
17
|
-
React.useEffect(() => {
|
|
18
|
-
let active = true;
|
|
19
|
-
ensureScriptLoaded().then(() => {
|
|
20
|
-
if (active) setLoaded(true);
|
|
21
|
-
});
|
|
22
|
-
return () => {
|
|
23
|
-
active = false;
|
|
24
|
-
};
|
|
25
|
-
}, []);
|
|
26
|
-
|
|
27
|
-
React.useEffect(() => {
|
|
28
|
-
if (internal.current && data !== undefined) {
|
|
29
|
-
(internal.current as unknown as { data: unknown }).data = data;
|
|
30
|
-
}
|
|
31
|
-
}, [data, loaded]);
|
|
32
|
-
|
|
33
|
-
return React.createElement('roxy-dosha-card', { ref: internal, ...rest });
|
|
34
|
-
},
|
|
35
|
-
);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
4
|
-
export interface RoxyEndpointFormProps
|
|
5
|
-
extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
6
|
-
data?: unknown;
|
|
7
|
-
[attr: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export declare const RoxyEndpointForm: React.ForwardRefExoticComponent<
|
|
10
|
-
Omit<RoxyEndpointFormProps, 'ref'> & React.RefAttributes<HTMLElement>
|
|
11
|
-
>;
|
|
12
|
-
//# sourceMappingURL=endpoint-form.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint-form.d.ts","sourceRoot":"","sources":["endpoint-form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,QAAQ,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;AAElD,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,UAAU,CAAC;IACrF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,gBAAgB,wGAwB5B,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ensureScriptLoaded } from '../load-ui.js';
|
|
3
|
-
|
|
4
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
5
|
-
|
|
6
|
-
export interface RoxyEndpointFormProps extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
7
|
-
data?: unknown;
|
|
8
|
-
[attr: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export const RoxyEndpointForm = React.forwardRef<HTMLElement, RoxyEndpointFormProps>(
|
|
12
|
-
function RoxyEndpointForm({ data, ...rest }, ref) {
|
|
13
|
-
const internal = React.useRef<HTMLElement | null>(null);
|
|
14
|
-
React.useImperativeHandle(ref, () => internal.current as HTMLElement);
|
|
15
|
-
const [loaded, setLoaded] = React.useState(false);
|
|
16
|
-
|
|
17
|
-
React.useEffect(() => {
|
|
18
|
-
let active = true;
|
|
19
|
-
ensureScriptLoaded().then(() => {
|
|
20
|
-
if (active) setLoaded(true);
|
|
21
|
-
});
|
|
22
|
-
return () => {
|
|
23
|
-
active = false;
|
|
24
|
-
};
|
|
25
|
-
}, []);
|
|
26
|
-
|
|
27
|
-
React.useEffect(() => {
|
|
28
|
-
if (internal.current && data !== undefined) {
|
|
29
|
-
(internal.current as unknown as { data: unknown }).data = data;
|
|
30
|
-
}
|
|
31
|
-
}, [data, loaded]);
|
|
32
|
-
|
|
33
|
-
return React.createElement('roxy-endpoint-form', { ref: internal, ...rest });
|
|
34
|
-
},
|
|
35
|
-
);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
4
|
-
export interface RoxyGunaMilanProps
|
|
5
|
-
extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
6
|
-
data?: unknown;
|
|
7
|
-
[attr: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export declare const RoxyGunaMilan: React.ForwardRefExoticComponent<
|
|
10
|
-
Omit<RoxyGunaMilanProps, 'ref'> & React.RefAttributes<HTMLElement>
|
|
11
|
-
>;
|
|
12
|
-
//# sourceMappingURL=guna-milan.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"guna-milan.d.ts","sourceRoot":"","sources":["guna-milan.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,QAAQ,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;AAElD,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,UAAU,CAAC;IAClF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,aAAa,qGAwBzB,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ensureScriptLoaded } from '../load-ui.js';
|
|
3
|
-
|
|
4
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
5
|
-
|
|
6
|
-
export interface RoxyGunaMilanProps extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
7
|
-
data?: unknown;
|
|
8
|
-
[attr: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export const RoxyGunaMilan = React.forwardRef<HTMLElement, RoxyGunaMilanProps>(
|
|
12
|
-
function RoxyGunaMilan({ data, ...rest }, ref) {
|
|
13
|
-
const internal = React.useRef<HTMLElement | null>(null);
|
|
14
|
-
React.useImperativeHandle(ref, () => internal.current as HTMLElement);
|
|
15
|
-
const [loaded, setLoaded] = React.useState(false);
|
|
16
|
-
|
|
17
|
-
React.useEffect(() => {
|
|
18
|
-
let active = true;
|
|
19
|
-
ensureScriptLoaded().then(() => {
|
|
20
|
-
if (active) setLoaded(true);
|
|
21
|
-
});
|
|
22
|
-
return () => {
|
|
23
|
-
active = false;
|
|
24
|
-
};
|
|
25
|
-
}, []);
|
|
26
|
-
|
|
27
|
-
React.useEffect(() => {
|
|
28
|
-
if (internal.current && data !== undefined) {
|
|
29
|
-
(internal.current as unknown as { data: unknown }).data = data;
|
|
30
|
-
}
|
|
31
|
-
}, [data, loaded]);
|
|
32
|
-
|
|
33
|
-
return React.createElement('roxy-guna-milan', { ref: internal, ...rest });
|
|
34
|
-
},
|
|
35
|
-
);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
4
|
-
export interface RoxyHexagramProps
|
|
5
|
-
extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
6
|
-
data?: unknown;
|
|
7
|
-
[attr: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export declare const RoxyHexagram: React.ForwardRefExoticComponent<
|
|
10
|
-
Omit<RoxyHexagramProps, 'ref'> & React.RefAttributes<HTMLElement>
|
|
11
|
-
>;
|
|
12
|
-
//# sourceMappingURL=hexagram.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hexagram.d.ts","sourceRoot":"","sources":["hexagram.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,QAAQ,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;AAElD,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,UAAU,CAAC;IACjF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,YAAY,oGAwBxB,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ensureScriptLoaded } from '../load-ui.js';
|
|
3
|
-
|
|
4
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
5
|
-
|
|
6
|
-
export interface RoxyHexagramProps extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
7
|
-
data?: unknown;
|
|
8
|
-
[attr: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export const RoxyHexagram = React.forwardRef<HTMLElement, RoxyHexagramProps>(
|
|
12
|
-
function RoxyHexagram({ data, ...rest }, ref) {
|
|
13
|
-
const internal = React.useRef<HTMLElement | null>(null);
|
|
14
|
-
React.useImperativeHandle(ref, () => internal.current as HTMLElement);
|
|
15
|
-
const [loaded, setLoaded] = React.useState(false);
|
|
16
|
-
|
|
17
|
-
React.useEffect(() => {
|
|
18
|
-
let active = true;
|
|
19
|
-
ensureScriptLoaded().then(() => {
|
|
20
|
-
if (active) setLoaded(true);
|
|
21
|
-
});
|
|
22
|
-
return () => {
|
|
23
|
-
active = false;
|
|
24
|
-
};
|
|
25
|
-
}, []);
|
|
26
|
-
|
|
27
|
-
React.useEffect(() => {
|
|
28
|
-
if (internal.current && data !== undefined) {
|
|
29
|
-
(internal.current as unknown as { data: unknown }).data = data;
|
|
30
|
-
}
|
|
31
|
-
}, [data, loaded]);
|
|
32
|
-
|
|
33
|
-
return React.createElement('roxy-hexagram', { ref: internal, ...rest });
|
|
34
|
-
},
|
|
35
|
-
);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
4
|
-
export interface RoxyHoroscopeCardProps
|
|
5
|
-
extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
6
|
-
data?: unknown;
|
|
7
|
-
[attr: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export declare const RoxyHoroscopeCard: React.ForwardRefExoticComponent<
|
|
10
|
-
Omit<RoxyHoroscopeCardProps, 'ref'> & React.RefAttributes<HTMLElement>
|
|
11
|
-
>;
|
|
12
|
-
//# sourceMappingURL=horoscope-card.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"horoscope-card.d.ts","sourceRoot":"","sources":["horoscope-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,QAAQ,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;AAElD,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,UAAU,CAAC;IACtF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,iBAAiB,yGAwB7B,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ensureScriptLoaded } from '../load-ui.js';
|
|
3
|
-
|
|
4
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
5
|
-
|
|
6
|
-
export interface RoxyHoroscopeCardProps extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
7
|
-
data?: unknown;
|
|
8
|
-
[attr: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export const RoxyHoroscopeCard = React.forwardRef<HTMLElement, RoxyHoroscopeCardProps>(
|
|
12
|
-
function RoxyHoroscopeCard({ data, ...rest }, ref) {
|
|
13
|
-
const internal = React.useRef<HTMLElement | null>(null);
|
|
14
|
-
React.useImperativeHandle(ref, () => internal.current as HTMLElement);
|
|
15
|
-
const [loaded, setLoaded] = React.useState(false);
|
|
16
|
-
|
|
17
|
-
React.useEffect(() => {
|
|
18
|
-
let active = true;
|
|
19
|
-
ensureScriptLoaded().then(() => {
|
|
20
|
-
if (active) setLoaded(true);
|
|
21
|
-
});
|
|
22
|
-
return () => {
|
|
23
|
-
active = false;
|
|
24
|
-
};
|
|
25
|
-
}, []);
|
|
26
|
-
|
|
27
|
-
React.useEffect(() => {
|
|
28
|
-
if (internal.current && data !== undefined) {
|
|
29
|
-
(internal.current as unknown as { data: unknown }).data = data;
|
|
30
|
-
}
|
|
31
|
-
}, [data, loaded]);
|
|
32
|
-
|
|
33
|
-
return React.createElement('roxy-horoscope-card', { ref: internal, ...rest });
|
|
34
|
-
},
|
|
35
|
-
);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
4
|
-
export interface RoxyKpPlanetsTableProps
|
|
5
|
-
extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
6
|
-
data?: unknown;
|
|
7
|
-
[attr: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export declare const RoxyKpPlanetsTable: React.ForwardRefExoticComponent<
|
|
10
|
-
Omit<RoxyKpPlanetsTableProps, 'ref'> & React.RefAttributes<HTMLElement>
|
|
11
|
-
>;
|
|
12
|
-
//# sourceMappingURL=kp-planets-table.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kp-planets-table.d.ts","sourceRoot":"","sources":["kp-planets-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,QAAQ,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;AAElD,MAAM,WAAW,uBAAwB,SAAQ,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,UAAU,CAAC;IACvF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,kBAAkB,0GAwB9B,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ensureScriptLoaded } from '../load-ui.js';
|
|
3
|
-
|
|
4
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
5
|
-
|
|
6
|
-
export interface RoxyKpPlanetsTableProps extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
7
|
-
data?: unknown;
|
|
8
|
-
[attr: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export const RoxyKpPlanetsTable = React.forwardRef<HTMLElement, RoxyKpPlanetsTableProps>(
|
|
12
|
-
function RoxyKpPlanetsTable({ data, ...rest }, ref) {
|
|
13
|
-
const internal = React.useRef<HTMLElement | null>(null);
|
|
14
|
-
React.useImperativeHandle(ref, () => internal.current as HTMLElement);
|
|
15
|
-
const [loaded, setLoaded] = React.useState(false);
|
|
16
|
-
|
|
17
|
-
React.useEffect(() => {
|
|
18
|
-
let active = true;
|
|
19
|
-
ensureScriptLoaded().then(() => {
|
|
20
|
-
if (active) setLoaded(true);
|
|
21
|
-
});
|
|
22
|
-
return () => {
|
|
23
|
-
active = false;
|
|
24
|
-
};
|
|
25
|
-
}, []);
|
|
26
|
-
|
|
27
|
-
React.useEffect(() => {
|
|
28
|
-
if (internal.current && data !== undefined) {
|
|
29
|
-
(internal.current as unknown as { data: unknown }).data = data;
|
|
30
|
-
}
|
|
31
|
-
}, [data, loaded]);
|
|
32
|
-
|
|
33
|
-
return React.createElement('roxy-kp-planets-table', { ref: internal, ...rest });
|
|
34
|
-
},
|
|
35
|
-
);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
4
|
-
export interface RoxyLocationSearchProps
|
|
5
|
-
extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
6
|
-
data?: unknown;
|
|
7
|
-
[attr: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export declare const RoxyLocationSearch: React.ForwardRefExoticComponent<
|
|
10
|
-
Omit<RoxyLocationSearchProps, 'ref'> & React.RefAttributes<HTMLElement>
|
|
11
|
-
>;
|
|
12
|
-
//# sourceMappingURL=location-search.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"location-search.d.ts","sourceRoot":"","sources":["location-search.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,QAAQ,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;AAElD,MAAM,WAAW,uBAAwB,SAAQ,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,UAAU,CAAC;IACvF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,kBAAkB,0GAwB9B,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ensureScriptLoaded } from '../load-ui.js';
|
|
3
|
-
|
|
4
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
5
|
-
|
|
6
|
-
export interface RoxyLocationSearchProps extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
7
|
-
data?: unknown;
|
|
8
|
-
[attr: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export const RoxyLocationSearch = React.forwardRef<HTMLElement, RoxyLocationSearchProps>(
|
|
12
|
-
function RoxyLocationSearch({ data, ...rest }, ref) {
|
|
13
|
-
const internal = React.useRef<HTMLElement | null>(null);
|
|
14
|
-
React.useImperativeHandle(ref, () => internal.current as HTMLElement);
|
|
15
|
-
const [loaded, setLoaded] = React.useState(false);
|
|
16
|
-
|
|
17
|
-
React.useEffect(() => {
|
|
18
|
-
let active = true;
|
|
19
|
-
ensureScriptLoaded().then(() => {
|
|
20
|
-
if (active) setLoaded(true);
|
|
21
|
-
});
|
|
22
|
-
return () => {
|
|
23
|
-
active = false;
|
|
24
|
-
};
|
|
25
|
-
}, []);
|
|
26
|
-
|
|
27
|
-
React.useEffect(() => {
|
|
28
|
-
if (internal.current && data !== undefined) {
|
|
29
|
-
(internal.current as unknown as { data: unknown }).data = data;
|
|
30
|
-
}
|
|
31
|
-
}, [data, loaded]);
|
|
32
|
-
|
|
33
|
-
return React.createElement('roxy-location-search', { ref: internal, ...rest });
|
|
34
|
-
},
|
|
35
|
-
);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
4
|
-
export interface RoxyMoonPhaseProps
|
|
5
|
-
extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
6
|
-
data?: unknown;
|
|
7
|
-
[attr: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export declare const RoxyMoonPhase: React.ForwardRefExoticComponent<
|
|
10
|
-
Omit<RoxyMoonPhaseProps, 'ref'> & React.RefAttributes<HTMLElement>
|
|
11
|
-
>;
|
|
12
|
-
//# sourceMappingURL=moon-phase.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"moon-phase.d.ts","sourceRoot":"","sources":["moon-phase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,QAAQ,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;AAElD,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,UAAU,CAAC;IAClF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,aAAa,qGAwBzB,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ensureScriptLoaded } from '../load-ui.js';
|
|
3
|
-
|
|
4
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
5
|
-
|
|
6
|
-
export interface RoxyMoonPhaseProps extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
7
|
-
data?: unknown;
|
|
8
|
-
[attr: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export const RoxyMoonPhase = React.forwardRef<HTMLElement, RoxyMoonPhaseProps>(
|
|
12
|
-
function RoxyMoonPhase({ data, ...rest }, ref) {
|
|
13
|
-
const internal = React.useRef<HTMLElement | null>(null);
|
|
14
|
-
React.useImperativeHandle(ref, () => internal.current as HTMLElement);
|
|
15
|
-
const [loaded, setLoaded] = React.useState(false);
|
|
16
|
-
|
|
17
|
-
React.useEffect(() => {
|
|
18
|
-
let active = true;
|
|
19
|
-
ensureScriptLoaded().then(() => {
|
|
20
|
-
if (active) setLoaded(true);
|
|
21
|
-
});
|
|
22
|
-
return () => {
|
|
23
|
-
active = false;
|
|
24
|
-
};
|
|
25
|
-
}, []);
|
|
26
|
-
|
|
27
|
-
React.useEffect(() => {
|
|
28
|
-
if (internal.current && data !== undefined) {
|
|
29
|
-
(internal.current as unknown as { data: unknown }).data = data;
|
|
30
|
-
}
|
|
31
|
-
}, [data, loaded]);
|
|
32
|
-
|
|
33
|
-
return React.createElement('roxy-moon-phase', { ref: internal, ...rest });
|
|
34
|
-
},
|
|
35
|
-
);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
4
|
-
export interface RoxyNatalChartProps
|
|
5
|
-
extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
6
|
-
data?: unknown;
|
|
7
|
-
[attr: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export declare const RoxyNatalChart: React.ForwardRefExoticComponent<
|
|
10
|
-
Omit<RoxyNatalChartProps, 'ref'> & React.RefAttributes<HTMLElement>
|
|
11
|
-
>;
|
|
12
|
-
//# sourceMappingURL=natal-chart.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"natal-chart.d.ts","sourceRoot":"","sources":["natal-chart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,QAAQ,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;AAElD,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,UAAU,CAAC;IACnF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,cAAc,sGAwB1B,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ensureScriptLoaded } from '../load-ui.js';
|
|
3
|
-
|
|
4
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
5
|
-
|
|
6
|
-
export interface RoxyNatalChartProps extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
7
|
-
data?: unknown;
|
|
8
|
-
[attr: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export const RoxyNatalChart = React.forwardRef<HTMLElement, RoxyNatalChartProps>(
|
|
12
|
-
function RoxyNatalChart({ data, ...rest }, ref) {
|
|
13
|
-
const internal = React.useRef<HTMLElement | null>(null);
|
|
14
|
-
React.useImperativeHandle(ref, () => internal.current as HTMLElement);
|
|
15
|
-
const [loaded, setLoaded] = React.useState(false);
|
|
16
|
-
|
|
17
|
-
React.useEffect(() => {
|
|
18
|
-
let active = true;
|
|
19
|
-
ensureScriptLoaded().then(() => {
|
|
20
|
-
if (active) setLoaded(true);
|
|
21
|
-
});
|
|
22
|
-
return () => {
|
|
23
|
-
active = false;
|
|
24
|
-
};
|
|
25
|
-
}, []);
|
|
26
|
-
|
|
27
|
-
React.useEffect(() => {
|
|
28
|
-
if (internal.current && data !== undefined) {
|
|
29
|
-
(internal.current as unknown as { data: unknown }).data = data;
|
|
30
|
-
}
|
|
31
|
-
}, [data, loaded]);
|
|
32
|
-
|
|
33
|
-
return React.createElement('roxy-natal-chart', { ref: internal, ...rest });
|
|
34
|
-
},
|
|
35
|
-
);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
4
|
-
export interface RoxyNumerologyCardProps
|
|
5
|
-
extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
6
|
-
data?: unknown;
|
|
7
|
-
[attr: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export declare const RoxyNumerologyCard: React.ForwardRefExoticComponent<
|
|
10
|
-
Omit<RoxyNumerologyCardProps, 'ref'> & React.RefAttributes<HTMLElement>
|
|
11
|
-
>;
|
|
12
|
-
//# sourceMappingURL=numerology-card.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"numerology-card.d.ts","sourceRoot":"","sources":["numerology-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,QAAQ,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;AAElD,MAAM,WAAW,uBAAwB,SAAQ,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,UAAU,CAAC;IACvF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,kBAAkB,0GAwB9B,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ensureScriptLoaded } from '../load-ui.js';
|
|
3
|
-
|
|
4
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
5
|
-
|
|
6
|
-
export interface RoxyNumerologyCardProps extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
7
|
-
data?: unknown;
|
|
8
|
-
[attr: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export const RoxyNumerologyCard = React.forwardRef<HTMLElement, RoxyNumerologyCardProps>(
|
|
12
|
-
function RoxyNumerologyCard({ data, ...rest }, ref) {
|
|
13
|
-
const internal = React.useRef<HTMLElement | null>(null);
|
|
14
|
-
React.useImperativeHandle(ref, () => internal.current as HTMLElement);
|
|
15
|
-
const [loaded, setLoaded] = React.useState(false);
|
|
16
|
-
|
|
17
|
-
React.useEffect(() => {
|
|
18
|
-
let active = true;
|
|
19
|
-
ensureScriptLoaded().then(() => {
|
|
20
|
-
if (active) setLoaded(true);
|
|
21
|
-
});
|
|
22
|
-
return () => {
|
|
23
|
-
active = false;
|
|
24
|
-
};
|
|
25
|
-
}, []);
|
|
26
|
-
|
|
27
|
-
React.useEffect(() => {
|
|
28
|
-
if (internal.current && data !== undefined) {
|
|
29
|
-
(internal.current as unknown as { data: unknown }).data = data;
|
|
30
|
-
}
|
|
31
|
-
}, [data, loaded]);
|
|
32
|
-
|
|
33
|
-
return React.createElement('roxy-numerology-card', { ref: internal, ...rest });
|
|
34
|
-
},
|
|
35
|
-
);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
4
|
-
export interface RoxyPanchangTableProps
|
|
5
|
-
extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
6
|
-
data?: unknown;
|
|
7
|
-
[attr: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export declare const RoxyPanchangTable: React.ForwardRefExoticComponent<
|
|
10
|
-
Omit<RoxyPanchangTableProps, 'ref'> & React.RefAttributes<HTMLElement>
|
|
11
|
-
>;
|
|
12
|
-
//# sourceMappingURL=panchang-table.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"panchang-table.d.ts","sourceRoot":"","sources":["panchang-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,QAAQ,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;AAElD,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,UAAU,CAAC;IACtF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,iBAAiB,yGAwB7B,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ensureScriptLoaded } from '../load-ui.js';
|
|
3
|
-
|
|
4
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
5
|
-
|
|
6
|
-
export interface RoxyPanchangTableProps extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
7
|
-
data?: unknown;
|
|
8
|
-
[attr: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export const RoxyPanchangTable = React.forwardRef<HTMLElement, RoxyPanchangTableProps>(
|
|
12
|
-
function RoxyPanchangTable({ data, ...rest }, ref) {
|
|
13
|
-
const internal = React.useRef<HTMLElement | null>(null);
|
|
14
|
-
React.useImperativeHandle(ref, () => internal.current as HTMLElement);
|
|
15
|
-
const [loaded, setLoaded] = React.useState(false);
|
|
16
|
-
|
|
17
|
-
React.useEffect(() => {
|
|
18
|
-
let active = true;
|
|
19
|
-
ensureScriptLoaded().then(() => {
|
|
20
|
-
if (active) setLoaded(true);
|
|
21
|
-
});
|
|
22
|
-
return () => {
|
|
23
|
-
active = false;
|
|
24
|
-
};
|
|
25
|
-
}, []);
|
|
26
|
-
|
|
27
|
-
React.useEffect(() => {
|
|
28
|
-
if (internal.current && data !== undefined) {
|
|
29
|
-
(internal.current as unknown as { data: unknown }).data = data;
|
|
30
|
-
}
|
|
31
|
-
}, [data, loaded]);
|
|
32
|
-
|
|
33
|
-
return React.createElement('roxy-panchang-table', { ref: internal, ...rest });
|
|
34
|
-
},
|
|
35
|
-
);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
4
|
-
export interface RoxySynastryChartProps
|
|
5
|
-
extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
6
|
-
data?: unknown;
|
|
7
|
-
[attr: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export declare const RoxySynastryChart: React.ForwardRefExoticComponent<
|
|
10
|
-
Omit<RoxySynastryChartProps, 'ref'> & React.RefAttributes<HTMLElement>
|
|
11
|
-
>;
|
|
12
|
-
//# sourceMappingURL=synastry-chart.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"synastry-chart.d.ts","sourceRoot":"","sources":["synastry-chart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,QAAQ,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;AAElD,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,UAAU,CAAC;IACtF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,iBAAiB,yGAwB7B,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ensureScriptLoaded } from '../load-ui.js';
|
|
3
|
-
|
|
4
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
5
|
-
|
|
6
|
-
export interface RoxySynastryChartProps extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
7
|
-
data?: unknown;
|
|
8
|
-
[attr: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export const RoxySynastryChart = React.forwardRef<HTMLElement, RoxySynastryChartProps>(
|
|
12
|
-
function RoxySynastryChart({ data, ...rest }, ref) {
|
|
13
|
-
const internal = React.useRef<HTMLElement | null>(null);
|
|
14
|
-
React.useImperativeHandle(ref, () => internal.current as HTMLElement);
|
|
15
|
-
const [loaded, setLoaded] = React.useState(false);
|
|
16
|
-
|
|
17
|
-
React.useEffect(() => {
|
|
18
|
-
let active = true;
|
|
19
|
-
ensureScriptLoaded().then(() => {
|
|
20
|
-
if (active) setLoaded(true);
|
|
21
|
-
});
|
|
22
|
-
return () => {
|
|
23
|
-
active = false;
|
|
24
|
-
};
|
|
25
|
-
}, []);
|
|
26
|
-
|
|
27
|
-
React.useEffect(() => {
|
|
28
|
-
if (internal.current && data !== undefined) {
|
|
29
|
-
(internal.current as unknown as { data: unknown }).data = data;
|
|
30
|
-
}
|
|
31
|
-
}, [data, loaded]);
|
|
32
|
-
|
|
33
|
-
return React.createElement('roxy-synastry-chart', { ref: internal, ...rest });
|
|
34
|
-
},
|
|
35
|
-
);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type DivAttrs = React.HTMLAttributes<HTMLElement>;
|
|
4
|
-
export interface RoxyTarotCardProps
|
|
5
|
-
extends Omit<DivAttrs, 'children' | 'onSelect'> {
|
|
6
|
-
data?: unknown;
|
|
7
|
-
[attr: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export declare const RoxyTarotCard: React.ForwardRefExoticComponent<
|
|
10
|
-
Omit<RoxyTarotCardProps, 'ref'> & React.RefAttributes<HTMLElement>
|
|
11
|
-
>;
|
|
12
|
-
//# sourceMappingURL=tarot-card.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tarot-card.d.ts","sourceRoot":"","sources":["tarot-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,QAAQ,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;AAElD,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,UAAU,CAAC;IAClF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,aAAa,qGAwBzB,CAAC"}
|