vvplot 0.7.0 → 0.7.1

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.
@@ -0,0 +1,191 @@
1
+ import { Fragment, computed } from "vue";
2
+ // src/core/utils.js
3
+ function expandFragment(componentList) {
4
+ if (componentList == null) return [];
5
+ return componentList.flatMap((layer) => {
6
+ if (layer.type == Fragment) return expandFragment(layer.children);
7
+ else if (layer.type == "template") return expandFragment(layer.children).map((c) => {
8
+ c.props = {
9
+ ...c.props,
10
+ ...layer.props
11
+ };
12
+ return c;
13
+ });
14
+ return layer;
15
+ });
16
+ }
17
+ var pointerEventClones = /* @__PURE__ */ new WeakMap();
18
+ /**
19
+ * Lazily clone a pointer event through a Vue ref. Reading `.value` (normally
20
+ * with `unref`) creates the clone; never reading it avoids the allocation.
21
+ * @param {PointerEvent} event
22
+ */
23
+ function useEventClone(event) {
24
+ return computed(() => {
25
+ let cached = pointerEventClones.get(event);
26
+ if (cached) return cached;
27
+ let options = {};
28
+ for (let key in event) options[key] = event[key];
29
+ options.bubbles = false;
30
+ let clone = new PointerEvent(event.type, options);
31
+ for (let key of Object.keys(event)) {
32
+ let prop = Object.getOwnPropertyDescriptor(clone, key);
33
+ if (prop && !prop.writable && !prop.set) continue;
34
+ clone[key] = event[key];
35
+ }
36
+ pointerEventClones.set(event, clone);
37
+ return clone;
38
+ });
39
+ }
40
+ var pointerEvents = [
41
+ "click",
42
+ "contextmenu",
43
+ "singleclick",
44
+ "dblclick",
45
+ "pointerover",
46
+ "pointerout",
47
+ "pointerenter",
48
+ "pointerleave",
49
+ "pointermove",
50
+ "pointerdown",
51
+ "pointerup",
52
+ "wheel"
53
+ ];
54
+ function emitEvent(handlers, ...args) {
55
+ if (Array.isArray(handlers)) {
56
+ handlers = handlers.filter((h) => typeof h === "function");
57
+ if (handlers.length === 0) return false;
58
+ handlers.forEach((h) => h(...args));
59
+ return true;
60
+ }
61
+ if (typeof handlers !== "function") return false;
62
+ handlers(...args);
63
+ return true;
64
+ }
65
+ function parseLinetype(linetype) {
66
+ if (linetype == null) return [];
67
+ if (Array.isArray(linetype)) return linetype;
68
+ if (linetype === "solid") return [];
69
+ if (linetype === "dashed") return [4, 4];
70
+ if (linetype === "dotted") return [1, 3];
71
+ if (linetype === "dotdash") return [
72
+ 1,
73
+ 3,
74
+ 4,
75
+ 3
76
+ ];
77
+ if (linetype === "longdash") return [8, 4];
78
+ if (linetype === "twodash") return [
79
+ 2,
80
+ 2,
81
+ 6,
82
+ 2
83
+ ];
84
+ if (linetype.includes(" ")) return linetype.split(" ").map((v) => +v);
85
+ return linetype.split("").map((v) => +("0x" + v));
86
+ }
87
+ /**
88
+ * drop null/undefined values from an object
89
+ * @param {Object} obj
90
+ * @returns {Object}
91
+ */
92
+ function dropNull(obj) {
93
+ if (typeof obj !== "object" || obj == null) return obj;
94
+ return Object.fromEntries(Object.entries(obj).filter(([k, v]) => v != null));
95
+ }
96
+ var unitInPx = {
97
+ "": 1,
98
+ "px": 1,
99
+ "in": 96,
100
+ "cm": 96 / 2.54,
101
+ "mm": 96 / 25.4,
102
+ "pt": 96 / 72,
103
+ "pc": 16
104
+ };
105
+ /**
106
+ * Normalize an SVG element by embedding canvas images and removing comments.
107
+ * @param {SVGElement} svgElement
108
+ * @returns {SVGElement}
109
+ */
110
+ function normalizeSVG(svgElement) {
111
+ if (!(svgElement instanceof SVGElement)) return null;
112
+ function removeComments(node) {
113
+ let i = node.childNodes.length;
114
+ while (i--) {
115
+ const child = node.childNodes[i];
116
+ if (child.nodeType === Node.COMMENT_NODE) node.removeChild(child);
117
+ else if (child.nodeType === Node.ELEMENT_NODE) {
118
+ removeComments(child);
119
+ if (child.getAttribute("style") == "") child.removeAttribute("style");
120
+ if (child.getAttribute("class") == "") child.removeAttribute("class");
121
+ }
122
+ }
123
+ }
124
+ let svgClone = svgElement.cloneNode(true);
125
+ let foreignElements = Array.from(svgElement.querySelectorAll("foreignObject")), foreignClones = Array.from(svgClone.querySelectorAll("foreignObject"));
126
+ for (let i = 0; i < foreignElements.length; i++) {
127
+ let foreignElement = foreignElements[i], foreignClone = foreignClones[i];
128
+ let canvas = foreignElements[i].querySelector("canvas");
129
+ if (!canvas) continue;
130
+ let img = svgClone.ownerDocument.createElementNS("http://www.w3.org/2000/svg", "image");
131
+ img.setAttribute("href", canvas.toDataURL());
132
+ img.setAttribute("x", foreignElement.getAttribute("x"));
133
+ img.setAttribute("y", foreignElement.getAttribute("y"));
134
+ img.setAttribute("width", foreignElement.getAttribute("width"));
135
+ img.setAttribute("height", foreignElement.getAttribute("height"));
136
+ foreignClone.parentNode.replaceChild(img, foreignClone);
137
+ }
138
+ for (let node of svgClone.querySelectorAll(".vvplot-interactive,foreignObject")) node.remove();
139
+ removeComments(svgClone);
140
+ svgClone.setAttribute("xmlns", "http://www.w3.org/2000/svg");
141
+ svgClone.setAttribute("xmlns:xlink", "http://www.w3.org/1999/xlink");
142
+ svgClone.setAttribute("version", "1.1");
143
+ svgClone.removeAttribute("width");
144
+ svgClone.removeAttribute("height");
145
+ svgClone.setAttribute("viewBox", `0 0 ${svgElement.scrollWidth} ${svgElement.scrollHeight}`);
146
+ return svgClone;
147
+ }
148
+ /**
149
+ * Serialize an SVG element to a string.
150
+ * @param {SVGElement} svgElement
151
+ * @param {Object} options
152
+ * @param {string} options.unit - The unit for width and height (default: 'mm').
153
+ * @returns {string}
154
+ */
155
+ function serializeSVG(svgElement, { unit = "mm" } = {}) {
156
+ if (!(svgElement instanceof SVGElement)) return null;
157
+ let svg = normalizeSVG(svgElement);
158
+ if (!unitInPx[unit]) unit = "";
159
+ svg.setAttribute("width", svgElement.scrollWidth / unitInPx[unit] + unit);
160
+ svg.setAttribute("height", svgElement.scrollHeight / unitInPx[unit] + unit);
161
+ return new XMLSerializer().serializeToString(svg);
162
+ }
163
+ /**
164
+ * Export an SVG element to a string, inlining images as data URLs.
165
+ * @param {SVGElement} svgElement
166
+ * @param {Object} options
167
+ * @param {string} options.unit - The unit for width and height (default: 'mm').
168
+ * @returns {string}
169
+ */
170
+ async function exportSVG(svgElement, { unit = "mm" } = {}) {
171
+ if (!(svgElement instanceof SVGElement)) return null;
172
+ let svg = normalizeSVG(svgElement);
173
+ if (!unitInPx[unit]) unit = "";
174
+ svg.setAttribute("width", svgElement.scrollWidth / unitInPx[unit] + unit);
175
+ svg.setAttribute("height", svgElement.scrollHeight / unitInPx[unit] + unit);
176
+ const cache = /* @__PURE__ */ new Map();
177
+ for (let el of svg.querySelectorAll("image")) {
178
+ let href = el.getAttribute("href") ?? el.getAttribute("xlink:href");
179
+ if (href.startsWith("data:")) continue;
180
+ try {
181
+ let response = await fetch(href);
182
+ if (!response.ok) throw new Error(`Failed to fetch image: ${response.status}`);
183
+ cache.set(href, await blobToDataURL(await response.blob()));
184
+ } catch (e) {
185
+ console.warn(`Failed to inline image ${href}: ${e.message}`);
186
+ }
187
+ if (cache.has(href)) el.setAttribute("href", cache.get(href));
188
+ }
189
+ return new XMLSerializer().serializeToString(svg);
190
+ }
191
+ export { dropNull, emitEvent, expandFragment, exportSVG, parseLinetype, pointerEvents, serializeSVG, useEventClone };
@@ -0,0 +1 @@
1
+ import{Fragment as e,computed as t}from"vue";function n(t){return t==null?[]:t.flatMap(t=>t.type==e?n(t.children):t.type==`template`?n(t.children).map(e=>(e.props={...e.props,...t.props},e)):t)}var r=/* @__PURE__ */ new WeakMap;function i(e){return t(()=>{let t=r.get(e);if(t)return t;let n={};for(let t in e)n[t]=e[t];n.bubbles=!1;let i=new PointerEvent(e.type,n);for(let t of Object.keys(e)){let n=Object.getOwnPropertyDescriptor(i,t);(!n||n.writable||n.set)&&(i[t]=e[t])}return r.set(e,i),i})}var a=[`click`,`contextmenu`,`singleclick`,`dblclick`,`pointerover`,`pointerout`,`pointerenter`,`pointerleave`,`pointermove`,`pointerdown`,`pointerup`,`wheel`];function o(e,...t){return Array.isArray(e)?(e=e.filter(e=>typeof e==`function`),e.length!==0&&(e.forEach(e=>e(...t)),!0)):typeof e==`function`&&(e(...t),!0)}function s(e){return e==null?[]:Array.isArray(e)?e:e===`solid`?[]:e===`dashed`?[4,4]:e===`dotted`?[1,3]:e===`dotdash`?[1,3,4,3]:e===`longdash`?[8,4]:e===`twodash`?[2,2,6,2]:e.includes(` `)?e.split(` `).map(e=>+e):e.split(``).map(e=>+(`0x`+e))}function c(e){return typeof e!=`object`||!e?e:Object.fromEntries(Object.entries(e).filter(([e,t])=>t!=null))}var l={"":1,px:1,in:96,cm:96/2.54,mm:96/25.4,pt:96/72,pc:16};function u(e){if(!(e instanceof SVGElement))return null;function t(e){let n=e.childNodes.length;for(;n--;){let r=e.childNodes[n];r.nodeType===Node.COMMENT_NODE?e.removeChild(r):r.nodeType===Node.ELEMENT_NODE&&(t(r),r.getAttribute(`style`)==``&&r.removeAttribute(`style`),r.getAttribute(`class`)==``&&r.removeAttribute(`class`))}}let n=e.cloneNode(!0),r=Array.from(e.querySelectorAll(`foreignObject`)),i=Array.from(n.querySelectorAll(`foreignObject`));for(let e=0;e<r.length;e++){let t=r[e],a=i[e],o=r[e].querySelector(`canvas`);if(!o)continue;let s=n.ownerDocument.createElementNS(`http://www.w3.org/2000/svg`,`image`);s.setAttribute(`href`,o.toDataURL()),s.setAttribute(`x`,t.getAttribute(`x`)),s.setAttribute(`y`,t.getAttribute(`y`)),s.setAttribute(`width`,t.getAttribute(`width`)),s.setAttribute(`height`,t.getAttribute(`height`)),a.parentNode.replaceChild(s,a)}for(let e of n.querySelectorAll(`.vvplot-interactive,foreignObject`))e.remove();return t(n),n.setAttribute(`xmlns`,`http://www.w3.org/2000/svg`),n.setAttribute(`xmlns:xlink`,`http://www.w3.org/1999/xlink`),n.setAttribute(`version`,`1.1`),n.removeAttribute(`width`),n.removeAttribute(`height`),n.setAttribute(`viewBox`,`0 0 ${e.scrollWidth} ${e.scrollHeight}`),n}function d(e,{unit:t=`mm`}={}){if(!(e instanceof SVGElement))return null;let n=u(e);return l[t]||(t=``),n.setAttribute(`width`,e.scrollWidth/l[t]+t),n.setAttribute(`height`,e.scrollHeight/l[t]+t),new XMLSerializer().serializeToString(n)}async function f(e,{unit:t=`mm`}={}){if(!(e instanceof SVGElement))return null;let n=u(e);l[t]||(t=``),n.setAttribute(`width`,e.scrollWidth/l[t]+t),n.setAttribute(`height`,e.scrollHeight/l[t]+t);let r=/* @__PURE__ */ new Map;for(let e of n.querySelectorAll(`image`)){let t=e.getAttribute(`href`)??e.getAttribute(`xlink:href`);if(!t.startsWith(`data:`)){try{let e=await fetch(t);if(!e.ok)throw Error(`Failed to fetch image: ${e.status}`);r.set(t,await blobToDataURL(await e.blob()))}catch(e){console.warn(`Failed to inline image ${t}: ${e.message}`)}r.has(t)&&e.setAttribute(`href`,r.get(t))}}return new XMLSerializer().serializeToString(n)}export{s as a,i as c,f as i,o as n,a as o,n as r,d as s,c as t};
@@ -0,0 +1,155 @@
1
+ import { ComponentOptionsMixin } from 'vue';
2
+ import { ComponentProvideOptions } from 'vue';
3
+ import { DefineComponent } from 'vue';
4
+ import { PublicProps } from 'vue';
5
+
6
+ declare const __VLS_component: DefineComponent< {}, {
7
+ resetRange({ x, y, xmin, xmax, ymin, ymax }?: {
8
+ x?: boolean | undefined;
9
+ y?: boolean | undefined;
10
+ xmin?: any;
11
+ xmax?: any;
12
+ ymin?: any;
13
+ ymax?: any;
14
+ }): {
15
+ xmin: any;
16
+ xmax: any;
17
+ ymin: any;
18
+ ymax: any;
19
+ };
20
+ resetRangeX({ min, max }?: {
21
+ min?: boolean | undefined;
22
+ max?: boolean | undefined;
23
+ }): {
24
+ xmin: any;
25
+ xmax: any;
26
+ ymin: any;
27
+ ymax: any;
28
+ };
29
+ resetRangeY({ min, max }?: {
30
+ min?: boolean | undefined;
31
+ max?: boolean | undefined;
32
+ }): {
33
+ xmin: any;
34
+ xmax: any;
35
+ ymin: any;
36
+ ymax: any;
37
+ };
38
+ svg: any;
39
+ serialize(options: any): string;
40
+ export(options: any): Promise<string>;
41
+ serializeLegend(options: any): any;
42
+ $emit: (event: "rangechange" | "resize" | "select" | "update:range" | "update:rangePreview", ...args: any[]) => void;
43
+ flip: boolean;
44
+ clip: boolean;
45
+ reverse?: Record<string, any> | undefined;
46
+ action?: Record<string, any> | unknown[] | undefined;
47
+ range?: Record<string, any> | undefined;
48
+ data?: unknown[] | undefined;
49
+ levels?: Record<string, any> | undefined;
50
+ scales?: Record<string, any> | undefined;
51
+ expandMult?: Record<string, any> | undefined;
52
+ theme?: Record<string, any> | unknown[] | undefined;
53
+ render?: string | undefined;
54
+ dpi?: number | undefined;
55
+ resize?: any;
56
+ minRange?: Record<string, any> | undefined;
57
+ expandAdd?: Record<string, any> | undefined;
58
+ axes?: Record<string, any> | unknown[] | undefined;
59
+ legendTeleport?: any;
60
+ aes?: Record<string, any> | undefined;
61
+ extend?: Record<string, any> | undefined;
62
+ rangePreview?: Record<string, any> | undefined;
63
+ $props: {
64
+ readonly flip?: boolean | undefined;
65
+ readonly clip?: boolean | undefined;
66
+ readonly reverse?: Record<string, any> | undefined;
67
+ readonly action?: Record<string, any> | unknown[] | undefined;
68
+ readonly range?: Record<string, any> | undefined;
69
+ readonly data?: unknown[] | undefined;
70
+ readonly levels?: Record<string, any> | undefined;
71
+ readonly scales?: Record<string, any> | undefined;
72
+ readonly expandMult?: Record<string, any> | undefined;
73
+ readonly theme?: Record<string, any> | unknown[] | undefined;
74
+ readonly render?: string | undefined;
75
+ readonly dpi?: number | undefined;
76
+ readonly resize?: any;
77
+ readonly minRange?: Record<string, any> | undefined;
78
+ readonly expandAdd?: Record<string, any> | undefined;
79
+ readonly axes?: Record<string, any> | unknown[] | undefined;
80
+ readonly legendTeleport?: any;
81
+ readonly aes?: Record<string, any> | undefined;
82
+ readonly extend?: Record<string, any> | undefined;
83
+ readonly rangePreview?: Record<string, any> | undefined;
84
+ };
85
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, any, any>;
86
+
87
+ declare type __VLS_TemplateResult = any;
88
+
89
+ declare type __VLS_WithTemplateSlots<T, S> = T & (new () => {
90
+ $slots: S;
91
+ });
92
+
93
+ export declare const VVAction: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
94
+
95
+ export declare const VVAxis: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
96
+
97
+ export declare const VVAxisBreak: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
98
+
99
+ export declare const VVAxisX: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
100
+
101
+ export declare const VVAxisY: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
102
+
103
+ export declare const VVGeom: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
104
+
105
+ export declare const VVGeomBar: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
106
+
107
+ export declare const VVGeomBlank: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
108
+
109
+ export declare const VVGeomBoxplot: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
110
+
111
+ export declare const VVGeomCol: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
112
+
113
+ export declare const VVGeomCurve: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
114
+
115
+ export declare const VVGeomDensity: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
116
+
117
+ export declare const VVGeomEllipse: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
118
+
119
+ export declare const VVGeomHistogram: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
120
+
121
+ export declare const VVGeomLine: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
122
+
123
+ export declare const VVGeomLinerange: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
124
+
125
+ export declare const VVGeomMarkdown: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
126
+
127
+ export declare const VVGeomMarkdownsegment: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
128
+
129
+ export declare const VVGeomPath: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
130
+
131
+ export declare const VVGeomPoint: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
132
+
133
+ export declare const VVGeomPolygon: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
134
+
135
+ export declare const VVGeomRect: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
136
+
137
+ export declare const VVGeomSegment: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
138
+
139
+ export declare const VVGeomShape: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
140
+
141
+ export declare const VVGeomStick: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
142
+
143
+ export declare const VVGeomText: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
144
+
145
+ export declare const VVGeomTextsegment: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
146
+
147
+ export declare const VVGeomTile: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
148
+
149
+ export declare const VVGeomViolin: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
150
+
151
+ export declare const VVPlot: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
152
+
153
+ export declare const VVSelection: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
154
+
155
+ export { }
@@ -0,0 +1,3 @@
1
+ import { _sfc_main as _sfc_main$29, _sfc_main$2 as _sfc_main$5, _sfc_main$3 as _sfc_main$30, _sfc_main$4 as _sfc_main, _sfc_main$5 as _sfc_main$2, _sfc_main$6 as _sfc_main$4, _sfc_main$7 as _sfc_main$3, _sfc_main$8 as _sfc_main$1 } from "./chunk-components.js";
2
+ import { _sfc_main as _sfc_main$28, _sfc_main$1 as _sfc_main$27, _sfc_main$10 as _sfc_main$18, _sfc_main$11 as _sfc_main$17, _sfc_main$12 as _sfc_main$16, _sfc_main$13 as _sfc_main$15, _sfc_main$14, _sfc_main$15 as _sfc_main$13, _sfc_main$16 as _sfc_main$12, _sfc_main$17 as _sfc_main$11, _sfc_main$18 as _sfc_main$10, _sfc_main$19 as _sfc_main$9, _sfc_main$2 as _sfc_main$26, _sfc_main$20 as _sfc_main$8, _sfc_main$21 as _sfc_main$7, _sfc_main$22 as _sfc_main$6, _sfc_main$3 as _sfc_main$25, _sfc_main$4 as _sfc_main$24, _sfc_main$5 as _sfc_main$23, _sfc_main$6 as _sfc_main$22, _sfc_main$7 as _sfc_main$21, _sfc_main$8 as _sfc_main$20, _sfc_main$9 as _sfc_main$19 } from "./chunk-GeomViolin.js";
3
+ export { _sfc_main as VVAction, _sfc_main$1 as VVAxis, _sfc_main$2 as VVAxisBreak, _sfc_main$3 as VVAxisX, _sfc_main$4 as VVAxisY, _sfc_main$5 as VVGeom, _sfc_main$6 as VVGeomBar, _sfc_main$7 as VVGeomBlank, _sfc_main$8 as VVGeomBoxplot, _sfc_main$9 as VVGeomCol, _sfc_main$10 as VVGeomCurve, _sfc_main$11 as VVGeomDensity, _sfc_main$12 as VVGeomEllipse, _sfc_main$13 as VVGeomHistogram, _sfc_main$14 as VVGeomLine, _sfc_main$15 as VVGeomLinerange, _sfc_main$16 as VVGeomMarkdown, _sfc_main$17 as VVGeomMarkdownsegment, _sfc_main$18 as VVGeomPath, _sfc_main$19 as VVGeomPoint, _sfc_main$20 as VVGeomPolygon, _sfc_main$21 as VVGeomRect, _sfc_main$22 as VVGeomSegment, _sfc_main$23 as VVGeomShape, _sfc_main$24 as VVGeomStick, _sfc_main$25 as VVGeomText, _sfc_main$26 as VVGeomTextsegment, _sfc_main$27 as VVGeomTile, _sfc_main$28 as VVGeomViolin, _sfc_main$29 as VVPlot, _sfc_main$30 as VVSelection };
@@ -0,0 +1 @@
1
+ import{d as e,f as t,h as n,l as r,m as i,n as a,p as o,u as s}from"./chunk-components.min.js";import{C as c,S as l,_ as u,a as d,b as f,c as p,d as m,f as h,g,h as _,i as v,l as y,m as b,n as x,o as S,p as C,r as w,s as T,t as E,u as D,v as O,x as k,y as A}from"./chunk-GeomViolin.min.js";export{e as VVAction,n as VVAxis,t as VVAxisBreak,i as VVAxisX,o as VVAxisY,r as VVGeom,c as VVGeomBar,l as VVGeomBlank,k as VVGeomBoxplot,f as VVGeomCol,A as VVGeomCurve,O as VVGeomDensity,u as VVGeomEllipse,g as VVGeomHistogram,_ as VVGeomLine,b as VVGeomLinerange,C as VVGeomMarkdown,h as VVGeomMarkdownsegment,m as VVGeomPath,D as VVGeomPoint,y as VVGeomPolygon,p as VVGeomRect,T as VVGeomSegment,S as VVGeomShape,d as VVGeomStick,v as VVGeomText,w as VVGeomTextsegment,x as VVGeomTile,E as VVGeomViolin,a as VVPlot,s as VVSelection};
@@ -0,0 +1 @@
1
+ export { }
@@ -0,0 +1 @@
1
+ export { Asis, EnumElement, EnumLevel, categorize, deepEqual, interaction, intraaction, intrazip, is_categorical, is_continuous, numutils, obj_merge, oob_censor, oob_squish_any, oob_squish_infinite, plus, str_c, unique, vecutils } from "./chunk-utils.js";
@@ -0,0 +1 @@
1
+ export{t as Asis,n as EnumElement,r as EnumLevel,i as categorize,a as deepEqual,o as interaction,s as intraaction,c as intrazip,l as is_categorical,u as is_continuous,d as numutils,f as obj_merge,p as oob_censor,m as oob_squish_any,h as oob_squish_infinite,g as plus,_ as str_c,v as unique,b as vecutils}from"./chunk-utils.min.js";