@unovis/vue 1.7.0-pre.1 → 1.7.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/README.md +4 -0
- package/components/annotations/index.cjs +1 -1
- package/components/annotations/index.cjs.map +1 -1
- package/components/annotations/index.d.ts +18 -100
- package/components/annotations/index.js +18 -20
- package/components/annotations/index.js.map +1 -1
- package/components/area/index.cjs +1 -1
- package/components/area/index.cjs.map +1 -1
- package/components/area/index.d.ts +12 -64
- package/components/area/index.js +31 -32
- package/components/area/index.js.map +1 -1
- package/components/axis/index.cjs +1 -1
- package/components/axis/index.cjs.map +1 -1
- package/components/axis/index.d.ts +12 -82
- package/components/axis/index.js +29 -28
- package/components/axis/index.js.map +1 -1
- package/components/boxplot/index.cjs +2 -0
- package/components/boxplot/index.cjs.map +1 -0
- package/components/boxplot/index.d.ts +19 -0
- package/components/boxplot/index.js +31 -0
- package/components/boxplot/index.js.map +1 -0
- package/components/boxplot/index2.cjs +2 -0
- package/components/boxplot/index2.cjs.map +1 -0
- package/components/boxplot/index2.js +7 -0
- package/components/boxplot/index2.js.map +1 -0
- package/components/brush/index.cjs +1 -1
- package/components/brush/index.cjs.map +1 -1
- package/components/brush/index.d.ts +12 -62
- package/components/brush/index.js +26 -28
- package/components/brush/index.js.map +1 -1
- package/components/chord-diagram/index.cjs +1 -1
- package/components/chord-diagram/index.cjs.map +1 -1
- package/components/chord-diagram/index.d.ts +12 -60
- package/components/chord-diagram/index.js +30 -32
- package/components/chord-diagram/index.js.map +1 -1
- package/components/crosshair/index.cjs +1 -1
- package/components/crosshair/index.cjs.map +1 -1
- package/components/crosshair/index.d.ts +12 -66
- package/components/crosshair/index.js +20 -24
- package/components/crosshair/index.js.map +1 -1
- package/components/donut/index.cjs +1 -1
- package/components/donut/index.cjs.map +1 -1
- package/components/donut/index.d.ts +12 -64
- package/components/donut/index.js +24 -26
- package/components/donut/index.js.map +1 -1
- package/components/free-brush/index.cjs +1 -1
- package/components/free-brush/index.cjs.map +1 -1
- package/components/free-brush/index.d.ts +12 -62
- package/components/free-brush/index.js +25 -28
- package/components/free-brush/index.js.map +1 -1
- package/components/graph/index.cjs +1 -1
- package/components/graph/index.cjs.map +1 -1
- package/components/graph/index.d.ts +11 -135
- package/components/graph/index.js +70 -66
- package/components/graph/index.js.map +1 -1
- package/components/grouped-bar/index.cjs +1 -1
- package/components/grouped-bar/index.cjs.map +1 -1
- package/components/grouped-bar/index.d.ts +12 -62
- package/components/grouped-bar/index.js +27 -28
- package/components/grouped-bar/index.js.map +1 -1
- package/components/heatmap/index.cjs +2 -0
- package/components/heatmap/index.cjs.map +1 -0
- package/components/heatmap/index.d.ts +19 -0
- package/components/heatmap/index.js +49 -0
- package/components/heatmap/index.js.map +1 -0
- package/components/heatmap/index2.cjs +2 -0
- package/components/heatmap/index2.cjs.map +1 -0
- package/components/heatmap/index2.js +7 -0
- package/components/heatmap/index2.js.map +1 -0
- package/components/line/index.cjs +1 -1
- package/components/line/index.cjs.map +1 -1
- package/components/line/index.d.ts +12 -60
- package/components/line/index.js +28 -30
- package/components/line/index.js.map +1 -1
- package/components/nested-donut/index.cjs +1 -1
- package/components/nested-donut/index.cjs.map +1 -1
- package/components/nested-donut/index.d.ts +12 -65
- package/components/nested-donut/index.js +26 -29
- package/components/nested-donut/index.js.map +1 -1
- package/components/plotband/index.cjs +1 -1
- package/components/plotband/index.cjs.map +1 -1
- package/components/plotband/index.d.ts +12 -63
- package/components/plotband/index.js +17 -18
- package/components/plotband/index.js.map +1 -1
- package/components/plotline/index.cjs +1 -1
- package/components/plotline/index.cjs.map +1 -1
- package/components/plotline/index.d.ts +12 -64
- package/components/plotline/index.js +18 -19
- package/components/plotline/index.js.map +1 -1
- package/components/radial-bar/index.cjs +2 -0
- package/components/radial-bar/index.cjs.map +1 -0
- package/components/radial-bar/index.d.ts +19 -0
- package/components/radial-bar/index.js +54 -0
- package/components/radial-bar/index.js.map +1 -0
- package/components/radial-bar/index2.cjs +2 -0
- package/components/radial-bar/index2.cjs.map +1 -0
- package/components/radial-bar/index2.js +7 -0
- package/components/radial-bar/index2.js.map +1 -0
- package/components/sankey/index.cjs +1 -1
- package/components/sankey/index.cjs.map +1 -1
- package/components/sankey/index.d.ts +12 -106
- package/components/sankey/index.js +42 -41
- package/components/sankey/index.js.map +1 -1
- package/components/scatter/index.cjs +1 -1
- package/components/scatter/index.cjs.map +1 -1
- package/components/scatter/index.d.ts +12 -65
- package/components/scatter/index.js +33 -35
- package/components/scatter/index.js.map +1 -1
- package/components/stacked-bar/index.cjs +1 -1
- package/components/stacked-bar/index.cjs.map +1 -1
- package/components/stacked-bar/index.d.ts +12 -62
- package/components/stacked-bar/index.js +29 -29
- package/components/stacked-bar/index.js.map +1 -1
- package/components/timeline/index.cjs +1 -1
- package/components/timeline/index.cjs.map +1 -1
- package/components/timeline/index.d.ts +12 -88
- package/components/timeline/index.js +20 -24
- package/components/timeline/index.js.map +1 -1
- package/components/tooltip/index.cjs +1 -1
- package/components/tooltip/index.cjs.map +1 -1
- package/components/tooltip/index.d.ts +19 -99
- package/components/tooltip/index.js +15 -17
- package/components/tooltip/index.js.map +1 -1
- package/components/topojson-map/index.cjs +1 -1
- package/components/topojson-map/index.cjs.map +1 -1
- package/components/topojson-map/index.d.ts +12 -78
- package/components/topojson-map/index.js +66 -39
- package/components/topojson-map/index.js.map +1 -1
- package/components/treemap/index.cjs +1 -1
- package/components/treemap/index.cjs.map +1 -1
- package/components/treemap/index.d.ts +12 -69
- package/components/treemap/index.js +25 -26
- package/components/treemap/index.js.map +1 -1
- package/components/xy-labels/index.cjs +1 -1
- package/components/xy-labels/index.cjs.map +1 -1
- package/components/xy-labels/index.d.ts +12 -66
- package/components/xy-labels/index.js +36 -39
- package/components/xy-labels/index.js.map +1 -1
- package/components.d.ts +30 -27
- package/containers/single-container/index.cjs +1 -1
- package/containers/single-container/index.cjs.map +1 -1
- package/containers/single-container/index.d.ts +11 -26
- package/containers/single-container/index.js +26 -26
- package/containers/single-container/index.js.map +1 -1
- package/containers/xy-container/index.cjs +1 -1
- package/containers/xy-container/index.cjs.map +1 -1
- package/containers/xy-container/index.d.ts +12 -45
- package/containers/xy-container/index.js +25 -30
- package/containers/xy-container/index.js.map +1 -1
- package/containers.d.ts +2 -2
- package/html-components/bullet-legend/index.cjs +1 -1
- package/html-components/bullet-legend/index.cjs.map +1 -1
- package/html-components/bullet-legend/index.d.ts +18 -74
- package/html-components/bullet-legend/index.js +24 -25
- package/html-components/bullet-legend/index.js.map +1 -1
- package/html-components/flow-legend/index.cjs +1 -1
- package/html-components/flow-legend/index.cjs.map +1 -1
- package/html-components/flow-legend/index.d.ts +19 -85
- package/html-components/flow-legend/index.js +21 -23
- package/html-components/flow-legend/index.js.map +1 -1
- package/html-components/leaflet-flow-map/index.cjs +1 -1
- package/html-components/leaflet-flow-map/index.cjs.map +1 -1
- package/html-components/leaflet-flow-map/index.d.ts +12 -112
- package/html-components/leaflet-flow-map/index.js +46 -48
- package/html-components/leaflet-flow-map/index.js.map +1 -1
- package/html-components/leaflet-map/index.cjs +1 -1
- package/html-components/leaflet-map/index.cjs.map +1 -1
- package/html-components/leaflet-map/index.d.ts +12 -99
- package/html-components/leaflet-map/index.js +37 -39
- package/html-components/leaflet-map/index.js.map +1 -1
- package/html-components/rolling-pin-legend/index.cjs +1 -1
- package/html-components/rolling-pin-legend/index.cjs.map +1 -1
- package/html-components/rolling-pin-legend/index.d.ts +18 -50
- package/html-components/rolling-pin-legend/index.js +22 -24
- package/html-components/rolling-pin-legend/index.js.map +1 -1
- package/index.cjs +2 -2
- package/index.js +101 -92
- package/index.js.map +1 -1
- package/package.json +14 -13
- package/utils/context.cjs.map +1 -1
- package/utils/context.d.ts +1 -0
- package/utils/context.js +1 -1
- package/utils/context.js.map +1 -1
- package/utils/props.cjs +1 -1
- package/utils/props.cjs.map +1 -1
- package/utils/props.d.ts +2 -4
- package/utils/props.js +9 -9
- package/utils/props.js.map +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { LeafletMap as
|
|
3
|
-
import { useForwardProps as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as d, computed as y, ref as a, onMounted as f, nextTick as m, onUnmounted as F, watch as r, openBlock as g, createElementBlock as v } from "vue";
|
|
2
|
+
import { LeafletMap as p } from "@unovis/ts";
|
|
3
|
+
import { useForwardProps as S, arePropsEqual as M } from "../../utils/props.js";
|
|
4
|
+
const h = p.selectors, k = /* @__PURE__ */ d({
|
|
5
5
|
__name: "index",
|
|
6
6
|
props: {
|
|
7
7
|
width: {},
|
|
@@ -18,6 +18,7 @@ const F = s.selectors, w = /* @__PURE__ */ f({
|
|
|
18
18
|
accessToken: {},
|
|
19
19
|
attribution: {},
|
|
20
20
|
renderer: {},
|
|
21
|
+
preserveDrawingBuffer: { type: Boolean },
|
|
21
22
|
onMapInitialized: { type: Function },
|
|
22
23
|
onMapMoveZoom: { type: Function },
|
|
23
24
|
onMapMoveStart: { type: Function },
|
|
@@ -25,23 +26,23 @@ const F = s.selectors, w = /* @__PURE__ */ f({
|
|
|
25
26
|
onMapZoomStart: { type: Function },
|
|
26
27
|
onMapZoomEnd: { type: Function },
|
|
27
28
|
onMapClick: { type: Function },
|
|
28
|
-
pointLongitude: {},
|
|
29
|
-
pointLatitude: {},
|
|
30
|
-
pointId: {},
|
|
31
|
-
pointShape: {},
|
|
32
|
-
pointColor: {},
|
|
33
|
-
pointRadius: {},
|
|
34
|
-
pointLabel: {},
|
|
35
|
-
pointLabelColor: {},
|
|
36
|
-
pointBottomLabel: {},
|
|
37
|
-
pointCursor: {},
|
|
29
|
+
pointLongitude: { type: [Function, Number, null] },
|
|
30
|
+
pointLatitude: { type: [Function, Number, null] },
|
|
31
|
+
pointId: { type: [Function, String, null] },
|
|
32
|
+
pointShape: { type: [Function, String, null] },
|
|
33
|
+
pointColor: { type: [Function, String, Array, null] },
|
|
34
|
+
pointRadius: { type: [Function, Number, null] },
|
|
35
|
+
pointLabel: { type: [Function, String, null] },
|
|
36
|
+
pointLabelColor: { type: [Function, String, null] },
|
|
37
|
+
pointBottomLabel: { type: [Function, String, null] },
|
|
38
|
+
pointCursor: { type: [Function, String, null] },
|
|
38
39
|
pointRingWidth: {},
|
|
39
40
|
selectedPointId: {},
|
|
40
|
-
clusterColor: {},
|
|
41
|
-
clusterRadius: {},
|
|
42
|
-
clusterLabel: {},
|
|
43
|
-
clusterLabelColor: {},
|
|
44
|
-
clusterBottomLabel: {},
|
|
41
|
+
clusterColor: { type: [Function, String, Array, null] },
|
|
42
|
+
clusterRadius: { type: [Function, Number, null] },
|
|
43
|
+
clusterLabel: { type: [Function, String, null] },
|
|
44
|
+
clusterLabelColor: { type: [Function, String, null] },
|
|
45
|
+
clusterBottomLabel: { type: [Function, String, null] },
|
|
45
46
|
clusterRingWidth: {},
|
|
46
47
|
clusterBackground: { type: Boolean },
|
|
47
48
|
clusterExpandOnClick: { type: Boolean },
|
|
@@ -55,32 +56,29 @@ const F = s.selectors, w = /* @__PURE__ */ f({
|
|
|
55
56
|
attributes: {},
|
|
56
57
|
data: {}
|
|
57
58
|
},
|
|
58
|
-
setup(c, { expose:
|
|
59
|
-
const i = c,
|
|
60
|
-
return
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
setup(c, { expose: s }) {
|
|
60
|
+
const i = c, n = y(() => i.data), e = S(i), t = a(), o = a();
|
|
61
|
+
return f(() => {
|
|
62
|
+
m(() => {
|
|
63
|
+
o.value && (t.value = new p(o.value, e.value, n.value));
|
|
63
64
|
});
|
|
64
|
-
}),
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}),
|
|
71
|
-
var e;
|
|
72
|
-
(e = t.value) == null || e.setData(o.value);
|
|
73
|
-
}), d({
|
|
65
|
+
}), F(() => {
|
|
66
|
+
t.value?.destroy();
|
|
67
|
+
}), r(e, (l, u) => {
|
|
68
|
+
M(l, u) || (t.value?.setConfig(e.value), t.value?.render());
|
|
69
|
+
}), r(n, () => {
|
|
70
|
+
t.value?.setData(n.value);
|
|
71
|
+
}), s({
|
|
74
72
|
component: t
|
|
75
|
-
}), (
|
|
76
|
-
"data-vis-leaflet-map": "",
|
|
73
|
+
}), (l, u) => (g(), v("div", {
|
|
77
74
|
ref_key: "elRef",
|
|
78
|
-
ref:
|
|
75
|
+
ref: o,
|
|
76
|
+
"data-vis-leaflet-map": ""
|
|
79
77
|
}, null, 512));
|
|
80
78
|
}
|
|
81
79
|
});
|
|
82
80
|
export {
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
h as VisLeafletMapSelectors,
|
|
82
|
+
k as default
|
|
85
83
|
};
|
|
86
84
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/html-components/leaflet-map/index.vue"],"sourcesContent":["<script setup lang=\"ts\" generic=\"Datum extends GenericDataRecord\">\n// !!! This code was automatically generated. You should not change it !!!\nimport {
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/html-components/leaflet-map/index.vue"],"sourcesContent":["<script setup lang=\"ts\" generic=\"Datum extends GenericDataRecord\">\n// !!! This code was automatically generated. You should not change it !!!\nimport type { GenericDataRecord, LeafletMapConfigInterface } from '@unovis/ts'\nimport { LeafletMap } from '@unovis/ts'\nimport { computed, nextTick, onMounted, onUnmounted, ref, watch } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\n\n// data and required props\ntype Props = LeafletMapConfigInterface<Datum>\nconst props = defineProps<Props & { data?: Datum[] }>()\n\nconst data = computed(() => props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<LeafletMap<Datum>>()\nconst elRef = ref<HTMLDivElement>()\n\nonMounted(() => {\n nextTick(() => {\n if (elRef.value)\n component.value = new LeafletMap<Datum>(elRef.value, config.value, data.value)\n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.setConfig(config.value)\n component.value?.render()\n }\n})\n\nwatch(data, () => {\n component.value?.setData(data.value)\n})\n\ndefineExpose({\n component,\n})\n</script>\n\n<script lang=\"ts\">\nexport const VisLeafletMapSelectors = LeafletMap.selectors\n</script>\n\n<template>\n <div ref=\"elRef\" data-vis-leaflet-map />\n</template>\n\n<style>\n [data-vis-leaflet-map] {\n display:block;\n position:relative;\n }\n</style>\n"],"names":["VisLeafletMapSelectors","LeafletMap","props","__props","data","computed","config","useForwardProps","component","ref","elRef","onMounted","nextTick","onUnmounted","watch","curr","prev","arePropsEqual","__expose","_createElementBlock"],"mappings":";;;AA+CO,MAAMA,IAAyBC,EAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAtCjD,UAAMC,IAAQC,GAERC,IAAOC,EAAS,MAAMH,EAAM,IAAI,GAEhCI,IAASC,EAAgBL,CAAK,GAG9BM,IAAYC,EAAA,GACZC,IAAQD,EAAA;AAEd,WAAAE,EAAU,MAAM;AACd,MAAAC,EAAS,MAAM;AACb,QAAIF,EAAM,UACRF,EAAU,QAAQ,IAAIP,EAAkBS,EAAM,OAAOJ,EAAO,OAAOF,EAAK,KAAK;AAAA,MACjF,CAAC;AAAA,IACH,CAAC,GAEDS,EAAY,MAAM;AAChB,MAAAL,EAAU,OAAO,QAAA;AAAA,IACnB,CAAC,GAEDM,EAAMR,GAAQ,CAACS,GAAMC,MAAS;AAC5B,MAAKC,EAAcF,GAAMC,CAAI,MAC3BR,EAAU,OAAO,UAAUF,EAAO,KAAK,GACvCE,EAAU,OAAO,OAAA;AAAA,IAErB,CAAC,GAEDM,EAAMV,GAAM,MAAM;AAChB,MAAAI,EAAU,OAAO,QAAQJ,EAAK,KAAK;AAAA,IACrC,CAAC,GAEDc,EAAa;AAAA,MACX,WAAAV;AAAA,IAAA,CACD,mBAQCW,EAAwC,OAAA;AAAA,eAA/B;AAAA,MAAJ,KAAIT;AAAA,MAAQ,wBAAA;AAAA,IAAA;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("@unovis/ts"),a=require("../../utils/props.cjs"),d=i.RollingPinLegend.selectors,p=e.defineComponent({__name:"index",props:{rects:{},leftLabelText:{},rightLabelText:{},labelClassName:{},labelFontSize:{},renderIntoProvidedDomNode:{type:Boolean},data:{}},setup(u,{expose:c}){const l=u;e.computed(()=>l.data);const o=a.useForwardProps(l),n=e.ref(),t=e.ref();return e.onMounted(()=>{e.nextTick(()=>{t.value&&(n.value=new i.RollingPinLegend(t.value,o.value))})}),e.onUnmounted(()=>{n.value?.destroy()}),e.watch(o,(r,s)=>{a.arePropsEqual(r,s)||(n.value?.setConfig(o.value),n.value?.render())}),c({component:n}),(r,s)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"elRef",ref:t,"data-vis-rolling-pin-legend":""},null,512))}});exports.VisRollingPinLegendSelectors=d;exports.default=p;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/html-components/rolling-pin-legend/index.vue"],"sourcesContent":["<script setup lang=\"ts\"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/html-components/rolling-pin-legend/index.vue"],"sourcesContent":["<script setup lang=\"ts\">\n// !!! This code was automatically generated. You should not change it !!!\nimport type { RollingPinLegendConfigInterface } from '@unovis/ts'\nimport { RollingPinLegend } from '@unovis/ts'\nimport { computed, nextTick, onMounted, onUnmounted, ref, watch } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\n\n// data and required props\ntype Props = RollingPinLegendConfigInterface\nconst props = defineProps<Props & { data?: null }>()\n\nconst data = computed(() => props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<RollingPinLegend>()\nconst elRef = ref<HTMLDivElement>()\n\nonMounted(() => {\n nextTick(() => {\n if (elRef.value)\n component.value = new RollingPinLegend(elRef.value, config.value)\n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.setConfig(config.value)\n component.value?.render()\n }\n})\n\ndefineExpose({\n component,\n})\n</script>\n\n<script lang=\"ts\">\nexport const VisRollingPinLegendSelectors = RollingPinLegend.selectors\n</script>\n\n<template>\n <div ref=\"elRef\" data-vis-rolling-pin-legend />\n</template>\n\n<style>\n [data-vis-rolling-pin-legend] {\n display:block;\n }\n</style>\n"],"names":["VisRollingPinLegendSelectors","RollingPinLegend","props","__props","computed","config","useForwardProps","component","ref","elRef","onMounted","nextTick","onUnmounted","watch","curr","prev","arePropsEqual","__expose","_createElementBlock"],"mappings":"8LA2CaA,EAA+BC,EAAAA,iBAAiB,0MAlC7D,MAAMC,EAAQC,EAEDC,EAAAA,SAAS,IAAMF,EAAM,IAAI,EAEtC,MAAMG,EAASC,EAAAA,gBAAgBJ,CAAK,EAG9BK,EAAYC,EAAAA,IAAA,EACZC,EAAQD,EAAAA,IAAA,EAEdE,OAAAA,EAAAA,UAAU,IAAM,CACdC,EAAAA,SAAS,IAAM,CACTF,EAAM,QACRF,EAAU,MAAQ,IAAIN,EAAAA,iBAAiBQ,EAAM,MAAOJ,EAAO,KAAK,EACpE,CAAC,CACH,CAAC,EAEDO,EAAAA,YAAY,IAAM,CAChBL,EAAU,OAAO,QAAA,CACnB,CAAC,EAEDM,EAAAA,MAAMR,EAAQ,CAACS,EAAMC,IAAS,CACvBC,EAAAA,cAAcF,EAAMC,CAAI,IAC3BR,EAAU,OAAO,UAAUF,EAAO,KAAK,EACvCE,EAAU,OAAO,OAAA,EAErB,CAAC,EAEDU,EAAa,CACX,UAAAV,CAAA,CACD,wBAQCW,EAAAA,mBAA+C,MAAA,SAAtC,QAAJ,IAAIT,EAAQ,8BAAA,EAAA"}
|
|
@@ -1,52 +1,20 @@
|
|
|
1
|
-
import { RollingPinLegend } from '@unovis/ts';
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
type: import(
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
type: import("vue").PropType<string>;
|
|
19
|
-
};
|
|
20
|
-
renderIntoProvidedDomNode: {
|
|
21
|
-
type: import("vue").PropType<boolean>;
|
|
22
|
-
};
|
|
23
|
-
data: {
|
|
24
|
-
type: import("vue").PropType<never>;
|
|
25
|
-
};
|
|
26
|
-
}>, {
|
|
27
|
-
component: import("vue").Ref<RollingPinLegend, RollingPinLegend>;
|
|
28
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
-
rects: {
|
|
30
|
-
type: import("vue").PropType<string[]>;
|
|
1
|
+
import { RollingPinLegendConfigInterface, RollingPinLegend } from '@unovis/ts';
|
|
2
|
+
|
|
3
|
+
export declare const VisRollingPinLegendSelectors: typeof import("@unovis/ts/components/rolling-pin-legend/style");
|
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<RollingPinLegendConfigInterface & {
|
|
5
|
+
data?: null;
|
|
6
|
+
}>>, {
|
|
7
|
+
component: import('vue').Ref<RollingPinLegend, RollingPinLegend>;
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<RollingPinLegendConfigInterface & {
|
|
9
|
+
data?: null;
|
|
10
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
31
18
|
required: true;
|
|
32
19
|
};
|
|
33
|
-
|
|
34
|
-
type: import("vue").PropType<string>;
|
|
35
|
-
};
|
|
36
|
-
rightLabelText: {
|
|
37
|
-
type: import("vue").PropType<string>;
|
|
38
|
-
};
|
|
39
|
-
labelClassName: {
|
|
40
|
-
type: import("vue").PropType<string>;
|
|
41
|
-
};
|
|
42
|
-
labelFontSize: {
|
|
43
|
-
type: import("vue").PropType<string>;
|
|
44
|
-
};
|
|
45
|
-
renderIntoProvidedDomNode: {
|
|
46
|
-
type: import("vue").PropType<boolean>;
|
|
47
|
-
};
|
|
48
|
-
data: {
|
|
49
|
-
type: import("vue").PropType<never>;
|
|
50
|
-
};
|
|
51
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
52
|
-
export default _default;
|
|
20
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { RollingPinLegend as
|
|
3
|
-
import { useForwardProps as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as d, computed as p, ref as a, onMounted as u, nextTick as f, onUnmounted as m, watch as v, openBlock as g, createElementBlock as x } from "vue";
|
|
2
|
+
import { RollingPinLegend as s } from "@unovis/ts";
|
|
3
|
+
import { useForwardProps as _, arePropsEqual as P } from "../../utils/props.js";
|
|
4
|
+
const R = s.selectors, h = /* @__PURE__ */ d({
|
|
5
5
|
__name: "index",
|
|
6
6
|
props: {
|
|
7
7
|
rects: {},
|
|
@@ -12,31 +12,29 @@ const h = i.selectors, w = /* @__PURE__ */ p({
|
|
|
12
12
|
renderIntoProvidedDomNode: { type: Boolean },
|
|
13
13
|
data: {}
|
|
14
14
|
},
|
|
15
|
-
setup(
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
const
|
|
19
|
-
return
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
setup(i, { expose: c }) {
|
|
16
|
+
const t = i;
|
|
17
|
+
p(() => t.data);
|
|
18
|
+
const o = _(t), e = a(), n = a();
|
|
19
|
+
return u(() => {
|
|
20
|
+
f(() => {
|
|
21
|
+
n.value && (e.value = new s(n.value, o.value));
|
|
22
22
|
});
|
|
23
|
-
}),
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}),
|
|
30
|
-
component: o
|
|
31
|
-
}), (e, r) => (_(), x("div", {
|
|
32
|
-
"data-vis-rolling-pin-legend": "",
|
|
23
|
+
}), m(() => {
|
|
24
|
+
e.value?.destroy();
|
|
25
|
+
}), v(o, (l, r) => {
|
|
26
|
+
P(l, r) || (e.value?.setConfig(o.value), e.value?.render());
|
|
27
|
+
}), c({
|
|
28
|
+
component: e
|
|
29
|
+
}), (l, r) => (g(), x("div", {
|
|
33
30
|
ref_key: "elRef",
|
|
34
|
-
ref:
|
|
31
|
+
ref: n,
|
|
32
|
+
"data-vis-rolling-pin-legend": ""
|
|
35
33
|
}, null, 512));
|
|
36
34
|
}
|
|
37
35
|
});
|
|
38
36
|
export {
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
R as VisRollingPinLegendSelectors,
|
|
38
|
+
h as default
|
|
41
39
|
};
|
|
42
40
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/html-components/rolling-pin-legend/index.vue"],"sourcesContent":["<script setup lang=\"ts\"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/html-components/rolling-pin-legend/index.vue"],"sourcesContent":["<script setup lang=\"ts\">\n// !!! This code was automatically generated. You should not change it !!!\nimport type { RollingPinLegendConfigInterface } from '@unovis/ts'\nimport { RollingPinLegend } from '@unovis/ts'\nimport { computed, nextTick, onMounted, onUnmounted, ref, watch } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\n\n// data and required props\ntype Props = RollingPinLegendConfigInterface\nconst props = defineProps<Props & { data?: null }>()\n\nconst data = computed(() => props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<RollingPinLegend>()\nconst elRef = ref<HTMLDivElement>()\n\nonMounted(() => {\n nextTick(() => {\n if (elRef.value)\n component.value = new RollingPinLegend(elRef.value, config.value)\n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.setConfig(config.value)\n component.value?.render()\n }\n})\n\ndefineExpose({\n component,\n})\n</script>\n\n<script lang=\"ts\">\nexport const VisRollingPinLegendSelectors = RollingPinLegend.selectors\n</script>\n\n<template>\n <div ref=\"elRef\" data-vis-rolling-pin-legend />\n</template>\n\n<style>\n [data-vis-rolling-pin-legend] {\n display:block;\n }\n</style>\n"],"names":["VisRollingPinLegendSelectors","RollingPinLegend","props","__props","computed","config","useForwardProps","component","ref","elRef","onMounted","nextTick","onUnmounted","watch","curr","prev","arePropsEqual","__expose","_createElementBlock"],"mappings":";;;AA2CO,MAAMA,IAA+BC,EAAiB;;;;;;;;;;;;AAlC7D,UAAMC,IAAQC;AAED,IAAAC,EAAS,MAAMF,EAAM,IAAI;AAEtC,UAAMG,IAASC,EAAgBJ,CAAK,GAG9BK,IAAYC,EAAA,GACZC,IAAQD,EAAA;AAEd,WAAAE,EAAU,MAAM;AACd,MAAAC,EAAS,MAAM;AACb,QAAIF,EAAM,UACRF,EAAU,QAAQ,IAAIN,EAAiBQ,EAAM,OAAOJ,EAAO,KAAK;AAAA,MACpE,CAAC;AAAA,IACH,CAAC,GAEDO,EAAY,MAAM;AAChB,MAAAL,EAAU,OAAO,QAAA;AAAA,IACnB,CAAC,GAEDM,EAAMR,GAAQ,CAACS,GAAMC,MAAS;AAC5B,MAAKC,EAAcF,GAAMC,CAAI,MAC3BR,EAAU,OAAO,UAAUF,EAAO,KAAK,GACvCE,EAAU,OAAO,OAAA;AAAA,IAErB,CAAC,GAEDU,EAAa;AAAA,MACX,WAAAV;AAAA,IAAA,CACD,mBAQCW,EAA+C,OAAA;AAAA,eAAtC;AAAA,MAAJ,KAAIT;AAAA,MAAQ,+BAAA;AAAA,IAAA;;;"}
|
package/index.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("[data-vis-bullet-legend],[data-vis-flow-legend]{display:block}[data-vis-leaflet-flow-map],[data-vis-leaflet-map]{display:block;position:relative}[data-vis-rolling-pin-legend]{display:block}.unovis-single-container,.unovis-xy-container{display:block;position:relative;width:100%}")),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./components/annotations/index.cjs"),t=require("./components/area/index.cjs"),s=require("./components/axis/index.cjs"),r=require("./components/boxplot/index.cjs"),i=require("./components/brush/index.cjs"),_=require("./html-components/bullet-legend/index.cjs");;const u=require("./components/chord-diagram/index.cjs"),l=require("./components/crosshair/index.cjs"),o=require("./components/donut/index.cjs"),n=require("./html-components/flow-legend/index.cjs");;const a=require("./components/free-brush/index.cjs"),c=require("./components/graph/index.cjs"),p=require("./components/grouped-bar/index.cjs"),d=require("./components/heatmap/index.cjs"),V=require("./html-components/leaflet-flow-map/index.cjs");;const S=require("./html-components/leaflet-map/index.cjs");;const v=require("./components/line/index.cjs"),g=require("./components/nested-donut/index.cjs"),f=require("./components/plotband/index.cjs"),q=require("./components/plotline/index.cjs"),x=require("./components/radial-bar/index.cjs"),y=require("./html-components/rolling-pin-legend/index.cjs");;const $=require("./components/sankey/index.cjs"),B=require("./components/scatter/index.cjs"),b=require("./containers/single-container/index.cjs");;const L=require("./components/stacked-bar/index.cjs"),h=require("./components/timeline/index.cjs"),m=require("./components/tooltip/index.cjs"),T=require("./components/topojson-map/index.cjs"),M=require("./components/treemap/index.cjs"),A=require("./containers/xy-container/index.cjs");;const P=require("./components/xy-labels/index.cjs");exports.VisAnnotations=e.default;exports.VisAnnotationsSelectors=e.VisAnnotationsSelectors;exports.VisArea=t.default;exports.VisAreaSelectors=t.VisAreaSelectors;exports.VisAxis=s.default;exports.VisAxisSelectors=s.VisAxisSelectors;exports.VisBoxplot=r.default;exports.VisBoxplotSelectors=r.VisBoxplotSelectors;exports.VisBrush=i.default;exports.VisBrushSelectors=i.VisBrushSelectors;exports.VisBulletLegend=_.default;exports.VisBulletLegendSelectors=_.VisBulletLegendSelectors;exports.VisChordDiagram=u.default;exports.VisChordDiagramSelectors=u.VisChordDiagramSelectors;exports.VisCrosshair=l.default;exports.VisCrosshairSelectors=l.VisCrosshairSelectors;exports.VisDonut=o.default;exports.VisDonutSelectors=o.VisDonutSelectors;exports.VisFlowLegend=n.default;exports.VisFlowLegendSelectors=n.VisFlowLegendSelectors;exports.VisFreeBrush=a.default;exports.VisFreeBrushSelectors=a.VisFreeBrushSelectors;exports.VisGraph=c.default;exports.VisGraphSelectors=c.VisGraphSelectors;exports.VisGroupedBar=p.default;exports.VisGroupedBarSelectors=p.VisGroupedBarSelectors;exports.VisHeatmap=d.default;exports.VisHeatmapSelectors=d.VisHeatmapSelectors;exports.VisLeafletFlowMap=V.default;exports.VisLeafletFlowMapSelectors=V.VisLeafletFlowMapSelectors;exports.VisLeafletMap=S.default;exports.VisLeafletMapSelectors=S.VisLeafletMapSelectors;exports.VisLine=v.default;exports.VisLineSelectors=v.VisLineSelectors;exports.VisNestedDonut=g.default;exports.VisNestedDonutSelectors=g.VisNestedDonutSelectors;exports.VisPlotband=f.default;exports.VisPlotbandSelectors=f.VisPlotbandSelectors;exports.VisPlotline=q.default;exports.VisPlotlineSelectors=q.VisPlotlineSelectors;exports.VisRadialBar=x.default;exports.VisRadialBarSelectors=x.VisRadialBarSelectors;exports.VisRollingPinLegend=y.default;exports.VisRollingPinLegendSelectors=y.VisRollingPinLegendSelectors;exports.VisSankey=$.default;exports.VisSankeySelectors=$.VisSankeySelectors;exports.VisScatter=B.default;exports.VisScatterSelectors=B.VisScatterSelectors;exports.VisSingleContainer=b.default;exports.VisStackedBar=L.default;exports.VisStackedBarSelectors=L.VisStackedBarSelectors;exports.VisTimeline=h.default;exports.VisTimelineSelectors=h.VisTimelineSelectors;exports.VisTooltip=m.default;exports.VisTooltipSelectors=m.VisTooltipSelectors;exports.VisTopoJSONMap=T.default;exports.VisTopoJSONMapSelectors=T.VisTopoJSONMapSelectors;exports.VisTreemap=M.default;exports.VisTreemapSelectors=M.VisTreemapSelectors;exports.VisXYContainer=A.default;exports.VisXYLabels=P.default;exports.VisXYLabelsSelectors=P.VisXYLabelsSelectors;
|
|
3
3
|
//# sourceMappingURL=index.cjs.map
|
package/index.js
CHANGED
|
@@ -1,96 +1,105 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("
|
|
2
|
-
import { default as V } from "./
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("[data-vis-bullet-legend],[data-vis-flow-legend]{display:block}[data-vis-leaflet-flow-map],[data-vis-leaflet-map]{display:block;position:relative}[data-vis-rolling-pin-legend]{display:block}.unovis-single-container,.unovis-xy-container{display:block;position:relative;width:100%}")),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
|
|
2
|
+
import { default as V, VisAnnotationsSelectors as p } from "./components/annotations/index.js";
|
|
3
|
+
import { default as m, VisAreaSelectors as u } from "./components/area/index.js";
|
|
4
|
+
import { default as x, VisAxisSelectors as n } from "./components/axis/index.js";
|
|
5
|
+
import { default as B, VisBoxplotSelectors as L } from "./components/boxplot/index.js";
|
|
6
|
+
import { default as h, VisBrushSelectors as T } from "./components/brush/index.js";
|
|
7
|
+
import { default as C, VisBulletLegendSelectors as D } from "./html-components/bullet-legend/index.js";
|
|
3
8
|
|
|
4
|
-
import { default as
|
|
5
|
-
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
8
|
-
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
|
|
15
|
-
import { default as
|
|
16
|
-
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as
|
|
23
|
-
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
|
|
28
|
-
import { default as
|
|
29
|
-
|
|
30
|
-
import { default as
|
|
31
|
-
|
|
32
|
-
import { default as
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
import { default as Je, VisRollingPinLegendSelectors as Oe } from "./html-components/rolling-pin-legend/index.js";
|
|
37
|
-
/* empty css */
|
|
9
|
+
import { default as M, VisChordDiagramSelectors as P } from "./components/chord-diagram/index.js";
|
|
10
|
+
import { default as k, VisCrosshairSelectors as w } from "./components/crosshair/index.js";
|
|
11
|
+
import { default as N, VisDonutSelectors as R } from "./components/donut/index.js";
|
|
12
|
+
import { default as Y, VisFlowLegendSelectors as y } from "./html-components/flow-legend/index.js";
|
|
13
|
+
|
|
14
|
+
import { default as J, VisFreeBrushSelectors as O } from "./components/free-brush/index.js";
|
|
15
|
+
import { default as q, VisGraphSelectors as v } from "./components/graph/index.js";
|
|
16
|
+
import { default as E, VisGroupedBarSelectors as I } from "./components/grouped-bar/index.js";
|
|
17
|
+
import { default as Q, VisHeatmapSelectors as U } from "./components/heatmap/index.js";
|
|
18
|
+
import { default as Z, VisLeafletFlowMapSelectors as _ } from "./html-components/leaflet-flow-map/index.js";
|
|
19
|
+
|
|
20
|
+
import { default as ee, VisLeafletMapSelectors as se } from "./html-components/leaflet-map/index.js";
|
|
21
|
+
|
|
22
|
+
import { default as te, VisLineSelectors as re } from "./components/line/index.js";
|
|
23
|
+
import { default as ie, VisNestedDonutSelectors as le } from "./components/nested-donut/index.js";
|
|
24
|
+
import { default as Ve, VisPlotbandSelectors as pe } from "./components/plotband/index.js";
|
|
25
|
+
import { default as me, VisPlotlineSelectors as ue } from "./components/plotline/index.js";
|
|
26
|
+
import { default as xe, VisRadialBarSelectors as ne } from "./components/radial-bar/index.js";
|
|
27
|
+
import { default as Be, VisRollingPinLegendSelectors as Le } from "./html-components/rolling-pin-legend/index.js";
|
|
28
|
+
|
|
29
|
+
import { default as he, VisSankeySelectors as Te } from "./components/sankey/index.js";
|
|
30
|
+
import { default as Ce, VisScatterSelectors as De } from "./components/scatter/index.js";
|
|
31
|
+
import { default as Me } from "./containers/single-container/index.js";
|
|
32
|
+
|
|
33
|
+
import { default as be, VisStackedBarSelectors as ke } from "./components/stacked-bar/index.js";
|
|
34
|
+
import { default as Ge, VisTimelineSelectors as Ne } from "./components/timeline/index.js";
|
|
35
|
+
import { default as Xe, VisTooltipSelectors as Ye } from "./components/tooltip/index.js";
|
|
36
|
+
import { default as He, VisTopoJSONMapSelectors as Je } from "./components/topojson-map/index.js";
|
|
37
|
+
import { default as je, VisTreemapSelectors as qe } from "./components/treemap/index.js";
|
|
38
|
+
import { default as ze } from "./containers/xy-container/index.js";
|
|
39
|
+
|
|
40
|
+
import { default as Ie, VisXYLabelsSelectors as Ke } from "./components/xy-labels/index.js";
|
|
38
41
|
export {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
42
|
+
V as VisAnnotations,
|
|
43
|
+
p as VisAnnotationsSelectors,
|
|
44
|
+
m as VisArea,
|
|
45
|
+
u as VisAreaSelectors,
|
|
46
|
+
x as VisAxis,
|
|
47
|
+
n as VisAxisSelectors,
|
|
48
|
+
B as VisBoxplot,
|
|
49
|
+
L as VisBoxplotSelectors,
|
|
50
|
+
h as VisBrush,
|
|
51
|
+
T as VisBrushSelectors,
|
|
52
|
+
C as VisBulletLegend,
|
|
53
|
+
D as VisBulletLegendSelectors,
|
|
54
|
+
M as VisChordDiagram,
|
|
55
|
+
P as VisChordDiagramSelectors,
|
|
56
|
+
k as VisCrosshair,
|
|
57
|
+
w as VisCrosshairSelectors,
|
|
58
|
+
N as VisDonut,
|
|
59
|
+
R as VisDonutSelectors,
|
|
60
|
+
Y as VisFlowLegend,
|
|
61
|
+
y as VisFlowLegendSelectors,
|
|
62
|
+
J as VisFreeBrush,
|
|
63
|
+
O as VisFreeBrushSelectors,
|
|
64
|
+
q as VisGraph,
|
|
65
|
+
v as VisGraphSelectors,
|
|
66
|
+
E as VisGroupedBar,
|
|
67
|
+
I as VisGroupedBarSelectors,
|
|
68
|
+
Q as VisHeatmap,
|
|
69
|
+
U as VisHeatmapSelectors,
|
|
70
|
+
Z as VisLeafletFlowMap,
|
|
71
|
+
_ as VisLeafletFlowMapSelectors,
|
|
72
|
+
ee as VisLeafletMap,
|
|
73
|
+
se as VisLeafletMapSelectors,
|
|
74
|
+
te as VisLine,
|
|
75
|
+
re as VisLineSelectors,
|
|
76
|
+
ie as VisNestedDonut,
|
|
77
|
+
le as VisNestedDonutSelectors,
|
|
78
|
+
Ve as VisPlotband,
|
|
79
|
+
pe as VisPlotbandSelectors,
|
|
80
|
+
me as VisPlotline,
|
|
81
|
+
ue as VisPlotlineSelectors,
|
|
82
|
+
xe as VisRadialBar,
|
|
83
|
+
ne as VisRadialBarSelectors,
|
|
84
|
+
Be as VisRollingPinLegend,
|
|
85
|
+
Le as VisRollingPinLegendSelectors,
|
|
86
|
+
he as VisSankey,
|
|
87
|
+
Te as VisSankeySelectors,
|
|
88
|
+
Ce as VisScatter,
|
|
89
|
+
De as VisScatterSelectors,
|
|
90
|
+
Me as VisSingleContainer,
|
|
91
|
+
be as VisStackedBar,
|
|
92
|
+
ke as VisStackedBarSelectors,
|
|
93
|
+
Ge as VisTimeline,
|
|
94
|
+
Ne as VisTimelineSelectors,
|
|
95
|
+
Xe as VisTooltip,
|
|
96
|
+
Ye as VisTooltipSelectors,
|
|
97
|
+
He as VisTopoJSONMap,
|
|
98
|
+
Je as VisTopoJSONMapSelectors,
|
|
99
|
+
je as VisTreemap,
|
|
100
|
+
qe as VisTreemapSelectors,
|
|
101
|
+
ze as VisXYContainer,
|
|
102
|
+
Ie as VisXYLabels,
|
|
103
|
+
Ke as VisXYLabelsSelectors
|
|
95
104
|
};
|
|
96
105
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unovis/vue",
|
|
3
3
|
"description": "Modular data visualization framework for React, Angular, Svelte, Vue, and vanilla TypeScript or JavaScript",
|
|
4
|
-
"version": "1.7.0
|
|
5
|
-
"packageManager": "
|
|
4
|
+
"version": "1.7.0",
|
|
5
|
+
"packageManager": "pnpm@10.23.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/f5/unovis.git",
|
|
@@ -45,33 +45,34 @@
|
|
|
45
45
|
"type": "module",
|
|
46
46
|
"sideEffects": false,
|
|
47
47
|
"scripts": {
|
|
48
|
-
"build": "vite build
|
|
48
|
+
"build": "pnpm check && vite build && rm -rf dist/.cache && cp LICENSE README.md package.json ./dist",
|
|
49
49
|
"check": "vue-tsc --noEmit",
|
|
50
|
-
"generate": "
|
|
50
|
+
"generate": "tsx ./autogen/index.ts",
|
|
51
51
|
"publish:dist": "cd ./dist; npm publish",
|
|
52
52
|
"build:gallery": "vite build --mode gallery",
|
|
53
|
-
"gallery": "vite"
|
|
53
|
+
"gallery": "vite",
|
|
54
|
+
"license:check": "pnpm license-report --config=../../lic-report-config.json > licences.md"
|
|
54
55
|
},
|
|
55
56
|
"peerDependencies": {
|
|
56
|
-
"@unovis/ts": "1.7.0
|
|
57
|
+
"@unovis/ts": "1.7.0",
|
|
57
58
|
"vue": "^3"
|
|
58
59
|
},
|
|
59
60
|
"devDependencies": {
|
|
61
|
+
"@unovis/ts": "workspace:*",
|
|
62
|
+
"@unovis/shared": "workspace:*",
|
|
60
63
|
"@antfu/eslint-config": "^3.9.1",
|
|
61
|
-
"@rollup/plugin-node-resolve": "^13.0.4",
|
|
62
64
|
"@vitejs/plugin-vue": "^5.2.3",
|
|
63
65
|
"@vue/tsconfig": "^0.4.0",
|
|
66
|
+
"buffer-from": "^1.1.2",
|
|
64
67
|
"de-indent": "^1.0.2",
|
|
65
68
|
"jju": "^1.4.0",
|
|
66
|
-
"
|
|
67
|
-
"rollup-plugin-commonjs": "^10.1.0",
|
|
68
|
-
"rollup-plugin-typescript2": "^0.31.1",
|
|
69
|
+
"tsx": "^4.19.1",
|
|
69
70
|
"tslib": "^2.3.1",
|
|
70
|
-
"typescript": "
|
|
71
|
-
"vite": "
|
|
71
|
+
"typescript": "catalog:",
|
|
72
|
+
"vite": "catalog:",
|
|
72
73
|
"vite-plugin-css-injected-by-js": "^3.3.0",
|
|
73
74
|
"vite-plugin-dts": "^3.5.3",
|
|
74
75
|
"vue": "^3.5.13",
|
|
75
|
-
"vue-tsc": "^1.
|
|
76
|
+
"vue-tsc": "^2.1.0"
|
|
76
77
|
}
|
|
77
78
|
}
|
package/utils/context.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.cjs","sources":["../../src/utils/context.ts"],"sourcesContent":["import { XYComponentCore, ComponentCore, Tooltip, Crosshair, Axis, Annotations } from '@unovis/ts'\nimport { InjectionKey, Ref } from 'vue'\n\nexport const componentAccessorKey = Symbol('componentAccessorKey') as InjectionKey<{\n data: Ref<any>;\n update: (c: XYComponentCore<any> | ComponentCore<any>) => void;\n destroy: () => void;\n}>\n\nexport const tooltipAccessorKey = Symbol('tooltipAccessorKey') as InjectionKey<{\n data: Ref<any>;\n update: (c: Tooltip) => void;\n destroy: () => void;\n}>\n\nexport const crosshairAccessorKey = Symbol('crosshairAccessorKey') as InjectionKey<{\n data: Ref<any>;\n update: (c: Crosshair<any>) => void;\n destroy: () => void;\n}>\n\nexport const axisAccessorKey = Symbol('axisAccessorKey') as InjectionKey< {\n data: Ref<any>;\n update: (c: Axis<any>) => void;\n destroy: (c: string) => void;\n}>\n\nexport const annotationsAccessorKey = Symbol('annotationsAccessorKey') as InjectionKey<{\n data: Ref<any>;\n update: (c: Annotations) => void;\n destroy: () => void;\n}>\n"],"names":["componentAccessorKey","tooltipAccessorKey","crosshairAccessorKey","axisAccessorKey","annotationsAccessorKey"],"mappings":"
|
|
1
|
+
{"version":3,"file":"context.cjs","sources":["../../src/utils/context.ts"],"sourcesContent":["import { XYComponentCore, ComponentCore, Tooltip, Crosshair, Axis, Annotations } from '@unovis/ts'\nimport { InjectionKey, Ref } from 'vue'\n\nexport const componentAccessorKey = Symbol('componentAccessorKey') as InjectionKey<{\n data: Ref<any>;\n update: (c: XYComponentCore<any> | ComponentCore<any>) => void;\n destroy: () => void;\n}>\n\nexport const tooltipAccessorKey = Symbol('tooltipAccessorKey') as InjectionKey<{\n data: Ref<any>;\n update: (c: Tooltip) => void;\n destroy: () => void;\n}>\n\nexport const crosshairAccessorKey = Symbol('crosshairAccessorKey') as InjectionKey<{\n data: Ref<any>;\n update: (c: Crosshair<any>) => void;\n destroy: () => void;\n}>\n\nexport const axisAccessorKey = Symbol('axisAccessorKey') as InjectionKey< {\n data: Ref<any>;\n update: (c: Axis<any>) => void;\n destroy: (c: string) => void;\n}>\n\nexport const annotationsAccessorKey = Symbol('annotationsAccessorKey') as InjectionKey<{\n data: Ref<any>;\n update: (c: Annotations) => void;\n destroy: () => void;\n}>\n"],"names":["componentAccessorKey","tooltipAccessorKey","crosshairAccessorKey","axisAccessorKey","annotationsAccessorKey"],"mappings":"gFAGO,MAAMA,SAA8B,sBAAsB,EAMpDC,SAA4B,oBAAoB,EAMhDC,SAA8B,sBAAsB,EAMpDC,SAAyB,iBAAiB,EAM1CC,SAAgC,wBAAwB"}
|