sky-ui-kit 0.1.4 → 0.1.5

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/components.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "package": "sky-ui-kit",
4
- "version": "0.1.4",
4
+ "version": "0.1.5",
5
5
  "elementPlusVersion": "2.14.7",
6
6
  "setup": {
7
7
  "cssOnce": [
@@ -2277,7 +2277,11 @@
2277
2277
  "required": true
2278
2278
  }
2279
2279
  ],
2280
- "slots": [],
2280
+ "slots": [
2281
+ "before",
2282
+ "after",
2283
+ "panel"
2284
+ ],
2281
2285
  "types": [
2282
2286
  "export interface MapToolItem { key: string; label: string; icon?: Component }"
2283
2287
  ],
@@ -2602,6 +2606,30 @@
2602
2606
  "type": "string",
2603
2607
  "required": false,
2604
2608
  "defaultExpression": "''"
2609
+ },
2610
+ {
2611
+ "name": "toolbarTop",
2612
+ "type": "string",
2613
+ "required": false,
2614
+ "defaultExpression": "''"
2615
+ },
2616
+ {
2617
+ "name": "contentTop",
2618
+ "type": "string",
2619
+ "required": false,
2620
+ "defaultExpression": "''"
2621
+ },
2622
+ {
2623
+ "name": "edge",
2624
+ "type": "string",
2625
+ "required": false,
2626
+ "defaultExpression": "''"
2627
+ },
2628
+ {
2629
+ "name": "variant",
2630
+ "type": "'workbench' | 'atlas'",
2631
+ "required": false,
2632
+ "defaultExpression": "'workbench'"
2605
2633
  }
2606
2634
  ],
2607
2635
  "events": [],
@@ -2617,6 +2645,409 @@
2617
2645
  "types": [],
2618
2646
  "source": "src/components/TemplateLayout.vue"
2619
2647
  },
