sat-earth 1.0.5 → 1.0.7
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/dist/packages/components/components.d.ts +204 -0
- package/dist/packages/components/plot/PlotSourceList.vue.d.ts +25 -1
- package/dist/packages/components/plot/SatPlot.vue.d.ts +26 -2
- package/dist/packages/components/plot/SatPlotMain.vue.d.ts +25 -1
- package/dist/packages/components/plot/helpers.d.ts +4 -5
- package/dist/packages/components/plot/index.d.ts +25 -2
- package/dist/packages/main/index.d.ts +5 -1
- package/dist/packages/utils/map/plot/getGraphicDefStyle.d.ts +1 -1
- package/dist/packages/utils/map/plot/index.d.ts +6 -1
- package/dist/packages/utils/rewriteMarsAlert.d.ts +2 -0
- package/dist/packages/utils/types/index.d.ts +29 -6
- package/dist/sat-earth.mjs +3956 -7874
- package/dist/sat-earth.umd.js +5 -5
- package/dist/style.css +1 -1
- package/package.json +4 -3
- package/dist/packages/build/rewriteMarsAlert.d.ts +0 -1
- package/dist/packages/utils/map/plot/plotSource.d.ts +0 -754
|
@@ -1484,6 +1484,210 @@ export declare const components: (({
|
|
|
1484
1484
|
divChildFilter: (node: Element) => boolean;
|
|
1485
1485
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
1486
1486
|
install: (app: import("vue").App<any>, ...options: any[]) => any;
|
|
1487
|
+
}) | ({
|
|
1488
|
+
new (...args: any[]): {
|
|
1489
|
+
$: import("vue").ComponentInternalInstance;
|
|
1490
|
+
$data: {};
|
|
1491
|
+
$props: Partial<{
|
|
1492
|
+
merge: boolean | undefined;
|
|
1493
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
1494
|
+
plotSource: {
|
|
1495
|
+
type: globalThis.PropType<import("./plot").PlotSource | undefined>;
|
|
1496
|
+
required: false;
|
|
1497
|
+
};
|
|
1498
|
+
merge: {
|
|
1499
|
+
type: globalThis.PropType<boolean | undefined>;
|
|
1500
|
+
required: false;
|
|
1501
|
+
default: boolean;
|
|
1502
|
+
};
|
|
1503
|
+
}>> & {
|
|
1504
|
+
onInitHooks?: ((...args: any[]) => any) | undefined;
|
|
1505
|
+
onDestroyHooks?: ((...args: any[]) => any) | undefined;
|
|
1506
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "merge">;
|
|
1507
|
+
$attrs: {
|
|
1508
|
+
[x: string]: unknown;
|
|
1509
|
+
};
|
|
1510
|
+
$refs: {
|
|
1511
|
+
[x: string]: unknown;
|
|
1512
|
+
};
|
|
1513
|
+
$slots: Readonly<{
|
|
1514
|
+
[name: string]: import("vue").Slot | undefined;
|
|
1515
|
+
}>;
|
|
1516
|
+
$root: globalThis.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
1517
|
+
$parent: globalThis.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
1518
|
+
$emit: (event: "initHooks" | "destroyHooks", ...args: any[]) => void;
|
|
1519
|
+
$el: any;
|
|
1520
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
1521
|
+
plotSource: {
|
|
1522
|
+
type: globalThis.PropType<import("./plot").PlotSource | undefined>;
|
|
1523
|
+
required: false;
|
|
1524
|
+
};
|
|
1525
|
+
merge: {
|
|
1526
|
+
type: globalThis.PropType<boolean | undefined>;
|
|
1527
|
+
required: false;
|
|
1528
|
+
default: boolean;
|
|
1529
|
+
};
|
|
1530
|
+
}>> & {
|
|
1531
|
+
onInitHooks?: ((...args: any[]) => any) | undefined;
|
|
1532
|
+
onDestroyHooks?: ((...args: any[]) => any) | undefined;
|
|
1533
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("initHooks" | "destroyHooks")[], string, {
|
|
1534
|
+
merge: boolean | undefined;
|
|
1535
|
+
}, {}, string> & {
|
|
1536
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1537
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
1538
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
1539
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
1540
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
1541
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
1542
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
1543
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
1544
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
1545
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
1546
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
1547
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
1548
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
1549
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
1550
|
+
errorCaptured?: (((err: unknown, instance: globalThis.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: globalThis.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
1551
|
+
};
|
|
1552
|
+
$forceUpdate: () => void;
|
|
1553
|
+
$nextTick: typeof import("vue").nextTick;
|
|
1554
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
1555
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
1556
|
+
plotSource: {
|
|
1557
|
+
type: globalThis.PropType<import("./plot").PlotSource | undefined>;
|
|
1558
|
+
required: false;
|
|
1559
|
+
};
|
|
1560
|
+
merge: {
|
|
1561
|
+
type: globalThis.PropType<boolean | undefined>;
|
|
1562
|
+
required: false;
|
|
1563
|
+
default: boolean;
|
|
1564
|
+
};
|
|
1565
|
+
}>> & {
|
|
1566
|
+
onInitHooks?: ((...args: any[]) => any) | undefined;
|
|
1567
|
+
onDestroyHooks?: ((...args: any[]) => any) | undefined;
|
|
1568
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
1569
|
+
__isFragment?: undefined;
|
|
1570
|
+
__isTeleport?: undefined;
|
|
1571
|
+
__isSuspense?: undefined;
|
|
1572
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
1573
|
+
plotSource: {
|
|
1574
|
+
type: globalThis.PropType<import("./plot").PlotSource | undefined>;
|
|
1575
|
+
required: false;
|
|
1576
|
+
};
|
|
1577
|
+
merge: {
|
|
1578
|
+
type: globalThis.PropType<boolean | undefined>;
|
|
1579
|
+
required: false;
|
|
1580
|
+
default: boolean;
|
|
1581
|
+
};
|
|
1582
|
+
}>> & {
|
|
1583
|
+
onInitHooks?: ((...args: any[]) => any) | undefined;
|
|
1584
|
+
onDestroyHooks?: ((...args: any[]) => any) | undefined;
|
|
1585
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("initHooks" | "destroyHooks")[], "initHooks" | "destroyHooks", {
|
|
1586
|
+
merge: boolean | undefined;
|
|
1587
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & ((app: import("vue").App<any>, ...options: any[]) => any) & {
|
|
1588
|
+
install?: ((app: import("vue").App<any>, ...options: any[]) => any) | undefined;
|
|
1589
|
+
}) | ({
|
|
1590
|
+
new (...args: any[]): {
|
|
1591
|
+
$: import("vue").ComponentInternalInstance;
|
|
1592
|
+
$data: {};
|
|
1593
|
+
$props: Partial<{
|
|
1594
|
+
merge: boolean | undefined;
|
|
1595
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
1596
|
+
plotSource: {
|
|
1597
|
+
type: globalThis.PropType<import("./plot").PlotSource | undefined>;
|
|
1598
|
+
required: false;
|
|
1599
|
+
};
|
|
1600
|
+
merge: {
|
|
1601
|
+
type: globalThis.PropType<boolean | undefined>;
|
|
1602
|
+
required: false;
|
|
1603
|
+
default: boolean;
|
|
1604
|
+
};
|
|
1605
|
+
}>> & {
|
|
1606
|
+
onInitHooks?: ((...args: any[]) => any) | undefined;
|
|
1607
|
+
onDestroyHooks?: ((...args: any[]) => any) | undefined;
|
|
1608
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "merge">;
|
|
1609
|
+
$attrs: {
|
|
1610
|
+
[x: string]: unknown;
|
|
1611
|
+
};
|
|
1612
|
+
$refs: {
|
|
1613
|
+
[x: string]: unknown;
|
|
1614
|
+
};
|
|
1615
|
+
$slots: Readonly<{
|
|
1616
|
+
[name: string]: import("vue").Slot | undefined;
|
|
1617
|
+
}>;
|
|
1618
|
+
$root: globalThis.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
1619
|
+
$parent: globalThis.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
1620
|
+
$emit: (event: "initHooks" | "destroyHooks", ...args: any[]) => void;
|
|
1621
|
+
$el: any;
|
|
1622
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
1623
|
+
plotSource: {
|
|
1624
|
+
type: globalThis.PropType<import("./plot").PlotSource | undefined>;
|
|
1625
|
+
required: false;
|
|
1626
|
+
};
|
|
1627
|
+
merge: {
|
|
1628
|
+
type: globalThis.PropType<boolean | undefined>;
|
|
1629
|
+
required: false;
|
|
1630
|
+
default: boolean;
|
|
1631
|
+
};
|
|
1632
|
+
}>> & {
|
|
1633
|
+
onInitHooks?: ((...args: any[]) => any) | undefined;
|
|
1634
|
+
onDestroyHooks?: ((...args: any[]) => any) | undefined;
|
|
1635
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("initHooks" | "destroyHooks")[], string, {
|
|
1636
|
+
merge: boolean | undefined;
|
|
1637
|
+
}, {}, string> & {
|
|
1638
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1639
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
1640
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
1641
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
1642
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
1643
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
1644
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
1645
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
1646
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
1647
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
1648
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
1649
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
1650
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
1651
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
1652
|
+
errorCaptured?: (((err: unknown, instance: globalThis.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: globalThis.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
1653
|
+
};
|
|
1654
|
+
$forceUpdate: () => void;
|
|
1655
|
+
$nextTick: typeof import("vue").nextTick;
|
|
1656
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
1657
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
1658
|
+
plotSource: {
|
|
1659
|
+
type: globalThis.PropType<import("./plot").PlotSource | undefined>;
|
|
1660
|
+
required: false;
|
|
1661
|
+
};
|
|
1662
|
+
merge: {
|
|
1663
|
+
type: globalThis.PropType<boolean | undefined>;
|
|
1664
|
+
required: false;
|
|
1665
|
+
default: boolean;
|
|
1666
|
+
};
|
|
1667
|
+
}>> & {
|
|
1668
|
+
onInitHooks?: ((...args: any[]) => any) | undefined;
|
|
1669
|
+
onDestroyHooks?: ((...args: any[]) => any) | undefined;
|
|
1670
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
1671
|
+
__isFragment?: undefined;
|
|
1672
|
+
__isTeleport?: undefined;
|
|
1673
|
+
__isSuspense?: undefined;
|
|
1674
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
1675
|
+
plotSource: {
|
|
1676
|
+
type: globalThis.PropType<import("./plot").PlotSource | undefined>;
|
|
1677
|
+
required: false;
|
|
1678
|
+
};
|
|
1679
|
+
merge: {
|
|
1680
|
+
type: globalThis.PropType<boolean | undefined>;
|
|
1681
|
+
required: false;
|
|
1682
|
+
default: boolean;
|
|
1683
|
+
};
|
|
1684
|
+
}>> & {
|
|
1685
|
+
onInitHooks?: ((...args: any[]) => any) | undefined;
|
|
1686
|
+
onDestroyHooks?: ((...args: any[]) => any) | undefined;
|
|
1687
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("initHooks" | "destroyHooks")[], "initHooks" | "destroyHooks", {
|
|
1688
|
+
merge: boolean | undefined;
|
|
1689
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
1690
|
+
install: (app: import("vue").App<any>, ...options: any[]) => any;
|
|
1487
1691
|
}) | ({
|
|
1488
1692
|
new (...args: any[]): {
|
|
1489
1693
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -1,2 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
import type { PlotSource } from '../../utils/types';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
plotSource: {
|
|
5
|
+
type: __PropType<PlotSource | undefined>;
|
|
6
|
+
required: false;
|
|
7
|
+
};
|
|
8
|
+
merge: {
|
|
9
|
+
type: __PropType<boolean | undefined>;
|
|
10
|
+
required: false;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
plotSource: {
|
|
15
|
+
type: __PropType<PlotSource | undefined>;
|
|
16
|
+
required: false;
|
|
17
|
+
};
|
|
18
|
+
merge: {
|
|
19
|
+
type: __PropType<boolean | undefined>;
|
|
20
|
+
required: false;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
}>>, {
|
|
24
|
+
merge: boolean | undefined;
|
|
25
|
+
}>;
|
|
2
26
|
export default _sfc_main;
|
|
@@ -1,5 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
import { type PlotSource } from '../../utils/types';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
plotSource: {
|
|
5
|
+
type: __PropType<PlotSource | undefined>;
|
|
6
|
+
required: false;
|
|
7
|
+
};
|
|
8
|
+
merge: {
|
|
9
|
+
type: __PropType<boolean | undefined>;
|
|
10
|
+
required: false;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("initHooks" | "destroyHooks")[], "initHooks" | "destroyHooks", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
plotSource: {
|
|
15
|
+
type: __PropType<PlotSource | undefined>;
|
|
16
|
+
required: false;
|
|
17
|
+
};
|
|
18
|
+
merge: {
|
|
19
|
+
type: __PropType<boolean | undefined>;
|
|
20
|
+
required: false;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
}>> & {
|
|
2
24
|
onInitHooks?: ((...args: any[]) => any) | undefined;
|
|
3
25
|
onDestroyHooks?: ((...args: any[]) => any) | undefined;
|
|
4
|
-
}, {
|
|
26
|
+
}, {
|
|
27
|
+
merge: boolean | undefined;
|
|
28
|
+
}>;
|
|
5
29
|
export default _sfc_main;
|
|
@@ -1,2 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
import type { PlotSource } from '../../utils/types';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
plotSource: {
|
|
5
|
+
type: __PropType<PlotSource | undefined>;
|
|
6
|
+
required: false;
|
|
7
|
+
};
|
|
8
|
+
merge: {
|
|
9
|
+
type: __PropType<boolean | undefined>;
|
|
10
|
+
required: false;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
plotSource: {
|
|
15
|
+
type: __PropType<PlotSource | undefined>;
|
|
16
|
+
required: false;
|
|
17
|
+
};
|
|
18
|
+
merge: {
|
|
19
|
+
type: __PropType<boolean | undefined>;
|
|
20
|
+
required: false;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
}>>, {
|
|
24
|
+
merge: boolean | undefined;
|
|
25
|
+
}>;
|
|
2
26
|
export default _sfc_main;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { ShallowRef } from 'vue';
|
|
2
|
-
import plotSource from '
|
|
2
|
+
import { plotSource } from 'sat-earth-resources';
|
|
3
3
|
import { SatMap } from '../../utils/map';
|
|
4
|
-
export { plotSource };
|
|
5
4
|
export interface PlotType {
|
|
6
5
|
value: string;
|
|
7
6
|
label: string;
|
|
8
7
|
}
|
|
9
|
-
export declare const initPlotSourceUrl: (mapInstance?: ShallowRef<SatMap | null>) => void;
|
|
10
|
-
export declare const getPlotTypes: () => PlotType[];
|
|
11
|
-
export declare const getShowedPlotList: (val: string) => any[];
|
|
8
|
+
export declare const initPlotSourceUrl: (plotSourceFinal: typeof plotSource, mapInstance?: ShallowRef<SatMap | null>) => void;
|
|
9
|
+
export declare const getPlotTypes: (plotSourceFinal: typeof plotSource) => PlotType[];
|
|
10
|
+
export declare const getShowedPlotList: (plotSourceFinal: typeof plotSource, val: string) => any[];
|
|
@@ -1,7 +1,30 @@
|
|
|
1
1
|
import SatPlotSFC from './SatPlot.vue';
|
|
2
|
-
|
|
2
|
+
export { type PlotSource } from '../../utils/types';
|
|
3
|
+
declare const SatPlot: import('../../utils/installer').SFCWithInstall<import("vue").DefineComponent<{
|
|
4
|
+
plotSource: {
|
|
5
|
+
type: globalThis.PropType<import('../../utils/types').PlotSource | undefined>;
|
|
6
|
+
required: false;
|
|
7
|
+
};
|
|
8
|
+
merge: {
|
|
9
|
+
type: globalThis.PropType<boolean | undefined>;
|
|
10
|
+
required: false;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("initHooks" | "destroyHooks")[], "initHooks" | "destroyHooks", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
plotSource: {
|
|
15
|
+
type: globalThis.PropType<import('../../utils/types').PlotSource | undefined>;
|
|
16
|
+
required: false;
|
|
17
|
+
};
|
|
18
|
+
merge: {
|
|
19
|
+
type: globalThis.PropType<boolean | undefined>;
|
|
20
|
+
required: false;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
}>> & {
|
|
3
24
|
onInitHooks?: ((...args: any[]) => any) | undefined;
|
|
4
25
|
onDestroyHooks?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
}, {
|
|
26
|
+
}, {
|
|
27
|
+
merge: boolean | undefined;
|
|
28
|
+
}>>;
|
|
6
29
|
export { SatPlotSFC, SatPlot };
|
|
7
30
|
export default SatPlot;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
+
import { ConfigProviderProps } from 'element-plus';
|
|
2
3
|
import domtoimage from 'dom-to-image-more';
|
|
3
4
|
export * from '../components';
|
|
4
5
|
export * from '../utils/types';
|
|
@@ -9,7 +10,10 @@ export * as mars3d from 'mars3d';
|
|
|
9
10
|
export * as turf from '@turf/turf';
|
|
10
11
|
export { Cesium } from 'mars3d';
|
|
11
12
|
export { domtoimage };
|
|
13
|
+
export interface SatEarthInstallOptions {
|
|
14
|
+
elementPlusConfigOptions?: ConfigProviderProps;
|
|
15
|
+
}
|
|
12
16
|
declare const _default: {
|
|
13
|
-
install: (app: App, options?:
|
|
17
|
+
install: (app: App, options?: SatEarthInstallOptions) => void;
|
|
14
18
|
};
|
|
15
19
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getGraphicDefStyle(
|
|
1
|
+
export declare function getGraphicDefStyle(extend?: string, style?: {}): any;
|
|
@@ -7,7 +7,7 @@ export declare class Plot {
|
|
|
7
7
|
storageName: string;
|
|
8
8
|
constructor(map: Mars3dMap, satGlobeEleId: string);
|
|
9
9
|
init(): void;
|
|
10
|
-
getDefStyle(item: PlotSourceItem): any
|
|
10
|
+
getDefStyle(item: PlotSourceItem): Record<string, any>;
|
|
11
11
|
startDraw(obj: PlotSourceItem): void;
|
|
12
12
|
stopDraw(): void;
|
|
13
13
|
getGeoJson(target?: any): any;
|
|
@@ -25,6 +25,11 @@ export declare class Plot {
|
|
|
25
25
|
name: string | number;
|
|
26
26
|
[attr: string]: any;
|
|
27
27
|
}): void;
|
|
28
|
+
clearGroup(item: {
|
|
29
|
+
id: string | number;
|
|
30
|
+
name: string | number;
|
|
31
|
+
[attr: string]: any;
|
|
32
|
+
}): void;
|
|
28
33
|
deleteGroup(item: {
|
|
29
34
|
id: string | number;
|
|
30
35
|
name: string | number;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { Map as Mars3dMap, graphic, ChinaCRS, LangType, Cesium } from 'mars3d';
|
|
1
|
+
import { Map as Mars3dMap, graphic, ChinaCRS, LangType, Cesium, GraphicType } from 'mars3d';
|
|
2
|
+
import { plotSource, plotStyleConfig } from 'sat-earth-resources';
|
|
2
3
|
export type SatLayer = Mars3dMap.layerOptions & {
|
|
3
4
|
radio?: boolean;
|
|
4
5
|
center?: MarsLayerCenter;
|
|
6
|
+
addedHooks?: (...args: any[]) => void;
|
|
5
7
|
[someAttr: string]: any;
|
|
6
8
|
};
|
|
7
9
|
export type SatLayerDev = SatLayer & {
|
|
@@ -108,14 +110,35 @@ export type SatMapCustomInitFlyAnimation = {
|
|
|
108
110
|
enable: boolean;
|
|
109
111
|
callback: () => void;
|
|
110
112
|
};
|
|
111
|
-
export
|
|
113
|
+
export type PlotSource = OriPlotSource | CustomPlotSource;
|
|
114
|
+
export interface PlotStyleConfigItem {
|
|
112
115
|
name: string;
|
|
113
|
-
|
|
114
|
-
type:
|
|
115
|
-
|
|
116
|
-
|
|
116
|
+
label: string;
|
|
117
|
+
type: 'color' | 'radio' | 'slider' | 'combobox' | 'textarea' | 'label' | 'text' | 'number' | 'hidden';
|
|
118
|
+
defval: any;
|
|
119
|
+
impact?: Array<string>;
|
|
120
|
+
data?: Array<{
|
|
121
|
+
text: string;
|
|
122
|
+
value: any;
|
|
123
|
+
impact?: Array<string>;
|
|
124
|
+
}>;
|
|
117
125
|
[attr: string]: any;
|
|
118
126
|
}
|
|
127
|
+
export interface PlotSourceItem {
|
|
128
|
+
name: string;
|
|
129
|
+
image?: string;
|
|
130
|
+
type: GraphicType | string;
|
|
131
|
+
extend?: keyof typeof plotStyleConfig;
|
|
132
|
+
style?: Record<string, any>;
|
|
133
|
+
styleConfig?: Array<PlotStyleConfigItem>;
|
|
134
|
+
[attr2: string]: any;
|
|
135
|
+
}
|
|
136
|
+
export type OriPlotSource = {
|
|
137
|
+
[attr in keyof typeof plotSource]?: Array<PlotSourceItem>;
|
|
138
|
+
};
|
|
139
|
+
export type CustomPlotSource = {
|
|
140
|
+
[attr: string]: Array<PlotSourceItem>;
|
|
141
|
+
};
|
|
119
142
|
export interface PlotGroupTree {
|
|
120
143
|
id: string | number;
|
|
121
144
|
name: string;
|