@unovis/vue 1.4.0-beta.6 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/area/index.cjs +1 -1
- package/components/area/index.cjs.map +1 -1
- package/components/area/index.d.ts +1 -0
- package/components/area/index.js +20 -19
- package/components/area/index.js.map +1 -1
- package/components/area/index2.cjs +1 -1
- package/components/area/index2.js +4 -2
- package/components/area/index2.js.map +1 -1
- package/components/axis/index.cjs +1 -1
- package/components/axis/index.cjs.map +1 -1
- package/components/axis/index.d.ts +1 -0
- package/components/axis/index.js +12 -11
- package/components/axis/index.js.map +1 -1
- package/components/axis/index2.cjs +1 -1
- package/components/axis/index2.js +4 -2
- package/components/axis/index2.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 +1 -0
- package/components/brush/index.js +19 -18
- package/components/brush/index.js.map +1 -1
- package/components/brush/index2.cjs +1 -1
- package/components/brush/index2.js +4 -2
- package/components/brush/index2.js.map +1 -1
- package/components/chord-diagram/index.cjs +1 -1
- package/components/chord-diagram/index.cjs.map +1 -1
- package/components/chord-diagram/index.d.ts +1 -0
- package/components/chord-diagram/index.js +16 -15
- package/components/chord-diagram/index.js.map +1 -1
- package/components/chord-diagram/index2.cjs +1 -1
- package/components/chord-diagram/index2.js +4 -2
- package/components/chord-diagram/index2.js.map +1 -1
- package/components/crosshair/index.cjs +1 -1
- package/components/crosshair/index.cjs.map +1 -1
- package/components/crosshair/index.d.ts +3 -0
- package/components/crosshair/index.js +14 -13
- package/components/crosshair/index.js.map +1 -1
- package/components/crosshair/index2.cjs +1 -1
- package/components/crosshair/index2.js +4 -2
- package/components/crosshair/index2.js.map +1 -1
- package/components/donut/index.cjs +1 -1
- package/components/donut/index.cjs.map +1 -1
- package/components/donut/index.d.ts +1 -0
- package/components/donut/index.js +20 -19
- package/components/donut/index.js.map +1 -1
- package/components/donut/index2.cjs +1 -1
- package/components/donut/index2.js +4 -2
- package/components/donut/index2.js.map +1 -1
- package/components/free-brush/index.cjs +1 -1
- package/components/free-brush/index.cjs.map +1 -1
- package/components/free-brush/index.d.ts +1 -0
- package/components/free-brush/index.js +17 -16
- package/components/free-brush/index.js.map +1 -1
- package/components/free-brush/index2.cjs +1 -1
- package/components/free-brush/index2.js +4 -2
- package/components/free-brush/index2.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 +30 -8
- package/components/graph/index.js +22 -16
- package/components/graph/index.js.map +1 -1
- package/components/graph/index2.cjs +1 -1
- package/components/graph/index2.js +4 -2
- package/components/graph/index2.js.map +1 -1
- package/components/grouped-bar/index.cjs +1 -1
- package/components/grouped-bar/index.cjs.map +1 -1
- package/components/grouped-bar/index.d.ts +1 -0
- package/components/grouped-bar/index.js +11 -10
- package/components/grouped-bar/index.js.map +1 -1
- package/components/grouped-bar/index2.cjs +1 -1
- package/components/grouped-bar/index2.js +4 -2
- package/components/grouped-bar/index2.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 +1 -0
- package/components/line/index.js +13 -12
- package/components/line/index.js.map +1 -1
- package/components/line/index2.cjs +1 -1
- package/components/line/index2.js +4 -2
- package/components/line/index2.js.map +1 -1
- package/components/nested-donut/index.cjs +1 -1
- package/components/nested-donut/index.cjs.map +1 -1
- package/components/nested-donut/index.d.ts +1 -0
- package/components/nested-donut/index.js +12 -11
- package/components/nested-donut/index.js.map +1 -1
- package/components/nested-donut/index2.cjs +1 -1
- package/components/nested-donut/index2.js +4 -2
- package/components/nested-donut/index2.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 +1 -0
- package/components/sankey/index.js +16 -15
- package/components/sankey/index.js.map +1 -1
- package/components/sankey/index2.cjs +1 -1
- package/components/sankey/index2.js +4 -2
- package/components/sankey/index2.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 +3 -2
- package/components/scatter/index.js +15 -14
- package/components/scatter/index.js.map +1 -1
- package/components/scatter/index2.cjs +1 -1
- package/components/scatter/index2.js +4 -2
- package/components/scatter/index2.js.map +1 -1
- package/components/stacked-bar/index.cjs +1 -1
- package/components/stacked-bar/index.cjs.map +1 -1
- package/components/stacked-bar/index.d.ts +1 -0
- package/components/stacked-bar/index.js +15 -14
- package/components/stacked-bar/index.js.map +1 -1
- package/components/stacked-bar/index2.cjs +1 -1
- package/components/stacked-bar/index2.js +4 -2
- package/components/stacked-bar/index2.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 +1 -0
- package/components/timeline/index.js +16 -15
- package/components/timeline/index.js.map +1 -1
- package/components/timeline/index2.cjs +1 -1
- package/components/timeline/index2.js +4 -2
- package/components/timeline/index2.js.map +1 -1
- package/components/tooltip/index.cjs +1 -1
- package/components/tooltip/index.cjs.map +1 -1
- package/components/tooltip/index.d.ts +1 -0
- package/components/tooltip/index.js +15 -14
- package/components/tooltip/index.js.map +1 -1
- package/components/tooltip/index2.cjs +1 -1
- package/components/tooltip/index2.js +4 -2
- package/components/tooltip/index2.js.map +1 -1
- package/components/topojson-map/index.cjs +1 -1
- package/components/topojson-map/index.cjs.map +1 -1
- package/components/topojson-map/index.d.ts +1 -0
- package/components/topojson-map/index.js +16 -15
- package/components/topojson-map/index.js.map +1 -1
- package/components/topojson-map/index2.cjs +1 -1
- package/components/topojson-map/index2.js +4 -2
- package/components/topojson-map/index2.js.map +1 -1
- package/components/xy-labels/index.cjs +1 -1
- package/components/xy-labels/index.cjs.map +1 -1
- package/components/xy-labels/index.d.ts +1 -0
- package/components/xy-labels/index.js +19 -18
- package/components/xy-labels/index.js.map +1 -1
- package/components/xy-labels/index2.cjs +1 -1
- package/components/xy-labels/index2.js +4 -2
- package/components/xy-labels/index2.js.map +1 -1
- package/components.d.ts +21 -22
- package/containers/single-container/index.cjs +1 -1
- package/containers/single-container/index.cjs.map +1 -1
- package/containers/single-container/index2.cjs +1 -1
- package/containers/single-container/index3.cjs +1 -1
- package/containers/xy-container/index.cjs +1 -1
- package/containers/xy-container/index.cjs.map +1 -1
- package/containers/xy-container/index2.cjs +1 -1
- package/containers/xy-container/index3.cjs +1 -1
- package/html-components/bullet-legend/index.cjs +1 -1
- package/html-components/bullet-legend/index.cjs.map +1 -1
- package/html-components/bullet-legend/index.d.ts +1 -0
- package/html-components/bullet-legend/index.js +18 -17
- package/html-components/bullet-legend/index.js.map +1 -1
- package/html-components/bullet-legend/index2.cjs +1 -1
- package/html-components/bullet-legend/index3.cjs +1 -1
- package/html-components/bullet-legend/index3.js +2 -0
- package/html-components/bullet-legend/index3.js.map +1 -1
- package/html-components/leaflet-flow-map/index.cjs +1 -1
- package/html-components/leaflet-flow-map/index.cjs.map +1 -1
- package/html-components/leaflet-flow-map/index.d.ts +1 -0
- package/html-components/leaflet-flow-map/index.js +15 -14
- package/html-components/leaflet-flow-map/index.js.map +1 -1
- package/html-components/leaflet-flow-map/index2.cjs +1 -1
- package/html-components/leaflet-flow-map/index3.cjs +1 -1
- package/html-components/leaflet-flow-map/index3.js +4 -2
- package/html-components/leaflet-flow-map/index3.js.map +1 -1
- package/html-components/leaflet-map/index.cjs +1 -1
- package/html-components/leaflet-map/index.cjs.map +1 -1
- package/html-components/leaflet-map/index.d.ts +1 -0
- package/html-components/leaflet-map/index.js +15 -14
- package/html-components/leaflet-map/index.js.map +1 -1
- package/html-components/leaflet-map/index2.cjs +1 -1
- package/html-components/leaflet-map/index3.cjs +1 -1
- package/html-components/leaflet-map/index3.js +2 -0
- package/html-components/leaflet-map/index3.js.map +1 -1
- package/index.cjs +1 -1
- package/index.js +65 -46
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/components/annotations/index.cjs +0 -2
- package/components/annotations/index.cjs.map +0 -1
- package/components/annotations/index.d.ts +0 -95
- package/components/annotations/index.js +0 -34
- package/components/annotations/index.js.map +0 -1
- package/components/annotations/index2.cjs +0 -2
- package/components/annotations/index2.cjs.map +0 -1
- package/components/annotations/index2.js +0 -5
- package/components/annotations/index2.js.map +0 -1
|
@@ -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, nextTick, inject } from 'vue'\nimport { arePropsEqual, useForwardProps } from '../../utils/props'\nimport { componentAccessorKey } from '../../utils/context'\n\
|
|
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\n\nexport const VisSankeySelectors = Sankey.selectors\n\ntype Props = 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, Array, null] },\n nodeFixedValue: { type: [Function, Number, null] },\n nodeIconColor: { type: [Function, String, Array, 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, Array, null] },\n labelCursor: { type: [Function, String, null] },\n labelVisibility: { type: Function },\n subLabelFontSize: {},\n subLabelColor: { type: [Function, String, Array, 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","VisSankeySelectors","Sankey","_sfc_main","_defineComponent","__props","__expose","props","accessor","inject","componentAccessorKey","data","computed","config","useForwardProps","component","ref","onMounted","nextTick","_a","onUnmounted","watch","curr","prev","arePropsEqual","_ctx","_cache","_openBlock","_createElementBlock"],"mappings":"mOAGMA,EAAa,CAAE,qBAAsB,IAQ9BC,EAAqBC,EAAO,OAAA,UAIbC,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,CAAE,EAC3C,UAAW,CAAE,KAAM,CAAC,SAAU,OAAQ,MAAO,IAAI,CAAE,EACnD,eAAgB,CAAE,KAAM,CAAC,SAAU,OAAQ,IAAI,CAAE,EACjD,cAAe,CAAE,KAAM,CAAC,SAAU,OAAQ,MAAO,IAAI,CAAE,EACvD,UAAW,CAAE,KAAM,CAAC,SAAU,OAAQ,IAAI,CAAE,EAC5C,UAAW,CAAE,KAAM,CAAC,SAAU,OAAQ,IAAI,CAAE,EAC5C,WAAY,CAAE,KAAM,CAAC,SAAU,OAAQ,IAAI,CAAE,EAC7C,MAAO,CAAE,KAAM,CAAC,SAAU,OAAQ,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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,EAEQL,EAAA,CACP,UAAAS,CAAA,CACD,EAEM,CAACU,EAAUC,KACRC,EAAW,UAAA,EAAGC,EAAAA,mBAAoB,MAAO5B,CAAU,EAE7D,CAEA,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Sankey } from '@unovis/ts';
|
|
2
|
+
export declare const VisSankeySelectors: typeof import("@unovis/ts/lib/components/sankey/style");
|
|
2
3
|
declare const _default: <N extends import("@unovis/ts").GraphInputNode, L extends import("@unovis/ts").GraphInputLink>(__VLS_props: any, __VLS_ctx?: {
|
|
3
4
|
attrs: any;
|
|
4
5
|
emit: any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as d, inject as
|
|
2
|
-
import { Sankey as
|
|
3
|
-
import { useForwardProps as f, arePropsEqual as
|
|
4
|
-
import { componentAccessorKey as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as d, inject as y, computed as b, ref as g, onMounted as m, nextTick as F, onUnmounted as S, watch as u, openBlock as h, createElementBlock as v } from "vue";
|
|
2
|
+
import { Sankey as c } from "@unovis/ts";
|
|
3
|
+
import { useForwardProps as f, arePropsEqual as k } from "../../utils/props.js";
|
|
4
|
+
import { componentAccessorKey as x } from "../../utils/context.js";
|
|
5
|
+
const C = { "data-vis-component": "" }, L = c.selectors, H = /* @__PURE__ */ d({
|
|
6
6
|
__name: "index",
|
|
7
7
|
props: {
|
|
8
8
|
id: { type: Function },
|
|
@@ -54,28 +54,29 @@ const k = { "data-vis-component": "" }, L = /* @__PURE__ */ d({
|
|
|
54
54
|
attributes: {},
|
|
55
55
|
data: {}
|
|
56
56
|
},
|
|
57
|
-
setup(
|
|
58
|
-
const i =
|
|
59
|
-
return
|
|
60
|
-
|
|
57
|
+
setup(p, { expose: s }) {
|
|
58
|
+
const i = p, t = y(x), o = b(() => t.data.value ?? i.data), l = f(i), n = g();
|
|
59
|
+
return m(() => {
|
|
60
|
+
F(() => {
|
|
61
61
|
var e;
|
|
62
|
-
n.value = new
|
|
62
|
+
n.value = new c(l.value), (e = n.value) == null || e.setData(o.value), t.update(n.value);
|
|
63
63
|
});
|
|
64
|
-
}),
|
|
64
|
+
}), S(() => {
|
|
65
65
|
var e;
|
|
66
66
|
(e = n.value) == null || e.destroy(), t.destroy();
|
|
67
67
|
}), u(l, (e, a) => {
|
|
68
68
|
var r;
|
|
69
|
-
|
|
69
|
+
k(e, a) || (r = n.value) == null || r.setConfig(l.value);
|
|
70
70
|
}), u(o, () => {
|
|
71
71
|
var e;
|
|
72
72
|
(e = n.value) == null || e.setData(o.value);
|
|
73
|
-
}),
|
|
73
|
+
}), s({
|
|
74
74
|
component: n
|
|
75
|
-
}), (e, a) => (h(),
|
|
75
|
+
}), (e, a) => (h(), v("div", C));
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
78
|
export {
|
|
79
|
-
L as
|
|
79
|
+
L as VisSankeySelectors,
|
|
80
|
+
H as default
|
|
80
81
|
};
|
|
81
82
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","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\
|
|
1
|
+
{"version":3,"file":"index.js","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\n\nexport const VisSankeySelectors = Sankey.selectors\n\ntype Props = 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, Array, null] },\n nodeFixedValue: { type: [Function, Number, null] },\n nodeIconColor: { type: [Function, String, Array, 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, Array, null] },\n labelCursor: { type: [Function, String, null] },\n labelVisibility: { type: Function },\n subLabelFontSize: {},\n subLabelColor: { type: [Function, String, Array, 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","VisSankeySelectors","Sankey","_sfc_main","_defineComponent","__props","__expose","props","accessor","inject","componentAccessorKey","data","computed","config","useForwardProps","component","ref","onMounted","nextTick","_a","onUnmounted","watch","curr","prev","arePropsEqual","_ctx","_cache","_openBlock","_createElementBlock"],"mappings":";;;;AAGA,MAAMA,IAAa,EAAE,sBAAsB,MAQ9BC,IAAqBC,EAAO,WAIbC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,IAAI,EAAE,MAAM,SAAS;AAAA,IACrB,0BAA0B,CAAC;AAAA,IAC3B,oBAAoB,CAAC;AAAA,IACrB,qBAAqB,CAAC;AAAA,IACtB,yBAAyB,EAAE,MAAM,QAAQ;AAAA,IACzC,mBAAmB,CAAC;AAAA,IACpB,gBAAgB,CAAC;AAAA,IACjB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,CACpC,GAEQL,EAAA;AAAA,MACP,WAAAS;AAAA,IAAA,CACD,GAEM,CAACU,GAAUC,OACRC,EAAW,GAAGC,EAAoB,OAAO5B,CAAU;AAAA,EAE7D;AAEA,CAAC;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.cjs");
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.cjs");exports.VisSankeySelectors=e.VisSankeySelectors;exports.default=e.default;
|
|
2
2
|
//# sourceMappingURL=index2.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index2.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),s=require("@unovis/ts"),i=require("../../utils/props.cjs"),d=require("../../utils/context.cjs"),v={"data-vis-component":""},F=s.Scatter.selectors,S=t.defineComponent({__name:"index",props:{color:{type:[Function,String,Array,null]},size:{type:[Function,Number,null]},sizeScale:{type:[Object,Function]},sizeRange:{},shape:{type:[Function,String]},label:{type:[Function,String,null]},labelColor:{type:[Function,String,Array,null]},labelHideOverlapping:{type:Boolean},cursor:{type:[Function,String,null]},labelTextBrightnessRatio:{},labelPosition:{type:[Function,null]},strokeColor:{type:[Function,String,Array,null]},strokeWidth:{type:[Function,Number,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(p,{expose:y}){const c=p,o=t.inject(d.componentAccessorKey),r=t.computed(()=>o.data.value??c.data),a=i.useForwardProps(c),n=t.ref();return t.onMounted(()=>{t.nextTick(()=>{var e;n.value=new s.Scatter(a.value),(e=n.value)==null||e.setData(r.value),o.update(n.value)})}),t.onUnmounted(()=>{var e;(e=n.value)==null||e.destroy(),o.destroy()}),t.watch(a,(e,l)=>{var u;i.arePropsEqual(e,l)||(u=n.value)==null||u.setConfig(a.value)}),t.watch(r,()=>{var e;(e=n.value)==null||e.setData(r.value)}),y({component:n}),(e,l)=>(t.openBlock(),t.createElementBlock("div",v))}});exports.VisScatterSelectors=F;exports.default=S;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/scatter/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 { Scatter, ScatterConfigInterface, 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\
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/scatter/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 { Scatter, ScatterConfigInterface, 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\n\nexport const VisScatterSelectors = Scatter.selectors\n\ntype Props = ScatterConfigInterface<Datum>\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n color: { type: [Function, String, Array, null] },\n size: { type: [Function, Number, null] },\n sizeScale: { type: [Object, Function] },\n sizeRange: {},\n shape: { type: [Function, String] },\n label: { type: [Function, String, null] },\n labelColor: { type: [Function, String, Array, null] },\n labelHideOverlapping: { type: Boolean },\n cursor: { type: [Function, String, null] },\n labelTextBrightnessRatio: {},\n labelPosition: { type: [Function, null] },\n strokeColor: { type: [Function, String, Array, null] },\n strokeWidth: { type: [Function, Number, 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<Scatter<Datum>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Scatter<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","VisScatterSelectors","Scatter","_sfc_main","_defineComponent","__props","__expose","props","accessor","inject","componentAccessorKey","data","computed","config","useForwardProps","component","ref","onMounted","nextTick","_a","onUnmounted","watch","curr","prev","arePropsEqual","_ctx","_cache","_openBlock","_createElementBlock"],"mappings":"mOAGMA,EAAa,CAAE,qBAAsB,IAQ9BC,EAAsBC,EAAQ,QAAA,UAIfC,EAAiBC,k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AAA,MAGlBC,OAAAA,EAAAA,UAAU,IAAM,CACdC,EAAAA,SAAS,IAAM,OACbH,EAAU,MAAQ,IAAIb,EAAe,QAAAW,EAAO,KAAK,GACvCM,EAAAJ,EAAA,QAAA,MAAAI,EAAO,QAAQR,EAAK,OACrBH,EAAA,OAAOO,EAAU,KAAK,CAAA,CAChC,CAAA,CACF,EAEDK,EAAAA,YAAY,IAAM,QAChBD,EAAAJ,EAAU,QAAV,MAAAI,EAAiB,UACjBX,EAAS,QAAQ,CAAA,CAClB,EAEKa,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,EAEQL,EAAA,CACP,UAAAS,CAAA,CACD,EAEM,CAACU,EAAUC,KACRC,EAAW,UAAA,EAAGC,EAAAA,mBAAoB,MAAO5B,CAAU,EAE7D,CAEA,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Scatter, NumericAccessor } from '@unovis/ts';
|
|
2
|
+
export declare const VisScatterSelectors: typeof import("@unovis/ts/lib/components/scatter/style");
|
|
2
3
|
declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
|
|
3
4
|
attrs: any;
|
|
4
5
|
emit: any;
|
|
@@ -47,6 +48,8 @@ declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
|
|
|
47
48
|
yScale?: import("@unovis/ts").ContinuousScale;
|
|
48
49
|
excludeFromDomainCalculation?: boolean;
|
|
49
50
|
labelColor?: import("@unovis/ts").ColorAccessor<Datum>;
|
|
51
|
+
strokeColor?: import("@unovis/ts").ColorAccessor<Datum>;
|
|
52
|
+
strokeWidth?: NumericAccessor<Datum>;
|
|
50
53
|
labelPosition?: import("@unovis/ts").GenericAccessor<string, Datum>;
|
|
51
54
|
size?: NumericAccessor<Datum>;
|
|
52
55
|
sizeScale?: import("@unovis/ts").ContinuousScale;
|
|
@@ -54,8 +57,6 @@ declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
|
|
|
54
57
|
shape?: string | ((d: Datum, i?: number, ...any: unknown[]) => string);
|
|
55
58
|
labelHideOverlapping?: boolean;
|
|
56
59
|
labelTextBrightnessRatio?: number;
|
|
57
|
-
strokeColor?: import("@unovis/ts").ColorAccessor<Datum>;
|
|
58
|
-
strokeWidth?: NumericAccessor<Datum>;
|
|
59
60
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
60
61
|
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
61
62
|
component: import("vue").Ref<Scatter<Datum>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Scatter as
|
|
1
|
+
import { defineComponent as y, inject as m, computed as d, ref as F, onMounted as v, nextTick as b, onUnmounted as S, watch as u, openBlock as f, createElementBlock as g } from "vue";
|
|
2
|
+
import { Scatter as i } from "@unovis/ts";
|
|
3
3
|
import { useForwardProps as x, arePropsEqual as _ } from "../../utils/props.js";
|
|
4
4
|
import { componentAccessorKey as h } from "../../utils/context.js";
|
|
5
|
-
const k = { "data-vis-component": "" }, N = /* @__PURE__ */
|
|
5
|
+
const k = { "data-vis-component": "" }, N = i.selectors, O = /* @__PURE__ */ y({
|
|
6
6
|
__name: "index",
|
|
7
7
|
props: {
|
|
8
8
|
color: { type: [Function, String, Array, null] },
|
|
@@ -29,20 +29,20 @@ const k = { "data-vis-component": "" }, N = /* @__PURE__ */ s({
|
|
|
29
29
|
attributes: {},
|
|
30
30
|
data: {}
|
|
31
31
|
},
|
|
32
|
-
setup(
|
|
33
|
-
const l =
|
|
34
|
-
return
|
|
35
|
-
|
|
32
|
+
setup(s, { expose: p }) {
|
|
33
|
+
const l = s, n = m(h), o = d(() => n.data.value ?? l.data), a = x(l), t = F();
|
|
34
|
+
return v(() => {
|
|
35
|
+
b(() => {
|
|
36
36
|
var e;
|
|
37
|
-
t.value = new
|
|
37
|
+
t.value = new i(a.value), (e = t.value) == null || e.setData(o.value), n.update(t.value);
|
|
38
38
|
});
|
|
39
|
-
}),
|
|
39
|
+
}), S(() => {
|
|
40
40
|
var e;
|
|
41
41
|
(e = t.value) == null || e.destroy(), n.destroy();
|
|
42
|
-
}),
|
|
43
|
-
var
|
|
44
|
-
_(e, r) || (
|
|
45
|
-
}),
|
|
42
|
+
}), u(a, (e, r) => {
|
|
43
|
+
var c;
|
|
44
|
+
_(e, r) || (c = t.value) == null || c.setConfig(a.value);
|
|
45
|
+
}), u(o, () => {
|
|
46
46
|
var e;
|
|
47
47
|
(e = t.value) == null || e.setData(o.value);
|
|
48
48
|
}), p({
|
|
@@ -51,6 +51,7 @@ const k = { "data-vis-component": "" }, N = /* @__PURE__ */ s({
|
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
export {
|
|
54
|
-
N as
|
|
54
|
+
N as VisScatterSelectors,
|
|
55
|
+
O as default
|
|
55
56
|
};
|
|
56
57
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/scatter/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 { Scatter, ScatterConfigInterface, 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\
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/scatter/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 { Scatter, ScatterConfigInterface, 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\n\nexport const VisScatterSelectors = Scatter.selectors\n\ntype Props = ScatterConfigInterface<Datum>\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n color: { type: [Function, String, Array, null] },\n size: { type: [Function, Number, null] },\n sizeScale: { type: [Object, Function] },\n sizeRange: {},\n shape: { type: [Function, String] },\n label: { type: [Function, String, null] },\n labelColor: { type: [Function, String, Array, null] },\n labelHideOverlapping: { type: Boolean },\n cursor: { type: [Function, String, null] },\n labelTextBrightnessRatio: {},\n labelPosition: { type: [Function, null] },\n strokeColor: { type: [Function, String, Array, null] },\n strokeWidth: { type: [Function, Number, 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<Scatter<Datum>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Scatter<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","VisScatterSelectors","Scatter","_sfc_main","_defineComponent","__props","__expose","props","accessor","inject","componentAccessorKey","data","computed","config","useForwardProps","component","ref","onMounted","nextTick","_a","onUnmounted","watch","curr","prev","arePropsEqual","_ctx","_cache","_openBlock","_createElementBlock"],"mappings":";;;;AAGA,MAAMA,IAAa,EAAE,sBAAsB,MAQ9BC,IAAsBC,EAAQ,WAIfC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,OAAO,EAAE,MAAM,CAAC,UAAU,QAAQ,OAAO,IAAI,EAAE;AAAA,IAC/C,MAAM,EAAE,MAAM,CAAC,UAAU,QAAQ,IAAI,EAAE;AAAA,IACvC,WAAW,EAAE,MAAM,CAAC,QAAQ,QAAQ,EAAE;AAAA,IACtC,WAAW,CAAC;AAAA,IACZ,OAAO,EAAE,MAAM,CAAC,UAAU,MAAM,EAAE;AAAA,IAClC,OAAO,EAAE,MAAM,CAAC,UAAU,QAAQ,IAAI,EAAE;AAAA,IACxC,YAAY,EAAE,MAAM,CAAC,UAAU,QAAQ,OAAO,IAAI,EAAE;AAAA,IACpD,sBAAsB,EAAE,MAAM,QAAQ;AAAA,IACtC,QAAQ,EAAE,MAAM,CAAC,UAAU,QAAQ,IAAI,EAAE;AAAA,IACzC,0BAA0B,CAAC;AAAA,IAC3B,eAAe,EAAE,MAAM,CAAC,UAAU,IAAI,EAAE;AAAA,IACxC,aAAa,EAAE,MAAM,CAAC,UAAU,QAAQ,OAAO,IAAI,EAAE;AAAA,IACrD,aAAa,EAAE,MAAM,CAAC,UAAU,QAAQ,IAAI,EAAE;AAAA,IAC9C,GAAG,EAAE,MAAM,CAAC,UAAU,QAAQ,IAAI,EAAE;AAAA,IACpC,GAAG,EAAE,MAAM,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AAAA,EAE7D;AAEA,CAAC;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.cjs");
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.cjs");exports.VisScatterSelectors=e.VisScatterSelectors;exports.default=e.default;
|
|
2
2
|
//# sourceMappingURL=index2.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index2.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),
|
|
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"),y=require("../../utils/context.cjs"),v={"data-vis-component":""},m=l.StackedBar.selectors,b=t.defineComponent({__name:"index",props:{color:{type:[Function,String,Array,null]},barWidth:{},barMaxWidth:{},dataStep:{},barPadding:{},roundedCorners:{type:[Number,Boolean]},cursor:{type:[Function,String,null]},barMinHeight1Px:{type:Boolean},barMinHeightZeroValue:{},orientation:{},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(d,{expose:p}){const c=d,n=t.inject(y.componentAccessorKey),a=t.computed(()=>n.data.value??c.data),r=i.useForwardProps(c),o=t.ref();return t.onMounted(()=>{t.nextTick(()=>{var e;o.value=new l.StackedBar(r.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(r,(e,u)=>{var s;i.arePropsEqual(e,u)||(s=o.value)==null||s.setConfig(r.value)}),t.watch(a,()=>{var e;(e=o.value)==null||e.setData(a.value)}),p({component:o}),(e,u)=>(t.openBlock(),t.createElementBlock("div",v))}});exports.VisStackedBarSelectors=m;exports.default=b;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/stacked-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 { StackedBar, StackedBarConfigInterface, 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\
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/stacked-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 { StackedBar, StackedBarConfigInterface, 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\n\nexport const VisStackedBarSelectors = StackedBar.selectors\n\ntype Props = StackedBarConfigInterface<Datum>\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n color: { type: [Function, String, Array, null] },\n barWidth: {},\n barMaxWidth: {},\n dataStep: {},\n barPadding: {},\n roundedCorners: { type: [Number, Boolean] },\n cursor: { type: [Function, String, null] },\n barMinHeight1Px: { type: Boolean },\n barMinHeightZeroValue: {},\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<StackedBar<Datum>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new StackedBar<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","VisStackedBarSelectors","StackedBar","_sfc_main","_defineComponent","__props","__expose","props","accessor","inject","componentAccessorKey","data","computed","config","useForwardProps","component","ref","onMounted","nextTick","_a","onUnmounted","watch","curr","prev","arePropsEqual","_ctx","_cache","_openBlock","_createElementBlock"],"mappings":"mOAGMA,EAAa,CAAE,qBAAsB,IAQ9BC,EAAyBC,EAAW,WAAA,UAIrBC,EAAiBC,kBAAA,CAC3C,OAAQ,QACR,MAAO,CACL,MAAO,CAAE,KAAM,CAAC,SAAU,OAAQ,MAAO,IAAI,CAAE,EAC/C,SAAU,CAAC,EACX,YAAa,CAAC,EACd,SAAU,CAAC,EACX,WAAY,CAAC,EACb,eAAgB,CAAE,KAAM,CAAC,OAAQ,OAAO,CAAE,EAC1C,OAAQ,CAAE,KAAM,CAAC,SAAU,OAAQ,IAAI,CAAE,EACzC,gBAAiB,CAAE,KAAM,OAAQ,EACjC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AAUC,KACRC,EAAW,UAAA,EAAGC,EAAAA,mBAAoB,MAAO5B,CAAU,EAE7D,CAEA,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { StackedBar as
|
|
3
|
-
import { useForwardProps as
|
|
4
|
-
import { componentAccessorKey as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as d, inject as m, computed as y, ref as v, onMounted as b, nextTick as f, onUnmounted as x, watch as i, openBlock as F, createElementBlock as S } from "vue";
|
|
2
|
+
import { StackedBar as l } from "@unovis/ts";
|
|
3
|
+
import { useForwardProps as _, arePropsEqual as g } from "../../utils/props.js";
|
|
4
|
+
import { componentAccessorKey as h } from "../../utils/context.js";
|
|
5
|
+
const B = { "data-vis-component": "" }, j = l.selectors, w = /* @__PURE__ */ d({
|
|
6
6
|
__name: "index",
|
|
7
7
|
props: {
|
|
8
8
|
color: { type: [Function, String, Array, null] },
|
|
@@ -26,28 +26,29 @@ const S = { "data-vis-component": "" }, j = /* @__PURE__ */ s({
|
|
|
26
26
|
attributes: {},
|
|
27
27
|
data: {}
|
|
28
28
|
},
|
|
29
|
-
setup(
|
|
30
|
-
const r =
|
|
31
|
-
return
|
|
32
|
-
|
|
29
|
+
setup(s, { expose: p }) {
|
|
30
|
+
const r = s, o = m(h), n = y(() => o.data.value ?? r.data), a = _(r), t = v();
|
|
31
|
+
return b(() => {
|
|
32
|
+
f(() => {
|
|
33
33
|
var e;
|
|
34
|
-
t.value = new
|
|
34
|
+
t.value = new l(a.value), (e = t.value) == null || e.setData(n.value), o.update(t.value);
|
|
35
35
|
});
|
|
36
|
-
}),
|
|
36
|
+
}), x(() => {
|
|
37
37
|
var e;
|
|
38
38
|
(e = t.value) == null || e.destroy(), o.destroy();
|
|
39
39
|
}), i(a, (e, c) => {
|
|
40
40
|
var u;
|
|
41
|
-
|
|
41
|
+
g(e, c) || (u = t.value) == null || u.setConfig(a.value);
|
|
42
42
|
}), i(n, () => {
|
|
43
43
|
var e;
|
|
44
44
|
(e = t.value) == null || e.setData(n.value);
|
|
45
45
|
}), p({
|
|
46
46
|
component: t
|
|
47
|
-
}), (e, c) => (
|
|
47
|
+
}), (e, c) => (F(), S("div", B));
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
export {
|
|
51
|
-
j as
|
|
51
|
+
j as VisStackedBarSelectors,
|
|
52
|
+
w as default
|
|
52
53
|
};
|
|
53
54
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/stacked-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 { StackedBar, StackedBarConfigInterface, 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\
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/stacked-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 { StackedBar, StackedBarConfigInterface, 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\n\nexport const VisStackedBarSelectors = StackedBar.selectors\n\ntype Props = StackedBarConfigInterface<Datum>\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\n color: { type: [Function, String, Array, null] },\n barWidth: {},\n barMaxWidth: {},\n dataStep: {},\n barPadding: {},\n roundedCorners: { type: [Number, Boolean] },\n cursor: { type: [Function, String, null] },\n barMinHeight1Px: { type: Boolean },\n barMinHeightZeroValue: {},\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<StackedBar<Datum>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new StackedBar<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","VisStackedBarSelectors","StackedBar","_sfc_main","_defineComponent","__props","__expose","props","accessor","inject","componentAccessorKey","data","computed","config","useForwardProps","component","ref","onMounted","nextTick","_a","onUnmounted","watch","curr","prev","arePropsEqual","_ctx","_cache","_openBlock","_createElementBlock"],"mappings":";;;;AAGA,MAAMA,IAAa,EAAE,sBAAsB,MAQ9BC,IAAyBC,EAAW,WAIrBC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,OAAO,EAAE,MAAM,CAAC,UAAU,QAAQ,OAAO,IAAI,EAAE;AAAA,IAC/C,UAAU,CAAC;AAAA,IACX,aAAa,CAAC;AA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Q,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,GAEQL,EAAA;AAAA,MACP,WAAAS;AAAA,IAAA,CACD,GAEM,CAACU,GAAUC,OACRC,EAAW,GAAGC,EAAoB,OAAO5B,CAAU;AAAA,EAE7D;AAEA,CAAC;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.cjs");
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.cjs");exports.VisStackedBarSelectors=e.VisStackedBarSelectors;exports.default=e.default;
|
|
2
2
|
//# sourceMappingURL=index2.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index2.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),l=require("@unovis/ts"),i=require("../../utils/props.cjs"),v=require("../../utils/context.cjs"),m={"data-vis-component":""},_=t.defineComponent({__name:"index",props:{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"),m={"data-vis-component":""},_=l.Timeline.selectors,f=t.defineComponent({__name:"index",props:{data:{}},setup(d,{expose:p}){const c=d,n=t.inject(v.componentAccessorKey),s=t.computed(()=>n.data.value??c.data),a=i.useForwardProps(c),o=t.ref();return t.onMounted(()=>{t.nextTick(()=>{var e;o.value=new l.Timeline(a.value),(e=o.value)==null||e.setData(s.value),n.update(o.value)})}),t.onUnmounted(()=>{var e;(e=o.value)==null||e.destroy(),n.destroy()}),t.watch(a,(e,r)=>{var u;i.arePropsEqual(e,r)||(u=o.value)==null||u.setConfig(a.value)}),t.watch(s,()=>{var e;(e=o.value)==null||e.setData(s.value)}),p({component:o}),(e,r)=>(t.openBlock(),t.createElementBlock("div",m))}});exports.VisTimelineSelectors=_;exports.default=f;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/timeline/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 { Timeline, TimelineConfigInterface, NumericAccessor } from '@unovis/ts'\nimport { XYComponentConfigInterface, 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 /** @vue-ignore */ TimelineConfigInterface<Datum> { }\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\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// !!! temporary solution to ignore complex type. related issue: https://github.com/vuejs/core/issues/8412\n\n\nconst data = computed(() => accessor.data.value ?? props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<Timeline<Datum>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Timeline<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","
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/timeline/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 { Timeline, TimelineConfigInterface, NumericAccessor } from '@unovis/ts'\nimport { XYComponentConfigInterface, 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\n\nexport const VisTimelineSelectors = Timeline.selectors\n\ninterface Props extends /** @vue-ignore */ TimelineConfigInterface<Datum> { }\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\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// !!! temporary solution to ignore complex type. related issue: https://github.com/vuejs/core/issues/8412\n\n\nconst data = computed(() => accessor.data.value ?? props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<Timeline<Datum>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Timeline<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","VisTimelineSelectors","Timeline","_sfc_main","_defineComponent","__props","__expose","props","accessor","inject","componentAccessorKey","data","computed","config","useForwardProps","component","ref","onMounted","nextTick","_a","onUnmounted","watch","curr","prev","arePropsEqual","_ctx","_cache","_openBlock","_createElementBlock"],"mappings":"mOAGMA,EAAa,CAAE,qBAAsB,IAS9BC,EAAuBC,EAAS,SAAA,UAIjBC,EAAiBC,kBAAA,CAC3C,OAAQ,QACR,MAAO,CACL,KAAM,CAAC,CACT,EACA,MAAMC,EAAc,CAAE,OAAQC,GAAY,CAE5C,MAAMC,EAAQF,EAGRG,EAAWC,SAAOC,EAAAA,oBAAoB,EAMtCC,EAAOC,EAAS,SAAA,IAAMJ,EAAS,KAAK,OAASD,EAAM,IAAI,EAEvDM,EAASC,kBAAgBP,CAAK,EAG9BQ,EAAYC,EAAAA,MAGlBC,OAAAA,EAAAA,UAAU,IAAM,CACdC,EAAAA,SAAS,IAAM,OACbH,EAAU,MAAQ,IAAIb,EAAgB,SAAAW,EAAO,KAAK,GACxCM,EAAAJ,EAAA,QAAA,MAAAI,EAAO,QAAQR,EAAK,OACrBH,EAAA,OAAOO,EAAU,KAAK,CAAA,CAChC,CAAA,CACF,EAEDK,EAAAA,YAAY,IAAM,QAChBD,EAAAJ,EAAU,QAAV,MAAAI,EAAiB,UACjBX,EAAS,QAAQ,CAAA,CAClB,EAEKa,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,EAEQL,EAAA,CACP,UAAAS,CAAA,CACD,EAEM,CAACU,EAAUC,KACRC,EAAW,UAAA,EAAGC,EAAAA,mBAAoB,MAAO5B,CAAU,EAE7D,CAEA,CAAC"}
|
|
@@ -1,5 +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/lib/components/timeline/style");
|
|
3
4
|
declare const _default: <Datum>(__VLS_props: any, __VLS_ctx?: {
|
|
4
5
|
attrs: any;
|
|
5
6
|
emit: any;
|
|
@@ -1,34 +1,35 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Timeline as
|
|
3
|
-
import { useForwardProps as y, arePropsEqual as
|
|
4
|
-
import { componentAccessorKey as
|
|
5
|
-
const
|
|
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, openBlock as k, createElementBlock as w } from "vue";
|
|
2
|
+
import { Timeline as i } from "@unovis/ts";
|
|
3
|
+
import { useForwardProps as y, arePropsEqual as T } from "../../utils/props.js";
|
|
4
|
+
import { componentAccessorKey as g } from "../../utils/context.js";
|
|
5
|
+
const B = { "data-vis-component": "" }, j = i.selectors, q = /* @__PURE__ */ m({
|
|
6
6
|
__name: "index",
|
|
7
7
|
props: {
|
|
8
8
|
data: {}
|
|
9
9
|
},
|
|
10
|
-
setup(
|
|
11
|
-
const s =
|
|
12
|
-
return
|
|
13
|
-
|
|
10
|
+
setup(l, { expose: p }) {
|
|
11
|
+
const s = l, t = d(g), a = v(() => t.data.value ?? s.data), n = y(s), o = f();
|
|
12
|
+
return _(() => {
|
|
13
|
+
x(() => {
|
|
14
14
|
var e;
|
|
15
|
-
o.value = new
|
|
15
|
+
o.value = new i(n.value), (e = o.value) == null || e.setData(a.value), t.update(o.value);
|
|
16
16
|
});
|
|
17
|
-
}),
|
|
17
|
+
}), h(() => {
|
|
18
18
|
var e;
|
|
19
19
|
(e = o.value) == null || e.destroy(), t.destroy();
|
|
20
20
|
}), u(n, (e, c) => {
|
|
21
21
|
var r;
|
|
22
|
-
|
|
22
|
+
T(e, c) || (r = o.value) == null || r.setConfig(n.value);
|
|
23
23
|
}), u(a, () => {
|
|
24
24
|
var e;
|
|
25
25
|
(e = o.value) == null || e.setData(a.value);
|
|
26
|
-
}),
|
|
26
|
+
}), p({
|
|
27
27
|
component: o
|
|
28
|
-
}), (e, c) => (
|
|
28
|
+
}), (e, c) => (k(), w("div", B));
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
31
|
export {
|
|
32
|
-
j as
|
|
32
|
+
j as VisTimelineSelectors,
|
|
33
|
+
q as default
|
|
33
34
|
};
|
|
34
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/timeline/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 { Timeline, TimelineConfigInterface, NumericAccessor } from '@unovis/ts'\nimport { XYComponentConfigInterface, 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 /** @vue-ignore */ TimelineConfigInterface<Datum> { }\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\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// !!! temporary solution to ignore complex type. related issue: https://github.com/vuejs/core/issues/8412\n\n\nconst data = computed(() => accessor.data.value ?? props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<Timeline<Datum>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Timeline<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","
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/timeline/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 { Timeline, TimelineConfigInterface, NumericAccessor } from '@unovis/ts'\nimport { XYComponentConfigInterface, 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\n\nexport const VisTimelineSelectors = Timeline.selectors\n\ninterface Props extends /** @vue-ignore */ TimelineConfigInterface<Datum> { }\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n props: {\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// !!! temporary solution to ignore complex type. related issue: https://github.com/vuejs/core/issues/8412\n\n\nconst data = computed(() => accessor.data.value ?? props.data)\n// config\nconst config = useForwardProps(props)\n\n// component declaration\nconst component = ref<Timeline<Datum>>()\n\n\nonMounted(() => {\n nextTick(() => {\n component.value = new Timeline<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","VisTimelineSelectors","Timeline","_sfc_main","_defineComponent","__props","__expose","props","accessor","inject","componentAccessorKey","data","computed","config","useForwardProps","component","ref","onMounted","nextTick","_a","onUnmounted","watch","curr","prev","arePropsEqual","_ctx","_cache","_openBlock","_createElementBlock"],"mappings":";;;;AAGA,MAAMA,IAAa,EAAE,sBAAsB,MAS9BC,IAAuBC,EAAS,WAIjBC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,MAAM,CAAC;AAAA,EACT;AAAA,EACA,MAAMC,GAAc,EAAE,QAAQC,KAAY;AAE5C,UAAMC,IAAQF,GAGRG,IAAWC,EAAOC,CAAoB,GAMtCC,IAAOC,EAAS,MAAMJ,EAAS,KAAK,SAASD,EAAM,IAAI,GAEvDM,IAASC,EAAgBP,CAAK,GAG9BQ,IAAYC;AAGlB,WAAAC,EAAU,MAAM;AACd,MAAAC,EAAS,MAAM;;AACb,QAAAH,EAAU,QAAQ,IAAIb,EAAgBW,EAAO,KAAK,IACxCM,IAAAJ,EAAA,UAAA,QAAAI,EAAO,QAAQR,EAAK,QACrBH,EAAA,OAAOO,EAAU,KAAK;AAAA,MAAA,CAChC;AAAA,IAAA,CACF,GAEDK,EAAY,MAAM;;AAChB,OAAAD,IAAAJ,EAAU,UAAV,QAAAI,EAAiB,WACjBX,EAAS,QAAQ;AAAA,IAAA,CAClB,GAEKa,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,GAEQL,EAAA;AAAA,MACP,WAAAS;AAAA,IAAA,CACD,GAEM,CAACU,GAAUC,OACRC,EAAW,GAAGC,EAAoB,OAAO5B,CAAU;AAAA,EAE7D;AAEA,CAAC;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.cjs");
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.cjs");exports.VisTimelineSelectors=e.VisTimelineSelectors;exports.default=e.default;
|
|
2
2
|
//# sourceMappingURL=index2.cjs.map
|