2648
+ {
2649
+ "name": "RainfallRankingTable",
2650
+ "kind": "project-component",
2651
+ "importFrom": "sky-ui-kit",
2652
+ "props": [
2653
+ {
2654
+ "name": "rows",
2655
+ "type": "RainfallRankingRow[]",
2656
+ "required": false,
2657
+ "defaultExpression": "() => []"
2658
+ },
2659
+ {
2660
+ "name": "period",
2661
+ "type": "string",
2662
+ "required": false,
2663
+ "defaultExpression": "'24h'"
2664
+ },
2665
+ {
2666
+ "name": "unit",
2667
+ "type": "string",
2668
+ "required": false,
2669
+ "defaultExpression": "'mm'"
2670
+ },
2671
+ {
2672
+ "name": "dataSource",
2673
+ "type": "string[]",
2674
+ "required": false,
2675
+ "defaultExpression": "() => []"
2676
+ },
2677
+ {
2678
+ "name": "dataSourceOptions",
2679
+ "type": "DataSourceOption[]",
2680
+ "required": false,
2681
+ "defaultExpression": "() => []"
2682
+ },
2683
+ {
2684
+ "name": "dataSourceLoading",
2685
+ "type": "boolean",
2686
+ "required": false,
2687
+ "defaultExpression": "false"
2688
+ },
2689
+ {
2690
+ "name": "rainfallLevels",
2691
+ "type": "RainfallLevelOption[]",
2692
+ "required": false,
2693
+ "defaultExpression": "() => [\r\n { key: 'extremeStorm', label: '≥250', min: 250, color: 'rgba(129, 0, 64, 1)', textColor: '#ffffff' },\r\n { key: 'hardStorm', label: '100~250', min: 100, color: 'rgba(244, 5, 237, 1)', textColor: '#ffffff' },\r\n { key: 'storm', label: '50~100', min: 50, color: 'rgba(2, 1, 252, 1)', textColor: '#ffffff' },\r\n { key: 'heavy', label: '25~50', min: 25, color: 'rgba(100, 184, 245, 1)', textColor: '#ffffff' },\r\n { key: 'moderate', label: '10~25', min: 10, color: 'rgba(61, 185, 63, 1)', textColor: '#ffffff' },\r\n { key: 'light', label: '0.5~10', min: 0.5, color: 'rgba(164, 243, 143, 1)', textColor: '#1f2937' },\r\n { key: 'none', label: '0~0.5', min: 0, color: '#ffffff', textColor: '#334155' }\r\n ]"
2694
+ },
2695
+ {
2696
+ "name": "visibleLevelKeys",
2697
+ "type": "RainfallLevelKey[]",
2698
+ "required": false,
2699
+ "defaultExpression": "() => ['none', 'light', 'moderate', 'heavy', 'storm', 'hardStorm', 'extremeStorm']"
2700
+ },
2701
+ {
2702
+ "name": "loading",
2703
+ "type": "boolean",
2704
+ "required": false,
2705
+ "defaultExpression": "false"
2706
+ }
2707
+ ],
2708
+ "events": [
2709
+ {
2710
+ "name": "close",
2711
+ "type": "[]",
2712
+ "required": true
2713
+ },
2714
+ {
2715
+ "name": "locate",
2716
+ "type": "[row: RainfallRankingRow]",
2717
+ "required": true
2718
+ },
2719
+ {
2720
+ "name": "rangeChange",
2721
+ "type": "[payload: { label: string, range: DateRangeValue }]",
2722
+ "required": true
2723
+ },
2724
+ {
2725
+ "name": "sourceChange",
2726
+ "type": "[value: string[], payload: DataSourceChangePayload]",
2727
+ "required": true
2728
+ },
2729
+ {
2730
+ "name": "levelVisibilityChange",
2731
+ "type": "[key: RainfallLevelKey, visible: boolean]",
2732
+ "required": true
2733
+ }
2734
+ ],
2735
+ "slots": [],
2736
+ "types": [
2737
+ "type SortDirection = 'asc' | 'desc'",
2738
+ "export type RainfallLevelKey = 'none' | 'light' | 'moderate' | 'heavy' | 'storm' | 'hardStorm' | 'extremeStorm'",
2739
+ "type RangeShortcutKey = 'current' | '1h' | '24h' | '3d' | '7d' | '1m'",
2740
+ "type DateRangeValue = [string, string]",
2741
+ "type RangeShortcut = {\r\n key: RangeShortcutKey\r\n label: string\r\n amount: number\r\n unit: 'current' | 'hour' | 'day' | 'month',\r\n type: '1' | '2' // 1是显示日期 2是显示文字\r\n}",
2742
+ "export type DataSourceOption = {\r\n label: string\r\n value: string\r\n}",
2743
+ "export type DataSourceChangePayload = {\r\n selectedSources: string[]\r\n addedSources: string[]\r\n removedSources: string[]\r\n}",
2744
+ "export type RainfallLevelOption = {\r\n key: RainfallLevelKey\r\n label: string\r\n min: number\r\n color: string\r\n textColor: string\r\n}",
2745
+ "export type RainfallRankingRow = {\r\n id?: string | number\r\n stationName: string\r\n rainfall: number\r\n region?: string\r\n longitude?: number\r\n latitude?: number\r\n elevation?: number | null\r\n dataSource?: string\r\n dataSourceName?: string\r\n sourceCode?: string | number\r\n}"
2746
+ ],
2747
+ "source": "src/components/RainfallRankingTable.vue"
2748
+ },
2749
+ {
2750
+ "name": "RainfallProcessChart",
2751
+ "kind": "project-component",
2752
+ "importFrom": "sky-ui-kit",
2753
+ "props": [
2754
+ {
2755
+ "name": "stations",
2756
+ "type": "RainfallRankingRow[]",
2757
+ "required": false,
2758
+ "defaultExpression": "() => []"
2759
+ },
2760
+ {
2761
+ "name": "selectedStations",
2762
+ "type": "RainfallRankingRow[]",
2763
+ "required": false,
2764
+ "defaultExpression": "() => []"
2765
+ },
2766
+ {
2767
+ "name": "rowsByStation",
2768
+ "type": "Record<string, RainHourlyPrecipitation[]>",
2769
+ "required": false,
2770
+ "defaultExpression": "() => ({})"
2771
+ },
2772
+ {
2773
+ "name": "range",
2774
+ "type": "[string, string]",
2775
+ "required": true,
2776
+ "defaultExpression": null
2777
+ },
2778
+ {
2779
+ "name": "loading",
2780
+ "type": "boolean",
2781
+ "required": false,
2782
+ "defaultExpression": "false"
2783
+ }
2784
+ ],
2785
+ "events": [
2786
+ {
2787
+ "name": "close",
2788
+ "type": "[]",
2789
+ "required": true
2790
+ },
2791
+ {
2792
+ "name": "query",
2793
+ "type": "[payload: { stationIds: StationId[], range: [string, string], quickKey?: QuickRangeKey }]",
2794
+ "required": true
2795
+ }
2796
+ ],
2797
+ "slots": [],
2798
+ "types": [
2799
+ "type EChartsOption = Record<string, any>",
2800
+ "type RainHourlyPrecipitation = { dt: string; drp?: number | null; [key: string]: number | string | null | undefined }",
2801
+ "type StationId = string",
2802
+ "type ProcessSeries = {\r\n station: RainfallRankingRow\r\n rainfallName: string\r\n totalName: string\r\n rainfallData: Array<number | null>\r\n totalData: number[]\r\n latestTotal: number\r\n}",
2803
+ "type QuickRangeKey = 'current' | '24h' | '7d' | '1m' | '3m'"
2804
+ ],
2805
+ "source": "src/components/RainfallProcessChart.vue"
2806
+ },
2807
+ {
2808
+ "name": "MapValueLegend",
2809
+ "kind": "project-component",
2810
+ "importFrom": "sky-ui-kit",
2811
+ "props": [
2812
+ {
2813
+ "name": "title",
2814
+ "type": "string",
2815
+ "required": true,
2816
+ "defaultExpression": null
2817
+ },
2818
+ {
2819
+ "name": "layerName",
2820
+ "type": "string",
2821
+ "required": false,
2822
+ "defaultExpression": "''"
2823
+ },
2824
+ {
2825
+ "name": "unit",
2826
+ "type": "string",
2827
+ "required": false,
2828
+ "defaultExpression": "''"
2829
+ },
2830
+ {
2831
+ "name": "variant",
2832
+ "type": "MapValueLegendVariant",
2833
+ "required": false,
2834
+ "defaultExpression": "'list'"
2835
+ },
2836
+ {
2837
+ "name": "items",
2838
+ "type": "MapValueLegendItem[]",
2839
+ "required": false,
2840
+ "defaultExpression": "() => []"
2841
+ },
2842
+ {
2843
+ "name": "gradientStops",
2844
+ "type": "MapValueLegendGradientStop[]",
2845
+ "required": false,
2846
+ "defaultExpression": "() => []"
2847
+ },
2848
+ {
2849
+ "name": "tickLabels",
2850
+ "type": "string[]",
2851
+ "required": false,
2852
+ "defaultExpression": "() => []"
2853
+ },
2854
+ {
2855
+ "name": "allVisible",
2856
+ "type": "boolean",
2857
+ "required": false,
2858
+ "defaultExpression": "true"
2859
+ },
2860
+ {
2861
+ "name": "toggleable",
2862
+ "type": "boolean",
2863
+ "required": false,
2864
+ "defaultExpression": "true"
2865
+ }
2866
+ ],
2867
+ "events": [
2868
+ {
2869
+ "name": "toggle",
2870
+ "type": "[key: string, visible: boolean, layerName: string]",
2871
+ "required": true
2872
+ },
2873
+ {
2874
+ "name": "toggleAll",
2875
+ "type": "[visible: boolean, layerName: string]",
2876
+ "required": true
2877
+ }
2878
+ ],
2879
+ "slots": [],
2880
+ "types": [
2881
+ "type MapValueLegendVariant = 'list' | 'gradient'",
2882
+ "export type MapValueLegendItem = {\r\n key: string\r\n label: string\r\n color: string\r\n count?: number\r\n visible?: boolean\r\n empty?: boolean\r\n}",
2883
+ "export type MapValueLegendGradientStop = {\r\n offset: number\r\n color: string\r\n}"
2884
+ ],
2885
+ "source": "src/components/MapValueLegend.vue"
2886
+ },
2887
+ {
2888
+ "name": "AtlasRankingPanel",
2889
+ "kind": "project-component",
2890
+ "importFrom": "sky-ui-kit",
2891
+ "props": [],
2892
+ "events": [],
2893
+ "slots": [
2894
+ "default"
2895
+ ],
2896
+ "types": [],
2897
+ "source": "src/components/AtlasRankingPanel.vue"
2898
+ },
2899
+ {
2900
+ "name": "AtlasProcessPanel",
2901
+ "kind": "project-component",
2902
+ "importFrom": "sky-ui-kit",
2903
+ "props": [],
2904
+ "events": [],
2905
+ "slots": [
2906
+ "default"
2907
+ ],
2908
+ "types": [],
2909
+ "source": "src/components/AtlasProcessPanel.vue"
2910
+ },
2911
+ {
2912
+ "name": "AtlasProcessChart",
2913
+ "kind": "project-component",
2914
+ "importFrom": "sky-ui-kit",
2915
+ "props": [
2916
+ {
2917
+ "name": "option",
2918
+ "type": "EChartsOption | null",
2919
+ "required": false,
2920
+ "defaultExpression": "null"
2921
+ },
2922
+ {
2923
+ "name": "loading",
2924
+ "type": "boolean",
2925
+ "required": false,
2926
+ "defaultExpression": "false"
2927
+ },
2928
+ {
2929
+ "name": "empty",
2930
+ "type": "boolean",
2931
+ "required": false,
2932
+ "defaultExpression": "false"
2933
+ },
2934
+ {
2935
+ "name": "loadingText",
2936
+ "type": "string",
2937
+ "required": false,
2938
+ "defaultExpression": "'加载中...'"
2939
+ },
2940
+ {
2941
+ "name": "emptyText",
2942
+ "type": "string",
2943
+ "required": false,
2944
+ "defaultExpression": "'暂无过程线数据'"
2945
+ }
2946
+ ],
2947
+ "events": [],
2948
+ "slots": [],
2949
+ "types": [
2950
+ "type EChartsOption = Record<string, any>"
2951
+ ],
2952
+ "source": "src/components/AtlasProcessChart.vue"
2953
+ },
2954
+ {
2955
+ "name": "StationComparisonPanel",
2956
+ "kind": "project-component",
2957
+ "importFrom": "sky-ui-kit",
2958
+ "props": [
2959
+ {
2960
+ "name": "rows",
2961
+ "type": "{ id: string; label: string }[]",
2962
+ "required": true,
2963
+ "defaultExpression": null
2964
+ },
2965
+ {
2966
+ "name": "selected",
2967
+ "type": "string[]",
2968
+ "required": true,
2969
+ "defaultExpression": null
2970
+ }
2971
+ ],
2972
+ "events": [
2973
+ {
2974
+ "name": "update:selected",
2975
+ "type": "[ids: string[]]",
2976
+ "required": true
2977
+ },
2978
+ {
2979
+ "name": "compare",
2980
+ "type": "[]",
2981
+ "required": true
2982
+ },
2983
+ {
2984
+ "name": "locate",
2985
+ "type": "[id: string]",
2986
+ "required": true
2987
+ },
2988
+ {
2989
+ "name": "close",
2990
+ "type": "[]",
2991
+ "required": true
2992
+ }
2993
+ ],
2994
+ "slots": [],
2995
+ "types": [],
2996
+ "source": "src/components/StationComparisonPanel.vue"
2997
+ },
2998
+ {
2999
+ "name": "MapOperationPanel",
3000
+ "kind": "project-component",
3001
+ "importFrom": "sky-ui-kit",
3002
+ "props": [
3003
+ {
3004
+ "name": "tools",
3005
+ "type": "any",
3006
+ "required": true,
3007
+ "defaultExpression": null
3008
+ },
3009
+ {
3010
+ "name": "drawTools",
3011
+ "type": "{ mode: string; label: string; iconPath: string }[]",
3012
+ "required": true,
3013
+ "defaultExpression": null
3014
+ }
3015
+ ],
3016
+ "events": [],
3017
+ "slots": [],
3018
+ "types": [
3019
+ "type MapDrawMode = string",
3020
+ "type MapMeasureMode = string",
3021
+ "type MapOperationSnapshot = any"
3022
+ ],
3023
+ "source": "src/components/MapOperationPanel.vue"
3024
+ },
3025
+ {
3026
+ "name": "SpaceAnalysisPanel",
3027
+ "kind": "project-component",
3028
+ "importFrom": "sky-ui-kit",
3029
+ "props": [
3030
+ {
3031
+ "name": "selectionStore",
3032
+ "type": "any",
3033
+ "required": true,
3034
+ "defaultExpression": null
3035
+ },
3036
+ {
3037
+ "name": "provider",
3038
+ "type": "any",
3039
+ "required": true,
3040
+ "defaultExpression": null
3041
+ }
3042
+ ],
3043
+ "events": [],
3044
+ "slots": [],
3045
+ "types": [
3046
+ "type GisSelectionRecord = any",
3047
+ "type SpaceAnalysisAction = any"
3048
+ ],
3049
+ "source": "src/components/SpaceAnalysisPanel.vue"
3050
+ },
2620
3051
  {
2621
3052
  "name": "UiAffix",
2622
3053
  "kind": "element-plus-component",
@@ -0,0 +1,17 @@
1
+ type EChartsOption = Record<string, any>;
2
+ type __VLS_Props = {
3
+ option?: EChartsOption | null;
4
+ loading?: boolean;
5
+ empty?: boolean;
6
+ loadingText?: string;
7
+ emptyText?: string;
8
+ };
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
+ option: EChartsOption | null;
11
+ loading: boolean;
12
+ loadingText: string;
13
+ emptyText: string;
14
+ empty: boolean;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,11 @@
1
+ type __VLS_Props = {
2
+ tools: any;
3
+ drawTools: {
4
+ mode: string;
5
+ label: string;
6
+ iconPath: string;
7
+ }[];
8
+ };
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -10,7 +10,15 @@ type __VLS_Props = {
10
10
  icons?: Record<string, Component>;
11
11
  items?: MapToolItem[];
12
12
  };
13
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ declare var __VLS_1: {}, __VLS_15: {}, __VLS_17: {};
14
+ type __VLS_Slots = {} & {
15
+ before?: (props: typeof __VLS_1) => any;
16
+ } & {
17
+ after?: (props: typeof __VLS_15) => any;
18
+ } & {
19
+ panel?: (props: typeof __VLS_17) => any;
20
+ };
21
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
22
  "update:active": (key: string) => any;
15
23
  "tool-click": (key: string) => any;
16
24
  "context-change": (enabled: boolean) => any;
@@ -23,5 +31,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
23
31
  active: string;
24
32
  icons: Record<string, Component>;
25
33
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
35
  declare const _default: typeof __VLS_export;
27
36
  export default _default;
37
+ type __VLS_WithSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
@@ -0,0 +1,42 @@
1
+ type MapValueLegendVariant = 'list' | 'gradient';
2
+ export type MapValueLegendItem = {
3
+ key: string;
4
+ label: string;
5
+ color: string;
6
+ count?: number;
7
+ visible?: boolean;
8
+ empty?: boolean;
9
+ };
10
+ export type MapValueLegendGradientStop = {
11
+ offset: number;
12
+ color: string;
13
+ };
14
+ type __VLS_Props = {
15
+ title: string;
16
+ layerName?: string;
17
+ unit?: string;
18
+ variant?: MapValueLegendVariant;
19
+ items?: MapValueLegendItem[];
20
+ gradientStops?: MapValueLegendGradientStop[];
21
+ tickLabels?: string[];
22
+ allVisible?: boolean;
23
+ toggleable?: boolean;
24
+ };
25
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
+ toggle: (key: string, visible: boolean, layerName: string) => any;
27
+ toggleAll: (visible: boolean, layerName: string) => any;
28
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
29
+ onToggle?: ((key: string, visible: boolean, layerName: string) => any) | undefined;
30
+ onToggleAll?: ((visible: boolean, layerName: string) => any) | undefined;
31
+ }>, {
32
+ variant: MapValueLegendVariant;
33
+ unit: string;
34
+ items: MapValueLegendItem[];
35
+ layerName: string;
36
+ gradientStops: MapValueLegendGradientStop[];
37
+ tickLabels: string[];
38
+ allVisible: boolean;
39
+ toggleable: boolean;
40
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
41
+ declare const _default: typeof __VLS_export;
42
+ export default _default;
@@ -0,0 +1,37 @@
1
+ type RainHourlyPrecipitation = {
2
+ dt: string;
3
+ drp?: number | null;
4
+ [key: string]: number | string | null | undefined;
5
+ };
6
+ import type { RainfallRankingRow } from './RainfallRankingTable.vue';
7
+ type StationId = string;
8
+ type QuickRangeKey = 'current' | '24h' | '7d' | '1m' | '3m';
9
+ type __VLS_Props = {
10
+ stations?: RainfallRankingRow[];
11
+ selectedStations?: RainfallRankingRow[];
12
+ rowsByStation?: Record<string, RainHourlyPrecipitation[]>;
13
+ range: [string, string];
14
+ loading?: boolean;
15
+ };
16
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ close: () => any;
18
+ query: (payload: {
19
+ stationIds: StationId[];
20
+ range: [string, string];
21
+ quickKey?: QuickRangeKey;
22
+ }) => any;
23
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
24
+ onClose?: (() => any) | undefined;
25
+ onQuery?: ((payload: {
26
+ stationIds: StationId[];
27
+ range: [string, string];
28
+ quickKey?: QuickRangeKey;
29
+ }) => any) | undefined;
30
+ }>, {
31
+ loading: boolean;
32
+ stations: RainfallRankingRow[];
33
+ selectedStations: RainfallRankingRow[];
34
+ rowsByStation: Record<string, RainHourlyPrecipitation[]>;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
+ declare const _default: typeof __VLS_export;
37
+ export default _default;