@unovis/vue 1.3.0-alpha.3 → 1.3.0-beta.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/components/area/index.cjs +1 -1
- package/components/area/index.cjs.map +1 -1
- package/components/area/index.d.ts +53 -6
- package/components/area/index.js +20 -17
- 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 +71 -6
- package/components/axis/index.js +20 -17
- package/components/axis/index.js.map +1 -1
- package/components/brush/index.cjs +1 -1
- package/components/brush/index.cjs.map +1 -1
- package/components/brush/index.d.ts +57 -6
- package/components/brush/index.js +19 -16
- 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 +55 -6
- package/components/chord-diagram/index.js +20 -17
- 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 +56 -6
- package/components/crosshair/index.js +20 -35
- 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 +57 -6
- package/components/donut/index.js +21 -18
- 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 +57 -6
- package/components/free-brush/index.js +21 -18
- 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 +106 -6
- package/components/graph/index.js +24 -21
- 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 +57 -6
- package/components/grouped-bar/index.js +21 -18
- package/components/grouped-bar/index.js.map +1 -1
- package/components/line/index.cjs +1 -1
- package/components/line/index.cjs.map +1 -1
- package/components/line/index.d.ts +54 -6
- package/components/line/index.js +20 -17
- 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 +59 -6
- package/components/nested-donut/index.js +22 -19
- package/components/nested-donut/index.js.map +1 -1
- package/components/sankey/index.cjs +1 -1
- package/components/sankey/index.cjs.map +1 -1
- package/components/sankey/index.d.ts +90 -6
- package/components/sankey/index.js +28 -25
- 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 +60 -6
- package/components/scatter/index.js +22 -19
- 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 +57 -6
- package/components/stacked-bar/index.js +22 -19
- 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 +54 -12
- package/components/timeline/index.js +22 -41
- 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 +2 -2
- package/components/tooltip/index.js +18 -18
- 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 +73 -6
- package/components/topojson-map/index.js +22 -19
- package/components/topojson-map/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 +61 -6
- package/components/xy-labels/index.js +27 -24
- package/components/xy-labels/index.js.map +1 -1
- package/containers/single-container/index.cjs +1 -1
- package/containers/single-container/index.cjs.map +1 -1
- package/containers/single-container/index.d.ts +21 -8
- package/containers/single-container/index.js +28 -29
- package/containers/single-container/index.js.map +1 -1
- package/containers/xy-container/index.cjs +1 -1
- package/containers/xy-container/index.cjs.map +1 -1
- package/containers/xy-container/index.d.ts +38 -8
- package/containers/xy-container/index.js +33 -33
- 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 +6 -0
- package/html-components/bullet-legend/index.js +19 -18
- package/html-components/bullet-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 +107 -6
- package/html-components/leaflet-flow-map/index.js +18 -18
- 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 +94 -6
- package/html-components/leaflet-map/index.js +17 -17
- package/html-components/leaflet-map/index.js.map +1 -1
- package/index.cjs +1 -1
- package/index.js +1 -1
- package/package.json +5 -5
- package/utils/props.cjs +1 -1
- package/utils/props.cjs.map +1 -1
- package/utils/props.d.ts +3 -0
- package/utils/props.js +14 -11
- package/utils/props.js.map +1 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { GroupedBar as
|
|
3
|
-
import {
|
|
4
|
-
import { componentAccessorKey as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as s, inject as d, computed as m, ref as y, onMounted as v, nextTick as f, onUnmounted as g, watch as i, openBlock as x, createElementBlock as F } from "vue";
|
|
2
|
+
import { GroupedBar as b } from "@unovis/ts";
|
|
3
|
+
import { useForwardProps as _, arePropsEqual as h } from "../../utils/props.js";
|
|
4
|
+
import { componentAccessorKey as B } from "../../utils/context.js";
|
|
5
|
+
const S = { "data-vis-component": "" }, w = /* @__PURE__ */ s({
|
|
6
6
|
__name: "index",
|
|
7
7
|
props: {
|
|
8
|
+
color: { type: [Function, String, null] },
|
|
8
9
|
groupWidth: {},
|
|
9
10
|
groupMaxWidth: {},
|
|
10
11
|
dataStep: {},
|
|
@@ -17,7 +18,6 @@ const P = { "data-vis-component": "" }, N = /* @__PURE__ */ d({
|
|
|
17
18
|
x: { type: [Function, Number, null] },
|
|
18
19
|
y: { type: [Function, Number, null, Array] },
|
|
19
20
|
id: { type: Function },
|
|
20
|
-
color: { type: [Function, String, Array, null] },
|
|
21
21
|
xScale: { type: [Object, Function] },
|
|
22
22
|
yScale: { type: [Object, Function] },
|
|
23
23
|
excludeFromDomainCalculation: { type: Boolean },
|
|
@@ -26,25 +26,28 @@ const P = { "data-vis-component": "" }, N = /* @__PURE__ */ d({
|
|
|
26
26
|
attributes: {},
|
|
27
27
|
data: {}
|
|
28
28
|
},
|
|
29
|
-
setup(
|
|
30
|
-
const
|
|
31
|
-
return
|
|
32
|
-
|
|
29
|
+
setup(p, { expose: l }) {
|
|
30
|
+
const r = p, o = d(B), n = m(() => o.data.value ?? r.data), a = _(r), t = y();
|
|
31
|
+
return v(() => {
|
|
32
|
+
f(() => {
|
|
33
33
|
var e;
|
|
34
|
-
t.value = new
|
|
34
|
+
t.value = new b(a.value), (e = t.value) == null || e.setData(n.value), o.update(t.value);
|
|
35
35
|
});
|
|
36
|
-
}),
|
|
36
|
+
}), g(() => {
|
|
37
37
|
var e;
|
|
38
|
-
(e = t.value) == null || e.destroy(),
|
|
39
|
-
}),
|
|
38
|
+
(e = t.value) == null || e.destroy(), o.destroy();
|
|
39
|
+
}), i(a, (e, u) => {
|
|
40
40
|
var c;
|
|
41
|
-
|
|
42
|
-
}),
|
|
41
|
+
h(e, u) || (c = t.value) == null || c.setConfig(a.value);
|
|
42
|
+
}), i(n, () => {
|
|
43
|
+
var e;
|
|
44
|
+
(e = t.value) == null || e.setData(n.value);
|
|
45
|
+
}), l({
|
|
43
46
|
component: t
|
|
44
|
-
}), (e,
|
|
47
|
+
}), (e, u) => (x(), F("div", S));
|
|
45
48
|
}
|
|
46
49
|
});
|
|
47
50
|
export {
|
|
48
|
-
|
|
51
|
+
w as default
|
|
49
52
|
};
|
|
50
53
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/grouped-bar/index.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { \"data-vis-component\": \"\" }\n\nimport { GroupedBar, GroupedBarConfigInterface, NumericAccessor } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/grouped-bar/index.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { \"data-vis-component\": \"\" }\n\nimport { GroupedBar, GroupedBarConfigInterface, 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\ninterface Props extends GroupedBarConfigInterface<Datum> { }\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n color: { type: [Function, String, null] },\n groupWidth: {},\n groupMaxWidth: {},\n dataStep: {},\n groupPadding: {},\n barPadding: {},\n roundedCorners: { type: [Number, Boolean] },\n barMinHeight: {},\n cursor: { type: [Function, String, null] },\n orientation: {},\n x: { type: [Function, Number, null] },\n y: { type: [Function, Number, null, Array] },\n id: { type: Function },\n xScale: { type: [Object, Function] },\n yScale: { type: [Object, Function] },\n excludeFromDomainCalculation: { type: Boolean },\n duration: {},\n events: {},\n attributes: {},\n data: {}\n },\n setup(__props: any, { expose: __expose }) {\n\nconst props = __props;\n\n// !!! This code was automatically generated. You should not change it !!!\nconst accessor = inject(componentAccessorKey)\n\n// data and required props \n\n\nconst data = computed(() => accessor.data.value ?? props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<GroupedBar<Datum>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new GroupedBar<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\n__expose({\n component\n})\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1))\n}\n}\n\n})"],"names":["_hoisted_1","_sfc_main","_defineComponent","__props","__expose","props","accessor","inject","componentAccessorKey","data","computed","config","useForwardProps","component","ref","onMounted","nextTick","GroupedBar","_a","onUnmounted","watch","curr","prev","arePropsEqual","_ctx","_cache","_openBlock","_createElementBlock"],"mappings":";;;;AAGA,MAAMA,IAAa,EAAE,sBAAsB,MASfC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,OAAO,EAAE,MAAM,CAAC,UAAU,QAAQ,IAAI,EAAE;AAAA,IACxC,YAAY,CAAC;AAAA,IACb,eAAe,CAAC;AAAA,IAChB,UAAU,CAAC;AAAA,IACX,cAAc,CAAC;AAAA,IACf,YAAY,CAAC;AAAA,IACb,gBAAgB,EAAE,MAAM,CAAC,QAAQ,OAAO,EAAE;AAAA,IAC1C,cAAc,CAAC;AAAA,IACf,QAAQ,EAAE,MAAM,CAAC,UAAU,QAAQ,IAAI,EAAE;AAAA,IACzC,aAAa,CAAC;AAAA,IACd,GAAG,EAAE,MAAM,CAAC,UAAU,QAAQ,IAAI,EAAE;AAAA,IACpC,GAAG,EAAE,MAAM,CAAC,UAAU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EA,CAAC;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("vue"),d=require("@unovis/ts"),s=require("../../utils/props.cjs"),y=require("../../utils/context.cjs"),v={"data-vis-component":""},m=t.defineComponent({__name:"index",props:{color:{type:[Function,String,null]},curveType:{},lineWidth:{},lineDashArray:{type:[Function,null]},fallbackValue:{},highlightOnHover:{type:Boolean},cursor:{type:[Function,String,null]},x:{type:[Function,Number,null]},y:{type:[Function,Number,null,Array]},id:{type:Function},xScale:{type:[Object,Function]},yScale:{type:[Object,Function]},excludeFromDomainCalculation:{type:Boolean},duration:{},events:{},attributes:{},data:{}},setup(i,{expose:p}){const u=i,o=t.inject(y.componentAccessorKey),a=t.computed(()=>o.data.value??u.data),c=s.useForwardProps(u),n=t.ref();return t.onMounted(()=>{t.nextTick(()=>{var e;n.value=new d.Line(c.value),(e=n.value)==null||e.setData(a.value),o.update(n.value)})}),t.onUnmounted(()=>{var e;(e=n.value)==null||e.destroy(),o.destroy()}),t.watch(c,(e,r)=>{var l;s.arePropsEqual(e,r)||(l=n.value)==null||l.setConfig(c.value)}),t.watch(a,()=>{var e;(e=n.value)==null||e.setData(a.value)}),p({component:n}),(e,r)=>(t.openBlock(),t.createElementBlock("div",v))}});module.exports=m;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/line/index.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { \"data-vis-component\": \"\" }\n\nimport { Line, LineConfigInterface, NumericAccessor } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch,
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/line/index.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { \"data-vis-component\": \"\" }\n\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\ninterface Props extends LineConfigInterface<Datum> { }\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n color: { type: [Function, String, null] },\n curveType: {},\n lineWidth: {},\n lineDashArray: { type: [Function, null] },\n fallbackValue: {},\n highlightOnHover: { type: Boolean },\n cursor: { type: [Function, String, null] },\n x: { type: [Function, Number, null] },\n y: { type: [Function, Number, null, Array] },\n id: { type: Function },\n xScale: { type: [Object, Function] },\n yScale: { type: [Object, Function] },\n excludeFromDomainCalculation: { type: Boolean },\n duration: {},\n events: {},\n attributes: {},\n data: {}\n },\n setup(__props: any, { expose: __expose }) {\n\nconst props = __props;\n\n// !!! This code was automatically generated. You should not change it !!!\nconst accessor = inject(componentAccessorKey)\n\n// data and required props \n\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\n__expose({\n component\n})\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1))\n}\n}\n\n})"],"names":["_hoisted_1","_sfc_main","_defineComponent","__props","__expose","props","accessor","inject","componentAccessorKey","data","computed","config","useForwardProps","component","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QAChBD,EAAAL,EAAU,QAAV,MAAAK,EAAiB,UACjBZ,EAAS,QAAQ,CAAA,CAClB,EAEKc,EAAAA,MAAAT,EAAQ,CAACU,EAAMC,IAAS,OACvBC,EAAA,cAAcF,EAAMC,CAAI,IACjBJ,EAAAL,EAAA,QAAA,MAAAK,EAAO,UAAUP,EAAO,MACpC,CACD,EAEDS,EAAA,MAAMX,EAAM,IAAM,QACNS,EAAAL,EAAA,QAAA,MAAAK,EAAO,QAAQT,EAAK,MAAK,CACpC,EAEQL,EAAA,CACP,UAAAS,CAAA,CACD,EAEM,CAACW,EAAUC,KACRC,EAAW,UAAA,EAAGC,EAAAA,mBAAoB,MAAO3B,CAAU,EAE7D,CAEA,CAAC"}
|
|
@@ -1,11 +1,59 @@
|
|
|
1
|
-
import { Line,
|
|
2
|
-
declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?:
|
|
3
|
-
|
|
1
|
+
import { Line, NumericAccessor } from '@unovis/ts';
|
|
2
|
+
declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
|
|
3
|
+
attrs: any;
|
|
4
|
+
emit: any;
|
|
5
|
+
slots: any;
|
|
6
|
+
}, __VLS_expose?: any, __VLS_setup?: Promise<{
|
|
7
|
+
props: {
|
|
8
|
+
color?: import("@unovis/ts").ColorAccessor<Datum[]>;
|
|
9
|
+
curveType?: import("@unovis/ts").CurveType;
|
|
10
|
+
cursor?: import("@unovis/ts").StringAccessor<Datum[]>;
|
|
11
|
+
x: NumericAccessor<Datum>;
|
|
12
|
+
y: NumericAccessor<Datum> | NumericAccessor<Datum>[];
|
|
13
|
+
id?: (d: Datum, i: number, ...any: any[]) => string;
|
|
14
|
+
xScale?: import("@unovis/ts").ContinuousScale;
|
|
15
|
+
yScale?: import("@unovis/ts").ContinuousScale;
|
|
16
|
+
excludeFromDomainCalculation?: boolean;
|
|
17
|
+
duration?: number;
|
|
18
|
+
events?: {
|
|
19
|
+
[selector: string]: {
|
|
20
|
+
touchstart?: import("@unovis/ts").VisEventCallback<any>;
|
|
21
|
+
touchmove?: import("@unovis/ts").VisEventCallback<any>;
|
|
22
|
+
touchend?: import("@unovis/ts").VisEventCallback<any>;
|
|
23
|
+
mouseover?: import("@unovis/ts").VisEventCallback<any>;
|
|
24
|
+
mousemove?: import("@unovis/ts").VisEventCallback<any>;
|
|
25
|
+
mousedown?: import("@unovis/ts").VisEventCallback<any>;
|
|
26
|
+
mouseup?: import("@unovis/ts").VisEventCallback<any>;
|
|
27
|
+
click?: import("@unovis/ts").VisEventCallback<any>;
|
|
28
|
+
auxclick?: import("@unovis/ts").VisEventCallback<any>;
|
|
29
|
+
contextmenu?: import("@unovis/ts").VisEventCallback<any>;
|
|
30
|
+
dblclick?: import("@unovis/ts").VisEventCallback<any>;
|
|
31
|
+
mouseenter?: import("@unovis/ts").VisEventCallback<any>;
|
|
32
|
+
mouseleave?: import("@unovis/ts").VisEventCallback<any>;
|
|
33
|
+
mouseout?: import("@unovis/ts").VisEventCallback<any>;
|
|
34
|
+
scroll?: import("@unovis/ts").VisEventCallback<any>;
|
|
35
|
+
select?: import("@unovis/ts").VisEventCallback<any>;
|
|
36
|
+
wheel?: import("@unovis/ts").VisEventCallback<any>;
|
|
37
|
+
pointerdown?: import("@unovis/ts").VisEventCallback<any>;
|
|
38
|
+
pointerup?: import("@unovis/ts").VisEventCallback<any>;
|
|
39
|
+
pointerout?: import("@unovis/ts").VisEventCallback<any>;
|
|
40
|
+
pointermove?: import("@unovis/ts").VisEventCallback<any>;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
attributes?: {
|
|
44
|
+
[selector: string]: {
|
|
45
|
+
[attr: string]: string | number | boolean | ((datum: any) => string | number | boolean);
|
|
46
|
+
};
|
|
47
|
+
};
|
|
4
48
|
data?: Datum[];
|
|
5
|
-
|
|
6
|
-
|
|
49
|
+
lineWidth?: number;
|
|
50
|
+
lineDashArray?: import("@unovis/ts").GenericAccessor<number[], Datum[]>;
|
|
51
|
+
fallbackValue?: number;
|
|
52
|
+
highlightOnHover?: boolean;
|
|
53
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
54
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
7
55
|
component: import("vue").Ref<Line<Datum>>;
|
|
8
|
-
}): void;
|
|
56
|
+
}>): void;
|
|
9
57
|
attrs: any;
|
|
10
58
|
slots: {};
|
|
11
59
|
emit: any;
|
package/components/line/index.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Line as
|
|
3
|
-
import {
|
|
4
|
-
import { componentAccessorKey as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as s, inject as d, computed as m, ref as y, onMounted as v, nextTick as f, onUnmounted as F, watch as l, openBlock as h, createElementBlock as x } from "vue";
|
|
2
|
+
import { Line as _ } from "@unovis/ts";
|
|
3
|
+
import { useForwardProps as b, arePropsEqual as g } from "../../utils/props.js";
|
|
4
|
+
import { componentAccessorKey as k } from "../../utils/context.js";
|
|
5
|
+
const B = { "data-vis-component": "" }, A = /* @__PURE__ */ s({
|
|
6
6
|
__name: "index",
|
|
7
7
|
props: {
|
|
8
|
+
color: { type: [Function, String, null] },
|
|
8
9
|
curveType: {},
|
|
9
10
|
lineWidth: {},
|
|
10
11
|
lineDashArray: { type: [Function, null] },
|
|
@@ -14,7 +15,6 @@ const C = { "data-vis-component": "" }, w = /* @__PURE__ */ m({
|
|
|
14
15
|
x: { type: [Function, Number, null] },
|
|
15
16
|
y: { type: [Function, Number, null, Array] },
|
|
16
17
|
id: { type: Function },
|
|
17
|
-
color: { type: [Function, String, Array, null] },
|
|
18
18
|
xScale: { type: [Object, Function] },
|
|
19
19
|
yScale: { type: [Object, Function] },
|
|
20
20
|
excludeFromDomainCalculation: { type: Boolean },
|
|
@@ -23,25 +23,28 @@ const C = { "data-vis-component": "" }, w = /* @__PURE__ */ m({
|
|
|
23
23
|
attributes: {},
|
|
24
24
|
data: {}
|
|
25
25
|
},
|
|
26
|
-
setup(
|
|
27
|
-
const
|
|
28
|
-
return
|
|
29
|
-
|
|
26
|
+
setup(i, { expose: p }) {
|
|
27
|
+
const c = i, n = d(k), o = m(() => n.data.value ?? c.data), a = b(c), t = y();
|
|
28
|
+
return v(() => {
|
|
29
|
+
f(() => {
|
|
30
30
|
var e;
|
|
31
|
-
t.value = new
|
|
31
|
+
t.value = new _(a.value), (e = t.value) == null || e.setData(o.value), n.update(t.value);
|
|
32
32
|
});
|
|
33
|
-
}),
|
|
33
|
+
}), F(() => {
|
|
34
34
|
var e;
|
|
35
35
|
(e = t.value) == null || e.destroy(), n.destroy();
|
|
36
|
-
}),
|
|
36
|
+
}), l(a, (e, u) => {
|
|
37
37
|
var r;
|
|
38
|
-
|
|
39
|
-
}),
|
|
38
|
+
g(e, u) || (r = t.value) == null || r.setConfig(a.value);
|
|
39
|
+
}), l(o, () => {
|
|
40
|
+
var e;
|
|
41
|
+
(e = t.value) == null || e.setData(o.value);
|
|
42
|
+
}), p({
|
|
40
43
|
component: t
|
|
41
|
-
}), (e,
|
|
44
|
+
}), (e, u) => (h(), x("div", B));
|
|
42
45
|
}
|
|
43
46
|
});
|
|
44
47
|
export {
|
|
45
|
-
|
|
48
|
+
A as default
|
|
46
49
|
};
|
|
47
50
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/line/index.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { \"data-vis-component\": \"\" }\n\nimport { Line, LineConfigInterface, NumericAccessor } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/line/index.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { \"data-vis-component\": \"\" }\n\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\ninterface Props extends LineConfigInterface<Datum> { }\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n color: { type: [Function, String, null] },\n curveType: {},\n lineWidth: {},\n lineDashArray: { type: [Function, null] },\n fallbackValue: {},\n highlightOnHover: { type: Boolean },\n cursor: { type: [Function, String, null] },\n x: { type: [Function, Number, null] },\n y: { type: [Function, Number, null, Array] },\n id: { type: Function },\n xScale: { type: [Object, Function] },\n yScale: { type: [Object, Function] },\n excludeFromDomainCalculation: { type: Boolean },\n duration: {},\n events: {},\n attributes: {},\n data: {}\n },\n setup(__props: any, { expose: __expose }) {\n\nconst props = __props;\n\n// !!! This code was automatically generated. You should not change it !!!\nconst accessor = inject(componentAccessorKey)\n\n// data and required props \n\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\n__expose({\n component\n})\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1))\n}\n}\n\n})"],"names":["_hoisted_1","_sfc_main","_defineComponent","__props","__expose","props","accessor","inject","componentAccessorKey","data","computed","config","useForwardProps","component","ref","onMounted","nextTick","Line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AAQT,EAAK,QACrBH,EAAA,OAAOO,EAAU,KAAK;AAAA,MAAA,CAChC;AAAA,IAAA,CACF,GAEDM,EAAY,MAAM;;AAChB,OAAAD,IAAAL,EAAU,UAAV,QAAAK,EAAiB,WACjBZ,EAAS,QAAQ;AAAA,IAAA,CAClB,GAEKc,EAAAT,GAAQ,CAACU,GAAMC,MAAS;;AAC5B,MAAKC,EAAcF,GAAMC,CAAI,MACjBJ,IAAAL,EAAA,UAAA,QAAAK,EAAO,UAAUP,EAAO;AAAA,IACpC,CACD,GAEDS,EAAMX,GAAM,MAAM;;AACN,OAAAS,IAAAL,EAAA,UAAA,QAAAK,EAAO,QAAQT,EAAK;AAAA,IAAK,CACpC,GAEQL,EAAA;AAAA,MACP,WAAAS;AAAA,IAAA,CACD,GAEM,CAACW,GAAUC,OACRC,EAAW,GAAGC,EAAoB,OAAO3B,CAAU;AAAA,EAE7D;AAEA,CAAC;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("vue"),d=require("@unovis/ts"),c=require("../../utils/props.cjs"),g=require("../../utils/context.cjs"),m={"data-vis-component":""},y=t.defineComponent({__name:"index",props:{angleRange:{},direction:{},value:{type:[Function,Number,null]},centralLabel:{},centralSubLabel:{},centralSubLabelWrap:{type:Boolean},showBackground:{type:Boolean},sort:{type:Function},layers:{},layerSettings:{type:[Function,null]},layerPadding:{},cornerRadius:{},emptySegmentAngle:{},hideOverflowingSegmentLabels:{type:Boolean},segmentColor:{type:[Function,String,null]},segmentLabel:{type:[Function,String,null]},segmentLabelColor:{type:[Function,String,null]},showEmptySegments:{type:Boolean},duration:{},events:{},attributes:{},data:{}},setup(i,{expose:p}){const s=i,o=t.inject(g.componentAccessorKey),a=t.computed(()=>o.data.value??s.data),r=c.useForwardProps(s),n=t.ref();return t.onMounted(()=>{t.nextTick(()=>{var e;n.value=new d.NestedDonut(r.value),(e=n.value)==null||e.setData(a.value),o.update(n.value)})}),t.onUnmounted(()=>{var e;(e=n.value)==null||e.destroy(),o.destroy()}),t.watch(r,(e,l)=>{var u;c.arePropsEqual(e,l)||(u=n.value)==null||u.setConfig(r.value)}),t.watch(a,()=>{var e;(e=n.value)==null||e.setData(a.value)}),p({component:n}),(e,l)=>(t.openBlock(),t.createElementBlock("div",m))}});module.exports=y;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/nested-donut/index.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { \"data-vis-component\": \"\" }\n\nimport { NestedDonut, NestedDonutConfigInterface, StringAccessor } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch,
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/nested-donut/index.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { \"data-vis-component\": \"\" }\n\nimport { NestedDonut, NestedDonutConfigInterface, StringAccessor } 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\ninterface Props extends NestedDonutConfigInterface<Datum> { }\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n angleRange: {},\n direction: {},\n value: { type: [Function, Number, null] },\n centralLabel: {},\n centralSubLabel: {},\n centralSubLabelWrap: { type: Boolean },\n showBackground: { type: Boolean },\n sort: { type: Function },\n layers: {},\n layerSettings: { type: [Function, null] },\n layerPadding: {},\n cornerRadius: {},\n emptySegmentAngle: {},\n hideOverflowingSegmentLabels: { type: Boolean },\n segmentColor: { type: [Function, String, null] },\n segmentLabel: { type: [Function, String, null] },\n segmentLabelColor: { type: [Function, String, null] },\n showEmptySegments: { type: Boolean },\n duration: {},\n events: {},\n attributes: {},\n data: {}\n },\n setup(__props: any, { expose: __expose }) {\n\nconst props = __props;\n\n// !!! This code was automatically generated. You should not change it !!!\nconst accessor = inject(componentAccessorKey)\n\n// data and required props \n\n\nconst data = computed(() => accessor.data.value ?? props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<NestedDonut<Datum>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new NestedDonut<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\n__expose({\n component\n})\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1))\n}\n}\n\n})"],"names":["_hoisted_1","_sfc_main","_defineComponent","__props","__expose","props","accessor","inject","componentAccessorKey","data","computed","config","useForwardProps","component","ref","onMounted","nextTick","NestedDonut","_a","onUnmounted","watch","curr","prev","arePropsEqual","_ctx","_cache","_openBlock","_createElementBlock"],"mappings":"oIAGMA,EAAa,CAAE,qBAAsB,IASfC,EAAiBC,kBAAA,CAC3C,OAAQ,QACR,MAAO,CACL,WAAY,CAAC,EACb,UAAW,CAAC,EACZ,MAAO,CAAE,KAAM,CAAC,SAAU,OAAQ,IAAI,CAAE,EACxC,aAAc,CAAC,EACf,gBAAiB,CAAC,EAClB,oBAAqB,CAAE,KAAM,OAAQ,EACrC,eAAgB,CAAE,KAAM,OAAQ,EAChC,KAAM,CAAE,KAAM,QAAS,EACvB,OAAQ,CAAC,EACT,cAAe,CAAE,KAAM,CAAC,SAAU,IAAI,CAAE,EACxC,aAAc,CAAC,EACf,a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AAU,EAE7D,CAEA,CAAC"}
|
|
@@ -1,11 +1,64 @@
|
|
|
1
|
-
import { NestedDonut,
|
|
2
|
-
declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?:
|
|
3
|
-
|
|
1
|
+
import { NestedDonut, StringAccessor } from '@unovis/ts';
|
|
2
|
+
declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
|
|
3
|
+
attrs: any;
|
|
4
|
+
emit: any;
|
|
5
|
+
slots: any;
|
|
6
|
+
}, __VLS_expose?: any, __VLS_setup?: Promise<{
|
|
7
|
+
props: {
|
|
8
|
+
value?: import("@unovis/ts").NumericAccessor<Datum>;
|
|
9
|
+
duration?: number;
|
|
10
|
+
events?: {
|
|
11
|
+
[selector: string]: {
|
|
12
|
+
touchstart?: import("@unovis/ts").VisEventCallback<any>;
|
|
13
|
+
touchmove?: import("@unovis/ts").VisEventCallback<any>;
|
|
14
|
+
touchend?: import("@unovis/ts").VisEventCallback<any>;
|
|
15
|
+
mouseover?: import("@unovis/ts").VisEventCallback<any>;
|
|
16
|
+
mousemove?: import("@unovis/ts").VisEventCallback<any>;
|
|
17
|
+
mousedown?: import("@unovis/ts").VisEventCallback<any>;
|
|
18
|
+
mouseup?: import("@unovis/ts").VisEventCallback<any>;
|
|
19
|
+
click?: import("@unovis/ts").VisEventCallback<any>;
|
|
20
|
+
auxclick?: import("@unovis/ts").VisEventCallback<any>;
|
|
21
|
+
contextmenu?: import("@unovis/ts").VisEventCallback<any>;
|
|
22
|
+
dblclick?: import("@unovis/ts").VisEventCallback<any>;
|
|
23
|
+
mouseenter?: import("@unovis/ts").VisEventCallback<any>;
|
|
24
|
+
mouseleave?: import("@unovis/ts").VisEventCallback<any>;
|
|
25
|
+
mouseout?: import("@unovis/ts").VisEventCallback<any>;
|
|
26
|
+
scroll?: import("@unovis/ts").VisEventCallback<any>;
|
|
27
|
+
select?: import("@unovis/ts").VisEventCallback<any>;
|
|
28
|
+
wheel?: import("@unovis/ts").VisEventCallback<any>;
|
|
29
|
+
pointerdown?: import("@unovis/ts").VisEventCallback<any>;
|
|
30
|
+
pointerup?: import("@unovis/ts").VisEventCallback<any>;
|
|
31
|
+
pointerout?: import("@unovis/ts").VisEventCallback<any>;
|
|
32
|
+
pointermove?: import("@unovis/ts").VisEventCallback<any>;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
attributes?: {
|
|
36
|
+
[selector: string]: {
|
|
37
|
+
[attr: string]: string | number | boolean | ((datum: any) => string | number | boolean);
|
|
38
|
+
};
|
|
39
|
+
};
|
|
4
40
|
data?: Datum[];
|
|
5
|
-
|
|
6
|
-
|
|
41
|
+
cornerRadius?: number;
|
|
42
|
+
angleRange?: [number, number];
|
|
43
|
+
centralLabel?: string;
|
|
44
|
+
centralSubLabel?: string;
|
|
45
|
+
centralSubLabelWrap?: boolean;
|
|
46
|
+
showEmptySegments?: boolean;
|
|
47
|
+
emptySegmentAngle?: number;
|
|
48
|
+
showBackground?: boolean;
|
|
49
|
+
direction?: string;
|
|
50
|
+
sort?: (a: import("@unovis/ts").NestedDonutSegment<Datum>, b: import("@unovis/ts").NestedDonutSegment<Datum>) => number;
|
|
51
|
+
layers: StringAccessor<Datum>[];
|
|
52
|
+
layerSettings?: import("@unovis/ts").GenericAccessor<import("@unovis/ts").NestedDonutLayerSettings, number>;
|
|
53
|
+
layerPadding?: number;
|
|
54
|
+
hideOverflowingSegmentLabels?: boolean;
|
|
55
|
+
segmentColor?: import("@unovis/ts").ColorAccessor<import("@unovis/ts").NestedDonutSegment<Datum>>;
|
|
56
|
+
segmentLabel?: StringAccessor<import("@unovis/ts").NestedDonutSegment<Datum>>;
|
|
57
|
+
segmentLabelColor?: import("@unovis/ts").ColorAccessor<import("@unovis/ts").NestedDonutSegment<Datum>>;
|
|
58
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
59
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
7
60
|
component: import("vue").Ref<NestedDonut<Datum>>;
|
|
8
|
-
}): void;
|
|
61
|
+
}>): void;
|
|
9
62
|
attrs: any;
|
|
10
63
|
slots: {};
|
|
11
64
|
emit: any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { NestedDonut as
|
|
3
|
-
import {
|
|
4
|
-
import { componentAccessorKey as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as p, inject as m, computed as d, ref as g, onMounted as y, nextTick as v, onUnmounted as f, watch as u, openBlock as b, createElementBlock as S } from "vue";
|
|
2
|
+
import { NestedDonut as _ } from "@unovis/ts";
|
|
3
|
+
import { useForwardProps as B, arePropsEqual as F } from "../../utils/props.js";
|
|
4
|
+
import { componentAccessorKey as h } from "../../utils/context.js";
|
|
5
|
+
const w = { "data-vis-component": "" }, D = /* @__PURE__ */ p({
|
|
6
6
|
__name: "index",
|
|
7
7
|
props: {
|
|
8
8
|
angleRange: {},
|
|
@@ -19,34 +19,37 @@ const x = { "data-vis-component": "" }, P = /* @__PURE__ */ m({
|
|
|
19
19
|
cornerRadius: {},
|
|
20
20
|
emptySegmentAngle: {},
|
|
21
21
|
hideOverflowingSegmentLabels: { type: Boolean },
|
|
22
|
-
segmentColor: { type: [Function, String,
|
|
22
|
+
segmentColor: { type: [Function, String, null] },
|
|
23
23
|
segmentLabel: { type: [Function, String, null] },
|
|
24
|
-
segmentLabelColor: { type: [Function, String,
|
|
24
|
+
segmentLabelColor: { type: [Function, String, null] },
|
|
25
25
|
showEmptySegments: { type: Boolean },
|
|
26
26
|
duration: {},
|
|
27
27
|
events: {},
|
|
28
28
|
attributes: {},
|
|
29
29
|
data: {}
|
|
30
30
|
},
|
|
31
|
-
setup(c, { expose:
|
|
32
|
-
const
|
|
33
|
-
return
|
|
34
|
-
|
|
31
|
+
setup(c, { expose: i }) {
|
|
32
|
+
const l = c, n = m(h), o = d(() => n.data.value ?? l.data), a = B(l), t = g();
|
|
33
|
+
return y(() => {
|
|
34
|
+
v(() => {
|
|
35
35
|
var e;
|
|
36
|
-
t.value = new
|
|
36
|
+
t.value = new _(a.value), (e = t.value) == null || e.setData(o.value), n.update(t.value);
|
|
37
37
|
});
|
|
38
|
-
}),
|
|
38
|
+
}), f(() => {
|
|
39
39
|
var e;
|
|
40
40
|
(e = t.value) == null || e.destroy(), n.destroy();
|
|
41
|
-
}),
|
|
42
|
-
var
|
|
43
|
-
|
|
44
|
-
}), u({
|
|
41
|
+
}), u(a, (e, r) => {
|
|
42
|
+
var s;
|
|
43
|
+
F(e, r) || (s = t.value) == null || s.setConfig(a.value);
|
|
44
|
+
}), u(o, () => {
|
|
45
|
+
var e;
|
|
46
|
+
(e = t.value) == null || e.setData(o.value);
|
|
47
|
+
}), i({
|
|
45
48
|
component: t
|
|
46
|
-
}), (e, r) => (
|
|
49
|
+
}), (e, r) => (b(), S("div", w));
|
|
47
50
|
}
|
|
48
51
|
});
|
|
49
52
|
export {
|
|
50
|
-
|
|
53
|
+
D as default
|
|
51
54
|
};
|
|
52
55
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/nested-donut/index.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { \"data-vis-component\": \"\" }\n\nimport { NestedDonut, NestedDonutConfigInterface, StringAccessor } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/nested-donut/index.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { \"data-vis-component\": \"\" }\n\nimport { NestedDonut, NestedDonutConfigInterface, StringAccessor } 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\ninterface Props extends NestedDonutConfigInterface<Datum> { }\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n angleRange: {},\n direction: {},\n value: { type: [Function, Number, null] },\n centralLabel: {},\n centralSubLabel: {},\n centralSubLabelWrap: { type: Boolean },\n showBackground: { type: Boolean },\n sort: { type: Function },\n layers: {},\n layerSettings: { type: [Function, null] },\n layerPadding: {},\n cornerRadius: {},\n emptySegmentAngle: {},\n hideOverflowingSegmentLabels: { type: Boolean },\n segmentColor: { type: [Function, String, null] },\n segmentLabel: { type: [Function, String, null] },\n segmentLabelColor: { type: [Function, String, null] },\n showEmptySegments: { type: Boolean },\n duration: {},\n events: {},\n attributes: {},\n data: {}\n },\n setup(__props: any, { expose: __expose }) {\n\nconst props = __props;\n\n// !!! This code was automatically generated. You should not change it !!!\nconst accessor = inject(componentAccessorKey)\n\n// data and required props \n\n\nconst data = computed(() => accessor.data.value ?? props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<NestedDonut<Datum>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new NestedDonut<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\n__expose({\n component\n})\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1))\n}\n}\n\n})"],"names":["_hoisted_1","_sfc_main","_defineComponent","__props","__expose","props","accessor","inject","componentAccessorKey","data","computed","config","useForwardProps","component","ref","onMounted","nextTick","NestedDonut","_a","onUnmounted","watch","curr","prev","arePropsEqual","_ctx","_cache","_openBlock","_createEl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,EAAA,UAAA,QAAAK,EAAO,QAAQT,EAAK,QACrBH,EAAA,OAAOO,EAAU,KAAK;AAAA,MAAA,CAChC;AAAA,IAAA,CACF,GAEDM,EAAY,MAAM;;AAChB,OAAAD,IAAAL,EAAU,UAAV,QAAAK,EAAiB,WACjBZ,EAAS,QAAQ;AAAA,IAAA,CAClB,GAEKc,EAAAT,GAAQ,CAACU,GAAMC,MAAS;;AAC5B,MAAKC,EAAcF,GAAMC,CAAI,MACjBJ,IAAAL,EAAA,UAAA,QAAAK,EAAO,UAAUP,EAAO;AAAA,IACpC,CACD,GAEDS,EAAMX,GAAM,MAAM;;AACN,OAAAS,IAAAL,EAAA,UAAA,QAAAK,EAAO,QAAQT,EAAK;AAAA,IAAK,CACpC,GAEQL,EAAA;AAAA,MACP,WAAAS;AAAA,IAAA,CACD,GAEM,CAACW,GAAUC,OACRC,EAAW,GAAGC,EAAoB,OAAO3B,CAAU;AAAA,EAE7D;AAEA,CAAC;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const n=require("vue"),d=require("@unovis/ts"),c=require("../../utils/props.cjs"),y=require("../../utils/context.cjs"),b={"data-vis-component":""},g=n.defineComponent({__name:"index",props:{id:{type:Function},heightNormalizationCoeff:{},exitTransitionType:{},enterTransitionType:{},highlightSubtreeOnHover:{type:Boolean},highlightDuration:{},highlightDelay:{},iterations:{},nodeSort:{type:[Function,null]},linkSort:{type:[Function,null]},nodeWidth:{},nodeAlign:{},nodeHorizontalSpacing:{},nodeMinHeight:{},nodeMaxHeight:{},nodePadding:{},showSingleNode:{type:Boolean},nodeCursor:{type:[Function,String,null]},nodeIcon:{type:[Function,String,null]},nodeColor:{type:[Function,String,null]},nodeFixedValue:{type:[Function,Number,null]},nodeIconColor:{type:[Function,String,null]},linkColor:{type:[Function,String,null]},linkValue:{type:[Function,Number,null]},linkCursor:{type:[Function,String,null]},label:{type:[Function,String,null]},subLabel:{type:[Function,String,null]},labelPosition:{type:[Function,null]},labelVerticalAlign:{},labelBackground:{type:Boolean},labelFit:{},labelMaxWidth:{},labelExpandTrimmedOnHover:{type:Boolean},labelTrimMode:{},labelFontSize:{},labelTextSeparator:{},labelForceWordBreak:{type:Boolean},labelColor:{type:[Function,String,null]},labelCursor:{type:[Function,String,null]},labelVisibility:{type:Function},subLabelFontSize:{},subLabelColor:{type:[Function,String,null]},subLabelPlacement:{},subLabelToLabelInlineWidthRatio:{},duration:{},events:{},attributes:{},data:{}},setup(s,{expose:p}){const a=s,o=n.inject(y.componentAccessorKey),l=n.computed(()=>o.data.value??a.data),i=c.useForwardProps(a),t=n.ref();return n.onMounted(()=>{n.nextTick(()=>{var e;t.value=new d.Sankey(i.value),(e=t.value)==null||e.setData(l.value),o.update(t.value)})}),n.onUnmounted(()=>{var e;(e=t.value)==null||e.destroy(),o.destroy()}),n.watch(i,(e,u)=>{var r;c.arePropsEqual(e,u)||(r=t.value)==null||r.setConfig(i.value)}),n.watch(l,()=>{var e;(e=t.value)==null||e.setData(l.value)}),p({component:t}),(e,u)=>(n.openBlock(),n.createElementBlock("div",b))}});module.exports=g;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/sankey/index.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { \"data-vis-component\": \"\" }\n\nimport { Sankey, SankeyConfigInterface, SankeyInputNode, SankeyInputLink } from '@unovis/ts'\nimport { onMounted, onUnmounted, computed, ref, watch,
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/sankey/index.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { \"data-vis-component\": \"\" }\n\nimport { Sankey, SankeyConfigInterface, SankeyInputNode, SankeyInputLink } 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\ninterface Props extends SankeyConfigInterface<N, L> { }\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n id: { type: Function },\n heightNormalizationCoeff: {},\n exitTransitionType: {},\n enterTransitionType: {},\n highlightSubtreeOnHover: { type: Boolean },\n highlightDuration: {},\n highlightDelay: {},\n iterations: {},\n nodeSort: { type: [Function, null] },\n linkSort: { type: [Function, null] },\n nodeWidth: {},\n nodeAlign: {},\n nodeHorizontalSpacing: {},\n nodeMinHeight: {},\n nodeMaxHeight: {},\n nodePadding: {},\n showSingleNode: { type: Boolean },\n nodeCursor: { type: [Function, String, null] },\n nodeIcon: { type: [Function, String, null] },\n nodeColor: { type: [Function, String, null] },\n nodeFixedValue: { type: [Function, Number, null] },\n nodeIconColor: { type: [Function, String, null] },\n linkColor: { type: [Function, String, null] },\n linkValue: { type: [Function, Number, null] },\n linkCursor: { type: [Function, String, null] },\n label: { type: [Function, String, null] },\n subLabel: { type: [Function, String, null] },\n labelPosition: { type: [Function, null] },\n labelVerticalAlign: {},\n labelBackground: { type: Boolean },\n labelFit: {},\n labelMaxWidth: {},\n labelExpandTrimmedOnHover: { type: Boolean },\n labelTrimMode: {},\n labelFontSize: {},\n labelTextSeparator: {},\n labelForceWordBreak: { type: Boolean },\n labelColor: { type: [Function, String, null] },\n labelCursor: { type: [Function, String, null] },\n labelVisibility: { type: Function },\n subLabelFontSize: {},\n subLabelColor: { type: [Function, String, null] },\n subLabelPlacement: {},\n subLabelToLabelInlineWidthRatio: {},\n duration: {},\n events: {},\n attributes: {},\n data: {}\n },\n setup(__props: any, { expose: __expose }) {\n\nconst props = __props;\n\n// !!! This code was automatically generated. You should not change it !!!\nconst accessor = inject(componentAccessorKey)\n\n// data and required props \n\n\nconst data = computed(() => accessor.data.value ?? props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<Sankey<N, L>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Sankey<N, L>(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\n__expose({\n component\n})\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1))\n}\n}\n\n})"],"names":["_hoisted_1","_sfc_main","_defineComponent","__props","__expose","props","accessor","inject","componentAccessorKey","data","computed","config","useForwardProps","component","ref","onMounted","nextTick","Sankey","_a","onUnmounted","watch","curr","prev","arePropsEqual","_ctx","_cache","_openBlock","_createElementBlock"],"mappings":"oIAGMA,EAAa,CAAE,qBAAsB,IASfC,EAAiBC,kBAAA,CAC3C,OAAQ,QACR,MAAO,CACL,GAAI,CAAE,KAAM,QAAS,EACrB,yBAA0B,CAAC,EAC3B,mBAAoB,CAAC,EACrB,oBAAqB,CAAC,EACtB,wBAAyB,CAAE,KAAM,OAAQ,EACzC,kBAAmB,CAAC,EACpB,eAAgB,CAAC,EACjB,WAAY,CAAC,EACb,SAAU,CAAE,KAAM,CAAC,SAAU,IAAI,CAAE,EACnC,SAAU,CAAE,KAAM,CAAC,SAAU,IAAI,CAAE,EACnC,UAAW,CAAC,EACZ,UAAW,CAAC,EACZ,sBAAuB,CAAC,EACxB,cAAe,CAAC,EAChB,cAAe,CAAC,EAChB,YAAa,CAAC,EACd,eAAgB,CAAE,KAAM,OAAQ,EAChC,WAAY,CAAE,KAAM,CAAC,SAAU,OAAQ,IAAI,CAAE,EAC7C,SAAU,CAAE,KAAM,CAAC,SAAU,OAAQ,IAAI,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