@cfasim-ui/charts 0.4.6 → 0.4.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.
@@ -1,4 +1,9 @@
1
1
  export declare function downloadBlob(blob: Blob, name: string): void;
2
+ /** Clone `svg` and inline the styles that don't survive a standalone render:
3
+ * inherited `color`/`font-*` on the root (so `currentColor` and unset
4
+ * font-family resolve), and any `var(--…)` references in fill/stroke
5
+ * attributes resolved against the document. */
6
+ export declare function prepareSvgForExport(svg: SVGSVGElement): SVGSVGElement;
2
7
  export declare function saveSvg(svg: SVGSVGElement, filename: string): void;
3
8
  export declare function savePng(svg: SVGSVGElement, filename: string): void;
4
9
  export declare function downloadCsv(csv: string, filename: string): void;
@@ -0,0 +1 @@
1
+ export {};
@@ -21,5 +21,5 @@ type __VLS_Props = {
21
21
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
22
22
  annotations: readonly ChartAnnotation[];
23
23
  bounds: ChartBounds;
24
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGGElement>;
25
25
  export default _default;