@unovis/vue 1.7.0-pre.2 → 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 +1 -1
- 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 +1 -1
- package/components/area/index.js +22 -23
- 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 +1 -1
- package/components/axis/index.js +26 -25
- 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 +1 -1
- package/components/brush/index.js +22 -24
- 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 +1 -1
- package/components/chord-diagram/index.js +22 -24
- 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 +3 -3
- 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 +1 -1
- package/components/donut/index.js +22 -24
- 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 +1 -1
- package/components/free-brush/index.js +21 -24
- 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 +1 -1
- package/components/graph/index.js +26 -22
- 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 +1 -1
- package/components/grouped-bar/index.js +24 -25
- 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 +1 -1
- package/components/line/index.js +22 -24
- 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 +1 -1
- package/components/nested-donut/index.js +22 -25
- 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 +1 -1
- package/components/plotband/index.js +16 -17
- 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 +1 -1
- package/components/plotline/index.js +16 -17
- 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 +1 -1
- package/components/sankey/index.js +24 -23
- 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 +1 -1
- package/components/scatter/index.js +22 -24
- 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 +1 -1
- package/components/stacked-bar/index.js +23 -23
- 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 +3 -3
- 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 +1 -1
- 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 +1 -1
- package/components/topojson-map/index.js +52 -25
- 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 +1 -1
- package/components/treemap/index.js +22 -24
- 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 +1 -1
- package/components/xy-labels/index.js +21 -24
- package/components/xy-labels/index.js.map +1 -1
- package/components.d.ts +3 -0
- package/containers/single-container/index.cjs +1 -1
- package/containers/single-container/index.cjs.map +1 -1
- 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.js +25 -30
- package/containers/xy-container/index.js.map +1 -1
- 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 +1 -1
- package/html-components/bullet-legend/index.js +23 -24
- 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 +1 -1
- 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 +1 -1
- package/html-components/leaflet-flow-map/index.js +22 -24
- 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 +1 -1
- package/html-components/leaflet-map/index.js +22 -24
- 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 +1 -1
- 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 +95 -86
- package/index.js.map +1 -1
- package/package.json +12 -12
- package/utils/context.cjs.map +1 -1
- 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 +1 -4
- package/utils/props.js +9 -9
- package/utils/props.js.map +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as y, computed as d, ref as r, onMounted as F, nextTick as m, onUnmounted as f, watch as a, openBlock as g, createElementBlock as S } from "vue";
|
|
2
2
|
import { LeafletFlowMap as p } from "@unovis/ts";
|
|
3
|
-
import { useForwardProps as
|
|
4
|
-
const
|
|
3
|
+
import { useForwardProps as b, arePropsEqual as v } from "../../utils/props.js";
|
|
4
|
+
const B = p.selectors, N = /* @__PURE__ */ y({
|
|
5
5
|
__name: "index",
|
|
6
6
|
props: {
|
|
7
7
|
sourceLongitude: { type: [Function, Number, null] },
|
|
@@ -31,6 +31,7 @@ const P = p.selectors, C = /* @__PURE__ */ d({
|
|
|
31
31
|
accessToken: {},
|
|
32
32
|
attribution: {},
|
|
33
33
|
renderer: {},
|
|
34
|
+
preserveDrawingBuffer: { type: Boolean },
|
|
34
35
|
onMapInitialized: { type: Function },
|
|
35
36
|
onMapMoveZoom: { type: Function },
|
|
36
37
|
onMapMoveStart: { type: Function },
|
|
@@ -68,32 +69,29 @@ const P = p.selectors, C = /* @__PURE__ */ d({
|
|
|
68
69
|
attributes: {},
|
|
69
70
|
data: {}
|
|
70
71
|
},
|
|
71
|
-
setup(
|
|
72
|
-
const
|
|
73
|
-
return
|
|
74
|
-
|
|
75
|
-
|
|
72
|
+
setup(c, { expose: s }) {
|
|
73
|
+
const u = c, n = d(() => u.data), e = b(u), t = r(), o = r();
|
|
74
|
+
return F(() => {
|
|
75
|
+
m(() => {
|
|
76
|
+
o.value && (t.value = new p(o.value, e.value, n.value));
|
|
76
77
|
});
|
|
77
|
-
}),
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}),
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}), y({
|
|
87
|
-
component: n
|
|
88
|
-
}), (t, l) => (b(), S("div", {
|
|
89
|
-
"data-vis-leaflet-flow-map": "",
|
|
78
|
+
}), f(() => {
|
|
79
|
+
t.value?.destroy();
|
|
80
|
+
}), a(e, (i, l) => {
|
|
81
|
+
v(i, l) || (t.value?.setConfig(e.value), t.value?.render());
|
|
82
|
+
}), a(n, () => {
|
|
83
|
+
t.value?.setData(n.value);
|
|
84
|
+
}), s({
|
|
85
|
+
component: t
|
|
86
|
+
}), (i, l) => (g(), S("div", {
|
|
90
87
|
ref_key: "elRef",
|
|
91
|
-
ref:
|
|
88
|
+
ref: o,
|
|
89
|
+
"data-vis-leaflet-flow-map": ""
|
|
92
90
|
}, null, 512));
|
|
93
91
|
}
|
|
94
92
|
});
|
|
95
93
|
export {
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
B as VisLeafletFlowMapSelectors,
|
|
95
|
+
N as default
|
|
98
96
|
};
|
|
99
97
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/html-components/leaflet-flow-map/index.vue"],"sourcesContent":["<script setup lang=\"ts\" generic=\"PointDatum extends GenericDataRecord,FlowDatum 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-flow-map/index.vue"],"sourcesContent":["<script setup lang=\"ts\" generic=\"PointDatum extends GenericDataRecord, FlowDatum extends GenericDataRecord\">\n// !!! This code was automatically generated. You should not change it !!!\nimport type { GenericDataRecord, LeafletFlowMapConfigInterface } from '@unovis/ts'\nimport { LeafletFlowMap } 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 = LeafletFlowMapConfigInterface<PointDatum, FlowDatum>\nconst props = defineProps<Props & { data?: { points: PointDatum[], flows?: FlowDatum[] } }>()\n\nconst data = computed(() => props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<LeafletFlowMap<PointDatum, FlowDatum>>()\nconst elRef = ref<HTMLDivElement>()\n\nonMounted(() => {\n nextTick(() => {\n if (elRef.value)\n component.value = new LeafletFlowMap<PointDatum, FlowDatum>(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 VisLeafletFlowMapSelectors = LeafletFlowMap.selectors\n</script>\n\n<template>\n <div ref=\"elRef\" data-vis-leaflet-flow-map />\n</template>\n\n<style>\n [data-vis-leaflet-flow-map] {\n display:block;\n position:relative;\n }\n</style>\n"],"names":["VisLeafletFlowMapSelectors","LeafletFlowMap","props","__props","data","computed","config","useForwardProps","component","ref","elRef","onMounted","nextTick","onUnmounted","watch","curr","prev","arePropsEqual","__expose","_createElementBlock"],"mappings":";;;AA+CO,MAAMA,IAA6BC,EAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAtCzD,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,EAAsCS,EAAM,OAAOJ,EAAO,OAAOF,EAAK,KAAK;AAAA,MACrG,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,EAA6C,OAAA;AAAA,eAApC;AAAA,MAAJ,KAAIT;AAAA,MAAQ,6BAAA;AAAA,IAAA;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("@unovis/ts"),r=require("../../utils/props.cjs"),d=p.LeafletMap.selectors,y=e.defineComponent({__name:"index",props:{width:{},height:{},flyToDuration:{},fitViewPadding:{},zoomDuration:{},initialBounds:{},fitBoundsOnUpdate:{},fitViewOnInit:{type:Boolean},fitViewOnUpdate:{type:Boolean},style:{},styleDarkTheme:{},accessToken:{},attribution:{},renderer:{},preserveDrawingBuffer:{type:Boolean},onMapInitialized:{type:Function},onMapMoveZoom:{type:Function},onMapMoveStart:{type:Function},onMapMoveEnd:{type:Function},onMapZoomStart:{type:Function},onMapZoomEnd:{type:Function},onMapClick:{type:Function},pointLongitude:{type:[Function,Number,null]},pointLatitude:{type:[Function,Number,null]},pointId:{type:[Function,String,null]},pointShape:{type:[Function,String,null]},pointColor:{type:[Function,String,Array,null]},pointRadius:{type:[Function,Number,null]},pointLabel:{type:[Function,String,null]},pointLabelColor:{type:[Function,String,null]},pointBottomLabel:{type:[Function,String,null]},pointCursor:{type:[Function,String,null]},pointRingWidth:{},selectedPointId:{},clusterColor:{type:[Function,String,Array,null]},clusterRadius:{type:[Function,Number,null]},clusterLabel:{type:[Function,String,null]},clusterLabelColor:{type:[Function,String,null]},clusterBottomLabel:{type:[Function,String,null]},clusterRingWidth:{},clusterBackground:{type:Boolean},clusterExpandOnClick:{type:Boolean},clusteringDistance:{},colorMap:{},topoJSONLayer:{},tooltip:{},ariaLabel:{},duration:{},events:{},attributes:{},data:{}},setup(c,{expose:s}){const l=c,n=e.computed(()=>l.data),o=r.useForwardProps(l),t=e.ref(),i=e.ref();return e.onMounted(()=>{e.nextTick(()=>{i.value&&(t.value=new p.LeafletMap(i.value,o.value,n.value))})}),e.onUnmounted(()=>{t.value?.destroy()}),e.watch(o,(u,a)=>{r.arePropsEqual(u,a)||(t.value?.setConfig(o.value),t.value?.render())}),e.watch(n,()=>{t.value?.setData(n.value)}),s({component:t}),(u,a)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"elRef",ref:i,"data-vis-leaflet-map":""},null,512))}});exports.VisLeafletMapSelectors=d;exports.default=y;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","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.cjs","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":"8LA+CaA,EAAyBC,EAAAA,WAAW,67CAtCjD,MAAMC,EAAQC,EAERC,EAAOC,EAAAA,SAAS,IAAMH,EAAM,IAAI,EAEhCI,EAASC,EAAAA,gBAAgBL,CAAK,EAG9BM,EAAYC,EAAAA,IAAA,EACZC,EAAQD,EAAAA,IAAA,EAEdE,OAAAA,EAAAA,UAAU,IAAM,CACdC,EAAAA,SAAS,IAAM,CACTF,EAAM,QACRF,EAAU,MAAQ,IAAIP,EAAAA,WAAkBS,EAAM,MAAOJ,EAAO,MAAOF,EAAK,KAAK,EACjF,CAAC,CACH,CAAC,EAEDS,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,EAEDM,EAAAA,MAAMV,EAAM,IAAM,CAChBI,EAAU,OAAO,QAAQJ,EAAK,KAAK,CACrC,CAAC,EAEDc,EAAa,CACX,UAAAV,CAAA,CACD,wBAQCW,EAAAA,mBAAwC,MAAA,SAA/B,QAAJ,IAAIT,EAAQ,uBAAA,EAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GenericDataRecord, LeafletMapConfigInterface, LeafletMap } from '@unovis/ts';
|
|
2
2
|
|
|
3
3
|
export declare const VisLeafletMapSelectors: typeof import("@unovis/ts/components/leaflet-map/style");
|
|
4
4
|
declare const _default: <Datum extends GenericDataRecord>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
@@ -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 k = c.selectors, C = /* @__PURE__ */ y({
|
|
|
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 },
|
|
@@ -55,32 +56,29 @@ const k = c.selectors, C = /* @__PURE__ */ y({
|
|
|
55
56
|
attributes: {},
|
|
56
57
|
data: {}
|
|
57
58
|
},
|
|
58
|
-
setup(
|
|
59
|
-
const
|
|
59
|
+
setup(c, { expose: s }) {
|
|
60
|
+
const i = c, n = y(() => i.data), e = S(i), t = a(), o = a();
|
|
60
61
|
return f(() => {
|
|
61
|
-
|
|
62
|
-
|
|
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
|
-
|
|
72
|
-
|
|
73
|
-
}), d({
|
|
74
|
-
component: n
|
|
75
|
-
}), (t, u) => (S(), v("div", {
|
|
76
|
-
"data-vis-leaflet-map": "",
|
|
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({
|
|
72
|
+
component: t
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RollingPinLegendConfigInterface, RollingPinLegend } from '@unovis/ts';
|
|
2
2
|
|
|
3
3
|
export declare const VisRollingPinLegendSelectors: typeof import("@unovis/ts/components/rolling-pin-legend/style");
|
|
4
4
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<RollingPinLegendConfigInterface & {
|
|
@@ -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
|
|
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";
|
|
5
13
|
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as P, VisGroupedBarSelectors as b } from "./components/grouped-bar/index.js";
|
|
12
|
-
import { default as w, VisLineSelectors as G } from "./components/line/index.js";
|
|
13
|
-
import { default as X, VisScatterSelectors as Y } from "./components/scatter/index.js";
|
|
14
|
-
import { default as J, VisStackedBarSelectors as O } from "./components/stacked-bar/index.js";
|
|
15
|
-
import { default as j, VisTimelineSelectors as q } from "./components/timeline/index.js";
|
|
16
|
-
import { default as z, VisXYLabelsSelectors as E } from "./components/xy-labels/index.js";
|
|
17
|
-
import { default as I, VisPlotbandSelectors as K } from "./components/plotband/index.js";
|
|
18
|
-
import { default as U, VisPlotlineSelectors as W } from "./components/plotline/index.js";
|
|
19
|
-
import { default as _, VisChordDiagramSelectors as $ } from "./components/chord-diagram/index.js";
|
|
20
|
-
import { default as se, VisDonutSelectors as oe } from "./components/donut/index.js";
|
|
21
|
-
import { default as te, VisGraphSelectors as ae } from "./components/graph/index.js";
|
|
22
|
-
import { default as le, VisNestedDonutSelectors as fe } from "./components/nested-donut/index.js";
|
|
23
|
-
import { default as pe, VisSankeySelectors as de } from "./components/sankey/index.js";
|
|
24
|
-
import { default as ue, VisTopoJSONMapSelectors as Se } from "./components/topojson-map/index.js";
|
|
25
|
-
import { default as ce, VisTreemapSelectors as xe } from "./components/treemap/index.js";
|
|
26
|
-
import { default as ge, VisTooltipSelectors as he } from "./components/tooltip/index.js";
|
|
27
|
-
import { default as Te, VisAnnotationsSelectors as Ae } from "./components/annotations/index.js";
|
|
28
|
-
import { default as De, VisLeafletMapSelectors as Fe } from "./html-components/leaflet-map/index.js";
|
|
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";
|
|
29
19
|
|
|
30
|
-
import { default as
|
|
20
|
+
import { default as ee, VisLeafletMapSelectors as se } from "./html-components/leaflet-map/index.js";
|
|
31
21
|
|
|
32
|
-
import { default as
|
|
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";
|
|
33
28
|
|
|
34
|
-
import { default as
|
|
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";
|
|
35
32
|
|
|
36
|
-
import { default as
|
|
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";
|
|
37
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|