@tsingroc/tsingroc-components 4.3.0 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Auth.d.ts +2 -2
- package/dist/components/Auth.js +15 -10
- package/dist/components/Auth.js.map +1 -1
- package/dist/components/Calendar.js +1 -1
- package/dist/components/Calendar.js.map +1 -1
- package/dist/components/Header.d.ts +1 -1
- package/dist/components/Header.js.map +1 -1
- package/dist/components/IndicatorLight.js +1 -1
- package/dist/components/IndicatorLight.js.map +1 -1
- package/dist/components/LineChartEditor.js +6 -6
- package/dist/components/LineChartEditor.js.map +1 -1
- package/dist/components/LineChartTable.js +6 -5
- package/dist/components/LineChartTable.js.map +1 -1
- package/dist/components/LinkedECharts.d.ts +17 -0
- package/dist/components/LinkedECharts.js +34 -0
- package/dist/components/LinkedECharts.js.map +1 -0
- package/dist/components/LinkedLineChart.d.ts +3 -3
- package/dist/components/LinkedLineChart.js +8 -59
- package/dist/components/LinkedLineChart.js.map +1 -1
- package/dist/components/QuickDateRangePicker.d.ts +1 -1
- package/dist/components/QuickDateRangePicker.js.map +1 -1
- package/dist/components/SegmentedButtons.js.map +1 -1
- package/dist/components/Sidebar.js +3 -3
- package/dist/components/Sidebar.js.map +1 -1
- package/dist/components/StrictECharts.d.ts +1 -0
- package/dist/components/StrictECharts.js +2 -0
- package/dist/components/StrictECharts.js.map +1 -0
- package/dist/components/TsingrocDatePicker.d.ts +1 -1
- package/dist/components/TsingrocDatePicker.js +1 -1
- package/dist/components/TsingrocDatePicker.js.map +1 -1
- package/dist/components/TsingrocTheme.js +1 -1
- package/dist/components/TsingrocTheme.js.map +1 -1
- package/dist/components/UserButton.js +2 -1
- package/dist/components/UserButton.js.map +1 -1
- package/dist/components/VerticalColorLegend.js +1 -1
- package/dist/components/VerticalColorLegend.js.map +1 -1
- package/dist/components/WeatherMap.js +8 -7
- package/dist/components/WeatherMap.js.map +1 -1
- package/dist/deckgl/TiandituLayer.d.ts +2 -2
- package/dist/deckgl/TiandituLayer.js.map +1 -1
- package/dist/deckgl/WeatherData.js.map +1 -1
- package/dist/echarts/coordinateSystem.js +2 -2
- package/dist/echarts/coordinateSystem.js.map +1 -1
- package/dist/echarts/gl.d.ts +1 -1
- package/dist/echarts/gl.js.map +1 -1
- package/dist/echarts/index.js +1 -0
- package/dist/echarts/index.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +16 -2
- package/src/components/Auth.tsx +17 -12
- package/src/components/Calendar.tsx +1 -1
- package/src/components/Header.tsx +1 -1
- package/src/components/IndicatorLight.tsx +1 -1
- package/src/components/LineChartEditor.tsx +13 -13
- package/src/components/LineChartTable.tsx +13 -12
- package/src/components/LinkedECharts.tsx +51 -0
- package/src/components/LinkedLineChart.tsx +17 -96
- package/src/components/QuickDateRangePicker.tsx +4 -4
- package/src/components/SegmentedButtons.tsx +1 -1
- package/src/components/Sidebar.tsx +4 -4
- package/src/components/StrictECharts.d.ts +47 -0
- package/src/components/StrictECharts.js +1 -0
- package/src/components/TsingrocDatePicker.tsx +4 -4
- package/src/components/TsingrocTheme.tsx +2 -1
- package/src/components/UserButton.tsx +4 -4
- package/src/components/VerticalColorLegend.tsx +3 -3
- package/src/components/WeatherMap.tsx +13 -12
- package/src/deckgl/TiandituLayer.ts +3 -3
- package/src/deckgl/WeatherData.ts +7 -7
- package/src/echarts/coordinateSystem.ts +3 -3
- package/src/echarts/gl.ts +2 -1
- package/src/echarts/index.ts +1 -0
- package/src/index.ts +13 -0
package/src/echarts/index.ts
CHANGED
|
@@ -57,6 +57,7 @@ export function buildEChartsOption(
|
|
|
57
57
|
for (const component of components) {
|
|
58
58
|
Object.entries(component).forEach(([k, value]) => {
|
|
59
59
|
const key = k as keyof EChartsComponent;
|
|
60
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
60
61
|
(option[key] ??= []).push(...(value ?? []));
|
|
61
62
|
});
|
|
62
63
|
}
|
package/src/index.ts
CHANGED
|
@@ -35,11 +35,24 @@ export {
|
|
|
35
35
|
type LineChartEditorProps,
|
|
36
36
|
} from "./components/LineChartEditor";
|
|
37
37
|
|
|
38
|
+
export {
|
|
39
|
+
default as StrictECharts,
|
|
40
|
+
type StrictEChartsProps,
|
|
41
|
+
type ECEventDefinition,
|
|
42
|
+
type EChartsInitOpts,
|
|
43
|
+
} from "./components/StrictECharts";
|
|
44
|
+
|
|
38
45
|
export {
|
|
39
46
|
default as LineChartTable,
|
|
40
47
|
type LineChartTableProps,
|
|
41
48
|
} from "./components/LineChartTable";
|
|
42
49
|
|
|
50
|
+
export {
|
|
51
|
+
default as LinkedECharts,
|
|
52
|
+
withEChartsLink,
|
|
53
|
+
EChartsLinkProvider,
|
|
54
|
+
} from "./components/LinkedECharts";
|
|
55
|
+
|
|
43
56
|
export {
|
|
44
57
|
default as LinkedLineChart,
|
|
45
58
|
LineChartLinkProvider,
|