@unovis/vue 1.5.1-ql.2 → 1.5.2
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 +1 -1
- package/components/annotations/index.d.ts +1 -1
- package/components/annotations/index.js +2 -2
- package/components/area/index.cjs +1 -1
- package/components/area/index.cjs.map +1 -1
- package/components/area/index.d.ts +2 -1
- package/components/area/index.js +12 -11
- package/components/area/index.js.map +1 -1
- package/components/axis/index.d.ts +1 -1
- package/components/axis/index.js +2 -2
- package/components/brush/index.d.ts +1 -1
- package/components/brush/index.js +2 -2
- package/components/chord-diagram/index.d.ts +1 -1
- package/components/chord-diagram/index.js +2 -2
- package/components/crosshair/index.d.ts +1 -1
- package/components/crosshair/index.js +2 -2
- package/components/donut/index.cjs +1 -1
- package/components/donut/index.cjs.map +1 -1
- package/components/donut/index.d.ts +3 -1
- package/components/donut/index.js +16 -14
- package/components/donut/index.js.map +1 -1
- package/components/free-brush/index.d.ts +1 -1
- package/components/free-brush/index.js +2 -2
- package/components/graph/index.cjs +1 -1
- package/components/graph/index.cjs.map +1 -1
- package/components/graph/index.d.ts +11 -2
- package/components/graph/index.js +18 -10
- package/components/graph/index.js.map +1 -1
- package/components/grouped-bar/index.d.ts +1 -1
- package/components/grouped-bar/index.js +2 -2
- package/components/line/index.cjs +1 -1
- package/components/line/index.cjs.map +1 -1
- package/components/line/index.d.ts +2 -1
- package/components/line/index.js +13 -12
- package/components/line/index.js.map +1 -1
- package/components/nested-donut/index.d.ts +1 -1
- package/components/nested-donut/index.js +2 -2
- package/components/sankey/index.d.ts +1 -1
- package/components/sankey/index.js +2 -2
- package/components/scatter/index.d.ts +1 -1
- package/components/scatter/index.js +2 -2
- package/components/stacked-bar/index.d.ts +1 -1
- package/components/stacked-bar/index.js +2 -2
- package/components/timeline/index.d.ts +1 -1
- package/components/timeline/index.js +2 -2
- package/components/tooltip/index.cjs +1 -1
- package/components/tooltip/index.cjs.map +1 -1
- package/components/tooltip/index.d.ts +13 -1
- package/components/tooltip/index.js +13 -11
- package/components/tooltip/index.js.map +1 -1
- package/components/topojson-map/index.d.ts +1 -1
- package/components/topojson-map/index.js +2 -2
- package/components/xy-labels/index.d.ts +1 -1
- package/components/xy-labels/index.js +2 -2
- package/containers/single-container/index.js +2 -2
- package/containers/xy-container/index.js +2 -2
- package/html-components/bullet-legend/index.d.ts +1 -1
- package/html-components/bullet-legend/index.js +2 -2
- package/html-components/leaflet-flow-map/index.d.ts +2 -2
- package/html-components/leaflet-flow-map/index.js +2 -2
- package/html-components/leaflet-map/index.d.ts +2 -2
- package/html-components/leaflet-map/index.js +2 -2
- package/package.json +8 -7
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),l=require("@unovis/ts"),i=require("../../utils/props.cjs"),v=require("../../utils/context.cjs"),y={"data-vis-component":""},m=l.Line.selectors,_=t.defineComponent({__name:"index",props:{color:{},curveType:{},lineWidth:{},lineDashArray:{},fallbackValue:{},highlightOnHover:{type:Boolean},cursor:{},x:{},y:{},id:{type:Function},xScale:{type:[Object,Function]},yScale:{type:[Object,Function]},excludeFromDomainCalculation:{type:Boolean},duration:{},events:{},attributes:{},data:{}},setup(
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),l=require("@unovis/ts"),i=require("../../utils/props.cjs"),v=require("../../utils/context.cjs"),y={"data-vis-component":""},m=l.Line.selectors,_=t.defineComponent({__name:"index",props:{color:{},curveType:{},lineWidth:{},lineDashArray:{},fallbackValue:{},highlightOnHover:{type:Boolean},cursor:{},interpolateMissingData:{type:Boolean},x:{},y:{},id:{type:Function},xScale:{type:[Object,Function]},yScale:{type:[Object,Function]},excludeFromDomainCalculation:{type:Boolean},duration:{},events:{},attributes:{},data:{}},setup(p,{expose:d}){const n=t.inject(v.componentAccessorKey),s=p,a=t.computed(()=>n.data.value??s.data),c=i.useForwardProps(s),o=t.ref();return t.onMounted(()=>{t.nextTick(()=>{var e;o.value=new l.Line(c.value),(e=o.value)==null||e.setData(a.value),n.update(o.value)})}),t.onUnmounted(()=>{var e;(e=o.value)==null||e.destroy(),n.destroy()}),t.watch(c,(e,r)=>{var u;i.arePropsEqual(e,r)||(u=o.value)==null||u.setConfig(c.value)}),t.watch(a,()=>{var e;(e=o.value)==null||e.setData(a.value)}),d({component:o}),(e,r)=>(t.openBlock(),t.createElementBlock("div",y))}});exports.VisLineSelectors=m;exports.default=_;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/line/index.vue"],"sourcesContent":["<script setup lang=\"ts\" generic=\"Datum\">\n// !!! This code was automatically generated. You should not change it !!!\nimport { Line, LineConfigInterface, NumericAccessor } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch, nextTick, inject } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\nimport { componentAccessorKey } from '../../utils/context'\n\nconst accessor = inject(componentAccessorKey)\n\n// data and required props \ntype Props = LineConfigInterface<Datum>\nconst props = defineProps<Props & { data?: Datum[] }>()\n\nconst data = computed(() => accessor.data.value ?? props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<Line<Datum>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Line<Datum>(config.value)\n component.value?.setData(data.value)\n accessor.update(component.value)\n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n accessor.destroy()\n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.setConfig(config.value)\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 VisLineSelectors = Line.selectors\n</script>\n\n<template>\n <div data-vis-component />\n</template>\n\n\n"],"names":["VisLineSelectors","Line","accessor","inject","componentAccessorKey","props","__props","data","computed","config","useForwardProps","component","ref","onMounted","nextTick","_a","onUnmounted","watch","curr","prev","arePropsEqual","__expose"],"mappings":"+PAkDaA,EAAmBC,EAAAA,KAAK,
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/line/index.vue"],"sourcesContent":["<script setup lang=\"ts\" generic=\"Datum\">\n// !!! This code was automatically generated. You should not change it !!!\nimport { Line, LineConfigInterface, NumericAccessor } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch, nextTick, inject } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\nimport { componentAccessorKey } from '../../utils/context'\n\nconst accessor = inject(componentAccessorKey)\n\n// data and required props \ntype Props = LineConfigInterface<Datum>\nconst props = defineProps<Props & { data?: Datum[] }>()\n\nconst data = computed(() => accessor.data.value ?? props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<Line<Datum>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Line<Datum>(config.value)\n component.value?.setData(data.value)\n accessor.update(component.value)\n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n accessor.destroy()\n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.setConfig(config.value)\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 VisLineSelectors = Line.selectors\n</script>\n\n<template>\n <div data-vis-component />\n</template>\n\n\n"],"names":["VisLineSelectors","Line","accessor","inject","componentAccessorKey","props","__props","data","computed","config","useForwardProps","component","ref","onMounted","nextTick","_a","onUnmounted","watch","curr","prev","arePropsEqual","__expose"],"mappings":"+PAkDaA,EAAmBC,EAAAA,KAAK,oZA3C/B,MAAAC,EAAWC,SAAOC,sBAAoB,EAItCC,EAAQC,EAERC,EAAOC,EAAAA,SAAS,IAAMN,EAAS,KAAK,OAASG,EAAM,IAAI,EAEvDI,EAASC,kBAAgBL,CAAK,EAG9BM,EAAYC,EAAAA,IAAiB,EAGnCC,OAAAA,EAAAA,UAAU,IAAM,CACdC,EAAAA,SAAS,IAAM,OACbH,EAAU,MAAQ,IAAIV,OAAYQ,EAAO,KAAK,GACpCM,EAAAJ,EAAA,QAAA,MAAAI,EAAO,QAAQR,EAAK,OACrBL,EAAA,OAAOS,EAAU,KAAK,CAAA,CAChC,CAAA,CACF,EAEDK,EAAAA,YAAY,IAAM,QAChBD,EAAAJ,EAAU,QAAV,MAAAI,EAAiB,UACjBb,EAAS,QAAQ,CAAA,CAClB,EAEKe,EAAAA,MAAAR,EAAQ,CAACS,EAAMC,IAAS,OACvBC,EAAA,cAAcF,EAAMC,CAAI,IACjBJ,EAAAJ,EAAA,QAAA,MAAAI,EAAO,UAAUN,EAAO,MACpC,CACD,EAEDQ,EAAA,MAAMV,EAAM,IAAM,QACNQ,EAAAJ,EAAA,QAAA,MAAAI,EAAO,QAAQR,EAAK,MAAK,CACpC,EAEYc,EAAA,CACX,UAAAV,CAAA,CACD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Line, NumericAccessor } from '@unovis/ts';
|
|
2
|
-
export declare const VisLineSelectors: typeof import("@unovis/ts/
|
|
2
|
+
export declare const VisLineSelectors: typeof import("@unovis/ts/dist/components/line/style");
|
|
3
3
|
declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
|
|
4
4
|
attrs: any;
|
|
5
5
|
emit: any;
|
|
@@ -51,6 +51,7 @@ declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
|
|
|
51
51
|
lineDashArray?: import("@unovis/ts").GenericAccessor<number[], Datum[]>;
|
|
52
52
|
fallbackValue?: number;
|
|
53
53
|
highlightOnHover?: boolean;
|
|
54
|
+
interpolateMissingData?: boolean;
|
|
54
55
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
55
56
|
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
56
57
|
component: import("vue").Ref<Line<Datum>, Line<Datum>>;
|
package/components/line/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as d, inject as m, computed as v, ref as
|
|
2
|
-
import { Line as
|
|
3
|
-
import { useForwardProps as
|
|
4
|
-
import { componentAccessorKey as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as d, inject as m, computed as v, ref as y, onMounted as f, nextTick as h, onUnmounted as x, watch as i, createElementBlock as _, openBlock as g } from "vue";
|
|
2
|
+
import { Line as l } from "@unovis/ts";
|
|
3
|
+
import { useForwardProps as B, arePropsEqual as D } from "../../utils/props.js";
|
|
4
|
+
import { componentAccessorKey as F } from "../../utils/context.js";
|
|
5
|
+
const b = { "data-vis-component": "" }, O = l.selectors, S = /* @__PURE__ */ d({
|
|
6
6
|
__name: "index",
|
|
7
7
|
props: {
|
|
8
8
|
color: {},
|
|
@@ -12,6 +12,7 @@ const B = { "data-vis-component": "" }, O = i.selectors, S = /* @__PURE__ */ d({
|
|
|
12
12
|
fallbackValue: {},
|
|
13
13
|
highlightOnHover: { type: Boolean },
|
|
14
14
|
cursor: {},
|
|
15
|
+
interpolateMissingData: { type: Boolean },
|
|
15
16
|
x: {},
|
|
16
17
|
y: {},
|
|
17
18
|
id: { type: Function },
|
|
@@ -24,24 +25,24 @@ const B = { "data-vis-component": "" }, O = i.selectors, S = /* @__PURE__ */ d({
|
|
|
24
25
|
data: {}
|
|
25
26
|
},
|
|
26
27
|
setup(u, { expose: p }) {
|
|
27
|
-
const o = m(
|
|
28
|
-
return
|
|
28
|
+
const o = m(F), c = u, a = v(() => o.data.value ?? c.data), n = B(c), t = y();
|
|
29
|
+
return f(() => {
|
|
29
30
|
h(() => {
|
|
30
31
|
var e;
|
|
31
|
-
t.value = new
|
|
32
|
+
t.value = new l(n.value), (e = t.value) == null || e.setData(a.value), o.update(t.value);
|
|
32
33
|
});
|
|
33
34
|
}), x(() => {
|
|
34
35
|
var e;
|
|
35
36
|
(e = t.value) == null || e.destroy(), o.destroy();
|
|
36
|
-
}),
|
|
37
|
+
}), i(n, (e, r) => {
|
|
37
38
|
var s;
|
|
38
|
-
|
|
39
|
-
}),
|
|
39
|
+
D(e, r) || (s = t.value) == null || s.setConfig(n.value);
|
|
40
|
+
}), i(a, () => {
|
|
40
41
|
var e;
|
|
41
42
|
(e = t.value) == null || e.setData(a.value);
|
|
42
43
|
}), p({
|
|
43
44
|
component: t
|
|
44
|
-
}), (e, r) => (
|
|
45
|
+
}), (e, r) => (g(), _("div", b));
|
|
45
46
|
}
|
|
46
47
|
});
|
|
47
48
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/line/index.vue"],"sourcesContent":["<script setup lang=\"ts\" generic=\"Datum\">\n// !!! This code was automatically generated. You should not change it !!!\nimport { Line, LineConfigInterface, NumericAccessor } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch, nextTick, inject } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\nimport { componentAccessorKey } from '../../utils/context'\n\nconst accessor = inject(componentAccessorKey)\n\n// data and required props \ntype Props = LineConfigInterface<Datum>\nconst props = defineProps<Props & { data?: Datum[] }>()\n\nconst data = computed(() => accessor.data.value ?? props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<Line<Datum>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Line<Datum>(config.value)\n component.value?.setData(data.value)\n accessor.update(component.value)\n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n accessor.destroy()\n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.setConfig(config.value)\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 VisLineSelectors = Line.selectors\n</script>\n\n<template>\n <div data-vis-component />\n</template>\n\n\n"],"names":["VisLineSelectors","Line","accessor","inject","componentAccessorKey","props","__props","data","computed","config","useForwardProps","component","ref","onMounted","nextTick","_a","onUnmounted","watch","curr","prev","arePropsEqual","__expose"],"mappings":";;;;wCAkDaA,IAAmBC,EAAK
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/line/index.vue"],"sourcesContent":["<script setup lang=\"ts\" generic=\"Datum\">\n// !!! This code was automatically generated. You should not change it !!!\nimport { Line, LineConfigInterface, NumericAccessor } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch, nextTick, inject } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\nimport { componentAccessorKey } from '../../utils/context'\n\nconst accessor = inject(componentAccessorKey)\n\n// data and required props \ntype Props = LineConfigInterface<Datum>\nconst props = defineProps<Props & { data?: Datum[] }>()\n\nconst data = computed(() => accessor.data.value ?? props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<Line<Datum>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Line<Datum>(config.value)\n component.value?.setData(data.value)\n accessor.update(component.value)\n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n accessor.destroy()\n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.setConfig(config.value)\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 VisLineSelectors = Line.selectors\n</script>\n\n<template>\n <div data-vis-component />\n</template>\n\n\n"],"names":["VisLineSelectors","Line","accessor","inject","componentAccessorKey","props","__props","data","computed","config","useForwardProps","component","ref","onMounted","nextTick","_a","onUnmounted","watch","curr","prev","arePropsEqual","__expose"],"mappings":";;;;wCAkDaA,IAAmBC,EAAK;;;;;;;;;;;;;;;;;;;;;;;AA3C/B,UAAAC,IAAWC,EAAOC,CAAoB,GAItCC,IAAQC,GAERC,IAAOC,EAAS,MAAMN,EAAS,KAAK,SAASG,EAAM,IAAI,GAEvDI,IAASC,EAAgBL,CAAK,GAG9BM,IAAYC,EAAiB;AAGnC,WAAAC,EAAU,MAAM;AACd,MAAAC,EAAS,MAAM;;AACb,QAAAH,EAAU,QAAQ,IAAIV,EAAYQ,EAAO,KAAK,IACpCM,IAAAJ,EAAA,UAAA,QAAAI,EAAO,QAAQR,EAAK,QACrBL,EAAA,OAAOS,EAAU,KAAK;AAAA,MAAA,CAChC;AAAA,IAAA,CACF,GAEDK,EAAY,MAAM;;AAChB,OAAAD,IAAAJ,EAAU,UAAV,QAAAI,EAAiB,WACjBb,EAAS,QAAQ;AAAA,IAAA,CAClB,GAEKe,EAAAR,GAAQ,CAACS,GAAMC,MAAS;;AAC5B,MAAKC,EAAcF,GAAMC,CAAI,MACjBJ,IAAAJ,EAAA,UAAA,QAAAI,EAAO,UAAUN,EAAO;AAAA,IACpC,CACD,GAEDQ,EAAMV,GAAM,MAAM;;AACN,OAAAQ,IAAAJ,EAAA,UAAA,QAAAI,EAAO,QAAQR,EAAK;AAAA,IAAK,CACpC,GAEYc,EAAA;AAAA,MACX,WAAAV;AAAA,IAAA,CACD;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NestedDonut, StringAccessor } from '@unovis/ts';
|
|
2
|
-
export declare const VisNestedDonutSelectors: typeof import("@unovis/ts/
|
|
2
|
+
export declare const VisNestedDonutSelectors: typeof import("@unovis/ts/dist/components/nested-donut/style");
|
|
3
3
|
declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
|
|
4
4
|
attrs: any;
|
|
5
5
|
emit: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as i, inject as m, computed as g, ref as v, onMounted as y, nextTick as f, onUnmounted as b, watch as c,
|
|
1
|
+
import { defineComponent as i, inject as m, computed as g, ref as v, onMounted as y, nextTick as f, onUnmounted as b, watch as c, createElementBlock as B, openBlock as S } from "vue";
|
|
2
2
|
import { NestedDonut as u } from "@unovis/ts";
|
|
3
3
|
import { useForwardProps as _, arePropsEqual as h } from "../../utils/props.js";
|
|
4
4
|
import { componentAccessorKey as w } from "../../utils/context.js";
|
|
@@ -47,7 +47,7 @@ const L = { "data-vis-component": "" }, E = u.selectors, P = /* @__PURE__ */ i({
|
|
|
47
47
|
(e = t.value) == null || e.setData(a.value);
|
|
48
48
|
}), d({
|
|
49
49
|
component: t
|
|
50
|
-
}), (e, r) => (
|
|
50
|
+
}), (e, r) => (S(), B("div", L));
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Sankey } from '@unovis/ts';
|
|
2
|
-
export declare const VisSankeySelectors: typeof import("@unovis/ts/
|
|
2
|
+
export declare const VisSankeySelectors: typeof import("@unovis/ts/dist/components/sankey/style");
|
|
3
3
|
declare const _default: <N extends import("@unovis/ts").GraphInputNode, L extends import("@unovis/ts").GraphInputLink>(__VLS_props: any, __VLS_ctx?: {
|
|
4
4
|
attrs: any;
|
|
5
5
|
emit: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, inject as b, computed as m, ref as h, onMounted as y, nextTick as g, onUnmounted as v, watch as s,
|
|
1
|
+
import { defineComponent as p, inject as b, computed as m, ref as h, onMounted as y, nextTick as g, onUnmounted as v, watch as s, createElementBlock as f, openBlock as k } from "vue";
|
|
2
2
|
import { Sankey as d } from "@unovis/ts";
|
|
3
3
|
import { useForwardProps as x, arePropsEqual as C } from "../../utils/props.js";
|
|
4
4
|
import { componentAccessorKey as S } from "../../utils/context.js";
|
|
@@ -72,7 +72,7 @@ const F = { "data-vis-component": "" }, H = d.selectors, M = /* @__PURE__ */ p({
|
|
|
72
72
|
(e = o.value) == null || e.setData(t.value);
|
|
73
73
|
}), c({
|
|
74
74
|
component: o
|
|
75
|
-
}), (e, i) => (
|
|
75
|
+
}), (e, i) => (k(), f("div", F));
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
78
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Scatter, NumericAccessor } from '@unovis/ts';
|
|
2
|
-
export declare const VisScatterSelectors: typeof import("@unovis/ts/
|
|
2
|
+
export declare const VisScatterSelectors: typeof import("@unovis/ts/dist/components/scatter/style");
|
|
3
3
|
declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
|
|
4
4
|
attrs: any;
|
|
5
5
|
emit: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as d, inject as m, computed as v, ref as y, onMounted as f, nextTick as b, onUnmounted as x, watch as l,
|
|
1
|
+
import { defineComponent as d, inject as m, computed as v, ref as y, onMounted as f, nextTick as b, onUnmounted as x, watch as l, createElementBlock as _, openBlock as F } from "vue";
|
|
2
2
|
import { Scatter as i } from "@unovis/ts";
|
|
3
3
|
import { useForwardProps as S, arePropsEqual as g } from "../../utils/props.js";
|
|
4
4
|
import { componentAccessorKey as h } from "../../utils/context.js";
|
|
@@ -47,7 +47,7 @@ const k = { "data-vis-component": "" }, w = i.selectors, z = /* @__PURE__ */ d({
|
|
|
47
47
|
(e = t.value) == null || e.setData(a.value);
|
|
48
48
|
}), p({
|
|
49
49
|
component: t
|
|
50
|
-
}), (e, s) => (
|
|
50
|
+
}), (e, s) => (F(), _("div", k));
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StackedBar, NumericAccessor } from '@unovis/ts';
|
|
2
|
-
export declare const VisStackedBarSelectors: typeof import("@unovis/ts/
|
|
2
|
+
export declare const VisStackedBarSelectors: typeof import("@unovis/ts/dist/components/stacked-bar/style");
|
|
3
3
|
declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
|
|
4
4
|
attrs: any;
|
|
5
5
|
emit: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, inject as m, computed as v, ref as f, onMounted as y, nextTick as x, onUnmounted as b, watch as i,
|
|
1
|
+
import { defineComponent as p, inject as m, computed as v, ref as f, onMounted as y, nextTick as x, onUnmounted as b, watch as i, createElementBlock as _, openBlock as h } from "vue";
|
|
2
2
|
import { StackedBar as u } from "@unovis/ts";
|
|
3
3
|
import { useForwardProps as B, arePropsEqual as S } from "../../utils/props.js";
|
|
4
4
|
import { componentAccessorKey as g } from "../../utils/context.js";
|
|
@@ -44,7 +44,7 @@ const k = { "data-vis-component": "" }, j = u.selectors, w = /* @__PURE__ */ p({
|
|
|
44
44
|
(e = t.value) == null || e.setData(a.value);
|
|
45
45
|
}), l({
|
|
46
46
|
component: t
|
|
47
|
-
}), (e, c) => (
|
|
47
|
+
}), (e, c) => (h(), _("div", k));
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Timeline, NumericAccessor } from '@unovis/ts';
|
|
2
2
|
import { StringAccessor } from "@unovis/ts";
|
|
3
|
-
export declare const VisTimelineSelectors: typeof import("@unovis/ts/
|
|
3
|
+
export declare const VisTimelineSelectors: typeof import("@unovis/ts/dist/components/timeline/style");
|
|
4
4
|
declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
|
|
5
5
|
attrs: any;
|
|
6
6
|
emit: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, inject as d, computed as v, ref as f, onMounted as _, nextTick as x, onUnmounted as h, watch as u,
|
|
1
|
+
import { defineComponent as m, inject as d, computed as v, ref as f, onMounted as _, nextTick as x, onUnmounted as h, watch as u, createElementBlock as k, openBlock as w } from "vue";
|
|
2
2
|
import { Timeline as i } from "@unovis/ts";
|
|
3
3
|
import { useForwardProps as y, arePropsEqual as T } from "../../utils/props.js";
|
|
4
4
|
import { componentAccessorKey as g } from "../../utils/context.js";
|
|
@@ -25,7 +25,7 @@ const B = { "data-vis-component": "" }, j = i.selectors, q = /* @__PURE__ */ m({
|
|
|
25
25
|
(e = o.value) == null || e.setData(a.value);
|
|
26
26
|
}), p({
|
|
27
27
|
component: o
|
|
28
|
-
}), (e, c) => (
|
|
28
|
+
}), (e, c) => (w(), k("div", B));
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
31
|
export {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("@unovis/ts"),l=require("../../utils/props.cjs"),d=require("../../utils/context.cjs"),v={"data-vis-tooltip":""},f=a.Tooltip.selectors,m=e.defineComponent({__name:"index",props:{components:{},container:{},followCursor:{type:Boolean},allowHover:{type:Boolean},horizontalPlacement:{},horizontalShift:{},verticalPlacement:{},verticalShift:{},triggers:{},attributes:{},className:{},data:{}},setup(i,{expose:u}){const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("@unovis/ts"),l=require("../../utils/props.cjs"),d=require("../../utils/context.cjs"),v={"data-vis-tooltip":""},f=a.Tooltip.selectors,m=e.defineComponent({__name:"index",props:{components:{},container:{},followCursor:{type:Boolean},allowHover:{type:Boolean},horizontalPlacement:{},horizontalShift:{},verticalPlacement:{},verticalShift:{},triggers:{},attributes:{},className:{},hideDelay:{},showDelay:{},data:{}},setup(i,{expose:u}){const n=e.inject(d.tooltipAccessorKey),p=i,s=l.useForwardProps(p),o=e.ref();return e.onMounted(()=>{e.nextTick(()=>{o.value=new a.Tooltip(s.value),n.update(o.value)})}),e.onUnmounted(()=>{var t;(t=o.value)==null||t.destroy(),n.destroy()}),e.watch(s,(t,r)=>{var c;l.arePropsEqual(t,r)||(c=o.value)==null||c.setConfig(s.value)}),u({component:o}),(t,r)=>(e.openBlock(),e.createElementBlock("div",v))}});exports.VisTooltipSelectors=f;exports.default=m;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/tooltip/index.vue"],"sourcesContent":["<script setup lang=\"ts\" >\n// !!! This code was automatically generated. You should not change it !!!\nimport { Tooltip, TooltipConfigInterface } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch, nextTick, inject } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\nimport { tooltipAccessorKey } from '../../utils/context'\n\nconst accessor = inject(tooltipAccessorKey)\n\n// data and required props \ntype Props = TooltipConfigInterface\nconst props = defineProps<Props & { data?: null }>()\n\n\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<Tooltip>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Tooltip(config.value)\n \n accessor.update(component.value)\n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n accessor.destroy()\n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.setConfig(config.value)\n }\n})\n\n\ndefineExpose({\n component\n})\n</script>\n\n<script lang=\"ts\">\nexport const VisTooltipSelectors = Tooltip.selectors\n</script>\n\n<template>\n <div data-vis-tooltip />\n</template>\n\n\n"],"names":["VisTooltipSelectors","Tooltip","accessor","inject","tooltipAccessorKey","props","__props","config","useForwardProps","component","ref","onMounted","nextTick","onUnmounted","_a","watch","curr","prev","arePropsEqual","__expose"],"mappings":"6PA+CaA,EAAsBC,EAAAA,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/tooltip/index.vue"],"sourcesContent":["<script setup lang=\"ts\" >\n// !!! This code was automatically generated. You should not change it !!!\nimport { Tooltip, TooltipConfigInterface } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch, nextTick, inject } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\nimport { tooltipAccessorKey } from '../../utils/context'\n\nconst accessor = inject(tooltipAccessorKey)\n\n// data and required props \ntype Props = TooltipConfigInterface\nconst props = defineProps<Props & { data?: null }>()\n\n\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<Tooltip>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Tooltip(config.value)\n \n accessor.update(component.value)\n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n accessor.destroy()\n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.setConfig(config.value)\n }\n})\n\n\ndefineExpose({\n component\n})\n</script>\n\n<script lang=\"ts\">\nexport const VisTooltipSelectors = Tooltip.selectors\n</script>\n\n<template>\n <div data-vis-tooltip />\n</template>\n\n\n"],"names":["VisTooltipSelectors","Tooltip","accessor","inject","tooltipAccessorKey","props","__props","config","useForwardProps","component","ref","onMounted","nextTick","onUnmounted","_a","watch","curr","prev","arePropsEqual","__expose"],"mappings":"6PA+CaA,EAAsBC,EAAAA,QAAQ,oTAxCrC,MAAAC,EAAWC,SAAOC,oBAAkB,EAIpCC,EAAQC,EAIRC,EAASC,kBAAgBH,CAAK,EAG9BI,EAAYC,EAAAA,IAAa,EAG/BC,OAAAA,EAAAA,UAAU,IAAM,CACdC,EAAAA,SAAS,IAAM,CACbH,EAAU,MAAQ,IAAIR,UAAQM,EAAO,KAAK,EAEjCL,EAAA,OAAOO,EAAU,KAAK,CAAA,CAChC,CAAA,CACF,EAEDI,EAAAA,YAAY,IAAM,QAChBC,EAAAL,EAAU,QAAV,MAAAK,EAAiB,UACjBZ,EAAS,QAAQ,CAAA,CAClB,EAEKa,EAAAA,MAAAR,EAAQ,CAACS,EAAMC,IAAS,OACvBC,EAAA,cAAcF,EAAMC,CAAI,IACjBH,EAAAL,EAAA,QAAA,MAAAK,EAAO,UAAUP,EAAO,MACpC,CACD,EAGYY,EAAA,CACX,UAAAV,CAAA,CACD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Tooltip } from '@unovis/ts';
|
|
2
|
-
export declare const VisTooltipSelectors: typeof import("@unovis/ts/
|
|
2
|
+
export declare const VisTooltipSelectors: typeof import("@unovis/ts/dist/components/tooltip/style");
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
components: {
|
|
5
5
|
type: import("vue").PropType<import("@unovis/ts").ComponentCore<unknown, import("@unovis/ts").ComponentConfigInterface>[]>;
|
|
@@ -38,6 +38,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
38
38
|
className: {
|
|
39
39
|
type: import("vue").PropType<string>;
|
|
40
40
|
};
|
|
41
|
+
hideDelay: {
|
|
42
|
+
type: import("vue").PropType<number>;
|
|
43
|
+
};
|
|
44
|
+
showDelay: {
|
|
45
|
+
type: import("vue").PropType<number>;
|
|
46
|
+
};
|
|
41
47
|
data: {
|
|
42
48
|
type: import("vue").PropType<never>;
|
|
43
49
|
};
|
|
@@ -81,6 +87,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
81
87
|
className: {
|
|
82
88
|
type: import("vue").PropType<string>;
|
|
83
89
|
};
|
|
90
|
+
hideDelay: {
|
|
91
|
+
type: import("vue").PropType<number>;
|
|
92
|
+
};
|
|
93
|
+
showDelay: {
|
|
94
|
+
type: import("vue").PropType<number>;
|
|
95
|
+
};
|
|
84
96
|
data: {
|
|
85
97
|
type: import("vue").PropType<never>;
|
|
86
98
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as i, inject as p, ref as m, onMounted as u, nextTick as
|
|
2
|
-
import { Tooltip as
|
|
3
|
-
import { useForwardProps as
|
|
4
|
-
import { tooltipAccessorKey as
|
|
5
|
-
const g = { "data-vis-tooltip": "" }, T =
|
|
1
|
+
import { defineComponent as i, inject as p, ref as m, onMounted as u, nextTick as d, onUnmounted as f, watch as v, createElementBlock as h, openBlock as _ } from "vue";
|
|
2
|
+
import { Tooltip as s } from "@unovis/ts";
|
|
3
|
+
import { useForwardProps as y, arePropsEqual as w } from "../../utils/props.js";
|
|
4
|
+
import { tooltipAccessorKey as x } from "../../utils/context.js";
|
|
5
|
+
const g = { "data-vis-tooltip": "" }, T = s.selectors, z = /* @__PURE__ */ i({
|
|
6
6
|
__name: "index",
|
|
7
7
|
props: {
|
|
8
8
|
components: {},
|
|
@@ -16,20 +16,22 @@ const g = { "data-vis-tooltip": "" }, T = a.selectors, z = /* @__PURE__ */ i({
|
|
|
16
16
|
triggers: {},
|
|
17
17
|
attributes: {},
|
|
18
18
|
className: {},
|
|
19
|
+
hideDelay: {},
|
|
20
|
+
showDelay: {},
|
|
19
21
|
data: {}
|
|
20
22
|
},
|
|
21
23
|
setup(c, { expose: l }) {
|
|
22
|
-
const r = p(
|
|
24
|
+
const r = p(x), t = y(c), o = m();
|
|
23
25
|
return u(() => {
|
|
24
|
-
|
|
25
|
-
o.value = new
|
|
26
|
+
d(() => {
|
|
27
|
+
o.value = new s(t.value), r.update(o.value);
|
|
26
28
|
});
|
|
27
|
-
}),
|
|
29
|
+
}), f(() => {
|
|
28
30
|
var e;
|
|
29
31
|
(e = o.value) == null || e.destroy(), r.destroy();
|
|
30
32
|
}), v(t, (e, n) => {
|
|
31
|
-
var
|
|
32
|
-
|
|
33
|
+
var a;
|
|
34
|
+
w(e, n) || (a = o.value) == null || a.setConfig(t.value);
|
|
33
35
|
}), l({
|
|
34
36
|
component: o
|
|
35
37
|
}), (e, n) => (_(), h("div", g));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/tooltip/index.vue"],"sourcesContent":["<script setup lang=\"ts\" >\n// !!! This code was automatically generated. You should not change it !!!\nimport { Tooltip, TooltipConfigInterface } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch, nextTick, inject } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\nimport { tooltipAccessorKey } from '../../utils/context'\n\nconst accessor = inject(tooltipAccessorKey)\n\n// data and required props \ntype Props = TooltipConfigInterface\nconst props = defineProps<Props & { data?: null }>()\n\n\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<Tooltip>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Tooltip(config.value)\n \n accessor.update(component.value)\n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n accessor.destroy()\n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.setConfig(config.value)\n }\n})\n\n\ndefineExpose({\n component\n})\n</script>\n\n<script lang=\"ts\">\nexport const VisTooltipSelectors = Tooltip.selectors\n</script>\n\n<template>\n <div data-vis-tooltip />\n</template>\n\n\n"],"names":["VisTooltipSelectors","Tooltip","accessor","inject","tooltipAccessorKey","config","useForwardProps","__props","component","ref","onMounted","nextTick","onUnmounted","_a","watch","curr","prev","arePropsEqual","__expose"],"mappings":";;;;sCA+CaA,IAAsBC,EAAQ
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/tooltip/index.vue"],"sourcesContent":["<script setup lang=\"ts\" >\n// !!! This code was automatically generated. You should not change it !!!\nimport { Tooltip, TooltipConfigInterface } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch, nextTick, inject } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\nimport { tooltipAccessorKey } from '../../utils/context'\n\nconst accessor = inject(tooltipAccessorKey)\n\n// data and required props \ntype Props = TooltipConfigInterface\nconst props = defineProps<Props & { data?: null }>()\n\n\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<Tooltip>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Tooltip(config.value)\n \n accessor.update(component.value)\n })\n})\n\nonUnmounted(() => {\n component.value?.destroy()\n accessor.destroy()\n})\n\nwatch(config, (curr, prev) => {\n if (!arePropsEqual(curr, prev)) {\n component.value?.setConfig(config.value)\n }\n})\n\n\ndefineExpose({\n component\n})\n</script>\n\n<script lang=\"ts\">\nexport const VisTooltipSelectors = Tooltip.selectors\n</script>\n\n<template>\n <div data-vis-tooltip />\n</template>\n\n\n"],"names":["VisTooltipSelectors","Tooltip","accessor","inject","tooltipAccessorKey","config","useForwardProps","__props","component","ref","onMounted","nextTick","onUnmounted","_a","watch","curr","prev","arePropsEqual","__expose"],"mappings":";;;;sCA+CaA,IAAsBC,EAAQ;;;;;;;;;;;;;;;;;;;AAxCrC,UAAAC,IAAWC,EAAOC,CAAkB,GAQpCC,IAASC,EAJDC,CAIsB,GAG9BC,IAAYC,EAAa;AAG/B,WAAAC,EAAU,MAAM;AACd,MAAAC,EAAS,MAAM;AACb,QAAAH,EAAU,QAAQ,IAAIP,EAAQI,EAAO,KAAK,GAEjCH,EAAA,OAAOM,EAAU,KAAK;AAAA,MAAA,CAChC;AAAA,IAAA,CACF,GAEDI,EAAY,MAAM;;AAChB,OAAAC,IAAAL,EAAU,UAAV,QAAAK,EAAiB,WACjBX,EAAS,QAAQ;AAAA,IAAA,CAClB,GAEKY,EAAAT,GAAQ,CAACU,GAAMC,MAAS;;AAC5B,MAAKC,EAAcF,GAAMC,CAAI,MACjBH,IAAAL,EAAA,UAAA,QAAAK,EAAO,UAAUR,EAAO;AAAA,IACpC,CACD,GAGYa,EAAA;AAAA,MACX,WAAAV;AAAA,IAAA,CACD;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TopoJSONMap } from '@unovis/ts';
|
|
2
|
-
export declare const VisTopoJSONMapSelectors: typeof import("@unovis/ts/
|
|
2
|
+
export declare const VisTopoJSONMapSelectors: typeof import("@unovis/ts/dist/components/topojson-map/style");
|
|
3
3
|
declare const _default: <AreaDatum, PointDatum, LinkDatum>(__VLS_props: any, __VLS_ctx?: {
|
|
4
4
|
attrs: any;
|
|
5
5
|
emit: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as d, inject as m, computed as v, ref as f, onMounted as h, nextTick as k, onUnmounted as y, watch as s,
|
|
1
|
+
import { defineComponent as d, inject as m, computed as v, ref as f, onMounted as h, nextTick as k, onUnmounted as y, watch as s, createElementBlock as C, openBlock as F } from "vue";
|
|
2
2
|
import { TopoJSONMap as l } from "@unovis/ts";
|
|
3
3
|
import { useForwardProps as _, arePropsEqual as x } from "../../utils/props.js";
|
|
4
4
|
import { componentAccessorKey as B } from "../../utils/context.js";
|
|
@@ -58,7 +58,7 @@ const T = { "data-vis-component": "" }, j = l.selectors, D = /* @__PURE__ */ d({
|
|
|
58
58
|
(o = e.value) == null || o.setData(a.value);
|
|
59
59
|
}), u({
|
|
60
60
|
component: e
|
|
61
|
-
}), (o, r) => (
|
|
61
|
+
}), (o, r) => (F(), C("div", T));
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
64
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { XYLabels, NumericAccessor } from '@unovis/ts';
|
|
2
|
-
export declare const VisXYLabelsSelectors: typeof import("@unovis/ts/
|
|
2
|
+
export declare const VisXYLabelsSelectors: typeof import("@unovis/ts/dist/components/xy-labels/style");
|
|
3
3
|
declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
|
|
4
4
|
attrs: any;
|
|
5
5
|
emit: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as d, inject as m, computed as v, ref as b, onMounted as f, nextTick as y, onUnmounted as x, watch as l,
|
|
1
|
+
import { defineComponent as d, inject as m, computed as v, ref as b, onMounted as f, nextTick as y, onUnmounted as x, watch as l, createElementBlock as g, openBlock as _ } from "vue";
|
|
2
2
|
import { XYLabels as u } from "@unovis/ts";
|
|
3
3
|
import { useForwardProps as C, arePropsEqual as F } from "../../utils/props.js";
|
|
4
4
|
import { componentAccessorKey as B } from "../../utils/context.js";
|
|
@@ -48,7 +48,7 @@ const k = { "data-vis-component": "" }, j = u.selectors, w = /* @__PURE__ */ d({
|
|
|
48
48
|
(e = o.value) == null || e.setData(a.value);
|
|
49
49
|
}), p({
|
|
50
50
|
component: o
|
|
51
|
-
}), (e, r) => (
|
|
51
|
+
}), (e, r) => (_(), g("div", k));
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f, toRefs as m, reactive as u, ref as v, watchEffect as g, watch as y, onUnmounted as w, provide as a,
|
|
1
|
+
import { defineComponent as f, toRefs as m, reactive as u, ref as v, watchEffect as g, watch as y, onUnmounted as w, provide as a, createElementBlock as _, openBlock as h, renderSlot as C, toRaw as s } from "vue";
|
|
2
2
|
import { SingleContainer as R } from "@unovis/ts";
|
|
3
3
|
import { componentAccessorKey as k, tooltipAccessorKey as x, annotationsAccessorKey as A } from "../../utils/context.js";
|
|
4
4
|
import { useForwardProps as K } from "../../utils/props.js";
|
|
@@ -51,7 +51,7 @@ const b = /* @__PURE__ */ f({
|
|
|
51
51
|
}
|
|
52
52
|
}), d({
|
|
53
53
|
component: o
|
|
54
|
-
}), (t, B) => (
|
|
54
|
+
}), (t, B) => (h(), _("div", {
|
|
55
55
|
"data-vis-single-container": "",
|
|
56
56
|
ref_key: "elRef",
|
|
57
57
|
ref: i,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as u, toRefs as y, ref as p, reactive as v, watch as f, watchEffect as x, toRaw as r, onMounted as h, onUnmounted as D, provide as a,
|
|
1
|
+
import { defineComponent as u, toRefs as y, ref as p, reactive as v, watch as f, watchEffect as x, toRaw as r, onMounted as h, onUnmounted as D, provide as a, createElementBlock as g, openBlock as A, renderSlot as C } from "vue";
|
|
2
2
|
import { XYContainer as w } from "@unovis/ts";
|
|
3
3
|
import { componentAccessorKey as B, axisAccessorKey as M, crosshairAccessorKey as R, tooltipAccessorKey as _, annotationsAccessorKey as K } from "../../utils/context.js";
|
|
4
4
|
import { useForwardProps as b } from "../../utils/props.js";
|
|
@@ -87,7 +87,7 @@ const $ = /* @__PURE__ */ u({
|
|
|
87
87
|
}
|
|
88
88
|
}), l({
|
|
89
89
|
component: n
|
|
90
|
-
}), (o, i) => (
|
|
90
|
+
}), (o, i) => (A(), g("div", {
|
|
91
91
|
"data-vis-xy-container": "",
|
|
92
92
|
ref_key: "elRef",
|
|
93
93
|
ref: s,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BulletLegend, BulletLegendItemInterface } from '@unovis/ts';
|
|
2
|
-
export declare const VisBulletLegendSelectors: typeof import("@unovis/ts/
|
|
2
|
+
export declare const VisBulletLegendSelectors: typeof import("@unovis/ts/dist/components/bullet-legend/style");
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
items: {
|
|
5
5
|
type: import("vue").PropType<BulletLegendItemInterface[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, computed as p, ref as d, onMounted as m, nextTick as f, onUnmounted as v, watch as _,
|
|
1
|
+
import { defineComponent as c, computed as p, ref as d, onMounted as m, nextTick as f, onUnmounted as v, watch as _, createElementBlock as b, openBlock as x } from "vue";
|
|
2
2
|
import { BulletLegend as u } from "@unovis/ts";
|
|
3
3
|
import { useForwardProps as g, arePropsEqual as k } from "../../utils/props.js";
|
|
4
4
|
const P = u.selectors, S = /* @__PURE__ */ c({
|
|
@@ -31,7 +31,7 @@ const P = u.selectors, S = /* @__PURE__ */ c({
|
|
|
31
31
|
k(e, a) || (r = o.value) == null || r.update(t.value);
|
|
32
32
|
}), i({
|
|
33
33
|
component: o
|
|
34
|
-
}), (e, a) => (
|
|
34
|
+
}), (e, a) => (x(), b("div", {
|
|
35
35
|
"data-vis-bullet-legend": "",
|
|
36
36
|
ref_key: "elRef",
|
|
37
37
|
ref: n
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LeafletFlowMap, GenericDataRecord } from '@unovis/ts';
|
|
2
|
-
export declare const VisLeafletFlowMapSelectors: typeof import("@unovis/ts/
|
|
2
|
+
export declare const VisLeafletFlowMapSelectors: typeof import("@unovis/ts/dist/components/leaflet-map/style");
|
|
3
3
|
declare const _default: <PointDatum extends GenericDataRecord, FlowDatum extends GenericDataRecord>(__VLS_props: any, __VLS_ctx?: {
|
|
4
4
|
attrs: any;
|
|
5
5
|
emit: any;
|
|
@@ -43,6 +43,7 @@ declare const _default: <PointDatum extends GenericDataRecord, FlowDatum extends
|
|
|
43
43
|
};
|
|
44
44
|
width?: string | number;
|
|
45
45
|
tooltip?: import("@unovis/ts").Tooltip;
|
|
46
|
+
fitViewPadding?: [number, number];
|
|
46
47
|
zoomDuration?: number;
|
|
47
48
|
pointColor?: import("@unovis/ts").ColorAccessor<import("@unovis/ts").LeafletMapPointDatum<PointDatum>>;
|
|
48
49
|
pointRadius?: import("@unovis/ts").NumericAccessor<import("@unovis/ts").LeafletMapPointDatum<PointDatum>>;
|
|
@@ -67,7 +68,6 @@ declare const _default: <PointDatum extends GenericDataRecord, FlowDatum extends
|
|
|
67
68
|
onSourcePointMouseEnter?: (f: FlowDatum, x: number, y: number, event: MouseEvent) => void;
|
|
68
69
|
onSourcePointMouseLeave?: (f: FlowDatum, event: MouseEvent) => void;
|
|
69
70
|
flyToDuration?: number;
|
|
70
|
-
fitViewPadding?: [number, number];
|
|
71
71
|
initialBounds?: import("@unovis/ts").Bounds;
|
|
72
72
|
fitBoundsOnUpdate?: import("@unovis/ts").Bounds;
|
|
73
73
|
fitViewOnInit?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as d, computed as f, ref as r, onMounted as m, nextTick as y, onUnmounted as L, watch as M,
|
|
1
|
+
import { defineComponent as d, computed as f, ref as r, onMounted as m, nextTick as y, onUnmounted as L, watch as M, createElementBlock as v, openBlock as w } from "vue";
|
|
2
2
|
import { LeafletFlowMap as u } from "@unovis/ts";
|
|
3
3
|
import { useForwardProps as g, arePropsEqual as F } from "../../utils/props.js";
|
|
4
4
|
const k = u.selectors, b = /* @__PURE__ */ d({
|
|
@@ -82,7 +82,7 @@ const k = u.selectors, b = /* @__PURE__ */ d({
|
|
|
82
82
|
F(o, a) || (l = e.value) == null || l.setConfig(t.value);
|
|
83
83
|
}), p({
|
|
84
84
|
component: e
|
|
85
|
-
}), (o, a) => (
|
|
85
|
+
}), (o, a) => (w(), v("div", {
|
|
86
86
|
"data-vis-leaflet-flow-map": "",
|
|
87
87
|
ref_key: "elRef",
|
|
88
88
|
ref: n
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LeafletMap, GenericDataRecord } from '@unovis/ts';
|
|
2
|
-
export declare const VisLeafletMapSelectors: typeof import("@unovis/ts/
|
|
2
|
+
export declare const VisLeafletMapSelectors: typeof import("@unovis/ts/dist/components/leaflet-map/style");
|
|
3
3
|
declare const _default: <Datum extends GenericDataRecord>(__VLS_props: any, __VLS_ctx?: {
|
|
4
4
|
attrs: any;
|
|
5
5
|
emit: any;
|
|
@@ -40,6 +40,7 @@ declare const _default: <Datum extends GenericDataRecord>(__VLS_props: any, __VL
|
|
|
40
40
|
data?: Datum[];
|
|
41
41
|
width?: string | number;
|
|
42
42
|
tooltip?: import("@unovis/ts").Tooltip;
|
|
43
|
+
fitViewPadding?: [number, number];
|
|
43
44
|
zoomDuration?: number;
|
|
44
45
|
pointColor?: import("@unovis/ts").ColorAccessor<import("@unovis/ts").LeafletMapPointDatum<Datum>>;
|
|
45
46
|
pointRadius?: import("@unovis/ts").NumericAccessor<import("@unovis/ts").LeafletMapPointDatum<Datum>>;
|
|
@@ -51,7 +52,6 @@ declare const _default: <Datum extends GenericDataRecord>(__VLS_props: any, __VL
|
|
|
51
52
|
height?: string | number;
|
|
52
53
|
ariaLabel?: string;
|
|
53
54
|
flyToDuration?: number;
|
|
54
|
-
fitViewPadding?: [number, number];
|
|
55
55
|
initialBounds?: import("@unovis/ts").Bounds;
|
|
56
56
|
fitBoundsOnUpdate?: import("@unovis/ts").Bounds;
|
|
57
57
|
fitViewOnInit?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as d, computed as f, ref as p, onMounted as m, nextTick as y, onUnmounted as v, watch as M,
|
|
1
|
+
import { defineComponent as d, computed as f, ref as p, onMounted as m, nextTick as y, onUnmounted as v, watch as M, createElementBlock as L, openBlock as B } from "vue";
|
|
2
2
|
import { LeafletMap as r } from "@unovis/ts";
|
|
3
3
|
import { useForwardProps as b, arePropsEqual as g } from "../../utils/props.js";
|
|
4
4
|
const F = r.selectors, w = /* @__PURE__ */ d({
|
|
@@ -69,7 +69,7 @@ const F = r.selectors, w = /* @__PURE__ */ d({
|
|
|
69
69
|
g(t, i) || (l = e.value) == null || l.setConfig(o.value);
|
|
70
70
|
}), c({
|
|
71
71
|
component: e
|
|
72
|
-
}), (t, i) => (
|
|
72
|
+
}), (t, i) => (B(), L("div", {
|
|
73
73
|
"data-vis-leaflet-map": "",
|
|
74
74
|
ref_key: "elRef",
|
|
75
75
|
ref: n
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.5.
|
|
4
|
+
"version": "1.5.2",
|
|
5
5
|
"packageManager": "npm@10.9.1",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"author": "Zernonia Kong <zernonia@gmail.com>",
|
|
23
23
|
"maintainers": [
|
|
24
24
|
"Nikita Rokotyan <nikita@f5.com> (https://rokotyan.com)",
|
|
25
|
-
"
|
|
25
|
+
"Qian Liu <qi.liu@f5.com>",
|
|
26
|
+
"Surya Hanumandla <s.hanumandla@f5.com>"
|
|
26
27
|
],
|
|
27
28
|
"exports": {
|
|
28
29
|
".": {
|
|
@@ -44,21 +45,21 @@
|
|
|
44
45
|
"type": "module",
|
|
45
46
|
"sideEffects": false,
|
|
46
47
|
"scripts": {
|
|
47
|
-
"build": "vite build",
|
|
48
|
+
"build": "vite build; rm -rf dist/.cache; cp LICENSE README.md package.json ./dist",
|
|
48
49
|
"check": "vue-tsc --noEmit",
|
|
49
50
|
"generate": "rollup -c ./autogen/rollup.config.js; node .autogen.cjs; rm .autogen.cjs",
|
|
50
|
-
"publish:dist": "
|
|
51
|
+
"publish:dist": "cd ./dist; npm publish",
|
|
51
52
|
"build:gallery": "vite build --mode gallery",
|
|
52
53
|
"gallery": "vite"
|
|
53
54
|
},
|
|
54
55
|
"peerDependencies": {
|
|
55
|
-
"@unovis/ts": "1.5.
|
|
56
|
+
"@unovis/ts": "1.5.2",
|
|
56
57
|
"vue": "^3"
|
|
57
58
|
},
|
|
58
59
|
"devDependencies": {
|
|
59
60
|
"@antfu/eslint-config": "^3.9.1",
|
|
60
61
|
"@rollup/plugin-node-resolve": "^13.0.4",
|
|
61
|
-
"@vitejs/plugin-vue": "^5.2.
|
|
62
|
+
"@vitejs/plugin-vue": "^5.2.3",
|
|
62
63
|
"@vue/tsconfig": "^0.4.0",
|
|
63
64
|
"de-indent": "^1.0.2",
|
|
64
65
|
"jju": "^1.4.0",
|
|
@@ -67,7 +68,7 @@
|
|
|
67
68
|
"rollup-plugin-typescript2": "^0.31.1",
|
|
68
69
|
"tslib": "^2.3.1",
|
|
69
70
|
"typescript": "~4.2.4",
|
|
70
|
-
"vite": "^
|
|
71
|
+
"vite": "^6.2.4",
|
|
71
72
|
"vite-plugin-css-injected-by-js": "^3.3.0",
|
|
72
73
|
"vite-plugin-dts": "^3.5.3",
|
|
73
74
|
"vue": "^3.5.13",
|