vue-chrts 0.0.105 → 0.0.106
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/charts.d.ts +11 -1
- package/dist/index.d.ts +4 -5
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/charts.d.ts
CHANGED
|
@@ -5,4 +5,14 @@ import { DonutChart, DonutChartProps } from './Donut/index';
|
|
|
5
5
|
import { LineChart, PaginationPosition, LineChartProps } from './Line/index';
|
|
6
6
|
|
|
7
7
|
export { AreaChart, AreaStackedChart, BarChart, DonutChart, LineChart };
|
|
8
|
-
|
|
8
|
+
type ChartModule = {
|
|
9
|
+
AreaChart: typeof AreaChart;
|
|
10
|
+
AreaStackedChart: typeof AreaStackedChart;
|
|
11
|
+
BarChart: typeof BarChart;
|
|
12
|
+
DonutChart: typeof DonutChart;
|
|
13
|
+
LineChart: typeof LineChart;
|
|
14
|
+
DonutChartProps: DonutChartProps;
|
|
15
|
+
LineChartProps: LineChartProps<any>;
|
|
16
|
+
PaginationPosition: typeof PaginationPosition;
|
|
17
|
+
};
|
|
18
|
+
export { type ChartModule, type DonutChartProps, type LineChartProps, PaginationPosition };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
+
import { ChartModule } from './charts.ts';
|
|
1
2
|
import { default as Progress } from './Progress/Progress.vue';
|
|
2
3
|
import { default as Status } from './Status/Status.vue';
|
|
3
4
|
import { default as Tooltip } from './Tooltip/Tooltip.vue';
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
declare const loadCharts: () => Promise<ChartModule>;
|
|
9
|
-
export { Progress, Status, Tooltip, loadCharts };
|
|
6
|
+
export { Progress, Status, Tooltip };
|
|
7
|
+
export declare const loadCharts: () => Promise<ChartModule | {}>;
|
|
8
|
+
export type LoadCharts = typeof loadCharts;
|
package/dist/index.js
CHANGED
|
@@ -182,7 +182,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
182
182
|
});
|
|
183
183
|
|
|
184
184
|
const loadCharts = () => {
|
|
185
|
-
if (typeof window !== "undefined") {
|
|
185
|
+
if (import.meta.client || typeof window !== "undefined") {
|
|
186
186
|
return import('./charts-bM3o2NNr.js').then((module) => {
|
|
187
187
|
return module;
|
|
188
188
|
});
|